CN114852229A - Multi-user riding prevention processing method and device, electric bicycle and server - Google Patents

Multi-user riding prevention processing method and device, electric bicycle and server Download PDF

Info

Publication number
CN114852229A
CN114852229A CN202210530081.0A CN202210530081A CN114852229A CN 114852229 A CN114852229 A CN 114852229A CN 202210530081 A CN202210530081 A CN 202210530081A CN 114852229 A CN114852229 A CN 114852229A
Authority
CN
China
Prior art keywords
electric bicycle
load value
value
riding state
determining whether
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.)
Withdrawn
Application number
CN202210530081.0A
Other languages
Chinese (zh)
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.)
Mobai Beijing Information Technology Co Ltd
Original Assignee
Mobai Beijing Information Technology 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 Mobai Beijing Information Technology Co Ltd filed Critical Mobai Beijing Information Technology Co Ltd
Priority to CN202210530081.0A priority Critical patent/CN114852229A/en
Publication of CN114852229A publication Critical patent/CN114852229A/en
Withdrawn legal-status Critical Current

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
    • B62J45/00Electrical equipment arrangements specially adapted for use as accessories on cycles, not otherwise provided for
    • B62J45/40Sensor arrangements; Mounting thereof
    • B62J45/41Sensor arrangements; Mounting thereof characterised by the type of sensor
    • 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/20Cycle computers as cycle accessories
    • 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
    • B62J45/42Sensor arrangements; Mounting thereof characterised by mounting
    • B62J45/423Sensor arrangements; Mounting thereof characterised by mounting on or besides the wheel
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02TCLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO TRANSPORTATION
    • Y02T10/00Road transport of goods or passengers
    • Y02T10/60Other road transportation technologies with climate change mitigation effect
    • Y02T10/72Electric energy management in electromobility

Landscapes

  • Engineering & Computer Science (AREA)
  • Mechanical Engineering (AREA)
  • Traffic Control Systems (AREA)

Abstract

The invention relates to a multi-person riding prevention processing method and device, an electric bicycle and a server, wherein the method comprises the following steps: determining whether the electric bicycle is in a single-person riding state or not according to the load value of the electric bicycle; under the condition that the electric bicycle is determined to be in the single-person riding state, a first load value is obtained, and the first load value is used for representing the load value of the electric bicycle in the single-person riding state; after determining that the electric bicycle is in the single-person riding state, determining whether the electric bicycle has a second load value, wherein the difference value of the second load value minus the first load value is larger than or equal to a set first load increment value; and executing the set multi-person riding preventing operation under the condition that the electric bicycle is determined to have the second load value.

Description

Multi-user riding prevention processing method and device, electric bicycle and server
Technical Field
The invention relates to the technical field of electric bicycles, in particular to a multi-person riding prevention processing method and device, an electric bicycle and a server.
Background
In order to ensure the riding safety, the condition that a plurality of people ride the same electric bicycle is avoided.
At present, in order to prevent multiple people from riding, a load sensor can be installed at the rear wheel damping spring rod of the electric bicycle, the load sensor sends the load value information of the vehicle to a vehicle main control, and the vehicle main control further directly judges whether the electric bicycle is ridden by multiple people according to the load value.
Considering that the weight difference of different users can be large, the detection precision of the multi-user riding detection in the conventional implementation mode is not high.
Disclosure of Invention
An object of the embodiment of the invention is to provide a new technical scheme for preventing multiple people from riding.
According to a first aspect of the invention, a multi-person riding prevention processing method is provided, which comprises the following steps: determining whether the electric bicycle is in a single-person riding state or not according to the load value of the electric bicycle; under the condition that the electric bicycle is determined to be in the single-person riding state, acquiring a first load value, wherein the first load value is used for representing the load value of the electric bicycle in the single-person riding state; after determining that the electric bicycle is in the single-person riding state, determining whether the electric bicycle has a second load value, wherein the difference value of the second load value minus the first load value is larger than or equal to a set first load increment value; and executing the set multi-person riding preventing operation under the condition that the electric bicycle is determined to have the second load value.
Optionally, the determining whether the electric bicycle is in the single-person riding state according to the load value of the electric bicycle includes: comparing the load value of the electric bicycle with a first set load value to obtain a comparison result; and determining whether the electric bicycle is in a single riding state or not according to the comparison result.
Optionally, the determining whether the electric bicycle is in a single-person riding state according to the comparison result includes: determining that the electric bicycle is in an unmanned riding state under the condition that the comparison result shows that the load value of the electric bicycle is smaller than or equal to the first set load value; under the condition that the electric bicycle is determined to be in the unmanned riding state, obtaining a third load value, wherein the third load value is used for representing the load value of the electric bicycle in the unmanned riding state; after determining that the electric bicycle is in the unmanned riding state, determining whether the electric bicycle has a fourth load value, so that the difference value of the fourth load value minus the third load value is larger than or equal to a set second load increment value; determining that the electric bicycle is in a single-person riding state in a case where it is determined that the electric bicycle has the fourth load value.
Optionally, the determining whether the electric bicycle is in a single-person riding state according to the comparison result includes: and determining that the electric bicycle is in the single-person riding state when the comparison result shows that the load value of the electric bicycle is greater than the first set load value.
Optionally, the determining whether the electric bicycle is in a single-person riding state according to the comparison result includes: determining that the electric bicycle is in a riding state by people when the comparison result shows that the load value of the electric bicycle is greater than the first set load value; determining whether a fifth load value is greater than or equal to a second set load value, wherein the fifth load value is used for representing the load value of the electric bicycle when the electric bicycle is in a riding state, and the second set load value is greater than or equal to twice the first load increment value; and determining that the electric bicycle is in a single-person riding state under the condition that the fifth load value is smaller than the second set load value.
Optionally, the method further comprises: determining whether the electric bicycle is always in a state of waiting to be ridden before the fifth load value is obtained, if the fifth load value is greater than or equal to the second set load value; and determining that the electric bicycle is in the single-person riding state under the condition that the electric bicycle is not always in the waiting riding state before the fifth load value is obtained.
Optionally, the method further comprises: and outputting set prompt information to prompt a user to execute an action of leaving a seat and then returning to the seat before determining that the electric bicycle is in the state of waiting to be ridden all the time before the fifth load value is obtained.
Optionally, the method further comprises: determining whether the speed of the electric bicycle is greater than or equal to a first set speed under the condition that the comparison result shows that the load value of the electric bicycle is less than or equal to the first set load value; determining that the load value sensing function of the electric bicycle is in a fault state under the condition that the speed of the electric bicycle is determined to be greater than or equal to the first set speed; and under the condition that the speed of the electric bicycle is determined to be less than the first set speed, executing the step of determining whether the electric bicycle is in the single-person riding state or not according to the comparison result.
Optionally, the method further comprises: in the case that the comparison result indicates that the load value of the electric bicycle is less than the first set load value, determining whether the speed of the electric bicycle is greater than or equal to a second set speed and determining whether the difference value between the load value of the electric bicycle and a third set load value falls within a set deviation range, wherein the third set load value is a negative value of the self weight of the electric bicycle; and determining that the load value sensing function of the electric bicycle is in a non-fault state under the condition that the speed of the electric bicycle is greater than or equal to the second set speed and the difference value falls within the deviation range.
Optionally, before the determining whether the electric bicycle has the second load value, the method further comprises: determining whether the speed of the electric bicycle is less than or equal to a set first speed threshold value; the step of determining whether the electric bicycle has a second load value is performed if the speed of the electric bicycle is less than or equal to the first speed threshold.
Optionally, the method further comprises: determining whether the speed of the electric bicycle is less than or equal to a set second speed threshold value; and executing the step of determining whether the electric bicycle is in the single-person riding state according to the load value of the electric bicycle when the speed of the electric bicycle is less than or equal to the second speed threshold.
Optionally, the load value of the electric bicycle is obtained by: for each resistance strain gauge arranged on a motor shaft connected with a driving wheel hub of the electric bicycle, converting the deformation of the motor shaft into a corresponding voltage signal through the resistance strain gauge; processing the voltage signal output by each resistance strain gauge through an amplifying circuit arranged on the electric bicycle to obtain a corresponding voltage value; converting the voltage value output by the amplifying circuit into a corresponding load value; and obtaining the load value of the electric bicycle according to the load value obtained by conversion.
According to a second aspect of the present invention, there is also provided a multiple person riding prevention processing apparatus, comprising: the first determination module is used for determining whether the electric bicycle is in a single-person riding state or not according to the load value of the electric bicycle; the obtaining module is used for obtaining a first load value under the condition that the electric bicycle is determined to be in the single-person riding state, wherein the first load value is used for representing the load value of the electric bicycle in the single-person riding state; the second determination module is used for determining whether the electric bicycle has a second load value after determining that the electric bicycle is in the single-person riding state, so that the difference value of subtracting the first load value from the second load value is larger than or equal to a set first load increment value; and the processing module is used for executing the set multi-person riding prevention operation under the condition that the electric bicycle is determined to have the second load value.
According to a third aspect of the present invention, there is also provided an electric bicycle comprising a memory for storing a computer program and a processor; the processor is adapted to execute the computer program to implement the method according to the first aspect of the invention.
According to a fourth aspect of the present invention, there is also provided a server comprising a memory for storing a computer program and a processor; the processor is adapted to execute the computer program to implement the method according to the first aspect of the invention.
According to a fifth aspect of the present invention, there is also provided a computer readable storage medium having stored thereon a computer program which, when executed by a processor, implements the method according to the first aspect of the present invention.
The embodiment of the invention has the beneficial effects that whether the electric bicycle is in a single-person riding state is determined according to the load value of the electric bicycle; under the condition that the electric bicycle is determined to be in the single-person riding state, a first load value is obtained, and the first load value is used for representing the load value of the electric bicycle in the single-person riding state; after determining that the electric bicycle is in the single-person riding state, determining whether the electric bicycle has a second load value, wherein the difference value of the second load value minus the first load value is larger than or equal to a set first load increment value; and executing the set multi-person riding preventing operation under the condition that the electric bicycle is determined to have the second load value. This embodiment detects the load change through the gradation, confirms whether have many people the condition of riding, and this implementation mode still can realize the accurate detection of riding to many people based on the weight difference between the user, and this implementation mode detects the load precision requirement not high, so can have the accurate effect of riding of preventing many people.
Further features of embodiments of the present invention and advantages thereof will become apparent from the following detailed description of exemplary embodiments of the invention, which is to be read in connection with 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 embodiments of the invention.
FIG. 1 is a schematic diagram of an implementation environment to which a multi-person ride prevention processing method according to an embodiment can be applied, and a system composition structure capable of implementing the method;
FIG. 2 is a flow diagram of a multi-person ride prevention processing method according to one embodiment;
FIG. 3 is a schematic illustration of a load value detection approach according to one embodiment;
FIG. 4 is a flow diagram of a multi-person ride prevention processing method according to another embodiment;
FIG. 5 is a block schematic diagram of a multi-person ride prevention processing device according to one embodiment;
FIG. 6 is a schematic diagram of a hardware configuration of an electric bicycle according to an embodiment;
fig. 7 is a hardware architecture diagram of a server according to one 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 one 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.
It should be noted that all actions of acquiring signals, information or data in the present application are performed under the premise of complying with the corresponding data protection regulation policy of the country of the location and obtaining the authorization given by the owner of the corresponding device.
< implementation Environment and hardware configuration >
FIG. 1 is a schematic diagram of a multi-user ride prevention processing system 100 that can be used to implement an embodiment of the present invention.
As shown in fig. 1, the system 100 includes a server 2000, a terminal device 1000, and an electric bicycle 3000.
The server 2000 and the terminal device 1000, and the server 2000 and the electric bicycle 3000 may be communicatively connected through a network 4000. The electric bicycle 3000 and the server 2000, and the network 4000 through which the terminal device 1000 and the server 2000 communicate with each other may be the same or different. 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.
The server 2000 provides a service point for processes, databases, and communications facilities. The server 2000 may be a monolithic 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. The specific configuration of the server 2000 may include, but is not limited to, a processor 2100, a memory 2200, an interface device 2300, and a communication device 2400. Processor 2100 is used to execute computer programs written in an instruction set of an architecture such as x86, Arm, RISC, MIPS, SSE, and so on. The memory 2200 is, for example, a ROM (read only memory), a RAM (random access memory), a nonvolatile memory such as a hard disk, or the like. The interface device 2300 is, for example, a USB interface, a serial interface, a parallel interface, or the like. The communication device 2400 is, for example, capable of wired communication or wireless communication, and may include, for example, WiFi communication, bluetooth communication, 2G/3G/4G/5G communication, and the like.
As applied to an embodiment of the present invention, the memory 2200 of the server 2000 is configured to store a computer program for controlling the processor 2100 to operate so as to support the implementation of the method according to an 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.
It will be understood by those skilled in the art that the server 2000 may include other devices besides those shown in fig. 1, and is not limited thereto.
In this embodiment, the terminal device 1000 is, for example, a mobile phone, a portable computer, a tablet computer, a palmtop computer, a wearable device, or the like.
The terminal device 1000 is installed with a vehicle-using application client, and a user can operate the vehicle-using application client to achieve the purpose of using the electric bicycle 3000.
The terminal apparatus 1000 may include, but is not limited to, a processor 1100, a memory 1200, an interface device 1300, a communication device 1400, a display device 1500, an input device 1600, a speaker 1700, a microphone 1800, and the like. The processor 1100 may be a central processing unit CPU, a graphics processing unit GPU, a microprocessor MCU, or the like, and is configured to execute a computer program, and the computer program may be written by using an instruction set of architectures such as x86, Arm, RISC, MIPS, and SSE. 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, a USB interface, a serial interface, a parallel interface, and the like. The communication device 1400 is capable of wired communication using an optical fiber or a cable, or wireless communication, and specifically may include WiFi communication, bluetooth communication, 2G/3G/4G/5G communication, and the like. The display device 1500 is, for example, a liquid crystal display panel, a touch panel, or the like. The input device 1600 may include, for example, a touch screen, a keyboard, a somatosensory input, and the like. The speaker 1170 is used to output audio signals. The microphone 1180 is used to pick up audio signals.
As applied to the embodiments of the present invention, the memory 1200 of the terminal device 1000 is used to store a computer program for controlling the operation of the processor 1100 to support the implementation of the method according to the embodiments of the present invention, and how the computer program controls the operation of the processor is well known in the art and will not be described in detail herein. The terminal device 1000 may be installed with an intelligent operating system (e.g., Windows, Linux, android, IOS, etc.) and application software.
Those skilled in the art will appreciate that although a plurality of means of terminal device 1000 are shown in fig. 1, terminal device 1000 of embodiments of the present invention may refer to only some of the means therein, e.g., only processor 1100, memory 1200, etc.
The electric bicycle 3000 may be an electric bicycle shown in fig. 1, and is not limited thereto.
The electric bicycle 3000 may include, but is not limited to, a processor 3100, a memory 3200, an interface device 3300, a communication device 3400, a display device 3500, an input device 3600, and the like. The processor 3100 may be a microprocessor MCU or 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 serial interface, a parallel interface, and the like. The communication device 3400 can perform wired communication using an optical fiber or a cable, for example, or perform wireless communication, and specifically may include WiFi communication, bluetooth communication, 2G/3G/4G/5G communication, or the like. The display device 3500 may be, for example, a liquid crystal display panel, a touch panel, or the like. The input device 3600 may include, for example, a touch panel, a keyboard, or the like, and may input voice information through a microphone.
As applied to the present embodiment, the memory 3200 of the electric bicycle 3000 is used to store a computer program for controlling the processor 3100 to operate in support of the implementation of the method according to the present embodiment. 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 electric bicycle 3000 are illustrated in fig. 1, the present invention may relate only to some of the devices, for example, the electric bicycle 3000 relates only to the processor 3100, the memory 3200, and the communication device 3400.
It should be understood that although fig. 1 shows only one server 2000, terminal device 1000, and electric bicycle 3000, it is not meant to limit the number of each, and a plurality of servers 2000, a plurality of terminal devices 1000, and a plurality of electric bicycles 3000 may be included in the present system.
Various embodiments and examples according to the present invention are described below with reference to the accompanying drawings.
< method examples >
FIG. 2 is a flow diagram of a multi-person ride prevention processing method according to one embodiment. The main implementation body of the present embodiment is, for example, an electric bicycle 3000 in fig. 1 (for example, an electric control in an electric bicycle may be used), or may also be a server 2000.
It should be noted that the single-person riding in the present embodiment generally means that the electric bicycle currently carries a user who is ready to ride the electric bicycle at a higher riding speed, rather than the user riding the electric bicycle at the higher riding speed.
Similarly, the multi-user riding mode generally means that the electric bicycle currently bears a plurality of users, and the unmanned riding mode generally means that the electric bicycle does not bear any user.
If the multi-user riding condition exists, the multi-user riding prevention operation can be executed in time, so that the situation that a plurality of users ride the electric bicycle at a higher riding speed is avoided.
Based on the above, as shown in fig. 2, the method for preventing multiple people from riding in the present embodiment may include the following steps S210 to S240:
and step S210, determining whether the electric bicycle is in a single-person riding state or not according to the load value of the electric bicycle.
In this embodiment, the load value (which may be referred to as Weight _ rt) of the electric bicycle can be obtained in real time, and the change of the load value mainly depends on the number of users and the change of the Weight of the electric bicycle.
According to the embodiment, the change condition of the riding state of the electric bicycle is determined according to the load value acquired in real time.
Considering that each user sits on the electric bicycle in sequence, whether the electric bicycle is in a single-person riding state can be determined firstly. If the electric bicycle is in the single-person riding state, whether the electric bicycle is in the multi-person riding state or not is detected subsequently.
Preferably, the load value for determining the riding state of the electric bicycle may be obtained in the above manner in consideration of the floatability of the load value: and taking the average value of a plurality of continuous load values (such as 10 load values) acquired in real time for determining the riding state of the electric bicycle under the condition that the fluctuation of the load value acquired in real time is less than or equal to a corresponding set value (such as 5 kg).
For example, for 10 load values currently acquired, if the absolute value of the difference between the rear 9 load values and the first load value is not greater than 5kg, it can be determined that the fluctuation condition of the load values meets the requirement.
In this embodiment, the condition that the user rides the electric bicycle may be any one of the following:
case 1: unlocking and then loading the vehicle;
case 2: the lock is unlocked after the vehicle is loaded.
Based on this, it is possible to determine whether the electric bicycle is in the one-man riding state and whether the electric bicycle is ridden in case 1 or case 2 by comparing the real-time load value and the set load value.
As described above, in an embodiment of the present invention, the step S210 of determining whether the electric bicycle is in the single-person riding state according to the load value of the electric bicycle may include the following steps S2101 to S2102:
and S2101, comparing the load value of the electric bicycle with a first set load value to obtain a comparison result.
In case 1 above, the initially detected weight value does not relate to the user weight, whereas in case 2 above, the initially detected weight value relates to the user weight. In this way, the first set load value may be set in conjunction with a user's usual minimum weight, which may be set to 20kg, for example.
Step S2102, determining whether the electric bicycle is in a single riding state according to the comparison result.
For example, if the detected load value is greater than 20kg, it may be considered that the above-described case 2 is satisfied, and the electric bicycle is in the single-person riding state, whereas it may be considered that the above-described case 1 is satisfied, and the electric bicycle is in the unmanned riding state.
Next, the multi-rider riding prevention processing in the two cases will be described.
For the above case 1, the user unlocks the lock first and gets on the vehicle, i.e. generally, the user rides without a person first and then rides with a single person. Based on this, in an embodiment of the present invention, the step S2102 of determining whether the electric bicycle is in the single riding state according to the comparison result may include the following steps S2102a1 to S2102a 4:
step S2102a1, in a case that the comparison result indicates that the load value of the electric bicycle is less than or equal to the first set load value, determining that the electric bicycle is in the unmanned riding state.
In this step, if the real-time load value is less than or equal to the first set load value (for example, 20kg), it can be considered that the above condition 1 is met, that is, the user unlocks the lock first and gets on the vehicle, and is in the unmanned riding state at this time.
In step S2102a2, when it is determined that the electric bicycle is in the unmanned riding state, a third load value is obtained, where the third load value is used to indicate a load value of the electric bicycle in the unmanned riding state.
In the no-man riding state, a corresponding third load value is obtained, which can be recorded as Weight0, so that whether the first user gets on the vehicle or not can be accurately determined subsequently.
Step S2102a3, after determining that the electric bicycle is in the unmanned riding state, determines whether the electric bicycle has a fourth load value such that a difference of the fourth load value minus the third load value is greater than or equal to a set second load increment value.
In this step, if the fourth load value is provided, there is a Weight gain of the user based on Weight0, which indicates that the first user has got on the car. Thus, the second load increment value may be a user's usual minimum weight, such as 30 kg.
In step S2102a4, in a case where it is determined that the electric bicycle has the fourth load value, it is determined that the electric bicycle is in the single-person riding state.
In this step, when the fourth load value is provided, it is described that the first user has got on the vehicle, and is in the single riding state at this time.
For case 2 above, the user gets on the vehicle first and then unlocks, i.e. usually a person rides (may default to a single ride). Based on this, in an embodiment of the present invention, the step S2102 of determining whether the electric bicycle is in the single riding state according to the comparison result may include the following step S2102b 1:
in step S2102b1, when the comparison result indicates that the load value of the electric bicycle is greater than the first set load value, it is determined that the electric bicycle is in the single-person riding state.
In this step, if the real-time load value is greater than the first set load value (for example, 20kg), it may be considered that the above condition 2 is met, that is, the user unlocks after getting on the vehicle, and is in the riding state by someone at this time, and may be defaulted to the single riding state.
Considering above-mentioned 2 under, can have the special condition that many people got on the bus earlier and unblanked, so above-mentioned 2 condition can not acquiesce for the state of riding by one person, but confirm for the state of riding by one person to avoid the single wrong judgement problem of riding that this special condition brought.
Based on this, in an embodiment of the present invention, the step S2102 of determining whether the electric bicycle is in the single riding state according to the comparison result may include the following steps S2102c1 to S2102c 3:
step S2102c1, in a case that the comparison result indicates that the load value of the electric bicycle is greater than the first set load value, determining that the electric bicycle is in a manned state.
In this step, if the real-time load value is greater than the first set load value (for example, 20kg), it can be considered that the above condition 2 is met, that is, the user unlocks after getting on the vehicle, and is in a riding state by someone at this time.
Step S2102c2, determining whether a fifth load value is greater than or equal to a second set load value, wherein the fifth load value is used for representing the load value of the electric bicycle when the electric bicycle is in the manned state, and the second set load value is greater than or equal to twice the first load increment value.
And under the riding state of people, obtaining a corresponding fifth load value so as to accurately determine whether a plurality of people get on the vehicle first and then unlock the vehicle subsequently.
In this way, the second set weight value may be generally twice the first weight increment value, i.e., reflected in the generally minimum weight value for two users.
In step S2102c3, when the fifth load value is smaller than the second set load value, it is determined that the electric bicycle is in the single-person riding state.
If the fifth load value is smaller than the second set load value, that is, the load when a person rides is not greater than the common minimum weight values of the two users, it may be determined that the person riding state is the single-person riding state.
On the contrary, if the fifth load value is not less than the second set load value, that is, the load when a person rides is greater than the common minimum weight values of the two users, it indicates that there is a possibility that a plurality of users get on the vehicle first and then unlock the vehicle, or a high-weight user gets on the vehicle first and then unlocks the vehicle, or there is a possibility that a person rides but the weight of a single person is higher, so that it can be further determined whether the person riding state is the multi-person riding state.
Based on this, in an embodiment of the present invention, the method may further include the following steps S2102c4 to S2102c 5:
step S2102c4, in a case where the fifth load value is greater than or equal to the second set load value, determines whether the electric bicycle is in a state to be ridden all the time before the fifth load value is obtained.
In a practical manner, the detected fifth load value is large in the case where a plurality of people get on the vehicle first and then unlock the vehicle, or a high-weight user gets on the vehicle first and then unlocks the vehicle. And in the case where the high-weight user stops halfway, the detected fifth load value is also large.
Considering that there may be a situation that a plurality of people get on the vehicle first and then unlock the vehicle or a high-weight user gets on the vehicle first and then unlocks the vehicle, but there is usually no situation that the plurality of people normally ride the vehicle, but there is a situation that the high-weight user rides the vehicle by a single person, so that under the situation that the fifth load value is higher, it can be detected whether the electric bicycle is just unlocked before, rather than being in a normal riding state.
The fact that the fifth load value is higher is determined according to the previous speed of the electric bicycle and the time difference between the current time and the unlocking time, or the fact that a plurality of people get on the bicycle first and then unlock the bicycle, or the fact that a high-weight user gets on the bicycle first and then unlocks the bicycle, or the fact that the weight of a single person is higher. Wherein, the former corresponds to many people to ride, and the latter corresponds to single person to ride.
In step S2102c5, in a case where it is determined that the electric bicycle is not always in the to-be-ridden state until the fifth load value is obtained, it is determined that the electric bicycle is in the single-person-ridden state.
If the electric bicycle is not in the state of waiting to be ridden until the fifth load value is obtained, it can be considered as the fifth load value obtained when the user has been ridden before but stopped halfway at present. Since there is usually no case of normal riding by multiple persons, but there is a case of single riding by a high-weight user, it can be considered that the fifth load value is higher due to the single weight being higher, that is, the electric bicycle is in the single riding state.
If the electric bicycle is always in the state of waiting to be ridden before the fifth load value is obtained, the fifth load value can be obtained under the condition that a plurality of people get on the bicycle first and then unlock the bicycle, or under the condition that a high-weight user gets on the bicycle first and then unlocks the bicycle.
In order to distinguish the situation that a plurality of people get on the bicycle first and then unlock the bicycle and the situation that a high-weight user gets on the bicycle first and then unlocks the bicycle, corresponding prompt information can be output to inform the user that the problem that the plurality of people ride the bicycle but the electric bicycle cannot be normally used, and the user is prompted to get back to the seat again after leaving the seat.
If the user with high weight gets on the vehicle firstly and then unlocks the vehicle, the user can detect that the electric bicycle is in the unmanned riding state and the single riding state in sequence in the next processing period in the process that the user leaves the seat according to the prompt and returns to the seat again, and therefore the user can normally use the electric bicycle.
And to the condition that the lock is unlocked after the many people get on the car earlier, then leave the seat and get back to the in-process of seat again according to the suggestion at each user, can detect that electric bicycle is in unmanned state of riding, single state of riding and many people state of riding in proper order in next processing cycle, so this a plurality of users can not normally use electric bicycle.
Based on this, in an embodiment of the present invention, the method may further include the following step S2102c 6:
in step S2102c6, when it is determined that the electric bicycle is still in the state of waiting to be ridden before the fifth load value is obtained, setting prompt information is output to prompt the user to perform an operation of leaving the seat and returning to the seat.
Based on the realization of this embodiment, can accurately distinguish the condition that many people got the bus earlier and unblanked after unblanking and the condition that the high weight user got the bus earlier and unblanked, not only can prevent many people effectively and ride in order to guarantee the user safety of riding, still can support high weight user normal use electric bicycle, user experience is good.
Step S220, when it is determined that the electric bicycle is in the single-person riding state, obtaining a first load value, where the first load value is used to represent a load value of the electric bicycle in the single-person riding state.
Under single state of riding, need further judge whether have many people condition of riding. If a subsequent user gets on the vehicle, the load value is increased accordingly, and the amount of increase is generally reflected in the weight value of the user. In addition, the electric bicycle is in a multi-person riding state.
On the other hand, if there is no increase, if the increase amount is small and is less than the minimum weight of one user, it is considered that there is no subsequent user getting on the vehicle. In addition, the electric bicycle is still in the single riding state.
In this embodiment, the load increase amount may be determined based on the load values before and after the load increase. In this way, in the single riding state, the weight value in this state, that is, the first weight value, may be referred to as weight 1.
Step S230, after determining that the electric bicycle is in the single-person riding state, determining whether the electric bicycle has a second load value, such that a difference value between the second load value and the first load value is greater than or equal to a set first load increment value.
In order to accurately detect whether a user gets on the vehicle again, the amount of increase in the load before and after the increase in the load can be generally set to the expected minimum weight value of one user. I.e., the first load increment value may be 30 kg.
In this embodiment, after it is determined that the single person rides, the real-time load value continues to be detected to determine whether a difference between the real-time load value and the load value in the single person riding state is not less than the first load increment value. If so, the situation that a person gets on the vehicle again is explained, and therefore the situation that multiple persons ride exists, otherwise, the situation that no person gets on the vehicle again is explained, and the person is still in the single riding state.
It is feasible that the average value of consecutive 10 load values may be taken as the second load value when the load value fluctuation is not more than 5 kg. Therefore, accurate detection of the load increment condition can be guaranteed.
And step S240, executing the set multi-person riding prevention operation under the condition that the electric bicycle is determined to have the second load value.
In this step, if electric bicycle has the second load value, can think that there are many people to ride (usually two people ride) the condition, so can carry out and prevent many people and ride the operation, for example can give electric bicycle's automatically controlled issue an order to cut off electric bicycle's power output, thereby avoid many people to ride same electric bicycle, guarantee the safety of riding.
Otherwise, if the second load value is not available, the current riding user can normally ride the electric bicycle.
From the above, the embodiment provides a processing method for preventing multiple people from riding, and the method determines whether the electric bicycle is in a single-person riding state according to the load value of the electric bicycle; under the condition that the electric bicycle is determined to be in the single-person riding state, a first load value is obtained, and the first load value is used for representing the load value of the electric bicycle in the single-person riding state; after determining that the electric bicycle is in the single-person riding state, determining whether the electric bicycle has a second load value, wherein the difference value of the second load value minus the first load value is larger than or equal to a set first load increment value; and executing the set multi-person riding preventing operation under the condition that the electric bicycle is determined to have the second load value. This embodiment detects the load change through the gradation, confirms whether have many people the condition of riding, and this implementation mode still can realize the accurate detection of riding to many people based on the weight difference between the user, and this implementation mode detects the load precision requirement not high, so can have the accurate effect of riding of preventing many people.
The embodiment can have the effect of preventing multiple people from riding, and can realize fault self-detection of the load sensing function according to the load value so as to ensure the accuracy of load detection.
Based on this, in an embodiment of the present invention, the method may further include the following steps a1 to A3:
step a1, in case the comparison result indicates that the load value of the electric bicycle is less than or equal to the first set load value, determining whether the speed of the electric bicycle is greater than or equal to a first set speed.
Considering that the load value should not be too low when the vehicle is in normal riding, the vehicle speed may be further detected when a lower load value is detected.
It is feasible that the first set vehicle speed may be set according to a regular riding speed of the electric bicycle, for example, to 20 km/h.
Step a2, in a case where it is determined that the vehicle speed of the electric bicycle is greater than or equal to the first set vehicle speed, determines that the load value sensing function of the electric bicycle is in a failure state.
Based on the speed of the electric bicycle, it may be determined whether the electric bicycle is in a normal riding state. If the load value detected in the normal riding state is low, it can be considered that the load value sensing function of the electric bicycle is in a failure state.
For example, in the present embodiment, when the vehicle speed is greater than 20km/h, if the load value fluctuation is small, it is detected that the average value of more than 10 consecutive load values matches-5 kg < weight _ rt <20kg, and it can be determined that the load value sensing function is in the failure state.
And step A3, executing the step of determining whether the electric bicycle is in the single-person riding state according to the comparison result under the condition that the speed of the electric bicycle is determined to be less than the first set speed.
If the vehicle speed is small, the situation that a user unlocks firstly and then gets on the vehicle can be generally understood, at the moment, the load value sensing function is considered to be fault-free, and the multi-person riding prevention processing can be continuously executed.
In this embodiment, for the case that the motor is suspended to twist the handle, the load sensing function may be determined as a non-failure state.
For the condition that the motor is suspended and the handle is twisted, under the condition, the user lifts the rear wheel by hand to enable the vehicle weight to be on the hand of the user, the detected weight is a negative vehicle weight value, and the user twists the handle simultaneously to enable the vehicle speed to be at a normal riding speed.
Based on this, in one embodiment of the present invention, the method further comprises the following steps B1 to B2:
and step B1, in the case that the comparison result shows that the load value of the electric bicycle is less than the first set load value, determining whether the speed of the electric bicycle is greater than or equal to a second set speed, and determining whether the difference value between the load value of the electric bicycle and a third set load value is in a set deviation range, wherein the third set load value is a negative value of the self weight of the electric bicycle.
It is feasible that the second set vehicle speed may be set according to a regular riding speed of the electric bicycle, for example, to 20 km/h.
Under the condition that the load value is small, whether the load value is a negative value of the self weight of the vehicle body or not can be judged, and the vehicle speed can be judged, so that whether the condition that the motor is suspended in the air to twist the handle exists or not can be determined.
And step B2, determining that the load value sensing function of the electric bicycle is in a non-failure state when the speed of the electric bicycle is greater than or equal to the second set speed and the difference value falls within the deviation range.
For example, in the present embodiment, when the vehicle speed is greater than 20km/h, if the load value weight _ rt is about-xkg (x is the vehicle body weight), the motor may be suspended and twisted, and the load value sensing function is in a non-failure state at this time.
Considering under the normal riding state, the personnel increase and decrease condition can not exist usually, so whether many people ride can no longer be detected after single normal riding, and whether many people ride is repeatedly detected only before single not riding normally.
Based on this, in one embodiment of the present invention, before the determining whether the electric bicycle has the second load value, the method further includes: determining whether the speed of the electric bicycle is less than or equal to a set first speed threshold value; the step of determining whether the electric bicycle has a second load value is performed in a case where a vehicle speed of the electric bicycle is less than or equal to the first vehicle speed threshold.
In this embodiment, after determining that electric bicycle is in single state of riding to and before electric bicycle begins to ride normally, can repeat whether many people ride.
After the electric bicycle starts to ride normally, whether a plurality of persons ride is not detected any more, so that the data processing pressure is reduced. In this way, in the present embodiment, when the vehicle speed of the electric bicycle is greater than the first vehicle speed threshold, the current flow is ended.
In consideration of the fact that the number of people is not increased or decreased in the normal riding state, the multi-person riding prevention processing can be performed only when the vehicle speed is low (for example, the vehicle speed is zero), for example, when the vehicle is unlocked or parked halfway.
Based on this, in one embodiment of the present invention, the method further comprises: determining whether the speed of the electric bicycle is less than or equal to a set second speed threshold value; and executing the step of determining whether the electric bicycle is in the single-person riding state according to the load value of the electric bicycle when the speed of the electric bicycle is less than or equal to the second speed threshold.
According to the embodiment, the starting condition of multi-person riding prevention processing is limited, so that the data processing amount can be reduced as much as possible, and meanwhile, the accurate monitoring of multi-person riding prevention is guaranteed.
The implementation mode for detecting the riding of multiple persons in a grading manner based on the embodiment is lower in detection precision with the load value, and the accuracy of preventing the riding of multiple persons can be further improved by the higher detection precision of the load value.
For the existing implementation mode that a load sensor is installed at a rear wheel damping spring rod to detect a load value, the detection precision of the load value is not high, because in the existing implementation mode, the load value is related to the position of a person sitting on a vehicle and is also influenced by various factors such as a frame and a damping spring, and therefore each vehicle is generally required to be calibrated independently during production.
Based on this, in order to improve the detection accuracy of the load value, the load value can be detected based on the gravity induction motor. Specifically, a resistance strain gauge can be arranged on a motor shaft connected with a driving wheel hub of the electric bicycle, and a load value can be accurately detected based on the influence of load difference on the voltage at two ends of the resistance strain gauge.
In this implementation, because the user sits at the back seat usually, then the position that the user sat on the vehicle is less to the influence of load value inspection precision, and this implementation receives factors such as frame influence less, so compare with current implementation and can have better load and detect the precision. Therefore, the implementation mode does not need to separately calibrate the whole vehicle for each vehicle during production.
Based on the above, in an embodiment of the present invention, referring to fig. 3, the load value of the electric bicycle is obtained by: for each resistance strain gauge b arranged on a motor shaft a connected with a driving wheel hub of the electric bicycle, converting the deformation of the motor shaft a into a corresponding voltage signal through the resistance strain gauge b; processing the voltage signal output by each resistance strain gauge b through an amplifying circuit c arranged on the electric bicycle to obtain a corresponding voltage value; converting the voltage value output by the amplifying circuit c into a corresponding load value; and obtaining the load value of the electric bicycle according to the load value obtained by conversion.
In this embodiment, referring to fig. 3, the resistance strain gauge can be placed on the motor shaft connected to the hub of the driving wheel. When a person sits on the saddle, the weight is mainly applied to the rear wheels, the motor shaft can generate deformation of different degrees along with the weight change on the saddle, the deformation can be converted into corresponding voltage signals based on the resistance strain gauges, the voltage signals can be transmitted to the electric controller through the amplifying circuit, and the voltage values are converted into corresponding load values through the electric controller.
Preferably, two resistance strain gauges may be provided, referring to fig. 3, which are respectively provided on the motor shaft at both sides of the hub.
On the one hand, through setting up two resistance strain gauges, can get the average value to the load value that two resistance strain gauges correspond to as electric bicycle's load value, in order to eliminate the data error.
On the other hand, a wheatstone bridge may be formed based on two resistive strain gauges, each in series with a fixed size resistor. When the resistance strain gauge deforms correspondingly due to load change, the resistance value of the resistance strain gauge changes correspondingly, the current flowing through the two bridge arms changes accordingly, and then the change value of the voltage at the two ends of the resistance strain gauge can be calculated according to the change of the current. The sensitivity and the precision of the detection method are higher than those of the method for directly calculating the voltage of the single resistance strain gauge.
So, this embodiment can realize the accurate detection of load value, is of value to preventing the accurate execution that many people ridden. Through detection, the load value detection with the vehicle precision error of +/-5 kg can be realized under the condition that each vehicle is not calibrated independently.
In summary, the processing method for preventing multiple people from riding provided by the embodiment at least has the following advantages:
(1) through detecting the load in grades, the load change that detects based on in grades can judge many people condition of riding more accurately.
(2) Under the condition that each vehicle is not calibrated independently, the load value detection of the whole vehicle precision error +/-5 kg is realized.
(3) The self-detection of the load value sensing function of the electric bicycle can be realized.
< example >
Fig. 4 is a flowchart illustrating a multi-person riding prevention processing method according to an embodiment. As shown in fig. 4, the method of this embodiment may include the following steps S301 to S309:
step S301, comparing the load value of the electric bicycle with a first set load value according to the load value of the electric bicycle to obtain a comparison result, and executing step S302 or step S306.
Step S302, determining that the electric bicycle is in the unmanned riding state when the comparison result indicates that the load value of the electric bicycle is less than or equal to the first set load value.
Step S303, acquiring a third load value under the condition that the electric bicycle is determined to be in the unmanned riding state, wherein the third load value is used for representing the load value of the electric bicycle in the unmanned riding state.
Step S304, after determining that the electric bicycle is in the unmanned riding state, determining whether the electric bicycle has a fourth load value, so that the difference value of the fourth load value minus the third load value is larger than or equal to a set second load increment value.
Step S305, in a case where it is determined that the electric bicycle has the fourth load value, determining that the electric bicycle is in a single-person riding state, and performing step S307.
Step S306, if the comparison result indicates that the load value of the electric bicycle is greater than the first set load value, determining that the electric bicycle is in the single-person riding state, and executing step S307.
Step S307, when it is determined that the electric bicycle is in the single-person riding state, obtaining a first load value, where the first load value is used to represent a load value of the electric bicycle in the single-person riding state.
Step S308, after the electric bicycle is determined to be in the single riding state, determining whether the electric bicycle has a second load value, so that the difference value of the second load value minus the first load value is larger than or equal to a set first load increment value.
And step S309, executing the set multi-person riding prevention operation under the condition that the electric bicycle is determined to have the second load value.
< apparatus embodiment >
Fig. 5 is a functional block diagram of a multi-person ride prevention processing device 400 according to one embodiment. As shown in fig. 5, the multi-person riding prevention processing device 400 may include a first determining module 410, an obtaining module 420, a second determining module 430, and a processing module 440.
The multi-person riding prevention processing device 400 may be the electric bicycle 3000 or the server 2000 of fig. 1.
The first determining module 410 is configured to determine whether the electric bicycle is in a single-person riding state according to a load value of the electric bicycle. The obtaining module 420 is configured to obtain a first load value when it is determined that the electric bicycle is in the single riding state, where the first load value is used to represent a load value of the electric bicycle when the electric bicycle is in the single riding state. The second determining module 430 is configured to determine whether the electric bicycle has a second load value after determining that the electric bicycle is in the single-person riding state, so that a difference value of the second load value minus the first load value is greater than or equal to a set first load increment value. The processing module 440 is configured to execute a set multi-user riding prevention operation when it is determined that the electric bicycle has the second load value.
This embodiment detects the load change through the gradation, confirms whether have many people the condition of riding, and this implementation mode still can realize the accurate detection of riding to many people based on the weight difference between the user, and this implementation mode detects the load precision requirement not high, so can have the accurate effect of riding of preventing many people.
In an embodiment of the present invention, the first determining module 410 is configured to compare a load value of the electric bicycle with a first set load value to obtain a comparison result; and determining whether the electric bicycle is in a single riding state or not according to the comparison result.
In an embodiment of the present invention, the first determining module 410 is configured to determine that the electric bicycle is in an unmanned riding state if the comparison result indicates that the load value of the electric bicycle is less than or equal to the first set load value; under the condition that the electric bicycle is determined to be in the unmanned riding state, obtaining a third load value, wherein the third load value is used for representing the load value of the electric bicycle in the unmanned riding state; after determining that the electric bicycle is in the unmanned riding state, determining whether the electric bicycle has a fourth load value, so that the difference value of the fourth load value minus the third load value is larger than or equal to a set second load increment value; determining that the electric bicycle is in a single-person riding state in a case where it is determined that the electric bicycle has the fourth load value.
In an embodiment of the present invention, the first determining module 410 is configured to determine that the electric bicycle is in the single-riding state if the comparison result indicates that the load value of the electric bicycle is greater than the first set load value.
In an embodiment of the present invention, the first determining module 410 is configured to determine that the electric bicycle is in a manned state if the comparison result indicates that the load value of the electric bicycle is greater than the first set load value; determining whether a fifth load value is greater than or equal to a second set load value, wherein the fifth load value is used for representing the load value of the electric bicycle when the electric bicycle is in a riding state, and the second set load value is greater than or equal to twice the first load increment value; and determining that the electric bicycle is in a single-person riding state under the condition that the fifth load value is smaller than the second set load value.
In one embodiment of the present invention, the multi-person riding prevention processing device 400 may further include: a first module, configured to determine whether the electric bicycle is always in a state to be ridden before the fifth load value is obtained when the fifth load value is greater than or equal to the second set load value; and determining that the electric bicycle is in the single-person riding state under the condition that the electric bicycle is not always in the waiting riding state before the fifth load value is obtained.
In one embodiment of the present invention, the multi-person riding prevention processing device 400 may further include: and the second module is used for outputting set prompt information to prompt a user to execute actions of leaving a seat and returning to the seat before determining that the electric bicycle is in a state of waiting to be ridden all the time before the fifth load value is obtained.
In one embodiment of the present invention, the multi-person riding prevention processing device 400 may further include: the third module is used for determining whether the speed of the electric bicycle is greater than or equal to a first set speed or not under the condition that the comparison result shows that the load value of the electric bicycle is less than or equal to the first set load value; determining that the load value sensing function of the electric bicycle is in a fault state under the condition that the speed of the electric bicycle is determined to be greater than or equal to the first set speed; and under the condition that the speed of the electric bicycle is determined to be less than the first set speed, triggering the first determining module 410 to execute the step of determining whether the electric bicycle is in the single-person riding state according to the comparison result.
In one embodiment of the present invention, the multi-person riding prevention processing device 400 may further include: a fourth module, configured to determine whether the speed of the electric bicycle is greater than or equal to a second set speed and whether a difference between the load value of the electric bicycle and a third set load value falls within a set deviation range, where the comparison result indicates that the load value of the electric bicycle is less than the first set load value, where the third set load value is a negative value of the self weight of the electric bicycle; and determining that the load value sensing function of the electric bicycle is in a non-fault state under the condition that the speed of the electric bicycle is greater than or equal to the second set speed and the difference value falls within the deviation range.
In one embodiment of the invention, the second determination module 430 is used for determining whether the speed of the electric bicycle is less than or equal to a set first speed threshold; the step of determining whether the electric bicycle has a second load value is performed in a case where a vehicle speed of the electric bicycle is less than or equal to the first vehicle speed threshold.
In one embodiment of the invention, the first determination module 410 is used for determining whether the speed of the electric bicycle is less than or equal to a set second speed threshold; and executing the step of determining whether the electric bicycle is in the single-person riding state according to the load value of the electric bicycle when the speed of the electric bicycle is less than or equal to the second speed threshold.
In one embodiment of the present invention, the load value of the electric bicycle is obtained by: for each resistance strain gauge arranged on a motor shaft connected with a driving wheel hub of the electric bicycle, converting the deformation of the motor shaft into a corresponding voltage signal through the resistance strain gauge; processing the voltage signal output by each resistance strain gauge through an amplifying circuit arranged on the electric bicycle to obtain a corresponding voltage value; converting the voltage value output by the amplifying circuit into a corresponding load value; and obtaining the load value of the electric bicycle according to the load value obtained by conversion.
Fig. 6 is a schematic diagram of a hardware configuration of an electric bicycle 500 according to another embodiment.
As shown in fig. 6, the electric bicycle 500 comprises a processor 510 and a memory 520, the memory 520 is used for storing executable computer programs, and the processor 510 is used for executing the method according to any of the above method embodiments according to the control of the computer programs.
The electric bicycle 500 may be the electric bicycle 3000 of fig. 1.
The modules of the electric bicycle 500 can be realized by the processor 510 executing the computer program stored in the memory 520 in the present embodiment, or can be realized by other circuit configurations, which is not limited herein.
Fig. 7 is a hardware configuration diagram of a server 600 according to another embodiment.
As shown in fig. 7, the server 600 comprises a processor 610 and a memory 620, the memory 620 being adapted to store an executable computer program, the processor 610 being adapted to perform a method according to any of the above method embodiments, under control of the computer program.
The server 600 may be the server 2000 in fig. 1.
The modules of the server 600 may be implemented by the processor 610 in the present embodiment executing the computer program stored in the memory 620, or may be implemented by other circuit structures, which is not limited herein.
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 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, by software, and 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 (16)

1. A processing method for preventing multiple people from riding is characterized by comprising the following steps:
determining whether the electric bicycle is in a single-person riding state or not according to the load value of the electric bicycle;
under the condition that the electric bicycle is determined to be in the single-person riding state, acquiring a first load value, wherein the first load value is used for representing the load value of the electric bicycle in the single-person riding state;
after determining that the electric bicycle is in the single-person riding state, determining whether the electric bicycle has a second load value, wherein the difference value of the second load value minus the first load value is larger than or equal to a set first load increment value;
and executing the set multi-person riding preventing operation under the condition that the electric bicycle is determined to have the second load value.
2. The method of claim 1, wherein determining whether the electric bicycle is in the single-person riding state according to the load value of the electric bicycle comprises:
comparing the load value of the electric bicycle with a first set load value to obtain a comparison result;
and determining whether the electric bicycle is in a single riding state or not according to the comparison result.
3. The method of claim 2, wherein determining whether the electric bicycle is in the single-person riding state according to the comparison result comprises:
determining that the electric bicycle is in an unmanned riding state under the condition that the comparison result shows that the load value of the electric bicycle is smaller than or equal to the first set load value;
under the condition that the electric bicycle is determined to be in the unmanned riding state, obtaining a third load value, wherein the third load value is used for representing the load value of the electric bicycle in the unmanned riding state;
after determining that the electric bicycle is in the unmanned riding state, determining whether the electric bicycle has a fourth load value, so that the difference value of the fourth load value minus the third load value is larger than or equal to a set second load increment value;
determining that the electric bicycle is in a single-person riding state in a case where it is determined that the electric bicycle has the fourth load value.
4. The method of claim 2, wherein determining whether the electric bicycle is in the single-person riding state according to the comparison result comprises:
and determining that the electric bicycle is in the single-person riding state when the comparison result shows that the load value of the electric bicycle is greater than the first set load value.
5. The method of claim 2, wherein determining whether the electric bicycle is in the single-person riding state according to the comparison result comprises:
determining that the electric bicycle is in a riding state by people when the comparison result shows that the load value of the electric bicycle is greater than the first set load value;
determining whether a fifth load value is greater than or equal to a second set load value, wherein the fifth load value is used for representing the load value of the electric bicycle when the electric bicycle is in a riding state, and the second set load value is greater than or equal to twice the first load increment value;
and determining that the electric bicycle is in a single-person riding state under the condition that the fifth load value is smaller than the second set load value.
6. The method of claim 5, further comprising:
determining whether the electric bicycle is always in a state of waiting to be ridden before the fifth load value is obtained, if the fifth load value is greater than or equal to the second set load value;
and determining that the electric bicycle is in the single-person riding state under the condition that the electric bicycle is not always in the waiting riding state before the fifth load value is obtained.
7. The method of claim 6, further comprising:
and outputting set prompt information to prompt a user to execute an action of leaving a seat and then returning to the seat before determining that the electric bicycle is in the state of waiting to be ridden all the time before the fifth load value is obtained.
8. The method of claim 2, further comprising:
determining whether the speed of the electric bicycle is greater than or equal to a first set speed under the condition that the comparison result shows that the load value of the electric bicycle is less than or equal to the first set load value;
determining that the load value sensing function of the electric bicycle is in a fault state under the condition that the speed of the electric bicycle is determined to be greater than or equal to the first set speed;
and under the condition that the speed of the electric bicycle is determined to be less than the first set speed, executing the step of determining whether the electric bicycle is in the single-person riding state or not according to the comparison result.
9. The method of claim 2, further comprising:
in the case that the comparison result indicates that the load value of the electric bicycle is less than the first set load value, determining whether the speed of the electric bicycle is greater than or equal to a second set speed and determining whether the difference value between the load value of the electric bicycle and a third set load value falls within a set deviation range, wherein the third set load value is a negative value of the self weight of the electric bicycle;
and determining that the load value sensing function of the electric bicycle is in a non-fault state under the condition that the speed of the electric bicycle is greater than or equal to the second set speed and the difference value falls within the deviation range.
10. The method of claim 1, wherein prior to the determining whether the electric bicycle has a second load value, the method further comprises:
determining whether the speed of the electric bicycle is less than or equal to a set first speed threshold value;
the step of determining whether the electric bicycle has a second load value is performed in a case where a vehicle speed of the electric bicycle is less than or equal to the first vehicle speed threshold.
11. The method of claim 1, further comprising:
determining whether the speed of the electric bicycle is less than or equal to a set second speed threshold value;
and executing the step of determining whether the electric bicycle is in the single-person riding state according to the load value of the electric bicycle when the speed of the electric bicycle is less than or equal to the second speed threshold.
12. The method of claim 1, wherein the load value of the electric bicycle is obtained by:
for each resistance strain gauge arranged on a motor shaft connected with a driving wheel hub of the electric bicycle, converting the deformation of the motor shaft into a corresponding voltage signal through the resistance strain gauge;
processing the voltage signal output by each resistance strain gauge through an amplifying circuit arranged on the electric bicycle to obtain a corresponding voltage value;
converting the voltage value output by the amplifying circuit into a corresponding load value;
and obtaining the load value of the electric bicycle according to the load value obtained by conversion.
13. A processing apparatus for preventing riding by multiple persons, comprising:
the first determination module is used for determining whether the electric bicycle is in a single-person riding state or not according to the load value of the electric bicycle;
the obtaining module is used for obtaining a first load value under the condition that the electric bicycle is determined to be in the single-person riding state, wherein the first load value is used for representing the load value of the electric bicycle in the single-person riding state;
the second determination module is used for determining whether the electric bicycle has a second load value after determining that the electric bicycle is in the single-person riding state, so that the difference value of subtracting the first load value from the second load value is larger than or equal to a set first load increment value; and the number of the first and second groups,
and the processing module is used for executing the set multi-person riding prevention operation under the condition that the electric bicycle is determined to have the second load value.
14. An electric bicycle comprising a memory for storing a computer program and a processor; the processor is adapted to execute the computer program to implement the method according to any of claims 1-12.
15. A server comprising a memory and a processor, the memory for storing a computer program; the processor is adapted to execute the computer program to implement the method according to any of claims 1-12.
16. A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the method according to any one of claims 1-12.
CN202210530081.0A 2022-05-16 2022-05-16 Multi-user riding prevention processing method and device, electric bicycle and server Withdrawn CN114852229A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210530081.0A CN114852229A (en) 2022-05-16 2022-05-16 Multi-user riding prevention processing method and device, electric bicycle and server

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210530081.0A CN114852229A (en) 2022-05-16 2022-05-16 Multi-user riding prevention processing method and device, electric bicycle and server

Publications (1)

Publication Number Publication Date
CN114852229A true CN114852229A (en) 2022-08-05

Family

ID=82637433

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210530081.0A Withdrawn CN114852229A (en) 2022-05-16 2022-05-16 Multi-user riding prevention processing method and device, electric bicycle and server

Country Status (1)

Country Link
CN (1) CN114852229A (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108198428A (en) * 2017-12-20 2018-06-22 王嘉琛 Lorry intercepting system and hold-up interception method
CN110843967A (en) * 2019-12-10 2020-02-28 北京阿帕科蓝科技有限公司 Electric bicycle and multi-person riding avoidance method and system based on same
CN113418588A (en) * 2021-06-15 2021-09-21 北京阿帕科蓝科技有限公司 Multi-person riding detection method and system based on shared bicycle
CN114162241A (en) * 2021-11-16 2022-03-11 摩拜(北京)信息技术有限公司 Multi-person riding detection method, device and system for electric bicycle and electronic equipment

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108198428A (en) * 2017-12-20 2018-06-22 王嘉琛 Lorry intercepting system and hold-up interception method
CN110843967A (en) * 2019-12-10 2020-02-28 北京阿帕科蓝科技有限公司 Electric bicycle and multi-person riding avoidance method and system based on same
CN113418588A (en) * 2021-06-15 2021-09-21 北京阿帕科蓝科技有限公司 Multi-person riding detection method and system based on shared bicycle
CN114162241A (en) * 2021-11-16 2022-03-11 摩拜(北京)信息技术有限公司 Multi-person riding detection method, device and system for electric bicycle and electronic equipment

Similar Documents

Publication Publication Date Title
KR102024932B1 (en) Service providing system comprising service providing device and user profile server and service providing method thereof
US10987979B2 (en) Processing of automobile data on a smartphone
CN111976881B (en) Overload-proof electric bicycle
US10217299B2 (en) Vehicular information communication system and vehicular information communication method
CN111063120A (en) Control method of electric bicycle, electric bicycle and electric bicycle system
CN112298070A (en) Pedal fault diagnosis method and device
CN114162241B (en) Multi-person riding detection method, device and system of electric bicycle and electronic equipment
CN116661726A (en) Actionable event determination based on vehicle diagnostic data
CN110077421A (en) Processing method, processing unit and the Vehicle touch screen of vehicle touch-control incoming event
CN113418588A (en) Multi-person riding detection method and system based on shared bicycle
CN112581660A (en) Electric bicycle, use control method thereof and server
CN114044077B (en) Overload detection method and device for electric bicycle and electric bicycle
CN114852229A (en) Multi-user riding prevention processing method and device, electric bicycle and server
CN113650712B (en) Electric bicycle control method and device and electric bicycle
JP7405335B2 (en) Automatic driving vehicle detection method, device, electronic device and readable storage medium
WO2013108381A1 (en) Information processing device and information processing method
CN113253702B (en) Vehicle fault indication method and device
CN115465398A (en) Scooter, control method and device of scooter and storage medium
CN111915402B (en) Shared vehicle state detection method and device
CN114852061A (en) Parking method, parking device, electronic equipment and storage medium
CN102991417A (en) Detection device for detecting right foot state of driver, detection method and automobile
CN113650714B (en) Electric bicycle starting control method and device, electric bicycle and storage medium
JP2021126173A (en) Drunkenness forecasting system, vehicle including drunkenness forecasting system, and control method and program of drunkenness forecasting system
CN114061719A (en) User weight measuring method and device and electric bicycle
CN105438176B (en) State of motion of vehicle determination methods, device and ignition control method and system

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
WW01 Invention patent application withdrawn after publication
WW01 Invention patent application withdrawn after publication

Application publication date: 20220805