User weight measurement method, device and electric bicycle

The user's weight is calculated by combining the acceleration and current values ​​of the electric bicycle with the preset model, which solves the problem of inaccurate measurement by the load sensor, achieves fast and accurate weight measurement and violation detection, and improves riding safety.

CN114061719BActive Publication Date: 2024-10-01MOBIKE (BEIJING) INFORMATION TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202111241219.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-10-25
Publication Date
2024-10-01
Estimated Expiration
2041-10-25

AI Technical Summary

Technical Problem

In the existing technology, the method of using an electric bicycle to measure the user's weight through a load sensor has the problems of high cost and low accuracy. Misjudgment is prone to occur especially when riding with a load or on uphill and downhill sections.

Method used

By obtaining the acceleration value and motor current value of the electric bicycle, the user's weight is calculated using the preset weight measurement model. The thrust and gravity are calculated based on the road slope, resistance and vehicle mass, and then the user's weight is determined and sent to the server for illegal vehicle use detection. .

Benefits of technology

It can quickly and accurately measure the user's weight without increasing costs, reducing the misjudgment rate and improving riding safety.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114061719B_ABST
    Figure CN114061719B_ABST
Patent Text Reader

Abstract

The embodiments of the present application provide a method, device and electric bicycle for measuring user weight, including: obtaining an acceleration value of the electric bicycle between a first moment and a second moment; and obtaining current values ​​corresponding to the motor of the electric bicycle at the first moment and the second moment; determining target weight data of a user using the electric bicycle through a preset weight measurement model based on the acceleration value and the current value, wherein the preset weight measurement model is a mathematical model for measuring the user's weight obtained based on the force relationship of the electric bicycle.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present disclosure relate to the technical field of shared vehicles, and more specifically, to a method and device for measuring user weight and an electric bicycle. The present disclosure also relates to a method and server for detecting illegal vehicle use. Background Art

[0002] Traveling through shared vehicles, especially shared electric bicycles, has become increasingly important in our daily lives.

[0003] At present, in order to ensure the safety of users, relevant regulations stipulate that electric bicycles are not allowed to carry passengers. Therefore, in order to detect whether there are multiple users riding electric bicycles, load sensors are generally installed on electric bicycles to obtain the weight of users using electric bicycles through load sensors, and based on the weight, it is determined whether there is a violation of multiple people riding electric bicycles.

[0004] However, the method of measuring the user's weight through a load sensor has a cost problem on the one hand; on the other hand, this method also has the problem of low accuracy. For example, when the user is riding with a load or when the user is riding an electric bicycle on uphill or downhill sections, this method may have the problem of misjudgment. Summary of the invention

[0005] One object of the present disclosure is to provide a new technical solution for a user to measure the user's weight, so that an electric bicycle can accurately measure the user's weight without increasing the cost.

[0006] According to a first aspect of the present disclosure, an embodiment of a method for measuring a user's weight is provided, which is applied to an electric bicycle, comprising:

[0007] Obtaining the acceleration value of the electric bicycle between the first moment and the second moment; and,

[0008] Obtaining current values ​​corresponding to the motor of the electric bicycle at the first moment and the second moment;

[0009] According to the acceleration value and the current value, the target weight data of the user using the electric bicycle is determined through a preset weight measurement model, wherein the preset weight measurement model is a mathematical model for measuring the user's weight obtained according to the force relationship of the electric bicycle.

[0010] Optionally, determining target weight data of a user using the electric bicycle according to the acceleration value and the current value by using a preset weight measurement model includes:

[0011] Obtaining the slope value of the road surface on which the electric bicycle travels between the first moment and the second moment, the radius of the rear wheel of the electric bicycle, the resistance value of the resistance encountered by the electric bicycle on the road surface, and the vehicle mass of the electric bicycle;

[0012] Obtaining a thrust value of the thrust received by the electric bicycle between the first moment and the second moment according to the current value and the rear wheel radius;

[0013] According to the slope value, obtaining a gravity value of the gravity to which the electric bicycle is subjected between the first moment and the second moment;

[0014] Obtaining a first difference between the thrust value and the resistance value, and obtaining a sum of the gravity value and the acceleration value;

[0015] Obtaining a ratio of the first difference to the sum, and using the ratio and a second difference of the vehicle mass as first weight data of the user;

[0016] The target weight data is determined according to the first weight data.

[0017] Optionally, determining the target weight data according to the first weight data includes:

[0018] Obtaining second weight data of the user according to the acceleration value and preset mapping data, wherein the preset mapping data is data reflecting a corresponding relationship between the acceleration value and the user's weight;

[0019] The target weight data is determined according to the first weight data and the second weight data.

[0020] Optionally, determining the target weight data according to the first weight data and the second weight data includes:

[0021] The average of the first weight data and the second weight data is used as the target weight data.

[0022] Optionally, after obtaining the target weight data, the method further includes:

[0023] The target weight data is sent to a server.

[0024] Optionally, after sending the target weight data to the server, the method further includes:

[0025] Receiving the illegal vehicle use detection result sent by the server;

[0026] When the illegal use of the vehicle detection result indicates that the user has used the electric bicycle illegally, a set operation is performed.

[0027] According to a second aspect of the present disclosure, an embodiment of a method for detecting illegal vehicle use is provided, comprising:

[0028] Receiving target weight data sent by the electric bicycle, wherein the target weight data represents the weight of a user using the electric bicycle, and the target weight data is obtained by the electric bicycle using the method described in the first aspect of the present disclosure;

[0029] Obtaining historical weight data of the user;

[0030] It is determined whether the user uses the electric bicycle in violation of regulations based on the target weight data and the historical weight data.

[0031] Optionally, determining whether the user uses the electric bicycle in violation of regulations based on the target weight data and the historical weight data includes:

[0032] If the difference between the target weight data and the historical weight data is not less than a preset threshold, determining that the user has used the electric bicycle in violation of regulations, and generating a violation use detection result;

[0033] The illegal vehicle use detection result is sent to the electric bicycle.

[0034] According to a third aspect of the present disclosure, an embodiment of a user weight measurement device is provided, which is applied to an electric bicycle, comprising:

[0035] An acceleration value acquisition module, used to acquire the acceleration value of the electric bicycle between a first moment and a second moment;

[0036] A current value acquisition module, used to acquire the current value of the motor of the electric bicycle corresponding to the first moment and the second moment;

[0037] The user weight measurement module is used to determine the target weight data of the user using the electric bicycle according to the acceleration value and the current value through a preset gravity calculation model, wherein the preset weight measurement model is a mathematical model for measuring the user's weight obtained according to the force relationship of the electric bicycle.

[0038] According to a fourth aspect of the present disclosure, an embodiment of an electric bicycle is provided, such as the user weight measurement device described in the third aspect of the present specification, or,

[0039] The electric bicycle comprises:

[0040] A memory for storing executable instructions;

[0041] A processor is used to control the electric bicycle to execute the user weight measurement method as described in the first aspect of this specification according to the control of the instruction.

[0042] According to a fifth aspect of the present disclosure, an embodiment of a server is provided, including:

[0043] A memory for storing executable instructions;

[0044] A processor is used to control the operation of the server according to the instruction to execute the illegal vehicle use detection method as described in the second aspect of this specification.

[0045] One beneficial effect of the embodiments of the present disclosure is that, according to the embodiments of the present disclosure, there is no need to set a load sensor in the electric bicycle. Instead, during the driving of the electric bicycle, with the authorization of the user, the electric bicycle obtains its acceleration value at the first moment and the second moment, and the current value corresponding to the first moment and the second moment. Based on the acceleration value and the current value, through a preset weight calculation model, the electric bicycle can quickly and accurately measure the user's target weight data, and by sending the target weight data to the server, the server can quickly determine whether the user has used the vehicle in violation of the regulations.

[0046] Other features and advantages of the present specification will become apparent from the following detailed description of exemplary embodiments of the present specification with reference to the accompanying drawings. BRIEF DESCRIPTION OF THE DRAWINGS

[0047] The accompanying drawings, which are incorporated in and constitute a part of the specification, illustrate embodiments of the specification and, together with the description, serve to explain the principles of the specification.

[0048] Figure 1 is a schematic diagram of a shared vehicle system in which an embodiment of the present disclosure can be implemented.

[0049] Figure 2 It is a flowchart of a method for measuring user weight provided in an embodiment of the present disclosure.

[0050] Figure 3 It is a schematic diagram of the force relationship of the electric bicycle provided in an embodiment of the present disclosure.

[0051] Figure 4 It is a flow chart of the illegal vehicle use detection method provided in the embodiment of the present disclosure.

[0052] Figure 5 It is a block diagram of a user weight measurement device provided by an embodiment of the present disclosure.

[0053] Figure 6 It is a schematic diagram of the hardware structure of an electric bicycle provided in an embodiment of the present disclosure.

[0054] Figure 7 It is a schematic diagram of the hardware structure of a server provided in an embodiment of the present disclosure. DETAILED DESCRIPTION

[0055] Various exemplary embodiments of the present disclosure will now be described in detail with reference to the accompanying drawings. It should be noted that the relative arrangement of components and steps, numerical expressions and numerical values ​​set forth in these embodiments do not limit the scope of the present invention unless otherwise specifically stated.

[0056] 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.

[0057] Technologies, methods, and equipment known to ordinary technicians in the relevant art may not be discussed in detail, but where appropriate, the technologies, methods, and equipment should be considered part of the specification.

[0058] In all examples shown and discussed herein, any specific values ​​should be interpreted as merely exemplary and not limiting. Therefore, other examples of the exemplary embodiments may have different values.

[0059] It should be noted that like reference numerals and letters refer to similar items in the following figures, and therefore, once an item is defined in one figure, it need not be further discussed in subsequent figures.

[0060] <Hardware Configuration>

[0061] Figure 1 is a schematic diagram of a shared vehicle system in which an embodiment of the present disclosure can be implemented.

[0062] like Figure 1 As shown, the system includes a server 2000 , a terminal device 1000 and an electric bicycle 3000 .

[0063] The server 2000 and the terminal device 1000, as well as the server 2000 and the electric bicycle 3000, can be connected to each other through a network 4000. The network 4000 based on which the electric bicycle 3000 and the server 2000, as well as the terminal device 1000 and the server 2000 communicate can be the same or different. The network 4000 can be a wireless communication network or a wired communication network, and can be a local area network or a wide area network.

[0064] The server 2000 provides a business point for processing, database, and communication facilities. The server 2000 can be an integrated server, a distributed server across multiple computers, a computer data center, a cloud server, or a server cluster deployed in the cloud. The server can be of various types, such as but not limited to a network server, a news server, a mail server, a message server, an advertising server, a file server, an application server, an interactive server, a database server, or a proxy server. In some embodiments, each server may include hardware, software, or an embedded logic component or a combination of two or more such components for executing 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. The processor 2100 is used to execute a computer program written in an instruction set of an architecture such as x86, Arm, RISC, MIPS, SSE, etc. The memory 2200 is, for example, a ROM (read-only memory), a RAM (random access memory), a non-volatile memory such as a hard disk, etc. The interface device 2300 is, for example, a USB interface, a serial interface, a parallel interface, etc. The communication device 2400 is, for example, capable of wired communication or wireless communication, and may include WiFi communication, Bluetooth communication, 2G / 3G / 4G / 5G communication, etc.

[0065] As used in the embodiment of the present disclosure, the memory 2200 of the server 2000 is used to store a computer program, and the computer program is used to control the processor 2100 to operate to implement the illegal vehicle use detection method according to the embodiment of the present disclosure. A technician can design the computer program according to the scheme disclosed in the present disclosure. How the computer program controls the processor to operate is well known in the art, so it will not be described in detail here.

[0066] It should be understood by those skilled in the art that Figure 1 In addition to the devices shown, the server 2000 may also include other devices, which are not limited here.

[0067] In this embodiment, the terminal device 1000 is, for example, a mobile phone, a portable computer, a tablet computer, a PDA, a wearable device, etc.

[0068] The terminal device 1000 is installed with a vehicle application client, and the user can use the electric bicycle 3000 by operating the vehicle application client.

[0069] The terminal device 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. Among them, the processor 1100 may be a central processing unit CPU, a graphics processing unit GPU, a microprocessor MCU, etc., for executing a computer program, and the computer program may be written in an instruction set of an architecture such as x86, Arm, RISC, MIPS, SSE, etc. The memory 1200 may include, for example, a ROM (read-only memory), a RAM (random access memory), a non-volatile memory such as a hard disk, etc. The interface device 1300 may include, for example, a USB interface, a serial interface, a parallel interface, etc. The communication device 1400 may, for example, be capable of wired communication using an optical fiber or cable, or wireless communication, and may specifically include WiFi communication, Bluetooth communication, 2G / 3G / 4G / 5G communication, etc. The display device 1500 may be, for example, a liquid crystal display screen, a touch display screen, etc. The input device 1600 may include, for example, a touch screen, a keyboard, somatosensory input, etc. The speaker 1170 is used to output audio signals, and the microphone 1180 is used to pick up audio signals.

[0070] The terminal device 1000 can be installed with an intelligent operating system (such as Windows, Linux, Android, IOS, etc.) and application software.

[0071] It should be understood by those skilled in the art that although Figure 1 Multiple devices of the terminal device 1000 are shown in the figure, but the terminal device 1000 of the embodiment of the present disclosure may only involve some of the devices, for example, only the processor 1100, the memory 1200, etc.

[0072] Electric bicycle 3000 can be Figure 1 The electric bicycle shown in the figure may also be a tricycle, an electric power-assisted bicycle, a motorcycle, a four-wheeled passenger vehicle, and other forms driven by a motor, and the like, which are not limited here.

[0073] 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, a speaker 3700, a microphone 3800, and the like. The processor 3100 may be a microprocessor MCU, etc. The memory 3200 may include, for example, a ROM (read-only memory), a RAM (random access memory), a non-volatile memory such as a hard disk, etc. The interface device 3300 may include, for example, a USB interface, a serial interface, a parallel interface, etc. The communication device 3400 may, for example, be capable of wired communication using optical fiber or cable, or wireless communication, and may specifically include WiFi communication, Bluetooth communication, 2G / 3G / 4G / 5G communication, etc. The display device 3500 may, for example, be a liquid crystal display, a touch display, etc. The input device 3600 may, for example, include a touch screen, a keyboard, etc., or may be a microphone to input voice information. The electric bicycle 3000 may output audio signals through a speaker 3700, and collect audio signals through a microphone 3800.

[0074] Applied in the embodiment of the present disclosure, the memory 3200 of the electric bicycle 3000 is used to store a computer program, which is used to control the processor 3100 to operate to implement the user weight measurement method according to the embodiment of the present disclosure, for example, to obtain the acceleration value of the electric bicycle 3000 at the first moment and the second moment; and, to obtain the current value corresponding to the motor of the electric bicycle 3000 between the first moment and the second moment; according to the acceleration value and the current value, the target weight data of the user using the electric bicycle 3000 is determined by a preset weight measurement model, wherein the preset weight measurement model is a mathematical model for measuring the user's weight obtained according to the force relationship of the electric bicycle 3000. In addition, the computer program can also be used to control the processor 3100 to operate to perform information interaction with the server 2000, for example, after measuring the target weight data of the user using the electric bicycle, the target weight data is sent to the server; and, the illegal user detection result generated by the server according to the target weight data is received, and the set operation is performed according to the illegal user detection result. How the computer program controls the processor to operate is well known in the art, so it will not be described in detail here.

[0075] Despite Figure 1 , multiple devices of the electric bicycle 3000 are shown; however, the present invention may only involve some of the devices, for example, the electric bicycle 3000 only involves the processor 3100 , the memory 3200 and the communication device 3400 .

[0076] It should be understood that although Figure 1Only one server 2000, terminal device 1000, and electric bicycle 3000 are shown, but this does not mean that the respective numbers are limited. The system may include multiple servers 2000, multiple terminal devices 1000, and multiple electric bicycles 3000.

[0077] Hereinafter, various embodiments and examples according to the present invention are described with reference to the accompanying drawings.

[0078] <Method Example 1>

[0079] Please see Figure 2 , which is a flow chart of a method for measuring user weight provided by an embodiment of the present disclosure. This embodiment can be implemented by an electric bicycle in the field of shared vehicles. For example, Figure 1 The electric bicycle 3000 shown in FIG. Figure 1 The electric bicycle 3000 shown is taken as an example to illustrate the user weight measurement method of this embodiment.

[0080] like Figure 2 As shown, the user weight measurement method of this embodiment may include the following steps S2100-S2300, which are described in detail below.

[0081] Step S2100, obtaining an acceleration value of the electric bicycle between a first moment and a second moment; and, step S2200, obtaining a current value corresponding to a motor of the electric bicycle between the first moment and the second moment.

[0082] Specifically, in the related art, in order to detect whether there are multiple users riding electric bicycles in violation of the regulations, a load sensor is generally set in the electric bicycle to measure the user's weight through the load sensor, and based on the weight, it is judged whether there are multiple users riding electric bicycles in violation of the regulations. This method has the problem of high cost and inaccurate measurement results under certain working conditions, which may lead to misjudgment of the results of illegal use of the vehicle and bring a poor vehicle experience to the user.

[0083] To solve this problem, in an embodiment of the present disclosure, a method is provided for measuring the user's weight based on a preset weight measurement model instead of relying on a load sensor, wherein the preset weight measurement model is a mathematical model for measuring the user's weight obtained based on the force relationship of the electric bicycle. The following first describes how to obtain the preset weight measurement model.

[0084] Please see Figure 3 , which is a schematic diagram of the force relationship of the electric bicycle provided by the embodiment of the present disclosure. Figure 3As shown, usually, when an electric bicycle travels on a road with a slope value of θ, the forces acting on the electric bicycle generally include the thrust F provided by the motor, the resistance f and the gravity G, that is, the resultant force F' acting on the electric bicycle can be expressed as: F'=F-f-G.

[0085] In practice, the thrust F provided by the motor of an electric vehicle can be calculated by the formula F=T / R, where T represents the torque of the motor in the electric bicycle and R represents the radius of the rear wheel of the electric bicycle. Generally, the torque of the motor is proportional to the current value i when it is less than the rated current, that is, T=k*i, where the coefficient k is a non-zero value and can be obtained through experiments.

[0086] The gravity acting on an electric bicycle can be calculated using the following formula: G = (m persons + m vehicles) * g, where m persons represents the weight of the user using the electric bicycle, m vehicles is the mass of the electric bicycle, and g is the acceleration due to gravity.

[0087] Therefore, the net force on the electric bicycle can be expressed again as:

[0088] F'=F–f–G=k*i–f–g*sinθ.

[0089] In addition, since the resultant force on the electric bicycle can also be calculated by the formula F'=ma, the resultant force on the electric bicycle can be expressed again as:

[0090] F'=k*i–f–G*sinθ=(m persons+m vehicles)*a, where a represents the acceleration value of the electric bicycle. a can be calculated using the formula a=(v2-v1) / t, where v1 represents the speed of the electric bicycle at the first moment, and v2 represents the speed of the electric bicycle at the second moment, the first moment being earlier than the second moment.

[0091] According to the above formula, the preset weight measurement model for measuring the user's weight can be expressed as:

[0092] m people = ((((k*i) / R)-f) / (g*sinθ+((v2-v1) / t)))-m cars.

[0093] Since the resistance f experienced by the electric bicycle can be obtained through experimental data, in specific implementation, the user's weight can be measured by obtaining the acceleration values ​​of the electric bicycle at the first moment and the second moment, and the slope value of the road on which the electric bicycle is traveling, and then using the above-mentioned preset weight measurement model.

[0094] In a specific implementation, the acceleration value of the electric bicycle can be calculated by respectively obtaining the first speed v1 of the electric bicycle at the first moment, the second speed v2 of the electric bicycle at the second moment, and the absolute value of the difference between the first moment and the second moment, so as to obtain the acceleration value of the electric bicycle between the first moment and the second moment. The slope value of the road on which the electric bicycle is traveling can be obtained through map data, or can also be obtained through other methods, and the detailed acquisition method is not repeated here.

[0095] Step S2300, determining the target weight data of the user using the electric bicycle according to the acceleration value and the slope value through a preset weight measurement model, wherein the preset weight measurement model is a mathematical model for measuring the user's weight obtained according to the force relationship of the electric bicycle.

[0096] In one embodiment, the target weight data of the user using the electric bicycle is determined according to the acceleration value and the slope value through a preset weight measurement model, including: obtaining the current value corresponding to the motor of the electric bicycle at the first moment and the second moment, the radius of the rear wheel of the electric bicycle, the resistance value of the resistance encountered by the electric bicycle on the driving road surface, and the whole vehicle mass of the electric bicycle; obtaining the thrust value of the thrust encountered by the electric bicycle between the first moment and the second moment according to the current value and the rear wheel radius; obtaining the gravity value of the gravity encountered by the electric bicycle between the first moment and the second moment according to the slope value; obtaining a first difference between the thrust value and the resistance value, and obtaining a sum of the gravity value and the acceleration value; obtaining the ratio of the first difference to the sum, and using the ratio and the second difference of the whole vehicle mass as the first weight data of the user; and determining the target weight data according to the first weight data.

[0097] According to the above description, the preset weight measurement model provided by the embodiment of the present disclosure can be expressed as:

[0098] m people = ((((k*i) / R)-f) / (g*sinθ+((v2-v1) / t)))-m cars.

[0099] Therefore, during the driving process of the electric bicycle, the speed of the electric bicycle at two time points, the first moment and the second moment during any acceleration period, and the motor current can be sampled, and then the acceleration value of the electric bicycle between the first moment and the second moment can be calculated, and the above-mentioned preset weight measurement model can be used to obtain the first weight data of the user using the electric bicycle.

[0100] According to the above description, in the embodiments of the present disclosure, it is not necessary to set a load sensor in the vehicle. Instead, the weight of the user using the electric bicycle can be quickly and accurately obtained through the preset weight measurement model provided by the embodiments of the present disclosure. On the one hand, this method can save costs, and on the other hand, it can also avoid the problem of inaccurate weight measured by the user when riding with loads or on uphill and downhill sections.

[0101] In one embodiment, after the first weight data is measured, the first weight data can be directly used as the user's target weight data. However, in order to further improve the accuracy of the measurement result, in one embodiment, after the first weight data is obtained, the target weight data is determined according to the first weight data, including: obtaining the user's second weight data according to the acceleration value and preset mapping data, wherein the preset mapping data is data reflecting the corresponding relationship between the acceleration value and the user's weight; determining the target weight data according to the first weight data and the second weight data.

[0102] Specifically, since the accelerations of users of different weights during riding are usually different, the vehicle acceleration values ​​of users of different weights when riding on a horizontal standard road surface can be obtained in advance for calibration to obtain preset mapping data that reflects the correspondence between the acceleration value and the user's weight. Thereafter, by setting the preset mapping data in the electric bicycle or the server, the second weight data of the user using the electric bicycle can be obtained from another dimension by obtaining its acceleration value during the driving of the electric bicycle.

[0103] The preset mapping data can be represented by the following Table 1:

[0104] Acceleration X1 m / s^2 X2 m / s^2 X3 m / s^2 X4 m / s^2 ... weight Y1kg Y2kg Y3 kg Y4kg ...

[0105] Table 1

[0106] It should be noted that, in the specific implementation, when the electric bicycle is driving, the slope of the road surface, the handlebars, the power level and other parameters will also affect the acceleration value of the electric bicycle. Therefore, it is also possible to pre-measure the influence gain coefficient of different slopes, handlebars, power level and other parameters on the acceleration value, and when obtaining the user weight data according to the acceleration value and the preset mapping data, the accuracy of the second weight data can be improved according to the influence gain coefficient.

[0107] The above provides a method for obtaining the weight of a user using an electric vehicle from different dimensions. In a specific implementation, after obtaining the user's first weight data and second weight data according to the above method, the first weight data and the second weight data can be fused to obtain target weight data with higher accuracy.

[0108] In one embodiment, the average value of the first weight data and the second weight data may be used as the user's target weight data.

[0109] Of course, in specific implementation, the first weight data and the second weight data may also be merged in other ways, which will not be described in detail here.

[0110] After obtaining the user's target weight data through any of the above methods, the electric bicycle can send the target weight data to the server with the user's authorization, so that the server can detect whether the user is using the electric bicycle in violation of regulations based on the target weight data.

[0111] In an embodiment of the present disclosure, after obtaining the target weight data, the server may compare the target weight data with the historical weight data of the user, and when the absolute value of the difference between the target weight data and the historical weight data of the user is not less than a preset threshold, determine that the user may currently be in a situation of illegal use of the vehicle with multiple people riding, at this time, the illegal use of the vehicle detection result can be set as information indicating that the user is using the vehicle illegally, and the illegal use of the vehicle detection result can be sent to the electric bicycle, so that the electric bicycle can perform the set operation according to the illegal use of the vehicle detection result, so as to remind the user to use the vehicle in a standardized manner and improve riding safety.

[0112] That is, in one embodiment, the method further includes: receiving an illegal vehicle use detection result sent by the server; and executing a set operation when the illegal vehicle use detection result indicates that the user has used the electric bicycle illegally.

[0113] In this embodiment, the set operation can be: issuing a voice and / or vibration prompt message to indicate illegal use of the vehicle, controlling the electric bicycle to travel at a speed less than a first preset speed threshold, and stopping travel within a preset time, without special limitation here.

[0114] To sum up, the user weight measurement method provided by the embodiment of the present disclosure does not need to set a load sensor in the electric bicycle. Instead, during the driving of the electric bicycle, with the authorization of the user, the electric bicycle obtains its acceleration value at the first moment and the second moment, and the current value corresponding to the first moment and the second moment. Based on the acceleration value and the current value, through a preset weight calculation model, the electric bicycle can quickly and accurately measure the user's target weight data. By sending the target weight data to the server, the server can quickly determine whether the user has used the vehicle illegally.

[0115] <Method Example 2>

[0116] Please see Figure 4, which is a flow chart of a method for detecting illegal vehicle use provided by an embodiment of the present disclosure. This embodiment can be implemented by a server, for example, Figure 1 The server 2000 implementation shown in Figure 1 The server 2000 shown is taken as an example to illustrate the illegal vehicle use detection method of this embodiment.

[0117] like Figure 4 As shown, the illegal vehicle use detection method of this embodiment may include the following steps S4100-S4300, which are described in detail below.

[0118] Step S4100, receiving target weight data sent by the electric bicycle, wherein the target weight data represents the weight of a user using the electric bicycle, and the target weight data is obtained by the user weight measurement method described in any one of the first embodiment of the electric bicycle use method.

[0119] Step S4200, obtaining the historical weight data of the user.

[0120] The historical weight data may be the weight data of the user measured by the electric bicycle and sent to the server when the user scanned a code to use the electric bicycle before the current moment.

[0121] Step S4300: Determine whether the user uses the electric bicycle in violation of regulations based on the target weight data and the historical weight data.

[0122] In one embodiment, determining whether the user has used the electric bicycle in violation of regulations based on the target weight data and the historical weight data includes: if the difference between the target weight data and the historical weight data is not less than a preset threshold, determining that the user has used the electric bicycle in violation of regulations and generating an illegal use detection result; and sending the illegal use detection result to the electric bicycle.

[0123] <Device Example>

[0124] Corresponding to the above method embodiment, the embodiment of the present disclosure also provides a user weight measurement device, which can be applied to an electric bicycle. Figure 5 is a block diagram of a user weight measurement device provided by an embodiment of the present disclosure. Figure 5 As shown, the user weight measurement device 5000 may include: an acceleration value acquisition module 5100 , a current value acquisition module 5200 and a user weight measurement module 5300 .

[0125] The acceleration value acquisition module 5100 acquires the acceleration value of the electric bicycle between a first moment and a second moment.

[0126] The current value acquisition module 5200 acquires the current value corresponding to the motor of the electric bicycle at the first moment and the second moment.

[0127] The user weight measurement module 5300 determines the target weight data of the user using the electric bicycle according to the acceleration value and the current value through a preset gravity calculation model, wherein the preset weight measurement model is a mathematical model for measuring the user's weight obtained according to the force relationship of the electric bicycle.

[0128] In one embodiment, when the user weight measurement module 5300 determines the target weight data of the user using the electric bicycle according to the acceleration value and the current value by means of a preset gravity calculation model, it can be used to: obtain the slope value of the road surface on which the electric bicycle travels between the first moment and the second moment, the radius of the rear wheel of the electric bicycle, the resistance value of the resistance encountered by the electric bicycle on the road surface, and the total vehicle mass of the electric bicycle; obtain the thrust value of the thrust encountered by the electric bicycle between the first moment and the second moment according to the current value and the radius of the rear wheel; obtain the gravity value of the gravity encountered by the electric bicycle between the first moment and the second moment according to the slope value; obtain a first difference between the thrust value and the resistance value, and obtain the sum of the gravity value and the acceleration value; obtain the ratio of the first difference to the sum, and use the ratio and the second difference of the total vehicle mass as the first weight data of the user; and determine the target weight data according to the first weight data.

[0129] In one embodiment, when the user weight measurement module 5300 determines the target weight data based on the first weight data, it can be used to: obtain the second weight data of the user based on the acceleration value and preset mapping data, wherein the preset mapping data is data reflecting the correspondence between the acceleration value and the user's weight; determine the target weight data based on the first weight data and the second weight data.

[0130] In one embodiment, when determining the target weight data according to the first weight data and the second weight data, the user weight measurement module 5300 can be configured to: use the average value of the first weight data and the second weight data as the target weight data.

[0131] In one embodiment, the device 5000 further includes a weight data sending module, which is used to send the target weight data to a server.

[0132] In one embodiment, the device 5000 further includes a receiving module for receiving an illegal vehicle use detection result sent by the server; and executing a set operation when the illegal vehicle use detection result indicates that the user has used the electric bicycle illegally.

[0133] <Equipment Example 1>

[0134] Corresponding to the above method embodiment 1, in this embodiment, an electric bicycle is also provided, which may include the user weight measurement device 5000 of the device embodiment of the present disclosure, for implementing the user weight measurement method in the method embodiment of the present disclosure.

[0135] like Figure 6 As shown, the electric bicycle 600 includes a processor 610 and a memory 620, wherein the memory 620 is used to store an executable computer program, and the processor 610 is used to execute the user weight measurement method in the above method embodiment 1 according to the control of the computer program.

[0136] Each module of the above user weight measurement device 5000 can be implemented by the processor 610 in this embodiment executing a computer program stored in the memory 620, or can be implemented by other circuit structures, which is not limited here.

[0137] <Equipment Example 2>

[0138] Corresponding to the above method embodiment 2, in this embodiment, a server is also provided.

[0139] like Figure 7 As shown, the server 700 includes a processor 710 and a memory 720, wherein the memory 720 is used to store an executable computer program, and the processor 710 is used to execute the illegal vehicle use detection method in the above method embodiment 2 according to the control of the computer program.

[0140] One or more embodiments of the present specification may be a system, method and / or computer program product. The computer program product may include a computer-readable storage medium carrying computer-readable program instructions for causing a processor to implement various aspects of the present specification.

[0141] A computer-readable storage medium may be a tangible device that can hold and store instructions used by an instruction execution device. A computer-readable storage medium may be, for example, but not limited to, an electrical storage device, a magnetic storage device, an optical storage device, an electromagnetic storage device, a semiconductor storage device, or any suitable combination of the foregoing. More specific examples of computer-readable storage media (a non-exhaustive list) include: a portable computer disk, 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 disk read-only memory (CD-ROM), a digital versatile disk (DVD), a memory stick, a floppy disk, a mechanical encoding device, such as a punch card or a raised structure in a groove on which instructions are stored, and any suitable combination of the foregoing. As used herein, a computer-readable storage medium is not to be interpreted as a transient signal per se, such as a radio wave or other freely propagating electromagnetic wave, an electromagnetic wave propagating through a waveguide or other transmission medium (e.g., a light pulse through a fiber optic cable), or an electrical signal transmitted through a wire.

[0142] The computer-readable program instructions described herein can be downloaded from a computer-readable storage medium to each computing / processing device, or downloaded 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 can include copper transmission cables, optical fiber transmissions, wireless transmissions, routers, firewalls, switches, gateway computers, and / or edge servers. The network adapter card or network interface in each computing / processing device receives the computer-readable program instructions from the network and forwards the computer-readable program instructions for storage in the computer-readable storage medium in each computing / processing device.

[0143] The computer program instructions for performing the operation of the embodiments of this specification may be assembly instructions, instruction set architecture (ISA) instructions, machine instructions, machine-related instructions, microcode, firmware instructions, state setting data, or source code or object code written in any combination of one or more programming languages, including object-oriented programming languages ​​such as Smalltalk, C++, etc., and conventional procedural programming languages ​​such as "C" language or similar programming languages. Computer-readable program instructions may be executed completely on a user's computer, partially on a user's computer, executed as an independent software package, partially on a user's computer, partially on a remote computer, or completely on a remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer via any type of network including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., using an Internet service provider to connect via the Internet). In certain embodiments, by utilizing the state information of a computer-readable program instruction to customize an electronic circuit, such as a programmable logic circuit, a field programmable gate array (FPGA) or a programmable logic array (PLA), the electronic circuit may execute a computer-readable program instruction, thereby realizing various aspects of this specification.

[0144] Various aspects of this specification are described herein with reference to flowcharts and / or block diagrams of methods, devices (systems) and computer program products according to embodiments of this specification. It should be understood that each box in the flowchart and / or block diagram and the combination of boxes in the flowchart and / or block diagram can be implemented by computer-readable program instructions.

[0145] These computer-readable program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device, thereby producing a machine, so that when these instructions are executed by the processor of the computer or other programmable data processing device, a device that implements the functions / actions specified in one or more boxes in the flowchart and / or block diagram is generated. These computer-readable program instructions can also be stored in a computer-readable storage medium, and these instructions cause the computer, programmable data processing device, and / or other equipment to work in a specific manner, so that the computer-readable medium storing the instructions includes a manufactured product, which includes instructions for implementing various aspects of the functions / actions specified in one or more boxes in the flowchart and / or block diagram.

[0146] Computer-readable program instructions may also be loaded onto a computer, other programmable data processing apparatus, or other device so that a series of operating steps are performed on the computer, other programmable data processing apparatus, or other device to produce a computer-implemented process, thereby causing the instructions executed on the computer, other programmable data processing apparatus, or other device to implement the functions / actions specified in one or more boxes in the flowchart and / or block diagram.

[0147] The flowcharts and block diagrams in the accompanying drawings show the possible architecture, functions and operations of the systems, methods and computer program products according to the multiple embodiments of this specification. In this regard, each box in the flowchart or block diagram can represent a module, a program segment or a part of an instruction, and a part of a module, a program segment or an instruction contains one or more executable instructions for realizing the specified logical function. In some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two consecutive boxes can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram and / or the flowchart, and the combination of the boxes in the block diagram and / or the flowchart can be implemented by a dedicated hardware-based system that performs the specified function or action, or can be implemented by a combination of dedicated hardware and computer instructions. It is well known to those skilled in the art that it is equivalent to implement it by hardware, implement it by software, and implement it by combining software and hardware.

[0148] The embodiments of the present specification have been described above, and the above description is exemplary, not exhaustive, and is not limited to the disclosed embodiments. Many modifications and changes will be apparent to those of ordinary skill in the art without departing from the scope and spirit of the described embodiments. The choice of terms used herein is intended to best explain the principles of the embodiments, practical applications, or technical improvements in the marketplace, or to enable other persons of ordinary skill in the art to understand the embodiments disclosed herein. The scope of this application is defined by the appended claims.

Claims

1. A method for measuring a user's weight, characterized in that: Applied to electric bicycles, including: Acquire the acceleration value of the electric bicycle between a first moment and a second moment; and acquire the current value of the motor of the electric bicycle corresponding to the first moment and the second moment; According to the acceleration value and the current value, the target weight data of the user using the electric bicycle is determined by a preset weight measurement model, wherein the preset weight measurement model is a mathematical model for measuring the user's weight obtained according to the force relationship of the electric bicycle, Wherein, determining the target weight data of the user using the electric bicycle according to the acceleration value and the current value by using a preset weight measurement model includes: Obtaining the slope value of the road surface on which the electric bicycle travels between the first moment and the second moment, the radius of the rear wheel of the electric bicycle, the resistance value of the resistance encountered by the electric bicycle on the road surface, and the vehicle mass of the electric bicycle; Obtaining a thrust value of the thrust received by the electric bicycle between the first moment and the second moment according to the current value and the rear wheel radius; According to the slope value, obtaining a gravity value of the gravity to which the electric bicycle is subjected between the first moment and the second moment; Obtaining a first difference between the thrust value and the resistance value, and obtaining a sum of the gravity value and the acceleration value; Obtaining a ratio of the first difference to the sum, and using the ratio and a second difference of the vehicle mass as first weight data of the user; The target weight data is determined according to the first weight data.

2. The method according to claim 1, characterized in that Determining the target weight data according to the first weight data includes: Obtaining second weight data of the user according to the acceleration value and preset mapping data, wherein the preset mapping data is data reflecting a corresponding relationship between the acceleration value and the user's weight; The target weight data is determined according to the first weight data and the second weight data.

3. The method according to claim 2, characterized in that The step of determining the target weight data according to the first weight data and the second weight data includes: The average of the first weight data and the second weight data is used as the target weight data.

4. The method according to claim 1, characterized in that: After obtaining the target weight data, the method further includes: The target weight data is sent to a server.

5. The method according to claim 4, characterized in that After sending the target weight data to the server, the method further includes: Receiving the illegal vehicle use detection result sent by the server; When the illegal use of the vehicle detection result indicates that the user has used the electric bicycle illegally, a set operation is performed.

6. A method for detecting illegal vehicle use, characterized in that: include: Receiving target weight data sent by the electric bicycle, wherein the target weight data represents the weight of a user using the electric bicycle, and the target weight data is obtained by the electric bicycle using the method according to any one of claims 1 to 5; Obtaining historical weight data of the user; It is determined whether the user uses the electric bicycle in violation of regulations based on the target weight data and the historical weight data.

7. The method according to claim 6, characterized in that The determining, based on the target weight data and the historical weight data, whether the user uses the electric bicycle in violation of regulations comprises: If the difference between the target weight data and the historical weight data is not less than a preset threshold, determining that the user has used the electric bicycle in violation of regulations, and generating a violation use detection result; The illegal vehicle use detection result is sent to the electric bicycle.

8. A user weight measurement device, characterized in that: Applied to electric bicycles, including: An acceleration value acquisition module, used to acquire an acceleration value of the electric bicycle between a first moment and a second moment; A current value acquisition module, used to acquire the current value of the motor of the electric bicycle corresponding to the first moment and the second moment; A user weight measurement module, used to determine the target weight data of the user using the electric bicycle according to the acceleration value and the current value through a preset weight measurement model, wherein the preset weight measurement model is a mathematical model for measuring the user's weight obtained according to the force relationship of the electric bicycle; Wherein, determining the target weight data of the user using the electric bicycle according to the acceleration value and the current value by using a preset weight measurement model includes: Obtaining the slope value of the road surface on which the electric bicycle travels between the first moment and the second moment, the radius of the rear wheel of the electric bicycle, the resistance value of the resistance encountered by the electric bicycle on the road surface, and the vehicle mass of the electric bicycle; Obtaining a thrust value of the thrust received by the electric bicycle between the first moment and the second moment according to the current value and the rear wheel radius; According to the slope value, obtaining a gravity value of the gravity to which the electric bicycle is subjected between the first moment and the second moment; Obtaining a first difference between the thrust value and the resistance value, and obtaining a sum of the gravity value and the acceleration value; Obtaining a ratio of the first difference to the sum, and using the ratio and a second difference of the vehicle mass as first weight data of the user; The target weight data is determined according to the first weight data.

9. An electric bicycle, characterized in that: The device for measuring the weight of a user according to claim 8, or the electric bicycle comprises: A memory for storing executable instructions; A processor is used to control the electric bicycle to execute the user weight measurement method as described in any one of claims 1-5 according to the control of the instruction.

10. A server, characterized in that: include: A memory for storing executable instructions; A processor is used to run the server according to the control of the instruction to execute the illegal vehicle use detection method as described in any one of claims 6-7.