CN113715617A - Device control method, device and storage medium - Google Patents

Device control method, device and storage medium Download PDF

Info

Publication number
CN113715617A
CN113715617A CN202111000061.4A CN202111000061A CN113715617A CN 113715617 A CN113715617 A CN 113715617A CN 202111000061 A CN202111000061 A CN 202111000061A CN 113715617 A CN113715617 A CN 113715617A
Authority
CN
China
Prior art keywords
resolution
user
reaction
identifier
test result
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202111000061.4A
Other languages
Chinese (zh)
Inventor
杨林腾
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Apollo Zhilian Beijing Technology Co Ltd
Original Assignee
Apollo Zhilian Beijing Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Apollo Zhilian Beijing Technology Co Ltd filed Critical Apollo Zhilian Beijing Technology Co Ltd
Priority to CN202111000061.4A priority Critical patent/CN113715617A/en
Publication of CN113715617A publication Critical patent/CN113715617A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • BPERFORMING OPERATIONS; TRANSPORTING
    • B60VEHICLES IN GENERAL
    • B60KARRANGEMENT OR MOUNTING OF PROPULSION UNITS OR OF TRANSMISSIONS IN VEHICLES; ARRANGEMENT OR MOUNTING OF PLURAL DIVERSE PRIME-MOVERS IN VEHICLES; AUXILIARY DRIVES FOR VEHICLES; INSTRUMENTATION OR DASHBOARDS FOR VEHICLES; ARRANGEMENTS IN CONNECTION WITH COOLING, AIR INTAKE, GAS EXHAUST OR FUEL SUPPLY OF PROPULSION UNITS IN VEHICLES
    • B60K28/00Safety devices for propulsion-unit control, specially adapted for, or arranged in, vehicles, e.g. preventing fuel supply or ignition in the event of potentially dangerous conditions
    • B60K28/02Safety devices for propulsion-unit control, specially adapted for, or arranged in, vehicles, e.g. preventing fuel supply or ignition in the event of potentially dangerous conditions responsive to conditions relating to the driver
    • B60K28/06Safety devices for propulsion-unit control, specially adapted for, or arranged in, vehicles, e.g. preventing fuel supply or ignition in the event of potentially dangerous conditions responsive to conditions relating to the driver responsive to incapacity of driver
    • B60K28/063Safety devices for propulsion-unit control, specially adapted for, or arranged in, vehicles, e.g. preventing fuel supply or ignition in the event of potentially dangerous conditions responsive to conditions relating to the driver responsive to incapacity of driver preventing starting of vehicles
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B60VEHICLES IN GENERAL
    • B60WCONJOINT CONTROL OF VEHICLE SUB-UNITS OF DIFFERENT TYPE OR DIFFERENT FUNCTION; CONTROL SYSTEMS SPECIALLY ADAPTED FOR HYBRID VEHICLES; ROAD VEHICLE DRIVE CONTROL SYSTEMS FOR PURPOSES NOT RELATED TO THE CONTROL OF A PARTICULAR SUB-UNIT
    • B60W40/00Estimation or calculation of non-directly measurable driving parameters for road vehicle drive control systems not related to the control of a particular sub unit, e.g. by using mathematical models
    • B60W40/08Estimation or calculation of non-directly measurable driving parameters for road vehicle drive control systems not related to the control of a particular sub unit, e.g. by using mathematical models related to drivers or passengers
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B60VEHICLES IN GENERAL
    • B60WCONJOINT CONTROL OF VEHICLE SUB-UNITS OF DIFFERENT TYPE OR DIFFERENT FUNCTION; CONTROL SYSTEMS SPECIALLY ADAPTED FOR HYBRID VEHICLES; ROAD VEHICLE DRIVE CONTROL SYSTEMS FOR PURPOSES NOT RELATED TO THE CONTROL OF A PARTICULAR SUB-UNIT
    • B60W40/00Estimation or calculation of non-directly measurable driving parameters for road vehicle drive control systems not related to the control of a particular sub unit, e.g. by using mathematical models
    • B60W40/08Estimation or calculation of non-directly measurable driving parameters for road vehicle drive control systems not related to the control of a particular sub unit, e.g. by using mathematical models related to drivers or passengers
    • B60W2040/0818Inactivity or incapacity of driver
    • B60W2040/0836Inactivity or incapacity of driver due to alcohol

Abstract

The disclosure provides a device control method, a device, equipment and a storage medium, relates to the technical field of computers, and particularly relates to the technical field of car networking and intelligent cabins. The specific implementation scheme is as follows: locking the device in the event that the alcohol concentration is detected to exceed the concentration threshold; executing a reaction capability test aiming at a user to obtain a reaction capability test result; executing a resolving power test aiming at a user to obtain a resolving power test result; and unlocking the equipment under the condition that the reaction capability test result meets a first preset condition and the resolution capability test result meets a second preset condition.

Description

Device control method, device and storage medium
Technical Field
The present disclosure relates to the field of computer technology, and more particularly, to the field of car networking and intelligent cabin technology.
Background
Drunk driving is a dangerous driving behavior and is prohibited by the Ministry in China. Drunk driving easily causes major traffic accidents and threatens life and property safety. Therefore, it is very important to detect whether the driver is drinking alcohol.
Disclosure of Invention
The disclosure provides a device control method, apparatus, device and storage medium.
According to an aspect of the present disclosure, there is provided an apparatus control method including: locking the device in the event that the alcohol concentration is detected to exceed the concentration threshold; executing a reaction capability test aiming at a user to obtain a reaction capability test result; executing a resolving power test aiming at a user to obtain a resolving power test result; and unlocking the equipment under the condition that the reaction capability test result meets a first preset condition and the resolution capability test result meets a second preset condition.
According to another aspect of the present disclosure, there is provided an apparatus control device including: a locking module for locking the device if it is detected that the alcohol concentration exceeds a concentration threshold; the reaction testing module is used for executing a reaction capability test aiming at a user to obtain a reaction capability test result; the resolution testing module is used for executing a resolution capability test aiming at a user to obtain a resolution capability test result; and the unlocking module is used for unlocking the equipment under the condition that the reaction capability test result meets a first preset condition and the resolution capability test result meets a second preset condition.
Another aspect of the present disclosure provides an electronic device including: at least one processor; and a memory communicatively coupled to the at least one processor; wherein the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the method of the embodiments of the present disclosure.
According to another aspect of the disclosed embodiments, there is provided a non-transitory computer readable storage medium having stored thereon computer instructions for causing the computer to perform the method shown in the disclosed embodiments.
According to another aspect of the embodiments of the present disclosure, there is provided a computer program product, a computer program, which when executed by a processor implements the method shown in the embodiments of the present disclosure.
It should be understood that the statements in this section do not necessarily identify key or critical features of the embodiments of the present disclosure, nor do they limit the scope of the present disclosure. Other features of the present disclosure will become apparent from the following description.
Drawings
The drawings are included to provide a better understanding of the present solution and are not to be construed as limiting the present disclosure. Wherein:
fig. 1 is a schematic view of an application scenario of a device control method, apparatus, electronic device and storage medium according to an embodiment of the present disclosure;
FIG. 2 schematically illustrates a flow chart of a device control method according to an embodiment of the present disclosure;
FIG. 3 schematically illustrates a method of performing a reaction sub-test according to an embodiment of the present disclosure;
FIG. 4 schematically shows a schematic diagram of a method of performing a reactionary test according to an embodiment of the present disclosure;
FIG. 5 schematically illustrates a method of performing a resolution subtest according to an embodiment of the present disclosure;
FIG. 6 schematically shows a schematic diagram of a method of performing a resolving power test according to an embodiment of the present disclosure;
FIG. 7 schematically illustrates a flow chart of a device control method according to another embodiment of the present disclosure;
FIG. 8 schematically illustrates a block diagram of a device control apparatus according to an embodiment of the present disclosure; and
FIG. 9 schematically shows a block diagram of an example electronic device that may be used to implement embodiments of the present disclosure.
Detailed Description
Exemplary embodiments of the present disclosure are described below with reference to the accompanying drawings, in which various details of the embodiments of the disclosure are included to assist understanding, and which are to be considered as merely exemplary. Accordingly, those of ordinary skill in the art will recognize that various changes and modifications of the embodiments described herein can be made without departing from the scope and spirit of the present disclosure. Also, descriptions of well-known functions and constructions are omitted in the following description for clarity and conciseness.
An application scenario of the device control method, apparatus, electronic device and storage medium provided by the present disclosure will be described below with reference to fig. 1.
Fig. 1 is a schematic view of an application scenario of a device control method, apparatus, electronic device and storage medium according to an embodiment of the disclosure. It should be noted that fig. 1 is only an example of an application scenario in which the embodiments of the present disclosure may be applied to help those skilled in the art understand the technical content of the present disclosure, but does not mean that the embodiments of the present disclosure may not be applied to other devices, systems, environments or scenarios.
As shown in fig. 1, the application scenario 100 includes an air alcohol concentration detector 110, an image capturing device 120, and a human-computer interaction device 130.
According to an embodiment of the present disclosure, the air alcohol concentration detector 110 and the image capturing apparatus 120 may be provided in a steering wheel of a vehicle. The human interaction device 130 may be provided in a center console of the vehicle.
According to an embodiment of the present disclosure, the air alcohol concentration detector 110 may be used to detect the alcohol concentration in the air inside the vehicle.
According to embodiments of the present disclosure, the image capture device 120 may be used to capture images of a user to determine a gaze location of the user. Image capture device 120 may include, for example, an in-vehicle camera or a stationary eye tracker, among others.
According to an embodiment of the present disclosure, the Human Machine interaction device 130 may be, for example, an HMI (Human Machine Interface) device. The human-computer interaction device 130 may have a display screen and may be used to display data required for the responsiveness test and the resolution test. In addition, the display screen can support touch and can be used for receiving touch operations such as clicking and sliding of a user.
According to an embodiment of the present disclosure, the driving control device of the vehicle may be locked when the air alcohol concentration detector 110 detects that the alcohol concentration in the air inside the vehicle exceeds a concentration threshold. With the driving control apparatus locked, the user (including at least the driver) cannot perform driving operations such as shifting gears, forward running, reverse running, and the like on the vehicle. The user may perform the reaction capability test and the resolution capability test through the human-computer interaction device 130 to obtain a reaction capability test result and a resolution capability test result. If the reaction capability test result and the resolution capability test result both meet the corresponding preset conditions, the cognitive ability of the user is normal, and the locked driving control equipment can be unlocked. If at least one of the reaction capability test result and the resolution capability test result does not meet the corresponding preset condition, the cognitive ability of the user is abnormal, excessive alcohol is possibly taken, and the locking of the driving control equipment is continuously kept, so that drunk driving of the user is prevented, and the safety of the user and public safety is ensured.
According to the embodiment of the disclosure, in the process of performing the reaction capability test and the resolution capability test, the image acquisition device 120 may be used to acquire the image of the user in real time to monitor whether the sight line position of the user is located on the display interface in the display screen of the human-computer interaction device 130. If the sight line position of the user is not located on the display interface, the reaction capability test and the resolving capability test can be stopped, so that the tests are guaranteed to be completed by the user, namely the driver, and the tests are prevented from being completed by other passengers in the vehicle.
In the technical scheme of the present disclosure, the acquisition, storage, and application of personal information such as images, alcohol concentrations, and test data of the related users all comply with the regulations of related laws and regulations, and do not violate the customs of the public order.
Fig. 2 schematically shows a flow chart of a device control method according to an embodiment of the present disclosure.
As shown in fig. 2, the apparatus control method includes locking the apparatus in case it is detected that the alcohol concentration exceeds the concentration threshold in operation S210.
Then, in operation S220, a reaction capability test is performed for the user, resulting in a reaction capability test result.
In operation S230, a resolution test is performed for the user, resulting in a resolution test result.
In operation S240, in the case where the reaction capability test result satisfies the first predetermined condition and the resolving capability test result satisfies the second predetermined condition, the apparatus is unlocked.
The device control method according to the embodiment of the present disclosure can be used for controlling devices that have a high demand on the cognitive ability of a user (i.e., an operator of the device), such as a driving control device of a vehicle such as an automobile, a train, an airplane, and the like.
According to the embodiment of the disclosure, the reaction capability test can be used for testing the reaction capability of the user to obtain a reaction capability test result. The reaction capability test result can be used for representing the strength of the reaction capability of the user to the unexpected things.
According to the embodiment of the present disclosure, when the reaction capability test is performed, the reaction capability test result may be determined based on the reaction duration of the user. Based on this, according to an embodiment of the present disclosure, the first predetermined condition may include, for example, that the reaction time period is less than a first reaction time period threshold. The first reaction duration threshold may be determined according to actual needs.
Illustratively, in this embodiment, the reactivity test may include at least one reaction sub-test. Based on the method, at least one reaction sub-test can be executed for the user, and at least one first reaction duration corresponding to the at least one reaction sub-test in a one-to-one mode is obtained. And then determining a first average reaction time length according to at least one first reaction time length as a reaction capability test result. Accordingly, the first predetermined condition includes the first average reaction time period being less than a first reaction time period threshold.
According to the embodiment of the disclosure, the resolution capability test can be used for evaluating the resolution capability of the user to obtain a resolution capability test result. The result of the resolving power test can be used for representing the strength of the resolving power of the user on the things.
According to the embodiment of the disclosure, the resolution capability test result can be determined based on the accuracy when the user distinguishes the identifier and the reaction time length when the user distinguishes the identifier correctly. Based on this, according to an embodiment of the present disclosure, the second predetermined condition may include, for example, that a resolution accuracy of the user to the identification is greater than or equal to the accuracy threshold and the reaction duration is less than the second reaction duration threshold. Wherein, the accuracy threshold and the second reaction duration threshold can be determined according to actual needs. The first reaction time period threshold value and the second reaction time period threshold value may be the same or different.
Illustratively, in the present embodiment, the resolving power test may include at least one resolving power test. Based on this, at least one resolution subtest can be executed for the user, and at least one resolution result and at least one second reaction duration which are in one-to-one correspondence with the at least one resolution subtest are obtained. And determining the resolution accuracy according to at least one resolution result. And determining a second average reaction time length according to the second reaction time length. And then determining the resolution accuracy and the second average reaction time as a resolution capability test result. Accordingly, the second predetermined condition may include that the resolution accuracy is greater than or equal to the accuracy threshold and the second average reaction duration is less than the second reaction duration threshold.
According to embodiments of the present disclosure, the reaction capability test may be performed first and then the resolving capability test, or the resolving capability test may be performed first and then the reaction capability test. The present disclosure is not particularly limited thereto.
According to other embodiments of the present disclosure, the above-described reaction capability test and resolution capability test may be performed a plurality of times in order to reduce errors. For example, after the reaction capability test and the resolution capability test are performed for the first time, if at least one of the reaction capability test result and the resolution capability test result does not satisfy the corresponding predetermined condition, the test that does not satisfy the corresponding predetermined condition may be re-performed. And if the re-executed test result meets the corresponding preset condition, unlocking the equipment. And if the re-executed test result still does not meet the corresponding preset condition, continuing to lock the equipment.
According to the embodiment of the disclosure, if people around the device drink, a certain amount of alcohol is contained in the breathing gas, so that whether the driver drinks or not can be detected and judged by arranging the alcohol concentration detection device near the driver seat. However, it is not accurate enough to judge the alcohol concentration of the user only by the detected alcohol concentration, and for example, if a person other than the user drinks around the device, the alcohol concentration of the air is likely to cause erroneous judgment. In addition, different users have different tolerance degrees to alcohol, some users have low tolerance degrees to alcohol, a small amount of alcohol can cause drunkenness reaction, but the alcohol concentration may not reach the trigger threshold value because the alcohol consumption is small, and at the moment, if the equipment is operated, the potential safety hazard still exists.
Based on this, in case it is detected that the alcohol concentration exceeds the concentration threshold, a reaction capability test and a resolution capability test may be further performed for the user to evaluate the user cognitive ability. If the reaction capability test result meets the first preset condition and the resolution capability test result meets the second preset condition, the cognitive capability of the user is normal, and the equipment can be unlocked. Otherwise, the cognitive ability of the user is abnormal, and the locking of the equipment can be continuously maintained, so that the user is prevented from operating, and the safety of the user and the equipment is ensured.
In a real application scenario, in order to detect whether a driver drinks, traffic policemen need to perform a spot check at a specific time and a specific place. The method requires large manpower, consumes more resources and has strong randomness. The crowd who drinks and drives but is not randomly inspected is more, and the gambling spirit which can not be inspected is easy to form by the driver.
The device control method can be applied to vehicles, drunk driving detection can be completed immediately in the driving stage of drivers, and the driving behavior after drinking is avoided.
The method of performing the reactivity test shown above is further described below with reference to FIG. 3. Those skilled in the art will appreciate that the following example embodiments are only for the understanding of the present disclosure, and the present disclosure is not limited thereto.
Fig. 3 schematically illustrates a method of performing a reaction sub-test according to an embodiment of the present disclosure.
As shown in fig. 3, the method 300 of performing the reaction subtest includes presenting a first identifier on a presentation interface in operation S310.
Then, in operation S320, in response to a first confirmation operation of the user, a time period from a time when the first identifier starts to be displayed to a trigger time of the first confirmation operation is determined as a first reaction time period corresponding to the reaction test.
According to an embodiment of the present disclosure, the first identifier may include any symbol or graphic, such as a number, a letter, or the like.
According to the embodiment of the disclosure, the first identifier can be displayed through a display interface in the display screen, and the time when the display screen starts to display the first identifier is recorded. And then waiting for the user to click on the display screen to trigger the first confirmation operation, and recording the trigger time of the first confirmation operation. And then calculating the time length from the moment when the display screen starts to display the first identifier to the trigger moment of the first confirmation operation to obtain a first reaction time length.
According to further embodiments of the present disclosure, before the displaying the first identifier on the display interface, the method further includes: and instructing the user to perform a first confirmation operation when the first identifier is displayed. And displaying a first prompt on the display interface to prompt the user of the display position of the first identifier in the display interface. Wherein the first prompt may be any symbol or graphic different from the first identifier.
The method of performing the reactionary test described above is further described with reference to FIG. 4 in conjunction with specific embodiments. Those skilled in the art will appreciate that the following example embodiments are only for the understanding of the present disclosure, and the present disclosure is not limited thereto.
Fig. 4 schematically shows a schematic diagram of a method of performing a reactionary test according to an embodiment of the present disclosure.
Illustratively, in this embodiment, the reactivity test may include 3 reactivity tests. The first identifier may be any one of the numbers 0-9. The first confirmation operation may be a click operation for the display screen. The first duration threshold may be 700 ms.
As shown in fig. 4, a first sub-reaction test is first performed. The test prompt 411 "is presented in the presentation interface 410 of the display screen, please click the display screen as soon as possible when a number appears on the display screen. ", to indicate that the user performs a click operation while the number is being presented.
Then, a prompt 412 is presented in the presentation interface 410, and in this embodiment, the prompt 412 may be "+" as an example. After a random period of time, the prompt 412 disappears and a number 413 of 0-9 is randomly presented at the location corresponding to the prompt 412. Illustratively, the random time may be any time in the time range of 500ms to 2000ms, for example.
If the user does not click the display screen within 2000ms after the number 413 is displayed, the current reaction sub-test is automatically skipped, the next reaction sub-test is entered, and the reaction time duration is recorded as t being 2000 ms.
If the user clicks on the display within 2000ms after the number 413 is presented, the time period t that elapses from the start of the presentation of the number 413 until the user clicks on the display is calculated.
According to the above method, 3 sub-tests of reactivity were performed. And calculating the average reaction time length T ∑ T/3 of the user according to the reaction time lengths obtained by the 3 reaction sub-tests. If T < 700ms, the response capability test is passed. If T > - [ 700ms, the reactivity test does not pass.
The method of performing the resolution sub-test shown above is further described below with reference to fig. 5. Those skilled in the art will appreciate that the following example embodiments are only for the understanding of the present disclosure, and the present disclosure is not limited thereto.
Fig. 5 schematically illustrates a method of performing a resolution subtest according to an embodiment of the present disclosure.
As shown in fig. 5, the method 500 of performing the resolution subtest includes randomly selecting one second identifier from a plurality of second identifiers and presenting the selected second identifier on the presentation interface in operation S510.
In operation S520, it is determined whether the selected second identity is a target identity. In case that the selected second identity is the target identity, operation S530 is performed. In case the selected second identity is not the target identity, operation S560 is performed.
In operation S530, it is determined whether a second confirmation operation of the user is received within a predetermined time period after the selected second identifier is displayed. If the second confirmation operation of the user is received within the predetermined time after the selected second identifier is displayed, operation S540 is performed, otherwise, operation S550 is performed.
In operation S540, a time period from a time when the selected second identifier starts to be displayed to a trigger time of the second confirmation operation is determined as a second reaction time period.
In operation S550, the predetermined period is determined as the second reaction period.
In operation S560, it is determined whether a second confirmation operation of the user is received within a predetermined time period after the selected second identifier is displayed. If the second confirmation operation of the user is received within the predetermined time after the selected second identifier is displayed, operation S570 is performed, otherwise, operation S580 is performed.
In operation S570, the resolution result of the resolution subtest is determined to be an error.
In operation S580, it is determined that the resolution result of the resolution subtest is correct.
According to an embodiment of the present disclosure, the second identifier may include any symbol or graphic, such as a number, a letter, or the like. The predetermined time period can be determined according to actual needs.
According to an embodiment of the present disclosure, the second identifier may be a plurality of identifiers, and the plurality of second identifiers may include identifiers of at least two categories. Based on this, the identifier of any one of the at least two categories may be taken as the target identifier. For example, a plurality of numbers and a plurality of letters can be used as the second identifier, and a plurality of numbers can be used as the target identifier.
According to other embodiments of the disclosure, before the second identifier is displayed on the display interface, the user may be instructed to perform a second confirmation operation when a target identifier of the plurality of second identifiers is displayed. A second prompt may then be presented at the presentation interface to prompt the user for a second identification of the presentation location in the presentation interface. Wherein the second prompt may be any symbol or graphic different from the second identifier.
The method of performing the resolving power test described above is further described with reference to fig. 6 in conjunction with the specific embodiments described above. Those skilled in the art will appreciate that the following example embodiments are only for the understanding of the present disclosure, and the present disclosure is not limited thereto.
Fig. 6 schematically shows a schematic diagram of a method of performing a resolving power test according to an embodiment of the present disclosure.
Illustratively, in the present embodiment, the resolution capability test may include 6 resolution subtests. The second identifier may be any one of the numbers 0-9 and the letters a-Z. The target identifiers are numbers 0-9. The second confirmation operation may be a click operation for the display screen. The predetermined time period may be 2000 ms. The second duration threshold may be 800 ms.
As shown in fig. 6, a first resolution subtest is first performed. The test prompt 611 "is displayed in the display interface 610 of the display screen, and when a number appears in the display screen, please click the display screen as soon as possible. And if the letters appear on the display screen, the display screen is not clicked. ", to indicate that the user performs a click operation while the number is being presented.
Then, a prompt 612 "+" is displayed in the display interface 610, and after a random period of time, the prompt disappears, and a second identifier 613 is randomly displayed at a position corresponding to the prompt 612, wherein the second identifier 613 can be a number from 0 to 9 or a letter from a to Z. Illustratively, the random time may be any time in the time range of 500ms to 2000ms, for example.
If the second identifier 613 displayed in the display interface 610 is a number and the user does not click on the display screen within 2000ms after the number is displayed, the process skips automatically, enters the next resolution sub-test, and records the reaction time period t equal to 2000 ms.
If the second identifier 613 displayed in the display interface 610 is a number and the user clicks on the display screen within 2000ms after the number is displayed, the time period t elapsed from when the number starts to be displayed to when the user clicks on the display screen is calculated.
If the second identifier 613 displayed in the display interface 610 is a letter and the user does not react within 2000ms after the letter is displayed, it is marked as correct 1 time.
If the second identifier 613 displayed in the display interface 610 is a letter and the user clicks on the display screen within 2000ms after the letter is displayed, it is marked as an error 1 time.
According to the above method, 6 resolution subtests were performed. Wherein 3 times are shown with numbers and 3 times with letters. If the correct number is less than 2, the resolution test fails. If the correct number is 2, then calculate the average driver response time T ∑ T/3. If T < 800ms, the resolution test passes. If T > -800 ms, the resolution test fails.
Fig. 7 schematically shows a flow chart of a device control method according to another embodiment of the present disclosure.
As shown in fig. 7, the apparatus control method includes locking the apparatus in case it is detected that the alcohol concentration exceeds the concentration threshold in operation S710.
Then, in operation S720, a reaction capability test is performed for the user, resulting in a reaction capability test result.
In operation S730, a gaze location of a user is monitored during performance of the reaction capability test.
In operation S740, it is determined whether the gaze position deviates from the presentation interface. In the case where the line-of-sight position deviates from the presentation interface, operation S750 is performed. In the case where the line-of-sight position does not deviate from the presentation interface, operation S760 is performed.
In operation S750, the reaction capability test is stopped.
In operation S760, a resolution test is performed for the user, resulting in a resolution test result.
In operation S770, a line-of-sight position of the user is monitored in the course of performing the resolving power test.
In operation S780, it is determined whether the sight-line position deviates from the presentation interface. In the case where the line-of-sight position deviates from the presentation interface, operation S790 is performed. In the case where the line-of-sight position does not deviate from the presentation interface, operation S7100 is performed.
In operation S790, in the case where the line-of-sight position deviates from the presentation interface, the resolving power test is stopped.
In operation S7100, the apparatus is unlocked in a case where the reaction capability test result satisfies a first predetermined condition and the resolving capability test result satisfies a second predetermined condition.
According to the embodiment of the disclosure, whether the user's sight position shows the interface is monitored in the process of executing the reaction capability test and the resolving capability test, and the corresponding test is stopped under the condition that the user's sight position is not located in the display interface, so that the tests can be guaranteed to be carried out by the user, and the tests can be prevented from being completed by other people.
Fig. 8 schematically shows a block diagram of a device control apparatus according to an embodiment of the present disclosure.
As shown in fig. 8, the apparatus control device 800 includes a locking module 810, a reaction test module 820, a resolution test module 830, and an unlocking module 840.
A lockout module 810 may be used to lockout the device in the event that an alcohol concentration is detected that exceeds a concentration threshold.
The reaction testing module 820 may be configured to perform a reaction capability test for a user to obtain a reaction capability test result.
The resolution test module 830 may be configured to perform a resolution capability test on a user to obtain a resolution capability test result.
The unlocking module 840 may be configured to unlock the device when the response capability test result satisfies a first predetermined condition and the resolution capability test result satisfies a second predetermined condition.
The present disclosure also provides an electronic device, a readable storage medium, and a computer program product according to embodiments of the present disclosure.
FIG. 9 schematically shows a block diagram of an example electronic device 900 that may be used to implement embodiments of the present disclosure. Electronic devices are intended to represent various forms of digital computers, such as laptops, desktops, workstations, personal digital assistants, servers, blade servers, mainframes, and other appropriate computers. The electronic device may also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions, are meant to be examples only, and are not meant to limit implementations of the disclosure described and/or claimed herein.
As shown in fig. 9, the apparatus 900 includes a computing unit 901, which can perform various appropriate actions and processes in accordance with a computer program stored in a Read Only Memory (ROM)902 or a computer program loaded from a storage unit 908 into a Random Access Memory (RAM) 903. In the RAM 903, various programs and data required for the operation of the device 900 can also be stored. The calculation unit 901, ROM 902, and RAM 903 are connected to each other via a bus 904. An input/output (I/O) interface 905 is also connected to bus 904.
A number of components in the device 900 are connected to the I/O interface 905, including: an input unit 906 such as a keyboard, a mouse, and the like; an output unit 907 such as various types of displays, speakers, and the like; a storage unit 908 such as a magnetic disk, optical disk, or the like; and a communication unit 909 such as a network card, a modem, a wireless communication transceiver, and the like. The communication unit 909 allows the device 900 to exchange information/data with other devices through a computer network such as the internet and/or various telecommunication networks.
The computing unit 901 may be a variety of general and/or special purpose processing components having processing and computing capabilities. Some examples of the computing unit 901 include, but are not limited to, a Central Processing Unit (CPU), a Graphics Processing Unit (GPU), various dedicated Artificial Intelligence (AI) computing chips, various computing units running machine learning model algorithms, a Digital Signal Processor (DSP), and any suitable processor, controller, microcontroller, and so forth. The calculation unit 901 executes the respective methods and processes described above, such as the device control method. For example, in some embodiments, the device control method may be implemented as a computer software program tangibly embodied in a machine-readable medium, such as storage unit 908. In some embodiments, part or all of the computer program may be loaded and/or installed onto device 900 via ROM 902 and/or communications unit 909. When the computer program is loaded into the RAM 903 and executed by the computing unit 901, one or more steps of the device control method described above may be performed. Alternatively, in other embodiments, the computing unit 901 may be configured to perform the device control method by any other suitable means (e.g., by means of firmware).
Various implementations of the systems and techniques described here above may be implemented in digital electronic circuitry, integrated circuitry, Field Programmable Gate Arrays (FPGAs), Application Specific Integrated Circuits (ASICs), Application Specific Standard Products (ASSPs), system on a chip (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and/or combinations thereof. These various embodiments may include: implemented in one or more computer programs that are executable and/or interpretable on a programmable system including at least one programmable processor, which may be special or general purpose, receiving data and instructions from, and transmitting data and instructions to, a storage system, at least one input device, and at least one output device.
Program code for implementing the methods of the present disclosure may be written in any combination of one or more programming languages. These program codes may be provided to a processor or controller of a general purpose computer, special purpose computer, or other programmable data processing apparatus, such that the program codes, when executed by the processor or controller, cause the functions/operations specified in the flowchart and/or block diagram to be performed. The program code may execute entirely on the machine, partly on the machine, as a stand-alone software package partly on the machine and partly on a remote machine or entirely on the remote machine or server.
In the context of this disclosure, a machine-readable medium may be a tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. The machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. More specific examples of a machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
To provide for interaction with a user, the systems and techniques described here can be implemented on a computer having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to a user; and a keyboard and a pointing device (e.g., a mouse or a trackball) by which a user can provide input to the computer. Other kinds of devices may also be used to provide for interaction with a user; for example, feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form, including acoustic, speech, or tactile input.
The systems and techniques described here can be implemented in a computing system that includes a back-end component (e.g., as a data server), or that includes a middleware component (e.g., an application server), or that includes a front-end component (e.g., a user computer having a graphical user interface or a web browser through which a user can interact with an implementation of the systems and techniques described here), or any combination of such back-end, middleware, or front-end components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: local Area Networks (LANs), Wide Area Networks (WANs), and the Internet.
The computer system may include clients and servers. A client and server are generally remote from each other and typically interact through a communication network. The relationship of client and server arises by virtue of computer programs running on the respective computers and having a client-server relationship to each other.
It should be understood that various forms of the flows shown above may be used, with steps reordered, added, or deleted. For example, the steps described in the present disclosure may be executed in parallel, sequentially, or in different orders, as long as the desired results of the technical solutions disclosed in the present disclosure can be achieved, and the present disclosure is not limited herein.
The above detailed description should not be construed as limiting the scope of the disclosure. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions may be made in accordance with design requirements and other factors. Any modification, equivalent replacement, and improvement made within the spirit and principle of the present disclosure should be included in the scope of protection of the present disclosure.

Claims (15)

1. An apparatus control method comprising:
locking the device in the event that the alcohol concentration is detected to exceed the concentration threshold;
executing a reaction capability test aiming at a user to obtain a reaction capability test result;
executing a resolving power test aiming at a user to obtain a resolving power test result; and
and unlocking the equipment under the condition that the reaction capability test result meets a first preset condition and the resolution capability test result meets a second preset condition.
2. The method of claim 1, wherein said performing a reactionary test to obtain a reactionary test result comprises:
executing at least one reaction sub-test aiming at a user to obtain at least one first reaction duration corresponding to the at least one reaction sub-test one by one; and
and determining a first average reaction time length according to the at least one first reaction time length as the reaction capability test result.
3. The method of claim 2, wherein the performing the reaction subtest comprises:
displaying the first identification on a display interface; and
and responding to a first confirmation operation of the user, and determining the time length from the moment when the first identifier starts to be displayed to the trigger moment of the first confirmation operation as a first reaction time length corresponding to the reaction test.
4. The method of claim 3, prior to presenting the first identifier at a presentation interface, further comprising:
indicating a user to perform a first confirmation operation when the first identifier is displayed; and
and displaying a first prompt symbol on the display interface to prompt a user of the display position of the first identifier in the display interface.
5. The method according to any one of claims 2-4, wherein the first predetermined condition comprises:
the first average reaction time is less than a first reaction time threshold.
6. The method of claim 1, wherein said performing a resolution test to obtain a resolution test result comprises:
executing at least one resolution subtest for a user to obtain at least one resolution result and at least one second reaction duration which are in one-to-one correspondence with the at least one resolution subtest;
determining a resolution accuracy according to the at least one resolution result;
determining a second average reaction time length according to the second reaction time length; and
and determining the resolution accuracy and the second average reaction time as the resolution capability test result.
7. The method of claim 6, wherein the performing the resolution subtest comprises:
randomly selecting one second identifier from the plurality of second identifiers, and displaying the selected second identifier on a display interface;
when the selected second identifier is the target identifier and a second confirmation operation of the user is received within a predetermined time after the selected second identifier is displayed, determining a time length from the time when the selected second identifier starts to be displayed to the trigger time of the second confirmation operation as a second reaction time length;
determining the preset time length as a second reaction time length under the condition that the selected second identifier is the target identifier and a second confirmation operation of the user is not received within the preset time length after the selected second identifier is displayed;
determining that the resolution result of the resolution subtest is correct under the condition that the selected second identifier is not the target identifier and a second confirmation operation of the user is not received within a preset time after the selected second identifier is displayed; and
and determining that the resolution result of the resolution subtest is an error if the selected second identifier is not the target identifier and a second confirmation operation of the user is received within a predetermined time after the selected second identifier is displayed.
8. The method of claim 7, before presenting the second identifier at a presentation interface, the method further comprising:
instructing the user to perform a second confirmation operation when a target identifier in the plurality of second identifiers is displayed; and
and displaying a second prompt symbol on the display interface to prompt the user of the display position of the second identifier in the display interface.
9. The method according to any one of claims 6-8, wherein the second predetermined condition comprises:
the resolution accuracy is greater than or equal to an accuracy threshold, and the second average reaction duration is less than a second reaction duration threshold.
10. The method of claim 3, further comprising:
monitoring a gaze location of the user during the performance of the responsiveness test; and
stopping the responsiveness test if the gaze location deviates from the presentation interface.
11. The method of claim 6, further comprising:
monitoring a gaze location of the user during the performance of the resolution test; and
stopping the resolving power test when the sight line position deviates from the display interface.
12. An apparatus control device comprising:
a locking module for locking the device if it is detected that the alcohol concentration exceeds a concentration threshold;
the reaction testing module is used for executing a reaction capability test aiming at a user to obtain a reaction capability test result;
the resolution testing module is used for executing a resolution capability test aiming at a user to obtain a resolution capability test result; and
and the unlocking module is used for unlocking the equipment under the condition that the reaction capability test result meets a first preset condition and the resolution capability test result meets a second preset condition.
13. An electronic device, comprising:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein the content of the first and second substances,
the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the method of any one of claims 1-11.
14. A non-transitory computer readable storage medium having stored thereon computer instructions for causing the computer to perform the method of any one of claims 1-11.
15. A computer program product comprising a computer program which, when executed by a processor, implements the method according to any one of claims 1-11.
CN202111000061.4A 2021-08-27 2021-08-27 Device control method, device and storage medium Pending CN113715617A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111000061.4A CN113715617A (en) 2021-08-27 2021-08-27 Device control method, device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111000061.4A CN113715617A (en) 2021-08-27 2021-08-27 Device control method, device and storage medium

Publications (1)

Publication Number Publication Date
CN113715617A true CN113715617A (en) 2021-11-30

Family

ID=78678711

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111000061.4A Pending CN113715617A (en) 2021-08-27 2021-08-27 Device control method, device and storage medium

Country Status (1)

Country Link
CN (1) CN113715617A (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101023869A (en) * 2006-02-17 2007-08-29 司法部司法鉴定科学技术研究所 Method for representing rear-nerve acting ability
JP2009248891A (en) * 2008-04-10 2009-10-29 Hochiki Corp Prevention device of driving under influence of alcohol
CN105361894A (en) * 2014-08-14 2016-03-02 罗伯特·博世有限公司 Method and device for determining a reaction time of a vehicle driver
CN106667426A (en) * 2016-12-29 2017-05-17 中国科学院深圳先进技术研究院 Method and system for detecting function of large cell pathway
CN108099603A (en) * 2017-12-26 2018-06-01 奇瑞汽车股份有限公司 Control method for vehicle, device and computer readable storage medium
CN108859756A (en) * 2018-05-18 2018-11-23 江西江铃集团新能源汽车有限公司 Drunken driving detection method, system, mobile terminal and storage medium
CN112622617A (en) * 2019-10-08 2021-04-09 现代自动车株式会社 Alcohol interlocking control device and method

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101023869A (en) * 2006-02-17 2007-08-29 司法部司法鉴定科学技术研究所 Method for representing rear-nerve acting ability
JP2009248891A (en) * 2008-04-10 2009-10-29 Hochiki Corp Prevention device of driving under influence of alcohol
CN105361894A (en) * 2014-08-14 2016-03-02 罗伯特·博世有限公司 Method and device for determining a reaction time of a vehicle driver
CN106667426A (en) * 2016-12-29 2017-05-17 中国科学院深圳先进技术研究院 Method and system for detecting function of large cell pathway
CN108099603A (en) * 2017-12-26 2018-06-01 奇瑞汽车股份有限公司 Control method for vehicle, device and computer readable storage medium
CN108859756A (en) * 2018-05-18 2018-11-23 江西江铃集团新能源汽车有限公司 Drunken driving detection method, system, mobile terminal and storage medium
CN112622617A (en) * 2019-10-08 2021-04-09 现代自动车株式会社 Alcohol interlocking control device and method
KR20210041915A (en) * 2019-10-08 2021-04-16 현대자동차주식회사 Apparatus and method for controlling alcohol interlock

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
徐鸿等: "《交通安全心理学》", 西安交通大学出版社, pages: 204 - 212 *

Similar Documents

Publication Publication Date Title
US10929500B2 (en) System and method for use of pattern recognition in assessing or monitoring vehicle status or operator driving behavior
US8798811B2 (en) Method and device for assisting in the diagnostic and in the dispatch decision of an aircraft
US9396592B2 (en) Maintenance systems and methods for use in analyzing maintenance data
EP2490162A2 (en) Integrated electronic checklist display system
CN111028384B (en) Intelligent fault classification method and system for automatic driving vehicle
CN109835260B (en) Vehicle information display method, device, terminal and storage medium
El Masri et al. Toward self-policing: Detecting drunk driving behaviors through sampling CAN bus data
CN110509931B (en) Information display method, device and system for voice question answering
CN108668241A (en) Information prompting method, device, storage medium and electronic equipment
CN113715617A (en) Device control method, device and storage medium
US20230031709A1 (en) Autonomous driving vehicle detection method and apparatus, electronic device and readable storage medium
CN112083804A (en) Guidance interaction method and device for vehicle-mounted key, vehicle and storage medium
CN114022973B (en) Method, device, equipment and storage medium for processing vehicle faults
CN114274902A (en) Mode control method, device, equipment and storage medium
US20230271633A1 (en) Safety Control Method and Apparatus for Autonomous Driving Assistance System
CN117048458A (en) Child safety seat insertion detection method and device, vehicle and electronic equipment
CN105405218B (en) A kind of method and device for obtaining self-service terminal problem
CN114056283B (en) Method for automatically releasing brake during dragging of vehicle, intelligent vehicle and storage medium
Lehoczký et al. Design of an Intelligent Vehicle Accident Detection System
US20220169266A1 (en) Kinetic insights machine
CN116204339A (en) Restarting detection method and system of vehicle-mounted equipment, electronic equipment and medium
CN117207775A (en) Automobile instrument display control system, method, vehicle controller and storage medium
Dunsmuir et al. Package ‘glarma’
Bailey The effects of operator trust, complacency potential, and task complexity on monitoring a highly reliable automated system
CN116416199A (en) Security check graph quality detection method, device, equipment, medium and program product

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination