Embodiments of the present disclosure relate to the communications technologies, and in particular, to a data transmission method and apparatus.
Service data transmission is usually performed in a client-server manner. When a client and a server exchange data, a data packet usually passes through a plurality of network side devices, and finally reaches the server or the client.
A long term evolution (LTE) system is used as an example. In applications such as Taobao, Youku, and WeChat, user equipment (UE) serves as a client, and obtains data from a server by using network side nodes such as an evolved NodeB (eNB), a serving gateway (S-GW), and a packet data network gateway (P-GW).
However, in a method in the prior art, data needs to pass through a plurality of network side nodes in a transmission process. This occupies a large quantity of network resources.
Embodiments of the present disclosure provide a data transmission method and apparatus, to reduce network resources occupied in a data transmission process.
According to a first aspect, the present disclosure provides a data transmission method, including:
receiving, by a first network side device, a service request message from first user equipment (UE), where the service request message includes an identifier of a service requested by the first UE;
determining, by the first network side device, a service source according to the identifier of the service, where the service source can provide the first UE with data of the service requested by the first UE, and the service source is second UE, the first network side device, or a second network side device adjacent to the first network side device; and
sending, by the first network side device, configuration information to the first UE, where the configuration information includes information about the service source, and is used to establish a data transmission path between the first UE and the service source, and the first UE obtains the data of the requested service from the service source by using the data transmission path.
In a possible design, the service request message further includes a list of UEs that are adjacent to the first UE; and
the determining, by the first network side device, a service source according to the identifier of the service includes:
selecting, by the first network side device, the second UE from the list of the UEs that are adjacent to the first UE, where the second UE has the service requested by the first UE.
In a possible design, the selecting, by the first network side device, the second UE from the list of the UEs that are adjacent to the first UE includes:
selecting, by the first network side device, the second UE from the adjacent UEs according to movement state information of the UEs that are adjacent to the first UE, where
the movement state information of the adjacent UEs includes movement rate levels or movement rates of the adjacent UEs.
In a possible design, the method further includes:
receiving, by the first network side device, service lists and/or the movement state information from the adjacent UEs.
In a possible design, before the receiving, by the first network side device, service lists and/or the movement state information from the adjacent UEs, the method further includes:
sending, by the first network side device, a report instruction to the adjacent UEs, where the report instruction is used to instruct the adjacent UEs to send the service lists and/or the movement state information.
In a possible design, the method further includes:
receiving, by the first network side device, a data transmission path quality deterioration indication from the first UE; and
determining, by the first network side device according to the data transmission path quality deterioration indication, whether to change the data transmission path.
In a possible design, the method further includes:
receiving, by the first network side device, change information from the second UE, where the change information includes change information of a service list and/or a change information of movement state information; and
determining, by the first network side device according to the change information, whether to change the data transmission path.
In a possible design, the determining, by the first network side device, a service source according to the identifier of the service includes:
if the first network side device determines that the first network side device can provide the data of the service corresponding to the identifier of the service, determining, by the first network side device, the first network side device as the service source; or
if the first network side device determines that a network side device adjacent to the first network side device includes the second network side device that can provide the data of the service corresponding to the identifier of the service, determining, by the first network side device, the second network side device as the service source.
According to a second aspect, the present disclosure provides a data transmission method, including:
sending, by first user equipment (UE), a service request message to a first network side device, where the service request message includes an identifier of a service requested by the first UE;
receiving, by the first UE, configuration information from the first network side device, where the configuration information includes information about a service source, and is used to establish a data transmission path between the first UE and the service source, the service source can provide the first UE with data of the service requested by the first UE, and the service source is second UE, the first network side device, or a second network side device adjacent to the first network side device;
establishing, by the first UE, the data transmission path between the first UE and the service source according to the configuration information; and
obtaining, by the first UE, the data of the requested service from the service source by using the data transmission path.
In a possible design, the service request message further includes a list of UEs that are adjacent to the first UE.
In a possible design, the method further includes: if the first UE detects that quality of the data transmission path deteriorates, sending, by the first UE, a data transmission path quality deterioration indication to the first network side device.
According to a third aspect, the present disclosure provides a data transmission method, including:
receiving, by second user equipment (UE), configuration information from a first network side device, where the configuration information is used to establish a data transmission path between first UE and the second UE, and the second UE can provide the first UE with data of a service requested by the first UE;
establishing, by the second UE, the data transmission path between the first UE and the second UE according to the configuration information; and
providing, by the second UE, the first UE with the data of the service requested by the first UE.
In a possible design, the method further includes: sending, by the second UE, a service list and/or movement state information to the first network side device.
In a possible design, the method further includes: when the second UE detects that the service list changes and/or the movement state information of the second UE changes, sending, by the second UE, change information to the first network side device, where the change information includes a change information of the service list and/or a change information of the movement state information.
In a possible design, the method further includes: periodically sending, by the second UE, the service list and/or the movement state information to the first network side device.
According to a fourth aspect, the present disclosure provides a data transmission apparatus, where the data transmission apparatus is deployed in a first network side device, and includes:
a receiving module, configured to receive a service request message from first user equipment (UE), where the service request message includes an identifier of a service requested by the first UE;
a processing module, configured to determine a service source according to the identifier of the service, where the service source can provide the first UE with data of the service requested by the first UE, and the service source is second UE, the first network side device, or a second network side device adjacent to the first network side device; and
a sending module, configured to send configuration information to the first UE, where the configuration information includes information about the service source, and is used to establish a data transmission path between the first UE and the service source, and the first UE obtains the data of the requested service from the service source by using the data transmission path.
In a possible design, the service request message further includes a list of UEs that are adjacent to the first UE; and the processing module is configured to select the second UE from the list of the UEs that are adjacent to the first UE, where the second UE has the service requested by the first UE.
In a possible design, the processing module is configured to select the second UE from the adjacent UEs according to movement state information of the UEs that are adjacent to the first UE, where the movement state information of the adjacent UEs includes movement rate levels or movement rates of the adjacent UEs.
In a possible design, the receiving module of the first network side device is further configured to receive service lists and/or the movement state information from the adjacent UEs.
In a possible design, the sending module of the first network side device is further configured to send a report instruction to the adjacent UEs, where the report instruction is used to instruct the adjacent UEs to send the service lists and/or the movement state information.
In a possible design, the receiving module is further configured to receive a data transmission path quality deterioration indication from the first UE; and the processing module is further configured to determine, according to the data transmission path quality deterioration indication, whether to change the data transmission path.
In a possible design, the receiving module is further configured to receive change information from the second UE, where the change information includes change information of a service list and/or a change information of movement state information; and the processing module is further configured to determine, according to the change information, whether to change the data transmission path.
In a possible design, the processing module is configured to: if it is determined that the first network side device can provide the data of the service corresponding to the identifier of the service, determine the first network side device as the service source; or if it is determined that a network side device adjacent to the first network side device includes the second network side device that can provide the data of the service corresponding to the identifier of the service, determine the second network side device as the service source.
According to a fifth aspect, the present disclosure provides a data transmission apparatus, including:
a sending module, configured to send a service request message to a first network side device, where the service request message includes an identifier of a service requested by a first UE;
a receiving module, configured to receive configuration information from the first network side device, where the configuration information includes information about a service source, and is used to establish a data transmission path between the first UE and the service source, the service source can provide the first UE with data of the service requested by the first UE, and the service source is second UE, the first network side device, or a second network side device adjacent to the first network side device;
a processing module, configured to establish the data transmission path between the first UE and the service source according to the configuration information; and
an obtaining module, configured to obtain the data of the requested service from the service source by using the data transmission path.
In a possible design, the service request message further includes a list of UEs that are adjacent to the first UE.
In a possible design, the sending module of the first UE is further configured to: if it is detected that quality of the data transmission path deteriorates, send a data transmission path quality deterioration indication to the first network side device.
According to a sixth aspect, the present disclosure provides a data transmission apparatus, including:
a receiving module, configured to receive configuration information from a first network side device, where the configuration information is used to establish a data transmission path between first UE and second UE, and the second UE can provide the first UE with data of a service requested by the first UE;
a processing module, configured to establish the data transmission path between the first UE and the second UE according to the configuration information; and
a sending module, configured to provide the first UE with the data of the service requested by the first UE.
In a possible design, the sending module is further configured to send a service list and/or movement state information to the first network side device.
In a possible design, the sending module is further configured to: when the second UE detects that the service list changes and/or the movement state information of the second UE changes, send change information to the first network side device, where the change information includes a change information of the service list and/or a change information of the movement state information.
In a possible design, the sending module is further configured to periodically send the service list and/or the movement state information to the first network side device.
According to the data transmission method and apparatus provided in the present disclosure, the first UE sends the service request message to the first network side device; the first network side device determines, according to the identifier that is of the service and that is in the service request message, the service source that can provide the first UE with the data of the requested service; after determining the service source, the first network side device sends the configuration information to the first UE, where the configuration information is used to establish the data transmission path between the first UE and the service source; and the first UE obtains the data of the requested service from the service source by using the data transmission path, instead of obtaining the data of the requested service from a server by using the first network side device. Therefore, network resources occupied in a data transmission process are reduced, and a delay in the data transmission process is reduced, so that user experience is improved.
To describe the technical solutions in the embodiments of the present disclosure more clearly, the following briefly describes the accompanying drawings required for describing the embodiments or the prior art. Apparently, the accompanying drawings in the following description show merely some embodiments of the present disclosure, and persons 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 disclosure with reference to the accompanying drawings in the embodiments of the present disclosure. Apparently, the described embodiments are merely some but not all of the embodiments of the present disclosure. All other embodiments obtained by persons of ordinary skill in the art based on the embodiments of the present disclosure without creative efforts shall fall within the protection scope of the present disclosure.
The following uses specific embodiments to describe in detail the technical solutions of the present disclosure. The following several specific embodiments may be combined with each other, and a same or similar concept or process may not be repeatedly described in some embodiments.
S201. First UE sends a service request message to a first network side device.
The service request message includes an identifier of a service requested by the first UE. The identifier of the service can uniquely identify the service requested by the first UE. In addition to the identifier of the service, the service request message may further include a name of a service provider of the service, a bit rate of the service, a fragment number of the service, and a uniform resource locator (URL) of the service, so that the first network side device determines, according to the service request message, a service source that can provide the first UE with data of the service.
The service request message may further include an indication of a service sharing capability of the first UE, so that the first network side device determines that the data of the requested service can be provided for the first UE by using second UE. Alternatively, the indication of the service sharing capability of the first UE may not be included in the service request message, but the first UE sends the indication of the service sharing capability of the first UE to the first network side device in advance. Alternatively, whether the UE supports service sharing is preset in the first network side device or is bound to the service requested by the UE, and the first network side device may learn, through querying, whether the first UE supports service sharing. A specific implementation is not limited in the present disclosure provided that the first network side device can learn that the first UE supports service sharing.
S202. The first network side device determines a service source according to an identifier of a service.
The service source can provide the first UE with the data of the service requested by the first UE. The service source may be the second UE, the first network side device, or a second network side device, and the first network side device can obtain an information list of services that can be provided by the second network side device.
A manner used by the first network side device to determine whether the second UE supports service sharing is similar to a manner of determining whether the first UE supports service sharing. For details, refer to detailed descriptions in S201, and the details are not described herein again.
The first network side device determines the service source according to the identifier of the service. The service source includes but is not limited to the following three types of service source: the second UE, the first network side device, or the second network side device.
A manner of determining the second UE is as follows.
The first network side device first needs to determine a list of UEs that are adjacent to the first UE. For example, in one manner, the first UE may detect the UEs that are adjacent to the first UE, adds, to the service request message, the list of the UEs that are adjacent to the first UE, and sends the service request message to the first network side device. The list of the adjacent UEs may further include information such as detected quality values of the adjacent UEs and locations of the adjacent UEs relative to the first UE. The first network side device learns, from the service request message, of the list of the UEs that are adjacent to the first UE. In another manner, the first network side device obtains, through detection, the list of the UEs that are adjacent to the first UE. A manner used by the first network side device to obtain the list of the UEs that are adjacent to the first UE includes but is not limited to the foregoing manner. This is not limited in the present disclosure.
The detected quality values of the adjacent UEs are used to evaluate link quality existing when the first UE receives data packets from the adjacent UEs. For example, the quality values may be distances between the first UE and the adjacent
UEs, quality that is of signals from the adjacent UEs and that is measured by the first UE, or the like. This is not limited herein.
After the first network side device obtains the list of the UEs that are adjacent to the first UE, the first network side device queries a service list of each of the adjacent UEs, and determines the second UE according to the service list. A service list of the second UE includes the service requested by the first UE.
For example, the first network side device determines N candidate adjacent UEs. When N is 1, the first network side device determines the UE as the second UE. When N is an integer greater than or equal to 2, the first network side device determines the second UE from the N candidate adjacent UEs. The first network side device may usually determine, from the N candidate adjacent UEs according to the quality values of the adjacent UEs and movement state information of the adjacent UEs, UE with a lowest movement rate level or a minimum movement rate and an optimal quality value as the second UE. When N is 0 or movement state information and/or quality values of the N candidate UEs do not meet a requirement, that is, when there is no adjacent UE that can provide the first UE with the data of the requested service, the first network side device instructs the first UE to obtain the data of the requested service from a server.
A manner of determining that the service source is the first network side device is as follows: Whether the first network side device can provide the data of the service requested by the first UE is determined. If the first network side device can provide the data of the service, the first network side device is determined as the service source.
A manner of determining that the service source is the second network side device is as follows: The first network side device determines that an adjacent network side device includes the second network side device (that is, the service source) that can provide the data of the service requested by the first UE. For example, the first network side device queries a service list of the second network side device, and determines, as the service source, the second network side device whose service list includes the service requested by the first UE.
It should be noted that, in the foregoing determining process, all of the second UE, the first network side device, and the second network side device may be capable of providing the data of the service requested by the first UE, and the first network side device may select one or more service sources according to an algorithm of the first network side device. This is not limited herein. For example, the first network side device may preferably select the first network side device as the service source.
S203. The first network side device sends configuration information to the first UE.
The configuration information includes information about the service source, and is used to establish a data transmission path between the first UE and the service source. Optionally, the configuration information includes the information about the service source, for example, an address and a port number of the service source. Alternatively, the configuration information includes at least one of a frequency channel number, a layer 2 parameter, or encryption and decryption information for establishing a data transmission path by the first UE. After receiving the configuration information from the first network side device, the first UE performs S204.
Optionally, if the service source is the second UE, the first network side device further needs to send configuration information to the second UE. After receiving the configuration information from the first network device, the second UE establishes the data transmission path between the second UE and the first UE according to the configuration information. The configuration information may be different from the configuration information sent to the first UE. For example, the configuration information includes the identifier of the service requested by the first UE and/or address information of the first UE.
Before the second UE receives the configuration information, the second UE may further receive service provisioning request information from the first network side device, and the service provisioning request information is used to request the second UE to provide the first UE with the data of the requested service. The request information may include the address information of the first UE and/or the identifier of the requested service.
S204. The first UE establishes a data transmission path between the first UE and the service source according to the configuration information.
S205. The first UE obtains data of the requested service from the service source by using the data transmission path.
In this embodiment, the first UE sends the service request message to the first network side device; the first network side device determines, according to the identifier that is of the service and that is in the service request message, the service source that can provide the first UE with the data of the requested service; after determining the service source, the first network side device sends the configuration information to the first UE, where the configuration information is used to establish the data transmission path between the first UE and the service source; and the first
UE obtains the data of the requested service from the service source by using the data transmission path, instead of obtaining the data of the requested service from the server by using nodes such as the first network side device, a P-GW, and an S-GW. Therefore, network resources occupied in a data transmission process are reduced, and a delay in the data transmission process is reduced, so that user experience is improved.
In the foregoing embodiment, if the service source is the second UE, in the following cases, the first network side device needs to determine whether to change the service source of the first UE.
In one case, when quality of the data transmission path between the first UE and the second UE deteriorates, the first UE detects that the quality of the data transmission path deteriorates, and sends a data transmission path quality deterioration indication to the first network side device. The first network side device determines, according to the data transmission path quality deterioration indication, whether to change the data transmission path, that is, whether to determine a new service source. For example, the data transmission path quality deterioration indication includes a measurement result, and the first network side device determines, according to the measurement result, whether to delete the data transmission path.
In another case, when the second UE detects that the service list changes, or a movement state of the second UE changes, or both the service list and the movement state of the second UE change, the second UE sends change information to the first network side device. The change information includes the foregoing changes. The first network side device receives the change information, and determines, according to the change information, whether to change the data transmission path, that is, whether to determine a new service source. Preferably, in a service data transmission process, when the service list of the second UE is about to change, the second UE needs to first notify the first network side device, and the first network side device determines whether the change can be performed; or the second UE needs to notify the first network side device of a time point at which the service list changes, to avoid an impact caused by the change information of the service list on a process in which the first UE requests the service.
In the embodiment shown in
The adjacent UEs may send the service lists and/or the movement state information to the first network side device in the following trigger conditions:
In one trigger condition, the adjacent UEs receive a report instruction from the first network side device, where the report instruction is used to instruct the adjacent UEs to send the service lists and/or the movement state information; and the adjacent UEs report the service lists and/or the movement state information after receiving the report instruction.
In another trigger condition, the adjacent UEs periodically report the service lists and/or the movement state information.
In still another trigger condition, the adjacent UEs report the service lists and/or the movement state information when the service lists change or the movement state information changes.
In the foregoing embodiment, other UE may serve as relay UE on the data transmission path between the first UE and the second UE, and forward data between the first UE and the second UE.
In the foregoing embodiment, the service request message further includes a list of UEs that are adjacent to the first UE. The processing module 302 is configured to select the second UE from the list of the UEs that are adjacent to the first UE. The second UE has the service requested by the first UE.
In the foregoing embodiment, the processing module 302 is configured to select the second UE from the adjacent UEs according to movement state information of the UEs that are adjacent to the first UE. The movement state information of the adjacent UEs includes movement rate levels or movement rates of the adjacent UEs.
In the foregoing embodiment, the receiving module 301 is further configured to receive service lists and/or the movement state information from the adjacent UEs.
In the foregoing embodiment, the sending module 303 is further configured to send a report instruction to the adjacent UEs. The report instruction is used to instruct the adjacent UEs to send the service lists and/or the movement state information.
In the foregoing embodiment, the receiving module 301 is further configured to receive a data transmission path quality deterioration indication from the first UE.
The processing module 302 is further configured to determine, according to the data transmission path quality deterioration indication, whether to change the data transmission path.
In the foregoing embodiment, the receiving module 301 is further configured to receive change information from the second UE. The change information includes change information of a service list and/or a change information of movement state information.
The processing module is further configured to determine, according to the change information, whether to change the data transmission path.
In the foregoing embodiment, the processing module 302 is configured to: if it is determined that the first network side device can provide the data of the service corresponding to the identifier of the service, determine the first network side device as the service source; or if it is determined that a network side device adjacent to the first network side device includes the second network side device that can provide the data of the service corresponding to the identifier of the service, determine the second network side device as the service source.
The apparatus in the embodiment shown in
In the foregoing embodiment, the service request message further includes a list of UEs that are adjacent to the first UE.
In the foregoing embodiment, the sending module 401 is further configured to: if it is detected that quality of the data transmission path deteriorates, send a data transmission path quality deterioration indication to the first network side device.
The apparatus in the embodiment shown in
In the foregoing embodiment, the sending module 503 is further configured to send a service list and/or movement state information to the first network side device.
In the foregoing embodiment, the sending module 503 is further configured to: when the second UE detects that the service list changes and/or the movement state information of the second UE changes, send change information to the first network side device. The change information includes a change information of the service list and/or a change information of the movement state information.
In the foregoing embodiment, the sending module 503 is further configured to periodically send the service list and/or the movement state information to the first network side device.
The apparatus in the embodiment shown in
Persons of ordinary skill in the art may understand that all or some of the steps of the method embodiments may be implemented by a program instructing relevant hardware. The program may be stored in a computer readable storage medium. When the program runs, the steps of the method embodiments are performed. The foregoing storage medium includes any medium that can store program code, such as a ROM, a RAM, a magnetic disk, or an optical disc.
Finally, it should be noted that the foregoing embodiments are merely intended for describing the technical solutions of the present disclosure, but not for limiting the present disclosure. Although the present disclosure is described in detail with reference to the foregoing embodiments, persons of ordinary skill in the art should understand that they may still make modifications to the technical solutions described in the foregoing embodiments or make equivalent replacements to some or all technical features thereof, without departing from the scope of the technical solutions of the embodiments of the present disclosure.
This application is a continuation of International Application No. PCT/CN2015/094735, filed on Nov. 16, 2015, the disclosure of which is hereby incorporated by reference in its entirety.
Number | Date | Country | |
---|---|---|---|
Parent | PCT/CN2015/094735 | Nov 2015 | US |
Child | 15980129 | US |