Safety control method of vehicle, electronic equipment and vehicle
By integrating the system to obtain user status information and vehicle location in the vehicle, combining map information and user walking data, evaluating the user's drunken status, and avoiding drunk driving through safety control measures, the problem of detecting and preventing drunk driving in the prior art is solved, and the effects of high accuracy and driving safety are achieved.
Patent Information
- Application Number
- CN202510305688.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-03-14
- Publication Date
- 2025-05-16
- Estimated Expiration
- 2045-03-14
AI Technical Summary
The prior art is difficult to effectively detect and prevent drunk driving behaviors. Traditional alcohol testing systems rely on users' active cooperation and are limited in accuracy.
By integrating a system to obtain user status information and vehicle location in the vehicle, combining map information and user walking data, the user's drunken status is evaluated, and drunk driving is avoided through safety control measures.
It realizes drunken state detection without the active cooperation of users, improves the accuracy of detection and driving safety, and ensures that the vehicle will not be driven in a drunken state.
Smart Images

Figure CN120003499A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of vehicle technology, and in particular to a vehicle safety control method, electronic equipment and a vehicle. Background Art
[0002] In modern society, motor vehicles have become an indispensable tool for daily travel, but the problem of drunk driving has always been a major hidden danger to traffic safety. Drunk driving not only endangers the safety of the driver himself, but also seriously threatens the safety of other road users. Therefore, a method for detecting abnormal drunkenness on the vehicle side is urgently needed. Summary of the invention
[0003] In view of this, the purpose of this application is to propose a vehicle safety control method, electronic equipment and vehicle, which are used to detect abnormal drunkenness status on the vehicle side and avoid drunk driving through safety control on the vehicle side.
[0004] Based on the above objectives, the present application provides a vehicle safety control method, comprising:
[0005] Acquire the user's status information and the current location of the vehicle, and determine the target location set according to the current location and map information;
[0006] Determine the current state of the user according to the user state information and the historical state information, and determine the current walking mode of the user according to the current walking data and the historical walking data of the user;
[0007] A status score of the user is determined according to the target place set, the current status and the current walking mode, and safety control is performed according to the status score.
[0008] Optionally, determining a target place set according to the current location and map information includes:
[0009] Determine the location coordinates of each target location according to the map information to obtain a target location database;
[0010] A query range is determined according to the current location, and the target place database is screened according to the query range to obtain the target place set.
[0011] By determining a set of target places, it is determined whether there are target places near the user that cause the user to drink, and an assessment of whether to drink alcohol in the environmental dimension is achieved to improve the accuracy of the assessment results.
[0012] Optionally, determining the current state of the user according to the user state information and the historical state information includes:
[0013] Determine a valid heart rate data set of the user according to the user status information and a preset data capture duration;
[0014] Determine a standard average heart rate according to the historical status information;
[0015] The current state is determined according to the standard average heart rate and the valid heart rate data set.
[0016] After a user drinks alcohol, alcohol will dilate blood vessels, accelerate blood circulation, and stimulate sympathetic nerve excitement, which will cause the heartbeat to accelerate and the heart rate to increase. Therefore, the user's drinking can be evaluated from the dimension of heart rate status, combined with the evaluation of the environmental dimension to improve the accuracy of the judgment results.
[0017] Optionally, determining the current state according to the standard heart rate value and the valid heart rate data set includes:
[0018] Determine the current average heart rate and the heart rate standard deviation according to the valid heart rate data set, and determine the ratio of the current average heart rate to the standard average heart rate as the heart rate stability coefficient;
[0019] In response to the current average heart rate being within a preset heart rate range and the heart rate standard deviation being less than or equal to a preset standard deviation threshold, determining that a heart rate fluctuation condition is satisfied;
[0020] In response to the current average heart rate not being within a preset heart rate range, and / or the heart rate standard deviation being greater than a preset standard deviation threshold, determining that the heart rate fluctuation condition is not met;
[0021] Determining whether a heart rate stability condition is met according to the heart rate stability coefficient and a preset heart rate coefficient threshold;
[0022] In response to simultaneously satisfying the heart rate fluctuation condition and the heart rate stability condition, determining that the current state is an abnormal state;
[0023] Or, in response to not satisfying the heart rate fluctuation condition or not satisfying the heart rate stability condition, determining that the current state is a normal state.
[0024] The current average heart rate indicates the overall heart rate level of the current user, and is used to measure whether the user's heart rate exceeds the normal standard. The heart rate standard deviation indicates the user's heart rate fluctuation, and is used to exclude other situations such as exercise to determine whether the user is drinking alcohol. Therefore, the current average heart rate and heart rate standard deviation are used to verify each other to ensure the accuracy of the heart rate fluctuation condition evaluation.
[0025] Due to the physiological differences among different users, using only the average heart rate to judge the heart rate stability condition may lead to misjudgment, so further verification and evaluation are needed. The verification and evaluation process needs to calculate the ratio of the current average heart rate to the standard average heart rate, and determine the ratio as the heart rate stability coefficient, which is used to indicate the degree of difference between the current heart rate and the standard average heart rate of the user in a normal state. The heart rate coefficient threshold can then be used to directly evaluate the heart rate stability coefficient to determine whether the heart rate stability condition is met.
[0026] A comprehensive assessment of the current state is performed by combining the heart rate fluctuation condition and the heart rate stability condition to improve the accuracy of the current state assessment.
[0027] Optionally, determining the current walking mode of the user according to the current walking data and historical walking data of the user includes:
[0028] Determine the user's step frequency variation coefficient and current gait stability coefficient according to the current walking data;
[0029] determining a standard gait stability coefficient according to the historical walking data;
[0030] The current walking mode is determined according to the step frequency variation coefficient, the standard gait stability coefficient and the current gait stability coefficient.
[0031] Since alcohol can also reduce the user's ability to control the body and cause changes in the user's walking pattern, it is also possible to judge whether the user has been drinking from the dimension of the walking pattern, and the accuracy of drinking judgment can be improved by adding judgment dimensions.
[0032] Optionally, determining the current walking mode according to the step frequency variation coefficient, the standard gait stability coefficient and the current gait stability coefficient includes:
[0033] Determine a ratio of the current gait stability coefficient to the standard gait stability coefficient as a gait stability coefficient;
[0034] Determining whether a gait stability condition is met according to the gait stability coefficient and a preset stability coefficient threshold;
[0035] Determining whether a step frequency stability condition is met according to a preset step frequency coefficient range and the step frequency variation coefficient;
[0036] In response to simultaneously satisfying the step frequency stability condition and the gait stability condition, determining that the current walking mode is an abnormal walking mode;
[0037] Or, in response to not satisfying the step frequency stability condition or not satisfying the gait stability condition, determining that the current walking mode is a normal walking mode.
[0038] By judging the cadence stability conditions and gait stability conditions, the similarity between the user's gait and cadence at this time and the gait and cadence when drinking is determined, and then the drinking assessment of the walking pattern dimension is realized. By determining the current state and the current walking pattern, the similarity between the user's overall state and the overall state after drinking is determined, and the user's heart rate state dimension and the walking pattern dimension are combined to realize the assessment of the user's overall state and improve the accuracy of the user's drinking state determination.
[0039] Optionally, determining a status score of the user according to the target place set, the current status and the current walking mode includes:
[0040] Determining a location score according to a set type of the target set of places;
[0041] Determining a walking score according to the mode type of the current walking mode;
[0042] determining a heart rate integral according to a state type of the current state;
[0043] The sum of the heart rate integral, the walking integral and the position integral is determined as the state score.
[0044] After conducting evaluations in multiple dimensions, it is necessary to conduct a comprehensive assessment based on the evaluation results of multiple dimensions. The sum of the scores of the three evaluation dimensions is determined as the status score, which is used to judge the user's drinking status. The higher the status score, the higher the probability that the user drinks. The evaluations of different dimensions are integrated through scoring, which improves the accuracy of the evaluation.
[0045] Optionally, performing security control according to the status score includes:
[0046] In response to the status score being greater than or equal to a preset score threshold, the vehicle host or mobile terminal is controlled to inquire about the designated driver service, and designated driver request information is sent according to the user's selection operation, and status abnormality information is sent to a preset associated device.
[0047] When the status score is greater than or equal to the preset score threshold, it means that the user has parked the vehicle near the target location, and at least one of the user's walking or heart rate has an abnormality similar to drinking. At this time, the user has a high probability of drinking. At this time, it is necessary to control the vehicle host or mobile terminal to inquire about the designated driver service. If the user agrees to find a designated driver, a driving request message is sent to find a designated driver to help the user drive to avoid drunk driving. By adding the user selection process, it is ensured that when a misjudgment occurs, the user can actively terminate the misjudgment to avoid affecting the user's experience. At the same time, the cost information is sent to the preset associated device (such as the mobile terminal of the emergency contact) to ensure that the emergency contact can understand the user's status, and protect the user's legitimate rights and interests in the event of a designated driver dispute to ensure user safety.
[0048] Based on the same inventive concept, the present disclosure also provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable by the processor, wherein the processor implements the method as described above when executing the computer program.
[0049] Based on the same inventive concept, the present disclosure also provides a vehicle, comprising the electronic device as described above.
[0050] As can be seen from the above, the vehicle safety control method, electronic device and vehicle provided by the present application obtain the user's status information and the current position of the vehicle, determine the target place set according to the current position and map information; determine the target places around the user that cause the user to drink through the target place set, and preliminarily judge the user's life pattern in a short period of time. Then, by determining the user's current state and current walking mode, the user's walking mode and physical state are evaluated to achieve the evaluation of the user's overall state, and the probability of the user drinking is determined by evaluating the user's overall state. Finally, the target place set, current state and current walking mode are integrated to evaluate the user's drinking state, and the evaluation result of the drinking state is determined by the state scoring method, and safety control is performed according to the state scoring to ensure that the vehicle will not be driven when it is determined to be in a drinking state, to ensure driving safety, and the entire detection process does not require the user to take the initiative to cooperate with the detection, which ensures the accuracy of the detection results and the comfort of the user's use process. BRIEF DESCRIPTION OF THE DRAWINGS
[0051] In order to more clearly illustrate the technical solutions in the present application or related technologies, the drawings required for use in the embodiments or related technical descriptions are briefly introduced below. Obviously, the drawings described below are only embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0052] Figure 1 A flow chart of a vehicle safety control method according to an embodiment of the present application;
[0053] Figure 2 A flow chart for determining a target location set for an embodiment of the present application;
[0054] Figure 3 A flowchart for determining the current status of a user in an embodiment of the present application;
[0055] Figure 4 A flowchart for determining a user's current walking mode according to an embodiment of the present application;
[0056] Figure 5 A flowchart for determining a user's status score for an embodiment of the present application;
[0057] Figure 6 This is a schematic diagram of the structure of the safety control device of the vehicle according to the embodiment of the present application;
[0058] Figure 7 It is a schematic diagram of the structure of an electronic device according to an embodiment of the present application. DETAILED DESCRIPTION
[0059] In order to make the objectives, technical solutions and advantages of the present application more clearly understood, the present application is further described in detail below in combination with specific embodiments and with reference to the accompanying drawings.
[0060] It should be noted that, unless otherwise defined, the technical terms or scientific terms used in the embodiments of the present application should be the usual meanings understood by people with ordinary skills in the field to which the present application belongs. The "first", "second" and similar words used in the embodiments of the present application do not represent any order, quantity or importance, but are only used to distinguish different components. "Including" or "comprising" and similar words mean that the elements or objects appearing in front of the word cover the elements or objects listed after the word and their equivalents, without excluding other elements or objects. "Connect" or "connected" and similar words are not limited to physical or mechanical connections, but can include electrical connections, whether direct or indirect. "Up", "down", "left", "right" and the like are only used to indicate relative positional relationships. When the absolute position of the described object changes, the relative positional relationship may also change accordingly.
[0061] It should be understood herein that any number of elements in the drawings is for illustration rather than limitation, and any naming is only for distinction rather than having any limiting meaning.
[0062] Based on the description of the above background technology, the related technology also has the following situations:
[0063] In real life, driving under the influence of alcohol and drunk driving are divided based on the alcohol concentration. Drunk driving: When the blood alcohol content of the vehicle driver is between 20mg per 100ml and 80mg per 100ml, it is considered as driving under the influence of alcohol, and is often referred to as drunk driving. Drunk driving: If the blood alcohol content of the vehicle driver reaches or exceeds 80mg per 100ml, it is considered as drunk driving, referred to as drunk driving. The difference between the two lies in the threshold of alcohol content, but both drunk driving and drunk driving are violations of traffic regulations, which will have a serious impact on the driver's judgment and reaction ability, thereby increasing the risk of traffic accidents.
[0064] Dangers of drunk driving:
[0065] Vision impairment: After drinking, the user's vision will be affected, color perception and visual ability will be reduced, vision will be unstable, color discrimination ability will be reduced, and traffic signals, signs and markings will not be found and correctly understood. The field of vision is greatly reduced, the vision is blurred, the eyes only focus on the target in front, and it is difficult to find the hidden dangers at the edge of the field of vision. The retinal imaging becomes unstable, resulting in a decrease in recognition ability. This situation is more obvious at night when the vision is weak, increasing the risk of traffic accidents.
[0066] Weakened control ability: Alcohol will paralyze the user's nervous system, reduce judgment and operating abilities, prolong the reaction time to light and sound stimuli, and prolong the time of instinctive reflex actions accordingly, making the user's reaction speed slower, the operation unsmooth, and even possible wrong operations, which may lead to traffic accidents.
[0067] Decreased judgment: After drinking, the user's judgment will be seriously affected. For example, if a person walks unsteadily but insists that he is walking in a straight line, this reflects the profound impact of alcohol on judgment. When driving, judgment is crucial because we need to make judgments and take measures in real time based on road conditions. However, after drinking, the reaction becomes slower, and the coordination function between sensory organs and motor organs such as eyes, hands, and feet is impaired, making it difficult to correctly judge distance and speed, which in turn leads to traffic accidents.
[0068] Susceptible to fatigue: The harm of drunkenness to the human body cannot be ignored. In order to protect various organs, the human body will gradually enter a resting state to expel alcohol. Therefore, it is easy to feel sleepy after drinking, which poses a threat to driving safety.
[0069] Drunk driving or drunk driving not only harms individuals, but also has a wide-ranging impact on society. From an individual perspective, it can cause serious physical injury or even death; from a social perspective, it disrupts normal traffic order, threatens public safety, and may even trigger a series of chain reactions, such as traffic accidents and road congestion.
[0070] Measures to prevent drunk driving mainly rely on the driver's awareness and the constraints of laws and regulations. However, in real life, due to the driver's misjudgment of his or her drinking status, the discovery and punishment of illegal behavior are delayed, resulting in frequent drunk driving accidents. In addition, although there are designated driving services on the market to meet the driver's demand for safe driving after drinking, there is a lack of systematic and intelligent solutions, making it difficult to provide services in a timely and effective manner when the driver needs them, and to ensure the safe transmission of information.
[0071] Among them, the control of drunk driving depends entirely on the traffic control department. The traffic control department generally conducts spot checks on vehicles and can only apply to some vehicles. Drunk driving has the characteristics of randomness and dispersion. In response to the above problems, in the related technology, the occurrence of drunk driving is reduced by installing an online drunk driving detection system on the vehicle. The online drunk driving detection system is generally implemented through the principle of alcohol detection, such as using a gas sensor. The gas sensor can convert chemical signals into electrical signals that are different from the processed ones, and realize the detection and identification of the driver's exhaled gas after drinking. However, if the user is really in a state of drinking, he may evade the detection of the detection system, and the installation position of the gas sensor will also greatly affect the accuracy of the detection, so this detection method that relies on the subjective action of the user cannot obtain accurate detection results. Therefore, there is an urgent need for a control strategy that can intelligently identify the driver's drinking state and provide instant and safe driving services.
[0072] The vehicle safety control method, electronic device and vehicle provided in the embodiment of the present application obtain the user's status information and the current position of the vehicle, determine the target place set according to the current position and map information; determine the target places around the user that cause the user to drink through the target place set, and preliminarily judge the user's life pattern in a short period of time. Then, by determining the user's current status and current walking pattern, the user's walking pattern and physical state are evaluated to achieve an evaluation of the user's overall status, and the probability of the user drinking is determined by evaluating the user's overall status. Finally, the target place set, current status and current walking pattern are integrated to evaluate the user's drinking status, and the evaluation result of the drinking status is determined by the status scoring method, and safety control is performed according to the status scoring to ensure that the vehicle will not be driven when it is determined that the user is in a drinking state, to ensure driving safety, and the entire detection process does not require the user to take active actions to cooperate with the detection, thereby ensuring the accuracy of the detection results and the comfort of the user's use process.
[0073] The vehicle safety control method provided by the embodiments of the present application is described in detail below with reference to the accompanying drawings.
[0074] In some embodiments, Figure 1 As shown, the vehicle safety control method includes:
[0075] Step 101: Obtain the user's status information and the current location of the vehicle, and determine a target location set based on the current location and map information.
[0076] In specific implementation, the user's status information can be obtained through biosensors such as smart watches, and the user's status information includes the user's heart rate data. Because people will have an accelerated heartbeat after drinking, on the one hand, it is because alcohol will dilate blood vessels and accelerate blood circulation, and also to decompose alcohol faster, which will cause the heartbeat to accelerate; on the other hand, alcohol will also stimulate the sympathetic nerves, which will also cause the heartbeat to accelerate.
[0077] Therefore, the number of heart beats per minute (BPM), also known as heart rate, can be used as one of the indicators to measure whether the user is drinking alcohol, because heart rate refers to the number of heart beats per minute in a normal person in a quiet state, also known as resting heart rate, which is generally 60 to 100 beats per minute, and may produce individual differences due to age, gender or other physiological factors. Generally speaking, the younger the age, the faster the heart rate. The heart rate of the elderly is slower than that of the young, and the heart rate of women is faster than that of men of the same age. These are all normal physiological phenomena. In a quiet state, the normal heart rate of an adult is 60 to 100 beats per minute, and the ideal heart rate should be 55 to 70 beats per minute. When an adult's heart rate exceeds 100 beats per minute (generally not more than 160 beats per minute) at rest, it is called sinus tachycardia, which is common in excitement, excitement, smoking, drinking, drinking strong tea or coffee, or in pathological conditions such as infection, fever, shock, anemia, hypoxia, hyperthyroidism, heart failure, or after the use of drugs such as atropine, epinephrine, and ephedrine. Therefore, 100 times / minute can be used as a measure of whether the user is drinking.
[0078] The current location of the vehicle can be determined by the on-board GPS or the GPS of a mobile terminal bound to the vehicle. The on-board GPS receives satellite signals and forwards the WeChat signals to the corresponding vehicle server to obtain the current location of the vehicle. The current location is generally the longitude and latitude coordinates.
[0079] After determining the current location, the current scene of the user can be determined based on the current location and map information. Since the places where users drink include but are not limited to restaurants, bars and other places, restaurants, bars and other places where users have a high probability of drinking are determined as target places, and then the target places are marked in the map information to obtain the positioning coordinates of the target places. The marked positioning coordinates are integrated to obtain a target place database.
[0080] Then, the query range is determined according to the current location, and the target place database is screened according to the query range to obtain a target place set. The query range is a range selected by a certain geometric shape with the current location as the geometric center. The target places within the query range are screened out, and the target place database is obtained.
[0081] Exemplarily, the query range can be a circular area with the current position O as the center and a radius of 1 km. If the target place database includes four target places A, B, C, and D, if the distance OA between place A and the current position is 500 meters, the distance OA between place B and the current position is 100 meters, the distance OC between place C and the current position is 750 meters, and the distance OD between place D and the current position is 1500 meters. Then places A, B, and C are within the query range, and place D is outside the query range. Then the target place database is screened according to the query range, and places A, B, and C are screened out. The target place set includes places A, B, and C. Because the high-probability drinking places are close to the vehicle, the user may go to the drinking place to drink, so the probability of the user drinking is increased at this time, and the probability of the user drinking is increased, so the target place set can be used as one of the indicators to measure whether the user drinks. However, the existence of places around the vehicle where drinking is possible does not mean that the user actually drank. It is necessary to further combine the user dimension for comprehensive evaluation to improve accuracy.
[0082] Step 102: Determine the current state of the user according to the user state information and the historical state information, and determine the current walking mode of the user according to the current walking data and the historical walking data of the user.
[0083] The specific implementation is real-time, and determining the target place set is to evaluate whether the user has drinking behavior from the perspective of the environment. However, evaluating whether the user has drunk alcohol based solely on the environment is too one-sided, so it is necessary to further evaluate the user's drinking status in combination with the user's overall state. Since the heart rate representing the user's status information will vary due to different user constitutions, when evaluating drinking based on the user's status information, it is necessary to combine the historical status information to determine the user's current status, wherein the user's status information includes the user's real-time heart rate data.
[0084] First, the user status information is the user's real-time heart rate data. However, if all the heart rate data is used for evaluation, the amount of data is too large and there is a lot of invalid information, such as heart rate data far from the current moment. Therefore, it is necessary to intercept the status data based on the preset data interception time and take the current moment as the starting point to obtain a valid heart rate data set. For example, the user status information 10 minutes before the current moment is intercepted as a valid heart rate data set, and then the current average heart rate and heart rate standard deviation are determined based on the valid heart rate data set. Among them, the current average heart rate represents the overall heart rate level of the current user, which is used to measure whether the user's heart rate exceeds the normal standard. The heart rate standard deviation represents the user's heart rate fluctuation, which is used to exclude other situations (such as sports) to determine the accuracy of whether the user is drinking.
[0085] Among them, the preset heart rate range can be used to measure whether the user's average heart rate corresponds to drinking. Since the normal heart rate of an adult is 60 to 100 beats per minute, [100, ∞) can be determined as the preset heart rate range. Because drinking corresponds to an increase in heart rate, the lower boundary heart rate of the heart rate range is mainly used to evaluate the user's drinking status.
[0086] For the heart rate standard deviation, the preset standard deviation threshold can be used for measurement. The purpose of calculating the heart rate standard deviation is to avoid the influence of exercise and other conditions on the judgment of drinking status. If drinking causes the heart rate to rise, it is generally relatively stable, with small fluctuations, and the corresponding standard deviation is small. However, the heart rate increase caused by exercise may cause the heart rate to fluctuate greatly within a certain range due to the different exercise intensity at each time, corresponding to a larger heart rate standard deviation.
[0087] If the current average heart rate exists within the preset heart rate range, it means that the user's heart rate has exceeded the normal range. The increase in the average heart rate may be caused by drinking or exercise. If the heart rate standard deviation is less than or equal to the preset standard deviation threshold, it further indicates that the increase in the user's average heart rate is not caused by exercise or other situations. The probability of the user drinking alcohol is greatly increased, and it is determined that the heart rate fluctuation conditions are met. The user's drinking status is preliminarily assessed as having drunk alcohol.
[0088] If the current average heart rate does not exist within the preset heart rate range, it means that the user's average heart rate is normal and has not increased significantly. The probability of the user drinking is low, and it is determined that the heart rate fluctuation condition is not met. The user's drinking status is preliminarily evaluated as not drinking. If the heart rate standard deviation is greater than the preset standard deviation threshold, it means that the heart rate increase is most likely caused by exercise or other conditions. It is determined that the heart rate fluctuation condition is not met, and the user's drinking status is preliminarily evaluated as not drinking. Therefore, as long as the current average heart rate does not exist within the heart rate range and the heart rate standard deviation is greater than the preset standard deviation threshold, the user's drinking status can be preliminarily evaluated as not drinking, and the heart rate fluctuation condition is determined not to be met. If both the current average heart rate does not exist within the heart rate range and the heart rate standard deviation is greater than the preset standard deviation threshold, it means that the probability of the user drinking is very low, and the user's drinking status can also be preliminarily evaluated as not drinking, and it is determined that the heart rate fluctuation condition is not met.
[0089] When a user drives a vehicle after drinking, he or she will generally park near a target location. Then, by determining the target location set, it is determined whether there is an environmental condition for drinking. The environmental condition needs to be combined with the user's own state to determine the final judgment result.
[0090] After drinking, users will have an accelerated heartbeat. On the one hand, alcohol dilates blood vessels and accelerates blood circulation, which is also to break down alcohol faster, which will cause the heartbeat to accelerate. On the other hand, alcohol will stimulate the sympathetic nerves, which will also cause the heartbeat to accelerate, so the heart rate can be used as an indicator to determine whether the user has drunk alcohol. In addition, the user's ability to control the body decreases after drinking, resulting in a significant change in the user's walking posture, which will cause the step frequency and gait after drinking to be significantly different from the standard step frequency and standard gait when not drinking, so the step frequency and gait can be used as indicators to determine whether the user has drunk alcohol.
[0091] For the average heart rate, if only the heart rate range is used for evaluation, it may lead to misjudgment due to the physiological differences between different users, so further verification and evaluation are needed. In the verification and evaluation process, the ratio of the current average heart rate to the standard average heart rate needs to be calculated first, and the ratio is determined as the heart rate stability coefficient, which is used to indicate the degree of difference between the current moment and the standard average heart rate of the user in the normal state. The closer the heart rate stability coefficient is to 1, the smaller the degree of difference is. The smaller the difference between the user's average heart rate at this time and the usual time, and the user's heart rate is kept within the heart rate range due to other reasons, the lower the probability of the user drinking. Therefore, 1.2 can be used as the heart rate coefficient threshold to judge the degree of difference. Since drinking will increase the heart rate, the case where the heart rate stability coefficient is less than 1 is not considered, that is, the case where the heart rate stability coefficient is less than 1 is considered to be that the user has not drunk alcohol.
[0092] Therefore, if the heart rate stability coefficient is greater than or equal to the preset heart rate coefficient threshold, it means that the user's average heart rate at this time is high and much higher than the usual standard average heart rate. It is more likely to be caused by drinking, rather than the user being in a high heart rate state for a long time. It can be determined that the heart rate stability condition is met. If the heart rate stability coefficient is less than the preset heart rate coefficient threshold, it means that the user's average heart rate at this time is similar to the usual standard average heart rate. It is normal for the heart rate to be high at this time. It can be preliminarily assessed that the user has not drunk alcohol and it is determined that the heart rate stability condition is not met.
[0093] Therefore, if both the heart rate fluctuation condition and the heart rate stability condition are met at the same time, it can be determined that the current state is an abnormal state caused by drinking; if the heart rate fluctuation condition or the heart rate stability condition is not met, it can be determined that the current state is a normal state, and it is preliminarily assessed that the user has not drunk alcohol and will not cause corresponding dangerous accidents.
[0094] Then, because the user's ability to control the body is weakened after drinking, the walking pattern will be different from the usual walking pattern, resulting in a certain difference in gait and step frequency from the situation when not drinking. Therefore, the user's drinking status can also be evaluated in combination with the user's current walking pattern. It is necessary to first determine the user's step frequency variation coefficient and current gait stability coefficient based on the current walking data; wherein, the step frequency variation coefficient is the ratio of the step frequency standard deviation to the average step frequency within the interception time, wherein the interception time is 10 minutes, taking the current moment as the starting point, and intercepting 10 minutes of real-time walking data as the current walking data, and calculating the standard deviation according to each sample in the current walking data to obtain the step frequency standard deviation, and the average value of all samples in the current walking data is used as the average step frequency. Then determine the standard gait stability coefficient based on the historical walking data to determine whether the user's gait is drunk.
[0095] Finally, the current walking mode is determined based on the cadence variation coefficient, the standard gait stability coefficient, and the current gait stability coefficient:
[0096] First, the ratio of the current gait stability coefficient to the standard gait stability coefficient is determined as the gait stability coefficient; because the standard gait stability coefficient represents the standard gait of the user when walking without drinking, the ratio of the current gait stability coefficient to the standard gait stability coefficient can be used to measure the user's gait at the current moment. That is, the larger the gait stability coefficient, the more stable the user's gait and the lower the possibility of drinking; the smaller the gait stability coefficient, the more chaotic the user's gait and the higher the possibility of drinking.
[0097] If the gait stability coefficient is greater than or equal to the preset stability coefficient threshold, it means that the user's gait at this time is quite different from the gait when not drinking, which means that the user's gait at this time is somewhat chaotic, and the gait stability condition is determined to be met, and the user may be drinking. If the gait stability coefficient is less than the preset stability coefficient threshold, it means that the user's gait at this time is almost the same as the gait when not drinking, which means that the user's gait at this time is stable, and the user may not be drinking, and the gait stability condition is determined not to be met.
[0098] If there is a cadence variation coefficient within the preset cadence coefficient range, it means that the user's cadence is the standard cadence during normal walking, there is no possibility of drinking, and it is determined that the cadence stability condition is not met. If there is no cadence variation coefficient within the preset cadence coefficient range, it means that the user's cadence is significantly different from the standard cadence during normal walking, there is a possibility of drinking, and it is determined that the cadence stability condition is met.
[0099] If both the frequency stability condition and the gait stability condition are met, it means that the user's gait and frequency are different from the standard, and there is a possibility of drinking. The current walking mode is determined to be an abnormal walking mode. If the frequency stability condition is not met, it means that the user's frequency is normal and there is no possibility of drinking. If the gait stability condition is not met, it means that the user's gait is normal and there is no possibility of drinking. Therefore, as long as one of the frequency stability condition and the gait stability condition is not met, it is considered that the user is not drinking, and the current walking mode is determined to be a normal walking mode.
[0100] By determining the current state and current walking mode, it is determined whether the user's overall state is similar to the state after drinking, and the drinking is judged based on the changes on the user side to achieve an assessment of the user's overall state.
[0101] Step 103: Determine the user's status score based on the target location set, the current status, and the current walking mode, and perform security control based on the status score.
[0102] In the specific implementation, it is necessary to conduct a comprehensive assessment of the user's drinking status in combination with the environment and the user himself. The scoring driving can be used for comprehensive assessment. The scoring mechanism is: 10 points if the target place set is not an empty set, and 0 points if the target place set is an empty set; 5 points if the current state is an abnormal state, and 0 points if the current state is a normal state; 5 points if the current walking mode is an abnormal walking mode, and 0 points if the current walking mode is a normal walking mode. The scoring threshold is used to weigh the final evaluation result. If the total score is greater than or equal to 15 points, it means that the user's drinking status is already drunk. At this time, it is necessary to automatically ask the user whether he needs the cost service, and send a designated driver request to the cost platform after the user chooses to need the cost service to ensure that the user can reach the destination safely. At the same time, for safety reasons, the detailed information of the designated driver service and the user's drinking information are sent to the emergency contact through an encrypted communication channel to ensure the safety of the cost service process.
[0103] In summary, the vehicle safety control method provided in the embodiment of the present application obtains the user's status information and the current position of the vehicle, determines the target place set according to the current position and map information; determines the target places around the user that cause the user to drink through the target place set, and preliminarily judges the user's life pattern in a short period of time. Then, by determining the user's current status and current walking pattern, the user's walking pattern and physical state are evaluated to achieve an evaluation of the user's overall status, and the probability of the user drinking is determined by evaluating the user's overall status. Finally, the target place set, current status and current walking pattern are integrated to evaluate the user's drinking status, and the evaluation result of the drinking status is determined by the status scoring method, and safety control is performed according to the status scoring to ensure that the vehicle will not be driven when it is determined that the user is in a drinking state, to ensure driving safety, and the entire detection process does not require the user to take active actions to cooperate with the detection, thereby ensuring the accuracy of the detection results and the comfort of the user's use process.
[0104] When determining whether a user has been drinking, a preliminary judgment is first made from the environmental dimension. The judgment process of the environmental dimension is as follows:
[0105] In some embodiments, Figure 2 As shown, the target location set is determined based on the current location and map information, including:
[0106] Step 201: Determine the location coordinates of each target location based on map information to obtain a target location database.
[0107] In specific implementation, taking a bar as the target location, the user's parking location is determined as the current location, and all bars in the city where the current location is located are marked to obtain the location coordinates of each bar, and the location coordinates of these bars are sorted and stored to obtain a target location database. Among them, marking the target locations in the entire city is relatively time-consuming, so it is possible to scan once regularly, or re-scan after switching cities to obtain a target location database. By determining the target location database, all locations where the user may have drinking behavior are determined, providing data support for subsequent drinking status assessment based on environmental scenarios.
[0108] Step 202: Determine a query range according to the current location, and filter the target place database according to the query range to obtain a target place set.
[0109] In specific implementation, according to common parking habits, users generally park their vehicles near their destinations, so it is necessary to determine the query range based on the current location of the vehicle to ensure that the assessment of the environmental dimension has a high degree of accuracy.
[0110] The query range can be a range selected by a certain geometric shape with the current location as the geometric center. Then the target places within the query range are screened out, and a target place database is obtained.
[0111] Exemplarily, the query range can be a circular area with the current position O as the center and a radius of 1 km. If the target place database includes four target places A, B, C, and D, if the distance OA between place A and the current position is 500 meters, the distance OA between place B and the current position is 100 meters, the distance OC between place C and the current position is 750 meters, and the distance OD between place D and the current position is 1500 meters. Then places A, B, and C are within the query range, and place D is outside the query range. Then the target place database is filtered according to the query range, and places A, B, and C are filtered out. The target place set includes places A, B, and C. Because the high-probability drinking places are close to the vehicle, the user may go to the drinking place to drink, so the probability of the user drinking is increased at this time. The probability of the user drinking is increased, so the target place set can be used as one of the indicators to measure whether the user drinks.
[0112] If the distance OA between place A and the current location is 1500 meters, the distance OA between place B and the current location is 1100 meters, the distance OC between place C and the current location is 1750 meters, and the distance OD between place D and the current location is 1500 meters, then the target place set is an empty set, indicating that the user's destination is most likely not a target place such as a bar or restaurant. It can be preliminarily assessed that the user's drinking status is not drinking.
[0113] By determining a set of target places, it is determined whether there are target places near the user that cause the user to drink, and an assessment of whether to drink alcohol in the environmental dimension is achieved to improve the accuracy of the assessment results.
[0114] After completing the evaluation of the environment dimension, we further determine whether the user has been drinking from the heart rate status dimension. The judgment process of the heart rate status dimension is as follows:
[0115] In some embodiments, Figure 3 As shown, the current state of the user is determined according to the user state information and the historical state information, including:
[0116] Step 301: Determine the user's valid heart rate data set according to the user status information and the preset data capture duration.
[0117] In specific implementation, determining the target venue set is to evaluate whether the user has drinking behavior from the perspective of the environment. However, evaluating whether the user has drunk alcohol based solely on the environment is too one-sided, so it is necessary to further evaluate the user's drinking status in combination with the user's overall status. Since the heart rate representing the user's status information will vary depending on the user's physical condition, when evaluating drinking based on the user's status information, it is necessary to combine the historical status information to determine the user's current status, where the user status information includes the user's real-time heart rate data.
[0118] User status information is the real-time heart rate data obtained by the smart device to monitor the user's physical status in real time. However, if all heart rate data is used for evaluation, the data volume is too large and there is a large amount of expired and invalid information, such as heart rate data far from the current moment. Therefore, it is necessary to intercept the status data based on the preset data interception time and take the current moment as the starting point to obtain a valid heart rate data set. For example, the user status information 10 minutes before the current moment is intercepted as a valid heart rate data set.
[0119] Step 302: Determine a standard average heart rate based on historical status information.
[0120] During specific implementation, when evaluating the overall physical condition of the user, it is necessary to find the standard average heart rate of the user when he or she is not drinking. Since the physical fitness of different users varies greatly, a single fixed value cannot be used to evaluate the user's physical condition. In order to achieve personalized evaluation, the standard average heart rate is determined based on the user's historical status information in their daily life. This ensures the accuracy of the evaluation while achieving personalized evaluation and ensuring the accuracy of the comprehensive evaluation.
[0121] Step 303: Determine the current state according to the standard average heart rate and the effective heart rate data set.
[0122] In some embodiments, step 303 includes:
[0123] Step 3031: Determine the current average heart rate and the heart rate standard deviation based on the valid heart rate data set, and determine the ratio of the current average heart rate to the standard average heart rate as the heart rate stability coefficient.
[0124] In specific implementation, the current average heart rate represents the overall heart rate level of the current user, and is used to measure whether the user's heart rate exceeds the normal standard. The heart rate standard deviation represents the user's heart rate fluctuation, and is used to exclude other situations (such as exercise) to determine whether the user is drinking alcohol. Therefore, the current average heart rate and the heart rate standard deviation are used to verify each other to ensure the accuracy of the evaluation results.
[0125] Step 3032: In response to the current average heart rate being within the preset heart rate range and the heart rate standard deviation being less than or equal to the preset standard deviation threshold, it is determined that the heart rate fluctuation condition is met.
[0126] In specific implementation, the preset heart rate range can be used to measure whether the user's average heart rate corresponds to drinking. Because drinking corresponds to an increase in heart rate, the lower boundary heart rate of the heart rate range is mainly used to evaluate the user's drinking status. Since the normal heart rate of an adult is 60 to 100 beats per minute, [100, ∞) can be determined as the preset heart rate range.
[0127] For the heart rate standard deviation, the preset standard deviation threshold can be used for measurement. The purpose of calculating the heart rate standard deviation is to avoid the influence of exercise and other conditions on the judgment of drinking status. If drinking causes the heart rate to rise, the heart rate is relatively stable in a short period of time because the decomposition of alcohol takes a long time, that is, the heart rate fluctuation is small, and the corresponding standard deviation is small. However, the heart rate increase caused by exercise may cause the heart rate to fluctuate greatly within a certain range due to the different exercise intensity at each time, corresponding to a larger heart rate standard deviation.
[0128] When the current average heart rate exists within the preset heart rate range, it means that the user's heart rate has exceeded the normal range. The increase in the average heart rate may be caused by drinking or exercise. At this time, further verification is needed based on the heart rate standard deviation. If the current average heart rate exists within the heart rate range and the heart rate standard deviation is less than or equal to the preset standard deviation threshold, it further indicates that the increase in the user's average heart rate is not caused by exercise or other situations. The probability of the user drinking alcohol is greatly increased, and it is determined that the heart rate fluctuation conditions are met. The user's drinking status is preliminarily assessed as already drinking alcohol.
[0129] Step 3033: In response to the current average heart rate not being within the preset heart rate range, and / or the heart rate standard deviation being greater than a preset standard deviation threshold, it is determined that the heart rate fluctuation condition is not met.
[0130] In specific implementation, if the current average heart rate does not exist within the preset heart rate range, it means that the user's average heart rate is normal and has not increased significantly, and the probability of the user drinking is low. It is determined that the heart rate fluctuation condition is not met, and the user's drinking status is preliminarily assessed as not drinking. If the heart rate standard deviation is greater than the preset standard deviation threshold, it means that the heart rate increase is most likely caused by other conditions such as exercise, and the heart rate fluctuation condition is determined not to be met. The user's drinking status is preliminarily assessed as not drinking.
[0131] Therefore, as long as any one of the following conditions is met: the current average heart rate does not exist within the heart rate range and the heart rate standard deviation is greater than the preset standard deviation threshold, the user's drinking status can be preliminarily assessed as not drinking, and it is determined that the heart rate fluctuation condition is not met. If both the current average heart rate does not exist within the heart rate range and the heart rate standard deviation is greater than the preset standard deviation threshold, it means that the probability of the user drinking is very low, and the user's drinking status can also be preliminarily assessed as not drinking, and it is determined that the heart rate fluctuation condition is not met.
[0132] Step 3034: Determine whether the heart rate stability condition is met based on the heart rate stability coefficient and a preset heart rate coefficient threshold.
[0133] In a specific implementation, if the heart rate stability coefficient is greater than or equal to a preset heart rate coefficient threshold, it is determined that the heart rate stability condition is met.
[0134] During specific implementation, if only the heart rate range is used to evaluate the average heart rate, misjudgment may occur due to the physiological differences among different users, so further verification and evaluation are needed. During the verification and evaluation process, the ratio of the current average heart rate to the standard average heart rate needs to be calculated first, and the ratio is determined as the heart rate stability coefficient, which is used to indicate the degree of difference between the current moment and the standard average heart rate under the user's normal state. The closer the heart rate stability coefficient is to 1, the smaller the difference is, and the heart rate coefficient threshold can be set to 1.2.
[0135] If the heart rate stability coefficient is 1.3, which is greater than the heart rate coefficient threshold of 1.2, it means that the user's average heart rate at this time is relatively high and much higher than the usual standard average heart rate. It is most likely caused by drinking, rather than the user being in a high heart rate state for a long time. It can be determined that the heart rate stability condition is met.
[0136] If the heart rate stability coefficient is less than a preset heart rate coefficient threshold, it is determined that the heart rate stability condition is not met.
[0137] When the heart rate stability coefficient is 1.1, it is less than the preset heart rate coefficient threshold of 1.2, indicating that the user's average heart rate at this time is similar to the usual standard average heart rate. It is normal for the user to have a high heart rate at this time. This can be used to preliminarily assess that the user has not been drinking and determine that the heart rate stability condition is not met.
[0138] Step 3035: In response to simultaneously satisfying the heart rate fluctuation condition and the heart rate stability condition, determining that the current state is an abnormal state.
[0139] In specific implementation, meeting the heart rate fluctuation condition can determine that the user's heart rate has increased significantly and stably compared to usual, indicating that the user may have been drinking. If the heart rate stability condition is also met, the influence of the user's physique can be eliminated and the accuracy of the assessment can be improved. Therefore, when both the heart rate fluctuation condition and the heart rate stability condition are met at the same time, it can be determined that the current state is an abnormal state caused by drinking, realizing the assessment of the drinking state in the physical dimension and ensuring the accuracy of the assessment.
[0140] Step 3036: In response to not satisfying the heart rate fluctuation condition or not satisfying the heart rate stability condition, determining that the current state is a normal state.
[0141] In specific implementation, if the heart rate fluctuation condition is not met, it means that the user's heart rate has not increased significantly, or the increase in heart rate may be a misjudgment caused by exercise, so when the heart rate fluctuation condition is not met, the current state can be determined to be normal. If the heart rate stability condition is not met, it can be determined that the user's current state is similar to the packaging state when the user is not drinking, and the current state can be determined to be normal. It is preliminarily assessed that the user has not drunk alcohol and will not cause corresponding dangerous accidents.
[0142] After a user drinks alcohol, alcohol will dilate blood vessels, accelerate blood circulation, and stimulate sympathetic nerve excitement, which will cause the heartbeat to accelerate and the heart rate to increase. Therefore, the user's drinking can be evaluated from the dimension of heart rate status, combined with the evaluation of the environmental dimension to improve the accuracy of the judgment results.
[0143] After completing the evaluation of the heart rate state dimension, since alcohol can also reduce the user's ability to control the body, causing the user's walking pattern to change, it is also possible to judge whether the user has been drinking from the walking pattern dimension. The judgment process of the walking pattern dimension is as follows:
[0144] In some embodiments, Figure 4 As shown, the current walking mode of the user is determined according to the current walking data and historical walking data of the user, including:
[0145] Step 401: Determine the user's step frequency variation coefficient and current gait stability coefficient based on current walking data.
[0146] In specific implementation, the current walking data includes data such as the user's step frequency, stride and acceleration. According to multiple detection samples in the current walking data, the step frequency standard deviation and average step frequency of the step frequency are calculated respectively. The step frequency standard deviation indicates the fluctuation of the user's step frequency, because the user's control over the body decreases when drinking, and the probability of step frequency fluctuation increases. The average step frequency indicates the actual unevenness of the user in a short time, and the ratio of the step frequency standard deviation to the average step frequency is determined as the step frequency variation coefficient, which indicates the magnitude of the user's step frequency change range. The smaller the step frequency variation coefficient, the more stable the step frequency and the smaller the probability of the user drinking. The current gait stability coefficient can be a coefficient for comprehensively judging whether the stride and acceleration are stable. The smaller the current gait stability coefficient, the more stable the gait. Among them, the stride variation coefficient can be determined by using the stride standard deviation / average stride, and the acceleration variation coefficient can be determined by using the acceleration standard deviation / average acceleration, and the weighted average of the acceleration variation coefficient and the stride variation coefficient is determined as the current gait stability coefficient.
[0147] Step 402: Determine a standard gait stability coefficient based on historical walking data.
[0148] In specific implementation, whether the user's walking is stable requires a reference target, and the historical walking data of the user when not drinking is expressed as the user's usual walking habits. The standard gait stability coefficient determined based on the historical walking data can be used as a standard for judging the current gait stability coefficient.
[0149] Step 403: Determine the current walking mode according to the frequency variation coefficient, the standard gait stability coefficient and the current gait stability coefficient.
[0150] In some embodiments, step 403 includes:
[0151] Step 4031: Determine the ratio of the current gait stability coefficient to the standard gait stability coefficient as the gait stability coefficient.
[0152] In specific implementation, the current gait stability coefficient represents the stability of the user's current walking process, and the standard gait stability coefficient represents the stability of the user's walking when he is not drinking. The gait stability coefficient can represent the difference between the current walking and the walking when he is not drinking. The closer the gait stability coefficient is to 1, the more consistent the state at the current moment is with that when he was not drinking, and the lower the probability that the user is drinking.
[0153] Step 4032: Determine whether the gait stability condition is met according to the gait stability coefficient and a preset stability coefficient threshold.
[0154] In a specific implementation, if the gait stability coefficient is greater than or equal to a preset stability coefficient threshold, it is determined that the gait stability condition is met.
[0155] Among them, if the gait stability coefficient is greater than or equal to the preset stability coefficient threshold, it means that the user's gait stability at this time is greatly different from that when not drinking, which means that the user has a high probability of drinking, and it is determined that the gait stability condition is met.
[0156] If the gait stability coefficient is less than a preset stability coefficient threshold, it is determined that the gait stability condition is not met.
[0157] Among them, if the gait stability coefficient is less than the preset stability coefficient threshold, it means that the user's gait stability at this time is almost the same as when not drinking, which means that the user has a low probability of drinking, and it is determined that the gait stability condition is not met.
[0158] Step 4033: Determine whether the step frequency stability condition is met based on the preset step frequency coefficient range and the step frequency variation coefficient.
[0159] In a specific implementation, if there is a step frequency variation coefficient within a preset step frequency coefficient range, it is determined that the step frequency stability condition is not met.
[0160] Among them, if there is a cadence variation coefficient within the preset cadence coefficient range, it means that the user's cadence is the standard cadence during normal walking, there is no possibility of drinking, and it is determined that the cadence stability condition is not met.
[0161] If there is no cadence variation coefficient within the preset cadence coefficient range, it is determined that the cadence stability condition is met.
[0162] Among them, if there is no cadence variation coefficient within the preset cadence coefficient range, it means that the user's cadence is significantly different from the standard cadence during normal walking, and there is a possibility of drinking, and it is determined that the cadence stability condition is met.
[0163] Step 4034: In response to simultaneously satisfying the step frequency stability condition and the gait stability condition, determining that the current walking mode is an abnormal walking mode.
[0164] In specific implementation, if both the frequency stability condition and the gait stability condition are met, it means that the user's gait and frequency are different from the standard, and there is a possibility of drinking, and the current walking mode is determined to be an abnormal walking mode.
[0165] Step 4035: In response to not satisfying the step frequency stability condition or not satisfying the gait stability condition, determining that the current walking mode is a normal walking mode.
[0166] In specific implementation, if the cadence stability condition is not met, it means that the user's cadence is normal and there is no possibility of drinking. If the gait stability condition is not met, it means that the user's gait is normal and there is no possibility of drinking. Therefore, as long as one of the cadence stability condition and the gait stability condition is not met, it is considered that the user has not drunk alcohol, and the current walking mode is determined to be the normal walking mode.
[0167] By judging the cadence stability conditions and gait stability conditions, the similarity between the user's gait and cadence at this time and the gait and cadence when drinking is determined, and then the drinking assessment of the walking pattern dimension is realized. By determining the current state and the current walking pattern, the similarity between the user's overall state and the overall state after drinking is determined, and the user's heart rate state dimension and the walking pattern dimension are combined to realize the assessment of the user's overall state and improve the accuracy of the user's drinking state determination.
[0168] After evaluating multiple dimensions, it is necessary to combine the evaluation results of multiple dimensions for comprehensive judgment to improve the accuracy of the judgment results. The process of multi-dimensional comprehensive judgment is as follows:
[0169] In some embodiments, Figure 5 As shown, the user's status score is determined according to the target place set, the current status and the current walking mode, including:
[0170] Step 501: Determine the location score according to the set type of the target place set.
[0171] In specific implementation, the set type of the target location set includes two types: empty set and non-empty set. The process of determining the position integral is as follows:
[0172] If the target place set is not an empty set, the preset first integral is determined as the location integral.
[0173] Among them, if the target place set is not an empty set, it means that the user is parked near a bar or restaurant, and the user has a high probability of drinking. In this case, the preset first score is determined as the location score. There is a high probability event that the user will drink in the target place, so a higher evaluation weight is set for the location score, and the first score is set to 10 points.
[0174] If the target place set is an empty set, a score of zero is determined as the location score.
[0175] If the target location set is an empty set, it means that the user is parked at a location far away from bars and restaurants, and the user has a high probability of drinking, and zero points will be determined as the location score.
[0176] Step 502: Determine the walking score according to the mode type of the current walking mode.
[0177] In specific implementation, the mode type of the current walking mode includes an abnormal walking mode and a normal walking mode, and the process of determining the walking score is as follows:
[0178] If the current walking mode is an abnormal walking mode, the preset second integral is determined as the walking integral.
[0179] Among them, if the current walking mode is an abnormal walking mode, it means that the user's walking mode is different from usual and there is a possibility of drinking, so the preset second score is determined as the position score. Because exercise, disease and other reasons may lead to the corresponding situation, a lower weight is set for the walking score, for example, the second score is 5 points.
[0180] If the current walking mode is the normal walking mode, zero is determined as the walking score.
[0181] Among them, if the current walking mode is a normal walking mode, it means that the user's walking mode is almost the same as usual, and there is no possibility of drinking, so 0 points are determined as the walking points.
[0182] Step 503: Determine the heart rate integral according to the state type of the current state.
[0183] In specific implementation, the state type of the current state includes an abnormal state and a normal state, and the process of determining the heart rate integral is as follows:
[0184] If the current state is an abnormal state, the preset third integral is determined as the heart rate integral.
[0185] Among them, if the current state is an abnormal state, it means that the user's walking pattern is different from usual and there is a possibility of drinking, so the preset third integral is determined as the position integral. Because exercise and other reasons may lead to the corresponding situation, a lower weight is set for the heart rate integral, for example, the third integral is 5 points.
[0186] If the current state is a normal state, zero is determined as the heart rate integral.
[0187] Among them, if the current state is normal, it means that the user's walking pattern is almost the same as usual, and there is no possibility of drinking, and zero points are determined as the heart rate score.
[0188] Step 504: Determine the sum of the heart rate integral, the walking integral and the position integral as the state score.
[0189] In specific implementation, the sum of the scores of the three evaluation criteria is the status score, which is used to judge the total score of the user's drinking status. The higher the status score, the higher the probability that the user drinks. The evaluation of different dimensions is integrated through scoring, which improves the accuracy of the evaluation.
[0190] In some embodiments, Figure 6 As shown, security controls are scored based on status, including:
[0191] In response to the status score being greater than or equal to a preset score threshold, the vehicle host or mobile terminal is controlled to inquire about the designated driver service, and a designated driver request message is sent according to the user's selection operation, and the cost information is sent to a preset associated device.
[0192] In specific implementation, the setting of the scoring threshold is not set arbitrarily. Since the location score has a high weight, it is necessary to ensure that only when the location score is not 0, it can be determined that the user has drunk alcohol. If the location score is 0, it is directly determined that the user has not drunk alcohol. When the location score is not 0, it cannot be determined that the user has drunk alcohol alone, so the heart rate score or walking score is required for verification. Therefore, when the location score is not 0, at least one of the heart rate score and the walking score is not 0 to ensure the accuracy of the evaluation.
[0193] Therefore, the scoring threshold needs to be less than or equal to the sum of the first score and the second score, and needs to be less than or equal to the sum of the first score and the third score.
[0194] Because it is impossible to determine whether there are other interferences in the change of the user's physical state when the location integral is 0, it is necessary to ensure that only using walking integral and heart rate integral cannot trigger the assessment of the user's drinking, so it is necessary to ensure that the scoring threshold is greater than the sum of the second integral and the third integral.
[0195] For example, if the first score is 10 points, and the second score and the third score are both 5 points, the value range of the scoring threshold is (10, 15).
[0196] Taking the threshold score of 15 as an example, if the status score is greater than or equal to the preset score threshold, it means that the user has parked the vehicle near the target location, and at least one of the user's walking or heart rate has an abnormality similar to drinking. At this time, the user has a high probability of drinking. At this time, it is necessary to control the vehicle host or mobile terminal to inquire about the designated driver service. If the user agrees to find a designated driver, a driving request message is sent to find a designated driver to help the user drive to avoid drunk driving. By adding the user selection process, it is ensured that when a misjudgment occurs, the user can actively terminate the misjudgment to avoid affecting the user's experience. At the same time, the cost information is sent to the preset associated device (such as the mobile terminal of the emergency contact) to ensure that the emergency contact can understand the user's status, and protect the user's legitimate rights and interests in the event of a designated driver dispute to ensure user safety.
[0197] If the status score is lower than the preset score threshold, a safe driving reminder will be given.
[0198] During specific implementation, if the status score is lower than the preset score threshold, a safe driving reminder will be given to remind the user not to drive if he / she has been drinking, so as to avoid misjudgment that may lead to drunk driving.
[0199] It should be noted that the method of the embodiment of the present application can be performed by a single device, such as a computer or server. The method of this embodiment can also be applied to a distributed scenario and completed by multiple devices cooperating with each other. In the case of such a distributed scenario, one of the multiple devices can only perform one or more steps in the method of the embodiment of the present application, and the multiple devices will interact with each other to complete the described method.
[0200] It should be noted that the above describes some embodiments of the present application. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps recorded in the claims can be performed in an order different from that in the above embodiments and still achieve the desired results. In addition, the processes depicted in the accompanying drawings do not necessarily require the specific order or continuous order shown to achieve the desired results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.
[0201] Based on the same inventive concept, corresponding to any of the above-mentioned embodiment methods, the present application also provides a vehicle safety control device.
[0202] refer to Figure 6 , the vehicle safety control device comprises:
[0203] The location assessment module 10 is configured to: obtain the user's status information and the current location of the vehicle, and determine the target location set according to the current location and map information;
[0204] The body assessment module 20 is configured to: determine the current state of the user according to the user state information and the historical state information, and determine the current walking mode of the user according to the current walking data and the historical walking data of the user;
[0205] The points evaluation module 30 is configured to determine the user's status score according to the target location set, the current status and the current walking mode, and perform safety control according to the status score.
[0206] For the convenience of description, the above device is described in terms of functions divided into various modules. Of course, when implementing the present application, the functions of each module can be implemented in the same or multiple software and / or hardware.
[0207] The device of the above embodiment is used to implement the corresponding vehicle safety control method in any of the above embodiments, and has the beneficial effects of the corresponding method embodiment, which will not be repeated here.
[0208] Based on the same inventive concept, corresponding to any of the above-mentioned embodiments and methods, the present application also provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, the vehicle safety control method described in any of the above embodiments is implemented.
[0209] Figure 7 A more specific schematic diagram of the hardware structure of an electronic device provided in this embodiment is shown, and the device may include: a processor 1010, a memory 1020, an input / output interface 1030, a communication interface 1040, and a bus 1050. The processor 1010, the memory 1020, the input / output interface 1030, and the communication interface 1040 are connected to each other through the bus 1050 in the device.
[0210] The processor 1010 can be implemented by a general-purpose CPU (Central Processing Unit), a microprocessor, an application-specific integrated circuit (ASIC), or one or more integrated circuits, and is used to execute relevant programs to implement the technical solutions provided in the embodiments of this specification.
[0211] The memory 1020 may be implemented in the form of ROM (Read Only Memory), RAM (Random Access Memory), static storage device, dynamic storage device, etc. The memory 1020 may store an operating system and other application programs. When the technical solutions provided in the embodiments of this specification are implemented by software or firmware, the relevant program codes are stored in the memory 1020 and are called and executed by the processor 1010.
[0212] The input / output interface 1030 is used to connect the input / output module to realize information input and output. The input / output module can be configured in the device as a component (not shown in the figure), or it can be externally connected to the device to provide corresponding functions. The input device may include a keyboard, a mouse, a touch screen, a microphone, various sensors, etc., and the output device may include a display, a speaker, a vibrator, an indicator light, etc.
[0213] The communication interface 1040 is used to connect a communication module (not shown) to realize communication interaction between the device and other devices. The communication module can realize communication through a wired mode (such as USB, network cable, etc.) or a wireless mode (such as mobile network, WIFI, Bluetooth, etc.).
[0214] The bus 1050 includes a path that transmits information between the various components of the device (eg, the processor 1010, the memory 1020, the input / output interface 1030, and the communication interface 1040).
[0215] It should be noted that, although the above device only shows the processor 1010, the memory 1020, the input / output interface 1030, the communication interface 1040 and the bus 1050, in the specific implementation process, the device may also include other components necessary for normal operation. In addition, it can be understood by those skilled in the art that the above device may also only include the components necessary for implementing the embodiments of the present specification, and does not necessarily include all the components shown in the figure.
[0216] The electronic device of the above embodiment is used to implement the corresponding vehicle safety control method in any of the above embodiments, and has the beneficial effects of the corresponding method embodiment, which will not be repeated here.
[0217] Based on the same inventive concept, corresponding to any of the above-mentioned embodiment methods, the present application also provides a non-transitory computer-readable storage medium, wherein the non-transitory computer-readable storage medium stores computer instructions, and the computer instructions are used to enable the computer to execute the vehicle safety control method described in any of the above embodiments.
[0218] The computer-readable medium of this embodiment includes permanent and non-permanent, removable and non-removable media, and information storage can be implemented by any method or technology. Information can be computer-readable instructions, data structures, modules of programs, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, read-only compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, tape disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device.
[0219] The computer instructions stored in the storage medium of the above embodiments are used to enable the computer to execute the vehicle safety control method described in any of the above embodiments, and have the beneficial effects of the corresponding method embodiments, which will not be repeated here.
[0220] Based on the same inventive concept, corresponding to any of the above-mentioned embodiments and methods, the present application also provides a vehicle, including the electronic device or vehicle safety control device of the above-mentioned embodiment, and the vehicle safety control method described in any of the above embodiments is executed through the electronic device or vehicle safety control device of the above-mentioned embodiment, and has the beneficial effects of the corresponding method embodiments, which will not be repeated here.
[0221] It is understandable that before using the technical solutions of each embodiment of the present disclosure, the type, scope of use, usage scenarios, etc. of the personal information involved will be informed to the user in an appropriate manner, and the user's authorization will be obtained.
[0222] For example, in response to receiving an active request from a user, a prompt message is sent to the user to clearly remind the user that the operation requested to be performed will require obtaining and using the user's personal information. Thus, the user can independently choose whether to provide personal information to software or hardware such as an electronic device, application, server, or storage medium that performs the operation of the technical solution of the present disclosure according to the prompt message.
[0223] As an optional but non-limiting implementation, in response to receiving the user's active request, the prompt information may be sent to the user in the form of a pop-up window, in which the prompt information may be presented in text form. In addition, the pop-up window may also carry a selection control for the user to choose "agree" or "disagree" to provide personal information to the electronic device.
[0224] It is understandable that the above notification and the process of obtaining user authorization are merely illustrative and do not constitute a limitation on the implementation of the present disclosure. Other methods that meet relevant laws and regulations may also be applied to the implementation of the present disclosure.
[0225] A person skilled in the art should understand that the discussion of any of the above embodiments is merely illustrative and is not intended to imply that the scope of the present application is limited to these examples. In line with the concept of the present application, the technical features in the above embodiments or different embodiments may be combined, the steps may be implemented in any order, and there are many other variations of the different aspects of the embodiments of the present application as described above, which are not provided in detail for the sake of simplicity.
[0226] In addition, to simplify the description and discussion, and in order not to make the embodiments of the present application difficult to understand, the known power supply / ground connection with the integrated circuit (IC) chip and other components may or may not be shown in the provided drawings. In addition, the device can be shown in the form of a block diagram to avoid making the embodiments of the present application difficult to understand, and this also takes into account the fact that the details of the implementation of these block diagram devices are highly dependent on the platform to be implemented in the embodiments of the present application (that is, these details should be fully within the scope of understanding of those skilled in the art). In the case of elaborating specific details (e.g., circuits) to describe exemplary embodiments of the present application, it is obvious to those skilled in the art that the embodiments of the present application can be implemented without these specific details or when these specific details are changed. Therefore, these descriptions should be considered to be illustrative rather than restrictive.
[0227] Although the present application has been described in conjunction with specific embodiments of the present application, many replacements, modifications and variations of these embodiments will be apparent to those skilled in the art from the foregoing description. For example, other memory architectures (e.g., dynamic RAM (DRAM)) may use the embodiments discussed.
[0228] The embodiments of the present application are intended to cover all such substitutions, modifications and variations that fall within the broad scope of the present application. Therefore, any omissions, modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the embodiments of the present application should be included in the scope of protection of the present application.
Claims
1. A vehicle safety control method, characterized in that: include: Acquire the user's status information and the current location of the vehicle, and determine the target location set according to the current location and map information; Determine the current state of the user according to the user state information and the historical state information, and determine the current walking mode of the user according to the current walking data and the historical walking data of the user; A status score of the user is determined according to the target place set, the current status and the current walking mode, and safety control is performed according to the status score.
2. The vehicle safety control method according to claim 1, characterized in that: The determining of the target location set according to the current location and the map information includes: Determine the location coordinates of each target location according to the map information to obtain a target location database; A query range is determined according to the current location, and the target place database is screened according to the query range to obtain the target place set.
3. The vehicle safety control method according to claim 1, characterized in that: Determine the user's current status based on the user status information and historical status information, including: Determine a valid heart rate data set of the user according to the user status information and a preset data capture duration; Determine a standard average heart rate according to the historical status information; The current state is determined according to the standard average heart rate and the valid heart rate data set.
4. The vehicle safety control method according to claim 3, characterized in that: The determining the current state according to the standard heart rate value and the valid heart rate data set includes: Determine the current average heart rate and the heart rate standard deviation according to the valid heart rate data set, and determine the ratio of the current average heart rate to the standard average heart rate as the heart rate stability coefficient; In response to the current average heart rate being within a preset heart rate range and the heart rate standard deviation being less than or equal to a preset standard deviation threshold, determining that a heart rate fluctuation condition is satisfied; In response to the current average heart rate not being within a preset heart rate range, and / or the heart rate standard deviation being greater than a preset standard deviation threshold, determining that the heart rate fluctuation condition is not met; Determining whether a heart rate stability condition is met according to the heart rate stability coefficient and a preset heart rate coefficient threshold; In response to simultaneously satisfying the heart rate fluctuation condition and the heart rate stability condition, determining that the current state is an abnormal state; Or, in response to not satisfying the heart rate fluctuation condition or not satisfying the heart rate stability condition, determining that the current state is a normal state.
5. The vehicle safety control method according to claim 1, characterized in that: Determining the current walking mode of the user according to the current walking data and the historical walking data of the user includes: Determine the user's step frequency variation coefficient and current gait stability coefficient according to the current walking data; determining a standard gait stability coefficient according to the historical walking data; The current walking mode is determined according to the step frequency variation coefficient, the standard gait stability coefficient and the current gait stability coefficient.
6. The vehicle safety control method according to claim 5, characterized in that: The determining the current walking mode according to the step frequency variation coefficient, the standard gait stability coefficient and the current gait stability coefficient comprises: Determine a ratio of the current gait stability coefficient to the standard gait stability coefficient as a gait stability coefficient; Determining whether a gait stability condition is met according to the gait stability coefficient and a preset stability coefficient threshold; Determining whether a step frequency stability condition is met according to a preset step frequency coefficient range and the step frequency variation coefficient; In response to simultaneously satisfying the step frequency stability condition and the gait stability condition, determining that the current walking mode is an abnormal walking mode; Or, in response to not satisfying the step frequency stability condition or not satisfying the gait stability condition, determining that the current walking mode is a normal walking mode.
7. The vehicle safety control method according to claim 1, characterized in that: Determining a state score of the user according to the target place set, the current state, and the current walking mode includes: Determining a location score according to a set type of the target set of places; Determining a walking score according to the mode type of the current walking mode; determining a heart rate integral according to a state type of the current state; The sum of the heart rate integral, the walking integral and the position integral is determined as the state score.
8. The vehicle safety control method according to claim 1, characterized in that: The performing of security control according to the status score includes: In response to the status score being greater than or equal to a preset score threshold, the vehicle host or mobile terminal is controlled to inquire about the designated driver service, and designated driver request information is sent according to the user's selection operation, and status abnormality information is sent to a preset associated device.
9. An electronic device comprising a memory, a processor, and a computer program stored in the memory and running on the processor, characterized in that: When the processor executes the program, the method according to any one of claims 1 to 8 is implemented.
10. A vehicle, characterized in that: Comprising the electronic device as claimed in claim 9.
Citation Information
Patent Citations
Vehicle driving takeover method and system
CN110531745A
Gait monitoring method and intelligent device
CN110916673A
Drunk detection method and device, wearable equipment and storage medium
CN116763267A
Drink state evaluation method and device, storage medium and electronic equipment
CN117084668A
Vehicle designated driving method and device, vehicle-mounted terminal and vehicle
CN118439045A
