This application claims priority to Chinese Patent Application No. 201410648483.6, filed on Nov. 14, 2014, which is hereby incorporated by reference in its entirety.
The present invention relates to the field of communications technologies, and in particular, to a data transmission method, apparatus, and system.
Because of simple cabling, a Digital Subscriber Line (DSL) has a low price. The DSL is a common manner for a network connection, especially an Asymmetric DSL (ADSL), which is a main network connection means of a family or an enterprise. The ADSL has large downlink bandwidths, and is applicable to a daily life such as web surfing and online document obtaining. With development of a digital technology and a media technology such as video conferencing and highly simulated interaction, a user has an increasingly higher requirement for an access bandwidth. However, a limitation of a DSL technology itself determines that the DSL can provide a very limited maximum bandwidth, for example, the ADSL theoretically has an uplink bandwidth of only 2 megabits per second (Mbps or M), and it is very difficult to satisfy a media application requirement.
To increase an access bandwidth of a user, a popular manner is to use a new access method such as Ethernet access and fiber access. Although these manners can provide large bandwidths, a new network needs to be deployed, and costs are generally high. Particularly, for a remote area, because costs of deploying and maintaining a network are huge, and users are scattered and are small in quantity, a Multi-Service Provider (MSP) is often reluctant to invest in this part of the market.
As the fourth-generation high bandwidth wireless communications technology, Long Term Evolution (LTE) theoretically can provide an uplink rate of 75 M and a downlink rate of 300 M, and is an ideal high bandwidth access manner. To use an LTE access manner, a corresponding base station needs to be set up; and deployment for end users is simple, but access costs thereof are high.
Embodiments of the present invention provide a data transmission method, apparatus, and system that have low networking costs, and can provide a high transmission bandwidth.
According to a first aspect, a data transmission method is provided, where the method includes: receiving, by an access gateway, data packets; transmitting, by the access gateway, the data packets to an operator network using a DSL channel; detecting, by the access gateway, a condition of a bandwidth occupied when the data packets are transmitted on the DSL channel; determining, by the access gateway, that the DSL channel cannot satisfy a user requirement and some data packets need to be overflowed; and overflowing, by the access gateway to an LTE channel, the data packets needing to be overflowed, and transmitting the data packets to the operator network using the DSL channel in combination with the LTE channel.
With reference to the first aspect, in a first possible implementation manner, a determining manner in the step of the determining, by the access gateway, that the DSL channel cannot satisfy a user requirement and some data packets need to be overflowed further comprises measuring the data packets using a measurement bucket of the DSL channel, and if the data packets do not exceed a capacity of the measurement bucket of the DSL channel, transmitting the data packets using the DSL channel without the need of overflow; or if some data packets exceed a capacity of the measurement bucket of the DSL channel, needing to overflow the excess data packets.
With reference to the first aspect, in a second possible implementation manner, a manner of the overflowing, by the access gateway to an LTE channel, the data packets needing to be overflowed are allocating, by an allocation module of the access gateway to an LTE transceiver module of the access gateway, some data packets needing to be overflowed, transmitting, by the LTE transceiver module, the overflowed data packets to the operator network using the LTE channel, and transmitting, by a DSL transceiver module of the access gateway to the operator network using the DSL channel, data packets that are not overflowed.
In a third possible implementation manner of the first aspect, before the step of the overflowing, by the access gateway to an LTE channel, the data packets needing to be overflowed, the method further includes further determining, by the access gateway, availability of the LTE channel, and if the LTE channel is available, performing a next step.
In a fourth possible implementation manner of the first aspect, after the step of the transmitting the data packets to the operator network using the DSL channel in combination with the LTE channel, the method further includes regularly detecting, by the access gateway, the status of the bandwidth occupied when the data packets are transmitted on the DSL channel, and if it is determined that the DSL channel can satisfy the user requirement independently, performing, by the access gateway, no data packets overflow processing.
According to a second aspect, an access gateway is provided, including a receiving module configured to receive data packets; a detection module configured to detect a status of a bandwidth occupied when the data packets are transmitted on a DSL channel and further determine whether the DSL channel satisfies a user requirement; an allocation module configured to perform overflow allocation on data packets; and a DSL transceiver module and an LTE transceiver module, where when the detection module determines that the existing DSL channel cannot satisfy the user requirement and some data packets need to be overflowed, the allocation module allocates, to the LTE transceiver module, some data packets needing to be overflowed, and the LTE transceiver module transmits the overflowed data packets to an operator network using an LTE channel.
With reference to the second aspect, in a first possible implementation manner, a method of determining whether the DSL channel satisfies a user requirement further comprises measuring the data packets using a measurement bucket of the DSL channel, and if the data packets do not exceed a capacity of the measurement bucket of the DSL channel, transmitting the data packets using the DSL channel without the need of overflow; or if the data packets exceed a capacity of the measurement bucket of the DSL channel, needing to overflow the excess data packets.
According to a third aspect, a data transmission system is provided, including: an operator network; one or more client devices, connected to the operator network using an access gateway; and the access gateway, including a receiving module configured to receive data packets; a detection module configured to detect a status of a bandwidth occupied when the data packets are transmitted on a DSL channel and further determine whether the DSL channel satisfies a user requirement; an allocation module configured to perform overflow allocation on data packets; and a DSL transceiver module and an LTE transceiver module, where when the detection module determines that the existing DSL channel cannot satisfy the user requirement and some data packets need to be overflowed, the allocation module allocates, to the LTE transceiver module, some data packets needing to be overflowed, and the LTE transceiver module transmits the overflowed data packets to the operator network using an LTE channel.
According to the embodiments of the present invention, two different transmission channels, a DSL transmission channel and an LTE channel, are bound, and if it is detected that a bandwidth for data transmission in a DSL manner cannot satisfy a user requirement, an LTE transmission module is automatically started, so as to increase a transmission bandwidth and improve data transmission efficiency. This also effectively avoids a great increase in LTE use costs and improves user experience.
To describe the technical solutions in the embodiments of the present invention more clearly, the following briefly introduces the accompanying drawings required for describing the embodiments or the prior art. The accompanying drawings in the following description show merely some embodiments of the present invention, and a person of ordinary skill in the art may still derive other drawings from these accompanying drawings without creative efforts.
The following clearly describes the technical solutions in the embodiments of the present invention with reference to the accompanying drawings. The described embodiments are merely a part rather than all of the embodiments of the present invention. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments of the present invention without creative efforts shall fall within the protection scope of the present invention.
As shown in
There are two paths to connect to the operator network: the DSL channel and the LTE channel for the access gateway in this embodiment of the present invention to be connected to the operator network. In a case in which network traffic is small, the cheap DSL channel is preferably used, and if the network traffic increases and the cheap DSL channel cannot satisfy a user requirement, the packets on the DSL channel are overflowed to another link with a higher bandwidth, for example, the LTE channel. In this manner, not only a high access bandwidth can be provided, but also access costs can be reduced, so that a current resource is effectively applied and network deployment costs are reduced.
To implement overflow allocation on data packets, as shown in
As shown in
T2: Internet Protocol (IP) address (which is generally 192.168.x.x) allocated to a client device on a Local Area Network (LAN) side using a Dynamic Host Configuration Protocol (DHCP) function of an access gateway;
T1: default gateway of a network on the LAN side;
P1: public IP address;
C1: address acquired from a fixed network by the access gateway, which generally uses the Point to Point Protocol over Ethernet (PPPOE), the Point to Point Protocol over Asynchronous Transfer Mode (ATM) (PPPOA), or the Internet Protocol over Ethernet (IPOE);
C2: address acquired from a mobile network by the access gateway;
C3: fixed network address of an operator network, for example, a point-of-presence (POP) or a HUB;
C4: mobile network address of the operator network, where the address may be the same as the C3 address;
P2: public IP address that is on the side of the operator network and corresponding to
P1; and
I1: Internet address.
A data transmission method provided by this embodiment of the present invention includes the following steps:
Step 101: An access gateway acquires a C1 or C2 address.
Step 102: The access gateway registers a tunnel with an operator network. The tunnel may be encapsulated using the General Routing Encapsulation (GRE), the User Datagram Protocol (UDP), the IP or a tunnel in any other form. Optionally, if the tunnel needs to be authenticated, the operator network sends an authentication request to the access gateway, where the authentication request carries a verification code. The access gateway receives the authentication request of the tunnel, encrypts the verification code according to a local account, and sends encrypted information and a user name back to the operator network. The operator network authenticates a user according to authentication information, and if the authentication succeeds, sends an authentication success message to the access gateway, so that a sub tunnel is created successfully, or if the authentication fails, sends authentication failure to the access gateway, and terminates the procedure. The sub tunnel is a tunnel established on a physical link, and is a DSL channel or an LTE channel responsible for actual data encapsulation and transmission.
Step 103: After any sub tunnel is established successfully, a parent tunnel starts to work, the access gateway notifies the operator network of a P1 address, and a corresponding routing protocol also starts to work synchronously. The parent tunnel refers to a logic tunnel from the access gateway to the operator network, and represents an end-to-end connection between the two.
Step 104: Determine a scheduling policy.
Manner 1: The access gateway determines corresponding uplink and downlink scheduling policies, and notifies the operator network of the scheduling policies, or Manner 2: The access gateway and the operator network negotiate to determine corresponding uplink and downlink scheduling policies.
The scheduling policy may be determined by the access gateway according to a user requirement and a specific status of a network, for example, when a bandwidth requirement for data transmission is greater than a maximum bandwidth that the DSL channel can provide, exceeding data packets are immediately switched to the LTE channel for transmission, that is, when the bandwidth requirement for data transmission exceeds 90% of the maximum bandwidth that the DSL channel can provide, and the status lasts for at least 2 seconds, the exceeding data packets are immediately switched to the LTE channel for transmission.
Step 105: The access gateway performs scheduling processing on data packets according to the determined scheduling policy.
As shown in
Step 220: A receiving module 201 receives the data packets.
Step 221: The access gateway transmits the data packets to the operator network using a DSL channel.
Step 222: A detection module 202 detects a status of a bandwidth occupied when the data packets are transmitted on the DSL channel.
Step 223: The detection module 202 determines that the DSL channel cannot satisfy a user requirement and some data packets need to be overflowed. As shown in
Step 224: The access gateway overflows, to an LTE channel, data packets needing to be overflowed, and transmits the data packets to the operator network using the DSL channel in combination with the LTE channel, which is that an allocation module 203 allocates, to an LTE transceiver module 206, some data packets needing to be overflowed, the LTE transceiver module 206 transmits the overflowed data packets to an operator network 140 using the LTE channel, and a DSL transceiver module 204 transmits, to the operator network 140 using the DSL channel, data packets that are not overflowed.
Certainly, after Step 224, Step 225 may further be included: the detection module 202 regularly detects the status of the bandwidth occupied when the data packets are transmitted on the DSL channel, and if it is determined that the DSL channel can satisfy the user requirement independently, the access gateway no longer performs no data packets overflow processing.
Optionally, before Step 224, the detection module 202 further determines availability of the LTE channel, and if the LTE channel is available, performs a next step, so as to ensure that after the data packets are overflowed to the LTE channel, the LTE channel can transmit the overflowed data packets smoothly.
In addition, because of different network latency, when data packets are transmitted on different links, out-of-order occurs, so that a sequence number needs to be allocated to each packet before the sending. A receive end may sort the packets again using the sequence numbers, so as to achieve an objective of preventing out-of-order of the packets.
A person of ordinary skill in the art may be aware that, in combination with the examples described in the embodiments disclosed in this specification, units and algorithm steps may be implemented by electronic hardware or a combination of computer software and electronic hardware. Whether the functions are performed by hardware or software depends on particular applications and design constraint conditions of the technical solutions. A person skilled in the art may use different methods to implement the described functions for each particular application, but it should not be considered that the implementation goes beyond the scope of the present invention.
It may be clearly understood by a person skilled in the art that, for the purpose of convenient and brief description, for a detailed working process of the foregoing system, apparatus, and unit, reference may be made to a corresponding process in the foregoing method embodiments, and details are not provided herein again.
In the several embodiments provided by this application, it should be understood that the disclosed apparatus and method may be implemented in other manners. For example, the described apparatus embodiment is merely exemplary. For example, the unit division is merely logical function division and may be other division in actual implementation. For example, a plurality of units or components may be combined or integrated into another system, or some features may be ignored or not performed. In addition, the displayed or discussed mutual couplings or direct couplings or communication connections may be implemented through some interfaces. The indirect couplings or communication connections between the apparatuses or units may be implemented in electronic, mechanical, or other forms.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one position, or may be distributed on a plurality of network units. Some or all of the units may be selected according to actual needs to achieve the objectives of the solutions of the embodiments.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each of the units may exist alone physically, or two or more units are integrated into one unit.
When the functions are implemented in the form of a software functional unit and sold or used as an independent product, the functions may be stored in a computer-readable storage medium. Based on such an understanding, the technical solutions of the present invention essentially, or the part contributing to the prior art, or some of the technical solutions may be implemented in a form of a software product. The computer software product is stored in a storage medium, and includes several instructions for instructing a computer device (which may be a personal computer, a server, or a network device) to perform all or some of the steps of the methods described in the embodiments of the present invention. The foregoing storage medium includes: any medium that can store program code, such as a Universal Serial Bus (USB) flash drive, a removable hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disc.
The foregoing descriptions are merely specific implementation manners of the present invention, but are not intended to limit the protection scope of the present invention. Any variation or replacement readily figured out by a person skilled in the art within the technical scope disclosed in the present invention shall fall within the protection scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.
Number | Date | Country | Kind |
---|---|---|---|
201410648483.6 | Nov 2014 | CN | national |