Key re-pairing method, device, electronic device and storage medium

The method and device improve anti-theft security in cargo trolleys by verifying user identity and using a pop-up mechanism to securely pair new keys, preventing unauthorized access.

CN115700855BActive Publication Date: 2024-12-24GREAT WALL MOTOR CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202110845716.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-07-26
Publication Date
2024-12-24
Estimated Expiration
2041-07-26

AI Technical Summary

Technical Problem

The issue of lost keys in cargo trolleys leading to potential theft due to malicious pairing and the need for improved anti-theft performance.

Method used

A method and device that verifies the identity of a user through detection of a target signal, such as an infrared sensor or identity verification, before activating the pairing function for a new key, and includes a pop-up mechanism to charge and pair the new key with the transportation device.

Benefits of technology

Enhances anti-theft security by ensuring only authorized users can pair a new key, preventing unauthorized access and theft.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115700855B_ABST
    Figure CN115700855B_ABST
Patent Text Reader

Abstract

The embodiments of the present application provide a method, device, electronic device and readable storage medium for key re-pairing, which belongs to the field of key pairing technology. The method is applied to a transportation device, and the method includes: when the follow-up key signal of the paired key cannot be detected, detecting whether a key to be paired is inserted; when the insertion of the key to be paired is detected, determining whether a target signal consistent with a preset signal is received, and the preset signal is used to trigger the pairing function of the key to be paired; when the target signal is received, activating the pairing function to pair the key to be paired with the follow-up module in the transportation device. Using a key re-pairing method provided by the present application can improve the anti-theft performance of the transportation device.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] Embodiments of the present application relate to the technical field of key pairing, and in particular, to a method, device, electronic device, and storage medium for re-pairing a key. Background Art

[0002] The cargo trolley is a transport device used to transport goods. The user can control the trolley to perform functions such as starting and stopping, accelerating, decelerating and steering through a follow-up key paired with the trolley.

[0003] In the event that the paired key is lost, the user needs to use a new key to be paired to re-pair with the cargo vehicle in order to re-control the cargo vehicle to perform functions such as starting and stopping, accelerating and decelerating, and steering.

[0004] However, when the paired key of the cargo trolley is lost, there is a problem that a malicious user may pair the key to be paired with the cargo trolley and then steal the cargo trolley. Therefore, how to improve the anti-theft performance of the cargo trolley is a technical problem that needs to be solved urgently. Summary of the invention

[0005] The embodiments of the present application provide a key re-pairing method, device, electronic device and storage medium, aiming to improve the anti-theft performance of a cargo cart.

[0006] A first aspect of an embodiment of the present application provides a method for re-pairing a key, the method being applied to a transportation device, the method comprising:

[0007] When the follow-up key signal of the paired key cannot be detected, detecting whether a key to be paired is inserted;

[0008] In the case of detecting that the key to be paired is inserted, determining whether a target signal consistent with a preset signal is received, wherein the preset signal is used to trigger a pairing function for the key to be paired;

[0009] When the target signal is received, the pairing function is activated to pair the key to be paired with the follow-up module in the transportation device.

[0010] Optionally, when the insertion of the key to be paired is detected, determining whether a target signal consistent with a preset signal is received includes:

[0011] When the key to be paired is detected to be inserted, monitoring whether the detection device detects an obstacle within the first detection range;

[0012] In the case where it is monitored that the detection device detects the obstacle within the first detection range, it is determined that a target signal consistent with a preset signal is received.

[0013] Optionally, when the insertion of the key to be paired is detected, monitoring whether the detection device detects an obstacle within the first detection range includes:

[0014] When the key to be paired is detected to be inserted, controlling the transport device to be in a dormant state;

[0015] When the transport device is in a dormant state, the key to be paired is charged through a pop-up mechanism to trigger the key to be paired to start up;

[0016] Controlling the transport device to switch from a dormant state to an activated state to activate the detection device;

[0017] Monitor whether the detection device detects an obstacle within the first detection range.

[0018] Optionally, in case of receiving the target signal, activating the pairing function includes:

[0019] When the target signal is received, the key to be paired is detected to be in the power-on state and it is confirmed that each component can communicate normally, the pairing function is activated; wherein the each component includes the key to be paired, the follow-up module, the pop-up mechanism and the whole machine control board.

[0020] Optionally, pairing the key to be paired with a follow-up module in the transportation device includes:

[0021] Determine whether the protocol code of the key to be paired is consistent with the protocol code of the follow-up module;

[0022] When the protocol codes of the two are consistent, it is determined that the follower key and the follower module are paired successfully.

[0023] Optionally, after determining that the follow-up key is successfully paired with the follow-up module, the method includes:

[0024] The protocol code of the paired key in the following module is cleared, and the protocol code of the key to be paired is recorded in the following module.

[0025] Optionally, after determining that the follow-up key is successfully paired with the follow-up module, the method includes:

[0026] Establishing Bluetooth communication between the Bluetooth of the mobile terminal and the transportation device based on the Bluetooth pairing information of the mobile terminal;

[0027] Based on the Bluetooth communication, a pop-up instruction sent by the mobile terminal is received, and a pop-up mechanism is controlled to pop out the key to be paired.

[0028] A second aspect of an embodiment of the present application provides a key re-pairing device, the device being arranged in a transport device, the device comprising:

[0029] A detection module, used for detecting whether a key to be paired is inserted when a follow-up key signal of a paired key cannot be detected;

[0030] A determination module, used to determine whether a target signal consistent with a preset signal is received when the insertion of the key to be paired is detected, wherein the preset signal is used to trigger a pairing function for the key to be paired;

[0031] The pairing module is used to activate the pairing function when receiving the target signal, so as to pair the key to be paired with the following module in the transportation device.

[0032] A third aspect of an embodiment of the present application provides an electronic device, including:

[0033] one or more processors; and

[0034] One or more machine-readable media having instructions stored thereon, when executed by the one or more processors, enable the electronic device to execute the method as described in the first aspect of the embodiment of the present application.

[0035] A fourth aspect of an embodiment of the present application provides one or more machine-readable storage media having instructions stored thereon, which, when executed by one or more processors, enable the processors to execute the method described in the first aspect of the embodiment of the present application.

[0036] By adopting the key re-pairing method provided by the present application, when the user's paired key is lost, the key to be paired can be inserted into the transportation device, and the identity of the private user can be verified by blocking the infrared sensor on the transportation device or through identity verification, and then a target signal consistent with the preset signal is output to activate the pairing function of the transportation device to pair the key to be paired with the following module; after a malicious pairing user inserts the key to be paired into the transportation device, since the user cannot know how to block the infrared sensor or cannot pass the identity verification, the pairing function of the transportation device will not be activated, and naturally the user cannot steal the transportation device after pairing, thereby improving the anti-theft property of the transportation device to a certain extent. BRIEF DESCRIPTION OF THE DRAWINGS

[0037] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the description of the embodiments of the present application will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.

[0038] Figure 1 is a flowchart of the steps of a key re-pairing method proposed in one embodiment of the present application;

[0039] Figure 2 is a schematic diagram of the structure of a transport device proposed in one embodiment of the present application;

[0040] Figure 3 It is a connection diagram of a key re-pairing device proposed in one embodiment of the present application. DETAILED DESCRIPTION

[0041] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.

[0042] Reference Figure 1 A method for re-pairing a key is shown, and the method is applied to a transportation device, and specifically can be applied to a whole machine control panel of the transportation device, and the method comprises the following steps:

[0043] Step 101: When the follow-up key signal of the paired key cannot be detected, detect whether a key to be paired is inserted.

[0044] In the embodiment of the present application, the following key signal of the paired key within the preset range can be detected by the following module on the transport device. Figure 2 When in the transport device shown, the complete machine control panel can be identified by the ejection mechanism.

[0045] The transport device may be a transport device such as a cargo trolley, a shopping cart, or a vehicle.

[0046] The following module has a key detection range, for example, a spherical range with a radius of 20 meters. The following module can detect the following key signal of the paired key within the key detection range, but cannot detect the following key signal of the paired key outside the key detection range.

[0047] Among them, the following key signal of the paired key cannot be detected including: the paired key is damaged, the paired key is automatically shut down due to insufficient power and cannot output the following signal, etc.; it also includes the situation that the paired key can output the following key signal, but the position of the paired key exceeds the preset detection range of the following module, etc.

[0048] In some scenarios, when the following module cannot detect the following key signal of the paired key within the key detection range of 20 meters, it is determined that the paired key may be damaged, faulty, or cannot be used. At this time, it can detect in real time whether the key to be paired is inserted into the transportation device. If the key to be paired is inserted into the transportation device, it means that the user's paired key cannot be used and the key to be paired needs to be paired.

[0049] Step 102: When the insertion of the key to be paired is detected, determining whether a target signal consistent with a preset signal is received, wherein the preset signal is used to trigger a pairing function for the key to be paired.

[0050] In the embodiment of the present application, when the insertion of the key to be paired is detected, it means that the user may want to pair the key to be paired. In order to further distinguish whether the user is a private user of the transportation device or a malicious pairing user, it is also necessary to determine whether a target signal consistent with the preset signal is received.

[0051] The preset signal is a signal issued by a verification method known to the private user, or a signal issued after identity verification. For example, the preset signal may be a trigger signal output by a detection device on the shielded transport device, such as an infrared sensor, or a trigger signal output after the user passes identity verification, or a trigger signal output after the user touches a specific position of the transport device.

[0052] Identity verification can be through face recognition, IC card recognition, mobile phone verification code and other identity verification methods; a specific location refers to the bottom of the transport device, the handlebars, the body of the vehicle and other locations.

[0053] In some scenarios, when a private user purchases a transport device, he or she will be informed that the target signal consistent with the preset signal can be output by blocking the infrared sensor. When the private user's paired key is lost, the key to be paired is inserted into the transport device, and the infrared sensor is blocked, so that the transport device outputs the target signal consistent with the preset signal, thereby activating the pairing function of the transport device. In this process, since the malicious pairing user cannot know the verification method of the infrared sensor, even if the key to be paired is inserted into the transport device, it cannot output a signal, and thus cannot activate the pairing function of the transport device.

[0054] In other scenarios, when the user's paired key is lost, the key to be paired is inserted into the transportation device, and then the user is identified as the private user of the transportation device through face recognition, so as to output a target signal consistent with the preset signal to activate the pairing function of the transportation device. In this process, since the identity of the malicious pairing user is not recorded in the transportation device, even if the key to be paired is inserted into the transportation device, no signal can be output, and thus the pairing function of the transportation device cannot be activated.

[0055] Step 103: When the target signal is received, the pairing function is activated to pair the key to be paired with the follow-up module in the transportation device.

[0056] In the embodiment of the present application, after receiving a target signal consistent with a preset signal, it is determined that the user who inserts the key to be paired is a private user of the transportation device, thereby activating the pairing function and pairing the key to be paired with the following module in the transportation device.

[0057] Among them, the following module refers to the component on the transportation device that is paired with the key to be paired, and is used to exchange data with the paired key, locate the paired key, and identify the distance between the paired key and the transportation device.

[0058] The key to be paired can be placed on a transport device. When the paired key of the user is lost, the key to be paired can be taken out from the transport device to pair the key to be paired.

[0059] Through the key re-pairing method proposed in the embodiment of the present application, when the user's paired key is lost, the key to be paired can be inserted into the transportation device, and the identity of the private user can be verified by blocking the infrared sensor on the transportation device or through identity verification, and then a target signal consistent with the preset signal is output to activate the pairing function of the transportation device to pair the key to be paired with the following module; after a malicious pairing user inserts the key to be paired into the transportation device, since the user cannot know how to block the infrared sensor or cannot pass the identity verification, the pairing function of the transportation device will not be activated, and naturally the transportation device cannot be stolen after pairing, thereby improving the anti-theft performance of the transportation device to a certain extent.

[0060] Based on the same inventive concept, another embodiment of the present application provides a key re-pairing method, which is applied to a whole machine control panel of a transportation device, and comprises the following steps:

[0061] Step 201: When the follow-up key signal of the paired key cannot be detected, detect whether a key to be paired is inserted.

[0062] In the embodiment of the present application, when the whole machine control board cannot detect the follow-up key signal of the paired key through the follow-up module, it means that the paired key has been damaged or turned off, and the pop-up mechanism on the transport device can be used to detect whether the key to be paired is inserted.

[0063] Among them, both the key to be paired and the paired key are follow-up keys.

[0064] The pop-up mechanism is a component provided on the transport device for detecting whether the key to be paired is inserted. After the key to be paired is inserted into the transport device and contacts the pop-up mechanism, the pop-up mechanism can detect that the key to be paired is inserted.

[0065] The ejection mechanism can also charge the inserted key to be paired. When the key to be paired is inserted into the transport device and contacts the ejection mechanism, the ejection mechanism transmits the power of the transport device to the key to be paired to charge the key to be paired. After charging is completed, the ejection mechanism automatically ejects the key to be paired. The ejection mechanism can be implemented by any method in the prior art, and the present application does not limit this. Specifically, the ejection mechanism may include a cylinder and a push rod. The cylinder is used to receive a control instruction, and after receiving the control instruction, the push rod is controlled to extend to eject the key to be paired.

[0066] Step 202: when the insertion of the key to be paired is detected, determining whether a target signal consistent with a preset signal is received, wherein the preset signal is used to trigger a pairing function for the key to be paired.

[0067] In the embodiment of the present application, when the whole machine control board detects that the key to be paired is inserted through the pop-up mechanism, it will monitor whether the detection device detects an obstacle within the first detection range; when it is monitored that the detection device detects the obstacle within the first detection range, it determines that a target signal consistent with the preset signal is received.

[0068] The detection device may be a sensor that can emit rays, such as an infrared sensor, and is generally provided on a transport device to detect obstacles to prevent the transport device from colliding with the obstacles. In order to distinguish whether the detection device detects a real obstacle or an obstacle set by the user to trigger the target signal of the detection device, the detection range of the detection device is set.

[0069] For example, the detection range of the detection device can be divided into a first detection range and a second detection range, and the first detection range and the second detection range can be used to distinguish whether the detection device detects a real obstacle or an obstacle set by the user to trigger the target signal of the detection device. The first detection range can be the interval of [5cm, 20cm], and the second detection range can be the interval of [50m, 80m].

[0070] When the detection device detects an obstacle within the first detection range, it is determined that the detected obstacle is an obstacle set by the user. At this time, the detection device will output a target signal consistent with the preset signal to activate the pairing function; when the detection device detects an obstacle within the second detection range, it is determined that the detected obstacle is a real obstacle. At this time, the detection device will output a signal to the transportation device to control the transportation device to avoid the obstacle.

[0071] Wherein, when the insertion of the key to be paired is detected, monitoring whether the detection device detects an obstacle within the first detection range also includes the following sub-steps:

[0072] Step 2021: When it is detected that the key to be paired is inserted, the transportation device is controlled to be in a dormant state.

[0073] In an embodiment of the present application, before pairing the key to be paired, it is necessary to turn on the power of the transportation device to start the following module to detect whether the paired key is within the key detection range, start the pop-up mechanism to detect whether the key to be paired is inserted, and start the detection device to detect whether there is an obstacle within the first detection range.

[0074] Among them, after the power of the transportation device is turned on, the general detection device needs to detect an obstacle in the first detection range within a preset time before it will send out a target signal consistent with the preset signal; if no obstacle is detected in the first detection range after more than the preset time, the power will be automatically cut off.

[0075] In this case, if the inserted key to be paired has insufficient power to support pairing, the key to be paired needs to be charged through the pop-up mechanism, and the charging takes some time. If this period of time exceeds the preset time of the detection device, the detection device will automatically lose power during the charging process of the key to be paired, and the detection function of the detection device will not be realized.

[0076] Then, in this process, the detection device will remain in the on state for a preset time and then automatically power off. During the preset time when the detection device is continuously turned on, it does not need to perform its detection function, so it will waste the power of the transport device unnecessarily. Therefore, in order to avoid the detection device from wasting power, after detecting that the key to be paired is inserted, the transport device will be controlled to be in a dormant state.

[0077] The dormant state means that the detection device and the following module of the transport device are in a power-off state, but the ejection mechanism of the transport device is in an open state to charge the key to be paired.

[0078] In this way, after the whole machine control board controls the transport device to be in a dormant state, the key to be paired is in a charging state, but the detection device is in a power-off state, thereby preventing the detection device from wasting power of the transport device.

[0079] Step 2022: When the transport device is in a dormant state, the key to be paired is charged through a pop-up mechanism to trigger the key to be paired to start up.

[0080] In the embodiment of the present application, when the key to be paired is being charged, the whole machine control board will activate the key to be paired to automatically start the machine, so as to perform subsequent pairing functions.

[0081] Step 2023: Control the transport device to switch from the sleep state to the start state to start the detection device.

[0082] In the embodiment of the present application, when it is detected that the power level of the key to be paired is greater than a preset power level, the transportation device will be controlled to switch from a sleep state to a start state.

[0083] The preset power value is a power value that can at least support the pairing process between the key to be paired and the follow-up module, such as 20% SOC.

[0084] Among them, after the control transportation device is in the starting state, the detection device and the following module and other devices are in the open state.

[0085] Step 2024: Monitor whether the detection device detects an obstacle within the first detection range.

[0086] In the embodiment of the present application, after the detection device is turned on, it can detect obstacles within the first detection range, thereby outputting a target signal consistent with a preset signal.

[0087] Among them, during the process of charging the paired key, the user can place the obstacle within the first detection range of the detection device in advance. Then, when the detection device is restarted, the obstacle within the first detection range will be detected in time, so that the target signal consistent with the preset signal can be output more quickly.

[0088] Step 203: When the target signal is received, the pairing function is activated to pair the key to be paired with the follow-up module in the transportation device.

[0089] In an embodiment of the present application, the pairing function is activated when the target signal is received, the key to be paired is detected to be in the power-on state, and it is confirmed that the various components can communicate normally; wherein the various components include the key to be paired, the follow-up module, the pop-up mechanism and the whole machine control panel.

[0090] Specifically, after receiving the target signal, the whole machine control board can check again whether the key to be paired is inserted into the transportation device, detect whether the key to be paired is turned on, and then check the whole machine control board, the key to be paired, the follower module, and the pop-up mechanism to confirm that the whole machine control board, the key to be paired, the follower module, and the pop-up mechanism can communicate normally and without faults.

[0091] In this way, when it is determined that each component is communicating normally and is ready, the pairing function is activated to pair the key to be paired with the follow-up module.

[0092] Among them, consistent protocol codes can be preset in the key to be paired and the following module respectively, and it is determined whether the protocol code of the key to be paired is consistent with the protocol code of the following module; if the protocol codes of the two are consistent, it is determined that the following key and the following module are paired successfully.

[0093] For example, the protocol code of GW1234-01 is preset in the key to be paired, and the protocol code of GW1234-01 is also preset in the following module. During pairing, if it is determined that the protocol codes of the two are consistent, it is determined that the key to be paired and the following module are successfully paired. At this time, a prompt message of successful pairing can be broadcast on the transportation device. If the pairing is unsuccessful, a failure message of unsuccessful pairing will also be broadcast on the transportation device.

[0094] Step 204: clearing the protocol code of the paired key in the following module, and recording the protocol code of the key to be paired in the following module.

[0095] In the embodiment of the present application, in order to prevent the lost paired key from being picked up by a malicious user and stealing the transport device, the protocol code of the paired key in the follow-up module will be cleared after the key to be paired is successfully paired, so as to prevent the malicious user from picking up the paired key and stealing the transport device.

[0096] In order to facilitate the subsequent use of the key to be paired, the protocol code of the key to be paired will be recorded in the follow-up module. In this way, when the key to be paired is used subsequently, it is not necessary to pair it again and it can be used directly.

[0097] Step 205: establishing Bluetooth communication between the Bluetooth of the mobile terminal and the transportation device based on the Bluetooth pairing information of the mobile terminal.

[0098] In the embodiment of the present application, after the key to be paired is successfully paired with the follow-up module, the key to be paired will continue to be stored in the transportation device.

[0099] The transport device is provided with Bluetooth, and the user can pair the Bluetooth of the mobile terminal with the Bluetooth of the transport device through Bluetooth to establish Bluetooth communication between the Bluetooth of the mobile terminal and the transport device.

[0100] Step 206: Based on the Bluetooth communication, receiving the pop-up instruction sent by the mobile terminal, and controlling the pop-up mechanism to pop out the key to be paired.

[0101] After the Bluetooth of the mobile terminal is successfully paired with the Bluetooth of the transportation device, the user can use the QR code scanner of the mobile terminal to scan the QR code on the transportation device, thereby sending a pop-up command to the whole machine control board. After receiving the pop-up command, the whole machine control board controls the pop-up mechanism to pop out the key to be paired, and the user can take the key to be paired and use it.

[0102] Based on the same inventive concept, the embodiment of the present application also proposes a key re-pairing device, the device comprising:

[0103] A detection module, used for detecting whether a key to be paired is inserted when a follow-up key signal of a paired key cannot be detected;

[0104] A determination module, used to determine whether a target signal consistent with a preset signal is received when the insertion of the key to be paired is detected, wherein the preset signal is used to trigger a pairing function for the key to be paired;

[0105] The pairing module is used to activate the pairing function when receiving the target signal, so as to pair the key to be paired with the following module in the transportation device.

[0106] Optionally, the determining module includes:

[0107] A monitoring module, configured to monitor whether the detection device detects an obstacle within a first detection range when the key to be paired is detected to be inserted;

[0108] The sub-determination module is used to determine that a target signal consistent with a preset signal is received when it is detected that the detection device detects the obstacle within the preset range.

[0109] Optionally, the monitoring module includes:

[0110] A sleep control module, used to control the transport device to be in a sleep state when the key to be paired is detected to be inserted;

[0111] A power-on activation module, used to charge the key to be paired through a pop-up mechanism when the transport device is in a dormant state, so as to activate the key to be paired and start the device;

[0112] A starting module, used for controlling the transportation device to switch from a dormant state to a starting state, so as to start the detection device;

[0113] The obstacle monitoring module is used to monitor whether the detection device detects an obstacle within the first detection range.

[0114] Optionally, the pairing module includes:

[0115] The pairing activation module is used to activate the pairing function when the target signal is received, the key to be paired is detected to be in the power-on state and the various components are confirmed to be able to communicate normally; wherein the various components include the key to be paired, the follow-up module, the pop-up mechanism and the whole machine control board.

[0116] Optionally, the pairing module includes:

[0117] A protocol code determination module, used to determine whether the protocol code of the key to be paired is consistent with the protocol code of the follow-up module;

[0118] The sub-pairing module is used to determine that the follower key is successfully paired with the follower module when the protocol codes of the two are consistent.

[0119] Optionally, the device further comprises:

[0120] The clearing module is used to clear the protocol code of the paired key in the following module and record the protocol code of the key to be paired in the following module.

[0121] Optionally, the device further comprises:

[0122] An establishing module, used to establish Bluetooth communication between the Bluetooth of the mobile terminal and the transportation device based on the Bluetooth pairing information of the mobile terminal;

[0123] The pop-up control module is used to receive the pop-up instruction sent by the mobile terminal based on the Bluetooth communication, and control the pop-up mechanism to pop out the key to be paired.

[0124] Based on the same inventive concept, the embodiment of the present application also provides one or more processors; and

[0125] One or more machine-readable media having instructions stored thereon, when executed by the one or more processors, enable the electronic device to execute a key re-pairing method provided in an embodiment of the present application.

[0126] Based on the same inventive concept, the embodiments of the present application also provide one or more machine-readable storage media on which instructions are stored, which, when executed by one or more processors, enable the processors to execute a key re-pairing method as provided in the embodiments of the present application.

[0127] As for the device embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.

[0128] The various embodiments in this specification are described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same or similar parts between the various embodiments can be referenced to each other.

[0129] Those skilled in the art will appreciate that the embodiments of the present application can be provided as methods, devices, or computer program products. Therefore, the present application can adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment in combination with software and hardware. Moreover, the present application can adopt the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0130] The embodiments of the present application are described with reference to the flowcharts and / or block diagrams of the methods, terminal devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing terminal device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing terminal device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0131] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing terminal device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce a manufactured product including an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0132] These computer program instructions can also be loaded onto a computer or other programmable data processing terminal device so that a series of operating steps are executed on the computer or other programmable terminal device to produce a computer-implemented process, thereby providing instructions for executing on the computer or other programmable terminal device to implement the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.

[0133] Although the preferred embodiments of the present application have been described, those skilled in the art may make additional changes and modifications to these embodiments once they have learned the basic creative concept. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments and all changes and modifications that fall within the scope of the embodiments of the present application.

[0134] Finally, it should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or terminal device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or terminal device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the existence of other identical elements in the process, method, article or terminal device including the elements.

[0135] The above is a detailed introduction to a key re-pairing method, device, electronic device and machine-readable storage medium provided by the present application. Specific examples are used in this article to illustrate the principles and implementation methods of the present application. The description of the above embodiments is only used to help understand the method of the present application and its core idea; at the same time, for general technical personnel in this field, according to the idea of ​​the present application, there will be changes in the specific implementation method and application scope. In summary, the content of this specification should not be understood as a limitation on the present application.

Claims

1. A method for re-pairing a key, characterized in that: The method is applied to a transport device, and the method comprises: When the follow-up key signal of the paired key cannot be detected, detecting whether a key to be paired is inserted; In the case of detecting that the key to be paired is inserted, determining whether a target signal consistent with a preset signal is received, wherein the preset signal is used to trigger a pairing function for the key to be paired; When the target signal is received, activating the pairing function to pair the key to be paired with the follow-up module in the transportation device; Wherein, when the insertion of the key to be paired is detected, determining whether a target signal consistent with a preset signal is received includes: When the key to be paired is detected to be inserted, monitoring whether the detection device detects an obstacle within the first detection range; In the case where it is monitored that the detection device detects the obstacle within the first detection range, determining that a target signal consistent with a preset signal is received; Wherein, when the insertion of the key to be paired is detected, monitoring whether the detection device detects an obstacle within the first detection range includes: When the key to be paired is detected to be inserted, controlling the transport device to be in a dormant state; When the transport device is in a dormant state, the key to be paired is charged through a pop-up mechanism to trigger the key to be paired to start up; Controlling the transport device to switch from a dormant state to an activated state to activate the detection device; Monitor whether the detection device detects an obstacle within the first detection range.

2. The method according to claim 1, characterized in that In case of receiving the target signal, activating the pairing function includes: When the target signal is received, the key to be paired is detected to be in the power-on state and it is confirmed that each component can communicate normally, the pairing function is activated; wherein the each component includes the key to be paired, the follow-up module, the pop-up mechanism and the whole machine control board.

3. The method according to claim 1, characterized in that Pairing the key to be paired with the following module in the transportation device includes: Determine whether the protocol code of the key to be paired is consistent with the protocol code of the follow-up module; If they are consistent, it is determined that the following key and the following module are paired successfully.

4. The method according to claim 3, characterized in that After determining that the following key is successfully paired with the following module, the method includes: The protocol code of the paired key in the following module is cleared, and the protocol code of the key to be paired is recorded in the following module.

5. The method according to claim 3, characterized in that: After determining that the follow-up key is successfully paired with the follow-up module, the method includes: Establishing Bluetooth communication between the Bluetooth of the mobile terminal and the transportation device based on the Bluetooth pairing information of the mobile terminal; Based on the Bluetooth communication, a pop-up instruction sent by the mobile terminal is received, and a pop-up mechanism is controlled to pop out the key to be paired.

6. A key re-pairing device, characterized in that: The device is arranged in a transport device, and comprises: A detection module, used for detecting whether a key to be paired is inserted when a follow-up key signal of a paired key cannot be detected; A determination module, used to determine whether a target signal consistent with a preset signal is received when the insertion of the key to be paired is detected, wherein the preset signal is used to trigger a pairing function for the key to be paired; a pairing module, configured to activate the pairing function upon receiving the target signal, so as to pair the key to be paired with the following module in the transportation device; Wherein, the determination module includes: A monitoring module, configured to monitor whether the detection device detects an obstacle within a first detection range when the key to be paired is detected to be inserted; a sub-determination module, configured to determine that a target signal consistent with a preset signal is received when it is detected that the detection device detects the obstacle within the first detection range; Wherein, the monitoring module includes: A sleep control module, used to control the transport device to be in a sleep state when the key to be paired is detected to be inserted; A power-on activation module, used to charge the key to be paired through a pop-up mechanism when the transport device is in a dormant state, so as to activate the key to be paired and start the device; A starting module, used for controlling the transportation device to switch from a dormant state to a starting state, so as to start the detection device; The obstacle monitoring module is used to monitor whether the detection device detects an obstacle within the first detection range.

7. An electronic device, characterized in that: include: one or more processors; and One or more machine-readable media having instructions stored thereon, when executed by the one or more processors, cause the electronic device to perform the method as claimed in any one of claims 1 to 5.

8. One or more machine-readable storage media, characterized in that Instructions are stored thereon, which, when executed by one or more processors, cause the processors to perform the method according to any one of claims 1 to 5.

Citation Information

Patent Citations

  • Electronic key, electronic closure system and a method for allowing an access authorisation

    CN104272353A

  • Crop harvesting device

    CN111183782A