Invention content
The present invention provides a kind of method and apparatus carrying out data synchronization, is used in terminal and network side equipment to provide
The data of decompression occur it is asynchronous after processing method.
It is provided by the invention it is a kind of carry out data synchronization method include:
Terminal determines that data of the terminal for being compressed are asynchronous with the data that network side equipment is used to unzip it;
The data that terminal-pair terminal is used to be compressed are handled, so that data and network that terminal is used to be compressed
The data that side apparatus is used to unzip it synchronize.
Optionally, terminal determines the data that data of the terminal for being compressed are used to unzip it with network side equipment
It is asynchronous, including:
Terminal caches nonsynchronous instruction information or needs and network side equipment in the expression for receiving network side equipment transmission
After carrying out RRC connections foundation, the data that data of the terminal for being compressed are used to unzip it with network side equipment are determined
It is asynchronous.
Optionally, terminal is received by RRC reconfiguration messages or MAC Control Element indicates to cache nonsynchronous instruction letter
Breath.
Optionally, indicate that it is PDCP state reports to cache nonsynchronous instruction information.
Optionally, the data for being compressed are the data in compressed cache;
The data that terminal-pair terminal is used to be compressed are handled, including:
Terminal deletes the data of redundancy in compressed cache according to PDCP state reports.
Optionally, the data for being compressed are the data in compressed cache;
The data that terminal-pair terminal is used to be compressed are handled, including:
Terminal empties the data in compressed cache;Or
Data in compressed cache are sent to network side equipment by terminal.
Optionally, the data in compressed cache are sent to network side equipment by terminal, including:
Data in compressed cache are sent to network side equipment by terminal by user plane, or are disappeared by control plane RRC
Data in compressed cache are sent to network side equipment by breath.
Optionally, the data for being compressed are compressed cache index lists;
The data that terminal-pair terminal is used to be compressed are handled, including:
The compressed cache index list that terminal notification network side equipment uses.
Optionally, the compressed cache index list that terminal notification network side equipment uses, including:
Terminal notifies the compressed cache index list that network side equipment uses by RRC information.
Another method for carrying out data synchronization provided by the invention, including:
Network side equipment determines that the data for unziping it are asynchronous with the data that terminal is used to be compressed;
Network side equipment handles the data for unziping it, so that network side equipment is for unziping it
Data and the terminal data that are used to be compressed it is synchronous.
Optionally, network side equipment determines that the data for unziping it are different from the data that terminal is used to be compressed
Step, including:
Network side equipment determines the data for unziping it with terminal for being compressed after meeting exceptional condition
Data it is asynchronous;
Wherein, exceptional condition include it is following in some or all of:
The caching check bit carried in the compressed data sent according to terminal carries out verification failure;
Failure is demodulated according to the compressed data that terminal is sent;
Radio link failure;
It needs to connect foundation with terminal progress RRC.
Optionally, the data for unziping it are the data in compressed cache;
Network side equipment handles the data for unziping it, including:
Network side equipment empties the data in compressed cache, and is sent to terminal and indicate to cache nonsynchronous instruction information,
So that terminal empties the data in compressed cache;Or
Network side equipment will be in the compressed cache of the data alternative networks side apparatus in the compressed cache for the terminal that received
Data;Or
Network side equipment to terminal send PDCP state reports so that in terminal deletion compressed cache redundancy data.
Optionally, network side equipment determines that the data for unziping it are different from the data that terminal is used to be compressed
After step, before the data in the compressed cache of the data alternative networks side apparatus in the compressed cache of the terminal received, also
Including:
Network side equipment is sent to terminal to be indicated to cache nonsynchronous instruction information.
Optionally, network side equipment receives the data in the compressed cache of terminal by RRC information.
Optionally, the data for unziping it are compressed cache index lists;
Network side equipment handles the data for unziping it, including:
Network side equipment determines the compressed cache index list that terminal uses according to the notice of terminal.
Optionally, network side equipment determines that the data for unziping it are different from the data that terminal is used to be compressed
After step, before determining the compressed cache index list that terminal uses according to the notice of terminal, further include:
Network side equipment is sent to terminal to be indicated to cache nonsynchronous instruction information.
Optionally, network side equipment receives the notice of terminal by RRC information.
Optionally, network side equipment is sent to terminal indicates to cache nonsynchronous instruction information, including:
Network side equipment is sent to terminal by RRC reconfiguration messages or MAC Control Element and indicates to cache nonsynchronous finger
Show information.
A kind of terminal carrying out data synchronization provided by the invention, including:
First determining module, for determining data of the terminal for being compressed with network side equipment for unziping it
Data it is asynchronous;
First processing module, the data for being used to be compressed to terminal are handled, so that terminal is for being pressed
The data of contracting are synchronous with the data that network side equipment is used to unzip it.
Optionally, the first determining module is specifically used for:
Nonsynchronous instruction information is cached in the expression for receiving network side equipment transmission or needs to carry out with network side equipment
After RRC connections are established, determine that data of the terminal for being compressed are different from the data that network side equipment is used to unzip it
Step.
Optionally, the first determining module is specifically used for:
It is received by RRC reconfiguration messages or MAC Control Element and indicates to cache nonsynchronous instruction information.
Optionally, indicate that it is PDCP state reports to cache nonsynchronous instruction information.
Optionally, the data for being compressed are the data in compressed cache;
First processing module is specifically used for:
According to PDCP state reports, the data of redundancy in compressed cache are deleted.
Optionally, the data for being compressed are the data in compressed cache;
First processing module is specifically used for:
Empty the data in compressed cache;Or
Data in compressed cache are sent to network side equipment.
Optionally, first processing module is specifically used for:
The data in compressed cache are sent to network side equipment by user plane, or will by control plane RRC information
Data in compressed cache are sent to network side equipment.
Optionally, the data for being compressed are compressed cache index lists;
First processing module is specifically used for:
The compressed cache index list that notice network side equipment uses.
Optionally, first processing module is specifically used for:
Terminal notifies the compressed cache index list that network side equipment uses by RRC information.
A kind of network side equipment carrying out data synchronization provided by the invention, including:
Second determining module, for determining that the data for unziping it are different from the data that terminal is used to be compressed
Step;
Second processing module, for handling the data for unziping it so that network side equipment be used for into
The data of row decompression are synchronous with the data that terminal is used to be compressed.
Optionally, the second determining module is specifically used for:
After meeting exceptional condition, determine that the data for unziping it are different from the data that terminal is used to be compressed
Step;
Wherein, exceptional condition include it is following in some or all of:
The caching check bit carried in the compressed data sent according to terminal carries out verification failure;
Failure is demodulated according to the compressed data that terminal is sent;
Radio link failure;
It needs to connect foundation with terminal progress RRC.
Optionally, the data for unziping it are the data in compressed cache;
Second processing module is specifically used for:
The data in compressed cache are emptied, and is sent to terminal and indicates to cache nonsynchronous instruction information, so that terminal is clear
Data in empty compressed cache;Or
By the data in the compressed cache of the data alternative networks side apparatus in the compressed cache of the terminal received;Or
To terminal send PDCP state reports so that in terminal deletion compressed cache redundancy data.
Optionally, Second processing module is additionally operable to:
After determining that the data for unziping it are asynchronous with the data that terminal is used to be compressed, sent out to terminal
Expression is sent to cache nonsynchronous instruction information;
By the data in the compressed cache of the data alternative networks side apparatus in the compressed cache of the terminal received.
Optionally, Second processing module is specifically used for:
The data in the compressed cache of terminal are received by RRC information.
Optionally, the data for unziping it are compressed cache index lists;
Second processing module is specifically used for:
The compressed cache index list that terminal uses is determined according to the notice of terminal.
Optionally, Second processing module is additionally operable to:
After determining that the data for unziping it are asynchronous with the data that terminal is used to be compressed, sent out to terminal
Expression is sent to cache nonsynchronous instruction information;
The compressed cache index list that terminal uses is determined according to the notice of terminal.
Optionally, Second processing module is specifically used for:
The notice of terminal is received by RRC information.
Optionally, Second processing module is specifically used for:
It is sent to terminal by RRC reconfiguration messages or MAC Control Element and indicates to cache nonsynchronous instruction information.
The method for synchronizing compression provided according to embodiments of the present invention, terminal can terminal determine itself for into
In the case of data of the data of row compression with network side equipment for unziping it are nonsynchronous, to terminal for compressing
Data handled so that the data for being compressed of terminal and the data that network side equipment is used to unzip it are same
Step, therefore the embodiment of the present invention can be used to unzip it in data of the terminal for compressed and network side equipment
Data it is asynchronous when, handled by the data for being compressed to terminal, in terminal and network side equipment
Decompression data occur it is asynchronous after can make terminal data for being compressed and network side equipment for carrying out
The synchronization of the data of decompression, further improves system performance.
Specific implementation mode
To make the objectives, technical solutions, and advantages of the present invention clearer, below in conjunction with attached drawing to the present invention make into
It is described in detail to one step, it is clear that described embodiments are only a part of the embodiments of the present invention, rather than whole implementation
Example.Based on the embodiments of the present invention, obtained by those of ordinary skill in the art without making creative efforts
All other embodiment, shall fall within the protection scope of the present invention.
In the method that Fig. 1 illustrates to synchronize compression in the embodiment of the present invention, this approach includes the following steps:
Step 101:Terminal determines the number that data of the terminal for being compressed are used to unzip it with network side equipment
According to asynchronous;
Step 102:The data that terminal-pair terminal is used to be compressed are handled, so that the number that terminal is used to be compressed
It is synchronous according to the data for being used to unzip it with network side equipment.
In embodiments of the present invention, terminal is determining data of the terminal for being compressed with network side equipment for carrying out
After the data of decompression are asynchronous, processing can be carried out by the data for being used to be compressed to terminal so that terminal is used to carry out
The data that the data of compression and network side equipment are used to unzip it are synchronouss, therefore can be used to being compressed in terminal
In the case of the data of data and network side equipment for decompression are nonsynchronous, realize the data for being compressed of terminal with
The synchronization for the data that network side equipment is used to unzip it, and then realize the correct decompressed of upstream data.
Wherein, the data for being compressed in the embodiment of the present invention refer to that terminal is used when carrying out upstream data compression
In the data that the data compressed to needs are compressed, such as it can be the caching used when terminal-pair upstream data is compressed
Data can also be the compressed cache index list used when terminal-pair upstream data is compressed;In the embodiment of the present invention
Data for unziping it refer to data of the network side equipment when carrying out upstream data decompression for being compressed to needs
The data compressed, such as can use data cached when network side equipment unzips it upstream data, also may be used
To be the compressed cache index list used when network side equipment unzips it upstream data.
Optionally, terminal determines the data that data of the terminal for being compressed are used to unzip it with network side equipment
It is asynchronous, including:Terminal caches nonsynchronous instruction information or needs and network side in the expression for receiving network side equipment transmission
After equipment carries out RRC (Radio Resource Control, wireless heterogeneous networks) connection foundation, determine terminal for being pressed
The data of contracting are asynchronous with the data that network side equipment is used to unzip it.
In the embodiment of the present invention, the expression that terminal can be sent according to the network side equipment received caches nonsynchronous instruction
Information judges that the data that itself is used to be compressed are asynchronous with the data that network side equipment is used to unzip it;Terminal also may be used
After judging to need to reconfigure with network side equipment progress RRC, to determine that data of the terminal for being compressed are set with network side
It is asynchronous to be ready for use on the data unziped it.Wherein, it includes establishing the reconstruction that RRC connections are connected with RRC that RRC connections, which are established,
It is vertical, due to during carrying out RRC connections and establishing, the data for being compressed of terminal and network side equipment be used for into
The data of row decompression may be nonsynchronous, therefore terminal is in the determining use for needing to carry out to determine terminal when RRC connections are established
It is asynchronous in the data for unziping it of the data and network side equipment compressed, need the synchronization for carrying out data.
Optionally, terminal is received by RRC reconfiguration messages or MAC Control Element indicates to cache nonsynchronous instruction letter
Breath.
In the embodiment of the present invention, terminal after the expression for receiving network side equipment transmission caches nonsynchronous instruction information,
Judge that itself data for the data compressed with network side equipment for unziping it is asynchronous, wherein terminal can be with
It is received by RRC reconfiguration messages and indicates to cache nonsynchronous instruction information.Disappear for example, network side equipment is reconfigured by RRC
It ceases to send to terminal and indicates to cache nonsynchronous instruction information, then terminal judges that itself is used after receiving the RRC reconfiguration messages
It is asynchronous with the data that network side equipment is used to unzip it in the data compressed.
Network side equipment can also indicate the nonsynchronous instruction information of caching by newly-built MAC Control Element, such as newly
Build Flush UDC buffer MAC CE (emptying upstream data compressed cache MAC Control Element), wherein MAC Control Element can
To be the control unit of 8 bits either 0 bit or extended formatting.As shown in table 1, network side equipment can be in existing uplink
It is extended on the basis of shared logic channel logo, from selection in retention (Reserved), any one is used to indicate newly-increased
MAC Control Element Logic Channel Identifier (such as index value be 10100 unit), such as selection retention 01100 indicate newly
The MAC Control Element Logic Channel Identifier 10100 of introducing.
Table 1
Optionally, indicate that it is PDCP (Packet Data Convergence to cache nonsynchronous instruction information
Protocol, Packet Data Convergence Protocol) state report.
In the embodiment of the present invention, terminal can cache nonsynchronous instruction information according to the expression received and judge that itself is used for
The data compressed are asynchronous with the data that network side equipment is used to unzip it, wherein indicate to cache nonsynchronous finger
Show that information can be the PDCP state reports that network side equipment is sent.
Network side equipment can generate after the upstream data for receiving terminal transmission and send PDCP state reports to terminal
It accuses, the PDCP SDU (Service Data Unit, service data unit) for being used to indicate transmission failure or losing, terminal exists
It, can be according to the data for unziping it of instruction adjustment self maintained after receiving PDCP state reports.
Optionally, the data for being compressed are the data in compressed cache;What terminal-pair terminal was used to be compressed
Data are handled, including:Terminal deletes the data of redundancy in compressed cache according to PDCP state reports.
In the embodiment of the present invention, terminal, can be according to the use of instruction adjustment self maintained after receiving PDCP state reports
In the data unziped it, if the data for being compressed are the data in compressed cache, terminal can be according to PDCP
The instruction of state report carries out delete operation to the redundant data in compressed cache, for example, network side equipment passes through PDCP states
Report itself is not received data packet sequence number notice terminal, then terminal after receiving PDCP state reports, according to
PDCP state reports delete the corresponding data of the data packet not received of own cache;Network side equipment can also pass through PDCP
The sequence number for the data packet that state report instruction terminal is properly received, due to the sequence of the entire packet sent known to terminal
Number, then the sequence number for the data packet being not successfully received known to terminal, terminal is in the sequence number for determining the data packet being not successfully received
Afterwards, it needs to delete corresponding data during slow compression is deposited.
Optionally, the data for being compressed are the data in compressed cache;What terminal-pair terminal was used to be compressed
Data are handled, including:Terminal empties the data in compressed cache;Or the data in compressed cache are sent to network by terminal
Side apparatus.
In the embodiment of the present invention, if the data for being compressed are the data in compressed cache, terminal is judging certainly
After the data that body is used to be compressed are asynchronous with the data that network side equipment is used to unzip it, itself compression can be emptied
Data in caching.For example, terminal removes the data for being compressed of itself and network side equipment removes the use of itself
In the data unziped it, then the data that data and network side equipment of the terminal for being compressed are used to unzip it are extensive
Multiple synchronous regime, network side equipment can correctly unzip it operation after receiving uplink compressed data.
In the embodiment of the present invention, if the data for being compressed are the data in compressed cache, terminal can also incite somebody to action
Data in compressed cache are sent to network side equipment.For example, the data in compressed cache that itself is stored are sent to by terminal
The data are replaced with the data for unziping it of itself by network side equipment, network side equipment after receiving the data,
The data that then terminal is used to be compressed restore synchronous regime with the data that network side equipment is used to unzip it, and network side is set
For after receiving uplink compressed data, operation can be correctly unziped it.
Optionally, the data in compressed cache are sent to network side equipment by terminal, including:Terminal will be pressed by user plane
Data in contracting caching are sent to network side equipment, or are sent to the data in compressed cache by control plane RRC information
Network side equipment.
In the embodiment of the present invention, the data in compressed cache can be sent to network side in several ways and set by terminal
It is standby, for example, terminal can regard compressed cache as business datum by user plane is sent to network side equipment, in addition, terminal
The data in compressed cache can be placed in RRC information (such as RRC is reconfigured and completed message) by control plane, and is sent to
Network side equipment.
RRC information in the embodiment of the present invention can be the processes such as RRC connections are established, and RRC connection reconstructions or RRC are reconfigured
Related RRC messages.
Optionally, the data for being compressed are compressed cache index lists;What terminal-pair terminal was used to be compressed
Data are handled, including:The compressed cache index list that terminal notification network side equipment uses.
Compressed cache index list be pre-configured to be in terminal and network side equipment for being indexed to compressed content
List can generally be configured with the compressed cache index list of identical content in terminal and network side equipment, but due to compressed cache
The problems such as version of index list is different or parsing is wrong, the compressed cache index list of terminal and network side equipment will appear
Nonsynchronous situation.
In the embodiment of the present invention, if the data that terminal is used to be compressed are compressed cache index lists, terminal is being sentenced
After the disconnected data for itself being used to be compressed are asynchronous with the data that network side equipment is used to unzip it, network can be notified
The compressed cache index list that side apparatus uses, so that network side equipment is updated according to the compressed cache index list of terminal notification
The compressed cache index list of itself.
In addition, terminal can be pre-configured with one or more synchronous compressed cache index list with network side equipment,
Then terminal can also notify the sequence number for the compressed cache index list that itself is used to network side equipment, then network side equipment
The decompression of upstream data can be carried out using corresponding compressed cache index list according to the sequence number of terminal notification.
Optionally, the compressed cache index list that terminal notification network side equipment uses, including:Terminal passes through RRC information
The compressed cache index list that notice network side equipment uses.
In the embodiment of the present invention, terminal can be by compressed cache index list that RRC information uses itself to network
Side apparatus is notified.In addition, the compressed cache index list that terminal can also be used itself by user plane is used as business
Data are notified to network side equipment.
As shown in Fig. 2, another method for carrying out data synchronization provided in an embodiment of the present invention, includes the following steps:
Step 201:Network side equipment determines data of the data with terminal for being compressed for unziping it not
It is synchronous;
Step 202:Network side equipment handles the data for unziping it so that network side equipment be used for into
The data of row decompression are synchronous with the data that terminal is used to be compressed.
In embodiments of the present invention, network side equipment determine itself for the data that unzip it and terminal be used for into
After the data compressed of going are asynchronous, it can be handled by the data for being used to unzip it to itself so that network side is set
It is synchronouss with the data that terminal is used to be compressed to be ready for use on the data that unzip it, thus can network side equipment for into
In the case of data of the data of row decompression with terminal for being compressed are nonsynchronous, realize network side equipment for being solved
The data of compression are synchronous with the data that terminal is used to be compressed, and then realize the correct decompressed of upstream data.
Wherein, the data for unziping it in the embodiment of the present invention refer to that network side equipment is carrying out upstream data
The data that data when decompression for being compressed to needs are compressed, such as can be that network side equipment carries out upstream data
That is used when decompression is data cached, can also be the compressed cache used when network side equipment unzips it upstream data
Index list;The data for being compressed in the embodiment of the present invention refer to terminal when carrying out upstream data compression for pair
The data for needing the data compressed to be compressed, such as can be the caching number used when terminal-pair upstream data is compressed
According to can also be the compressed cache index list used when terminal-pair upstream data is compressed.
Optionally, network side equipment determines that the data for unziping it are different from the data that terminal is used to be compressed
Step, including:Network side equipment determines the data for unziping it with terminal for being compressed after meeting exceptional condition
Data it is asynchronous;Wherein, exceptional condition include it is following in some or all of:It is carried in the compressed data sent according to terminal
Caching check bit carry out verification failure;Failure is demodulated according to the compressed data that terminal is sent;Radio link failure;It needs
RRC, which is carried out, with terminal connect foundation.
In the embodiment of the present invention, network side equipment after meeting exceptional condition, determine data for unziping it with
The data that terminal is used to be compressed are asynchronous, for example, network side equipment can be taken in the compressed data sent according to terminal
After the caching check bit of band carries out verification failure, the data that the data for unziping it are used to be compressed with terminal are determined
It is asynchronous.Wherein, it after the compressed data for receiving terminal transmission, can be verified according to the caching check bit wherein carried, such as
Fruit verification fails, then network side equipment can determine data of the data with terminal for being compressed for unziping it not
It is synchronous.
In the embodiment of the present invention, network side equipment receive terminal transmission compressed data after, need to compressed data into
Row decompression, if the de-compression failure of network side equipment, network side equipment can determine the data for unziping it
It is asynchronous with the data that terminal is used to be compressed.
In the embodiment of the present invention, network side equipment can also determine after radio link failure for being decompressed
The data of contracting are asynchronous with the data that terminal is used to be compressed.For example, network side equipment can judge current communication chain
After the too poor generation loss of link of road quality, determine that the data for unziping it are different from the data that terminal is used to be compressed
Step.
Optionally, the data for unziping it are the data in compressed cache;Network side equipment is to being used to solve
The data of compression are handled, including:Network side equipment empties the data in compressed cache, and is sent to terminal and indicate caching not
Synchronous instruction information, so that terminal empties the data in compressed cache;Or network side equipment delays the compression of the terminal received
Data in the compressed cache for the data alternative networks side apparatus deposited;Or network side equipment sends PDCP state reports to terminal
Accuse so that in terminal deletion compressed cache redundancy data.
In the embodiment of the present invention, if the data for unziping it are the data in compressed cache, network side equipment
After determining that the data for unziping it are asynchronous with the data that terminal is used to be compressed, it can empty in compressed cache
Data, and sent to terminal and indicate to cache nonsynchronous instruction information, so that terminal empties the data in compressed cache.Example
Such as, network side equipment determine itself for unzip it volume it is data cached be used to be compressed with terminal it is data cached not
After synchronizing, the data cached for unziping it of itself can be emptied, and it is slow for what is compressed to notify that terminal is emptied
Deposit data, so that the data cached recovery for being compressed of the data cached and terminal for unziping it of itself is same
(the data cached and terminal for unziping it of network side equipment is data cached for being compressed at this time for step state
It is in empty), therefore network side equipment can be normally carried out the decompression of the data in compressed cache.
In the embodiment of the present invention, if the data for unziping it are the data in compressed cache, network side equipment
It, can be by the terminal received after determining that the data for unziping it are asynchronous with the data that terminal is used to be compressed
Data in the compressed cache of data alternative networks side apparatus in compressed cache.For example, network side equipment is determining itself use
In the volume that unzips it is data cached be used to be compressed with terminal it is data cached it is asynchronous after, terminal transmission can be received
For the data cached of compression, and replace with itself for decompression it is data cached so that itself be used for unzip it
The data cached data cached recovery synchronous regime for being compressed with terminal, network side equipment thus can normally into
The decompression of row compressed data.
In the embodiment of the present invention, if the data for unziping it are the data in compressed cache, network side equipment
After determining that the data for unziping it are asynchronous with the data that terminal is used to be compressed, PDCP can be sent to terminal
State report so that in terminal deletion compressed cache redundancy data.Wherein, PDCP state reports be used to indicate transmission failure or
The PDCP SDU that person loses, so that terminal after receiving PDCP state reports, can be used for according to instruction adjustment self maintained
The data unziped it.For example, network side equipment after the data in receiving compressed cache, determines the data packet lost and life
At the PDCP state reports for indicating the data-bag lost, and pass through the corresponding pressure of the PDCP state reports instruction terminal data packet
Data in contracting caching are the data of redundancy, then terminal is deleted certainly after receiving PDCP state reports according to PDCP state reports
The corresponding data of the data packet of body caching, so that the use of the data cached and terminal for unziping it of network side equipment
In the data cached recovery synchronous regime compressed, therefore network side equipment can be normally carried out the data in compressed cache
Decompression.
Optionally, network side equipment determines that the data for unziping it are different from the data that terminal is used to be compressed
After step, before the data in the compressed cache of the data alternative networks side apparatus in the compressed cache of the terminal received, also
Including:Network side equipment is sent to terminal to be indicated to cache nonsynchronous instruction information.
In the embodiment of the present invention, network side equipment is determining the data for unziping it with terminal for being compressed
Data it is asynchronous after, can be sent to terminal and indicate to cache nonsynchronous instruction information so that terminal according to instruction information to
Network side equipment sends the data in the compressed cache of terminal, number of the network side equipment in the compressed cache for receiving terminal transmission
According to rear, which is replaced with into the data in itself compressed cache.
Optionally, the data for unziping it are compressed cache index lists;Network side equipment is to being used to solve
The data of compression are handled, including:Network side equipment determines the compressed cache index column that terminal uses according to the notice of terminal
Table.
In the embodiment of the present invention, if the data for unziping it are compressed cache index list, network side equipment
It can be after determining that the data for unziping it are asynchronous with the data that terminal is used to be compressed, according to the notice of terminal
Determine the compressed cache index list that terminal uses.For example, the compressed cache index that terminal instruction network side equipment itself uses
List, network side equipment receives the compressed cache index list and the compressed cache index list indicated according to terminal is decompressed
Contracting is handled, it will be able to carry out correct decompressed to compressed data.
In addition, terminal can be pre-configured at least one synchronous compressed cache index list with network side equipment, then eventually
End can also notify the sequence number for the compressed cache index list that itself is used to network side equipment, then network side equipment can be with
The decompression of upstream data is carried out using corresponding compressed cache index list according to the sequence number of terminal notification.
Optionally, network side equipment determines that the data for unziping it are different from the data that terminal is used to be compressed
After step, before determining the compressed cache index list that terminal uses according to the notice of terminal, further include:Network side equipment is to end
End, which is sent, to be indicated to cache nonsynchronous instruction information.
In the embodiment of the present invention, network side equipment is determining the data for unziping it with terminal for being compressed
Data it is asynchronous after, can be sent to terminal and indicate to cache nonsynchronous instruction information so that terminal according to instruction information to
Network side equipment sends the compressed cache index list that terminal uses, and network side equipment is in the compressed cache rope for receiving terminal transmission
After drawing list, the decompression of compressed data is carried out using the compressed cache index list.
Optionally, network side equipment receives the notice of terminal by RRC information.
In the embodiment of the present invention, it is slow that network side equipment can receive the compression that terminal is sent by the RRC information of control plane
Deposit index list.In addition, network side equipment can also receive the compressed cache index list that terminal is sent by user plane.
Optionally, network side equipment is sent to terminal indicates to cache nonsynchronous instruction information, including:Network side equipment is logical
It crosses RRC reconfiguration messages or MAC Control Element and sends the nonsynchronous instruction information of expression caching to terminal.
In the embodiment of the present invention, network side equipment can be sent to terminal by RRC reconfiguration messages and indicate that caching is different
The instruction information of step.For example, network side equipment after the data in emptying compressed cache, is reconfigured in the RRC sent to terminal
It is carried in message and indicates to cache nonsynchronous instruction information, so that terminal empties the data in compressed cache.
In the embodiment of the present invention, network side equipment page can be sent to terminal by MAC Control Element and indicate that caching is different
The instruction information of step.For example, network side equipment is sent out after the data in emptying compressed cache, by MAC Control Element to terminal
Carrying is sent to indicate to cache nonsynchronous instruction information, so that terminal empties the data in compressed cache.Such as shown in table 1, network
Side apparatus can select any one to be used to indicate newly-increased MAC Control Element, such as selection retention 01100 from retention
The MAC Control Element newly introduced as instruction.
Can be the data in terminal compressed cache since terminal is used for the data compressed in the embodiment of the present invention,
Can be the compressed cache index list that terminal is pre-configured, the data that network side equipment is used to unzip it can be network side
Data in the compressed cache of equipment can also be the compressed cache index list that network side equipment is pre-configured, and drop divides feelings below
Condition illustrates the method provided in an embodiment of the present invention for carrying out data synchronization.
If the data that terminal is used to be compressed are the data in terminal compressed cache, and network side equipment is for carrying out
The data of decompression are the data in network side equipment compressed cache, method such as Fig. 3 of progress data synchronization provided by the invention,
Shown in Fig. 4, Fig. 5 and Fig. 6;If the data that terminal is used to be compressed are the compressed cache index lists that terminal uses, and net
It is the compressed cache index list that network side equipment uses that network side apparatus, which is used for the data that unzip it, it is provided by the invention into
The method that row data synchronize is as shown in Figure 7 and Figure 8.
As shown in figure 3, the first method for carrying out data synchronization provided in an embodiment of the present invention includes the following steps:
Step 301:Network side equipment determines that the data in compressed cache are asynchronous with the data in terminal compressed cache;
Step 302:Network side equipment empties the data in the compressed cache of itself;
Step 303:Network side equipment is sent to terminal to be indicated to cache nonsynchronous instruction information;
Step 304:Terminal empties the data in the compressed cache of itself, terminates this stream later after receiving instruction information
Journey.
Terminal by UDC technique compresses and to network side equipment after sending uplink compressed data, and network side equipment is true
The caching check bit carried in the fixed compressed data sent according to terminal carries out verification failure, determines the compression sent according to terminal
After data demodulation failure or determining radio link failure, determine the data for unziping it with terminal for carrying out
The data of compression are asynchronous.
According to the method for carry out data synchronization as shown in Figure 3, number of the network side equipment in determining itself compressed cache
After asynchronous with the data in terminal compressed cache, the data in itself compressed cache can be emptied, and by indicating information
Terminal is notified to remove the data in compressed cache, after network side equipment is emptied with the data in terminal compressed cache, network
Side apparatus can be normally carried out the decompression of uplink compressed data, wherein network side equipment can be new in RRC reconfiguration messages
Increase the instruction information for emptying compressed cache, compressed cache can also be emptied by the MAC Control Element instruction terminal newly defined.
As shown in figure 4, the method for second of progress data synchronization provided in an embodiment of the present invention includes the following steps:
Step 401:Network side equipment determines that the data in compressed cache are asynchronous with the data in terminal compressed cache;
Step 402:Network side equipment is used to indicate superfluous in compressed cache according to the compressed data generation that could not correctly transmit
The PDCP state reports of remaining data;
Step 403:Network side equipment sends PDCP state reports to terminal;
Step 404:Terminal is deleted superfluous in itself compressed cache after receiving PDCP state reports according to PDCP state reports
Remaining data, terminate this flow later.
According to UDC technologies, terminal, can be in itself compressed cache when sending compression upstream data to network side equipment
Data are updated, once and transmitting uplink data failure (such as network side equipment do not receive terminal transmission sequence number pair
The data packet answered), the data in the compressed cache of network side equipment cannot timely update, and will appear terminal and network at this time
The nonsynchronous situation of compressed data of side apparatus.
For such case, according to the method for carry out data synchronization as shown in Figure 4, the network side in the embodiment of the present invention
Equipment can generate the PDCP state reports for the upstream data for being used to indicate transmission failure after determining transmitting uplink data failure
It accuses, wherein PDCP state reports can include the sequence number of the data packet of network side equipment reception failure, or include loss
The sequence number of data packet, terminal, can be according to the transmission failures that PDCP state reports indicate after receiving PDCP state reports
The sequence number of upstream data packet deletes the data of redundancy in the corresponding compressed cache of the data packet, therefore can make terminal and network
Data in side apparatus compressed cache are restored to synchronize.
As shown in figure 5, the third method for carrying out data synchronization provided in an embodiment of the present invention includes the following steps:
Step 501:Network side equipment determines that the data in compressed cache are asynchronous with the data in terminal compressed cache;
Step 502:Network side equipment is sent to terminal to be indicated to cache nonsynchronous instruction information;
Step 503:Data in compressed cache are sent to network side equipment by terminal after receiving instruction information;
Step 504:After data of the network side equipment in the compressed cache for receiving terminal transmission, the compressed cache that will receive
In data as the data in itself compressed cache, terminate this flow later.
According to the method for carry out data synchronization as shown in Figure 5, the number for unziping it is determined in network side equipment
It, can be by indicating information instruction terminal by the number in compressed cache after asynchronous with the data for being compressed of terminal
According to being sent to network side equipment.
Wherein, network side equipment can pass through RRC information or newly-built MAC Control Element (such as newly-built Flush UDC
Buffer MAC CE) to terminal transmission instruction information, and uplink scheduling authorization is carried in indicating information, to indicate end
End reports data or compressed cache index list in compressed cache;Terminal can also be in the finger for receiving network side equipment transmission
After showing information, the application of uplink scheduling authorization is carried out to network side equipment.
Terminal can will need the data in the compressed cache sent to be encapsulated as PDCP PDU (Protocol Data
Unit, protocol Data Unit), and the data in packaged compressed cache are sent to network side equipment.Wherein, terminal can be with
The quantity information of the PDCP PDU of encapsulation is encapsulated as PDCP PDU together and think network side equipment send, or encapsulation most
The instruction of the quantity information for the PDCP PDU being packaged in the latter PDCP PDU.
Network side equipment can be by RRC information or newly-built MAC Control Element indicating terminal to report compressed cache
Data, network side equipment, can be using the data as own cache after the data in receiving the compressed cache that terminal reports
In data, it is achieved that the synchronization of the data in data domain network side equipment compressed cache in terminal compressed cache.Example
It such as, can will be in the compressed cache of terminal when total amount of data smaller (being, for example, less than 64KB) in the compressed cache of terminal
Total data is sent to network side equipment.
As shown in fig. 6, the method for the 4th kind of progress data synchronization provided in an embodiment of the present invention includes the following steps:
Step 601:Terminal determination needs to carry out RRC connections foundation;
Step 602:Terminal sends the RRC information for carrying the data in terminal compressed cache to network side equipment;
Step 603:Network side equipment makees the data in the compressed cache received after the data in receiving compressed cache
For the data in itself compressed cache;
Step 604:Network side equipment is using the data in the compressed cache received as the data in itself compressed cache
Afterwards, confirmation message is sent to terminal;
Step 605:Terminal confirms the data in compressed cache by net after the confirmation message for receiving network side equipment transmission
Network side is properly received, and terminates this flow later.
Due to connect foundations in terminal and network side equipment (including RRC connections foundation and RRC connections is weighed carrying out RRC
Establish) when terminal the data for unziping it of the data and network side equipment for being compressed may be asynchronous
's.At this time according to the method as shown in FIG. 6 for carrying out data synchronization, terminal is during carrying out RRC connections foundation, Ke Yi
The data for being compressed of itself are carried in the RRC information sent to network side equipment, network side equipment is receiving terminal
Compressed cache in data after, can using the data as the data in itself compressed cache, therefore can realize terminal and
The synchronization of data in network side equipment compressed cache.
Network side equipment using the data in the compressed cache received as the data in itself compressed cache after, Ke Yixiang
Terminal sends confirmation message, so that terminal determines that network side equipment received correctly the data in compressed cache.Terminal is in determination
After network side equipment received correctly the data in compressed cache, the transmission of uplink compressed data can be started.
As shown in fig. 7, the method for the 5th kind of progress data synchronization provided in an embodiment of the present invention includes the following steps:
Step 701:Network side equipment determines that compressed cache index list is asynchronous with the compressed cache index list of terminal;
Step 702:Network side equipment is sent to terminal to be indicated to cache nonsynchronous instruction information;
Step 703:Compressed cache index list is sent to network side equipment by terminal after receiving instruction information;
Step 704:Network side equipment is after the compressed cache index list for receiving terminal transmission, the compressed cache that will receive
Index list terminates this flow later as the compressed cache index list of itself.
According to the method for carry out data synchronization as shown in Figure 7, at the compressed cache index list of network side equipment and end
It, can be by indicating that compressed cache index list be sent to by information instruction terminal after the compressed cache index list at end is asynchronous
Network side equipment, network side equipment are compressed after receiving compressed cache index list using the compressed cache index list
The decompression of data, it is achieved that the compressed cache index list of the compressed cache index list and network side equipment of terminal
It is synchronous.
As shown in figure 8, the method for the 6th kind of progress data synchronization provided in an embodiment of the present invention includes the following steps:
Step 801:Terminal determination needs to carry out RRC connections foundation;
Step 802:Terminal sends the RRC information for carrying terminal compressed cache index list to network side equipment;
Step 803:Network side equipment makees the compressed cache index list received after receiving compressed cache index list
The compressed cache index list for being used to unzip it for itself;
Step 804:Network side equipment is used to unzip it in the compressed cache index list that will be received as itself
After compressed cache index list, confirmation message is sent to terminal;
Step 805:Terminal confirms compressed cache index list by net after the confirmation message for receiving network side equipment transmission
Network side is properly received, and terminates this flow later.
For carrying out RRC connections foundation or the compressed cache index list of terminal and network side equipment when re-establishing
Compressed cache index list may be it is nonsynchronous, therefore terminal carry out RRC connections foundation during, according to Fig.8,
Method can send the compressed cache index list that use of terminal to network side equipment by RRC information, network side equipment exists
After the compressed cache index list for receiving terminal transmission, the compressed cache index list can be used to carry out the decompression of compressed data
Contracting, therefore can realize that terminal is synchronous with the compressed cache index list of network side equipment.
In the compressed cache that the data in the compressed cache received are used to unzip it by network side equipment as itself
After index list, confirmation message can be sent to terminal, so that terminal determines that network side equipment received correctly compressed cache rope
Draw list.Terminal can start uplink compressed data after determining that network side equipment received correctly compressed cache index list
Transmission.
As shown in figure 9, the terminal of the first progress data synchronization provided in an embodiment of the present invention, including:
First determining module 901, for determining data of the terminal for being compressed with network side equipment for being solved
The data of compression are asynchronous;
First processing module 902, the data for being used to be compressed to terminal are handled, so that terminal is for carrying out
The data of compression are synchronous with the data that network side equipment is used to unzip it.
Optionally, the first determining module 901 is specifically used for:
Nonsynchronous instruction information is cached in the expression for receiving network side equipment transmission or needs to carry out with network side equipment
After RRC connections are established, determine that data of the terminal for being compressed are different from the data that network side equipment is used to unzip it
Step.
Optionally, the first determining module 901 is specifically used for:
It is received by RRC reconfiguration messages or MAC Control Element and indicates to cache nonsynchronous instruction information.
Optionally, indicate that it is PDCP state reports to cache nonsynchronous instruction information.
Optionally, the data for being compressed are the data in compressed cache;
First processing module 902 is specifically used for:
According to PDCP state reports, the data of redundancy in compressed cache are deleted.
Optionally, the data for being compressed are the data in compressed cache;
First processing module 902 is specifically used for:
Empty the data in compressed cache;Or
Data in compressed cache are sent to network side equipment.
Optionally, first processing module 902 is specifically used for:
The data in compressed cache are sent to network side equipment by user plane, or will by control plane RRC information
Data in compressed cache are sent to network side equipment.
Optionally, the data for being compressed are compressed cache index lists;
First processing module 902 is specifically used for:
The compressed cache index list that notice network side equipment uses.
Optionally, first processing module 902 is specifically used for:
Terminal notifies the compressed cache index list that network side equipment uses by RRC information.
As shown in Figure 10, the network side equipment of the first progress data synchronization provided in an embodiment of the present invention, including:
Second determining module 1001, the data for being used to be compressed with terminal for determining the data for unziping it
It is asynchronous;
Second processing module 1002, for handling the data for unziping it, so that network side equipment is used
It is synchronous with the data that terminal is used to be compressed in the data unziped it.
Optionally, the second determining module 1001 is specifically used for:
After meeting exceptional condition, determine that the data for unziping it are different from the data that terminal is used to be compressed
Step;
Wherein, exceptional condition include it is following in some or all of:
The caching check bit carried in the compressed data sent according to terminal carries out verification failure;
Failure is demodulated according to the compressed data that terminal is sent;
Radio link failure;
It needs to connect foundation with terminal progress RRC.
Optionally, Second processing module 1002 is specifically used for:
The data in compressed cache are emptied, and is sent to terminal and indicates to cache nonsynchronous instruction information, so that terminal is clear
Data in empty compressed cache;Or
By the data in the compressed cache of the data alternative networks side apparatus in the compressed cache of the terminal received;Or
To terminal send PDCP state reports so that in terminal deletion compressed cache redundancy data.
Optionally, Second processing module 1002 is additionally operable to:
After determining that the data for unziping it are asynchronous with the data that terminal is used to be compressed, sent out to terminal
Expression is sent to cache nonsynchronous instruction information;
By the data in the compressed cache of the data alternative networks side apparatus in the compressed cache of the terminal received.
Optionally, Second processing module 1002 is specifically used for:
The data in the compressed cache of terminal are received by RRC information.
Optionally, the data for unziping it are compressed cache index lists;
Second processing module 1002 is specifically used for:
The compressed cache index list that terminal uses is determined according to the notice of terminal.
Optionally, Second processing module 1002 is additionally operable to:
After determining that the data for unziping it are asynchronous with the data that terminal is used to be compressed, sent out to terminal
Expression is sent to cache nonsynchronous instruction information;
The compressed cache index list that terminal uses is determined according to the notice of terminal.
Optionally, Second processing module 1002 is specifically used for:
The notice of terminal is received by RRC information.
Optionally, Second processing module 1002 is specifically used for:
It is sent to terminal by RRC reconfiguration messages or MAC Control Element and indicates to cache nonsynchronous instruction information.
As shown in figure 11, the terminal of second of progress data synchronization of the embodiment of the present invention, including:
Processor 1101 executes following process for reading the program in memory 1104:
Determine that data of the terminal for being compressed are asynchronous with the data that network side equipment is used to unzip it;To end
The data for being compressed are held to be handled, so that the data that terminal is used to be compressed are used to be solved with network side equipment
The data of compression synchronize;
Transceiver 1102, for sending and receiving data under the control of processor 1101.
Optionally, processor 1101 is specifically used for:
The expression that network side equipment transmission is received by transceiver 1102 cache nonsynchronous instruction information or need and
After network side equipment carries out RRC connections foundation, determine data of the terminal for being compressed with network side equipment for being solved
The data of compression are asynchronous.
Optionally, processor 1101 is specifically used for:
It is received by transceiver 1102 by RRC reconfiguration messages or MAC Control Element and indicates to cache nonsynchronous instruction
Information.
Optionally, indicate that it is PDCP state reports to cache nonsynchronous instruction information.
Optionally, the data for being compressed are the data in compressed cache;
Processor 1101 is specifically used for:
According to PDCP state reports, the data of redundancy in compressed cache are deleted.
Optionally, the data for being compressed are the data in compressed cache;
Processor 1101 is specifically used for:
Empty the data in compressed cache;Or
Data in compressed cache are sent to network side equipment.
Optionally, processor 1101 is specifically used for:
The data in compressed cache are sent to by network side equipment by user plane by transceiver 1102, or pass through control
Data in compressed cache are sent to network side equipment by face RRC information processed by transceiver 1102.
Optionally, the data for being compressed are compressed cache index lists;
Processor 1101 is specifically used for:
The compressed cache index list that network side equipment uses is notified by transceiver 1102.
Optionally, processor 1101 is specifically used for:
The compressed cache index list that terminal is used by transceiver 1102 by RRC information notice network side equipment.
In fig. 11, bus architecture (being represented with bus 1100), bus 1100 may include any number of interconnection
Bus and bridge, bus 1100 will include that the one or more processors represented by general processor 1101 and memory 1104 represent
The various circuits of memory link together.Bus 1100 can also will such as peripheral equipment, voltage-stablizer and power management electricity
Various other circuits on road or the like link together, and these are all it is known in the art, therefore, are no longer carried out herein to it
It further describes.Bus interface 1103 provides interface between bus 1100 and transceiver 1102.Transceiver 1102 can be one
A element can also be multiple element, such as multiple receivers and transmitter, provide for over a transmission medium with it is various other
The unit of device communication.Such as:Transceiver 1102 receives external data from other equipment.Transceiver 1102 is used for processor
1101 treated that data are sent to other equipment.Depending on the property of computing system, user interface 1105, example can also be provided
Such as keypad, display, loud speaker, microphone, control stick.
Processor 1101 is responsible for bus 1100 and common processing, such as the aforementioned operation general-purpose operating system.And it stores
Device 1104 can be used to store the used data when executing operation of processor 1101.
Optionally, processor 1101 can be CPU (Central Processing Unit, centre bury device), ASIC
(Application Specific Integrated Circuit, application-specific integrated circuit), FPGA (Field-
Programmable Gate Array, field programmable gate array) or CPLD (Complex Programmable Logic
Device, Complex Programmable Logic Devices).
As shown in figure 12, the network side equipment of second of progress data synchronization provided in an embodiment of the present invention, including:
Processor 1201 executes following process for reading the program in memory 1204:
For determining that the data for unziping it are asynchronous with the data that terminal is used to be compressed;For to being used for
The data unziped it are handled, so that the data that network side equipment is used to unzip it are used to be compressed with terminal
Data synchronize;
Transceiver 1202, for sending and receiving data under the control of processor 1201.
Optionally, processor 1201 is specifically used for:
After meeting exceptional condition, determine that the data for unziping it are different from the data that terminal is used to be compressed
Step;
Wherein, exceptional condition include it is following in some or all of:
The caching check bit carried in the compressed data sent according to terminal carries out verification failure;
Failure is demodulated according to the compressed data that terminal is sent;
Radio link failure;
It needs to connect foundation with terminal progress RRC.
Optionally, the data for unziping it are the data in compressed cache;
Processor 1201 is specifically used for:
The data in compressed cache are emptied, and is sent to terminal by transceiver 1202 and indicates to cache nonsynchronous instruction letter
Breath, so that terminal empties the data in compressed cache;Or
By the compressed cache of the data alternative networks side apparatus in the compressed cache of the terminal received by transceiver 1202
In data;Or
By transceiver 1202 to terminal send PDCP state reports so that in terminal deletion compressed cache redundancy number
According to.
Optionally, processor 1201 is specifically used for:
After determining that the data for unziping it are asynchronous with the data that terminal is used to be compressed, pass through transmitting-receiving
Machine 1202 is sent to terminal to be indicated to cache nonsynchronous instruction information;
By the compressed cache of the data alternative networks side apparatus in the compressed cache of the terminal received by transceiver 1202
In data.
Optionally, processor 1201 is specifically used for:
The data in the compressed cache of terminal are received by RRC information by transceiver 1202.
Optionally, the data for unziping it are compressed cache index lists;
Processor 1201 is specifically used for:
The compressed cache index list that terminal uses is determined according to the notice of terminal.
Optionally, processor 1201 is specifically used for:
After determining that the data for unziping it are asynchronous with the data that terminal is used to be compressed, pass through transmitting-receiving
Machine 1202 is sent to terminal to be indicated to cache nonsynchronous instruction information;
The compressed cache index list that terminal uses is determined according to the notice of terminal.
Optionally, processor 1201 is specifically used for:
The notice of terminal is received by RRC information by transceiver 1202.
Optionally, processor 1201 is specifically used for:
It is sent to terminal by RRC reconfiguration messages or MAC Control Element by transceiver 1202 and indicates that caching is asynchronous
Instruction information.
In fig. 12, bus architecture (being represented with bus 1200), bus 1200 may include any number of interconnection
Bus and bridge, bus 1200 will include the one or more processors represented by processor 1201 and what memory 1204 represented deposits
The various circuits of reservoir link together.Bus 1200 can also will peripheral equipment, voltage-stablizer and management circuit etc.
Etc various other circuits link together, these are all it is known in the art, therefore, herein no longer to its into advance one
Step description.Bus interface 1203 provides interface between bus 1200 and transceiver 1202.Transceiver 1202 can be a member
Part can also be multiple element, such as multiple receivers and transmitter, provide for over a transmission medium with various other devices
The unit of communication.The data handled through processor 1201 are transmitted on the radio medium by antenna 1205, further, antenna
1205 also receive data and transfer data to processor 1201.
Processor 1201 is responsible for bus 1200 and common processing, can also provide various functions, including timing, outside
Enclose interface, voltage adjusting, power management and other control functions.And memory 1204 can be used to store processor 1201
The used data when executing operation.
Optionally, processor 1201 can be CPU, ASIC, FPGA or CPLD.
Obviously, various changes and modifications can be made to the invention without departing from essence of the invention by those skilled in the art
God and range.In this way, if these modifications and changes of the present invention belongs to the range of the claims in the present invention and its equivalent technologies
Within, then the present invention is also intended to include these modifications and variations.