WO2023005527A1 - Method and apparatus for controlling key ejection, electronic device, and storage medium - Google Patents

Method and apparatus for controlling key ejection, electronic device, and storage medium Download PDF

Info

Publication number
WO2023005527A1
WO2023005527A1 PCT/CN2022/100822 CN2022100822W WO2023005527A1 WO 2023005527 A1 WO2023005527 A1 WO 2023005527A1 CN 2022100822 W CN2022100822 W CN 2022100822W WO 2023005527 A1 WO2023005527 A1 WO 2023005527A1
Authority
WO
WIPO (PCT)
Prior art keywords
key
module
pop
following
mobile terminal
Prior art date
Application number
PCT/CN2022/100822
Other languages
French (fr)
Chinese (zh)
Inventor
宫成龙
王广东
王金光
李博
Original Assignee
长城汽车股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 长城汽车股份有限公司 filed Critical 长城汽车股份有限公司
Publication of WO2023005527A1 publication Critical patent/WO2023005527A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/30Services specially adapted for particular environments, situations or purposes
    • H04W4/40Services specially adapted for particular environments, situations or purposes for vehicles, e.g. vehicle-to-pedestrians [V2P]
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K7/00Methods or arrangements for sensing record carriers, e.g. for reading patterns
    • G06K7/10Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation
    • G06K7/10544Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation by scanning of the records by radiation in the optical part of the electromagnetic spectrum
    • G06K7/10821Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation by scanning of the records by radiation in the optical part of the electromagnetic spectrum further details of bar or optical code scanning devices
    • GPHYSICS
    • G08SIGNALLING
    • G08BSIGNALLING OR CALLING SYSTEMS; ORDER TELEGRAPHS; ALARM SYSTEMS
    • G08B17/00Fire alarms; Alarms responsive to explosion
    • G08B17/02Mechanical actuation of the alarm, e.g. by the breaking of a wire
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/80Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/14Direct-mode setup
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Definitions

  • the embodiments of the present application relate to the technical field of keys, and in particular, to a method, device, electronic device, and storage medium for controlling ejection of a key.
  • the loading trolley is a transportation device for transporting goods.
  • the user can control the loading trolley to perform functions such as start and stop, acceleration and deceleration, and steering through the follow-up key paired with the loading trolley.
  • each loading trolley is controlled by a different following key, and the loading trolley is provided with a locking device for locking the following key, which is used to store and lock the following key on the loading trolley.
  • the user generally needs a specific unlocking key to open the locking device in order to take out the following key from the trolley, and the storage and retrieval of the unlocking key will also bring inconvenience to the user.
  • Embodiments of the present application provide a method, device, electronic device, and storage medium for controlling ejection of a key, aiming at improving the convenience for a user to take out a follow-up key.
  • the first aspect of the embodiment of the present application provides a method for controlling the ejection of a follow-up key, the method including:
  • connection request sent by the mobile terminal For the connection request sent by the mobile terminal, establish Bluetooth communication between the mobile terminal and the transportation device; wherein, the connection request is sent by the mobile terminal after scanning the scanned picture on the transportation device;
  • each component responds to the pop-up command, detect whether the communication status of each component is a normal communication status, wherein each component includes a follow-up key, a follow-up module, a pop-up mechanism and a control panel of the whole machine;
  • the communication state of each component is a normal communication state
  • the following key is ejected from the transportation device by controlling the ejection mechanism.
  • the Bluetooth on the car end is preset with a connection password; for the connection request sent by the mobile terminal, establishing a Bluetooth communication between the transportation device and the mobile terminal includes:
  • the Bluetooth communication between the vehicle-side Bluetooth and the mobile terminal is established.
  • the method also includes:
  • Ejection of the follower key from the transport unit is controlled by an ejection mechanism consisting of:
  • the ejection mechanism detects that the follow-up key is inserted, the follow-up key is controlled to be ejected from the transportation device by the ejection mechanism.
  • the method also includes:
  • the paired information is the information sent after the follow-up key and the follow-up module are successfully paired;
  • Ejection of the follower key from the transport unit is controlled by an ejection mechanism consisting of:
  • the insertion of the follow-up key is detected by the pop-up mechanism, and the paired information is detected in the control panel of the whole machine, the follow-up key is controlled by the pop-up mechanism Eject from transport.
  • the method includes:
  • the method includes:
  • control the bluetooth on the car When the follow-up key is reinserted, control the bluetooth on the car to switch from a dormant state to an open state, and control the transportation device to be in a self-locking state.
  • the method further includes:
  • the distance between the following key and the following module is detected by the following module
  • the transportation device When it is detected that the distance between the following key and the following module is less than or equal to a second preset distance, the transportation device is controlled to be in a locked state.
  • the second aspect of the embodiment of the present application provides a device for controlling the ejection of a key, and the device includes:
  • the establishment module is used to establish the Bluetooth communication between the mobile terminal and the transportation device in response to the connection request sent by the mobile terminal; wherein, the connection request is obtained by scanning the scanned picture on the transportation device by the mobile terminal sent;
  • An acquisition module configured to acquire the pop-up instruction sent by the mobile terminal based on the Bluetooth communication
  • the detection module is used to detect whether the communication state of each component is a normal communication state in response to the pop-up instruction, wherein the various components include a follow-up key, a follow-up module, a pop-up mechanism and a complete machine control panel;
  • the pop-up module is used to control the following key to pop up from the transportation device through the pop-up mechanism when the communication status of each component is a normal communication status. .
  • the third aspect of the embodiment of the present application provides an electronic device, including:
  • One or more machine-readable media having instructions stored thereon, when executed by the one or more processors, enables the electronic device to execute the method provided in the first aspect of the embodiments of the present application.
  • the fourth aspect of the embodiment of the present application provides one or more machine-readable storage media, on which instructions are stored, and when executed by one or more processors, the processors perform the operations as provided in the first aspect of the embodiment of the present application. Methods.
  • Adopting a method for controlling key pop-up provided by this application can enable the user to establish Bluetooth communication between the mobile terminal and the transport device after scanning the scanned picture on the transport device, and obtain the pop-up key of the mobile terminal based on the Bluetooth communication.
  • the pop-up mechanism is controlled to eject the follow-up key, and the follow-up key can be taken out from the transport device without the user using a specific unlocking key to open the locking device, which brings convenience to the user to take out the follow-up key.
  • Fig. 1 is a flow chart of the steps of a method for controlling key ejection proposed by an embodiment of the present application
  • Fig. 2 is a schematic structural view of a transportation device proposed in an embodiment of the present application.
  • Fig. 3 is a structural block diagram of a device for ejecting a red control key proposed in an embodiment of the present application
  • FIG. 4 is a structural block diagram of an electronic device provided by an embodiment of the present application.
  • FIG. 5 is a schematic diagram of a hardware structure of an electronic device provided by an embodiment of the present application.
  • the method is applied in the control panel of the whole machine of the transportation device, and the method includes the following steps:
  • Step 101 In response to the connection request sent by the mobile terminal, establish Bluetooth communication between the mobile terminal and the transportation device; wherein, the connection request is sent by the mobile terminal after scanning the scanned picture on the transportation device .
  • the mobile terminal has a two-dimensional code scanner and Bluetooth
  • the transportation device is equipped with a vehicle-end Bluetooth
  • a scanned picture is pasted on the transportation device.
  • the scanned picture can be a two-dimensional code, and the two-dimensional code is The mac address of the Bluetooth on the vehicle side of the transport device.
  • the user when establishing the Bluetooth communication between the mobile terminal and the transportation device, the user can use the QR code scanner on the mobile terminal to scan the QR code on the transportation device to obtain the Bluetooth mac address of the vehicle.
  • the Bluetooth of the mobile terminal sends a connection request to the Bluetooth of the vehicle based on the mac address, and the Bluetooth of the vehicle establishes Bluetooth communication between the Bluetooth of the vehicle and the Bluetooth of the mobile terminal after receiving the connection request sent by the Bluetooth of the mobile terminal.
  • the transportation device may be a loading trolley, and the loading trolley is a transportation device for loading goods.
  • Step 102 Obtain a pop-up instruction sent by the mobile terminal based on the Bluetooth communication.
  • the Bluetooth on the mobile terminal can send the pop-up command sent by the mobile terminal to the Bluetooth on the car, and the Bluetooth on the car forwards the pop-up command to the control board of the whole machine. So that the control board of the whole machine acquires the pop-up instruction sent by the mobile terminal.
  • the pop-up command is an command for controlling the pop-up following the key.
  • control board of the whole machine is the control core part of the transportation device, which is not only used to receive the pop-up command sent by the mobile terminal to control the pop-up mechanism to pop up the following key; it is also used to receive the control command of the following key through the following module to control the transportation Device start and stop, steering and acceleration and deceleration, etc.
  • Step 103 Responding to the pop-up command, detect whether the communication status of each component is a normal communication status, wherein each component includes a follow-up key, a follow-up module, a pop-up mechanism and a control panel of the whole machine.
  • the following key can be a remote control, wristband, electronic tag card and other products, which are used to control the start and stop, steering, acceleration and deceleration of the transportation device.
  • the following module is a component set on the transportation device, and the following module has the following functions:
  • Function 1 used to pair with the unpaired follow-up key, so as to realize the pairing between the follow-up key and the transport device.
  • Function 2 used to receive the control signal of the paired follow-up key, and forward the control signal of the paired follow-up key to the control board of the whole machine.
  • the paired follower key refers to the follower key that has been successfully paired with the follower module.
  • the pop-up mechanism is a part arranged on the transportation device, and the pop-up mechanism has the following functions:
  • the ejection mechanism is used to respond to the ejection control of the control panel of the whole machine, and drive the following key to eject from the transport device.
  • the pop-up mechanism may include a cylinder and a push rod, the cylinder is used to receive the control signal from the control board of the whole machine, and the push rod is used to make electrical contact with the follower key.
  • the control board of the whole machine receives the pop-up command sent by the mobile terminal, it will send the pop-up command to the cylinder, and the cylinder will control the extension of the push rod based on the pop-up command, so that the following key can be ejected from the transport device.
  • the push rod can also play the role of conduction and signal transmission.
  • the ejection mechanism can also be realized by other components, such as springs and conductive columns.
  • the control spring When the ejection mechanism does not receive the control command from the control panel of the whole machine, the control spring is shortened and is in a compressed state, so as to follow the key into the transport device; when the ejection mechanism When receiving the control command from the control panel of the whole machine, the control on the spring is released, and the spring recovers to be elastic, so that the conductive column is ejected to follow the key.
  • the spring and the conductive column jointly play the role of conduction and signal transmission.
  • the pop-up mechanism is used to detect whether the following key is inserted into the transport device. Specifically, after the following key is inserted into the transportation device, the following key will be in electrical contact with the push rod or the conductive column of the pop-up mechanism, and the pop-up mechanism will detect that the following key is inserted.
  • the pop-up mechanism is used to charge the inserted follower key. Specifically, when the following key is inserted into the transportation device and contacts the push rod or conductive column of the pop-up mechanism, the push rod or conductive post of the pop-up mechanism transmits the power of the transportation device to the following key to charge the following key. After that, the eject mechanism automatically ejects the key to be paired.
  • the control board of the whole machine when the control board of the whole machine receives the pop-up command sent by the mobile terminal, it indicates that the user wants to use the following key to control the movement of the transportation device, and when some parts of the transportation device fail, the pop-up may also occur.
  • the key when the pop-up follow key cannot control the movement of the transportation device, this will undoubtedly reduce the user experience.
  • the control board of the whole machine receives the pop-up command, it will also check whether itself (the control board of the whole machine), the follow-up key, the follow-up module and the ejection mechanism are in a normal communication state, When these components are in the state of normal communication, it can be ensured that the pop-up follow-up key is ejected based on the normal communication parts, not based on abnormal communication parts, so that the pop-up follow-up key can be used normally.
  • control board of the whole machine when the control board of the whole machine is in the normal communication state, it shows that the control board of the whole machine can receive the control commands sent by the key and control the movement of the transportation device according to the control commands; it also shows that the control board of the whole machine can also receive the control commands sent by the mobile terminal.
  • the pop-up command is issued, and the pop-up command is accurately sent to the pop-up mechanism.
  • the pop-up mechanism When the pop-up mechanism is in normal communication state, it means that the pop-up mechanism can receive the pop-up command sent by the control board of the whole machine, and eject the follow-up key based on the pop-up command. to charge.
  • the following module When the following module is in the normal communication state, it indicates that the following module can be paired with the following key, and can also realize data interaction with the following key and the control board of the whole machine.
  • the control board of the whole machine receives the pop-up command through the Bluetooth of the car and controls the pop-up mechanism to eject the following key, because the control signal sent by the following key needs to be forwarded to the whole machine through the following module.
  • the control board, and the following module is in a fault state, so the following module cannot forward the control signal, resulting in the signal following the key not reaching the control board of the whole machine, and finally the control board of the whole machine cannot control the movement of the transport device.
  • Step 104 When the communication state of each component is a normal communication state, control the following key to be ejected from the transportation device through the ejection mechanism.
  • the control panel of the whole machine can directly control the follow-up key to eject from the transport device through the ejection mechanism.
  • the control board of the whole machine can send an abnormal command that cannot be popped up to the mobile terminal.
  • the display interface of the mobile terminal displays a prompt message of "the transportation device is abnormal”.
  • the user can establish Bluetooth communication between the mobile terminal and the transportation device after scanning the scanned picture on the transportation device, and obtain the mobile terminal based on the Bluetooth communication.
  • the pop-up mechanism is controlled to eject the follow-up key, and the follow-up key can be taken out from the transport device without the user having to use a specific unlocking key to open the locking device, which brings convenience to the user to take out the follow-up key.
  • the embodiment of the present application also proposes a method for controlling the ejection of the key, and the method includes the following steps:
  • Step 201 In response to the connection request sent by the mobile terminal, establish Bluetooth communication between the mobile terminal and the transportation device; wherein, the connection request is sent by the mobile terminal after scanning the scanned picture on the transportation device .
  • the transportation device since the transportation device may be used privately or shared, it is necessary to distinguish between these two situations to ensure the privateness or commonality of the use of the transportation device.
  • this embodiment of the application also includes the following sub-steps:
  • Step 2011 Obtain the connection password of the mobile terminal carried in the connection request.
  • the connection password can be set on the Bluetooth of the car.
  • the connection password can be input, so that the Bluetooth of the car can obtain the connection password output by the mobile terminal.
  • Step 2012 Verify the connection password.
  • connection password input by the mobile terminal can be compared with the connection password of the Bluetooth on the car side. If they are consistent, it means that the user who currently enters the connection password is the owner of the transport device. If they are inconsistent, It means that the user currently inputting the connection password is not the owner of the transport device.
  • Step 2013 If the verification is passed, establish the Bluetooth communication between the vehicle Bluetooth and the mobile terminal.
  • the verification means that the user who entered the connection password is the owner of the transport device.
  • the Bluetooth communication between the car end Bluetooth and the mobile terminal Bluetooth can be established;
  • the user who connects the password is not the owner of the transportation device.
  • he can refuse to establish the Bluetooth communication between the Bluetooth of the car and the Bluetooth of the mobile terminal, so as to prevent malicious users from using the transportation device.
  • connection password on the Bluetooth on the vehicle, so that when the user sends a connection request to the Bluetooth on the vehicle through the mobile terminal, he does not need to enter the connection password, and can also establish a connection between the Bluetooth on the mobile terminal and the Bluetooth on the vehicle. Bluetooth communication between.
  • Step 202 Obtain a pop-up instruction sent by the mobile terminal based on the Bluetooth communication.
  • Step 203 Responding to the pop-up command, detect whether the communication status of each component is a normal communication status, wherein each component includes a follow-up key, a follow-up module, a pop-up mechanism and a control panel of the whole machine.
  • Step 204 In the case that the communication state of each component is a normal communication state, control the following key to eject from the transportation device through the ejection mechanism.
  • the embodiment of the present application also includes the following two detection steps:
  • Step 2041 Use the pop-up mechanism to detect whether the follow-up key is inserted.
  • the communication status of each component is a normal communication state
  • the pop-up mechanism detects that the follow-up key is inserted, control the follow-up key through the pop-up mechanism.
  • control board of the whole machine can detect whether the following key is located in the transport device through the push rod or conductive column of the pop-up mechanism. If the following key is located in the transport device, it is determined that the pop-up mechanism can eject the following key. After performing the eject action, the following key can be ejected from the transport device.
  • Step 2042 Detect whether there is paired information in the control panel of the whole machine, the paired information is the information sent after the follow-up key and the follow-up module are successfully paired, and the communication status of each component is a normal communication status , the insertion of the following key is detected by the ejection mechanism, and in the case that the paired information is detected in the complete machine control board, the following key is ejected from the transportation device by the ejection mechanism.
  • the follower module when the transport device is turned on and paired with the follower key and the follower module, if the follower module and the follower key are paired successfully, the follower module will send paired information to the control panel of the whole machine; if the follower module and the follower key fail to pair, The following module will send a pairing failure message to the control board of the whole machine.
  • control board of the whole machine will check whether it has received the paired information, if it receives the paired information, it means that the follow-up key in the transport device has been successfully paired with the follow-up module, and the follow-up key can normally send to the follow-up module Send a control command, at this time the control panel of the whole machine will control the following key to eject from the transport device.
  • Step 205 After the following key is ejected from the transport device through the eject mechanism, control the Bluetooth on the car to switch from the on state to the sleep state.
  • the following module when the transportation device is turned on, the Bluetooth on the car, the following module, the pop-up mechanism and the control panel of the whole machine are all in the open state.
  • the following module needs to receive the following key in real time control signal
  • the pop-up mechanism needs to detect in real time whether the following key is reinserted into the transport device
  • the control board of the whole machine needs to control the movement of the transport device in real time according to the control signal. Therefore, the following module, the pop-up mechanism and the control board of the whole machine need Leave it on.
  • the Bluetooth on the car does not need to receive the pop-up command sent by the Bluetooth on the mobile terminal. Therefore, the Bluetooth on the car can be controlled to switch from the on state to the sleep state, so as to avoid the Bluetooth on the car from consuming excess power of the transportation device.
  • Step 206 Detect whether the follow-up key is inserted again through the pop-up mechanism.
  • Step 207 When the following key is reinserted, control the bluetooth on the car to switch from a dormant state to an open state, and control the transportation device to be in a self-locking state.
  • the control board of the whole machine will control the bluetooth on the car to switch from the dormant state to the on state, so that the bluetooth on the car can detect in real time whether the pop-up command sent by the mobile terminal bluetooth is received.
  • the transport device may no longer be used by the user.
  • the transport device can be controlled to be in a self-locking state, that is, the transport device is in an immovable locked state to avoid Landslides, movement, etc. occur in the transport device.
  • the transportation device can also be controlled through the following steps:
  • Step 301 within a first preset effective range of the following module, detect the distance between the following key and the following module through the following module.
  • the whole machine control board can detect the distance between the following key and the following module through the following module, so as to control the transportation device to be in the locked state.
  • the first preset valid range refers to the detection range of the following module, and the following module can detect the following key located within the first preset valid range, and the first preset valid range can be 10m, 20m, 30m , the application is not limited here.
  • Step 302 When it is detected that the distance between the following key and the following module is greater than or equal to a first preset distance, control the transportation device to be in a locked state.
  • the first preset distance may be 3m, 4m, 5m, etc., as long as the first preset distance is smaller than the distance of the first preset effective range, and the present application does not limit it here.
  • the moving speed of the transport device will be determined according to the distance between the transport device and the following key, when the distance between the transport device and the following key is short, the transport device can move at a slower speed and follow closely The owner of the key; when the distance between the transport device and the following key is long, the transport device needs to move at a faster speed in order to closely follow the owner of the following key.
  • the transport device moves faster, it is very likely to injure pedestrians, posing a threat to pedestrians' personal safety.
  • the machine control board when the distance between the following key and the following module is above the first preset distance and within the first preset effective range, it means that the transportation device is far away from the owner.
  • the machine control board will not respond to the control signal following the key, and the whole machine control board will control the transport device to be in a locked state, that is, the whole machine control board sends a stop command to the hub motor controller of the transport device, so that the hub motor sensor controls the hub
  • the motor locks the transport device, thereby making the transport device in a self-locking state that cannot move.
  • the control board of the whole machine detects that the distance between the following key and the following module is less than the first preset distance through the following module, thereby releasing the key.
  • the control board of the whole machine can continue to respond to the control signal of the follow key, and the owner can continue to control the movement of the transport device by following the key.
  • the setting of controlling the transportation device to be in the locked state can make the transportation device and the vehicle owner carrying the following key
  • the transportation device is controlled to be locked, instead of being controlled to follow the vehicle owner at a faster speed, so as to avoid the transportation device from moving too fast and colliding with pedestrians.
  • Step 303 When it is detected that the distance between the following key and the following module is less than or equal to a second preset distance, control the transportation device to be in a locked state.
  • the second preset distance may be 1 m, 1.1 m, 1.2 m, etc., as long as the second preset distance is smaller than the first preset distance, which is not limited in the present application.
  • the control panel of the whole machine when it is detected that the distance between the follow-up key and the follow-up module is less than or equal to the second preset distance, it means that the user carrying the follow-up key is relatively close to the transportation device, indicating that When the user is loading and unloading goods at this time, the control panel of the whole machine will control the transport device to be in a locked state, so as to avoid the direction of the transport device from changing with the direction of the user, and bring convenience to the user for loading and unloading goods.
  • FIG. 3 Another embodiment of the present application provides a device for controlling key ejection, which includes:
  • the establishment module is used to establish the Bluetooth communication between the mobile terminal and the transportation device in response to the connection request sent by the mobile terminal; wherein, the connection request is obtained by scanning the scanned picture on the transportation device by the mobile terminal sent;
  • An acquisition module configured to acquire the pop-up instruction sent by the mobile terminal based on the Bluetooth communication
  • the detection module is used to detect whether the communication state of each component is a normal communication state in response to the pop-up instruction, wherein the various components include a follow-up key, a follow-up module, a pop-up mechanism and a complete machine control panel;
  • the pop-up module is used to control the following key to pop up from the transportation device through the pop-up mechanism when the communication status of each component is a normal communication status.
  • the building module includes:
  • a password acquisition module configured to acquire the connection password of the mobile terminal carried in the connection request
  • a verification module configured to verify the connection password
  • the establishment sub-module is used to establish the Bluetooth communication between the Bluetooth on the vehicle end and the mobile terminal when the verification is passed.
  • the device also includes:
  • a key detection module configured to detect whether the follow-up key is inserted through the pop-up mechanism
  • the pop-up modules include:
  • the first ejection module is configured to control the ejection of the follower key from the transportation device through the ejection mechanism when the communication state of each component is a normal communication state and the insertion of the follower key is detected by the ejection mechanism.
  • the device also includes:
  • the pairing information detection module is used to detect whether there is paired information in the control panel of the whole machine, and the paired information is the information sent after the successful pairing of the follower key and the follower module.
  • the pop-up modules include:
  • the second pop-up module is used for when the communication state of each component is a normal communication state, the insertion of the following key is detected through the pop-up mechanism, and the paired information is detected in the control panel of the whole machine , The following key is ejected from the transport device through the ejection mechanism control.
  • the device includes:
  • the state control module is used to control the bluetooth of the car to switch from the on state to the dormant state.
  • the device includes:
  • the key reinsertion detection module is used to detect whether the following key is reinserted through the pop-up mechanism
  • the self-locking control module is used to control the bluetooth on the car to switch from a dormant state to an open state when the following key is reinserted, and to control the transportation device to be in a self-locking state.
  • the device includes:
  • a distance detection module configured to detect the distance between the following key and the following module through the following module within the first preset effective range of the following module
  • the first locking module is used to control the transport device to be in a locked state when it is detected that the distance between the following key and the following module is greater than or equal to a first preset distance;
  • the second miniature module is used to control the transport device to be in a locked state when it is detected that the distance between the following key and the following module is less than or equal to a second preset distance.
  • an electronic device including:
  • One or more machine-readable media having instructions stored thereon, when executed by the one or more processors, enables the electronic device to execute a method for controlling ejection of a key as proposed in an embodiment of the present application.
  • the embodiments of the present application also provide one or more machine-readable media, on which instructions are stored, and when executed by one or more processors, the processors execute the A way to control key ejection.
  • the description is relatively simple, and for related parts, please refer to the part of the description of the method embodiment.
  • embodiments of the embodiments of the present application may be provided as methods, devices, or computer program products. Therefore, the embodiment of the present application may take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, embodiments of the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) having computer-usable program code embodied therein.
  • computer-usable storage media including but not limited to disk storage, CD-ROM, optical storage, etc.
  • Embodiments of the present application are described with reference to flowcharts and/or block diagrams of methods, terminal devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each procedure and/or block in the flowchart and/or block diagram, and a combination of procedures and/or blocks in the flowchart and/or block diagram can be realized by computer program instructions. These computer program instructions may be provided to a general purpose computer, special purpose computer, embedded processor or processor of other programmable data processing terminal equipment to produce a machine such that instructions executed by the computer or processor of other programmable data processing terminal equipment Produce means for realizing the functions specified in one or more procedures of the flowchart and/or one or more blocks of the block diagram.
  • These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing terminal to operate in a specific manner, such that the instructions stored in the computer-readable memory produce an article of manufacture comprising instruction means, the The instruction means implements the functions specified in one or more procedures of the flowchart and/or one or more blocks of the block diagram.
  • the device embodiments described above are only illustrative, and the units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in One place, or it can be distributed to multiple network elements. Part or all of the modules can be selected according to actual needs to achieve the purpose of the solution of this embodiment. It can be understood and implemented by those skilled in the art without any creative efforts.
  • the various component embodiments of the present application may be realized in hardware, or in software modules running on one or more processors, or in a combination thereof.
  • a microprocessor or a digital signal processor (DSP) may be used in practice to implement some or all functions of some or all components in the computing processing device according to the embodiments of the present application.
  • DSP digital signal processor
  • the present application can also be implemented as an apparatus or apparatus program (eg, computer program and computer program product) for performing a part or all of the methods described herein.
  • Such a program implementing the present application may be stored on a computer-readable medium, or may be in the form of one or more signals.
  • Such a signal may be downloaded from an Internet site, or provided on a carrier signal, or provided in any other form.
  • FIG. 4 shows a computing processing device that may implement a method according to the present application.
  • the computing processing device conventionally includes a processor 1010 and a computer program product or computer readable medium in the form of memory 1020 .
  • Memory 1020 may be electronic memory such as flash memory, EEPROM (Electrically Erasable Programmable Read Only Memory), EPROM, hard disk, or ROM.
  • the memory 1020 has a storage space 1030 for program code 1031 for performing any method steps in the methods described above.
  • the storage space 1030 for program codes may include respective program codes 1031 for respectively implementing various steps in the above methods. These program codes can be read from or written into one or more computer program products.
  • These computer program products comprise program code carriers such as hard disks, compact disks (CDs), memory cards or floppy disks.
  • Such a computer program product is typically a portable or fixed storage unit as described with reference to FIG. 5 .
  • the storage unit may have storage segments, storage spaces, etc. arranged similarly to the memory 1020 in the computing processing device of FIG. 4 .
  • the program code can eg be compressed in a suitable form.
  • the storage unit includes computer readable code 1031', i.e. code readable by, for example, a processor such as 1010, which code, when executed by a computing processing device, causes the computing processing device to perform the above-described methods. each step.

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Electromagnetism (AREA)
  • General Physics & Mathematics (AREA)
  • General Health & Medical Sciences (AREA)
  • Toxicology (AREA)
  • Artificial Intelligence (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Health & Medical Sciences (AREA)
  • Theoretical Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Emergency Management (AREA)
  • Lock And Its Accessories (AREA)

Abstract

Provided in the embodiments of the present application are a method and apparatus for controlling a follow key ejection, an electronic device, and a storage medium, belonging to the technical field of keys. The method comprises: for a connection request sent by a mobile terminal, establishing a Bluetooth communication between the mobile terminal and a transportation apparatus; wherein the connection request is sent by the mobile terminal after performing code scanning on a scan picture on the transportation apparatus; on the basis of the Bluetooth communication, obtaining an ejection instruction sent by the mobile terminal; and in response to the ejection instruction, detecting whether the communication state of each component is a normal communication state, and if the communication states of all components are normal communication states, controlling, by means of an ejection mechanism, a follow key to be ejected from the transportation apparatus. By using the method provided in the present application for controlling follow key ejection, after the user scans the picture, the follow key can be automatically ejected, thereby improving the convenience of retrieving the follow key by the user.

Description

一种控制钥匙弹出的方法、装置、电子设备与存储介质A method, device, electronic device and storage medium for controlling key ejection
相关申请的交叉引用Cross References to Related Applications
本申请要求在2021年07月26日提交中国专利局、申请号为202110844320.5、名称为“一种控制钥匙弹出的方法、装置、电子设备与存储介质”的中国专利公开的优先权,其全部内容通过引用结合在本申请中。This application claims the priority of the Chinese patent publication with the application number 202110844320.5 and titled "A method, device, electronic device and storage medium for controlling key ejection" submitted to the China Patent Office on July 26, 2021, the entire content of which Incorporated in this application by reference.
技术领域technical field
本申请实施例涉及钥匙技术领域,具体而言,涉及一种控制钥匙弹出的方法、装置、电子设备与存储介质。The embodiments of the present application relate to the technical field of keys, and in particular, to a method, device, electronic device, and storage medium for controlling ejection of a key.
背景技术Background technique
载物小车是一种用于运输货物的运输装置,用户可以通过与载物小车的配对的跟随钥匙,来控制载物小车执行启停、加速减速与转向等功能。The loading trolley is a transportation device for transporting goods. The user can control the loading trolley to perform functions such as start and stop, acceleration and deceleration, and steering through the follow-up key paired with the loading trolley.
目前,每个载物小车都使用不同的跟随钥匙来进行控制,载物小车上设置有用于锁定跟随钥匙的锁止装置,用于将跟随钥匙保存锁定在载物小车上。At present, each loading trolley is controlled by a different following key, and the loading trolley is provided with a locking device for locking the following key, which is used to store and lock the following key on the loading trolley.
然而,用户一般需要特定的解锁钥匙打开锁止装置,才能将跟随钥匙从载物小车上取出,解锁钥匙的保存以及拿取也会给用户带来不便。However, the user generally needs a specific unlocking key to open the locking device in order to take out the following key from the trolley, and the storage and retrieval of the unlocking key will also bring inconvenience to the user.
概述overview
本申请实施例提供一种控制钥匙弹出的方法、装置、电子设备与存储介质,旨在提升用户取出跟随钥匙的便捷性。Embodiments of the present application provide a method, device, electronic device, and storage medium for controlling ejection of a key, aiming at improving the convenience for a user to take out a follow-up key.
本申请实施例第一方面提供一种控制跟随钥匙弹出的方法,所述方法包括:The first aspect of the embodiment of the present application provides a method for controlling the ejection of a follow-up key, the method including:
针对移动终端发送的连接请求,建立移动终端与运输装置之间的蓝牙通讯;其中,所述连接请求是由所述移动终端对所述运输装置上的扫描图片进行扫码后发送的;For the connection request sent by the mobile terminal, establish Bluetooth communication between the mobile terminal and the transportation device; wherein, the connection request is sent by the mobile terminal after scanning the scanned picture on the transportation device;
基于所述蓝牙通讯,获取所述移动终端发送的弹出指令;Based on the bluetooth communication, acquiring a pop-up instruction sent by the mobile terminal;
响应于所述弹出指令,检测各个部件的通讯状态是否为正常通讯状态,其中,所述各个部件包括跟随钥匙、跟随模组、弹出机构与整机控制板;Responding to the pop-up command, detect whether the communication status of each component is a normal communication status, wherein each component includes a follow-up key, a follow-up module, a pop-up mechanism and a control panel of the whole machine;
在所述各个部件的通讯状态为正常通讯状态的情况下,通过弹出机构控制跟随钥匙从运输装置中弹出。When the communication state of each component is a normal communication state, the following key is ejected from the transportation device by controlling the ejection mechanism.
可选地,所述车端蓝牙预设有连接密码;针对移动终端发送的连接请求,建立运输装置与移动终端之间的蓝牙通讯,包括:Optionally, the Bluetooth on the car end is preset with a connection password; for the connection request sent by the mobile terminal, establishing a Bluetooth communication between the transportation device and the mobile terminal includes:
获取所述连接请求中携带的移动终端的连接密码;Obtain the connection password of the mobile terminal carried in the connection request;
对所述连接密码进行验证;Verifying the connection password;
在所述验证通过的情况下,建立所述车端蓝牙与所述移动终端之间的蓝牙通讯。If the verification is passed, the Bluetooth communication between the vehicle-side Bluetooth and the mobile terminal is established.
可选地,所述方法还包括:Optionally, the method also includes:
通过所述弹出机构检测所述跟随钥匙是否插入;Detecting whether the following key is inserted through the pop-up mechanism;
通过弹出机构控制跟随钥匙从运输装置中弹出,包括:Ejection of the follower key from the transport unit is controlled by an ejection mechanism consisting of:
在所述各个部件的通讯状态为正常通讯状态,且通过所述弹出机构检测到所述跟随钥匙插入的情况下,通过弹出机构控制跟随钥匙从运输装置中弹出。When the communication state of each component is a normal communication state, and the ejection mechanism detects that the follow-up key is inserted, the follow-up key is controlled to be ejected from the transportation device by the ejection mechanism.
可选地,所述方法还包括:Optionally, the method also includes:
检测整机控制板中是否存在已配对信息,所述已配对信息是所述跟随钥匙与所述跟随模组配对成功后发出的信息;Detecting whether there is paired information in the control panel of the whole machine, the paired information is the information sent after the follow-up key and the follow-up module are successfully paired;
通过弹出机构控制跟随钥匙从运输装置中弹出,包括:Ejection of the follower key from the transport unit is controlled by an ejection mechanism consisting of:
在所述各个部件的通讯状态为正常通讯状态,通过所述弹出机构检测到所述跟随钥匙插入,且在所述整机控制板中检测到已配对信息的情况下,通过弹出机构控制跟随钥匙从运输装置中弹出。When the communication state of each component is a normal communication state, the insertion of the follow-up key is detected by the pop-up mechanism, and the paired information is detected in the control panel of the whole machine, the follow-up key is controlled by the pop-up mechanism Eject from transport.
可选地,通过弹出机构控制跟随钥匙从运输装置中弹出之后,所述方法包括:Optionally, after the key is ejected from the transportation device by controlling the ejection mechanism, the method includes:
控制车端蓝牙从开启状态转换成休眠状态。Control the bluetooth on the car to switch from the on state to the sleep state.
可选地,通过弹出机构控制跟随钥匙从运输装置中弹出之后,所述方法包括:Optionally, after the key is ejected from the transportation device by controlling the ejection mechanism, the method includes:
通过弹出机构检测所述跟随钥匙是否重新插入;Detecting whether the following key is reinserted through the pop-up mechanism;
在所述跟随钥匙重新插入的情况下,控制所述车端蓝牙从休眠状态转换成开启状态,且控制所述运输装置处于自锁状态。When the follow-up key is reinserted, control the bluetooth on the car to switch from a dormant state to an open state, and control the transportation device to be in a self-locking state.
可选地,通过弹出机构控制跟随钥匙从运输装置中弹出之后,所述方法还包括:Optionally, after the following key is ejected from the transportation device by controlling the ejection mechanism, the method further includes:
在所述跟随模组的第一预设有效范围内,通过所述跟随模组检测所述跟随钥匙与所述跟随模组之间的距离;Within the first preset effective range of the following module, the distance between the following key and the following module is detected by the following module;
在检测所述跟随钥匙与所述跟随模组之间的距离大于或等于第一预设距离的情况下,控制运输装置处于锁定状态;When it is detected that the distance between the following key and the following module is greater than or equal to a first preset distance, controlling the transportation device to be in a locked state;
在检测所述跟随钥匙与所述跟随模组之间的距离小于或等于第二预设距离的情况下,控制运输装置处于锁定状态。When it is detected that the distance between the following key and the following module is less than or equal to a second preset distance, the transportation device is controlled to be in a locked state.
本申请实施例第二方面提供一种控制钥匙弹出的装置,所述装置包括:The second aspect of the embodiment of the present application provides a device for controlling the ejection of a key, and the device includes:
建立模块,用于针对移动终端发送的连接请求,建立移动终端与运输装置之间的蓝牙通讯;其中,所述连接请求是由所述移动终端对所述运输装置上的扫描图片进行扫码后发送的;The establishment module is used to establish the Bluetooth communication between the mobile terminal and the transportation device in response to the connection request sent by the mobile terminal; wherein, the connection request is obtained by scanning the scanned picture on the transportation device by the mobile terminal sent;
获取模块,用于基于所述蓝牙通讯,获取所述移动终端发送的弹出指令;An acquisition module, configured to acquire the pop-up instruction sent by the mobile terminal based on the Bluetooth communication;
检测模块,用于响应于所述弹出指令,检测各个部件的通讯状态是否为正常通讯状态,其中,所述各个部件包括跟随钥匙、跟随模组、弹出机构与整机控制板;The detection module is used to detect whether the communication state of each component is a normal communication state in response to the pop-up instruction, wherein the various components include a follow-up key, a follow-up module, a pop-up mechanism and a complete machine control panel;
弹出模块,用于在所述各个部件的通讯状态为正常通讯状态的情况下,通过弹出机构控制跟随钥匙从运输装置中弹出。。The pop-up module is used to control the following key to pop up from the transportation device through the pop-up mechanism when the communication status of each component is a normal communication status. .
本申请实施例第三方面提供一种电子设备,包括:The third aspect of the embodiment of the present application provides an electronic device, including:
一个或多个处理器;和one or more processors; and
其上存储有指令的一个或多个机器可读介质,当由所述一个或多个处理器执行时,使得所述电子设备执行如本申请实施例第一方面提供的方法。One or more machine-readable media having instructions stored thereon, when executed by the one or more processors, enables the electronic device to execute the method provided in the first aspect of the embodiments of the present application.
本申请实施例第四方面提供一个或多个机器可读存储介质,其上存储有指令,当由一个或多个处理器执行时,使得所述处理器执行如本申请实施例第一方面提供的方法。The fourth aspect of the embodiment of the present application provides one or more machine-readable storage media, on which instructions are stored, and when executed by one or more processors, the processors perform the operations as provided in the first aspect of the embodiment of the present application. Methods.
采用本申请提供的一种控制钥匙弹出的方法,可以使得用户在扫描运输装置上的扫描图片之后,即可建立移动终端与运输装置之间的蓝牙通讯,并基于蓝牙通讯,获取移动终端的弹出指令,依据弹出指令控制弹出机构弹出 跟随钥匙,而不必用户使用特定的解锁钥匙打开锁止装置,才能将跟随钥匙从运输装置取出,给用户取出跟随钥匙带来了便利。Adopting a method for controlling key pop-up provided by this application can enable the user to establish Bluetooth communication between the mobile terminal and the transport device after scanning the scanned picture on the transport device, and obtain the pop-up key of the mobile terminal based on the Bluetooth communication. According to the pop-up instruction, the pop-up mechanism is controlled to eject the follow-up key, and the follow-up key can be taken out from the transport device without the user using a specific unlocking key to open the locking device, which brings convenience to the user to take out the follow-up key.
附图简述Brief description of the drawings
为了更清楚地说明本申请实施例的技术方案,下面将对本申请实施例的描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions of the embodiments of the present application, the following will briefly introduce the accompanying drawings that need to be used in the description of the embodiments of the present application. Obviously, the accompanying drawings in the following description are only some embodiments of the present application , for those skilled in the art, other drawings can also be obtained according to these drawings without paying creative labor.
图1是本申请一实施例提出的一种控制钥匙弹出的方法的步骤流程图;Fig. 1 is a flow chart of the steps of a method for controlling key ejection proposed by an embodiment of the present application;
图2是本申请一实施例提出的运输装置的结构示意图;Fig. 2 is a schematic structural view of a transportation device proposed in an embodiment of the present application;
图3是本申请一实施例提出的红控制钥匙弹出的装置的结构框图;Fig. 3 is a structural block diagram of a device for ejecting a red control key proposed in an embodiment of the present application;
图4为本申请实施例提供的一种电子设备的结构框图;并且FIG. 4 is a structural block diagram of an electronic device provided by an embodiment of the present application; and
图5为本申请实施例提供的一种电子设备的硬件结构示意图。FIG. 5 is a schematic diagram of a hardware structure of an electronic device provided by an embodiment of the present application.
详细描述A detailed description
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。The following will clearly and completely describe the technical solutions in the embodiments of the present application with reference to the drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of them. Based on the embodiments in this application, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of this application.
请参阅图1示出的一种控制钥匙弹出的方法,所述方法应用于运输装置的整机控制板中,所述方法包括以下步骤:Please refer to a method for controlling the ejection of a key shown in Figure 1, the method is applied in the control panel of the whole machine of the transportation device, and the method includes the following steps:
步骤101:针对移动终端发送的连接请求,建立移动终端与运输装置之间的蓝牙通讯;其中,所述连接请求是由所述移动终端对所述运输装置上的扫描图片进行扫码后发送的。Step 101: In response to the connection request sent by the mobile terminal, establish Bluetooth communication between the mobile terminal and the transportation device; wherein, the connection request is sent by the mobile terminal after scanning the scanned picture on the transportation device .
本申请实施例中,移动终端上具有二维码扫描器与蓝牙,运输装置上设置有车端蓝牙,且运输装置上粘贴设置有扫描图片,扫描图片可以是二维码,该二维码为运输装置的车端蓝牙的mac地址。In the embodiment of this application, the mobile terminal has a two-dimensional code scanner and Bluetooth, and the transportation device is equipped with a vehicle-end Bluetooth, and a scanned picture is pasted on the transportation device. The scanned picture can be a two-dimensional code, and the two-dimensional code is The mac address of the Bluetooth on the vehicle side of the transport device.
具体地,在建立移动终端与运输装置之间的蓝牙通讯时,用户可以使用移动终端上的二维码扫描器来扫描运输装置上的二维码,即可获取到车端蓝牙的mac地址,从而使得移动终端的蓝牙基于mac地址向车端蓝牙发送连接 请求,车端蓝牙接收到移动终端蓝牙发送的连接请求之后,建立车端蓝牙与移动终端蓝牙之间的蓝牙通讯。Specifically, when establishing the Bluetooth communication between the mobile terminal and the transportation device, the user can use the QR code scanner on the mobile terminal to scan the QR code on the transportation device to obtain the Bluetooth mac address of the vehicle. Thus, the Bluetooth of the mobile terminal sends a connection request to the Bluetooth of the vehicle based on the mac address, and the Bluetooth of the vehicle establishes Bluetooth communication between the Bluetooth of the vehicle and the Bluetooth of the mobile terminal after receiving the connection request sent by the Bluetooth of the mobile terminal.
其中,请参阅图2所示,运输装置可以为载物小车,载物小车为装载货物的运输装置。Wherein, as shown in FIG. 2 , the transportation device may be a loading trolley, and the loading trolley is a transportation device for loading goods.
步骤102:基于所述蓝牙通讯,获取所述移动终端发送的弹出指令。Step 102: Obtain a pop-up instruction sent by the mobile terminal based on the Bluetooth communication.
本申请实施例中,基于车端蓝牙与移动终端蓝牙之间的蓝牙通讯,移动终端蓝牙可以将移动终端发送的弹出指令发送给车端蓝牙,车端蓝牙将弹出指令转发给整机控制板,以使得整机控制板获取移动终端发送的弹出指令。In the embodiment of the present application, based on the Bluetooth communication between the Bluetooth on the car and the Bluetooth on the mobile terminal, the Bluetooth on the mobile terminal can send the pop-up command sent by the mobile terminal to the Bluetooth on the car, and the Bluetooth on the car forwards the pop-up command to the control board of the whole machine. So that the control board of the whole machine acquires the pop-up instruction sent by the mobile terminal.
其中,弹出指令是用于控制跟随钥匙弹出的指令。Wherein, the pop-up command is an command for controlling the pop-up following the key.
其中,整机控制板是运输装置的控制核心部位,不仅用于接收移动终端发送的弹出指令,来控制弹出机构弹出跟随钥匙;也用于通过跟随模组接收跟随钥匙的控制指令,来控制运输装置的启停、转向与加减速等。Among them, the control board of the whole machine is the control core part of the transportation device, which is not only used to receive the pop-up command sent by the mobile terminal to control the pop-up mechanism to pop up the following key; it is also used to receive the control command of the following key through the following module to control the transportation Device start and stop, steering and acceleration and deceleration, etc.
步骤103:响应于所述弹出指令,检测各个部件的通讯状态是否为正常通讯状态,其中,所述各个部件包括跟随钥匙、跟随模组、弹出机构与整机控制板。Step 103: Responding to the pop-up command, detect whether the communication status of each component is a normal communication status, wherein each component includes a follow-up key, a follow-up module, a pop-up mechanism and a control panel of the whole machine.
其中,跟随钥匙可以为遥控器、手环、电子标签卡等产品,用于控制运输装置的启停、转向与加减速等。Among them, the following key can be a remote control, wristband, electronic tag card and other products, which are used to control the start and stop, steering, acceleration and deceleration of the transportation device.
其中,跟随模组为设置于运输装置上的部件,跟随模组具有以下几种功能:Among them, the following module is a component set on the transportation device, and the following module has the following functions:
功能1,用于与未配对的跟随钥匙进行配对,以实现跟随钥匙与运输装置之间的配对。Function 1, used to pair with the unpaired follow-up key, so as to realize the pairing between the follow-up key and the transport device.
功能2,用于接收已配对的跟随钥匙的控制信号,并将已配对的跟随钥匙的控制信号转发给整机控制板。Function 2, used to receive the control signal of the paired follow-up key, and forward the control signal of the paired follow-up key to the control board of the whole machine.
功能3,对已配对的跟随钥匙进行定位,识别已配对的跟随钥匙与运输装置之间的距离,具体而言,是识别已配对钥匙与跟随模组自身之间的距离。已配对的跟随钥匙指的是已经与跟随模组配对成功的跟随钥匙。Function 3, locate the paired following key, and identify the distance between the paired following key and the transport device, specifically, identify the distance between the paired key and the following module itself. The paired follower key refers to the follower key that has been successfully paired with the follower module.
其中,弹出机构为设置于运输装置上的部件,弹出机构具有以下几种功能:Wherein, the pop-up mechanism is a part arranged on the transportation device, and the pop-up mechanism has the following functions:
功能1,弹出机构用于响应于整机控制板的弹出控制,驱动跟随钥匙从运输装置中弹出。具体地,弹出机构可以包括气缸与推杆,气缸用于接收整 机控制板的控制信号,推杆用于与跟随钥匙电接触。当整机控制板接收到移动终端发送的弹出指令后,会将弹出指令发送给气缸,气缸基于弹出指令控制推杆伸长,如此,即可将跟随钥匙从运输装置内弹出。其中,推杆也可以起到导电作用与信号传递作用。Function 1, the ejection mechanism is used to respond to the ejection control of the control panel of the whole machine, and drive the following key to eject from the transport device. Specifically, the pop-up mechanism may include a cylinder and a push rod, the cylinder is used to receive the control signal from the control board of the whole machine, and the push rod is used to make electrical contact with the follower key. When the control board of the whole machine receives the pop-up command sent by the mobile terminal, it will send the pop-up command to the cylinder, and the cylinder will control the extension of the push rod based on the pop-up command, so that the following key can be ejected from the transport device. Wherein, the push rod can also play the role of conduction and signal transmission.
弹出机构也可以通过其他部件实现,例如弹簧与导电柱,当弹出机构未接收到整机控制板的控制指令时,控制弹簧缩短处于压缩状态,以便于跟随钥匙放入运输装置内;当弹出机构接收到整机控制板的控制指令时,解除对弹簧的控制,弹簧恢复弹性,促使导电柱弹出跟随钥匙。其中,弹簧与导电柱共同起到导电作用与信号传递作用。The ejection mechanism can also be realized by other components, such as springs and conductive columns. When the ejection mechanism does not receive the control command from the control panel of the whole machine, the control spring is shortened and is in a compressed state, so as to follow the key into the transport device; when the ejection mechanism When receiving the control command from the control panel of the whole machine, the control on the spring is released, and the spring recovers to be elastic, so that the conductive column is ejected to follow the key. Wherein, the spring and the conductive column jointly play the role of conduction and signal transmission.
功能2,弹出机构用于对跟随钥匙是否插入运输装置内进行检测。具体地,将跟随钥匙插入至运输装置内后,跟随钥匙会与弹出机构的推杆或导电柱电接触,弹出机构从而检测到有跟随钥匙插入。Function 2, the pop-up mechanism is used to detect whether the following key is inserted into the transport device. Specifically, after the following key is inserted into the transportation device, the following key will be in electrical contact with the push rod or the conductive column of the pop-up mechanism, and the pop-up mechanism will detect that the following key is inserted.
功能3,弹出机构用于对插入的跟随钥匙进行充电。具体地,当跟随钥匙插入至运输装置内与弹出机构的推杆或导电柱接触后,弹出机构的推杆或导电柱将运输装置的电源传输给跟随钥匙,以对跟随钥匙进行充电,充电完毕后,弹出机构自动地将待配对钥匙弹出。Function 3, the pop-up mechanism is used to charge the inserted follower key. Specifically, when the following key is inserted into the transportation device and contacts the push rod or conductive column of the pop-up mechanism, the push rod or conductive post of the pop-up mechanism transmits the power of the transportation device to the following key to charge the following key. After that, the eject mechanism automatically ejects the key to be paired.
本申请实施例中,当整机控制板接收到移动终端发送的弹出指令时,表明用户想要使用跟随钥匙对运输装置的移动进行控制,而在运输装置的部分部件故障时,也可能会弹出跟随钥匙,若弹出的跟随钥匙无法控制运输装置移动,这无疑降低了用户的使用体验感。In the embodiment of this application, when the control board of the whole machine receives the pop-up command sent by the mobile terminal, it indicates that the user wants to use the following key to control the movement of the transportation device, and when some parts of the transportation device fail, the pop-up may also occur. Follow the key, if the pop-up follow key cannot control the movement of the transportation device, this will undoubtedly reduce the user experience.
因此,为了使得弹出的跟随钥匙能够正常使用,在整机控制板接收到弹出指令后,还会检查自身(整机控制板)、跟随钥匙、跟随模组与弹出机构是否处于正常通讯的状态,在这些部件处于正常通讯的状态时,才能够保证弹出的跟随钥匙是基于正常通讯的部件弹出的,并非是基于异常通讯的部件弹出的,所以使得弹出的跟随钥匙能够正常使用。Therefore, in order to make the pop-up follow-up key work normally, after the control board of the whole machine receives the pop-up command, it will also check whether itself (the control board of the whole machine), the follow-up key, the follow-up module and the ejection mechanism are in a normal communication state, When these components are in the state of normal communication, it can be ensured that the pop-up follow-up key is ejected based on the normal communication parts, not based on abnormal communication parts, so that the pop-up follow-up key can be used normally.
其中,在整机控制板处于正常通讯状态时,表明整机控制板可以接收跟随钥匙发出的控制指令,并依据控制指令控制运输装置的移动;也表明整机控制板也可以接收移动终端发送的弹出指令,并向弹出机构准确地发出弹出指令。Among them, when the control board of the whole machine is in the normal communication state, it shows that the control board of the whole machine can receive the control commands sent by the key and control the movement of the transportation device according to the control commands; it also shows that the control board of the whole machine can also receive the control commands sent by the mobile terminal. The pop-up command is issued, and the pop-up command is accurately sent to the pop-up mechanism.
在跟随钥匙处于正常通讯状态时,表明跟随钥匙可以发出控制指令。When the following key is in the normal communication state, it indicates that the following key can issue control commands.
在弹出机构处于正常通讯状态时,表明弹出机构可以接收整机控制板发送的弹出指令,并基于弹出指令弹出跟随钥匙,弹出机构也可以正常的检测跟随钥匙是否位于运输装置内,以及对跟随钥匙进行充电。When the pop-up mechanism is in normal communication state, it means that the pop-up mechanism can receive the pop-up command sent by the control board of the whole machine, and eject the follow-up key based on the pop-up command. to charge.
在跟随模组处于正常通讯状态时,表明跟随模组可以与跟随钥匙实现配对,也能与跟随钥匙和整机控制板之间实现数据交互。When the following module is in the normal communication state, it indicates that the following module can be paired with the following key, and can also realize data interaction with the following key and the control board of the whole machine.
在一些场景下,在跟随模组处于故障状态时,整机控制板通过车端蓝牙接收到弹出指令控制弹出机构弹出跟随钥匙之后,由于跟随钥匙发送的控制信号需要通过跟随模组转发给整机控制板,而跟随模组处于故障状态,所以跟随模组无法进行控制信号的转发,从而导致跟随钥匙的信号无法达到整机控制板,最终整机控制板则无法控制运输装置的移动。In some scenarios, when the following module is in a fault state, the control board of the whole machine receives the pop-up command through the Bluetooth of the car and controls the pop-up mechanism to eject the following key, because the control signal sent by the following key needs to be forwarded to the whole machine through the following module. The control board, and the following module is in a fault state, so the following module cannot forward the control signal, resulting in the signal following the key not reaching the control board of the whole machine, and finally the control board of the whole machine cannot control the movement of the transport device.
那么,为了避免弹出的跟随钥匙无法正常使用,可以对跟随模组、跟随钥匙、弹出机构与整机控制板等部件进行检查,在确定出跟随模组处于故障状态,Then, in order to prevent the pop-up follow-up key from being unable to work normally, you can check the follow-up module, follow-up key, pop-up mechanism, and the control panel of the whole machine. After confirming that the follow-up module is in a fault state,
步骤104:在所述各个部件的通讯状态为正常通讯状态的情况下,通过弹出机构控制跟随钥匙从运输装置中弹出。Step 104: When the communication state of each component is a normal communication state, control the following key to be ejected from the transportation device through the ejection mechanism.
本申请实施例中,在各个部件的通讯状态为正常通讯状态时,则可以确定即将弹出的跟随钥匙能够正常使用,此时整机控制板可以直接通过弹出机构控制跟随钥匙从运输装置中弹出。In the embodiment of the present application, when the communication status of each component is in the normal communication status, it can be determined that the follow-up key that is about to be ejected can be used normally. At this time, the control panel of the whole machine can directly control the follow-up key to eject from the transport device through the ejection mechanism.
在各个部件的通讯状态为异常通讯状态时,则可以确定即将弹出的跟随钥匙无法正常使用,此时整机控制板可以给移动终端发送无法弹出的异常指令,移动终端接收到异常指令之后,在移动终端的显示界面显示“运输装置异常”的提示信息。When the communication status of each component is an abnormal communication status, it can be determined that the follow-up key that is about to pop up cannot be used normally. At this time, the control board of the whole machine can send an abnormal command that cannot be popped up to the mobile terminal. The display interface of the mobile terminal displays a prompt message of "the transportation device is abnormal".
通过本申请实施例提供的一种控制钥匙弹出的方法,可以使得用户在扫描运输装置上的扫描图片之后,即可建立移动终端与运输装置之间的蓝牙通讯,并基于蓝牙通讯,获取移动终端的弹出指令,依据弹出指令控制弹出机构弹出跟随钥匙,而不必用户使用特定的解锁钥匙打开锁止装置,才能将跟随钥匙从运输装置取出,给用户取出跟随钥匙带来了便利。Through a method for controlling key pop-up provided by the embodiment of the present application, the user can establish Bluetooth communication between the mobile terminal and the transportation device after scanning the scanned picture on the transportation device, and obtain the mobile terminal based on the Bluetooth communication. According to the pop-up command, the pop-up mechanism is controlled to eject the follow-up key, and the follow-up key can be taken out from the transport device without the user having to use a specific unlocking key to open the locking device, which brings convenience to the user to take out the follow-up key.
基于同一发明构思,本申请实施例还提出一种控制钥匙弹出的方法,所述方法包括以下步骤:Based on the same inventive concept, the embodiment of the present application also proposes a method for controlling the ejection of the key, and the method includes the following steps:
步骤201:针对移动终端发送的连接请求,建立移动终端与运输装置之 间的蓝牙通讯;其中,所述连接请求是由所述移动终端对所述运输装置上的扫描图片进行扫码后发送的。Step 201: In response to the connection request sent by the mobile terminal, establish Bluetooth communication between the mobile terminal and the transportation device; wherein, the connection request is sent by the mobile terminal after scanning the scanned picture on the transportation device .
本申请实施例中,由于运输装置可能是私人使用的,也可能是共用的,因此,需要对这两种情况进行区分,来保证运输装置使用的私有性或者共有性。In the embodiment of the present application, since the transportation device may be used privately or shared, it is necessary to distinguish between these two situations to ensure the privateness or commonality of the use of the transportation device.
在运输装置属于个人使用的情况下,本申请实施例还包括以下子步骤:In the case where the transport device is for personal use, this embodiment of the application also includes the following sub-steps:
步骤2011:获取所述连接请求中携带的移动终端的连接密码。Step 2011: Obtain the connection password of the mobile terminal carried in the connection request.
其中,可以在车端蓝牙设置连接密码,当用户通过移动终端向车端蓝牙发送连接请求时,可以将输入连接密码,从而使得车端蓝牙获取到移动终端输出的连接密码。Among them, the connection password can be set on the Bluetooth of the car. When the user sends a connection request to the Bluetooth of the car through the mobile terminal, the connection password can be input, so that the Bluetooth of the car can obtain the connection password output by the mobile terminal.
步骤2012:对所述连接密码进行验证。Step 2012: Verify the connection password.
其中,验证时,可以将获取到的移动终端输入的连接密码,与车端蓝牙的连接密码进行比较,若一致,则说明当前输入连接密码的用户是运输装置的车主,在不一致的情况下,则说明当前输入连接密码的用户并非是运输装置的车主。Among them, during the verification, the obtained connection password input by the mobile terminal can be compared with the connection password of the Bluetooth on the car side. If they are consistent, it means that the user who currently enters the connection password is the owner of the transport device. If they are inconsistent, It means that the user currently inputting the connection password is not the owner of the transport device.
步骤2013:在所述验证通过的情况下,建立所述车端蓝牙与所述移动终端之间的蓝牙通讯。Step 2013: If the verification is passed, establish the Bluetooth communication between the vehicle Bluetooth and the mobile terminal.
其中,在验证通过的情况下,说明输入连接密码的用户是运输装置的车主,此时,则可以建立车端蓝牙与移动终端蓝牙之间的蓝牙通讯;在验证未通过的情况下,说明输入连接密码的用户并非运输装置的车主,此时可以拒绝建立车端蓝牙与移动终端蓝牙之间的蓝牙通讯,以避免恶意用户使用该运输装置。Among them, if the verification is passed, it means that the user who entered the connection password is the owner of the transport device. At this time, the Bluetooth communication between the car end Bluetooth and the mobile terminal Bluetooth can be established; The user who connects the password is not the owner of the transportation device. At this time, he can refuse to establish the Bluetooth communication between the Bluetooth of the car and the Bluetooth of the mobile terminal, so as to prevent malicious users from using the transportation device.
在运输装置属于共用的情况下,则不必在车端蓝牙设置连接密码,以使得用户通过移动终端向车端蓝牙发送连接请求时,不必输入连接密码,也能建立移动终端蓝牙与车端蓝牙之间的蓝牙通讯。In the case that the transportation device is shared, it is not necessary to set a connection password on the Bluetooth on the vehicle, so that when the user sends a connection request to the Bluetooth on the vehicle through the mobile terminal, he does not need to enter the connection password, and can also establish a connection between the Bluetooth on the mobile terminal and the Bluetooth on the vehicle. Bluetooth communication between.
步骤202:基于所述蓝牙通讯,获取所述移动终端发送的弹出指令。Step 202: Obtain a pop-up instruction sent by the mobile terminal based on the Bluetooth communication.
步骤203:响应于所述弹出指令,检测各个部件的通讯状态是否为正常通讯状态,其中,所述各个部件包括跟随钥匙、跟随模组、弹出机构与整机控制板。Step 203: Responding to the pop-up command, detect whether the communication status of each component is a normal communication status, wherein each component includes a follow-up key, a follow-up module, a pop-up mechanism and a control panel of the whole machine.
步骤204:在所述各个部件的通讯状态为正常通讯状态的情况下,通过 弹出机构控制跟随钥匙从运输装置中弹出。Step 204: In the case that the communication state of each component is a normal communication state, control the following key to eject from the transportation device through the ejection mechanism.
本申请实施例中,除了对各个部件进行检查之后,还需检查跟随钥匙是否插入,且检测插入的跟随钥匙是否是已经配对成功的跟随钥匙。In the embodiment of the present application, in addition to checking each component, it is also necessary to check whether the follow-up key is inserted, and check whether the inserted follow-up key is a follow-up key that has been paired successfully.
因此,本申请实施例还包括以下两种检测步骤:Therefore, the embodiment of the present application also includes the following two detection steps:
步骤2041:通过所述弹出机构检测所述跟随钥匙是否插入,在所述各个部件的通讯状态为正常通讯状态,且通过所述弹出机构检测到所述跟随钥匙插入的情况下,通过弹出机构控制跟随钥匙从运输装置中弹出。Step 2041: Use the pop-up mechanism to detect whether the follow-up key is inserted. When the communication status of each component is a normal communication state, and the pop-up mechanism detects that the follow-up key is inserted, control the follow-up key through the pop-up mechanism. Follow the key to eject from the transporter.
本步骤中,整机控制板可以通过弹出机构的推杆或导电柱检测跟随钥匙是否位于运输装置内,在跟随钥匙位于运输装置内,则确定弹出机构可以弹出跟随钥匙,如此,可以保证弹出机构在执行弹出动作后,能够有跟随钥匙从运输装置弹出。In this step, the control board of the whole machine can detect whether the following key is located in the transport device through the push rod or conductive column of the pop-up mechanism. If the following key is located in the transport device, it is determined that the pop-up mechanism can eject the following key. After performing the eject action, the following key can be ejected from the transport device.
步骤2042:检测整机控制板中是否存在已配对信息,所述已配对信息是所述跟随钥匙与所述跟随模组配对成功后发出的信息,在所述各个部件的通讯状态为正常通讯状态,通过所述弹出机构检测到所述跟随钥匙插入,且在所述整机控制板中检测到已配对信息的情况下,通过弹出机构控制跟随钥匙从运输装置中弹出。Step 2042: Detect whether there is paired information in the control panel of the whole machine, the paired information is the information sent after the follow-up key and the follow-up module are successfully paired, and the communication status of each component is a normal communication status , the insertion of the following key is detected by the ejection mechanism, and in the case that the paired information is detected in the complete machine control board, the following key is ejected from the transportation device by the ejection mechanism.
本步骤中,由于每次运输装置开机时,均需要进行一次跟随钥匙与跟随模组之间的配对,为了使得弹出的跟随钥匙是已经配对成功的跟随钥匙。In this step, since each time the transportation device is turned on, a pairing between the follower key and the follower module is required, so that the follower key that pops up is the follower key that has been paired successfully.
所以,当运输装置开机进行跟随钥匙与跟随模组配对之后,若跟随模组与跟随钥匙配对成功,跟随模组会向整机控制板发送已配对信息;若跟随模组与跟随钥匙配对失败,跟随模组会向整机控制板发送配对失败信息。Therefore, when the transport device is turned on and paired with the follower key and the follower module, if the follower module and the follower key are paired successfully, the follower module will send paired information to the control panel of the whole machine; if the follower module and the follower key fail to pair, The following module will send a pairing failure message to the control board of the whole machine.
那么,当整机控制板则会检查自身是否接收到已配对信息,若接收到已配对信息,则说明位于运输装置内的跟随钥匙已经与跟随模组配对成功,跟随钥匙能够正常向跟随模组发送控制指令,此时整机控制板则会控制跟随钥匙从运输装置中弹出。Then, when the control board of the whole machine will check whether it has received the paired information, if it receives the paired information, it means that the follow-up key in the transport device has been successfully paired with the follow-up module, and the follow-up key can normally send to the follow-up module Send a control command, at this time the control panel of the whole machine will control the following key to eject from the transport device.
步骤205:通过弹出机构控制跟随钥匙从运输装置中弹出之后,控制车端蓝牙从开启状态转换成休眠状态。Step 205 : After the following key is ejected from the transport device through the eject mechanism, control the Bluetooth on the car to switch from the on state to the sleep state.
本申请实施例中,运输装置开启时,车端蓝牙、跟随模组、弹出机构与整机控制板均处于开启状态,当跟随钥匙从运输装置中弹出之后,跟随模组需要实时地接收跟随钥匙的控制信号,弹出机构需要实时地检测跟随钥匙是 否重新插入至运输装置内,整机控制板需要实时地依据控制信号控制运输装置的移动,因此,跟随模组、弹出机构与整机控制板需要保持开启状态。In the embodiment of this application, when the transportation device is turned on, the Bluetooth on the car, the following module, the pop-up mechanism and the control panel of the whole machine are all in the open state. After the following key is ejected from the transportation device, the following module needs to receive the following key in real time control signal, the pop-up mechanism needs to detect in real time whether the following key is reinserted into the transport device, and the control board of the whole machine needs to control the movement of the transport device in real time according to the control signal. Therefore, the following module, the pop-up mechanism and the control board of the whole machine need Leave it on.
而车端蓝牙并不需要接收移动终端蓝牙发送的弹出指令,因此,可以控制车端蓝牙从开启状态转换成休眠状态,以避免车端蓝牙耗费运输装置多余的电量。The Bluetooth on the car does not need to receive the pop-up command sent by the Bluetooth on the mobile terminal. Therefore, the Bluetooth on the car can be controlled to switch from the on state to the sleep state, so as to avoid the Bluetooth on the car from consuming excess power of the transportation device.
步骤206:通过弹出机构检测所述跟随钥匙是否重新插入。Step 206: Detect whether the follow-up key is inserted again through the pop-up mechanism.
本申请实施例中,运输装置电源开启之后,需要通过弹出机构实时地检测跟随钥匙是否重新插入,在跟随钥匙重新插入至运输装置内与弹出机构接触后,说明用户将跟随钥匙归还至运输装置内。In this embodiment of the application, after the transportation device is powered on, it is necessary to detect in real time whether the following key is reinserted through the pop-up mechanism. After the following key is reinserted into the transportation device and contacts the pop-up mechanism, it means that the user will return the following key to the transportation device. .
步骤207:在所述跟随钥匙重新插入的情况下,控制所述车端蓝牙从休眠状态转换成开启状态,且控制所述运输装置处于自锁状态。Step 207: When the following key is reinserted, control the bluetooth on the car to switch from a dormant state to an open state, and control the transportation device to be in a self-locking state.
本申请实施例中,在跟随钥匙重新插入的情况下,说明用户将跟随钥匙归还至运输装置内,此时,可能存在用户想要再次从运输装置中取出跟随钥匙的情况,或者存在写一个用户想要取出跟随钥匙的情况。In the embodiment of this application, when the following key is reinserted, it means that the user will return the following key to the transportation device. Want to take out the case that follows the key.
为了能够响应用户通过移动终端发送的弹出指令,整机控制板会控制车端蓝牙从休眠状态转换成开启状态,以使得车端蓝牙能够实时地检测是否接收到移动终端蓝牙发送的弹出指令。In order to be able to respond to the pop-up command sent by the user through the mobile terminal, the control board of the whole machine will control the bluetooth on the car to switch from the dormant state to the on state, so that the bluetooth on the car can detect in real time whether the pop-up command sent by the mobile terminal bluetooth is received.
并且,当用户归将跟随钥匙归还至运输装置内后,运输装置可能不会再被用户所使用,此时可以控制运输装置处于自锁状态,即,使得运输装置处于不可移动的锁定状态,避免运输装置出现滑坡、移动等现象。Moreover, when the user returns the following key to the transport device, the transport device may no longer be used by the user. At this time, the transport device can be controlled to be in a self-locking state, that is, the transport device is in an immovable locked state to avoid Landslides, movement, etc. occur in the transport device.
本申请实施例中,还可以通过以下步骤来控制运输装置:In the embodiment of this application, the transportation device can also be controlled through the following steps:
步骤301:在所述跟随模组的第一预设有效范围内,通过所述跟随模组检测所述跟随钥匙与所述跟随模组之间的距离。Step 301: within a first preset effective range of the following module, detect the distance between the following key and the following module through the following module.
本申请实施例中,整机控制板可以通过跟随模组检测跟随钥匙与跟随模组之间的距离,从而控制运输装置处于锁定状态。In the embodiment of the present application, the whole machine control board can detect the distance between the following key and the following module through the following module, so as to control the transportation device to be in the locked state.
其中,第一预设有效范围指的是跟随模组的检测范围,跟随模组均可以检测到位于第一预设有效范围内的跟随钥匙,第一预设有效范围可以为10m、20m、30m,本申请在此不做限制。Wherein, the first preset valid range refers to the detection range of the following module, and the following module can detect the following key located within the first preset valid range, and the first preset valid range can be 10m, 20m, 30m , the application is not limited here.
步骤302:在检测所述跟随钥匙与所述跟随模组之间的距离大于或等于第一预设距离的情况下,控制运输装置处于锁定状态。Step 302: When it is detected that the distance between the following key and the following module is greater than or equal to a first preset distance, control the transportation device to be in a locked state.
本申请实施例中,第一预设距离可以为3m、4m、5m等等,只要第一预设距离小于第一预设有效范围的距离即可,本申请在此不做限制。In the embodiment of the present application, the first preset distance may be 3m, 4m, 5m, etc., as long as the first preset distance is smaller than the distance of the first preset effective range, and the present application does not limit it here.
其中,由于运输装置的移动速度会根据运输装置与跟随钥匙之间的距离决定,当运输装置与跟随钥匙之间的距离较短时,运输装置以较慢的速度移动也能紧随携带有跟随钥匙的车主;当运输装置与跟随钥匙之间的距离较远时,运输装置需要以较快的速度移动,才能紧随携带有跟随钥匙的车主。然而当运输装置移动速度较快时,则极有可能撞伤行人,给行人人身安全造成威胁。Among them, since the moving speed of the transport device will be determined according to the distance between the transport device and the following key, when the distance between the transport device and the following key is short, the transport device can move at a slower speed and follow closely The owner of the key; when the distance between the transport device and the following key is long, the transport device needs to move at a faster speed in order to closely follow the owner of the following key. However, when the transport device moves faster, it is very likely to injure pedestrians, posing a threat to pedestrians' personal safety.
所以,在本申请实施例中,当跟随钥匙与跟随模组之间的距离在第一预设距离以上,且在第一预设有效范围内时,说明运输装置距离车主较远,此时整机控制板不会响应跟随钥匙的控制信号,整机控制板会控制运输装置处于锁定状态,即,整机控制板向运输装置的轮毂电机控制器发送停止命令,以使得轮毂电机感知器控制轮毂电机锁止运输装置,进而使得运输装置处于无法移动的自锁状态。Therefore, in the embodiment of the present application, when the distance between the following key and the following module is above the first preset distance and within the first preset effective range, it means that the transportation device is far away from the owner. The machine control board will not respond to the control signal following the key, and the whole machine control board will control the transport device to be in a locked state, that is, the whole machine control board sends a stop command to the hub motor controller of the transport device, so that the hub motor sensor controls the hub The motor locks the transport device, thereby making the transport device in a self-locking state that cannot move.
相应地,车主得知运输装置并未跟随自身时,则会返回运输装置附近,整机控制板通过跟随模组检测到跟随钥匙与跟随模组之间的距离小于第一预设距离,从而解除对轮毂电机的控制,此时整机控制板可以继续响应跟随钥匙的控制信号,车主可以通过跟随钥匙继续控制运输装置移动。Correspondingly, when the car owner knows that the transportation device is not following him, he will return to the vicinity of the transportation device. The control board of the whole machine detects that the distance between the following key and the following module is less than the first preset distance through the following module, thereby releasing the key. For the control of the wheel hub motor, the control board of the whole machine can continue to respond to the control signal of the follow key, and the owner can continue to control the movement of the transport device by following the key.
通过在检测所述跟随钥匙与所述跟随模组之间的距离大于或等于第一预设距离的情况下,控制运输装置处于锁定状态的设置,可以使得运输装置与携带有跟随钥匙的车主之间的距离在大于或等于第一预设距离的情况下,控制运输装置处于锁定状态,而非控制运输装置以更快的速度跟随车主,从而避免运输装置移动过快冲撞行人。By detecting that the distance between the following key and the following module is greater than or equal to the first preset distance, the setting of controlling the transportation device to be in the locked state can make the transportation device and the vehicle owner carrying the following key When the distance between them is greater than or equal to the first preset distance, the transportation device is controlled to be locked, instead of being controlled to follow the vehicle owner at a faster speed, so as to avoid the transportation device from moving too fast and colliding with pedestrians.
步骤303:在检测所述跟随钥匙与所述跟随模组之间的距离小于或等于第二预设距离的情况下,控制运输装置处于锁定状态。Step 303: When it is detected that the distance between the following key and the following module is less than or equal to a second preset distance, control the transportation device to be in a locked state.
本申请实施例中,第二预设距离可以为1m、1.1m、1.2m等等,只要第二预设距离小于第一预设距离即可,本申请在此不做限制。In the embodiment of the present application, the second preset distance may be 1 m, 1.1 m, 1.2 m, etc., as long as the second preset distance is smaller than the first preset distance, which is not limited in the present application.
其中,携带有跟随钥匙的用户在运输装置上装卸货物时,会不停地转变方向来装卸货物,而运输装置的方向会依据跟随钥匙的方向的变化而变化,所以会导致运输装置的方向会频繁地根据用户方向的变化而变化,给用户装 卸货物带来诸多不便。Among them, when the user carrying the following key loads and unloads goods on the transportation device, he will constantly change the direction to load and unload the goods, and the direction of the transportation device will change according to the direction of the following key, so the direction of the transportation device will change. It frequently changes according to the direction of the user, which brings a lot of inconvenience to the user when loading and unloading goods.
所以,本申请实施例中,在检测所述跟随钥匙与所述跟随模组之间的距离小于或等于第二预设距离的情况下,说明携带有跟随钥匙的用户距离运输装置较近,表明用户此时正在装卸货物,那么整机控制板则会控制运输装置处于锁定状态,以避免运输装置的方向随着用户方向的变化而变化,给用户装卸货物带来便利。Therefore, in the embodiment of the present application, when it is detected that the distance between the follow-up key and the follow-up module is less than or equal to the second preset distance, it means that the user carrying the follow-up key is relatively close to the transportation device, indicating that When the user is loading and unloading goods at this time, the control panel of the whole machine will control the transport device to be in a locked state, so as to avoid the direction of the transport device from changing with the direction of the user, and bring convenience to the user for loading and unloading goods.
基于同一发明构思,请参阅图3所示,本申请另一实施例提供一种控制钥匙弹出的装置,所述装置包括:Based on the same inventive concept, as shown in Figure 3, another embodiment of the present application provides a device for controlling key ejection, which includes:
建立模块,用于针对移动终端发送的连接请求,建立移动终端与运输装置之间的蓝牙通讯;其中,所述连接请求是由所述移动终端对所述运输装置上的扫描图片进行扫码后发送的;The establishment module is used to establish the Bluetooth communication between the mobile terminal and the transportation device in response to the connection request sent by the mobile terminal; wherein, the connection request is obtained by scanning the scanned picture on the transportation device by the mobile terminal sent;
获取模块,用于基于所述蓝牙通讯,获取所述移动终端发送的弹出指令;An acquisition module, configured to acquire the pop-up instruction sent by the mobile terminal based on the Bluetooth communication;
检测模块,用于响应于所述弹出指令,检测各个部件的通讯状态是否为正常通讯状态,其中,所述各个部件包括跟随钥匙、跟随模组、弹出机构与整机控制板;The detection module is used to detect whether the communication state of each component is a normal communication state in response to the pop-up instruction, wherein the various components include a follow-up key, a follow-up module, a pop-up mechanism and a complete machine control panel;
弹出模块,用于在所述各个部件的通讯状态为正常通讯状态的情况下,通过弹出机构控制跟随钥匙从运输装置中弹出。The pop-up module is used to control the following key to pop up from the transportation device through the pop-up mechanism when the communication status of each component is a normal communication status.
可选地,所述建立模块包括:Optionally, the building module includes:
密码获取模块,用于获取所述连接请求中携带的移动终端的连接密码;A password acquisition module, configured to acquire the connection password of the mobile terminal carried in the connection request;
验证模块,用于对所述连接密码进行验证;A verification module, configured to verify the connection password;
建立子模块,用于在所述验证通过的情况下,建立所述车端蓝牙与所述移动终端之间的蓝牙通讯。The establishment sub-module is used to establish the Bluetooth communication between the Bluetooth on the vehicle end and the mobile terminal when the verification is passed.
可选地,所述装置还包括:Optionally, the device also includes:
钥匙检测模块,用于通过所述弹出机构检测所述跟随钥匙是否插入;A key detection module, configured to detect whether the follow-up key is inserted through the pop-up mechanism;
所述弹出模块包括:The pop-up modules include:
第一弹出模块,用于在所述各个部件的通讯状态为正常通讯状态,且通过所述弹出机构检测到所述跟随钥匙插入的情况下,通过弹出机构控制跟随钥匙从运输装置中弹出。The first ejection module is configured to control the ejection of the follower key from the transportation device through the ejection mechanism when the communication state of each component is a normal communication state and the insertion of the follower key is detected by the ejection mechanism.
可选地,所述装置还包括:Optionally, the device also includes:
配对信息检测模块,用于检测整机控制板中是否存在已配对信息,所述 已配对信息是所述跟随钥匙与所述跟随模组配对成功后发出的信息。The pairing information detection module is used to detect whether there is paired information in the control panel of the whole machine, and the paired information is the information sent after the successful pairing of the follower key and the follower module.
所述弹出模块包括:The pop-up modules include:
第二弹出模块,用于在所述各个部件的通讯状态为正常通讯状态,通过所述弹出机构检测到所述跟随钥匙插入,且在所述整机控制板中检测到已配对信息的情况下,通过弹出机构控制跟随钥匙从运输装置中弹出。The second pop-up module is used for when the communication state of each component is a normal communication state, the insertion of the following key is detected through the pop-up mechanism, and the paired information is detected in the control panel of the whole machine , The following key is ejected from the transport device through the ejection mechanism control.
可选地,所述装置包括:Optionally, the device includes:
状态控制模块,用于控制车端蓝牙从开启状态转换成休眠状态。The state control module is used to control the bluetooth of the car to switch from the on state to the dormant state.
可选地,所述装置包括:Optionally, the device includes:
钥匙重插入检测模块,用于通过弹出机构检测所述跟随钥匙是否重新插入;The key reinsertion detection module is used to detect whether the following key is reinserted through the pop-up mechanism;
自锁控制模块,用于在所述跟随钥匙重新插入的情况下,控制所述车端蓝牙从休眠状态转换成开启状态,且控制所述运输装置处于自锁状态。The self-locking control module is used to control the bluetooth on the car to switch from a dormant state to an open state when the following key is reinserted, and to control the transportation device to be in a self-locking state.
可选地,所述装置包括:Optionally, the device includes:
距离检测模块,用于在所述跟随模组的第一预设有效范围内,通过所述跟随模组检测所述跟随钥匙与所述跟随模组之间的距离;A distance detection module, configured to detect the distance between the following key and the following module through the following module within the first preset effective range of the following module;
第一锁定模块,用于在检测所述跟随钥匙与所述跟随模组之间的距离大于或等于第一预设距离的情况下,控制运输装置处于锁定状态;The first locking module is used to control the transport device to be in a locked state when it is detected that the distance between the following key and the following module is greater than or equal to a first preset distance;
第二缩影模块,用于在检测所述跟随钥匙与所述跟随模组之间的距离小于或等于第二预设距离的情况下,控制运输装置处于锁定状态。The second miniature module is used to control the transport device to be in a locked state when it is detected that the distance between the following key and the following module is less than or equal to a second preset distance.
基于同一发明构思,本申请实施例还提供一种电子设备,包括:Based on the same inventive concept, the embodiment of the present application also provides an electronic device, including:
一个或多个处理器;和one or more processors; and
其上存储有指令的一个或多个机器可读介质,当由所述一个或多个处理器执行时,使得所述电子设备执行如本申请实施例提出的一种控制钥匙弹出的方法。One or more machine-readable media having instructions stored thereon, when executed by the one or more processors, enables the electronic device to execute a method for controlling ejection of a key as proposed in an embodiment of the present application.
基于同一发明构思,本申请实施例还提供一个或多个机器可读介质,其上存储有指令,当由一个或多个处理器执行时,使得所述处理器执行如本申请实施例提出的一种控制钥匙弹出的方法。Based on the same inventive concept, the embodiments of the present application also provide one or more machine-readable media, on which instructions are stored, and when executed by one or more processors, the processors execute the A way to control key ejection.
对于装置实施例而言,由于其与方法实施例基本相似,所以描述的比较简单,相关之处参见方法实施例的部分说明即可。As for the device embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and for related parts, please refer to the part of the description of the method embodiment.
本说明书中的各个实施例均采用递进的方式描述,每个实施例重点说明 的都是与其他实施例的不同之处,各个实施例之间相同相似的部分互相参见即可。Each embodiment in this specification is described in a progressive manner, and each embodiment focuses on the difference from other embodiments, and the same and similar parts of each embodiment can be referred to each other.
本领域内的技术人员应明白,本申请实施例的实施例可提供为方法、装置、或计算机程序产品。因此,本申请实施例可采用完全硬件实施例、完全软件实施例、或结合软件和硬件方面的实施例的形式。而且,本申请实施例可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器、CD-ROM、光学存储器等)上实施的计算机程序产品的形式。Those skilled in the art should understand that the embodiments of the embodiments of the present application may be provided as methods, devices, or computer program products. Therefore, the embodiment of the present application may take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, embodiments of the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) having computer-usable program code embodied therein.
本申请实施例是参照根据本申请实施例的方法、终端设备(系统)、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理终端设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理终端设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。Embodiments of the present application are described with reference to flowcharts and/or block diagrams of methods, terminal devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each procedure and/or block in the flowchart and/or block diagram, and a combination of procedures and/or blocks in the flowchart and/or block diagram can be realized by computer program instructions. These computer program instructions may be provided to a general purpose computer, special purpose computer, embedded processor or processor of other programmable data processing terminal equipment to produce a machine such that instructions executed by the computer or processor of other programmable data processing terminal equipment Produce means for realizing the functions specified in one or more procedures of the flowchart and/or one or more blocks of the block diagram.
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理终端设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing terminal to operate in a specific manner, such that the instructions stored in the computer-readable memory produce an article of manufacture comprising instruction means, the The instruction means implements the functions specified in one or more procedures of the flowchart and/or one or more blocks of the block diagram.
这些计算机程序指令也可装载到计算机或其他可编程数据处理终端设备上,使得在计算机或其他可编程终端设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程终端设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。These computer program instructions can also be loaded into a computer or other programmable data processing terminal equipment, so that a series of operational steps are performed on the computer or other programmable terminal equipment to produce computer-implemented processing, thereby The instructions executed above provide steps for implementing the functions specified in one or more procedures of the flowchart and/or one or more blocks of the block diagram.
以上所描述的装置实施例仅仅是示意性的,其中所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部模块来实现本实施例方案的目的。本领域普通技术人员在不付出创造性的劳动的情况下,即可以 理解并实施。The device embodiments described above are only illustrative, and the units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in One place, or it can be distributed to multiple network elements. Part or all of the modules can be selected according to actual needs to achieve the purpose of the solution of this embodiment. It can be understood and implemented by those skilled in the art without any creative efforts.
本申请的各个部件实施例可以以硬件实现,或者以在一个或者多个处理器上运行的软件模块实现,或者以它们的组合实现。本领域的技术人员应当理解,可以在实践中使用微处理器或者数字信号处理器(DSP)来实现根据本申请实施例的计算处理设备中的一些或者全部部件的一些或者全部功能。本申请还可以实现为用于执行这里所描述的方法的一部分或者全部的设备或者装置程序(例如,计算机程序和计算机程序产品)。这样的实现本申请的程序可以存储在计算机可读介质上,或者可以具有一个或者多个信号的形式。这样的信号可以从因特网网站上下载得到,或者在载体信号上提供,或者以任何其他形式提供。The various component embodiments of the present application may be realized in hardware, or in software modules running on one or more processors, or in a combination thereof. Those skilled in the art should understand that a microprocessor or a digital signal processor (DSP) may be used in practice to implement some or all functions of some or all components in the computing processing device according to the embodiments of the present application. The present application can also be implemented as an apparatus or apparatus program (eg, computer program and computer program product) for performing a part or all of the methods described herein. Such a program implementing the present application may be stored on a computer-readable medium, or may be in the form of one or more signals. Such a signal may be downloaded from an Internet site, or provided on a carrier signal, or provided in any other form.
例如,图4示出了可以实现根据本申请的方法的计算处理设备。该计算处理设备传统上包括处理器1010和以存储器1020形式的计算机程序产品或者计算机可读介质。存储器1020可以是诸如闪存、EEPROM(电可擦除可编程只读存储器)、EPROM、硬盘或者ROM之类的电子存储器。存储器1020具有用于执行上述方法中的任何方法步骤的程序代码1031的存储空间1030。例如,用于程序代码的存储空间1030可以包括分别用于实现上面的方法中的各种步骤的各个程序代码1031。这些程序代码可以从一个或者多个计算机程序产品中读出或者写入到这一个或者多个计算机程序产品中。这些计算机程序产品包括诸如硬盘,紧致盘(CD)、存储卡或者软盘之类的程序代码载体。这样的计算机程序产品通常为如参考图5所述的便携式或者固定存储单元。该存储单元可以具有与图4的计算处理设备中的存储器1020类似布置的存储段、存储空间等。程序代码可以例如以适当形式进行压缩。通常,存储单元包括计算机可读代码1031’,即可以由例如诸如1010之类的处理器读取的代码,这些代码当由计算处理设备运行时,导致该计算处理设备执行上面所描述的方法中的各个步骤。For example, FIG. 4 shows a computing processing device that may implement a method according to the present application. The computing processing device conventionally includes a processor 1010 and a computer program product or computer readable medium in the form of memory 1020 . Memory 1020 may be electronic memory such as flash memory, EEPROM (Electrically Erasable Programmable Read Only Memory), EPROM, hard disk, or ROM. The memory 1020 has a storage space 1030 for program code 1031 for performing any method steps in the methods described above. For example, the storage space 1030 for program codes may include respective program codes 1031 for respectively implementing various steps in the above methods. These program codes can be read from or written into one or more computer program products. These computer program products comprise program code carriers such as hard disks, compact disks (CDs), memory cards or floppy disks. Such a computer program product is typically a portable or fixed storage unit as described with reference to FIG. 5 . The storage unit may have storage segments, storage spaces, etc. arranged similarly to the memory 1020 in the computing processing device of FIG. 4 . The program code can eg be compressed in a suitable form. Typically, the storage unit includes computer readable code 1031', i.e. code readable by, for example, a processor such as 1010, which code, when executed by a computing processing device, causes the computing processing device to perform the above-described methods. each step.
尽管已描述了本申请实施例的优选实施例,但本领域内的技术人员一旦得知了基本创造性概念,则可对这些实施例做出另外的变更和修改。所以,所附权利要求意欲解释为包括优选实施例以及落入本申请实施例范围的所有变更和修改。While the preferred embodiments of the embodiments of the present application have been described, additional changes and modifications can be made to these embodiments by those skilled in the art once the basic inventive concept is understood. Therefore, the appended claims are intended to be interpreted to cover the preferred embodiment and all changes and modifications that fall within the scope of the embodiments of the application.
最后,还需要说明的是,在本文中,诸如第一和第二等之类的关系术语 仅仅用来将一个实体或者操作与另一个实体或操作区分开来,而不一定要求或者暗示这些实体或操作之间存在任何这种实际的关系或者顺序。而且,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者终端设备不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者终端设备所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括所述要素的过程、方法、物品或者终端设备中还存在另外的相同要素。Finally, it should also be noted that in this text, relational terms such as first and second etc. are only used to distinguish one entity or operation from another, and do not necessarily require or imply that these entities or operations, any such actual relationship or order exists. Furthermore, the term "comprises", "comprises" or any other variation thereof is intended to cover a non-exclusive inclusion such that a process, method, article, or terminal equipment comprising a set of elements includes not only those elements, but also includes elements not expressly listed. other elements identified, or also include elements inherent in such a process, method, article, or end-equipment. Without further limitations, an element defined by the phrase "comprising a ..." does not exclude the presence of additional identical elements in the process, method, article or terminal device comprising said element.
以上对本申请所提供的一种控制钥匙弹出的方法、装置、电子设备与存储介质,进行了详细介绍,本文中应用了具体个例对本申请的原理及实施方式进行了阐述,以上实施例的说明只是用于帮助理解本申请的方法及其核心思想;同时,对于本领域的一般技术人员,依据本申请的思想,在具体实施方式及应用范围上均会有改变之处,综上所述,本说明书内容不应理解为对本申请的限制。A method, device, electronic device and storage medium for controlling key pop-up provided by this application have been introduced in detail above. In this paper, specific examples are used to illustrate the principle and implementation of this application. The description of the above embodiments It is only used to help understand the method of the present application and its core idea; at the same time, for those of ordinary skill in the art, according to the idea of the present application, there will be changes in the specific implementation and application scope. In summary, The contents of this specification should not be understood as limiting the application.

Claims (14)

  1. 一种控制钥匙弹出的方法,其特征在于,所述方法包括:A method for controlling the ejection of a key, characterized in that the method comprises:
    针对移动终端发送的连接请求,建立移动终端与运输装置之间的蓝牙通讯;其中,所述连接请求是由所述移动终端对所述运输装置上的扫描图片进行扫码后发送的;For the connection request sent by the mobile terminal, establish Bluetooth communication between the mobile terminal and the transportation device; wherein, the connection request is sent by the mobile terminal after scanning the scanned picture on the transportation device;
    基于所述蓝牙通讯,获取所述移动终端发送的弹出指令;Based on the bluetooth communication, acquiring a pop-up instruction sent by the mobile terminal;
    响应于所述弹出指令,检测各个部件的通讯状态是否为正常通讯状态,其中,所述各个部件包括跟随钥匙、跟随模组、弹出机构与整机控制板;Responding to the pop-up command, detect whether the communication status of each component is a normal communication status, wherein each component includes a follow-up key, a follow-up module, a pop-up mechanism and a control panel of the whole machine;
    在所述各个部件的通讯状态为正常通讯状态的情况下,通过弹出机构控制跟随钥匙从运输装置中弹出。When the communication state of each component is a normal communication state, the following key is ejected from the transportation device by controlling the ejection mechanism.
  2. 根据权利要求1所述的方法,其特征在于,所述车端蓝牙预设有连接密码;针对移动终端发送的连接请求,建立运输装置与移动终端之间的蓝牙通讯,包括:The method according to claim 1, wherein the Bluetooth on the vehicle end is preset with a connection password; for the connection request sent by the mobile terminal, establishing the Bluetooth communication between the transportation device and the mobile terminal includes:
    获取所述连接请求中携带的移动终端的连接密码;Obtain the connection password of the mobile terminal carried in the connection request;
    对所述连接密码进行验证;Verifying the connection password;
    在所述验证通过的情况下,建立所述车端蓝牙与所述移动终端之间的蓝牙通讯。If the verification is passed, the Bluetooth communication between the vehicle-side Bluetooth and the mobile terminal is established.
  3. 根据权利要求1所述的方法,其特征在于,所述方法还包括:The method according to claim 1, further comprising:
    通过所述弹出机构检测所述跟随钥匙是否插入;Detecting whether the following key is inserted through the pop-up mechanism;
    通过弹出机构控制跟随钥匙从运输装置中弹出,包括:Ejection of the follower key from the transport unit is controlled by an ejection mechanism consisting of:
    在所述各个部件的通讯状态为正常通讯状态,且通过所述弹出机构检测到所述跟随钥匙插入的情况下,通过弹出机构控制跟随钥匙从运输装置中弹出。When the communication state of each component is a normal communication state, and the ejection mechanism detects that the follow-up key is inserted, the follow-up key is controlled to be ejected from the transportation device by the ejection mechanism.
  4. 根据权利要求3所述的方法,其特征在于,所述方法还包括:The method according to claim 3, further comprising:
    检测整机控制板中是否存在已配对信息,所述已配对信息是所述跟随钥匙与所述跟随模组配对成功后发出的信息;Detecting whether there is paired information in the control panel of the whole machine, the paired information is the information sent after the follow-up key and the follow-up module are successfully paired;
    通过弹出机构控制跟随钥匙从运输装置中弹出,包括:Ejection of the follower key from the transport unit is controlled by an ejection mechanism consisting of:
    在所述各个部件的通讯状态为正常通讯状态,通过所述弹出机构检测到所述跟随钥匙插入,且在所述整机控制板中检测到已配对信息的情况下,通过弹出机构控制跟随钥匙从运输装置中弹出。When the communication state of each component is a normal communication state, the insertion of the follow-up key is detected by the pop-up mechanism, and the paired information is detected in the control panel of the whole machine, the follow-up key is controlled by the pop-up mechanism Eject from transport.
  5. 根据权利要求1所述的方法,其特征在于,通过弹出机构控制跟随钥匙从运输装置中弹出之后,所述方法包括:The method according to claim 1, characterized in that, after the following key is ejected from the transportation device through the ejection mechanism control, the method comprises:
    控制车端蓝牙从开启状态转换成休眠状态。Control the bluetooth on the car to switch from the on state to the sleep state.
  6. 根据权利要求1所述的方法,其特征在于,通过弹出机构控制跟随钥匙从运输装置中弹出之后,所述方法包括:The method according to claim 1, characterized in that, after the following key is ejected from the transportation device through the ejection mechanism control, the method comprises:
    通过弹出机构检测所述跟随钥匙是否重新插入;Detecting whether the following key is reinserted through the pop-up mechanism;
    在所述跟随钥匙重新插入的情况下,控制所述车端蓝牙从休眠状态转换成开启状态,且控制所述运输装置处于自锁状态。When the follow-up key is reinserted, control the bluetooth on the car to switch from a dormant state to an open state, and control the transportation device to be in a self-locking state.
  7. 根据权利要求1所述的方法,其特征在于,通过弹出机构控制跟随钥匙从运输装置中弹出之后,所述方法还包括:The method according to claim 1, characterized in that, after the following key is ejected from the transportation device through the ejection mechanism, the method further comprises:
    在所述跟随模组的第一预设有效范围内,通过所述跟随模组检测所述跟随钥匙与所述跟随模组之间的距离;Within the first preset effective range of the following module, the distance between the following key and the following module is detected by the following module;
    在检测所述跟随钥匙与所述跟随模组之间的距离大于或等于第一预设距离的情况下,控制运输装置处于锁定状态;When it is detected that the distance between the following key and the following module is greater than or equal to a first preset distance, controlling the transportation device to be in a locked state;
    在检测所述跟随钥匙与所述跟随模组之间的距离小于或等于第二预设距离的情况下,控制运输装置处于锁定状态。When it is detected that the distance between the following key and the following module is less than or equal to a second preset distance, the transportation device is controlled to be in a locked state.
  8. 一种控制钥匙弹出的装置,其特征在于,所述装置包括:A device for controlling key ejection, characterized in that the device comprises:
    建立模块,用于针对移动终端发送的连接请求,建立移动终端与运输装置之间的蓝牙通讯;其中,所述连接请求是由所述移动终端对所述运输装置上的扫描图片进行扫码后发送的;The establishment module is used to establish the Bluetooth communication between the mobile terminal and the transportation device in response to the connection request sent by the mobile terminal; wherein, the connection request is obtained by scanning the scanned picture on the transportation device by the mobile terminal sent;
    获取模块,用于基于所述蓝牙通讯,获取所述移动终端发送的弹出指令;An acquisition module, configured to acquire the pop-up instruction sent by the mobile terminal based on the Bluetooth communication;
    检测模块,用于响应于所述弹出指令,检测各个部件的通讯状态是否为 正常通讯状态,其中,所述各个部件包括跟随钥匙、跟随模组、弹出机构与整机控制板;The detection module is used to detect whether the communication state of each component is a normal communication state in response to the pop-up instruction, wherein the various components include a follow-up key, a follow-up module, a pop-up mechanism and a complete machine control panel;
    弹出模块,用于在所述各个部件的通讯状态为正常通讯状态的情况下,通过弹出机构控制跟随钥匙从运输装置中弹出。The pop-up module is used to control the following key to pop up from the transportation device through the pop-up mechanism when the communication status of each component is a normal communication status.
  9. 根据权利要求8所述的装置,其特征在于,所述建立模块包括:The device according to claim 8, wherein the establishment module comprises:
    密码获取模块,用于获取所述连接请求中携带的移动终端的连接密码;A password acquisition module, configured to acquire the connection password of the mobile terminal carried in the connection request;
    验证模块,用于对所述连接密码进行验证;A verification module, configured to verify the connection password;
    建立子模块,用于在所述验证通过的情况下,建立所述车端蓝牙与所述移动终端之间的蓝牙通讯;以及Establishing a submodule for establishing Bluetooth communication between the vehicle-end Bluetooth and the mobile terminal if the verification is passed; and
    钥匙检测模块,用于通过所述弹出机构检测所述跟随钥匙是否插入。The key detection module is used to detect whether the follow-up key is inserted through the ejection mechanism.
  10. 根据权利要求8所述的装置,其特征在于,所述弹出模块包括:The device according to claim 8, wherein the pop-up module comprises:
    第一弹出模块,用于在所述各个部件的通讯状态为正常通讯状态,且通过所述弹出机构检测到所述跟随钥匙插入的情况下,通过弹出机构控制跟随钥匙从运输装置中弹出;The first ejection module is used to control the ejection of the follower key from the transportation device through the ejection mechanism when the communication state of each component is a normal communication state and the insertion of the follower key is detected by the ejection mechanism;
    配对信息检测模块,用于检测整机控制板中是否存在已配对信息,所述已配对信息是所述跟随钥匙与所述跟随模组配对成功后发出的信息;以及The pairing information detection module is used to detect whether there is paired information in the control panel of the whole machine, and the paired information is the information sent after the pairing of the following key and the following module is successful; and
    第二弹出模块,用于在所述各个部件的通讯状态为正常通讯状态,通过所述弹出机构检测到所述跟随钥匙插入,且在所述整机控制板中检测到已配对信息的情况下,通过弹出机构控制跟随钥匙从运输装置中弹出。The second pop-up module is used for when the communication state of each component is a normal communication state, the insertion of the following key is detected through the pop-up mechanism, and the paired information is detected in the control panel of the whole machine , The following key is ejected from the transport device through the ejection mechanism control.
  11. 根据权利要求8所述的装置,其特征在于,所述装置还包括:The device according to claim 8, wherein the device further comprises:
    状态控制模块,用于控制车端蓝牙从开启状态转换成休眠状态;The state control module is used to control the bluetooth of the car to switch from the on state to the dormant state;
    钥匙重插入检测模块,用于通过弹出机构检测所述跟随钥匙是否重新插入;The key reinsertion detection module is used to detect whether the following key is reinserted through the pop-up mechanism;
    自锁控制模块,用于在所述跟随钥匙重新插入的情况下,控制所述车端蓝牙从休眠状态转换成开启状态,且控制所述运输装置处于自锁状态;The self-locking control module is used to control the bluetooth on the car to switch from the dormant state to the open state when the following key is reinserted, and to control the transportation device to be in the self-locking state;
    距离检测模块,用于在所述跟随模组的第一预设有效范围内,通过所述跟随模组检测所述跟随钥匙与所述跟随模组之间的距离;A distance detection module, configured to detect the distance between the following key and the following module through the following module within the first preset effective range of the following module;
    第一锁定模块,用于在检测所述跟随钥匙与所述跟随模组之间的距离大于或等于第一预设距离的情况下,控制运输装置处于锁定状态;以及The first locking module is used to control the transport device to be in a locked state when detecting that the distance between the following key and the following module is greater than or equal to a first preset distance; and
    第二缩影模块,用于在检测所述跟随钥匙与所述跟随模组之间的距离小于或等于第二预设距离的情况下,控制运输装置处于锁定状态。The second miniature module is used to control the transport device to be in a locked state when it is detected that the distance between the following key and the following module is less than or equal to a second preset distance.
  12. 一种电子设备,其特征在于,包括:An electronic device, characterized in that it comprises:
    一个或多个处理器;和one or more processors; and
    其上存储有指令的一个或多个机器可读介质,当由所述一个或多个处理器执行时,使得所述电子设备执行如权利要求1-7任一项所述的一种控制钥匙弹出的方法。One or more machine-readable media having instructions stored thereon, when executed by the one or more processors, causes the electronic device to execute a control key according to any one of claims 1-7 popup method.
  13. 一种计算机程序,包括计算机可读代码,当所述计算机可读代码在计算处理设备上运行时,导致所述计算处理设备执行根据权利要求1-7任一项所述的一种控制钥匙弹出的方法的步骤。A computer program, comprising computer readable code, which, when said computer readable code is run on a computing processing device, causes said computing processing device to perform a control key ejection according to any one of claims 1-7 steps of the method.
  14. 一种可读存储介质,其特征在于,所述可读存储介质上存储程序或指令,所述程序或指令被处理器执行时实现如权利要求13所述的计算机程序。A readable storage medium, wherein a program or an instruction is stored on the readable storage medium, and when the program or instruction is executed by a processor, the computer program according to claim 13 is realized.
PCT/CN2022/100822 2021-07-26 2022-06-23 Method and apparatus for controlling key ejection, electronic device, and storage medium WO2023005527A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202110844320.5 2021-07-26
CN202110844320.5A CN114980014A (en) 2021-07-26 2021-07-26 Method and device for controlling key ejection, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
WO2023005527A1 true WO2023005527A1 (en) 2023-02-02

Family

ID=82973121

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/100822 WO2023005527A1 (en) 2021-07-26 2022-06-23 Method and apparatus for controlling key ejection, electronic device, and storage medium

Country Status (2)

Country Link
CN (1) CN114980014A (en)
WO (1) WO2023005527A1 (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102710016A (en) * 2012-06-01 2012-10-03 江苏省电力公司检修分公司 Intelligent remote hierarchical key management and control system
CN103942862A (en) * 2014-04-11 2014-07-23 马要武 Password key starting device
CN104637125A (en) * 2013-11-11 2015-05-20 比亚迪股份有限公司 System and method for controlling vehicle through mobile terminal
CN112196376A (en) * 2020-08-11 2021-01-08 国网安徽省电力有限公司芜湖供电公司 Intelligent key cabinet system based on Bluetooth communication and control method thereof

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106740679A (en) * 2015-11-23 2017-05-31 上海汽车集团股份有限公司 Vehicle key-free enters startup control method and system
CN205637898U (en) * 2016-05-13 2016-10-12 宁波璟译机械制造有限公司 Puzzle lock
CN207453685U (en) * 2017-08-31 2018-06-05 厦门众联世纪科技有限公司 A kind of lock with barcode scanning unlocking function
CN111183782A (en) * 2018-11-15 2020-05-22 西安欧格信息科技有限公司 Crop harvesting device
CN109741504B (en) * 2019-02-02 2024-04-26 威海安屯尼智能电子科技有限公司 Key management box, key ring, key management device and key management method
CN210338012U (en) * 2019-08-02 2020-04-17 罗卫成 Marble transport trolley
CN111597965A (en) * 2020-05-13 2020-08-28 广州小鹏车联网科技有限公司 Vehicle following method and device
CN112875127A (en) * 2021-03-09 2021-06-01 长久金孚企业管理咨询(深圳)有限公司 Storage equipment

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102710016A (en) * 2012-06-01 2012-10-03 江苏省电力公司检修分公司 Intelligent remote hierarchical key management and control system
CN104637125A (en) * 2013-11-11 2015-05-20 比亚迪股份有限公司 System and method for controlling vehicle through mobile terminal
CN103942862A (en) * 2014-04-11 2014-07-23 马要武 Password key starting device
CN112196376A (en) * 2020-08-11 2021-01-08 国网安徽省电力有限公司芜湖供电公司 Intelligent key cabinet system based on Bluetooth communication and control method thereof

Also Published As

Publication number Publication date
CN114980014A (en) 2022-08-30

Similar Documents

Publication Publication Date Title
US9818294B2 (en) System for indicating vehicle presence and method thereof
JP6926128B2 (en) Identification authentication method and device
CN102819721A (en) NFC (near field communication)-based information interaction method and device
US20170193211A1 (en) Continuous user authentication tool for mobile device communications
CN104992092A (en) Method, device and system for fingerprint information verification
CN105100222A (en) Method and device for providing object retrieving information
US11072309B2 (en) Mobile terminal device and vehicle control system
CN101645129A (en) Method and device for providing security in near field communication
GB2558727A (en) Systems and methods for selective vehicle access
WO2023005527A1 (en) Method and apparatus for controlling key ejection, electronic device, and storage medium
CN103886232A (en) Terminal and method for safely utilizing same
CN107704337A (en) Method, mobile terminal and the device with store function of factory reset
EP2003583A1 (en) Computer system protection
WO2023005514A1 (en) Method and apparatus for controlling ejection of non-paired key, and electronic device
CN105138321A (en) Terminal control method and system
WO2023005512A1 (en) Key re-pairing method and apparatus, electronic device, and storage medium
US10089457B2 (en) Unlocking device to access uncertified networks
CN104423570A (en) Misrecognition reducing motion recognition apparatus and method
US11388000B2 (en) Systems and methods to facilitate data security in a portable storage device
CN114679566A (en) Vehicle, cloud, mobile terminal and system thereof
WO2023005513A1 (en) Method and apparatus for re-pairing multi-vehicle key, electronic device, and storage medium
WO2023005528A1 (en) Method and apparatus for improving paring success rate of key and module, and electronic device
EP4082842A1 (en) A method for operating a vehicle
KR101547762B1 (en) Method and System for Managing Discard of Documents
KR102531237B1 (en) Method and device for nati-theft and cargo loading location notification by box truck artificial intelligence facial recognition

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 22848134

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE