WO2017190541A1 - 字典信息同步方法、装置及设备 - Google Patents
字典信息同步方法、装置及设备 Download PDFInfo
- Publication number
- WO2017190541A1 WO2017190541A1 PCT/CN2017/073881 CN2017073881W WO2017190541A1 WO 2017190541 A1 WO2017190541 A1 WO 2017190541A1 CN 2017073881 W CN2017073881 W CN 2017073881W WO 2017190541 A1 WO2017190541 A1 WO 2017190541A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- dictionary
- feedback
- information
- state
- field
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Ceased
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L1/00—Arrangements for detecting or preventing errors in the information received
- H04L1/12—Arrangements for detecting or preventing errors in the information received by using return channel
- H04L1/16—Arrangements for detecting or preventing errors in the information received by using return channel in which the return channel carries supervisory signals, e.g. repetition request signals
- H04L1/18—Automatic repetition systems, e.g. Van Duuren systems
- H04L1/1803—Stop-and-wait protocols
-
- H—ELECTRICITY
- H03—ELECTRONIC CIRCUITRY
- H03M—CODING; DECODING; CODE CONVERSION IN GENERAL
- H03M7/00—Conversion of a code where information is represented by a given sequence or number of digits to a code where the same, similar or subset of information is represented by a different sequence or number of digits
- H03M7/30—Compression; Expansion; Suppression of unnecessary data, e.g. redundancy reduction
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L1/00—Arrangements for detecting or preventing errors in the information received
- H04L1/0001—Systems modifying transmission characteristics according to link quality, e.g. power backoff
- H04L1/0014—Systems modifying transmission characteristics according to link quality, e.g. power backoff by adapting the source coding
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L1/00—Arrangements for detecting or preventing errors in the information received
- H04L1/12—Arrangements for detecting or preventing errors in the information received by using return channel
- H04L1/16—Arrangements for detecting or preventing errors in the information received by using return channel in which the return channel carries supervisory signals, e.g. repetition request signals
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L1/00—Arrangements for detecting or preventing errors in the information received
- H04L1/12—Arrangements for detecting or preventing errors in the information received by using return channel
- H04L1/16—Arrangements for detecting or preventing errors in the information received by using return channel in which the return channel carries supervisory signals, e.g. repetition request signals
- H04L1/1607—Details of the supervisory signal
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L1/00—Arrangements for detecting or preventing errors in the information received
- H04L1/12—Arrangements for detecting or preventing errors in the information received by using return channel
- H04L1/16—Arrangements for detecting or preventing errors in the information received by using return channel in which the return channel carries supervisory signals, e.g. repetition request signals
- H04L1/18—Automatic repetition systems, e.g. Van Duuren systems
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L1/00—Arrangements for detecting or preventing errors in the information received
- H04L1/12—Arrangements for detecting or preventing errors in the information received by using return channel
- H04L1/16—Arrangements for detecting or preventing errors in the information received by using return channel in which the return channel carries supervisory signals, e.g. repetition request signals
- H04L1/18—Automatic repetition systems, e.g. Van Duuren systems
- H04L1/1867—Arrangements specially adapted for the transmitter end
- H04L1/188—Time-out mechanisms
Definitions
- the present disclosure relates to the field of communications technologies, and in particular, to a dictionary information synchronization method, apparatus, and device.
- the operator By analyzing the data transmitted in the network, the operator finds that there are a large amount of duplicate information inside the data packet sent and received by the user and between the data packets, that is, there are some long information fields (hereinafter referred to as high frequency fields) that appear at high frequencies. For example, the source and destination IP addresses in the IP (Internet Protocol) packet, the source and destination port numbers in the TCP (Transmission Control Protocol) packet, etc., the duplicate content in the message sent by the user, and the like.
- IP Internet Protocol
- TCP Transmission Control Protocol
- a compression method in the related art is as follows: before transmitting data, the compression end identifies a high frequency field appearing at a high frequency, and replaces the high frequency field with a special short code to achieve the purpose of compressing the data packet to be transmitted.
- a dictionary mapping relationship between a special short code hereinafter referred to as a field number
- a high frequency field obtained in advance may be used (for example, each high frequency field in the decompression dictionary corresponds to a special short code, ie, a field number, The field number can be expressed in the index value Index), and the original information before compression is restored.
- the above method relates to a format of a compressed package: the compressed package includes: a header and a payload (payload).
- the payload portion is composed of original data and a special short field (also referred to as a field number) for replacing the high frequency field;
- the header section above may contain the following information:
- Type field indicates whether the current data packet contains compressed content
- Packet Length indicates the total length of the payload part
- Number of Compress subheader the number of Compress subheaders, each subheader corresponding to a compressed high frequency field
- each subheader contains the following information:
- Index field the field number in the dictionary corresponding to the compressed string
- Offset field the offset of the compressed string in the payload from the start position of the payload
- subheader may also contain the following information:
- Length field The length of the compressed string; used in the dictionary where the high-frequency string is long and only the first part appears in the compressed packet. It should be noted that the Length field is an optional field;
- Dict Setup field Indicates whether the current field is used for dictionary creation. At the beginning of compression, the decompression dictionary has not yet been built. At this time, the compression end needs to pass dictionary information to the decompression end.
- the compression end sets the decompression dictionary establishment indication field to "dictionary establishment" (for example, 1 bit (bit) is taken as 0).
- the Offset field in the compressed subheader indicates the offset of the compressed character string from the start position in the payload
- the Length field indicates the length of the high frequency field
- the Index field indicates the number corresponding to the high frequency field.
- the Dict Setup field is an optional field.
- Option 1 Pass dictionary information while data is being transferred
- the payload of the original data packet to be sent by the compression end includes: abcdefg, where “bcdefg” is a high frequency field identified by the compression end, and the compression end writes the high frequency field to the high frequency dictionary and is numbered 5.
- T indicates that the current data contains compressed content
- L Packet Length field: indicates the total length of the payload portion, 8 bytes (bytes);
- N Number of Compress subheader field
- Subheader The information in Subheader is as follows:
- Dict Setup field 0 identifies the corresponding data string as the original string, used to establish on the decompression side High frequency dictionary
- Offset field 1, indicating that the high frequency field is located after the first character of the payload portion
- Length 6, indicating that the high frequency field is 6 bytes in length
- the decompressor After receiving the data packet, the decompressor extracts the string bcdefg from the payload into the decompression dictionary, and the corresponding index is 5. At the same time, the payload part is passed to the upper layer as the data of this transmission.
- FIG. 3 a special signaling procedure for the compression and decompression ends is shown for decompressing the establishment of the dictionary.
- the compression and decompression terminals can establish a decompression dictionary by defining a message for the control plane.
- a decompression dictionary As shown in Figure 3. If the compression process is used for data compression between a UE (User Equipment) and an eNB (evolved Node B, evolved Node B), dedicated demodulation can be used to establish a decompression dictionary. In this process, user data transfer and dictionary setup updates are two separate processes. If the decompression dictionary is created/updated in this way, the dictionary information does not have to be carried in the user data, so the Dict Setup field does not need to be carried in the compressed data packet.
- UE User Equipment
- eNB evolved Node B
- dedicated demodulation can be used to establish a decompression dictionary.
- user data transfer and dictionary setup updates are two separate processes. If the decompression dictionary is created/updated in this way,
- Case 1 The dictionary information sent by the compression end is used to establish a new mapping relationship between the Index and the high frequency field. If the information is lost, the decompressed end will find the Index that is not recorded by the dictionary when decompressing; causing the decompression to fail.
- Case 2 The dictionary information sent by the compression end is used to update the mapping relationship between an existing Index and the high frequency field. If the information is lost, the decompression end decompresses the wrong mapping with an outdated error; the decompression error occurs.
- the related art has a problem that the compression end and the decompression end are decompressed due to the asynchronous synchronization of the dictionary information.
- the embodiment of the present disclosure provides a dictionary information synchronization method, apparatus, and device to avoid the problem of decompression error caused by the dictionary information being out of synchronization at the compression end and the decompression end.
- a method for synchronizing dictionary information includes:
- the compression end sends dictionary information to the decompression end, and the dictionary information includes: a dictionary mapping relationship between the high frequency field and the field number;
- the compression end When the compression end receives the feedback message sent by the decompression end within the set feedback time, the compression end sets the state of the dictionary mapping relationship to an effective state, and the feedback message is used to indicate the The decompressor has successfully received the dictionary information.
- the method further includes:
- the compression end When the compression end does not receive the feedback message sent by the decompression end within the feedback time, the compression end resends the dictionary information to the decompression end.
- the dictionary information is dictionary establishment information.
- the method further includes:
- the compression end sets a state of the original dictionary mapping relationship corresponding to the field number to a failure state.
- the method further includes:
- the compression end When the compression end does not receive the feedback message sent by the decompression end during the feedback time, the compression end sets the state of the new dictionary mapping relationship of the high frequency field and the field number, and the pre-update high frequency field and The state of the original dictionary mapping relationship corresponding to the field number is set to the invalid state.
- the compression end sends dictionary information to the decompressing end, including:
- the compression end sends a signaling packet to the decompressing end, and starts a timer for calculating a feedback time, where the signaling packet carries the dictionary information.
- the feedback message includes: an acknowledgement number or a plurality of acknowledgement numbers, wherein an acknowledgement number corresponds to a field number successfully received by the decompression end;
- the compression end sets the state of the dictionary mapping relationship to an effective state, including:
- the compression end sets a state of a dictionary mapping relationship corresponding to the one confirmation number to an effective state
- the compression end determines a field number corresponding to the one confirmation number
- the compression end determines all dictionary mapping relationships corresponding to all field numbers in the same data packet or signaling packet as the field number;
- the compression end sets the state of all dictionary mapping relationships to an effective state
- the compression end sets the state of the dictionary mapping relationship to an effective state, including:
- the compression end sets the state of the dictionary mapping relationship corresponding to each of the plurality of confirmation numbers to an effective state.
- the confirmation number is a field number or a data packet number or a number of a signaling packet.
- the compression end sends feedback configuration information to the decompressing end
- the compression end receives the decompression end and sends a feedback configuration confirmation message.
- the feedback configuration information includes one or more of the following: a signaling packet based numbering feedback or a packet based numbering feedback or a length based on field number feedback, convergence feedback, and feedback time.
- the compression end sends feedback configuration information to the decompressing end, including:
- the compression end receives the feedback capability sent by the decompression end
- the compression end sends feedback configuration information to the decompression end according to the feedback capability.
- a method for synchronizing dictionary information comprising:
- the decompressing end receives the dictionary information sent by the compression end, and the dictionary information includes: a dictionary mapping relationship between the high frequency field and the field number;
- the decompressing end sends a feedback message to the compression end within a set feedback time, and sets a state of the dictionary mapping relationship to an effective state.
- the method further includes:
- the decompressing end When the decompressing end does not send a feedback message to the compression end within a set feedback time, the decompressing end receives the dictionary information retransmitted by the compression end.
- the dictionary information is dictionary establishment information.
- the method further includes:
- the decompressing end sets a state in which the high frequency field and the original dictionary mapping relationship corresponding to the field number are set to a invalid state.
- the decompressing end receives the dictionary information sent by the compression end, and includes:
- the decompressing end receives the encoded data packet sent by the compression end, and the encoded data packet carries the dictionary information;
- the decompressing end receives a signaling packet sent by the compression end, where the signaling packet carries the dictionary information.
- the feedback message includes: an acknowledgement number or a plurality of acknowledgement numbers, wherein an acknowledgement number corresponds to a field number successfully received by the decompression end.
- the confirmation number is a field number or a data packet number or a number of a signaling packet.
- the method further includes:
- the decompressing end receives feedback configuration information sent by the compression end
- the decompressing end sends a feedback configuration confirmation message to the compression end.
- the feedback configuration information includes one or more of the following: a signaling packet based numbering feedback or a packet based numbering feedback or a length based on field number feedback, aggregation or unified feedback and feedback time.
- the method before the decompressing end receives the feedback configuration information sent by the compression end, the method further includes:
- the decompression end sends a feedback capability to the compression end.
- an apparatus for synchronizing dictionary information comprising:
- a first sending module configured to send dictionary information to the decompressing end, where the dictionary information includes: a dictionary mapping relationship between the high frequency field and the field number;
- a first state setting module configured to set a state of the dictionary mapping relationship to an effective state when receiving a feedback message sent by the decompressing end within a set feedback time, where the feedback message is used to indicate the The decompressor has successfully received the dictionary information.
- the first sending module is further configured to: when the feedback message sent by the decompressing end is not received within the feedback time, the compression end resends the dictionary information to the decompressing end.
- the dictionary information is dictionary establishment information.
- the first state setting module is further configured to: use a original word corresponding to the field number The state of the code mapping relationship is set to the invalid state.
- the first state setting module is further configured to: when the feedback message sent by the decompressing end is not received within the feedback time, the compression end searches for a new dictionary of the high frequency field and the field number The state of the mapping relationship and the state of the original dictionary mapping relationship corresponding to the field number before the update are set to the invalid state.
- the first sending module is further configured to send the encoded data packet to the decompressing end, and start a timer for calculating a feedback time, where the encoded data packet carries the dictionary information; or Sending a signaling packet to the decompressing end, and starting a timer for calculating a feedback time, the signaling packet carrying the dictionary information.
- the feedback message includes: an acknowledgement number or a plurality of acknowledgement numbers, wherein an acknowledgement number corresponds to a field number successfully received by the decompression end;
- the first state setting module is further configured to set a state of the dictionary mapping relationship corresponding to the one confirmation number to an effective state; or determine to correspond to the one confirmation number.
- Field number determine all dictionary mapping relationships corresponding to all field numbers in the same data packet or signaling packet as the field number; set the state of all dictionary mapping relationships to the effective state;
- the first state setting module is further configured to set the state of the dictionary mapping relationship corresponding to each of the plurality of confirmation numbers to an effective state.
- the confirmation number is a field number or a data packet number or a number of a signaling packet.
- the device further includes:
- a second sending module configured to send feedback configuration information to the decompressing end
- the first receiving module is configured to receive the feedback configuration confirmation message sent by the decompressing end.
- the feedback configuration information includes one or more of the following: a signaling packet based numbering feedback or a packet based numbering feedback or a length based on field number feedback, convergence feedback, and feedback time.
- the second sending module is further configured to receive a feedback capability sent by the decompressing end, and send feedback configuration information to the decompressing end according to the feedback capability.
- a compression end including the above The device for synchronizing the dictionary information.
- an apparatus for synchronizing dictionary information comprising:
- a second receiving module configured to receive dictionary information sent by the compression end, where the dictionary information includes: a dictionary mapping relationship between the high frequency field and the field number;
- a third sending module configured to send a feedback message to the compression end within a set feedback time
- the second state setting module is configured to set a state of the dictionary mapping relationship to an effective state.
- the second receiving module is further configured to:
- the receiving end resends the dictionary information.
- the dictionary information is dictionary establishment information.
- the second state setting module is further configured to: set a state of the original dictionary mapping relationship corresponding to the field number of the high frequency field to a failure state.
- the second receiving module is further configured to: receive the encoded data packet sent by the compression end, where the encoded data packet carries the dictionary information; or receive a signaling packet sent by the compression end, where The signaling packet carries the dictionary information.
- the feedback message includes: an acknowledgement number or a plurality of acknowledgement numbers, wherein an acknowledgement number corresponds to a field number successfully received by the decompression end.
- the confirmation number is a field number or a data packet number or a number of a signaling packet.
- the second receiving module is further configured to receive feedback configuration information sent by the compression end;
- the third sending module is further configured to send a feedback configuration confirmation message to the compression end.
- the feedback configuration information includes one or more of the following: a signaling packet based numbering feedback or a packet based numbering feedback or a length based on field number feedback, aggregation or unified feedback and feedback time.
- the third sending module is further configured to send a feedback capability to the compressed end.
- a decompression end comprising means for synchronizing dictionary information as described above.
- a dictionary information synchronization device including: processor and memory, where:
- the processor is configured to read a program in the memory and perform the following process:
- the dictionary information comprising: a dictionary mapping relationship between the high frequency field and the field number;
- the state of the dictionary mapping relationship is set to an effective state, and the feedback message is used to indicate that the decompressing end has successfully received the dictionary.
- the memory is capable of storing data used by the processor when performing operations.
- an apparatus for synchronizing dictionary information comprising: a processor and a memory, wherein:
- the processor is configured to read a program in the memory and perform the following process:
- the dictionary information comprising: a dictionary mapping relationship between the high frequency field and the field number;
- the memory is capable of storing data used by the processor when performing operations.
- the compression end sends dictionary information to the decompression end, and the dictionary information carries a dictionary mapping relationship between the high frequency field and the field number; when the compression end is within the set feedback time
- the compression end sets the state of the dictionary mapping relationship to the effective state. Since the feedback message can reflect that the decompression end has successfully received the dictionary information, the compression end and the decompression end can be synchronized due to the dictionary information. To avoid the problem of decompression error caused by the dictionary information being out of sync on the compression side and the decompression end.
- FIG. 1 is a schematic diagram of an original data packet to be sent by a compression end in the related art
- FIG. 2 is a schematic diagram of data after encoding data by a compression end in the related art
- FIG. 3 is a schematic diagram of a special signaling process for establishing a high frequency dictionary in the related art
- FIG. 5 is a flow chart of a method for synchronizing dictionary information in some embodiments of the present disclosure
- FIG. 6 is a schematic diagram of a compressed data to be sent original data packet in some embodiments of the present disclosure
- Figure 7 is a schematic illustration of encoded data in some embodiments of the present disclosure.
- Figure 8 is a schematic illustration of one format of a feedback message in some embodiments of the present disclosure.
- FIG. 9 is a schematic diagram of a method of transmitting dictionary information using dedicated signaling in some embodiments of the present disclosure.
- FIG. 10 is a schematic diagram of another format of a feedback message in some embodiments of the present disclosure.
- FIG. 11 is a schematic diagram of a compression configuration method in some embodiments of the present disclosure.
- FIG. 12 is a second schematic diagram of a compression configuration method in some embodiments of the present disclosure.
- Figure 13 is one of the schematic diagrams of capability reporting in some embodiments of the present disclosure.
- Figure 14 is a second schematic diagram of capability reporting in some embodiments of the present disclosure.
- 15 is a schematic diagram of a method of synchronizing dictionary information in some embodiments of the present disclosure.
- 16 is a schematic diagram of an apparatus for synchronizing dictionary information in some embodiments of the present disclosure.
- 17 is a schematic diagram of an apparatus for synchronizing dictionary information in some embodiments of the present disclosure.
- Figure 18 is a schematic illustration of an apparatus for synchronizing dictionary information in some embodiments of the present disclosure.
- 19 is a schematic diagram of an apparatus for synchronizing dictionary information in some embodiments of the present disclosure.
- the executor of the method embodiment of the present disclosure may be a terminal or an access device.
- the corresponding decompression end is an access device; when the compression end is an access device, the phase is The decompression end should be the terminal.
- the UE may be a mobile phone (or mobile phone), or other device capable of transmitting or receiving wireless signals, including user equipment (terminal), personal digital assistant (PDA), wireless modem, wireless communication device, handheld device, knee A computer, a cordless telephone, a Wireless Local Loop (WLL) station, a CPE (Customer Premise Equipment) capable of converting a mobile signal into a WiFi (Wireless Fidelity) signal, or a mobile smart hotspot, a smart home appliance, or Other devices that can spontaneously communicate with a mobile communication network without human operation.
- the access device may be a base station.
- the form of the foregoing base station is not limited, and may be a Macro Base Station, a Pico Base Station, a Node B (referred to as a 3G mobile base station), an eNB, or A home evolved base station (FemtoeNB or Home eNode B or Home eNB or HeNB), a relay station, an access point, an RRU (Remote Radio Unit), an RRH (Remote Radio Head), and the like.
- Step S401 The compression end sends the dictionary information to the decompression end, and the dictionary information includes: a dictionary mapping relationship between the high frequency field and the field number.
- the compression end sends the encoded data packet to the decompression end, and starts a timer for calculating a feedback time, where the encoded data packet carries dictionary information; or the compression end sends a signaling packet to the decompression end, and starts A timer for calculating a feedback time, the signaling packet carrying dictionary information.
- the compression end Before transmitting the data, the compression end identifies the high frequency field and replaces the high frequency field with a special short code (field number), and records the high frequency field and the above field number into the high frequency dictionary, that is, in the high frequency dictionary. A dictionary mapping relationship between the high frequency field and the above field number is recorded.
- the above high frequency field refers to a long information field that appears at a high frequency, such as a source and destination IP address in an IP packet, a source and destination port number in a TCP packet, etc., a duplicate content in a message sent by a user, and the like.
- the above field number is a special short code corresponding to the high frequency field in the high frequency dictionary, such as an index Index.
- an index Index a special short code corresponding to the high frequency field in the high frequency dictionary.
- the dictionary information may be dictionary establishment information or dictionary update information, wherein the dictionary establishment information is used to notify the decompression end to establish a decompression dictionary according to the dictionary establishment information; the dictionary update information is used to notify the decompression end to map the dictionary mapping relationship in the decompression dictionary according to the dictionary update information. Update.
- the compression end may set the state of the original dictionary mapping relationship corresponding to the field number to a invalid state. For example, the original dictionary mapping relationship between the field number "5" and the original high frequency field "abcdef" is recorded in the high frequency dictionary, and a new dictionary mapping relationship between the field number "5" and the new high frequency field “abcdefg” is established. The compression end may set the state of the original dictionary mapping relationship between the field number "5" and the original high frequency field "abcdef" to a invalid state.
- Step S402 When the compression end receives the feedback message sent by the decompression end within the set feedback time, the compression end sets the state of the dictionary mapping relationship to an effective state, and the feedback message is used to indicate that the decompression end has successfully received the dictionary information.
- the feedback time may be set according to a specific situation.
- the data packet or the signaling packet received by the decompression terminal includes multiple dictionary information (ie, multiple dictionary mapping relationships)
- the feedback message includes a confirmation number of the dictionary mapping relationship
- the compression end sets the state of all dictionary mapping relationships in the data packet or signaling packet to the active state.
- the state of the dictionary mapping relationship includes an effective state and a invalid state.
- the compression end performs compression processing only according to the dictionary mapping relationship of the effective state, and the decompression end only performs decompression processing according to the dictionary mapping relationship of the effective state.
- the feedback message includes: a confirmation number or a plurality of aggregation numbers of the aggregation, wherein one confirmation number corresponds to a dictionary information successfully received by the decompressed end.
- the compression end sets the state of the dictionary mapping relationship to the effective state, which specifically includes: the compression end sets the state of the dictionary mapping relationship corresponding to the confirmation number to the effective state; or the compression end determines one Confirming dictionary information corresponding to the number; the compression end determines all dictionary mapping relationships corresponding to all field numbers in the same data packet or signaling packet as the dictionary information; the compression end sets the state of all dictionary mapping relationships to an effective state;
- the compression end sets the state of the dictionary mapping relationship to the effective state, which specifically includes: the compression end sets the state of the dictionary mapping relationship corresponding to each of the plurality of acknowledgment numbers. Set to the active state.
- the confirmation number is a field number (for example, Index) or a data packet number (for example, SN) or a number of a signaling packet, and is not limited thereto.
- Step S403 When the compression end does not receive the feedback message sent by the decompression end within the feedback time, the compression end resends the dictionary information to the decompression end.
- Step S404 When the compression end does not receive the feedback message sent by the decompression end during the feedback time, the compression end maps the state of the new dictionary mapping relationship between the high frequency field and the field number, and the original dictionary mapping relationship corresponding to the field number. The status is set to the failed status.
- the original dictionary mapping relationship between the field number "5" and the original high frequency field “abcdef” is recorded in the high frequency dictionary, and a new dictionary mapping relationship between the field number "5" and the new high frequency field “abcdefg” is established.
- the compression end may map the field number "5" with the new dictionary of the new high frequency field "abcdefg", and the field number "5" and The state of the original dictionary mapping relationship of the original high frequency field "abcdef" is set to the invalid state.
- steps S403 and S404 are optional steps.
- the compression end sends dictionary information to the decompression end, the dictionary information carries a dictionary mapping relationship between the high frequency field and the field number; when the compression end receives the feedback message sent by the decompression end within the set feedback time The compression end sets the state of the dictionary mapping relationship to the effective state. Since the feedback message can reflect that the decompression end has successfully received the dictionary information, the compression end and the decompression end can be synchronized due to the dictionary information, so as to avoid the compression end and the decompression end due dictionary. The problem of decompression error caused by the information being out of sync.
- the compression end when the compression end does not receive the feedback message sent by the decompression end during the feedback time, the compression end resends the dictionary information to the decompression end, further ensuring that the compression end and the decompression end can be synchronized due to the dictionary information.
- the dictionary information is transmitted while the data is being transmitted, and the original data packet to be sent by the compression end is as shown in FIG. 6, and the specific steps are as follows.
- Step S501 The character string "bcdefg" is a high frequency field identified by the compression end, and the compression end writes the high frequency field to the high frequency dictionary, and the field number corresponding to the high frequency field is 5; at this time, the high frequency field is The dictionary mapping of field numbers has not yet taken effect;
- Step S502 The compression end encodes the data.
- the encoded data is shown in Figure 7.
- T indicates that the current data contains compressed content
- L Packet Length field: indicates the total length of the payload part, 8 bytes
- N Number of Compress subheader field
- Subheader The information in Subheader is as follows:
- Dict Setup field 0, identifies the corresponding data string as the original string, used to build a dictionary on the decompression side;
- Offset field 1, indicating that the high frequency field is located after the first character of the payload portion
- Length 6, indicating that the high frequency field is 6 bytes in length
- Step S503 The compressed end sends a data packet, and starts a timer T;
- Step S504 After receiving the data packet, the decompressing end extracts the string bcdefg from the payload into the decompression dictionary, and the corresponding index is 5. This information can be used immediately for decompression;
- Step S505 The decompressing end sends the dictionary information to confirm the received feedback message.
- FIG. 1 In this embodiment, one possible format is shown in FIG.
- T indicates that the current data packet is a dictionary information to confirm the reception message
- Index field The value is 5, that is, the high-frequency field mapping relationship with the index of 5 is received.
- Step S506 The compression end receives the feedback message, and activates the dictionary mapping relationship written in the high frequency dictionary in step S501. At the same time, stop the timer T.
- the compression end may retransmit the corresponding dictionary mapping relationship.
- the decompression end may carry all corresponding indexes (such as 1, 2) or one of the indexes (such as 1). Can be used as confirmation information for the corresponding dictionary mapping relationship;
- the decompression end can uniformly acknowledge the reception of the dictionary mapping relationship in a feedback message.
- the decompression end can carry all the corresponding Index (such as 1, 2, 3) or each packet sent by the compression end.
- An Index (such as 1, 2) can be used as a confirmation message for the corresponding dictionary mapping relationship.
- ACK Acknowledge
- the confirmation may be based on the field number (for example, Index), or may be based on the SN (Sequence Number) of the data packet sent by the compression end or the number of the signaling packet.
- Step S901 The string “bcdefg” is a high frequency string identified by the compression end, and the compression end writes the field to the high frequency dictionary, and the field number is 5; at this time, the dictionary information has not yet taken effect;
- Step S903 After receiving the data packet, the decompressing end extracts the string bcdefg into the decompression dictionary, and the corresponding index is 5. This information can be used immediately for decompression;
- Step S904 The decompressing end sends the dictionary information to confirm the received feedback message.
- T indicates that the current data packet is a dictionary information to confirm the received message; and the Index field: the value is 5, that is, the current acknowledgement is received.
- Index is a high frequency field mapping relationship of 5.
- FIG. 10 Another possible format of the feedback message is as shown in FIG. 10, and the details are as follows:
- T indicates that the current data packet is a dictionary information to confirm the reception message
- the value is 100, that is, the acknowledgment reception of the signaling packet with the number of 100 is received.
- Step S905 The compression end receives the feedback message, and activates the dictionary mapping relationship of the high frequency dictionary written in step S9051. At the same time, stop the timer T.
- the compression end may retransmit the corresponding dictionary mapping relationship.
- the decompression end may carry all corresponding indexes (such as 1, 2) or one of the indexes (such as 1). Can be used as confirmation information for the corresponding dictionary mapping relationship;
- the decompression end can uniformly acknowledge the reception of the above mapping relationship in a piece of feedback information.
- the decompression end can carry all the corresponding Index (such as 1, 2, 3) or an Index (such as 1, 2) in each packet sent by the compression end. Can be used as a confirmation message for the corresponding dictionary mapping relationship.
- Step S1101 The compression end sends feedback configuration information to the decompression end.
- Step S1102 The compression end receives the decompression end and sends a feedback configuration confirmation message.
- the feedback configuration information includes one or more of the following: a signaling packet based numbering feedback or a packet based numbering feedback or a length based on field number feedback, aggregation feedback, and feedback time.
- the eNB may configure whether to initiate feedback to the UE; in the case of starting feedback, the specific parameter configuration of the feedback, such as: based on SN or based on dictionary index feedback; Aggregation/unified feedback; length of timer T, etc.
- the UE After receiving the configuration message, the UE needs to send an acknowledgement message to confirm the successful reception and use of the configuration message.
- the underlying retransmission mechanism can ensure accurate and sequential reception of dictionary information.
- the feedback mechanism can be configured without using.
- Step S1301 The compression end receives the feedback capability sent by the decompression end.
- Step S1302 The compression end sends feedback configuration information to the decompression end according to the feedback capability.
- the UE can report its own compression capability. This includes feedback capabilities, such as whether to support aggregation reporting, whether to support SN reporting, and so on.
- Step S1501 The decompressing end receives the dictionary information sent by the compression end, and the dictionary information includes: a dictionary mapping relationship between the high frequency field and the field number.
- Step S1502 The decompressing end sends a feedback message to the compression end within a set feedback time, and sets a state of the dictionary mapping relationship to an effective state.
- the method further includes: when the decompressing end does not send a feedback message to the compression end within a set feedback time, the decompressing end receives the compressed end and resends The dictionary information.
- the dictionary information is dictionary establishment information.
- the method further includes:
- the decompressing end sets a state in which the high frequency field and the original dictionary mapping relationship corresponding to the field number are set to a invalid state.
- the decompressing end receives the dictionary information sent by the compression end, and includes:
- the decompressing end receives the encoded data packet sent by the compression end, and the encoded data packet carries the dictionary information;
- the decompressing end receives a signaling packet sent by the compression end, where the signaling packet carries the dictionary information.
- the feedback message includes: an acknowledgement number or a plurality of acknowledgement numbers, wherein an acknowledgement number corresponds to a field number successfully received by the decompressed end.
- the confirmation number is a field number or a data packet number or a number of a signaling packet.
- the method further includes: the decompressing end receives the feedback configuration information sent by the compression end; and the decompressing end sends a feedback configuration confirmation message to the compression end.
- the feedback configuration information includes one or more of the following: numbering feedback based on the signaling packet or numbering feedback based on the data packet or length based on field number feedback, aggregation, or unified feedback and feedback time .
- the method before the decompressing end receives the feedback configuration information sent by the compression end, the method further includes: the decompressing end sends the feedback capability to the compression end.
- an apparatus for synchronizing dictionary information comprising:
- the first sending module 1601 is configured to send dictionary information to the decompressing end, where the dictionary information includes: a dictionary mapping relationship between the high frequency field and the field number;
- the first state setting module 1602 is configured to set a state of the dictionary mapping relationship to an effective state when the feedback message sent by the decompressing end is received within a set feedback time, where the feedback message is used to indicate It is stated that the compressed end has successfully received the dictionary information.
- the first sending module is further configured to: when the feedback message sent by the decompressing end is not received in the feedback time, the compression end resends the information to the decompressing end. Dictionary information.
- the dictionary information is dictionary establishment information.
- the first state setting module is further configured to set a state of the original dictionary mapping relationship corresponding to the field number to a failure state.
- the first state setting module is further configured to: when the feedback message sent by the decompressing end is not received within the feedback time, the compression end sets the high frequency field The state of the new dictionary mapping relationship with the field number, and the state of the original dictionary mapping relationship corresponding to the high frequency field and the field number before the update are all set to the invalid state.
- the first sending module is further configured to send the encoded data packet to the decompressing end, and start a timer for calculating a feedback time, where the encoded data packet carries The dictionary information; or sending a signaling packet to the decompressing end, and starting a timer for calculating a feedback time, the signaling packet carrying the dictionary information.
- the feedback message includes: an acknowledgement number or a plurality of acknowledgement numbers, wherein an acknowledgement number corresponds to a field number successfully received by the decompression end;
- the first state setting module is further configured to set a state of the dictionary mapping relationship corresponding to the one confirmation number to an effective state; or determine to correspond to the one confirmation number.
- Field number determine all dictionary mapping relationships corresponding to all field numbers in the same data packet or signaling packet as the field number; set the state of all dictionary mapping relationships to the effective state;
- the first state setting module is further configured to set the state of the dictionary mapping relationship corresponding to each of the plurality of confirmation numbers to an effective state.
- the confirmation number is a field number or a data packet number or The number of the signaling packet.
- the apparatus further includes:
- a second sending module configured to send feedback configuration information to the decompressing end
- the first receiving module is configured to receive the feedback configuration confirmation message sent by the decompressing end.
- the feedback configuration information includes one or more of the following: a numbering feedback based on the signaling packet or a numbering feedback based on the data packet or a length based on the field number feedback, the convergence feedback, and the feedback time.
- the second sending module is further configured to receive a feedback capability sent by the decompressing end, and send feedback configuration information to the decompressing end according to the feedback capability.
- an apparatus for synchronizing dictionary information comprising:
- the first processor 1704 is configured to read the program in the first memory 1705 and perform the following process:
- the dictionary information includes: a dictionary mapping relationship between the high frequency field and the field number; when the feedback message sent by the decompressing end is received within the set feedback time, the dictionary mapping relationship is The status is set to an active state, and the feedback message is used to indicate that the decompressed end has successfully received the dictionary information;
- the first transceiver 1701 is configured to receive and transmit data under the control of the first processor 1704.
- a first bus architecture (represented by a first bus 1700), which may include any number of interconnected buses and bridges, the first bus 1700 will include one or the one represented by the first processor 1704
- the plurality of processors and the various circuits of the memory represented by the first memory 1705 are linked together.
- the first bus 1700 can also link various other circuits such as peripherals, voltage regulators, and power management circuits.
- the first bus interface 1703 provides an interface between the first bus 1700 and the first transceiver 1701.
- the first transceiver 1701 can be an element or a plurality of elements, such as a plurality of receivers and transmitters, providing means for communicating with various other devices on a transmission medium.
- the data processed by the first processor 1704 is transmitted over the wireless medium by the first antenna 1702. Further, the first antenna 1702 also receives the data and transmits the data to the first processor 1704.
- the first processor 1704 is responsible for managing the first bus 1700 and the usual processing, and can also provide various functions including timing, peripheral interfaces, voltage regulation, power management, and other control functions. And the first memory 1705 can be used to store the number used by the first processor 1704 when performing an operation. according to.
- the first processor 1704 can be a CPU, an ASIC, an FPGA, or a CPLD.
- the first processor 1704 is further configured to: when the feedback message sent by the decompression end is not received within the feedback time, the compression end resends the decompression end The dictionary information.
- the dictionary information is dictionary establishment information.
- the first processor 1704 is further configured to set a state of the original dictionary mapping relationship corresponding to the field number to a failure state.
- the first processor 1704 is further configured to: when the feedback message sent by the decompressing end is not received within the feedback time, the compression end uses the high frequency field and The state of the new dictionary mapping relationship of the field number, and the state of the original dictionary mapping relationship corresponding to the field number before the update are set to the invalid state.
- the first processor 1704 is further configured to send the encoded data packet to the decompressing end, and start a timer for calculating a feedback time, where the encoded data packet carries There is the dictionary information; or a signaling packet is sent to the decompressing end, and a timer for calculating a feedback time is carried, the signaling packet carrying the dictionary information.
- the feedback message includes: an acknowledgement number or a plurality of acknowledgement numbers, wherein an acknowledgement number corresponds to a field number successfully received by the decompression end;
- the first processor 1704 is further configured to set a state of a dictionary mapping relationship corresponding to the one confirmation number to an effective state; or determine to correspond to the one confirmation number.
- Field number determine all dictionary mapping relationships corresponding to all field numbers in the same data packet or signaling packet as the field number; set the state of all dictionary mapping relationships to the effective state;
- the first processor 1704 is further configured to set the state of the dictionary mapping relationship corresponding to each of the plurality of confirmation numbers to an effective state.
- the confirmation number is a field number or a data packet number or a number of a signaling packet.
- the first processor 1704 is further configured to send feedback configuration information to the decompressing end; and is further configured to receive the decompressing end to send a feedback configuration confirmation message.
- the feedback configuration information includes one or more of the following: a numbering feedback based on the signaling packet or a numbering feedback based on the data packet or a length based on the field number feedback, the convergence feedback, and the feedback time.
- the first processor 1704 is further configured to receive a feedback capability sent by the decompressing end, and send feedback configuration information to the decompressing end according to the feedback capability.
- a compression terminal including means for synchronizing dictionary information as described above with reference to FIG. 15 or FIG.
- an apparatus for synchronizing dictionary information comprising:
- the second receiving module 1801 is configured to receive dictionary information sent by the compression end, where the dictionary information includes: a dictionary mapping relationship between the high frequency field and the field number;
- the third sending module 1802 is configured to send a feedback message to the compression end within a set feedback time
- the second state setting module 1803 is configured to set a state of the dictionary mapping relationship to an effective state.
- the second receiving module is further configured to:
- the receiving end resends the dictionary information.
- the dictionary information is dictionary establishment information.
- the second state setting module is further configured to: display a state of a mapping relationship between the high frequency field and the original dictionary corresponding to the field number Set to the invalid state.
- the second receiving module is further configured to: receive the encoded data packet sent by the compression end, where the encoded data packet carries the dictionary information; or send the compressed end to send The signaling packet carries the dictionary information.
- the feedback message includes: an acknowledgement number or a plurality of acknowledgement numbers, wherein an acknowledgement number corresponds to a field number successfully received by the decompressed end.
- the confirmation number is a field number or a data packet number or a number of a signaling packet.
- the second receiving module is further configured to receive feedback configuration information sent by the compression end;
- the third sending module is further configured to send a feedback configuration confirmation message to the compression end.
- the feedback configuration information includes one or more of the following: numbering feedback based on the signaling packet or numbering feedback based on the data packet or based on field number feedback, aggregation, or unified feedback and feedback time length.
- the third sending module is further configured to send a feedback capability to the compression end.
- an apparatus for synchronizing dictionary information comprising:
- the second processor 1904 is configured to read the program in the second memory 1905 and perform the following process:
- the dictionary information is used to receive the dictionary information sent by the compression end, the dictionary information includes: a dictionary mapping relationship between the high frequency field and the field number; sending a feedback message to the compression end within a set feedback time; and mapping the state of the dictionary relationship Set to the active state;
- the second transceiver 1901 is configured to receive and transmit data under the control of the second processor 1904.
- a second bus architecture (represented by a second bus 1900), the second bus 1900 can include any number of interconnected buses and bridges, and the second bus 1900 will include one or both represented by the second processor 1904.
- the plurality of processors and the various circuits of the memory represented by the first memory 1905 are linked together.
- the second bus 1900 can also link various other circuits such as peripherals, voltage regulators, and power management circuits.
- the second bus interface 1903 provides an interface between the first bus 1900 and the second transceiver 1901.
- the second transceiver 1901 can be an element or a plurality of elements, such as a plurality of receivers and transmitters, providing means for communicating with various other devices on a transmission medium.
- the data processed by the second processor 1904 is transmitted over the wireless medium by the second antenna 1902. Further, the second antenna 1902 also receives the data and transmits the data to the second processor 1904.
- the second processor 1904 is responsible for managing the second bus 1900 and the usual processing, and can also provide various functions including timing, peripheral interfaces, voltage regulation, power management, and other control functions.
- the second memory 1705 can be used to store the number used by the second processor 1704 when performing operations. according to.
- the second processor 1904 can be a CPU, an ASIC, an FPGA, or a CPLD.
- the second processor 1904 is further configured to:
- the receiving end resends the dictionary information.
- the dictionary information is dictionary establishment information.
- the second processor 1904 is further configured to set a state of a mapping relationship between the high frequency field and the original dictionary corresponding to the field number. It is in a failed state.
- the second processor 1904 is further configured to: receive the encoded data packet sent by the compression end, where the encoded data packet carries the dictionary information; or receive the compression end A signaling packet sent, the signaling packet carrying the dictionary information.
- the feedback message includes: an acknowledgement number or a plurality of acknowledgement numbers, wherein an acknowledgement number corresponds to a field number successfully received by the decompressed end.
- the confirmation number is a field number or a data packet number or a number of a signaling packet.
- the second processor 1904 is further configured to receive feedback configuration information sent by the compression end, and send a feedback configuration confirmation message to the compression end.
- the feedback configuration information includes one or more of the following: numbering feedback based on the signaling packet or numbering feedback based on the data packet or based on field number feedback, aggregation, or unified feedback and feedback time length.
- the second processor 1904 is further configured to send a feedback capability to the compression end.
- the present embodiment provides a decompression end comprising means for synchronizing dictionary information as described above with reference to FIG. 15, FIG. 16 or 18.
- system and “network” are used interchangeably herein.
- B corresponding to A means that B is associated with A, and B can be determined from A.
- determining B from A does not mean that B is only determined based on A, and that B can also be determined based on A and/or other information.
- the disclosed method and apparatus may be implemented in other manners.
- the device embodiments described above are merely illustrative.
- the division of the unit is only a logical function division.
- there may be another division manner for example, multiple units or components may be combined or Can be integrated into another system, or some features can be ignored or not executed.
- the mutual coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interface, device or unit, and may be in an electrical, mechanical or other form.
- each functional unit in each embodiment of the present disclosure may be integrated into one processing unit, or each unit may be physically included separately, or two or more units may be integrated into one unit.
- the above integrated unit can be implemented in the form of hardware or in the form of hardware plus software functional units.
- the above-described integrated unit implemented in the form of a software functional unit can be stored in a computer readable storage medium.
- the software functional unit described above is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, server, or network device, etc.) to perform part of the steps of the method of transmitting and receiving described in various embodiments of the present disclosure.
- the foregoing storage medium includes: a U disk, a mobile hard disk, a read-only memory (ROM), and a random memory.
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Quality & Reliability (AREA)
- Theoretical Computer Science (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
- Detection And Prevention Of Errors In Transmission (AREA)
Abstract
本申请提供了一种字典信息同步方法、装置及设备。该方法包括:压缩端向解压端发送字典信息,所述字典信息包括:高频字段和字段编号的字典映射关系;当所述压缩端在设定的反馈时间内接收到所述解压端发送的反馈消息时,所述压缩端将所述字典映射关系的状态设置为生效状态,所述反馈消息用于表示所述解压端已经成功接收所述字典信息。
Description
相关申请的交叉引用
本申请主张在2016年5月6日在中国提交的中国专利申请No.201610298039.5的优先权,其全部内容通过引用包含于此。
本公开文本涉及通信技术领域,尤其涉及一种字典信息同步方法、装置及设备。
运营商通过对网络中传输的数据进行分析,发现用户收发的数据包内部,以及数据包之间存在大量的重复信息,即存在一些高频出现的长信息字段(以下称为高频字段),如IP(Internet Protocol,互联网协议)包中的源和目标IP地址,TCP(Transmission Control Protocol,传输控制协议)包中的源和目标端口号等等,用户发送消息中的重复内容等等。
一种相关技术中的压缩方法如下:发送数据前,压缩端鉴别出高频出现的高频字段,并用特殊短编码替代高频字段,以达到对待发送数据包进行压缩的目的。在解压端,可以根据预先获得的特殊短编码(以下称为字段编号)和高频字段之间的字典映射关系(例如解压字典中每一个高频字段对应于一个特殊短编码即字段编号,该字段编号的表现形式可以为索引值Index),恢复出压缩前原始信息。
上述方法涉及一种压缩包的格式:被压缩包包含:包头和payload(有效载荷)两部分。
其中,payload部分为被原始数据和用于替换高频字段的特殊短字段(也可称为字段编号)组成;
上述包头部分可能包含以下信息:
a、Type域:指示当前数据包是否含有被压缩内容;
b、Packet Length(数据包长度):指示payload部分的总长度;
c、Number of Compress subheader(压缩子标头的个数):Compress subheader的个数,每一个subheader(子标头)对应于一个被压缩的高频字段;
d、Compress subheader,每一个subheader中包含以下信息:
Index域:被压缩字符串所对应字典中的字段编号;
Offset域:被压缩字符串在payload中距离payload起始位置的偏移量;
需要说明的是,subheader中还可能包含以下信息:
Length域:被压缩的字符串的长度;用于字典中高频字符串较长,而仅有开头一部分出现在被压缩的数据包中的情况。需要说明的是,Length域为可选字段;
Dict Setup域:指示当前字段是否用于字典建立;在压缩开始时,解压端还没有建立解压字典,此时,压缩端需要传递字典信息给解压端。当高频字段首次出现在压缩端传递给解压端的数据中时,压缩端将解压字典建立指示域设置为“字典建立”(例如用1bit(比特)取0标识)。此时压缩子头中的Offset域指示被压缩字符串在payload中距离起始位置的偏移量,Length域指示高频字段的长度,Index域指示本高频字段所对应的编号。当该域设置为“非字典建立”时,Index,offset和Length域如上面描述所示。Dict Setup域为可选字段。
高频字典的建立过程有两种常见方案:
方案1:在数据传递的同时传递字典信息
参见图1,压缩端待发原始数据包的payload包括:abcdefg,其中“bcdefg”为压缩端鉴别出的高频字段,压缩端将该高频字段写入高频字典,并编号为5。
参见图2,压缩端对数据进行编码后的数据如下:
T(Type域):指示当前数据包含有被压缩内容;
L(Packet Length域):指示payload部分的总长度,8byte(字节);
N(Number of Compress subheader域):取值为1;
Subheader中信息如下:
Dict Setup域:0,标识对应数据串为原始字符串,用于在解压端建立
高频字典;
Offset域:1,指示高频字段位于payload部分的第1个字符之后;
Length:6,指示高频字段长度为6byte;
Index:5;指示该高频字段对应的字段编号为5。
收到该数据包后,解压端从payload中取出字符串bcdefg记入解压字典,对应的index为5。同时,payload部分作为本次传输的数据,传递给高层。
方案2、使用专用信令传递
参见图3,示出了压缩端和解压端的特殊信令过程,用于解压字典的建立。压缩端和解压端可以通过定义控制面的消息来建立解压字典。如图3所示。如果该压缩过程用于UE(User Equipment,用户设备)和eNB(evolved Node B,演进型节点B)之间的数据压缩,则可以利用专用信令来建立解压字典。在该过程中,用户数据传输和字典建立更新是两个独立的过程。如果基于此种方式建立/更新解压字典,则字典信息不必在用户数据中携带,因此,压缩数据包中不用再携带Dict Setup域。
在上述两种字典建立更新过程中,一旦出现包丢失,解压端将出现错误。
错误有两种情况:
情况1:压缩端发送的字典信息用于建立一个新的Index和高频字段的映射关系,该信息丢失会导致解压端在解压时,发现未被字典记录的Index;导致解压失败
情况2:压缩端发送的字典信息用于更新一个已有的Index和高频字段的映射关系,该信息丢失会导致解压端在解压时,错误的用过时的映射关系进行解压;导致解压出错。
由此可知,相关技术存在压缩端和解压端因字典信息不同步所导致解压出错的问题。
发明内容
鉴于上述技术问题,本公开文本实施例提供一种字典信息同步方法、装置及设备,以避免压缩端和解压端因字典信息不同步所导致解压出错的问题。
依据本公开文本实施例的一个方面,提供给了一种字典信息同步的方法,
所述方法包括:
压缩端向解压端发送字典信息,所述字典信息包括:高频字段和字段编号的字典映射关系;
当所述压缩端在设定的反馈时间内接收到所述解压端发送的反馈消息时,所述压缩端将所述字典映射关系的状态设置为生效状态,所述反馈消息用于表示所述解压端已经成功接收所述字典信息。
可选地,所述方法还包括:
当所述压缩端在反馈时间内没有接收到所述解压端发送的反馈消息时,所述压缩端向所述解压端重新发送所述字典信息。
可选地,所述字典信息为字典建立信息。
可选地,当所述字典信息为字典更新信息时,在所述压缩端向解压端发送字典信息之后,所述方法还包括:
所述压缩端将与所述字段编号对应的原字典映射关系的状态设置为失效状态。
可选地,所述方法还包括:
当所述压缩端在反馈时间内没有接收到所述解压端发送的反馈消息时,所述压缩端将所述高频字段和字段编号的新字典映射关系的状态,以及更新前高频字段与字段编号对应的原字典映射关系的状态均设置为失效状态。
可选地,所述压缩端向解压端发送字典信息,包括:
所述压缩端向解压端发送编码后的数据包,并启动用于计算反馈时间的定时器,所述编码后的数据包携带有所述字典信息;或者
所述压缩端向解压端发送信令包,并启动用于计算反馈时间的定时器,所述信令包携带有所述字典信息。
可选地,所述反馈消息包括:一个确认编号或汇聚的多个确认编号,其中,一个确认编号对应一个被所述解压端成功接收的字段编号;
当所述反馈消息包括一个确认编号时,所述压缩端将所述字典映射关系的状态设置为生效状态,包括:
所述压缩端将所述一个确认编号所对应的字典映射关系的状态设置为生效状态;或者
所述压缩端确定与所述一个确认编号对应的字段编号;
所述压缩端确定与所述字段编号位于同一个数据包或信令包内的所有字段编号对应的所有字典映射关系;
所述压缩端将所有字典映射关系的状态均设置为生效状态;
当所述反馈消息包括汇聚的多个确认编号时,所述压缩端将所述字典映射关系的状态设置为生效状态,包括:
所述压缩端将多个确认编号中的每个确认编号所对应的字典映射关系的状态均设置为生效状态。
可选地,所述确认编号为字段编号或者数据包编号或者信令包的编号。
可选地,所述压缩端向所述解压端发送反馈配置信息;
所述压缩端接收所述解压端发送反馈配置确认消息。
可选地,所述反馈配置信息包括以下一项或多项:基于信令包的编号反馈或者基于数据包的编号反馈或者基于字段编号反馈、汇聚反馈和反馈时间的长度。
可选地,所述压缩端向所述解压端发送反馈配置信息,包括:
所述压缩端接收所述解压端发送的反馈能力;
所述压缩端根据所述反馈能力向所述解压端发送反馈配置信息。
依据本公开文本实施例的另一个方面,还提供了一种字典信息同步的方法,所述方法包括:
解压端接收压缩端发送的字典信息,所述字典信息包括:高频字段和字段编号的字典映射关系;
所述解压端在设定的反馈时间内向所述压缩端发送反馈消息,并将所述字典映射关系的状态设置为生效状态。
可选地,所述方法还包括:
当所述解压端在设定的反馈时间内没有向所述压缩端发送反馈消息时,所述解压端接收所述压缩端重新发送的所述字典信息。
可选地,所述字典信息为字典建立信息。
可选地,当所述字典信息为字典更新信息时,在所述解压端接收压缩端发送的字典信息之后,所述方法还包括:
所述解压端将高频字段与所述字段编号对应的原字典映射关系的状态设置为失效状态。
可选地,所述解压端接收压缩端发送的字典信息,包括:
所述解压端接收压缩端发送的编码后的数据包,所述编码后的数据包携带有所述字典信息;或者
所述解压端接收压缩端发送的信令包,所述信令包携带有所述字典信息。
可选地,所述反馈消息包括:一个确认编号或汇聚的多个确认编号,其中,一个确认编号对应一个被所述解压端成功接收的字段编号。
可选地,所述确认编号为字段编号或者数据包编号或者为信令包的编号。
可选地,所述方法还包括:
所述解压端接收压缩端发送的反馈配置信息;
所述解压端向所述压缩端发送反馈配置确认消息。
可选地,所述反馈配置信息包括以下一项或多项:基于信令包的编号反馈或者基于数据包的编号反馈或者基于字段编号反馈、汇聚或统一反馈和反馈时间的长度。
可选地,所述解压端接收压缩端发送的反馈配置信息之前,所述方法还包括:
所述解压端向压缩端发送反馈能力。
依据本公开文本实施例的又一个方面,还提供了一种字典信息同步的装置,所述装置包括:
第一发送模块,用于向解压端发送字典信息,所述字典信息包括:高频字段和字段编号的字典映射关系;
第一状态设置模块,用于当在设定的反馈时间内接收到所述解压端发送的反馈消息时,将所述字典映射关系的状态设置为生效状态,所述反馈消息用于表示所述解压端已经成功接收所述字典信息。
可选地,所述第一发送模块,还用于当在反馈时间内没有接收到所述解压端发送的反馈消息时,所述压缩端向所述解压端重新发送所述字典信息。
可选地,所述字典信息为字典建立信息。
可选地,所述第一状态设置模块,还用于将与所述字段编号对应的原字
典映射关系的状态设置为失效状态。
可选地,所述第一状态设置模块,还用于,当在反馈时间内没有接收到所述解压端发送的反馈消息时,所述压缩端将所述高频字段和字段编号的新字典映射关系的状态,以及更新前高频字段与字段编号对应的原字典映射关系的状态均设置为失效状态。
可选地,所述第一发送模块,进一步用于向解压端发送编码后的数据包,并启动用于计算反馈时间的定时器,所述编码后的数据包携带有所述字典信息;或者向解压端发送信令包,并启动用于计算反馈时间的定时器,所述信令包携带有所述字典信息。
可选地,所述反馈消息包括:一个确认编号或汇聚的多个确认编号,其中,一个确认编号对应一个被所述解压端成功接收的字段编号;
当所述反馈消息包括一个确认编号时,所述第一状态设置模块,进一步用于将所述一个确认编号所对应的字典映射关系的状态设置为生效状态;或者确定与所述一个确认编号对应的字段编号;确定与所述字段编号位于同一个数据包或信令包内的所有字段编号对应的所有字典映射关系;将所有字典映射关系的状态均设置为生效状态;
当所述反馈消息包括汇聚的多个确认编号时,所述第一状态设置模块,进一步用于将多个确认编号中的每个确认编号所对应的字典映射关系的状态均设置为生效状态。
可选地,所述确认编号为字段编号或者数据包编号或者信令包的编号。
可选地,所述装置还包括:
第二发送模块,用于向所述解压端发送反馈配置信息;
第一接收模块,用于接收所述解压端发送反馈配置确认消息。
可选地,所述反馈配置信息包括以下一项或多项:基于信令包的编号反馈或者基于数据包的编号反馈或者基于字段编号反馈、汇聚反馈和反馈时间的长度。
可选地,所述第二发送模块,进一步用于接收所述解压端发送的反馈能力;根据所述反馈能力向所述解压端发送反馈配置信息。
依据本公开文本实施例的又一个方面,还提供了一种压缩端,包括如上
所述的字典信息同步的装置。
依据本公开文本实施例的又一个方面,还提供了一种字典信息同步的装置,所述装置包括:
第二接收模块,用于接收压缩端发送的字典信息,所述字典信息包括:高频字段和字段编号的字典映射关系;
第三发送模块,用于在设定的反馈时间内向所述压缩端发送反馈消息;
第二状态设置模块,用于将所述字典映射关系的状态设置为生效状态。
可选地,所述第二接收模块还用于:
当在设定的反馈时间内没有向所述压缩端发送反馈消息,接收所述压缩端重新发送所述字典信息。
可选地,所述字典信息为字典建立信息。
可选地,当所述字典信息为字典更新信息时,所述第二状态设置模块,还用于:将高频字段与所述字段编号对应的原字典映射关系的状态设置为失效状态。
可选地,所述第二接收模块进一步用于:接收压缩端发送的编码后的数据包,所述编码后的数据包携带有所述字典信息;或者接收压缩端发送的信令包,所述信令包携带有所述字典信息。
可选地,所述反馈消息包括:一个确认编号或汇聚的多个确认编号,其中,一个确认编号对应一个被所述解压端成功接收的字段编号。
可选地,所述确认编号为字段编号或者数据包编号或者为信令包的编号。
可选地,所述第二接收模块,还用于接收压缩端发送的反馈配置信息;
所述第三发送模块,还用于向所述压缩端发送反馈配置确认消息。
可选地,所述反馈配置信息包括以下一项或多项:基于信令包的编号反馈或者基于数据包的编号反馈或者基于字段编号反馈、汇聚或统一反馈和反馈时间的长度。
可选地,所述第三发送模块,还用于向压缩端发送反馈能力。
依据本公开文本实施例的又一个方面,还提供了一种解压端,包括如上所述的字典信息同步的装置。
依据本公开文本实施例的又一个方面,还提供了一种字典信息同步的装
置,包括:处理器和存储器,其中:
所述处理器用于读取存储器中的程序,执行下列过程:
向解压端发送字典信息,所述字典信息包括:高频字段和字段编号的字典映射关系;
当在设定的反馈时间内接收到所述解压端发送的反馈消息时,将所述字典映射关系的状态设置为生效状态,所述反馈消息用于表示所述解压端已经成功接收所述字典信息,
所述存储器能够存储处理器在执行操作时所使用的数据。
依据本公开文本实施例的又一个方面,还提供了一种字典信息同步的装置,包括:处理器和存储器,其中:
所述处理器用于读取存储器中的程序,执行下列过程:
接收压缩端发送的字典信息,所述字典信息包括:高频字段和字段编号的字典映射关系;
在设定的反馈时间内向所述压缩端发送反馈消息;
将所述字典映射关系的状态设置为生效状态,
所述存储器能够存储处理器在执行操作时所使用的数据。
上述技术方案中的一个技术方案具有如下优点或有益效果:压缩端向解压端发送字典信息,该字典信息携带有高频字段和字段编号的字典映射关系;当压缩端在设定的反馈时间内接收到解压端发送的反馈消息时,压缩端将字典映射关系的状态设置为生效状态,由于反馈消息能够反映出解压端已经成功接收字典信息,从而使得压缩端和解压端因字典信息能够同步,以避免压缩端和解压端因字典信息不同步所导致解压出错的问题。
为了更清楚地说明本公开文本实施例的技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请中记载的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。以下附图并未刻意按实际尺寸等比例缩放绘制,重点在于示出本申请的主旨。
图1为相关技术中压缩端待发原始数据包的示意图;
图2为相关技术中压缩端对数据进行编码后的数据的示意图;
图3为相关技术中高频字典的建立的特殊信令过程示意图;
图4为本公开文本的一些实施例中字典信息同步的方法的流程图;
图5为本公开文本的一些实施例中字典信息同步的方法流程图;
图6为本公开文本的一些实施例中压缩端待发原始数据包的示意图;
图7为本公开文本的一些实施例中编码后的数据的示意图;
图8为本公开文本的一些实施例中反馈消息的一种格式的示意图;
图9为本公开文本的一些实施例中使用专用信令传递字典信息的方法的示意图;
图10为本公开文本的一些实施例中反馈消息的另一种格式的示意图;
图11为本公开文本的一些实施例中压缩配置方法的示意图之一;
图12为本公开文本的一些实施例中压缩配置方法的示意图之二;
图13为本公开文本的一些实施例中能力上报的示意图之一;
图14为本公开文本的一些实施例中能力上报的示意图之二;
图15为本公开文本的一些实施例中字典信息同步的方法的示意图;
图16为本公开文本的一些实施例中字典信息同步的装置的示意图;
图17为本公开文本的一些实施例中字典信息同步的装置的示意图;
图18为本公开文本的一些实施例中字典信息同步的装置的示意图;
图19为本公开文本的一些实施例中字典信息同步的装置的示意图。
为使本公开文本实施例的目的、技术方案和优点更加清楚,下面将结合本公开文本实施例中的附图,对本公开文本实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本公开文本一部分实施例,而不是全部的实施例。基于本公开文本中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本公开文本保护的范围。
本公开文本的方法实施例的执行主体可以是终端,也可以是接入设备,当压缩端为终端时,相应的解压端为接入设备;当压缩端为接入设备时,相
应的解压端为终端。UE可以是移动电话(或手机),或者其他能够发送或接收无线信号的设备,包括用户设备(终端)、个人数字助理(Personal Digital Assistant,PDA)、无线调制解调器、无线通信装置、手持装置、膝上型计算机、无绳电话、无线本地回路(Wireless Local Loop,WLL)站、能够将移动信号转换为WiFi(WirelessFidelity)信号的CPE(Customer Premise Equipment,客户终端设备)或移动智能热点、智能家电、或其他不通过人的操作就能自发与移动通信网络通信的设备等。接入设备可以是基站,当然可以理解的是,上述基站的形式不限,可以是宏基站(Macro Base Station)、微基站(Pico Base Station)、Node B(3G移动基站的称呼)、eNB、家庭演进型基站(FemtoeNB或Home eNode B或Home eNB或HeNB)、中继站、接入点、RRU(Remote Radio Unit,远端射频模块)、RRH(Remote Radio Head,射频拉远头)等。
参见图4,图中示出了一种字典信息同步的方法,具体步骤如下:
步骤S401、压缩端向解压端发送字典信息,字典信息包括:高频字段和字段编号的字典映射关系。
可选地,压缩端向解压端发送编码后的数据包,并启动用于计算反馈时间的定时器,编码后的数据包携带有字典信息;或者压缩端向解压端发送信令包,并启动用于计算反馈时间的定时器,信令包携带有字典信息。
在发送数据前,压缩端鉴别出高频字段,并用特殊短编码(字段编号)替代该高频字段,并将上述高频字段和上述字段编号记录至高频字典中,即在高频字典中会记录高频字段和上述字段编号的字典映射关系。
上述高频字段是指高频出现的长信息字段,例如IP包中的源和目标IP地址,TCP包中的源和目标端口号等等,用户发送消息中的重复内容等等。
上述字段编号是高频字典中该高频字段对应的一个特殊短编码,例如索引Index。当然需要说明的是,在本实施例中并不限定高频字段和字段编号的具体表现形式。
上述字典信息可以为字典建立信息或者字典更新信息,其中字典建立信息用于通知解压端根据字典建立信息建立解压字典;字典更新信息用于通知解压端根据字典更新信息对解压字典中的字典映射关系进行更新。
当字典信息为字典更新信息时,在上述步骤S401之后,压缩端可将与字段编号对应的原字典映射关系的状态设置为失效状态。例如:高频字典中记录有字段编号“5”与原高频字段“abcdef”的原字典映射关系,当建立了该字段编号“5”与新的高频字段“abcdefg”的新字典映射关系时,压缩端可将字段编号“5”与原高频字段“abcdef”的原字典映射关系的状态设置为失效状态。
步骤S402、当压缩端在设定的反馈时间内接收到解压端发送的反馈消息时,压缩端将字典映射关系的状态设置为生效状态,反馈消息用于表示解压端已经成功接收字典信息。
需要说明的是,在本实施例中反馈时间可根据具体情况进行设置。当然可以理解的是,当解压端接收到的数据包或信令包中包括多个字典信息(即多个字典映射关系)时,如果上述反馈消息中包括有一个字典映射关系的确认编号时,压缩端将数据包或信令包中所有字典映射关系的状态均设置为生效状态。
在本实施例中,字典映射关系的状态包括生效状态和失效状态。压缩端仅根据生效状态的字典映射关系进行压缩处理,解压端也仅根据生效状态的字典映射关系进行解压缩处理。
在本实施例中,反馈消息包括:一个确认编号或汇聚的多个确认编号,其中,一个确认编号对应一个被解压端成功接收的字典信息。
当反馈消息包括一个确认编号时,压缩端将字典映射关系的状态设置为生效状态,具体包括:压缩端将一个确认编号所对应的字典映射关系的状态设置为生效状态;或者压缩端确定与一个确认编号对应的字典信息;压缩端确定与字典信息位于同一个数据包或信令包内的所有字段编号对应的所有字典映射关系;压缩端将所有字典映射关系的状态均设置为生效状态;
当反馈消息包括汇聚的多个确认编号时,压缩端将字典映射关系的状态设置为生效状态,具体包括:压缩端将多个确认编号中的每个确认编号所对应的字典映射关系的状态均设置为生效状态。
可选地,在本实施例中,确认编号为字段编号(例如Index)或者数据包编号(例如SN)或者信令包的编号,当然也并不限于此。
步骤S403、当压缩端在反馈时间内没有接收到解压端发送的反馈消息时,压缩端向解压端重新发送字典信息。
步骤S404、当压缩端在反馈时间内没有接收到解压端发送的反馈消息时,所述压缩端将高频字段和字段编号的新字典映射关系的状态,以及与字段编号对应的原字典映射关系的状态均设置为失效状态。
例如:高频字典中记录有字段编号“5”与原高频字段“abcdef”的原字典映射关系,又建立了该字段编号“5”与新的高频字段“abcdefg”的新字典映射关系,当压缩端在反馈时间内没有接收到解压端发送的反馈消息时,压缩端可将字段编号“5”与新的高频字段“abcdefg”的新字典映射关系,以及字段编号“5”与原高频字段“abcdef”的原字典映射关系的状态均设置为失效状态。
需要说明的是,上述步骤S403和步骤S404为可选步骤。
在本实施例中,压缩端向解压端发送字典信息,该字典信息携带有高频字段和字段编号的字典映射关系;当压缩端在设定的反馈时间内接收到解压端发送的反馈消息时,压缩端将字典映射关系的状态设置为生效状态,由于反馈消息能够反映出解压端已经成功接收字典信息,从而使得压缩端和解压端因字典信息能够同步,以避免压缩端和解压端因字典信息不同步所导致解压出错的问题。
同时,当压缩端在反馈时间内没有接收到解压端发送的反馈消息时,压缩端还会向解压端重新发送字典信息,进一步确保压缩端和解压端因字典信息能够同步。
参见图5,图中示出了在数据传递的同时传递字典信息,压缩端待发原始数据包如图6所示,具体步骤如下。
步骤S501:字符串“bcdefg”为压缩端鉴别出的高频字段,压缩端将该高频字段写入高频字典,该高频字段对应的字段编号为5;此时,该高频字段与字段编号的字典映射关系尚未生效;
步骤S502:压缩端对数据进行编码。
编码后的数据如图7所示。
T(Type域):指示当前数据包含有被压缩内容;
L(Packet Length域):指示payload部分的总长度,8byte;
N(Number of Compress subheader域):取值为1;
Subheader中信息如下:
Dict Setup域:0,标识对应数据串为原始字符串,用于在解压端建立字典;
Offset域:1,指示高频字段位于payload部分的第1个字符之后;
Length:6,指示高频字段长度为6byte;
Index:5;指示该高频字段对应的字段编号为5。
步骤S503:压缩端发送数据包,并启动定时器T;
步骤S504:解压端收到该数据包后,从payload中取出字符串bcdefg记入解压字典,对应的index为5。该信息可以立即生效,用于解压;
步骤S505:解压端发送字典信息确认接收的反馈消息。
在本实施例中,一种可能的格式如图8所示。
T(Type域):指示当前数据包为字典信息确认接收消息;
Index域:取值为5,即本次确认接收到Index为5的高频字段映射关系。
步骤S506:压缩端收到反馈消息,启用步骤S501中写入高频字典的字典映射关系。同时,停止定时器T。
需要说明的是,如果定时器T超时,则压缩端可以重发对应的字典映射关系。
需要说明的是,如果压缩端在一个数据包中,携带多个字典映射关系,如Index=1,对应高频字段为“abcdef”;Index=2,对应高频字段为“hijklmn”。在步骤S505中,解压端可以携带所有对应Index(如1,2)或其中一个Index(如1)。均可作为对相应字典映射关系的确认信息;
需要说明的是,如果压缩端发送多个数据包,携带多个字典映射关系,如第一个数据包中携带1条字典映射关系(Index=1,对应高频字段为“abcdef”);第二个数据包中携带2条字典映射关系,(Index=2,对应高频字段为“hijklmn”;Index=3,对应高频字段为“qazwsx”)。在步骤S505中,解压端可以在一条反馈消息中对上述字典映射关系统一确认接收。例如:解压端可以携带所有对应Index(如1,2,3)或压缩端所发送的每一个包中的
一个Index(如1,2),均可作为对相应字典映射关系的确认消息。
在本实施例中,对于使用专用信令传递的字典信息,可以定义ACK(Acknowledge,确认)信息,对字典信息进行确认。当然可以理解的是,确认可以基于字段编号(例如Index),也可以基于压缩端所发送数据包的SN(Sequence Number,序号)或者信令包的编号。
参见图9,图中示出了一种使用专用信令传递字典信息的方法,具体步骤如下:
步骤S901:字符串“bcdefg”为压缩端鉴别出的高频字符串,压缩端将该字段写入高频字典,并字段编号为5;此时,该字典信息尚未生效;
步骤S902:压缩端传递字典信息给解压端,并启动定时器T;假设该信令包的SN=100;
步骤S903:解压端收到该数据包后,取出字符串bcdefg记入解压字典,对应的index为5。该信息可以立即生效,用于解压;
步骤S904:解压端发送字典信息确认接收的反馈消息。
需要说明的是,反馈消息的一种可能的格式如图8所示,T(Type域):指示当前数据包为字典信息确认接收消息;Index域:取值为5,即本次确认接收到Index为5的高频字段映射关系。
在本实施例中,反馈消息的另一种可能的格式如图10所示,具体如下:
T(Type域):指示当前数据包为字典信息确认接收消息;
SN域:取值为100,即本次确认接收到编号为100的信令包的确认接收。
步骤S905:压缩端收到上述反馈消息,启用步骤S9051中写入高频字典的字典映射关系。同时,停止定时器T。
需要说明的是,如果定时器T超时,则压缩端可以重发对应的字典映射关系。
需要说明的是,如果压缩端在一个数据包中,携带多个字典映射关系,如Index=1,对应高频字段为“abcdef”;Index=2,对应高频字段为“hijklmn”。在步骤S905中,解压端可以携带所有对应Index(如1,2)或其中一个Index(如1)。均可作为对相应字典映射关系的确认信息;
需要说明的是,如果压缩端发送多个数据包,携带多个映射关系,如第
一个数据包中携带1条映射关系(Index=1,对应高频字段为“abcdef”);第二个数据包中携带2条映射关系,(Index=2,对应高频字段为“hijklmn”;Index=3,对应高频字段为“qazwsx”)。在步骤S905中,解压端可以在一条反馈信息中对上述映射关系统一确认接收。例如:解压端可以携带所有对应Index(如1,2,3)或压缩端所发送的每一个包中的一个Index(如1,2)。均可作为对相应字典映射关系的确认消息。
在上述实施例的基础上,在本实施例中介绍压缩配置的过程。
参见图11,图中示出了一种压缩配置方法,具体步骤如下:
步骤S1101、压缩端向解压端发送反馈配置信息。
步骤S1102、压缩端接收解压端发送反馈配置确认消息。
可选地,反馈配置信息包括以下一项或多项:基于信令包的编号反馈或者基于数据包的编号反馈或者基于字段编号反馈、汇聚反馈和反馈时间的长度。
参见图12,当压缩解压对端分别为UE和eNB时,eNB可以向UE配置是否启动反馈;在启动反馈的情况下,反馈的具体参数配置,如:基于SN还是基于字典Index反馈;是否允许汇聚/统一反馈;定时器T的长度等。
UE收到配置消息后,需要发送确认消息确认对配置消息的成功接收和使用。
需要说明的是,在某些情况下,底层重传机制可以保证字典信息的准确按序接收,在这种情况下,可以配置不使用反馈机制。
在上述实施例的基础上,在本实施例中介绍能力上报的流程。
参见图13,图中示出了一种能力上报的流程,具体步骤如下:
步骤S1301、压缩端接收解压端发送的反馈能力。
步骤S1302、压缩端根据反馈能力向解压端发送反馈配置信息。
参见图14,在eNB配置UE进行的反馈参数之前,UE可以上报自己的压缩能力。其中包括反馈能力,例如:是否支持汇聚上报、是否支持SN上报等。
参见图15,图中示出了一种字典信息同步的方法,具体步骤如下:
步骤S1501、解压端接收压缩端发送的字典信息,所述字典信息包括:高频字段和字段编号的字典映射关系。
步骤S1502、解压端在设定的反馈时间内向所述压缩端发送反馈消息,并将所述字典映射关系的状态设置为生效状态。
可选地,在本实施例中,所述方法还包括:当所述解压端在设定的反馈时间内没有向所述压缩端发送反馈消息时,所述解压端接收所述压缩端重新发送的所述字典信息。
可选地,在本实施例中,所述字典信息为字典建立信息。
可选地,在本实施例中,当所述字典信息为字典更新信息时,在所述解压端接收压缩端发送的字典信息之后,所述方法还包括:
所述解压端将高频字段与所述字段编号对应的原字典映射关系的状态设置为失效状态。
可选地,在本实施例中,所述解压端接收压缩端发送的字典信息,包括:
所述解压端接收压缩端发送的编码后的数据包,所述编码后的数据包携带有所述字典信息;或者
所述解压端接收压缩端发送的信令包,所述信令包携带有所述字典信息。
可选地,在本实施例中,所述反馈消息包括:一个确认编号或汇聚的多个确认编号,其中,一个确认编号对应一个被所述解压端成功接收的字段编号。
可选地,在本实施例中,确认编号为字段编号或者数据包编号或者为信令包的编号。
可选地,在本实施例中,方法还包括:所述解压端接收压缩端发送的反馈配置信息;所述解压端向所述压缩端发送反馈配置确认消息。
可选地,在本实施例中,反馈配置信息包括以下一项或多项:基于信令包的编号反馈或者基于数据包的编号反馈或者基于字段编号反馈、汇聚或统一反馈和反馈时间的长度。
可选地,在本实施例中,解压端接收压缩端发送的反馈配置信息之前,方法还包括:解压端向压缩端发送反馈能力。
参见图16,图中示出了一种字典信息同步的装置,装置包括:
第一发送模块1601,用于向解压端发送字典信息,所述字典信息包括:高频字段和字段编号的字典映射关系;
第一状态设置模块1602,用于当在设定的反馈时间内接收到所述解压端发送的反馈消息时,将所述字典映射关系的状态设置为生效状态,所述反馈消息用于表示所述解压端已经成功接收所述字典信息。
可选地,在本实施例中,所述第一发送模块,还用于当在反馈时间内没有接收到所述解压端发送的反馈消息时,所述压缩端向所述解压端重新发送所述字典信息。
可选地,在本实施例中,所述字典信息为字典建立信息。
可选地,在本实施例中,所述第一状态设置模块,还用于将与所述字段编号对应的原字典映射关系的状态设置为失效状态。
可选地,在本实施例中,所述第一状态设置模块,还用于,当在反馈时间内没有接收到所述解压端发送的反馈消息时,所述压缩端将所述高频字段和字段编号的新字典映射关系的状态,以及更新前高频字段与字段编号对应的原字典映射关系的状态均设置为失效状态。
可选地,在本实施例中,所述第一发送模块,进一步用于向解压端发送编码后的数据包,并启动用于计算反馈时间的定时器,所述编码后的数据包携带有所述字典信息;或者向解压端发送信令包,并启动用于计算反馈时间的定时器,所述信令包携带有所述字典信息。
可选地,在本实施例中,所述反馈消息包括:一个确认编号或汇聚的多个确认编号,其中,一个确认编号对应一个被所述解压端成功接收的字段编号;
当所述反馈消息包括一个确认编号时,所述第一状态设置模块,进一步用于将所述一个确认编号所对应的字典映射关系的状态设置为生效状态;或者确定与所述一个确认编号对应的字段编号;确定与所述字段编号位于同一个数据包或信令包内的所有字段编号对应的所有字典映射关系;将所有字典映射关系的状态均设置为生效状态;
当所述反馈消息包括汇聚的多个确认编号时,所述第一状态设置模块,进一步用于将多个确认编号中的每个确认编号所对应的字典映射关系的状态均设置为生效状态。
可选地,在本实施例中,所述确认编号为字段编号或者数据包编号或者
信令包的编号。
可选地,在本实施例中,所述装置还包括:
第二发送模块,用于向所述解压端发送反馈配置信息;
第一接收模块,用于接收所述解压端发送反馈配置确认消息。
可选地,在本实施例中,所述反馈配置信息包括以下一项或多项:基于信令包的编号反馈或者基于数据包的编号反馈或者基于字段编号反馈、汇聚反馈和反馈时间的长度。
可选地,在本实施例中,所述第二发送模块,进一步用于接收所述解压端发送的反馈能力;根据所述反馈能力向所述解压端发送反馈配置信息。
参见图17,图中示出了一种字典信息同步的装置,装置包括:
第一处理器1704,用于读取第一存储器1705中的程序,执行下列过程:
向解压端发送字典信息,所述字典信息包括:高频字段和字段编号的字典映射关系;当在设定的反馈时间内接收到所述解压端发送的反馈消息时,将所述字典映射关系的状态设置为生效状态,所述反馈消息用于表示所述解压端已经成功接收所述字典信息;
第一收发机1701,用于在第一处理器1704的控制下接收和发送数据。
在图17中,第一总线架构(用第一总线1700来代表),第一总线1700可以包括任意数量的互联的总线和桥,第一总线1700将包括由第一处理器1704代表的一个或多个处理器和第一存储器1705代表的存储器的各种电路链接在一起。第一总线1700还可以将诸如外围设备、稳压器和功率管理电路之类的各种其他电路链接在一起。第一总线接口1703在第一总线1700和第一收发机1701之间提供接口。第一收发机1701可以是一个元件,也可以是多个元件,比如多个接收器和发送器,提供用于在传输介质上与各种其他装置通信的单元。经第一处理器1704处理的数据通过第一天线1702在无线介质上进行传输,进一步,第一天线1702还接收数据并将数据传送给第一处理器1704。
第一处理器1704负责管理第一总线1700和通常的处理,还可以提供各种功能,包括定时,外围接口,电压调节、电源管理以及其他控制功能。而第一存储器1705可以被用于存储第一处理器1704在执行操作时所使用的数
据。
可选的,第一处理器1704可以是CPU、ASIC、FPGA或CPLD。
可选地,在本实施例中,所述第一处理器1704,还用于当在反馈时间内没有接收到所述解压端发送的反馈消息时,所述压缩端向所述解压端重新发送所述字典信息。
可选地,在本实施例中,所述字典信息为字典建立信息。
可选地,在本实施例中,所述第一处理器1704,还用于将与所述字段编号对应的原字典映射关系的状态设置为失效状态。
可选地,在本实施例中,所述第一处理器1704,还用于当在反馈时间内没有接收到所述解压端发送的反馈消息时,所述压缩端将所述高频字段和字段编号的新字典映射关系的状态,以及更新前高频字段与字段编号对应的原字典映射关系的状态均设置为失效状态。
可选地,在本实施例中,所述第一处理器1704,进一步用于向解压端发送编码后的数据包,并启动用于计算反馈时间的定时器,所述编码后的数据包携带有所述字典信息;或者向解压端发送信令包,并启动用于计算反馈时间的定时器,所述信令包携带有所述字典信息。
可选地,在本实施例中,所述反馈消息包括:一个确认编号或汇聚的多个确认编号,其中,一个确认编号对应一个被所述解压端成功接收的字段编号;
当所述反馈消息包括一个确认编号时,所述第一处理器1704,进一步用于将所述一个确认编号所对应的字典映射关系的状态设置为生效状态;或者确定与所述一个确认编号对应的字段编号;确定与所述字段编号位于同一个数据包或信令包内的所有字段编号对应的所有字典映射关系;将所有字典映射关系的状态均设置为生效状态;
当所述反馈消息包括汇聚的多个确认编号时,所述第一处理器1704,进一步用于将多个确认编号中的每个确认编号所对应的字典映射关系的状态均设置为生效状态。
可选地,在本实施例中,所述确认编号为字段编号或者数据包编号或者信令包的编号。
可选地,在本实施例中,所述第一处理器1704,还用于向所述解压端发送反馈配置信息;以及还用于接收所述解压端发送反馈配置确认消息。
可选地,在本实施例中,所述反馈配置信息包括以下一项或多项:基于信令包的编号反馈或者基于数据包的编号反馈或者基于字段编号反馈、汇聚反馈和反馈时间的长度。
可选地,在本实施例中,所述第一处理器1704,进一步用于接收所述解压端发送的反馈能力;根据所述反馈能力向所述解压端发送反馈配置信息。
在一些实施例中提供了一种压缩端,包括如上述参照图15或图16所述的字典信息同步的装置。
参见图18,图中示出了一种字典信息同步的装置,所述装置包括:
第二接收模块1801,用于接收压缩端发送的字典信息,所述字典信息包括:高频字段和字段编号的字典映射关系;
第三发送模块1802,用于在设定的反馈时间内向所述压缩端发送反馈消息;
第二状态设置模块1803,用于将所述字典映射关系的状态设置为生效状态。
可选地,在本实施例中,所述第二接收模块还用于:
当在设定的反馈时间内没有向所述压缩端发送反馈消息,接收所述压缩端重新发送所述字典信息。
可选地,在本实施例中,所述字典信息为字典建立信息。
可选地,在本实施例中,当所述字典信息为字典更新信息时,所述第二状态设置模块,还用于:将高频字段与所述字段编号对应的原字典映射关系的状态设置为失效状态。
可选地,在本实施例中,所述第二接收模块进一步用于:接收压缩端发送的编码后的数据包,所述编码后的数据包携带有所述字典信息;或者接收压缩端发送的信令包,所述信令包携带有所述字典信息。
可选地,在本实施例中,所述反馈消息包括:一个确认编号或汇聚的多个确认编号,其中,一个确认编号对应一个被所述解压端成功接收的字段编号。
可选地,在本实施例中,所述确认编号为字段编号或者数据包编号或者为信令包的编号。
可选地,在本实施例中,所述第二接收模块,还用于接收压缩端发送的反馈配置信息;
所述第三发送模块,还用于向所述压缩端发送反馈配置确认消息。
可选地,在本实施例中,所述反馈配置信息包括以下一项或多项:基于信令包的编号反馈或者基于数据包的编号反馈或者基于字段编号反馈、汇聚或统一反馈和反馈时间的长度。
可选地,在本实施例中,所述第三发送模块,还用于向压缩端发送反馈能力。
参见图19,图中示出了一种字典信息同步的装置,装置包括:
第二处理器1904,用于读取第二存储器1905中的程序,执行下列过程:
用于接收压缩端发送的字典信息,所述字典信息包括:高频字段和字段编号的字典映射关系;在设定的反馈时间内向所述压缩端发送反馈消息;将所述字典映射关系的状态设置为生效状态;
第二收发机1901,用于在第二处理器1904的控制下接收和发送数据。
在图19中,第二总线架构(用第二总线1900来代表),第二总线1900可以包括任意数量的互联的总线和桥,第二总线1900将包括由第二处理器1904代表的一个或多个处理器和第一存储器1905代表的存储器的各种电路链接在一起。第二总线1900还可以将诸如外围设备、稳压器和功率管理电路之类的各种其他电路链接在一起。第二总线接口1903在第一总线1900和第二收发机1901之间提供接口。第二收发机1901可以是一个元件,也可以是多个元件,比如多个接收器和发送器,提供用于在传输介质上与各种其他装置通信的单元。经第二处理器1904处理的数据通过第二天线1902在无线介质上进行传输,进一步,第二天线1902还接收数据并将数据传送给第二处理器1904。
第二处理器1904负责管理第二总线1900和通常的处理,还可以提供各种功能,包括定时,外围接口,电压调节、电源管理以及其他控制功能。而第二存储器1705可以被用于存储第二处理器1704在执行操作时所使用的数
据。
可选的,第二处理器1904可以是CPU、ASIC、FPGA或CPLD。
可选地,在本实施例中,所述第二处理器1904还用于:
当在设定的反馈时间内没有向所述压缩端发送反馈消息,接收所述压缩端重新发送所述字典信息。
可选地,在本实施例中,所述字典信息为字典建立信息。
可选地,在本实施例中,当所述字典信息为字典更新信息时,所述第二处理器1904,还用于将高频字段与所述字段编号对应的原字典映射关系的状态设置为失效状态。
可选地,在本实施例中,所述第二处理器1904进一步用于:接收压缩端发送的编码后的数据包,所述编码后的数据包携带有所述字典信息;或者接收压缩端发送的信令包,所述信令包携带有所述字典信息。
可选地,在本实施例中,所述反馈消息包括:一个确认编号或汇聚的多个确认编号,其中,一个确认编号对应一个被所述解压端成功接收的字段编号。
可选地,在本实施例中,所述确认编号为字段编号或者数据包编号或者为信令包的编号。
可选地,在本实施例中,第二处理器1904,还用于接收压缩端发送的反馈配置信息;向所述压缩端发送反馈配置确认消息。
可选地,在本实施例中,所述反馈配置信息包括以下一项或多项:基于信令包的编号反馈或者基于数据包的编号反馈或者基于字段编号反馈、汇聚或统一反馈和反馈时间的长度。
可选地,在本实施例中,第二处理器1904,还用于向压缩端发送反馈能力。
本实施例提供了一种解压端,包括如上参照图15、图16或18所述的字典信息同步的装置。
应理解,说明书通篇中提到的“一个实施例”或“一实施例”意味着与实施例有关的特定特征、结构或特性包括在本公开文本的至少一个实施例中。因此,在整个说明书各处出现的“在一个实施例中”或“在一实施例中”未
必一定指相同的实施例。此外,这些特定的特征、结构或特性可以任意适合的方式结合在一个或多个实施例中。
在本公开文本的各种实施例中,应理解,上述各过程的序号的大小并不意味着执行顺序的先后,各过程的执行顺序应以其功能和内在逻辑确定,而不应对本公开文本实施例的实施过程构成任何限定
另外,本文中术语“系统”和“网络”在本文中常可互换使用。
应理解,本文中术语“和/或”,仅仅是一种描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。另外,本文中字符“/”,一般表示前后关联对象是一种“或”的关系。
在本申请所提供的实施例中,应理解,“与A相应的B”表示B与A相关联,根据A可以确定B。但还应理解,根据A确定B并不意味着仅仅根据A确定B,还可以根据A和/或其它信息确定B。
在本申请所提供的几个实施例中,应该理解到,所揭露方法和装置,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。
另外,在本公开文本各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理包括,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用硬件加软件功能单元的形式实现。
上述以软件功能单元的形式实现的集成的单元,可以存储在一个计算机可读取存储介质中。上述软件功能单元存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本公开文本各个实施例所述收发方法的部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(Read-Only Memory,简称ROM)、随机存
取存储器(Random Access Memory,简称RAM)、磁碟或者光盘等各种可以存储程序代码的介质。
以上所述的是本公开文本的可选实施方式,应当指出对于本技术领域的普通人员来说,在不脱离本公开文本所述的原理前提下还可以做出若干改进和润饰,这些改进和润饰也在本公开文本的保护范围内。
Claims (46)
- 一种字典信息同步的方法,包括:压缩端向解压端发送字典信息,所述字典信息包括:高频字段和字段编号的字典映射关系;当所述压缩端在设定的反馈时间内接收到所述解压端发送的反馈消息时,所述压缩端将所述字典映射关系的状态设置为生效状态,所述反馈消息用于表示所述解压端已经成功接收所述字典信息。
- 根据权利要求1所述的方法,还包括:当所述压缩端在反馈时间内没有接收到所述解压端发送的反馈消息时,所述压缩端向所述解压端重新发送所述字典信息。
- 根据权利要求1所述的方法,其中,所述字典信息为字典建立信息。
- 根据权利要求1所述的方法,其中,当所述字典信息为字典更新信息时,在所述压缩端向解压端发送字典信息之后,所述方法还包括:所述压缩端将与所述字段编号对应的原字典映射关系的状态设置为失效状态。
- 根据权利要求4所述的方法,还包括:当所述压缩端在反馈时间内没有接收到所述解压端发送的反馈消息时,所述压缩端将所述高频字段和字段编号的新字典映射关系的状态,以及更新前高频字段与字段编号对应的原字典映射关系的状态均设置为失效状态。
- 根据权利要求1所述的方法,其中,所述压缩端向解压端发送字典信息,包括:所述压缩端向解压端发送编码后的数据包,并启动用于计算反馈时间的定时器,所述编码后的数据包携带有所述字典信息;或者所述压缩端向解压端发送信令包,并启动用于计算反馈时间的定时器,所述信令包携带有所述字典信息。
- 根据权利要求1所述的方法,其中,所述反馈消息包括:一个确认编号或汇聚的多个确认编号,其中,一个确认编号对应一个被所述解压端成功接收的字段编号;当所述反馈消息包括一个确认编号时,所述压缩端将所述字典映射关系的状态设置为生效状态,包括:所述压缩端将所述一个确认编号所对应的字典映射关系的状态设置为生效状态;或者所述压缩端确定与所述一个确认编号对应的字段编号;所述压缩端确定与所述字段编号位于同一个数据包或信令包内的所有字段编号对应的所有字典映射关系;所述压缩端将所有字典映射关系的状态均设置为生效状态;当所述反馈消息包括汇聚的多个确认编号时,所述压缩端将所述字典映射关系的状态设置为生效状态,包括:所述压缩端将多个确认编号中的每个确认编号所对应的字典映射关系的状态均设置为生效状态。
- 根据权利要求7所述的方法,其中,所述确认编号为字段编号或者数据包编号或者信令包的编号。
- 根据权利要求1所述的方法,其中,所述压缩端向所述解压端发送反馈配置信息;所述压缩端接收所述解压端发送反馈配置确认消息。
- 根据权利要求9所述的方法,其中,所述反馈配置信息包括以下一项或多项:基于信令包的编号反馈或者基于数据包的编号反馈或者基于字段编号反馈、汇聚反馈和反馈时间的长度。
- 根据权利要求9所述的方法,其中,所述压缩端向所述解压端发送反馈配置信息,包括:所述压缩端接收所述解压端发送的反馈能力;所述压缩端根据所述反馈能力向所述解压端发送反馈配置信息。
- 一种字典信息同步的方法,包括:解压端接收压缩端发送的字典信息,所述字典信息包括:高频字段和字段编号的字典映射关系;所述解压端在设定的反馈时间内向所述压缩端发送反馈消息,并将所述字典映射关系的状态设置为生效状态。
- 根据权利要求12所述的方法,还包括:当所述解压端在设定的反馈时间内没有向所述压缩端发送反馈消息时,所述解压端接收所述压缩端重新发送的所述字典信息。
- 根据权利要求12所述的方法,其中,所述字典信息为字典建立信息。
- 根据权利要求12所述的方法,其中,当所述字典信息为字典更新信息时,在所述解压端接收压缩端发送的字典信息之后,所述方法还包括:所述解压端将高频字段与所述字段编号对应的原字典映射关系的状态设置为失效状态。
- 根据权利要求12所述的方法,其中,所述解压端接收压缩端发送的字典信息,包括:所述解压端接收压缩端发送的编码后的数据包,所述编码后的数据包携带有所述字典信息;或者所述解压端接收压缩端发送的信令包,所述信令包携带有所述字典信息。
- 根据权利要求12所述的方法,其中,所述反馈消息包括:一个确认编号或汇聚的多个确认编号,其中,一个确认编号对应一个被所述解压端成功接收的字段编号。
- 根据权利要求17所述的方法,其中,所述确认编号为字段编号或者数据包编号或者为信令包的编号。
- 根据权利要求12所述的方法,其中,所述方法还包括:所述解压端接收压缩端发送的反馈配置信息;所述解压端向所述压缩端发送反馈配置确认消息。
- 根据权利要求19所述的方法,其中,所述反馈配置信息包括以下一项或多项:基于信令包的编号反馈或者基于数据包的编号反馈或者基于字段编号反馈、汇聚或统一反馈和反馈时间的长度。
- 根据权利要求19所述的方法,其中,所述解压端接收压缩端发送的反馈配置信息之前,所述方法还包括:所述解压端向压缩端发送反馈能力。
- 一种字典信息同步的装置,包括:第一发送模块,用于向解压端发送字典信息,所述字典信息包括:高频 字段和字段编号的字典映射关系;第一状态设置模块,用于当在设定的反馈时间内接收到所述解压端发送的反馈消息时,将所述字典映射关系的状态设置为生效状态,所述反馈消息用于表示所述解压端已经成功接收所述字典信息。
- 根据权利要求22所述的装置,其中,所述第一发送模块,还用于当在反馈时间内没有接收到所述解压端发送的反馈消息时,向所述解压端重新发送所述字典信息。
- 根据权利要求22所述的装置,其中,所述字典信息为字典建立信息。
- 根据权利要求22所述的装置,其中,所述第一状态设置模块,还用于将与所述字段编号对应的原字典映射关系的状态设置为失效状态。
- 根据权利要求25所述的装置,其中,所述第一状态设置模块,还用于,当在反馈时间内没有接收到所述解压端发送的反馈消息时,将所述高频字段和字段编号的新字典映射关系的状态,以及更新前高频字段与字段编号对应的原字典映射关系的状态均设置为失效状态。
- 根据权利要求22所述的装置,其中,所述第一发送模块,进一步用于向解压端发送编码后的数据包,并启动用于计算反馈时间的定时器,所述编码后的数据包携带有所述字典信息;或者向解压端发送信令包,并启动用于计算反馈时间的定时器,所述信令包携带有所述字典信息。
- 根据权利要求22所述的装置,其中,所述反馈消息包括:一个确认编号或汇聚的多个确认编号,其中,一个确认编号对应一个被所述解压端成功接收的字段编号;当所述反馈消息包括一个确认编号时,所述第一状态设置模块,进一步用于将所述一个确认编号所对应的字典映射关系的状态设置为生效状态;或者确定与所述一个确认编号对应的字段编号;确定与所述字段编号位于同一个数据包或信令包内的所有字段编号对应的所有字典映射关系;将所有字典映射关系的状态均设置为生效状态;当所述反馈消息包括汇聚的多个确认编号时,所述第一状态设置模块,进一步用于将多个确认编号中的每个确认编号所对应的字典映射关系的状态均设置为生效状态。
- 根据权利要求28所述的装置,其中,所述确认编号为字段编号或者数据包编号或者信令包的编号。
- 根据权利要求22所述的装置,其中,所述装置还包括:第二发送模块,用于向所述解压端发送反馈配置信息;第一接收模块,用于接收所述解压端发送反馈配置确认消息。
- 根据权利要求30所述的装置,其中,所述反馈配置信息包括以下一项或多项:基于信令包的编号反馈或者基于数据包的编号反馈或者基于字段编号反馈、汇聚反馈和反馈时间的长度。
- 根据权利要求30所述的装置,其中,所述第二发送模块,进一步用于接收所述解压端发送的反馈能力;根据所述反馈能力向所述解压端发送反馈配置信息。
- 一种压缩端,包括如权利要求22-32任一项所述的字典信息同步的装置。
- 一种字典信息同步的装置,包括:第二接收模块,用于接收压缩端发送的字典信息,所述字典信息包括:高频字段和字段编号的字典映射关系;第三发送模块,用于在设定的反馈时间内向所述压缩端发送反馈消息;第二状态设置模块,用于将所述字典映射关系的状态设置为生效状态。
- 根据权利要求34所述的装置,其中,所述第二接收模块还用于:当在设定的反馈时间内没有向所述压缩端发送反馈消息时,接收所述压缩端重新发送的所述字典信息。
- 根据权利要求34所述的装置,其中,所述字典信息为字典建立信息。
- 根据权利要求34所述的装置,其中,当所述字典信息为字典更新信息时,所述第二状态设置模块,还用于:将高频字段与所述字段编号对应的原字典映射关系的状态设置为失效状态。
- 根据权利要求34所述的装置,其中,所述第二接收模块进一步用于:接收压缩端发送的编码后的数据包,所述编码后的数据包携带有所述字典信息;或者接收压缩端发送的信令包,所述信令包携带有所述字典信息。
- 根据权利要求34所述的装置,其中,所述反馈消息包括:一个确认 编号或汇聚的多个确认编号,其中,一个确认编号对应一个被解压端成功接收的字段编号。
- 根据权利要求34所述的装置,其中,所述确认编号为字段编号或者数据包编号或者为信令包的编号。
- 根据权利要求34所述的装置,其中,所述第二接收模块,还用于接收压缩端发送的反馈配置信息;所述第三发送模块,还用于向所述压缩端发送反馈配置确认消息。
- 根据权利要求41所述的装置,其中,所述反馈配置信息包括以下一项或多项:基于信令包的编号反馈或者基于数据包的编号反馈或者基于字段编号反馈、汇聚或统一反馈和反馈时间的长度。
- 根据权利要求41所述的装置,其中,所述第三发送模块,还用于向压缩端发送反馈能力。
- 一种解压端,包括如权利要求34-43任一项所述的字典信息同步的装置。
- 一种字典信息同步的装置,包括:处理器和存储器,其中:所述处理器用于读取存储器中的程序,执行下列过程:向解压端发送字典信息,所述字典信息包括:高频字段和字段编号的字典映射关系;当在设定的反馈时间内接收到所述解压端发送的反馈消息时,将所述字典映射关系的状态设置为生效状态,所述反馈消息用于表示所述解压端已经成功接收所述字典信息,所述存储器能够存储处理器在执行操作时所使用的数据。
- 一种字典信息同步的装置,包括:处理器和存储器,其中:所述处理器用于读取存储器中的程序,执行下列过程:接收压缩端发送的字典信息,所述字典信息包括:高频字段和字段编号的字典映射关系;在设定的反馈时间内向所述压缩端发送反馈消息;将所述字典映射关系的状态设置为生效状态,所述存储器能够存储处理器在执行操作时所使用的数据。
Applications Claiming Priority (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201610298039.5 | 2016-05-06 | ||
| CN201610298039.5A CN105978668A (zh) | 2016-05-06 | 2016-05-06 | 一种字典信息同步方法、装置及设备 |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| WO2017190541A1 true WO2017190541A1 (zh) | 2017-11-09 |
Family
ID=56991989
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/CN2017/073881 Ceased WO2017190541A1 (zh) | 2016-05-06 | 2017-02-17 | 字典信息同步方法、装置及设备 |
Country Status (2)
| Country | Link |
|---|---|
| CN (1) | CN105978668A (zh) |
| WO (1) | WO2017190541A1 (zh) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| EP3860014A4 (en) * | 2018-09-26 | 2021-10-13 | Datang Mobile Communications Equipment Co., Ltd. | METHOD AND DEVICE FOR MESSAGE TRANSFER AT TAX LEVEL |
Families Citing this family (10)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN105978668A (zh) * | 2016-05-06 | 2016-09-28 | 电信科学技术研究院 | 一种字典信息同步方法、装置及设备 |
| CN106506331B (zh) * | 2016-10-26 | 2019-10-22 | 宁波菊风系统软件有限公司 | 一种低延迟的文本信息传输方法 |
| CN107302585B (zh) * | 2017-07-11 | 2020-05-26 | 电信科学技术研究院 | 一种预置字典同步方法及设备 |
| CN109246169B (zh) * | 2017-07-11 | 2021-01-22 | 电信科学技术研究院 | 一种预置字典同步方法及终端 |
| CN109660577B (zh) * | 2017-10-10 | 2020-10-16 | 中国移动通信有限公司研究院 | 信息传输方法、通信设备及计算机可读存储介质 |
| CN108011952B (zh) * | 2017-12-01 | 2021-06-18 | 北京奇艺世纪科技有限公司 | 一种获取压缩字典的方法和装置 |
| CN111385268B (zh) * | 2018-12-29 | 2023-02-24 | 大唐移动通信设备有限公司 | 一种数据包头压缩确认方法及通信设备 |
| CN112188554B (zh) * | 2019-07-03 | 2022-08-19 | 大唐移动通信设备有限公司 | 信息传输方法及装置 |
| CN112187400B (zh) * | 2019-07-03 | 2022-04-12 | 大唐移动通信设备有限公司 | 数据传输方法及装置 |
| CN115801902B (zh) * | 2023-02-09 | 2023-04-11 | 北京特立信电子技术股份有限公司 | 一种网络访问请求数据的压缩方法 |
Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101277117A (zh) * | 2000-07-25 | 2008-10-01 | 瞻博网络公司 | 增量和连续的数据压缩 |
| CN102118791A (zh) * | 2009-12-31 | 2011-07-06 | 华为技术有限公司 | 一种传输数据包的方法及装置 |
| US20150381774A1 (en) * | 2014-06-30 | 2015-12-31 | Cooper Technologies Company | Data Compression and Decompression Methodology and Apparatus |
| CN105281874A (zh) * | 2015-11-26 | 2016-01-27 | 国家电网公司 | 一种用于变电站二次在线监测的lz进化无损压缩方法 |
| CN105978668A (zh) * | 2016-05-06 | 2016-09-28 | 电信科学技术研究院 | 一种字典信息同步方法、装置及设备 |
-
2016
- 2016-05-06 CN CN201610298039.5A patent/CN105978668A/zh active Pending
-
2017
- 2017-02-17 WO PCT/CN2017/073881 patent/WO2017190541A1/zh not_active Ceased
Patent Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101277117A (zh) * | 2000-07-25 | 2008-10-01 | 瞻博网络公司 | 增量和连续的数据压缩 |
| CN102118791A (zh) * | 2009-12-31 | 2011-07-06 | 华为技术有限公司 | 一种传输数据包的方法及装置 |
| US20150381774A1 (en) * | 2014-06-30 | 2015-12-31 | Cooper Technologies Company | Data Compression and Decompression Methodology and Apparatus |
| CN105281874A (zh) * | 2015-11-26 | 2016-01-27 | 国家电网公司 | 一种用于变电站二次在线监测的lz进化无损压缩方法 |
| CN105978668A (zh) * | 2016-05-06 | 2016-09-28 | 电信科学技术研究院 | 一种字典信息同步方法、装置及设备 |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| EP3860014A4 (en) * | 2018-09-26 | 2021-10-13 | Datang Mobile Communications Equipment Co., Ltd. | METHOD AND DEVICE FOR MESSAGE TRANSFER AT TAX LEVEL |
Also Published As
| Publication number | Publication date |
|---|---|
| CN105978668A (zh) | 2016-09-28 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| WO2017190541A1 (zh) | 字典信息同步方法、装置及设备 | |
| US11025751B2 (en) | Method for processing data packet and apparatus | |
| KR102598577B1 (ko) | 통신 방법 및 디바이스 | |
| WO2018196491A1 (zh) | 上行数据解压缩、压缩的方法和装置 | |
| KR20200087231A (ko) | 비동기 버퍼를 처리하기 위한 방법 및 장치 | |
| EP3886497B1 (en) | Synchronization of a tsn network comprising a cu-du architecture | |
| CN110073643A (zh) | 上行数据压缩事务流 | |
| JP7041255B2 (ja) | 送信デバイス、受信デバイス、及びアップリンクデータ圧縮を処理するためにそれらにおいて実行される方法 | |
| WO2020043114A1 (zh) | 数据传输方法及相关装置 | |
| EP4016948A1 (en) | Method and apparatus for compressing ethernet header, and method and apparatus for decompressing ethernet header | |
| EP4311300A1 (en) | Data transmission method and apparatus | |
| CN108347468B (zh) | 一种进行数据同步的方法及设备 | |
| CN102118791B (zh) | 一种传输数据包的方法及装置 | |
| WO2011079785A1 (zh) | 一种传输数据包的方法及装置 | |
| WO2015139324A1 (zh) | 配置指示方法和通信设备 | |
| EP3955637A1 (en) | Data processing method, communication apparatus, and system | |
| WO2017185368A1 (zh) | 一种信令传输方法和设备 | |
| CN103634843A (zh) | 数据传输方法、无线网络控制器、基站及移动通信系统 | |
| WO2017143538A1 (zh) | 语音数据传输方法以及装置 | |
| WO2019149210A1 (zh) | 一种数据压缩方法、解压缩方法、发送端及接收端 | |
| CN111491333B (zh) | 一种数据处理方法、发送端设备和接收端设备 | |
| CN111510263B (zh) | 一种重映射方法、终端和网络侧设备 | |
| CN111416689B (zh) | 数据传输方法及通信设备 | |
| CN114598328A (zh) | 压缩字典的回退方法、装置和存储介质 | |
| CN106169947A (zh) | 数据传输方法、第一设备及第二设备 |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| NENP | Non-entry into the national phase |
Ref country code: DE |
|
| 121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 17792370 Country of ref document: EP Kind code of ref document: A1 |
|
| 122 | Ep: pct application non-entry in european phase |
Ref document number: 17792370 Country of ref document: EP Kind code of ref document: A1 |