Automobile lock control method, device, equipment and storage medium

By controlling the original car lock head within the sensing range and transmitting infrared data verification, the poor user experience caused by the heat shrink sleeve shielding signal in the existing modification method is solved, and simple and humanized operation and normal operation are achieved use.

CN117765641BActive Publication Date: 2024-12-10GUANGZHOU ZHONG SHENG INTERNET OF THINGS TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311816135.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-12-26
Publication Date
2024-12-10
Estimated Expiration
2043-12-26

AI Technical Summary

Technical Problem

In the existing methods of modifying the car locks, the heat shrink sleeve shields infrared signals, resulting in poor user experience and cumbersome operation, which makes it impossible to use normally.

Method used

By adding accessories, the original car lock is controlled to sense the original car key within the sensing range, transmit infrared data for verification, and control the level status of the infrared tube module according to the verification results and operation actions, perform corresponding control actions to avoid heat shrinkage The casing shields the need for infrared signals.

Benefits of technology

Improve user experience, simplify operations, ensure the normal use of additional accessories, and the structure of the original car lock head has not been changed.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117765641B_ABST
    Figure CN117765641B_ABST
Patent Text Reader

Abstract

The present application proposes a method, device, equipment and storage medium for controlling a car lock. When the additional accessories are within the sensing range, the original car lock is controlled to sense the original car key set in the car, so as to ensure that the additional accessories can be used normally. The infrared data of the original car key is transmitted to the original car lock for verification to obtain a verification result. According to the verification result, the operation action of the additional accessories inserted into the original car lock is detected. According to the operation action, the level state of the infrared tube module of the original car lock is controlled so that the original car lock executes the control action corresponding to the level state. According to the operation action, the level state of the infrared tube module of the original car lock is directly controlled without the need for a heat shrink tube to shield the infrared signal of the original car lock and without changing the structure of the original car lock. Therefore, the original car lock is still usable and can be operated by inserting a key into the original car lock. The operation is simple and user-friendly, which improves the user experience.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the automotive field, and in particular to an automotive lock control method, device, equipment and storage medium. Background Art

[0002] With the development of automobile technology, new models of cars can now be started by pressing a button when the original car key is in the car, which is very convenient. Some car owners want to modify the old car starting method of inserting the original car key into the original car lock to the starting method of the new car for greater convenience, so they need to modify it. Usually, an infrared tube module composed of multiple groups of infrared tubes is set on the original car lock. When the original car key is inserted, the original car key must be verified with the original car lock. After the verification is passed, each time the original car key is turned, the infrared tube module will generate different logic signals (levels). The original car lock performs different actions according to different logic signals, such as ACC, ON, start and shut down, etc.

[0003] Nowadays, the conventional modification method is to fix the original car key and the original car lock in the car, and then use heat shrink tubing to block the multiple infrared tubes in the infrared tube module to shield the delivery of the original car lock infrared signal, and separately simulate the logic signal (level) of the single-chip microcomputer. The disadvantage of this modification method is that if there is a problem with the modified system, the original car lock can no longer be inserted with the key to start because the heat shrink tubing blocks the multiple infrared tubes in the infrared tube module, resulting in a poor user experience, and the entire modified system can only be disassembled and replaced before it can be used normally, which is cumbersome. Summary of the invention

[0004] The embodiments of the present application provide a method, device, equipment and storage medium for controlling a car lock to solve at least one problem existing in the related art. The technical solution is as follows:

[0005] In a first aspect, an embodiment of the present application provides a method for controlling a car lock, comprising:

[0006] When the additional accessory is within the sensing range, the original vehicle lock is controlled to sense the original vehicle key, and the original vehicle key is set in the vehicle;

[0007] Transmitting the infrared data of the original vehicle key to the original vehicle lock for verification to obtain a verification result;

[0008] According to the verification result, detecting the operation action of inserting the additional accessory into the original vehicle lock;

[0009] According to the operation action, the level state of the infrared tube module of the original vehicle lock is controlled so that the original vehicle lock executes the control action corresponding to the level state.

[0010] In one embodiment, the additional accessories include an additional key, and whether the additional accessories are within the sensing range is determined by the following steps:

[0011] Detecting whether the additional key is inserted into the original vehicle lock, and when the additional key is inserted into the original vehicle lock, determining that the additional key is within the sensing range;

[0012] or,

[0013] It is detected whether the additional key is located in the vehicle, and when the additional key is located in the vehicle, it is determined that the additional key is located within a sensing range.

[0014] In one embodiment, when the additional accessory is within the sensing range, controlling the original vehicle lock to sense the original vehicle key includes:

[0015] When the additional accessory is within the sensing range, the control relay operates;

[0016] When the relay is working, the avoider is connected to the original vehicle lock, so that the original vehicle lock senses the original vehicle key.

[0017] In one embodiment, the transmitting the infrared data of the original vehicle key to the original vehicle lock for verification to obtain a verification result includes:

[0018] The infrared data of the original car key is transmitted to the original car lock through the additional host box, so that the original car lock compares and verifies the built-in ID with the ID of the infrared data to obtain a verification result.

[0019] In one embodiment, the operation of detecting the additional accessory inserted into the original vehicle lock according to the verification result includes:

[0020] When the built-in ID is consistent with the ID of the infrared data and the additional accessory inserted into the original vehicle lock is an additional key, the rotation action of the additional key is detected by the original vehicle lock;

[0021] or,

[0022] When the built-in ID is consistent with the ID of the infrared data and the additional accessory inserted into the original vehicle lock is an additional button, the key action of the additional button is detected by the main box.

[0023] In one embodiment, when the operation action is a key action, the level state of the infrared tube module of the original vehicle lock controlled according to the operation action includes at least one of the following:

[0024] When it is detected that the key action is pressed for the first time, the level state of the infrared tube module of the original car lock is controlled by the host box to be in the first state;

[0025] In the case where the first pressing is completed, when the key action is detected as the second pressing, the level state of the infrared tube module of the original car lock is controlled by the host box to be the second state;

[0026] In the case where the second pressing is completed, when the key action is detected as the third pressing, the level state of the infrared tube module of the original car lock is controlled by the host box to be the third state;

[0027] In the case where the third pressing is completed, when it is detected that the key action is the fourth pressing, the level state of the infrared tube module of the original vehicle lock is controlled by the host box to be the fourth state.

[0028] In one embodiment, when the operation action is a rotation action, the level state of the infrared tube module of the original vehicle lock controlled according to the operation action includes at least one of the following:

[0029] When the rotation action is detected as the first rotation, the infrared tube module determines that the level state is the first state;

[0030] In the case of completing the first rotation, when it is detected that the rotation action is the second rotation, determining the level state as the second state through the infrared tube module;

[0031] In the case of completing the second rotation, when it is detected that the rotation action is the third rotation, determining that the level state is the third state through the infrared tube module;

[0032] In the case of completing the third rotation, when it is detected that the rotation action is the fourth rotation, the infrared tube module determines that the level state is the fourth state.

[0033] In a second aspect, an embodiment of the present application provides a vehicle lock control device, comprising:

[0034] The first control module is used to control the original vehicle lock to sense the original vehicle key when the additional accessories are within the sensing range, and the original vehicle key is set in the vehicle;

[0035] A transmission module, used for transmitting the infrared data of the original vehicle key to the original vehicle lock for verification to obtain a verification result;

[0036] A detection module, used to detect the operation action of inserting the additional accessory into the original vehicle lock according to the verification result;

[0037] The second control module is used to control the level state of the infrared tube module of the original vehicle lock according to the operation action, so that the original vehicle lock executes the control action corresponding to the level state.

[0038] In a third aspect, an embodiment of the present application provides an electronic device, comprising: a processor and a memory, wherein the memory stores instructions, and the instructions are loaded and executed by the processor to implement a method in any one of the above-mentioned embodiments.

[0039] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, which stores a computer program. When the computer program is executed, the method in any one of the above-mentioned embodiments is implemented.

[0040] The beneficial effects of the above technical solution include at least:

[0041] By controlling the original vehicle lock to sense the original vehicle key set in the vehicle when the additional accessories are within the sensing range, the original vehicle lock is prevented from being in the sensing state before the additional accessories are within the sensing range, thereby ensuring that the additional accessories can be used normally; the infrared data of the original vehicle key is transmitted to the original vehicle lock for verification to obtain a verification result, and according to the verification result, the operation action of the additional accessories inserted into the original vehicle lock is detected, and according to the operation action, the level state of the infrared tube module of the original vehicle lock is controlled so that the original vehicle lock executes the control action corresponding to the level state, and the level state of the infrared tube module of the original vehicle lock is directly controlled according to the operation action, without the need for a heat shrink tube to shield the infrared signal of the original vehicle lock, and without changing the structure of the original vehicle lock, so the original vehicle lock is still usable, and the key can be inserted into the original vehicle lock for operation, the operation is simple and user-friendly, and the user experience is improved.

[0042] The above summary is for illustrative purposes only and is not intended to be limiting in any way. In addition to the illustrative aspects, embodiments and features described above, further aspects, embodiments and features of the present application will be readily apparent by reference to the accompanying drawings and the following detailed description. BRIEF DESCRIPTION OF THE DRAWINGS

[0043] In the accompanying drawings, unless otherwise specified, the same reference numerals throughout the multiple drawings represent the same or similar parts or elements. These drawings are not necessarily drawn to scale. It should be understood that these drawings only depict some embodiments disclosed in the present application and should not be regarded as limiting the scope of the present application.

[0044] Figure 1 This is a schematic diagram of the steps of a method for controlling a car lock according to an embodiment of the present application;

[0045] Figure 2This is a structural block diagram of a vehicle lock control device according to an embodiment of the present application;

[0046] Figure 3 This is a structural block diagram of an electronic device according to an embodiment of the present application. DETAILED DESCRIPTION

[0047] In the following, only some exemplary embodiments are briefly described. As those skilled in the art will appreciate, the described embodiments may be modified in various ways without departing from the spirit or scope of the present application. Therefore, the drawings and descriptions are considered to be exemplary and non-restrictive in nature.

[0048] Reference Figure 1 , a flow chart of a vehicle lock control method according to an embodiment of the present application is shown, and the vehicle lock control method may at least include steps S100-S400:

[0049] S100: When the additional accessory is within the sensing range, the original vehicle lock is controlled to sense the original vehicle key.

[0050] Optionally, in the embodiment of the present application, a host box is added, and the original car key and the host box are fixedly arranged in the car, for example, fixed near the original car lock, so that the original car key can sense the original car key. Optionally, the host box includes but is not limited to a circuit board and an installation box fixed to the circuit board, the installation box is used to place the original car key, and the circuit board is provided with a main control chip, an infrared unit, a level control module, a relay and an avoider.

[0051] S200, transmitting the infrared data of the original vehicle key to the original vehicle lock for verification to obtain a verification result.

[0052] S300: Detect the operation of inserting the additional accessory into the original vehicle lock according to the verification result.

[0053] S400: According to the operation action, the level state of the infrared tube module of the original vehicle lock is controlled so that the original vehicle lock performs a control action corresponding to the level state.

[0054] The vehicle lock control method of the embodiment of the present application can be executed by an additional host box, or the additional host box can be executed in conjunction with the original vehicle lock, or the additional host box can be executed in conjunction with the original vehicle lock and a vehicle-mounted controller.

[0055] The technical solution of the embodiment of the present application controls the original vehicle lock to sense the original vehicle key set in the vehicle when the additional accessory is within the sensing range, thereby preventing the original vehicle lock from maintaining the sensing state before the additional accessory is within the sensing range, and ensuring that the additional accessory can be used normally; the infrared data of the original vehicle key is transmitted to the original vehicle lock for verification to obtain a verification result, and according to the verification result, the operation action of the additional accessory inserted into the original vehicle lock is detected, and according to the operation action, the level state of the infrared tube module of the original vehicle lock is controlled so that the original vehicle lock executes the control action corresponding to the level state, and the level state of the infrared tube module of the original vehicle lock is directly controlled according to the operation action, without the need for a heat shrink tube to shield the infrared signal of the original vehicle lock, and without changing the structure of the original vehicle lock, so the original vehicle lock is still usable, and the key can be inserted into the original vehicle lock for operation, the operation is simple and user-friendly, and the user experience is improved.

[0056] In one embodiment, the additional accessories include additional keys and additional buttons. The additional keys can achieve functions similar to the original car keys, such as opening and locking doors. In some embodiments, only additional keys may be provided. In order to maximize convenience, the additional accessories of this application include both additional keys and additional buttons.

[0057] Optionally, whether the additional accessory is within the sensing range may be determined by the following steps S101 or S102:

[0058] S101, detecting whether the additional key is inserted into the original vehicle lock, and when the additional key is inserted into the original vehicle lock, determining that the additional key is within the sensing range.

[0059] S102, detecting whether the additional key is in the vehicle, and when the additional key is in the vehicle, determining that the additional key is within a sensing range.

[0060] In some embodiments, it is necessary to detect whether the additional key is inserted into the original car lock. When the additional key is inserted into the original car lock, it is determined that the additional key is within the sensing range; in other embodiments, it is necessary to detect whether the additional key is in the car. When the additional key is in the car, it can be determined that the additional key is within the sensing range. Optionally, the detection can be performed by inductance.

[0061] In some embodiments, step S100 includes steps S110-S120:

[0062] S110. When the additional accessory is within the sensing range, the control relay operates.

[0063] S120: When the relay is working, the avoider is connected to the original vehicle lock, so that the original vehicle lock senses the original vehicle key.

[0064] Optionally, when the additional key is within the sensing range, the main control chip controls the relay to connect the avoider to the original car lock, so that the original car lock senses the original car key. It should be noted that if the original car lock and the original car key are always sensed, it will be considered that the original car key is still inserted in the original car lock, which will affect our operation of the additional key and make it impossible to open and lock the door. Therefore, the original car lock is controlled to sense the original car key only when the additional key is within the sensing range, and it is sensed only when it is needed. If the additional key is outside the sensing range, the relay is not controlled to work, so that the original car lock and the original car key are not sensed, it will be considered that the original car key has been pulled out, ensuring that the additional key can be used to open and lock the door.

[0065] In one embodiment, step S200 specifically transmits the infrared data of the original car key to the original car lock through the infrared unit of the additional host box, so that the original car lock compares and verifies the built-in ID in the CPU of the original car lock (the original car key plate of the original car lock) with the ID of the infrared data to obtain a verification result. When the built-in ID is consistent with the ID of the infrared data, the verification result is passed.

[0066] In one implementation, step S300 includes step S310 or S320:

[0067] S310: When the built-in ID is consistent with the ID of the infrared data and the additional accessory inserted into the original vehicle lock is an additional key, the rotation action of the additional key is detected through the original vehicle lock.

[0068] Optionally, when the built-in ID is consistent with the ID of the infrared data and the additional accessory inserted into the original car lock is an additional key, the rotation of the additional key can be detected by the infrared tube module of the original car lock, that is, the function of the original car lock can still be used, and the car can be controlled by the cooperation of the original car lock and the additional key.

[0069] S320: When the built-in ID is consistent with the ID of the infrared data and the additional accessory inserted into the original vehicle lock is an additional button, the main box detects the key action of the additional button.

[0070] Optionally, when the built-in ID is consistent with the ID of the infrared data and the additional accessory inserted into the original car lock is an additional button, the contact point of the additional button is transferred to the main control chip of the host box through the original car lock and the connecting line, and the main control chip of the host box detects the io voltage and / or duration to determine the key action of the additional button, thereby simulating the new car button pressing to control the vehicle through the key action of the additional button. For example, in one embodiment, the additional button simulates the contacts of the original car key. When the original car key is inserted into the original car lock, the infrared tube module will generate a logic signal (level / io voltage) to let the car know that the original car key has been inserted. For example, the original car key blocks a group of infrared tube signal reception and transmission, and generates a logic signal (level / io voltage). When the original car key is turned, the currently blocked infrared tube is no longer blocked. Similarly, when the additional button is inserted, the same logic signal (level / io voltage) as the above situation will be generated. Because a group of infrared tubes are blocked, the main control chip is aware of this situation, indicating that the additional button has been inserted. When the additional button is clicked, the currently blocked infrared tube is no longer blocked, and the current io voltage changes. At this time, the main control chip knows that it has been pressed. Through this principle, it can be known how many times the additional button has been pressed.

[0071] In one implementation, when the operation action is a key action, step S400 includes at least one of steps S410-S440:

[0072] S410: When it is detected that the key action is pressed for the first time, the level state of the infrared tube module of the original vehicle lock is controlled by the host box to be in the first state.

[0073] In the embodiment of the present application, the level control module is connected to the main control chip, and the level control module is provided with a plurality of contacts, which correspond to the end points of the plurality of infrared tubes in the infrared tube module for electrical contact, so that the state of the level control module can be controlled by the main control chip, thereby controlling the levels of the end points of the plurality of infrared tubes in the infrared tube module, so that the level state of the infrared tube module is different. Optionally, the level control module includes but is not limited to a plurality of relay units, a plurality of triode units, or a combination of relay units and triode units, etc., without specific limitation.

[0074] For example, when it is detected that the button action is pressed for the first time, the main control chip of the host box controls the level state of the infrared tube module of the original car lock to the first state, such as the ACC state, which corresponds to the logic signal (level) of the infrared tube module when the original car key is turned once in the original car lock.

[0075] S420: When the first pressing is completed and the key action is detected as the second pressing, the level state of the infrared tube module of the original vehicle lock is controlled by the host box to be the second state.

[0076] For example, after completing the first press, when the key action is detected as the second press, the main control chip of the host box controls the level state of the infrared tube module of the original car lock to the second state, such as the ON state, which corresponds to the logic signal (level) of the infrared tube module when the original car key is turned twice in the original car lock.

[0077] S430: When the second pressing is completed and the key action is detected as the third pressing, the level state of the infrared tube module of the original vehicle lock is controlled by the host box to be the third state.

[0078] For example, after completing the second press, when the key action is detected as the third press, the main control chip of the host box controls the level state of the infrared tube module of the original car lock to the third state, such as the START (ignition / start) state, which corresponds to the logic signal (level) of the infrared tube module when the original car key is turned three times in the original car lock.

[0079] S440: After the third pressing is completed, when it is detected that the key action is the fourth pressing, the level state of the infrared tube module of the original vehicle lock is controlled by the host box to be the fourth state.

[0080] For example, after completing the third press, when the key action is detected as the fourth press, the main control chip of the host box controls the level state of the infrared tube module of the original car lock to the fourth state, such as the ignition off state, which corresponds to the logic signal (level) of the infrared tube module when the original car key is turned four times in the original car lock.

[0081] In one implementation, when the operation action is a key action, step S400 includes at least one of steps S450-S480:

[0082] S450: When it is detected that the rotation action is the first rotation, the infrared tube module determines that the level state is the first state.

[0083] For example, when the rotation action is detected as the first rotation, the infrared tube module determines that the level state is the first state, such as the ACC state.

[0084] S460: When the first rotation is completed and the rotation action is detected as the second rotation, the infrared tube module is used to determine that the level state is the second state.

[0085] For example, in the case where the first rotation is completed, when it is detected that the rotation action is the second rotation, the infrared tube module determines that the level state is the second state, such as the ON state.

[0086] S470: When the second rotation is completed and the rotation action is detected as the third rotation, the infrared tube module is used to determine that the level state is the third state.

[0087] For example, in the case of completing the second rotation, when it is detected that the rotation action is the third rotation, the infrared tube module determines that the level state is the third state, such as the START (ignition / start) state.

[0088] S480: When the third rotation is completed and it is detected that the rotation action is the fourth rotation, the infrared tube module determines that the level state is the fourth state.

[0089] For example, when the third rotation is completed and the rotation action is detected as the fourth rotation, the infrared tube module determines that the level state is the fourth state, such as the ignition off state.

[0090] Therefore, the cooperation between the additional key and the original car lock can still simulate the cooperation between the original car key and the original car lock, and the car can still be controlled. It should be noted that when the additional key is used to cooperate with the original car lock or when the main box fails, the level control module does not work, and the endpoint (IO port) of the level control module is in an empty state, so the additional key and the original car lock can cooperate normally.

[0091] It should be noted that after determining the first state, the second state, the third state or the fourth state, the original vehicle lock head executes a control action corresponding to the first state, the second state, the third state or the fourth state level state, for example, the CPU of the original vehicle lock head executes or triggers the vehicle controller in the vehicle system to execute, such as performing control actions such as ignition and shutdown.

[0092] Reference Figure 2 , shows a structural block diagram of a car lock control device according to an embodiment of the present application, the device may include:

[0093] The first control module is used to control the original vehicle lock to sense the original vehicle key when the additional accessories are within the sensing range, and the original vehicle key is set in the vehicle;

[0094] The transmission module is used to transmit the infrared data of the original vehicle key to the original vehicle lock for verification to obtain a verification result;

[0095] A detection module, used to detect the operation action of the additional accessory inserted into the original vehicle lock according to the verification result;

[0096] The second control module is used to control the level state of the infrared tube module of the original vehicle lock according to the operation action, so that the original vehicle lock executes the control action corresponding to the level state.

[0097] The functions of each module in each device in the embodiments of the present application can be found in the corresponding description in the above method, and will not be repeated here.

[0098] Reference Figure 3 , shows a structural block diagram of an electronic device according to an embodiment of the present application, the electronic device includes: a memory 310 and a processor 320, the memory 310 stores instructions that can be run on the processor 320, and the processor 320 loads and executes the instructions to implement the automobile lock control method in the above embodiment. The number of the memory 310 and the processor 320 can be one or more.

[0099] In one embodiment, the electronic device also includes a communication interface 330 for communicating with external devices and performing data exchange transmission. If the memory 310, the processor 320 and the communication interface 330 are implemented independently, the memory 310, the processor 320 and the communication interface 330 can be interconnected through a bus and complete mutual communication. The bus can be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus, etc. The bus can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Figure 3 Only one thick line is used in the diagram, but this does not mean that there is only one bus or only one type of bus.

[0100] Optionally, in a specific implementation, if the memory 310, the processor 320 and the communication interface 330 are integrated on a chip, the memory 310, the processor 320 and the communication interface 330 can communicate with each other through an internal interface.

[0101] An embodiment of the present application provides a computer-readable storage medium storing a computer program, which, when executed by a processor, implements the vehicle lock control method provided in the above embodiment.

[0102] An embodiment of the present application also provides a chip, which includes a processor for calling and executing instructions stored in the memory from the memory, so that a communication device equipped with the chip executes the method provided by the embodiment of the present application.

[0103] An embodiment of the present application also provides a chip, including: an input interface, an output interface, a processor and a memory, wherein the input interface, the output interface, the processor and the memory are connected via an internal connection path, and the processor is used to execute the code in the memory. When the code is executed, the processor is used to execute the method provided in the embodiment of the application.

[0104] It should be understood that the processor may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application specific integrated circuits (ASIC), field programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The general-purpose processor may be a microprocessor or any conventional processor, etc. It is worth noting that the processor may be a processor supporting the advanced RISC machines (ARM) architecture.

[0105] Further, optionally, the above-mentioned memory may include a read-only memory and a random access memory, and may also include a non-volatile random access memory. The memory may be a volatile memory or a non-volatile memory, or may include both volatile and non-volatile memories. Among them, the non-volatile memory may include a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), or a flash memory. The volatile memory may include a random access memory (RAM), which is used as an external cache. By way of example but not limitation, many forms of RAM are available. For example, static RAM (SRAM), dynamic random access memory (DRAM), synchronous DRAM (SDRAM), double data rate synchronous dynamic random access memory (DDR SDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchronous link dynamic random access memory (SLDRAM) and direct rambus RAM (DR RAM).

[0106] In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented using software, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the process or function according to the present application is generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions can be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium.

[0107] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "example", "specific example" or "some examples" means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present application. Moreover, the described specific features, structures, materials or characteristics may be combined in any one or more embodiments or examples in a suitable manner. In addition, those skilled in the art may combine and combine different embodiments or examples described in this specification and the features of different embodiments or examples, unless they are contradictory.

[0108] In addition, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Therefore, a feature defined as "first" or "second" may explicitly or implicitly include at least one of the features. In the description of this application, the meaning of "plurality" is two or more, unless otherwise clearly and specifically defined.

[0109] Any process or method description in the flow chart or otherwise described herein can be understood to represent a module, fragment or portion of a code including one or more executable instructions for implementing the steps of a specific logical function or process. And the scope of the preferred embodiment of the present application includes other implementations, in which the functions may not be performed in the order shown or discussed, including in a substantially simultaneous manner or in a reverse order according to the functions involved.

[0110] The logic and / or steps represented in the flowchart or otherwise described herein, for example, can be considered as an ordered list of executable instructions for implementing logical functions, which can be embodied in any computer-readable medium for use by an instruction execution system, apparatus or device (such as a computer-based system, a system including a processor or other system that can fetch instructions from an instruction execution system, apparatus or device and execute instructions), or used in combination with these instruction execution systems, apparatuses or devices.

[0111] It should be understood that the various parts of the present application can be implemented with hardware, software, firmware or a combination thereof. In the above embodiments, multiple steps or methods can be implemented with software or firmware stored in a memory and executed by a suitable instruction execution system. All or part of the steps of the above embodiment method can be completed by instructing the relevant hardware through a program, which can be stored in a computer-readable storage medium, and when the program is executed, it includes one of the steps of the method embodiment or a combination thereof.

[0112] In addition, each functional unit in each embodiment of the present application can be integrated into a processing module, or each unit can exist physically separately, or two or more units can be integrated into one module. The above-mentioned integrated module can be implemented in the form of hardware or in the form of a software functional module. If the above-mentioned integrated module is implemented in the form of a software functional module and sold or used as an independent product, it can also be stored in a computer-readable storage medium. The storage medium can be a read-only memory, a disk or an optical disk, etc.

[0113] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any technician familiar with the technical field can easily think of various changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.

Claims

1. A method for controlling a car lock, characterized in that: include: When the additional accessory is within the sensing range, the original vehicle lock is controlled to sense the original vehicle key, and the original vehicle key is set in the vehicle; Transmitting the infrared data of the original vehicle key to the original vehicle lock for verification to obtain a verification result; According to the verification result, detecting the operation action of inserting the additional accessory into the original vehicle lock; According to the operation action, the level state of the infrared tube module of the original vehicle lock is controlled so that the original vehicle lock performs the control action corresponding to the level state; If the additional accessory inserted into the original car lock is an additional button, when the operation action is a key action, the level state of the infrared tube module of the original car lock controlled according to the operation action includes at least one of the following: When it is detected that the key action is pressed for the first time, the level state of the infrared tube module of the original vehicle lock is controlled by the host box to be a first state, and the first state is an ACC state; In the case where the first pressing is completed, when the key action is detected as the second pressing, the level state of the infrared tube module of the original car lock is controlled by the host box to be the second state, and the second state is the ON state; In the case where the second pressing is completed, when the key action is detected as the third pressing, the level state of the infrared tube module of the original car lock is controlled by the host box to be the third state, and the third state is the START state; In the case of completing the third pressing, when it is detected that the key action is the fourth pressing, the level state of the infrared tube module of the original vehicle lock is controlled by the host box to be the fourth state, and the fourth state is the engine off state.

2. The automobile lock control method according to claim 1, characterized in that: The additional accessories include additional keys. Whether the additional accessories are within the sensing range is determined by the following steps: Detecting whether the additional key is inserted into the original vehicle lock, and when the additional key is inserted into the original vehicle lock, determining that the additional key is within the sensing range; or, It is detected whether the additional key is located in the vehicle, and when the additional key is located in the vehicle, it is determined that the additional key is located within a sensing range.

3. The automobile lock control method according to claim 1, characterized in that: When the additional accessory is within the sensing range, controlling the original vehicle lock to sense the original vehicle key comprises: When the additional accessory is within the sensing range, the control relay operates; When the relay is working, the avoider is connected to the original vehicle lock, so that the original vehicle lock senses the original vehicle key.

4. The automobile lock control method according to any one of claims 1 to 3, characterized in that: The transmitting the infrared data of the original vehicle key to the original vehicle lock for verification to obtain the verification result includes: The infrared data of the original car key is transmitted to the original car lock through the additional host box, so that the original car lock compares and verifies the built-in ID with the ID of the infrared data to obtain a verification result.

5. The automobile lock control method according to claim 4, characterized in that: The operation of detecting the additional accessory inserted into the original vehicle lock according to the verification result includes: When the built-in ID is consistent with the ID of the infrared data and the additional accessory inserted into the original vehicle lock is an additional key, the rotation action of the additional key is detected by the original vehicle lock; or, When the built-in ID is consistent with the ID of the infrared data and the additional accessory inserted into the original vehicle lock is an additional button, the key action of the additional button is detected by the main box.

6. The automobile lock control method according to claim 5, characterized in that: When the operation action is a rotation action, the level state of the infrared tube module of the original vehicle lock controlled according to the operation action includes at least one of the following: When the rotation action is detected as the first rotation, the infrared tube module determines that the level state is the first state; In the case of completing the first rotation, when it is detected that the rotation action is the second rotation, determining the level state as the second state through the infrared tube module; In the case of completing the second rotation, when it is detected that the rotation action is the third rotation, determining that the level state is the third state through the infrared tube module; In the case of completing the third rotation, when it is detected that the rotation action is the fourth rotation, the infrared tube module determines that the level state is the fourth state.

7. A car lock control device, characterized in that: include: The first control module is used to control the original vehicle lock to sense the original vehicle key when the additional accessories are within the sensing range, and the original vehicle key is set in the vehicle; A transmission module, used for transmitting the infrared data of the original vehicle key to the original vehicle lock for verification to obtain a verification result; A detection module, used to detect the operation action of inserting the additional accessory into the original vehicle lock according to the verification result; A second control module is used to control the level state of the infrared tube module of the original vehicle lock according to the operation action, so that the original vehicle lock performs the control action corresponding to the level state; If the additional accessory inserted into the original car lock is an additional button, when the operation action is a key action, the level state of the infrared tube module of the original car lock controlled according to the operation action includes at least one of the following: When it is detected that the key action is pressed for the first time, the level state of the infrared tube module of the original vehicle lock is controlled by the host box to be a first state, and the first state is an ACC state; In the case where the first pressing is completed, when the key action is detected as the second pressing, the level state of the infrared tube module of the original car lock is controlled by the host box to be the second state, and the second state is the ON state; In the case where the second pressing is completed, when the key action is detected as the third pressing, the level state of the infrared tube module of the original car lock is controlled by the host box to be the third state, and the third state is the START state; In the case of completing the third pressing, when it is detected that the key action is the fourth pressing, the level state of the infrared tube module of the original vehicle lock is controlled by the host box to be the fourth state, and the fourth state is the engine off state.

8. An electronic device, characterized in that: include: A processor and a memory, wherein the memory stores instructions, and the instructions are loaded and executed by the processor to implement the method according to any one of claims 1 to 6.

9. A computer-readable storage medium, wherein a computer program is stored in the computer-readable storage medium, and when the computer program is executed, the method according to any one of claims 1 to 6 is implemented.