A method and system for identifying and processing abnormal keystrokes

By conducting multi-point detection and analysis on the vehicle-mounted key diaphragm, the mechanical and functional abnormalities of the key are accurately identified, and the problem of inaccurate button abnormality handling in the prior art is solved, and rapid and accurate abnormality recognition and processing is achieved.

CN118260697BActive Publication Date: 2025-04-29ZHEJIANG DAMING ELECTRONICS
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202410429468.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-04-10
Publication Date
2025-04-29
Estimated Expiration
2044-04-10

AI Technical Summary

Technical Problem

The existing on-board key technology is difficult to accurately identify and distinguish between mechanical and functional faults of the key, resulting in insufficient handling of key abnormalities.

Method used

By dividing the key diaphragm into multiple detection points, detecting and analyzing the signal strength and status of each detection point, combining the key function state, the abnormal type of the key is determined, and corresponding abnormal feedback and processing are performed.

Benefits of technology

It realizes the rapid and accurate identification of key abnormalities, and can subdivided the identification of mechanical jams and functional jams, improving the efficiency and accuracy of key abnormalities handling, thereby promoting the rapid maintenance of keys.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118260697B_ABST
    Figure CN118260697B_ABST
Patent Text Reader

Abstract

The present invention provides a method and system for identifying and processing key abnormalities, the method comprising: configuring at least one detection point for a key, obtaining the key signal strength of the at least one detection point, pre-setting the key security level, and configuring the number of detection points for keys of corresponding security levels; pre-configuring a key signal threshold, obtaining the key signal of the detection point and judging the number of valid key signals at the key detection point according to the key signal threshold; identifying the current key function triggering state, and analyzing the current key abnormality type in combination with the number of valid signals at the key detection point, the abnormality type including mechanical abnormality and functional abnormality; pre-configuring a corresponding level security protection strategy for each key abnormality type, and when the key is determined to be a corresponding key abnormality type, feeding back the corresponding key abnormality type, and executing the corresponding level security protection strategy.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of vehicle-mounted buttons, and in particular to a method and system for identifying and processing abnormal buttons. Background Art

[0002] Currently, the existing types of vehicle-mounted buttons include touch buttons and push buttons. Push buttons provide a button pressing structure, and are equipped with pressure sensors or distance sensors inside the buttons, while touch buttons are equipped with components including but not limited to capacitors, resistors, etc. to detect related voltage signals. When the push button touches the pressure sensor or distance sensor during the pressing process and reaches the corresponding threshold, the button signal is triggered. However, existing push buttons or touch buttons have problems including but not limited to mechanical failures or software function failures. However, in the prior art, button abnormalities can only be identified through software, but the type of button abnormality cannot be accurately identified. Therefore, the prior art still has a lot of room for improvement in button abnormality identification and processing. Summary of the invention

[0003] One of the inventive purposes of the present invention is to provide a method and system for identifying and processing key abnormalities, wherein the method and system divide a key membrane into multiple detection points, perform key signal detection on the multiple detection points, and judge the key abnormality type based on the key signal detection results of the multiple detection points, wherein the present invention analyzes and processes the states of multiple detection points of the key, and then judges the key abnormality type based on the states of multiple detection points, and executes corresponding abnormality feedback based on the identified key abnormality type judgment result.

[0004] Another inventive object of the present invention is to provide a method and system for identifying and processing key abnormalities. After the method and system conduct a comprehensive analysis of the multiple detection point states of the key and the key function implementation results, it can be concluded whether the key abnormality is a functional abnormality or a mechanical abnormality. The method described in the present invention can identify functional jams and mechanical jams in the key, and then generate feedback data corresponding to the mechanical jams and functional jams of the key, and upload the feedback data to the vehicle central controller for related key abnormality processing, thereby quickly and accurately identifying the subdivided types of key abnormalities, thereby achieving rapid repair processing of key abnormalities.

[0005] Another inventive object of the present invention is to provide a method and system for identifying and processing key abnormalities. The method and system configure different key abnormality protection strategies according to the key security level. When the corresponding key abnormality type is identified, the key abnormality protection strategy of the corresponding level is further activated. The key communication is checked or controlled according to the key abnormality protection strategy of the corresponding level, and the control operation of the vehicle corresponding to the security level is executed, so that the key can effectively ensure the driving safety of the vehicle when an abnormality occurs.

[0006] In order to achieve at least one of the above-mentioned invention objects, the present invention further provides a method for identifying and processing key abnormalities, the method comprising:

[0007] Configure at least one detection point for a key, obtain the key signal strength of the at least one detection point, pre-set the key security level, and configure the number of detection points for the key corresponding to the security level;

[0008] Pre-configure a key signal threshold, obtain the key signal of the detection point and determine the number of valid key signals at the key detection point according to the key signal threshold;

[0009] Identify the current key function trigger state, and analyze the current key abnormality type in combination with the number of valid signals at the key detection point, the abnormality type includes mechanical abnormality and functional abnormality;

[0010] A corresponding level of security protection strategy is pre-configured for each key abnormality type. When a key is determined to be a corresponding key abnormality type, the corresponding key abnormality type is fed back and the corresponding level of security protection strategy is executed.

[0011] According to one of the preferred embodiments of the present invention, the key abnormality types include: unexpected key activation abnormality, key function failure abnormality, key function stuck abnormality and key mechanical stuck abnormality. After detecting the key signal strength of each detection point of the key, if the key signal strength of the current detection point is greater than the key signal threshold, the key signal of the current detection point is determined as a valid key signal, otherwise the key signal of the current detection point is determined as an invalid key signal, which is used to determine the current key abnormality type.

[0012] According to another preferred embodiment of the present invention, according to the preset button security level, at least two button detection points of the corresponding security level button are configured, and a threshold value of the number of valid signals of the button detection point for activating the button function is pre-set. At the same time, the signals of the at least two button detection points are obtained, and the current button function state is judged at the same time; if the number of valid signals of the detection point of the current corresponding security level button is less than the threshold value of the number of valid signals, if the current button function state is in an activated state, the corresponding button is judged as an unexpected activation exception, and feedback information of the unexpected activation exception type of the corresponding button is generated and given to the vehicle control system.

[0013] According to another preferred embodiment of the present invention, the current corresponding security level button is configured as the at least two button detection points, and the signals of the at least two button detection points are obtained simultaneously, and the current button function state is judged simultaneously; if the number of valid signals of the detection points of the current corresponding security level button is greater than the valid signal number threshold, and the current button function state is in an inactivated state, the current button is judged as a button function failure abnormality, and the button function failure abnormality type feedback information is generated to the vehicle control system.

[0014] According to another preferred embodiment of the present invention, a first time threshold is preset, and the current corresponding security level button is configured as the at least two button detection points, and the signals of the at least two button detection points are obtained at the same time. If the current button triggers the button function, the button function trigger holding time is calculated. When the button function trigger holding time is greater than the first time threshold, and the number of valid signals at the detection point is less than the valid signal number threshold, the current button is determined to have a button function stuck abnormality, and button function stuck abnormality feedback information is generated and given to the vehicle control system.

[0015] According to another preferred embodiment of the present invention, a second time threshold is preset, and the current corresponding security level single room is configured as the at least two key detection points, and the signals of the at least two key detection points are obtained at the same time. The number of valid signals of the current key detection point is greater than the valid signal number threshold, and the holding time of the valid signal is calculated. If the holding time of the valid signal is greater than the preset second time threshold, and the current key function is not triggered; the current key is determined to be a key mechanical jam abnormality, and key mechanical jam abnormality feedback information is generated and given to the vehicle control system.

[0016] According to another preferred embodiment of the present invention, when a key is determined to be of a corresponding key abnormal type, CAN communication is established according to the corresponding level security protection strategy and the abnormal key, and E2E protection is performed on the CAN communication, wherein the E2E protection rules are the same as the external controller rules.

[0017] According to another preferred embodiment of the present invention, the corresponding level of security protection strategy includes: when a button is found to have a corresponding type of key abnormality, according to the vehicle control system safety target SG setting, the corresponding abnormal key information is reported to the vehicle control system within the fault tolerance time interval FTTI, and the vehicle safety control operation is executed according to the safety target SG setting.

[0018] In order to achieve at least one of the above-mentioned invention purposes, the present invention further provides a key abnormality identification and processing system, which executes the above-mentioned key abnormality identification and processing method.

[0019] The present invention further provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and the computer program is executed by a processor to implement the above-mentioned key abnormality identification and processing method. BRIEF DESCRIPTION OF THE DRAWINGS

[0020] Figure 1 Shown is a flow chart of a key abnormality identification and processing method of the present invention. DETAILED DESCRIPTION

[0021] The following description is used to disclose the present invention so that those skilled in the art can implement the present invention. The preferred embodiments described below are only examples, and those skilled in the art can think of other obvious variations. The basic principles of the present invention defined in the following description can be applied to other embodiments, variations, improvements, equivalents, and other technical solutions that do not deviate from the spirit and scope of the present invention.

[0022] It is to be understood that the term "one" should be understood as "at least one" or "one or more", that is, in one embodiment, the number of an element may be one, while in another embodiment, the number of the element may be multiple, and the term "one" should not be understood as a limitation on the quantity.

[0023] Please combine Figure 1 The present invention discloses a method and system for key abnormality identification and processing, the method comprising: first, it is necessary to configure key detection points for different types of keys, wherein the key detection points can be set according to the security level of the key function, for example, a higher security level can be configured for keys related to driving operations, while a low security level can be configured for keys such as interior atmosphere lights that are not related to driving operations. The key security level can be set according to the ISO26262 automotive safety performance level standard, in which five levels including QM, ASIL-A, B, C and D are set, wherein QM is a general process processing and does not require security settings, and the four security levels of ASIL-A, B, C and D increase in sequence. The above-mentioned level setting for each key function is set according to the actual demand standard, and the present invention will not be described in detail. It should be noted that the number of key detection points in the present invention can be set at least one according to the security level of the key. A lower number of detection points can be set for keys with low security levels, and a larger number of detection points can be set for keys with high security levels. For example, for buttons with a safety level below ASIL-A (including ASIL-A), one button detection point can be configured; for buttons with a level above ASIL-B (including ASIL-B), at least two button detection points can be configured. It should be noted that the button detection points in the present invention are set according to detection membranes, such as capacitive touch membranes or pressure touch membranes, and a single touch membrane is a detection point. The type and number of detection membranes corresponding to the button safety level are configured. For buttons with a higher safety level, at least two button detection point signals need to be detected to execute the corresponding button function. Therefore, the setting of detection points of multiple membranes for buttons with different safety levels in the present invention can effectively reduce the safety risks caused by the failure of a single membrane.

[0024] Specifically, the present invention determines the abnormal type of each key according to the detection point signal of each membrane of the key and the state of the key at the same time, wherein when the user touches the key, the signal strength of the detection point can be obtained through the detection membrane set on the corresponding key touch panel, wherein the key signal threshold can be set in advance on the corresponding key, if the signal strength of the detection point of the user touching the corresponding key is greater than the key signal threshold, then the signal of the key corresponding detection point is determined to be a valid signal, otherwise it is determined to be an invalid signal. In the present invention, the effective signal number threshold is set according to the configured key security level, wherein when the key security level is below ASIL-A, the effective signal number threshold is set to 1, at this time, as long as there is a corresponding key The detection point signal strength of at least one detection membrane is greater than the key signal threshold, the user touch detection of the key is a valid touch, and at this time, if the actual function of the key is triggered, it is determined that the key function is valid. In some other preferred embodiments of the invention, for buttons with a safety level of ASIL-B or above, at least two detection membranes are set on the corresponding buttons, and more than two valid signal number thresholds are set on the corresponding buttons, wherein the valid signal number threshold is less than or equal to the number of detection membranes of the detection membranes. When the user actually touches the corresponding ASIL-B or above button, only when the number of valid signals at the detection point is greater than the valid signal number threshold is it determined as a valid touch, and at this time if the actual function of the button is triggered, it is determined that the button function is valid.

[0025] It is worth mentioning that the key abnormality detection types described in the present invention include key function abnormality and mechanical abnormality, wherein the function abnormality includes: key unexpected activation abnormality, key function failure abnormality, key function stuck abnormality; the key mechanical abnormality includes: key mechanical stuck abnormality. The method for determining the key unexpected activation abnormality includes: simultaneously acquiring the at least one key detection point signal, and simultaneously determining the current key function state; if the number of valid signals of the detection point of the current corresponding security level key is less than the valid signal number threshold, and the current key function state is in the activated state, then the corresponding key is determined to have the key unexpected activation abnormality. The key unexpected activation abnormality described in the present invention indicates the problem that the actual signal detection result of the key and the actual function do not match. For example, the key types of the key unexpected activation abnormality include but are not limited to: ZEEKRAD function unexpected activation, driver did not press the recovery function to activate by mistake, driver did not use the touch key to trigger by mistake, cancel function unexpected activation and P417 unexpected activation of HUD function feedback to LED and motor. The causes of the above-mentioned unexpected activation abnormality may include but are not limited to the existence of key function hijacking, key signal or communication failure, etc. After the detection of the key detection point and the actual function triggering judgment of the key obtain the unexpected activation exception of the key, the present invention executes the corresponding vehicle safety goal SG according to the key safety level, and reports the corresponding abnormal key information to the vehicle control system within the fault-tolerant time interval FTTI. The vehicle control system establishes CAN communication with the corresponding key according to the key abnormality type, and performs E2E protection on the CAN communication, wherein the E2E protection rules are the same as the external controller rules.

[0026] It should be explained that the vehicle safety target SG in the present invention is based on the vehicle safety adjustment control of the whole vehicle. For example, after a certain safety level button is unexpectedly triggered by mistake, the safety of the vehicle operation result is predicted, and the adjustment control of the safety target SG makes it possible to adjust the relevant vehicle control or button function after the button is unexpectedly triggered by mistake to obtain an abnormal processing result with a relatively lower safety risk. Among them, the vehicle safety target SG, different manufacturers can set the adjustment control of different buttons in different ways, and the present invention will not go into details. Among them, the above-mentioned E2E protection is an end-to-end protection mechanism within the vehicle. In the present invention, each abnormal button can be considered as an end (end) and the vehicle controller ECU can be considered as another end (end), and the E2E protection mechanism in the present invention is the communication protection between the abnormal button and the vehicle controller. Among them, the E2E protection mechanism includes CRC (cyclic redundancy check), Counter (counter), Timeout monitoring (timeout monitoring) and Data ID. The E2E protection mechanism can select any one of the above-mentioned combined protection methods. Through the E2E protection mechanism, the key can quickly find the cause of the functional failure after encountering the unexpected false trigger, so that the corresponding key function failure elimination operation can be quickly executed.

[0027] Furthermore, the present invention's method for judging the failure of the button function includes: obtaining the signal of at least one button detection point, and judging the current button function state at the same time; if the number of valid signals of the detection point of the current corresponding security level button is greater than the threshold of the number of valid signals, and the current button function state is in an unactivated state, then the current button is judged as a button function failure exception, and the button function failure exception type feedback information is generated to the vehicle control system. The button types of button function failure include: ZEEKRAD function failure, driver press recovery function failure, driver use touch button failure, cancel function failure, and P417 failure to activate the HUD function feedback to the LED and motor. After obtaining the above-mentioned button function failure judgment, the E2E protection of CAN communication is performed on the function failure button according to the vehicle safety target SG, and the present invention will not elaborate on this.

[0028] The core technical solution of the present invention is to identify the function jamming and mechanical jamming of a key, wherein the method for identifying the function jamming of a key comprises: presetting a first time threshold, obtaining at least one key detection point signal of the key at the same time, and calculating the key function trigger holding time after the current key triggers the key function, when the key function trigger holding time is greater than the first time threshold, and the number of valid signals detected at the key detection point within the key function trigger holding time is less than the valid signal number threshold, it means that the current key no longer detects the touch signal, but the key function generated based on the previous touch signal still remains activated and not released, then the current key is determined to be a key function jam abnormality. It should be noted that the key function jam identification can be set for a key that is triggered by a specific touch, such as a speaker key, etc. The key function jam identification is also applicable to a key that should turn off the corresponding function but does not turn off the corresponding function. When the corresponding key is identified as a function jam abnormality, the E2E protection of CAN communication is performed on the function jam key according to the vehicle safety target SG, and the present invention will not be described in detail.

[0029] The method for identifying key mechanical abnormalities includes: presetting a second time threshold, obtaining at least one key detection point signal at the same time, the number of valid signals at the current key detection point is greater than the valid signal number threshold, calculating the holding time of the valid signal, if the holding time of the valid signal is greater than the preset second time threshold, and the current key function is not triggered, then the current key is determined to be a key mechanical stuck abnormality. The core feature of the key mechanical stuck is that the user maintains a high intensity of the effective signal of the key contact for a long time. For example, a push-down key remains in a pressed state for a long time, so that the pressure sensor always maintains a high or low state. At this time, pressing the key or automatically rising the key does not affect the key signal strength. Therefore, the key signal will not trigger the actual key function due to pressing the key. In this state, it can be considered that the key function cannot be triggered due to mechanical failure of the key, which is a key mechanical stuck abnormality.

[0030] After detecting the above-mentioned unexpected key activation anomalies, key function failure anomalies, key function jam anomalies and key mechanical jam anomalies respectively, a corresponding key abnormality code is generated, and the key abnormality code is sent to the vehicle control system for the safety protection level corresponding to the key abnormality, and a corresponding vehicle control instruction is generated.

[0031] The embodiments disclosed in the present invention, the process described above with reference to the flowchart can be implemented as a computer software program. The embodiments disclosed in the present invention include a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program contains a program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from the network through the communication part, and / or installed from a removable medium. When the computer program is executed by the central processing unit (CPU), the above-mentioned functions defined in the method of the present application are executed. It should be noted that the above-mentioned computer-readable medium of the present application can be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two. The computer-readable storage medium can be, for example, but not limited to, a system, device or device of an electrical, magnetic, optical, electromagnetic, infrared segment, or semiconductor, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to, an electrical connection with one or more wire segments, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present application, a computer-readable storage medium may be any tangible medium containing or storing a program that can be used by or in conjunction with an instruction execution system, apparatus, or device. In the present application, a computer-readable signal medium may include a data signal propagated in baseband or as part of a carrier wave, which carries a computer-readable program code. Such propagated data signals may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. A computer-readable signal medium may also be any computer-readable medium other than a computer-readable storage medium, which may send, propagate, or transmit a program for use by or in conjunction with an instruction execution system, apparatus, or device. The program code embodied on the computer readable medium may be transmitted using any appropriate medium, including but not limited to wireless, electrical wire, optical cable, RF, etc., or any suitable combination of the foregoing.

[0032] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present invention. In this regard, each square box in the flow chart or block diagram can represent a module, a program segment or a part of a code, and the module, the program segment or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the square box can also occur in a sequence different from that marked in the accompanying drawings. For example, two square boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each square box in the block diagram and / or flow chart, and the combination of the square boxes in the block diagram and / or flow chart can be implemented with a dedicated hardware-based system that performs the specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.

[0033] Those skilled in the art should understand that the embodiments of the present invention described above and shown in the accompanying drawings are only examples and do not limit the present invention. The objectives of the present invention have been fully and effectively achieved. The functional and structural principles of the present invention have been demonstrated and explained in the embodiments. Without departing from the principles, the implementation methods of the present invention may be deformed or modified in any way.

Claims

1. A method for identifying and processing abnormal keystrokes, characterized in that: The method comprises: Configure at least one detection point for a key, obtain the key signal strength of the at least one detection point, pre-set the key security level, and configure the number of detection points for the key corresponding to the security level; Pre-configure a key signal threshold, obtain the key signal of the detection point and determine the number of valid key signals at the key detection point according to the key signal threshold; Identify the current key function trigger state, and analyze the current key abnormality type in combination with the number of valid signals at the key detection point, the abnormality type includes mechanical abnormality and functional abnormality; Among them, the key abnormality types include: unexpected key activation abnormality, key function failure abnormality, key function stuck abnormality and key mechanical stuck abnormality. After detecting the key signal strength of each detection point of the key, if the key signal strength of the current detection point is greater than the key signal threshold, the key signal of the current detection point is determined as a valid key signal, otherwise the key signal of the current detection point is determined as an invalid key signal, which is used to determine the current key abnormality type; According to the preset key security level, at least two key detection points are configured for the key of the corresponding security level, a threshold value of the number of valid signals of the key detection points for activating the key function is pre-set, the signals of the at least two key detection points are obtained at the same time, and the current key function state is determined at the same time; if the number of valid signals of the detection point of the key of the current corresponding security level is less than the threshold value of the number of valid signals, if the current key function state is in an activated state, the corresponding key is determined as an unexpected key activation exception, and feedback information of the unexpected key activation exception type is generated for the vehicle control system; A corresponding level of security protection strategy is pre-configured for each key abnormality type. When a key is determined to be a corresponding key abnormality type, the corresponding key abnormality type is fed back and the corresponding level of security protection strategy is executed.

2. A method for identifying and processing key abnormalities according to claim 1, characterized in that: A first time threshold is preset, and the currently corresponding security level button is configured as the at least two button detection points. The signals of the at least two button detection points are obtained at the same time. If the current button triggers the button function, the button function trigger holding time is calculated. When the button function trigger holding time is greater than the first time threshold, and the number of valid signals at the detection point is less than the valid signal number threshold, the current button is determined to be a button function stuck abnormality, and button function stuck abnormality feedback information is generated to the vehicle control system.

3. The method for identifying and processing abnormal keystrokes according to claim 1, characterized in that: A second time threshold is preset, and the current corresponding security level single room is configured as the at least two key detection points. The signals of the at least two key detection points are obtained at the same time. The number of valid signals of the current key detection point is greater than the valid signal number threshold. The holding time of the valid signal is calculated. If the holding time of the valid signal is greater than the preset second time threshold, and the current key function is not triggered; the current key is determined to be a key mechanical jam abnormality, and key mechanical jam abnormality feedback information is generated to the vehicle control system.

4. The method for identifying and processing abnormal keystrokes according to claim 1, characterized in that: When a key is determined to be of a corresponding key abnormal type, CAN communication is established according to the corresponding level security protection strategy and the abnormal key, and E2E protection is performed on the CAN communication, wherein the E2E protection rules are the same as the external controller rules.

5. The method for identifying and processing abnormal keystrokes according to claim 1, characterized in that: The corresponding level of safety protection strategy includes: when a button is found to have a corresponding type of button abnormality, according to the vehicle control system safety target SG setting, the corresponding abnormal button information is reported to the vehicle control system within the fault tolerance time interval FTTI, and the vehicle safety control operation is executed according to the safety target SG setting.

6. A key abnormality identification and processing system, characterized in that: The system executes a key abnormality identification and processing method as described in any one of claims 1 to 5.

7. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and the computer program is executed by a processor to implement a key abnormality identification and processing method as described in any one of claims 1 to 5.

Citation Information

Patent Citations

  • Method and device for recognizing key is triggered and mobile terminal

    CN106873834A

  • Abnormality detector and abnormality monitoring system

    JP2007233792A