CN114475880A - Use control method and device of electric bicycle and electric bicycle - Google Patents
Use control method and device of electric bicycle and electric bicycle Download PDFInfo
- Publication number
- CN114475880A CN114475880A CN202210071136.6A CN202210071136A CN114475880A CN 114475880 A CN114475880 A CN 114475880A CN 202210071136 A CN202210071136 A CN 202210071136A CN 114475880 A CN114475880 A CN 114475880A
- Authority
- CN
- China
- Prior art keywords
- helmet
- lock
- state
- set position
- electric bicycle
- 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.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims abstract description 56
- 238000001514 detection method Methods 0.000 claims abstract description 39
- 238000004590 computer program Methods 0.000 claims description 22
- 238000004891 communication Methods 0.000 description 22
- 238000010586 diagram Methods 0.000 description 14
- 230000006870 function Effects 0.000 description 8
- 238000012545 processing Methods 0.000 description 7
- 230000008569 process Effects 0.000 description 6
- 230000005540 biological transmission Effects 0.000 description 4
- 238000013461 design Methods 0.000 description 3
- 239000004973 liquid crystal related substance Substances 0.000 description 3
- 230000002159 abnormal effect Effects 0.000 description 2
- 239000000835 fiber Substances 0.000 description 2
- 230000003287 optical effect Effects 0.000 description 2
- 230000001902 propagating effect Effects 0.000 description 2
- 230000005236 sound signal Effects 0.000 description 2
- RYGMFSIKBFXOCR-UHFFFAOYSA-N Copper Chemical compound [Cu] RYGMFSIKBFXOCR-UHFFFAOYSA-N 0.000 description 1
- 230000009471 action Effects 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000004364 calculation method Methods 0.000 description 1
- 229910052802 copper Inorganic materials 0.000 description 1
- 239000010949 copper Substances 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 230000014509 gene expression Effects 0.000 description 1
- 230000003993 interaction Effects 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000002093 peripheral effect Effects 0.000 description 1
- 230000004044 response Effects 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
- 238000012360 testing method Methods 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G07—CHECKING-DEVICES
- G07F—COIN-FREED OR LIKE APPARATUS
- G07F7/00—Mechanisms actuated by objects other than coins to free or to actuate vending, hiring, coin or paper currency dispensing or refunding apparatus
- G07F7/08—Mechanisms actuated by objects other than coins to free or to actuate vending, hiring, coin or paper currency dispensing or refunding apparatus by coded identity card or credit card or other personal identification means
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06K—GRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
- G06K7/00—Methods or arrangements for sensing record carriers, e.g. for reading patterns
- G06K7/10—Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation
- G06K7/10009—Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation sensing by radiation using wavelengths larger than 0.1 mm, e.g. radio-waves or microwaves
- G06K7/10297—Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation sensing by radiation using wavelengths larger than 0.1 mm, e.g. radio-waves or microwaves arrangements for handling protocols designed for non-contact record carriers such as RFIDs NFCs, e.g. ISO/IEC 14443 and 18092
Landscapes
- Physics & Mathematics (AREA)
- Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Health & Medical Sciences (AREA)
- Toxicology (AREA)
- Electromagnetism (AREA)
- Computer Security & Cryptography (AREA)
- General Health & Medical Sciences (AREA)
- Artificial Intelligence (AREA)
- Computer Vision & Pattern Recognition (AREA)
- Computer Networks & Wireless Communication (AREA)
- Theoretical Computer Science (AREA)
- Traffic Control Systems (AREA)
Abstract
The present disclosure provides a method and a device for controlling the use of an electric bicycle, and an electric bicycle, wherein the electric bicycle comprises a bicycle body, a helmet and a helmet lock, the helmet and the helmet lock are arranged on the bicycle body, and the method comprises the following steps: detecting whether a helmet is placed at a set position of the vehicle body to obtain a helmet detection result; detecting whether an event of changing from a first state to a second state at the set position occurs according to the helmet detection result; wherein the first state is a state where the helmet is not placed at the set position, and the second state is a state where the helmet is placed at the set position; controlling the helmet lock-out lock to lock the helmet if the occurrence of the event is detected.
Description
Technical Field
The embodiment of the disclosure relates to the technical field of electric bicycle control, in particular to a use control method and device of an electric bicycle and the electric bicycle.
Background
At present, the shared vehicle trip becomes a emerging trip mode in a city, and the trip demand of urban people can be effectively solved. The existing shared vehicles are mainly bicycles, but electric bicycles have started to step into the shared vehicle line because of the advantages of labor saving, rapidness and the like compared with the bicycles.
For electric bicycles, a user is currently required to wear a helmet during use. Therefore, the shared electric bicycles are all provided with helmets for users to use. Before returning the shared electric bicycle, the user needs to return the helmet, that is, the helmet is placed at a set position of the shared electric bicycle, and a request for returning the helmet is sent to the server through the user terminal. The server sends a helmet lock-off instruction to the shared electric bicycle in response to the request, so that the helmet lock locks the helmet.
However, because the contact point that is used for detecting whether the helmet has been placed to set for position department in helmet lock and the helmet is less, the user frequently touches helmet or the bolt rope resilience of helmet lock etc. leads to helmet testing result to take place the shake easily, leads to the beginning user to put the helmet back, and the shared electric bicycle is receiving the condition of closing the lock instruction of closing helmet lock, can't detect again and set for position department and has placed the helmet, leads to the user to return the helmet failure.
Therefore, in the scene of returning the helmet, it is necessary to provide a method for controlling the use of the electric bicycle, which is beneficial to improving the helmet returning efficiency and the helmet returning success rate in the process of returning the helmet by the user.
Disclosure of Invention
It is an object of embodiments of the present disclosure to provide a new usage control scheme for an electric bicycle.
According to a first aspect of the present disclosure, there is provided a use control method of an electric bicycle including a vehicle body, a helmet provided on the vehicle body, and a helmet lock, the method including:
detecting whether a helmet is placed at a set position of the vehicle body to obtain a helmet detection result;
detecting whether an event of changing from a first state to a second state at the set position occurs according to the helmet detection result; wherein the first state is a state where the helmet is not placed at the set position, and the second state is a state where the helmet is placed at the set position;
controlling the helmet lock-out lock to lock the helmet if the occurrence of the event is detected.
Optionally, the method further includes:
detecting a state of the helmet lock;
when the helmet lock is in an unlocked state, executing the step of detecting whether an event that the set position is changed from a first state to a second state occurs or not according to the helmet detection result;
and under the condition that the helmet lock is in a locked state, executing the step of detecting whether a helmet is placed at a set position of the vehicle body to obtain a helmet detection result.
Optionally, after the controlling the helmet lock to lock, the method further comprises:
detecting whether the helmet lock is successfully locked;
detecting whether the helmet is placed at the set position of the vehicle body in a case where it is detected that the helmet locking is successful;
controlling the helmet lock to unlock in a case where it is detected that the helmet is not placed at the set position of the vehicle body.
Optionally, the method further includes:
under the condition that the helmet lock is detected to be failed to be locked, receiving a locking instruction for closing the helmet lock;
controlling the helmet lock to execute the locking instruction so that the helmet lock locks the helmet.
Optionally, the method further includes:
acquiring the state of the helmet lock;
and reporting the state of the helmet lock to a server.
Optionally, the method further includes:
under the condition that the helmet lock is detected to be abnormally reset, detecting whether a helmet is placed at a set position of the vehicle body again to obtain a helmet detection result; and detecting whether an event of changing the set position from a first state to a second state occurs or not according to the helmet detection result.
Optionally, the method further includes:
and controlling the vehicle body to be locked under the condition that the helmet lock is detected to be successfully locked.
According to a second aspect of the present disclosure, there is provided a use control apparatus of an electric bicycle including a vehicle body, a helmet provided on the vehicle body, and a helmet lock, the apparatus including:
the first detection module is used for detecting whether a helmet is placed at a set position of the vehicle body to obtain a helmet detection result;
the second detection module is used for detecting whether an event that the set position is changed from the first state to the second state occurs or not according to the helmet detection result; wherein the first state is a state where the helmet is not placed at the set position, and the second state is a state where the helmet is placed at the set position;
and the lock closing control module is used for controlling the helmet lock closing lock to lock the helmet under the condition that the occurrence of the event is detected.
According to a third aspect of the present disclosure, there is provided an electric bicycle comprising the apparatus of the second aspect of the present disclosure.
According to a fourth aspect of the present disclosure, there is provided an electric bicycle comprising a memory for storing a computer program and a processor for controlling the electric bicycle to perform the method according to the first aspect of the present disclosure when the computer program is executed.
Through the method of this embodiment, detect set position department by the first state of not placing the helmet, become the condition of placing the second state of helmet, control helmet lock and close the lock, can place the helmet in set position back at the user, need not rethread user terminal and carry out the operation of returning the helmet, can accelerate the helmet and return the flow, the user operation of being convenient for promotes user's helmet and returns and experience.
Other features of the present invention and advantages thereof will become apparent from the following detailed description of exemplary embodiments thereof, which proceeds with reference to the accompanying drawings.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments of the invention and together with the description, serve to explain the principles of the invention.
Fig. 1 is a schematic diagram of a configuration of an electric bicycle system capable of implementing a usage control method of an electric bicycle according to an embodiment of the present invention;
fig. 2 is a flowchart illustrating a usage control method of the electric bicycle according to an embodiment;
fig. 3 is a block diagram of a usage control apparatus of an electric bicycle according to an embodiment;
fig. 4 is a block diagram of an electric bicycle according to an embodiment.
Detailed Description
Various exemplary embodiments of the present invention will now be described in detail with reference to the accompanying drawings. It should be noted that: the relative arrangement of the components and steps, the numerical expressions and numerical values set forth in these embodiments do not limit the scope of the present invention unless specifically stated otherwise.
The following description of at least one exemplary embodiment is merely illustrative in nature and is in no way intended to limit the invention, its application, or uses.
Techniques, methods, and apparatus known to those of ordinary skill in the relevant art may not be discussed in detail, but are intended to be part of the specification where appropriate.
In all examples shown and discussed herein, any particular value should be construed as merely illustrative, and not limiting. Thus, other examples of the exemplary embodiments may have different values.
It should be noted that: like reference numbers and letters refer to like items in the following figures, and thus, once an item is defined in one figure, further discussion thereof is not required in subsequent figures.
< hardware configuration >
Fig. 1 is a schematic diagram of a configuration of an electric bicycle system 100 that can be used to implement the usage control method according to the embodiment of the present disclosure. The electric bicycle system 100 can be applied to a usage control scenario of an electric bicycle as a whole.
As shown in fig. 1, the electric bicycle system 100 includes a server 1000, a user terminal 2000, and an electric bicycle 3000.
The server 1000 provides a service point for processes, databases, and communications facilities. The server 1000 may be a unitary server, a distributed server across multiple computers, a computer data center, a cloud server, or a cloud-deployed server cluster, etc. The server may be of various types, such as, but not limited to, a web server, a news server, a mail server, a message server, an advertisement server, a file server, an application server, an interaction server, a database server, or a proxy server. In some embodiments, each server may include hardware, software, or embedded logic components or a combination of two or more such components for performing the appropriate functions supported or implemented by the server. For example, a server, such as a blade server, a cloud server, etc., or may be a server group consisting of a plurality of servers, which may include one or more of the above types of servers, etc.
In one embodiment, the server 1000 may be as shown in fig. 1, including a processor 1100, a memory 1200, an interface device 1300, a communication device 1400, a display device 1500, an input device 1600.
Processor 1100 is used to execute computer programs, which may be written in instruction sets of architectures such as x86, Arm, RISC, MIPS, SSE, and the like. The memory 1200 includes, for example, a ROM (read only memory), a RAM (random access memory), a nonvolatile memory such as a hard disk, and the like. The interface device 1300 includes, for example, various bus interfaces such as a serial bus interface (including a USB interface), a parallel bus interface, and the like. Communication device 1400 is capable of wired or wireless communication, for example. The display device 1500 is, for example, a liquid crystal display, an LED display touch panel, or the like. The input device 1600 may include, for example, a touch screen, a keyboard, and the like.
In this embodiment, the memory 1200 of the server 1000 is used to store a computer program for controlling the processor 1100 to operate to execute the usage control method according to the embodiment of the present invention. The skilled person can design the computer program according to the disclosed solution. How the computer program controls the processor to operate is well known in the art and will not be described in detail here.
Although a plurality of devices of the server 1000 are illustrated in fig. 1, the present invention may only relate to some of the devices, for example, the server 1000 only relates to the memory 1200, the processor 1100 and the communication device 1400.
In this embodiment, the user terminal 2000 is, for example, a mobile phone, a portable computer, a tablet computer, a palm computer, a wearable device, or the like.
The user terminal 2000 is installed with a vehicle use application client to achieve the purpose of using the electric bicycle by operating the vehicle use application client.
As shown in fig. 1, the user terminal 2000 may include a processor 2100, a memory 2200, an interface device 2300, a communication device 2400, a display device 2500, an input device 2600, a speaker 2700, a microphone 2800, and the like.
The processor 2100 is used to execute a computer program, which may be written in an instruction set of an architecture such as x86, Arm, RISC, MIPS, SSE, and so on. The memory 2200 includes, for example, a ROM (read only memory), a RAM (random access memory), a nonvolatile memory such as a hard disk, and the like. The interface device 2300 includes, for example, a USB interface, a headphone interface, and the like. The communication device 2400 can perform wired or wireless communication, for example, the communication device 2400 may include at least one short-range communication module, for example, any module that performs short-range wireless communication based on a short-range wireless communication protocol such as a Hilink protocol, WiFi (IEEE 802.11 protocol), Mesh, bluetooth, ZigBee, Thread, Z-Wave, NFC, UWB, LiFi, and the like, and the communication device 2400 may also include a long-range communication module, for example, any module that performs WLAN, GPRS, 2G/3G/4G/5G long-range communication. The display device 2500 is, for example, a liquid crystal display panel, a touch panel, or the like. The input device 2600 may include, for example, a touch screen, a keyboard, and the like. The user terminal 2000 may output an audio signal through the speaker 2700 and collect an audio signal through the microphone 2800.
In this embodiment, the memory 2200 of the user terminal 2000 is used to store a computer program for controlling the processor 2100 to operate to perform a method of using the electric bicycle, including, for example: acquiring a unique identifier of the electric bicycle 3000, and forming an unlocking request aiming at a specific electric bicycle and sending the unlocking request to a server; and performing bill calculation and the like according to the charge settlement notification sent by the server. A skilled person can design a computer program according to the solution disclosed in the present invention. How computer programs control the operation of the processor is well known in the art and will not be described in detail herein.
As shown in fig. 1, the electric bicycle 3000 may include a processor 3100, a memory 3200, an interface device 3300, a communication device 3400, an output device 3500, an input device 3600, and the like. Processor 3100 is configured to execute a computer program, which may be written in an instruction set of architectures such as x86, Arm, RISC, MIPS, SSE, and the like. The memory 3200 includes, for example, a ROM (read only memory), a RAM (random access memory), a nonvolatile memory such as a hard disk, and the like. The interface 3300 includes, for example, a USB interface, a headphone interface, and the like. The communication device 3400 includes at least one communication module, for example, capable of wired or wireless communication, and for example, capable of short-range and long-range communication. The output device 3500 may be, for example, a device that outputs a signal, may be a display device such as a liquid crystal display screen or a touch panel, or may be a speaker or the like that outputs voice information or the like. The input device 3600 may include, for example, a touch device such as a touch panel, a sound sensing device such as a button or a microphone, a pressure sensing device such as a pressure sensor, and the like.
In this embodiment, the electric bicycle 3000 can report its own position information to the server 1000.
In this embodiment, the memory 3200 of the electric bicycle 3000 is used to store a computer program for controlling the processor 3100 to operate to perform a usage control method according to any of the embodiments of the present invention. The skilled person can design the computer program according to the disclosed solution. How the computer program controls the processor to operate is well known in the art and will not be described in detail here.
The network 4000 may be a wireless communication network or a wired communication network, and may be a local area network or a wide area network. In the electric bicycle system 100 shown in fig. 1, the electric bicycle 3000 and the server 1000, and the user terminal 2000 and the server 1000 can communicate with each other through the network 4000. The electric bicycle 3000 and the server 1000, and the network 4000 through which the user terminal 2000 and the server 1000 communicate with each other may be the same or different.
It should be understood that although fig. 1 shows only one server 1000, user terminal 2000, electric bicycles 3000, it is not meant to limit the respective numbers, and the electric bicycle system 100 may include a plurality of servers 1000, a plurality of user terminals 2000, a plurality of electric bicycles 3000, and the like.
The electric bicycle system 100 illustrated in fig. 1 is merely illustrative and is in no way intended to limit the present invention, its application, or uses.
< method examples >
Fig. 2 shows a flow chart of a usage control method of the electric bicycle according to an embodiment. The method steps of the present embodiment are performed by an electric bicycle, such as electric bicycle 3000 in fig. 1.
In this embodiment, the electric bicycle may include a vehicle body, a helmet provided on the vehicle body, and a helmet lock.
As shown in fig. 2, the method for controlling the use of the electric bicycle of the present embodiment may include the following steps S2100 to S2300:
and step S2100, detecting whether a helmet is placed at a set position of the vehicle body to obtain a helmet detection result.
The set position in this embodiment may be a position in which a helmet lock is provided and the helmet lock is set in advance to receive the helmet, and the set position may be, for example, inside a basket of a vehicle body. The helmet lock may be fixed in a set position for locking a helmet placed in the set position.
In an embodiment of the disclosure, an NFC tag may be disposed on the helmet, an NFC reader is disposed on the helmet lock, and when the NFC reader reads tag information of the NFC tag of the helmet, it is determined that the helmet is placed at a set position of the vehicle body; and under the condition that the NFC reader does not read the tag information of the NFC tag of the helmet, judging that the helmet is not placed at the set position of the detected vehicle body.
Further, the NFC label can be a unique identification code of a helmet which is preset in the NFC label, the NFC reader conducts NFC scanning, and under the condition that the scanning result contains the unique identification code of the appointed helmet, it is judged that the helmet is placed at the set position of the vehicle body; and under the condition that the scanning result of the NFC reader does not contain the unique identification code of the appointed helmet, judging that no helmet is placed at the set position of the detected vehicle body.
In another embodiment of the present disclosure, at least one first contact may be disposed on the helmet, at least one second contact may be disposed on the helmet lock, and when the at least one second contact is detected to be in contact with the first contact, it is determined that the helmet is placed at the set position of the vehicle body; and under the condition that all the second contacts are not in contact with the first contacts, judging that no helmet is placed at the set position of the detected vehicle body.
In the embodiment of the present disclosure, step S2100 may be performed at a set frequency. The set frequency may be set in advance according to an application scenario or a specific requirement, for example, the set frequency may be 1 time/second.
Step S2200 is that whether an event that the set position is changed from the first state to the second state occurs is detected according to the helmet detection result.
Wherein, the first state is the state that helmet was not placed to setting position department, and the second state is the state that helmet was placed to setting position department.
In this step, when the previous helmet detection result indicates that no helmet is placed at the set position, and the current helmet detection result indicates that a helmet is placed at the set position, it is possible to determine that an event occurs in which the set position changes from the first state to the second state. The helmet detection result at the previous time is the same as the helmet detection result at the current time, and both indicate that no helmet is placed at the set position, or both indicate that a helmet is placed at the set position, it can be determined that the event that the set position is changed from the first state to the second state does not occur.
In step S2300, the helmet locking lock is controlled to lock the helmet when the occurrence of the event is detected.
In one example, an automatic lock-closing program may be provided in the helmet lock. And when the helmet lock detects that the set position is changed from the first state to the second state, executing an automatic locking program to lock the helmet.
Through the method of this embodiment, detecting the first state of setting for position department by not placing the helmet, becoming under the condition of the second state of placing the helmet, control helmet lock is closed and is locked, can place the helmet after setting for the position at the user, need not rethread user terminal and carries out the operation of returning the helmet, can accelerate the helmet flow of returning, the user operation of being convenient for promotes user's helmet and returns experience.
In one embodiment of the present disclosure, the method may further include: the state of the helmet lock is detected. The helmet lock can be in an unlocking state or a locking state.
When the helmet lock is in the unlocked state, it indicates that the helmet is being used by the user, and it is necessary to detect in time an action of the user to place the helmet at the set position, that is, to detect whether an event occurs at the set position, the event changing from the first state to the second state, and to control the helmet lock to lock according to the event detection result. Therefore, if the helmet lock is in the unlocked state, step S2200 may be performed.
When the state of the helmet lock is the off-lock state, the helmet is placed at the set position, and the helmet lock locks the helmet, so that the helmet lock is controlled to be off-lock according to the event detection result without the need of changing the first state to the second state again according to whether the set position occurs. Therefore, when the state of the helmet lock is the unlocked state, the process may continue to execute step S2100, or the detection of the state of the helmet lock may continue.
In one embodiment of the present disclosure, after performing step S2300, the method may further include steps S3100 to S3300 shown below:
and step S3100, detecting whether the helmet lock is successfully locked.
In this embodiment, steps S3100 to S3300 may be performed by a main control device of the electric bicycle.
Specifically, in step S2300, when the helmet lock detects that the event that the set position is changed from the first state to the second state occurs, the preset automatic locking program is executed to execute the automatic locking program to lock the helmet. If the automatic locking program preset in the helmet lock is abnormal, the helmet lock may fail to be locked.
Step S3200, in a case where it is detected that the helmet lock is successfully locked, detects whether the helmet is placed at a set position of the vehicle body.
In the present embodiment, in order to prevent the occurrence of a helmet cheating event that the user takes the helmet from the set position before the helmet lock is locked in the process of performing step S2300, it may be to re-detect whether the helmet is still placed at the set position of the vehicle body after the helmet lock is locked.
And step S3300, in the case that it is detected that the helmet is not placed at the set position, controlling the helmet lock to unlock.
In the case where it is detected that the helmet is not placed at the set position, it indicates that the user may take the helmet from the set position before the helmet lock locks the helmet, resulting in a helmet-cheating event in the process of performing step S2300. Thus, it may be that the helmet lock is controlled to unlock, so that the user returns the helmet again.
When the helmet is detected to be placed at the set position, the state of the helmet lock can be reported to the server, so that the server can control the body of the electric bicycle to be locked according to the state of the helmet lock. Specifically, in the case where it is detected that the helmet is placed at the set position, the state of the helmet lock is the off-lock state.
In one embodiment of the present disclosure, the method may further include step S3400 shown as follows: and under the condition that the helmet lock is detected to be failed to be locked, receiving a locking instruction for closing the helmet lock, and controlling the helmet lock to execute the locking instruction so as to enable the helmet lock to lock the helmet.
In this embodiment, when it is detected that the helmet locking fails, a helmet locking failure prompt may be sent to the user, so that the user triggers a request for returning the helmet through the user terminal, and sends the request for returning the helmet to the server. The server responds to the request for returning the helmet and sends a locking instruction for closing the helmet lock to the electric bicycle.
In an embodiment of the present disclosure, in the case that step S3300 or step S3400 is performed, the method may further include: and acquiring the state of the helmet lock, and reporting the state of the helmet lock to the server so that the server can control the locking of the body of the electric bicycle according to the state of the helmet lock.
Specifically, in the case that step S3300 is completed, the state of the helmet lock may be an unlocked state. In the case where step S3400 is performed, the state of the helmet lock may be an off state.
In one embodiment of the present disclosure, the method may further include: and controlling the vehicle body to be locked under the condition that the helmet locking is detected to be successful.
In another embodiment of the present disclosure, in order to further standardize parking of the user, the server may detect whether the electric bicycle meets a set returning condition when the helmet lock state is changed from the unlocked state to the locked state, and transmit another locking instruction for closing the vehicle lock to the electric bicycle when the electric bicycle meets the returning condition. The electric bicycle executes the other locking instruction to control the locking of the bicycle body.
Wherein the returning condition may include at least one of:
the parking position of the electric bicycle is positioned in a set parking area;
the parking direction of the electric bicycle is consistent with the standard parking direction of the parking area.
In one embodiment of the present disclosure, the method may further include: in the case where abnormal reset of the helmet lock is detected, it may be that steps S2100 and S2200 are re-executed to re-detect whether an event of changing from the first state to the second state at the set position occurs.
< apparatus embodiment >
Corresponding to the above method, the present disclosure also provides a use control device 300 of an electric bicycle, the electric bicycle includes a vehicle body, a helmet and a helmet lock provided on the vehicle body, as shown in fig. 3, the use control device 300 of the electric bicycle may include a first detection module 310, a second detection module 320 and a locking control module 330. The first detection module 310 is configured to detect whether a helmet is placed at a set position of the vehicle body, so as to obtain a helmet detection result; the second detecting module 320 is configured to detect whether an event that the setting position is changed from the first state to the second state occurs according to the helmet detection result; wherein the first state is a state where the helmet is not placed at the set position, and the second state is a state where the helmet is placed at the set position; the lock control module 330 is configured to control the helmet lock to lock the helmet upon detecting the occurrence of the event.
In one embodiment of the present disclosure, the use control device 300 of the electric bicycle may further include:
means for detecting a status of the helmet lock;
the second detecting module 320 is configured to, when the helmet lock is in the unlocked state, perform the step of detecting whether an event that the setting position is changed from the first state to the second state occurs according to the helmet detection result;
the first detecting module 310 is configured to detect whether a helmet is placed at a set position of the vehicle body when the helmet lock is in an off-lock state, so as to obtain a helmet detection result.
In one embodiment of the present disclosure, the use control device 300 of the electric bicycle may further include:
a module for detecting whether the helmet lock is successfully locked;
means for detecting whether the helmet is placed at the set position of the vehicle body if it is detected that the helmet lock-off lock is successful;
means for controlling the helmet lock to unlock if it is detected that the helmet is not placed at the set position of the vehicle body.
In one embodiment of the present disclosure, the use control device 300 of the electric bicycle may further include:
means for receiving a lock-off command to close the helmet lock if it is detected that the helmet lock has failed to close the lock;
and the module is used for controlling the helmet lock to execute the locking instruction so as to enable the helmet lock to lock the helmet.
In one embodiment of the present disclosure, the use control device 300 of the electric bicycle may further include:
means for obtaining a status of the helmet lock;
and the module is used for reporting the state of the helmet lock to a server.
In one embodiment of the present disclosure, the use control device 300 of the electric bicycle may further include:
the second detecting module 320 is further configured to, when it is detected that the helmet lock is abnormally reset, re-perform the step of detecting whether the event that the set position is changed from the first state to the second state occurs according to the helmet detection result.
In one embodiment of the present disclosure, the use control device 300 of the electric bicycle may further include:
and the module is used for controlling the vehicle body to be locked under the condition that the helmet lock is detected to be successfully locked.
It should be apparent to those skilled in the art that the use control apparatus 300 of the electric bicycle can be implemented in various ways. For example, the use control device 300 of the electric bicycle can be implemented by an instruction configuration processor. For example, the instructions may be stored in ROM and read from ROM into a programmable device when the apparatus is started to implement the usage control apparatus 300 for the electric bicycle. For example, the usage control device 300 of the electric bicycle may be solidified into a dedicated device (e.g., ASIC). The usage control device 300 of the electric bicycle may be divided into units independent of each other, or may be implemented by combining them together. The use control device 300 of the electric bicycle may be implemented by one of the various implementations described above, or may be implemented by a combination of two or more of the various implementations described above.
In the present embodiment, the usage control device 300 of the electric bicycle can have various implementation forms, for example, the usage control device 300 of the electric bicycle can be any functional module running in a software product or an application program providing the usage control service of the electric bicycle, or a peripheral insert, a plug-in, a patch, etc. of the software product or the application program, and can also be the software product or the application program itself.
< electric bicycle embodiment >
The present embodiment provides an electric bicycle 400. In one example, the electric bicycle may include the aforementioned usage control device 300 for an electric bicycle.
In another example, as shown in fig. 4, the electric bicycle 400 may include a memory 420 and a processor 410, the memory 420 is used for storing program instructions, and the processor 410 is used for controlling the electric bicycle 400 to execute any one of the usage control methods provided in the present embodiment when executing the computer program.
The present invention may be a system, method and/or computer program product. The computer program product may include a computer-readable storage medium having computer-readable program instructions embodied therewith for causing a processor to implement various aspects of the present invention.
The computer readable storage medium may be a tangible device that can hold and store the instructions for use by the instruction execution device. The computer readable storage medium may be, for example, but not limited to, an electronic memory device, a magnetic memory device, an optical memory device, an electromagnetic memory device, a semiconductor memory device, or any suitable combination of the foregoing. More specific examples (a non-exhaustive list) of the computer readable storage medium would include the following: a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), a Static Random Access Memory (SRAM), a portable compact disc read-only memory (CD-ROM), a Digital Versatile Disc (DVD), a memory stick, a floppy disk, a mechanical coding device, such as punch cards or in-groove projection structures having instructions stored thereon, and any suitable combination of the foregoing. Computer-readable storage media as used herein is not to be construed as transitory signals per se, such as radio waves or other freely propagating electromagnetic waves, electromagnetic waves propagating through a waveguide or other transmission medium (e.g., optical pulses through a fiber optic cable), or electrical signals transmitted through electrical wires.
The computer-readable program instructions described herein may be downloaded from a computer-readable storage medium to a respective computing/processing device, or to an external computer or external storage device via a network, such as the internet, a local area network, a wide area network, and/or a wireless network. The network may include copper transmission cables, fiber optic transmission, wireless transmission, routers, firewalls, switches, gateway computers and/or edge servers. The network adapter card or network interface in each computing/processing device receives computer-readable program instructions from the network and forwards the computer-readable program instructions for storage in a computer-readable storage medium in the respective computing/processing device.
The computer program instructions for carrying out operations of the present invention may be assembler instructions, Instruction Set Architecture (ISA) instructions, machine-related instructions, microcode, firmware instructions, state setting data, or source code or object code written in any combination of one or more programming languages, including an object oriented programming language such as Smalltalk, C + + or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The computer-readable program instructions may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider). In some embodiments, aspects of the present invention are implemented by personalizing an electronic circuit, such as a programmable logic circuit, a Field Programmable Gate Array (FPGA), or a Programmable Logic Array (PLA), with state information of computer-readable program instructions, which can execute the computer-readable program instructions.
Aspects of the present invention are described herein with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems) and computer program products according to embodiments of the invention. It will be understood that each block of the flowchart illustrations and/or block diagrams, and combinations of blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer-readable program instructions.
These computer-readable program instructions may be provided to a processor of a general purpose computer, special purpose computer, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions/acts specified in the flowchart and/or block diagram block or blocks. These computer-readable program instructions may also be stored in a computer-readable storage medium that can direct a computer, programmable data processing apparatus, and/or other devices to function in a particular manner, such that the computer-readable medium storing the instructions comprises an article of manufacture including instructions which implement the function/act specified in the flowchart and/or block diagram block or blocks.
The computer readable program instructions may also be loaded onto a computer, other programmable data processing apparatus, or other devices to cause a series of operational steps to be performed on the computer, other programmable apparatus or other devices to produce a computer implemented process such that the instructions which execute on the computer, other programmable apparatus or other devices implement the functions/acts specified in the flowchart and/or block diagram block or blocks.
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present invention. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of instructions, which comprises one or more executable instructions for implementing the specified logical function(s). In some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions. It is well known to those skilled in the art that implementation by hardware, implementation by software, and implementation by a combination of software and hardware are equivalent.
Having described embodiments of the present invention, the foregoing description is intended to be exemplary, not exhaustive, and not limited to the embodiments disclosed. Many modifications and variations will be apparent to those of ordinary skill in the art without departing from the scope and spirit of the described embodiments. The terminology used herein is chosen in order to best explain the principles of the embodiments, the practical application, or improvements made to the technology in the marketplace, or to enable others of ordinary skill in the art to understand the embodiments disclosed herein. The scope of the invention is defined by the appended claims.
Claims (10)
1. A use control method of an electric bicycle including a vehicle body, a helmet and a helmet lock provided on the vehicle body, the method comprising:
detecting whether a helmet is placed at a set position of the vehicle body to obtain a helmet detection result;
detecting whether an event of changing from a first state to a second state at the set position occurs according to the helmet detection result; wherein the first state is a state where the helmet is not placed at the set position, and the second state is a state where the helmet is placed at the set position;
controlling the helmet lock-out lock to lock the helmet if the occurrence of the event is detected.
2. The method of claim 1, further comprising:
detecting a state of the helmet lock;
when the helmet lock is in an unlocked state, executing the step of detecting whether an event that the set position is changed from a first state to a second state occurs or not according to the helmet detection result;
and under the condition that the helmet lock is in a locked state, executing the step of detecting whether a helmet is placed at a set position of the vehicle body to obtain a helmet detection result.
3. The method of claim 1, after the controlling the helmet lock-off lock, the method further comprising:
detecting whether the helmet lock is successfully locked;
detecting whether the helmet is placed at the set position of the vehicle body in a case where it is detected that the helmet locking is successful;
controlling the helmet lock to unlock in a case where it is detected that the helmet is not placed at the set position of the vehicle body.
4. The method of claim 3, further comprising:
under the condition that the helmet lock is detected to be failed to be locked, receiving a locking instruction for closing the helmet lock;
controlling the helmet lock to execute the locking instruction so that the helmet lock locks the helmet.
5. The method of claim 3 or 4, further comprising:
acquiring the state of the helmet lock;
and reporting the state of the helmet lock to a server.
6. The method of claim 3, further comprising:
under the condition that the helmet lock is detected to be abnormally reset, detecting whether a helmet is placed at a set position of the vehicle body again to obtain a helmet detection result; and detecting whether an event of changing the set position from a first state to a second state occurs or not according to the helmet detection result.
7. The method of claim 3, further comprising:
and controlling the vehicle body to be locked under the condition that the helmet lock is detected to be successfully locked.
8. A use control device of an electric bicycle including a vehicle body, a helmet and a helmet lock provided on the vehicle body, the device comprising:
the first detection module is used for detecting whether a helmet is placed at a set position of the vehicle body to obtain a helmet detection result;
the second detection module is used for detecting whether an event that the set position is changed from the first state to the second state occurs or not according to the helmet detection result; wherein the first state is a state where the helmet is not placed at the set position, and the second state is a state where the helmet is placed at the set position;
and the lock closing control module is used for controlling the helmet lock closing lock to lock the helmet under the condition that the occurrence of the event is detected.
9. An electric bicycle comprising the apparatus of claim 8.
10. An electric bicycle comprising a memory for storing a computer program and a processor for controlling the electric bicycle to perform the method according to any one of claims 1-7 when the computer program is executed.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210071136.6A CN114475880B (en) | 2022-01-21 | 2022-01-21 | Use control method and device of electric bicycle and electric bicycle |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210071136.6A CN114475880B (en) | 2022-01-21 | 2022-01-21 | Use control method and device of electric bicycle and electric bicycle |
Publications (2)
Publication Number | Publication Date |
---|---|
CN114475880A true CN114475880A (en) | 2022-05-13 |
CN114475880B CN114475880B (en) | 2024-10-01 |
Family
ID=81472428
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202210071136.6A Active CN114475880B (en) | 2022-01-21 | 2022-01-21 | Use control method and device of electric bicycle and electric bicycle |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN114475880B (en) |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110400404A (en) * | 2019-07-24 | 2019-11-01 | 北京摩拜科技有限公司 | Control method for vehicle, vehicle and Vehicular system |
CN111798595A (en) * | 2020-06-02 | 2020-10-20 | 上海乾动新能源科技有限公司 | Vehicle and helmet control method and system |
CN112581660A (en) * | 2020-12-10 | 2021-03-30 | 摩拜(北京)信息技术有限公司 | Electric bicycle, use control method thereof and server |
IL278855A (en) * | 2019-11-21 | 2021-05-31 | Binyamin Yoni Asseraf | On-vehicle helmet lock |
CN214356409U (en) * | 2020-12-25 | 2021-10-08 | 摩拜(北京)信息技术有限公司 | Helmet subassembly and sharing bicycle |
CN113611045A (en) * | 2021-07-09 | 2021-11-05 | 摩拜(北京)信息技术有限公司 | Helmet use control method of electric bicycle and electric bicycle |
CN113673647A (en) * | 2021-08-25 | 2021-11-19 | 摩拜(北京)信息技术有限公司 | Helmet returning processing method of electric bicycle and electric bicycle |
-
2022
- 2022-01-21 CN CN202210071136.6A patent/CN114475880B/en active Active
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110400404A (en) * | 2019-07-24 | 2019-11-01 | 北京摩拜科技有限公司 | Control method for vehicle, vehicle and Vehicular system |
IL278855A (en) * | 2019-11-21 | 2021-05-31 | Binyamin Yoni Asseraf | On-vehicle helmet lock |
CN111798595A (en) * | 2020-06-02 | 2020-10-20 | 上海乾动新能源科技有限公司 | Vehicle and helmet control method and system |
CN112581660A (en) * | 2020-12-10 | 2021-03-30 | 摩拜(北京)信息技术有限公司 | Electric bicycle, use control method thereof and server |
CN214356409U (en) * | 2020-12-25 | 2021-10-08 | 摩拜(北京)信息技术有限公司 | Helmet subassembly and sharing bicycle |
CN113611045A (en) * | 2021-07-09 | 2021-11-05 | 摩拜(北京)信息技术有限公司 | Helmet use control method of electric bicycle and electric bicycle |
CN113673647A (en) * | 2021-08-25 | 2021-11-19 | 摩拜(北京)信息技术有限公司 | Helmet returning processing method of electric bicycle and electric bicycle |
Also Published As
Publication number | Publication date |
---|---|
CN114475880B (en) | 2024-10-01 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN111063120A (en) | Control method of electric bicycle, electric bicycle and electric bicycle system | |
CN101499190B (en) | Security management method, system and apparatus for electronic purse | |
CN106664301B (en) | Mobile device and control method thereof | |
US20160165041A1 (en) | Incoming call switching method and communications terminal | |
CN112379208A (en) | Fault detection method of electric bicycle, electric bicycle and system | |
CN111275859A (en) | Control method of shared moped and shared moped | |
CN105306697A (en) | Information processing method and electronic device | |
CN111461831A (en) | Parking control method of vehicle, electronic equipment and vehicle system | |
CN104679497A (en) | Mobile terminal control method, device and mobile terminal | |
JP6232057B2 (en) | Management device | |
CN113673647B (en) | Helmet return processing method of electric bicycle and electric bicycle | |
CN113830209B (en) | Abnormal movement detection method and device, vehicle and server | |
CN113837845A (en) | Returning processing method and device for shared bicycles and server | |
CN114020311A (en) | Firmware upgrading method and device and electronic equipment | |
CN111681369A (en) | Parking control method, vehicle, server and vehicle system | |
US20180319369A1 (en) | Control method, control apparatus and control system of using an article, and article | |
CN114475880A (en) | Use control method and device of electric bicycle and electric bicycle | |
CN101984641B (en) | Mobile terminal and backlight control method thereof | |
CN113611045B (en) | Helmet use control method of electric bicycle and electric bicycle | |
CN113873018B (en) | Vehicle communication method and device, server and vehicle | |
CN109544176B (en) | Verification method, device, server and system for stolen article retrieval order | |
CN109493574B (en) | Low-electricity processing method, server, electric power-assisted vehicle and system | |
CN105407218B (en) | A kind of SMS processing method and terminal | |
CN114549623A (en) | Use control method and device of electric bicycle and electric bicycle | |
US20210056239A1 (en) | Information processing method, terminal, device 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 |