Disclosure of Invention
The embodiment of the invention provides a preset dictionary synchronization method and equipment, which are used for solving the technical problem that preset dictionaries of a base station and a terminal cannot be synchronized in the prior art.
The embodiment of the invention provides the following specific technical scheme:
sending preset dictionary information to a terminal, wherein the preset dictionary information comprises a preset dictionary, and the preset dictionary is a dictionary which is configured for the terminal by the network side equipment and is used when the upstream data is compressed into UDC;
and receiving synchronization confirmation information sent by the terminal, and completing preset dictionary synchronization of the terminal, wherein the synchronization confirmation information is feedback information generated after the terminal receives the preset dictionary information and stores the preset dictionary.
Optionally, before sending the preset dictionary information to the terminal, the method further includes:
collecting operation that the byte number exceeds a first preset value in a first communication operation process, wherein the first communication operation process is a signaling and/or service data process of a control plane;
determining high-frequency fields with the field lengths exceeding a second preset value and the repetition rate higher than a third preset value from the operation;
and composing the preset dictionary by the high-frequency fields.
Optionally, the preset dictionary information further includes verification information, where the verification information is used to verify whether the preset dictionary is complete, and after the terminal receives the preset dictionary information, the terminal verifies by using the verification information to obtain that the preset dictionary is complete and stores the preset dictionary to generate the synchronization confirmation information.
Optionally, when there are multiple preset dictionaries of the network side device:
if the verification information of each preset dictionary is different, the verification information is a unique identifier corresponding to the sent preset dictionary, and the unique identifier is used for distinguishing different preset dictionaries;
if the verification information of the preset dictionaries is the same, the preset dictionary information sent to the terminal also comprises a unique identifier of the preset dictionary, and the unique identifier is different from the verification information.
Optionally, before sending the preset dictionary information to the terminal, the method further includes:
receiving the identification information of the stored dictionary sent by the terminal;
and if the identification information does not comprise the identification of the preset dictionary in the preset dictionary information, the network side equipment sends the preset dictionary information to the terminal.
Optionally, before sending the preset dictionary information to the terminal, the method further includes:
sending query information for querying a dictionary currently stored by the terminal to the terminal;
receiving identification information sent by the terminal aiming at the query information, wherein the identification information comprises information of the identification of the dictionary currently stored by the terminal;
and if the identification information does not comprise the identification of the preset dictionary in the preset dictionary information, the network side equipment sends the preset dictionary information to the terminal.
Optionally, if the identifier information includes an identifier of a preset dictionary in the preset dictionary information, the network side device sends, to the terminal, a confirmation message confirming that the preset dictionary in the preset dictionary information is used.
Optionally, before sending the preset dictionary information to the terminal, the method further includes:
broadcasting to the terminal an identification of a dictionary that may be used;
receiving UDC capability information sent by a terminal, wherein the UDC capability information is information of reporting whether a dictionary corresponding to the identifier of the usable dictionary is stored or not to the network side equipment after the identifier of the usable dictionary is obtained by the terminal;
and if the UDC capability information indicates that the terminal does not store the dictionary corresponding to the identifier of the dictionary which can be used, the network side equipment sends the preset dictionary information to the terminal.
Optionally, the network side device sends the preset dictionary information through NAS signaling or RRC signaling.
Optionally, the network side device sends the preset dictionary or sends the identifier of the preset dictionary to a base station supporting the UDC through an access network management entity, so as to complete preset dictionary synchronization of the base station.
In a second aspect, an embodiment of the present invention further provides another preset dictionary synchronization method, applied to a terminal, including:
receiving preset dictionary information sent by network side equipment, wherein the preset dictionary information comprises a preset dictionary, and the preset dictionary is a dictionary which is configured for the terminal by the network side equipment and is used when the upstream data is compressed into UDC;
and sending synchronization confirmation information to the network side equipment to complete preset dictionary synchronization of the terminal, wherein the synchronization confirmation information is feedback information generated after the terminal receives the preset dictionary information and stores the preset dictionary.
Optionally, the preset dictionary information further includes verification information, where the verification information is used to verify whether the preset dictionary is complete, and after the terminal receives the preset dictionary information, the terminal verifies by using the verification information to obtain that the preset dictionary is complete and stores the preset dictionary to generate the synchronization confirmation information.
Optionally, when a plurality of preset dictionaries are received:
if the verification information of each preset dictionary is different, the verification information is a unique identifier corresponding to the received preset dictionary, and the unique identifier is used for distinguishing different preset dictionaries;
if the verification information of the preset dictionaries is the same, the received preset dictionary information also comprises a unique identifier of the preset dictionary, and the unique identifier is different from the verification information.
Optionally, before receiving the preset dictionary information sent by the network side device, the method further includes:
sending the identification information of the stored dictionary to network side equipment;
and if the identification information does not comprise the identification of the preset dictionary in the preset dictionary information, receiving the preset dictionary information sent by the network side equipment.
Optionally, before receiving the preset dictionary information sent by the network side device, the method further includes:
receiving query information which is sent by network side equipment and used for querying a dictionary currently stored by the terminal;
sending identification information to the network side equipment aiming at the query information, wherein the identification information comprises information of the identification of the dictionary currently stored by the terminal;
and if the identification information does not comprise the identification of the preset dictionary in the preset dictionary information, receiving the preset dictionary information sent by the network side equipment.
Optionally, if the identifier information includes an identifier of a preset dictionary in the preset dictionary information, receiving a confirmation message sent by the network side device to confirm that the preset dictionary in the preset dictionary information is used.
Optionally, before receiving the preset dictionary information sent by the network side device, the method further includes:
obtaining the identifier of a dictionary which can be used and is broadcasted by the network side equipment;
sending UDC capability information to the network side equipment, wherein the UDC capability information is information of reporting whether a dictionary corresponding to the identifier of the usable dictionary is stored or not to the network side equipment after the identifier of the usable dictionary is obtained by the terminal;
and if the UDC capability information indicates that the terminal does not store the dictionary corresponding to the identifier of the dictionary which can be used, receiving preset dictionary information sent by the receiving network side equipment.
In another aspect, an embodiment of the present invention further provides a network side device, including:
the device comprises a sending unit, a receiving unit and a processing unit, wherein the sending unit is used for sending preset dictionary information to a terminal, the preset dictionary information comprises a preset dictionary, and the preset dictionary is a dictionary which is configured for the terminal by the device and is used when the UDC is compressed by uplink data;
and the receiving unit is used for receiving synchronization confirmation information sent by the terminal and completing preset dictionary synchronization of the terminal, wherein the synchronization confirmation information is feedback information generated after the terminal receives the preset dictionary information and stores the preset dictionary.
Optionally, the apparatus further includes a collecting unit, configured to collect an operation that a number of bytes exceeds a first preset value in a first communication operation process, where the first communication operation process is a signaling and/or service data process of a control plane;
the determining unit is used for determining high-frequency fields with the field lengths exceeding a second preset value and the repetition rate higher than a third preset value from the operation;
and the composition unit is used for composing the preset dictionary by the high-frequency fields.
Optionally, the preset dictionary information further includes verification information, where the verification information is used to verify whether the preset dictionary is complete, and after the terminal receives the preset dictionary information, the terminal verifies by using the verification information to obtain that the preset dictionary is complete and stores the preset dictionary to generate the synchronization confirmation information.
Optionally, when there are multiple preset dictionaries of the device:
if the verification information of each preset dictionary is different, the verification information is a unique identifier corresponding to the sent preset dictionary, and the unique identifier is used for distinguishing different preset dictionaries;
if the verification information of the preset dictionaries is the same, the preset dictionary information sent to the terminal also comprises a unique identifier of the preset dictionary, and the unique identifier is different from the verification information.
Optionally, the method further includes:
the first receiving subunit is used for receiving the identification information of the stored dictionary sent by the terminal;
and the first sending subunit is configured to send the preset dictionary information to the terminal if the identification information does not include an identifier of a preset dictionary in the preset dictionary information.
Optionally, the method further includes:
the second sending subunit is configured to send, to the terminal, query information for querying a dictionary currently stored by the terminal;
the second receiving subunit is configured to receive identification information sent by the terminal for the query information, where the identification information includes information of an identifier of a dictionary currently stored by the terminal;
and the third sending subunit is configured to send the preset dictionary information to the terminal if the identifier information does not include an identifier of a preset dictionary in the preset dictionary information.
Optionally, if the identifier information includes an identifier of a preset dictionary in the preset dictionary information, the method further includes:
and the fourth sending subunit is configured to send, to the terminal, a confirmation message confirming that the preset dictionary in the preset dictionary information is used.
Optionally, the method further includes:
a broadcasting unit for broadcasting an identification of a dictionary that can be used to the terminal;
a third receiving subunit, configured to receive UDC capability information sent by a terminal, where the UDC capability information is information that the terminal reports to the device whether a dictionary corresponding to an identifier of the dictionary that can be used is stored after obtaining the identifier of the dictionary that can be used;
a fifth sending subunit, configured to send the preset dictionary information to the terminal if the UDC capability information indicates that the terminal does not store a dictionary corresponding to the identifier of the dictionary that can be used.
Optionally, the method further includes:
and a sixth sending subunit, configured to send, by the device, the preset dictionary or an identifier of the preset dictionary to a base station supporting the UDC through an access network management entity, so as to complete preset dictionary synchronization of the base station.
In another aspect, an embodiment of the present invention further provides a terminal, including:
the receiving unit is used for receiving preset dictionary information sent by network side equipment, wherein the preset dictionary information comprises a preset dictionary, and the preset dictionary is a dictionary which is configured for the terminal by the network side equipment and is used when the uplink data is compressed into the UDC;
and the sending unit is used for sending synchronization confirmation information to the network side equipment to complete the preset dictionary synchronization of the terminal, wherein the synchronization confirmation information is feedback information generated after the terminal receives the preset dictionary information and stores the preset dictionary.
Optionally, the preset dictionary information further includes verification information, where the verification information is used to verify whether the preset dictionary is complete, and after the terminal receives the preset dictionary information, the terminal verifies by using the verification information to obtain that the preset dictionary is complete and stores the preset dictionary to generate the synchronization confirmation information.
Optionally, when a plurality of preset dictionaries are received:
if the verification information of each preset dictionary is different, the verification information is a unique identifier corresponding to the received preset dictionary, and the unique identifier is used for distinguishing different preset dictionaries;
if the verification information of the preset dictionaries is the same, the received preset dictionary information also comprises a unique identifier of the preset dictionary, and the unique identifier is different from the verification information.
Optionally, the method further includes:
the first sending subunit is configured to send the identifier information of the stored dictionary to the network side device;
and the first receiving subunit is configured to receive the preset dictionary information sent by the network side device if the identification information does not include an identifier of the preset dictionary in the preset dictionary information.
Optionally, the method further includes:
the second receiving subunit is configured to receive query information, which is sent by the network side device and used for querying a dictionary currently stored by the terminal;
a second sending subunit, configured to send, to the network side device, identification information including information of an identification of a dictionary currently stored by the terminal, in view of the query information;
and the third receiving subunit is configured to receive the preset dictionary information sent by the network side device if the identifier information does not include the identifier of the preset dictionary in the preset dictionary information.
Optionally, if the identifier information includes an identifier of a preset dictionary in the preset dictionary information, the method further includes:
and a fourth receiving subunit, configured to receive a confirmation message sent by the network side device and confirming that the preset dictionary in the preset dictionary information is used.
Optionally, the method further includes:
an obtaining unit, configured to obtain an identifier of a dictionary that can be used and is broadcast by the network-side device;
a fourth sending subunit, configured to send UDC capability information to the network side device, where the UDC capability information is information that the terminal reports, after obtaining the identifier of the dictionary that can be used, whether the terminal stores the dictionary corresponding to the identifier of the dictionary that can be used, to the network side device;
a fifth receiving subunit, configured to receive preset dictionary information sent by the receiving network side device, if the UDC capability information indicates that the terminal does not store a dictionary corresponding to the identifier of the dictionary that can be used.
In another aspect, an embodiment of the present invention further provides a network terminal, where the network device mainly includes a processor and a memory, where a preset program is stored in the memory, the processor reads the program in the memory, and executes the following processes according to the program:
sending preset dictionary information to a terminal, wherein the preset dictionary information comprises a preset dictionary, and the preset dictionary is a dictionary which is configured for the terminal by the equipment and is used when the UDC is compressed by uplink data;
and receiving synchronization confirmation information sent by the terminal, and completing preset dictionary synchronization of the terminal, wherein the synchronization confirmation information is feedback information generated after the terminal receives the preset dictionary information and stores the preset dictionary.
Optionally, before sending the preset dictionary information to the terminal, the method further includes:
collecting SIP signaling operation with the byte number exceeding a first preset value in a first communication operation process, wherein the first communication operation process is a signaling and/or service data process of a control layer;
determining high-frequency fields with the field lengths exceeding a second preset value and the repetition rate higher than a third preset value from the operation;
and composing the preset dictionary by the high-frequency fields.
Optionally, the preset dictionary information further includes verification information, where the verification information is used to verify whether the preset dictionary is complete, and after the terminal receives the preset dictionary information, the terminal verifies by using the verification information to obtain that the preset dictionary is complete and stores the preset dictionary to generate the synchronization confirmation information.
Optionally, when there are multiple preset dictionaries of the device:
if the verification information of each preset dictionary is different, the verification information is a unique identifier corresponding to the sent preset dictionary, and the unique identifier is used for distinguishing different preset dictionaries;
if the verification information of the preset dictionaries is the same, the preset dictionary information sent to the terminal also comprises a unique identifier of the preset dictionary, and the unique identifier is different from the verification information.
Optionally, before sending the preset dictionary information to the terminal, the method further includes:
receiving the identification information of the stored dictionary sent by the terminal;
and if the identification information does not comprise the identification of the preset dictionary in the preset dictionary information, the equipment sends the preset dictionary information to the terminal.
Optionally, before sending the preset dictionary information to the terminal, the method further includes:
sending query information for querying a dictionary currently stored by the terminal to the terminal;
receiving identification information sent by the terminal aiming at the query information, wherein the identification information comprises information of the identification of the dictionary currently stored by the terminal;
and if the identification information does not comprise the identification of the preset dictionary in the preset dictionary information, the equipment sends the preset dictionary information to the terminal.
Optionally, if the identifier information includes an identifier of a preset dictionary in the preset dictionary information, the device sends a confirmation message confirming use of the preset dictionary in the preset dictionary information to the terminal.
Optionally, before sending the preset dictionary information to the terminal, the method further includes:
broadcasting to the terminal an identification of a dictionary that may be used;
receiving UDC capability information sent by a terminal, wherein the UDC capability information is information of reporting whether a dictionary corresponding to the identifier of the usable dictionary is stored or not to the equipment after the identifier of the usable dictionary is obtained by the terminal;
and if the UDC capability information indicates that the terminal does not store the dictionary corresponding to the identifier of the dictionary which can be used, the equipment sends the preset dictionary information to the terminal.
Optionally, the device sends the preset dictionary information through NAS signaling or RRC signaling.
Optionally, the device sends the preset dictionary or sends an identifier of the preset dictionary to a base station supporting the UDC through an access network management entity, so as to complete preset dictionary synchronization of the base station.
Based on the technical scheme, in the embodiment of the invention, the network side equipment is adopted to send the preset dictionary information to the terminal, the preset dictionary information comprises a preset dictionary, and the preset dictionary is a dictionary which is configured for the terminal by the network side equipment and is used when the uplink data is compressed into the UDC; and receiving synchronization confirmation information sent by the terminal to complete preset dictionary synchronization of the terminal, wherein the synchronization confirmation information is a technology of feedback information generated after the terminal receives the preset dictionary information and stores the preset dictionary, and the network side equipment defines the preset dictionary and sends the preset dictionary information containing the preset dictionary to the terminal to further complete synchronization of the preset dictionary of the terminal and the preset dictionary of the base station, so that the terminal can use the synchronized dictionary to perform data compression, and the base station can use the synchronized dictionary to perform decompression.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all, embodiments of the technical solutions of the present invention. All other embodiments obtained by a person skilled in the art without any creative effort based on the embodiments described in the present document belong to the protection scope of the technical solution of the present invention.
In the embodiment of the present invention, as shown in fig. 1, the preset dictionary synchronization process is as follows:
step S101: sending preset dictionary information to a terminal, wherein the preset dictionary information comprises a preset dictionary, and the preset dictionary is a dictionary which is configured for the terminal by the network side equipment and is used when the upstream data is compressed into UDC;
step S102: and receiving synchronization confirmation information sent by the terminal, and completing preset dictionary synchronization of the terminal, wherein the synchronization confirmation information is feedback information generated after the terminal receives the preset dictionary information and stores the preset dictionary.
In a specific practical process, the method first executes step S101, that is, preset dictionary information is sent to a terminal, where the preset dictionary information includes a preset dictionary, and the preset dictionary is a dictionary configured for the terminal by the network side device and used in UDC.
In practical application, when a terminal needs to use the UDC function, a network side device configures a preset dictionary for compressing uplink data to the terminal, and at this time, the network side device first sends preset dictionary information to the terminal, specifically: the network side device may send the preset dictionary information through NAS signaling or RRC signaling. When the network side equipment sends the preset dictionary information through NAS signaling, the preset dictionary information can be transmitted through DOWNLINK NAS TRANSPORT message or DOWNLINKGENERIC NAS TRANSPORT message in the NAS signaling; when the network side device sends the preset dictionary information through RRC signaling, the redefined new RRC signaling may be used to carry the preset dictionary information.
In practical application, the preset dictionary information sent by the network side device includes a preset dictionary used for compressing uplink data by the terminal, and certainly, the preset dictionary information may further include verification information used for the terminal to verify whether the received preset dictionary is complete.
Referring to fig. 2, in a specific implementation process, the network side device may generate the preset dictionary by:
step S201: collecting operation that the byte number exceeds a first preset value in a first communication operation process, wherein the first communication operation process is a signaling and/or service data process of a control plane;
step S202: determining high-frequency fields with the field lengths exceeding a second preset value and the repetition rate higher than a third preset value from the operation;
step S203: and composing the preset dictionary by the high-frequency fields.
In practical application, the network side device may collect signaling of the control plane, such as SIP signaling with byte number exceeding a preset value in a SIP process or a SIP session, it can collect the service data whose byte number exceeds the preset value in the service data process, and certainly, it can also collect the signaling whose control layer signaling byte number exceeds the preset value and the service data whose byte number exceeds the preset value in the service data process at the same time, this embodiment specifically takes the case that the network side device collects the signaling of the control layer, such as the SIP signaling whose byte number exceeds the preset value in the SIP process, it can be understood that, in practical application, the preset value may be set according to actual needs, for example, the preset value may be 1000bytes or 2000bytes, generally, the number of bytes of the first SIP signaling in the SIP process or the SIP session is very long, and the preset value may be reasonably selected to collect the first SIP signaling. In this embodiment, specifically, the preset value is 1000bytes, and the first SIP signaling in all SIP processes or SIP sessions can be collected as an example, then, the network side device may collect the SIP signaling in which the number of bytes in all SIP processes or SIP sessions exceeds 1000bytes, and then determine, from the collected SIP signaling, a high-frequency field whose field length exceeds a preset field length and whose repetition rate exceeds a preset repetition rate, where, similarly, both the preset field length and the preset repetition rate may be set according to actual needs.
In this embodiment, taking the preset field length as 2bytes specifically and the preset repetition rate as 10 times as an example, the network side device determines that the field length exceeds 2bytes and the high-frequency field with the repetition rate exceeding 10 times from the SIP signaling, then the network side device copies the high-frequency fields into a single buffer, if the buffer size is 32Kbytes, the network side device does not modify the content in the buffer any more after the buffer is full of 32K bytes, and generates a preset dictionary according to the 32K bytes information currently stored by the buffer, then clears the buffer, and continues to copy the high-frequency fields that have not been copied into the buffer, and when the buffer is full of 32K bytes again, generates another preset dictionary according to the 32K bytes information currently stored by the buffer.
In practical application, the network side device may configure a plurality of preset dictionaries for the terminal for the current uplink data compression, or may configure only one preset dictionary for the current uplink data compression, so that, in step S101, the number of the preset dictionaries included in the preset dictionary information sent by the network side device to the terminal may be one or more, and when the preset dictionaries included in the preset dictionary information is multiple, if the check information corresponding to each of the preset dictionaries sent by the network side device to the terminal is different, for example, different bit groups are used to represent the check information corresponding to different preset dictionaries, at this time, the sent preset dictionary information may not include an identifier for distinguishing different preset dictionaries, and the check information corresponding to each preset dictionary may be used as a unique identifier of the preset dictionary; if the check information of the multiple preset dictionaries sent to the terminal by the network side equipment is the same, for example, the same group of bits is used as the check information of different preset dictionaries, then the sent preset dictionary information needs to contain unique identifiers for distinguishing different preset dictionaries, so that the terminal can distinguish different preset dictionaries through the unique identifiers of different preset dictionaries.
After the step S101 is executed, step S102 is executed, that is, synchronization confirmation information sent by the terminal is received, and preset dictionary synchronization of the terminal is completed, where the synchronization confirmation information is feedback information generated after the preset dictionary is completely obtained and stored by checking the verification information after the preset dictionary information is received by the terminal.
Specifically, after the network side device sends the preset dictionary information to the terminal, the terminal receives the preset dictionary information, the terminal verifies the preset dictionary in the preset dictionary information by using the verification information in the received preset dictionary information, and verifies whether the content of the preset dictionary is complete or not; when a plurality of preset dictionaries are contained in the preset dictionary information, and the check information of the preset dictionaries is the same, the terminal can verify each preset dictionary in the preset dictionaries by using the check information; when a plurality of preset dictionaries are contained in the preset dictionary information and the check information of the preset dictionaries is different, the terminal can verify the preset dictionaries by using the check information corresponding to each preset dictionary in the preset dictionaries.
Specifically, taking an example that the preset dictionary information includes a preset dictionary, the terminal verifies the preset dictionary by using verification information corresponding to the preset dictionary, when the verification is successful, that is, the preset dictionary is complete, at this time, the terminal stores the preset dictionary, the preset dictionary can be used for the uplink data compression, then, the terminal sends synchronization confirmation information to the network side device, notifies the network side device that the preset dictionary to be used for the uplink data compression is already stored, and the network side device receives the synchronization confirmation information, so that the network side device completes preset dictionary synchronization of the terminal.
Certainly, in practical application, the network side device may further specify the use duration of the preset dictionary sent to the terminal, at this time, the network side device only needs to bind a timer to the sent preset dictionary, and when the terminal receives the preset dictionary and the use duration of the preset dictionary reaches the duration specified by the timer, the preset dictionary may be discarded, so as to prevent the expired dictionary from occupying too much memory of the terminal, and the duration of the timer may be notified to the terminal through a signaling, or may be specified in a protocol.
Therefore, by the method, the invention utilizes the network side equipment to define the preset dictionary and send the preset dictionary information containing the preset dictionary to the terminal so as to complete the synchronization of the preset dictionary of the terminal and the base station, so that the terminal can use the synchronized dictionary for data compression, and the base station can use the synchronized dictionary for decompression, thereby effectively solving the technical problem that the preset dictionaries of the base station and the terminal can not be synchronized in the prior art.
Meanwhile, the network side equipment forms the preset dictionary by collecting the high-frequency fields appearing in the SIP process, so that the preset dictionary has better service pertinence, the compression rate of related services is improved, and the first SIP signaling in the uplink data can be compressed and transmitted, so that the coverage and success rate of VoLTE can be improved.
Referring to fig. 3, in practical applications, before performing step S101, the network side device may further perform the following steps:
step S301: receiving the identification information of the stored dictionary sent by the terminal;
step S302: and if the identification information does not comprise the identification of the preset dictionary in the preset dictionary information, the network side equipment sends the preset dictionary information to the terminal.
In practical application, the terminal may report the identifier information of the dictionary stored by the terminal to the network side device first, therefore, the network side device may, after receiving the identifier information of the dictionary already stored and reported by the terminal to the network side device, determine whether there is an identifier of the preset dictionary that the network side device wants the terminal to use in the current uplink data compression process in the identifier information of the dictionary already stored and reported by the terminal, if the network side device wants the identifier of the preset dictionary that the terminal uses in the current uplink data compression process not to be in the identifier information reported by the terminal, it means that the terminal does not store the preset dictionary that the network side device wants the terminal to use in the uplink data compression process this time, at this time, the network side device performs step S101 again, that is, sends preset dictionary information including a preset dictionary that the terminal is expected to use in the current uplink data compression to the terminal.
Certainly, in practical applications, there may be a case that the network side device expects the identifier of the preset dictionary used by the terminal in the current uplink data compression process to be in the identifier information reported by the terminal, that is, the terminal already stores the preset dictionary that the network side device expects the terminal to use in the current uplink data compression process, at this time, the network side device may send a confirmation message to the terminal, where the confirmation message includes the identifier of the preset dictionary that the network side device expects the terminal to use in the current uplink data compression process, and after receiving the confirmation message, the terminal can know the preset dictionary configured by the network side device for the terminal in the current uplink data compression process through the identifier in the confirmation message.
Referring to fig. 4, in practical applications, before performing step S101, the network side device may further perform the following steps:
step S401: sending query information for querying a dictionary currently stored by the terminal to the terminal;
step S402: receiving identification information sent by the terminal aiming at the query information, wherein the identification information comprises information of the identification of the dictionary currently stored by the terminal;
step S403: and if the identification information does not comprise the identification of the preset dictionary in the preset dictionary information, the network side equipment sends the preset dictionary information to the terminal.
In practical application, before the network side device performs step S101, that is, before sending the preset dictionary information including the preset dictionary that is expected to be used by the terminal in the current uplink data compression to the terminal, the network side device may send, to the terminal, query information for querying a dictionary that is currently stored by the terminal, after receiving the query information, the terminal may feed back, to the network side device, identification information of all dictionaries that are currently stored by the terminal, where the fed back identification information includes identifications of all dictionaries that are currently stored by the terminal, and after receiving the identification information fed back by the terminal, the network side device may determine whether the identifications of the dictionary that is expected to be used by the terminal in the current uplink data compression are in the identification information fed back by the terminal.
If the network side device wants that the identifier of the dictionary used by the terminal in the current uplink data compression is not in the identifier information fed back by the terminal, it indicates that the terminal does not store the dictionary that the network side device wants the terminal to use in the current uplink data compression, and at this time, the network side device performs step S101, that is, sends preset dictionary information including the preset dictionary that the terminal wants to use in the current uplink data compression to the terminal.
Of course, in practical applications, there may be a case where the identifier of the preset dictionary used by the terminal in the current uplink data compression process is expected to be in the identifier information fed back by the terminal, and at this time, the network side device may send the confirmation message to the terminal in the manner described above, which is not described repeatedly herein.
Referring to fig. 5, in practical applications, before performing step S101, the network side device may further perform the following steps:
step S501: broadcasting to the terminal an identification of a dictionary that may be used;
step S502: receiving UDC capability information sent by a terminal, wherein the UDC capability information is information of reporting whether a dictionary corresponding to the identifier of the usable dictionary is stored or not to the network side equipment after the identifier of the usable dictionary is obtained by the terminal;
step S503: and if the UDC capability information indicates that the terminal does not store the dictionary corresponding to the identifier of the dictionary which can be used, the network side equipment sends the preset dictionary information to the terminal.
In practical application, before the network side device performs step S101, that is, before sending preset dictionary information including a preset dictionary that the terminal is expected to use in the current uplink data compression to the terminal, the network side device may broadcast an identifier of the dictionary that can be used in the current uplink data compression to the terminal in a network broadcast manner, after the terminal obtains the identifier by monitoring the broadcast, the terminal queries its own UDC capability, that is, whether there is a dictionary corresponding to the obtained identifier in the dictionary that the terminal already stores, then, the terminal reports to the network side device whether there is UDC capability information of the dictionary, and after receiving the UDC capability information, the network side device can know whether the terminal stores the dictionary that can be used from the UDC capability information. If the UDC capability information reflects that the terminal does not store the dictionary that the network side device wants to use in the current uplink data compression, the network side device only executes step S101, that is, sends the preset dictionary information including the preset dictionary that the terminal wants to use in the current uplink data compression to the terminal.
In practical application, after the network side device completes synchronization with the preset dictionary of the terminal by sending the preset dictionary information to the terminal, the network side device may further perform the following steps: and the network side equipment sends the preset dictionary or the identifier of the preset dictionary to a base station supporting the UDC through an access network management entity to complete the synchronization of the preset dictionary of the base station.
That is, in practical application, the network side device may further send an identifier of the preset dictionary to the base station supporting the UDC through the access network management entity, so as to complete synchronization of the preset dictionary of the base station, for example, the network side device sends the identifier of the preset dictionary to the base station supporting the UDC through MME notification or OM configuration, and after receiving the identifier of the preset dictionary, the base station knows that the dictionary used in uplink data compression by the terminal is the preset dictionary, so that when receiving uplink data compressed by the terminal through the preset dictionary, the base station may decompress the uplink data by using the preset dictionary.
Based on the same inventive concept, an embodiment of the present invention provides a preset dictionary synchronization method, which is applied to a terminal that is an opposite end of a network device in the foregoing method, and the preset dictionary synchronization method applied to the terminal may refer to the description of the embodiment part in the preset dictionary synchronization method applied to the network device, and repeated details are omitted, and the preset dictionary synchronization method includes:
receiving preset dictionary information sent by network side equipment, wherein the preset dictionary information comprises a preset dictionary, and the preset dictionary is a dictionary which is configured for the terminal by the network side equipment and is used when the upstream data is compressed into UDC;
and sending synchronization confirmation information to the network side equipment to complete preset dictionary synchronization of the terminal, wherein the synchronization confirmation information is feedback information generated after the terminal receives the preset dictionary information and stores the preset dictionary.
Optionally, the preset dictionary information further includes verification information, where the verification information is used to verify whether the preset dictionary is complete, and after the terminal receives the preset dictionary information, the terminal verifies by using the verification information to obtain that the preset dictionary is complete and stores the preset dictionary to generate the synchronization confirmation information.
Optionally, when a plurality of preset dictionaries are received:
if the verification information of each preset dictionary is different, the verification information is a unique identifier corresponding to the received preset dictionary, and the unique identifier is used for distinguishing different preset dictionaries;
if the verification information of the preset dictionaries is the same, the received preset dictionary information also comprises a unique identifier of the preset dictionary, and the unique identifier is different from the verification information.
Optionally, before receiving the preset dictionary information sent by the network side device, the method further includes:
sending the identification information of the stored dictionary to network side equipment;
and if the identification information does not comprise the identification of the preset dictionary in the preset dictionary information, receiving the preset dictionary information sent by the network side equipment.
Optionally, before receiving the preset dictionary information sent by the network side device, the method further includes:
receiving query information which is sent by network side equipment and used for querying a dictionary currently stored by the terminal;
sending identification information to the network side equipment aiming at the query information, wherein the identification information comprises information of the identification of the dictionary currently stored by the terminal;
and if the identification information does not comprise the identification of the preset dictionary in the preset dictionary information, receiving the preset dictionary information sent by the network side equipment.
Optionally, if the identifier information includes an identifier of a preset dictionary in the preset dictionary information, receiving a confirmation message sent by the network side device to confirm that the preset dictionary in the preset dictionary information is used.
Optionally, before receiving the preset dictionary information sent by the network side device, the method further includes:
obtaining the identifier of a dictionary which can be used and is broadcasted by the network side equipment;
sending UDC capability information to the network side equipment, wherein the UDC capability information is information of reporting whether a dictionary corresponding to the identifier of the usable dictionary is stored or not to the network side equipment after the identifier of the usable dictionary is obtained by the terminal;
and if the UDC capability information indicates that the terminal does not store the dictionary corresponding to the identifier of the dictionary which can be used, receiving preset dictionary information sent by the receiving network side equipment.
Based on the same inventive concept, embodiments of the present invention provide a network side device, where the specific implementation of the network side device to implement preset dictionary synchronization of a terminal may refer to the description of the method embodiment, and repeated details are not repeated, and as shown in fig. 6, the device mainly includes:
a sending unit 10, configured to send preset dictionary information to a terminal, where the preset dictionary information includes a preset dictionary, and the preset dictionary is a dictionary configured for the terminal by the device and used when compressing the UDC in uplink data;
and the receiving unit 11 is configured to receive synchronization confirmation information sent by the terminal, and complete preset dictionary synchronization of the terminal, where the synchronization confirmation information is feedback information generated after the terminal receives the preset dictionary information and stores the preset dictionary.
Optionally, the method further includes:
the device comprises a collecting unit, a processing unit and a processing unit, wherein the collecting unit is used for collecting operation that the byte number exceeds a first preset value in a first communication operation process, and the first communication operation process is a signaling and/or service data process of a control layer;
the determining unit is used for determining high-frequency fields with the field lengths exceeding a second preset value and the repetition rate higher than a third preset value from the operation;
and the composition unit is used for composing the preset dictionary by the high-frequency fields.
Optionally, the preset dictionary information further includes verification information, where the verification information is used to verify whether the preset dictionary is complete, and after the terminal receives the preset dictionary information, the terminal verifies by using the verification information to obtain that the preset dictionary is complete and stores the preset dictionary to generate the synchronization confirmation information.
Optionally, when there are multiple preset dictionaries of the device:
if the verification information of each preset dictionary is different, the verification information is a unique identifier corresponding to the sent preset dictionary, and the unique identifier is used for distinguishing different preset dictionaries;
if the verification information of the preset dictionaries is the same, the preset dictionary information sent to the terminal also comprises a unique identifier of the preset dictionary, and the unique identifier is different from the verification information.
Optionally, the method further includes:
the first receiving subunit is used for receiving the identification information of the stored dictionary sent by the terminal;
and the first sending subunit is configured to send the preset dictionary information to the terminal if the identification information does not include an identifier of a preset dictionary in the preset dictionary information.
Optionally, the method further includes:
the second sending subunit is configured to send, to the terminal, query information for querying a dictionary currently stored by the terminal;
the second receiving subunit is configured to receive identification information sent by the terminal for the query information, where the identification information includes information of an identifier of a dictionary currently stored by the terminal;
and the third sending subunit is configured to send the preset dictionary information to the terminal if the identifier information does not include an identifier of a preset dictionary in the preset dictionary information.
Optionally, if the identifier information includes an identifier of a preset dictionary in the preset dictionary information, the method further includes:
and the fourth sending subunit is configured to send, to the terminal, a confirmation message confirming that the preset dictionary in the preset dictionary information is used.
Optionally, the method further includes:
a broadcasting unit for broadcasting an identification of a dictionary that can be used to the terminal;
a third receiving subunit, configured to receive UDC capability information sent by a terminal, where the UDC capability information is information that the terminal reports to the device whether a dictionary corresponding to an identifier of the dictionary that can be used is stored after obtaining the identifier of the dictionary that can be used;
a fifth sending subunit, configured to send the preset dictionary information to the terminal if the UDC capability information indicates that the terminal does not store a dictionary corresponding to the identifier of the dictionary that can be used.
Optionally, the method further includes:
and a sixth sending subunit, configured to send, by the device, the preset dictionary or an identifier of the preset dictionary to a base station supporting the UDC through an access network management entity, so as to complete preset dictionary synchronization of the base station.
Based on the same inventive concept, embodiments of the present invention provide a terminal, where specific implementation of synchronization of preset dictionaries of the terminal may refer to description of the method embodiment, and repeated descriptions are omitted, and the terminal mainly includes:
the receiving unit is used for receiving preset dictionary information sent by network side equipment, wherein the preset dictionary information comprises a preset dictionary, and the preset dictionary is a dictionary which is configured for the terminal by the network side equipment and is used when the uplink data is compressed into the UDC;
and the sending unit is used for sending synchronization confirmation information to the network side equipment to complete the preset dictionary synchronization of the terminal, wherein the synchronization confirmation information is feedback information generated after the terminal receives the preset dictionary information and stores the preset dictionary.
Optionally, the preset dictionary information further includes verification information, where the verification information is used to verify whether the preset dictionary is complete, and after the terminal receives the preset dictionary information, the terminal verifies by using the verification information to obtain that the preset dictionary is complete and stores the preset dictionary to generate the synchronization confirmation information.
Optionally, when a plurality of preset dictionaries are received:
if the verification information of each preset dictionary is different, the verification information is a unique identifier corresponding to the received preset dictionary, and the unique identifier is used for distinguishing different preset dictionaries;
if the verification information of the preset dictionaries is the same, the received preset dictionary information also comprises a unique identifier of the preset dictionary, and the unique identifier is different from the verification information.
Optionally, the method further includes:
the first sending subunit is configured to send the identifier information of the stored dictionary to the network side device;
and the first receiving subunit is configured to receive the preset dictionary information sent by the network side device if the identification information does not include an identifier of the preset dictionary in the preset dictionary information.
Optionally, the method further includes:
the second receiving subunit is configured to receive query information, which is sent by the network side device and used for querying a dictionary currently stored by the terminal;
a second sending subunit, configured to send, to the network side device, identification information including information of an identification of a dictionary currently stored by the terminal, in view of the query information;
and the third receiving subunit is configured to receive the preset dictionary information sent by the network side device if the identifier information does not include the identifier of the preset dictionary in the preset dictionary information.
Optionally, if the identifier information includes an identifier of a preset dictionary in the preset dictionary information, the method further includes:
and a fourth receiving subunit, configured to receive a confirmation message sent by the network side device and confirming that the preset dictionary in the preset dictionary information is used.
Optionally, the method further includes:
an obtaining unit, configured to obtain an identifier of a dictionary that can be used and is broadcast by the network-side device;
a fourth sending subunit, configured to send UDC capability information to the network side device, where the UDC capability information is information that the terminal reports, after obtaining the identifier of the dictionary that can be used, whether the terminal stores the dictionary corresponding to the identifier of the dictionary that can be used, to the network side device;
a fifth receiving subunit, configured to receive preset dictionary information sent by the receiving network side device, if the UDC capability information indicates that the terminal does not store a dictionary corresponding to the identifier of the dictionary that can be used.
Based on the same inventive concept, an embodiment of the present invention provides a network device, where reference may be made to the description of the method embodiment for implementing specific implementation of synchronization of a terminal preset dictionary, and repeated parts are not repeated, and as shown in fig. 7, the network device mainly includes a processor 21 and a memory 22, where a preset program is stored in the memory 22, and the processor 21 reads the program in the memory 22, and executes the following processes according to the program:
sending preset dictionary information to a terminal, wherein the preset dictionary information comprises a preset dictionary, and the preset dictionary is a dictionary which is configured for the terminal by the equipment and is used when the UDC is compressed by uplink data;
and receiving synchronization confirmation information sent by the terminal, and completing preset dictionary synchronization of the terminal, wherein the synchronization confirmation information is feedback information generated after the terminal receives the preset dictionary information and stores the preset dictionary.
Optionally, before sending the preset dictionary information to the terminal, the method further includes:
collecting operation that the byte number exceeds a first preset value in a first communication operation process, wherein the first communication operation process is a signaling and/or service data process of a control plane;
determining high-frequency fields with the field lengths exceeding a second preset value and the repetition rate higher than a third preset value from the operation;
and composing the preset dictionary by the high-frequency fields.
Optionally, the preset dictionary information further includes verification information, where the verification information is used to verify whether the preset dictionary is complete, and after the terminal receives the preset dictionary information, the terminal verifies by using the verification information to obtain that the preset dictionary is complete and stores the preset dictionary to generate the synchronization confirmation information.
Optionally, when there are multiple preset dictionaries of the device:
if the verification information of each preset dictionary is different, the verification information is a unique identifier corresponding to the sent preset dictionary, and the unique identifier is used for distinguishing different preset dictionaries;
if the verification information of the preset dictionaries is the same, the preset dictionary information sent to the terminal also comprises a unique identifier of the preset dictionary, and the unique identifier is different from the verification information.
Optionally, before sending the preset dictionary information to the terminal, the method further includes:
receiving the identification information of the stored dictionary sent by the terminal;
and if the identification information does not comprise the identification of the preset dictionary in the preset dictionary information, the equipment sends the preset dictionary information to the terminal.
Optionally, before sending the preset dictionary information to the terminal, the method further includes:
sending query information for querying a dictionary currently stored by the terminal to the terminal;
receiving identification information sent by the terminal aiming at the query information, wherein the identification information comprises information of the identification of the dictionary currently stored by the terminal;
and if the identification information does not comprise the identification of the preset dictionary in the preset dictionary information, the equipment sends the preset dictionary information to the terminal.
Optionally, if the identifier information includes an identifier of a preset dictionary in the preset dictionary information, the device sends a confirmation message confirming use of the preset dictionary in the preset dictionary information to the terminal.
Optionally, before sending the preset dictionary information to the terminal, the method further includes:
broadcasting to the terminal an identification of a dictionary that may be used;
receiving UDC capability information sent by a terminal, wherein the UDC capability information is information of reporting whether a dictionary corresponding to the identifier of the usable dictionary is stored or not to the equipment after the identifier of the usable dictionary is obtained by the terminal;
and if the UDC capability information indicates that the terminal does not store the dictionary corresponding to the identifier of the dictionary which can be used, the equipment sends the preset dictionary information to the terminal.
Optionally, the device sends the preset dictionary information through NAS signaling or RRC signaling.
Optionally, the device sends the preset dictionary or sends an identifier of the preset dictionary to a base station supporting the UDC through an access network management entity, so as to complete preset dictionary synchronization of the base station.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, 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, 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, optical storage, and the like) having computer-usable program code embodied therein.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (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 apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, 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 apparatus 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 apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present invention without departing from the spirit and scope of the invention. Thus, if such modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include such modifications and variations.