DLMS WPDU data compression method, medium and device

Through the DLMS WPDU data compression method, by identifying and compressing DLMS WPDU data, generating compression units and encapsulating them, the problem of low transmission efficiency and large bandwidth consumption of the DLMS/COSEM protocol in wireless or low-bandwidth environments is solved, and the data transmission efficiency is improved. Enhancement and user experience improvements.

CN118803075APending Publication Date: 2024-10-18SHENZHEN INHEMETER
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411086730.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-08
Publication Date
2024-10-18

AI Technical Summary

Technical Problem

When using the DLMS/COSEM protocol for data processing, there are problems of low transmission efficiency and large bandwidth consumption, especially in wireless or low-bandwidth environments, which affects user experience.

Method used

A DLMS WPDU data compression method is proposed. By obtaining the original data for identification and compression processing, a compression unit is generated, encapsulated with control information, and sent to the target device to improve data transmission efficiency. Specific steps include discarding the version and byte length field data, querying the preset mapping table according to the source address and destination address to obtain the compression value, generating a compression unit, and restoring the data length in the target device.

Benefits of technology

It effectively improves data transmission efficiency, reduces bandwidth consumption, and thus improves user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118803075A_ABST
    Figure CN118803075A_ABST
Patent Text Reader

Abstract

The invention discloses a DLMS WPDU data compression method, medium and device, and the method comprises the steps: obtaining original DLMS WPDU data, and carrying out the recognition of the original DLMS WPDU data, so as to obtain compressible data corresponding to the original DLMS WPDU data; performing compression processing on the compressible data to generate a compression unit; packaging the control information of the compression unit and the control information of the original DLMS WPDU data so as to generate compressed DLMS WPDU data; and sending the compressed DLMS WPDU data to a target device, so that the target device processes the compressed DLMS WPDU data to obtain corresponding original DLMS WPDU data. The data transmission efficiency can be effectively improved, the bandwidth consumption is reduced, and the user experience is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of smart meter communication technology, and in particular to a DLMS WPDU data compression method, medium and device. Background Art

[0002] With the development of smart grid technology, smart meters, as an important part of smart grid, are receiving more and more attention for their data communication efficiency and security. DLMS / COSEM (Device Language Message Specification / Common Object Services Element Model) protocol is a widely used standard in smart meter communication, which supports multiple data exchange functions.

[0003] In the related art, when using the DLMS / COSEM protocol to process a large amount of data, there are problems of low transmission efficiency and high bandwidth consumption. This problem is particularly prominent in wireless or low-bandwidth environments, which greatly affects the user experience. Summary of the invention

[0004] The present invention aims to solve one of the technical problems in the related art at least to a certain extent. To this end, one object of the present invention is to propose a DLMS WPDU data compression method, which can effectively improve data transmission efficiency, reduce bandwidth consumption, and thus improve user experience.

[0005] In a first aspect, an embodiment of the present invention proposes a DLMS WPDU data compression method, comprising the following steps: acquiring original DLMS WPDU data, and identifying the original DLMS WPDU data to obtain compressible data corresponding to the original DLMS WPDU data; compressing the compressible data to generate a compression unit; encapsulating the compression unit with control information of the original DLMS WPDU data to generate compressed DLMS WPDU data; and sending the compressed DLMS WPDU data to a target device so that the target device processes the compressed DLMS WPDU data to obtain the corresponding original DLMS WPDU data.

[0006] According to the DLMS WPDU data compression method of an embodiment of the present invention, first, original DLMS WPDU data is obtained, and the original DLMS WPDU data is identified to obtain compressible data corresponding to the original DLMS WPDU data; then, the compressible data is compressed to generate a compression unit; then, the compression unit is encapsulated with control information of the original DLMS WPDU data to generate compressed DLMS WPDU data; then, the compressed DLMS WPDU data is sent to a target device so that the target device processes the compressed DLMS WPDU data to obtain the corresponding original DLMS WPDU data; thereby effectively improving data transmission efficiency, reducing bandwidth consumption, and thus improving user experience.

[0007] In some embodiments, the compressible data includes: version field data, source address field data, target address field data, and byte length field data.

[0008] In some embodiments, the compressible data is compressed to generate a compression unit, including: discarding the version field data and the byte length field data; querying a preset mapping table according to the source address field data and the target address field data respectively to obtain a compression value corresponding to the source address field data and a compression value corresponding to the target address field data; and performing compression processing according to the compression value corresponding to the source address field data and the compression value corresponding to the target address field data to generate a compression unit.

[0009] In some embodiments, the target device processes the compressed DLMS WPDU data to obtain the corresponding original DLMS WPDU data, including: restoring the version field data; querying the preset mapping table according to the compression value corresponding to the source address field data and the compression value corresponding to the target address field data to restore the source address field data and the target address field data; calculating the corresponding data length according to the restoration result to obtain the byte length field data.

[0010] In a second aspect, an embodiment of the present invention provides a computer-readable storage medium on which a DLMS WPDU data compression program is stored. When the DLMS WPDU data compression program is executed by a processor, the DLMS WPDU data compression method described above is implemented.

[0011] In a third aspect, an embodiment of the present invention proposes a computer device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, the DLMS WPDU data compression method as described above is implemented.

[0012] In a fourth aspect, an embodiment of the present invention proposes a DLMS WPDU data compression device, comprising: an acquisition module, the acquisition module is used to acquire original DLMS WPDU data; an identification module, the identification module is used to identify the original DLMS WPDU data to obtain compressible data corresponding to the original DLMS WPDU data; a compression module, the compression module is used to compress the compressible data to generate a compression unit; an encapsulation module, the encapsulation module is used to encapsulate the compression unit and the control information of the original DLMS WPDU data to generate compressed DLMS WPDU data; a transmission module, the transmission module is used to send the compressed DLMS WPDU data to a target device, so that the target device processes the compressed DLMS WPDU data to obtain the corresponding original DLMS WPDU data.

[0013] According to the DLMS WPDU data compression device of the embodiment of the present invention, an acquisition module is set to acquire original DLMS WPDU data; an identification module is used to identify the original DLMS WPDU data to obtain compressible data corresponding to the original DLMS WPDU data; a compression module is used to compress the compressible data to generate a compression unit; an encapsulation module is used to encapsulate the compression unit with the control information of the original DLMS WPDU data to generate compressed DLMS WPDU data; a transmission module is used to send the compressed DLMS WPDU data to a target device, so that the target device processes the compressed DLMS WPDU data to obtain the corresponding original DLMS WPDU data. This effectively improves data transmission efficiency, reduces bandwidth consumption, and improves user experience.

[0014] In some embodiments, the compressible data includes: version field data, source address field data, target address field data, and byte length field data.

[0015] In some embodiments, the compression module is also used to discard the version field data and the byte length field data; query the preset mapping table according to the source address field data and the target address field data respectively to obtain the compression value corresponding to the source address field data and the compression value corresponding to the target address field data; perform compression processing according to the compression value corresponding to the source address field data and the compression value corresponding to the target address field data to generate a compression unit.

[0016] In some embodiments, the target device processes the compressed DLMS WPDU data to obtain the corresponding original DLMS WPDU data, including: restoring the version field data; querying the preset mapping table according to the compression value corresponding to the source address field data and the compression value corresponding to the target address field data to restore the source address field data and the target address field data; calculating the corresponding data length according to the restoration result to obtain the byte length field data.

[0017] Additional aspects and advantages of the present invention will be given in part in the following description and in part will be obvious from the following description, or will be learned through practice of the present invention. BRIEF DESCRIPTION OF THE DRAWINGS

[0018] Figure 1 is a flow chart of a DLMS WPDU data compression method according to an embodiment of the present invention;

[0019] Figure 2 is a schematic diagram of a preset mapping table according to an embodiment of the present invention;

[0020] Figure 3 is a flow chart of a DLMS WPDU data compression method according to another embodiment of the present invention;

[0021] Figure 4 is a block diagram of a computer device according to an embodiment of the present invention;

[0022] Figure 5 4 is a block diagram of a DLMS WPDU data compression device according to an embodiment of the present invention. DETAILED DESCRIPTION

[0023] Embodiments of the present invention are described in detail below, examples of which are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements having the same or similar functions. The embodiments described below with reference to the accompanying drawings are exemplary and are intended to be used to explain the present invention, and should not be construed as limiting the present invention.

[0024] The DLMS WPDU data compression method according to an embodiment of the present invention is described below with reference to the accompanying drawings.

[0025] See also Figure 1 , Figure 1 FIG. 4 is a flow chart of a DLMS WPDU data compression method according to an embodiment of the present invention. Figure 1 As shown, the DLMS WPDU data compression method includes the following steps:

[0026] S101, acquiring original DLMS WPDU data, and identifying the original DLMS WPDU data to obtain compressible data corresponding to the original DLMS WPDU data.

[0027] It should be noted that DLMS stands for Device Language Message Specification protocol, and WPDU stands for Wrapped Protocol Data Unit.

[0028] In some embodiments, the compressible data includes: version field data, source address field data, target address field data, and byte length field data.

[0029] As an example, the compressible data includes: Version field data: Version field data, which is used to record the Wrapper version, which is generally a fixed value, such as "0x0001"; Source address field data: Source wPort field data, which is used as the CSAP client address when requesting and as the SSAP server address when responding; Destination address field data: Destination wPort field data, which is used to indicate the destination address, which is used as the SSAP server address when requesting and as the CSAP client address when responding; Byte length field data: Length field data, which has a value range of 0x0000-0xFFFF and is used to indicate the byte length of the transmitted COSEM APDU. It should be noted that the original DLMS WPDU data may also include DATA field data (i.e. APDU data), which may be any byte, the communication data content, and does not belong to the wrapper category; this field data determines the value of the Length field data.

[0030] S102: compress the compressible data to generate a compression unit.

[0031] In some embodiments, compressible data is compressed to generate a compression unit, including: discarding version field data and byte length field data; querying a preset mapping table according to the source address field data and the target address field data respectively to obtain a compression value corresponding to the source address field data and a compression value corresponding to the target address field data; and performing compression processing according to the compression value corresponding to the source address field data and the compression value corresponding to the target address field data to generate a compression unit.

[0032] That is to say, since the version field data is a fixed value, the field data can be directly omitted in the compression stage, and the byte length field data can be obtained by calculation, so it can also be directly omitted. Next, regarding the target address field data and the byte length field data; query the preset mapping table according to the source address field data and the target address field data; wherein, the preset mapping table can be set in a variety of ways. Preferably, the preset mapping table can be set as Figure 2 way, such as Figure 2 As shown, different permutations and combinations of the target address field data and the byte length field data are represented by a byte-long ID, which can form a total of 256 combinations. Through the permutations and combinations agreed upon in the preset mapping table, the preset mapping table can be queried according to the target address field data and the byte length field data to obtain the corresponding ID value (i.e., the compressed value); further, the queried ID value can be used to replace the target address field data and the byte length field data in the original DLMS WPDU data to complete the compression process and obtain the compression unit.

[0033] S103, encapsulate the compression unit and the control information of the original DLMS WPDU data to generate compressed DLMS WPDU data.

[0034] S104: Send the compressed DLMS WPDU data to the target device so that the target device processes the compressed DLMS WPDU data to obtain corresponding original DLMS WPDU data.

[0035] In some embodiments, the target device processes the compressed DLMS WPDU data to obtain the corresponding original DLMS WPDU data, including: restoring the version field data; querying the preset mapping table according to the compression value corresponding to the source address field data and the compression value corresponding to the target address field data to restore the source address field data and the target address field data; calculating the corresponding data length according to the restoration result to obtain the byte length field data.

[0036] As an example, after receiving the compressed DLMS WPDU data, the target device first restores the version field data; then, queries the preset mapping table according to the compression value corresponding to the source address field data and the compression value corresponding to the target address field data to restore the source address field data and the target address field data; then, calculates the length of the DATA (ADPU) field data, and obtains the byte length field data according to the calculation result; in this way, the decompression process is completed.

[0037] As a specific embodiment of the present invention, Figure 3 As shown, the DLMS WPDU data compression method proposed by the present invention comprises the following steps:

[0038] S301, obtaining original DLMS WPDU data.

[0039] S302: Identify original DLMS WPDU data to obtain compressible data corresponding to the original DLMS WPDU data.

[0040] S303, discard the version field data and the byte length field data.

[0041] S304, querying a preset mapping table according to the source address field data and the target address field data respectively to obtain a compression value corresponding to the source address field data and a compression value corresponding to the target address field data.

[0042] S305, performing compression processing according to the compression value corresponding to the source address field data and the compression value corresponding to the target address field data to generate a compression unit.

[0043] S306, encapsulate the compression unit and the control information of the original DLMS WPDU data to generate compressed DLMS WPDU data.

[0044] S307, sending the compressed DLMS WPDU data to the target device.

[0045] S308, the target device restores the version field data.

[0046] S309, the target device queries a preset mapping table according to the compression value corresponding to the source address field data and the compression value corresponding to the target address field data to restore the source address field data and the target address field data.

[0047] S310, the target device calculates the corresponding data length according to the restoration result to obtain the byte length field data and completes the decompression.

[0048] In summary, according to the DLMS WPDU data compression method of an embodiment of the present invention, first, the original DLMS WPDU data is obtained, and the original DLMS WPDU data is identified to obtain the compressible data corresponding to the original DLMS WPDU data; then, the compressible data is compressed to generate a compression unit; then, the compression unit is encapsulated with the control information of the original DLMS WPDU data to generate compressed DLMS WPDU data; then, the compressed DLMS WPDU data is sent to the target device, so that the target device processes the compressed DLMS WPDU data to obtain the corresponding original DLMS WPDU data; thereby effectively improving the data transmission efficiency, reducing bandwidth consumption, and thus improving the user experience.

[0049] In a second aspect, an embodiment of the present invention provides a computer-readable storage medium on which a DLMS WPDU data compression program is stored. When the DLMS WPDU data compression program is executed by a processor, the DLMS WPDU data compression method described above is implemented.

[0050] In a third aspect, an embodiment of the present invention provides a computer device, such as Figure 4 As shown, the computer device includes a memory 401, a processor 402, and a computer program stored in the memory 401 and executable on the processor 402. When the processor 402 executes the program, the DLMS WPDU data compression method described above is implemented.

[0051] In a fourth aspect, an embodiment of the present invention provides a DLMS WPDU data compression device, such as Figure 5 As shown, the DLMSWPDU data compression device includes: an acquisition module 10, an identification module 20, a compression module 30, an encapsulation module 40 and a transmission module 50.

[0052] Wherein, the acquisition module 10 is used to acquire original DLMS WPDU data;

[0053] The identification module 20 is used to identify the original DLMS WPDU data to obtain the compressible data corresponding to the original DLMS WPDU data;

[0054] The compression module 30 is used to compress the compressible data to generate a compression unit;

[0055] The encapsulation module 40 is used to encapsulate the compression unit and the control information of the original DLMS WPDU data to generate compressed DLMS WPDU data;

[0056] The transmission module 50 is used to send the compressed DLMS WPDU data to the target device so that the target device processes the compressed DLMS WPDU data to obtain corresponding original DLMS WPDU data.

[0057] In some embodiments, the compressible data includes: version field data, source address field data, target address field data, and byte length field data.

[0058] In some embodiments, the compression module 30 is also used to discard version field data and byte length field data; query the preset mapping table according to the source address field data and the target address field data respectively to obtain the compression value corresponding to the source address field data and the compression value corresponding to the target address field data; perform compression processing according to the compression value corresponding to the source address field data and the compression value corresponding to the target address field data to generate a compression unit.

[0059] In some embodiments, the target device processes the compressed DLMS WPDU data to obtain the corresponding original DLMS WPDU data, including: restoring the version field data; querying the preset mapping table according to the compression value corresponding to the source address field data and the compression value corresponding to the target address field data to restore the source address field data and the target address field data; calculating the corresponding data length according to the restoration result to obtain the byte length field data.

[0060] It should be noted that the above description of the DLMS WPDU data compression method is also applicable to the DLMS WPDU data compression device, which will not be described in detail here.

[0061] In summary, according to the DLMS WPDU data compression device of the embodiment of the present invention, an acquisition module is set to acquire original DLMS WPDU data; an identification module is used to identify the original DLMS WPDU data to obtain compressible data corresponding to the original DLMS WPDU data; a compression module is used to compress the compressible data to generate a compression unit; an encapsulation module is used to encapsulate the compression unit with the control information of the original DLMS WPDU data to generate compressed DLMS WPDU data; a transmission module is used to send the compressed DLMS WPDU data to a target device, so that the target device processes the compressed DLMS WPDU data to obtain the corresponding original DLMS WPDU data. This effectively improves data transmission efficiency, reduces bandwidth consumption, and improves user experience.

[0062] It should be noted that the logic and / or steps represented in the flowchart or otherwise described herein, for example, can be considered as a sequenced list of executable instructions for implementing logical functions, and can be specifically implemented in any computer-readable medium for use by an instruction execution system, device or apparatus (such as a computer-based system, a system including a processor, or other system that can fetch instructions from an instruction execution system, device or apparatus and execute instructions), or in combination with these instruction execution systems, devices or apparatuses. For the purposes of this specification, "computer-readable medium" can be any device that can contain, store, communicate, propagate or transmit a program for use by an instruction execution system, device or apparatus, or in combination with these instruction execution systems, devices or apparatuses. More specific examples of computer-readable media (a non-exhaustive list) include the following: an electrical connection portion with one or more wirings (electronic device), a portable computer disk box (magnetic device), a random access memory (RAM), a read-only memory (ROM), an erasable and programmable read-only memory (EPROM or flash memory), an optical fiber device, and a portable compact disk read-only memory (CDROM). In addition, the computer-readable medium may even be paper or other suitable medium on which the program is printed, since the program may be obtained electronically, for example, by optically scanning the paper or other medium and then editing, interpreting or processing in other suitable ways if necessary, and then stored in a computer memory.

[0063] It should be understood that the various parts of the present invention can be implemented by hardware, software, firmware or a combination thereof. In the above-mentioned embodiments, a plurality of steps or methods can be implemented by software or firmware stored in a memory and executed by a suitable instruction execution system. For example, if implemented by hardware, as in another embodiment, it can be implemented by any one of the following technologies known in the art or their combination: a discrete logic circuit having a logic gate circuit for implementing a logic function for a data signal, a dedicated integrated circuit having a suitable combination of logic gate circuits, a programmable gate array (PGA), a field programmable gate array (FPGA), etc.

[0064] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "examples", "specific examples", or "some examples" means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present invention. In this specification, the schematic representation of the above terms does not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner.

[0065] In the description of the present invention, it is to be understood that the terms “center”, “longitudinal”, “lateral”, “length”, “width”, “thickness”, “up”, “down”, “front”, “back”, “left”, “right”, “vertical”, “horizontal”, “top”, “bottom”, “inside”, “outside”, “clockwise”, “counterclockwise”, “axial”, “radial”, “circumferential”, etc., indicating orientations or positional relationships based on the orientations or positional relationships shown in the accompanying drawings, are only for the convenience of describing the present invention and simplifying the description, and do not indicate or imply that the referred device or element must have a specific orientation, be constructed and operated in a specific orientation, and therefore should not be understood as limiting the present invention.

[0066] In addition, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Therefore, the features defined as "first" and "second" may explicitly or implicitly include at least one of the features. In the description of the present invention, the meaning of "plurality" is at least two, such as two, three, etc., unless otherwise clearly and specifically defined.

[0067] In the present invention, unless otherwise clearly specified and limited, the terms "installed", "connected", "connected", "fixed" and the like should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection or an indirect connection through an intermediate medium, it can be the internal connection of two elements or the interaction relationship between two elements, unless otherwise clearly defined. For ordinary technicians in this field, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.

[0068] In the present invention, unless otherwise clearly specified and limited, a first feature being "above" or "below" a second feature may mean that the first and second features are in direct contact, or the first and second features are in indirect contact through an intermediate medium. Moreover, a first feature being "above", "above" or "above" a second feature may mean that the first feature is directly above or obliquely above the second feature, or simply means that the first feature is higher in level than the second feature. A first feature being "below", "below" or "below" a second feature may mean that the first feature is directly below or obliquely below the second feature, or simply means that the first feature is lower in level than the second feature.

[0069] Although the embodiments of the present invention have been shown and described above, it is to be understood that the above embodiments are exemplary and are not to be construed as limitations of the present invention. A person skilled in the art may change, modify, replace and vary the above embodiments within the scope of the present invention.

Claims

1. A DLMS WPDU data compression method, characterized in that: The following steps are involved: Acquire original DLMS WPDU data, and identify the original DLMS WPDU data to obtain compressible data corresponding to the original DLMS WPDU data; Performing compression processing on the compressible data to generate a compression unit; Encapsulating the compression unit and the control information of the original DLMS WPDU data to generate compressed DLMS WPDU data; The compressed DLMS WPDU data is sent to a target device so that the target device processes the compressed DLMS WPDU data to obtain corresponding original DLMS WPDU data.

2. The DLMS WPDU data compression method according to claim 1, characterized in that: The compressible data includes: version field data, source address field data, target address field data and byte length field data.

3. The DLMS WPDU data compression method according to claim 2, characterized in that: The compressible data is compressed to generate a compression unit, comprising: discarding the version field data and the byte length field data; querying a preset mapping table according to the source address field data and the target address field data respectively, so as to obtain a compression value corresponding to the source address field data and a compression value corresponding to the target address field data; Compression processing is performed according to the compression value corresponding to the source address field data and the compression value corresponding to the target address field data to generate a compression unit.

4. The DLMS WPDU data compression method according to claim 3, characterized in that: The target device processes the compressed DLMS WPDU data to obtain corresponding original DLMS WPDU data, including: Restoring the version field data; querying the preset mapping table according to the compression value corresponding to the source address field data and the compression value corresponding to the target address field data to restore the source address field data and the target address field data; The corresponding data length is calculated according to the restoration result to obtain the byte length field data.

5. A computer-readable storage medium, characterized in that: A DLMS WPDU data compression program is stored thereon, and when the DLMS WPDU data compression program is executed by a processor, the DLMS WPDU data compression method according to any one of claims 1 to 4 is implemented.

6. A computer device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the program, the DLMS WPDU data compression method according to any one of claims 1 to 4 is implemented.

7. A DLMS WPDU data compression device, characterized in that: include: An acquisition module, wherein the acquisition module is used to acquire original DLMS WPDU data; an identification module, the identification module being used to identify the original DLMS WPDU data to obtain compressible data corresponding to the original DLMS WPDU data; A compression module, the compression module is used to compress the compressible data to generate a compression unit; an encapsulation module, the encapsulation module being used to encapsulate the compression unit and the control information of the original DLMS WPDU data to generate compressed DLMS WPDU data; A transmission module, wherein the transmission module is used to send the compressed DLMS WPDU data to a target device so that the target device processes the compressed DLMS WPDU data to obtain corresponding original DLMS WPDU data.

8. The DLMS WPDU data compression device according to claim 7, characterized in that: The compressible data includes: version field data, source address field data, target address field data and byte length field data.

9. The DLMS WPDU data compression device according to claim 8, characterized in that: The compression module is also used to discard the version field data and the byte length field data; querying a preset mapping table according to the source address field data and the target address field data respectively, so as to obtain a compression value corresponding to the source address field data and a compression value corresponding to the target address field data; Compression processing is performed according to the compression value corresponding to the source address field data and the compression value corresponding to the target address field data to generate a compression unit.

10. The DLMS WPDU data compression device according to claim 9, characterized in that: The target device processes the compressed DLMS WPDU data to obtain corresponding original DLMS WPDU data, including: Restoring the version field data; querying the preset mapping table according to the compression value corresponding to the source address field data and the compression value corresponding to the target address field data to restore the source address field data and the target address field data; The corresponding data length is calculated according to the restoration result to obtain the byte length field data.