Riding state monitoring method and device, computer equipment and storage medium

By using gyroscopes in shared bicycles to obtain sway information and combining it with preset thresholds, the riding status can be accurately identified, solving the problem of inaccurate monitoring in traditional technologies and improving riding safety.

CN120828898APending Publication Date: 2025-10-24BEIJING QISHENG SCIENCE AND TECHNOLOGY CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410491862.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-04-23
Publication Date
2025-10-24

AI Technical Summary

Technical Problem

Traditional technologies for monitoring the riding status of shared bicycles suffer from inaccurate monitoring, making it difficult to accurately identify dangerous riding behaviors such as riding with one hand or riding with both hands off the handlebars.

Method used

By using a gyroscope to acquire the vehicle's sway information while the vehicle is in motion, and determining the vehicle's riding state based on a preset sway threshold and sway information, including one-handed riding, two-handed riding, and off-hand riding.

Benefits of technology

It enables accurate monitoring of vehicle riding status, timely identification of dangerous riding behaviors by users, and reduces the risk of traffic accidents.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120828898A_ABST
    Figure CN120828898A_ABST
Patent Text Reader

Abstract

The invention relates to a riding state monitoring method and device, computer equipment and a storage medium, and the method comprises the steps: obtaining the swing information of a vehicle when the vehicle is in a motion state; according to a preset swing threshold value and the swing information, the riding state of the vehicle is determined; the riding state of the bicycle comprises any one of single-hand riding, double-hand riding and handlebar-removing riding. By using the riding state monitoring method provided by the invention, the riding state of the vehicle can be monitored more accurately, so that whether a dangerous behavior exists in a user or not can be monitored more accurately.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the field of vehicles, in particular to a riding state monitoring method and device, computer equipment and a storage medium. BACKGROUND

[0002] With the attention to energy and environmental protection in today's society, shared bicycles, shared electric vehicles and other shared transportation tools have appeared in the market, providing great convenience for people's life. During the process of riding a shared bicycle, single-handed riding and double-handed riding are very dangerous behaviors, which can easily cause traffic accidents. In order to reduce accidents, it is particularly important to monitor the riding state of the shared bicycle during the process of riding the shared bicycle.

[0003] In the traditional technology, a sensor is usually installed on the handlebar of the shared bicycle, and the sensor is used to monitor whether the user has dangerous behavior. However, the monitoring method for whether the user has dangerous behavior in the traditional technology has the problem of inaccurate monitoring. SUMMARY

[0004] Therefore, it is necessary to provide a riding state monitoring method and device, computer equipment and a storage medium capable of improving monitoring accuracy in view of the above technical problems.

[0005] In a first aspect, the present application provides a riding state monitoring method, which comprises:

[0006] obtaining swing information of the vehicle in the case that the vehicle is in a moving state;

[0007] determining a riding state of the vehicle according to a preset swing threshold and the swing information; the riding state of the vehicle includes any one of single-handed riding, double-handed riding and riding without holding the handlebar.

[0008] In a second aspect, the present application provides a riding state monitoring device, which comprises:

[0009] an obtaining module, configured to obtain swing information of the vehicle in the case that the vehicle is in a moving state;

[0010] a determining module, configured to determine a riding state of the vehicle according to a preset swing threshold and the swing information; the riding state of the vehicle includes any one of single-handed riding, double-handed riding and riding without holding the handlebar.

[0011] In a third aspect, the present application provides a computer equipment, comprising a memory and a processor, the memory stores a computer program, and the processor implements the steps of the method provided in the first aspect when executing the computer program.

[0012] In a fourth aspect, the present application provides a computer readable storage medium, having stored thereon a computer program, which, when executed by a processor, implements the steps of the method provided in the first aspect.

[0013] In a fifth aspect, the present application also provides a computer program product, comprising a computer program, which, when executed by a processor, implements the steps of the method provided in the first aspect.

[0014] The riding state monitoring method, device, computer device and storage medium described above can effectively and accurately determine the current riding state of the vehicle by comparing the obtained swing information of the vehicle with the preset swing threshold in the normal riding state, so that whether the user has dangerous riding behavior can be accurately determined. BRIEF DESCRIPTION OF DRAWINGS

[0015] Figure 1 FIG. 1 is a diagram of an application environment of the riding state monitoring method in one embodiment;

[0016] Figure 2 FIG. 2 is a schematic diagram of the step flow of the riding state monitoring method in one embodiment;

[0017] Figure 3 FIG. 3 is a schematic diagram of the step flow of the riding state monitoring method in another embodiment;

[0018] Figure 4 FIG. 4 is a schematic diagram of the step flow of the riding state monitoring method in another embodiment;

[0019] Figure 5 FIG. 5 is a schematic diagram of the step flow of the riding state monitoring method in another embodiment;

[0020] Figure 6 FIG. 6 is a schematic diagram of the step flow of the riding state monitoring method in another embodiment;

[0021] Figure 7 FIG. 7 is a schematic diagram of the step flow of the riding state monitoring method in another embodiment;

[0022] Figure 8 FIG. 8 is a schematic diagram of the step flow of the riding state monitoring method in another embodiment;

[0023] Figure 9 FIG. 9 is a schematic diagram of the step flow of the riding state monitoring method in another embodiment;

[0024] Figure 10Fig. 1 is a structural schematic diagram of a riding state monitoring device in one embodiment;

[0025] Figure 11 Fig. 4 is an internal structure diagram of a computer device in one embodiment. DETAILED DESCRIPTION

[0026] In order to make the purpose, technical solutions and advantages of the present application clearer, the present application will be further described in detail below in combination with the drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and do not limit the present application.

[0027] In the present application, the serial numbers of components, such as "first", "second", etc., are only used to distinguish the described objects and do not have any sequence or technical meaning.

[0028] First, before specifically introducing the technical solutions of the present application, the technical background or technical evolution context based on which the present application is introduced. With the attention to energy and environmental protection in today's society, shared bicycles, shared electric vehicles and other shared transportation tools have appeared in the market, providing great convenience for people's life. During the process of riding a shared bicycle, single-handed riding or double-handed riding is a very dangerous behavior, which not only affects the safety of the user himself, but also may endanger the safety of other road users, easily causing traffic accidents and causing serious consequences. In order to reduce the occurrence of traffic accidents and ensure safety, it is particularly important to monitor the riding state (riding behavior of the user) of the shared bicycle during the process of riding the shared bicycle. In the traditional technology, a sensor is usually installed on the handlebar of the shared bicycle, and the sensor is used to monitor whether the user has dangerous behavior, i.e. single-handed riding or double-handed riding. However, the monitoring method of the traditional technology for whether the user has dangerous behavior has the problem of inaccurate monitoring. In view of this, the present application provides a riding state monitoring method.

[0029] The technical solutions of the present application and how the technical solutions of the present application solve the technical problems will be described in detail below with specific embodiments.

[0030] The riding state monitoring method provided by the present application can be applied to, for example, Figure 1In the illustrated system architecture, the system architecture includes a vehicle terminal 101 and an external terminal 102. The vehicle terminal 101 can be an electronic device or the like installed on a vehicle. The external terminal 102 can be a computer device, a tablet computer, a server, or the like. The vehicle terminal 101 is provided with a communication component, which can communicate with the external terminal 102 in a wireless manner. The riding state monitoring method provided in the present application can be executed by using the vehicle terminal 101, or can be executed by using the external terminal 102, or can be executed by interaction of the vehicle terminal 101 and the external terminal 102.

[0031] In one embodiment, as shown in Figure 2 A riding state monitoring method is provided, and the present embodiment is exemplified by the method applied to an external terminal. In the present embodiment, the method includes the following steps:

[0032] Step 200: In the case that the vehicle is in a moving state, swing information of the vehicle is acquired.

[0033] The vehicle can be a shared bicycle, a shared electric vehicle, or a household bicycle, etc. The vehicle in a moving state means that a user is riding the vehicle. The method for determining whether the vehicle is in a moving state is not limited in the present embodiment, as long as the function can be realized.

[0034] In an optional embodiment, the method for determining whether the vehicle is in a moving state can include that the external terminal acquires motion data collected by a motion sensor installed in the vehicle, and determines whether the vehicle is in a moving state according to the motion data. The motion sensor can include at least one of a speed sensor, an acceleration sensor, and a position sensor. Assuming that the motion sensor installed in the vehicle is a speed sensor, the speed sensor can collect speed data of the vehicle according to a preset period, and send the collected speed data to the external terminal; if the external terminal determines that the speed of the vehicle is zero according to the received speed data, it means that the vehicle is not in a moving state, and if the external terminal determines that the speed of the vehicle is not zero according to the received speed data, it means that the vehicle is in a moving state. The motion sensor can store the collected speed data in the vehicle terminal, and the vehicle terminal sends the stored speed data to the external terminal according to a preset heartbeat period.

[0035] The external terminal acquires swing information of the vehicle in the case that the vehicle is in a moving state. The swing information is used to represent the attitude of the vehicle in the driving process. The specific method for acquiring the swing information of the vehicle, and the specific content of the acquired swing information are not limited in the present embodiment, as long as the function can be realized.

[0036] In an optional embodiment, a swing information acquisition device, such as a gyroscope, is installed in the vehicle. The gyroscope can be installed at the handlebar of the vehicle or at the center of gravity of the vehicle. The external terminal determines the swing information of the vehicle by obtaining the measurement data collected by the gyroscope. The measurement data can include at least one of an angle, an angular velocity, and an angular acceleration. The gyroscope stores the collected measurement data in the vehicle terminal, and the vehicle terminal sends the stored measurement data to the external terminal according to a preset heartbeat period; the external terminal determines the swing information of the vehicle according to the obtained measurement data.

[0037] In step 210, the riding state of the vehicle is determined according to the preset swing threshold and the swing information. The riding state of the vehicle includes any one of single-hand riding, double-hand riding, and handlebar-removing riding.

[0038] The preset swing threshold can be the swing threshold of the vehicle during normal driving (the vehicle is in a straight driving state, and the user is riding with both hands) stored in the external terminal by the staff in advance. The swing threshold corresponds to the swing information, that is, the swing information can include multiple swing data, and each swing data has a corresponding swing threshold. The preset swing threshold can be set by the staff according to the actual application scenario, and the embodiment does not limit the swing threshold as long as it can achieve its function.

[0039] After obtaining the swing information of the vehicle, the external terminal compares the swing information with the preset swing threshold to determine the riding state of the vehicle, that is, to determine the current riding state of the vehicle, which is any one of single-hand riding, double-hand riding, and handlebar-removing riding. In the case where the obtained swing information includes multiple swing data, the external terminal can find the corresponding swing threshold according to each swing data for comparison to determine the riding state of the vehicle.

[0040] In an optional embodiment, after obtaining the swing information of the vehicle, the external terminal inputs the swing information and a preset swing threshold into a pre-trained state determination model to obtain a model output result, which is used to represent the riding state of the vehicle. The method for obtaining the state determination model can include: obtaining state training samples; the state training samples include swing samples and corresponding riding states of the swing samples; inputting the state training samples into a network model to obtain an output result of the network model; comparing the output result of the network model with the corresponding riding states of the swing samples to determine a loss; adjusting parameters of the network model according to the loss until a training end condition is reached to obtain the state determination model. Optionally, the riding state of the vehicle can be represented by a number, for example, "0" represents two-hand riding, "1" represents one-hand riding, and "2" represents two-hand riding without holding the handle. If the output result of the network model is "0", it is determined that the current riding state of the vehicle is two-hand riding; if the output result of the network model is "1", it is determined that the current riding state of the vehicle is one-hand riding; and if the output result of the network model is "2", it is determined that the current riding state of the vehicle is two-hand riding without holding the handle. In the case where the riding state of the vehicle is one-hand riding and riding without holding the handle, it is determined that the user currently has dangerous behavior.

[0041] The riding state monitoring method provided by the embodiments of the present application can effectively and accurately determine the current riding state of the vehicle by comparing the obtained swing information of the vehicle with the preset swing threshold in the normal riding state, so as to accurately determine whether the user has dangerous riding behavior.

[0042] In addition, the swing information of the vehicle in the embodiments of the present application can be obtained by using the gyroscope installed on the vehicle, so that no new sensing device needs to be added, the cost can be reduced, and the riding state monitoring method has higher practicability.

[0043] In an embodiment, the swing information includes vehicle head swing information and / or vehicle body swing information.

[0044] The swing information obtained by the external terminal can be vehicle head swing information, vehicle body swing information, or vehicle head swing information and vehicle body swing information. The preset swing threshold corresponding to the swing information can include a vehicle head swing threshold and / or a vehicle body swing threshold.

[0045] Assuming that the swing information is acquired by a gyroscope in the vehicle, the head swing information can be acquired by a gyroscope arranged at the handlebar, and the body swing information can be acquired by a gyroscope arranged at the center of gravity of the vehicle.

[0046] In the embodiment, the acquired swing information of the vehicle can include the head swing information and / or the body swing information, so that the determination of the riding state of the vehicle can be realized whether the head swing information or the body swing information is acquired, thereby improving the practicability of the riding state monitoring method.

[0047] In one embodiment, the head swing information includes at least one of a head tilt angle, a head swing amplitude and a head swing frequency, and the body swing information includes at least one of a body tilt angle, a body swing amplitude and a body swing frequency.

[0048] For the head tilt angle, the head tilt angle can include a left head tilt angle and a right head tilt angle. The head swing amplitude and the head swing frequency can be calculated from the acquired head tilt angle, or can be directly acquired by the external terminal. That is, the gyroscope can directly transmit the acquired head tilt angle to the external terminal, and the external terminal can calculate the head swing amplitude and the head swing frequency according to the acquired head tilt angle. The gyroscope can also send the acquired head tilt angle to the vehicle terminal, and the vehicle terminal can calculate the head swing amplitude and the head swing frequency according to the head tilt angle, and send the head tilt angle, the head swing amplitude and the head swing frequency to the external terminal. The head swing information acquired by the external terminal can be any one or more of the head tilt angle, the head swing amplitude and the head swing frequency.

[0049] Similarly, for the body tilt angle, the body tilt angle can include a left body tilt angle and a right body tilt angle. The gyroscope can directly transmit the acquired body tilt angle to the external terminal, and the external terminal can calculate the body swing amplitude and the body swing frequency according to the acquired body tilt angle. The gyroscope can also send the acquired body tilt angle to the vehicle terminal, and the vehicle terminal can calculate the body swing amplitude and the body swing frequency according to the body tilt angle, and send the body tilt angle, the body swing amplitude and the body swing frequency to the external terminal. The body swing information acquired by the external terminal can be any one or more of the body tilt angle, the body swing amplitude and the body swing frequency.

[0050] In the embodiment, the specific content of the body swing information and the head swing information is provided, the user can select according to the actual application, and the practicability of the riding state monitoring method can be improved.

[0051] In one embodiment, as Figure 3As shown, an implementation mode related to determining the riding state of the vehicle according to the preset swing threshold and swing information, the steps of the implementation mode include:

[0052] Step 300, determining the swing information greater than the swing threshold in the swing information as abnormal swing information, and determining the number of abnormal swing information.

[0053] After the external terminal obtains the swing information of the vehicle, the swing information is compared with the preset swing threshold to determine whether the swing information is greater than the swing threshold. If the swing information is greater than the swing threshold, the swing information is determined as abnormal swing information; if the swing information is less than or equal to the swing threshold, the swing information is determined as normal swing information.

[0054] After the external terminal determines the abnormal swing information in the swing information, the abnormal swing information is counted to determine the number of abnormal swing information. The number of abnormal swing information can be the number of abnormal swing information in the swing information within a preset time period, or the number of abnormal swing information in the swing information within a preset distance of the vehicle, which is not limited in the embodiment as long as the function can be realized. Optionally, the preset distance can be 1 kilometer.

[0055] In an optional embodiment, if the number of abnormal swing information refers to the abnormal swing information in the swing information within a preset distance of the vehicle, the swing information of the vehicle obtained by the external terminal is the swing information within the preset distance of the vehicle. The external terminal compares the swing information within the preset distance obtained by the external terminal with the swing threshold, and each time an abnormal swing information appears, the number of abnormal swing information is increased by 1, until the swing information within the preset distance is compared with the swing threshold, and the number of abnormal swing information is obtained.

[0056] Step 310, determining the riding state of the vehicle according to the number of abnormal swing information and the preset number threshold.

[0057] The preset number threshold can be preset by the staff and stored in the external terminal. After the external terminal obtains the number of abnormal swing information, the number of abnormal swing information is compared with the preset number threshold, and the riding state of the vehicle is determined according to the comparison result.

[0058] In the embodiment, the swing information of the vehicle is compared with the preset swing threshold, swing information greater than the swing threshold is determined as abnormal swing information, and the number of abnormal swing information is determined; and the riding state of the vehicle is determined according to the number of abnormal swing information and the preset number threshold. In this way, the method of comparing the swing information with the swing threshold and comparing the number of abnormal swing information with the preset number threshold is fast and easy to implement, which can improve the accuracy and efficiency of determining the riding state of the vehicle, thereby improving the practicality and reliability of the riding state monitoring method.

[0059] In one embodiment, the riding state of the vehicle includes any one of single-hand riding, double-hand riding and off-the-grip riding, and in order to distinguish the riding state of the vehicle, the corresponding preset number threshold includes a first threshold and a second threshold, and the first threshold is greater than the second threshold. In this case, as shown in FIG. 4, one implementation related to determining the riding state of the vehicle according to the number of abnormal swing information and the preset number threshold includes the following steps: Figure 4

[0060] Step 400: In the case that the number of abnormal swing information is greater than the first threshold, the riding state of the vehicle is determined as off-the-grip riding.

[0061] After obtaining the number of abnormal swing information, the external terminal compares the number of abnormal swing information with the first threshold. If the external terminal determines that the number of abnormal swing information is greater than the first threshold, it is determined that the riding state of the vehicle is off-the-grip riding, that is, the user has dangerous riding behavior.

[0062] Step 410: In the case that the number of abnormal swing information is greater than the second threshold and less than or equal to the first threshold, the riding state of the vehicle is determined as single-hand riding.

[0063] If the external terminal compares the number of abnormal swing information with the first threshold and determines that the number of abnormal swing information is less than or equal to the first threshold, it compares the number of abnormal swing information with the second threshold. If the external terminal determines that the number of abnormal swing information is greater than the second threshold, that is, the number of abnormal swing information is less than or equal to the first threshold and greater than the second threshold, it is determined that the riding state of the vehicle is single-hand riding, that is, the user has dangerous riding behavior.

[0064] Step 420: In the case that the number of abnormal swing information is less than or equal to the second threshold, the riding state of the vehicle is determined as double-hand riding.

[0065] If the external terminal compares the number of abnormal swing information with the second threshold and determines that the number of abnormal swing information is less than or equal to the second threshold, it is determined that the riding state of the vehicle is double-hand riding, that is, the user is currently riding normally. ​

[0066] In the embodiment, the external terminal determines the riding state of the vehicle by comparing the number of abnormal swing information with the first threshold value and the second threshold value, so that the method for determining the riding state of the vehicle is fast, simple in logic and easy to implement, and can improve the accuracy and efficiency of determining the riding state, thereby improving the practicality and reliability of the riding state monitoring method.

[0067] In an optional embodiment, it is assumed that the swing information of the vehicle obtained is the body inclination angle and the body swing frequency within a preset distance (for example, 1 kilometer), and the corresponding swing threshold value includes the body inclination angle threshold value and the body swing frequency threshold value. The external terminal compares the body inclination angle with the body inclination angle threshold value to determine the abnormal body inclination angle and determine the number of abnormal body inclination angles. The external terminal compares the body swing frequency with the body swing frequency threshold value to determine the abnormal body swing frequency and determine the number of abnormal body swing frequencies. The number of abnormal swing information is the sum of the number of abnormal body inclination angles and the number of abnormal body swing frequencies. The external terminal compares the number of abnormal swing information with the first threshold value, and if the number of abnormal swing information is greater than the first threshold value, it is determined that the current riding state of the vehicle is the handlebar riding. If the number of abnormal swing information is less than or equal to the first threshold value, the external terminal compares the number of abnormal swing information with the second threshold value, and if the number of abnormal swing information is greater than the second threshold value, it is determined that the current riding state of the vehicle is the single-hand riding. If the number of abnormal swing information is less than or equal to the second threshold value, it is determined that the current riding state of the vehicle is the double-hand riding. Optionally, the first threshold value can be 10 / km, and the second threshold value can be 5 / km.

[0068] It is assumed that the swing information of the vehicle obtained is the body inclination angle, and the corresponding swing threshold value includes the inclination angle threshold value. The external terminal compares the obtained body inclination angle with the inclination angle threshold value, determines the body inclination angle greater than the inclination angle threshold value as the abnormal inclination angle, and determines the number of abnormal inclination angles. Compare the number of abnormal inclination angles with the first threshold value, if the number of abnormal inclination angles is greater than the first threshold value, it is determined that the current riding state of the vehicle is the handlebar riding. If the number of abnormal inclination angles is less than or equal to the first threshold value, the external terminal compares the abnormal inclination angle with the second threshold value, and if the number of abnormal inclination angles is greater than the second threshold value, it is determined that the current riding state of the vehicle is the single-hand riding. If the number of abnormal inclination angles is less than or equal to the second threshold value, it is determined that the current riding state of the vehicle is the double-hand riding. Optionally, the inclination angle threshold value is 15 degrees, the first threshold value can be 3 / km, and the second threshold value can be 2 / km.

[0069] In an embodiment, as Figure 5As shown, the corresponding swing threshold is different for different scenes in which the user rides the vehicle, and on this basis, the steps for obtaining the preset swing threshold in an embodiment include:

[0070] In step 500, scene information corresponding to the vehicle is obtained, and the scene information includes at least one of user information, environment information, vehicle information, and road condition information.

[0071] The user information can include the age and gender of the user, and the user information is different, the control ability of the vehicle is different. The environment information includes the season and / or weather in which the user currently rides the vehicle. The environment information will affect the control ability of the user to the vehicle, for example, in the rainy day, the control ability of the user to the vehicle is poor, and the swing amplitude of the vehicle is large. The vehicle information can include the model of the vehicle, the speed of the user riding the vehicle, and the use time of the vehicle. The vehicle information will affect the control ability of the user to the vehicle, for example, the older model of the vehicle, or the vehicle with longer use time, due to the influence of the performance of the vehicle itself, the control ability of the user to the vehicle is poor; the speed of the vehicle is different, the inclination angle, the swing frequency and the swing amplitude of the vehicle head / body are different. The road condition information can include the type of the road (mountain road, cement road) and the horizontal angle of the road (i.e. whether the road is flat, uphill or downhill) in which the user currently rides the vehicle. Different road conditions will affect the inclination angle, the swing frequency and the swing amplitude of the vehicle head / body.

[0072] The external terminal obtains the scene information when the user rides the current vehicle, and the scene information can be any one or more of the user information, the environment information, the vehicle information, and the road condition information. Different scene information corresponds to different methods for obtaining the scene information corresponding to the vehicle, and the present embodiment does not limit this.

[0073] In an optional embodiment, for the user information, the user can be pre-registered and stored in the external terminal. For the environment information, the external terminal can obtain the weather information from the weather network. For the vehicle information, the external terminal can obtain it from the vehicle terminal. For the road condition information, the external terminal can obtain the current position information of the vehicle from the vehicle terminal, and obtain the road condition information according to the current position information of the vehicle and the preset electronic map.

[0074] In step 510, the scene information is input into a threshold determination model to obtain the swing threshold.

[0075] After obtaining the scene information corresponding to the vehicle, the external terminal inputs the scene information into a threshold determination model to obtain the swing threshold in the normal driving state of the vehicle. The threshold determination model can be pre-trained and stored in the external terminal.

[0076] In an optional embodiment, as shown in Figure 6 The method for obtaining the threshold determination model can include:

[0077] Step 600, obtaining a training sample; the training sample includes a scene sample, and a swing threshold corresponding to the scene sample;

[0078] Step 610, inputting the training sample into a network model to obtain a threshold determination model.

[0079] The external terminal determines a loss according to the output result of the network model and the corresponding normal swing threshold, and adjusts the network parameters of the network model according to the loss until a training end condition is reached to obtain the threshold determination model. The network model can be a neural network model or a deep learning network, and the structure and type of the network model are not limited in the embodiment, as long as the function can be realized.

[0080] In the embodiment, scene information corresponding to the vehicle is obtained, the scene information including at least one of user information, environment information, vehicle information and road condition information; the scene information is input into the threshold determination model to obtain the swing threshold of the vehicle in the normal driving state under the scene information. In this way, the method for determining the swing threshold is fast and easy to implement. In the embodiment, the influence of the scene information on the swing information of the vehicle during the user riding the vehicle is considered, which can improve the accuracy of the determined swing threshold, and the accuracy of determining the riding state of the vehicle according to the swing threshold can be improved.

[0081] In one embodiment, as shown in Figure 7 , an implementation for obtaining swing information of a vehicle is involved, and the steps of the implementation include:

[0082] Step 700, obtaining position information of the vehicle.

[0083] The position information of the vehicle can include a plurality of position coordinates of the vehicle in a preset time period. The position information of the vehicle can be obtained by a position sensor in the vehicle and sent to the external terminal, or the position sensor in the vehicle can send the position information to the vehicle terminal, and the vehicle terminal can send the position information to the external terminal.

[0084] Step 710, determining whether the vehicle is in a straight driving state according to the position information.

[0085] The external terminal determines whether the vehicle is in a straight driving state according to the position information after obtaining the position information of the vehicle. The specific method for determining whether the vehicle is in a straight driving state according to the position information is not limited in the embodiment, as long as the function can be realized.

[0086] In an optional embodiment, the external terminal can input the position information into the pre-trained determination model to obtain an output result of the determination model; and determine whether the vehicle is in the straight driving state according to the output result of the determination model. Whether the vehicle is in the straight driving state can be represented by a character, for example, “Y” represents that the vehicle is in the straight driving state, and “N” represents that the vehicle is not in the straight driving state. If the output result of the determination model is “Y”, it is determined that the vehicle is in the straight driving state; and if the output result of the determination model is “N”, it is determined that the vehicle is not in the straight driving state.

[0087] In another optional embodiment, after obtaining the position information of the vehicle, the external terminal determines a position line according to the plurality of position coordinates in the position information; determines an included angle between the position line and a preset straight line, the preset straight line being a straight line when the vehicle is in the straight driving state; compares the included angle with a preset included angle threshold value, and if the included angle is greater than or equal to the preset included angle threshold value, it is determined that the vehicle is not in the straight driving state; and if the included angle is less than the preset included angle threshold value, it is determined that the vehicle is in the straight driving state. The method for determining the position line can include: determining a line between a first position coordinate and a last position coordinate in the plurality of position coordinates in time sequence as the position line.

[0088] Step 720, in the case that the vehicle is in the straight driving state, obtaining swing information of the vehicle.

[0089] If the external terminal determines that the vehicle is in the straight driving state according to the position information, the swing information of the vehicle is obtained. The description of the swing information of the vehicle can refer to the specific description in the above embodiments, which will not be described here.

[0090] If the external terminal determines that the vehicle is not in the straight driving state according to the position information, the steps 700-720 can be returned to execute.

[0091] In the embodiment, in the case that the external terminal determines that the vehicle is in the straight driving state according to the obtained position information of the vehicle, the swing information of the vehicle is obtained to determine the riding state of the vehicle, so that the accuracy of determining the riding state of the vehicle can be improved.

[0092] In an embodiment, in the case that it is determined that the user has dangerous riding behavior, any one of the following ways can be used to reduce the occurrence of traffic accidents. As shown in FIG. 8, the way to reduce traffic accidents can include: Figure 8

[0093] Step 800, in the case that the riding state of the vehicle is single-hand riding or out-of-grip riding, sending warning information to the user.

[0094] ​If the external terminal determines, according to the preset swing threshold and the swing information, that the riding state of the vehicle is single-hand riding or riding without holding the handle, i.e., the user has dangerous riding behavior, the external terminal sends the riding state of the vehicle to the vehicle-mounted terminal; the vehicle-mounted terminal sends warning information to the user according to the riding state of the vehicle. The warning information can include warning bell sound (warning bell sound is emitted through a buzzer) and warning voice, etc. The types of the warning information are not limited in the embodiment, as long as the functions can be realized.

[0095] Step 810, in the case that the riding state of the vehicle is single-hand riding or riding without holding the handle, the vehicle is controlled to stop.

[0096] If the external terminal determines, according to the preset swing threshold and the swing information, that the riding state of the vehicle is single-hand riding or riding without holding the handle, i.e., the user has dangerous riding behavior, the external terminal controls the vehicle to stop.

[0097] In an optional embodiment, the external terminal can send a control signal to the vehicle-mounted terminal, and the vehicle-mounted terminal controls the vehicle to slow down until the vehicle stops according to the control signal. The external terminal can also send the riding state of the vehicle to the vehicle-mounted terminal, and the vehicle-mounted terminal controls the vehicle to slow down until the vehicle stops according to the riding state.

[0098] In the embodiment, two ways of ensuring riding safety in the case that the riding state of the vehicle is single-hand riding or riding without holding the handle are provided, and the staff can choose according to the actual situation, so that the riding state monitoring method has higher practicability.

[0099] Please refer to Figure 9 An embodiment of the present application provides a riding state monitoring method, and steps of the method include:

[0100] Step 900, motion data of the vehicle is acquired to determine whether the vehicle is in a motion state;

[0101] Step 910, in the case that the vehicle is in the motion state, position information of the vehicle is acquired, and whether the vehicle is in a straight-line driving state is determined according to the position information;

[0102] Step 920, in the case that the vehicle is in the straight-line driving state, swing information of the vehicle is acquired; the swing information includes vehicle head swing information and / or vehicle body swing information, the vehicle head swing information includes at least one of a vehicle head inclination angle, a vehicle head swing amplitude and a vehicle head swing frequency, and the vehicle body swing information includes at least one of a vehicle body inclination angle, a vehicle body swing amplitude and a vehicle body swing frequency;

[0103] Step 930: Obtain scene information corresponding to the vehicle, input the scene information into a threshold determination model, and obtain a swing threshold; the scene information includes at least one of user information, environmental information, vehicle information, and road condition information;

[0104] Step 940: Determine the swing information that is greater than the swing threshold as abnormal swing information, and determine the number of abnormal swing information;

[0105] Step 950: If the number of abnormal swing information is greater than a first threshold, determine that the riding state of the vehicle is handlebar-off riding;

[0106] Step 960: If the number of abnormal swing information is greater than the second threshold and less than or equal to the first threshold, determine that the riding state of the vehicle is one-handed riding; the first threshold is greater than the second threshold;

[0107] Step 970: If the number of abnormal swing information is less than or equal to the second threshold, determine that the riding state of the vehicle is two-handed riding;

[0108] Step 980: When the vehicle is in a one-handed riding state or a handlebar-free riding state, the vehicle is controlled to stop, or a warning message is sent to the user.

[0109] It should be understood that, although the various steps in the flowcharts involved in the various embodiments described above are displayed in sequence according to the instructions of the arrows, these steps are not necessarily executed in sequence in the order indicated by the arrows. Unless otherwise specified herein, there is no strict order restriction on the execution of these steps, and these steps can be executed in other orders. Moreover, at least a portion of the steps in the flowcharts involved in the various embodiments described above can include multiple steps or multiple stages, and these steps or stages are not necessarily executed and completed at the same time, but can be executed at different times, and the execution order of these steps or stages is not necessarily to be carried out in sequence, but can be executed in turn or alternately with other steps or at least a portion of steps or stages in other steps.

[0110] Based on the same inventive concept, embodiments of the present application also provide a riding state monitoring device for implementing the aforementioned riding state monitoring method. The solution provided by this device is similar to the solution described in the aforementioned method. Therefore, the specific limitations of one or more riding state monitoring device embodiments provided below can be found in the above-described limitations of the riding state monitoring method and will not be further elaborated here.

[0111] In one embodiment, Figure 10 As shown, a riding status monitoring device 10 is provided, comprising: an acquisition module 11 and a determination module 12, wherein:

[0112] The acquisition module 11 is used to acquire the swing information of the vehicle when the vehicle is in motion.

[0113] The determination module 12 is used to determine the riding state of the vehicle according to the preset swing threshold and the swing information; the riding state of the vehicle includes any one of one-handed riding, two-handed riding and handlebar-free riding.

[0114] In one embodiment, the swing information includes vehicle head swing information and / or vehicle body swing information.

[0115] In one embodiment, the vehicle head swing information includes at least one of the vehicle head tilt angle, vehicle head swing amplitude and vehicle head swing frequency, and the vehicle body swing information includes at least one of the vehicle body tilt angle, vehicle body swing amplitude and vehicle body swing frequency.

[0116] In one embodiment, the determination module 12 includes a first determination unit and a second determination unit. The first determination unit is configured to determine swing information greater than a swing threshold as abnormal swing information and to determine the number of abnormal swing information. The second determination unit is configured to determine the riding state of the vehicle based on the number of abnormal swing information and a preset number threshold.

[0117] In one embodiment, the second determination unit is specifically used to determine that the vehicle's riding state is off-hand riding when the number of abnormal swing information is greater than a first threshold; determine that the vehicle's riding state is one-handed riding when the number of abnormal swing information is greater than a second threshold and less than or equal to the first threshold; the first threshold is greater than the second threshold; and when the number of abnormal swing information is less than or equal to the second threshold, determine that the vehicle's riding state is two-handed riding.

[0118] In one embodiment, the acquisition module 11 is further used to obtain scene information corresponding to the vehicle; the scene information includes at least one of user information, environmental information, vehicle information and road condition information; the scene information is input into the threshold determination model to obtain the swing threshold.

[0119] In one embodiment, the acquisition module 11 includes a first acquisition unit, a third determination unit, and a second acquisition unit. The first acquisition unit is configured to acquire vehicle position information. The third determination unit is configured to determine whether the vehicle is traveling in a straight line based on the position information. The second acquisition module is configured to acquire vehicle sway information if the vehicle is traveling in a straight line.

[0120] In one embodiment, the riding state monitoring device 10 further includes a control module. The control module is configured to send a warning message to the user when the vehicle is riding in a one-handed riding state or a handlebar-free riding state; or to control the vehicle to stop when the vehicle is riding in a one-handed riding state or a handlebar-free riding state.

[0121] Each module in the riding state monitoring apparatus described above can be implemented wholly or partially by software, hardware and combinations thereof. Each module described above can be embedded in a processor in a computer device in hardware form or independent of the processor, or stored in a memory in the computer device in software form, so as to be called and executed by the processor to perform the operations corresponding to each module.

[0122] In an embodiment, a computer device is provided, and an internal structure diagram of the computer device can be as shown in Figure 11 The computer device includes a processor, a memory, a communication interface, a display screen and an input device connected by a system bus. The processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for running the operating system and the computer program in the non-volatile storage medium. The communication interface of the computer device is configured to perform wired or wireless communication with an external terminal. The wireless communication can be achieved by WIFI, mobile cellular network, NFC (Near Field Communication) or other technologies. The computer program is executed by the processor to implement a riding state monitoring method. The display screen of the computer device can be a liquid crystal display screen or an electronic ink display screen. The input device of the computer device can be a touch layer overlaid on the display screen, or a key, trackball or touchpad arranged on the shell of the computer device, or an external keyboard, touchpad or mouse, etc.

[0123] Those skilled in the art can understand that Figure 11 The structure shown in the above embodiment is only a block diagram of part of the structure related to the scheme of the present application, and does not constitute a limitation on the computer device to which the scheme of the present application is applied. Specifically, the computer device can include more or fewer components than those shown in the diagram, or combine certain components, or have a different arrangement of components.

[0124] In an embodiment, a computer device is provided, including a memory and a processor, the memory storing a computer program, and the processor executing the computer program to implement the following steps:

[0125] In the case that the vehicle is in a moving state, obtaining swing information of the vehicle;

[0126] According to the preset swing threshold and the swing information, determining a riding state of the vehicle. The riding state of the vehicle includes any one of single-hand riding, double-hand riding and out-of-grip riding.

[0127] In an embodiment, the swing information includes vehicle head swing information and / or vehicle body swing information.

[0128] In an embodiment, the vehicle head swing information comprises at least one of a vehicle head inclination angle, a vehicle head swing amplitude, and a vehicle head swing frequency, and the vehicle body swing information comprises at least one of a vehicle body inclination angle, a vehicle body swing amplitude, and a vehicle body swing frequency.

[0129] In an embodiment, the processor, when executing the computer program, further implements the following steps: determining swing information greater than the swing threshold value in the swing information as abnormal swing information, and determining a number of the abnormal swing information; and determining the riding state of the vehicle according to the number of the abnormal swing information and a preset number threshold value.

[0130] In an embodiment, the processor, when executing the computer program, further implements the following steps: determining the riding state of the vehicle as a one-handed riding in a case where the number of the abnormal swing information is greater than a first threshold value; determining the riding state of the vehicle as a single-hand riding in a case where the number of the abnormal swing information is greater than a second threshold value and less than or equal to the first threshold value; the first threshold value is greater than the second threshold value; and determining the riding state of the vehicle as a double-hand riding in a case where the number of the abnormal swing information is less than or equal to the second threshold value.

[0131] In an embodiment, the processor, when executing the computer program, further implements the following steps: obtaining scene information corresponding to the vehicle; the scene information comprises at least one of user information, environment information, vehicle information, and road condition information; and inputting the scene information into a threshold value determination model to obtain the swing threshold value.

[0132] In an embodiment, the processor, when executing the computer program, further implements the following steps: obtaining position information of the vehicle; determining whether the vehicle is in a straight-line driving state according to the position information; and obtaining swing information of the vehicle in a case where the vehicle is in the straight-line driving state.

[0133] In an embodiment, the processor, when executing the computer program, further implements the following steps: sending warning information to the user in a case where the riding state of the vehicle is the single-hand riding or the one-handed riding; or controlling the vehicle to stop in a case where the riding state of the vehicle is the single-hand riding or the one-handed riding.

[0134] In an embodiment, a computer readable storage medium is provided, and the computer readable storage medium stores a computer program. The computer program is executed by a processor to implement the following steps:

[0135] obtaining swing information of the vehicle in a case where the vehicle is in a motion state;

[0136] determining a riding state of the vehicle according to a preset swing threshold value and the swing information; the riding state of the vehicle comprises any one of a single-hand riding, a double-hand riding, and a one-handed riding.

[0137] In an embodiment, the swing information comprises vehicle head swing information and / or vehicle body swing information.

[0138] In one embodiment, the vehicle head swing information includes at least one of a vehicle head inclination angle, a vehicle head swing amplitude, and a vehicle head swing frequency, and the vehicle body swing information includes at least one of a vehicle body inclination angle, a vehicle body swing amplitude, and a vehicle body swing frequency.

[0139] In one embodiment, the computer program, when executed by the processor, further implements the following steps: determining swing information greater than the swing threshold value in the swing information as abnormal swing information, and determining a number of the abnormal swing information; and determining the riding state of the vehicle according to the number of the abnormal swing information and a preset number threshold value.

[0140] In one embodiment, the computer program, when executed by the processor, further implements the following steps: determining the riding state of the vehicle as a no-hands riding in a case where the number of the abnormal swing information is greater than a first threshold value; determining the riding state of the vehicle as a single-hand riding in a case where the number of the abnormal swing information is greater than a second threshold value and less than or equal to the first threshold value; the first threshold value is greater than the second threshold value; and determining the riding state of the vehicle as a double-hand riding in a case where the number of the abnormal swing information is less than or equal to the second threshold value.

[0141] In one embodiment, the computer program, when executed by the processor, further implements the following steps: obtaining scene information corresponding to the vehicle; the scene information includes at least one of user information, environment information, vehicle information, and road condition information; and inputting the scene information into a threshold value determination model to obtain the swing threshold value.

[0142] In one embodiment, the computer program, when executed by the processor, further implements the following steps: obtaining position information of the vehicle; determining whether the vehicle is in a straight-line driving state according to the position information; and obtaining swing information of the vehicle in a case where the vehicle is in the straight-line driving state.

[0143] In one embodiment, the computer program, when executed by the processor, further implements the following steps: sending warning information to a user in a case where the riding state of the vehicle is the single-hand riding or the no-hands riding; or controlling the vehicle to stop in a case where the riding state of the vehicle is the single-hand riding or the no-hands riding.

[0144] In one embodiment, a computer program product is provided, including a computer program, which, when executed by a processor, implements the following steps:

[0145] obtaining swing information of the vehicle in a case where the vehicle is in a motion state;

[0146] determining a riding state of the vehicle according to a preset swing threshold value and the swing information; the riding state of the vehicle includes any one of a single-hand riding, a double-hand riding, and a no-hands riding.

[0147] In an embodiment, the swing information comprises vehicle head swing information and / or vehicle body swing information.

[0148] In an embodiment, the vehicle head swing information comprises at least one of a vehicle head tilt angle, a vehicle head swing amplitude and a vehicle head swing frequency, and the vehicle body swing information comprises at least one of a vehicle body tilt angle, a vehicle body swing amplitude and a vehicle body swing frequency.

[0149] In an embodiment, the computer program, when executed by the processor, further implements the following steps: determining swing information greater than the swing threshold in the swing information as abnormal swing information, and determining a number of the abnormal swing information; determining the riding state of the vehicle according to the number of the abnormal swing information and a preset number threshold.

[0150] In an embodiment, the computer program, when executed by the processor, further implements the following steps: determining the riding state of the vehicle as one-hand riding when the number of the abnormal swing information is greater than a first threshold; determining the riding state of the vehicle as single-hand riding when the number of the abnormal swing information is greater than a second threshold and less than or equal to the first threshold; the first threshold is greater than the second threshold; and determining the riding state of the vehicle as double-hand riding when the number of the abnormal swing information is less than or equal to the second threshold.

[0151] In an embodiment, the computer program, when executed by the processor, further implements the following steps: obtaining scene information corresponding to the vehicle; the scene information comprises at least one of user information, environment information, vehicle information and road condition information; and inputting the scene information into a threshold determination model to obtain the swing threshold.

[0152] In an embodiment, the computer program, when executed by the processor, further implements the following steps: obtaining position information of the vehicle; determining whether the vehicle is in a straight driving state according to the position information; and obtaining swing information of the vehicle when the vehicle is in the straight driving state.

[0153] In an embodiment, the computer program, when executed by the processor, further implements the following steps: sending warning information to the user when the riding state of the vehicle is single-hand riding or out-of-control riding; or stopping the vehicle when the riding state of the vehicle is single-hand riding or out-of-control riding.

[0154] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program. The computer program can be stored in a non-volatile computer readable storage medium, and when the computer program is executed, the processes of the above-mentioned embodiments of the methods can be included. Any reference to memory, database or other medium used in the embodiments provided in the present application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical storage, high-density embedded non-volatile memory, resistive memory (ReRAM), magnetoresistive random access memory (MRAM), ferroelectric memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. As an illustration but not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM), etc. The database involved in the embodiments provided in the present application can include at least one of a relational database and a non-relational database. The non-relational database can include a distributed database based on a block chain, etc., without being limited thereto. The processor involved in the embodiments provided in the present application can be a general-purpose processor, a central processing unit, a graphics processing unit, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, etc., without being limited thereto.

[0155] Any combination of the technical features of the above embodiments can be made. In order to make the description simple, all possible combinations of the technical features in the above embodiments are not described, however, as long as the combination of the technical features does not exist, it should be considered as the scope of the present application.

[0156] The above embodiments only express several implementation manners of the present application, and the description is more specific and detailed, but it should not be understood as a limitation on the scope of the patent of the present application. It should be pointed out that for ordinary skilled in the art, without departing from the concept of the present application, a number of modifications and improvements can be made, which are all within the protection scope of the present application. Therefore, the protection scope of the present application should be subject to the appended claims.

Claims

1. A cycling condition monitoring method characterized by, The method comprises: obtaining swing information of the vehicle in a moving state; determining a riding state of the vehicle according to a preset swing threshold and the swing information; the riding state of the vehicle includes any one of single-hand riding, double-hand riding and handlebar-free riding.

2. The method of claim 1, wherein, The swing information includes vehicle head swing information and / or vehicle body swing information.

3. The method of claim 2, wherein, The vehicle head swing information includes at least one of a vehicle head inclination angle, a vehicle head swing amplitude and a vehicle head swing frequency, and the vehicle body swing information includes at least one of a vehicle body inclination angle, a vehicle body swing amplitude and a vehicle body swing frequency.

4. The method according to any one of claims 1 to 3, characterized in that, The determination of the riding state of the vehicle according to the preset swing threshold and the swing information includes: determining swing information greater than the swing threshold in the swing information as abnormal swing information, and determining a number of the abnormal swing information; determining the riding state of the vehicle according to the number of the abnormal swing information and a preset number threshold.

5. The method of claim 4, wherein, The preset number threshold includes a first threshold and a second threshold, and the determination of the riding state of the vehicle according to the number of the abnormal swing information and the preset number threshold includes: determining the riding state of the vehicle as the handlebar-free riding when the number of the abnormal swing information is greater than the first threshold; determining the riding state of the vehicle as the single-hand riding when the number of the abnormal swing information is greater than the second threshold and less than or equal to the first threshold; the first threshold is greater than the second threshold; determining the riding state of the vehicle as the double-hand riding when the number of the abnormal swing information is less than or equal to the second threshold.

6. The method according to any one of claims 1-3, characterized in that, The method further comprises: obtaining scene information corresponding to the vehicle; the scene information includes at least one of user information, environment information, vehicle information and road condition information; inputting the scene information into a threshold determination model to obtain the swing threshold.

7. The method according to any one of claims 1-3, characterized in that, The obtaining of the swing information of the vehicle includes: obtaining position information of the vehicle; determining whether the vehicle is in a straight-line driving state according to the position information; obtaining the swing information of the vehicle when the vehicle is in the straight-line driving state.

8. The method of any one of claims 1-3, wherein, The method further comprises: sending warning information to a user when the riding state of the vehicle is the single-hand riding or the handlebar-free riding; or controlling the vehicle to stop when the riding state of the vehicle is the single-hand riding or the handlebar-free riding.

9. A cycling condition monitoring device, characterised in that, The device comprises: an obtaining module configured to obtain swing information of the vehicle in a moving state; a determining module configured to determine a riding state of the vehicle according to a preset swing threshold and the swing information; the riding state of the vehicle includes any one of single-hand riding, double-hand riding and handlebar-free riding. 10.A computer device, comprising a memory and a processor, wherein the memory stores a computer program, and the computer device is configured to perform the method according to any one of claims 1-9. The processor executes the computer program to implement the steps of the method in any one of claims 1 to 8.

11. A computer readable storage medium having stored thereon a computer program, characterized in that The computer program is executed by the processor to implement the steps of the method in any one of claims 1 to 8.

12. A computer program product comprising a computer program, characterized in that, The computer program is executed by the processor to implement the steps of the method in any one of claims 1 to 8.