WO2018098761A1 - 数据传输方法及设备 - Google Patents

数据传输方法及设备 Download PDF

Info

Publication number
WO2018098761A1
WO2018098761A1 PCT/CN2016/108162 CN2016108162W WO2018098761A1 WO 2018098761 A1 WO2018098761 A1 WO 2018098761A1 CN 2016108162 W CN2016108162 W CN 2016108162W WO 2018098761 A1 WO2018098761 A1 WO 2018098761A1
Authority
WO
WIPO (PCT)
Prior art keywords
server
data
acquisition request
base station
data information
Prior art date
Application number
PCT/CN2016/108162
Other languages
English (en)
French (fr)
Inventor
胡国杰
Original Assignee
华为技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 华为技术有限公司 filed Critical 华为技术有限公司
Priority to PCT/CN2016/108162 priority Critical patent/WO2018098761A1/zh
Priority to CN201680087748.7A priority patent/CN109479046A/zh
Publication of WO2018098761A1 publication Critical patent/WO2018098761A1/zh

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/40Network security protocols
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W88/00Devices specially adapted for wireless communication networks, e.g. terminals, base stations or access point devices
    • H04W88/18Service support devices; Network management devices

Definitions

  • the present invention relates to the field of communications technologies, and in particular, to a data transmission method and device.
  • the data server is used to provide a data server to the terminal device.
  • data servers are typically deployed in the core network, and the data servers are far away from the base stations.
  • the terminal device when the terminal device needs to acquire data from the data server, the terminal device first establishes a connection with the base station, and requests data from the data server through the base station.
  • the data server receives the data request sent by the terminal device through the base station, the data server first sends the data to the base station, and then the base station sends the data to the terminal device. Since the distance between the data server and the base station is usually far, in the process of sending data to the base station by the data server, it is usually required to send data to the base station through multiple switching interfaces, and the transmission channel bandwidth between the data server and the base station is limited.
  • the data server sends data to the terminal device slowly, causing the data server to send data to the base station with a large delay, which causes the terminal device to obtain data from the data server with a large delay.
  • the embodiment of the invention provides a data transmission method and device for reducing the delay of the terminal device acquiring data from the data server.
  • the embodiment of the present invention provides a data transmission method, where the execution entity of the method is a base station, and after the base station receives the data acquisition request sent by the terminal device, the base station determines the local server and the remote server corresponding to the data acquisition request.
  • the distance between the local server and the base station is less than the first preset distance, and the distance between the remote server and the base station is greater than the second preset distance.
  • the base station requests the local server to obtain the data information corresponding to the data acquisition request, and sends the data information obtained by the local server to the terminal device.
  • the base station also requests the remote server to download the data information, so that the remote server sends the data information to the charging and listening interface in the core network, so that the charging and listening interface charges and monitors the data information.
  • the base station after the base station receives the data acquisition request of the terminal device, the base station simultaneously A data acquisition request is sent to the local server and the remote server, so that the local server and the remote server can simultaneously deliver the same data information.
  • the remote server sends the data information
  • the data sent by the remote server passes through the core network, so that the charging and listening interfaces in the core network can perform normal accounting monitoring on the data information. Because the distance between the local server and the base station is relatively close, the base station can quickly obtain the data information sent by the local server, improve the efficiency of the local server to send data information to the base station, and improve the efficiency of the terminal device to obtain data information.
  • the manner in which the base station determines the local server and the remote server corresponding to the data acquisition request is also different.
  • the following two possible implementations can be included:
  • the data acquisition request includes an identifier of the server to be accessed.
  • the base station can determine the local server and the remote server according to the identifier of the server to be accessed.
  • the base station can quickly obtain the identifier of the server to be accessed according to the data acquisition request, so that the base station can quickly determine the local server and the remote server.
  • the data acquisition request includes a uniform resource locator URL address corresponding to the data to be requested; correspondingly, the base station may parse the URL address, obtain the identifier of the server to be accessed, and according to the identifier of the server to be accessed , determine the local server and the remote server.
  • the base station may further obtain a whitelist list set in the base station, where the whitelist list includes at least one server identifier, and determines The whitelist includes the identifier of the server.
  • the identifier of the server in the whitelist is the identifier of the server that allows access to the local server corresponding to the server. In this way, the security of the data acquisition request processing by the base station can be ensured.
  • the base station may request the local server to obtain the data information corresponding to the data acquisition request by using the following two possible implementation manners:
  • the base station has a data offload function.
  • the data acquisition request is converted by the data splitting function of the base station, so that the local server can identify the data acquisition request after the protocol conversion, and send the data acquisition request after the protocol conversion to the local server. Receive data messages sent by the local server.
  • the base station and the data offloading server are independently set.
  • a data acquisition request is sent to a data distribution server corresponding to the base station, so that the data distribution server performs protocol conversion on the data acquisition request, and sends the data to the local server.
  • the local server may identify the data acquisition request after the protocol conversion, and receive the data information sent by the data distribution server, and the data information is sent by the local server to the data distribution server.
  • the base station and the LBO server are two independent devices, so that the deployment of the LBO server is facilitated.
  • the embodiment of the present invention provides a data transmission method, where the execution entity of the method is a remote server, and after receiving the data download instruction sent by the base station, the remote server acquires the data information requested by the base station, and presets The interface sends data information to the service absorbing unit, so that the service absorbing unit terminates sending the data information, and the preset interface is used for charging and monitoring the data information.
  • the base station after receiving the data acquisition request of the terminal device, the base station sends a data acquisition request to the local server and the remote server, so that the local server and the remote server can simultaneously deliver the same data information.
  • the remote server sends the data information
  • the data sent by the remote server passes through the core network, so that the charging and listening interfaces in the core network can perform normal accounting monitoring on the data information. Because the distance between the local server and the base station is relatively close, the base station can quickly obtain the data information sent by the local server, improve the efficiency of the local server to send data information to the base station, and improve the efficiency of the terminal device to obtain data information.
  • the remote server may obtain the data information requested by the base station by using a feasible implementation manner: the remote server receives the data synchronization instruction sent by the local server, and acquires the data information according to the data synchronization instruction.
  • the data synchronization instruction includes a hash value corresponding to the data information.
  • the base station may obtain a hash value in the data synchronization instruction, and acquire data information corresponding to the hash value.
  • an embodiment of the present invention provides a base station, including a receiving module, a processing module, and a sending module, where
  • the receiving module is configured to receive a data acquisition request sent by the terminal device.
  • the processing module is configured to determine a local server and a remote server corresponding to the data acquisition request, where a distance between the local server and the base station is less than a first preset distance, and the remote server and the base station The distance between them is greater than the second preset distance.
  • the sending module is configured to send a data acquisition request to the local server to obtain data information corresponding to the data acquisition request.
  • the sending module is configured to send the data information to the terminal device.
  • the processing module is further configured to request the remote server to download the data information, so that the remote server sends the data information to a charging and listening interface in the core network, so that the charging and monitoring are performed.
  • the interface charges and monitors the data information.
  • the data acquisition request includes an identifier of a server to be accessed; the processing module is specifically configured to:
  • the data acquisition request includes a uniform resource locator URL address corresponding to the data to be requested; the processing module is specifically configured to:
  • the URL address is parsed to obtain an identifier of the server to be accessed.
  • processing module is further configured to:
  • the processing module Before the processing module requests the local server to obtain the data information corresponding to the data acquisition request, acquiring a whitelist list set in the base station, where the whitelist list includes at least one identifier of the server, and determining The whitelist list includes an identifier of the server, and an identifier of the server in the whitelist list is an identifier of a server that allows access to a local server corresponding to the server.
  • the processing module is further configured to perform protocol conversion on the data acquisition request by using a data offload function of the base station, so that the local server can identify the data after the protocol conversion. Get the request.
  • the sending module is specifically configured to send the data acquisition request after the protocol conversion to the local server.
  • the receiving module is further configured to receive the data information sent by the local server.
  • the sending module is further configured to send the data acquisition request to a data offloading server corresponding to the base station, so that the data offloading server performs protocol conversion on the data obtaining request.
  • Sending the protocol-converted data acquisition request to the local server, and the local server may identify the protocol-converted data acquisition request.
  • the receiving module is further configured to receive the data information sent by the data offloading server, where the data information is sent by the local server to the data offloading server.
  • the base station shown in the embodiment of the present invention may perform the method according to any one of the first aspects, and the implementation principle and the beneficial effects are similar, and details are not described herein.
  • an embodiment of the present invention provides a server, including a receiving module, a processing module, and a sending module, where
  • the receiving module is configured to receive a data download instruction sent by the base station.
  • the processing module is configured to acquire data information requested by the base station.
  • the sending module is configured to send the data information to the service absorbing unit by using a preset interface, so that the service absorbing unit terminates sending the data information, where the preset interface is used to charge the data information. And listening.
  • the receiving module is further configured to receive a data synchronization instruction sent by a local server;
  • the processing module is specifically configured to acquire the data information according to the data synchronization instruction.
  • the data synchronization instruction includes a hash value corresponding to the data information; correspondingly, the processing module is specifically configured to:
  • the remote server shown in the embodiment of the present invention may perform the method according to any one of the second aspects, and the implementation principle and the beneficial effects are similar, and details are not described herein.
  • an embodiment of the present invention provides a base station, including a receiver, a processor, a transmitter, and a memory, where the memory is used to store an execution instruction, and the processor is configured to invoke an execution instruction in the memory, and execute Corresponding operations, among them,
  • the receiver is configured to receive a data acquisition request sent by the terminal device.
  • the processor is configured to determine a local server and a remote server corresponding to the data acquisition request, where a distance between the local server and the base station is less than a first preset distance, and the remote server and the base station The distance between the two is greater than the second preset distance.
  • the transmitter is configured to send a data acquisition request to the local server to obtain data information corresponding to the data acquisition request.
  • the transmitter is further configured to send the data information to the terminal device.
  • the processor is further configured to request the remote server to download the data information, so that the remote server sends the data information to a charging and listening interface in the core network, so that the charging and monitoring are performed.
  • the interface charges and monitors the data information.
  • the data acquisition request includes a target of a server to be accessed
  • the processor is specifically used to:
  • the data acquisition request includes a uniform resource locator URL address corresponding to the data to be requested; the processor is specifically configured to:
  • the URL address is parsed to obtain an identifier of the server to be accessed.
  • the processor is further configured to:
  • the whitelist list includes an identifier of the server, and an identifier of the server in the whitelist list is an identifier of a server that allows access to a local server corresponding to the server.
  • the processor is further configured to perform protocol conversion on the data acquisition request by using a data offload function of the base station, so that the local server can identify the data after the protocol conversion. Get the request.
  • the transmitter is specifically configured to send the protocol-converted data acquisition request to the local server.
  • the receiver is further configured to receive the data information sent by the local server.
  • the transmitter is further configured to send the data acquisition request to a data offloading server corresponding to the base station, so that the data offloading server performs protocol conversion on the data obtaining request.
  • Sending the protocol-converted data acquisition request to the local server, and the local server may identify the protocol-converted data acquisition request.
  • the receiver is further configured to receive the data information sent by the data offloading server, where the data information is sent by the local server to the data offloading server.
  • an embodiment of the present invention provides a server, including a receiver, a processor, a transmitter, and a memory, where the memory is used to store an execution instruction, and the processor is configured to invoke an execution instruction in the memory, and execute Corresponding operation, among them,
  • the receiver is configured to receive a data download instruction sent by the base station.
  • the processor is configured to acquire data information requested by the base station.
  • the transmitter is configured to send the data information to a service absorbing unit through a preset interface, to And causing the service absorbing unit to terminate sending the data information, where the preset interface is used for charging and monitoring the data information.
  • the receiver is configured to receive a data synchronization instruction sent by a local server.
  • the processor is specifically configured to acquire the data information according to the data synchronization instruction.
  • the data synchronization instruction includes a hash value corresponding to the data information; correspondingly, the processor is specifically configured to:
  • a hash value is obtained in the data synchronization instruction.
  • the data transmission method and device provided by the embodiment of the present invention have a local server on the base station side, a billing and listening interface and a service absorbing module on the remote server side, and the local server and the remote server can provide the same to the terminal device. service.
  • the base station After the base station receives the data acquisition request of the terminal device, the base station sends the data request to the local server and the remote server at the same time, so that the local server and the remote server can simultaneously deliver the same data information.
  • the data information sent by the local server can be quickly sent to the base station and sent by the base station to the terminal device.
  • the charging and listening interface can charge and listen to the data information sent by the remote server, and the service absorbing module terminates the data information.
  • the data information is continuously delivered, thereby preventing the terminal device from receiving the same data information.
  • the local server and the remote server can simultaneously deliver the same data information, so that the charging and listening interface on the remote server side can perform normal charging monitoring on the data information received by the terminal device. Because the distance between the local server and the base station is relatively close, the efficiency of the local server to send data information to the base station is improved, thereby improving the efficiency of the terminal device acquiring the data information.
  • FIG. 1 is a schematic diagram of an application scenario of a data transmission method provided by the present invention
  • FIG. 2 is a schematic flowchart 1 of a data transmission method provided by the present invention.
  • FIG. 3 is a flowchart 1 of a method for performing protocol conversion on a data acquisition request according to an embodiment of the present invention
  • FIG. 3 is a corresponding diagram of a protocol format according to an embodiment of the present invention.
  • FIG. 4 is a flowchart 2 of a method for protocol conversion of a data acquisition request according to an embodiment of the present invention
  • FIG. 5 is a schematic flowchart 2 of a data transmission method provided by the present invention.
  • FIG. 6 is a schematic structural diagram of a base station according to an embodiment of the present disclosure.
  • FIG. 7 is a schematic structural diagram of a server according to an embodiment of the present disclosure.
  • FIG. 8 is a schematic structural diagram of hardware of a base station according to an embodiment of the present disclosure.
  • FIG. 9 is a schematic structural diagram of hardware of a server provided by the present invention.
  • FIG. 1 is a schematic diagram of an application scenario of a data transmission method provided by the present invention.
  • a terminal device 101 a base station 102, a local server 103, a remote server 104, a charging and listening interface 105, a service absorbing module 106, and a Serving Gate Way (SGW) and a PGW (PDN Gate) are included.
  • SGW Serving Gate Way
  • PGW PDN Gateway
  • the terminal device 101 can be a communication device such as a mobile phone or a computer.
  • the local server 103 and the remote server 104 can provide the same service to the terminal device 101, wherein the distance between the remote server 104 and the base station 102 is typically far, and the distance between the local server 103 and the base station 102 is typically relatively close.
  • the base station 102 after the base station 102 receives the data acquisition request sent by the terminal device 101, the base station 102 simultaneously requests data from the local server 103 and the remote server 104.
  • the base station 102 has a Local Break Out (LBO) function, or an LBO server is set in the vicinity of the base station 102, so that the base station 102 can request data from the local server 103 through the LBO function or the LBO server.
  • LBO Local Break Out
  • the base station 102 requests data from the remote server 104
  • the message sent by the base station 102 to the remote server 104 needs to pass through the core network.
  • the local server 103 and the remote server 104 After the local server 103 and the remote server 104 receive the data request sent by the base station 102, the local server 103 and the remote server synchronize the data delivery.
  • the data sent by the local server 103 is sent to the base station 102 via the LBO function of the base station 102 or the LBO server, and the base station 102 transmits the data sent by the local server 103 to the terminal device 101.
  • the data sent by the remote server 104 passes through the SGW/PGW 107, so that the SGW/PGW 107 correctly forwards the data, and the delivered data passes through the charging and listening interface 105 of the core network, so that the charging and listening interface 105 can
  • the data requested by the terminal device 101 is charged and monitored, and the delivered data flows to the service absorbing module 106 after passing through the charging and listening interface 105, and the service absorbing module 106 terminates the delivery of the data to avoid the data sent by the remote server 104. It is sent to the terminal device 101, thereby preventing the terminal device 101 from receiving duplicate data.
  • the local server 103 can quickly transmit the requested data to the base station 102, so that the base station 102 can quickly reach the terminal.
  • the device feeds back the requested data, thereby reducing the delay of the terminal device 101 requesting data.
  • the remote server 104 can send data synchronously with the local server 103, so that the charging and listening interface can charge and monitor the data received by the terminal device 101.
  • FIG. 2 is a schematic flowchart 1 of a data transmission method provided by the present invention. Referring to FIG. 2, the method may include:
  • the terminal device sends a data acquisition request to the base station.
  • the technical solution shown in the present invention is applicable to a process in which a terminal device acquires arbitrary data from a data server, and is particularly applicable to a process in which a terminal device acquires data with a large amount of data from a data server, for example, a process in which a terminal device acquires video data from a video server. Wait.
  • the user may input a preset instruction in the terminal device, so that the terminal device sends a data acquisition request to the base station. For example, when the user needs to watch the video in the terminal device, the user can perform a click operation on the “view” button corresponding to the video that needs to be viewed, so that the terminal device sends a data acquisition request for requesting the video data to the base station.
  • the base station determines, according to the data acquisition request, a local server and a remote server corresponding to the data acquisition request.
  • the base station may determine the local server and the remote server corresponding to the data acquisition request according to the following two feasible implementation manners:
  • the data acquisition request includes the identifier of the server to be accessed; correspondingly, the base station can determine the local server and the remote server according to the identifier of the server to be accessed.
  • the data acquisition request may include a URL address corresponding to the data to be requested.
  • the base station may parse the URL address, obtain the identifier of the server to be accessed, and determine the local server and the remote server according to the identifier of the server to be accessed. For example, suppose the URL address is: Http://abc.com/index.html, the base station can obtain the representation of the server to be accessed as abc in the URL address.
  • the base station may determine the address of the local server and the address of the remote server according to the identifier of the server to be accessed, and communicate with the local server according to the address of the local server, according to The address of the remote server, which communicates with the remote server.
  • the base station may first obtain a preset whitelist list, and determine whether the whitelist includes the identifier of the server to be accessed, and if yes, execute S202-S212; if not, according to the prior art
  • the execution process in the process processes the data acquisition request sent by the terminal device.
  • the whitelist includes at least one identifier of the server, and the identifier of the server in the whitelist is an identifier of a server that allows access to the local server corresponding to the server.
  • the base station simultaneously sends a data acquisition request to the local server and the remote server, and therefore, S203 and S207 are simultaneously executed.
  • the base station sends a data acquisition request to the local server.
  • the base station obtains the address of the local server, and sends a data acquisition request to the local server according to the address of the local server.
  • the base station When the base station sends a data acquisition request to the local server, it does not pass through the core network of the operator.
  • the LBO function may be integrated in the base station, or an LBO with an LBO function may be set in the vicinity of the base station.
  • the server is configured to enable the base station to send a data acquisition request to the local server through the LBO server.
  • the local server acquires data information according to the data acquisition request.
  • the local server After the local server receives the data acquisition request, the local server acquires the data information according to the data acquisition request.
  • the data acquisition request may include an identifier of the request data, so that the local server may obtain the data information according to the identifier of the request data.
  • the data acquisition request may include a URL address for indicating the request data, so that the local server can obtain the data information according to the URL address.
  • the data acquisition request sent by the terminal device may include the URL address of the video data, so that the local server can acquire the video data according to the URL address of the video data.
  • the hash value may be generated according to a Secure Hash Algorithm (SHA), and the generated hash value is sent to the remote server, so that the remote server can The hash value gets the same data information.
  • SHA Secure Hash Algorithm
  • the local server sends data information to the base station.
  • the local server may first send the data information to the LBO server, and then The data information is sent by the LBO server to the base station.
  • the LBO function can be integrated in the base station, so that the base station can successfully receive the data information sent by the local server through the LBO function.
  • the base station sends data information to the terminal device.
  • the base station sends a data acquisition request to the remote server.
  • the base station acquires the address of the remote server, and sends a data acquisition request to the remote server according to the address of the remote server.
  • the remote server acquires data information according to the data acquisition request.
  • the data information may be directly obtained according to the data acquisition request.
  • the remote server can receive the hash value corresponding to the data information sent by the local server and obtained by the local server, and the remote server according to the hash value. Get the same data information as the data information obtained by the local server.
  • the remote server simultaneously sends data information to the charging and listening interface and the service absorbing module, that is, S209 and S210 are simultaneously executed.
  • the remote server sends data information to the charging and listening interface.
  • the billing and listening interface is usually an interface deployed by the operator on the core network. An operator usually deploys only one billing and listening interface in one area. Since the local server and the remote server synchronously send the same data information, the charging and listening interface is equivalent to charging and monitoring the data information sent to the terminal device.
  • the remote server sends data information to the service absorbing module.
  • a remote server may correspond to a service absorption module, and the remote server may Send data information to its corresponding service absorbing module.
  • the service absorbing module terminates sending the data information.
  • the service absorbing module can be deployed in a general-purpose server of the core network, and the service absorbing module is configured to terminate sending the data information sent by the charging and listening interface, so that the terminal device can prevent the terminal device from receiving the data information sent by the remote server. To avoid the terminal device receiving duplicate data information.
  • the data transmission method provided by the embodiment of the present invention has a local server set on the base station side, a billing and listening interface and a service absorbing module on the remote server side, and the local server and the remote server can provide the same service to the terminal device.
  • the base station After the base station receives the data acquisition request of the terminal device, the base station sends the data request to the local server and the remote server at the same time, so that the local server and the remote server can simultaneously deliver the same data information.
  • the data information sent by the local server can be quickly sent to the base station and sent by the base station to the terminal device.
  • the charging and listening interface can charge and listen to the data information sent by the remote server, and the service absorbing module terminates the data information.
  • the data information is continuously delivered, thereby preventing the terminal device from receiving the same data information.
  • the local server and the remote server can simultaneously deliver the same data information, so that the charging and listening interface on the remote server side can perform normal charging monitoring on the data information received by the terminal device. Because the distance between the local server and the base station is relatively close, the efficiency of the local server to send data information to the base station is improved, thereby improving the efficiency of the terminal device acquiring the data information.
  • the base station can bring its own data offload function, so that the base station can perform protocol conversion on the data acquisition request.
  • an LBO server with a data offload function may also be set in the vicinity of the base station, so that the LBO server can perform protocol conversion on the data acquisition request.
  • FIG. 3 is a flowchart 1 of a method for protocol conversion of a data acquisition request according to an embodiment of the present invention. Referring to FIG. 3, the method may include:
  • a data offload function is set in the base station, so that the base station can perform protocol conversion on the data acquisition request, and convert the data acquisition request into a form recognizable by the local server.
  • the initial format of the data acquisition request is shown in Table 1, and the data acquisition request is based on GPRS tunneling.
  • the base station performs protocol conversion on the signaling shown in Table 1 according to the data offload function.
  • the format of the data acquisition request after the protocol conversion is as shown in Table 2.
  • the data acquisition request after the protocol conversion is physical layer signaling based on the IP protocol.
  • FIG. 3A is a diagram of a correspondence relationship between protocol formats according to an embodiment of the present invention. See Figure 3A.
  • the GTP-U field of the pre-conversion protocol corresponds to the IP field of the translated protocol
  • the UDP field, IP field, and MAC field of the pre-conversion protocol correspond to the MAC field of the translated protocol.
  • the base station After the base station performs protocol conversion on the data acquisition request, the base station sends a protocol-converted data acquisition request to the local server.
  • the local server After the local server receives the data acquisition request after the protocol conversion, the local server parses the data acquisition request, acquires the data information corresponding to the data acquisition request, and sends the data information to the base station.
  • the format of the data information sent by the local server is as shown in Table 2.
  • the base station receives the data information in the format shown in Table 2, the base station performs the LBO function according to the LBO function.
  • the data information can be protocol converted to convert the data information into the format shown in Table 1.
  • the base station performs protocol conversion on the data acquisition request by using the LBO function, so that the base station can successfully send a data acquisition request to the local server, and the local server can identify the data conversion request after the protocol conversion.
  • FIG. 4 is a second flowchart of a method for protocol conversion of a data acquisition request according to an embodiment of the present invention. Referring to FIG. 4, the method may include:
  • S401 Send a data acquisition request to the data distribution server corresponding to the base station, so that the data distribution server performs protocol conversion on the data acquisition request, and sends a protocol-transformed data acquisition request to the local server, and the local server can identify the data acquisition after the protocol conversion. request.
  • the data offloading server (LBO server) is disposed near the base station.
  • the base station When the base station needs to send a data acquisition request to the local server, the base station first sends a data acquisition request to the LBO server.
  • the LBO server performs a protocol conversion on the received data acquisition request.
  • the process of the protocol conversion of the data acquisition request by the LBO server can be referred to the embodiment shown in FIG. 3, and details are not described herein.
  • the LBO server After the LBO server performs protocol conversion on the data acquisition request, the LBO server sends the protocol-converted data acquisition request to the local server.
  • S402. Receive data information sent by the data offloading server, where the data information is sent by the local server to the data offloading server.
  • the local server After the local server obtains the data information according to the data acquisition request converted by the protocol, the local server sends the data information to the LBO server.
  • the format of the data information sent by the local server to the LBO server is as shown in Table 2.
  • the LBO server performs protocol conversion on the data information sent by the local server.
  • the format of the data information after the protocol conversion is as shown in Table 1, and the LBO server sends the base station to the base station. Send the data information after the protocol conversion.
  • the base station and the LBO server are two separate devices, thus facilitating deployment of the LBO server.
  • FIG. 5 is a schematic flowchart 2 of a data transmission method provided by the present invention. Please refer to Figure 5, the party The law can include:
  • the terminal device sends a data acquisition request including a URL address to the base station.
  • the base station parses the URL address, obtains an identifier of the server to be accessed, and determines the local server and the remote server according to the identifier of the server to be accessed.
  • the base station sends a data acquisition request to the LBO server.
  • S504 The LBO server performs protocol conversion on the data acquisition request.
  • the LBO server sends a protocol-converted data acquisition request to the local server.
  • the local server acquires data information according to the data acquisition request after the protocol conversion.
  • the local server generates a hash value corresponding to the data information.
  • the local server sends the hash value to the remote server.
  • S509 The local server sends data information to the LBO server.
  • S507 and S509 may be executed sequentially or simultaneously, and the execution order of S507 and S509 is not specifically limited in the embodiment of the present invention.
  • the S510 and the LBO server perform protocol conversion on the data information.
  • the LBO server sends the data information after the protocol conversion to the base station.
  • the base station sends the protocol converted data information to the terminal device.
  • the base station sends a data acquisition request to the remote server.
  • the remote server acquires data information according to the data acquisition request and the hash value sent by the local server.
  • the data information obtained by the remote server is the same as the data information obtained by the local server.
  • the remote server sends data information to the charging and listening interface.
  • the remote server sends data information to the service absorbing module.
  • the service absorbing module terminates sending the data information.
  • the local server may perform S507 and S508 each time the data information is acquired.
  • the local server may periodically execute S507 and S508 in the process of transmitting data information.
  • the execution timings of S507 and S508 are not specifically limited in the embodiment of the present invention.
  • FIG. 6 is a schematic structural diagram of a base station according to an embodiment of the present invention.
  • the base station may include a receiving module 11, a processing module 12, and a sending module 13, where
  • the receiving module 11 is configured to receive a data acquisition request sent by the terminal device.
  • the processing module 12 is configured to determine a local server and a remote server corresponding to the data acquisition request, where a distance between the local server and the base station is less than a first preset distance, the remote server and the remote server The distance between the base stations is greater than the second preset distance.
  • the sending module 13 is configured to send a data acquisition request to the local server to obtain data information corresponding to the data acquisition request.
  • the sending module 13 is configured to send the data information to the terminal device.
  • the processing module 12 is further configured to request the remote server to download the data information, so that the remote server sends the data information to a charging and listening interface in the core network, so that the charging and the The listening interface charges and monitors the data information.
  • the base station provided by the embodiment of the present invention may perform the technical solution shown in the foregoing method embodiment, and the implementation principle and the beneficial effects are similar, and details are not described herein again.
  • the data acquisition request includes an identifier of a server to be accessed; the processing module 12 is specifically configured to:
  • the data acquisition request includes a uniform resource locator URL address corresponding to the data to be requested, and the processing module 12 is specifically configured to:
  • processing module 12 is further configured to:
  • the processing module 12 Before the processing module 12 requests the local server to obtain the data information corresponding to the data acquisition request, acquiring a whitelist list set in the base station, where the whitelist list includes at least one identifier of the server, and determining The whitelist includes an identifier of the server, and an identifier of the server in the whitelist is an identifier of a server that allows access to a local server corresponding to the server.
  • the processing module 12 is further configured to perform protocol conversion on the data acquisition request by using a data offload function of the base station, so that the local server can identify the protocol-converted Data acquisition request.
  • the sending module 13 is specifically configured to send the data conversion request after the protocol conversion to the local server.
  • the receiving module 11 is further configured to receive the data information sent by the local server.
  • the sending module 13 is further configured to send the data acquisition request to a data offloading server corresponding to the base station, so that the data offloading server performs a protocol on the data obtaining request. Converting, and sending the protocol-converted data acquisition request to the local server, the local server may identify the protocol-converted data acquisition request.
  • the receiving module 11 is further configured to receive the data information sent by the data offloading server, where the data information is sent by the local server to the data offloading server.
  • the base station provided by the embodiment of the present invention may perform the technical solution shown in the foregoing method embodiment, and the implementation principle and the beneficial effects are similar, and details are not described herein again.
  • FIG. 7 is a schematic structural diagram of a server according to an embodiment of the present invention.
  • the server includes a receiving module 21, a processing module 22, and a sending module 23, where
  • the receiving module 21 is configured to receive a data download instruction sent by the base station.
  • the processing module 22 is configured to acquire data information requested by the base station.
  • the sending module 23 is configured to send the data information to the service absorbing unit by using a preset interface, so that the service absorbing unit terminates sending the data information, where the preset interface is used to calculate the data information. Fees and monitoring.
  • the server provided by the embodiment of the present invention can perform the technical solutions shown in the foregoing method embodiments, and the implementation principles and the beneficial effects are similar, and details are not described herein.
  • the receiving module is further configured to receive a data synchronization instruction sent by a local server.
  • the processing module is specifically configured to acquire the data information according to the data synchronization instruction.
  • the data synchronization instruction includes a hash value corresponding to the data information; correspondingly, the processing module is specifically configured to:
  • a hash value is obtained in the data synchronization instruction.
  • the server provided by the embodiment of the present invention can perform the technical solutions shown in the foregoing method embodiments, and the implementation principles and the beneficial effects are similar, and details are not described herein.
  • FIG. 8 is a schematic structural diagram of hardware of a base station according to an embodiment of the present invention. Please refer to Figure 8, including Receiver 31, processor 32, transmitter 33, memory 34 and memory bus 35 for storing programs, communication bus 35 for implementing communication connections between components, and processor 32 for reading programs in memory 34 And perform the appropriate action, where
  • the receiver 31 is configured to receive a data acquisition request sent by the terminal device.
  • the processor 32 is configured to determine a local server and a remote server corresponding to the data acquisition request, where a distance between the local server and the base station is less than a first preset distance, the remote server and the remote server The distance between the base stations is greater than the second preset distance.
  • the sender 33 is configured to send a data acquisition request to the local server to obtain data information corresponding to the data acquisition request.
  • the transmitter 33 is further configured to send the data information to the terminal device.
  • the processor 32 is further configured to request the remote server to download the data information, so that the remote server sends the data information to a charging and listening interface in the core network, so that the charging and the charging The listening interface charges and monitors the data information.
  • the base station provided by the embodiment of the present invention may perform the technical solution shown in the foregoing method embodiment, and the implementation principle and the beneficial effects are similar, and details are not described herein again.
  • the data acquisition request includes an identifier of a server to be accessed; the processor 32 is specifically configured to:
  • the data acquisition request includes a uniform resource locator URL address corresponding to the data to be requested, and the processor 32 is specifically configured to:
  • the URL address is parsed to obtain an identifier of the server to be accessed.
  • the processor 32 is further configured to:
  • the whitelist includes an identifier of the server, and an identifier of the server in the whitelist is an identifier of a server that allows access to a local server corresponding to the server.
  • the processor 32 is further configured to perform protocol conversion on the data acquisition request by using a data offload function of the base station, so that the local server is identifiable A data acquisition request after protocol conversion.
  • the transmitter 33 is specifically configured to send the data conversion request after the protocol conversion to the local server;
  • the receiver 31 is further configured to receive the data information sent by the local server.
  • the sender 33 is further configured to send the data acquisition request to a data offloading server corresponding to the base station, so that the data offloading server performs protocol on the data obtaining request. Converting, and sending the protocol-converted data acquisition request to the local server, the local server may identify the protocol-converted data acquisition request.
  • the receiver 31 is further configured to receive the data information sent by the data offloading server, where the data information is sent by the local server to the data offloading server.
  • the base station provided by the embodiment of the present invention may perform the technical solution shown in the foregoing method embodiment, and the implementation principle and the beneficial effects are similar, and details are not described herein again.
  • FIG. 9 is a schematic structural diagram of hardware of a server provided by the present invention.
  • a receiver 41 there is a receiver 41, a processor 42, a transmitter 43, a memory 44 for storing programs, a communication bus 45 for implementing communication connections between components, and a processor 42 for reading. Taking the program in the memory 44 and performing corresponding operations, wherein
  • the receiver 41 is configured to receive a data download instruction sent by the base station.
  • the processor 42 is configured to acquire data information requested by the base station.
  • the transmitter 43 is configured to send the data information to the service absorbing unit by using a preset interface, so that the service absorbing unit terminates sending the data information, where the preset interface is used to calculate the data information. Fees and monitoring.
  • the server provided by the embodiment of the present invention can perform the technical solutions shown in the foregoing method embodiments, and the implementation principles and the beneficial effects are similar, and details are not described herein.
  • the receiver 41 is configured to receive a data synchronization instruction sent by a local server.
  • the processor 42 is specifically configured to acquire the data information according to the data synchronization instruction.
  • the data synchronization instruction includes a hash value corresponding to the data information; correspondingly, the processor 42 is specifically configured to:
  • a hash value is obtained in the data synchronization instruction.
  • the server provided by the embodiment of the present invention can perform the technical solutions shown in the foregoing method embodiments, and the implementation principles and the beneficial effects are similar, and details are not described herein.
  • the foregoing program may be stored in a computer readable storage medium, and the program is executed when executed.
  • the foregoing steps include the steps of the foregoing method embodiments; and the foregoing storage medium includes: a medium that can store program codes, such as a ROM, a RAM, a magnetic disk, or an optical disk.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

本发明实施例提供一种数据传输方法及设备,该方法包括:接收终端设备发送的数据获取请求;确定数据获取请求对应的本地服务器和远端服务器;向本地服务器请求获取数据获取请求对应的数据信息,并向终端设备发送数据信息;向远端服务器请求下载数据信息,以使远端服务器向核心网中的计费与监听接口发送数据信息,以使计费与监听接口对数据信息进行计费及监听。用于降低终端设备从数据服务器获取数据的时延。

Description

数据传输方法及设备 技术领域
本发明涉及通信技术领域,尤其涉及一种数据传输方法及设备。
背景技术
数据服务器用于向终端设备提供数据服务器。目前,数据服务器通常部署在核心网中,且数据服务器和基站的距离较远。
在现有技术中,当终端设备需要从数据服务器中获取数据时,终端设备先与基站建立连接,并通过基站向数据服务器请求数据。在数据服务器接收到终端设备通过基站发送的数据请求时,数据服务器先将数据发送给基站,再由基站将数据发送给终端设备。由于数据服务器和基站的距离通常较远,在数据服务器向基站发送数据的过程中,通常需要经过多个交换接口才能将数据发送至基站,且数据服务器和基站之间的传输通道带宽受限,使得数据服务器给终端设备下发数据缓慢,使得数据服务器向基站发送数据的时延较大,进而导致终端设备从数据服务器获取数据的时延较大。
发明内容
本发明实施例提供一种数据传输方法及设备,用于降低终端设备从数据服务器获取数据的时延。
第一方面,本发明实施例提供一种数据传输方法,该方法的执行主体为基站,在基站接收到终端设备发送的数据获取请求之后,基站确定该数据获取请求对应的本地服务器和远端服务器,其中,本地服务器与基站之间的距离小于第一预设距离,远端服务器与基站之间的距离大于第二预设距离。基站向本地服务器请求获取数据获取请求对应的数据信息,并向终端设备发送在本地服务器获取得到的数据信息。同时,基站还向远端服务器请求下载数据信息,以使远端服务器向核心网中的计费与监听接口发送数据信息,以使计费与监听接口对数据信息进行计费及监听。
在上述过程中,基站接收到的终端设备的数据获取请求之后,基站同时 向本地服务器和远端服务器发送数据获取请求,以使本地服务器和远端服务器可以同步下发相同的数据信息。远端服务器在先发数据信息时,远端服务器下发的数据信息会经过核心网以使核心网中的计费与监听接口还可以对数据信息进行正常的计费监听。由于本地服务器和基站的距离较近,使得基站可以快速获取本地服务器下发的数据信息,提高了本地服务器向基站发送数据信息的效率,进而提高终端设备获取数据信息的效率。
在一种可能的实施方式中,当数据获取请求中包括的内容不同时,基站确定数据获取请求对应的本地服务器和远端服务器的方式也不同。可选的,可以包括以下两种可行的实现方式:
一种可行的实现方式:数据获取请求中包括待访问服务器的标识。
相应的,基站可以根据待访问服务器的标识,确定本地服务器和远端服务器。在该种可行的实现方式中,基站可以根据数据获取请求快速获取待访问服务器的标识,以使基站可以快速确定本地服务器和远端服务器。
另一种可行的实现方式,数据获取请求中包括待请求数据对应的统一资源定位符URL地址;相应的,基站可以对URL地址进行解析,获取待访问服务器的标识,并根据待访问服务器的标识,确定本地服务器和远端服务器。
在另一种可能的实施方式中,在向本地服务器请求获取数据获取请求对应的数据信息之前,基站还可以获取基站中设置的白名单列表,白名单列表中包括至少一个服务器的标识,并确定白名单列表中包括服务器的标识,白名单列表中的服务器的标识为允许对服务器对应的本地服务器进行访问的服务器的标识。这样,可以保证基站对数据获取请求处理的安全性。
在另一种可能的实施方式中,可选的,基站可以通过如下两种可行的实现方式向本地服务器请求获取数据获取请求对应的数据信息:
一种可行的实现方式:基站具备数据分流功能。
在该种可行的实现方式中,通过基站的数据分流功能对数据获取请求进行协议转换,以使本地服务器可识别进行协议转换后的数据获取请求,向本地服务器发送协议转换后的数据获取请求,接收本地服务器发送的数据信。
另一种可行的实现方式:基站与数据分流服务器独立设置。
在该种可行的实现方式中,向基站对应的数据分流服务器发送数据获取请求,以使数据分流服务器对数据获取请求进行协议转换,并向本地服务器 发送协议转换后的数据获取请求,本地服务器可识别协议转换后的数据获取请求,接收数据分流服务器发送的数据信息,数据信息为本地服务器向数据分流服务器发送的。在上述过程中,基站和LBO服务器为两个独立的设备,这样,便于对LBO服务器的部署。
第二方面,本发明实施例提供一种数据传输方法,该方法的执行主体为远端服务器,在远端服务器接收到基站发送的数据下载指令之后,获取基站请求的数据信息,并通过预设接口向业务吸收单元发送数据信息,以使业务吸收单元终止发送数据信息,预设接口用于对数据信息进行计费及监听。
在上述过程中,基站接收到的终端设备的数据获取请求之后,基站同时向本地服务器和远端服务器发送数据获取请求,以使本地服务器和远端服务器可以同步下发相同的数据信息。远端服务器在先发数据信息时,远端服务器下发的数据信息会经过核心网以使核心网中的计费与监听接口还可以对数据信息进行正常的计费监听。由于本地服务器和基站的距离较近,使得基站可以快速获取本地服务器下发的数据信息,提高了本地服务器向基站发送数据信息的效率,进而提高终端设备获取数据信息的效率。
在一种可能的实施方式中,远端服务器可以通过如下可行的实现方式获取基站请求的数据信息:远端服务器接收本地服务器发送的数据同步指令,并根据数据同步指令,获取数据信息。
在另一种可能的实施方式中,数据同步指令包括数据信息对应的哈希值;相应的,基站可以在数据同步指令中获取哈希值,并获取哈希值对应的数据信息。
第三方面,本发明实施例提供一种基站,包括接收模块、处理模块和发送模块,其中,
所述接收模块用于,接收终端设备发送的数据获取请求。
所述处理模块用于,确定所述数据获取请求对应的本地服务器和远端服务器,所述本地服务器与所述基站之间的距离小于第一预设距离,所述远端服务器与所述基站之间的距离大于第二预设距离。
所述发送模块用于,向所述本地服务器发送数据获取请求,以获取所述数据获取请求对应的数据信息。
所述发送模块用于,向所述终端设备发送所述数据信息。
所述处理模块还用于,向所述远端服务器请求下载所述数据信息,以使远端服务器向核心网中的计费与监听接口发送所述数据信息,以使所述计费与监听接口对所述数据信息进行计费及监听。
在一种可能的实施方式中,所述数据获取请求中包括待访问服务器的标识;所述处理模块具体用于:
根据所述待访问服务器的标识,确定所述本地服务器和所述远端服务器。
在另一种可能的实施方式中,所述数据获取请求中包括待请求数据对应的统一资源定位符URL地址;所述处理模块具体用于:
对所述URL地址进行解析,获取待访问服务器的标识。
根据所述待访问服务器的标识,确定所述本地服务器和所述远端服务器。
在另一种可能的实施方式中,所述处理模块还用于:
在所述处理模块向所述本地服务器请求获取所述数据获取请求对应的数据信息之前,获取所述基站中设置的白名单列表,所述白名单列表中包括至少一个服务器的标识,并确定所述白名单列表中包括所述服务器的标识,所述白名单列表中的服务器的标识为允许对所述服务器对应的本地服务器进行访问的服务器的标识。
在另一种可能的实施方式中,所述处理模块还用于,通过所述基站的数据分流功能对所述数据获取请求进行协议转换,以使所述本地服务器可识别进行协议转换后的数据获取请求。
所述发送模块具体用于,向所述本地服务器发送所述协议转换后的数据获取请求。
所述接收模块还用于,接收所述本地服务器发送的所述数据信息。
在另一种可能的实施方式中,所述发送模块还用于,向所述基站对应的数据分流服务器发送所述数据获取请求,以使所述数据分流服务器对所述数据获取请求进行协议转换,并向所述本地服务器发送所述协议转换后的数据获取请求,所述本地服务器可识别所述协议转换后的数据获取请求。
所述接收模块还用于,接收所述数据分流服务器发送的所述数据信息,所述数据信息为所述本地服务器向所述数据分流服务器发送的。
本发明实施例所示的基站可以执行第一方面任一项所述的方法,其实现原理以及有益效果类似,此处不再进行赘述。
第四方面,本发明实施例提供一种服务器,包括接收模块、处理模块和发送模块,其中,
所述接收模块用于,接收基站发送的数据下载指令。
所述处理模块用于,获取所述基站请求的数据信息。
所述发送模块用于,通过预设接口向业务吸收单元发送所述数据信息,以使所述业务吸收单元终止发送所述数据信息,所述预设接口用于对所述数据信息进行计费及监听。
在一种可能的实施方式中,所述接收模块还用于,接收本地服务器发送的数据同步指令;
所述处理模块具体用于,根据所述数据同步指令,获取所述数据信息。
在另一种可能的实施方式中,所述数据同步指令包括所述数据信息对应的哈希值;相应的,所述处理模块具体用于:
在所述数据同步指令中获取哈希值,获取所述哈希值对应的所述数据信息。
本发明实施例所示的远端服务器可以执行第二方面任一项所述的方法,其实现原理以及有益效果类似,此处不再进行赘述。
第五方面,本发明实施例提供一种基站,包括接收器、处理器、发送器及存储器,所述存储器用于存储执行指令,所述处理器用于调用所述存储器中的执行指令,并执行相应的操作,其中,
所述接收器用于,接收终端设备发送的数据获取请求。
所述处理器用于,确定所述数据获取请求对应的本地服务器和远端服务器,所述本地服务器与所述基站之间的距离小于第一预设距离,所述远端服务器与所述基站之间的距离大于第二预设距离。
所述发送器用于,向所述本地服务器发送数据获取请求,以获取所述数据获取请求对应的数据信息。
所述发送器还用于,向所述终端设备发送所述数据信息。
所述处理器还用于,向所述远端服务器请求下载所述数据信息,以使远端服务器向核心网中的计费与监听接口发送所述数据信息,以使所述计费与监听接口对所述数据信息进行计费及监听。
在一种可能的实施方式中,所述数据获取请求中包括待访问服务器的标 识;所述处理器具体用于:
根据所述待访问服务器的标识,确定所述本地服务器和所述远端服务器。
在另一种可能的实施方式中,所述数据获取请求中包括待请求数据对应的统一资源定位符URL地址;所述处理器具体用于:
对所述URL地址进行解析,获取待访问服务器的标识。
根据所述待访问服务器的标识,确定所述本地服务器和所述远端服务器。
在另一种可能的实施方式中,所述处理器还用于:
在所述处理器向所述本地服务器请求获取所述数据获取请求对应的数据信息之前,获取所述基站中设置的白名单列表,所述白名单列表中包括至少一个服务器的标识,并确定所述白名单列表中包括所述服务器的标识,所述白名单列表中的服务器的标识为允许对所述服务器对应的本地服务器进行访问的服务器的标识。
在另一种可能的实施方式中,所述处理器还用于,通过所述基站的数据分流功能对所述数据获取请求进行协议转换,以使所述本地服务器可识别进行协议转换后的数据获取请求。
所述发送器具体用于,向所述本地服务器发送所述协议转换后的数据获取请求。
所述接收器还用于,接收所述本地服务器发送的所述数据信息。
在另一种可能的实施方式中,所述发送器还用于,向所述基站对应的数据分流服务器发送所述数据获取请求,以使所述数据分流服务器对所述数据获取请求进行协议转换,并向所述本地服务器发送所述协议转换后的数据获取请求,所述本地服务器可识别所述协议转换后的数据获取请求。
所述接收器还用于,接收所述数据分流服务器发送的所述数据信息,所述数据信息为所述本地服务器向所述数据分流服务器发送的。
第六方面,本发明实施例提供一种服务器,包括接收器、处理器、发送器及存储器,所述存储器用于存储执行指令,所述处理器用于调用所述存储器中的执行指令,并执行相应的操作,,其中,
所述接收器用于,接收基站发送的数据下载指令。
所述处理器用于,获取所述基站请求的数据信息。
所述发送器用于,通过预设接口向业务吸收单元发送所述数据信息,以 使所述业务吸收单元终止发送所述数据信息,所述预设接口用于对所述数据信息进行计费及监听。
在一种可能的实施方式中,所述接收器用于,接收本地服务器发送的数据同步指令。
所述处理器具体用于,根据所述数据同步指令,获取所述数据信息。
在另一种可能的实施方式中,所述数据同步指令包括所述数据信息对应的哈希值;相应的,所述处理器具体用于:
在所述数据同步指令中获取哈希值。
获取所述哈希值对应的所述数据信息。
本发明实施例提供的数据传输方法及设备,在基站侧设置有本地服务器,在远端服务器侧设置有计费与监听接口和业务吸收模块,本地服务器和远端服务器可以向终端设备提供相同的服务。在基站收到终端设备的数据获取请求之后,基站同时向本地服务器和远端服务器发送该数据请求,以使本地服务器和远端服务器可以同步下发相同的数据信息。本地服务器下发的数据信息可以快速发送给基站,并由基站发送给终端设备;计费与监听接口可以对远端服务器下发的数据信息进行计费及监听,并由业务吸收模块终止对该数据信息进行继续下发,进而避免终端设备接收到相同的数据信息。在上述过程中,由于本地服务器和远端服务器可以同步下发相同的数据信息,使得远端服务器侧的计费与监听接口还可以对终端设备接收的数据信息进行正常的计费监听,同时,由于本地服务器和基站的距离较近,提高了本地服务器向基站发送数据信息的效率,进而提高终端设备获取数据信息的效率。
附图说明
图1为本发明提供的数据传输方法的应用场景示意图;
图2为本发明提供的数据传输方法的流程示意图一;
图3为本发明实施例提供的对数据获取请求进行协议转换方法的流程图一;
图3A为本发明实施例提供的协议格式对应关系图;
图4为本发明实施例提供的对数据获取请求进行协议转换方法的流程图二;
图5为本发明提供的数据传输方法的流程示意图二;
图6为本发明实施例提供的基站的结构示意图;
图7为本发明实施例提供的服务器的结构示意图;
图8为本发明实施例提供的基站的硬件结构示意图;
图9为本发明提供的服务器的硬件结构示意图。
具体实施方式
图1为本发明提供的数据传输方法的应用场景示意图。请参见图1,包括终端设备101、基站102、本地服务器103、远端服务器104、计费与监听接口105、业务吸收模块106、以及服务网关(Serving Gate Way,简称SGW)和PGW(PDN Gate Way,PDN网关)107。终端设备101可以为手机、电脑等通信设备。本地服务器103和远端服务器104可以向终端设备101提供相同的服务,其中,远端服务器104与基站102的距离通常较远,本地服务器103与基站102的距离通常较近。
在本申请中,当基站102接收到终端设备101发送的数据获取请求之后,基站102同时向本地服务器103和远端服务器104请求数据。其中,基站102具有本地数据分流(Local Break Out,简称LBO)功能,或者,在基站102附近设置LBO服务器,以使基站102可以通过自带的LBO功能或者LBO服务器向本地服务器103请求数据。基站102在向远端服务器104请求数据时,基站102向远端服务器104发送的消息需要经过核心网。
在本地服务器103和远端服务器104接收到基站102发送的数据请求之后,本地服务器103和远端服务器同步进行数据下发。本地服务器103下发的数据经过基站102的LBO功能或者LBO服务器发送至基站102,基站102将本地服务器103下发的数据发送至终端设备101。远端服务器104下发的数据经过SGW/PGW107,以使SGW/PGW107对数据进行正确的转发,下发的数据再经过核心网的计费与监听接口105,以使计费与监听接口105可以对终端设备101请求的数据进行计费以及监听,下发的数据经过计费与监听接口105之后流向业务吸收模块106,业务吸收模块106终止下发数据,以避免远端服务器104下发的数据发送至终端设备101,进而避免终端设备101接收到重复的数据。
在本申请中,由于本地服务器103与基站102的距离较近,以使在终端设备101通过基站请求数据时,本地服务器103可以快速向基站102发送请求的数据,以使基站102可以快速向终端设备反馈请求的数据,进而降低终端设备101请求数据的时延。同时,由于远端服务器104可以和本地服务器103同步下发数据,以使计费与监听接口可以对终端设备101接收到的数据进行计费及监听。
下面,通过具体实施例对本申请所示的技术方案进行详细说明。需要说明的是,下面这几个具体的实施例可以相互结合,对于相同或相似的概念或过程可能在某些实施例中不再赘述。
图2为本发明提供的数据传输方法的流程示意图一。请参见图2,该方法可以包括:
S201、终端设备向基站发送数据获取请求。
本发明所示的技术方案适用于终端设备向数据服务器获取任意数据的过程,尤其适用于终端设备向数据服务器获取数据量较大的数据的过程,例如,终端设备向视频服务器获取视频数据的过程等。
当用户需要在终端设备中进行数据查看时,用户可以在终端设备中输入预设指令,以使终端设备向基站发送数据获取请求。例如,当用户需要在终端设备中观看视频时,用户可以对需要观看的视频对应的“观看”按钮进行点击操作,以使终端设备向基站发送用于请求视频数据的数据获取请求。
S202、基站根据数据获取请求,确定数据获取请求对应的本地服务器和远端服务器。
可选的,基站可以根据如下两种可行的实现方式确定数据获取请求对应的本地服务器和远端服务器:
一种可行的实现方式:
数据获取请求中包括待访问服务器的标识;相应的,基站可以根据待访问服务器的标识,确定本地服务器和远端服务器。
另一种可行的实现方式:
数据获取请求中可以包括待请求数据对应的URL地址;相应的,基站可以对URL地址进行解析,获取待访问服务器的标识,并根据待访问服务器的标识,确定本地服务器和远端服务器。例如,假设URL地址为: http://abc.com/index.html,则基站可以在该URL地址中获取待访问服务器的表示为abc。
可选的,基站在确定得到的待访问服务器的标识之后,基站可以根据待访问服务器的标识,确定本地服务器的地址和远端服务器的地址,并根据本地服务器的地址,与本地服务器通信,根据远端服务器的地址,与远端服务器通信。
可选的,在执行S202之前,基站可以先获取预先设置的白名单列表,并判断白名单列表中是否包括待访问服务器的标识,若是,则执行S202-S212;若否,则根据现有技术中的执行过程对终端设备发送的数据获取请求进行处理。其中,白名单列表中包括至少一个服务器的标识,白名单列表中的服务器的标识为允许对服务器对应的本地服务器进行访问的服务器的标识。
需要说明的是,在S202之后,基站同时向本地服务器和远端服务器发送数据获取请求,因此,S203和S207同时执行。
S203、基站向本地服务器发送数据获取请求。
基站获取本地服务器的地址,并根据本地服务器的地址,向本地服务器发送数据获取请求。
基站向本地服务器发送数据获取请求时,不经过运营商的核心网络,为了保证基站可以成功的向本地服务器发送数据获取请求,可以在基站中集成LBO功能,或者在基站附近设置具有LBO功能的LBO服务器,以使基站可以通过LBO服务器向本地服务器发送数据获取请求。
S204、本地服务器根据数据获取请求,获取数据信息。
在本地服务器接收到数据获取请求之后,本地服务器根据数据获取请求获取数据信息。可选的,数据获取请求中可以包括请求数据的标识,以使本地服务器可以根据请求数据的标识获取数据信息。可选的,数据获取请求中可以包括用于指示请求数据的URL地址,以使本地服务器可以根据URL地址获取数据信息。
例如,假设终端设备需要请求视频数据,则终端设备发送的数据获取请求中可以包括该视频数据的URL地址,以使本地服务器可以根据视频数据的URL地址,获取视频数据。
可选的,为了保证远端服务器和本地服务器可以同步下发相同的数据信 息,在本地服务器获取数据信息之后,可以根据安全哈希算法(Secure Hash Algorithm,简称SHA),生成哈希值,并向远端服务器发送生成的哈希值,以使远端服务器可以根据该哈希值获取相同的数据信息。
S205、本地服务器向基站发送数据信息。
在本地服务器获取得到数据信息之后,由于本地服务器向基站发送数据信息时不经过运营商的核心网,为了保证本地服务器可以将数据信息发送至基站,本地服务器可以先向LBO服务器发送数据信息,再由LBO服务器向基站发送该数据信息。或者,可以在基站中集成LBO功能,以使基站可以通过LBO功能成功的接收本地服务器发送的数据信息。
S206、基站向终端设备发送数据信息。
S207、基站向远端服务器发送数据获取请求。
需要说明的是,S203和S207同时执行。
基站获取远端服务器的地址,并根据远端服务器的地址,向远端服务器发送数据获取请求。
S208、远端服务器根据数据获取请求,获取数据信息。
可选的,在远端服务器接收到数据请求之后,可以直接根据数据获取请求获取数据信息。
可选的,为了保证远端服务器和本地服务器可以同步下发相同的数据信息,远端服务器可以接收本地服务器发送的、本地服务器获取的数据信息对应的哈希值,远端服务器根据哈希值,获取与本地服务器获取的数据信息相同的数据信息。
需要说明的是,在S208之后,远端服务器同时向计费与监听接口和业务吸收模块发送数据信息,即,S209与S210同时执行。
S209、远端服务器向计费与监听接口发送数据信息。
计费与监听接口通常为运营商在核心网部署的接口,一个运营商在一个区域通常只部署一个计费与监听接口。由于本地服务器和远端服务器同步发送相同的数据信息,因此,计费与监听接口相当于可以对发送至终端设备的数据信息进行计费及监听。
S210、远端服务器向业务吸收模块发送数据信息。
可选的,一个远端服务器可以对应一个业务吸收模块,远端服务器可以 向其对应的业务吸收模块发送数据信息。
S211、业务吸收模块终止发送数据信息。
可选的,业务吸收模块可以部署在核心网的通用服务器中,业务吸收模块用于终止发送计费与监听接口发送的数据信息,这样,可以避免终端设备接收到远端服务器发送的数据信息,以避免终端设备接收到重复的数据信息。
本发明实施例提供的数据传输方法,在基站侧设置有本地服务器,在远端服务器侧设置有计费与监听接口和业务吸收模块,本地服务器和远端服务器可以向终端设备提供相同的服务。在基站收到终端设备的数据获取请求之后,基站同时向本地服务器和远端服务器发送该数据请求,以使本地服务器和远端服务器可以同步下发相同的数据信息。本地服务器下发的数据信息可以快速发送给基站,并由基站发送给终端设备;计费与监听接口可以对远端服务器下发的数据信息进行计费及监听,并由业务吸收模块终止对该数据信息进行继续下发,进而避免终端设备接收到相同的数据信息。在上述过程中,由于本地服务器和远端服务器可以同步下发相同的数据信息,使得远端服务器侧的计费与监听接口还可以对终端设备接收的数据信息进行正常的计费监听,同时,由于本地服务器和基站的距离较近,提高了本地服务器向基站发送数据信息的效率,进而提高终端设备获取数据信息的效率。
在图2所示实施例的基础上,基站可以自带数据分流功能,以使基站可以对数据获取请求进行协议转换。当然,也可以在基站附近设置具有数据分流功能的LBO服务器,以使LBO服务器可以对数据获取请求进行协议转换。下面,通过图3-图4所示的实施例,对上述两种可行的实现方式进行详细说明。
图3为本发明实施例提供的对数据获取请求进行协议转换方法的流程图一。请参见图3,该方法可以包括:
S301、通过基站的数据分流功能对数据获取请求进行协议转换,以使本地服务器可识别进行协议转换后的数据获取请求。
在图3所示的实施例中,在基站中设置有数据分流功能,以使基站可以对数据获取请求进行协议转换,将数据获取请求转换为本地服务器可识别的形式。
数据获取请求的初始格式如表1所示,该数据获取请求为基于GPRS隧 道协议(GPRS Tuneling protocol,简称GTP-U)协议的物理层信令。
表1
Application
GTP-U
UDP
IP
MAC
PHY
基站根据数据分流功能,对表1所示的信令进行协议转换,协议转换后的数据获取请求的格式如表2所示,协议转换后的数据获取请求为基于IP协议的物理层信令。
表2
IP
MAC
PHY
其中,表1和表2所示的格式的对应关系如图3A所示。图3A为本发明实施例提供的协议格式对应关系图。请参见图3A。转换前协议的GTP-U字段对应转换后协议的IP字段,转换前协议的UDP字段、IP字段、及MAC字段对应转换后协议的MAC字段。
S302、向本地服务器发送协议转换后的数据获取请求。
基站对数据获取请求进行协议转换之后,向本地服务器发送协议转换后的数据获取请求。
本地服务器接收到协议转换后的数据获取请求之后,本地服务器对数据获取请求进行解析,并获取数据获取请求对应的数据信息,并向基站发送数据信息。
S303、接收本地服务器发送的数据信息。
在本地服务器向基站发送数据信息时,本地服务器发送的数据信息的格式如表2所示,在基站接收到表2所示格式的数据信息时,基站根据LBO功 能对数据信息进行协议转换,以将数据信息转换为表1所示的格式。
在图3所示的实施例中,基站通过LBO功能对数据获取请求的进行协议转换,使得基站可以成功向本地服务器发送数据获取请求,且本地服务器可以识别协议转换后的数据获取请求。
图4为本发明实施例提供的对数据获取请求进行协议转换方法的流程图二。请参见图4,该方法可以包括:
S401、向基站对应的数据分流服务器发送数据获取请求,以使数据分流服务器对数据获取请求进行协议转换,并向本地服务器发送协议转换后的数据获取请求,本地服务器可识别协议转换后的数据获取请求。
在图4所示的实施例中,数据分流服务器(LBO服务器)设置在基站附近,当基站需要向本地服务器发送数据获取请求时,基站先向LBO服务器发送数据获取请求。
LBO服务器对接收到的数据获取请求进行协议转换,其中,LBO服务器对数据获取请求进行协议转换的过程可以参见图3所示实施例,此处不再进行赘述。
在LBO服务器对数据获取请求进行协议转换之后,LBO服务器向本地服务器发送协议转换后的数据获取请求。
S402、接收数据分流服务器发送的数据信息,数据信息为本地服务器向数据分流服务器发送的。
在本地服务器根据协议转换后的数据获取请求获取得到数据信息之后,本地服务器将数据信息发送给LBO服务器。其中,本地服务器向LBO服务器发送的数据信息的格式如表2所示,LBO服务器对本地服务器发送的数据信息进行协议转换,协议转换后的数据信息的格式如表1所示,LBO服务器向基站发送协议转换后的数据信息。
在图4所示的实施例中,基站和LBO服务器为两个独立的设备,这样,便于对LBO服务器的部署。
在上述实施例的基础上,下面,以LBO服务器对数据获取请求进行协议转换的过程为例,通过具体示例,对上述实施例所示的技术方案进行详细说明。
图5为本发明提供的数据传输方法的流程示意图二。请参见图5,该方 法可以包括:
S501、终端设备向基站发送包括URL地址的数据获取请求。
S502、基站对URL地址进行解析,获取待访问服务器的标识,并根据待访问服务器的标识确定本地服务器和远端服务器。
S503、基站向LBO服务器发送数据获取请求。
S504、LBO服务器对数据获取请求进行协议转换。
S505、LBO服务器向本地服务器发送协议转换后的数据获取请求。
S506、本地服务器根据协议转换后的数据获取请求,获取数据信息。
S507、本地服务器生成数据信息对应的哈希值。
S508、本地服务器向远端服务器发送该哈希值。
S509、本地服务器向LBO服务器发送数据信息。
需要说明的是,S507和S509可以顺序执行,也可以同时执行,本发明实施例对S507和S509的执行顺序不作具体限定。
S510、LBO服务器对数据信息进行协议转换。
S511、LBO服务器向基站发送协议转换后的数据信息。
S512、基站向终端设备发送协议转换后的数据信息。
S513、基站向远端服务器发送数据获取请求。
需要说明的是,S503和S513同时执行。
S514、远端服务器根据数据获取请求、及本地服务器发送的哈希值,获取数据信息。
远端服务器获取到的数据信息与本地服务器获取到的数据信息相同。
S515、远端服务器向计费与监听接口发送数据信息。
S516、远端服务器向业务吸收模块发送数据信息。
需要说明的是,S515和S516同时执行。
S517、业务吸收模块终止发送数据信息。
需要说明的是,图5实施例中的部分步骤的执行过程可以参见图2所示的实施例,此处不再进行赘述。
可选的,本地服务器在每一次获取数据信息时,可以执行S507和S508。当然,本地服务器在发送数据信息的过程中,也可以周期性的执行S507和S508。本发明实施例对S507和S508的执行时刻不作具体限定。
图6为本发明实施例提供的基站的结构示意图。请参见图6,该基站可以包括接收模块11、处理模块12和发送模块13,其中,
所述接收模块11用于,接收终端设备发送的数据获取请求。
所述处理模块12用于,确定所述数据获取请求对应的本地服务器和远端服务器,所述本地服务器与所述基站之间的距离小于第一预设距离,所述远端服务器与所述基站之间的距离大于第二预设距离。
所述发送模块13用于,向所述本地服务器发送数据获取请求,以获取所述数据获取请求对应的数据信息。
所述发送模块13用于,向所述终端设备发送所述数据信息。
所述处理模块12还用于,向所述远端服务器请求下载所述数据信息,以使远端服务器向核心网中的计费与监听接口发送所述数据信息,以使所述计费与监听接口对所述数据信息进行计费及监听。
本发明实施例提供的基站可以执行上述方法实施例所示的技术方案,其实现原理以及有益效果类似,此处不再进行赘述。
在一种可能的实施方式中,所述数据获取请求中包括待访问服务器的标识;所述处理模块12具体用于:
根据所述待访问服务器的标识,确定所述本地服务器和所述远端服务器。
在另一种可能的实施方式中,所述数据获取请求中包括待请求数据对应的统一资源定位符URL地址;所述处理模块12具体用于:
对所述URL地址进行解析,获取待访问服务器的标识;
根据所述待访问服务器的标识,确定所述本地服务器和所述远端服务器。
在另一种可能的实施方式中,所述处理模块12还用于:
在所述处理模块12向所述本地服务器请求获取所述数据获取请求对应的数据信息之前,获取所述基站中设置的白名单列表,所述白名单列表中包括至少一个服务器的标识,并确定所述白名单列表中包括所述服务器的标识,所述白名单列表中的服务器的标识为允许对所述服务器对应的本地服务器进行访问的服务器的标识。
在另一种可能的实施方式中,所述处理模块12还用于,通过所述基站的数据分流功能对所述数据获取请求进行协议转换,以使所述本地服务器可识别进行协议转换后的数据获取请求。
所述发送模块13具体用于,向所述本地服务器发送所述协议转换后的数据获取请求。
所述接收模块11还用于,接收所述本地服务器发送的所述数据信息。
在另一种可能的实施方式中,所述发送模块13还用于,向所述基站对应的数据分流服务器发送所述数据获取请求,以使所述数据分流服务器对所述数据获取请求进行协议转换,并向所述本地服务器发送所述协议转换后的数据获取请求,所述本地服务器可识别所述协议转换后的数据获取请求。
所述接收模块11还用于,接收所述数据分流服务器发送的所述数据信息,所述数据信息为所述本地服务器向所述数据分流服务器发送的。
本发明实施例提供的基站可以执行上述方法实施例所示的技术方案,其实现原理以及有益效果类似,此处不再进行赘述。
图7为本发明实施例提供的服务器的结构示意图。请参见图7,该服务器包括接收模块21、处理模块22和发送模块23,其中,
所述接收模块21用于,接收基站发送的数据下载指令。
所述处理模块22用于,获取所述基站请求的数据信息。
所述发送模块23用于,通过预设接口向业务吸收单元发送所述数据信息,以使所述业务吸收单元终止发送所述数据信息,所述预设接口用于对所述数据信息进行计费及监听。
本发明实施例提供的服务器可以执行上述方法实施例所示的技术方案,其实现原理以及有益效果类似,此处不再进行赘述。
在一种可能的实施方式中,所述接收模块还用于,接收本地服务器发送的数据同步指令。
所述处理模块具体用于,根据所述数据同步指令,获取所述数据信息。
在另一种可能的实施方式中,所述数据同步指令包括所述数据信息对应的哈希值;相应的,所述处理模块具体用于:
在所述数据同步指令中获取哈希值。
获取所述哈希值对应的所述数据信息。
本发明实施例提供的服务器可以执行上述方法实施例所示的技术方案,其实现原理以及有益效果类似,此处不再进行赘述。
图8为本发明实施例提供的基站的硬件结构示意图。请参见图8,包括 接收器31、处理器32、发送器33、存储器34及通信总线35,存储器34用于存储程序,通信总线35用于实现元件之间的通信连接,处理器32可以读取存储器34中的程序,并执行相应的操作,其中,
所述接收器31用于,接收终端设备发送的数据获取请求。
所述处理器32用于,确定所述数据获取请求对应的本地服务器和远端服务器,所述本地服务器与所述基站之间的距离小于第一预设距离,所述远端服务器与所述基站之间的距离大于第二预设距离。
所述发送器33用于,向所述本地服务器发送数据获取请求,以获取所述数据获取请求对应的数据信息。
所述发送器33还用于,向所述终端设备发送所述数据信息。
所述处理器32还用于,向所述远端服务器请求下载所述数据信息,以使远端服务器向核心网中的计费与监听接口发送所述数据信息,以使所述计费与监听接口对所述数据信息进行计费及监听。
本发明实施例提供的基站可以执行上述方法实施例所示的技术方案,其实现原理以及有益效果类似,此处不再进行赘述。
在一种可能的实施方式中,所述数据获取请求中包括待访问服务器的标识;所述处理器32具体用于:
根据所述待访问服务器的标识,确定所述本地服务器和所述远端服务器。
在另一种可能的实施方式中,所述数据获取请求中包括待请求数据对应的统一资源定位符URL地址;所述处理器32具体用于:
对所述URL地址进行解析,获取待访问服务器的标识。
根据所述待访问服务器的标识,确定所述本地服务器和所述远端服务器。
在另一种可能的实施方式中,所述处理器32还用于:
在所述处理器32向所述本地服务器请求获取所述数据获取请求对应的数据信息之前,获取所述基站中设置的白名单列表,所述白名单列表中包括至少一个服务器的标识,并确定所述白名单列表中包括所述服务器的标识,所述白名单列表中的服务器的标识为允许对所述服务器对应的本地服务器进行访问的服务器的标识。
在另一种可能的实施方式中,所述处理器32还用于,通过所述基站的数据分流功能对所述数据获取请求进行协议转换,以使所述本地服务器可识别 进行协议转换后的数据获取请求。
所述发送器33具体用于,向所述本地服务器发送所述协议转换后的数据获取请求;
所述接收器31还用于,接收所述本地服务器发送的所述数据信息。
在另一种可能的实施方式中,所述发送器33还用于,向所述基站对应的数据分流服务器发送所述数据获取请求,以使所述数据分流服务器对所述数据获取请求进行协议转换,并向所述本地服务器发送所述协议转换后的数据获取请求,所述本地服务器可识别所述协议转换后的数据获取请求。
所述接收器31还用于,接收所述数据分流服务器发送的所述数据信息,所述数据信息为所述本地服务器向所述数据分流服务器发送的。
本发明实施例提供的基站可以执行上述方法实施例所示的技术方案,其实现原理以及有益效果类似,此处不再进行赘述。
图9为本发明提供的服务器的硬件结构示意图。请参见图9,包括接收器41、处理器42、发送器43、存储器44及通信总线45,存储器44用于存储程序,通信总线45用于实现元件之间的通信连接,处理器42可以读取存储器44中的程序,并执行相应的操作,其中,
所述接收器41用于,接收基站发送的数据下载指令。
所述处理器42用于,获取所述基站请求的数据信息。
所述发送器43用于,通过预设接口向业务吸收单元发送所述数据信息,以使所述业务吸收单元终止发送所述数据信息,所述预设接口用于对所述数据信息进行计费及监听。
本发明实施例提供的服务器可以执行上述方法实施例所示的技术方案,其实现原理以及有益效果类似,此处不再进行赘述。
在一种可能的实施方式中,所述接收器41用于,接收本地服务器发送的数据同步指令。
所述处理器42具体用于,根据所述数据同步指令,获取所述数据信息。
在另一种可能的实施方式中,所述数据同步指令包括所述数据信息对应的哈希值;相应的,所述处理器42具体用于:
在所述数据同步指令中获取哈希值。
获取所述哈希值对应的所述数据信息。
本发明实施例提供的服务器可以执行上述方法实施例所示的技术方案,其实现原理以及有益效果类似,此处不再进行赘述。
本领域普通技术人员可以理解:实现上述方法实施例的全部或部分步骤可以通过程序指令相关的硬件来完成,前述的程序可以存储于一计算机可读取存储介质中,该程序在执行时,执行包括上述方法实施例的步骤;而前述的存储介质包括:ROM、RAM、磁碟或者光盘等各种可以存储程序代码的介质。
最后应说明的是:以上各实施例仅用以说明本发明的技术方案,而非对其限制;尽管参照前述各实施例对本发明进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分或者全部技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本发明各实施例技术方案的范围。

Claims (18)

  1. 一种数据传输方法,其特征在于,应用于基站,所述方法包括:
    接收终端设备发送的数据获取请求;
    确定所述数据获取请求对应的本地服务器和远端服务器,所述本地服务器与所述基站之间的距离小于第一预设距离,所述远端服务器与所述基站之间的距离大于第二预设距离;
    向所述本地服务器请求获取所述数据获取请求对应的数据信息,并向所述终端设备发送所述数据信息;
    向所述远端服务器请求下载所述数据信息,以使远端服务器向核心网中的计费与监听接口发送所述数据信息,以使所述计费与监听接口对所述数据信息进行计费及监听。
  2. 根据权利要求1所述的方法,其特征在于,所述数据获取请求中包括待访问服务器的标识;相应的,所述确定所述数据获取请求对应的本地服务器和远端服务器,包括:
    根据所述待访问服务器的标识,确定所述本地服务器和所述远端服务器。
  3. 根据权利要求1所述的方法,其特征在于,所述数据获取请求中包括待请求数据对应的统一资源定位符URL地址;相应的,所述确定所述数据获取请求对应的本地服务器和远端服务器,包括:
    对所述URL地址进行解析,获取待访问服务器的标识;
    根据所述待访问服务器的标识,确定所述本地服务器和所述远端服务器。
  4. 根据权利要求1-3任一项所述的方法,其特征在于,在所述向所述本地服务器请求获取所述数据获取请求对应的数据信息之前,还包括:
    获取所述基站中设置的白名单列表,所述白名单列表中包括至少一个服务器的标识,所述白名单列表中的服务器的标识为允许对所述服务器对应的本地服务器进行访问的服务器的标识;
    确定所述白名单列表中包括所述服务器的标识。
  5. 根据权利要求1-3任一项所述的方法,其特征在于,向所述本地服务器请求获取所述数据获取请求对应的数据信息,包括:
    通过所述基站的数据分流功能对所述数据获取请求进行协议转换,以使所述本地服务器可识别进行协议转换后的数据获取请求;
    向所述本地服务器发送所述协议转换后的数据获取请求;
    接收所述本地服务器发送的所述数据信息。
  6. 根据权利要求1-3任一项所述的方法,其特征在于,向所述本地服务器请求获取所述数据获取请求对应的数据信息,包括:
    向所述基站对应的数据分流服务器发送所述数据获取请求,以使所述数据分流服务器对所述数据获取请求进行协议转换,并向所述本地服务器发送所述协议转换后的数据获取请求,所述本地服务器可识别所述协议转换后的数据获取请求;
    接收所述数据分流服务器发送的所述数据信息,所述数据信息为所述本地服务器向所述数据分流服务器发送的。
  7. 一种数据传输方法,其特征在于,应用于远端服务器,所述方法包括:
    接收基站发送的数据下载指令;
    获取所述基站请求的数据信息;
    通过预设接口向业务吸收单元发送所述数据信息,以使所述业务吸收单元终止发送所述数据信息,所述预设接口用于对所述数据信息进行计费及监听。
  8. 根据权利要求7所述的方法,其特征在于,获取所述基站请求的数据信息,包括:
    接收本地服务器发送的数据同步指令;
    根据所述数据同步指令,获取所述数据信息。
  9. 根据权利要求8所述的方法,其特征在于,所述数据同步指令包括所述数据信息对应的哈希值;相应的,根据所述数据同步指令,获取所述数据信息,包括:
    在所述数据同步指令中获取哈希值;
    获取所述哈希值对应的所述数据信息。
  10. 一种基站,其特征在于,包括接收器、处理器、发送器及存储器,所述存储器用于存储执行指令,所述处理器用于调用所述存储器中的执行指令,并执行相应的操作,其中,
    所述接收器用于,接收终端设备发送的数据获取请求;
    所述处理器用于,确定所述数据获取请求对应的本地服务器和远端服务 器,所述本地服务器与所述基站之间的距离小于第一预设距离,所述远端服务器与所述基站之间的距离大于第二预设距离;
    所述发送器用于,向所述本地服务器发送数据获取请求,以获取所述数据获取请求对应的数据信息;
    所述发送器还用于,向所述终端设备发送所述数据信息;
    所述处理器还用于,向所述远端服务器请求下载所述数据信息,以使远端服务器向核心网中的计费与监听接口发送所述数据信息,以使所述计费与监听接口对所述数据信息进行计费及监听。
  11. 根据权利要求10所述的基站,其特征在于,所述数据获取请求中包括待访问服务器的标识;所述处理器具体用于:
    根据所述待访问服务器的标识,确定所述本地服务器和所述远端服务器。
  12. 根据权利要求10所述的基站,其特征在于,所述数据获取请求中包括待请求数据对应的统一资源定位符URL地址;所述处理器具体用于:
    对所述URL地址进行解析,获取待访问服务器的标识;
    根据所述待访问服务器的标识,确定所述本地服务器和所述远端服务器。
  13. 根据权利要求10-12任一项所述的基站,其特征在于,所述处理器还用于:
    在所述处理器向所述本地服务器请求获取所述数据获取请求对应的数据信息之前,获取所述基站中设置的白名单列表,所述白名单列表中包括至少一个服务器的标识,并确定所述白名单列表中包括所述服务器的标识,所述白名单列表中的服务器的标识为允许对所述服务器对应的本地服务器进行访问的服务器的标识。
  14. 根据权利要求10-12任一项所述的基站,其特征在于,
    所述处理器还用于,通过所述基站的数据分流功能对所述数据获取请求进行协议转换,以使所述本地服务器可识别进行协议转换后的数据获取请求;
    所述发送器具体用于,向所述本地服务器发送所述协议转换后的数据获取请求;
    所述接收器还用于,接收所述本地服务器发送的所述数据信息。
  15. 根据权利要求10-12任一项所述的基站,其特征在于,
    所述发送器还用于,向所述基站对应的数据分流服务器发送所述数据获 取请求,以使所述数据分流服务器对所述数据获取请求进行协议转换,并向所述本地服务器发送所述协议转换后的数据获取请求,所述本地服务器可识别所述协议转换后的数据获取请求;
    所述接收器还用于,接收所述数据分流服务器发送的所述数据信息,所述数据信息为所述本地服务器向所述数据分流服务器发送的。
  16. 一种服务器,其特征在于,包括接收器、处理器、发送器及存储器,所述存储器用于存储执行指令,所述处理器用于调用所述存储器中的执行指令,并执行相应的操作,,其中,
    所述接收器用于,接收基站发送的数据下载指令;
    所述处理器用于,获取所述基站请求的数据信息;
    所述发送器用于,通过预设接口向业务吸收单元发送所述数据信息,以使所述业务吸收单元终止发送所述数据信息,所述预设接口用于对所述数据信息进行计费及监听。
  17. 根据权利要求16所述的服务器,其特征在于,
    所述接收器用于,接收本地服务器发送的数据同步指令;
    所述处理器具体用于,根据所述数据同步指令,获取所述数据信息。
  18. 根据权利要求17所述的服务器,其特征在于,所述数据同步指令包括所述数据信息对应的哈希值;相应的,所述处理器具体用于:
    在所述数据同步指令中获取哈希值;
    获取所述哈希值对应的所述数据信息。
PCT/CN2016/108162 2016-11-30 2016-11-30 数据传输方法及设备 WO2018098761A1 (zh)

Priority Applications (2)

Application Number Priority Date Filing Date Title
PCT/CN2016/108162 WO2018098761A1 (zh) 2016-11-30 2016-11-30 数据传输方法及设备
CN201680087748.7A CN109479046A (zh) 2016-11-30 2016-11-30 数据传输方法及设备

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2016/108162 WO2018098761A1 (zh) 2016-11-30 2016-11-30 数据传输方法及设备

Publications (1)

Publication Number Publication Date
WO2018098761A1 true WO2018098761A1 (zh) 2018-06-07

Family

ID=62242305

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/108162 WO2018098761A1 (zh) 2016-11-30 2016-11-30 数据传输方法及设备

Country Status (2)

Country Link
CN (1) CN109479046A (zh)
WO (1) WO2018098761A1 (zh)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111385334A (zh) * 2018-12-29 2020-07-07 广州市百果园信息技术有限公司 一种数据配送方法、装置、设备及存储介质

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2013152472A1 (zh) * 2012-04-09 2013-10-17 华为技术有限公司 通信方法与系统,以及接入网设备与应用服务器
EP2293512B1 (en) * 2009-09-02 2016-01-06 Telefonaktiebolaget L M Ericsson (publ) Malicious communication rejection
CN105682014A (zh) * 2012-04-09 2016-06-15 华为技术有限公司 通信方法与系统,以及接入网设备与应用服务器

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1562343A1 (fr) * 2004-02-09 2005-08-10 France Telecom Procédé et système de gestion d'autorisation d'accès d'un utilisateur au niveau d'un domaine administratif local lors d'une connexion de l'utilisateur à un réseau IP
CN101990218A (zh) * 2009-08-05 2011-03-23 中兴通讯股份有限公司 用于家用基站的接入方法、装置、系统及aaa服务器
CN102098613B (zh) * 2009-12-15 2015-08-26 株式会社Ntt都科摩 一种管理用户界面的方法、用户设备及移动通信系统

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2293512B1 (en) * 2009-09-02 2016-01-06 Telefonaktiebolaget L M Ericsson (publ) Malicious communication rejection
WO2013152472A1 (zh) * 2012-04-09 2013-10-17 华为技术有限公司 通信方法与系统,以及接入网设备与应用服务器
CN105682014A (zh) * 2012-04-09 2016-06-15 华为技术有限公司 通信方法与系统,以及接入网设备与应用服务器

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111385334A (zh) * 2018-12-29 2020-07-07 广州市百果园信息技术有限公司 一种数据配送方法、装置、设备及存储介质

Also Published As

Publication number Publication date
CN109479046A (zh) 2019-03-15

Similar Documents

Publication Publication Date Title
EP3282726B1 (en) Multicast broadcast multimedia service-assisted content distribution
US9002352B2 (en) System and method of service discovery
CN104509069B (zh) 支持选择性移动内容优化的技术
WO2017152723A1 (zh) 一种数据传输方法、装置及系统
WO2017152722A1 (zh) 数据传输方法、装置及系统
WO2021121289A1 (zh) 蓝牙耳机的数据接收方法、装置、设备及存储介质
WO2017107550A1 (zh) 网络连接方法和装置
US10044831B2 (en) Method and apparatus for transmitting messages to a dash client
JP7063985B2 (ja) 上りリンクストリーミング向けのネットワーク支援
US20160248807A1 (en) Detection and mitigation of denial-of-service attacks in wireless communication networks
US20160080260A1 (en) Data transmission method, apparatus and system
WO2016086755A1 (zh) 一种报文处理的方法和透明代理服务器
EP3316600A1 (en) Video distribution method and device
WO2018098761A1 (zh) 数据传输方法及设备
WO2015096734A1 (zh) 一种业务数据的下行传输方法及分组数据网关
CN106657039B (zh) Portal页面获取方法、无线AP及Portal服务器
WO2018107368A1 (zh) 数据传输的连接建立方法及装置
US20160149855A1 (en) Service processing method, system, and relevant device
CN112969199A (zh) 一种数据采集方法和设备
WO2015131581A1 (zh) 一种wlan的定位方法、终端和wlan接入服务器
JP2023501015A (ja) 車とモノとの通信のポリシーを取得する方法及び装置
KR20150045693A (ko) 컨텐츠 전송 방법 및 이를 위한 장치
CN112291207B (zh) 一种前端设备目录获取方法及装置
CN109361682B (zh) 一种通信方法、装置、设备及存储介质
CN112188243B (zh) 一种前端摄像头实时视频点播方法及装置、电子设备

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 16922927

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 16922927

Country of ref document: EP

Kind code of ref document: A1