A control method and device of an electronic lock

CN117507932BActive Publication Date: 2026-10-27RADAR NEW ENERGY AUTOMOBILE (ZHEJIANG) CO LTD +1
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202311353104.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-10-18
Publication Date
2026-10-27
Estimated Expiration
2043-10-18

AI Technical Summary

Technical Problem

此时,如果用户不在车辆附近,这可能会导致电力转换设备被盗

Benefits of technology

[0039]在本说明书提供的电子锁的控制方法中,本方法可以在电力转换设备与车辆之间建立电连接,将接收到的电子锁状态信息以及工作状态信息向用户进行输出,接收用户基于输出的电子锁状态信息以及工作状态信息输入的针对电子锁的控制指令。最后,将控制指令通过电连接发送给电力转换设备,以使电力转换设备执行控制指令对电子锁进行解锁或闭锁,从而避免电子转换设备被盗。

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117507932B_ABST
    Figure CN117507932B_ABST
Patent Text Reader

Abstract

The present specification discloses a control method and device of an electronic lock. The electronic lock is installed on a DC plug. First, it is detected whether the power conversion device successfully establishes an electrical connection with the vehicle through the DC plug. Second, if the power conversion device successfully establishes an electrical connection with the vehicle through the DC plug, the electronic lock state information corresponding to the electronic lock and the working state information corresponding to the power conversion device transmitted by the power conversion device are received through the electrical connection. Then, the received electronic lock state information and working state information are output to the user, and the control instruction for the electronic lock input by the user based on the output electronic lock state information and working state information is received. Finally, the control instruction is sent to the power conversion device through the electrical connection, so that the power conversion device executes the control instruction to unlock or lock the electronic lock. The method can avoid theft of the electronic conversion device.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This specification relates to the field of electric vehicle technology, and in particular to a control method and device for an electronic lock. Background Technology

[0002] V2L (Vehicle to Load) is an energy exchange technology between a vehicle and its load. Through V2L technology, electric vehicles can output electrical energy from their batteries to other devices, such as home appliances, power tools, and camping equipment.

[0003] Currently, to ensure user safety, an electronic lock installed on the DC plug of the power conversion device secures it to the vehicle, preventing accidental disconnection during vehicle discharge. However, this electronic lock only engages during discharge; it automatically unlocks when the discharge ends. If the user is not near the vehicle at this time, the power conversion device could be stolen. Summary of the Invention

[0004] This specification provides a method, device, electronic device, and machine-readable storage medium for controlling the unlocking and locking of an electronic lock, thereby preventing the theft of power conversion equipment.

[0005] The following technical solution is adopted in this specification:

[0006] This specification provides a control method for an electronic lock applied to a vehicle. The vehicle discharges its onboard battery to a power conversion device electrically connected to the vehicle via a DC plug. The power conversion device converts the DC power output from the onboard battery into AC power and outputs the AC power to an electrical device electrically connected to the power conversion device. An electronic lock is installed on the DC plug. The method includes:

[0007] Detect whether the power conversion device has successfully established an electrical connection with the vehicle through the DC plug;

[0008] If the power conversion device successfully establishes an electrical connection with the vehicle through the DC plug, it receives electronic lock status information corresponding to the electronic lock and working status information corresponding to the power conversion device through the electrical connection.

[0009] The system outputs the received electronic lock status information and working status information to the user, and receives control commands for the electronic lock input by the user based on the output electronic lock status information and working status information.

[0010] The control command is sent to the power conversion device via the electrical connection, so that the power conversion device executes the control command to unlock or lock the electronic lock.

[0011] Optionally, receiving electronic lock status information corresponding to the electronic lock and operating status information corresponding to the power conversion device transmitted by the power conversion device via the electrical connection includes:

[0012] The electrical signal transmitted by the power conversion device through the electrical connection is obtained by encoding the electronic lock status information corresponding to the electronic lock and the working status information corresponding to the power conversion device, and the electrical signal is decoded to obtain the electronic lock status information corresponding to the electronic lock and the working status information corresponding to the power conversion device.

[0013] Sending the control command to the power conversion device via the electrical connection, so that the power conversion device executes the control command to unlock or lock the electronic lock, including:

[0014] The control command is encoded into an electrical signal and sent to the power conversion device through the electrical connection, so that the power conversion device can decode the electrical signal to obtain the control command and execute the control command to unlock or lock the electronic lock.

[0015] Optionally, the control command is sent to the power conversion device via the electrical connection, so that the power conversion device executes the control command to unlock or lock the electronic lock, including:

[0016] If the control command is determined to be an unlock command, the unlock command is sent to the power conversion device through the electrical connection so that the vehicle battery no longer discharges to the power conversion device, and the unlock command is executed to unlock the electronic lock;

[0017] If the control command is determined to be a lockout command, the lockout command is sent to the power conversion device via the electrical connection, so that the power conversion device executes the lockout command to lock the electronic lock.

[0018] Optionally, the method further includes:

[0019] Receive the user's input setting command for the anti-theft function of the electronic lock;

[0020] The setting command is sent to the power conversion device via the electrical connection, so that the power conversion device executes the setting command to open or close the anti-theft function of the electronic lock. The anti-theft function is used to maintain the locked state of the electronic lock after the power conversion device has discharged.

[0021] Optionally, the method further includes:

[0022] If the electronic lock has its anti-theft function activated and receives an unlocking command from the user, the user's identity information is verified.

[0023] After the user's identity information is successfully verified, the unlocking command is sent to the power conversion device via the electrical connection, so that the power conversion device executes the unlocking command to unlock the electronic lock.

[0024] Optionally, a plurality of cameras are installed around the vehicle body, the plurality of cameras being used to collect image data of the environment in which the vehicle is located, and the method further includes:

[0025] Detect whether the DC plug is improperly connected to the vehicle and whether the electronic lock is malfunctioning;

[0026] If the DC plug is not properly connected to the vehicle or the electronic lock malfunctions, the cameras will be activated to capture images, the captured image data will be stored in the vehicle, and an electronic lock malfunction warning will be sent to the user.

[0027] Optionally, the received electronic lock status information and working status information are output to the user, and control commands for the electronic lock input by the user based on the output electronic lock status information and working status information are received, including:

[0028] The received electronic lock status information and working status information are output to the mobile communication terminal associated with the vehicle, so that the user can input control commands for the electronic lock based on the electronic lock status information and working status information output by the mobile communication terminal.

[0029] The system receives the control command sent by the mobile communication terminal and sends the control command to the power conversion device via the electrical connection, so that the power conversion device executes the control command to unlock or lock the electronic lock.

[0030] This specification provides a control device for an electronic lock, applied to a vehicle. The vehicle, via its onboard battery, discharges a power conversion device electrically connected to the vehicle via a DC plug. The power conversion device converts the DC power output from the onboard battery into AC power and outputs the AC power to electrical devices electrically connected to the power conversion device. An electronic lock is installed on the DC plug. The device includes:

[0031] The detection module is used to detect whether the power conversion device has successfully established an electrical connection with the vehicle through the DC plug;

[0032] The receiving module is configured to receive, through the electrical connection, the electronic lock status information corresponding to the electronic lock and the working status information corresponding to the power conversion device transmitted by the power conversion device.

[0033] The output module is used to output the received electronic lock status information and working status information to the user, and to receive the control commands for the electronic lock input by the user based on the output electronic lock status information and working status information.

[0034] The control module is used to send the control command to the power conversion device through the electrical connection, so that the power conversion device executes the control command to unlock or lock the electronic lock.

[0035] This specification provides an electronic device, including a communication interface, a processor, a memory, and a bus, wherein the communication interface, the processor, and the memory are interconnected via the bus;

[0036] The memory stores machine-readable instructions, and the processor executes the above-described method for controlling the electronic lock by invoking the machine-readable instructions.

[0037] This specification provides a machine-readable storage medium storing machine-readable instructions, which, when invoked and executed by a processor, implement the above-described electronic lock control method.

[0038] The above-mentioned technical solutions adopted in this specification can achieve the following beneficial effects:

[0039] In the electronic lock control method provided in this specification, an electrical connection is established between the power conversion device and the vehicle. The received electronic lock status and operating status information is output to the user, and control commands for the electronic lock are received from the user based on the output electronic lock status and operating status information. Finally, the control commands are sent to the power conversion device via the electrical connection, causing the power conversion device to execute the control commands to unlock or lock the electronic lock, thereby preventing the theft of the electronic conversion device. Attached Figure Description

[0040] The accompanying drawings, which are included to provide a further understanding of this specification and form part of this specification, illustrate exemplary embodiments and are used to explain this specification, but do not constitute an undue limitation thereof. In the drawings:

[0041] Figure 1 This is a schematic diagram illustrating a basic vehicle architecture as an exemplary embodiment;

[0042] Figure 2 This is a flowchart illustrating a control method for an electronic lock, as shown in an exemplary embodiment.

[0043] Figure 3 This is a schematic flowchart illustrating the anti-theft function of an electronic lock, as shown in an exemplary embodiment.

[0044] Figure 4 This is a structural diagram of an electronic device containing a control device for an electronic lock, as shown in an exemplary embodiment.

[0045] Figure 5 This is a block diagram illustrating a control device for an electronic lock, as shown in an exemplary embodiment. Detailed Implementation

[0046] To enable those skilled in the art to better understand the technical solutions in this specification, the technical solutions in the embodiments of this specification will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this specification, and not all embodiments. Based on the embodiments in this specification, all other embodiments obtained by those skilled in the art without creative effort should fall within the scope of protection of this specification.

[0047] It should be noted that the steps of the corresponding methods are not necessarily performed in the order shown and described in this specification in other embodiments. In some other embodiments, the methods may include more or fewer steps than described in this specification. Furthermore, a single step described in this specification may be broken down into multiple steps in other embodiments; and multiple steps described in this specification may be combined into a single step in other embodiments.

[0048] In practical applications, to ensure user safety, an electronic lock installed on the DC plug secures the power conversion device's DC plug to the vehicle, preventing accidental disconnection during vehicle discharge. However, this electronic lock only engages during discharge; it automatically unlocks when the discharge ends. If the user is not near the vehicle at this time, the power conversion device could be stolen.

[0049] Based on this, this specification proposes a technical solution for establishing an electrical connection between the power conversion device and the vehicle to control the electronic lock, thereby preventing the theft of the electronic conversion device.

[0050] In the embodiments described in this specification, the vehicle includes: a vehicle control unit (VCU), a human-machine interface (MMI), a battery management system (BMS), a DC socket, a telematics box (TBOX), and a gateway (GW).

[0051] Please see Figure 1 , Figure 1 This is a schematic diagram illustrating a basic vehicle architecture, as shown in an exemplary embodiment.

[0052] exist Figure 1 In the process of discharging, the vehicle control system can be used to participate in vehicle-related controls, such as vehicle power-on / off control and engine control.

[0053] A battery management system can be used to participate in battery-related control during the discharge process and to exchange information with power conversion equipment.

[0054] Remote communication terminals can be used for information transmission between cloud service systems and vehicles to transmit electronic lock status information and working status information.

[0055] A gateway can be used to forward data and convert protocols with the vehicle control system, human-machine interface system, battery management system, and remote communication terminal, enabling communication between these systems.

[0056] A DC socket can be used to connect a DC plug, enabling the vehicle to establish an electrical connection with power conversion equipment to achieve power transmission and signal transmission.

[0057] Human-machine interaction systems can be used to display vehicle information and power conversion equipment information, and provide human-machine interaction.

[0058] Cameras, image acquisition systems, can be used to collect image data of the environment in which a vehicle is located.

[0059] The visual processing unit (ADCU) can be used to process image data of the vehicle's environment and store it in the human-machine interaction system.

[0060] In practical applications, users can control the electronic locks to lock or unlock via the vehicle's human-machine interface system. However, this requires the user to be inside the vehicle; the electronic locks cannot be controlled when the user is away from the vehicle.

[0061] Based on this, a communication connection is established between the vehicle and the mobile communication terminal, allowing users to remotely control the electronic lock to lock or unlock.

[0062] The cloud service system can be used for information transmission between mobile communication terminals and vehicles to transmit electronic lock status and operational status information. With user authorization, the cloud service system can record and process the vehicle's historical discharge data to plan the user's trip.

[0063] Please combine Figure 1 ,refer to Figure 2 This specification provides a detailed description of the technical solutions provided in each embodiment.

[0064] Figure 2 This is a flowchart illustrating an exemplary embodiment of a control method for an electronic lock, specifically including the following steps:

[0065] S200: Detect whether the power conversion device has successfully established an electrical connection with the vehicle through the DC plug.

[0066] S202: If the power conversion device successfully establishes an electrical connection with the vehicle through the DC plug, it receives electronic lock status information corresponding to the electronic lock and working status information corresponding to the power conversion device transmitted through the electrical connection.

[0067] S204: Output the received electronic lock status information and working status information to the user, and receive the control command for the electronic lock input by the user based on the output electronic lock status information and working status information.

[0068] S206: The control command is sent to the power conversion device through the electrical connection so that the power conversion device executes the control command to unlock or lock the electronic lock.

[0069] In the embodiments described in this specification, the vehicle discharges its onboard battery to a power conversion device that is electrically connected to the vehicle via a DC plug, so that the power conversion device converts the DC power output from the onboard battery into AC power and outputs the AC power to the electrical equipment electrically connected to the power conversion device.

[0070] The DC plug can be used to connect to a DC socket and is equipped with an electronic lock.

[0071] Power conversion equipment, when authorized by the user, can be used to reverse control of a vehicle, controlling the activation and deactivation of the discharge function. Furthermore, the power conversion equipment is equipped with a display device that shows operating status information and vehicle information. Generally, power conversion equipment can also detect whether electrical equipment is connected.

[0072] In practical applications, since there is no signal transmission between the vehicle and the electronic lock, the vehicle cannot control the electronic lock. This may result in the electronic lock automatically unlocking when the user is not near the vehicle, leading to the theft of the power conversion equipment.

[0073] Based on this, an electrical connection can be established between the vehicle and the power conversion equipment to control the electronic locks.

[0074] In the embodiments described in this specification, the battery management system can detect whether the power conversion device has successfully established an electrical connection with the vehicle via a DC plug.

[0075] If the power conversion device successfully establishes an electrical connection with the vehicle via a DC plug, it receives electronic lock status information corresponding to the electronic lock and its operating status information via this connection. The electronic lock status information may include locked, unlocked, or abnormal status (the electronic lock has malfunctioned or malfunctioned). The operating status information corresponding to the power conversion device may include the output voltage and current of the power conversion device, the input voltage and current of the power conversion device, and fault codes from the power conversion device.

[0076] Different faults in the power conversion equipment correspond to different fault codes. For example, the fault code for excessively high temperature in the power conversion equipment is 0001, and the fault code for water ingress in the power conversion equipment is 0002, etc. This manual does not limit the fault codes of the power conversion equipment.

[0077] Then, the human-computer interaction system can output the received electronic lock status information and working status information to the user, and receive the control commands for the electronic lock input by the user based on the output electronic lock status information and working status information.

[0078] Finally, the battery management system can send control commands to the power conversion device via an electrical connection, so that the power conversion device can execute the control commands to unlock or lock the electronic lock.

[0079] In practical applications, information or instructions cannot be directly transmitted between vehicles and power conversion equipment via electrical connection.

[0080] Based on this, vehicles and power conversion equipment can encode information or instructions into electrical signals for transmission, and then decode the electrical signals to complete the transmission of information or instructions.

[0081] In the embodiments of this specification, the battery management system can receive, via electrical connection, an electrical signal transmitted by the power conversion device, which is encoded based on the electronic lock status information corresponding to the electronic lock and the working status information corresponding to the power conversion device, and decode the electrical signal to obtain the electronic lock status information corresponding to the electronic lock and the working status information corresponding to the power conversion device.

[0082] The battery management system can encode control commands into electrical signals and send these signals to a power conversion device via an electrical connection. The power conversion device then decodes the signals to obtain the control commands and executes them to unlock or lock the electronic lock. Various methods can be used to encode or decode these electrical signals, such as Non-Return-to-Zero (NRZ), Return-to-Zero (RZ), and Manchester encoding.

[0083] For example, a vehicle can encode an unlocking command into an electrical signal and send the signal to a power conversion device via an electrical connection. The power conversion device can then decode the signal to obtain the unlocking command and execute it to unlock the electronic lock.

[0084] Similarly, the vehicle can encode the locking command into an electrical signal and send the electrical signal to the power conversion device via an electrical connection, so that the power conversion device can decode the electrical signal to obtain the locking command and execute the locking command to lock the electronic lock.

[0085] Similarly, the power conversion device can encode operating status information into electrical signals and send the electrical signals to the battery management system via an electrical connection. The battery management system can receive the electrical signals sent by the power conversion device via the electrical connection and decode the received electrical signals to obtain the operating status information sent by the power conversion device.

[0086] In the embodiments described in this specification, before the vehicle sends the control command to the power conversion device via the electrical connection, it can first perform a handshake confirmation of the discharge configuration information with the power conversion device via the electrical connection, and after the handshake confirmation of the discharge configuration information is completed, the control command is then sent to the power conversion device via the electrical connection.

[0087] Handshake confirmation of configuration information refers to the exchange of configuration information between the vehicle battery and the power conversion device to confirm each other's parameter settings and functional support, ensuring that they can communicate and cooperate correctly. Through the handshake process, the vehicle battery and the power conversion device can exchange and verify configuration information to ensure that both have the necessary functional support and parameter settings.

[0088] In practical applications, users can control the electronic locks to lock or unlock via the vehicle's human-machine interface system. However, this requires the user to be inside the vehicle; the electronic locks cannot be controlled when the user is away from the vehicle.

[0089] Based on this, a communication connection is established between the vehicle and the mobile communication terminal, allowing users to remotely control the electronic lock to lock or unlock.

[0090] In the embodiments described in this specification, the battery management system can output the received electronic lock status information and operating status information to a mobile communication terminal associated with the vehicle, so that the user can input control commands for the electronic lock based on the electronic lock status information and operating status information output by the mobile communication terminal.

[0091] Then, the battery management system can receive control commands sent by the mobile communication terminal and send the control commands to the power conversion device via electrical connection, so that the power conversion device can execute the control commands to unlock or lock the electronic lock.

[0092] Specifically, the battery management system can output the received electronic lock status information and working status information to the gateway, which then forwards the data to the remote communication terminal, which then sends it to the cloud service system. Finally, the cloud service system sends it to the mobile communication terminal for display to the user.

[0093] Next, the remote communication terminal receives the control commands for the electronic lock input by the user based on the output electronic lock status information and working status information from the mobile communication terminal. The remote communication terminal sends the control commands to the gateway, which then forwards them to the battery management system. Finally, the battery management system sends the commands to the power conversion device via an electrical connection, so that the power conversion device can execute the control commands to unlock or lock the electronic lock.

[0094] In the embodiments described in this specification, the control commands input by the user for the electronic lock may include unlocking commands and locking commands. If the control command is determined to be an unlocking command, the unlocking command is sent to the power conversion device via an electrical connection to prevent the vehicle battery from discharging to the power conversion device, and the unlocking command is executed to unlock the electronic lock.

[0095] If the control command is determined to be a lockout command, the lockout command is sent to the power conversion device via an electrical connection so that the power conversion device executes the lockout command to lock the electronic lock.

[0096] In practical applications, if the user does not promptly lock the electronic lock when the vehicle's power discharge ends, the power conversion equipment may still be stolen.

[0097] Based on this, users can activate the anti-theft function of the electronic lock to maintain its locked state after the power conversion equipment has finished discharging.

[0098] In the embodiments described in this specification, the human-computer interaction system can receive user input setting instructions for the anti-theft function of the electronic lock, and then forward the setting instructions to the battery management system through a gateway. Alternatively, the mobile communication terminal can also receive user input setting instructions for the anti-theft function of the electronic lock. The remote communication terminal receives the setting instructions output by the mobile communication terminal, sends the setting instructions to the gateway, and then the gateway forwards them to the battery management system.

[0099] The battery management system can then send setting commands to the power conversion device via an electrical connection, causing the power conversion device to execute the setting commands and enable or disable the anti-theft function of the electronic lock. The anti-theft function maintains the electronic lock in its locked state after the power conversion device has finished discharging.

[0100] Please see Figure 3 , Figure 3 This is a schematic diagram illustrating the anti-theft function of an electronic lock, as shown in an exemplary embodiment.

[0101] exist Figure 3 In step 300, the process begins. The vehicle's overall system is in the initialization state.

[0102] Step 301: Connect the DC plug to the vehicle.

[0103] Step 302: The battery management system checks whether the DC plug is successfully connected to the vehicle. If the DC plug is successfully connected to the vehicle, proceed to step 303. If the DC plug is not successfully connected to the vehicle, proceed to step 301.

[0104] Step 303: The battery management system receives the electronic lock status information and operating status information transmitted by the power conversion device, and forwards it to the human-machine interface system for output to the user through the gateway. Alternatively, the battery management system receives the electronic lock status information and operating status information transmitted by the power conversion device, forwards the data to the remote communication terminal through the gateway, then sends it to the cloud service system, and finally sends it to the mobile communication terminal for display to the user.

[0105] Step 304: The human-machine interface system receives the user's input setting command for the anti-theft function and sends the setting command to the power conversion device. Alternatively, a mobile communication terminal can receive the user's input setting command for the anti-theft function and send it to a remote communication terminal, which then sends the setting command to the gateway, which in turn forwards it to the battery management system.

[0106] Step 305: The battery management system detects whether the vehicle battery is discharging to the power conversion device. If the vehicle battery is no longer discharging to the power conversion device, proceed to step 306. If the vehicle battery is discharging to the power conversion device, proceed to step 307.

[0107] Step 306: The power conversion equipment checks whether the anti-theft function is enabled. If the electronic lock's anti-theft function is enabled, proceed to step 307. If the electronic lock's anti-theft function is not enabled, repeat step 308.

[0108] Step 307: The power conversion equipment maintains the electronic lock in the locked state.

[0109] Step 308: The power conversion device unlocks the electronic lock.

[0110] It should be noted that activating the anti-theft function of the electronic lock will consume the vehicle's battery power. When the user is near the vehicle, the user can turn off the anti-theft function of the electronic lock to save the vehicle's battery power.

[0111] To further ensure the security of power conversion equipment and prevent its theft, if the electronic lock has its anti-theft function activated and receives an unlocking command from the user, the user's identity information can be verified.

[0112] After the user's identity information is successfully verified, the unlocking command is sent to the power conversion device via an electrical connection, so that the power conversion device can execute the unlocking command to unlock the electronic lock.

[0113] In practical applications, when criminals forcibly damage or illegally unlock the electronic lock and steal the power conversion equipment, the vehicle cannot collect information about the criminals, nor can it alert the user that the electronic lock is malfunctioning.

[0114] Based on this, when the vehicle detects an abnormal connection between the DC plug and the vehicle, or an abnormality in the electronic lock, the vehicle's camera will be activated to capture images and send an electronic lock malfunction warning to the user.

[0115] In the embodiments described in this specification, the battery management system can detect whether the DC plug is abnormally connected to the vehicle and whether the electronic lock is malfunctioning.

[0116] If the DC plug is not properly connected to the vehicle or the electronic lock malfunctions, several cameras in the image acquisition system will be activated to acquire images. The acquired image data will be input into the vision processing system for processing, and the processed image data will be stored in the human-machine interaction system, sending an electronic lock malfunction warning to the user.

[0117] Furthermore, after establishing a communication connection between the vehicle and the mobile communication terminal, the collected image data can be stored in the mobile communication terminal or cloud service system, and an electronic lock malfunction warning can be sent to the mobile communication terminal.

[0118] In practical applications, when users are far from the vehicle, they cannot know the status of the vehicle's battery, which may result in the battery running out of power, preventing the user from returning home.

[0119] Based on this, the battery management system can send the battery status of the vehicle battery to the mobile communication terminal, allowing users to monitor the battery's charge level in real time. Users can also set the desired remaining battery charge level. When the battery's charge level falls below a set threshold, the mobile communication terminal sends a discharge termination command to the power conversion device and a control command to the electronic lock to a remote communication terminal. The remote communication terminal then forwards these commands to the gateway, which in turn forwards them to the battery management system. The battery management system can then transmit these commands to the power conversion device via an electrical connection, causing the device to execute the discharge termination command, preventing the vehicle battery from discharging into the device, and execute the control command to unlock or lock the electronic lock.

[0120] As can be seen from the above method, this method can establish an electrical connection between the power conversion device and the vehicle, output the received electronic lock status information and working status information to the user, and receive the user's control commands for the electronic lock based on the output electronic lock status information and working status information. Finally, the control commands are sent to the power conversion device through the electrical connection, so that the power conversion device can execute the control commands to unlock or lock the electronic lock, thereby preventing the theft of the electronic conversion device.

[0121] Furthermore, users can activate the anti-theft function of the electronic lock to maintain its locked state after the power conversion equipment has finished discharging.

[0122] Corresponding to the embodiments of the control method for electronic locks described above, this specification also provides an embodiment of a control device for electronic locks.

[0123] Please see Figure 4 , Figure 4 This is a structural diagram of an electronic device containing an electronic lock control device, as illustrated in an exemplary embodiment. At the hardware level, the device includes a processor 402, an internal bus 404, a network interface 406, memory 408, and non-volatile memory 410, and may also include other necessary hardware. One or more embodiments of this specification can be implemented in software, for example, the processor 402 reads the corresponding computer program from the non-volatile memory 410 into memory 408 and then runs it. Of course, besides software implementation, one or more embodiments of this specification do not exclude other implementation methods, such as logic devices or a combination of hardware and software, etc. That is to say, the execution entity of the following processing flow is not limited to individual logic units, but can also be hardware or logic devices.

[0124] Please see Figure 5 , Figure 5 This is a block diagram illustrating a control device for an electronic lock, as shown in an exemplary embodiment. This electronic lock control device can be applied to, for example... Figure 4 The electronic device shown implements the technical solution of this specification. The control device for the electronic lock may include:

[0125] The detection module 500 is used to detect whether the power conversion device has successfully established an electrical connection with the vehicle through the DC plug;

[0126] The receiving module 502 is used to receive, through the electrical connection, the electronic lock status information corresponding to the electronic lock and the working status information corresponding to the power conversion device transmitted by the power conversion device.

[0127] The output module 504 is used to output the received electronic lock status information and working status information to the user, and to receive the control commands for the electronic lock input by the user based on the output electronic lock status information and working status information.

[0128] The control module 506 is used to send the control command to the power conversion device through the electrical connection, so that the power conversion device executes the control command to unlock or lock the electronic lock.

[0129] Optionally, the receiving module 502 is specifically configured to receive, via the electrical connection, an electrical signal transmitted by the power conversion device, which is encoded based on electronic lock status information corresponding to the electronic lock and working status information corresponding to the power conversion device. The module decodes the electrical signal to obtain electronic lock status information corresponding to the electronic lock and working status information corresponding to the power conversion device. It then encodes the control command into an electrical signal and sends the electrical signal to the power conversion device via the electrical connection, so that the power conversion device decodes the electrical signal to obtain the control command and executes the control command to unlock or lock the electronic lock.

[0130] Optionally, the control module 506 is specifically configured to, if the control command is determined to be an unlock command, send the unlock command to the power conversion device via the electrical connection, so that the vehicle battery no longer discharges to the power conversion device, and execute the unlock command to unlock the electronic lock. If the control command is determined to be a lock command, send the lock command to the power conversion device via the electrical connection, so that the power conversion device executes the lock command to lock the electronic lock.

[0131] Optionally, the control module 506 is further configured to receive a setting instruction for the anti-theft function of the electronic lock input by the user, and send the setting instruction to the power conversion device through the electrical connection, so that the power conversion device executes the setting instruction to open or close the anti-theft function of the electronic lock. The anti-theft function is used to maintain the locked state of the electronic lock after the power conversion device has discharged.

[0132] Optionally, the control module 506 is further configured to, if the electronic lock has its anti-theft function enabled and receives an unlocking command input by the user for the electronic lock, verify the user's identity information, and after the user's identity information is successfully verified, send the unlocking command to the power conversion device through the electrical connection so that the power conversion device executes the unlocking command to unlock the electronic lock.

[0133] Optionally, several cameras are installed around the vehicle body to collect image data of the environment in which the vehicle is located. The control module 506 is specifically used to detect whether the DC plug is abnormally connected to the vehicle and whether the electronic lock is abnormal. If the DC plug is abnormally connected to the vehicle or the electronic lock is abnormal, the several cameras are activated to collect images, the collected image data is stored in the vehicle, and an electronic lock abnormality warning is sent to the user.

[0134] Optionally, the output module 504 is specifically used to output the received electronic lock status information and working status information to a mobile communication terminal associated with the vehicle, so that the user can input control commands for the electronic lock based on the electronic lock status information and working status information output by the mobile communication terminal, receive the control commands sent by the mobile communication terminal, and send the control commands to the power conversion device through the electrical connection, so that the power conversion device can execute the control commands to unlock or lock the electronic lock.

[0135] The specific implementation process of the functions and roles of each unit in the above device can be found in the implementation process of the corresponding steps in the above method, and will not be repeated here.

[0136] For the device embodiments, since they basically correspond to the method embodiments, the relevant parts can be referred to in the description of the method embodiments. The device embodiments described above are merely illustrative. The units described as separate components may or may not be physically separate, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed across multiple network units. Some or all of the modules can be selected to achieve the purpose of the solution in this specification according to actual needs. Those skilled in the art can understand and implement this without creative effort.

[0137] The systems, devices, modules, or units described in the above embodiments can be implemented by computer chips or entities, or by products with certain functions. A typical implementation device is a computer, which can take the form of a personal computer, laptop computer, cellular phone, camera phone, smartphone, personal digital assistant, media player, navigation device, email sending and receiving device, game console, tablet computer, wearable device, or any combination of these devices.

[0138] In a typical configuration, a computer includes one or more processors (CPU), input / output interfaces, network interfaces, and memory.

[0139] Memory may include non-persistent storage in computer-readable media, such as random access memory (RAM) and / or non-volatile memory, such as read-only memory (ROM) or flash RAM. Memory is an example of computer-readable media.

[0140] Computer-readable media, including both permanent and non-permanent, removable and non-removable media, can store information using any method or technology. Information can be computer-readable instructions, data structures, modules of programs, or other data. Examples of computer storage media include, but are not limited to, phase-change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technologies, CD-ROM, digital versatile optical disc (DVD) or other optical storage, magnetic tape, disk storage, quantum memory, graphene-based storage media or other magnetic storage devices, or any other non-transferable medium that can be used to store information accessible by a computing device. As defined herein, computer-readable media does not include transient computer-readable media, such as modulated data signals and carrier waves.

[0141] The user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, data stored, data displayed, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties. Furthermore, the collection, use and processing of the relevant data must comply with the relevant laws, regulations and standards of the relevant countries and regions, and corresponding operation entry points are provided for users to choose to authorize or refuse.

[0142] It should also be noted that the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes said element.

[0143] The foregoing has described specific embodiments of this specification. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps recited in the claims may be performed in a different order than that shown in the embodiments and may still achieve the desired result. Furthermore, the processes depicted in the drawings do not necessarily require the specific or sequential order shown to achieve the desired result. In some embodiments, multitasking and parallel processing are possible or may be advantageous.

[0144] The terminology used in one or more embodiments of this specification is for the purpose of describing particular embodiments only and is not intended to limit the scope of one or more embodiments of this specification. The singular forms “a,” “described,” and “the” as used in one or more embodiments of this specification and the appended claims are also intended to include the plural forms unless the context clearly indicates otherwise. It should also be understood that the term “and / or” as used herein refers to and includes any or all possible combinations of one or more associated listed items.

[0145] It should be understood that although the terms first, second, third, etc., may be used to describe various information in one or more embodiments of this specification, such information should not be limited to these terms. These terms are only used to distinguish information of the same type from one another. For example, first information may also be referred to as second information without departing from the scope of one or more embodiments of this specification, and similarly, second information may also be referred to as first information. Depending on the context, the word "if" as used herein may be interpreted as "when," "in response to a determination," or "when," or "in the event of a determination."

[0146] The above description is merely a preferred embodiment of one or more embodiments of this specification and is not intended to limit the scope of one or more embodiments of this specification. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of one or more embodiments of this specification should be included within the protection scope of one or more embodiments of this specification.

Claims

1. A control method for an electronic lock, characterized in that, The method is applied to a vehicle, which discharges its onboard battery to a power conversion device electrically connected to the vehicle via a DC plug. The power conversion device converts the DC power output from the onboard battery into AC power and outputs the AC power to electrical devices electrically connected to the power conversion device. An electronic lock is installed on the DC plug. The method includes: Detect whether the power conversion device has successfully established an electrical connection with the vehicle through the DC plug; If the power conversion device successfully establishes an electrical connection with the vehicle through the DC plug, it receives electronic lock status information and operating status information corresponding to the electronic lock transmitted by the power conversion device through the electrical connection; it outputs the received electronic lock status information and operating status information to the mobile communication terminal, and receives control commands for the electronic lock input by the user based on the electronic lock status information and operating status information output by the mobile communication terminal. The control command is sent to the power conversion device via the electrical connection, so that the power conversion device executes the control command to unlock or lock the electronic lock; If the current charge level of the vehicle battery is lower than a set threshold, the system receives a discharge termination command and a control command transmitted from the mobile communication terminal. The discharge termination command and the control command are sent to the power conversion device via the electrical connection, so that the power conversion device executes the discharge termination command, so that the vehicle battery no longer discharges to the power conversion device, and executes the control command to unlock or lock the electronic lock.

2. The method as described in claim 1, characterized in that, Receive, via the electrical connection, electronic lock status information corresponding to the electronic lock and operating status information corresponding to the power conversion device transmitted by the power conversion device, including: The electrical signal transmitted by the power conversion device through the electrical connection is encoded based on the electronic lock status information corresponding to the electronic lock and the working status information corresponding to the power conversion device. The electrical signal is then decoded to obtain the electronic lock status information corresponding to the electronic lock and the working status information corresponding to the power conversion device. Sending the control command to the power conversion device via the electrical connection, so that the power conversion device executes the control command to unlock or lock the electronic lock, including: The control command is encoded into an electrical signal and sent to the power conversion device through the electrical connection, so that the power conversion device can decode the electrical signal to obtain the control command and execute the control command to unlock or lock the electronic lock.

3. The method as described in claim 1, characterized in that, Sending the control command to the power conversion device via the electrical connection, so that the power conversion device executes the control command to unlock or lock the electronic lock, including: If the control command is determined to be an unlock command, the unlock command is sent to the power conversion device through the electrical connection so that the vehicle battery no longer discharges to the power conversion device, and the unlock command is executed to unlock the electronic lock; If the control command is determined to be a lockout command, the lockout command is sent to the power conversion device via the electrical connection, so that the power conversion device executes the lockout command to lock the electronic lock.

4. The method as described in claim 1, characterized in that, The method further includes: Receive the user's input setting command for the anti-theft function of the electronic lock; The setting command is sent to the power conversion device via the electrical connection, so that the power conversion device executes the setting command to open or close the anti-theft function of the electronic lock. The anti-theft function is used to maintain the locked state of the electronic lock after the power conversion device has discharged.

5. The method as described in claim 4, characterized in that, The method further includes: If the electronic lock has its anti-theft function activated and receives an unlocking command from the user, the user's identity information is verified. After the user's identity information is successfully verified, the unlocking command is sent to the power conversion device via the electrical connection, so that the power conversion device executes the unlocking command to unlock the electronic lock.

6. The method as described in claim 1, characterized in that, The vehicle is equipped with several cameras around its body, which are used to collect image data of the environment in which the vehicle is located. The method further includes: Detect whether the DC plug is improperly connected to the vehicle and whether the electronic lock is malfunctioning; If the DC plug is not properly connected to the vehicle or the electronic lock malfunctions, the cameras will be activated to capture images, the captured image data will be stored in the vehicle, and an electronic lock malfunction warning will be sent to the user.

7. The method as described in claim 1, characterized in that, The received electronic lock status information and working status information are output to the mobile communication terminal, and control commands for the electronic lock input by the user based on the electronic lock status information and working status information output by the mobile communication terminal are received, including: The received electronic lock status information and working status information are output to the mobile communication terminal so that the user can input control commands for the electronic lock based on the electronic lock status information and working status information output by the mobile communication terminal. The system receives the control command sent by the mobile communication terminal and sends the control command to the power conversion device via the electrical connection, so that the power conversion device executes the control command to unlock or lock the electronic lock.

8. A control device for an electronic lock, characterized in that, The device is applied to a vehicle, which discharges its onboard battery to a power conversion device electrically connected to the vehicle via a DC plug. The power conversion device then converts the DC power output from the onboard battery into AC power and outputs the AC power to electrical devices electrically connected to the power conversion device. An electronic lock is installed on the DC plug. The device includes: The detection module is used to detect whether the power conversion device has successfully established an electrical connection with the vehicle through the DC plug; The first receiving module is configured to receive, if the power conversion device successfully establishes an electrical connection with the vehicle via the DC plug, electronic lock status information corresponding to the electronic lock and working status information corresponding to the power conversion device transmitted by the power conversion device through the electrical connection; the output module is configured to output the received electronic lock status information and working status information to the mobile communication terminal, and receive control commands for the electronic lock input by the user based on the electronic lock status information and working status information output by the mobile communication terminal. The first control module is used to send the control command to the power conversion device through the electrical connection, so that the power conversion device executes the control command to unlock or lock the electronic lock; The second receiving module is used to receive the discharge termination command and control command transmitted by the mobile communication terminal if the current power of the vehicle battery is lower than a set threshold. The second control module is used to send the end-discharge command and the control command to the power conversion device through the electrical connection, so that the power conversion device executes the end-discharge command, so that the vehicle battery no longer discharges to the power conversion device, and executes the control command to unlock or lock the electronic lock.

9. An electronic device, characterized in that, It includes a communication interface, a processor, a memory, and a bus, wherein the communication interface, the processor, and the memory are interconnected via the bus; The memory stores machine-readable instructions, and the processor executes the method according to any one of claims 1 to 7 by invoking the machine-readable instructions.

10. A machine-readable storage medium, characterized in that, The machine-readable storage medium stores machine-readable instructions, which, when invoked and executed by a processor, implement the method described in any one of claims 1 to 7.

Citation Information

Patent Citations

  • Discharge control method, system and device and electric vehicle

    CN111845442A

  • Vehicle control method and system

    CN116311622A

  • Discharging device of new energy automobile

    CN216312695U

  • Charging control apparatus and control method therefor

    US20180215280A1