Key detection method and device, electronic equipment and vehicle
By detecting the power status of the key and conducting emergency legality and existence detection, the problem of the key being forgotten in the car after the power is lost is solved, effectively monitoring and alarming the risk of key forgetting is realized, and the safety and intelligence of the vehicle are improved. .
Patent Information
- Application Number
- CN202311033638.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-08-16
- Publication Date
- 2025-02-21
AI Technical Summary
After the key is out of power, the vehicle cannot effectively detect whether the key is forgotten in the car, resulting in safety and property safety risks.
Provide a method and device for detecting keys, by determining the power status of the key, conducting emergency detection, legality detection and existence detection in response to the power loss state, and if the key is legal and exists, an alarm prompt is made.
It effectively avoids the risk of forgetting the key in the car, improves the intelligent and humanized functions of the vehicle, and ensures the safety of users and vehicles.
Smart Images

Figure CN119495168A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of vehicle technology, and in particular to a key detection method, device, electronic equipment and vehicle. Background Art
[0002] When the vehicle's smart key is fully charged, low-frequency electromagnetic radiation (LF) is used to find the location of the smart key when the vehicle is locked. If the key is in the vehicle, an alarm signal (sound or image alarm) is issued to remind the user to prevent the key from being forgotten in the vehicle. However, when the key is out of power, the engine immobilizer (IMMO) coil is needed to find the key in order to start the vehicle. The IMMO coil generally has a search range of only 3 to 5 cm for the key, and the key needs to be placed in a designated area (the sensing area of the IMMO coil). There is a possibility that the key may be forgotten in the vehicle when the owner leaves the vehicle. Summary of the invention
[0003] In view of this, the purpose of the present application is to propose a key detection method, device, electronic device and vehicle for solving the problem of a key being forgotten in a vehicle after losing power.
[0004] Based on the above purpose, the first aspect of the present application provides a key detection method, comprising:
[0005] Determine the key's power status;
[0006] In response to the power state being a low-power state, performing a legitimacy detection on the key according to a preset emergency detection area;
[0007] In response to the key being a legitimate key, controlling the vehicle to power on and performing user status detection;
[0008] In response to the user state being an out-of-vehicle state, performing a legitimacy detection and an existence detection on the key according to the emergency detection area;
[0009] In response to the key being a legitimate key and the key existing, an alarm prompt is issued.
[0010] A second aspect of the present application provides a key detection device, characterized in that it includes:
[0011] The power detection module is configured to: determine the power status of the key;
[0012] A legitimacy detection module is configured to: in response to the power state being a low-power state, perform a legitimacy detection on the key according to a preset emergency detection area;
[0013] A user status detection module is configured to: in response to the key being a legitimate key, control the vehicle to be powered on and perform user status detection;
[0014] A lost detection module is configured to: in response to the user being in a vehicle-away state, perform a legitimacy detection and an existence detection on the key according to the emergency detection area;
[0015] The alarm prompt module is configured to: in response to the detection result that the key is a legal key and the key exists, issue an alarm prompt.
[0016] The third aspect of the present application provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, the method provided in the first aspect of the present application is implemented.
[0017] The fourth aspect of the present application provides a vehicle, comprising the key detection device provided in the second aspect of the present application, wherein the key detection device is used to execute the method provided in the first aspect of the present application.
[0018] From the above, it can be seen that the key detection method, device, electronic device and vehicle provided by the present application can, after determining that the key's power state is low, perform a legitimacy check on the key according to a preset emergency detection area, and after determining that the key is a legal key, control the vehicle to power on and perform a user status check. Performing a key legitimacy check according to the emergency detection area and completing the vehicle power-on are prerequisites for key detection. At this time, it can be determined that the user has entered the vehicle and the key has been placed in a specific emergency detection area, and there is a possibility of being forgotten. After the prerequisite is met, the user status detection is performed to determine whether the trigger condition of the key being forgotten is met. When the user status is off-vehicle, it is determined that the trigger condition is met and the corresponding execution action is performed, that is, the key is detected for legality and existence according to the emergency detection area. If the detection result is that the key is a legal key and the key exists, an alarm is issued. After determining that the key is a legal key and the key exists, it means that the key is left in the emergency detection area, but the user has already got off the car. It can be determined that the key is forgotten, and an alarm is issued to remind the user that the key is forgotten, avoiding the key being forgotten in the car, improving the vehicle's intelligence and humanized functions, and ensuring the safety of the user's vehicle and property. BRIEF DESCRIPTION OF THE DRAWINGS
[0019] In order to more clearly illustrate the technical solutions in the present application or related technologies, the drawings required for use in the embodiments or related technical descriptions are briefly introduced below. Obviously, the drawings described below are only embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0020] Figure 1 This is a flow chart of a key detection method according to an embodiment of the present application;
[0021] Figure 2 A block diagram of a key detection method according to an embodiment of the present application;
[0022] Figure 3 A flowchart for performing a legality check for an embodiment of the present application;
[0023] Figure 4 A flowchart of performing user status detection for an embodiment of the present application;
[0024] Figure 5 A flowchart of performing user status detection for an embodiment of the present application;
[0025] Figure 6 This is a flow chart of a presence detection according to an embodiment of the present application;
[0026] Figure 7 This is another flow chart of existence detection in an embodiment of the present application;
[0027] Figure 8 This is a schematic diagram of the structure of a key detection device according to an embodiment of the present application;
[0028] Fig. 9 It is a schematic diagram of the structure of an electronic device according to an embodiment of the present application. DETAILED DESCRIPTION
[0029] In order to make the objectives, technical solutions and advantages of the present application more clearly understood, the present application is further described in detail below in combination with specific embodiments and with reference to the accompanying drawings.
[0030] It should be noted that, unless otherwise defined, the technical terms or scientific terms used in the embodiments of the present application should be the usual meanings understood by people with ordinary skills in the field to which the present application belongs. The "first", "second" and similar words used in the embodiments of the present application do not represent any order, quantity or importance, but are only used to distinguish different components. "Including" or "comprising" and similar words mean that the elements or objects appearing in front of the word cover the elements or objects listed after the word and their equivalents, without excluding other elements or objects. "Connect" or "connected" and similar words are not limited to physical or mechanical connections, but can include electrical connections, whether direct or indirect. "Up", "down", "left", "right" and the like are only used to indicate relative positional relationships. When the absolute position of the described object changes, the relative positional relationship may also change accordingly.
[0031] It should be understood herein that any number of elements in the drawings is for illustration rather than limitation, and any naming is only for distinction rather than having any limiting meaning.
[0032] Based on the description of the above background technology, the related technology also has the following situations:
[0033] LF or Bluetooth is used to determine the key location, and when the user leaves the car, the key location is used to determine whether the key is forgotten in the car. However, detection of the key location through LF or Bluetooth requires that the key has sufficient power to send low-frequency electromagnetic wave signals or Bluetooth signals for the vehicle to detect the key location. However, after the key runs out of power, the key cannot send low-frequency electromagnetic wave signals or Bluetooth signals to the outside, and the key positioning will fail, and the key forgotten function will fail.
[0034] When the key is out of power, when the smart key is out of power, the vehicle cannot be unlocked and started through Remote Keyless Entry (RKE) / Passive Keyless Entry (PKE). At this time, the engine anti-theft locking system IMMO can be used as a backup emergency mode to unlock. At this time, the LF driver uses the PKE / IMMO antenna that can be used as a shared antenna, which is both a transmitting antenna and a receiving antenna. By placing the smart key close to the IMMO coil and charging through mutual induction, low-frequency authentication can be achieved, and emergency start can be achieved after authentication.
[0035] Among them, remote keyless entry refers to the user using the remote key to unlock the vehicle and enter, which is what we often call the RKE method. With the development of technology, the method of unlocking the vehicle has also changed from requiring the user to actively operate to the vehicle actively completing the key and vehicle matching with the legal key to complete the unlocking of the vehicle. The user can press the micro switch on the vehicle door handle to unlock the vehicle, and now the user only needs to bring the legal key close to the vehicle to unlock the vehicle, which is collectively referred to as the PKE method.
[0036] However, the effective detection range of the IMMO coil of the engine anti-theft locking system is generally 2-3 cm extending outward from the coil range, that is, the vehicle can only be powered on and started when the key is placed in the emergency detection area corresponding to the IMMO coil. Therefore, the user may forget to take the key back after starting the vehicle, and forget the key in the emergency detection area corresponding to the IMMO coil. After the user leaves the vehicle, the user forgets the key in the car. When the key position detection in the related technology fails, the user cannot be reminded that the key is left in the car, which may cause the user's vehicle safety and property safety to be infringed.
[0037] The key detection method, device, electronic device and vehicle provided in the embodiment of the present application can detect the legitimacy of the key according to the preset emergency detection area after determining that the power state of the key is low-power, and after determining that the key is a legal key, control the vehicle to power on and perform user status detection. Performing key legitimacy detection according to the emergency detection area and completing vehicle power on are prerequisites for key detection. At this time, it can be determined that the user has entered the vehicle and the key has been placed in a specific emergency detection area, and there is a possibility of being forgotten. After the prerequisite is met, the user status detection is performed to determine whether the trigger condition of the key being forgotten is met. When the user status is the vehicle-leaving state, it is determined that the trigger condition is met and the corresponding execution action is performed, that is, the legitimacy detection and existence detection of the key are performed according to the emergency detection area. If the detection result is that the key is a legal key and the key exists, an alarm prompt is performed. After determining that the key is a legal key and the key exists, it means that the key is left in the emergency detection area, but the user has already gotten off the vehicle. It can be determined that the key is forgotten, and an alarm is performed to remind the user that the key is forgotten, so as to avoid the key being forgotten in the vehicle, thereby improving the intelligent and humanized functions of the vehicle and ensuring the safety of the user's vehicle and property. The invention is described with reference to the accompanying drawings and embodiments.
[0038] In some embodiments, a key detection method, such as Figure 1 As shown, including:
[0039] Step 101: Determine the power status of the key.
[0040] In specific implementation, when the key has sufficient power, the vehicle can locate the key through the low-frequency electromagnetic waves or Bluetooth signals sent by the key, and then give a reminder when the key is forgotten in the car; when the key is out of power, it is necessary to determine the key position through the low-frequency electromagnetic waves or Bluetooth signals. At this time, it is necessary to use the engine anti-theft locking system as an IMMO emergency starting device to perform an emergency start of the vehicle. Emergency starting will increase the probability of the key being forgotten, so the power status of the key determines whether the traditional detection method in the relevant technology is applicable, and can be used to determine whether the key detection method provided in the embodiment of the present application can be further executed.
[0041] Step 102: In response to the power state being a low-power state, a key legitimacy detection is performed according to a preset emergency detection area.
[0042] In specific implementation, when the key's power status is in a low-power state (for example, when the key's current power is less than or equal to a preset power threshold, or the LF signal / Bluetooth signal cannot be detected, it can be determined that the key's power status is in a low-power state; when the key's current power is greater than the preset power threshold, it can be determined that the key's power status is not in a low-power state), it means that the key is exhausted and the vehicle cannot be started through the remote keyless entry RKE or the passive keyless entry PKE. At this time, the engine anti-theft locking system can be used as a backup emergency mode to start the vehicle.
[0043] To start the vehicle using the engine immobilizer system, the key needs to be tested for legitimacy, that is, the key is placed in the preset emergency detection area. If the key ID is the same as the preset ID, the legitimacy test passes and the key can be determined to be a legitimate key. If the key ID does not exist in the preset ID, the key is confirmed to be an illegal key and the vehicle cannot be started.
[0044] The emergency detection area may be an area greater than or equal to the detection range of the IMMO coil, and the emergency detection area needs to cover the detection range of the IMMO coil.
[0045] Step 103: In response to the key being a legitimate key, the vehicle is powered on and a user status detection is performed.
[0046] In specific implementation, after it is determined that the key placed in the emergency detection area is a legitimate key, the vehicle can be started smoothly. Therefore, after determining that the key is a legitimate key, the vehicle is powered on and started to drive. During driving, the user will focus on driving operations and road condition observations, and may easily forget that the key has been placed in the emergency detection area. Therefore, the legitimacy detection of the key in the case of power loss and the successful start of the vehicle are determined as prerequisites for key detection. In order to avoid the user forgetting to take the key with him after getting off the vehicle, it is necessary to perform user status detection in real time to determine whether the triggering conditions for the user to leave the vehicle are met. For example, the change in the opening and closing state of the main driving door can be detected to determine whether the user has left the vehicle. It can also be further confirmed whether the user has really left the vehicle by detecting the seat weight or camera recognition.
[0047] Step 104: In response to the user being in the vehicle-away state, a key legitimacy check and existence check are performed according to the emergency detection area.
[0048] In specific implementation, if the user status is the out-of-car status, it means that the user has left the vehicle, and it is necessary to further determine whether the key is left in the emergency detection area by the user. Therefore, after determining that the user status is the out-of-car status, the key is subjected to a joint detection of legality and existence according to the emergency detection area. The existence detection is used to determine whether there is an object in the emergency detection area, and the legality detection is used to determine whether the object is a key. When both tests pass at the same time, it can be determined that the key was left in the car.
[0049] Step 105: In response to the key being a legitimate key and existing, an alarm is issued.
[0050] During specific implementation, if the detection result is that the key is a legal key and the key exists, it means that the user left the key in the car after leaving the car. At this time, an alarm prompt needs to be executed. The alarm prompt can be a buzzer alarm while giving sound and image prompts through the instrument (the instrument includes the instrument panel and central control display screen, etc.). The sound prompt can be a preset or default voice broadcast "The key is left in the car, please take the key away in time." And a pop-up window or other animation will be displayed on the display screen to inform the user that the key is left in the car, so that the user can return to the vehicle to take the key, thereby avoiding the key being forgotten in the car, improving the vehicle's intelligence and humanized functions, and ensuring the safety of the user's vehicle and property.
[0051] For example, Figure 2 The block diagram of the key detection method shown is used as an example to illustrate that when the key is in a low-power state, after the key is placed in the emergency detection area, the body controller performs a legitimacy check on the key through the LF through the IMMO emergency starting device (engine anti-theft locking system equipped with a pressure sensor), that is, the key is placed in the preset emergency detection area. If the key ID is the same as the preset ID, the legitimacy check passes, and it can be determined that the key is a legal key. The body controller controls the vehicle to power on and start the vehicle.
[0052] If the key ID does not exist in the preset ID, the body controller determines that the key is an illegal key and cannot control the vehicle to start the vehicle. After the vehicle is started, it is determined that the prerequisite for key detection is met, and the body controller performs user status detection. The user status detection is performed to determine whether the trigger condition of the key being forgotten is met. When the user status is the vehicle-leaving state, the body controller determines that the trigger condition is met and executes the corresponding execution action, that is, the body controller performs a legality detection and existence detection on the key according to the emergency detection area.
[0053] Among them, Figure 2As shown, a pressure sensor can be used to detect the existence of the key. If the detection weight detected by the pressure sensor is within the preset effective weight range, the body controller determines that the key exists; if the detection weight detected by the pressure sensor is not within the preset effective weight range, the body controller determines that the key does not exist; and the legality detection is the same as the legality detection during the vehicle startup process. When the body controller determines through the LIN bus that the MMO emergency starting device detects that the key is a legal key and the key exists, it can be determined that the key was forgotten in the car when the user left the car. The body controller controls the buzzer alarm through the CAN bus and controls the instrument to give sound and image prompts, so that the user returns to the vehicle to take the key, thereby avoiding the key being forgotten in the car, improving the vehicle's intelligence and humanized functions, and ensuring the safety of the user's vehicle and property.
[0054] To sum up, the key detection method provided in the embodiment of the present application can perform a legitimacy check on the key according to a preset emergency detection area when the key is in a low-power state, and after determining that the key is a legal key, control the vehicle to power on, and after determining that the key is a legal key and the key exists, it indicates that the key is left in the emergency detection area, but the user has already got off the vehicle. It can be determined that the key is forgotten, and an alarm is sounded to remind the user that the key is forgotten, thereby preventing the key from being forgotten in the car, thereby improving the vehicle's intelligence and humanized functions, and ensuring the safety of the user's vehicle and property.
[0055] In some embodiments, Figure 3 As shown, the key is tested for legitimacy according to the preset emergency detection area, including:
[0056] Step 301: Perform a key ID detection on the key in the emergency detection area to obtain an identification ID.
[0057] In specific implementation, since the engine anti-theft locking system IMMO has a chip installed in the ignition key, each chip has a fixed ID. Only when the ID of the key chip matches the preset ID of the vehicle (generally the engine ID), the car can be started. If they are inconsistent, the engine cannot be started. When the user places the key within the detection range of the IMMO coil, the engine anti-theft locking system transmits a low-frequency signal to start the authentication process. The working energy of the key-end transponder is provided by the low-frequency signal emitted by the engine anti-theft locking system. During the authentication process, the transponder placed in the key first sends its own ID number. After verification by the engine anti-theft locking system chip, the engine anti-theft locking system will send a string of random numbers and MAC addresses, and the transponder will respond. In order to improve security, each signal sent is encrypted data. Therefore, when performing key legitimacy detection, it is first necessary to perform key ID detection on the key in the emergency detection area to obtain the key identification ID.
[0058] Step 302: Determine the legitimacy of the key based on the identification ID and a preset set of legal IDs.
[0059] In specific implementation, the preset legal ID set is generally the ID set of the engine, and the legal ID set includes at least one ID. For example, for a pure electric vehicle, it may only include the ID of the motor; for a pure fuel vehicle, it may only include the ID of the engine; for a hybrid vehicle, it may include the engine ID and / or the motor ID; for a hybrid vehicle with multiple drive sources, it may include more IDs, which are not specifically limited here. If there is an ID matching the identification ID in the preset legal ID set, the key is determined to be a legal key; if there is no ID matching the identification ID in the preset legal ID set, the key is determined to be an illegal key (at this time, other debris may be placed in the emergency monitoring area, such as a coaster).
[0060] The preset legal ID set may also be some encrypted IDs, and the identification ID may be used to decrypt the encrypted IDs in the legal ID set. If there is an ID that can be decrypted by the identification ID, it is determined that the key corresponding to the identification ID is a legal key.
[0061] In some embodiments, step 302 includes:
[0062] Step 3021: In response to the identification ID existing in the legal ID set, determine that the key is a legal key.
[0063] In specific implementation, taking a hybrid vehicle with dual drive sources as an example, if the identification ID is 001 and / or 002, and the IDs in the legal ID set are 001 and 002, it can be determined that the identification ID exists in the legal ID set, and the key with the identification ID 001 and / or 002 is determined to be a legal key.
[0064] Step 3022: In response to the identification ID not being present in the set of legal IDs, determining that the key is an illegal key.
[0065] In specific implementation, taking a hybrid vehicle with dual drive sources as an example, if the identification ID is 003, and the IDs in the legal ID set are 001 and 002, it can be determined that the identification ID does not exist in the legal ID set, and the key with identification ID 003 is determined to be an illegal key.
[0066] In some embodiments, Figure 4 As shown, user status detection is performed, including:
[0067] Step 401: monitor the opening and closing status of the main vehicle door in real time.
[0068] In specific implementation, the user status is mainly determined by monitoring the opening and closing status of the car door. The opening and closing status of the main driving car door includes the open state and the closed state. Among them, the purpose of real-time monitoring is to understand the changes in the opening and closing status of the main driving car door, and then determine the user's status. Using the main driving car door to detect the user status can best reflect whether the user has left the car, and fewer signals need to be collected, less resources are occupied, and the accuracy is relatively high.
[0069] Step 402: In response to the switch state changing from the closed state to the open state, determining that the user state is the away state.
[0070] During specific implementation, if the opening and closing state of the main driving door changes from a closed state to an open state, it means that the user is in the car. The main driving door is opened when the main driving door is in a closed state, so that the opening and closing state of the main driving door changes from a closed state to an open state. It can be determined that the user has opened the door and that the user has left the vehicle. It is necessary to continue to check whether the key is left in the car to determine whether it is necessary to continue to alarm.
[0071] In some embodiments, Figure 5 As shown, after the switch state changes from the closed state to the open state, it also includes:
[0072] Step 501: Monitor the load-bearing weight of the main driver's seat in real time.
[0073] In specific implementation, there is still a certain possibility of misjudgment when judging the user status only by the open and closed status of the main driving door, so further confirmation is needed through other tests. The load weight of the main driving seat can be detected to determine whether the user has left the seat. If the user has left the seat, it means that the possibility of misjudgment is very small and the user has really left the vehicle.
[0074] Step 502: Acquire the monitoring image of the main driver's seat in real time and perform person recognition on the monitoring image.
[0075] In specific implementation, it is also possible to determine whether the user has left the seat by acquiring the monitoring image of the main driver's seat in real time, and perform person recognition on the monitoring image. If no person is recognized in the monitoring image, it means that the user has left the main driver's seat. If the user has left the seat, it means that the possibility of misjudgment is very small and the user has really left the vehicle.
[0076] Step 503: In response to the carrying weight being less than or equal to the preset weight threshold, and the recognition result of the person recognition is that there is no person image, it is determined that the user status detection is valid and the user status is determined to be an away state.
[0077] In specific implementation, the preset weight threshold can be set to 30 kilograms, because a weight threshold that is too small may be affected by heavier objects, resulting in misjudgment of whether the user has left the driver's seat, and a weight threshold that is too large may cause misjudgment of some lighter users. Therefore, the weight threshold should generally be selected within an appropriate range, such as the range of 15 to 40. The relationship between the load weight and the weight threshold can be used to determine whether the user has left the driver's seat. If the load weight is less than or equal to the preset weight threshold, it means that the user has left the seat; if the load weight is greater than the preset weight threshold, it means that the user has not left the seat.
[0078] Furthermore, the monitoring image can be subjected to frame extraction recognition to reduce the amount of calculation; the monitoring image can also be subjected to frame-by-frame recognition to improve the accuracy; the image recognition method is not limited here, as long as it can be identified from the monitoring image whether there is a person. If a person is recognized in the monitoring image, it means that the user has not left the main driving position, and the judgment result of the leaving state of the main driving door may be misjudged; if a person is not recognized in the monitoring image, it means that the user has left the main driving position, and the judgment result of the leaving state of the main driving door is more reliable. Therefore, when the load weight is less than or equal to the preset weight threshold, and the recognition result of the person recognition is that there is no person image, it can be further determined that the user status detection of the main driving door is valid, and further determined that the user status is the leaving state.
[0079] Step 504: In response to the load weight being greater than a preset weight threshold, and / or the character recognition result being that a character image exists, determining that the user status detection is invalid, and redetermining the user status.
[0080] In specific implementation, if the load weight is greater than the preset weight threshold, it means that the user has not opened the seat and naturally cannot leave the vehicle; if the recognition result of the person recognition is the presence of a person image, it means that the user is in the main driving position, which means that the user has not opened the seat and naturally cannot leave the vehicle. Therefore, if at least one of the above two situations exists, it means that there is a misjudgment in judging the user status by the open and closed state of the main driving door. A new round of judgment can be made until the judgment result is unified, and the determination of the user status is terminated. Since whether the user leaves the car is the premise for whether an alarm is required, a high detection accuracy rate needs to be guaranteed, so the user status is determined through the joint judgment of multiple tests to ensure the accuracy of the detection results.
[0081] In some embodiments, Figure 6 As shown, the key presence detection is performed according to the emergency detection area, including:
[0082] Step 601: Perform a weight test on the key according to the emergency detection area to obtain a test weight.
[0083] In specific implementation, the presence detection is regarded as determining whether the user has taken the key from the emergency detection area, because the key may be out of the detection range of the IMMO coil due to bumps during driving, but the user has not taken it away at this time, so a certain range (generally larger than the detection range of the IMMO coil and completely covering the detection range of the IMMO coil) weight detection can be performed to further determine whether the user has taken the key away. By performing a weight detection on the key according to the emergency detection area, the detection weight can be obtained, and it is necessary to further determine whether the user has really taken the key away based on the detection weight.
[0084] Step 602: In response to the detected weight being within a preset valid weight range, determining that the weight is valid, and determining that the key exists.
[0085] In specific implementation, the presence of the key can be determined based on whether there is weight, but this judgment method should be avoided as much as possible, because other debris may be placed in the emergency detection area, causing misjudgment. Therefore, the effective weight range can be set according to the estimated weight of the key, for example, the effective weight range is set to [10-200] grams. Because the key may be added to the pendant, a larger margin can be set. If the detected weight is within the preset effective weight range, the weight is determined to be valid, and the key is determined to exist. The key may not have been taken away by the user. It is necessary to determine whether the user has really taken the key based on the test results of the legitimacy test. If the legitimacy test determines that the key is a legal key, it means that the key has not been taken away. If, if the legitimacy test determines that the key is an illegal key, it means that the key may have been taken away, and other debris, such as coasters, are placed on the emergency detection area.
[0086] Step 603: In response to the detected weight being outside the preset valid weight range, it is determined that the weight is invalid and that the key does not exist.
[0087] During specific implementation, the detected weight is outside the preset valid weight range, the weight is determined to be invalid, and the key is determined to not exist. Because the weight is so large or so small that it is not within the valid weight range, it means that even if the weight is detected, the weight is obviously not the weight of the key. It may be interference from other debris, and the weight can be regarded as invalid. The key is no longer in the emergency detection area. Combined with the illegal result of the legality test, it can be determined that the key has been really taken away. The dual detection of existence and legality is used to ensure the accuracy of the detection structure.
[0088] In some embodiments, Figure 7 As shown, the key presence detection is performed according to the emergency detection area, including:
[0089] Step 701: Perform near field communication detection on the key according to the emergency detection area to obtain a signal detection result.
[0090] In specific implementation, in addition to weight detection, presence detection can also be performed through near field communication, also known as near field communication (NFC). NFC can only realize whether two objects that are relatively close can communicate. Using this feature, the NFC card reader is built into the IMMO to realize existence detection and legality detection at the same time, and its short-range communication feature is just used to determine whether the key has left the emergency detection area.
[0091] Step 702: In response to the signal detection result indicating the presence of a near field communication signal, determine that the key is present.
[0092] In specific implementation, if the signal detection result shows that there is a near-field communication signal, it means that the distance between the key and the emergency detection area is very close. When the user is out of the car, the user has not taken the key away. Combined with the legitimacy detection of a legal key, it can be determined that the key was forgotten in the car.
[0093] Step 703: In response to the signal detection result indicating that there is no near field communication signal, determining that the key does not exist.
[0094] During specific implementation, if the signal detection result shows that there is no near-field communication signal, it means that the distance between the key and the emergency detection area is far and near-field communication can no longer be maintained. When the user is out of the car, the user has taken the key away. Combined with the legitimacy detection, it is an illegal key, and it is determined that the key has not been forgotten in the car.
[0095] It should be noted that the method of the embodiment of the present application can be performed by a single device, such as a computer or server. The method of this embodiment can also be applied to a distributed scenario and completed by multiple devices cooperating with each other. In the case of such a distributed scenario, one of the multiple devices can only perform one or more steps in the method of the embodiment of the present application, and the multiple devices will interact with each other to complete the described method.
[0096] It should be noted that the above describes some embodiments of the present application. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps recorded in the claims can be performed in an order different from that in the above embodiments and still achieve the desired results. In addition, the processes depicted in the accompanying drawings do not necessarily require the specific order or continuous order shown to achieve the desired results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.
[0097] Based on the same inventive concept, corresponding to any of the above-mentioned embodiment methods, the present application also provides a key detection device.
[0098] refer to Figure 8 The key detection device is characterized by comprising:
[0099] The power detection module 10 is configured to: determine the power status of the key;
[0100] The legitimacy detection module 20 is configured to: in response to the power state being a low-power state, perform a legitimacy detection on the key according to a preset emergency detection area;
[0101] The user status detection module 30 is configured to: in response to the key being a legitimate key, control the vehicle to be powered on and perform user status detection;
[0102] The lost detection module 40 is configured to: in response to the user state being the vehicle-away state, perform a legality detection and an existence detection on the key according to the emergency detection area;
[0103] The alarm prompt module 50 is configured to: in response to the detection result that the key is a legal key and the key exists, issue an alarm prompt.
[0104] For the convenience of description, the above device is described in terms of functions divided into various modules. Of course, when implementing the present application, the functions of each module can be implemented in the same or multiple software and / or hardware.
[0105] The device of the above embodiment is used to implement the corresponding key detection method in any of the above embodiments, and has the beneficial effects of the corresponding method embodiment, which will not be repeated here.
[0106] Based on the same inventive concept, corresponding to any of the above-mentioned embodiments, the present application also provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, the key detection method described in any of the above embodiments is implemented.
[0107] Fig. 9 A more specific schematic diagram of the hardware structure of an electronic device provided in this embodiment is shown, and the device may include: a processor 1010, a memory 1020, an input / output interface 1030, a communication interface 1040, and a bus 1050. The processor 1010, the memory 1020, the input / output interface 1030, and the communication interface 1040 are connected to each other through the bus 1050 in the device.
[0108] The processor 1010 can be implemented by a general-purpose CPU (Central Processing Unit), a microprocessor, an application-specific integrated circuit (ASIC), or one or more integrated circuits, and is used to execute relevant programs to implement the technical solutions provided in the embodiments of this specification.
[0109] The memory 1020 may be implemented in the form of ROM (Read Only Memory), RAM (Random Access Memory), static storage device, dynamic storage device, etc. The memory 1020 may store an operating system and other application programs. When the technical solutions provided in the embodiments of this specification are implemented by software or firmware, the relevant program codes are stored in the memory 1020 and are called and executed by the processor 1010.
[0110] The input / output interface 1030 is used to connect the input / output module to realize information input and output. The input / output module can be configured in the device as a component (not shown in the figure), or it can be externally connected to the device to provide corresponding functions. The input device may include a keyboard, a mouse, a touch screen, a microphone, various sensors, etc., and the output device may include a display, a speaker, a vibrator, an indicator light, etc.
[0111] The communication interface 1040 is used to connect a communication module (not shown) to realize communication interaction between the device and other devices. The communication module can realize communication through a wired mode (such as USB, network cable, etc.) or a wireless mode (such as mobile network, WIFI, Bluetooth, etc.).
[0112] The bus 1050 includes a path that transmits information between the various components of the device (eg, the processor 1010, the memory 1020, the input / output interface 1030, and the communication interface 1040).
[0113] It should be noted that, although the above device only shows the processor 1010, the memory 1020, the input / output interface 1030, the communication interface 1040 and the bus 1050, in the specific implementation process, the device may also include other components necessary for normal operation. In addition, it can be understood by those skilled in the art that the above device may also only include the components necessary for implementing the embodiments of the present specification, and does not necessarily include all the components shown in the figure.
[0114] The electronic device of the above embodiment is used to implement the corresponding key detection method in any of the above embodiments, and has the beneficial effects of the corresponding method embodiment, which will not be repeated here.
[0115] Based on the same inventive concept, corresponding to any of the above-mentioned embodiment methods, the present application also provides a non-transitory computer-readable storage medium, wherein the non-transitory computer-readable storage medium stores computer instructions, and the computer instructions are used to enable the computer to execute the key detection method described in any of the above embodiments.
[0116] The computer-readable medium of this embodiment includes permanent and non-permanent, removable and non-removable media, and information storage can be implemented by any method or technology. Information can be computer-readable instructions, data structures, modules of programs, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, read-only compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device.
[0117] The computer instructions stored in the storage medium of the above embodiment are used to enable the computer to execute the key detection method described in any of the above embodiments, and have the beneficial effects of the corresponding method embodiments, which will not be repeated here.
[0118] Based on the same inventive concept, corresponding to any of the above-mentioned embodiment methods, the present application also provides a vehicle, including the key detection device in the above-mentioned embodiment, and the key detection device is used to execute the key detection method described in any of the above embodiments, and has the beneficial effects of the corresponding method embodiments, which will not be repeated here.
[0119] Those skilled in the art should understand that the discussion of any of the above embodiments is merely illustrative and is not intended to imply that the scope of the present application (including the claims) is limited to these examples. In line with the concept of the present application, the technical features in the above embodiments or different embodiments may be combined, the steps may be implemented in any order, and there are many other variations of the different aspects of the embodiments of the present application as described above, which are not provided in detail for the sake of simplicity.
[0120] In addition, to simplify the description and discussion, and in order not to make the embodiments of the present application difficult to understand, the known power supply / ground connection with the integrated circuit (IC) chip and other components may or may not be shown in the provided drawings. In addition, the device can be shown in the form of a block diagram to avoid making the embodiments of the present application difficult to understand, and this also takes into account the fact that the details of the implementation of these block diagram devices are highly dependent on the platform to be implemented in the embodiments of the present application (that is, these details should be fully within the scope of understanding of those skilled in the art). In the case of elaborating specific details (e.g., circuits) to describe exemplary embodiments of the present application, it is obvious to those skilled in the art that the embodiments of the present application can be implemented without these specific details or when these specific details are changed. Therefore, these descriptions should be considered to be illustrative rather than restrictive.
[0121] Although the present application has been described in conjunction with specific embodiments of the present application, many replacements, modifications and variations of these embodiments will be apparent to those skilled in the art from the foregoing description. For example, other memory architectures (e.g., dynamic RAM (DRAM)) may use the embodiments discussed.
[0122] The embodiments of the present application are intended to cover all such substitutions, modifications and variations that fall within the broad scope of the appended claims. Therefore, any omissions, modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the embodiments of the present application should be included in the scope of protection of the present application.
Claims
1. A key detection method, characterized in that: include: Determine the key's power status; In response to the power state being a low-power state, performing a legitimacy detection on the key according to a preset emergency detection area; In response to the key being a legitimate key, controlling the vehicle to power on and performing user status detection; In response to the user state being an out-of-vehicle state, performing a legitimacy detection and an existence detection on the key according to the emergency detection area; In response to the key being a legitimate key and the key existing, an alarm prompt is issued.
2. The method according to claim 1, characterized in that The performing of a legitimacy detection on the key according to a preset emergency detection area includes: Performing a key ID detection on the key in the emergency detection area to obtain an identification ID; The legitimacy of the key is determined based on the identification ID and a preset set of legal IDs.
3. The method according to claim 1, characterized in that The performing existence detection on the key according to the emergency detection area includes: Performing weight detection on the key according to the emergency detection area to obtain a detection weight; In response to the detected weight being within a preset valid weight interval, determining that the weight is valid, and determining that the key exists; In response to the detected weight being outside a preset valid weight interval, the weight is determined to be invalid and the key is determined to be absent.
4. The method according to claim 1, characterized in that: The performing existence detection on the key according to the emergency detection area includes: Performing near field communication detection on the key according to the emergency detection area to obtain a signal detection result; In response to the signal detection result being that a near field communication signal exists, determining that the key exists; In response to the signal detection result being that there is no near field communication signal, it is determined that the key is not present.
5. The method according to claim 1, characterized in that The user status detection comprises: Real-time monitoring of the opening and closing status of the main driving door; In response to the switch state changing from the closed state to the open state, it is determined that the user state is the away state.
6. The method according to claim 5, characterized in that After the opening and closing state is changed from the closed state to the open state, the method further comprises: Real-time monitoring of the load-bearing weight of the main driver's seat; Acquire the monitoring image of the main driving seat in real time, and perform person recognition on the monitoring image; In response to the carrying weight being less than or equal to a preset weight threshold, and the recognition result of the person recognition being that there is no person image, determining that the user status detection is valid, and determining that the user status is an away status; In response to the carrying weight being greater than a preset weight threshold, and / or the character recognition result being that a character image exists, it is determined that the user status detection is invalid, and the user status is re-determined.
7. The method according to claim 2, characterized in that Determining the legitimacy of the key according to the identification ID and a preset legal ID set includes: In response to the identification ID being present in the set of legal IDs, determining that the key is a legal key; In response to the identification ID not being present in the set of legitimate IDs, the key is determined to be an illegitimate key.
8. A key detection device, characterized in that: include: The power detection module is configured to: determine the power status of the key; A legitimacy detection module is configured to: in response to the power state being a low-power state, perform a legitimacy detection on the key according to a preset emergency detection area; A user status detection module is configured to: in response to the key being a legitimate key, control the vehicle to be powered on and perform user status detection; A lost detection module is configured to: in response to the user being in a vehicle-away state, perform a legitimacy detection and an existence detection on the key according to the emergency detection area; The alarm prompt module is configured to: in response to the detection result that the key is a legal key and the key exists, issue an alarm prompt.
9. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the program, the method according to any one of claims 1 to 7 is implemented.
10. A vehicle, characterized in that: Comprising the device as claimed in claim 8.
Citation Information
Patent Citations
Reminder capable of reminding user to carry key before going out
CN103093583A
Vehicle-mounted NFC key control method and vehicle-mounted wireless charging device
CN115188103A
Vehicle starting method and device, electronic equipment and storage medium
CN115410299A
Key vehicle leaving prompting method and device, storage medium and vehicle
CN116442902A
lock-out protection with key hanger
DE202016007241U1