Method and device for preventing tire pressure sensor from being cracked

By monitoring and verifying the external program of the sensor in real time, the tire pressure sensor program is prevented from being cracked, the problem of program theft in the existing technology is solved, and the security and stability of the sensor are achieved.

CN118722084APending Publication Date: 2024-10-01THINKCAR TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410745791.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-11
Publication Date
2024-10-01

AI Technical Summary

Technical Problem

Existing technology cannot effectively prevent tire pressure sensor programs from being cracked and stolen, resulting in manufacturers spending a lot of manpower and material resources to program and adapt sensors for different models.

Method used

Real-time monitoring of the external program connected to the sensor by starting the monitoring mode, obtaining the internal verification value and verifying the external program. If the verification is successful, it will run normally. If it is unsuccessful, it will start the self-destruct mode or continue the verification mode to judge the sensor. Whether to run it for the first time and write the check value to ensure the security of the program.

Benefits of technology

It effectively prevents the tire pressure sensor program from being cracked and solves the problem of program theft. At the same time, it consolidates the sensors without implanted calibration values ​​to ensure the safe operation of the sensors.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118722084A_ABST
    Figure CN118722084A_ABST
Patent Text Reader

Abstract

The invention discloses a method and device for preventing a tire pressure sensor from being cracked, and relates to the technical field of automobiles, and the method comprises the following steps: starting a monitoring mode, and monitoring an external program accessed to the sensor in real time; when the external program is detected to have the behavior of being connected with the sensor, acquiring an internal verification value of the sensor; the external program is verified according to the verification value, if verification succeeds, sensor tire pressure work is normally operated, and if verification fails, a verification mode is continued or a self-destruction mode is started. According to the method, the sensor chip is tested, whether the sensor is cracked or not can be checked, the problem that a program is stolen is solved, and meanwhile the sensor which is not subjected to verification value implantation can be consolidated.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of automobile technology, and in particular to a method and device for preventing a tire pressure sensor from being cracked. Background Art

[0002] Different car models have different tire pressure protocols, and the development of programmable sensors requires analyzing different protocols to adapt to the car models. There are many car models on the market, and adapting programmable sensors to so many car models requires a lot of manpower, material resources and time to develop, that is, programming the programmable sensor for the corresponding car model, and then exporting the chip memory to obtain the program for the corresponding car model.

[0003] However, this technology will lead to the situation that the internal programs of sensors of sensor manufacturers or units / institutions that customize sensors for development needs will be cracked by this technology. In order to protect the vehicle program in the chip memory and prevent the tire pressure sensor program from being cracked and misused, a set of technology to prevent the sensor from being cracked is urgently needed to prevent such behavior. Summary of the invention

[0004] In order to solve the defects in the prior art, the present invention provides a method and device for preventing a tire pressure sensor from being cracked.

[0005] The technical document provided by the present invention is a method for preventing a tire pressure sensor from being cracked, and the improvement thereof is that it includes:

[0006] Start monitoring mode to monitor external programs connected to the sensor in real time;

[0007] When it is detected that the external program is connecting to the sensor, an internal calibration value of the sensor is obtained;

[0008] The external program is verified according to the verification value. If the verification is successful, the tire pressure sensor works normally. If the verification is unsuccessful, the verification mode is continued or the self-destruct mode is started.

[0009] As an improvement of the above technical solution, the method further includes determining whether the sensor is running for the first time:

[0010] Connecting with the sensor, acquiring the sensor data and analyzing it to obtain the address flash area, wherein the flash area is used to store the check value;

[0011] The flash area is verified according to the external program to determine whether the sensor is running for the first time, and if the sensor is running for the first time, the verification value is written into the flash area.

[0012] As a further improvement of the above technical solution, the method further includes:

[0013] When it is detected that an external program is connecting to the sensor, and / or when the sensor is not being operated for the first time;

[0014] Extracting the check value stored in the flash area;

[0015] The external program is verified according to the stored verification value. If the verification is successful, the tire pressure sensor works normally.

[0016] As a further improvement of the above technical solution, the method further includes:

[0017] Obtain the sensor ID value;

[0018] Processing the ID value to generate a check value;

[0019] The check value is stored in the sensor address flash area of ​​the initial operation.

[0020] The present application also discloses a device for preventing a tire pressure sensor from being cracked, the improvement of which is that it includes:

[0021] A monitoring module, the monitoring module is used to start a monitoring mode and monitor an external program connected to the sensor in real time;

[0022] A first processing module, the processing module is used to obtain the internal verification value of the sensor when detecting that the external program is connecting to the sensor;

[0023] The first verification module is used to verify the external program according to the verification value. If the verification is successful, the tire pressure operation is performed normally. If the verification is unsuccessful, the verification mode is continued or the self-destruct mode is started.

[0024] As a further improvement of the above technical solution, it includes:

[0025] A second processing module, the second processing module is used to connect with the sensor, obtain the sensor data and analyze it to obtain the address flash area, wherein the flash area is used to store the check value;

[0026] A judgment module is used to verify the flash area according to the external program to determine whether the sensor is running for the first time, and if the sensor is running for the first time, write the verification value into the flash area.

[0027] As a further improvement of the above technical solution, it includes:

[0028] A detection module, the detection module is used to detect that an external program is connecting to the sensor, and / or if the sensor is not running for the first time;

[0029] An extraction module, the extraction module is used to extract the check value stored in the flash area;

[0030] The second verification module is used to verify the external program according to the stored verification value. If the verification is successful, the tire pressure sensor works normally.

[0031] The present application also discloses an electronic device, which includes a memory and a processor, wherein the memory is used to store a computer program, and the processor is used to call the computer program so that the electronic device executes the steps of a method for preventing a tire pressure sensor from being hacked as described above.

[0032] The present application also discloses a computer-readable storage medium, including instructions. When the instructions are executed on an electronic device, the electronic device executes the steps of a method for preventing a tire pressure sensor from being cracked as described above.

[0033] The present application also discloses a computer program product, which includes computer instructions. When the computer instructions are run on an electronic device, the electronic device executes the steps of a method for preventing a tire pressure sensor from being hacked as described above.

[0034] Beneficial effect: This application can test whether the sensor has been cracked by testing the sensor chip, which solves the problem of program theft and can also consolidate sensors that have not been implanted with verification values. BRIEF DESCRIPTION OF THE DRAWINGS

[0035] Figure 1 A schematic flow chart of a method for preventing a tire pressure sensor from being cracked according to the present invention;

[0036] Figure 2 A schematic diagram of a flow chart of a method for preventing a tire pressure sensor from being cracked according to the present invention;

[0037] Figure 3 A schematic diagram of a flow chart of a method for preventing a tire pressure sensor from being cracked according to the present invention;

[0038] Figure 4 A schematic diagram of a flow chart of a method for preventing a tire pressure sensor from being cracked according to the present invention;

[0039] Figure 5 A schematic diagram of the structure of a device for preventing a tire pressure sensor from being cracked according to the present invention;

[0040] Figure 6 A schematic diagram of a structure of a device for preventing a tire pressure sensor from being cracked according to the present invention;

[0041] Figure 7 A schematic diagram of a structure of a device for preventing a tire pressure sensor from being cracked according to the present invention;

[0042] Figure 8 It is a schematic diagram of the structure of the electronic device of the present invention.

[0043] As shown in the figure: 100, monitoring module, 200, first processing module, 300, first verification module, 400, second processing module, 500, judgment module, 600, detection module, 700, extraction module, 800, second verification module. DETAILED DESCRIPTION

[0044] In order to facilitate the understanding of the present invention, the present invention is described in more detail below in conjunction with the accompanying drawings and specific embodiments. Preferred embodiments of the present invention are provided in the accompanying drawings. However, the present invention can be implemented in many different forms and is not limited to the embodiments described in this specification. On the contrary, the purpose of providing these embodiments is to make the understanding of the disclosure of the present invention more thorough and comprehensive.

[0045] It should be noted that when an element is referred to as being "fixed to" another element, it may be directly on the other element or there may be a central element. When an element is considered to be "connected to" another element, it may be directly connected to the other element or there may be a central element at the same time. The terms "fixed", "integrally formed", "left", "right" and similar expressions used in this specification are for illustrative purposes only. In the drawings, units with similar structures are marked with the same reference numerals.

[0046] Unless otherwise defined, all technical and scientific terms used in this specification have the same meaning as those commonly understood by those skilled in the art of the present invention. The terms used in this specification in the specification of the present invention are only for the purpose of describing specific embodiments and are not intended to limit the present invention.

[0047] The present invention will be described in detail below in conjunction with the accompanying drawings.

[0048] Embodiment 1:

[0049] The development of sensors requires the analysis of different protocols to adapt to vehicle models. By programming the sensor for the corresponding vehicle model and then exporting the memory of the sensor chip, you can obtain the program for the corresponding vehicle model. In this process, the program for the corresponding vehicle model can be cracked to obtain the key information inside. It is worth noting that when programming the sensor for the corresponding vehicle model, it is necessary to connect to the sensor in advance, program it after the connection, and then export the memory of the sensor chip. In the process of exporting the memory of the sensor chip, for the sensor, the operations performed by connecting the sensor are regarded as external programs. Therefore, in order to prevent external programs from obtaining the data of the corresponding vehicle model inside the sensor, it is necessary to develop a method to prevent the sensor from being cracked to prevent the sensor program from being cracked.

[0050] See also Figure 1 , the present application discloses a method for preventing a tire pressure sensor from being cracked, comprising:

[0051] Step S111: Start the monitoring mode to monitor the external program connected to the sensor in real time;

[0052] Step S112: when it is detected that the external program is connecting to the sensor, obtaining the internal verification value of the sensor;

[0053] Step S113: Verify the external program according to the verification value. If the verification is successful, the tire pressure sensor works normally. If the verification is unsuccessful, continue the verification mode or start the self-destruct mode.

[0054] In the above embodiment, for steps S111-S113, the sensor chip needs to be tested: the sensor is connected using an external program to test whether the sensor is at risk of being cracked. A method of preventing the tire pressure sensor from being cracked in the present application will always monitor the external program connected to the sensor. When it is detected that the external program is connecting to the sensor, the action of obtaining the internal verification value of the sensor is triggered to obtain the sensor verification value. When the verification value is obtained, the external program is verified according to the verification value. If the verification is successful, the sensor tire pressure will operate normally. If the verification is unsuccessful, the self-destruct mode is activated to prevent others from using the sensor to steal the program. By testing the sensor chip, the present application can verify whether the sensor has been cracked, thereby solving the problem of program theft.

[0055] When testing the sensor chip, the external program is directly verified with the verification value. If the verification is successful, the sensor tire pressure will be operated normally. If the verification is unsuccessful, the verification mode will continue. Therefore, the present application has another embodiment: when the action of obtaining the internal verification value of the sensor is triggered, the sensor verification value is not obtained. At this time, it is necessary to understand the reason why the verification value cannot be obtained, and it is necessary to judge the sensor to determine whether the sensor is running for the first time, so as to further confirm whether the sensor is at risk of being hacked.

[0056] Please refer to Figure 2 The method further includes determining whether the sensor is operating for the first time:

[0057] Step S114: connecting with the sensor, acquiring the sensor data and analyzing it to obtain the address flash area, wherein the flash area is used to store the check value;

[0058] Step S115: verifying the flash area according to the external program to determine whether the sensor is running for the first time; if the sensor is running for the first time, writing the verification value into the flash area.

[0059] Please refer to Figure 3 , the method further comprises:

[0060] Step S116: when it is detected that the external program is connecting to the sensor, and / or when the sensor is not being operated for the first time;

[0061] Step S117: extracting the check value stored in the flash area;

[0062] Step S118: Verify the external program according to the stored verification value. If the verification is successful, the tire pressure sensor operates normally.

[0063] In the above embodiment, for steps S114-S118, the check value of the sensor will be stored in a specific OTP area. OTP (One Time Programmable) is a type of memory for a single-chip microcomputer. Each sensor chip will have its factory ID value written in the OTP area when it leaves the factory. The ID value is unique. When a sensor chip produced for the first time is obtained, the ID value of the sensor chip is obtained, the ID value is concatenated with the character string, the concatenated character string is loaded, and a CRC8 check with a loading value of 0x5a and a polynomial of 0x12 is obtained, and the check value is written into the flash area in the OTP area.

[0064] When judging whether the sensor chip is running for the first time, it is necessary to find the flash area in the OTP area, use 0xFF to check the flash area, and judge whether the address of the flash area is 0xFF. If so, write the check value into the flash area according to the rules. If not, it indicates that the sensor chip is not running for the first time. This application can test whether the sensor is cracked by testing the sensor chip, which solves the problem of program theft and can also consolidate the sensors that have not been implanted with check values.

[0065] When it is determined that the sensor chip is not running for the first time, in order to prevent the self-destruct mode from being started by mistake, the check value in the flash area needs to be further confirmed. This application uses an external program to check the check value in the flash area. If the check is successful, the sensor tire pressure will work normally. If the check is unsuccessful, the self-destruct mode will be started and the flash area will be repeatedly erased and written at high speed until the chip is damaged, effectively preventing the internal program from being leaked and stolen.

[0066] Also, please refer to Figure 4 When the sensor chip has no verification value written into it, a unique verification value needs to be implanted into it. The method for generating the verification value in this application includes:

[0067] Step S119: Obtain the sensor ID value;

[0068] Step S120: Processing the ID value to generate a verification value;

[0069] Step S121: storing the verification value into the sensor address flash area of ​​the initial operation.

[0070] In the above embodiment, the generated check value is directly stored in the sensor address flash area, avoiding the need to add an additional program to introduce the check value.

[0071] Embodiment 2:

[0072] See also Figure 5 The present application also discloses a device for preventing a tire pressure sensor from being cracked, comprising:

[0073] A monitoring module 100, the monitoring module 100 is used to start a monitoring mode and monitor an external program connected to the sensor in real time;

[0074] A first processing module 200, the processing module 200 is used to obtain a sensor internal verification value when detecting that an external program is connecting to the sensor;

[0075] The first verification module 300 is used to verify the external program according to the verification value. If the verification is successful, the tire pressure operation is performed normally. If the verification is unsuccessful, the verification mode is continued or the self-destruct mode is started.

[0076] The sensor chip needs to be tested: use an external program to access the sensor to test whether the sensor is at risk of being cracked. The present application provides a device to prevent the tire pressure sensor from being cracked. The monitoring module 100 will always monitor the external program connected to the sensor. The first processing module 200 is used to trigger the action of obtaining the internal verification value of the sensor when it detects that the external program is connecting to the sensor, so as to obtain the sensor verification value. When the verification value is obtained, the first verification module 300 verifies the external program according to the verification value. If the verification is successful, the sensor tire pressure will operate normally. If the verification is unsuccessful, the self-destruct mode will be activated to prevent others from using the sensor to steal the program. By testing the sensor chip, the present application can verify whether the sensor has been cracked, thus solving the problem of program theft.

[0077] The first verification module 300 of the present application is also used to directly verify the external program with the verification value when testing the sensor chip. If the verification is successful, the sensor tire pressure operation is normally operated. If the verification is unsuccessful, the verification mode is continued. Therefore, the present application has another embodiment: when the action of obtaining the internal verification value of the sensor is triggered, the sensor verification value is not obtained. At this time, it is necessary to understand the reason why the verification value cannot be obtained, and it is necessary to judge the sensor to determine whether the sensor is running for the first time, so as to further confirm whether the sensor is at risk of being cracked.

[0078] See also Figure 6 ,include:

[0079] A second processing module 400, the second processing module 400 is used to connect with the sensor, obtain the sensor data and analyze it to obtain the address flash area, wherein the flash area is used to store the check value;

[0080] The judgment module 500 is used to verify the flash area according to the external program to determine whether the sensor is running for the first time. If the sensor is running for the first time, the verification value is written into the flash area.

[0081] See also Figure 7 ,include:

[0082] A detection module 600, the detection module 600 is used when it is detected that an external program is connecting to the sensor, and / or when the sensor is not running for the first time;

[0083] An extraction module 700, the extraction module 700 is used to extract the check value stored in the flash area;

[0084] The second verification module 800 is used to verify the external program according to the stored verification value. If the verification is successful, the tire pressure sensor works normally.

[0085] In the above embodiment, the check value of the sensor will be stored in a specific OTP area. OTP (One Time Programmable) is a memory type of a single-chip microcomputer. Each sensor chip will have its factory ID value written in the OTP area when it leaves the factory. The ID value is unique. When the sensor chip produced for the first time is obtained, the ID value of the sensor chip is obtained, the ID value is spliced ​​with the string, the spliced ​​string is loaded, and the CRC8 check with a loading value of 0x5a and a polynomial of 0x12 is obtained, and the check value is written into the flash area in the OTP area. When judging whether the sensor chip is running for the first time, the second processing module 400 needs to find the flash area in the OTP area, and the judgment module 500 uses 0xFF to check the flash area to judge whether the address of the flash area is 0xFF. If so, the check value is written into the flash area according to the rules. If not, it indicates that the sensor chip is not running for the first time. This application can test whether the sensor has been cracked by testing the sensor chip, which solves the problem of program theft and can also consolidate the sensor without implanting the check value.

[0086] When it is determined that the sensor chip is not running for the first time, in order to prevent the self-destruct mode from being started by mistake, the check value in the flash area needs to be further confirmed. The extraction module 700 extracts the check value stored in the flash area. The second check module 800 of the present application uses an external program to check the check value in the flash area. If the check is successful, the sensor tire pressure works normally. If the check is unsuccessful, the self-destruct mode is started and the flash area is repeatedly erased and written at high speed until the chip is damaged, thereby effectively preventing the internal program from being leaked and stolen.

[0087] Embodiment three:

[0088] See also Figure 8 The present application also discloses an electronic device, which includes a memory and a processor, wherein the memory is used to store a computer program, and the processor is used to call the computer program so that the electronic device executes the steps of a method for preventing a tire pressure sensor from being hacked as described above.

[0089] The present application also discloses a computer-readable storage medium, including instructions. When the instructions are executed on an electronic device, the electronic device executes the steps of a method for preventing a tire pressure sensor from being cracked as described above.

[0090] The present application also discloses a computer program product, which includes computer instructions. When the computer instructions are run on an electronic device, the electronic device executes the steps of a method for preventing a tire pressure sensor from being hacked as described above.

[0091] In the embodiments provided in the present application, it should be understood that the disclosed equipment, devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation, and units with the same function may be combined into one unit. For example, multiple units or components may be combined or integrated into another diagnostic system, or some features may be ignored or not executed. In addition, the mutual coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interfaces, devices or units, or may be electrical, mechanical or other forms of connection.

[0092] The units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the embodiments of the present application.

[0093] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.

[0094] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a storage medium. Based on this understanding, the technical solution of the present application is essentially or the part that contributes to the prior art, or all or 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, including a number of instructions to enable an electronic device (which can be a personal computer, server, or network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only processor (ROM, Read-Only Memory), a disk or an optical disk.

[0095] It should be noted that the above-mentioned technical features are further combined with each other to form various embodiments not listed above, which are all deemed to be within the scope of the present invention; and, for ordinary technicians in this field, they can be improved or transformed according to the above description, and all these improvements and transformations should fall within the scope of protection of the claims attached to the present invention.

Claims

1. A method to prevent tire pressure sensors from being hacked. It is characterized in that include: Start monitoring mode to monitor external programs connected to the sensor in real time; When it is detected that the external program is connecting to the sensor, an internal calibration value of the sensor is obtained; The external program is verified according to the verification value. If the verification is successful, the tire pressure sensor works normally. If the verification is unsuccessful, the verification mode is continued or the self-destruct mode is started.

2. A method for preventing a tire pressure sensor from being cracked according to claim 1, It is characterized in that The method further includes determining whether the sensor is operating for the first time: Connecting with the sensor, acquiring the sensor data and analyzing it to obtain the address flash area, wherein the flash area is used to store the check value; The flash area is verified according to the external program to determine whether the sensor is running for the first time, and if the sensor is running for the first time, the verification value is written into the flash area.

3. A method for preventing a tire pressure sensor from being cracked according to claim 2, It is characterized in that The method further comprises: When it is detected that an external program is connecting to the sensor, and / or when the sensor is not being operated for the first time; Extracting the check value stored in the flash area; The external program is verified according to the stored verification value. If the verification is successful, the tire pressure sensor works normally.

4. A method for preventing a tire pressure sensor from being cracked according to claim 2, It is characterized in that The method further comprises: Obtain the sensor ID value; Processing the ID value to generate a check value; The check value is stored in the sensor address flash area of ​​the initial operation.

5. A device to prevent tire pressure sensor from being cracked, It is characterized in that include: A monitoring module, the monitoring module is used to start a monitoring mode and monitor an external program connected to the sensor in real time; A first processing module, the processing module is used to obtain the internal verification value of the sensor when detecting that the external program is connecting to the sensor; The first verification module is used to verify the external program according to the verification value. If the verification is successful, the tire pressure operation is performed normally. If the verification is unsuccessful, the verification mode is continued or the self-destruct mode is started.

6. A device for preventing a tire pressure sensor from being cracked according to claim 5, It is characterized in that include: A second processing module, the second processing module is used to connect with the sensor, obtain the sensor data and analyze it to obtain the address flash area, wherein the flash area is used to store the check value; A judgment module is used to verify the flash area according to the external program to determine whether the sensor is running for the first time, and if the sensor is running for the first time, write the verification value into the flash area.

7. A device for preventing a tire pressure sensor from being cracked according to claim 6, It is characterized in that include: A detection module, the detection module is used to detect that an external program is connecting to the sensor, and / or if the sensor is not running for the first time; An extraction module, the extraction module is used to extract the check value stored in the flash area; The second verification module is used to verify the external program according to the stored verification value. If the verification is successful, the tire pressure sensor works normally.

8. An electronic device, comprising a memory and a processor, in, The memory is used to store a computer program, and the processor is used to call the computer program, characterized in that the electronic device executes the steps of a method for preventing a tire pressure sensor from being cracked as described in any one of claims 1-4.

9. A computer-readable storage medium comprising instructions, It is characterized in that When the instruction is executed on an electronic device, the electronic device executes the steps of a method for preventing a tire pressure sensor from being cracked according to any one of claims 1 to 4.

10. A computer program product, It is characterized in that The computer program product includes computer instructions. When the computer instructions are run on an electronic device, the electronic device executes the steps of a method for preventing a tire pressure sensor from being cracked according to any one of claims 1 to 4.