CN111225422B - Proxy data processing method and device - Google Patents

Proxy data processing method and device Download PDF

Info

Publication number
CN111225422B
CN111225422B CN201811409194.5A CN201811409194A CN111225422B CN 111225422 B CN111225422 B CN 111225422B CN 201811409194 A CN201811409194 A CN 201811409194A CN 111225422 B CN111225422 B CN 111225422B
Authority
CN
China
Prior art keywords
data
base station
proxy data
proxy
terminal
Prior art date
Legal status (The legal status 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 status listed.)
Active
Application number
CN201811409194.5A
Other languages
Chinese (zh)
Other versions
CN111225422A (en
Inventor
唐洪川
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Datang Mobile Communications Equipment Co Ltd
Original Assignee
Datang Mobile Communications Equipment Co Ltd
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 Datang Mobile Communications Equipment Co Ltd filed Critical Datang Mobile Communications Equipment Co Ltd
Priority to CN201811409194.5A priority Critical patent/CN111225422B/en
Publication of CN111225422A publication Critical patent/CN111225422A/en
Application granted granted Critical
Publication of CN111225422B publication Critical patent/CN111225422B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/0005Control or signalling for completing the hand-off
    • H04W36/0011Control or signalling for completing the hand-off for data sessions of end-to-end connection
    • H04W36/0033Control or signalling for completing the hand-off for data sessions of end-to-end connection with transfer of context information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/08Reselecting an access point

Abstract

The embodiment of the invention provides a method and a device for processing proxy data, wherein the method comprises the following steps: when the source base station acquires the proxy data from the server, judging whether the source base station meets a preset acquisition stopping condition; the source base station simultaneously sends the acquired proxy data to the terminal; if so, stopping acquiring the proxy data from the server, and judging whether the terminal is switched between stations; if yes, judging whether first residual proxy data which are not successfully sent to the terminal exist in the source base station; and if so, sending the first residual proxy data to the terminal by adopting a preset scheme. In the embodiment of the invention, the base station can adaptively adjust the data volume of the proxy data, ensure the reliability of the proxy data, and then determine a corresponding scheme to send the proxy data to the terminal based on whether the terminal is switched between stations, thereby not only maintaining the characteristic gain of the existing data proxy, but also improving the high-reliability switching of the proxy data during the switching between the stations.

Description

Proxy data processing method and device
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a method and an apparatus for processing proxy data.
Background
The data agent refers to a process that when the terminal performs data interaction with the server, the base station simulates the terminal to acquire data from the server and sends the acquired data to the terminal. Specifically, the base station simulates that the terminal first obtains data that the terminal wants to obtain from the server, and this data may be referred to as "proxy data", and then the base station sends the obtained proxy data to the terminal. Commonly used data proxies may include a TCP (Transmission Control Protocol) proxy, a UDP (User Datagram Protocol) proxy, and so forth.
The TCP proxy in the base station is a software module. The base station has no TCP agent, the base station directly transmits the downlink TCP data to the user after receiving the downlink TCP data, the user sends ACK, the base station transfers the ACK to the server, and if the user sends the ACK slowly, the downlink data transmission of the server is slowed down. And the base station opens the TCP agent, the base station receives the downlink data and actively sends ACK to the server, the server quickly sends the data, the base station can quickly buffer more TCP data, the TCP slow start can be accelerated, and the perception of the TCP service of the user is improved.
However, in the daily use process, the TCP proxy may have the following problems: when a UE (User Equipment) performs inter-station handover, a source-side base station fails to send some proxy data to a server, where the proxy data has sent ACK (Acknowledgement) to the server, the data needs to be switched between stations, a packet loss may occur during the switching process, a new base station continues to download the proxy data, the UE reports to the server that the data with packet loss is not received during the switching process, and the source-side base station sends ACK of the data to the server, so that the server deletes the proxy data and cannot retransmit the data, thereby causing a failure in TCP connection and a suspension of UE service.
Disclosure of Invention
In view of the foregoing problems, embodiments of the present invention provide a method for processing proxy data and a corresponding device for processing proxy data.
In order to solve the above problem, an embodiment of the present invention discloses a method for processing proxy data, including:
when a source base station acquires proxy data from a server, judging whether the source base station meets a preset acquisition stopping condition; the source base station simultaneously sends the acquired proxy data to a terminal;
if so, stopping acquiring the proxy data from the server, and judging whether the terminal is subjected to inter-station switching;
if so, judging whether first residual proxy data which are not successfully sent to the terminal exist in the source base station;
and if so, sending the first residual proxy data to the terminal by adopting a preset scheme.
Preferably, the preset stop acquiring condition includes: whether the data volume of the proxy data is larger than a first proxy data threshold value or not, or whether the source base station starts data switching or not.
Preferably, the step of determining whether the source base station meets a preset stop acquisition condition includes:
acquiring wireless channel parameters of the terminal;
acquiring a second proxy data threshold value corresponding to the wireless channel parameter;
judging whether the second proxy data threshold value is larger than the first proxy data threshold value;
if so, replacing the first proxy data threshold value with the second proxy data threshold value, and meanwhile, continuously acquiring the proxy data from the server until the data volume of the proxy data is larger than the second proxy data threshold value;
if not, stopping obtaining the proxy data from the server, and replacing the first proxy data threshold value with the second proxy data threshold value.
Preferably, the radio channel parameters include a power headroom, a sounding reference signal, and a channel quality indication;
the step of obtaining a second proxy data threshold value corresponding to the wireless channel parameter comprises:
judging whether at least one of the power headroom, the sounding reference signal and the channel quality indication reaches a preset index;
if yes, establishing data proxy connection;
and when the data proxy connection is successfully established, acquiring a second proxy data threshold value corresponding to the wireless channel parameter.
Preferably, the inter-station switching is to switch the terminal from a source base station to a target base station; and the data switching means that the source base station sends the residual proxy data to the target base station.
Preferably, the step of sending the first remaining proxy data to the terminal by using a preset scheme includes:
sending an inter-station switching request to the target base station;
receiving information for agreeing to inter-station switching sent by the target base station;
sending an inter-station switching instruction to the terminal, and promoting the uplink and downlink scheduling priority of the data of the terminal and starting an uplink pre-scheduling function;
and sending the first residual proxy data to the terminal.
Preferably, the method further comprises the following steps:
when the terminal executes inter-station switching, judging whether all the first residual proxy data are sent to the terminal;
if not, second residual proxy data successfully sent to the terminal is obtained;
sending the second residual proxy data to a target base station through data switching; the target base station is used for sending the second residual proxy data to the terminal;
when all the second residual proxy data are sent to the target base station, detecting whether response information aiming at the completion of sending is received;
if yes, judging that all the second residual proxy data are successfully sent to the target base station; and if not, sending the second residual proxy data to the target base station again until all the second residual proxy data are successfully sent to the target base station.
Correspondingly, the embodiment of the invention discloses a processing device of proxy data, which comprises:
the acquisition module is used for acquiring the proxy data from the server by the source base station;
the first judgment module is used for judging whether the source base station meets the preset acquisition stopping condition; the source base station simultaneously sends the acquired proxy data to a terminal;
the second judgment module is used for stopping acquiring the proxy data from the server and judging whether the terminal is switched among the stations or not;
a third judging module, configured to judge whether there is first remaining proxy data that is unsuccessfully sent to the terminal in the source base station;
and the sending module is used for sending the first residual proxy data to the terminal by adopting a preset scheme.
Preferably, the preset stop acquiring condition includes: whether the data volume of the proxy data is larger than a first proxy data threshold value or not, or whether the source base station starts data switching or not.
Preferably, the first judging module includes:
a wireless channel parameter obtaining submodule for obtaining wireless channel parameters of the terminal;
the agent data threshold value acquisition sub-module is used for acquiring a second agent data threshold value corresponding to the wireless channel parameter;
the agent data threshold value judging submodule is used for judging whether the second agent data threshold value is larger than the first agent data threshold value;
a proxy data threshold value modification sub-module, configured to replace the first proxy data threshold value with the second proxy data threshold value, and meanwhile, continue to obtain the proxy data from the server until the data amount of the proxy data is greater than the second proxy data threshold value;
the agent data threshold value modification sub-module is further configured to stop obtaining the agent data from the server, and replace the first agent data threshold value with the second agent data threshold value.
Preferably, the radio channel parameters include a power headroom, a sounding reference signal, and a channel quality indication;
the agent data threshold value obtaining sub-module comprises:
an index judgment unit, configured to judge whether at least one of the power headroom, the sounding reference signal, and the channel quality indication reaches a preset index;
the connection unit is used for establishing data proxy connection;
and the second proxy data threshold value acquisition unit is used for acquiring a second proxy data threshold value corresponding to the wireless channel parameter when the data proxy connection is successfully established.
Preferably, the inter-station switching is to switch the terminal from a source base station to a target base station; and the data switching means that the source base station sends the residual proxy data to the target base station.
Preferably, the sending module of the agent data threshold value obtaining sub-module includes:
the inter-station switching request submodule is used for sending an inter-station switching request to the target base station;
the inter-station switching receiving submodule is used for receiving the inter-station switching agreement information sent by the target base station;
the switching instruction sending submodule is used for sending an inter-station switching instruction to the terminal, promoting the uplink and downlink scheduling priority of the data of the terminal and starting an uplink pre-scheduling function;
and the proxy data sending submodule is used for sending the first residual proxy data to the terminal.
Preferably, the method further comprises the following steps:
the fourth judging module is used for judging whether all the first residual proxy data are sent to the terminal or not when the terminal executes the inter-station switching;
the second residual proxy data module is used for acquiring second residual proxy data which is successfully sent to the terminal;
the data switching module is used for sending the second residual proxy data to a target base station through data switching; the target base station is used for sending the second residual proxy data to the terminal;
a detection module, configured to detect whether response information for transmission completion is received when all the second remaining proxy data is transmitted to the target base station;
the judging module is used for judging that all the second residual proxy data are successfully sent to the target base station; and if not, sending the second residual proxy data to the target base station again until all the second residual proxy data are successfully sent to the target base station.
The embodiment of the invention has the following advantages:
in the embodiment of the invention, when a source base station acquires proxy data from a server, whether the source base station meets a preset acquisition stopping condition is judged; the source base station simultaneously sends the acquired proxy data to a terminal, if so, the source base station stops acquiring the proxy data from the server and judges whether the terminal is switched between stations or not; if so, further judging whether first residual proxy data which are not successfully sent to the terminal exist in the source base station; and if so, sending the first residual proxy data to the terminal by adopting a preset scheme. Therefore, the base station can adaptively adjust the data volume of the proxy data, the reliability of the proxy data is ensured, and then the corresponding scheme is determined to send the proxy data to the terminal based on whether the terminal is switched between stations, so that the characteristic gain of the existing data proxy is maintained, and the high-reliability switching of the proxy data during the switching between stations is improved.
Meanwhile, before performing data switching, the base station reduces the TCP proxy data volume needing reliable switching as much as possible by improving the uplink and downlink scheduling priority of the data of the terminal and starting the uplink pre-scheduling function; and when the data switching is executed, a feedback mechanism is added, and when the response message is not received after overtime, the proxy data is switched again, so that the high-reliability switching of the proxy data during the inter-station switching is ensured.
Drawings
FIG. 1 is a flow chart of steps of a method embodiment of the present invention for processing proxy data;
fig. 2 is a schematic diagram of a GTPU format in which a source base station switches a TCP proxy without PDCP PDU number data according to the present invention;
FIG. 3 is a schematic diagram of a source base station switching TCP proxy GTPU format containing PDCP PDU number data;
FIG. 4 is a diagram illustrating the GTPU format of an ACK response packet for a destination base station to reply to TCP proxy data of a source base station according to the present invention;
fig. 5 is a block diagram of an embodiment of a device for processing proxy data according to the present invention.
Detailed Description
In order to make the aforementioned objects, features and advantages of the present invention comprehensible, embodiments accompanied with figures are described in further detail below.
Referring to fig. 1, a flowchart illustrating steps of an embodiment of a method for processing proxy data according to the present invention is shown, which may specifically include the following steps:
step 101, when a source base station acquires proxy data from a server, judging whether the source base station meets a preset acquisition stopping condition; the source base station simultaneously sends the acquired proxy data to a terminal;
in the embodiment of the present invention, the base station has a proxy function, such as a TCP (Transmission Control Protocol) proxy function, and the base station is connected to the terminal and the server, respectively.
The terminal may have the following features:
(1) on a hardware architecture, a device has a central processing unit, a memory, an input unit and an output unit, that is, the device is often a microcomputer device having a communication function. In addition, various input modes such as a keyboard, a mouse, a touch screen, a microphone, a camera and the like can be provided, and input can be adjusted as required. Meanwhile, the equipment often has a plurality of output modes, such as a telephone receiver, a display screen and the like, and can be adjusted according to needs;
(2) on a software system, the device must have an operating system, such as Windows Mobile, Symbian, Palm, Android, iOS, and the like. Meanwhile, the operating systems are more and more open, and personalized application programs developed based on the open operating system platforms are infinite, such as a communication book, a schedule, a notebook, a calculator, various games and the like, so that the requirements of personalized users are met to a great extent;
(3) in terms of communication capacity, the device has flexible access mode and high-bandwidth communication performance, and can automatically adjust the selected communication mode according to the selected service and the environment, thereby being convenient for users to use. The device can support GSM (Global System for Mobile Communication), WCDMA (Wideband Code Division Multiple Access), CDMA2000(Code Division Multiple Access), TDSCDMA (Time Division-Synchronous Code Division Multiple Access), Wi-Fi (WIreless-Fidelity), WiMAX (world Interoperability for Microwave Access), etc., thereby adapting to various systems of networks, not only supporting voice service, but also supporting various WIreless data services;
(4) in the aspect of function use, the equipment focuses more on humanization, individuation and multi-functionalization. With the development of computer technology, devices enter a human-centered mode from a device-centered mode, and the embedded computing, control technology, artificial intelligence technology, biometric authentication technology and the like are integrated, so that the human-oriented purpose is fully embodied. Due to the development of software technology, the equipment can be adjusted and set according to individual requirements, and is more personalized. Meanwhile, the device integrates a plurality of software and hardware, and the function is more and more powerful.
It should be noted that, in the embodiment of the present invention, if the terminal performs inter-station handover, the base station includes a source base station and a target base station; if the terminal does not have the inter-station handover, the base station refers to the base station which is currently connected with the terminal.
In addition, the inter-station switching in the embodiment of the invention is to switch the terminal from the source base station to the target base station; and the data is converted into proxy data and sent to the target base station by the source base station. Specifically, when the terminal is located at the edge of a cell, handover between stations may be triggered, generally, the edge of adjacent cells has an intersection region, that is, in a certain region, the terminal may access both an a cell and a B cell, and when the terminal is located in such a region, a current base station (source base station) connected to the terminal is needed to determine whether the terminal needs to be handed over to another base station (target base station). If necessary, when triggering inter-station handover, it is also necessary to consider whether all TCP proxy data corresponding to the terminal in the source base station have been sent to the terminal, and if not, further switching the TCP proxy data not sent to the terminal to the target base station, and the target base station continuously sends the TCP proxy data to the terminal.
If the terminal is detected to be located at the edge of the cell and is determined to perform inter-station handover, current wireless channel parameters of the terminal are obtained, which may include power headroom phr (power headroom), sounding Reference signal srs (sounding Reference signal), channel Quality indicator cqi (channel Quality indicator), and the like. Of course, other network parameters may be included besides the above network parameters, and the embodiment of the present invention is not limited thereto.
In a preferred embodiment of the present invention, the preset stop acquiring condition includes: whether the data volume of the proxy data is larger than a first proxy data threshold value or not, or whether the source base station starts data switching or not.
Specifically, if the terminal is connected with the base station for the first time, the base station determines a first proxy data threshold value according to the wireless channel parameter when the terminal accesses the base station; otherwise, the wireless channel parameter when the terminal and the base station perform the last data interaction is used as the first proxy data threshold value.
In a preferred embodiment of the present invention, the step of determining whether the source base station satisfies a preset stop acquisition condition includes:
acquiring wireless channel parameters of the terminal;
acquiring a second proxy data threshold value corresponding to the wireless channel parameter;
judging whether the second proxy data threshold value is larger than the first proxy data threshold value;
if so, replacing the first proxy data threshold value with the second proxy data threshold value, and meanwhile, continuously acquiring the proxy data from the server until the data volume of the proxy data is larger than the second proxy data threshold value;
if not, stopping obtaining the proxy data from the server, and replacing the first proxy data threshold value with the second proxy data threshold value.
Specifically, in the process of data interaction between the terminal and the base station, the base station simulates that the terminal actively acquires proxy data from the server and simultaneously sends the acquired proxy data to the terminal, for example, if the terminal needs to acquire a certain video from the server, the base station simulates that the terminal actively acquires video data of the video from the server and caches the video data locally, that is, the proxy data, and simultaneously sends the proxy data to the terminal. Therefore, a problem occurs, when the speed of acquiring data by the base station is higher than the speed of transmitting data by the base station, the proxy data in the base station is excessively accumulated, and if the terminal is switched between stations, the probability of packet loss of the proxy data is increased during data switching.
However, in practical applications, the geographic location of the terminal may change at any time, and if the geographic location changes, the network environment of the terminal may also change accordingly, for example, the network becomes better or the network becomes worse, and if the network becomes better, the speed of sending data to the terminal by the base station may also become faster, and the data amount of the proxy data cached by the base station may also increase, and vice versa. Therefore, in the embodiment of the present invention, the base station may further obtain the wireless channel parameters of the terminal in real time, so as to obtain the data transmission rate between the terminal and the base station at this time, and further determine the proxy data threshold value of the base station at this time, and then compare the second proxy data threshold value with the first proxy data threshold value, if the second proxy data threshold value is greater than the first proxy data threshold value, replace the first proxy data threshold value with the second proxy data threshold value, and meanwhile, continue to obtain the proxy data from the server, until the data amount of the proxy data is greater than the second proxy data threshold value, stop actively obtaining the proxy data from the server; otherwise, stopping actively acquiring the proxy data from the server, and replacing the first proxy data threshold value with the second proxy data threshold value.
In a preferred embodiment of the present invention, the step of obtaining the second proxy data threshold corresponding to the radio channel parameter includes:
judging whether at least one of the power headroom, the sounding reference signal and the channel quality indication reaches a preset index;
if yes, establishing data proxy connection;
and when the data proxy connection is successfully established, acquiring a second proxy data threshold value corresponding to the wireless channel parameter.
The quality of the network environment can be judged according to the radio channel parameters, for example, a network administrator can preset indexes of each radio channel parameter, which is colloquially called a "passing line" of each radio channel parameter, and if the radio channel parameter is not less than the "passing line", the radio channel parameter is qualified. The method is applied to the embodiment of the invention, after the wireless channel parameters are obtained, whether each parameter in the wireless channel parameters reaches the preset index is respectively judged, if at least one parameter in each parameter reaches the preset index, the data proxy connection is established, and when the data proxy connection is successfully established, the second proxy data threshold value corresponding to the wireless channel parameters is obtained.
It should be noted that, after the terminal establishes a connection with the base station, the base station may give an agent flag to the terminal to distinguish whether the terminal can establish the TCP proxy, for example, if the agent flag of a certain terminal is "yes" or "1", the terminal may establish the TCP proxy, and if the agent flag of the terminal is "no" or "0", the terminal may not establish the TCP proxy.
Generally, the network environment includes four situations, namely a good point, a middle point, a bad point and a very bad point, and in practical applications, the terminal may be in the following situations:
1. the wireless environment is very poor, users are likely to be located at the edge of a cell, inter-station switching is likely to occur, the scenario does not make a TCP proxy, and the proxy is made, because of the great difference between the RTT (Round Trip Time) at the wired side and the RTT at the wireless side, more TCP proxy data can be accumulated by an eNB (Evolved Node B), and the probability of switching packet loss is increased;
2. the wireless environment of a user is good, the threshold of the TCP proxy data volume is increased, so that the data volume to be sent is sufficient, the wireless bandwidth is fully utilized, if inter-station switching occurs, new data is not proxied any more in the time interval from the preparation of switching to the beginning of switching data, the TCP proxy data is rapidly sent down by utilizing the good wireless environment, and the switched TCP proxy data volume is reduced;
3. the wireless environment of the user is in the middle point and the difference point, and the TCP agent data volume threshold is reduced, because the time period for switching the data to start has no change with the good point, the TCP agent data volume which can be transmitted by the user in the middle difference point is reduced;
4. the wireless environment of the user is changed from bad to good, if the user is still in the TCP proxy process, the data volume threshold of the TCP proxy corresponding to the new wireless environment can be enlarged; otherwise, the TCP agent process is finished, and when the agent data of all TCP connections of the user are sent completely, the TCP agent process is repeated, and the TCP agent data quantity threshold is determined by the current wireless environment;
5. if the user is still in the TCP proxy process, judging whether the current TCP proxy data volume of the user exceeds the TCP proxy data volume threshold corresponding to the new wireless environment, and if so, immediately stopping the TCP proxy process; if not, the user can reduce the amount of the proxy TCP data to a TCP proxy data amount threshold corresponding to a new wireless environment; if the TCP proxy process is finished, and the proxy data of all TCP connections of the user are sent completely, the TCP proxy process is repeated, and the threshold of the TCP proxy data amount is determined by the wireless environment at the moment.
Of course, the network administrator may modify the preset index of each wireless channel parameter, and the preset index is not unchangeable after the one-time setting is completed, and the actual situation may be referred to when and how to modify the preset index.
In addition, if the base station starts data switching, the base station also stops actively acquiring the proxy data from the server.
Specifically, after the source base station starts data switching, the source base station actively stops obtaining the proxy data from the server, meanwhile, the source base station sends a switching request to the target base station, and after the source base station receives switching approval information fed back by the target base station, the source base station sends a switching execution command to the terminal. And when the switching of the terminal between the stations is judged to be completed, the source base station can still continuously and actively acquire the proxy data from the server and send the proxy data to the terminal.
That is to say, the source base station switches data from the open data to the execution data, there is a "time gap" in the middle, the source base station does not immediately send the proxy data to the target base station, and in order to avoid the source base station losing the proxy data in the data switching process, in this "time gap", the source base station will continue to send the proxy data to the terminal until the terminal starts to execute the inter-station switching, if the terminal starts to execute the inter-station switching, the source base station still has the proxy data not sent to the terminal, then the source base station and the target base station start to execute the data switching. The base station starts the data switching, which may be triggered by switching between stations of the terminal or by manual triggering, and the specific triggering condition may be adjusted according to the actual situation, which is not limited in the embodiment of the present invention.
Step 102, stopping acquiring proxy data from the server and judging whether the terminal has inter-station switching;
in practical application, whether the terminal is switched between stations is detected, mainly whether the terminal is located at the edge of a cell is detected, and whether the terminal is located at the edge of the cell can be detected by detecting the signal intensity, the field intensity and the like of the terminal.
If the terminal does not have inter-station switching, the source base station continues to send the proxy data to the terminal until the data volume of the proxy data in the source base station is smaller than a second proxy data threshold value, and the source base station continues to actively acquire the proxy data from the server; if the source base station starts the data switching to stop actively acquiring the proxy data from the server, whether the terminal has inter-station switching or not does not need to be judged, and the data switching between the source base station and the target base station can be carried out no matter whether the terminal has the inter-station switching or not.
Step 103, if yes, judging whether first residual proxy data which are not successfully sent to the terminal exist in the source base station;
specifically, when the terminal performs inter-station handover, although the source base station does not actively acquire the proxy from the server, all the proxy data already acquired in the source base station is not necessarily successfully transmitted to the terminal, and therefore, it is necessary to determine whether there is any proxy data that has not been successfully transmitted to the terminal in the source base station. The source base station simulates that after the terminal actively acquires the proxy data from the server, the terminal feeds back the ACK information to the server, and after the server receives the ACK information, the server judges that the terminal has successfully received the data, so that the data is deleted.
Step 104, if yes, a preset scheme is adopted to send the first residual proxy data to the terminal;
in a preferred embodiment of the present invention, the step of sending the first remaining proxy data to the terminal by using a preset scheme includes:
sending an inter-station switching request to the target base station;
receiving information for agreeing to inter-station switching sent by the target base station;
sending an inter-station switching instruction to the terminal, and promoting the uplink and downlink scheduling priority of the data of the terminal and starting an uplink pre-scheduling function;
and sending the first residual proxy data to the terminal.
Specifically, the base station comprises a control plane and a service plane, wherein the control plane is responsible for service access, the service plane is responsible for service data transmission, a base station main control panel is responsible for the control plane, a base station baseband panel is responsible for the service plane, and a TCP proxy function is realized on the baseband panel. In the embodiment of the invention, if the control plane judges to execute the inter-station switching, a switching request preparation process is firstly sent to a target cell, the target cell receives successfully and returns a success message to a source cell, the control plane of the source cell sends a switching message to a terminal and then sends a Data switching indication message to a Packet Data Convergence Protocol (PDCP), a section of time gap exists between the switching request preparation process and the PDCP Data switching indication message, a service plane can be informed by the control plane in advance, a user needs to execute the switching, the service plane does not actively proxy Data any more and modifies a user scheduling mechanism, and the TCP proxy Data amount needing reliable switching is reduced as much as possible.
In the "time slot", if the source base station successfully sends all the first remaining proxy data to the terminal before performing data switching, the data switching with the target base station may not be performed, so that, in order to send all the proxy data to the terminal as soon as possible, the source base station may increase the uplink and downlink scheduling priority of the data of the terminal, and start the uplink pre-scheduling function, and send the first remaining proxy data to the terminal.
In a preferred embodiment of the present invention, the method further comprises:
when the terminal executes inter-station switching, judging whether all the first residual proxy data are sent to the terminal;
if not, second residual proxy data successfully sent to the terminal is obtained;
sending the second residual proxy data to a target base station through data switching; the target base station is used for sending the second residual proxy data to the terminal;
when all the second residual proxy data are sent to the target base station, detecting whether response information aiming at the completion of sending is received;
if yes, judging that all the second residual proxy data are successfully sent to the target base station; and if not, sending the second residual proxy data to the target base station again until all the second residual proxy data are successfully sent to the target base station.
Specifically, before performing data switching, the uplink and downlink scheduling priorities of the data of the terminal are raised, and the uplink pre-scheduling function is started, so when the data switching is started, it is required to detect whether all the first remaining proxy data are successfully sent to the terminal, and if so, the base station can recover the uplink and downlink scheduling priorities of the data of the terminal, and close the uplink pre-scheduling function.
If the source base station stores the agent data which is not sent to the terminal, that is, the second remaining agent data, the data switching needs to be performed, and the source base station sends the second remaining agent data to the target base station. If all the first agent data are successfully sent to the terminal, the data switching is performed on the user information of the terminal, that is, the source base station sends the user information of the terminal to the target base station. The data conversion refers to the TCP proxy data stored in the base station, that is, the TCP proxy data which has sent the acknowledgement to the server but has not been successfully sent to the terminal, and is forwarded from the source base station to the target base station through S1 handover and X2 handover.
In practical application, the target base station needs to know the TeID (Tunnel Endpoint Identifier) used by the source base station to switch data, otherwise, the source side switches data to the target base station, the target base station sends feedback information to the source base station, and the source base station does not know which user's protocol entity the feedback information corresponds to, and cannot process the feedback information. As shown in fig. 2, in the embodiment of the present invention, a source base station TeID is carried by a field of a Protocol extension header of an existing GTPU (General Packet Radio System (GPRS) tunneling Protocol User Plane) and sent to a target base station, and the Protocol extension header is customized without modifying the Protocol, as shown in fig. 3.
The source base station only needs to add a TeID extension head to TCP proxy data, a timer is started after a data packet is sent to a target base station, UDP data or non-proxy TCP data are processed according to the previous flow, no feedback information is needed, and certainly, the TeID extension head does not need to be added; after receiving the data with the TeID extension header, the target base station performs a Cyclic Redundancy Check (CRC) Check on the TCP packet, and if the data is correct, sends an ACK (Acknowledgement) response packet, as shown in fig. 4, otherwise, does not send the ACK response packet, and if the source side does not receive an ACK response of the TCP packet due to timeout, retransmits a TCP proxy packet corresponding to a Sequence Number (SN) to the target base station until all the second remaining proxy data are successfully sent to the target base station, and then the target base station can send the second remaining proxy data to the terminal.
In the embodiment of the invention, when a source base station acquires proxy data from a server, whether the source base station meets a preset acquisition stopping condition is judged; the source base station simultaneously sends the acquired proxy data to a terminal, if so, the source base station stops acquiring the proxy data from the server and judges whether the terminal is switched between stations or not; if so, further judging whether first residual proxy data which are not successfully sent to the terminal exist in the source base station; and if so, sending the first residual proxy data to the terminal by adopting a preset scheme. Therefore, the base station can adaptively adjust the data volume of the proxy data, ensure the reliability of the proxy data, and then determine a corresponding scheme to send the proxy data to the terminal based on whether the terminal is switched between stations, thereby not only maintaining the characteristic gain of the existing data proxy, but also improving the high-reliability switching of the proxy data during the switching between stations.
Meanwhile, before performing data switching, the base station reduces the TCP proxy data volume needing reliable switching as much as possible by improving the uplink and downlink scheduling priority of the data of the terminal and starting the uplink pre-scheduling function; and when the data switching is executed, a feedback mechanism is added, and when the response message is not received after overtime, the proxy data is switched again, so that the high-reliability switching of the proxy data during the inter-station switching is ensured.
It should be noted that, for simplicity of description, the method embodiments are described as a series of acts or combination of acts, but those skilled in the art will recognize that the present invention is not limited by the illustrated order of acts, as some steps may occur in other orders or concurrently in accordance with the embodiments of the present invention. Further, those skilled in the art will appreciate that the embodiments described in the specification are presently preferred and that no particular act is required to implement the invention.
Referring to fig. 5, a block diagram of a structure of an embodiment of a device for processing proxy data according to the present invention is shown, and may specifically include the following modules:
an obtaining module 501, configured to obtain proxy data from a server by a source base station;
a first determining module 502, configured to determine whether the source base station meets a preset stop acquisition condition; the source base station simultaneously sends the acquired proxy data to a terminal;
a second determining module 503, configured to stop obtaining the proxy data from the server, and determine whether inter-station handover occurs in the terminal;
a third determining module 504, configured to determine whether there is first remaining proxy data that is not successfully sent to the terminal in the source base station;
a sending module 505, configured to send the first remaining proxy data to the terminal by using a preset scheme.
In a preferred embodiment of the present invention, the preset stop acquiring condition includes: whether the data volume of the proxy data is larger than a first proxy data threshold value or not, or whether the source base station starts data switching or not.
In a preferred embodiment of the present invention, the first determining module includes:
a wireless channel parameter obtaining submodule for obtaining wireless channel parameters of the terminal;
the agent data threshold value acquisition sub-module is used for acquiring a second agent data threshold value corresponding to the wireless channel parameter;
the agent data threshold value judging submodule is used for judging whether the second agent data threshold value is larger than the first agent data threshold value;
a proxy data threshold value modification sub-module, configured to replace the first proxy data threshold value with the second proxy data threshold value, and meanwhile, continue to obtain the proxy data from the server until the data amount of the proxy data is greater than the second proxy data threshold value;
the agent data threshold value modification sub-module is further configured to stop obtaining the agent data from the server, and replace the first agent data threshold value with the second agent data threshold value.
In a preferred embodiment of the present invention, the radio channel parameters include a power headroom, a sounding reference signal, and a channel quality indication;
the agent data threshold value obtaining sub-module comprises:
an index judgment unit, configured to judge whether at least one of the power headroom, the sounding reference signal, and the channel quality indication reaches a preset index;
the connection unit is used for establishing data proxy connection;
and the second proxy data threshold value acquisition unit is used for acquiring a second proxy data threshold value corresponding to the wireless channel parameter when the data proxy connection is successfully established.
In a preferred embodiment of the present invention, the inter-station switching is to switch the terminal from a source base station to a target base station; and the data switching means that the source base station sends the residual proxy data to the target base station.
In a preferred embodiment of the present invention, the sending module of the agent data threshold value obtaining sub-module includes:
the inter-station switching request submodule is used for sending an inter-station switching request to the target base station;
the inter-station switching receiving submodule is used for receiving the inter-station switching agreement information sent by the target base station;
the switching instruction sending submodule is used for sending an inter-station switching instruction to the terminal, promoting the uplink and downlink scheduling priority of the data of the terminal and starting an uplink pre-scheduling function;
and the proxy data sending submodule is used for sending the first residual proxy data to the terminal.
In a preferred embodiment of the present invention, the method further comprises:
the fourth judging module is used for judging whether all the first residual proxy data are sent to the terminal or not when the terminal executes the inter-station switching;
the second residual proxy data module is used for acquiring second residual proxy data which is successfully sent to the terminal;
the data switching module is used for sending the second residual proxy data to a target base station through data switching; the target base station is used for sending the second residual proxy data to the terminal;
a detection module, configured to detect whether response information for transmission completion is received when all the second remaining proxy data is transmitted to the target base station;
the judging module is used for judging that all the second residual proxy data are successfully sent to the target base station; and if not, sending the second residual proxy data to the target base station again until all the second residual proxy data are successfully sent to the target base station.
For the device embodiment, since it is basically similar to the method embodiment, the description is simple, and for the relevant points, refer to the partial description of the method embodiment.
The embodiments in the present specification are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, apparatus, or computer program product. Accordingly, embodiments of the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, embodiments of the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
Embodiments of the present invention are described with reference to flowchart illustrations and/or block diagrams of methods, terminal devices (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing terminal to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing terminal, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing terminal to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing terminal to cause a series of operational steps to be performed on the computer or other programmable terminal to produce a computer implemented process such that the instructions which execute on the computer or other programmable terminal provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
While preferred embodiments of the present invention have been described, additional variations and modifications of these embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. Therefore, it is intended that the appended claims be interpreted as including preferred embodiments and all such alterations and modifications as fall within the scope of the embodiments of the invention.
Finally, it should also be noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or terminal that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or terminal. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or terminal that comprises the element.
The method for processing proxy data and the device for processing proxy data provided by the present invention are described in detail above, and a specific example is applied in the text to explain the principle and the implementation of the present invention, and the description of the above embodiment is only used to help understanding the method of the present invention and the core idea thereof; meanwhile, for a person skilled in the art, according to the idea of the present invention, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present invention.

Claims (6)

1. A method for processing proxy data, comprising:
when a source base station acquires proxy data from a server, judging whether the source base station meets a preset acquisition stopping condition; the source base station simultaneously sends the acquired proxy data to a terminal;
if so, stopping acquiring the proxy data from the server, and judging whether the terminal is subjected to inter-station switching;
if so, judging whether first residual proxy data which are not successfully sent to the terminal exist in the source base station;
if so, sending the first residual proxy data to the terminal by adopting a preset scheme;
wherein the preset stop acquiring condition comprises: whether the data volume of the proxy data is larger than a first proxy data threshold value or not, or whether the source base station starts data switching or not;
wherein the method further comprises:
when the terminal executes inter-station switching, judging whether all the first residual proxy data are sent to the terminal;
if not, second residual proxy data successfully sent to the terminal is obtained;
sending the second residual proxy data to a target base station through data switching; the target base station is used for sending the second residual proxy data to the terminal;
when all the second residual proxy data are sent to the target base station, detecting whether response information aiming at the completion of sending is received;
if yes, judging that all the second residual proxy data are successfully sent to the target base station; if not, the second residual proxy data is sent to the target base station again until all the second residual proxy data are successfully sent to the target base station;
switching between the stations to switch the terminal from a source base station to a target base station; the data switching means that the source base station sends the residual proxy data to the target base station;
wherein the step of sending the first remaining proxy data to the terminal by using a preset scheme includes:
sending an inter-station switching request to the target base station;
receiving information for agreeing to inter-station switching sent by the target base station;
sending an inter-station switching instruction to the terminal, and promoting the uplink and downlink scheduling priority of the data of the terminal and starting an uplink pre-scheduling function;
and sending the first residual proxy data to the terminal.
2. The method of claim 1, wherein the step of determining whether the source base station satisfies a predetermined stop acquisition condition comprises:
acquiring wireless channel parameters of the terminal;
acquiring a second proxy data threshold value corresponding to the wireless channel parameter;
judging whether the second proxy data threshold value is larger than the first proxy data threshold value;
if so, replacing the first proxy data threshold value with the second proxy data threshold value, and meanwhile, continuously acquiring the proxy data from the server until the data volume of the proxy data is larger than the second proxy data threshold value;
if not, stopping obtaining the proxy data from the server, and replacing the first proxy data threshold value with the second proxy data threshold value.
3. The method of claim 2, wherein the radio channel parameters comprise a power headroom, a sounding reference signal, and a channel quality indication;
the step of obtaining a second proxy data threshold value corresponding to the wireless channel parameter comprises:
judging whether at least one of the power headroom, the sounding reference signal and the channel quality indication reaches a preset index;
if yes, establishing data proxy connection;
and when the data proxy connection is successfully established, acquiring a second proxy data threshold value corresponding to the wireless channel parameter.
4. An apparatus for processing proxy data, comprising:
the acquisition module is used for acquiring the proxy data from the server by the source base station;
the first judgment module is used for judging whether the source base station meets the preset acquisition stopping condition; the source base station simultaneously sends the acquired proxy data to a terminal;
the second judgment module is used for stopping acquiring the proxy data from the server and judging whether the terminal is switched among the stations or not;
a third judging module, configured to judge whether there is first remaining proxy data that is unsuccessfully sent to the terminal in the source base station;
the sending module is used for sending the first residual proxy data to the terminal by adopting a preset scheme;
wherein the preset stop acquiring condition comprises: whether the data volume of the proxy data is larger than a first proxy data threshold value or not, or whether the source base station starts data switching or not;
wherein, the device still includes:
the fourth judging module is used for judging whether all the first residual proxy data are sent to the terminal or not when the terminal executes the inter-station switching;
the second residual proxy data module is used for acquiring second residual proxy data which is successfully sent to the terminal;
the data switching module is used for sending the second residual proxy data to a target base station through data switching; the target base station is used for sending the second residual proxy data to the terminal;
a detection module, configured to detect whether response information for transmission completion is received when all the second remaining proxy data is transmitted to the target base station;
the judging module is used for judging that all the second residual proxy data are successfully sent to the target base station; if not, the second residual proxy data is sent to the target base station again until all the second residual proxy data are successfully sent to the target base station;
switching between the stations to switch the terminal from a source base station to a target base station; the data switching means that the source base station sends the residual proxy data to the target base station;
the agent data threshold value obtaining sub-module sending module comprises:
the inter-station switching request submodule is used for sending an inter-station switching request to the target base station;
the inter-station switching receiving submodule is used for receiving the inter-station switching agreement information sent by the target base station;
the switching instruction sending submodule is used for sending an inter-station switching instruction to the terminal, promoting the uplink and downlink scheduling priority of the data of the terminal and starting an uplink pre-scheduling function;
and the proxy data sending submodule is used for sending the first residual proxy data to the terminal.
5. The apparatus of claim 4, wherein the first determining module comprises:
a wireless channel parameter obtaining submodule for obtaining wireless channel parameters of the terminal;
the agent data threshold value acquisition sub-module is used for acquiring a second agent data threshold value corresponding to the wireless channel parameter;
the agent data threshold value judging submodule is used for judging whether the second agent data threshold value is larger than the first agent data threshold value;
a proxy data threshold value modification sub-module, configured to replace the first proxy data threshold value with the second proxy data threshold value, and meanwhile, continue to obtain the proxy data from the server until the data amount of the proxy data is greater than the second proxy data threshold value;
the agent data threshold value modification sub-module is further configured to stop obtaining the agent data from the server, and replace the first agent data threshold value with the second agent data threshold value.
6. The apparatus of claim 5, wherein the radio channel parameters comprise a power headroom, a sounding reference signal, and a channel quality indication;
the agent data threshold value obtaining sub-module comprises:
an index judgment unit, configured to judge whether at least one of the power headroom, the sounding reference signal, and the channel quality indication reaches a preset index;
the connection unit is used for establishing data proxy connection;
and the second proxy data threshold value acquisition unit is used for acquiring a second proxy data threshold value corresponding to the wireless channel parameter when the data proxy connection is successfully established.
CN201811409194.5A 2018-11-23 2018-11-23 Proxy data processing method and device Active CN111225422B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811409194.5A CN111225422B (en) 2018-11-23 2018-11-23 Proxy data processing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811409194.5A CN111225422B (en) 2018-11-23 2018-11-23 Proxy data processing method and device

Publications (2)

Publication Number Publication Date
CN111225422A CN111225422A (en) 2020-06-02
CN111225422B true CN111225422B (en) 2021-05-07

Family

ID=70828676

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811409194.5A Active CN111225422B (en) 2018-11-23 2018-11-23 Proxy data processing method and device

Country Status (1)

Country Link
CN (1) CN111225422B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113766580B (en) * 2020-06-03 2022-06-21 大唐移动通信设备有限公司 Method, device and storage medium for realizing mutual switching between 4G and 5G networks

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101114999A (en) * 2007-08-26 2008-01-30 上海华为技术有限公司 Data transmission control method and data transmission set
CN102026281A (en) * 2010-12-21 2011-04-20 大唐移动通信设备有限公司 Method and device for realizing TCP (transmission control protocol) proxy based on RNC (radio network controller)
CN102355462A (en) * 2011-10-09 2012-02-15 大唐移动通信设备有限公司 Method and device for realizing TCP (Transmission Control Protocol) transmission
CN105934922A (en) * 2014-12-19 2016-09-07 华为技术有限公司 Apparatus, system and method for preventing TCP connection interruption
CN106973407A (en) * 2016-01-13 2017-07-21 中国移动通信集团公司 The transmission method and device of a kind of business datum
CN107211331A (en) * 2014-12-01 2017-09-26 三星电子株式会社 Method and apparatus, switching support method and its device of the TCP connections disconnected for configuring in a communications system

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140089468A1 (en) * 2012-09-27 2014-03-27 Donald Joong Request-agnostic caching for a data resource collection

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101114999A (en) * 2007-08-26 2008-01-30 上海华为技术有限公司 Data transmission control method and data transmission set
CN102026281A (en) * 2010-12-21 2011-04-20 大唐移动通信设备有限公司 Method and device for realizing TCP (transmission control protocol) proxy based on RNC (radio network controller)
CN102355462A (en) * 2011-10-09 2012-02-15 大唐移动通信设备有限公司 Method and device for realizing TCP (Transmission Control Protocol) transmission
CN107211331A (en) * 2014-12-01 2017-09-26 三星电子株式会社 Method and apparatus, switching support method and its device of the TCP connections disconnected for configuring in a communications system
CN105934922A (en) * 2014-12-19 2016-09-07 华为技术有限公司 Apparatus, system and method for preventing TCP connection interruption
CN106973407A (en) * 2016-01-13 2017-07-21 中国移动通信集团公司 The transmission method and device of a kind of business datum

Also Published As

Publication number Publication date
CN111225422A (en) 2020-06-02

Similar Documents

Publication Publication Date Title
US11558276B2 (en) Latency prediction and guidance in wireless communication systems
US10512004B2 (en) Indicating status of forwarded data
Tan et al. Supporting mobile VR in LTE networks: How close are we?
US8155083B2 (en) Technique for configuring link layer entities for a handover
US11812312B2 (en) Link quality based single radio-voice call continuity and packet scheduling for voice over long term evolution communications
EP3328146B1 (en) System and method for providing improved non-orthogonal multiple access in a wireless communication network
US20160234851A1 (en) Data transmission apparatus and method
KR101325923B1 (en) Enhanced data transport system for mobile phone and method using the same
US20220078247A1 (en) Data Transmission Method and Communications Device
KR20160064142A (en) Hybrid management of handovers in a self organizing network (son)
US10425868B2 (en) Apparatus, system, and method for preventing TCP connection interruption
EP3425957B1 (en) Selective robust header compression (rohc) for a voip call in a cellular communications network
JP6987872B2 (en) Radio state trigger for bitrate request for codec rate adaptation
US20150146535A1 (en) Adaptive non-real-time traffic control method and terminal for same
US20210289537A1 (en) Communications method and apparatus
EP4145741A1 (en) Data transmission processing method and device, communication apparatus, and storage medium
CN111225422B (en) Proxy data processing method and device
CN108632933B (en) Data transmission method and device and user equipment
WO2021223163A1 (en) Information transmission method and apparatus, and communication device
CN111201825B (en) Transmission block configuration parameter transmission method, device, communication equipment and storage medium
US10938522B2 (en) Low latency service feedback
US20230011296A1 (en) Method and apparatus for processing uplink transmission
CN110831155B (en) Information transmission method, equipment and system
US10813110B2 (en) Method and apparatus for scheduling terminal radio resources
US20240049331A1 (en) Method and apparatus for transmitting data, communication device, and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant