Detection method and device of automobile intelligent key, electronic equipment and storage medium
Through the detector, the appearance recognition and information learning of the car's smart keys is solved, and the problem of the wrong type of vehicle binding of the smart key is achieved is achieved, and more accurate detection and binding effects are achieved.
Patent Information
- Application Number
- CN202510026210.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-01-08
- Publication Date
- 2025-04-18
- Estimated Expiration
- 2045-01-08
AI Technical Summary
In a venue where multiple vehicles and smart keys coexist, the car smart key may be bound to the wrong vehicle type, resulting in failed detection or inaccurate detection.
The appearance of the car smart key is identified through the detector, and the corresponding vehicle type is determined, and the detection process and detection parameters are configured based on this type. If the detection is passed, a communication request is sent to the body control module corresponding to the vehicle type, receive feedback information, determine the target body control module, and communicate with it, control the smart key for information learning, and bind the vehicle identification code and a unique identification code.
It effectively avoids the problem of wrong vehicle type binding of car smart keys, and improves the accuracy and reliability of detection.
Smart Images

Figure CN119851376A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of key detection, and in particular to a detection method, device, electronic equipment and storage medium for an automobile intelligent key. Background Art
[0002] The car smart key is the key to unlocking and unlocking the car. With the development of technology, the car smart key is not only limited to unlocking and unlocking the car, but can also automatically adjust the settings in the car after unlocking according to the habits of the holder. Therefore, before the car leaves the factory, the smart key will be tested and the car and the smart key will be matched.
[0003] The detection of car smart keys is usually completed through a tester, which is connected by communication between the tester, the car smart key and the vehicle. However, the shapes of car smart keys of different vehicles are different. When there are multiple vehicles in a venue and car smart keys of different types of vehicles are tested in the same venue, the car smart key may be bound to the wrong vehicle type. Summary of the invention
[0004] In view of this, an object of the present invention is to provide a method, device, electronic device and storage medium for detecting a car smart key to avoid binding a car smart key to the wrong vehicle type.
[0005] In the first aspect, an embodiment of the present invention provides a method for detecting a car smart key, which is applied to a detector, including: in response to the connection of the car smart key, performing appearance recognition on the car smart key to determine the vehicle type corresponding to the car smart key; configuring a corresponding detection process and detection parameters based on the vehicle type; detecting the car smart key based on the detection process and detection parameters to obtain a detection result; if the detection result is that the detection passes, sending a communication request message to at least one body control module corresponding to the vehicle type; receiving feedback information sent by at least one body control module; determining a target body control module based on the feedback information and pre-set communication rules and communicating with the target body control module; controlling the car smart key to learn information, and after the car smart key has learned successfully, binding the vehicle identification code corresponding to the target body control module with the unique identification code of the car smart key to complete the detection of the car smart key.
[0006] In a preferred embodiment of the present invention, the above-mentioned appearance recognition of the car smart key and determination of the vehicle type corresponding to the car smart key include: shape scanning of the car smart key to determine the external contour of the car smart key; and determining the vehicle type corresponding to the external contour based on pre-set contour comparison information.
[0007] In a preferred embodiment of the present invention, the above-mentioned detection of the automobile smart key based on the detection process and the detection parameters to obtain the detection result includes: determining the parameters to be detected of the automobile smart key based on the detection process; detecting the parameters to be detected according to the detection process; the detection process at least includes a process corresponding to the legality detection and a process corresponding to the key function detection; determining the detection result based on the parameters to be detected and the detection parameters; the detection parameters are reference values of the parameters to be detected.
[0008] In a preferred embodiment of the present invention, the above-mentioned determination of the target body control module based on feedback information and pre-set communication rules includes: determining the number of smart keys bound to each of at least one body control module based on the feedback information; determining at least one initial body control module whose number meets a pre-set quantity threshold; sorting the at least one initial body control module according to the order of sending feedback information; and using the first-ranked initial body control module as the target body control module.
[0009] In a preferred embodiment of the present invention, before performing appearance recognition on a car smart key and determining the vehicle type corresponding to the car smart key, the method further includes: encrypting the communication between the detector and the car smart key; before sending communication request information to at least one body control module corresponding to the vehicle type, the method further includes: encrypting the communication request information; after receiving feedback information sent by at least one body control module, the method further includes: decrypting the feedback information.
[0010] In a preferred embodiment of the present invention, after binding the vehicle identification code corresponding to the target body control module with the unique identification code of the car smart key, the method also includes: sending the unique identification code to the target body control module so that the target body control module can bind the car smart key and record the number of bound keys; and providing a location reminder after the target body control module is bound to the car smart key.
[0011] In a preferred embodiment of the present invention, the method further includes: if the automobile smart key fails to learn, the reason for the learning failure is recorded, and the learning method is updated to learn again.
[0012] In a second aspect, an embodiment of the present invention further provides a detection device for a car smart key, which is applied to a detector, and the device includes: a vehicle type determination module, which is used to respond to the connection of the car smart key, identify the appearance of the car smart key, and determine the vehicle type corresponding to the car smart key; a detection configuration module, which is used to configure the corresponding detection process and detection parameters based on the vehicle type; a key detection module, which is used to detect the car smart key based on the detection process and detection parameters to obtain a detection result; a communication request sending module, which is used to send communication request information to at least one body control module corresponding to the vehicle type if the detection result is a detection pass; a feedback information receiving module, which is used to receive feedback information sent by at least one body control module; a communication connection module, which is used to determine the target body control module based on the feedback information and pre-set communication rules and communicate with the target body control module; a detection completion module, which is used to control the car smart key to learn information, and after the car smart key has learned successfully, the vehicle identification code corresponding to the target body control module is bound to the unique identification code of the car smart key to complete the detection of the car smart key.
[0013] In a third aspect, an embodiment of the present invention further provides an electronic device, including a processor and a memory, wherein the memory stores computer executable instructions that can be executed by the processor, and the processor executes the computer executable instructions to implement the method for detecting a smart car key of the first aspect.
[0014] In a fourth aspect, an embodiment of the present invention further provides a computer-readable storage medium, which stores computer-executable instructions. When the computer-executable instructions are called and executed by a processor, the computer-executable instructions prompt the processor to implement the method for detecting a smart car key of the first aspect.
[0015] The embodiments of the present invention bring the following beneficial effects: The embodiment of the present invention provides a method, device, electronic device and storage medium for detecting a smart car key. The method can identify the appearance of the smart car key in response to the connection of the smart car key, determine the vehicle type corresponding to the smart car key, configure the corresponding detection process and detection parameters based on the vehicle type, detect the smart car key based on the detection process and detection parameters, and obtain the detection result. If the detection result is that the detection is passed, a communication request message is sent to at least one body control module corresponding to the vehicle type, feedback information sent by at least one body control module is received, and a target body control module is determined based on the feedback information and a pre-set communication rule and communicated with the target body control module, and the smart car key is controlled to learn information. After the smart car key has successfully learned, the vehicle identification code corresponding to the target body control module is bound to the unique identification code of the smart car key to complete the detection of the smart car key. In this way, the smart car key is prevented from being bound to the wrong vehicle type.
[0016] Other features and advantages of the present disclosure will be set forth in the following description, or some features and advantages may be inferred or unambiguously determined from the description, or may be learned by implementing the above-mentioned technology of the present disclosure.
[0017] In order to make the above-mentioned objectives, features and advantages of the present disclosure more obvious and easy to understand, preferred embodiments are specifically cited below and described in detail with reference to the attached drawings. BRIEF DESCRIPTION OF THE DRAWINGS
[0018] In order to more clearly illustrate the specific implementation methods of the present invention or the technical solutions in the prior art, the drawings required for use in the specific implementation methods or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some implementation methods of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0019] Figure 1 A flow chart of a method for detecting a vehicle smart key provided by an embodiment of the present invention; Figure 2 A flowchart of another method for detecting a smart key for an automobile provided by an embodiment of the present invention; Figure 3 A schematic diagram of the structure of a detection device for a car smart key provided by an embodiment of the present invention; Figure 4 A schematic diagram of the structure of an electronic device provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0020] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution of the present invention will be clearly and completely described below in conjunction with the accompanying drawings. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0021] The car smart key is the key to unlocking and unlocking the car. With the development of technology, the car smart key is not only limited to unlocking and unlocking the car, but can also automatically adjust the settings in the car after unlocking according to the habits of the holder. Therefore, before the car leaves the factory, the smart key will be tested and the car and the smart key will be matched.
[0022] The detection of car smart keys is usually completed through a tester, which is connected by communication between the tester, the car smart key and the vehicle. However, the shapes of car smart keys of different vehicles are different. When there are multiple vehicles in a venue and car smart keys of different types of vehicles are tested in the same venue, the car smart key may be bound to the wrong vehicle type.
[0023] Based on this, an embodiment of the present invention provides a method, device, electronic device and storage medium for detecting a smart car key. In response to the connection of the smart car key, the smart car key can be identified by appearance, the vehicle type corresponding to the smart car key can be determined, the detection process and detection parameters corresponding to the vehicle type can be configured, the smart car key can be detected based on the detection process and detection parameters, and the detection result can be obtained. If the detection result is that the detection is passed, a communication request message is sent to at least one body control module corresponding to the vehicle type, feedback information sent by at least one body control module is received, and a target body control module is determined based on the feedback information and a pre-set communication rule and communicated with the target body control module, the smart car key can be controlled to learn information, and after the smart car key has successfully learned, the vehicle identification code corresponding to the target body control module is bound to the unique identification code of the smart car key to complete the detection of the smart car key. In this way, the smart car key is prevented from being bound to the wrong vehicle type.
[0024] To facilitate understanding of this embodiment, a method for detecting a vehicle smart key disclosed in an embodiment of the present invention is first introduced in detail.
[0025] Example 1 The embodiment of the present invention provides a method for detecting a vehicle smart key. Figure 1 The following is a flow chart of a method for detecting a smart key of an automobile provided by an embodiment of the present invention. Figure 1As shown, the detection method of the automobile smart key may include the following steps: Step S101, in response to the connection of the automobile smart key, the appearance of the automobile smart key is identified to determine the vehicle type corresponding to the automobile smart key.
[0026] Specifically, the appearance of the car smart key is recognized to determine the type of vehicle corresponding to the car smart key, including: scanning the shape of the car smart key to determine the external contour of the car smart key; and determining the type of vehicle corresponding to the external contour based on pre-set contour comparison information.
[0027] Among them, the car keys of cars of different brands and models are usually different. When testing the car smart key, it is usually necessary to bind the car smart key to the corresponding vehicle. There are usually multiple types of cars in a workshop, and the corresponding car smart keys are also different. When testing the car smart keys corresponding to multiple vehicles separately, the wrong key may be bound; similarly, when testing the car smart key corresponding to a vehicle, there may be multiple vehicles in the workshop. At this time, the car smart key may be bound to the wrong vehicle. Therefore, the corresponding vehicle type can be first determined by the external contour of the car smart key.
[0028] In order to ensure communication security, before performing appearance recognition on the automobile smart key and determining the type of vehicle corresponding to the automobile smart key, the method may further include: encrypting the communication between the detector and the automobile smart key.
[0029] Step S102, configuring corresponding detection process and detection parameters based on vehicle type.
[0030] Among them, different types of vehicles may require different inspections, so the inspection process and corresponding inspection parameters may also be different, so the corresponding inspection process and inspection parameters can be configured according to the vehicle type.
[0031] Among them, the detection process is the items that need to be tested on the vehicle, and the detection parameters are the reference values corresponding to the items.
[0032] Step S103, testing the vehicle smart key based on the testing process and testing parameters to obtain a testing result.
[0033] Specifically, testing the car smart key based on the detection process and detection parameters to obtain the detection result may include: determining the parameters to be detected of the car smart key based on the detection process; testing the parameters to be detected according to the detection process; the detection process at least includes a process corresponding to the legality detection and a process corresponding to the button function detection; determining the detection result based on the parameters to be detected and the detection parameters.
[0034] The detection parameter is a reference value of the parameter to be detected.
[0035] Step S104: If the detection result is that the detection is passed, a communication request message is sent to at least one body control module corresponding to the vehicle type.
[0036] In order to ensure communication security, before sending the communication request information to at least one body control module corresponding to the vehicle type, the method may further include: encrypting the communication request information.
[0037] Step S105, receiving feedback information sent by at least one body control module.
[0038] The feedback information may include the number of vehicle smart keys bound to the vehicle body control module and the time when the vehicle body control module sends the feedback information.
[0039] In order to ensure communication security, information is encrypted when it is sent. Therefore, after receiving feedback information sent by at least one body control module, the method may further include: decrypting the feedback information.
[0040] Step S106 , determining a target body control module based on the feedback information and a preset communication rule and establishing a communication connection with the target body control module.
[0041] Among them, the communication rules may be that the body control module with the number of bound car smart keys closest to the preset threshold is given priority, and the body control module that sends feedback information the earliest is given priority. If the first two items are the same, communication is performed randomly.
[0042] Step S107, controlling the automobile smart key to learn information, and after the automobile smart key learns successfully, binding the vehicle identification code corresponding to the target body control module with the unique identification code of the automobile smart key to complete the detection of the automobile smart key.
[0043] If the car smart key fails to learn, the reason for the learning failure is recorded, and the learning method is updated to learn again.
[0044] Furthermore, after binding the vehicle identification code corresponding to the target body control module with the unique identification code of the car smart key, the method also includes: sending the unique identification code to the target body control module so that the target body control module can bind the car smart key and record the number of bound keys; and providing a location reminder after the target body control module is bound to the car smart key.
[0045] The detection method of the automobile smart key provided by the embodiment of the present invention can identify the appearance of the automobile smart key in response to the connection of the automobile smart key, determine the vehicle type corresponding to the automobile smart key, configure the corresponding detection process and detection parameters based on the vehicle type, detect the automobile smart key based on the detection process and detection parameters, and obtain the detection result. If the detection result is that the detection is passed, a communication request message is sent to at least one body control module corresponding to the vehicle type, feedback information sent by at least one body control module is received, and a target body control module is determined based on the feedback information and a pre-set communication rule and communicated with the target body control module, and the automobile smart key is controlled to learn information, and after the automobile smart key has successfully learned, the vehicle identification code corresponding to the target body control module is bound to the unique identification code of the automobile smart key to complete the detection of the automobile smart key. In this way, the automobile smart key is prevented from being bound to the wrong vehicle type.
[0046] Example 2 The embodiment of the present invention also provides another method for detecting a vehicle smart key; the method is implemented on the basis of the method in the above embodiment; the method focuses on describing a specific implementation method for determining a target vehicle body control module based on feedback information and pre-set communication rules.
[0047] Figure 2 A flow chart of another method for detecting a smart key for an automobile provided by an embodiment of the present invention is shown in FIG. Figure 2 As shown, the process of determining the target vehicle body control module based on the feedback information and the preset communication rules may include the following steps: Step S201: determining the number of smart keys bound to at least one body control module based on feedback information.
[0048] Among them, the feedback information of at least one body control module can be determined to determine the number of bound smart keys corresponding to each module.
[0049] Step S202 , determining at least one initial body control module whose number meets a preset number threshold.
[0050] Among them, the number of smart car keys bound to the vehicle is limited. Therefore, in order to ensure that the vehicle can complete the binding quickly, the initial body control module that meets the quantity threshold will be prioritized as the pre-selected binding. For example, if a vehicle needs to be equipped with two smart car keys, the quantity threshold can be set to 1 to prioritize the binding of the corresponding initial body control module.
[0051] It should be noted that if the quantity does not meet the quantity threshold, all body control modules will be sorted according to the order of sending feedback information, and the body control module ranked first will be used as the target body control module. If there are multiple body control modules ranked first in the arrangement order, a random selection will be made among the multiple body control modules.
[0052] Step S203: sorting at least one initial body control module according to the order in which the feedback information is sent.
[0053] The order of the feedback information can represent the distance between the initial body control module and the detector. The earlier the feedback information is sent, the closer the distance to the detector is.
[0054] Step S204: taking the first ranked initial body control module as the target body control module.
[0055] If the first in the arrangement order is a plurality of initial body control modules, a random selection is performed among the plurality of initial body control modules.
[0056] Example 3 Corresponding to the above method embodiment, the embodiment of the present invention provides a detection device for a car smart key, Figure 3 A structural diagram of a detection device for a car smart key provided by an embodiment of the present invention is shown in FIG. Figure 3 As shown, the detection device of the automobile smart key may include: The vehicle type determination module 301 is used to perform appearance recognition on the vehicle smart key in response to the connection of the vehicle smart key, and determine the vehicle type corresponding to the vehicle smart key.
[0057] The detection configuration module 302 is used to configure the corresponding detection process and detection parameters based on the vehicle type.
[0058] The key detection module 303 is used to detect the automobile smart key based on the detection process and detection parameters to obtain the detection result.
[0059] The communication request sending module 304 is used to send communication request information to at least one body control module corresponding to the vehicle type if the detection result is that the detection passes.
[0060] The feedback information receiving module 305 is used to receive feedback information sent by at least one body control module.
[0061] The communication connection module 306 is used to determine a target body control module based on the feedback information and a preset communication rule and to establish a communication connection with the target body control module.
[0062] The detection completion module 307 is used to control the automobile smart key to learn information, and after the automobile smart key learns successfully, the vehicle identification code corresponding to the target body control module is bound to the unique identification code of the automobile smart key to complete the detection of the automobile smart key.
[0063] The detection device of the automobile smart key provided by the embodiment of the present invention can identify the appearance of the automobile smart key in response to the connection of the automobile smart key, determine the vehicle type corresponding to the automobile smart key, configure the corresponding detection process and detection parameters based on the vehicle type, detect the automobile smart key based on the detection process and detection parameters, and obtain the detection result. If the detection result is that the detection is passed, a communication request message is sent to at least one body control module corresponding to the vehicle type, feedback information sent by at least one body control module is received, and a target body control module is determined based on the feedback information and a pre-set communication rule and communicated with the target body control module, and the automobile smart key is controlled to learn information, and after the automobile smart key has successfully learned, the vehicle identification code corresponding to the target body control module is bound to the unique identification code of the automobile smart key to complete the detection of the automobile smart key. In this way, the automobile smart key is prevented from being bound to the wrong vehicle type.
[0064] In some embodiments, the vehicle type determination module is further used to perform a shape scan on the vehicle smart key to determine the external contour of the vehicle smart key; and determine the vehicle type corresponding to the external contour based on pre-set contour comparison information.
[0065] In some embodiments, the key detection module is also used to determine the parameters to be detected of the automobile smart key based on the detection process; the parameters to be detected are detected according to the detection process; the detection process at least includes a process corresponding to the legality detection and a process corresponding to the button function detection; the detection result is determined based on the parameters to be detected and the detection parameters; the detection parameters are reference values of the parameters to be detected.
[0066] In some embodiments, the communication connection module is also used to determine the number of smart keys bound to each of the at least one body control modules based on the feedback information; determine at least one initial body control module whose number meets a preset quantity threshold; sort the at least one initial body control module according to the order in which the feedback information is sent; and select the first-ranked initial body control module as the target body control module.
[0067] In some embodiments, the detection device of the automobile smart key may further include: a communication security module, which is used to encrypt the communication between the detector and the automobile smart key; to encrypt the communication request information; and to decrypt the feedback information.
[0068] In some embodiments, the detection completion module is also used to send a unique identification code to the target body control module so that the target body control module can bind the car smart key and record the number of bound keys; the target body control module provides a location reminder after binding the car smart key.
[0069] In some embodiments, the detection completion module is also used to record the reason for the learning failure if the automobile smart key fails to learn, and to update the learning method to learn again.
[0070] The device provided in the embodiment of the present invention has the same implementation principle and technical effects as those of the aforementioned method embodiment. For the sake of brief description, for matters not mentioned in the device embodiment, reference may be made to the corresponding contents in the aforementioned method embodiment.
[0071] Example 4 The embodiment of the present invention also provides an electronic device for executing the above-mentioned detection method of the automobile smart key; see Figure 4 A structural schematic diagram of an electronic device is shown, which includes a memory 400 and a processor 401, wherein the memory 400 is used to store one or more computer instructions, and the one or more computer instructions are executed by the processor 401 to implement the above-mentioned automobile smart key detection method.
[0072] Further, Figure 4 The electronic device shown further includes a bus 402 and a communication interface 403 , and the processor 401 , the communication interface 403 and the memory 400 are connected via the bus 402 .
[0073] The memory 400 may include a high-speed random access memory (RAM), and may also include a non-volatile memory, such as at least one disk storage. The communication connection between the system network element and at least one other network element is realized through at least one communication interface 403 (which may be wired or wireless), and the Internet, wide area network, local area network, metropolitan area network, etc. may be used. The bus 402 may be an ISA bus, a PCI bus, or an EISA bus, etc. The bus can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Figure 4 Only one bidirectional arrow is used in the diagram, but this does not mean that there is only one bus or only one type of bus.
[0074] The processor 401 may be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the above method can be completed by the hardware integrated logic circuit or software instructions in the processor 401. The above processor 401 can be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc.; it can also be a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components. The methods, steps and logic block diagrams disclosed in the embodiments of the present invention can be implemented or executed. The general processor can be a microprocessor or the processor can also be any conventional processor, etc. The steps of the method disclosed in the embodiment of the present invention can be directly embodied as a hardware decoding processor for execution, or a combination of hardware and software modules in the decoding processor for execution. The software module may be located in a storage medium mature in the art, such as a random access memory, a flash memory, a read-only memory, a programmable read-only memory, or an electrically erasable programmable memory, a register, etc. The storage medium is located in the memory 400, and the processor 401 reads the information in the memory 400 and completes the steps of the method of the above embodiment in combination with its hardware.
[0075] An embodiment of the present invention also provides a computer-readable storage medium, which stores computer-executable instructions. When the computer-executable instructions are called and executed by a processor, the computer-executable instructions prompt the processor to implement the above-mentioned automobile smart key detection method. The specific implementation can be found in the method embodiment, which will not be repeated here.
[0076] The computer program product for the method of detecting a car smart key provided in an embodiment of the present invention includes a computer-readable storage medium storing a non-volatile program code executable by a processor. The instructions included in the program code can be used to execute the method described in the previous method embodiment. The specific implementation can be found in the method embodiment, which will not be repeated here.
[0077] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.
[0078] In the several embodiments provided by the present invention, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. The device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some communication interfaces, and the indirect coupling or communication connection of devices or units can be electrical, mechanical or other forms.
[0079] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0080] In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
[0081] If the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a non-volatile computer-readable storage medium that can be executed by a processor. Based on this understanding, the technical solution of the present invention, or the part that contributes to the prior art, or the part of the technical solution, can be embodied in the form of a software product. The computer software product is stored in a storage medium, including several instructions for enabling a computer device (which can be a personal computer, server, or network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk, etc., various media that can store program codes.
[0082] Finally, it should be noted that the above-described embodiments are only specific implementations of the present invention, which are used to illustrate the technical solutions of the present invention, rather than to limit them. The protection scope of the present invention is not limited thereto. Although the present invention is described in detail with reference to the above-mentioned embodiments, ordinary technicians in the field should understand that any technician familiar with the technical field can still modify the technical solutions recorded in the above-mentioned embodiments within the technical scope disclosed by the present invention, or can easily think of changes, or make equivalent replacements for some of the technical features therein; and these modifications, changes or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the embodiments of the present invention, and should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention shall be based on the protection scope of the claims.
Claims
1. A method for detecting a car smart key, characterized in that: Applied to a detector, the method comprises: In response to the connection of the automobile smart key, performing appearance recognition on the automobile smart key to determine the type of vehicle corresponding to the automobile smart key; Configure corresponding detection process and detection parameters based on the vehicle type; Detecting the automobile smart key based on the detection process and the detection parameters to obtain a detection result; If the detection result is that the detection is passed, sending communication request information to at least one body control module corresponding to the vehicle type; receiving feedback information sent by at least one of the body control modules; Determine a target body control module based on the feedback information and a preset communication rule and establish a communication connection with the target body control module; The automobile smart key is controlled to learn information, and after the automobile smart key has successfully learned, the vehicle identification code corresponding to the target body control module is bound to the unique identification code of the automobile smart key to complete the detection of the automobile smart key.
2. The method according to claim 1, characterized in that The performing appearance recognition on the automobile smart key to determine the type of vehicle corresponding to the automobile smart key includes: Performing shape scanning on the automobile smart key to determine the outer contour of the automobile smart key; The vehicle type corresponding to the external contour is determined based on preset contour comparison information.
3. The method according to claim 1, characterized in that The step of testing the automobile smart key based on the testing process and the testing parameters to obtain a testing result includes: Determine the parameters to be detected of the automobile smart key based on the detection process; The parameters to be tested are tested according to the testing process; the testing process at least includes a process corresponding to the legality test and a process corresponding to the key function test; A detection result is determined based on the parameter to be detected and the detection parameter; the detection parameter is a reference value of the parameter to be detected.
4. The method according to claim 1, characterized in that: The determining of the target vehicle body control module based on the feedback information and a preset communication rule includes: Determine the number of smart keys bound to each of at least one of the body control modules based on the feedback information; determining at least one initial body control module whose number meets a preset number threshold; sorting at least one of the initial body control modules according to the order in which the feedback information is sent; The first-ranked initial body control module is used as the target body control module.
5. The method according to claim 1, characterized in that Before performing appearance recognition on the automobile smart key to determine the type of vehicle corresponding to the automobile smart key, the method further includes: Encrypting the communication between the detector and the automobile smart key; Before sending the communication request information to at least one body control module corresponding to the vehicle type, the method further includes: encrypting the communication request information; After receiving the feedback information sent by at least one of the body control modules, the method further includes: The feedback information is decrypted.
6. The method according to claim 1, characterized in that After binding the vehicle identification code corresponding to the target vehicle body control module with the unique identification code of the automobile smart key, the method further includes: Sending the unique identification code to the target body control module so that the target body control module can bind the vehicle smart key and record the number of bound keys; The target vehicle body control module performs a location reminder after being bound to the vehicle smart key.
7. The method according to claim 1, characterized in that The method further comprises: If the automobile smart key fails to learn, the reason for the learning failure is recorded, and the learning method is updated to learn again.
8. A detection device for a car smart key, characterized in that: Applied to a detector, the device comprises: A vehicle type determination module, configured to, in response to the connection of a car smart key, perform appearance recognition on the car smart key and determine the vehicle type corresponding to the car smart key; A detection configuration module, used to configure corresponding detection processes and detection parameters based on the vehicle type; A key detection module, used to detect the automobile smart key based on the detection process and the detection parameters to obtain a detection result; a communication request sending module, configured to send communication request information to at least one body control module corresponding to the vehicle type if the detection result is a detection pass; A feedback information receiving module, used for receiving feedback information sent by at least one of the body control modules; a communication connection module, configured to determine a target body control module based on the feedback information and a preset communication rule and to establish a communication connection with the target body control module; The detection completion module is used to control the automobile smart key to perform information learning, and after the automobile smart key has successfully learned, the vehicle identification code corresponding to the target body control module is bound to the unique identification code of the automobile smart key to complete the detection of the automobile smart key.
9. An electronic device, characterized in that: It comprises a processor and a memory, wherein the memory stores computer executable instructions that can be executed by the processor, and the processor executes the computer executable instructions to implement the automobile smart key detection method according to any one of claims 1 to 7.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer-executable instructions. When the computer-executable instructions are called and executed by the processor, the computer-executable instructions prompt the processor to implement the method for detecting a vehicle smart key according to any one of claims 1 to 7.
Citation Information
Patent Citations
Intelligent key learning method and intelligent key learning system
CN107610278A
Car sharing method and system
CN108010165A
Key matching method and system
CN108876986A
Automobile remote control key signal analysis device and using method thereof
CN112396821A
Key binding method and device, vehicle configuration method and device, vehicle and storage medium
CN115731643A