CN107458507B - Method and device for closing electronic lock, vehicle and storage medium - Google Patents

Method and device for closing electronic lock, vehicle and storage medium Download PDF

Info

Publication number
CN107458507B
CN107458507B CN201710690464.3A CN201710690464A CN107458507B CN 107458507 B CN107458507 B CN 107458507B CN 201710690464 A CN201710690464 A CN 201710690464A CN 107458507 B CN107458507 B CN 107458507B
Authority
CN
China
Prior art keywords
article
article storage
storage part
stored
vehicle
Prior art date
Legal status (The legal status 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 status listed.)
Active
Application number
CN201710690464.3A
Other languages
Chinese (zh)
Other versions
CN107458507A (en
Inventor
哈晓琳
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Xiaomi Mobile Software Co Ltd
Original Assignee
Beijing Xiaomi Mobile Software Co Ltd
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 Beijing Xiaomi Mobile Software Co Ltd filed Critical Beijing Xiaomi Mobile Software Co Ltd
Priority to CN201710690464.3A priority Critical patent/CN107458507B/en
Publication of CN107458507A publication Critical patent/CN107458507A/en
Application granted granted Critical
Publication of CN107458507B publication Critical patent/CN107458507B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • BPERFORMING OPERATIONS; TRANSPORTING
    • B62LAND VEHICLES FOR TRAVELLING OTHERWISE THAN ON RAILS
    • B62JCYCLE SADDLES OR SEATS; AUXILIARY DEVICES OR ACCESSORIES SPECIALLY ADAPTED TO CYCLES AND NOT OTHERWISE PROVIDED FOR, e.g. ARTICLE CARRIERS OR CYCLE PROTECTORS
    • B62J9/00Containers specially adapted for cycles, e.g. panniers or saddle bags
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B62LAND VEHICLES FOR TRAVELLING OTHERWISE THAN ON RAILS
    • B62JCYCLE SADDLES OR SEATS; AUXILIARY DEVICES OR ACCESSORIES SPECIALLY ADAPTED TO CYCLES AND NOT OTHERWISE PROVIDED FOR, e.g. ARTICLE CARRIERS OR CYCLE PROTECTORS
    • B62J45/00Electrical equipment arrangements specially adapted for use as accessories on cycles, not otherwise provided for
    • B62J45/40Sensor arrangements; Mounting thereof
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B62LAND VEHICLES FOR TRAVELLING OTHERWISE THAN ON RAILS
    • B62JCYCLE SADDLES OR SEATS; AUXILIARY DEVICES OR ACCESSORIES SPECIALLY ADAPTED TO CYCLES AND NOT OTHERWISE PROVIDED FOR, e.g. ARTICLE CARRIERS OR CYCLE PROTECTORS
    • B62J99/00Subject matter not provided for in other groups of this subclass
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01VGEOPHYSICS; GRAVITATIONAL MEASUREMENTS; DETECTING MASSES OR OBJECTS; TAGS
    • G01V7/00Measuring gravitational fields or waves; Gravimetric prospecting or detecting
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01VGEOPHYSICS; GRAVITATIONAL MEASUREMENTS; DETECTING MASSES OR OBJECTS; TAGS
    • G01V8/00Prospecting or detecting by optical means
    • G01V8/10Detecting, e.g. by using light barriers
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01VGEOPHYSICS; GRAVITATIONAL MEASUREMENTS; DETECTING MASSES OR OBJECTS; TAGS
    • G01V9/00Prospecting or detecting by methods not provided for in groups G01V1/00 - G01V8/00
    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07CTIME OR ATTENDANCE REGISTERS; REGISTERING OR INDICATING THE WORKING OF MACHINES; GENERATING RANDOM NUMBERS; VOTING OR LOTTERY APPARATUS; ARRANGEMENTS, SYSTEMS OR APPARATUS FOR CHECKING NOT PROVIDED FOR ELSEWHERE
    • G07C9/00Individual registration on entry or exit
    • G07C9/00174Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • General Life Sciences & Earth Sciences (AREA)
  • Geophysics (AREA)
  • Engineering & Computer Science (AREA)
  • Mechanical Engineering (AREA)
  • Lock And Its Accessories (AREA)

Abstract

The disclosure relates to a method and a device for closing an electronic lock, a vehicle and a storage medium, and belongs to the technical field of electronics. The method comprises the following steps: receiving a locking instruction, wherein the locking instruction is used for instructing to execute locking operation aiming at an electronic lock arranged on a vehicle; detecting whether an article is stored in an article storage part of the vehicle; and refusing to execute the locking operation when the article is detected to be stored in the article storage part. This is disclosed considers that the user comparatively pays close attention to the electronic lock and does not pay close attention to article storage portion too and whether deposit article when using vehicle, when the switch module through the electronic lock received the instruction of closing the lock, detect article storage portion through processing module and whether deposit article, do not close the electronic lock when article are deposited to the storage portion of article, thereby in time indicate the user have the article of losing on the vehicle, the condition that the user lost article has been avoided, article safety has been guaranteed, avoid causing loss of property.

Description

Method and device for closing electronic lock, vehicle and storage medium
Technical Field
The present disclosure relates to the field of electronic technologies, and in particular, to a method and an apparatus for closing an electronic lock, a vehicle, and a storage medium.
Background
People can not leave the vehicle in daily life, and with the development and the improvement of electronic technology, shared vehicles such as a shared bicycle or a shared automobile are started to appear. By arranging the vehicle in the public area, a user can scan the two-dimensional code on the vehicle by using a mobile phone, open the electronic lock configured on the vehicle, drive the vehicle to the destination, then park the vehicle in the public area near the destination, close the electronic lock, and then use the vehicle by other people.
The vehicle can be provided with an article storage part, such as a basket of a shared bicycle or a passenger seat of a shared automobile, and when the user uses the vehicle, the user can place the carried articles in the article storage part and take the articles away when parking the vehicle.
Disclosure of Invention
To solve the problems in the related art, the present disclosure provides a method, an apparatus, a vehicle, and a storage medium for closing an electronic lock. The technical scheme is as follows:
according to a first aspect of embodiments of the present disclosure, there is provided a method of closing an electronic lock, the method comprising:
receiving a locking instruction, wherein the locking instruction is used for instructing to execute locking operation aiming at an electronic lock arranged on a vehicle;
detecting whether an article is stored in an article storage part of the vehicle;
and refusing to execute the locking operation when the article is detected to be stored in the article storage part.
In one possible implementation manner, the detecting whether the article storage portion stores an article includes:
acquiring the detected sensing parameters through a sensor positioned at the bottom of the article storage part;
detecting whether the article storage part stores articles according to the sensing parameters;
wherein the sensor is a gravity sensor or a pressure sensor.
In another possible implementation, the method further includes:
when detecting that the article is stored in the article storage part, controlling a prompting device arranged on the vehicle to output first prompting information, wherein the first prompting information indicates that the article is stored in the article storage part;
wherein the prompting device comprises at least one of the following functions: voice output function, light output function.
In another possible implementation, the method further includes:
and when detecting that the article is stored in the article storage part, controlling the currently bound user terminal to output second prompt information, wherein the second prompt information indicates that the article is stored in the article storage part.
In another possible implementation, the method further includes:
and when detecting that no article is stored in the article storage part, executing the locking operation according to the locking instruction.
According to a second aspect of embodiments of the present disclosure, there is provided an apparatus for closing an electronic lock, the apparatus including:
the locking device comprises a receiving module, a locking module and a locking module, wherein the receiving module is used for receiving a locking instruction which is used for instructing to execute locking operation aiming at an electronic lock arranged on a vehicle;
a processing module for detecting whether an article is stored in an article storage section of the vehicle;
the processing module is used for refusing to execute the locking operation when detecting that the articles are stored in the article storage part.
In one possible implementation manner, the processing module is used for acquiring the detected sensing parameters through a sensor positioned at the bottom of the article storage part; detecting whether the article storage part stores articles according to the sensing parameters;
wherein the sensor is a gravity sensor or a pressure sensor.
In another possible implementation manner, the apparatus further includes:
the first prompting module is used for controlling prompting equipment arranged on the vehicle to output first prompting information when detecting that the article is stored in the article storage part, wherein the first prompting information indicates that the article is stored in the article storage part;
wherein the prompting device comprises at least one of the following functions: voice output function, light output function.
In another possible implementation manner, the apparatus further includes:
and the second prompt module is used for controlling the currently bound user terminal to output second prompt information when detecting that the article is stored in the article storage part, wherein the second prompt information indicates that the article is stored in the article storage part.
In another possible implementation manner, the processing module is configured to, when it is detected that no article is stored in the article storage portion, execute the locking operation according to the locking instruction.
According to a third aspect of embodiments of the present disclosure, there is provided a vehicle comprising: the electronic lock comprises a switch module;
the switch module is used for receiving a locking instruction and sending a detection instruction to the processor, wherein the locking instruction is used for instructing to execute locking operation aiming at the electronic lock;
the processor is used for detecting whether articles are stored in the article storage part or not when receiving the detection instruction, and sending a locking rejection instruction to the switch module when detecting that articles are stored in the article storage part;
and the switch module is also used for refusing to execute the locking operation when the locking refusing instruction is received.
In one possible implementation, the vehicle includes a sensor located at a bottom of the item storage portion, the sensor being connected to the processor;
the sensor is used for detecting the sensing parameters of the article storage part and sending the sensing parameters to the processor;
the processor is used for detecting whether the article storage part stores articles according to the sensing parameters;
wherein the sensor is a gravity sensor or a pressure sensor.
According to a fourth aspect of embodiments of the present disclosure, there is provided a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, implements the method of the first aspect.
The technical scheme provided by the embodiment of the disclosure can have the following beneficial effects:
the method, the device, the vehicle and the storage medium provided by the embodiment consider that a user pays attention to whether the electronic lock is closed or not and pays attention to whether the object storage part stores objects or not when using the vehicle, when the locking instruction is received through the switch module of the electronic lock, the processing module is used for detecting whether the object storage part stores the objects or not, and the electronic lock is not closed when the objects are stored in the object storage part, so that the user is timely prompted to have the objects left on the vehicle, the condition that the user loses the objects is avoided, the object safety is ensured, and property loss is avoided.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and together with the description, serve to explain the principles of the disclosure.
FIG. 1 is a schematic illustration of a vehicle according to an exemplary embodiment;
FIG. 2A is a schematic diagram illustrating a switch module coupled to a processor in accordance with an exemplary embodiment;
FIG. 2B is a schematic diagram illustrating another switch module coupled to a processor in accordance with an exemplary embodiment;
FIG. 3 is a schematic diagram illustrating a sensor in accordance with an exemplary embodiment;
FIG. 4A is a flow chart illustrating a method of closing an electronic lock in accordance with an exemplary embodiment;
FIG. 4B is a flow chart illustrating another method of closing an electronic lock in accordance with an exemplary embodiment;
FIG. 4C is a flow chart illustrating another method of closing an electronic lock in accordance with an exemplary embodiment;
FIG. 4D is a flow chart illustrating another method of closing an electronic lock in accordance with an exemplary embodiment;
FIG. 5A is a block diagram illustrating an apparatus for closing an electronic lock in accordance with an exemplary embodiment;
FIG. 5B is a block diagram illustrating another apparatus for closing an electronic lock in accordance with an exemplary embodiment;
FIG. 5C is a block diagram illustrating another apparatus for closing an electronic lock, according to an example embodiment.
Detailed Description
To make the objects, technical solutions and advantages of the present disclosure more apparent, the present disclosure is described in further detail below with reference to the embodiments and the accompanying drawings. The exemplary embodiments and descriptions of the present disclosure are provided herein for illustration of the present disclosure, but not for limitation of the present disclosure.
In the related art, people can easily leave articles on the transportation means when using the transportation means, and especially with the appearance of shared transportation means, various users can use the same shared transportation means, take the articles at any time and place the articles after using the articles, and if the users leave the articles on the shared transportation means, the articles are easily lost.
The embodiment of the disclosure provides a method and a device for closing an electronic lock, a vehicle and a storage medium, and the lock is closed only when a user does not leave articles on the vehicle, so that the problem that the user leaves articles is avoided. The present disclosure is described in detail below with reference to the attached drawings.
Fig. 1 is a schematic structural diagram of a vehicle according to an exemplary embodiment, and referring to fig. 1, the vehicle includes an electronic lock 101, an article storage 102, and a processor 103.
The vehicle can be various vehicles such as bicycles, motorcycles, electric vehicles, automobiles and the like. Wherein the vehicle can only be used when the electronic lock 101 is open, and the vehicle cannot be used when the electronic lock 101 is closed. The article storage portion 102 can store articles such as a basket of a bicycle, a front passenger seat or a trunk of an automobile, and the like. The processor 103 is used for coordinating and controlling various components of the vehicle to ensure that the vehicle can be used normally.
In this embodiment, the electronic lock 101 includes a switch module 1011, and the switch module 1011 is configured to receive a lock closing instruction and send a detection instruction to the processor 103. The locking instruction is used for instructing to execute a locking operation on the electronic lock 101 arranged on the vehicle, the locking operation is triggered by a locking instruction operation on the electronic lock 101 by a user, the locking instruction operation can be an operation of clicking a closing key or rotating a locking button, and the detection instruction is used for requesting the processor 103 to detect the article storage part.
The processor 103 is configured to detect whether or not the article storage unit 102 stores an article when receiving the detection instruction. When it is detected that an article is stored in the article storage portion 102, a lock rejection instruction is sent to the switch module 1011, and the lock rejection instruction is used for instructing to reject execution of the lock closing operation, so that the electronic lock 101 is ensured to be kept in an open state and not to be closed. Correspondingly, the switch module 1011 is further configured to refuse to perform the lock-off operation when receiving the lock-off rejection command.
The processor 103 is further configured to send a lock confirmation instruction to the switch module 1011 when detecting that no article is stored in the article storage portion 102, where the lock confirmation instruction is used to instruct to perform a lock closing operation, and correspondingly, the switch module 1011 is further configured to close the electronic lock 101 to perform the lock closing operation according to the lock closing instruction when receiving the lock confirmation instruction.
Regarding the interaction manner between the switch module 1011 and the processor 103, referring to fig. 2A, the switch module 1011 and the processor 103 may establish a wired connection through a data line, and through the wired connection, the switch module 1011 may send a detection instruction to the processor 103, and the processor 103 may send a rejection locking instruction or a confirmation locking instruction to the switch module 1011. The data line connected between the switch module 1011 and the processor 103 may be located inside a vehicle, so as to prevent the data line externally disposed from affecting the normal use of a user, and prevent the data line from being damaged due to the influence of an external environment.
Alternatively, referring to fig. 2B, the electronic lock 101 may further include a wireless communication module 1012, the switch module 1011 is connected to the wireless communication module 1012, the vehicle includes the wireless communication module 104 connected to the processor 103, and the wireless communication module 1012 and the wireless communication module 104 may be connected via a wireless network, so that a wireless connection is established between the switch module 1011 and the processor 103, and interaction is achieved via the wireless connection. The Wireless network may be a Wi-Fi (Wireless-Fidelity) network, a mobile communication network, or a bluetooth network.
The first point to be described is that the vehicle may further include components necessary for operation of a power supply, wheels, and the like, which are not described herein again.
The second point to be noted is that fig. 1 is a schematic diagram only taking a vehicle as an example, in this scenario, the article storage part 102 is located at the front end of the vehicle, the processor 103 is located at the middle position of the vehicle, and the electronic lock 101 is located above the rear wheel of the vehicle, and the control of the wheel can be realized by opening or closing the electronic lock 101, so as to control the use of the vehicle. In other embodiments, the electronic lock 101, the article storage 102 and the processor 103 may be located at other locations of the vehicle for different types of vehicles, for example, the electronic lock 101 of the automobile is located at a door, the article storage 102 is located in a trunk, and the processor 103 is located in an on-board terminal configured on the automobile. The present embodiment does not limit the positions of the electronic lock, the article storage 102, and the processor 103.
The vehicle that this embodiment provided, consider that the user comparatively pays close attention to the electronic lock and does not pay close attention to article storage part too and whether deposit article when using the vehicle, when the switch module through the electronic lock received the lock instruction, detect article storage part through the treater and whether deposit article, do not close the electronic lock when article are deposited to the storage in article storage part, thereby in time indicate the user to have the article of losing on the vehicle, the condition of article has been avoided the user to lose, article safety has been guaranteed, avoid causing property loss.
Particularly, in a scene of using the shared vehicle, the user finishes using the shared vehicle, and when the user is ready to close the lock and leave the lock, if the article storage part stores articles, the electronic lock is not closed, and the user generally cannot forget to close the lock and possibly forget the articles, so that the user is reminded in a mode of failure in locking, the user can be helped to sense that the articles are left in the article storage part, and the user can be ensured to take the articles away in time.
Regarding the process of detecting whether the article storage portion stores an article, in one possible implementation, referring to fig. 3, the vehicle includes a sensor 1021 located at a bottom portion of the article storage portion 102, and the sensor 1021 is connected to the processor 103.
The sensor 1021 is configured to detect a sensing parameter of the article storage unit 102 and send the sensing parameter to the processor 103, and the processor 103 is configured to detect whether the article storage unit 102 stores an article according to the sensing parameter.
The sensor 1021 may be a gravity sensor or a pressure sensor.
When the sensor 1021 is a gravity sensor, the current weight of the article storage 102 is detected and sent to the processor 103, and the processor 103 may determine whether the weight is greater than a preset weight, indicate that the article storage 102 stores an article when the weight is greater than the preset weight, and indicate that the article storage 102 does not store an article when the weight is not greater than the preset weight. The preset weight may be set by the manufacturer as the weight of the article storage portion 102 when the article is not stored, and may be 0 or the weight of the article storage portion 102 itself.
When the sensor 1021 is a pressure sensor, the pressure currently applied to the article storage unit 102 is detected and sent to the processor 103, and the processor 103 may determine whether the pressure is greater than a preset pressure, and when the pressure is greater than the preset pressure, it indicates that the article storage unit 102 stores an article, and when the pressure is not greater than the preset pressure, it indicates that the article storage unit 102 does not store an article. The preset pressure may be 0 or other value, and may be determined by the manufacturer.
Of course, the sensor may be other types of sensors, such as an infrared sensor or an optical sensor, for detecting whether the article storage 102 stores an article by detecting the infrared radiation amount or the illumination intensity of the article storage 102.
In another possible implementation, a prompting device may be further disposed on the vehicle, and the prompting device is connected to the processor 103 and can output information under the control of the processor 103.
The processor 103 is configured to control the prompting device to output a first prompting message when detecting that an article is stored in the article storage portion 102, the first prompting message indicating that the article is stored in the article storage portion 102. When the user receives the first prompt message, the user can know that the electronic lock 101 cannot be closed at present, and checks the transportation means, so as to find the articles left on the article storage part 102.
Wherein, the prompting device comprises at least one of the following functions: voice output function, light output function.
When the prompting device comprises a voice output function, first prompting information in a voice form can be output through the voice output function, and a user can hear the first prompting information. The prompting device can be provided with a loudspeaker, first prompting information is output through the loudspeaker, the first prompting information can be a sound of dropping or a sound of 'lock can not be closed', or a sound of 'your article falls into a basket, and lock can be closed after the article is taken away', so that a user can directly know that the article is stored in the article storage part due to the reason that the electronic lock can not be closed when hearing the first prompting information, and can take away the article in time.
When the prompting device comprises a light output function, the processor 103 may output the first prompting information by controlling light on the prompting device. For example, an indicator lamp may be disposed on the prompting device, and light may be output by controlling brightness of the indicator lamp, and the light may be in a preset pattern to prompt that an article is stored in the article storage portion 102. The indicating lamps can be located at the front end or the rear end of the vehicle, the number of the indicating lamps can be one or more, the preset pattern can be that the lamp light flickers according to preset frequency, or the indicating lamps in the odd number sequence in the indicating lamps are lightened, and the indicating lamps in the even number sequence in the indicating lamps are extinguished to form multiple beams of lamp light.
In another possible implementation manner, the processor 103 is configured to control the currently bound user terminal to output a second prompt message when it is detected that an item is stored in the item storage 102, where the second prompt message indicates that the item is stored in the item storage 102.
When a user wants to use a vehicle, the user terminal can scan the two-dimensional code on the vehicle to obtain the license plate number contained in the two-dimensional code, or the license plate number of the vehicle is input on the user terminal, the terminal sends a binding request carrying the license plate number to the server, and when the server receives the binding request, the server binds the user terminal with the vehicle and sends an unlocking instruction to the wireless communication module 1012 on the vehicle, so that the switch module 1011 is controlled to unlock the electronic lock 101.
Then, after the electronic lock 101 is opened, the vehicle is in a bound state with the user terminal until before the electronic lock 101 is closed, at which time the vehicle can be managed by the user terminal. When the processor 103 detects that the article is stored in the article storage unit 102, it may control the currently bound user terminal to output the second prompt message. When the user receives the second prompt message, the user can know that the electronic lock 101 cannot be closed at present, and check the transportation means, so as to find the articles left on the article storage portion 102.
When the processor 103 controls the user terminal, the second prompt message may be sent to the user terminal through the server, and the user terminal outputs the second prompt message, where the second prompt message may be information in an audio form or information in a text form, or may also be information in other forms.
Fig. 4A is a flowchart illustrating a method of closing an electronic lock according to an exemplary embodiment, where the method is performed by a vehicle according to the above embodiment, as shown in fig. 4A, and the method includes the following steps:
in step 401, a lock closing instruction for instructing to perform a lock closing operation for an electronic lock provided on a vehicle is received.
In step 402, it is detected whether or not an item is stored in an item storage unit of a vehicle.
In step 403, when it is detected that the article is stored in the article storage section, the locking operation is rejected.
The method provided by the embodiment considers that a user pays attention to whether the electronic lock is closed or not and pays attention to whether the article storage part stores articles or not when using the vehicle, detects whether the article storage part stores the articles or not when receiving a locking instruction, and does not close the electronic lock when the articles are stored in the article storage part, so that the user is timely prompted to have the articles left on the vehicle, the condition that the user loses the articles is avoided, the article safety is ensured, and property loss is avoided.
In one possible implementation, detecting whether the article storage portion stores an article includes:
acquiring detected sensing parameters through a sensor positioned at the bottom of the article storage part;
detecting whether the article storage part stores articles according to the sensing parameters;
wherein, the sensor is a gravity sensor or a pressure sensor.
In another possible implementation, the method further includes:
when detecting that articles are stored in the article storage part, controlling prompt equipment arranged on a vehicle to output first prompt information, wherein the first prompt information indicates that the articles are stored in the article storage part;
wherein, the prompting device comprises at least one of the following functions: voice output function, light output function.
In another possible implementation, the method further includes:
and when detecting that the article is stored in the article storage part, controlling the currently bound user terminal to output second prompt information, wherein the second prompt information indicates that the article is stored in the article storage part.
In another possible implementation, the method further includes:
and when detecting that the articles are not stored in the article storage part, executing locking operation according to the locking instruction.
Fig. 4B is a flowchart illustrating a method of closing an electronic lock according to an exemplary embodiment, where the method is performed by a vehicle according to the above embodiment, as shown in fig. 4B, and the method includes the following steps:
in step 410, a lock closing instruction is received, wherein the lock closing instruction is used for instructing to execute lock closing operation of an electronic lock arranged on a vehicle.
In step 420, the sensor located at the bottom of the article storage unit obtains the sensed parameter, and whether or not the article storage unit stores an article is detected based on the sensed parameter.
In this embodiment, a sensor may be disposed at the bottom of the article storage portion, and the sensor detects the sensing parameter, so as to detect whether the article storage portion stores articles, or detect in other manners.
In one possible implementation manner, when the sensor is a gravity sensor, the vehicle detects the current weight of the article storage portion through the gravity sensor, determines whether the weight is greater than a preset weight, indicates that the article storage portion stores the article when the weight is greater than the preset weight, and indicates that the article storage portion does not store the article when the weight is not greater than the preset weight. The preset weight may be set by the manufacturer as the weight of the article storage unit when the article is not stored, and may be 0 or the weight of the article storage unit itself.
In another possible implementation manner, when the sensor is a pressure sensor, the vehicle detects a current pressure applied to the article storage portion through the pressure sensor, determines whether the pressure is greater than a preset pressure, indicates that the article storage portion stores the article when the pressure is greater than the preset pressure, and indicates that the article storage portion does not store the article when the pressure is not greater than the preset pressure. The preset pressure may be 0 or other value, and may be determined by the manufacturer.
Of course, the sensor may also be other types of sensors, such as infrared sensors or light sensors, etc.
In step 430, when it is detected that no article is stored in the article storage portion, a lock closing operation is performed according to the lock closing instruction.
In step 440, when it is detected that the article is stored in the article storage portion, the locking operation is refused to be performed.
Normally, when receiving the locking instruction, the electronic lock should respond to the locking instruction to perform the locking operation, but in this embodiment, when receiving the locking instruction and detecting that the article is stored in the article storage unit, the electronic lock is rejected from performing the locking operation, and the electronic lock is kept in the open state, which is equivalent to neglecting the locking instruction.
By adopting the mode of failure of locking, the user can be helped to sense that articles are left in the article storage part, and the user can take the articles away in time. In addition, the user may be prompted in other ways.
In one possible implementation, the method may further include at least one of the following steps 450-:
in step 450, referring to fig. 4C, when it is detected that an article is stored in the article storage portion, controlling a presentation device provided on the vehicle to output first presentation information indicating that the article is stored in the article storage portion; wherein, the prompting device comprises at least one of the following functions: voice output function, light output function.
In step 460, referring to fig. 4D, when it is detected that the item is stored in the item storage portion, the currently bound user terminal is controlled to output a second prompt message indicating that the item is stored in the item storage portion.
By adopting at least one of the steps 450 and 460, the reminding strength can be enhanced, the user can know that the electronic lock cannot be closed at present, and articles are left on the vehicle, so that the article safety is further ensured.
In another possible implementation, after step 440 is performed, the vehicle may continue to wait for the user to trigger the next lock-off command and perform the above steps until the lock-off operation is performed. Alternatively, the vehicle may detect whether the article storage unit stores an article, and automatically perform a locking operation to close the electronic lock when the processor detects that the article storage unit does not store an article.
The method provided by the embodiment considers that a user pays attention to whether the electronic lock is closed or not and pays attention to whether the article storage part stores articles or not when using the vehicle, detects whether the article storage part stores the articles or not when receiving a locking instruction, and refuses to execute the locking operation when the articles are stored in the article storage part, so that the user is prompted to have the articles left on the vehicle in time, the condition that the user loses the articles is avoided, the article safety is ensured, and property loss is avoided.
And whether the sensing parameter that adopts the sensor to detect article storage portion has deposited article has improved the reliability, has avoided producing the maloperation. And the prompting equipment or the user terminal is adopted to prompt the user, so that the prompting strength is enhanced.
FIG. 5A is a block diagram illustrating an apparatus for closing an electronic lock, according to an example embodiment. Referring to fig. 5A, the apparatus includes:
a receiving module 501, configured to receive a lock closing instruction, where the lock closing instruction is used to instruct to execute a lock closing operation on an electronic lock disposed on a vehicle;
a processing module 502 for detecting whether an item is stored in an item storage portion of a vehicle;
the processing module 502 is configured to refuse to perform a locking operation when it is detected that an item is stored in the item storage portion.
In one possible implementation, the processing module 502 is configured to obtain the detected sensing parameters through a sensor located at the bottom of the article storage portion; detecting whether the article storage part stores articles according to the sensing parameters;
wherein, the sensor is a gravity sensor or a pressure sensor.
In another possible implementation, referring to fig. 5B, the apparatus further includes:
a first prompting module 503, configured to control a prompting device arranged on a vehicle to output first prompting information when it is detected that an article is stored in the article storage portion, where the first prompting information indicates that the article is stored in the article storage portion;
wherein, the prompting device comprises at least one of the following functions: voice output function, light output function.
In another possible implementation, referring to fig. 5C, the apparatus further includes:
the second prompt module 504 is configured to, when it is detected that an article is stored in the article storage unit, control the currently bound user terminal to output second prompt information, where the second prompt information indicates that the article is stored in the article storage unit.
In another possible implementation manner, the processing module 502 is configured to, when it is detected that no article is stored in the article storage portion, perform a locking operation according to the locking instruction.
With regard to the apparatus in the above-described embodiment, the specific manner in which each module performs the operation has been described in detail in the embodiment related to the method, and will not be elaborated here.
It should be noted that: in the device for closing the electronic lock according to the above embodiment, when the electronic lock is closed, only the division of the above functional modules is taken as an example, and in practical applications, the above functions may be distributed by different functional modules according to needs, that is, the internal structure of the vehicle is divided into different functional modules to complete all or part of the above described functions. In addition, the device for closing the electronic lock and the method embodiment for closing the electronic lock provided by the above embodiments belong to the same concept, and specific implementation processes thereof are detailed in the method embodiment and are not described herein again.
The present embodiment also provides a computer readable storage medium, on which a computer program is stored, and the computer program is executed by a processor to implement the method for closing an electronic lock shown in the above embodiments.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This application is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It will be understood that the present disclosure is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims (11)

1. A method for closing an electronic lock is characterized by being applied to a shared vehicle, wherein the shared vehicle and a user terminal are in a binding state, the user terminal sends a binding request to a server by scanning a two-dimensional code on the shared vehicle, the server binds the user terminal and the vehicle after receiving the binding request, and the two-dimensional code comprises a license plate number; the method comprises the following steps:
receiving a locking instruction, wherein the locking instruction is used for instructing to execute locking operation aiming at an electronic lock arranged on the shared vehicle;
detecting whether an article is stored in an article storage portion of the shared vehicle;
refusing to execute the locking operation when detecting that the article is stored in the article storage part; detecting whether the article storage part stores articles or not, and automatically executing the locking operation until the article storage part detects that the articles are not stored;
and when detecting that no article is stored in the article storage part, executing the locking operation according to the locking instruction.
2. The method according to claim 1, wherein the detecting whether the article storage portion stores an article comprises:
acquiring the detected sensing parameters through a sensor positioned at the bottom of the article storage part;
detecting whether the article storage part stores articles according to the sensing parameters;
wherein the sensor is a gravity sensor or a pressure sensor.
3. The method of claim 1, further comprising:
when detecting that the article is stored in the article storage part, controlling a prompting device arranged on the shared vehicle to output first prompting information, wherein the first prompting information indicates that the article is stored in the article storage part;
wherein the prompting device comprises at least one of the following functions: voice output function, light output function.
4. The method of claim 1, further comprising:
and when detecting that the article is stored in the article storage part, controlling the currently bound user terminal to output second prompt information, wherein the second prompt information indicates that the article is stored in the article storage part.
5. A device for closing an electronic lock is applied to a shared vehicle, wherein the shared vehicle and a user terminal are in a binding state, the user terminal sends a binding request to a server by scanning a two-dimensional code on the shared vehicle, the server binds the user terminal and the vehicle after receiving the binding request, and the two-dimensional code comprises a license plate number; the device comprises:
the locking device comprises a receiving module, a locking module and a locking module, wherein the receiving module is used for receiving a locking instruction which is used for instructing to execute locking operation aiming at an electronic lock arranged on the shared vehicle;
a processing module for detecting whether an item is stored in an item storage section of the shared vehicle;
the processing module is used for refusing to execute the locking operation when detecting that the articles are stored in the article storage part; detecting whether the article storage part stores articles or not, and automatically executing the locking operation until the article storage part detects that the articles are not stored;
and the processing module is used for executing the locking operation according to the locking instruction when detecting that the articles are not stored in the article storage part.
6. The apparatus of claim 5, wherein the processing module is configured to obtain the sensed sensing parameter via a sensor located at a bottom of the item storage portion; detecting whether the article storage part stores articles according to the sensing parameters;
wherein the sensor is a gravity sensor or a pressure sensor.
7. The apparatus of claim 5, further comprising:
the first prompting module is used for controlling prompting equipment arranged on the shared vehicle to output first prompting information when detecting that the article is stored in the article storage part, wherein the first prompting information indicates that the article is stored in the article storage part;
wherein the prompting device comprises at least one of the following functions: voice output function, light output function.
8. The apparatus of claim 5, further comprising:
and the second prompt module is used for controlling the currently bound user terminal to output second prompt information when detecting that the article is stored in the article storage part, wherein the second prompt information indicates that the article is stored in the article storage part.
9. A shared vehicle is characterized in that the shared vehicle and a user terminal are in a binding state, wherein the user terminal sends a binding request to a server by scanning a two-dimensional code on the shared vehicle, the server binds the user terminal and the vehicle after receiving the binding request, and the two-dimensional code comprises a license plate number; the shared vehicle includes: the electronic lock comprises a switch module;
the switch module is used for receiving a locking instruction and sending a detection instruction to the processor, wherein the locking instruction is used for instructing to execute locking operation aiming at the electronic lock;
the processor is used for detecting whether articles are stored in the article storage part or not when receiving the detection instruction, sending a locking rejection instruction to the switch module when detecting that the articles are stored in the article storage part, and executing locking operation according to the locking instruction when detecting that the articles are not stored in the article storage part;
the switch module is further used for refusing to execute the locking operation when the locking refusing instruction is received;
the processor is also used for detecting whether the article storage part stores articles;
the switch module is also used for automatically executing the locking operation until the article storage part detects that no article is stored.
10. The shared vehicle as claimed in claim 9, comprising a sensor located at a bottom of the item deposit, the sensor being connected to the processor;
the sensor is used for detecting the sensing parameters of the article storage part and sending the sensing parameters to the processor;
the processor is used for detecting whether the article storage part stores articles according to the sensing parameters;
wherein the sensor is a gravity sensor or a pressure sensor.
11. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the method of any one of claims 1-4.
CN201710690464.3A 2017-08-14 2017-08-14 Method and device for closing electronic lock, vehicle and storage medium Active CN107458507B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710690464.3A CN107458507B (en) 2017-08-14 2017-08-14 Method and device for closing electronic lock, vehicle and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710690464.3A CN107458507B (en) 2017-08-14 2017-08-14 Method and device for closing electronic lock, vehicle and storage medium

Publications (2)

Publication Number Publication Date
CN107458507A CN107458507A (en) 2017-12-12
CN107458507B true CN107458507B (en) 2020-10-16

Family

ID=60549155

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710690464.3A Active CN107458507B (en) 2017-08-14 2017-08-14 Method and device for closing electronic lock, vehicle and storage medium

Country Status (1)

Country Link
CN (1) CN107458507B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108116559B (en) * 2018-02-05 2023-06-20 安徽工业大学 Bicycle and article omission preventing device and method thereof
CN108583505A (en) * 2018-05-09 2018-09-28 西安艾润物联网技术服务有限责任公司 Shared unlocking automobiles method, system and storage medium
CN111976873B (en) * 2020-08-25 2021-08-24 义乌市旻具五金工具有限公司 Prevent losing sharing bicycle lock of article that falls

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN202053944U (en) * 2011-04-15 2011-11-30 上海博泰悦臻电子设备制造有限公司 Article prompting device
CN102529849A (en) * 2011-12-15 2012-07-04 奇瑞汽车股份有限公司 Vehicle window closing reminding device and method
CN202623946U (en) * 2012-04-27 2012-12-26 浙江吉利汽车研究院有限公司杭州分公司 Closure reminding device for windows and sunroof of car
CN203126665U (en) * 2013-02-05 2013-08-14 安徽师范大学 Vehicle storage lattice with reminding function
AU2015100226A4 (en) * 2014-02-24 2015-04-02 Kayveas, M Anti-Intruder Vehicle Door Locking System
CN104512324A (en) * 2013-09-17 2015-04-15 福特环球技术公司 Reminder apparatus for items left in a vehicle
CN205273299U (en) * 2015-12-10 2016-06-01 奇瑞汽车股份有限公司 Warning system that children exist in car
CN106379232A (en) * 2016-09-23 2017-02-08 北京小米移动软件有限公司 Method and device for reminding accompanying articles

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106926934A (en) * 2017-04-10 2017-07-07 盐城工业职业技术学院 One kind is intelligent to prevent forgetting fetching vehicle basket

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN202053944U (en) * 2011-04-15 2011-11-30 上海博泰悦臻电子设备制造有限公司 Article prompting device
CN102529849A (en) * 2011-12-15 2012-07-04 奇瑞汽车股份有限公司 Vehicle window closing reminding device and method
CN202623946U (en) * 2012-04-27 2012-12-26 浙江吉利汽车研究院有限公司杭州分公司 Closure reminding device for windows and sunroof of car
CN203126665U (en) * 2013-02-05 2013-08-14 安徽师范大学 Vehicle storage lattice with reminding function
CN104512324A (en) * 2013-09-17 2015-04-15 福特环球技术公司 Reminder apparatus for items left in a vehicle
AU2015100226A4 (en) * 2014-02-24 2015-04-02 Kayveas, M Anti-Intruder Vehicle Door Locking System
CN205273299U (en) * 2015-12-10 2016-06-01 奇瑞汽车股份有限公司 Warning system that children exist in car
CN106379232A (en) * 2016-09-23 2017-02-08 北京小米移动软件有限公司 Method and device for reminding accompanying articles

Also Published As

Publication number Publication date
CN107458507A (en) 2017-12-12

Similar Documents

Publication Publication Date Title
CN107458507B (en) Method and device for closing electronic lock, vehicle and storage medium
CN107111948B (en) Geo-proximity vehicle reminder and access system for security and package exchange efficiency
CN210793099U (en) Authentication system in communication with vehicle control system
CN110517687A (en) The system for controlling its function using the voice command outside automotive
EP3909838A1 (en) Electric vehicle control method and electric vehicle
EP3933154B1 (en) Vehicle, vehicle onboard device, and management method
JP2020079542A (en) Methods for locking and/or unlocking electric vehicle and associated apparatus
CN106476703A (en) A kind of intelligent vehicle boot
CN106463044A (en) Trainable transceiver and mobile communications device systems and methods
CN106845659A (en) Self checking method, intelligent vehicle and its operation system, vehicle computing device and computer-readable medium after intelligent vehicle Chinese herbaceous peony
US20210394714A1 (en) Method of bicycle parking management and a system of bicycle parking management
CN112612281A (en) Parking control method and device for automobile and computer storage medium
JP5011686B2 (en) Remote control system
JP6853724B2 (en) Information systems, in-vehicle devices, primary keys, unlocking methods, and programs
CN109664968B (en) Locking method of electric vehicle, storage medium and electronic device
CN208861343U (en) A kind of automobile system for unlocking based on recognition of face
JP7175093B2 (en) Vehicle key device detection system
CN114463632A (en) Shared vehicle returning processing method and device and shared vehicle
JP7048370B2 (en) Vehicle information providing device
KR20190043786A (en) A telematics server and a method of providing a courier service performed by a telematics server
WO2018030988A1 (en) Storage bin monitoring, illumination, and reservation
CN109669898A (en) It polymerize the system and method for the vehicle data from Infotainment application program attachment
WO2022130828A1 (en) On-board communication system, saddled vehicle, and program
CN113988230B (en) Helmet return processing method and device for electric bicycle and electric bicycle
WO2023181665A1 (en) Vehicle control device, method for controlling vehicle control device, computer program, and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant