Tire pressure detection data transmission method and device
By using data frame format encoding method and secure encryption technology in tire pressure detection equipment, the problem of inconsistent data transmission formats is solved, compatibility between different products is achieved and development costs is reduced.
Patent Information
- Application Number
- CN202111286893.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-11-02
- Publication Date
- 2025-08-29
- Estimated Expiration
- 2041-11-02
AI Technical Summary
The data transmission format of existing tire pressure detection equipment is not uniform, resulting in poor product compatibility and increasing development difficulty and cost.
The data frame format encoding method is adopted, including running chips, matching pattern chips, effective data and verification codes. Through Manchester encoding, differential Manchester encoding or AES encryption, a safe and reliable communication frame format is defined to realize communication between different products.
It reduces the overall development cycle and development cost of tire pressure detection equipment and improves compatibility between products.
Smart Images

Figure CN113987544B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the fields of data communication and chip circuit design, and in particular to a method and device for transmitting tire pressure detection data. Background Art
[0002] Tire pressure monitoring sensors are mostly built-in, and their data is transmitted wirelessly to the receiver. Currently, the data transmission format is not unified, which makes development difficult, product compatibility is poor, and development costs increase, which is not conducive to the rapid deployment of tire pressure monitoring systems. Summary of the Invention
[0003] In view of this, the purpose of the present invention is to provide a method and device for transmitting tire pressure detection data, so as to realize communication between different products, facilitate the transplantation of software and hardware in tire pressure detection equipment, and thus reduce the overall development cycle and development cost of tire pressure detection equipment.
[0004] In a first aspect, an embodiment of the present invention provides a method for transmitting tire pressure detection data, which is applied to a tire pressure detection device. The method includes:
[0005] Obtain tire pressure detection data;
[0006] Encoding the tire pressure detection data in a data frame format, wherein the data frame format includes an operating code chip, a matching mode code chip, valid data, and a check code;
[0007] The running code chip, the matching mode code chip, the valid data and the check code are sent to the receiver in sequence.
[0008] Furthermore, the running chips include 6 to 128 chips, and the method further includes:
[0009] Calculating the tire pressure detection data according to a set baud rate to obtain the operating code chip;
[0010] The running code chips are sent to the receiver, so that the receiver receives and identifies the running code chips to obtain useful signals.
[0011] Furthermore, the matching pattern chips include 1 to 32 chips, and the method further includes:
[0012] Sending the matching pattern chip to the receiver in a high-order first-out manner;
[0013] Among them, different tire pressure detection devices correspond to different matching pattern code chips.
[0014] Furthermore, the method further comprises:
[0015] Performing Manchester encoding, differential Manchester encoding or inverse differential Manchester encoding on the valid data to obtain encoded valid data;
[0016] The encoded valid data is sent to the receiver.
[0017] Furthermore, the method further comprises:
[0018] Performing AES encryption on the encoded valid data to obtain encrypted valid data;
[0019] The encrypted valid data is sent to the receiver.
[0020] Further according to the tire pressure detection data transmission method, the check code is set to 8 bits, and the check code is obtained by the following method:
[0021] The valid data is subjected to a cyclic redundancy check to generate the check code.
[0022] Furthermore, the method further comprises:
[0023] so that the receiver verifies the received verification code;
[0024] If the verification passes, the valid data is decoded.
[0025] In a second aspect, an embodiment of the present invention provides a device for transmitting tire pressure detection data, which is applied to a tire pressure detection device. The device includes:
[0026] Receiving module, used to obtain tire pressure detection data;
[0027] An encoding module, configured to encode the tire pressure detection data in a data frame format, wherein the data frame format includes a running code chip, a matching mode code chip, valid data, and a check code;
[0028] The sending module is used to send the running code chip, the matching mode code chip, the valid data and the check code to the receiver in sequence.
[0029] In a third aspect, an embodiment of the present invention provides an electronic device, including a memory and a processor, wherein the memory stores a computer program that can be run on the processor, and the processor implements the above-mentioned method when executing the computer program.
[0030] In a fourth aspect, an embodiment of the present invention provides a computer-readable medium having a non-volatile program code executable by a processor, wherein the program code enables the processor to execute the method as described above.
[0031] An embodiment of the present invention provides a method and device for transmitting tire pressure detection data, which is applied to tire pressure detection equipment. The method includes: obtaining tire pressure detection data; encoding the tire pressure detection data according to a data frame format, where the data frame format includes a running code piece, a matching mode code piece, valid data and a check code; and sending the running code piece, the matching mode code piece, valid data and the check code to a receiver in sequence, thereby defining a safe and reliable communication frame format, realizing communication between different products, and facilitating the transplantation of software and hardware in the tire pressure detection equipment, thereby reducing the overall development cycle and development cost of the tire pressure detection equipment.
[0032] Other features and advantages of the present invention will be described in the following description, and in part will become apparent from the description, or understood by practicing the present invention. The purposes and other advantages of the present invention are realized and obtained by the structures particularly pointed out in the description, claims and drawings.
[0033] In order to make the above-mentioned objects, features and advantages of the present invention more obvious and easy to understand, preferred embodiments are given below and described in detail with reference to the accompanying drawings. BRIEF DESCRIPTION OF THE DRAWINGS
[0034] In order to more clearly illustrate the specific embodiments of the present invention or the technical solutions in the prior art, the following briefly introduces the drawings required for use in the specific embodiments or the description of the prior art. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.
[0035] Figure 1 A flow chart of a method for transmitting tire pressure detection data provided in the first embodiment of the present invention;
[0036] Figure 2 A diagram showing the data frame format for tire pressure detection data transmission provided in the first embodiment of the present invention;
[0037] Figure 3 This is a waveform diagram of the RUNNING signal of tire pressure detection data provided in Example 1 of the present invention;
[0038] Figure 4 A schematic diagram of tire pressure detection data signal encoding provided by the first embodiment of the present invention;
[0039] Figure 5 Schematic diagram of the implementation principle of CRC-8 provided in Example 1 of the present invention;
[0040] Figure 6 A diagram showing the storage status of the tire pressure detection device provided in the second embodiment of the present invention;
[0041] Figure 7This is another storage status diagram of the tire pressure detection device provided in the second embodiment of the present invention;
[0042] Figure 8 A schematic diagram of a complete tire pressure monitoring data frame format provided in the third embodiment of the present invention;
[0043] Figure 9 A diagram of a transmission device for tire pressure detection data provided in a fourth embodiment of the present invention.
[0044] icon:
[0045] 1-Receiving module; 2-Encoding module; 3-Sending module. DETAILED DESCRIPTION
[0046] To make the objectives, technical solutions, and advantages of the embodiments of the present invention more clear, the technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the embodiments described are only part of the embodiments of the present invention, not all of them. All other embodiments obtained by ordinary technicians in this field based on the embodiments of the present invention without making any creative efforts shall fall within the scope of protection of the present invention.
[0047] To facilitate understanding of this embodiment, the embodiment of the present invention is described in detail below.
[0048] Example 1:
[0049] Due to the good characteristics of Manchester coding in signal transmission, this embodiment is based on standard Manchester coding.
[0050] Figure 1 This is a flow chart of the tire pressure detection data transmission method provided in Example 1 of the present invention.
[0051] Reference Figure 1 , a tire pressure detection data transmission method, applied to a tire pressure detection device, comprising:
[0052] Step S101, obtaining tire pressure detection data;
[0053] Step S102: encoding the tire pressure detection data according to a data frame format, where the data frame format includes an operating code chip, a matching mode code chip, valid data, and a check code;
[0054] Step S103, sending the running code chip, matching mode code chip, valid data and check code to the receiver in sequence;
[0055] Further, refer to Figure 2 The data frame format consists of four parts: RUNING (running code), SYNC (matching mode code), DATA (valid data) and CRC (check code).
[0056] Further, refer to Figure 3 , the running chips include 6 to 128 chips, and the method further includes:
[0057] According to the set baud rate, the tire pressure detection data is calculated to obtain the running code chip;
[0058] The running chips are sent to the receiver, and the receiver receives and identifies the running chips to obtain useful signals;
[0059] Here, RUNNING consists of 6 to 128 chips, with a minimum of 6 chips and a maximum of 128 chips. The chips are composed of a series of 0s and 1s alternating, such as 01010101, or 10101010; 1 bits (bit) period is equal to 2 chips (chip) period; the baud rate is not fixed and can be matched according to programming; among them, the communication signal comes from the output of the modem chip, which usually has noise or other signals that do not match the baud rate. The useful signal is a signal with a specific bit rate agreed upon by the sender and receiver (tire pressure monitoring equipment and receiver).
[0060] Furthermore, the matching pattern chips include 1 to 32 chips, and the method further includes:
[0061] Send the matching pattern chips to the receiver in a high-order first-out manner;
[0062] Among them, the matching mode code chip is composed of arbitrary code chips, and different tire pressure detection devices correspond to different matching code chips;
[0063] Here, SYNC consists of 1 to 32 arbitrary chips and is used for frame synchronization. When the receiver detects a possible signal through RUNNING at the configured baud rate, it immediately starts matching SYNC and synchronizing the data.
[0064] Further, refer to Figure 4 , the method further comprises:
[0065] Performing Manchester encoding, differential Manchester encoding or reverse differential Manchester encoding on the valid data to obtain encoded valid data;
[0066] Send the encoded valid data to the receiver;
[0067] Furthermore, it also includes:
[0068] Perform AES encryption on the encoded valid data to obtain the encrypted valid data;
[0069] Send the encrypted valid data to the receiver.
[0070] Here, in order to increase communication security, the encoded valid data is encrypted using AES (Advanced Encryption Standard) to obtain encrypted valid data;
[0071] If the verification is passed, the encrypted valid data will be sent to the receiver.
[0072] Further, refer to Figure 5 , the check code is set to 8 bits, and the check code is obtained in the following way:
[0073] Generate a check code from valid data through cyclic redundancy check;
[0074] Here, this data frame uses cyclic redundancy check CRC-8 (Cyclic Redundancy Codes-8) to implement data transmission error detection function, and its generating polynomial G(x)=X 8 +X 4 +X 2 +X+1; the check code is fixed at 8 bits. If DATA is not an integer multiple of 8 bits, 0 is added for calculation.
[0075] Furthermore, the method further comprises:
[0076] So that the receiver can verify the received check code;
[0077] If the check passes, the valid data is decoded;
[0078] Here, the receiver performs verification based on the rules followed between the valid information and the check code (that is, the transmission is the same rule that generates the check code); if the verification passes, the transmission is correct and the valid data is decoded; otherwise, the transmission is wrong.
[0079] An embodiment of the present invention provides a method for transmitting tire pressure detection data, which is applied to tire pressure detection equipment. The method includes: obtaining tire pressure detection data; encoding the tire pressure detection data according to a data frame format, where the data frame format includes a running code piece, a matching mode code piece, valid data and a check code; and sending the running code piece, the matching mode code piece, the valid data and the check code to a receiver in sequence, thereby defining a safe and reliable communication frame format, realizing communication between different products, and facilitating the transplantation of software and hardware in the tire pressure detection equipment, thereby reducing the overall development cycle and development cost of the tire pressure detection equipment.
[0080] Example 2:
[0081] When the tire pressure detection device obtains tire pressure detection data, the tire pressure detection data is sent in a high-bit first-out manner. The data when received is placed in the high bit. When stored, the first 8 bits received are placed first, and the data is pieced together into 32, 16 or 8 bits. Insufficient bits are padded with 0 for storage, and the storage address is stored from low to high.
[0082] Figure 6 A diagram showing the storage status of the tire pressure detection device provided in the second embodiment of the present invention;
[0083] Reference Figure 6 , sending 8 hexadecimal bytes, a total of 64 bits, and storing them in 32-bit wide SRAM (Static Random-Access Memory). In the order of reception, they are combined into two 32-bit wide data 0x12345678 and 0x9ABCDEF0. Then, 0x12345678 is stored at address 0x00, and 0x9ABCDEF0 is stored at address 0x04.
[0084] Figure 7 This is another storage status diagram of the tire pressure detection device provided in the second embodiment of the present invention;
[0085] Reference Figure 7 , sending 5 hexadecimal nibbles, a total of 44 bits, and storing them in a 32-bit wide SRAM. In the order of reception, two 32-bit wide data 0x12345678 and 0x9AB00000 are formed. If the missing bits are padded with 0, 0x12345678 is stored at address 0x00, and 0x9AB00000 is stored at address 0x04.
[0086] Example 3:
[0087] Figure 8 A schematic diagram of a complete tire pressure monitoring data frame format provided in the third embodiment of the present invention;
[0088] Reference Figure 8 , a complete tire pressure detection data frame format includes:
[0089] When the tire pressure detection data is sent using the data frame format of 0101100100100 bits, a total of 13 bits;
[0090] First, you can calculate RUNNING based on the defined baud rate. You can first send 101010101010 chips, a total of 12 chips;
[0091] Secondly, the corresponding SYNC is determined according to the tire pressure detection device, and 11110110 chips are sent, for a total of 8 chips.
[0092] Finally, the DATA 0101100100100 bits is sent. After being encrypted according to AES, one of three encodings can be used, such as Manchester encoding. After Manchester encoding, 01100110100101100101100101 chips are generated, for a total of 26 chips.
[0093] Here, to increase communication security, as an option, data can be transmitted after being encrypted using AES;
[0094] As an option, a check code can be generated by a cyclic redundancy check to implement error detection in data transmission.
[0095] Example 4:
[0096] Figure 9 A diagram of a transmission device for tire pressure detection data provided in a fourth embodiment of the present invention.
[0097] Reference Figure 9 , the tire pressure detection data transmission device includes: a receiving module 1, an encoding module 2, and a sending module 3;
[0098] Receiving module 1, used to obtain tire pressure detection data;
[0099] Encoding module 2, used to encode the tire pressure detection data according to the data frame format, the data frame format includes an operating code chip, a matching mode code chip, valid data and a check value;
[0100] The sending module 3 is used to send the running code chip, the matching mode code chip, the valid data and the check value to the receiver in sequence.
[0101] An embodiment of the present invention provides a transmission device for tire pressure detection data, which is applied to tire pressure detection equipment. The method includes: obtaining tire pressure detection data; encoding the tire pressure detection data according to a data frame format, where the data frame format includes a running code piece, a matching mode code piece, valid data and a check code; sending the running code piece, the matching mode code piece, the valid data and the check code to a receiver in sequence, thereby defining a safe and reliable communication frame format, realizing communication between different products, and facilitating the transplantation of software and hardware in the tire pressure detection equipment, thereby reducing the overall development cycle and development cost of the tire pressure detection equipment.
[0102] An embodiment of the present invention also provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, the steps of the tire pressure detection data transmission method provided in the above embodiment are implemented.
[0103] An embodiment of the present invention further provides a computer-readable medium having a non-volatile program code executable by a processor. The computer-readable medium stores a computer program. When the computer program is executed by the processor, the steps of the tire pressure detection data transmission method of the above embodiment are executed.
[0104] The computer program product provided by the embodiment of the present invention includes a computer-readable storage medium storing program code. The instructions included in the program code can be used to execute the method in the previous method embodiment. The specific implementation can be found in the method embodiment and will not be repeated here.
[0105] Those skilled in the art will clearly understand that, for the convenience and brevity of description, the specific working processes of the above-described systems and devices can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.
[0106] In addition, in the description of the embodiments of the present invention, unless otherwise expressly specified or limited, the terms "mounted," "connected," and "connected" should be understood in a broad sense. For example, they may refer to fixed connections, detachable connections, or integral connections; they may refer to mechanical connections or electrical connections; they may refer to direct connections or indirect connections through an intermediate medium; and they may refer to internal communication between two components. Those skilled in the art will understand the specific meanings of the above terms in the present invention based on the specific circumstances.
[0107] If the function is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, or the part that contributes to the prior art, or the part of the technical solution, can be embodied in the form of a software product. The computer software product is stored in a storage medium and includes several instructions for enabling a computer device (which can be a personal computer, server, or network device, etc.) to execute all or part of the steps of the various embodiments of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk, and other media that can store program code.
[0108] In the description of the present invention, it should be noted that the terms "center," "upper," "lower," "left," "right," "vertical," "horizontal," "inner," and "outer," etc., indicating orientations or positional relationships, are based on the orientations or positional relationships shown in the accompanying drawings and are intended solely to facilitate and simplify the description of the present invention. They are not intended to indicate or imply that the devices or components referred to must have, be constructed, or operate in a specific orientation, and therefore should not be construed as limitations on the present invention. Furthermore, the terms "first," "second," and "third" are used for descriptive purposes only and should not be construed as indicating or implying relative importance.
[0109] Finally, it should be noted that the above embodiments are only specific implementation methods of the present invention, which are used to illustrate the technical solutions of the present invention, rather than to limit them. The scope of protection of the present invention is not limited thereto. Although the present invention has been described in detail with reference to the above embodiments, those skilled in the art should understand that any person skilled in the art can modify or easily conceive of changes to the technical solutions described in the above embodiments within the technical scope disclosed by the present invention, or replace some of the technical features therein with equivalents. Such modifications, changes or replacements do not deviate from the spirit and scope of the technical solutions of the embodiments of the present invention, and should be included in the scope of protection of the present invention. Therefore, the scope of protection of the present invention should be based on the scope of protection of the claims.
Claims
1. A method for transmitting tire pressure detection data, applied to a tire pressure detection device, characterized in that: The method comprises: Obtain tire pressure detection data; Encoding the tire pressure detection data in a data frame format, wherein the data frame format includes an operating code chip, a matching mode code chip, valid data, and a check code; Sending the running code chip, the matching mode code chip, the valid data and the check code to the receiver in sequence; The matching pattern chips include 1 to 32 chips, and the method further includes: Sending the matching pattern chip to the receiver in a high-order first-out manner; Wherein, different tire pressure detection devices correspond to different matching pattern chips; The method further comprises: Performing Manchester encoding, differential Manchester encoding or inverse differential Manchester encoding on the valid data to obtain encoded valid data; Sending the encoded valid data to the receiver; The method further comprises: Performing AES encryption on the encoded valid data to obtain encrypted valid data; The encrypted valid data is sent to the receiver.
2. The tire pressure detection data transmission method according to claim 1, characterized in that: The running chips include 6 to 128 chips, and the method further includes: Calculating the tire pressure detection data according to a set baud rate to obtain the operating code chip; The running code chips are sent to the receiver, so that the receiver can identify the running code chips and obtain useful signals.
3. The tire pressure detection data transmission method according to claim 1, characterized in that: The check code is set to 8 bits and is obtained in the following way: The valid data is subjected to a cyclic redundancy check to generate the check code.
4. The tire pressure detection data transmission method according to claim 3, characterized in that: The method further comprises: so that the receiver verifies the received verification code; If the verification passes, the valid data is decoded.
5. A tire pressure detection data transmission device, applied to tire pressure detection equipment, characterized in that: The device comprises: Receiving module, used to obtain tire pressure detection data; An encoding module, configured to encode the tire pressure detection data in a data frame format, wherein the data frame format includes a running code chip, a matching mode code chip, valid data, and a check code; A sending module, configured to send the running code chip, the matching mode code chip, the valid data and the check code to a receiver in sequence; The matching pattern chips include 1 to 32 chips, and the sending module is further configured to: Sending the matching pattern chip to the receiver in a high-order first-out manner; Wherein, different tire pressure detection devices correspond to different matching pattern chips; The sending module is further used for: Performing Manchester encoding, differential Manchester encoding or inverse differential Manchester encoding on the valid data to obtain encoded valid data; Sending the encoded valid data to the receiver; The sending module is further used for: Performing AES encryption on the encoded valid data to obtain encrypted valid data; The encrypted valid data is sent to the receiver.
6. An electronic device comprising a memory and a processor, wherein the memory stores a computer program that can be run on the processor, wherein: When the processor executes the computer program, the method according to any one of claims 1 to 4 is implemented.
7. A computer-readable medium having a non-volatile program code executable by a processor, characterized in that The program code causes the processor to execute the method according to any one of claims 1 to 4.
Citation Information
Patent Citations
Monitoring system of the inner state of tires and a method for operating the system
US20070144639A1