Vehicle monitoring data offline transmission method based on dynamic two-dimensional code

By using dynamic QR codes to encrypt and decrypt data blocks in the vehicle central control terminal, the data transmission problem of traditional vehicles under network conditions is solved, and data integrity and efficient transmission are achieved.

CN120263446APending Publication Date: 2025-07-04WUHAN INFOEARTH INFORMATION CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510302402.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-03-14
Publication Date
2025-07-04

AI Technical Summary

Technical Problem

Traditional vehicles are difficult to support efficient data transmission under the conditions of no network communication, especially when the vehicle is driving, it is impossible to upload vehicle operating status and positioning data in real time.

Method used

Using a dynamic QR code-based method, the vehicle monitoring data is encrypted and divided into small data blocks, a dynamic QR code is generated, and the target data block is obtained by reading the QR code for decryption and offline transmission. The asymmetric encryption algorithm is used to generate public and private keys for data encryption and decryption.

Benefits of technology

It realizes the completeness and integrity of data under network conditions, supports efficient transmission of large data volumes, ensures that the data transmission order is good and messy, and avoids data loss.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120263446A_ABST
    Figure CN120263446A_ABST
Patent Text Reader

Abstract

According to the vehicle monitoring data off-line transmission method based on the dynamic two-dimensional code, in the encryption and decryption process of the monitoring data of the vehicle central control terminal, the transmission of the data block is executed through the dynamic two-dimensional code, and finally the off-line transmission of the detection data is completed, so that the completeness and integrity of the data are ensured; high-efficiency transmission of large data volume can be supported, and the problem that a traditional vehicle is difficult to support high-efficiency data transmission under the condition of no network communication is solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of data transmission, and particularly to an offline transmission method for vehicle monitoring data based on dynamic two-dimensional codes. Background Art

[0002] Traditional vehicle monitoring methods rely on real-time data transmission. However, in some environments, during the vehicle's driving process, it may not be in an area covered by the network or the vehicle may not be equipped with a communication module due to data sensitivity issues. Therefore, an effective method is needed to extract and upload the data such as the vehicle's running status and positioning, which are collected in real time during the vehicle's driving process, to the data center server through a mobile terminal in an offline state. Summary of the Invention

[0003] The present invention provides an offline transmission method for vehicle monitoring data based on dynamic two-dimensional codes to solve the problem that traditional vehicles are difficult to support efficient data transmission under non-network communication conditions.

[0004] The present invention provides an offline transmission method for vehicle monitoring data based on dynamic two-dimensional codes, including: Obtaining the monitoring data of the vehicle's central control terminal and obtaining the initial two-dimensional code generated for the central control terminal; Integrating and processing the monitoring data to obtain encrypted data; Splitting the encrypted data into multiple small data blocks according to the number of bytes carried by the initial two-dimensional code, and generating dynamic two-dimensional codes based on the small data blocks; Obtaining the target data block by reading the dynamic two-dimensional code, decrypting the target data block, and using the obtained decrypted data for offline data transmission.

[0005] In some embodiments, the initial two-dimensional code includes a public key generated by an asymmetric encryption algorithm. After obtaining the initial two-dimensional code generated for the central control terminal, the method further includes: Obtaining the public key by reading the initial two-dimensional code and transmitting the public key to the vehicle's central control terminal.

[0006] In some embodiments, the integrating and processing the monitoring data to obtain encrypted data includes: Sorting the monitoring data according to the time sequence to obtain a data set in string format; Encrypting the data set with the public key to obtain encrypted data.

[0007] In some embodiments, the two bytes at the header position of the small data block record the index number of the data block, the two bytes in the middle position of the small data block record the size value of the data block, and the bytes after the fourth byte at the end position of the small data block record the actual data of the data block.

[0008] In some embodiments, the step of obtaining the target data block by reading the dynamic two-dimensional code includes: By reading the dynamic two-dimensional code, a plurality of two-dimensional code data are obtained, and the size value of the two-dimensional code data is determined; Compare the size value of each QR code data with the size value of each small data block; If the comparison results are the same, the two-dimensional code data is used as the target data block.

[0009] In some embodiments, the decryption process of the target data block includes: In the target data block, the index number of the data block recorded by two bytes at the header position and the size value of the data block recorded by two bytes at the middle position are removed; Splicing the actual data recorded in each target data block after elimination to obtain spliced ​​data; Obtaining a private key corresponding to a public key, wherein the public key is generated by an asymmetric encryption algorithm when generating the initial QR code; The spliced ​​data is decrypted using the private key to obtain decrypted data.

[0010] The present invention also provides a vehicle monitoring data offline transmission device based on a dynamic two-dimensional code, comprising: An acquisition module is used to acquire monitoring data of the vehicle central control terminal and to acquire an initial QR code generated for the central control terminal; An encryption module, used for integrating and processing the monitoring data to obtain encrypted data; A segmentation module, used for segmenting the encrypted data into a plurality of small data blocks according to the number of bytes carried by the initial two-dimensional code, and generating a dynamic two-dimensional code based on the small data blocks; The transmission module is used to obtain the target data block by reading the dynamic two-dimensional code, decrypt the target data block, and use the obtained decrypted data to perform data offline transmission.

[0011] The present invention also provides an electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the computer program, the method for offline transmission of vehicle monitoring data based on a dynamic two-dimensional code as described above is implemented.

[0012] The present invention also provides a non-transitory computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, it implements the method for offline transmission of vehicle monitoring data based on a dynamic two-dimensional code as described in any one of the above.

[0013] The present invention also provides a computer program product, including a computer program. When the computer program is executed by a processor, it implements the method for offline transmission of vehicle monitoring data based on a dynamic two-dimensional code as described in any one of the above.

[0014] In the method for offline transmission of vehicle monitoring data based on a dynamic two-dimensional code provided by the present invention, during the encryption and decryption processes of the monitoring data of the vehicle central control terminal, the transfer of data blocks is performed through the dynamic two-dimensional code, and finally the offline transmission of the detection data is completed, ensuring the integrity and completeness of the data, being able to support the efficient transmission of a large amount of data, and solving the problem that traditional vehicles are difficult to support efficient data transmission under the condition of no network communication. Description of the Drawings

[0015] In order to more clearly illustrate the technical solutions in the present invention or the prior art, the following will briefly introduce the drawings required for use in the description of the embodiments or the prior art one by one. Obviously, the drawings in the following description are some embodiments of the present invention. For those of ordinary skill in the art, without creative efforts, other drawings can also be obtained based on these drawings.

[0016] Figure 1 is a schematic flowchart of the method for offline transmission of vehicle monitoring data based on a dynamic two-dimensional code provided by the present invention.

[0017] Figure 2 is a schematic structural diagram of the device for offline transmission of vehicle monitoring data based on a dynamic two-dimensional code provided by the present invention.

[0018] Figure 3 is a schematic structural diagram of the electronic device provided by the present invention. Detailed Embodiments

[0019] To make the objectives, technical solutions, and advantages of the present invention clearer, the following will clearly and completely describe the technical solutions in the present invention in conjunction with the drawings in the present invention. Obviously, the described embodiments are some, but not all, of the embodiments of the present invention. Based on the embodiments in the present invention, all other embodiments obtained by those of ordinary skill in the art without creative efforts fall within the protection scope of the present invention.

[0020] The following describes the method for offline transmission of vehicle monitoring data based on a dynamic two-dimensional code of the present invention in conjunction with the drawings. Figure 1 is a schematic flowchart of the method for offline transmission of vehicle monitoring data based on a dynamic two-dimensional code provided by the present invention, asFigure 1 As shown in Figure 1 , the method includes the following steps 101 to 104, which are specifically described below.

[0021] Step 101: Obtain the monitoring data of the vehicle's central control terminal and obtain the initial QR code generated for the central control terminal.

[0022] First, during the vehicle's driving process, the monitoring data of the vehicle's central control terminal is obtained in real time. The monitoring data generally includes vehicle operation status data, such as vehicle driving speed, lead seal switch status, gasoline level status, etc., and also includes vehicle positioning data, such as the latitude and longitude of the driving position.

[0023] Then, obtain the initial QR code generated for the central control terminal. This initial QR code can be preset. Here, a device such as the driver's mobile terminal can be used to call the network interface to obtain the public key generated by the cloud platform for the central control terminal using the asymmetric encryption algorithm, and then generate the corresponding initial QR code according to the public key.

[0024] Step 102: Integrate and process the monitoring data to obtain encrypted data.

[0025] For the monitoring data, specifically a series of data in string format, it can be sorted according to the time series during the integration process, and then the sorted data is encrypted using the public key generated by the asymmetric encryption algorithm for the central control terminal to obtain encrypted data.

[0026] Step 103: Split the encrypted data into multiple small data blocks according to the number of bytes carried by the initial QR code, and generate dynamic QR codes based on the small data blocks.

[0027] Considering that the encrypted data may be a large amount of data, here the encrypted data is split into multiple small data blocks according to the number of bytes carried by the initial QR code. The number of bytes carried by the initial QR code is generally 2000 bytes. Then, by using Dynamsoft Barcode Reader technology, continuous small data blocks can be used to generate continuous dynamic QR codes. The generated dynamic QR codes can also be displayed on the vehicle's central control terminal for real-time reading.

[0028] Step 104: Obtain the target data block by reading the dynamic QR code, decrypt the target data block, and use the obtained decrypted data for offline data transmission.

[0029] After obtaining the target data block by reading the dynamic QR code, then use the private key corresponding to the public key generated by the asymmetric encryption algorithm to decode the target data block to obtain the decrypted data corresponding to the monitoring data. Finally, use the obtained decrypted data for offline data transmission, such as directly uploading it to the data center server corresponding to the central control terminal.

[0030] In the embodiment of the present invention, during the encryption and decryption of the monitoring data of the vehicle central control terminal, the transfer of data blocks is performed through dynamic two-dimensional codes, and finally the off-line transmission of the detection data is completed, ensuring the security and integrity of the data, being able to support the efficient transmission of a large amount of data, and solving the problem that traditional vehicles are difficult to support efficient data transmission under the condition of no network communication.

[0031] In some embodiments, after obtaining the initial two-dimensional code generated for the central control terminal, the public key is obtained by reading the initial two-dimensional code, and the public key is transmitted to the central control terminal of the vehicle. The initial two-dimensional code includes the public key generated by the asymmetric encryption algorithm.

[0032] Here, in the actual implementation process, after obtaining the initial two-dimensional code generated for the central control terminal, it can be displayed on the central control terminal. The initial two-dimensional code includes the public key generated by the asymmetric encryption algorithm. At this time, the initial two-dimensional code can be scanned by the camera of the central control terminal, so that the recognized and obtained public key is written into the central control terminal, so as to directly read the public key from the central control terminal for subsequent data encryption.

[0033] In the embodiment of the present invention, by using the initial two-dimensional code to write the public key into the central control terminal, the encryption process of the monitoring data can be controlled to be executed in the central control terminal without additional data transmission. Combining the direct scanning and extraction of two-dimensional code data ensures the convenience of data transmission.

[0034] Further, after writing the recognized public key into the central control terminal, the monitoring data can be integrated and processed to obtain encrypted data, which will be specifically described below.

[0035] First, the monitoring data is sorted according to the time series to obtain a data set in string format. The sorting order can be in reverse time order or in ascending time order. Then, the data set is encrypted by the public key to obtain encrypted data. The encryption process can be controlled to be completed in the central control terminal, and the encryption method can be the MD5 encryption algorithm, which is not limited here.

[0036] In the embodiment of the present invention, before encrypting the monitoring data, sorting is performed through the time series, so that the encrypted data has a certain time sequence, and for the real-time input monitoring data, the data transmission order can be ensured not to be disordered.

[0037] In some embodiments, by splitting the encrypted data of a large amount of data, multiple small data blocks can be obtained. To ensure the data integrity during subsequent data decoding, index information and size information are added to the split small data blocks here.

[0038] Specifically, the first two bytes at the head position of the small data block record the index number of the data block, the two bytes at the middle position of the small data block record the size value of the data block, and the records after the fourth byte at the end position of the small data block are the actual data of the data block.

[0039] By setting the small data block into multiple byte positions, where the head position is the first two byte positions of the corresponding byte sequence of the small data block, and the middle position is the two byte positions after the head position, and the byte positions after the middle position are all end positions. Here, the first and second bytes at the head position record the index number of the data block, and the third and fourth bytes at the middle position record the size value of the data block, which can be, for example, the length of the data or the memory occupied. Finally, the bytes after the fourth byte at the end position, that is, starting from the fifth byte, record the actual data of the small data block.

[0040] In the embodiments of the present invention, by adding data tags such as index numbers and size values to the segmented small data blocks, it is convenient to easily judge the integrity of the data when generating dynamic two-dimensional codes subsequently, thereby avoiding the phenomenon of data loss when transmitting data through dynamic two-dimensional codes.

[0041] In some embodiments, after generating a dynamic two-dimensional code from the small data block, the target data block is obtained by reading the dynamic two-dimensional code. During this reading process, it is necessary to detect the integrity of the data. Specifically, by reading the dynamic two-dimensional code, multiple two-dimensional code data are obtained, and the size value of the two-dimensional code data is determined. The read two-dimensional code data, like the segmented small data blocks, has an index number and a size value. Therefore, when detecting the data integrity, the size value of each two-dimensional code data is compared with the size value of each small data block. If the comparison results are the same, the two-dimensional code data is used as the target data block.

[0042] Here, if the comparison results are the same, it is judged that the size values are the same, indicating that there is no data loss and the data is ensured to be complete. If the comparison results are different, it is judged that the size values are different, indicating that there is data loss and the data is incomplete. Then, the corresponding two-dimensional code data is discarded, and the reading of the two-dimensional code data from the dynamic two-dimensional code is stopped, and the encryption of the monitored data is restarted.

[0043] In the embodiments of the present invention, by comparing the size value of the segmented small data block with the size value of the two-dimensional code data, the integrity of the data can be accurately judged, thereby avoiding the phenomenon of data loss when transmitting data through dynamic two-dimensional codes.

[0044] In some embodiments, when it is determined that the two-dimensional code data read from the dynamic two-dimensional code is complete, the decryption of the target data block can be performed to achieve offline data transmission. The decryption process of the target data block is introduced below.

[0045] First, in the target data block, eliminate the index number of the data block recorded in the first two bytes at the head position and the size value of the data block recorded in the two bytes in the middle position. For each target data block, eliminate the four bytes of the index number and the size value at the first and middle positions, and only retain the actual data of the data block starting from the 5th byte. These actual data are the data that need to be transmitted offline.

[0046] After the above elimination process, then splice the actual data recorded in each target data block after elimination to obtain spliced data. Next, obtain the private key corresponding to the public key for decryption. The public key is generated by an asymmetric encryption algorithm when generating the initial QR code. Therefore, the private key corresponding to the public key can also be generated using the asymmetric encryption algorithm. Finally, use the private key to decrypt the spliced data to obtain decrypted data. The decrypted data can be directly transmitted offline, for example, directly uploaded to the data center server corresponding to the vehicle central control terminal.

[0047] Next, the vehicle monitoring data offline transmission device based on a dynamic QR code provided by the present invention will be described. The vehicle monitoring data offline transmission device based on a dynamic QR code described below can be correspondingly referred to the vehicle monitoring data offline transmission method based on a dynamic QR code described above.

[0048] As Figure 2 shown, the vehicle monitoring data offline transmission device based on a dynamic QR code specifically includes: an acquisition module 201 for acquiring the monitoring data of the vehicle central control terminal and acquiring the initial QR code generated for the central control terminal; an encryption module 202 for integrally processing the monitoring data to obtain encrypted data; a splitting module 203 for splitting the encrypted data into multiple small data blocks according to the number of bytes carried by the initial QR code and generating dynamic QR codes based on the small data blocks; and a transmission module 204 for obtaining target data blocks by reading the dynamic QR codes, decrypting the target data blocks, and performing offline data transmission using the obtained decrypted data.

[0049] It should be noted that the beneficial effects of the vehicle monitoring data offline transmission device based on a dynamic QR code here correspond to those of the vehicle monitoring data offline transmission method based on a dynamic QR code above. Therefore, the beneficial effects of the vehicle monitoring data offline transmission device based on a dynamic QR code will not be elaborated here.

[0050] Figure 3 Illustrates a schematic physical structure diagram of an electronic device, as Figure 3As shown in the figure, the electronic device may include: a processor 310, a communications interface 320, a memory 330, and a communication bus 340. Among them, the processor 310, the communications interface 320, and the memory 330 complete communication with each other through the communication bus 340. The processor 310 may call the logical instructions in the memory 330 to execute the method for offline transmission of vehicle monitoring data based on dynamic two-dimensional codes. The method includes: obtaining the monitoring data of the vehicle central control terminal, and obtaining the initial two-dimensional code generated for the central control terminal; performing integration processing on the monitoring data to obtain encrypted data; splitting the encrypted data into multiple small data blocks according to the number of bytes carried by the initial two-dimensional code, and generating dynamic two-dimensional codes based on the small data blocks; obtaining the target data block by reading the dynamic two-dimensional code, decrypting the target data block, and using the obtained decrypted data for offline data transmission.

[0051] In addition, when the logical instructions in the above-mentioned memory 330 are implemented in the form of software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on such an understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, or a part of this technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of the present invention. The foregoing storage medium includes: various media such as USB flash drives, mobile hard disks, read-only memories (ROM, Read-Only Memory), random access memories (RAM, Random Access Memory), magnetic disks, or optical discs that can store program codes.

[0052] On the other hand, the present invention also provides a computer program product. The computer program product includes a computer program. The computer program can be stored on a non-transitory computer-readable storage medium. When the computer program is executed by a processor, the computer can execute the method for offline transmission of vehicle monitoring data based on dynamic two-dimensional codes provided by the above-mentioned various methods. The method includes: obtaining the monitoring data of the vehicle central control terminal, and obtaining the initial two-dimensional code generated for the central control terminal; performing integration processing on the monitoring data to obtain encrypted data; splitting the encrypted data into multiple small data blocks according to the number of bytes carried by the initial two-dimensional code, and generating dynamic two-dimensional codes based on the small data blocks; obtaining the target data block by reading the dynamic two-dimensional code, decrypting the target data block, and using the obtained decrypted data for offline data transmission.

[0053] In another aspect, the present invention also provides a non-transitory computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, it implements the method for offline transmission of vehicle monitoring data based on a dynamic two-dimensional code provided by the above-mentioned various methods. The method includes: obtaining the monitoring data of the vehicle central control terminal, and obtaining the initial two-dimensional code generated for the central control terminal; performing integration processing on the monitoring data to obtain encrypted data; splitting the encrypted data into multiple small data blocks according to the number of bytes carried by the initial two-dimensional code, and generating a dynamic two-dimensional code based on the small data blocks; obtaining a target data block by reading the dynamic two-dimensional code, decrypting the target data block, and performing offline data transmission using the obtained decrypted data.

[0054] The device embodiments described above are merely illustrative. The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed to multiple network units. Some or all of the modules can be selected according to actual needs to achieve the purpose of the solution of this embodiment. Those of ordinary skill in the art can understand and implement it without creative efforts.

[0055] Through the description of the above embodiments, those skilled in the art can clearly understand that each embodiment can be implemented by means of software plus a necessary general hardware platform, and of course, it can also be implemented by hardware. Based on this understanding, the above technical solution, in essence, or the part that contributes to the prior art, can be embodied in the form of a software product. The computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, magnetic disk, optical disk, etc., and includes several instructions for causing a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in each embodiment or some parts of the embodiments.

[0056] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit them; although the present invention has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that they can still modify the technical solutions described in the foregoing embodiments, or perform equivalent replacements for some of the technical features; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims

1. A method for offline transmission of vehicle monitoring data based on dynamic two-dimensional codes, characterized in that, include: Obtain monitoring data from the vehicle's central control terminal and obtain the initial QR code generated for the central control terminal; Integrating and processing the monitoring data to obtain encrypted data; Dividing the encrypted data into a plurality of small data blocks according to the number of bytes carried by the initial two-dimensional code, and generating a dynamic two-dimensional code based on the small data blocks; The target data block is obtained by reading the dynamic two-dimensional code, the target data block is decrypted, and the decrypted data is used to perform data offline transmission.

2. The method for offline transmission of vehicle monitoring data based on dynamic two-dimensional codes according to claim 1, wherein The initial QR code includes a public key generated by an asymmetric encryption algorithm. After obtaining the initial QR code generated for the central control terminal, the method further includes: The public key is obtained by reading the initial QR code and transmitted to the central control terminal of the vehicle.

3. The vehicle monitoring data offline transmission method based on dynamic two-dimensional codes according to claim 2, characterized in that The step of integrating and processing the monitoring data to obtain encrypted data includes: Sorting the monitoring data according to time series to obtain a data set in a string format; The data set is encrypted using the public key to obtain encrypted data.

4. The method for offline transmission of vehicle monitoring data based on dynamic two-dimensional codes according to claim 1, wherein The two bytes at the head of the small data block record the index number of the data block, the two bytes in the middle of the small data block record the size value of the data block, and the bytes after the fourth byte at the end of the small data block record the actual data of the data block.

5. The vehicle monitoring data offline transmission method based on dynamic two-dimensional code according to claim 4, characterized in that The step of obtaining the target data block by reading the dynamic two-dimensional code includes: By reading the dynamic two-dimensional code, a plurality of two-dimensional code data are obtained, and the size value of the two-dimensional code data is determined; Compare the size value of each QR code data with the size value of each small data block; If the comparison results are the same, the two-dimensional code data is used as the target data block.

6. The method for offline transmission of vehicle monitoring data based on dynamic two-dimensional codes according to claim 1, wherein, The decryption process of the target data block includes: In the target data block, the index number of the data block recorded by two bytes at the header position and the size value of the data block recorded by two bytes at the middle position are removed; Splicing the actual data recorded in each target data block after elimination to obtain spliced ​​data; Obtaining a private key corresponding to a public key, wherein the public key is generated by an asymmetric encryption algorithm when generating the initial QR code; The spliced ​​data is decrypted using the private key to obtain decrypted data.

7. An off-line transmission device for vehicle monitoring data based on a dynamic two-dimensional code, characterized in that, include: An acquisition module is used to acquire monitoring data of the vehicle central control terminal and to acquire an initial QR code generated for the central control terminal; An encryption module, used for integrating and processing the monitoring data to obtain encrypted data; A segmentation module, used for segmenting the encrypted data into a plurality of small data blocks according to the number of bytes carried by the initial two-dimensional code, and generating a dynamic two-dimensional code based on the small data blocks; The transmission module is used to obtain the target data block by reading the dynamic two-dimensional code, decrypt the target data block, and use the obtained decrypted data to perform data offline transmission.

8. An electronic device, comprising a memory, a processor, and a computer program stored on the memory and running on the processor, characterized in that, When the processor executes the computer program, the method for offline transmission of vehicle monitoring data based on dynamic two-dimensional code as described in any one of claims 1 to 6 is implemented.

9. A non-transitory computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by a processor, the method for offline transmission of vehicle monitoring data based on a dynamic two-dimensional code as described in any one of claims 1 to 6 is implemented.

10. A computer program product, comprising a computer program, characterized in that, When the computer program is executed by a processor, it implements the method for offline transmission of vehicle monitoring data based on a dynamic two-dimensional code according to any one of claims 1 to 6.