Interaction method of tire pressure information of vehicle, tire pressure monitoring system and vehicle

By using the comparison mechanism of working random numbers and identification codes in the tire pressure monitoring system, and using the HMAC_SHA1 and MD5 algorithms, the problem of tire pressure information being tampered with in the tire pressure monitoring system is solved, ensuring the safety of car driving.

CN119099256APending Publication Date: 2024-12-10BEIJING BANGCLE TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202310673128.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-06-07
Publication Date
2024-12-10

AI Technical Summary

Technical Problem

In the existing tire pressure monitoring system, the CRC16 verification code cannot effectively prevent tire pressure information from being tampered with, resulting in vehicle driving safety hazards.

Method used

By generating and comparing working random numbers and identification codes between the transmitter and the receiver, the HMAC_SHA1 and MD5 algorithms are used to ensure the integrity and authenticity of the communication data and prevent tire pressure information from being tampered with.

Benefits of technology

Effectively prevent tire pressure information from being tampered with, ensure the safety of car driving, and ensure the authenticity and integrity of tire pressure data.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119099256A_ABST
    Figure CN119099256A_ABST
Patent Text Reader

Abstract

The invention discloses a vehicle tire pressure information interaction method, a tire pressure monitoring system and a vehicle, and relates to the field of communication. The method comprises the steps that a transmitter on a vehicle obtains tire pressure information of wheels, and a working random number is generated based on the tire pressure information; generating a first working identification code based on the working random number; sending communication data to a receiver on the vehicle, wherein the communication data comprises an equipment identifier of a transmitter, the working random number and the first working identification code; the receiver receives the communication data and obtains a working authentication key of the receiver according to the equipment identifier of the transmitter; generating a second work identification code according to the work random number and the work authentication key; under the condition that the second working identification code is the same as the first working identification code, determining that the communication data is valid data which is not tampered; and discarding the communication data under the condition that the second working identification code is different from the first working identification code.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application belongs to the field of data interaction, and specifically relates to a method for interacting with tire pressure information of a vehicle, a tire pressure monitoring system and a vehicle. Background Art

[0002] Tire pressure (referred to as tire pressure) is an important indicator that must be paid attention to during vehicle operation. Too low or too high tire pressure will seriously affect the service life of the tire and will also cause greater safety hazards. The tire pressure monitoring system (TPMS, Tire Pressure Monitor System) automatically monitors the tire pressure in real time during vehicle driving and alarms for tire leakage and low pressure.

[0003] In the related art, during the tire pressure monitoring process, a transmitter installed on the tire of a car usually monitors the current tire pressure information, and then sends the monitored information to a receiver through wireless radio frequency communication, which processes and calculates the tire pressure information of the car and further provides an alarm function. During this process, the information sent from the transmitter to the receiver will contain a CRC16 check code to ensure the integrity of the data transmission between the transmitter and the receiver.

[0004] However, the CRC16 checksum that the relevant technology relies on only guarantees the integrity of data transmission between the transmitter and the receiver. An attacker can forge the transmitter to send any tire pressure signal by replacing the CRC16 checksum, causing the real tire pressure information to be tampered with. This may cause the vehicle to be unable to perform the original driving task, causing road safety issues. Summary of the invention

[0005] The embodiments of the present application provide a method for interacting with tire pressure information of a vehicle, a tire pressure monitoring system and a vehicle, which can solve the problem of tampering with the tire pressure information of the vehicle.

[0006] In a first aspect, an embodiment of the present application provides a method for interacting with tire pressure information of a vehicle, the method comprising:

[0007] The transmitter on the vehicle acquires tire pressure information of the wheel, wherein the tire pressure information includes pressure and target information, and the target information includes at least one of voltage and temperature;

[0008] The transmitter generates a working random number based on the tire pressure information;

[0009] The transmitter generates a first working authentication code based on the working random number;

[0010] The transmitter sends communication data to the receiver on the vehicle, the communication data including the device identification of the transmitter, the working random number and the first working identification code;

[0011] The receiver receives the communication data and obtains a working authentication key of the receiver according to the device identification of the transmitter;

[0012] The receiver generates a second working authentication code according to the working random number and the working authentication key;

[0013] When the second working identification code is the same as the first working identification code, the receiver confirms that the communication data is valid data that has not been tampered with;

[0014] In case the second working identification code is different from the first working identification code, the receiver discards the communication data.

[0015] In a second aspect, an embodiment of the present application provides a tire pressure monitoring system for a vehicle, the system comprising: a transmitter on the vehicle and a receiver on the vehicle;

[0016] The transmitter is used for the transmitter on the vehicle to obtain tire pressure information of the wheel, the tire pressure information includes pressure and target information, the target information includes at least one of voltage and temperature; generate a working random number based on the tire pressure information; generate a first working identification code based on the working random number; send communication data to the receiver on the vehicle, the communication data includes the device identification of the transmitter, the working random number and the first working identification code;

[0017] The receiver is used to receive the communication data and obtain the working authentication key of the receiver according to the device identification of the transmitter; generate a second working identification code according to the working random number and the working authentication key; when the second working identification code is the same as the first working identification code, the receiver confirms that the communication data is valid data that has not been tampered with; when the second working identification code is different from the first working identification code, the receiver discards the communication data.

[0018] In a third aspect, an embodiment of the present application provides a vehicle, which includes the system described in the second aspect.

[0019] At least one of the above technical solutions provided in the embodiments of the present application can achieve the following technical effects:

[0020] When exchanging automobile tire pressure information, the transmitter generates a working random number according to the tire pressure information, and generates a first working identification code based on the working random number; the receiver receives communication data, the communication data includes the device identification of the transmitter, the working random number and the first working identification code; and obtains a working authentication key according to the received communication data, generates a second working identification code, and judges the validity of the tire pressure information by comparing whether the first working identification code and the second working identification code are the same, thereby preventing the tire pressure information from being tampered with and ensuring the driving safety of the automobile. BRIEF DESCRIPTION OF THE DRAWINGS

[0021] The drawings described herein are used to provide a further understanding of the present invention and constitute a part of the present invention. The exemplary embodiments of the present invention and their descriptions are used to explain the present invention and do not constitute an improper limitation of the present invention. In the drawings:

[0022] Figure 1 A schematic diagram of a flow chart of a tire pressure information interaction method provided by an embodiment of the present invention;

[0023] Figure 2 A schematic diagram of a process for obtaining a working authentication key of the receiver provided by an embodiment of the present invention;

[0024] Figure 3 A schematic diagram of a flow chart of pairing authentication between a transmitter and a receiver provided by an embodiment of the present invention;

[0025] Figure 4 A schematic diagram of the module composition of a tire pressure information interaction system provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0026] The following will be combined with the drawings in the embodiments of the present application to clearly describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.

[0027] The terms "first", "second", etc. in the specification and claims of the present application are used to distinguish similar objects, and are not used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable under appropriate circumstances, so that the embodiments of the present application can be implemented in an order other than those illustrated or described here, and the objects distinguished by "first", "second", etc. are generally of one type, and the number of objects is not limited. For example, the first object can be one or more. In addition, "and / or" in the specification and claims represents at least one of the connected objects, and the character " / " generally indicates that the objects associated with each other are in an "or" relationship.

[0028] Currently, TPMS information transmission mainly uses CRC16 for error checking, but it cannot guarantee that the data is not tampered with. The embodiment of the present application provides a more reasonable tire pressure information interaction method, which can guarantee that the tire pressure information is not tampered with.

[0029] In the embodiment of the present application, the TPMS may include a receiver and four transmitters. The four transmitters are respectively installed on the four wheels, and regularly detect information such as wheel pressure, temperature, battery voltage, etc., and send them to the receiver. After receiving the data, the receiver calculates the current tire pressure.

[0030] This technical solution is divided into two parts. First, during the installation and configuration phase of the TPMS system, constraints are imposed on the interaction process between the transmitter and the receiver during the use phase (working phase); second, constraints are imposed on the protocol structure during the TPMS working process.

[0031] Installation and configuration phase: mainly realizes the pairing process of the receiver and the transmitter, realizes the authentication of the receiver and the transmitter, initializes the key and other operations, and guides the receiver into the working mode.

[0032] The specific process of an example during the installation configuration phase is as follows:

[0033] Turn on the TPMS transmitter, the transmitter enters the installation mode, and starts broadcasting authentication information, which mainly includes the device ID (32-bit device unique ID)

[0034] Turn on the TPMS receiver and search for transmitter broadcast data, and display the found transmitter ID number on the screen.

[0035] The user selects the transmitter to be connected according to the device ID and enters the transmission key K of the current transmitter (the key K is an ASCII code string with a length of not less than 8 bits).

[0036] The receiver calculates the MD5 digest (length 128 bits) of the key K and stores the digest result in the receiver as KEY_AUTH_RECV.

[0037] The receiver generates a 32-bit random number RAND1 and sends RAND1 and the key K to the transmitter.

[0038] After receiving the key K and the random number RAND1, the transmitter first calculates the MD5 digest of the key K (length 128 bits) and stores it as KEY_AUTH_SEND in the transmitter, and then calculates the HMAC_SHA1 value AUTH1 for the random number RAND1 and KEY_AUTH_SEND. The device ID and AUTH1 are sent to the receiver.

[0039] After receiving AUTH1, the receiver also calculates the HMAC_SHA1 value AUTH2 for the random number RAND1 and the KEY_AUTH_RECV in the receiver. If AUTH1 is the same as AUTH2, the device authentication is successful. After the device authentication is successful, the receiver sends HMAC_SHA1 ("*#OK#*", KEY_AUTH_RECV) to the transmitter.

[0040] After the transmitter receives the data, if the data content is HMAC_SHA1("*#OK#*", KEY_AUTH_SEND), it means the configuration is successful and enters the working mode.

[0041] Use phase (working phase):

[0042] In normal working mode, the transmitter will send tire pressure information to the receiver regularly according to business needs. After receiving the data, the receiver will use the tire pressure data after judging that the message is true, valid and not tampered with. The communication process uses a custom communication protocol to prevent tire pressure data from being tampered with.

[0043] The specific data protocol structure is as follows, including:

[0044] Fixed code (0xdeadbeaf), ID code, voltage, pressure, temperature, identification code.

[0045] Fixed code: 32bit, 0xdeadbeaf.

[0046] ID code: 32bit, unique identifier of TPMS device

[0047] Voltage: 8bit

[0048] Pressure: 8bit

[0049] Temperature: 8bit

[0050] Identification code: HAMC_SHA1 (ID code + voltage + pressure + temperature, KEY_AUTH_SEND)

[0051] After the receiver receives the data, it takes out the corresponding KEY_AUTH_RECV according to the ID code, and then calculates the data's authentication code, HAMC_SHA1 (ID code + voltage + pressure + temperature, KEY_AUTH_SEND), and compares it with the authentication code in the data. If the two are consistent, the data has not been tampered with.

[0052] In the following, in conjunction with the accompanying drawings, a method for interacting with tire pressure information of a vehicle provided in an embodiment of the present application is described in detail through specific embodiments and application scenarios.

[0053] See also Figure 1 , Figure 1 A flow chart of a method for interacting with tire pressure information of a vehicle provided by an embodiment of the present invention is shown in FIG. Figure 1 As shown, the method comprises the following steps:

[0054] Step 110: The transmitter on the vehicle acquires tire pressure information of the wheels, where the tire pressure information includes pressure and target information, and the target information includes at least one of voltage and temperature.

[0055] Step 120: The transmitter generates a working random number based on the tire pressure information.

[0056] The working random number is a random number generated by the transmitter and used in the working phase of the transmitter and the receiver. The working random number may include the device identification, voltage, pressure and temperature. Specifically, for example, the transmitter can generate a 32-bit working random number based on the tire pressure information of the wheel obtained, and the working random number includes the device identification, voltage, pressure and temperature. It should be understood that the device identification may also be referred to as the ID identification code in the following text.

[0057] Step 130: The transmitter generates a first working identification code based on the working random number;

[0058] For example, the transmitter calculates and generates the first working identification code based on the working random number. The first working identification code can be an identification code generated by the transmitter and used in the working phase of the transmitter and the receiver.

[0059] Step 140: the transmitter sends communication data to the receiver on the vehicle, the communication data including the device identification of the transmitter, the working random number and the first working identification code;

[0060] For example, the communication data sent by the transmitter to the receiver may include: a fixed code, a device identification, voltage, pressure, temperature, and a first working identification code (MAC1). The fixed code is 32-bit data with a value of, for example, 0xdeadbeaf.

[0061] Step 150: The receiver receives the communication data and obtains a working authentication key of the receiver according to the device identification of the transmitter;

[0062] For example, the receiver receives and extracts communication data, and the communication data includes a fixed code, a device identifier, a voltage, a pressure, a temperature, and a first working identification code. The receiver can judge the fixed code, and if the fixed code is equal to 0xdeadbeaf, the processing continues, otherwise the communication data is discarded. The receiver obtains the working authentication key KEY_AUTH_RECV of the receiver according to the device identifier of the transmitter. The working authentication key is an authentication key used in the working stage.

[0063] Step 160: The receiver generates a second working authentication code according to the working random number and the working authentication key;

[0064] For example, the receiver calculates and generates the second working authentication code (MAC2) according to the working random number and the working authentication key KEY_AUTH_RECV. The second working authentication code is generated by the receiver and is used as an authentication code in the working phase of the transmitter and the receiver.

[0065] Step 170: The receiver determines whether the second working authentication code MAC2 is equal to the first working authentication code MAC1.

[0066] Step 180: When the second working identification code is the same as the first working identification code, the receiver confirms that the communication data is valid data that has not been tampered with;

[0067] Step 190: When the second working identification code is different from the first working identification code, the receiver discards the communication data.

[0068] The embodiment of the present application provides a method for interacting with tire pressure information of a vehicle, wherein a transmitter generates a working random number according to the tire pressure information, and based on the working random number, generates a first working identification code; a receiver receives communication data, wherein the communication data includes a device identification of the transmitter, the working random number, and the first working identification code; and based on the received communication data, a working authentication key is obtained, and a second working identification code is generated. By comparing whether the first working identification code and the second working identification code are the same, the validity of the tire pressure information is judged, the tire pressure information is prevented from being tampered with, and the driving safety of the vehicle is ensured.

[0069] In one embodiment of the present invention, the communication data also includes: a fixed code; after the receiver receives the communication data in step 150, the method for interacting with the tire pressure information of a vehicle provided in the embodiment of the present application may also include: if the fixed code in the communication data is not a specified string, discarding the communication data.

[0070] Accordingly, the step 150 of acquiring the working authentication key of the receiver according to the device identification of the transmitter includes: acquiring the working authentication key of the receiver according to the device identification of the transmitter when the fixed code in the communication data is a specified character string.

[0071] Figure 2 Flow chart of obtaining a work authentication key in an embodiment of the present invention. Figure 2 In one embodiment of the present invention, the step of obtaining the working authentication key of the receiver according to the device identification of the transmitter includes:

[0072] Step 210: Acquire a connection key for a communication connection between the receiver and the transmitter according to the device identification of the transmitter;

[0073] Step 220: Obtain the working authentication key of the receiver according to the connection key.

[0074] In one embodiment of the present invention, the communication between the transmitter and the receiver follows a custom communication protocol, so that not only the communication security can be guaranteed, but also the function can be expanded according to actual needs under the premise of ensuring the communication security.

[0075] The specific data protocol structure of the communication protocol may include a fixed code 0xdeadbeaf (32 bits), a device identifier (32 bits), a voltage (8 bits), a pressure (8 bits), a temperature (8 bits), and an identification code (160 bits).

[0076] In normal working mode, the transmitter will send tire pressure information to the receiver regularly according to business needs. After receiving the data, the receiver will use the tire pressure data after judging that the message is true, valid and has not been tampered with. The communication process uses a custom communication protocol to achieve tamper-proof tire pressure data. Among them, the calculation of the authentication code can be used with the following function: HMAC_SHA1(ID identification code + voltage + pressure + temperature, KEY_AUTH_SEND). After receiving the data, the receiver takes out the corresponding KEY_AUTH_RECV according to the ID identification code, and then calculates the authentication code of the data, HMAC_SHA1(ID identification code + voltage + pressure + temperature, KEY_AUTH_SEND) and compares it with the authentication code in the data. If the two are consistent, the data has not been tampered with.

[0077] In one embodiment of the present invention, before the transmitter on the vehicle acquires the tire pressure information of the wheel, the tire pressure information interaction method of the vehicle provided in the embodiment of the present application further includes: the transmitter and the receiver are paired. Accordingly, the transmitter sends communication data to the receiver on the vehicle, including: when the transmitter and the receiver are paired successfully, the transmitter sends communication data to the receiver on the vehicle.

[0078] Figure 3 A schematic diagram of a transmitter and receiver pairing authentication process provided by an embodiment of the present invention. Figure 3 In the embodiment of the present application, the process of pairing the transmitter and the receiver may include:

[0079] Step 311: After being turned on, the transmitter broadcasts authentication information, where the authentication information includes a device identification of the transmitter;

[0080] For example, after the transmitter is powered on, it enters the installation mode and starts broadcasting the device identification. For example, the device identification may be a device ID with a value of 0x12345678, which is a unique device ID.

[0081] Step 312: After the receiver is turned on, it searches for a connectable transmitter, and after searching for the transmitter, it displays the device identification of the transmitter;

[0082] For example, after the receiver is powered on, it enters installation mode, searches for connectable transmitters, and displays the device IDs of the transmitters found on the screen.

[0083] Step 313: The receiver is connected to the transmitter and uses the connection key to calculate the pairing authentication key of the receiver.

[0084] For example, select the transmitter according to the device identification, enter the connection key K (the connection key K can be an ASCII code string with a length of not less than 8 bits), calculate the MD5 digest of the connection key K and save it as the pairing authentication key KEY_AUTH_RECV of the receiver. The pairing authentication key KEY_AUTH_RECV is calculated and generated by the receiver and is used as the key for the receiver to connect and pair with the transmitter.

[0085] Step 314: The receiver generates a pairing random number, and sends the pairing random number and the connection key to the transmitter.

[0086] For example, the receiver generates a 32-bit pairing random number RAND1, and sends the pairing random number RAND1 and a connection key K to the transmitter. The pairing random number RAND1 is generated by the receiver and is a random number used for pairing the receiver with the transmitter.

[0087] Step 315: The transmitter generates a pairing authentication key of the transmitter based on the connection key, and generates a first pairing identification code based on the pairing authentication key of the transmitter and the pairing random number.

[0088] For example, after receiving the pairing random number RAND1 and the connection key K sent by the receiver, the transmitter calculates the MD5 digest of the connection key K based on the connection key K and saves it as the pairing authentication key KEY_AUTH_SEND of the transmitter. The pairing authentication key KEY_AUTH_SEND is calculated and generated by the transmitter and is used as a key for the receiver to pair with the transmitter.

[0089] For example, the transmitter generates a first pairing authentication code AUTH1 based on the pairing random number RAND1 and the pairing authentication key KEY_AUTH_SEND. The first pairing authentication code is generated by the transmitter and is used in the pairing phase between the transmitter and the receiver.

[0090] Step 316: The transmitter sends the device identification of the transmitter and the first pairing identification code to the receiver;

[0091] The transmitter sends the device identification and the first pairing authentication code AUTH1 to the receiver.

[0092] Step 317: The receiver obtains the pairing random number and the authentication key according to the device identification of the transmitter;

[0093] For example, after receiving the device identification and the first pairing authentication code AUTH1 sent by the transmitter, the receiver retrieves the pairing random number RAND1 and the pairing authentication key KEY_AUTH_RECV according to the received device identification.

[0094] Step 318: The receiver generates a second pairing authentication code based on the pairing random number and the authentication key;

[0095] For example, the receiver generates a second pairing authentication code AUTH2 based on the pairing random number RAND1 and the pairing authentication key KEY_AUTH_RECV. The second pairing authentication code is generated by the receiver and is used in the pairing phase between the transmitter and the receiver.

[0096] Step 319: When the first pairing identification code and the second pairing identification code are the same, the transmitter and the receiver are paired successfully.

[0097] For example, the receiver determines whether the second pairing authentication code AUTH2 is equal to the first pairing authentication code AUTH1. If so, the device configuration is successful, and the generated authentication code HMAC_SHA1 ("*#OK#*", KEY_AUTH_RECV) is sent to the transmitter. After receiving the data, the transmitter determines whether it is equal to HMAC_SHA1 ("*#OK#*", KEY_AUTH_SEND). If they are the same, it enters the working mode.

[0098] In one embodiment of the present invention, the pairing authentication key of the receiver and the pairing authentication key of the transmitter are calculated using an MD5 message digest algorithm, and the first pairing authentication code and the second pairing authentication code are calculated using a secure hash algorithm 1.

[0099] In the embodiment of the present application, the MD5 message digest algorithm (Message-Digest Algorithm 5) is also translated as a digest algorithm or a hash algorithm. The MD5 message digest algorithm is used to ensure the integrity and consistency of information transmission and is one of the hash algorithms widely used by computers.

[0100] Secure Hash Algorithm 1 (SHA-1) is a cryptographic hash function designed by the United States National Security Agency and published as a Federal Data Processing Standard (FIPS) by the National Institute of Standards and Technology (NIST). SHA-1 can generate a 160-bit (20-byte) hash value called a message digest, which is usually presented as 40 hexadecimal numbers.

[0101] In one embodiment of the present invention, the working authentication key of the receiver is calculated by using the MD5 message digest algorithm, and the first working identification code and the second working identification code are calculated by using the secure hash algorithm 1.

[0102] The following is a detailed explanation of the tire pressure information interaction method of the vehicle provided in the embodiment of the present application with reference to specific examples.

[0103] The complete process of the vehicle tire pressure information interaction method provided in the embodiment of the present application may include: an installation and configuration process and a working process.

[0104] The installation and configuration process can be as follows:

[0105] After the transmitter is powered on, it enters the installation mode and starts broadcasting the device identification. For example, the device identification may be a device ID with a value of 0x12345678, which is a unique device ID.

[0106] After the receiver is turned on, it enters the installation mode and searches for connectable transmitters. The device identification of the transmitters found is displayed on the screen. The user selects the transmitter to be connected according to the device identification and enters the connection key K of the current transmitter (the connection key K is an ascii code string with a length of not less than 8 bits), for example, K = 88888888.

[0107] The receiver calculates and saves the pairing authentication key KEY_AUTH_RECV of the receiver based on the connection key K according to the MD5 information digest algorithm. The pairing authentication key KEY_AUTH_RECV is calculated and generated by the receiver and is the key used for pairing the receiver with the transmitter. For example, KEY_AUTH_RECV = MD5 ("88888888") = 0x8ddcff3a80f4189ca1c9d4d902c3c909.

[0108] The receiver generates a 32-bit pairing random number RAND1, for example, RAND1 = 0x77889900, and sends the pairing random number RAND1 and the connection key K to the transmitter. The pairing random number RAND1 is generated by the receiver and is a random number used for pairing the receiver with the transmitter.

[0109] After the transmitter receives the pairing random number RAND1=0x77889900 and the connection key K=88888888 sent by the receiver, it calculates the pairing authentication key KEY_AUTH_SEND of the transmitter based on the connection key K according to the MD5 information digest algorithm and saves it to the device. The pairing authentication key KEY_AUTH_SEND is calculated and generated by the transmitter and is a key used for the connection and pairing between the receiver and the transmitter, for example, KEY_AUTH_SEND=0x8ddcff3a80f4189ca1c9d4d902c3c909.

[0110] The transmitter generates a first pairing authentication code AUTH1 based on the pairing random number RAND1=0x77889900 and the pairing authentication key KEY_AUTH_SEND=0x8ddcff3a80f4189ca1c9d4d902c3c909 through secure hash algorithm 1, for example, AUTH1=HMAC_SHA1(0x77889900,0x8ddcff3a80f4189ca1c9d4d902c3c909)=0x372c 2e37 65c5 615a 045b b149 7a5c1347 9ff2 519d. The first pairing authentication code is generated by the transmitter and is used as an authentication code in the pairing stage when the transmitter is connected to the receiver.

[0111] The transmitter sends the device identification and the first pairing authentication code AUTH1 to the receiver.

[0112] After receiving the device identification and the first pairing authentication code AUTH1 sent by the transmitter, the receiver retrieves the pairing random number RAND1=0x77889900 and the pairing authentication key KEY_AUTH_RECV=0x8ddcff3a80f4189ca1c9d4d902c3c909 according to the received device identification.

[0113] The receiver generates a second pairing authentication code AUTH2 based on the pairing random number RAND1=0x77889900 and the pairing authentication key KEY_AUTH_RECV=0x8ddcff3a80f4189ca1c9d4d902c3c909 through the secure hash algorithm 1, for example, AUTH2=HMAC_SHA1(0x77889900, 0x8ddcff3a80f4189ca1c9d4d902c3c909)=0x372c 2e37 65c5 615a 045b b149 7a5c1347 9ff2 519d.

[0114] The receiver determines whether the first pairing authentication code AUTH1 is equal to the second pairing authentication code AUTH2. If AUTH1 is equal to AUTH2, the device configuration is successful. Calculate HMAC_SHA1 ("*#OK#*", KEY_AUTH_RECV) and send it to the transmitter, for example, OK = HMAC_SHA1 ("*#OK#*", 0x8ddcff3a80f4189ca1c9d4d902c3c909) 0x = 5c5c 6c33faf1 652d 56ee c19e 37b4d2fb e4c1 ed98.

[0115] The transmitter receives the data and determines whether it is equal to HMAC_SHA1("*#OK#*", KEY_AUTH_SEND). If it is the same, it enters the working mode, for example, OK=HMAC_SHA1("*#OK#*", 0x8ddcff3a80f4189ca1c9d4d902c3c909), 0x=5c5c6c33 faf1 652d 56ee c19e 37b4 d2fb e4c1 ed98.

[0116] In the embodiment of the present application, the working process may be as follows:

[0117] After the transmitter and the receiver enter the working mode, the transmitter on the vehicle obtains tire pressure information of the wheel, the tire pressure information includes pressure and target information, and the target information includes at least one of voltage and temperature. For example, pressure: 0x54, voltage: 0xe5, temperature: 0x49.

[0118] The transmitter generates a working random number based on the tire pressure information; the working random number includes a device identification, voltage, pressure and temperature.

[0119] The transmitter calculates and generates the first working authentication code MAC1 based on the working random number by using the secure hash algorithm 1. For example, MAC1=HMAC_SHA1(ID identification code+voltage+pressure+temperature, KEY_AUTH_SEND), for example, MAC1==HMAC_SHA1(0x12345678e55449,0x8ddcff3a80f4189ca1c9d4d902c3c909)=0x19a40443914aa57affb0ebfa62be7f89d8b67707. The first working authentication code MAC1 is generated by the transmitter and is used as an authentication code for the working phase of the transmitter and the receiver.

[0120] The transmitter sends communication data to the receiver, and the communication data includes, for example, a fixed code, a device identifier, voltage, pressure, temperature, and a first working authentication code MAC1. For example, SEND1 = 0xdeadbeaf12345678e5544919a40443914aa57affb0ebfa62be7f89d8b67707. The fixed code is 32 bits of data with a value of 0xdeadbeaf.

[0121] The receiver receives and extracts data, including fixed code, device identification, voltage, pressure, temperature, and MAC1. If the fixed code is equal to 0xdeadbeaf, continue processing, otherwise discard the data. For example, RECV1 = deadbeaf12345678e5544919a40443914aa57affb0ebfa62be7f89d8b67707, take out the first four bytes as the fixed code, fixed code = 0xdeadbeaf, and continue processing.

[0122] According to the device identification, the working authentication key KEY_AUTH_RECV is extracted, and the second working authentication code MAC2=HMAC_SHA1(ID identification code+voltage+pressure+temperature, KEY_AUTH_RECV) is calculated through the secure hash algorithm 1. For example,

[0123] MAC2=HMAC_SHA1(0x12345678e55449,0x8ddcff3a80f4189ca1c9d4d902c3c909)=0x19a40443914aa57affb0ebfa62be7f89d8b67707.

[0124] The receiver determines whether the second working authentication code MAC2 is equal to the first working authentication code MAC1. If MAC2 is consistent with MAC1, the message is authentic and has not been tampered with. Otherwise, the data may be tampered with.

[0125] The tire pressure information interaction method provided in the embodiment of the present application can ensure extremely high security through the above process to prevent the real tire pressure information from being tampered with. At the same time, by using cryptographic technologies such as HMAC_SHA1 and MD5, the TPMS tire pressure information is further protected from being tampered with, thereby ensuring the driving safety of the autonomous vehicle.

[0126] Corresponding to the above-mentioned vehicle tire pressure information interaction method, the embodiment of the present invention also provides a vehicle tire pressure monitoring system, such as Figure 4 As shown, the tire pressure monitoring system 400 of the vehicle includes: a transmitter 410 on the vehicle and a receiver 420 on the vehicle:

[0127] The transmitter 410 is used for the transmitter 410 on the vehicle to obtain tire pressure information of the wheel, the tire pressure information includes pressure and target information, and the target information includes at least one of voltage and temperature; generate a working random number based on the tire pressure information; generate a first working identification code based on the working random number; send communication data to the receiver 420 on the vehicle, the communication data includes the device identification of the transmitter 410, the working random number and the first working identification code;

[0128] The receiver 420 is used to receive the communication data and obtain the working authentication key of the receiver 420 according to the device identification of the transmitter 410; generate a second working identification code according to the working random number and the working authentication key; when the second working identification code is the same as the first working identification code, the receiver 420 confirms that the communication data is valid data that has not been tampered with; when the second working identification code is different from the first working identification code, the receiver 420 discards the communication data.

[0129] It should be understood that in the tire pressure monitoring system for a vehicle provided in the embodiment of the present application, other related operations performed by the transmitter and the receiver can be referred to the previous description and will not be repeated here.

[0130] In the tire pressure monitoring system for a vehicle provided in an embodiment of the present application, a transmitter generates a working random number according to tire pressure information, and generates a first working identification code based on the working random number; a receiver receives communication data, the communication data includes a device identification of the transmitter, the working random number and the first working identification code; and obtains a working authentication key according to the received communication data, generates a second working identification code, and judges the validity of the tire pressure information by comparing whether the first working identification code and the second working identification code are the same, thereby preventing the tire pressure information from being tampered with and ensuring the driving safety of the vehicle.

[0131] It should be noted that, in this article, the terms "comprise", "include" or any other variant thereof are intended to cover non-exclusive inclusion, so that the process, method, article or device including a series of elements includes not only those elements, but also includes other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise one..." do not exclude the presence of other identical elements in the process, method, article or device including the element. In addition, it should be pointed out that the scope of the methods and devices in the embodiments of the present application is not limited to performing functions in the order shown or discussed, and may also include performing functions in a substantially simultaneous manner or in reverse order according to the functions involved, for example, the described method may be performed in an order different from that described, and various steps may also be added, omitted, or combined. In addition, the features described with reference to certain examples may be combined in other examples.

[0132] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present application, or the part that contributes to the prior art, can be embodied in the form of a computer software product, which is stored in a storage medium (such as ROM / RAM, a disk, or an optical disk), and includes a number of instructions for a terminal (which can be a mobile phone, a computer, a server, or a network device, etc.) to execute the methods described in each embodiment of the present application.

[0133] The embodiments of the present application are described above in conjunction with the accompanying drawings, but the present application is not limited to the above-mentioned specific implementation methods. The above-mentioned specific implementation methods are merely illustrative and not restrictive. Under the guidance of the present application, ordinary technicians in this field can also make many forms without departing from the purpose of the present application and the scope of protection of the claims, all of which are within the protection of the present application.

Claims

1. A method for interacting with tire pressure information of a vehicle, characterized in that: The method comprises: The transmitter on the vehicle acquires tire pressure information of the wheel, wherein the tire pressure information includes pressure and target information, and the target information includes at least one of voltage and temperature; The transmitter generates a working random number based on the tire pressure information; The transmitter generates a first working authentication code based on the working random number; The transmitter sends communication data to the receiver on the vehicle, the communication data including the device identification of the transmitter, the working random number and the first working identification code; The receiver receives the communication data and obtains a working authentication key of the receiver according to the device identification of the transmitter; The receiver generates a second working authentication code according to the working random number and the working authentication key; When the second working identification code is the same as the first working identification code, the receiver confirms that the communication data is valid data that has not been tampered with; In case the second working identification code is different from the first working identification code, the receiver discards the communication data.

2. The method according to claim 1, characterized in that The communication data further includes: a fixed code; after the receiver receives the communication data, the method further includes: If the fixed code in the communication data is not a specified character string, discarding the communication data; The acquiring the working authentication key of the receiver according to the device identification of the transmitter includes: acquiring the working authentication key of the receiver according to the device identification of the transmitter when the fixed code in the communication data is a specified character string.

3. The method according to claim 1, characterized in that The step of obtaining a working authentication key of the receiver according to the device identification of the transmitter includes: Acquire a connection key for a communication connection between the receiver and the transmitter according to a device identification of the transmitter; A working authentication key of the receiver is obtained according to the connection key.

4. The method according to claim 1, characterized in that: The communication between the transmitter and the receiver follows a custom communication protocol.

5. The method according to claim 1, characterized in that Before the transmitter on the vehicle acquires tire pressure information of the wheels, the method further includes: The transmitter and the receiver are paired; The transmitter sends communication data to the receiver on the vehicle, including: when the transmitter and the receiver are successfully paired, the transmitter sends communication data to the receiver on the vehicle.

6. The method according to claim 5, characterized in that The transmitter and the receiver are paired, comprising: After being turned on, the transmitter broadcasts authentication information, wherein the authentication information includes a device identification of the transmitter; After being turned on, the receiver searches for a connectable transmitter, and after finding the transmitter, displays the device identification of the transmitter; The receiver is connected to the transmitter and a pairing authentication key of the receiver is calculated using a connection key; The receiver generates a pairing random number, and sends the pairing random number and the connection key to the transmitter; The transmitter generates a pairing authentication key of the transmitter based on the connection key, and generates a first pairing authentication code based on the pairing authentication key of the transmitter and the pairing random number; The transmitter sends the device identification of the transmitter and the first pairing identification code to the receiver; The receiver obtains the pairing random number and the authentication key according to the device identification of the transmitter; The receiver generates a second pairing authentication code based on the pairing random number and the authentication key; When the first pairing identification code and the second pairing identification code are the same, the transmitter and the receiver are paired successfully.

7. The method according to claim 6, characterized in that The pairing authentication key of the receiver and the pairing authentication key of the transmitter are calculated by using the MD5 information digest algorithm, and the first pairing identification code and the second pairing identification code are calculated by using the secure hash algorithm 1.

8. The method according to claim 1, characterized in that The working authentication key of the receiver is calculated by using the MD5 information digest algorithm, and the first working identification code and the second working identification code are calculated by using the secure hash algorithm 1.

9. A tire pressure monitoring system for a vehicle, characterized in that: The system includes: a transmitter on the vehicle and a receiver on the vehicle; The transmitter is used for the transmitter on the vehicle to obtain tire pressure information of the wheel, the tire pressure information includes pressure and target information, the target information includes at least one of voltage and temperature; generate a working random number based on the tire pressure information; generate a first working identification code based on the working random number; send communication data to the receiver on the vehicle, the communication data includes the device identification of the transmitter, the working random number and the first working identification code; The receiver is used to receive the communication data and obtain the working authentication key of the receiver according to the device identification of the transmitter; generate a second working identification code according to the working random number and the working authentication key; when the second working identification code is the same as the first working identification code, the receiver confirms that the communication data is valid data that has not been tampered with; when the second working identification code is different from the first working identification code, the receiver discards the communication data.

10. A vehicle, characterized in that: The vehicle comprises a system according to claim 9.