Disclosure of Invention
Additional features of the invention will be set forth in part in the description which follows. Additional features of the invention will be set forth in part in the description which follows and in part will become apparent to those having ordinary skill in the art upon examination of the following and the accompanying drawings or may be learned from the manufacture or operation of the embodiments. The features of the present invention may be realized and attained by practice or use of the methodologies, instrumentalities and combinations of various aspects of the particular embodiments described below.
One aspect of the present invention provides a method for determining whether a user rides safely, which may include: acquiring position information of a bicycle at different time points; obtaining the driving direction of the bicycle on the road based on the first position information and the second position information of the bicycle at different time points; comparing the driving direction of the bicycle with the allowable driving direction of the traffic rule of the position of the bicycle, and judging that the user does not safely ride the bicycle when the driving direction of the bicycle is not consistent with the allowable driving direction of the traffic rule; the first position information comprises a single vehicle position at a first time point, and the second position information comprises a single vehicle position at a second time point; and the road distance difference between the bicycle position at the second time point and the bicycle position at the first time point is greater than a set threshold value.
In the invention, when the user is judged not to ride safely, safety prompt is carried out.
In the present invention, the acquiring the position information of the bicycle at different time points further comprises: and acquiring user information and bicycle equipment information.
In the present invention, the user information includes: weight information of the user, information that proves that the user has grown up, and/or driving behavior information of the user.
In the present invention, the driving behavior information includes: whether the user is in a car; whether the user has dangerous behaviors in the riding process or not, wherein the dangerous behaviors comprise that a plurality of people ride a single bicycle simultaneously, objects hung on a handlebar by the user are too heavy, and/or the user does not put hands on the handlebar.
In the invention, judging whether to ride safely further comprises: acquiring the user information based on a pressure sensor, a light sensor and/or a detection device; acquiring the bicycle equipment information based on the detection equipment; and acquiring the bicycle position information based on a position sensor.
In the present invention, the acquiring the user information based on the pressure sensor, the light sensor and/or the detection device includes: mounting a first pressure sensor at the central point of two wheel shafts of the bicycle; acquiring the pressure distribution and/or the pressure value of the bicycle based on the first pressure sensor; and determining whether the user is on the bicycle and whether dangerous behaviors exist in the riding process of the user based on the pressure distribution and/or the first pressure value of the bicycle.
In the present invention, the acquiring the user information based on the pressure sensor, the light sensor and/or the detection device includes: a second pressure sensor is arranged in the middle of the bicycle; acquiring a pressure distribution and/or a second pressure value of the bicycle based on the second pressure sensor; and determining whether the user is on the bicycle and whether dangerous behaviors exist in the riding process of the user based on the pressure distribution and/or the pressure value of the bicycle.
In the present invention, the acquiring the user information based on the pressure sensor, the light sensor and/or the detection device includes: installing a third pressure sensor on a handlebar of the bicycle; acquiring a pressure distribution and/or a third pressure value of the bicycle based on the third pressure sensor; and determining whether the user is on the bicycle and whether dangerous behaviors exist in the riding process of the user based on the pressure distribution and/or the third pressure value of the bicycle.
In the present invention, the determining whether the user is on the bicycle and whether the user has dangerous behaviors in the riding process based on the pressure distribution and/or the first pressure value of the bicycle comprises: determining a grip threshold; determining that the user does not place a hand on a handlebar when the third pressure value is less than the grip threshold value.
In the present invention, the bicycle device information includes: the information whether the battery interface of bicycle breaks away from, the information whether the tire of bicycle is decompression, the information whether the brake block of bicycle is malfunctioning.
In the present invention, the information on whether the battery interface of the bicycle is detached includes: acquiring battery voltage information of the bicycle based on the sensor and the detection equipment; determining whether a battery interface of the bicycle is disengaged based on the battery voltage information of the bicycle.
In the invention, the information for acquiring whether the brake pad of the bicycle fails comprises the following steps: based on the sensor and the detection equipment, acquiring the tension at the interface of a brake pad of the bicycle; determining whether the brake pad of the bicycle is malfunctioning based on the tautness at the brake pad interface of the bicycle.
In the present invention, the determining whether the condition of safe riding is met based on the user information includes: judging whether the user is adult or not based on the user information; and judging whether the conditions of safe riding are met or not based on the judgment result of whether the user is adult or not.
In the present invention, said determining whether the user is adult based on the user information includes: judging whether the weight of the user is smaller than a preset weight threshold value or not based on the weight information of the user; when the weight of the user is smaller than a preset weight threshold value, pre-judging that the user is not grown; when the user is pre-determined to be immature, requiring input of information that proves that the user is adult; when the user inputs information for proving that the user is grown up, judging whether the proving information is effective; when the certification information input by the user is valid, judging that the user is grown; when the certification information input by the user is invalid or the user does not input the certification information, judging that the user is underage.
The invention provides a system for judging whether a user rides safely, which comprises an acquisition module, a determination module and a judgment module, wherein the acquisition module comprises: the acquisition module is used for acquiring the position information of the bicycle at different time points; the determining module is used for determining the driving direction of the bicycle on the road, and the judging module is used for comparing whether the driving direction of the bicycle is consistent with the driving direction allowed by the traffic rule of the position of the bicycle, and judging that the user does not ride safely when the driving direction of the bicycle is inconsistent with the driving direction allowed by the traffic rule of the position of the bicycle.
Another aspect of the present invention provides an apparatus for determining whether a user is riding safely, which may include a processor, where the processor runs an identification program, and the identification program runs to execute any one of the above methods for determining whether a user is riding safely.
Another aspect of the present invention provides a computer-readable storage medium, where the storage medium may store computer instructions, and after the computer reads the computer instructions in the storage medium, the computer may execute any one of the above-mentioned methods for determining whether a user rides safely.
Due to the adoption of the technical scheme, the invention has the following technical effects:
the system can judge whether the user rides safely according to the user behaviors detected by the sensing device, the detection device and the positioning system and the information of the bicycle device, and prompt the user according to the judgment result.
Detailed Description
The invention aims to provide a method and a system for more accurately judging whether a user has dangerous riding behaviors or not, and prompting information is inaccurate or a prompting mode is inconvenient, aiming at solving the problem that whether the user has the dangerous riding behaviors or not can not be accurately judged in the existing shared bicycle safety prompt.
FIG. 1 is a schematic diagram of a system 100 for determining whether a user is riding safely in accordance with the present invention. Determining whether the user is riding the safety system 100 may include an obtaining module 102, a determining module 104, and a determining module 106. In some embodiments, determining whether the user is riding the system 100 may also include a prompt module 108.
The obtaining module 102 may obtain position information of the bicycle at different time points. In some embodiments, the acquisition module 102 may also acquire user information and bicycle device information.
The bicycle can comprise a bicycle, an electric vehicle, a motorcycle and the likeVehicles of the same type. The location information of the bicycle at different points in time may include first location information and second location information. The first location information may be bicycle location information at a first point in time and the second location information may be bicycle location information at a second point in time. The road distance difference between the bicycle position at the first time point and the bicycle position at the second time point is larger than a set threshold value. In some embodiments, the different time points may be time points determined according to a certain time interval, and the first time point and the second time point are effective time points determined according to a path difference. For example, three time points A, B, C are determined according to the time interval, and the position information S corresponding thereto is acquiredA、SB、SCIn which S isAAnd SBPath difference of SABLess than a set threshold value, SAAnd SCPath difference of SACGreater than a set threshold, S may be determinedAAnd SCThe first time point and the second time point. In some embodiments, the different time points may be preset time points, and the first time point and the second time point are determined according to the same method as described above. The location information may include high-precision location information, geographical location information, navigation system location information, road information associated with the location information (e.g., traffic regulations, road directions of roads where the vehicle is located), and the like. In some embodiments, the location information may be obtained by a location sensor, a positioning system, or any combination thereof.
The user information may include user information and bicycle device information. The user information may include weight information of the user, information that proves that the user is adult, and/or driving behavior information of the user. The driving behavior information of the user can comprise information whether the user is on the bicycle or not and information whether dangerous behaviors exist in the riding process or not. The information of whether the user has dangerous behaviors in the riding process can comprise that a plurality of persons ride a single bicycle simultaneously, the user hangs heavy objects on the bicycle handle and/or the user does not put hands on the bicycle handle. The system 100 for determining whether the user is riding safely can obtain the user information based on the pressure sensor, the light sensor and/or the detection device. The system 100 for determining whether the user rides safely may further obtain the bicycle device information based on the detection device.
In some embodiments, a first pressure sensor may be mounted at a hub center point of the bicycle. In some embodiments, a second pressure sensor may be mounted in the middle of the bicycle. In some embodiments, a third pressure sensor may be mounted on the bicycle handlebar. In some embodiments, a fourth pressure sensor may be mounted on a seat of the bicycle. The first pressure sensor, the second pressure sensor, the third pressure sensor and the fourth pressure sensor can acquire a first pressure value, a second pressure value, a third pressure value and a fourth pressure value corresponding to the bicycle. In some embodiments, a pressure profile of the bicycle may be acquired from the first pressure sensor, the second pressure sensor, the third pressure sensor, and/or the fourth pressure sensor. The pressure values and/or the pressure profiles may be used to determine whether the user is in a vehicle, whether multiple persons are riding a single vehicle, whether the user is hanging too heavy on a handlebar, and/or whether the user is not putting his or her hands on the handlebar. In some embodiments, the pressure profile may be determined from the first pressure sensor and the second pressure sensor. For example, the ratio of the pressure values borne by the two parts can be determined according to the first pressure value and the second pressure value (for example, according to the pressure values borne by the central point of the wheel axle and the middle part of the bicycle respectively), and the ratio is regarded as the pressure distribution of the bicycle. The system can determine whether the pressure distribution of the bicycle is uneven or not according to the pressure distribution of the bicycle, for example, the pressure distribution is compared with a preset pressure distribution threshold range, and when the pressure distribution of the bicycle does not belong to the pressure distribution threshold range, the pressure distribution of the bicycle is determined to be uneven, so that dangerous driving behaviors (for example, behaviors that a plurality of people ride the same bicycle) exist. In some embodiments, the pressure distribution of the bicycle may be determined according to any two, any three or all of the first, second, third and fourth pressure values (e.g., determining the pressure distribution of the bicycle according to the pressure values borne by the handlebar and the middle of the bicycle, determining whether an object hung on the handlebar by the user is overweight, or determining the pressure distribution of the bicycle according to the handlebar, the bicycle seat and the middle of the bicycle, determining whether the object hung on the handlebar by the user is overweight). In some embodiments, it may be determined from the mounting of a third pressure sensor on the bicycle handlebar whether the user has not placed a hand on the handlebar. For example, a grip threshold value is preset, and when the third pressure value obtained by the third pressure sensor is smaller than the preset grip threshold value, it can be determined that the user does not put his hand on the handlebar. In some embodiments, a determination may be made as to whether the user has hung an overweight object on the handlebar based on a third pressure sensor mounted on the bicycle handlebar. For example, a pressure threshold may be set, and when the third pressure value obtained by the third pressure sensor is greater than the pressure threshold, it may be determined that the user has hung an excessively heavy object on the handlebar. In some embodiments, the weight information of the user may be determined according to the pressure value obtained by the fourth sensor, such as taking the pressure obtained by the fourth sensor as the weight value of the user. In some embodiments, a first body weight threshold may be preset, and when the body weight value of the user is smaller than the first body weight threshold, it may be determined that the user is not in the vehicle.
In some embodiments, it may be determined from light sensors whether the user is on the vehicle and whether the user is in danger during riding. The light-sensitive sensor may include an optical metrology instrument, a laser interference light-sensitive sensor, a grating-type light-sensitive sensor, a fiber-optic light-sensitive sensor, and the like (e.g., an infrared distance-measuring sensor). In some embodiments, a first light-sensitive sensor may be mounted on the handlebar to determine whether an object is near the handlebar, and if the first light-sensitive sensor determines that no object is near the handlebar, it may be determined that the user's hand is off the handlebar, and it may then be determined that the user is not placing his hand on the handlebar, i.e., that dangerous behavior exists during riding. In some embodiments, a second light sensor may be installed at the seat, and it is determined whether an object is close to the seat according to the second light sensor, and when it is determined that no object is close to the seat, it may be determined that the user is out of the seat, and it is then determined that the user is not in the car.
In some embodiments, the electric bicycle device information may be acquired from the detection device. The electric bicycle device information may include information whether a battery interface of the bicycle is disengaged, information whether tires of the bicycle are under-pressurized, and information whether brake pads of the bicycle are malfunctioning. The detection device may include a battery voltage detection device, a tire pressure detection device, a tension detection device, and the like. In some embodiments, it may be determined whether the battery interface is disengaged based on the battery voltage detected by the battery voltage monitoring device. For example, a battery voltage threshold may be preset, and when the acquired battery voltage is less than the battery voltage threshold, it is determined that the battery interface is disengaged. In some embodiments, it may be determined whether the tire is pressure-loss based on the tire pressure detected by the tire pressure detecting device. For example, a tire pressure threshold value may be preset, and when the acquired tire pressure value is smaller than the tire pressure threshold value, it is determined that the tire is out of pressure. In some embodiments, it may be determined whether the brakes are malfunctioning based on the tautness at the brake pad interface obtained by the tautness detection device. For example, a tautness threshold may be preset, and a brake pad failure may be determined when the obtained tautness at the brake pad interface is less than the tautness threshold.
The determination module 104 may derive a driving direction of the vehicle on the road based on the first position information and the second position information of the vehicle at different time points. The specific determination process is shown in fig. 2.
The determining module 106 may determine whether the driving direction of the bicycle is consistent with the driving direction allowed by the traffic rule of the position of the bicycle, and when the driving direction of the bicycle is not consistent with the driving direction allowed by the traffic rule, determine that the user does not ride safely. The specific determination process is shown in fig. 2. In some embodiments, the determining module 106 may further generate a determination result to determine whether the user is riding safely based on the user information and the device information of the bicycle. For example, it may be determined whether the user is underage based on weight information in the user information. The specific determination process is shown in fig. 4.
In some embodiments, when obtaining information that the user is not on the vehicle, the determination module 106 may generate a determination result based on the information, and determine that the user is not riding safely. When a user has dangerous behaviors in the riding process, such as that multiple persons ride a single vehicle simultaneously, an object hung on a handlebar is too heavy, and the user does not put his hand on the handlebar, the determination module 106 may generate a determination result to determine that the user is not riding safely. In some embodiments, the determination module 106 may determine whether the user is riding safely based on the device information of the bicycle. For example, when acquiring information that a single vehicle battery interface is disengaged, information that a single vehicle tire is not pressurized, information that a single vehicle brake pad is malfunctioning, or information that other devices are not operating normally, the determining module 106 may generate a determination result to determine that the user is not riding safely.
The prompting module 108 may perform a security prompt based on the determination result generated by the determining module 106. In some embodiments, the prompt module 108 may generate the prompt based on the determination that the driving direction of the single vehicle generated by the determination module 106 is inconsistent with the driving direction allowed by the traffic rules for the location of the single vehicle. The prompting method can comprise voice prompting, vibration sensing prompting and the like. In some embodiments, the prompt may also include a limiting action to automatically limit the speed of the bicycle, inhibit acceleration of the bicycle, and the like. For example, the user may be prompted with a voice prompt that the user is currently traveling in the wrong direction, or with a vibration of the bicycle handlebar that the user is not riding safely, or a combination of both (as with a voice prompt and a vibration prompt).
In some embodiments, the prompting module 108 may prompt for safety based on the determination generated by the determining module 106 according to the user information and/or the bicycle device information. In some embodiments, the prompt module 108 may prompt for safety based on the user information, the bicycle device information, and/or the determination. The prompting method can comprise voice prompting, vibration sensing prompting and the like. In some embodiments, the prompt may also include a limiting action to automatically limit the speed of the bicycle, inhibit acceleration of the bicycle, and the like. In some embodiments, the prompting module 108 may generate different prompting content based on different user information and/or bicycle device information and the determination generated by the determining module 106. For example, the prompt module 108 may generate a prompt based on the information that the user is not on the vehicle and the determination result that the user is not driving safely, such as may prompt the user that the current behavior is at risk and please note the safety of riding. In some embodiments, the prompt module 108 may prompt the user based on the driving behavior information of the bicycle with uneven pressure distribution and the determination result that the user is not driving safely, such as prompting the user to ride safely. In some embodiments, the prompt module 108 may generate the prompt based on the information that the user has dangerous driving behavior and the determination that the user is not performing the safe ride. For another example, the prompt module 108 may generate a prompt based on the bicycle device information and the determination result that the user is not riding safely, such as to prompt the user that the bicycle is in a dangerous state.
FIG. 2 is an exemplary flow chart of the present invention for determining whether a user is riding safely.
In 202, position information of the bicycle at different points in time may be obtained. In some embodiments, the location information may include information such as a geographic location of the vehicle, traffic regulations of the location of the vehicle, a road direction of the location of the vehicle, a surrounding environment of the location of the vehicle, and the like.
In 204, a driving direction of the bicycle on the road may be obtained based on the first position information and the second position information of the bicycle at different time points. In some embodiments, a direction vector may be generated based on a geographic location provided by the location information corresponding to an earlier time point as a starting point (e.g., a geographic location corresponding to the first location information) and a geographic location provided by the location information corresponding to a later time point as an ending point (e.g., a geographic location corresponding to the second location information), and the direction of the direction vector may be a driving direction of the bicycle on the road. In some embodiments, the driving direction of the vehicle on the road may be determined according to a road direction included in the location information and a direction of the direction vector. For example, an angle between the direction of the direction vector and the road direction may be taken, and the road direction with the angle smaller than 90 degrees may be determined as the driving direction of the bicycle on the road.
In 206, the driving direction of the bicycle and the allowable driving direction of the traffic rule of the position of the bicycle can be compared to determine that the user is not riding safely when the driving direction of the bicycle and the allowable driving direction of the traffic rule are not consistent. For example, whether the determination is made to coincide may be based on the angle of the determined vector of the travel direction of the single vehicle with the determined vector of the travel direction allowed by the traffic regulations. When the included angle is larger than or equal to a preset included angle threshold value, the fact that the driving direction of the bicycle is inconsistent with the allowable driving direction of the traffic rule of the position of the bicycle can be determined; and when the included angle is smaller than the preset included angle threshold value, the driving direction of the bicycle can be determined to be consistent with the driving direction allowed by the traffic rule of the position of the bicycle.
FIG. 3 is another exemplary flow chart of the present invention for determining whether a user is riding safely.
In 302, it may be determined whether the user is underage based on the user information. Operation 302 may be performed by the decision module 106. The specific determination process is shown in fig. 4.
In 304, it may be determined whether the conditions for safe riding are met based on the determination result of whether the user is adult. Operation 304 may be performed by decision module 106. The determination module 106 may determine that the user is not in compliance with the safe riding condition based on the determination result that the user is not adult.
Fig. 4 is an exemplary flow chart of the present invention for determining if a user is adult.
In 402, it may be determined whether the weight of the user is less than a preset weight threshold based on the weight information of the user. Operation 402 may be performed by the decision module 106. The preset weight threshold may be a second weight threshold. When the weight of the user is less than a preset second body weight threshold, it may be predetermined that the user is underage.
At 406, when it is predetermined that the user is underage, input of information that proves that the user is underage may be required. Operation 402 may be performed by the decision module 106. In some embodiments, when the system 100 determines that the user is underage, the bicycle may be automatically locked (e.g., the battery of the electric bicycle is stopped, or the lock of the bicycle is automatically locked, etc.), requiring the user to enter information that identifies the user as being underage. In some embodiments, when the system 100 determines that the user is underage, a prompt (e.g., a voice prompt or a vibration prompt) may be issued requesting the user to enter information that identifies that the user is underage. In some embodiments, automatic locking may be combined with prompting to require the user to enter information that proves that the user is adult. In some embodiments, a user may enter his or her identification number and name in an APP interface associated with a bicycle, a detection device interface installed on a bicycle, and/or other device interfaces associated with a bicycle. In some embodiments, the user may enter other information that may prove that the user is adult into the APP interface associated with the bicycle, the detection device interface installed on the bicycle, and/or other device interfaces associated with the bicycle. In some embodiments, the user may prove that he is adult through facial recognition functionality. In some embodiments, a user may invite others
(e.g., other users who have registered an APP, or social software users associated with an APP, etc.) prove that they are adult.
At 408, when the user entered certification information is valid, it may be determined that the user is adult. Operation 408 may be performed by decision module 106. In some embodiments, the system 100 may obtain information about related resources, such as a public security bureau, a government department, an internal database, an external database, etc., through networking, and determine whether the information input by the user to prove that the user is adult is valid. In some embodiments, the system 100 may obtain the user-entered credential information (e.g., a facial picture) through a built-in application and determine whether the user-entered credential information is valid based on the built-in application. When the certification information input by the user is valid, it can be judged that the user has grown. Meanwhile, the bicycle may determine that the user is adult, unlock the automatic locking and/or the related prompt based on the information sent by the system 100 to determine that the user is adult.
At 410, when the user enters the certification information is invalid or the user does not enter the certification information, it may be determined that the user is underage. As shown at 408, the system 100 may determine whether the user-entered attestation information is valid. When the system 100 determines that the certification information input by the user is invalid or the user does not input the certification information, it may be determined that the user is underage.
The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention, and various modifications and changes may be made to the present invention by those skilled in the art. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.