WO2018184175A1 - Terminal control method and device - Google Patents

Terminal control method and device Download PDF

Info

Publication number
WO2018184175A1
WO2018184175A1 PCT/CN2017/079618 CN2017079618W WO2018184175A1 WO 2018184175 A1 WO2018184175 A1 WO 2018184175A1 CN 2017079618 W CN2017079618 W CN 2017079618W WO 2018184175 A1 WO2018184175 A1 WO 2018184175A1
Authority
WO
WIPO (PCT)
Prior art keywords
terminal
driving state
user
data
wrist
Prior art date
Application number
PCT/CN2017/079618
Other languages
French (fr)
Chinese (zh)
Inventor
杨帆
卢恒惠
Original Assignee
华为技术有限公司
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 华为技术有限公司 filed Critical 华为技术有限公司
Priority to CN201780088943.6A priority Critical patent/CN110462554A/en
Priority to PCT/CN2017/079618 priority patent/WO2018184175A1/en
Publication of WO2018184175A1 publication Critical patent/WO2018184175A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer

Definitions

  • the present application relates to the field of computer technology, and in particular, to a method and apparatus for controlling a terminal based on driving state recognition.
  • the existing solution for recognizing the driving state is that the mobile terminal uses the motion sensor to collect the motion data of the user, and compares the motion data model of the existing driving state to determine whether it is in the driving state.
  • the driving state is recognized only by the motion sensor data of the mobile terminal, the recognition accuracy is low, and misjudgment sometimes occurs. Therefore, there is a need for a method that can accurately recognize the driving state.
  • the embodiment of the invention provides a method and a device for identifying and controlling a terminal based on a driving state.
  • the driving state can be accurately recognized, the occurrence of false positives can be reduced, and the mode of the terminal can be set in time to improve Driving safety.
  • the first aspect provides a method for controlling a terminal, where the method includes: acquiring motion data of the terminal and user wrist volume data; determining, according to motion data of the terminal, whether the terminal is in a driving state; When the terminal is in the driving state, it is determined whether the user is in a driving state according to the vital sign data; and when the user is in the driving state, setting the terminal to a driving mode.
  • the motion data is acquired by a motion sensor or a position sensor.
  • the terminal can obtain the motion data required to detect the driving state.
  • the motion data comprises velocity, acceleration or displacement.
  • the terminal can detect the driving state through different motion data.
  • determining whether the terminal is in a driving state according to the motion data of the terminal includes: determining that the terminal is in a driving state when the motion data is greater than or equal to a preset threshold; When the motion data is less than a preset threshold, it is determined that the terminal is not in a driving state. Thereby, the terminal can complete the detection of the driving state.
  • the vital sign data is obtained by an electrical impedance sensor.
  • the terminal can obtain the vital sign data needed to recognize the user's hand posture.
  • the vital sign data includes muscle data or fat data of a user's wrist. Thereby, the user can recognize the corresponding user hand posture based on the muscle data or the fat data.
  • the determining, according to the vital sign data, whether the user is driving The state includes determining that the user is in a driving state when the feature of the vital sign data matches the vital sign data of the driving state of the user. Thereby, the terminal can complete the detection of the driving state.
  • the driving mode comprises at least one of the following operations: turning on an automatic parking recognition function, automatically marking a parking position; turning on a voice navigation function; and if no connection between the car Bluetooth or the earphone is detected, Turn off the call answering function; turn off the message reminder function of the message application; convert the text message to a voice message if it detects the connection of the car Bluetooth or the headset; or close the video application.
  • the terminal can turn on or off some functions to prevent the user from operating the mobile phone while driving, and assist the user to drive safely.
  • a method for controlling a terminal comprising: acquiring motion data of the terminal; receiving user wrist sign data acquired by a wrist wearable device; and determining, according to motion data of the terminal Whether the terminal is in a driving state; when the terminal is in a driving state, determining whether the user is in a driving state according to the vital sign data; and setting the terminal to a driving mode when the user is in the driving state.
  • the motion data is acquired by a motion sensor or a position sensor.
  • the terminal can obtain the motion data required to detect the driving state.
  • the motion data includes speed, acceleration, or displacement.
  • the terminal can detect the driving state through different motion data.
  • determining whether the terminal is in a driving state according to the motion data of the terminal includes: determining that the terminal is in a driving state when the motion data is greater than or equal to a preset threshold; When the motion data is less than a preset threshold, it is determined that the terminal is not in a driving state. Thereby, the terminal can complete the detection of the driving state.
  • the vital sign data is obtained by an electrical impedance sensor.
  • the terminal can obtain the vital sign data needed to recognize the user's hand posture.
  • the vital sign data is muscle data or fat data of a user's wrist.
  • the user can identify the corresponding user hand gesture based on muscle or fat data.
  • the determining, according to the vital sign data, whether the user is in a driving state comprises: determining that the user is in a driving state when the feature of the vital sign data matches the vital sign data of the driving state. Thereby, the terminal can complete the detection of the driving state.
  • the driving mode comprises at least one of the following operations: turning on the automatic parking recognition function, automatically marking the parking position; turning on the voice navigation function; and if no connection between the car Bluetooth or the earphone is detected, Turn off the call answering function; turn off the message reminder function of the message application; convert the text message to a voice message if it detects the connection of the car Bluetooth or the headset; or close the video application.
  • the terminal can turn on or off some functions to prevent the user from operating under driving conditions and assist the user to drive safely.
  • the setting the terminal to a driving mode when the user is in the driving state comprises: setting the terminal to a driving mode when the user is in the driving state And, the terminal transmits the driving state recognition result to the wrist wearable device.
  • the terminal and the wearable device Some functions can be turned on or off to prevent the user from operating under driving conditions and assist the user in driving safely.
  • a method for controlling a wrist wearable device comprising: acquiring vital sign data of a wrist of a user; receiving motion data sent by the terminal; and determining, according to the motion data, whether the terminal is in a driving state.
  • the terminal is in the driving state, determining whether the user is in a driving state according to the vital sign data; and setting the wrist wearable device to a driving mode when the user is in the driving state.
  • setting the wrist wearable device to a driving mode comprises: setting the user when the user is in the driving state The wearable device is in a driving mode, and the wrist wearable device transmits a driving state recognition result to the terminal.
  • setting the driving mode both the terminal and the wearable device can turn on or off some functions to prevent the user from operating under driving conditions and assist the user in driving safely.
  • a terminal includes: an acquiring module, configured to acquire motion data of the terminal and user wrist volume data; and a determining module, configured to determine, according to motion data of the terminal, whether the terminal is The determining module is further configured to determine, according to the vital sign data, whether the user is in a driving state when the terminal is in a driving state, and a setting module, when the user is in the driving state , setting the terminal to the driving mode.
  • the motion data is acquired by a motion sensor.
  • the terminal can acquire the motion data required to detect the driving state.
  • the motion data comprises velocity, acceleration or displacement.
  • the terminal can detect the driving state through different motion data.
  • determining whether the terminal is in a driving state according to the motion data of the terminal includes: determining that the terminal is in a driving state when the motion data is greater than or equal to a preset threshold; When the motion data is less than a preset threshold, it is determined that the terminal is not in a driving state. Thereby, the terminal can complete the detection of the driving state.
  • the vital sign data is obtained by an electrical impedance sensor.
  • the terminal can obtain the vital sign data needed to recognize the user's hand posture.
  • the vital sign data includes muscle data or fat data of a user's wrist.
  • the user can identify the corresponding user hand gesture based on muscle or fat data.
  • the determining, according to the vital sign data, whether the user is in a driving state comprises: determining that the user is in a driving state when the feature of the vital sign data matches the vital sign data of the driving state of the user . Thereby, the terminal can complete the detection of the driving state.
  • the driving mode comprises at least one of the following operations: turning on the automatic parking recognition function, automatically marking the parking position; turning on the voice navigation function; and if no connection between the car Bluetooth or the earphone is detected, Turn off the call answering function; turn off the message reminder function of the message application; convert the text message to a voice message if it detects the connection of the car Bluetooth or the headset; or close the video application.
  • the terminal can turn some functions on or off to prevent the user from operating the mobile phone while driving. Help users drive safely.
  • the fifth aspect provides a terminal, where the terminal includes: an acquiring module, configured to acquire motion data of the terminal; and a receiving module, configured to receive user wrist volume data acquired by the wrist wearable device; Determining, according to the motion data of the terminal, whether the terminal is in a driving state; the determining module is further configured to: when the terminal is in a driving state, determine, according to the vital sign data, whether the user is in a driving state; And configured to set the terminal to a driving mode when the user is in the driving state.
  • the motion data is acquired by a motion sensor or a position sensor.
  • the terminal can obtain the motion data required to detect the driving state.
  • the motion data includes speed, acceleration, or displacement.
  • the terminal can detect the driving state through different motion data.
  • the determining module is configured to: when the motion data is greater than or equal to a preset threshold, determine that the terminal is in a driving state; when the motion data is less than a preset threshold, determine the location The terminal is not in the driving state. Thereby, the terminal can complete the detection of the driving state.
  • the vital sign data is obtained by an electrical impedance sensor.
  • the terminal can obtain the vital sign data needed to recognize the user's hand posture.
  • the vital sign data is muscle data or fat data of a user's wrist.
  • the user can recognize the corresponding user hand posture based on the muscle data or the fat data.
  • the determining, according to the vital sign data, whether the user is in a driving state comprises: determining that the user is in a driving state when the feature of the vital sign data matches the vital sign data of the driving state. Thereby, the terminal can complete the detection of the driving state.
  • the driving mode comprises at least one of the following operations: turning on the automatic parking recognition function, automatically marking the parking position; turning on the voice navigation function; and if no connection between the car Bluetooth or the earphone is detected, Turn off the call answering function; turn off the message reminder function of the message application; convert the text message to a voice message if it detects the connection of the car Bluetooth or the headset; or close the video application.
  • the terminal can turn on or off some functions to prevent the user from operating under driving conditions and assist the user to drive safely.
  • the setting module includes: a setting unit, configured to set the terminal as a driving mode when the user is in the driving state; and a sending unit, configured to identify a driving state Send to the wrist wearable device.
  • a setting unit configured to set the terminal as a driving mode when the user is in the driving state
  • a sending unit configured to identify a driving state Send to the wrist wearable device.
  • a wearable device includes: an acquisition module, configured to acquire physical data of a wrist of a user; and a receiving module, configured to receive motion data and a driving state identification command sent by the terminal; and a determining module, And determining, according to the motion data, whether the terminal is in a driving state; the determining module is further configured to: when the terminal is in a driving state, determine, according to the vital sign data, whether the user is in a driving state; And configured to set the wearable device to a driving mode when the user is in the driving state.
  • the setting module includes: a setting unit, configured to set the wrist wearable device to a driving mode when the user is in the driving state; and a sending unit, configured to The driving state recognition result is transmitted to the terminal.
  • a setting unit configured to set the wrist wearable device to a driving mode when the user is in the driving state
  • a sending unit configured to The driving state recognition result is transmitted to the terminal.
  • a terminal comprising: one or more processors, a memory, and one or more programs, the one or more programs being stored in the memory and configured to be the one or more Executing by the processor, the one or more programs comprising instructions for performing the method of the first, second or third aspect.
  • a computer program product comprising instructions for causing a computer to perform the method of the first, second or third aspect when the instructions are run on a computer.
  • a computer program product comprising instructions, when executed on a computer, causes the computer to perform the method of the first, second or third aspect.
  • the driving state of the user can be accurately recognized; by sending the data acquired by the wearable device to the terminal for processing, the wearable can be reduced.
  • System power consumption of the device by setting the terminal or wearable device as the driving mode, it can help the user to improve driving safety.
  • FIG. 1 is a schematic diagram of an application scenario according to an embodiment of the present invention.
  • FIG. 2 is a flowchart of a first terminal control method according to an embodiment of the present invention.
  • FIG. 3 is a flowchart of a second terminal control method according to an embodiment of the present invention.
  • FIG. 4 is a flowchart of a third terminal control method according to an embodiment of the present invention.
  • FIG. 5 is a flowchart of a fourth terminal control method according to an embodiment of the present invention.
  • FIG. 6 is a flowchart of a fifth terminal control method according to an embodiment of the present invention.
  • FIG. 7 is a flowchart of a sixth terminal control method according to an embodiment of the present invention.
  • FIG. 8 is a schematic structural diagram of a first terminal according to an embodiment of the present invention.
  • FIG. 9 is a schematic structural diagram of second and third terminals according to an embodiment of the present invention.
  • FIG. 10 is a schematic structural diagram of a fourth terminal according to an embodiment of the present invention.
  • FIG. 1 is a schematic diagram of an application scenario according to an embodiment of the present invention.
  • the mobile phone 101 when the vehicle is running, the user's hands grip the steering wheel to drive the vehicle, the mobile phone 101 is placed in the vehicle, the wearable device 102 is worn on the user's wrist, and the vehicle-mounted terminal 103 is located at the vehicle center console.
  • the mobile phone 101 can obtain motion data through a sensor, and can be worn.
  • the device 102 can be used to acquire vital signs data and motion data of the user's wrist.
  • the vehicle-mounted terminal 103 can be used to display the running state of the vehicle, and can also display other information such as navigation, broadcasting, audio or air conditioning. Based on the exercise data and the vital sign data, it can be determined that the user is in a driving state or in a riding state.
  • the mobile phone 101, the wrist wearable device 102, and the in-vehicle terminal 103 can communicate in a network so that all terminals can transmit data to each other.
  • the networked communication may be wireless communication, such as a wireless local area network established via Bluetooth or Wi-Fi; or wired communication, such as a coaxial cable.
  • the mobile phone 101 or the wearable device 102 can be set to the driving mode.
  • the terminal can turn all or part of the functions on or off to assist the user in driving safely.
  • the operations that the mobile phone 101 can perform include: (1) turning on the automatic parking recognition function, automatically marking the parking position; (2) turning on the voice navigation function; and (3) turning off the incoming call without detecting the connection of the car Bluetooth or the earphone. Answer function; (4) turn off the message reminder function of the message application; (5) convert the text message into a voice message when detecting the connection of the car Bluetooth or the headset; (6) close the video application.
  • the operations that the wearable device 102 can perform include: (1) turning on the PPG signal detection function or increasing the detection frequency of the PPG signal; and (2) increasing the detection frequency and the analysis frequency of the biological parameters such as heart rate, blood pressure, blood oxygen, and respiratory frequency, Judging or cooperating with other terminals to determine whether the user is in a state of fatigue.
  • Reminders can include voice reminders, music playback, vibration, and more.
  • the mobile phone 101 or the wearable device 102 can be set to the passenger mode.
  • the passenger mode the above terminal can turn all or part of the function on or off, which is more suitable for the user to ride.
  • the operations that the mobile phone 101 can perform include, but are not limited to: (1) an application commonly used in recommending a ride in a lock screen interface, for example, an audio application, a video application, or a travel application; (2) closing Health applications such as step, sedentary reminder, and calorie detection.
  • the operations that the wearable device 102 can perform include, but are not limited to, functions such as turning off the step, sedentary reminder, calorie detection, and the like.
  • FIG. 2 is a flowchart of a method for controlling a first terminal according to an embodiment of the present disclosure, where the method is performed by a terminal, where the method includes:
  • Step 201 Acquire motion data of the terminal and physical vital data of the wrist of the user;
  • Step 202 Determine, according to motion data of the terminal, whether the terminal is in a driving state
  • Step 203 When the terminal is in the driving state, determine, according to the vital sign data, whether the user is in a driving state;
  • Step 204 When the user is in the driving state, set the terminal to the driving mode.
  • the terminal may be any type of wrist wearable device, such as a smart bracelet, a smart watch, a smart wristband or a smart glove.
  • the motion data can be acquired by a motion sensor or a position sensor, and the user's wrist sign data can be acquired by the electrical impedance sensor.
  • the motion data may include data such as speed, acceleration, angular velocity, and angular acceleration of the terminal, and the data includes components along the three-axis (x, y, z-axis) direction of the space; the motion data may also include geographic coordinate data of the terminal (eg, the earth) Longitude and latitude data) and data such as displacement.
  • the terminal can obtain the motion data in real time or in a preset time period.
  • the preset time period may be set according to actual needs, which is not limited in this application.
  • the terminal can acquire velocity, acceleration, angular velocity, or angular acceleration in real time to obtain instantaneous motion data at a certain time.
  • the terminal may acquire speed, acceleration, angular velocity, or angular acceleration at a plurality of time points within a preset time period, and the preset time period may be 5s, 10s, 15s, or 30s, etc., the time The points may be spaced 1 s or 2 s to obtain an average of the motion data for the preset time period.
  • the terminal may acquire geographic coordinate data respectively at a start point and an end point of a preset time period, and the preset time period may be 1 s or 2 s, etc., thereby calculating a displacement of the terminal according to the geographic coordinate data, and calculating The speed or acceleration during the preset time period.
  • the terminal may acquire geographic coordinate data at multiple times within a preset time period, and the preset time period may be a longer time period, such as 10s, 15s, or 20s, etc., at the time point. It may be 1 s or 2 s apart to obtain an average speed or acceleration over the preset time period.
  • the vital sign data of the user's wrist may be muscle data or fat data of the user's wrist, and the muscle data or fat data may be reflected by the electrical impedance data obtained by the electrical impedance sensor.
  • the electrical impedance sensor includes an electrode that is in contact with biological tissue and that can be used to sense the impedance of the biological tissue.
  • the biological tissue impedance of the electrode contact may vary based on the density of the biological tissue, for example, a tissue having a lower density (for example, adipose tissue) has a lower electrical impedance, and a denser tissue (such as a muscle tissue) has a higher impedance, and thus It can be used to detect changes in the density of biological tissue as a function of impedance.
  • the biological tissue of the wrist of the user is mainly muscle tissue and fat tissue
  • the distribution of the biological tissue of the wrist changes accordingly, that is, the distribution position of the muscle or fat changes, so
  • the posture of the user's hand matches the posture of the driving state, for example, the posture of holding the steering wheel.
  • Known methods can be used to measure biological tissue using an electrical impedance sensor, and are not described herein.
  • the electrodes of the electrical impedance sensor can be placed on the wrist in various suitable structures and manners. It will be apparent to those skilled in the art that a plurality of sensor electrodes are evenly disposed on the device, for example, around the user's wrist.
  • step 202 the terminal determines whether it is in a driving state according to the motion data of the terminal.
  • the terminal determines whether the terminal is in the driving state according to the speed value, and when the speed value is greater than or equal to the speed threshold, the terminal is in the driving state; otherwise, the terminal is not in the driving state.
  • the speed threshold may be determined according to actual conditions, for example, 5 km/h (km/h), 10 km/h or 15 km/h, which is not limited in this application.
  • the terminal analyzes motion data for a period of time to obtain a feature value of the motion data.
  • the characteristic value may be a mean, a variance, a zero crossing rate or a peak of the signal, and the like.
  • the terminal determines whether the vehicle is currently in a driving state according to the characteristic value.
  • the terminal determines whether the terminal is in a driving state according to a displacement within a preset time period.
  • the displacement threshold for example, the preset time period is 30s
  • the displacement threshold is 300m
  • the displacement exceeds 300m within 30s the terminal is in the driving state; otherwise, the terminal is not in the driving state.
  • step 203 when the terminal is in the driving state, that is, the user is in the driving state, the terminal determines whether the user is in the driving state according to the vital sign data of the user's wrist.
  • the terminal can enter the posture of the user's hand according to the physical data of the wrist of the user.
  • Line target recognition may be based on a known machine learning method, for example, first using a large-scale vital data set with tags as a training set to obtain a recognition or classification model of the gesture; and then inputting the acquired wrist sign data to the identification Or in the classification model to determine whether the electrical impedance data corresponds to the gesture of holding the steering wheel.
  • the posture of the steering wheel and other gestures can be used as two sorting labels, and a plurality of wrist symbol data sets including the grip steering posture can be trained to obtain the recognition of the steering wheel posture and other postures.
  • the terminal since the terminal is worn on the wrist of the user, the terminal may further determine whether the user's wrist is performing a regular circular motion according to the motion data, thereby determining whether the user is in a driving state.
  • the detection of the circular motion of the user's wrist can be performed by a known method, and will not be described herein.
  • the user's wrist When the user's wrist is in a regular circular motion, the user is in a driving state.
  • step 204 when the user is in the driving state, the terminal may be set to the driving mode described above, thereby turning on or off all or part of the functions of the terminal to assist the user to drive safely.
  • the embodiment of the present invention may further include step 205.
  • the terminal can be set to the passenger mode or maintain the normal mode since it is currently in the driving state.
  • This regular mode can be the default working mode of the terminal.
  • the terminal can satisfy the needs of the user's ride and provide the functions required for the ride.
  • the order of acquiring and judging the motion data and the vital sign data is not fixed, and the driving state may be first determined according to the motion data, and then the posture of the user's hand is determined according to the physical sign data of the user's wrist, thereby identifying the driving state; It is also possible to first determine the posture of the user's hand based on the vital sign data, and then determine the driving state based on the exercise data, thereby identifying the driving state.
  • the terminal cooperatively recognizes the driving state of the user according to the motion data and the vital sign data, thereby improving the accuracy of the driving state recognition, overcoming the shortage of the single type data to recognize the driving state; comprehensively utilizing different types of data can avoid Frequent acquisition and processing of a single type of data reduces system power consumption.
  • FIG. 3 is a flowchart of a method for controlling a second terminal according to an embodiment of the present invention. The method is performed by a terminal. As shown in FIG. 3, the method includes:
  • Step 301 The terminal detects a connection with the vehicle terminal.
  • Step 302 Obtaining physical sign data of a wrist of the user
  • Step 303 when the terminal is in the driving state, determining, according to the vital sign data, whether the user is in a driving state;
  • Step 304 When the user is in the driving state, set the terminal to the driving mode.
  • step 302 For the process of obtaining the vital sign data in step 302, refer to the description of step 201, and steps 303 and 304 are similar to steps 203 and 204, and details are not described herein again.
  • the terminal may be any type of wrist wearable device, such as a smart bracelet, a smart watch, a smart wristband or a smart glove.
  • step 301 when the vehicle is started, for example, the user opens the door by the key or launches the engine, the vehicle terminal will turn on the network connection module, such as a wireless local area network such as Bluetooth or Wi-Fi.
  • the network connection module identification code of the vehicle terminal can be acquired, and therefore, the terminal can be based on the vehicle terminal.
  • the network connection module identification code detects the connection with the vehicle terminal.
  • the embodiment of the present invention may further include step 305, which is similar to step 205, and details are not described herein again.
  • the order of acquiring the wrist symbol data of the user and detecting the connection of the vehicle-mounted terminal is not fixed, and the physical data may be acquired first and then connected to the vehicle-mounted terminal, or the connected vehicle terminal may be detected to acquire the physical sign data.
  • the terminal reduces or avoids the system power consumption caused by the real-time collection and analysis of the motion data by monitoring the connection state with the vehicle-mounted terminal, and improves the speed of the driving state recognition.
  • FIG. 4 is a flowchart of a third terminal control method according to an embodiment of the present invention. The method is performed by a terminal. As shown in FIG. 4, the method includes:
  • Step 401 Receive an identification instruction sent by another terminal.
  • Step 402 Obtaining physical sign data of a wrist of the user
  • Step 403 When the terminal is in the driving state, determine, according to the vital sign data, whether the user is in a driving state;
  • step 404 when the user is in the driving state, the terminal is set to the driving mode.
  • Steps 402 to 404 are similar to steps 302 to 304, respectively, and are not described herein again.
  • the terminal may be any type of wrist wearable device, such as a smart bracelet, a smart watch, a smart wristband or a smart glove.
  • the other terminal may be a mobile terminal other than a wrist wearable device, such as a smartphone or tablet.
  • the terminal may initiate recognition of the driving state of the user by receiving an identification command sent by another terminal.
  • the identification instruction may be issued when another terminal detects the driving state, or may be issued by the user operating another terminal.
  • the user operation may be a sliding track, a click, a double tap or a long press of a connection icon, pressing a preset connection button, shaking a terminal, and the like.
  • For the other terminal to detect the driving state refer to the description of the previous step 202, and details are not described herein again.
  • the embodiment of the present invention may further include step 405, which is similar to step 205, and details are not described herein again.
  • the order of acquiring the sensor data and receiving the recognition instruction is not fixed, and the data may be acquired before receiving the identification instruction, or the identification instruction may be received before acquiring the data.
  • the two terminals cooperatively recognize the driving state, and the terminal triggers the collection and analysis of the wrist symbol data according to the identification instruction sent by the other terminal, and can accurately identify the driving compared with the real-time collecting and analyzing data. At the same time, the system power consumption is reduced.
  • FIG. 5 is a flowchart of a fourth terminal control method according to an embodiment of the present invention. The method is performed by a terminal. As shown in FIG. 5, the method includes:
  • Step 501 The terminal acquires motion data of the terminal.
  • Step 502 The terminal determines, according to the motion data of the terminal, whether the terminal is in a driving state.
  • Step 503 The terminal receives the user wrist sign data acquired by the wrist wearable device.
  • Step 504 When the terminal is in the driving state, the terminal determines, according to the user wrist sign data, whether the user is in a driving state;
  • Step 505 when the user is in the driving state, the terminal sets the terminal to the driving mode.
  • Steps 502, 504, and 505 are similar to steps 202 to 204, respectively, and are not described herein again.
  • the terminal may be any mobile terminal including a motion sensor or a position sensor, such as a mobile phone or a tablet computer.
  • the wrist wearable device can be any type of wrist wearable device, such as a smart bracelet, smart watch, smart wristband or smart glove.
  • step 501 For the manner in which the terminal acquires the motion data in step 501, refer to the description of step 201.
  • step 503 when the driving state is detected, the terminal transmits a data acquisition request to the wrist wearable device.
  • the wrist wearable device receives the data acquisition request and transmits the user's wrist sign data to the terminal in response to the data acquisition request.
  • the wrist wearable device obtains the user's wrist sign data, refer to the description of step 201 above.
  • the terminal receives the user's wrist sign data, which can be realized through a network connection established between the terminal and the wrist wearable device, such as a Bluetooth connection, or can be implemented by a local area network provided by the vehicle terminal, such as a Wi-Fi network connection.
  • the terminal may send a data acquisition request to the wrist wearable device according to a predetermined time period, where the predetermined time period may be determined according to actual needs, for example, 1s, 5s, or 10s. It should be noted that the terminal establishes a network connection with the wrist wearable device, which may be established before the sensor data is acquired, or may be established after acquiring the sensor data.
  • the embodiment of the present invention may further include a step 506, which is similar to step 205, and details are not described herein again.
  • the recognition result of the driving state may be sent to the wrist wearable device, so that the wrist wearable device may set the driving mode or the passenger mode according to the recognition result, or maintain the normal mode.
  • the terminal and the wrist wearable device cooperatively recognize the driving state, and an accurate recognition result can be obtained; the terminal controls the wearable device to collect the physical sign data according to the judgment result of the driving state, and reduces the wrist wearable device in real time.
  • the system power consumption caused by the acquisition of biological data; at the same time, the analysis and processing of the physical data by the terminal can further reduce the system power consumption of the wearable device.
  • FIG. 6 is a flowchart of a method for controlling a fifth terminal according to an embodiment of the present invention. The method is performed by a terminal, and includes:
  • Step 601 The terminal detects a connection with the vehicle terminal.
  • Step 602 The terminal receives the user wrist sign data acquired by the wrist wearable device.
  • Step 603 The terminal determines, according to the user's wrist sign data, whether the user is in a driving state
  • Step 604 when the user is in the driving state, the terminal sets the terminal to the driving mode.
  • Step 601 is similar to step 301, and steps 602 to 604 are similar to steps 503 to 505, and details are not described herein.
  • the terminal may be any mobile terminal including a motion sensor or a position sensor, such as a mobile phone or a tablet computer.
  • the wrist wearable device can be any type of wrist wearable device, such as a smart bracelet, smart watch, smart wristband or smart glove.
  • the embodiment of the present invention may further include step 605, which is similar to step 205, and details are not described herein again.
  • the recognition result of the driving state may be sent to the wrist wearable device, so that the wrist wearable device can set the driving mode or the passenger mode according to the recognition result, or maintain the normal mode.
  • the terminal reduces or avoids the real-time collection and analysis of the system power consumption caused by the motion data by monitoring the connection state with the vehicle-mounted terminal, and improves the speed of the driving state recognition; the terminal is connected with the vehicle-mounted terminal.
  • the connection state controls the collection of the physical data of the wearable device, which reduces the system power consumption caused by the wearable device collecting the biological data in real time; at the same time, the terminal analyzes and processes the physical data to further reduce the system power consumption of the wearable device.
  • FIG. 7 is a flowchart of a method for controlling a sixth terminal according to an embodiment of the present invention, where the method is performed by a wrist wearable device, including
  • Step 701 the wrist wearable device acquires the user's wrist sign data
  • Step 702 The wrist wearable device receives terminal motion data acquired by the terminal.
  • Step 703 The wrist wearable device determines whether it is in a driving state according to the terminal motion data.
  • Step 704 when in the driving state, the wrist wearable device determines whether the user is in a driving state according to the user wrist sign data;
  • Step 705 when the user is in a driving state, the wrist wearable device sets the wrist wearable device to the driving mode.
  • the steps 703 to 705 are similar to the foregoing steps 202 to 204, and details are not described herein again.
  • the wrist wearable device may be any wrist wearable device having an electrical impedance sensor, such as a smart bracelet, a smart watch, a smart wristband or a smart glove.
  • the terminal can be any type of mobile terminal including a motion sensor or a position sensor, such as a mobile phone or tablet.
  • step 701 the manner in which the wrist wearable device acquires the user's wrist sign data can be referred to the description of step 201 above.
  • step 702 the wrist wearable device sends a data acquisition request to the terminal.
  • the terminal receives the data acquisition request and transmits the motion data to the wearable device in response to the data acquisition request.
  • the terminal obtains the motion data of the terminal refer to the description of step 201 in the foregoing.
  • the wearable device receives the terminal motion data, which can be implemented by a network connection established between the terminal and the wrist wearable device, such as a Bluetooth connection, or can be implemented by a local area network provided by the vehicle terminal, such as a Wi-Fi network connection.
  • the wearable device may send a data acquisition request to the terminal according to a predetermined time period, where the predetermined time period may be determined according to actual needs, for example, 1s, 5s, or 10s.
  • the terminal establishes a network connection with the wrist wearable device, can establish a connection before acquiring the sensor data, and can establish a connection after acquiring the sensor data.
  • the wrist wearable device may not receive the data acquisition request, but directly receive the terminal motion data and the identification instruction sent by the terminal, and perform subsequent operations according to the identification instruction.
  • the embodiment of the present invention may further include step 706, which is similar to step 205, and details are not described herein again.
  • the recognition result of the driving state may be sent to the terminal, so that the terminal may set the driving mode or the passenger mode according to the recognition result, or maintain the normal mode.
  • the terminal and the wrist wearable device cooperate to recognize the driving state, and an accurate recognition result can be obtained. Meanwhile, the wearable device analyzes and processes the motion data, thereby reducing the system power consumption of the terminal.
  • FIG. 8 is a schematic structural diagram of a first terminal according to an embodiment of the present invention.
  • the terminal provided by the embodiment of the present invention may be used to implement the method of the embodiments of the present invention shown in FIG. 2 to FIG. 7 .
  • the terminal 800 includes:
  • the obtaining module 801 is configured to acquire motion data of the terminal and user wrist volume data.
  • the determining module 802 is configured to determine, according to the motion data of the terminal, whether the terminal is in a driving state, and is further configured to determine, according to the vital sign data, whether the user is in a driving state when the terminal is in a driving state.
  • the setting module 803 is configured to set the terminal to a driving mode when the user is in the driving state.
  • the terminal cooperatively recognizes the driving state of the user according to the motion data and the vital sign data, thereby improving the accuracy of the driving state recognition, overcoming the shortage of the single type data to recognize the driving state; comprehensively utilizing different types of data can avoid Frequent acquisition and processing of a single type of data reduces system power consumption.
  • FIG. 9 is a schematic structural diagram of a second terminal according to an embodiment of the present invention.
  • the terminal provided by the embodiment of the present invention may be used to implement the method of the embodiments of the present invention shown in FIG. 2 to FIG. 7 .
  • the terminal 900 includes:
  • the obtaining module 901 is configured to acquire motion data of the terminal.
  • the receiving module 902 is configured to receive user wrist symbol data acquired by the wrist wearable device.
  • the determining module 903 is configured to determine, according to the motion data of the terminal, whether the terminal is in a driving state, and is further configured to determine, according to the vital sign data, whether the user is in a driving state when the terminal is in a driving state.
  • the setting module 904 is configured to set the terminal to a driving mode when the user is in the driving state.
  • the setting module 904 also includes a setting unit and a transmitting unit.
  • the setting unit is configured to set the terminal to be a driving mode when the user is in the driving state.
  • a sending unit configured to send the driving state recognition result to the wrist wearable device.
  • the terminal and the wrist wearable device cooperatively recognize the driving state, and an accurate recognition result can be obtained; the terminal controls the wearable device to collect the physical sign data according to the judgment result of the driving state, and reduces the wrist wearable device in real time.
  • the system power consumption caused by the acquisition of biological data; at the same time, the analysis and processing of the physical data by the terminal can further reduce the system power consumption of the wearable device.
  • FIG. 9 is a schematic structural diagram of a third terminal according to an embodiment of the present invention.
  • the terminal provided by the embodiment of the present invention may be used to implement the method of the embodiment of the present invention shown in FIG. 2 to FIG.
  • For wrist wearable device 900 including:
  • the obtaining module 901 is configured to acquire the wrist symbol data of the user.
  • the receiving module 902 is configured to receive motion data sent by the terminal.
  • a determining module 903 configured to determine, according to the motion data, whether the wrist wearable device is in a driving state; and further configured to determine, according to the vital sign data, whether the user is driving when the wearable device is in a driving state status.
  • the setting module 904 is configured to set the wrist wearable device to a driving mode when the user is in the driving state.
  • the setting module 904 also includes a setting unit and a transmitting unit.
  • the setting unit is configured to set the wrist wearable device to a driving mode when the user is in the driving state.
  • a sending unit configured to send a driving state recognition result to the terminal.
  • the terminal and the wrist wearable device cooperate to recognize the driving state, and an accurate identification knot can be obtained.
  • the wearable device analyzes the motion data and reduces the system power consumption of the terminal.
  • FIG. 10 is a schematic structural diagram of a fourth terminal according to an embodiment of the present invention.
  • the terminal provided by the embodiment of the present invention may be used to implement the method of the embodiments of the present invention shown in FIG. 2 to FIG. 7 .
  • FIG. 10 only shows portions related to the embodiments of the present invention. Without specific details, please refer to the embodiments of the present invention shown in FIGS. 2 to 7.
  • the terminal can be a mobile phone or a mobile phone, a Tablet Personal Computer (TPC), a laptop computer, a digital camera, a digital camera, a projection device, a wearable device, a personal digital assistant ( Personal Digital Assistant (PDA), e-book reader, virtual reality smart device, digital broadcast terminal, messaging device, game console, medical device, fitness device or scanner, etc.
  • the terminal can Communication is established with the network through 2G, 3G, 4G, 5G or wireless locale access network (WLAN).
  • the terminal is a mobile phone or a wearable device as an example.
  • the components of the mobile phone or the wearable device 1000 are specifically described below with reference to FIG. 10: as shown in FIG.
  • the mobile phone or wearable device 1000 includes A radio frequency (RF) circuit 1010, a memory 1020, an input unit 1030, a screen 1040, a sensor 1050, a Bluetooth module 1060, a camera 1070, a processor 1080, and a power supply 1090.
  • RF radio frequency
  • the RF circuit 1010 can be used for receiving and transmitting signals during the transmission or reception of information or during a call. In particular, after receiving the downlink information of the base station, it is processed by the processor 1080. In addition, the uplink data is designed to be sent to the base station.
  • RF circuits include, but are not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a Low Noise Amplifier (LNA), a duplexer, and the like.
  • LNA Low Noise Amplifier
  • RF circuit 1010 can also communicate with the network and other devices via wireless communication.
  • the wireless communication may use any communication standard or protocol, including but not limited to Global System of Mobile communication (GSM), General Packet Radio Service (GPRS), Code Division Multiple Access (Code). Division Multiple Access (CDMA), Wideband Code Division Multiple Access (WCDMA), Long Term Evolution (LTE), E-mail, Short Messaging Service (SMS), etc.
  • GSM Global System of Mobile communication
  • GPRS General Pack
  • the memory 1020 can be used to store software programs and modules, and the processor 1080 executes various functional applications and data processing of the mobile phone or wearable device 1000 by running software programs and modules stored in the memory 1020.
  • the memory 1020 may include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application required for at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may be stored according to the mobile phone. Or data created by the use of the wearable device 1000 (such as audio data, video data, phone book, etc.), and the like.
  • the memory 1020 may include volatile memory, such as non-volatile volatile random access memory (NVRAM), phase change random access memory (PRAM), and magnetoresistive random access memory.
  • volatile memory such as non-volatile volatile random access memory (NVRAM), phase change random access memory (PRAM), and magnetoresistive random access memory.
  • MRAM magnetoresistive RAM
  • MRAM may also include non-volatile memory, such as at least one magnetic disk storage device, electrically erasable programmable read-only memory (EEPROM), flash memory device, such as anti- Or flash memory (NOR flash memory) or NAND flash memory, semiconductor devices, such as solid Solid State Disk (SSD), etc.
  • EEPROM electrically erasable programmable read-only memory
  • flash memory device such as anti- Or flash memory (NOR flash memory) or NAND flash memory
  • SSD solid Solid State Disk
  • the input unit 1030 can be configured to receive input numeric or character information and to generate key signal inputs related to user settings and function controls of the handset or wearable device 1000.
  • the input unit 1030 may include a touch panel 1031 and other input devices 1032.
  • the touch panel 1031 also referred to as a touch screen, can collect touch operations on or near the user (such as the user using a finger, a stylus, or the like on the touch panel 1031 or near the touch panel 1031. Operation) and drive the corresponding connecting device according to a preset program.
  • the touch panel 1031 may include two parts: a touch detection device and a touch controller.
  • the touch detection device detects the touch orientation of the user, and detects a signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts the touch information into contact coordinates, and sends the touch information.
  • the processor 1080 is provided and can receive commands from the processor 1080 and execute them.
  • the touch panel 1031 can be implemented in various types such as resistive, capacitive, infrared, and surface acoustic waves.
  • the input unit 1030 may also include other input devices 1032.
  • other input devices 1032 may include, but are not limited to, one or more of a physical keyboard, function keys (such as volume control buttons, switch buttons, etc.), trackballs, mice, joysticks, and the like.
  • the display panel 1041 can be configured in the form of a liquid crystal display (LCD), an organic light-emitting diode (OLED), or the like.
  • the touch panel 1031 may cover the display panel 1041, and when the touch panel 1031 detects a touch operation thereon or nearby, the touch panel 1031 transmits to the processor 1080 to determine the type of the touch event, and then the processor 1080 according to the touch event. The type provides a corresponding visual output on display panel 1041.
  • the touch panel 1031 and the display panel 1041 are two independent components to implement the input and input functions of the mobile phone or the wearable device 1000, in some embodiments, the touch panel 1031 may be The display panel 1041 is integrated to implement input and output functions of the mobile phone or wearable device 1000.
  • Screen 1040 can be used to display content, including a user interface, such as a boot interface of a mobile phone, a user interface of an application. The content may include information and data in addition to the user interface.
  • Screen 1040 can be a built-in screen of a mobile phone or other external display device.
  • the sensor 1050 includes at least one light sensor, motion sensor, position sensor, electrical impedance sensor (EIS), and other sensors.
  • the light sensor may include an ambient light sensor and a proximity sensor, wherein the ambient light sensor may acquire brightness of ambient light, and the proximity sensor may close the display panel 1041 and/or when the mobile phone or the wearable device 1000 moves to the ear.
  • the motion sensor may include an acceleration sensor, a gyroscope, and a magnetometer, wherein the acceleration sensor can detect the magnitude of the acceleration in all directions of the space (generally three dimensions of space x, y, and z), and the magnitude and direction of gravity can be detected at rest.
  • the gyroscope can detect the angular velocity of the three axes of the space.
  • the position sensor may include a position module suitable for a Global Positioning System (GPS), a Beidou system (COMPASS), a GLONASS system, and a Galileo system (GALILEO) for acquiring the geographic location coordinates of the mobile phone.
  • GPS Global Positioning System
  • COMPASS Beidou system
  • GLONASS GLONASS
  • GALILEO Galileo system
  • the location sensor can also be located through a base station of a mobile operation network, a local area network such as Wi-Fi or Bluetooth, or a combination of the above-mentioned positioning methods, thereby obtaining more accurate mobile phone location information.
  • An electrical impedance sensor can be used to sense the impedance of the biological tissue in contact with the sensor electrodes.
  • the mobile phone or the wearable device 1000 can also be configured with other sensors such as a gyroscope, a barometer, a hygrometer, a thermometer, an infrared sensor, and the like, and details are not described herein again.
  • the Bluetooth module 1060 can be used for short-range wireless data transmission. Through the Bluetooth module 1060, the handset or wearable device 1000 can establish a connection with other terminals to receive and transmit various types of data.
  • the camera 1070 is a built-in camera of the mobile phone, and can be a front camera or a rear camera.
  • the processor 1080 is the control center of the handset or wearable device 1000, connecting various portions of the entire handset with various interfaces and lines, by running or executing software programs and/or modules stored in the memory 1020, and recalling stored in the memory 1020.
  • the internal data performs various functions and processing data of the mobile phone or wearable device 1000, thereby performing overall monitoring of the mobile phone.
  • the processor 1080 may be a central processing unit (CPU), a general-purpose processor, a digital signal processor (DSP), an application specific integrated circuit (ASIC), and a field programmable gate array ( Field Programmable Gate Array (FPGA) or other programmable logic device, transistor logic device, hardware component, or any combination thereof.
  • CPU central processing unit
  • DSP digital signal processor
  • ASIC application specific integrated circuit
  • FPGA Field Programmable Gate Array
  • the processor 1080 can implement or perform various illustrative logical blocks, modules and circuits described in connection with the present disclosure.
  • Processor 1080 can also be a combination of computing functions, such as one or more microprocessor combinations, a combination of a DSP and a microprocessor, and the like.
  • processor 1080 can include one or more processor units.
  • the processor 1080 can also integrate an application processor and a modem processor, wherein the application processor mainly processes an operating system, a user interface, an application, and the like, and the modem processor mainly processes wireless communication. It will be appreciated that the above described modem processor may also not be integrated into the processor 1080.
  • the application includes any application installed on the mobile phone or wearable device 1000, including but not limited to browsers, email, instant messaging services, word processing, keyboard virtualization, widgets, encryption, digital rights management , speech recognition, voice copying, positioning (such as those provided by GPS), music playback, and more.
  • the mobile phone or wearable device 1000 also includes a power source 1090 (such as a battery) for powering various components.
  • a power source 1090 such as a battery
  • the power source can be logically coupled to the processor 1080 through a power management system to manage charging, discharging, and power through the power management system. Consumption management and other functions.
  • the mobile phone or wearable device 1000 may further include an audio circuit, a Wi-Fi module, and the like, and details are not described herein again.
  • the memory 1020, the sensor 1050, the Bluetooth module 1060, and the processor 1080 may also have the following functions.
  • the memory 1020, the sensor 1050, and the Bluetooth module 1060 are respectively connected to the processor 1080 via one or more data buses.
  • the sensor 1050 can be used to acquire motion data and vital signs data of the user's wrist. These data can be stored on the memory 1020.
  • the sensor 1050 may include a motion sensor, a position sensor, and an electrical impedance sensor for acquiring motion data and user wrist sign data, and the data may be processed by the process 1080 to determine Whether the user is in a driving state.
  • the sensor 1050 may include an electrical impedance sensor for acquiring user wrist sign data.
  • the sign data may be processed by the processor 1080 to determine whether the user's hand gesture matches the gesture feature of the driving state; or may be sent to other terminals, such as a cell phone, for processing via the Bluetooth module 1060.
  • the sensor may include a motion sensor or a position sensor. Used to acquire motion data of the terminal.
  • the motion data may be processed by the processor 1080 to determine whether the terminal is in a driving state; the motion data may also be sent to other terminals, such as a wearable device, for processing via the Bluetooth module 1060.
  • the Bluetooth module 1060 can be used to receive and transmit motion data and user wrist sign data from other terminals. These data can be stored on the memory 1020.
  • the processor 1080 can invoke control instructions from the memory 1020 for determining whether the handset or wearable device 1000 is in a driving state based on the motion data, or determining whether the user is in a driving state based on the user's wrist vitals data.
  • the processor 1080 can also transmit the driving status recognition result to the other terminal through the Bluetooth module 1060.
  • the present invention may be implemented in whole or in part by software, hardware, firmware, or any combination thereof.
  • software it may be implemented in whole or in part in the form of a computer program product.
  • the computer program product includes one or more computer instructions.
  • the computer program instructions When the computer program instructions are loaded and executed on a computer, the processes or functions described in accordance with embodiments of the present invention are generated in whole or in part.
  • the computer can be a general purpose computer, a special purpose computer, a computer network, or other programmable device.
  • the computer instructions can be stored in a computer readable storage medium or transferred from one computer readable medium to another computer readable medium, for example, the computer instructions can be wired from a website site, computer, server or data center (for example, coaxial cable, fiber, Digital Subscriber Line (DSL)) or wireless (such as infrared, wireless, microwave, etc.) to another website, computer, server or data center.
  • the computer readable storage medium can be any available media that can be accessed by a computer or a data storage device such as a server, data center, or the like that includes one or more available media.
  • the usable medium may be a magnetic medium (eg, a floppy disk, a hard disk, a magnetic tape), an optical medium (eg, a DVD), or a semiconductor medium (eg, a Solid State Disk (SSD)) or the like.
  • a magnetic medium eg, a floppy disk, a hard disk, a magnetic tape
  • an optical medium eg, a DVD
  • a semiconductor medium eg, a Solid State Disk (SSD)
  • the functions described herein can be implemented in hardware, software, firmware, or any combination thereof.
  • the functions may be stored in a computer readable medium or transmitted as one or more instructions or code on a computer readable medium.
  • Computer readable media includes both computer storage media and communication media including any medium that facilitates transfer of a computer program from one location to another.
  • a storage medium may be any available media that can be accessed by a general purpose or special purpose computer.

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Telephone Function (AREA)

Abstract

Provided in embodiments of the present invention is a terminal control method. The method comprises: acquiring motion data of a terminal and physical sign data of a user wrist; determining, according to the motion data of the terminal, whether the terminal is in a traveling vehicle; if the terminal is in a traveling vehicle, then determining, according to the physical sign data, whether the user is driving; and if the user is driving, configuring the terminal to be in a driving mode. The solution provided by the present application enables accurate identification of whether a user is driving, reduces system power consumption of a wearable apparatus, and assists in improving driving safety of the user.

Description

终端的控制方法及装置Terminal control method and device 技术领域Technical field
本申请涉及计算机技术领域,尤其是涉及一种基于驾驶状态识别控制终端的方法及装置。The present application relates to the field of computer technology, and in particular, to a method and apparatus for controlling a terminal based on driving state recognition.
背景技术Background technique
当前,安全驾驶是公共安全的重要组成部分,用户处在驾驶状态时使用手机会对公共安全造成严重威胁。在移动的车辆内,通过手机等移动终端识别用户身份,例如驾驶员或者乘客,并自适应地将驾驶员手机设置为驾驶模式,有助于减少发生交通事故的概率,实现安全驾驶。Currently, safe driving is an important part of public safety. Using a mobile phone while the user is driving can pose a serious threat to public safety. In a moving vehicle, recognizing a user identity, such as a driver or a passenger, by a mobile terminal such as a mobile phone, and adaptively setting the driver's mobile phone to a driving mode, helps reduce the probability of a traffic accident and achieve safe driving.
现有的识别驾驶状态的方案为:移动终端利用运动传感器采集用户的运动数据,对比已有的驾驶状态的运动数据模型判断是否处于驾驶状态。然而,由于仅利用了移动终端的运动传感器数据识别驾驶状态,导致识别准确率较低,有时会发生误判。因此,需要一种能够准确识别驾驶状态的方法。The existing solution for recognizing the driving state is that the mobile terminal uses the motion sensor to collect the motion data of the user, and compares the motion data model of the existing driving state to determine whether it is in the driving state. However, since the driving state is recognized only by the motion sensor data of the mobile terminal, the recognition accuracy is low, and misjudgment sometimes occurs. Therefore, there is a need for a method that can accurately recognize the driving state.
发明内容Summary of the invention
本发明实施例提供了一种基于驾驶状态识别控制终端的方法及装置,通过对不同种类传感器获取的数据进行综合判断,能够准确识别驾驶状态,减少误判发生,并及时设置终端的模式,提高驾驶安全性。The embodiment of the invention provides a method and a device for identifying and controlling a terminal based on a driving state. By comprehensively judging data acquired by different types of sensors, the driving state can be accurately recognized, the occurrence of false positives can be reduced, and the mode of the terminal can be set in time to improve Driving safety.
第一方面,提供了一种终端的控制方法,所述方法包括:获取所述终端的运动数据和用户腕部体征数据;根据所述终端的运动数据确定所述终端是否处于行车状态;当所述终端处于行车状态时,根据所述体征数据确定所述用户是否处于驾驶状态;当所述用户处于所述驾驶状态时,设置所述终端为驾驶模式。通过综合利用不同类型的传感器数据,能够提高终端对驾驶状态识别的准确度,避免频繁采集和处理单一类型数据,降低系统功耗。The first aspect provides a method for controlling a terminal, where the method includes: acquiring motion data of the terminal and user wrist volume data; determining, according to motion data of the terminal, whether the terminal is in a driving state; When the terminal is in the driving state, it is determined whether the user is in a driving state according to the vital sign data; and when the user is in the driving state, setting the terminal to a driving mode. By comprehensively utilizing different types of sensor data, the accuracy of the terminal's driving state recognition can be improved, and a single type of data can be frequently collected and processed, and the system power consumption can be reduced.
在第一方面的一个可能设计中,所述运动数据是通过运动传感器或位置传感器获取的。通过运动传感器或位置传感器,终端可以获取检测行车状态所需的运动数据。In a possible design of the first aspect, the motion data is acquired by a motion sensor or a position sensor. Through the motion sensor or position sensor, the terminal can obtain the motion data required to detect the driving state.
在第一方面的一个可能设计中,所述运动数据包括速度、加速或位移。由此,终端可以通过不同的运动数据检测行车状态。In one possible design of the first aspect, the motion data comprises velocity, acceleration or displacement. Thereby, the terminal can detect the driving state through different motion data.
在第一方面的一个可能设计中,所述根据所述终端的运动数据确定所述终端是否处于行车状态包括:当所述运动数据大于等于预设阈值时,确定所述终端处于行车状态;当所述运动数据小于预设阈值时,确定所述终端不处于行车状态。由此,终端可以完成对行车状态的检测。In a possible design of the first aspect, determining whether the terminal is in a driving state according to the motion data of the terminal includes: determining that the terminal is in a driving state when the motion data is greater than or equal to a preset threshold; When the motion data is less than a preset threshold, it is determined that the terminal is not in a driving state. Thereby, the terminal can complete the detection of the driving state.
在第一方面的一个可能设计中,所述体征数据是通过电阻抗传感器获取的。通过电阻抗传感器,终端可以获取识别用户手部姿势所需的体征数据。In one possible design of the first aspect, the vital sign data is obtained by an electrical impedance sensor. Through the electrical impedance sensor, the terminal can obtain the vital sign data needed to recognize the user's hand posture.
在第一方面的一个可能设计中,所述体征数据包括用户腕部的肌肉数据或脂肪数据。由此,用户可以根据肌肉数据或脂肪数据识别对应的用户手部姿势。In one possible design of the first aspect, the vital sign data includes muscle data or fat data of a user's wrist. Thereby, the user can recognize the corresponding user hand posture based on the muscle data or the fat data.
在第一方面的一个可能设计中,所述根据所述体征数据确定所述用户是否为驾驶状 态包括:当所述体征数据的特征匹配用户驾驶状态的体征数据时,确定所述用户处于驾驶状态。由此,终端可以完成对驾驶状态的检测。In a possible design of the first aspect, the determining, according to the vital sign data, whether the user is driving The state includes determining that the user is in a driving state when the feature of the vital sign data matches the vital sign data of the driving state of the user. Thereby, the terminal can complete the detection of the driving state.
在第一方面的一个可能设计中,所述驾驶模式包括以下至少一种操作:开启自动停车识别功能,自动标记停车位置;开启语音导航功能;在未检测到连接车载蓝牙或耳机的情况下,关闭来电接听功能;关闭消息类应用程序的消息提醒功能;在检测到连接车载蓝牙或耳机的情况下,将文本消息转换为语音消息;或者,关闭视频类应用程序。通过设置驾驶模式,终端可以通过开启或关闭部分功能,避免用户在驾驶状态下进行手机操作,辅助用户安全驾驶。In a possible design of the first aspect, the driving mode comprises at least one of the following operations: turning on an automatic parking recognition function, automatically marking a parking position; turning on a voice navigation function; and if no connection between the car Bluetooth or the earphone is detected, Turn off the call answering function; turn off the message reminder function of the message application; convert the text message to a voice message if it detects the connection of the car Bluetooth or the headset; or close the video application. By setting the driving mode, the terminal can turn on or off some functions to prevent the user from operating the mobile phone while driving, and assist the user to drive safely.
第二方面,提供了一种终端的控制方法,所述方法包括:获取所述终端的运动数据;接收腕部可穿戴设备获取的用户腕部体征数据;根据所述终端的运动数据确定所述终端是否处于行车状态;当所述终端处于行车状态时,根据所述体征数据确定所述用户是否为驾驶状态;当所述用户处于所述驾驶状态时,设置所述终端为驾驶模式。通过综合利用不同类型的传感器数据,能够提高终端对驾驶状态识别的准确度,避免频繁采集和处理单一类型数据,降低系统功耗。In a second aspect, a method for controlling a terminal is provided, the method comprising: acquiring motion data of the terminal; receiving user wrist sign data acquired by a wrist wearable device; and determining, according to motion data of the terminal Whether the terminal is in a driving state; when the terminal is in a driving state, determining whether the user is in a driving state according to the vital sign data; and setting the terminal to a driving mode when the user is in the driving state. By comprehensively utilizing different types of sensor data, the accuracy of the terminal's driving state recognition can be improved, and a single type of data can be frequently collected and processed, and the system power consumption can be reduced.
在第二方面的一个可能设计中,所述运动数据是通过运动传感器或位置传感器获取的。通过运动传感器或位置传感器,终端可以获取检测行车状态所需的运动数据。In a possible design of the second aspect, the motion data is acquired by a motion sensor or a position sensor. Through the motion sensor or position sensor, the terminal can obtain the motion data required to detect the driving state.
在第二方面的一个可能设计中,所述运动数据包括速度、加速或位移。由此,终端可以通过不同的运动数据检测行车状态。In one possible design of the second aspect, the motion data includes speed, acceleration, or displacement. Thereby, the terminal can detect the driving state through different motion data.
在第二方面的一个可能设计中,所述根据所述终端的运动数据确定所述终端是否处于行车状态包括:当所述运动数据大于等于预设阈值时,确定所述终端处于行车状态;当所述运动数据小于预设阈值时,确定所述终端不处于行车状态。由此,终端可以完成对行车状态的检测。In a possible design of the second aspect, determining whether the terminal is in a driving state according to the motion data of the terminal includes: determining that the terminal is in a driving state when the motion data is greater than or equal to a preset threshold; When the motion data is less than a preset threshold, it is determined that the terminal is not in a driving state. Thereby, the terminal can complete the detection of the driving state.
在第二方面的一个可能设计中,所述体征数据是通过电阻抗传感器获取的。通过电阻抗传感器,终端可以获取识别用户手部姿势所需的体征数据。In a possible design of the second aspect, the vital sign data is obtained by an electrical impedance sensor. Through the electrical impedance sensor, the terminal can obtain the vital sign data needed to recognize the user's hand posture.
在第二方面的一个可能设计中,所述体征数据是用户腕部的肌肉数据或脂肪数据。由此,用户可以根据肌肉或脂肪数据识别对应的用户手部姿势。In one possible design of the second aspect, the vital sign data is muscle data or fat data of a user's wrist. Thus, the user can identify the corresponding user hand gesture based on muscle or fat data.
在第二方面的一个可能设计中,所述根据所述体征数据确定所述用户是否为驾驶状态包括:当所述体征数据的特征匹配驾驶状态的体征数据时,确定所述用户为驾驶状态。由此,终端可以完成对驾驶状态的检测。In a possible design of the second aspect, the determining, according to the vital sign data, whether the user is in a driving state comprises: determining that the user is in a driving state when the feature of the vital sign data matches the vital sign data of the driving state. Thereby, the terminal can complete the detection of the driving state.
在第二方面的一个可能设计中,所述驾驶模式包括以下至少一种操作:开启自动停车识别功能,自动标记停车位置;开启语音导航功能;在未检测到连接车载蓝牙或耳机的情况下,关闭来电接听功能;关闭消息类应用程序的消息提醒功能;在检测到连接车载蓝牙或耳机的情况下,将文本消息转换为语音消息;或者,关闭视频类应用程序。通过设置驾驶模式,终端可以通过开启或关闭部分功能,避免用户在驾驶状态下进行操作,辅助用户安全驾驶。In a possible design of the second aspect, the driving mode comprises at least one of the following operations: turning on the automatic parking recognition function, automatically marking the parking position; turning on the voice navigation function; and if no connection between the car Bluetooth or the earphone is detected, Turn off the call answering function; turn off the message reminder function of the message application; convert the text message to a voice message if it detects the connection of the car Bluetooth or the headset; or close the video application. By setting the driving mode, the terminal can turn on or off some functions to prevent the user from operating under driving conditions and assist the user to drive safely.
在第二方面的一个可能设计中,所述当所述用户处于所述驾驶状态时,设置所述终端为驾驶模式包括:当所述用户处于所述驾驶状态时,设置所述终端为驾驶模式,并且,所述终端将驾驶状态识别结果发送给所述腕部可穿戴设备。由此,终端和可穿戴设备都 可以开启或关闭部分功能,避免用户在驾驶状态下进行操作,辅助用户安全驾驶。In a possible design of the second aspect, the setting the terminal to a driving mode when the user is in the driving state comprises: setting the terminal to a driving mode when the user is in the driving state And, the terminal transmits the driving state recognition result to the wrist wearable device. Thus, both the terminal and the wearable device Some functions can be turned on or off to prevent the user from operating under driving conditions and assist the user in driving safely.
第三方面,提供了一种腕部可穿戴设备的控制方法,所述方法包括:获取用户腕部的体征数据;接收终端发送的运动数据;根据所述运动数据确定所述终端是否处于行车状态;当所述终端处于行车状态时,根据所述体征数据确定所述用户是否为驾驶状态;当所述用户处于所述驾驶状态时,设置所述腕部可穿戴设备为驾驶模式。通过综合利用不同类型的传感器数据,能够提高终端对驾驶状态识别的准确度,避免频繁采集和处理单一类型数据,降低系统功耗。According to a third aspect, a method for controlling a wrist wearable device is provided, the method comprising: acquiring vital sign data of a wrist of a user; receiving motion data sent by the terminal; and determining, according to the motion data, whether the terminal is in a driving state. When the terminal is in the driving state, determining whether the user is in a driving state according to the vital sign data; and setting the wrist wearable device to a driving mode when the user is in the driving state. By comprehensively utilizing different types of sensor data, the accuracy of the terminal's driving state recognition can be improved, and a single type of data can be frequently collected and processed, and the system power consumption can be reduced.
在第三方面的一个可能设计中,所述当所述用户处于所述驾驶状态时,设置所述腕部可穿戴设备为驾驶模式包括:当所述用户处于所述驾驶状态时,设置所述可穿戴设备为驾驶模式,并且,所述腕部可穿戴设备将驾驶状态识别结果发送给所述终端。通过设置驾驶模式,终端和可穿戴设备都可以开启或关闭部分功能,避免用户在驾驶状态下进行操作,辅助用户安全驾驶。In a possible design of the third aspect, when the user is in the driving state, setting the wrist wearable device to a driving mode comprises: setting the user when the user is in the driving state The wearable device is in a driving mode, and the wrist wearable device transmits a driving state recognition result to the terminal. By setting the driving mode, both the terminal and the wearable device can turn on or off some functions to prevent the user from operating under driving conditions and assist the user in driving safely.
第四方面,提供一种终端,所述终端包括:获取模块,用于获取所述终端的运动数据和用户腕部体征数据;确定模块,用于根据所述终端的运动数据确定所述终端是否处于行车状态;所述确定模块,还用于当所述终端处于行车状态时,根据所述体征数据确定所述用户是否处于驾驶状态;设置模块,用于当所述用户处于所述驾驶状态时,设置将所述终端为驾驶模式。通过综合利用不同类型的传感器数据,能够提高终端对驾驶状态识别的准确度,避免频繁采集和处理单一类型数据,降低系统功耗。According to a fourth aspect, a terminal is provided, the terminal includes: an acquiring module, configured to acquire motion data of the terminal and user wrist volume data; and a determining module, configured to determine, according to motion data of the terminal, whether the terminal is The determining module is further configured to determine, according to the vital sign data, whether the user is in a driving state when the terminal is in a driving state, and a setting module, when the user is in the driving state , setting the terminal to the driving mode. By comprehensively utilizing different types of sensor data, the accuracy of the terminal's driving state recognition can be improved, and a single type of data can be frequently collected and processed, and the system power consumption can be reduced.
在第四方面的一个可能设计中,所述运动数据是通过运动传感器获取的。通过运动传感器或位置传感器,,终端可以获取检测行车状态所需的运动数据。In a possible design of the fourth aspect, the motion data is acquired by a motion sensor. Through the motion sensor or the position sensor, the terminal can acquire the motion data required to detect the driving state.
在第四方面的一个可能设计中,所述运动数据包括速度、加速或位移。由此,终端可以通过不同的运动数据检测行车状态。In one possible design of the fourth aspect, the motion data comprises velocity, acceleration or displacement. Thereby, the terminal can detect the driving state through different motion data.
在第四方面的一个可能设计中,所述根据所述终端的运动数据确定所述终端是否处于行车状态包括:当所述运动数据大于等于预设阈值时,确定所述终端处于行车状态;当所述运动数据小于预设阈值时,确定所述终端不处于行车状态。由此,终端可以完成对行车状态的检测。In a possible design of the fourth aspect, determining whether the terminal is in a driving state according to the motion data of the terminal includes: determining that the terminal is in a driving state when the motion data is greater than or equal to a preset threshold; When the motion data is less than a preset threshold, it is determined that the terminal is not in a driving state. Thereby, the terminal can complete the detection of the driving state.
在第四方面的一个可能设计中,所述体征数据是通过电阻抗传感器获取的。通过电阻抗传感器,终端可以获取识别用户手部姿势所需的体征数据。In a possible design of the fourth aspect, the vital sign data is obtained by an electrical impedance sensor. Through the electrical impedance sensor, the terminal can obtain the vital sign data needed to recognize the user's hand posture.
在第四方面的一个可能设计中,所述体征数据包括用户腕部的肌肉数据或脂肪数据。由此,用户可以根据肌肉或脂肪数据识别对应的用户手部姿势。In one possible design of the fourth aspect, the vital sign data includes muscle data or fat data of a user's wrist. Thus, the user can identify the corresponding user hand gesture based on muscle or fat data.
在第四方面的一个可能设计中,所述根据所述体征数据确定所述用户是否为驾驶状态包括:当所述体征数据的特征匹配用户驾驶状态的体征数据时,确定所述用户处于驾驶状态。由此,终端可以完成对驾驶状态的检测。In a possible design of the fourth aspect, the determining, according to the vital sign data, whether the user is in a driving state comprises: determining that the user is in a driving state when the feature of the vital sign data matches the vital sign data of the driving state of the user . Thereby, the terminal can complete the detection of the driving state.
在第四方面的一个可能设计中,所述驾驶模式包括以下至少一种操作:开启自动停车识别功能,自动标记停车位置;开启语音导航功能;在未检测到连接车载蓝牙或耳机的情况下,关闭来电接听功能;关闭消息类应用程序的消息提醒功能;在检测到连接车载蓝牙或耳机的情况下,将文本消息转换为语音消息;或者,关闭视频类应用程序。通过设置驾驶模式,终端可以开启或关闭部分功能,避免用户在驾驶状态下进行手机操作, 辅助用户安全驾驶。In a possible design of the fourth aspect, the driving mode comprises at least one of the following operations: turning on the automatic parking recognition function, automatically marking the parking position; turning on the voice navigation function; and if no connection between the car Bluetooth or the earphone is detected, Turn off the call answering function; turn off the message reminder function of the message application; convert the text message to a voice message if it detects the connection of the car Bluetooth or the headset; or close the video application. By setting the driving mode, the terminal can turn some functions on or off to prevent the user from operating the mobile phone while driving. Help users drive safely.
第五方面,提供一种终端,所述终端包括:获取模块,用于获取所述终端的运动数据;接收模块,用于接收腕部可穿戴设备获取的用户腕部体征数据;确定模块,用于根据所述终端的运动数据确定所述终端是否处于行车状态;所述确定模块,还用于当所述终端处于行车状态时,根据所述体征数据确定所述用户是否为驾驶状态;设置模块,用于当所述用户处于所述驾驶状态时,设置所述终端为驾驶模式。通过综合利用不同类型的传感器数据,能够提高终端对驾驶状态识别的准确度,避免频繁采集和处理单一类型数据,降低系统功耗。The fifth aspect provides a terminal, where the terminal includes: an acquiring module, configured to acquire motion data of the terminal; and a receiving module, configured to receive user wrist volume data acquired by the wrist wearable device; Determining, according to the motion data of the terminal, whether the terminal is in a driving state; the determining module is further configured to: when the terminal is in a driving state, determine, according to the vital sign data, whether the user is in a driving state; And configured to set the terminal to a driving mode when the user is in the driving state. By comprehensively utilizing different types of sensor data, the accuracy of the terminal's driving state recognition can be improved, and a single type of data can be frequently collected and processed, and the system power consumption can be reduced.
在第五方面的一个可能设计中,所述运动数据是通过运动传感器或位置传感器获取的。通过运动传感器或位置传感器,终端可以获取检测行车状态所需的运动数据。In a possible design of the fifth aspect, the motion data is acquired by a motion sensor or a position sensor. Through the motion sensor or position sensor, the terminal can obtain the motion data required to detect the driving state.
在第五方面的一个可能设计中,所述运动数据包括速度、加速或位移。由此,终端可以通过不同的运动数据检测行车状态。In one possible design of the fifth aspect, the motion data includes speed, acceleration, or displacement. Thereby, the terminal can detect the driving state through different motion data.
在第五方面的一个可能设计中,所述确定模块用于:当所述运动数据大于等于预设阈值时,确定所述终端处于行车状态;当所述运动数据小于预设阈值时,确定所述终端不处于行车状态。由此,终端可以完成对行车状态的检测。In a possible design of the fifth aspect, the determining module is configured to: when the motion data is greater than or equal to a preset threshold, determine that the terminal is in a driving state; when the motion data is less than a preset threshold, determine the location The terminal is not in the driving state. Thereby, the terminal can complete the detection of the driving state.
在第五方面的一个可能设计中,所述体征数据是通过电阻抗传感器获取的。通过电阻抗传感器,终端可以获取识别用户手部姿势所需的体征数据。In a possible design of the fifth aspect, the vital sign data is obtained by an electrical impedance sensor. Through the electrical impedance sensor, the terminal can obtain the vital sign data needed to recognize the user's hand posture.
在第五方面的一个可能设计中,所述体征数据是用户腕部的肌肉数据或脂肪数据。由此,用户可以根据肌肉数据或脂肪数据识别对应的用户手部姿势。In one possible design of the fifth aspect, the vital sign data is muscle data or fat data of a user's wrist. Thereby, the user can recognize the corresponding user hand posture based on the muscle data or the fat data.
在第五方面的一个可能设计中,所述根据所述体征数据确定所述用户是否为驾驶状态包括:当所述体征数据的特征匹配驾驶状态的体征数据时,确定所述用户为驾驶状态。由此,终端可以完成对驾驶状态的检测。In a possible design of the fifth aspect, the determining, according to the vital sign data, whether the user is in a driving state comprises: determining that the user is in a driving state when the feature of the vital sign data matches the vital sign data of the driving state. Thereby, the terminal can complete the detection of the driving state.
在第五方面的一个可能设计中,所述驾驶模式包括以下至少一种操作:开启自动停车识别功能,自动标记停车位置;开启语音导航功能;在未检测到连接车载蓝牙或耳机的情况下,关闭来电接听功能;关闭消息类应用程序的消息提醒功能;在检测到连接车载蓝牙或耳机的情况下,将文本消息转换为语音消息;或者,关闭视频类应用程序。通过设置驾驶模式,终端可以通过开启或关闭部分功能,避免用户在驾驶状态下进行操作,辅助用户安全驾驶。In a possible design of the fifth aspect, the driving mode comprises at least one of the following operations: turning on the automatic parking recognition function, automatically marking the parking position; turning on the voice navigation function; and if no connection between the car Bluetooth or the earphone is detected, Turn off the call answering function; turn off the message reminder function of the message application; convert the text message to a voice message if it detects the connection of the car Bluetooth or the headset; or close the video application. By setting the driving mode, the terminal can turn on or off some functions to prevent the user from operating under driving conditions and assist the user to drive safely.
在第五方面的一个可能设计中,所述设置模块包括:设置单元,用于当所述用户处于所述驾驶状态时,设置所述终端为驾驶模式;发送单元,用于将驾驶状态识别结果发送给所述腕部可穿戴设备。由此,终端和可穿戴设备都可以通过开启或关闭部分功能,辅助用户安全驾驶。In a possible design of the fifth aspect, the setting module includes: a setting unit, configured to set the terminal as a driving mode when the user is in the driving state; and a sending unit, configured to identify a driving state Send to the wrist wearable device. Thus, both the terminal and the wearable device can assist the user in driving safely by turning on or off some functions.
第六方面,提供一种可穿戴设备,所述可穿戴设备包括:获取模块,用于获取用户腕部体征数据;接收模块,用于接收终端发送的运动数据和驾驶状态识别指令;确定模块,用于根据所述运动数据确定所述终端是否处于行车状态;所述确定模块,还用于当所述终端处于行车状态时,根据所述体征数据确定所述用户是否为驾驶状态;设置模块,用于当所述用户处于所述驾驶状态时,将所述可穿戴设备设置为驾驶模式。通过综合利用不同类型的传感器数据,能够提高终端对驾驶状态识别的准确度,避免频繁采集和处 理单一类型数据,降低系统功耗。According to a sixth aspect, a wearable device is provided, the wearable device includes: an acquisition module, configured to acquire physical data of a wrist of a user; and a receiving module, configured to receive motion data and a driving state identification command sent by the terminal; and a determining module, And determining, according to the motion data, whether the terminal is in a driving state; the determining module is further configured to: when the terminal is in a driving state, determine, according to the vital sign data, whether the user is in a driving state; And configured to set the wearable device to a driving mode when the user is in the driving state. By comprehensively utilizing different types of sensor data, the accuracy of the terminal's recognition of the driving state can be improved, and frequent collection and avoidance can be avoided. Manage single type of data to reduce system power consumption.
在第六方面的一个可能设计中,所述设置模块包括:设置单元,用于当所述用户处于所述驾驶状态时,设置所述腕部可穿戴设备为驾驶模式;发送单元,用于将驾驶状态识别结果发送给所述终端。由此,终端和可穿戴设备都可以通过开启或关闭部分功能,辅助用户安全驾驶。In a possible design of the sixth aspect, the setting module includes: a setting unit, configured to set the wrist wearable device to a driving mode when the user is in the driving state; and a sending unit, configured to The driving state recognition result is transmitted to the terminal. Thus, both the terminal and the wearable device can assist the user in driving safely by turning on or off some functions.
第七方面,提供一种终端,所述终端包括:一个或多个处理器、存储器以及一个或多个程序,所述一个或多个程序存储在存储器中并被配置为被所述一个或多个处理器执行,所述一个或多个程序包括用于执行第一、第二或第三方面所述的方法的指令。In a seventh aspect, a terminal is provided, the terminal comprising: one or more processors, a memory, and one or more programs, the one or more programs being stored in the memory and configured to be the one or more Executing by the processor, the one or more programs comprising instructions for performing the method of the first, second or third aspect.
第八方面,提供一种包含指令的计算机程序产品,当所述指令在计算机上运行时,使得计算机执行第一、第二或第三方面所述的方法。In an eighth aspect, a computer program product comprising instructions for causing a computer to perform the method of the first, second or third aspect when the instructions are run on a computer.
第九方面,提供一种包含指令的计算机程序产品,当其在计算机上运行时,使得计算机执行第一、第二或第三方面所述的方法。In a ninth aspect, a computer program product comprising instructions, when executed on a computer, causes the computer to perform the method of the first, second or third aspect.
在本发明实施例中,通过对同一终端或者不同终端获取的不同类型的数据进行协同处理,能够准确地识别用户的驾驶状态;通过将可穿戴设备获取的数据发送给终端处理,可以减少可穿戴设备的系统功耗;通过设置终端或可穿戴设备为驾驶模式,能够辅助用户提高驾驶安全性。In the embodiment of the present invention, by performing cooperative processing on different types of data acquired by the same terminal or different terminals, the driving state of the user can be accurately recognized; by sending the data acquired by the wearable device to the terminal for processing, the wearable can be reduced. System power consumption of the device; by setting the terminal or wearable device as the driving mode, it can help the user to improve driving safety.
附图说明DRAWINGS
为了更清楚地说明本发明实施例中的技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍。显而易见地,下面附图中反映的仅仅是本发明的一部分实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他实施方式。而所有这些实施例或实施方式都在本申请的保护范围之内。In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings used in the description of the embodiments will be briefly described below. Obviously, only some of the embodiments of the present invention are reflected in the following drawings, and other embodiments may be obtained by those skilled in the art without departing from the drawings. All such embodiments or implementations are within the scope of the present application.
图1为本发明实施例的一种应用场景示意图;FIG. 1 is a schematic diagram of an application scenario according to an embodiment of the present invention;
图2为本发明实施例的第一终端控制方法的流程图;2 is a flowchart of a first terminal control method according to an embodiment of the present invention;
图3为本发明实施例的第二终端控制方法的流程图;3 is a flowchart of a second terminal control method according to an embodiment of the present invention;
图4为本发明实施例的第三终端控制方法的流程图;4 is a flowchart of a third terminal control method according to an embodiment of the present invention;
图5为本发明实施例的第四终端控制方法的流程图;FIG. 5 is a flowchart of a fourth terminal control method according to an embodiment of the present invention;
图6为本发明实施例的第五终端控制方法的流程图;FIG. 6 is a flowchart of a fifth terminal control method according to an embodiment of the present invention;
图7为本发明实施例的第六终端控制方法的流程图;FIG. 7 is a flowchart of a sixth terminal control method according to an embodiment of the present invention;
图8为本发明实施例的第一终端的结构示意图;FIG. 8 is a schematic structural diagram of a first terminal according to an embodiment of the present invention;
图9为本发明实施例的第二和第三终端的结构示意图;FIG. 9 is a schematic structural diagram of second and third terminals according to an embodiment of the present invention;
图10为本发明实施例的第四终端的结构示意图。FIG. 10 is a schematic structural diagram of a fourth terminal according to an embodiment of the present invention.
具体实施方式detailed description
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整的描述。The technical solutions in the embodiments of the present invention will be clearly and completely described in the following with reference to the accompanying drawings.
图1为本发明实施例的一种应用场景示意图。如图1所示,当车辆行驶时,用户的双手紧握方向盘驾驶车辆,手机101放置在车辆内,可穿戴设备102穿戴在用户的手腕上,车载终端103位于车辆中控台。手机101可以通过传感器获取运动数据,可穿戴设 备102可用于获取用户手腕的体征数据和运动数据,车载终端103可以用于显示车辆的运行状态,也可以显示其他信息,例如导航、广播、音响或空调等信息。根据所述运动数据和体征数据,可以确定用户处于驾驶状态或者处于乘坐状态。FIG. 1 is a schematic diagram of an application scenario according to an embodiment of the present invention. As shown in FIG. 1, when the vehicle is running, the user's hands grip the steering wheel to drive the vehicle, the mobile phone 101 is placed in the vehicle, the wearable device 102 is worn on the user's wrist, and the vehicle-mounted terminal 103 is located at the vehicle center console. The mobile phone 101 can obtain motion data through a sensor, and can be worn. The device 102 can be used to acquire vital signs data and motion data of the user's wrist. The vehicle-mounted terminal 103 can be used to display the running state of the vehicle, and can also display other information such as navigation, broadcasting, audio or air conditioning. Based on the exercise data and the vital sign data, it can be determined that the user is in a driving state or in a riding state.
手机101、腕部可穿戴设备102和车载终端103可以联网通信,从而所有终端能够相互传输数据。该联网通信可以是无线通信,例如,通过蓝牙或Wi-Fi建立的无线局域网;也可以是有线通信,例如同轴电缆等。The mobile phone 101, the wrist wearable device 102, and the in-vehicle terminal 103 can communicate in a network so that all terminals can transmit data to each other. The networked communication may be wireless communication, such as a wireless local area network established via Bluetooth or Wi-Fi; or wired communication, such as a coaxial cable.
当用户处于驾驶状态时,手机101或可穿戴设备102可以设置为驾驶模式。在驾驶模式下,所述终端可以开启或关闭全部或部分功能,辅助用户安全驾驶。例如,手机101可以进行的操作包括:(1)开启自动停车识别功能,自动标记停车位置;(2)开启语音导航功能;(3)在未检测到连接车载蓝牙或耳机的情况下,关闭来电接听功能;(4)关闭消息类应用程序的消息提醒功能;(5)在检测到连接车载蓝牙或耳机的情况下,将文本消息转换为语音消息;(6)关闭视频类应用程序。可穿戴设备102可以进行的操作包括:(1)开启PPG信号检测功能或者提高PPG信号检测频率等;(2)提高对心率、血压、血氧、呼吸频率等生物参数的检测频率和分析频率,判断或者与其它终端协同判断用户是否处于疲劳状态。当用户处于疲劳状态时,提醒用户注意安全驾驶。提醒方式可以包括语音提醒、音乐播放、振动等方式。When the user is in a driving state, the mobile phone 101 or the wearable device 102 can be set to the driving mode. In the driving mode, the terminal can turn all or part of the functions on or off to assist the user in driving safely. For example, the operations that the mobile phone 101 can perform include: (1) turning on the automatic parking recognition function, automatically marking the parking position; (2) turning on the voice navigation function; and (3) turning off the incoming call without detecting the connection of the car Bluetooth or the earphone. Answer function; (4) turn off the message reminder function of the message application; (5) convert the text message into a voice message when detecting the connection of the car Bluetooth or the headset; (6) close the video application. The operations that the wearable device 102 can perform include: (1) turning on the PPG signal detection function or increasing the detection frequency of the PPG signal; and (2) increasing the detection frequency and the analysis frequency of the biological parameters such as heart rate, blood pressure, blood oxygen, and respiratory frequency, Judging or cooperating with other terminals to determine whether the user is in a state of fatigue. When the user is in a state of fatigue, the user is reminded to pay attention to safe driving. Reminders can include voice reminders, music playback, vibration, and more.
当用户处于乘坐状态时,手机101或可穿戴设备102可以设置为乘客模式。在乘客模式下,上述终端可以开启或关闭全部或部分功能,从而更适合用户乘坐。例如,手机101可以进行的操作包括但不限于:(1)在锁屏界面中推荐乘坐时常用的应用程序,例如,音频类应用程序、视频类应用程序或旅行类应用程序;(2)关闭记步、久坐提醒、卡路里检测等健康类应用程序。可穿戴设备102可以进行的操作包括但不限于:关闭记步、久坐提醒、卡路里检测等功能。When the user is in a riding state, the mobile phone 101 or the wearable device 102 can be set to the passenger mode. In the passenger mode, the above terminal can turn all or part of the function on or off, which is more suitable for the user to ride. For example, the operations that the mobile phone 101 can perform include, but are not limited to: (1) an application commonly used in recommending a ride in a lock screen interface, for example, an audio application, a video application, or a travel application; (2) closing Health applications such as step, sedentary reminder, and calorie detection. The operations that the wearable device 102 can perform include, but are not limited to, functions such as turning off the step, sedentary reminder, calorie detection, and the like.
实施例1Example 1
下面结合图2,对本发明实施例提供的第一终端控制方法进行说明。图2为本发明实施例提供的第一终端控制方法的流程图,该方法由终端执行,该方法包括:The first terminal control method provided by the embodiment of the present invention is described below with reference to FIG. 2 . FIG. 2 is a flowchart of a method for controlling a first terminal according to an embodiment of the present disclosure, where the method is performed by a terminal, where the method includes:
步骤201,获取终端的运动数据和用户腕部的体征数据;Step 201: Acquire motion data of the terminal and physical vital data of the wrist of the user;
步骤202,根据终端的运动数据确定终端是否处于行车状态;Step 202: Determine, according to motion data of the terminal, whether the terminal is in a driving state;
步骤203,当终端处于行车状态时,根据体征数据确定用户是否为驾驶状态;Step 203: When the terminal is in the driving state, determine, according to the vital sign data, whether the user is in a driving state;
步骤204,当用户处于驾驶状态时,设置终端为驾驶模式。Step 204: When the user is in the driving state, set the terminal to the driving mode.
在本发明实施例中,终端可以是任何一种类型的腕部可穿戴设备,例如智能手环、智能手表、智能腕带或智能手套等。In the embodiment of the present invention, the terminal may be any type of wrist wearable device, such as a smart bracelet, a smart watch, a smart wristband or a smart glove.
在步骤201中,运动数据可以通过运动传感器或位置传感器获取,用户腕部体征数据可以通过电阻抗传感器获取。In step 201, the motion data can be acquired by a motion sensor or a position sensor, and the user's wrist sign data can be acquired by the electrical impedance sensor.
运动数据可以包括终端的速度、加速度、角速度和角加速度等数据,这些数据包含沿空间三轴(x、y、z轴)方向的分量;运动数据也可以包括终端的地理坐标数据(例如,地球经纬度数据)以及位移等数据。The motion data may include data such as speed, acceleration, angular velocity, and angular acceleration of the terminal, and the data includes components along the three-axis (x, y, z-axis) direction of the space; the motion data may also include geographic coordinate data of the terminal (eg, the earth) Longitude and latitude data) and data such as displacement.
终端对运动数据可以实时获取,也可以按预设时间周期获取。所述预设时间周期可以根据实际需要设置,本申请不作限定。 The terminal can obtain the motion data in real time or in a preset time period. The preset time period may be set according to actual needs, which is not limited in this application.
在一个示例中,终端可以实时获取速度、加速度、角速度或角加速度,从而获得某一时刻的瞬时运动数据。In one example, the terminal can acquire velocity, acceleration, angular velocity, or angular acceleration in real time to obtain instantaneous motion data at a certain time.
在另一个示例中,终端可以在一个预设时间周期内的多个时间点获取速度、加速度、角速度或角加速度,所述预设时间周期可以为5s、10s、15s或30s等,所述时间点可以是间隔1s或2s,从而获得该预设时间周期内的运动数据的平均值。In another example, the terminal may acquire speed, acceleration, angular velocity, or angular acceleration at a plurality of time points within a preset time period, and the preset time period may be 5s, 10s, 15s, or 30s, etc., the time The points may be spaced 1 s or 2 s to obtain an average of the motion data for the preset time period.
在另一个示例中,终端可以在一个预设时间周期的起点和终点分别获取地理坐标数据,所述预设时间周期可以是1s或2s等,从而根据地理坐标数据计算终端的位移,并计算在该预设时间周期内的速度或加速度。In another example, the terminal may acquire geographic coordinate data respectively at a start point and an end point of a preset time period, and the preset time period may be 1 s or 2 s, etc., thereby calculating a displacement of the terminal according to the geographic coordinate data, and calculating The speed or acceleration during the preset time period.
在另一个示例中,终端可以在一个预设时间周期内的多个时刻获取地理坐标数据,所述预设时间周期可以为较长的时间周期,例如10s、15s或20s等,所述时间点可以是间隔1s或2s,从而获得该预设时间周期内的平均速度或加速度。In another example, the terminal may acquire geographic coordinate data at multiple times within a preset time period, and the preset time period may be a longer time period, such as 10s, 15s, or 20s, etc., at the time point. It may be 1 s or 2 s apart to obtain an average speed or acceleration over the preset time period.
用户腕部的体征数据可以是用户腕部的肌肉数据或脂肪数据,该肌肉数据或脂肪数据可以由电阻抗传感器获取的电阻抗数据反映。电阻抗传感器包括电极,该电极与生物组织相接触,可以用于感测该生物组织的阻抗。电极接触的生物组织阻抗可以基于生物组织的密度发生变化,例如,密度较低的组织(例如脂肪组织)具有较低的电阻抗,更致密的组织(例如肌肉组织)具有较高的阻抗,因此可以用于检测作为阻抗的函数的生物组织密度的改变。由于用户腕部的生物组织主要为肌肉组织和脂肪组织,当用户手部的姿势发生变化时,腕部的生物组织分布也相应发生变化,即肌肉或脂肪的分布位置会发生改变,因此,可以通过测量用户腕部的电阻抗分布,来确定用户手部的姿势是否匹配驾驶状态的姿势,例如,握持方向盘的姿势。利用电阻抗传感器测量生物组织可以采用已知的方法,此处不再赘述。The vital sign data of the user's wrist may be muscle data or fat data of the user's wrist, and the muscle data or fat data may be reflected by the electrical impedance data obtained by the electrical impedance sensor. The electrical impedance sensor includes an electrode that is in contact with biological tissue and that can be used to sense the impedance of the biological tissue. The biological tissue impedance of the electrode contact may vary based on the density of the biological tissue, for example, a tissue having a lower density (for example, adipose tissue) has a lower electrical impedance, and a denser tissue (such as a muscle tissue) has a higher impedance, and thus It can be used to detect changes in the density of biological tissue as a function of impedance. Since the biological tissue of the wrist of the user is mainly muscle tissue and fat tissue, when the posture of the user's hand changes, the distribution of the biological tissue of the wrist changes accordingly, that is, the distribution position of the muscle or fat changes, so By measuring the electrical impedance distribution of the wrist of the user, it is determined whether the posture of the user's hand matches the posture of the driving state, for example, the posture of holding the steering wheel. Known methods can be used to measure biological tissue using an electrical impedance sensor, and are not described herein.
本领域技术人员可以理解,为了使终端在穿戴时能够测量整个腕部的电阻抗,获取腕部肌肉或脂肪分布,电阻抗传感器的电极可以按照各种适合的结构和方式设置在腕部可穿戴设备上,例如,环绕用户腕部均匀设置多个传感器电极,这对本领域的普通技术人员而言将是显而易见的。It will be understood by those skilled in the art that in order to enable the terminal to measure the electrical impedance of the entire wrist when worn, to obtain the wrist muscle or fat distribution, the electrodes of the electrical impedance sensor can be placed on the wrist in various suitable structures and manners. It will be apparent to those skilled in the art that a plurality of sensor electrodes are evenly disposed on the device, for example, around the user's wrist.
在步骤202中,终端根据终端的运动数据确定是否处于行车状态。In step 202, the terminal determines whether it is in a driving state according to the motion data of the terminal.
在一个示例中,终端根据速度值确定终端是否处于行车状态,当速度值大于等于速度阈值时,则终端处于行车状态;否则,终端不在行车状态。所述速度阈值可以根据实际情况确定,例如,5km/h(千米/小时)、10km/h或15km/h,本申请对此不作限制。In an example, the terminal determines whether the terminal is in the driving state according to the speed value, and when the speed value is greater than or equal to the speed threshold, the terminal is in the driving state; otherwise, the terminal is not in the driving state. The speed threshold may be determined according to actual conditions, for example, 5 km/h (km/h), 10 km/h or 15 km/h, which is not limited in this application.
在另一个示例中,终端分析一个时间段内的运动数据,可以获得运动数据的特征值。所述特征值可以是信号的均值、方差、过零率或峰值等。终端根据所述特征值确定车辆当前是否处于行车状态。In another example, the terminal analyzes motion data for a period of time to obtain a feature value of the motion data. The characteristic value may be a mean, a variance, a zero crossing rate or a peak of the signal, and the like. The terminal determines whether the vehicle is currently in a driving state according to the characteristic value.
在另一个示例中,终端根据预设时间段内的位移确定终端是否处于行车状态。当预设时间段内的位移大于等于位移阈值时,例如,预设时间段为30s,位移阈值为300m,当位移在30s内超过300m,则终端处于行车状态;否则,终端不在行车状态。In another example, the terminal determines whether the terminal is in a driving state according to a displacement within a preset time period. When the displacement in the preset time period is greater than or equal to the displacement threshold, for example, the preset time period is 30s, the displacement threshold is 300m, and when the displacement exceeds 300m within 30s, the terminal is in the driving state; otherwise, the terminal is not in the driving state.
在步骤203中,当终端处于行车状态时,也即用户处于行车状态,终端根据用户腕部的体征数据确定用户是否为驾驶状态。In step 203, when the terminal is in the driving state, that is, the user is in the driving state, the terminal determines whether the user is in the driving state according to the vital sign data of the user's wrist.
为了检测用户的驾驶状态,终端可以根据用户腕部的体征数据对用户手部的姿势进 行目标识别。所述目标识别可以基于已知的机器学习方法,例如,首先将具有标签的大规模体征数据集作为训练集,得到手势的识别或分类模型;然后将获取的腕部体征数据输入到所述识别或分类模型中,从而确定该电阻抗数据是否对应握持方向盘的手势。在一个示例中,可以将握持方向盘的姿势和其它姿势作为两种分类标签,对包括握持方向盘姿势在内的多个腕部体征数据集进行训练,获得握持方向盘姿势和其它姿势的识别或分类模型,当用户腕部的体征数据匹配握持方向盘的特征时,换句话说,当用户腕部的电阻抗数据匹配握持方向盘的电阻抗特征时,用户处于驾驶状态;否则,用户手部为其它姿势,用户不在驾驶状态。In order to detect the driving state of the user, the terminal can enter the posture of the user's hand according to the physical data of the wrist of the user. Line target recognition. The target recognition may be based on a known machine learning method, for example, first using a large-scale vital data set with tags as a training set to obtain a recognition or classification model of the gesture; and then inputting the acquired wrist sign data to the identification Or in the classification model to determine whether the electrical impedance data corresponds to the gesture of holding the steering wheel. In one example, the posture of the steering wheel and other gestures can be used as two sorting labels, and a plurality of wrist symbol data sets including the grip steering posture can be trained to obtain the recognition of the steering wheel posture and other postures. Or a classification model, when the physical sign data of the user's wrist matches the characteristics of holding the steering wheel, in other words, when the electrical impedance data of the user's wrist matches the electrical impedance characteristic of the steering wheel, the user is in a driving state; otherwise, the user's hand The department is in other positions and the user is not driving.
可选的,由于终端穿戴在用户腕部,因此终端还可以根据运动数据确定用户腕部是否在做规律的圆周运动,从而确定用户是否处于驾驶状态。检测用户腕部的圆周运动可以采用已知的方法,此处不再赘述。当用户腕部在做规律的圆周运动时,则用户处于驾驶状态。Optionally, since the terminal is worn on the wrist of the user, the terminal may further determine whether the user's wrist is performing a regular circular motion according to the motion data, thereby determining whether the user is in a driving state. The detection of the circular motion of the user's wrist can be performed by a known method, and will not be described herein. When the user's wrist is in a regular circular motion, the user is in a driving state.
在步骤204中,当用户处于驾驶状态时,终端可以设置为前文所述的驾驶模式,从而开启或关闭终端的全部或部分功能,辅助用户安全驾驶。In step 204, when the user is in the driving state, the terminal may be set to the driving mode described above, thereby turning on or off all or part of the functions of the terminal to assist the user to drive safely.
可选的,本发明实施例还可以包括步骤205。当用户不在驾驶状态时,由于当前处于行车状态,因此终端可以设置为乘客模式或者保持常规模式。该常规模式可以是终端默认的工作模式。由此,终端可以满足用户乘坐的需要,提供乘坐所需的功能。Optionally, the embodiment of the present invention may further include step 205. When the user is not in the driving state, the terminal can be set to the passenger mode or maintain the normal mode since it is currently in the driving state. This regular mode can be the default working mode of the terminal. Thus, the terminal can satisfy the needs of the user's ride and provide the functions required for the ride.
在本发明实施例中,获取和判断运动数据和体征数据的顺序不是固定的,可以先根据运动数据判断行车状态,再根据用户腕部的体征数据判断用户手部的姿势,从而识别驾驶状态;也可以先根据体征数据判断用户手部的姿势,再根据运动数据判断行车状态,从而识别驾驶状态。In the embodiment of the present invention, the order of acquiring and judging the motion data and the vital sign data is not fixed, and the driving state may be first determined according to the motion data, and then the posture of the user's hand is determined according to the physical sign data of the user's wrist, thereby identifying the driving state; It is also possible to first determine the posture of the user's hand based on the vital sign data, and then determine the driving state based on the exercise data, thereby identifying the driving state.
在本发明实施例中,终端根据运动数据和体征数据协同识别用户的驾驶状态,从而提高了驾驶状态识别的准确度,克服了单一类型数据识别驾驶状态的不足;综合利用不同类型数据,能够避免对单一类型数据的频繁采集和处理,降低了系统功耗。In the embodiment of the present invention, the terminal cooperatively recognizes the driving state of the user according to the motion data and the vital sign data, thereby improving the accuracy of the driving state recognition, overcoming the shortage of the single type data to recognize the driving state; comprehensively utilizing different types of data can avoid Frequent acquisition and processing of a single type of data reduces system power consumption.
实施例2Example 2
图3为本发明实施例提供的第二终端控制方法的流程图,该方法由终端执行,如图3所示,该方法包括:FIG. 3 is a flowchart of a method for controlling a second terminal according to an embodiment of the present invention. The method is performed by a terminal. As shown in FIG. 3, the method includes:
步骤301,终端检测与车载终端的连接;Step 301: The terminal detects a connection with the vehicle terminal.
步骤302,获取用户腕部的体征数据;Step 302: Obtaining physical sign data of a wrist of the user;
步骤303,当终端处于行车状态时,根据体征数据确定用户是否为驾驶状态; Step 303, when the terminal is in the driving state, determining, according to the vital sign data, whether the user is in a driving state;
步骤304,当用户处于驾驶状态时,设置终端为驾驶模式。Step 304: When the user is in the driving state, set the terminal to the driving mode.
其中,步骤302中获取体征数据的过程可以参见步骤201的说明,步骤303和304与步骤203和204相似,在此不再赘述。For the process of obtaining the vital sign data in step 302, refer to the description of step 201, and steps 303 and 304 are similar to steps 203 and 204, and details are not described herein again.
在本发明实施例中,终端可以是任何一种类型的腕部可穿戴设备,例如智能手环、智能手表、智能腕带或智能手套等。In the embodiment of the present invention, the terminal may be any type of wrist wearable device, such as a smart bracelet, a smart watch, a smart wristband or a smart glove.
在步骤301中,当车辆启动时,例如,用户通过钥匙开启车门或者发动引擎,车载终端将开启网络连接模块,例如蓝牙或Wi-Fi等无线局域网。当终端连接到车载终端的网络时,可以获取车载终端的网络连接模块身份识别码,因此,终端可以根据车载终端 的网络连接模块身份识别码,检测与车载终端的连接。In step 301, when the vehicle is started, for example, the user opens the door by the key or launches the engine, the vehicle terminal will turn on the network connection module, such as a wireless local area network such as Bluetooth or Wi-Fi. When the terminal is connected to the network of the vehicle terminal, the network connection module identification code of the vehicle terminal can be acquired, and therefore, the terminal can be based on the vehicle terminal. The network connection module identification code detects the connection with the vehicle terminal.
可选的,本发明实施例还可以包括步骤305,该步骤与步骤205相似,在此不再赘述。Optionally, the embodiment of the present invention may further include step 305, which is similar to step 205, and details are not described herein again.
在本发明实施例中,获取用户腕部体征数据和检测连接车载终端的顺序不是固定的,可以先获取体征数据再检测连接车载终端,也可以先检测连接车载终端再获取体征数据。In the embodiment of the present invention, the order of acquiring the wrist symbol data of the user and detecting the connection of the vehicle-mounted terminal is not fixed, and the physical data may be acquired first and then connected to the vehicle-mounted terminal, or the connected vehicle terminal may be detected to acquire the physical sign data.
在本发明实施例中,终端通过监听与车载终端的连接状态,减少或者避免了实时采集和分析运动数据带来的系统功耗,同时提高了驾驶状态识别的速度。In the embodiment of the present invention, the terminal reduces or avoids the system power consumption caused by the real-time collection and analysis of the motion data by monitoring the connection state with the vehicle-mounted terminal, and improves the speed of the driving state recognition.
实施例3Example 3
图4为本发明实施例提供的第三终端控制方法的流程图,该方法由终端执行,如图4所示,该方法包括:FIG. 4 is a flowchart of a third terminal control method according to an embodiment of the present invention. The method is performed by a terminal. As shown in FIG. 4, the method includes:
步骤401,接收另一终端发送的识别指令;Step 401: Receive an identification instruction sent by another terminal.
步骤402,获取用户腕部的体征数据;Step 402: Obtaining physical sign data of a wrist of the user;
步骤403,当终端处于行车状态时,根据体征数据确定用户是否为驾驶状态;Step 403: When the terminal is in the driving state, determine, according to the vital sign data, whether the user is in a driving state;
步骤404,当用户处于驾驶状态时,设置终端为驾驶模式。In step 404, when the user is in the driving state, the terminal is set to the driving mode.
其中,步骤402至404分别与步骤302至304相似,此处不再赘述。 Steps 402 to 404 are similar to steps 302 to 304, respectively, and are not described herein again.
在本发明实施例中,终端可以是任何一种类型的腕部可穿戴设备,例如智能手环、智能手表、智能腕带或智能手套等。另一终端可以是腕部可穿戴设备以外的其它移动终端,例如,智能手机或平板电脑等。In the embodiment of the present invention, the terminal may be any type of wrist wearable device, such as a smart bracelet, a smart watch, a smart wristband or a smart glove. The other terminal may be a mobile terminal other than a wrist wearable device, such as a smartphone or tablet.
在步骤401中,终端可以通过接收另一终端发送的识别指令,启动对用户驾驶状态的识别。所述识别指令可以是当另一终端检测到行车状态时发出,也可以是用户操作另一终端发出。所述用户操作可以是滑动轨迹、单击、双击或长按连接图标、按下预设的连接按键、晃动终端等操作。该另一终端检测行车状态可以参见前文步骤202的说明,此处不再赘述。In step 401, the terminal may initiate recognition of the driving state of the user by receiving an identification command sent by another terminal. The identification instruction may be issued when another terminal detects the driving state, or may be issued by the user operating another terminal. The user operation may be a sliding track, a click, a double tap or a long press of a connection icon, pressing a preset connection button, shaking a terminal, and the like. For the other terminal to detect the driving state, refer to the description of the previous step 202, and details are not described herein again.
可选的,本发明实施例还可以包括步骤405,该步骤与步骤205相似,在此不再赘述。Optionally, the embodiment of the present invention may further include step 405, which is similar to step 205, and details are not described herein again.
在本发明实施例中,获取传感器数据与接收识别指令的顺序不是固定的,可以先获取数据再接收识别指令,也可以先接收识别指令再获取数据。In the embodiment of the present invention, the order of acquiring the sensor data and receiving the recognition instruction is not fixed, and the data may be acquired before receiving the identification instruction, or the identification instruction may be received before acquiring the data.
在本发明实施例中,两个终端协作识别驾驶状态,终端根据另一终端发送的识别指令触发对用户腕部体征数据的采集和分析,与实时采集和分析数据相比,可以在准确识别驾驶状态的同时,减小系统功耗。In the embodiment of the present invention, the two terminals cooperatively recognize the driving state, and the terminal triggers the collection and analysis of the wrist symbol data according to the identification instruction sent by the other terminal, and can accurately identify the driving compared with the real-time collecting and analyzing data. At the same time, the system power consumption is reduced.
实施例4Example 4
图5为本发明实施例提供的第四终端控制方法的流程图,该方法由终端执行,如图5所示,该方法包括:FIG. 5 is a flowchart of a fourth terminal control method according to an embodiment of the present invention. The method is performed by a terminal. As shown in FIG. 5, the method includes:
步骤501,终端获取终端的运动数据;Step 501: The terminal acquires motion data of the terminal.
步骤502,终端根据终端的运动数据确定终端是否处于行车状态;Step 502: The terminal determines, according to the motion data of the terminal, whether the terminal is in a driving state.
步骤503,终端接收腕部可穿戴设备获取的用户腕部体征数据;Step 503: The terminal receives the user wrist sign data acquired by the wrist wearable device.
步骤504,当终端处于行车状态时,终端根据用户腕部体征数据确定用户是否为驾驶状态;Step 504: When the terminal is in the driving state, the terminal determines, according to the user wrist sign data, whether the user is in a driving state;
步骤505,当用户为驾驶状态时,终端设置终端为驾驶模式。 Step 505, when the user is in the driving state, the terminal sets the terminal to the driving mode.
其中,步骤502、504和505分别与步骤202至204相似,在此不再赘述。 Steps 502, 504, and 505 are similar to steps 202 to 204, respectively, and are not described herein again.
在本发明实施例中,终端可以是任何一种包括运动传感器或位置传感器的移动终端,例如,手机或平板电脑等。腕部可穿戴设备可以是任何一种类型的腕部可穿戴设备,例如智能手环、智能手表、智能腕带或智能手套等。In the embodiment of the present invention, the terminal may be any mobile terminal including a motion sensor or a position sensor, such as a mobile phone or a tablet computer. The wrist wearable device can be any type of wrist wearable device, such as a smart bracelet, smart watch, smart wristband or smart glove.
在步骤501中,终端获取运动数据的方式可以参见步骤201的说明。For the manner in which the terminal acquires the motion data in step 501, refer to the description of step 201.
在步骤503中,当检测到行车状态时,终端向腕部可穿戴设备发送数据获取请求。腕部可穿戴设备接收数据获取请求,并响应该数据获取请求,向终端发送用户腕部体征数据。腕部可穿戴设备获取用户腕部体征数据的方式可以参见前文步骤201的说明。In step 503, when the driving state is detected, the terminal transmits a data acquisition request to the wrist wearable device. The wrist wearable device receives the data acquisition request and transmits the user's wrist sign data to the terminal in response to the data acquisition request. For the manner in which the wrist wearable device obtains the user's wrist sign data, refer to the description of step 201 above.
终端接收用户腕部体征数据,可以通过终端与腕部可穿戴设备之间建立的网络连接实现,例如蓝牙连接;也可以通过车载终端提供的局域网络实现,例如Wi-Fi网络连接。可选的,终端可以根据预定时间周期向腕部可穿戴设备发送数据获取请求,所述预定时间周期可以根据实际需要确定,例如1s、5s或10s。需要说明的是,终端与腕部可穿戴设备建立网络连接,可以在获取传感器数据之前建立,也可以在获取传感器数据之后建立。The terminal receives the user's wrist sign data, which can be realized through a network connection established between the terminal and the wrist wearable device, such as a Bluetooth connection, or can be implemented by a local area network provided by the vehicle terminal, such as a Wi-Fi network connection. Optionally, the terminal may send a data acquisition request to the wrist wearable device according to a predetermined time period, where the predetermined time period may be determined according to actual needs, for example, 1s, 5s, or 10s. It should be noted that the terminal establishes a network connection with the wrist wearable device, which may be established before the sensor data is acquired, or may be established after acquiring the sensor data.
可选的,本发明实施例还可以包括步骤506,该步骤与步骤205相似,在此不再赘述。Optionally, the embodiment of the present invention may further include a step 506, which is similar to step 205, and details are not described herein again.
可选的,终端完成驾驶状态识别之后,可以向腕部可穿戴设备发送驾驶状态的识别结果,从而,腕部可穿戴设备可以根据所述识别结果,设置驾驶模式或乘客模式,或者保持常规模式。Optionally, after the terminal completes the driving state identification, the recognition result of the driving state may be sent to the wrist wearable device, so that the wrist wearable device may set the driving mode or the passenger mode according to the recognition result, or maintain the normal mode. .
本发明实施例中,终端和腕部可穿戴设备协作识别驾驶状态,可以获得准确的识别结果;终端根据行车状态的判断结果控制可穿戴设备对体征数据的采集,减少了腕部可穿戴设备实时采集生物数据导致的系统功耗;同时,由终端分析处理体征数据,可以进一步降低可穿戴设备的系统功耗。In the embodiment of the present invention, the terminal and the wrist wearable device cooperatively recognize the driving state, and an accurate recognition result can be obtained; the terminal controls the wearable device to collect the physical sign data according to the judgment result of the driving state, and reduces the wrist wearable device in real time. The system power consumption caused by the acquisition of biological data; at the same time, the analysis and processing of the physical data by the terminal can further reduce the system power consumption of the wearable device.
实施例5Example 5
图6为本发明实施例提供的第五终端控制方法的流程图,该方法由终端执行,包括:FIG. 6 is a flowchart of a method for controlling a fifth terminal according to an embodiment of the present invention. The method is performed by a terminal, and includes:
步骤601,终端检测与车载终端的连接;Step 601: The terminal detects a connection with the vehicle terminal.
步骤602,终端接收腕部可穿戴设备获取的用户腕部体征数据;Step 602: The terminal receives the user wrist sign data acquired by the wrist wearable device.
步骤603,终端根据用户腕部体征数据确定用户是否为驾驶状态;Step 603: The terminal determines, according to the user's wrist sign data, whether the user is in a driving state;
步骤604,当用户为驾驶状态时,终端设置终端为驾驶模式。 Step 604, when the user is in the driving state, the terminal sets the terminal to the driving mode.
其中,步骤601与步骤301相似,步骤602至604分别与步骤503至505相似,在此不再赘述。Step 601 is similar to step 301, and steps 602 to 604 are similar to steps 503 to 505, and details are not described herein.
在本发明实施例中,终端可以是任何一种包括运动传感器或位置传感器的移动终端,例如,手机或平板电脑等。腕部可穿戴设备可以是任何一种类型的腕部可穿戴设备,例如智能手环、智能手表、智能腕带或智能手套等。In the embodiment of the present invention, the terminal may be any mobile terminal including a motion sensor or a position sensor, such as a mobile phone or a tablet computer. The wrist wearable device can be any type of wrist wearable device, such as a smart bracelet, smart watch, smart wristband or smart glove.
可选的,本发明实施例还可以包括步骤605,该步骤与步骤205相似,在此不再赘述。Optionally, the embodiment of the present invention may further include step 605, which is similar to step 205, and details are not described herein again.
可选的,终端完成驾驶状态识别之后,可以向腕部可穿戴设备发送驾驶状态的识别结果,从而使腕部可穿戴设备可以根据识别结果,设置驾驶模式或乘客模式,或者保持常规模式。Optionally, after the terminal completes the driving state recognition, the recognition result of the driving state may be sent to the wrist wearable device, so that the wrist wearable device can set the driving mode or the passenger mode according to the recognition result, or maintain the normal mode.
本发明实施例中,终端通过监听与车载终端的连接状态,减少或者避免了实时采集和分析运动数据带来的系统功耗,提高了驾驶状态识别的速度;终端根据与车载终端的连 接状态控制可穿戴设备对体征数据的采集,减少了可穿戴设备实时采集生物数据导致的系统功耗;同时,由终端分析处理体征数据,可以进一步降低可穿戴设备的系统功耗。In the embodiment of the present invention, the terminal reduces or avoids the real-time collection and analysis of the system power consumption caused by the motion data by monitoring the connection state with the vehicle-mounted terminal, and improves the speed of the driving state recognition; the terminal is connected with the vehicle-mounted terminal. The connection state controls the collection of the physical data of the wearable device, which reduces the system power consumption caused by the wearable device collecting the biological data in real time; at the same time, the terminal analyzes and processes the physical data to further reduce the system power consumption of the wearable device.
实施例6Example 6
图7为本发明实施例提供的第六终端控制方法的流程图,该方法由腕部可穿戴设备执行,包括FIG. 7 is a flowchart of a method for controlling a sixth terminal according to an embodiment of the present invention, where the method is performed by a wrist wearable device, including
步骤701,腕部可穿戴设备获取用户腕部体征数据; Step 701, the wrist wearable device acquires the user's wrist sign data;
步骤702,腕部可穿戴设备接收终端获取的终端运动数据;Step 702: The wrist wearable device receives terminal motion data acquired by the terminal.
步骤703,腕部可穿戴设备根据终端运动数据确定是否处于行车状态;Step 703: The wrist wearable device determines whether it is in a driving state according to the terminal motion data.
步骤704,当处于行车状态时,腕部可穿戴设备根据用户腕部体征数据确定用户是否为驾驶状态; Step 704, when in the driving state, the wrist wearable device determines whether the user is in a driving state according to the user wrist sign data;
步骤705,当用户为驾驶状态时,腕部可穿戴设备设置腕部可穿戴设备为驾驶模式。 Step 705, when the user is in a driving state, the wrist wearable device sets the wrist wearable device to the driving mode.
其中,步骤703至705与前述步骤202至204相似,在此不再赘述。The steps 703 to 705 are similar to the foregoing steps 202 to 204, and details are not described herein again.
在本发明实施例中,腕部可穿戴设备可以是任何一种具有电阻抗传感器的腕部可穿戴设备,例如,智能手环、智能手表、智能腕带或智能手套等。终端可以是任何一种包括运动传感器或位置传感器的移动终端,例如,手机或平板电脑等。In the embodiment of the present invention, the wrist wearable device may be any wrist wearable device having an electrical impedance sensor, such as a smart bracelet, a smart watch, a smart wristband or a smart glove. The terminal can be any type of mobile terminal including a motion sensor or a position sensor, such as a mobile phone or tablet.
在步骤701中,腕部可穿戴设备获取用户腕部体征数据的方式可以参见前文步骤201的说明。In step 701, the manner in which the wrist wearable device acquires the user's wrist sign data can be referred to the description of step 201 above.
在步骤702中,腕部可穿戴设备向终端发送数据获取请求。终端接收该数据获取请求,并响应该数据获取请求,向可穿戴设备发送运动数据。终端获取终端运动数据的方式可以参见前文步骤201的说明。In step 702, the wrist wearable device sends a data acquisition request to the terminal. The terminal receives the data acquisition request and transmits the motion data to the wearable device in response to the data acquisition request. For the manner in which the terminal obtains the motion data of the terminal, refer to the description of step 201 in the foregoing.
可穿戴设备接收终端运动数据,可以通过终端与腕部可穿戴设备之间建立的网络连接实现,例如蓝牙连接;也可以通过车载终端提供的局域网络实现,例如Wi-Fi网络连接。可选的,可穿戴设备可以根据预定时间周期向终端发送数据获取请求,所述预定时间周期可以根据实际需要确定,例如1s、5s或10s。本领域技术人员可以理解,终端与腕部可穿戴设备建立网络连接,可以在获取传感器数据之前建立连接,也可以在获取传感器数据之后建立连接。The wearable device receives the terminal motion data, which can be implemented by a network connection established between the terminal and the wrist wearable device, such as a Bluetooth connection, or can be implemented by a local area network provided by the vehicle terminal, such as a Wi-Fi network connection. Optionally, the wearable device may send a data acquisition request to the terminal according to a predetermined time period, where the predetermined time period may be determined according to actual needs, for example, 1s, 5s, or 10s. Those skilled in the art can understand that the terminal establishes a network connection with the wrist wearable device, can establish a connection before acquiring the sensor data, and can establish a connection after acquiring the sensor data.
可选的,腕部可穿戴设备可以不发送数据获取请求,而是直接接收终端发送的终端运动数据和识别指令,根据该识别指令进行后续操作。Optionally, the wrist wearable device may not receive the data acquisition request, but directly receive the terminal motion data and the identification instruction sent by the terminal, and perform subsequent operations according to the identification instruction.
可选的,本发明实施例还可以包括步骤706,该步骤与步骤205相似,在此不再赘述。Optionally, the embodiment of the present invention may further include step 706, which is similar to step 205, and details are not described herein again.
可选的,腕部可穿戴设备完成驾驶状态识别之后,可以向终端发送驾驶状态的识别结果,从而使终端可以根据识别结果,设置驾驶模式或乘客模式,或者保持常规模式。Optionally, after the wrist wearable device completes the driving state recognition, the recognition result of the driving state may be sent to the terminal, so that the terminal may set the driving mode or the passenger mode according to the recognition result, or maintain the normal mode.
本发明实施例中,终端和腕部可穿戴设备协作识别驾驶状态,可以获得准确的识别结果;同时,可穿戴设备分析处理运动数据,降低了终端的系统功耗。In the embodiment of the present invention, the terminal and the wrist wearable device cooperate to recognize the driving state, and an accurate recognition result can be obtained. Meanwhile, the wearable device analyzes and processes the motion data, thereby reducing the system power consumption of the terminal.
实施例7Example 7
图8为本发明实施例提供的第一终端的结构示意图,本发明实施例提供的终端可以用于实施上述图2至图7所示的本发明各实施例的方法。该终端800包括:FIG. 8 is a schematic structural diagram of a first terminal according to an embodiment of the present invention. The terminal provided by the embodiment of the present invention may be used to implement the method of the embodiments of the present invention shown in FIG. 2 to FIG. 7 . The terminal 800 includes:
获取模块801、确定模块802和设置模块803。The acquisition module 801, the determination module 802, and the setup module 803.
获取模块801,用于获取所述终端的运动数据和用户腕部体征数据。 The obtaining module 801 is configured to acquire motion data of the terminal and user wrist volume data.
确定模块802,用于根据所述终端的运动数据确定所述终端是否处于行车状态;还用于当所述终端处于行车状态时,根据所述体征数据确定所述用户是否处于驾驶状态。The determining module 802 is configured to determine, according to the motion data of the terminal, whether the terminal is in a driving state, and is further configured to determine, according to the vital sign data, whether the user is in a driving state when the terminal is in a driving state.
设置模块803,用于当所述用户处于所述驾驶状态时,设置所述终端为驾驶模式。The setting module 803 is configured to set the terminal to a driving mode when the user is in the driving state.
在本发明实施例中,终端根据运动数据和体征数据协同识别用户的驾驶状态,从而提高了驾驶状态识别的准确度,克服了单一类型数据识别驾驶状态的不足;综合利用不同类型数据,能够避免对单一类型数据的频繁采集和处理,降低了系统功耗。In the embodiment of the present invention, the terminal cooperatively recognizes the driving state of the user according to the motion data and the vital sign data, thereby improving the accuracy of the driving state recognition, overcoming the shortage of the single type data to recognize the driving state; comprehensively utilizing different types of data can avoid Frequent acquisition and processing of a single type of data reduces system power consumption.
实施例8Example 8
图9为本发明实施例提供的第二终端的结构示意图,本发明实施例提供的终端可以用于实施上述图2至图7所示的本发明各实施例的方法。该终端900包括:FIG. 9 is a schematic structural diagram of a second terminal according to an embodiment of the present invention. The terminal provided by the embodiment of the present invention may be used to implement the method of the embodiments of the present invention shown in FIG. 2 to FIG. 7 . The terminal 900 includes:
获取模块901、接收模块902、确定模块903和设置模块904。The acquisition module 901, the receiving module 902, the determining module 903, and the setting module 904.
获取模块901,用于获取所述终端的运动数据。The obtaining module 901 is configured to acquire motion data of the terminal.
接收模块902,用于接收腕部可穿戴设备获取的用户腕部体征数据。The receiving module 902 is configured to receive user wrist symbol data acquired by the wrist wearable device.
确定模块903,用于根据所述终端的运动数据确定所述终端是否处于行车状态;还用于当所述终端处于行车状态时,根据所述体征数据确定所述用户是否为驾驶状态。The determining module 903 is configured to determine, according to the motion data of the terminal, whether the terminal is in a driving state, and is further configured to determine, according to the vital sign data, whether the user is in a driving state when the terminal is in a driving state.
设置模块904,用于当所述用户处于所述驾驶状态时,设置所述终端为驾驶模式。The setting module 904 is configured to set the terminal to a driving mode when the user is in the driving state.
设置模块904还包括设置单元和发送单元。其中,设置单元,用于当所述用户处于所述驾驶状态时,设置所述终端为驾驶模式。发送单元,用于将驾驶状态识别结果发送给所述腕部可穿戴设备。The setting module 904 also includes a setting unit and a transmitting unit. The setting unit is configured to set the terminal to be a driving mode when the user is in the driving state. And a sending unit, configured to send the driving state recognition result to the wrist wearable device.
本发明实施例中,终端和腕部可穿戴设备协作识别驾驶状态,可以获得准确的识别结果;终端根据行车状态的判断结果控制可穿戴设备对体征数据的采集,减少了腕部可穿戴设备实时采集生物数据导致的系统功耗;同时,由终端分析处理体征数据,可以进一步降低可穿戴设备的系统功耗。In the embodiment of the present invention, the terminal and the wrist wearable device cooperatively recognize the driving state, and an accurate recognition result can be obtained; the terminal controls the wearable device to collect the physical sign data according to the judgment result of the driving state, and reduces the wrist wearable device in real time. The system power consumption caused by the acquisition of biological data; at the same time, the analysis and processing of the physical data by the terminal can further reduce the system power consumption of the wearable device.
实施例9Example 9
仍然参阅图9,图9为本发明实施例提供的第三终端的结构示意图,本发明实施例提供的终端可以用于实施上述图2至图7所示的本发明实施例的方法,该终端为腕部可穿戴设备900,其中包括:Still referring to FIG. 9, FIG. 9 is a schematic structural diagram of a third terminal according to an embodiment of the present invention. The terminal provided by the embodiment of the present invention may be used to implement the method of the embodiment of the present invention shown in FIG. 2 to FIG. For wrist wearable device 900, including:
获取模块901、接收模块902、确定模块903和设置模块904。The acquisition module 901, the receiving module 902, the determining module 903, and the setting module 904.
获取模块901,用于获取用户腕部体征数据。The obtaining module 901 is configured to acquire the wrist symbol data of the user.
接收模块902,用于接收终端发送的运动数据。The receiving module 902 is configured to receive motion data sent by the terminal.
确定模块903,用于根据所述运动数据确定所述腕部可穿戴设备是否处于行车状态;还用于当所述可穿戴设备处于行车状态时,根据所述体征数据确定所述用户是否为驾驶状态。a determining module 903, configured to determine, according to the motion data, whether the wrist wearable device is in a driving state; and further configured to determine, according to the vital sign data, whether the user is driving when the wearable device is in a driving state status.
设置模块904,用于当所述用户处于所述驾驶状态时,设置所述腕部可穿戴设备为驾驶模式。The setting module 904 is configured to set the wrist wearable device to a driving mode when the user is in the driving state.
设置模块904还包括设置单元和发送单元。其中,设置单元,用于当所述用户处于所述驾驶状态时,设置所述腕部可穿戴设备为驾驶模式。发送单元,用于将驾驶状态识别结果发送给所述终端。The setting module 904 also includes a setting unit and a transmitting unit. The setting unit is configured to set the wrist wearable device to a driving mode when the user is in the driving state. And a sending unit, configured to send a driving state recognition result to the terminal.
本发明实施例中,终端和腕部可穿戴设备协作识别驾驶状态,可以获得准确的识别结 果;同时,可穿戴设备分析处理运动数据,降低了终端的系统功耗。In the embodiment of the present invention, the terminal and the wrist wearable device cooperate to recognize the driving state, and an accurate identification knot can be obtained. At the same time, the wearable device analyzes the motion data and reduces the system power consumption of the terminal.
实施例10Example 10
图10为本发明实施例提供的第四终端的结构示意图,本发明实施例提供的终端可以用于实施上述图2至图7所示的本发明各实施例的方法。为了便于说明,图10仅示出了与本发明实施例相关的部分,具体技术细节未揭示的,请参照图2至图7所示的本发明各实施例。FIG. 10 is a schematic structural diagram of a fourth terminal according to an embodiment of the present invention. The terminal provided by the embodiment of the present invention may be used to implement the method of the embodiments of the present invention shown in FIG. 2 to FIG. 7 . For ease of explanation, FIG. 10 only shows portions related to the embodiments of the present invention. Without specific details, please refer to the embodiments of the present invention shown in FIGS. 2 to 7.
该终端可以是手机或移动电话、平板电脑(Tablet Personal Computer,TPC)、膝上型电脑(Laptop Computer)、数码相机、数字摄影机、投影设备、可穿戴式设备(Wearable Device)、个人数字助理(Personal Digital Assistant,PDA)、电子书阅读器(e-book reader)、虚拟现实智能设备、数字广播终端,消息收发设备,游戏控制台,医疗设备,健身设备或扫描仪等终端,所述终端可以通过2G、3G、4G、5G或无线局域网(wireless locale access network,WLAN)与网络建立通信。本发明实施例以终端为手机或可穿戴设备为例进行说明,下面结合图10对手机或可穿戴设备1000的各个构成部件进行具体的介绍:如图10所示,手机或可穿戴设备1000包括射频(Radio Frequency,RF)电路1010、存储器1020、输入单元1030、屏幕1040、传感器1050、蓝牙模块1060、摄像头1070、处理器1080、以及电源1090等部件。本领域技术人员可以理解,图10中示出的手机结构只做实现方式的举例,并不构成对手机的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。The terminal can be a mobile phone or a mobile phone, a Tablet Personal Computer (TPC), a laptop computer, a digital camera, a digital camera, a projection device, a wearable device, a personal digital assistant ( Personal Digital Assistant (PDA), e-book reader, virtual reality smart device, digital broadcast terminal, messaging device, game console, medical device, fitness device or scanner, etc., the terminal can Communication is established with the network through 2G, 3G, 4G, 5G or wireless locale access network (WLAN). In the embodiment of the present invention, the terminal is a mobile phone or a wearable device as an example. The components of the mobile phone or the wearable device 1000 are specifically described below with reference to FIG. 10: as shown in FIG. 10, the mobile phone or wearable device 1000 includes A radio frequency (RF) circuit 1010, a memory 1020, an input unit 1030, a screen 1040, a sensor 1050, a Bluetooth module 1060, a camera 1070, a processor 1080, and a power supply 1090. It can be understood by those skilled in the art that the structure of the mobile phone shown in FIG. 10 is only an example of implementation, and does not constitute a limitation on the mobile phone, and may include more or less components than those illustrated, or combine some components, or Different parts are arranged.
RF电路1010可用于收发信息或通话过程中,信号的接收和发送,特别地,将基站的下行信息接收后,给处理器1080处理;另外,将设计上行的数据发送给基站。通常,RF电路包括但不限于天线、至少一个放大器、收发信机、耦合器、低噪声放大器(Low Noise Amplifier,LNA)、双工器等。此外,RF电路1010还可以通过无线通信与网络和其他设备通信。所述无线通信可以使用任一通信标准或协议,包括但不限于全球移动通讯系统(Global System of Mobile communication,GSM)、通用分组无线服务(General Packet Radio Service,GPRS)、码分多址(Code Division Multiple Access,CDMA)、宽带码分多址(Wideband Code Division Multiple Access,WCDMA)、长期演进(Long Term Evolution,LTE)、电子邮件、短消息服务(Short Messaging Service,SMS)等。The RF circuit 1010 can be used for receiving and transmitting signals during the transmission or reception of information or during a call. In particular, after receiving the downlink information of the base station, it is processed by the processor 1080. In addition, the uplink data is designed to be sent to the base station. Generally, RF circuits include, but are not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a Low Noise Amplifier (LNA), a duplexer, and the like. In addition, RF circuit 1010 can also communicate with the network and other devices via wireless communication. The wireless communication may use any communication standard or protocol, including but not limited to Global System of Mobile communication (GSM), General Packet Radio Service (GPRS), Code Division Multiple Access (Code). Division Multiple Access (CDMA), Wideband Code Division Multiple Access (WCDMA), Long Term Evolution (LTE), E-mail, Short Messaging Service (SMS), etc.
存储器1020可用于存储软件程序以及模块,处理器1080通过运行存储在存储器1020的软件程序以及模块,从而执行手机或可穿戴设备1000的各种功能应用以及数据处理。存储器1020可包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序(比如声音播放功能、图像播放功能等)等;存储数据区可存储根据手机或可穿戴设备1000的使用所创建的数据(比如音频数据、视频数据、电话本等)等。此外,存储器1020可以包括易失性存储器,例如非挥发性动态随机存取内存(Nonvolatile Random Access Memory,NVRAM)、相变化随机存取内存(Phase Change RAM,PRAM)、磁阻式随机存取内存(Magetoresistive RAM,MRAM)等,还可以包括非易失性存储器,例如至少一个磁盘存储器件、电子可擦除可编程只读存储器(Electrically Erasable Programmable Read-Only Memory,EEPROM)、闪存器件,例如反或闪存(NOR flash memory)或是反及闪存(NAND flash memory)、半导体器件,例如固 态硬盘(Solid State Disk,SSD)等。The memory 1020 can be used to store software programs and modules, and the processor 1080 executes various functional applications and data processing of the mobile phone or wearable device 1000 by running software programs and modules stored in the memory 1020. The memory 1020 may include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application required for at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may be stored according to the mobile phone. Or data created by the use of the wearable device 1000 (such as audio data, video data, phone book, etc.), and the like. In addition, the memory 1020 may include volatile memory, such as non-volatile volatile random access memory (NVRAM), phase change random access memory (PRAM), and magnetoresistive random access memory. (Magetoresistive RAM, MRAM), etc., may also include non-volatile memory, such as at least one magnetic disk storage device, electrically erasable programmable read-only memory (EEPROM), flash memory device, such as anti- Or flash memory (NOR flash memory) or NAND flash memory, semiconductor devices, such as solid Solid State Disk (SSD), etc.
输入单元1030可用于接收输入的数字或字符信息,以及产生与手机或可穿戴设备1000的用户设置以及功能控制有关的键信号输入。具体地,输入单元1030可包括触控面板1031以及其他输入设备1032。触控面板1031,也称为触摸屏,可收集用户在其上或附近的触摸操作(比如用户使用手指、触笔等任何适合的物体或附件在触控面板1031上或在触控面板1031附近的操作),并根据预先设定的程序驱动相应的连接装置。可选的,触控面板1031可包括触摸检测装置和触摸控制器两个部分。其中,触摸检测装置检测用户的触摸方位,并检测触摸操作带来的信号,将信号传送给触摸控制器;触摸控制器从触摸检测装置上接收触摸信息,并将它转换成触点坐标,再送给处理器1080,并能接收处理器1080发送的命令并加以执行。此外,可以采用电阻式、电容式、红外线以及表面声波等多种类型实现触控面板1031。除了触控面板1031,输入单元1030还可以包括其他输入设备1032。具体地,其他输入设备1032可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆等中的一种或多种。The input unit 1030 can be configured to receive input numeric or character information and to generate key signal inputs related to user settings and function controls of the handset or wearable device 1000. Specifically, the input unit 1030 may include a touch panel 1031 and other input devices 1032. The touch panel 1031, also referred to as a touch screen, can collect touch operations on or near the user (such as the user using a finger, a stylus, or the like on the touch panel 1031 or near the touch panel 1031. Operation) and drive the corresponding connecting device according to a preset program. Optionally, the touch panel 1031 may include two parts: a touch detection device and a touch controller. Wherein, the touch detection device detects the touch orientation of the user, and detects a signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts the touch information into contact coordinates, and sends the touch information. The processor 1080 is provided and can receive commands from the processor 1080 and execute them. In addition, the touch panel 1031 can be implemented in various types such as resistive, capacitive, infrared, and surface acoustic waves. In addition to the touch panel 1031, the input unit 1030 may also include other input devices 1032. Specifically, other input devices 1032 may include, but are not limited to, one or more of a physical keyboard, function keys (such as volume control buttons, switch buttons, etc.), trackballs, mice, joysticks, and the like.
屏幕1040可用于显示由用户输入的信息或提供给用户的信息以及手机或可穿戴设备1000的各种界面。屏幕1040可包括显示面板1041,可选的,可以采用液晶显示器(Liquid Crystal Display,LCD)、有机发光二极管(Organic Light-Emitting Diode,OLED)等形式来配置显示面板1041。进一步的,触控面板1031可覆盖显示面板1041,当触控面板1031检测到在其上或附近的触摸操作后,传送给处理器1080以确定触摸事件的类型,随后处理器1080根据触摸事件的类型在显示面板1041上提供相应的视觉输出。虽然在图10中,触控面板1031与显示面板1041是作为两个独立的部件来实现手机或可穿戴设备1000的输入和输入功能,但是在某些实施例中,可以将触控面板1031与显示面板1041集成而实现手机或可穿戴设备1000的输入和输出功能。屏幕1040可用于显示内容,所述内容包括用户界面,比如手机的开机界面,应用程序的用户界面。所述内容除了用户界面,还可以包括信息和数据。屏幕1040可以是手机的内置屏幕或者其它外部显示设备。 Screen 1040 can be used to display information entered by the user or information provided to the user as well as various interfaces of the handset or wearable device 1000. The display panel 1041 can be configured in the form of a liquid crystal display (LCD), an organic light-emitting diode (OLED), or the like. Further, the touch panel 1031 may cover the display panel 1041, and when the touch panel 1031 detects a touch operation thereon or nearby, the touch panel 1031 transmits to the processor 1080 to determine the type of the touch event, and then the processor 1080 according to the touch event. The type provides a corresponding visual output on display panel 1041. Although in FIG. 10, the touch panel 1031 and the display panel 1041 are two independent components to implement the input and input functions of the mobile phone or the wearable device 1000, in some embodiments, the touch panel 1031 may be The display panel 1041 is integrated to implement input and output functions of the mobile phone or wearable device 1000. Screen 1040 can be used to display content, including a user interface, such as a boot interface of a mobile phone, a user interface of an application. The content may include information and data in addition to the user interface. Screen 1040 can be a built-in screen of a mobile phone or other external display device.
传感器1050包括至少一个光传感器、运动传感器、位置传感器、电阻抗传感器(Electrical Impedance Sensor,EIS)以及其他传感器。具体地,光传感器可包括环境光传感器及接近传感器,其中,环境光传感器可以获取周围环境光线的亮度,接近传感器可在手机或可穿戴设备1000移动到耳边时,关闭显示面板1041和/或背光。运动传感器可以包括加速度传感器、陀螺仪和磁力计,其中,加速度传感器可检测空间各个方向上(一般为空间x,y和z三轴)加速度的大小,静止时可检测出重力的大小及方向,可用于识别手机姿态的应用(比如横竖屏切换、相关游戏、磁力计姿态校准)、振动识别相关功能(比如计步器、敲击)等。陀螺仪可检测空间三轴的角速度。位置传感器可包括适用于全球定位系统(Global Positioning System,GPS)、北斗系统(COMPASS)、格洛纳斯系统(GLONASS)和伽利略系统(GALILEO)的位置模块,用于获取手机的地理位置坐标。位置传感器还可以通过移动运营网络的基站、以及Wi-Fi或蓝牙等局域网络进行定位,或者综合使用上述定位方式,从而获得更精确的手机位置信息。电阻抗传感器可用于感测与传感器电极相接触的生物组织的阻抗。手机或可穿戴设备1000还可配置的陀螺仪、气压计、湿度计、温度计、红外线传感器等其他传感器,在此不再赘述。 The sensor 1050 includes at least one light sensor, motion sensor, position sensor, electrical impedance sensor (EIS), and other sensors. Specifically, the light sensor may include an ambient light sensor and a proximity sensor, wherein the ambient light sensor may acquire brightness of ambient light, and the proximity sensor may close the display panel 1041 and/or when the mobile phone or the wearable device 1000 moves to the ear. Backlighting. The motion sensor may include an acceleration sensor, a gyroscope, and a magnetometer, wherein the acceleration sensor can detect the magnitude of the acceleration in all directions of the space (generally three dimensions of space x, y, and z), and the magnitude and direction of gravity can be detected at rest. It can be used to identify the gesture of the phone (such as horizontal and vertical screen switching, related games, magnetometer attitude calibration), vibration recognition related functions (such as pedometer, tap). The gyroscope can detect the angular velocity of the three axes of the space. The position sensor may include a position module suitable for a Global Positioning System (GPS), a Beidou system (COMPASS), a GLONASS system, and a Galileo system (GALILEO) for acquiring the geographic location coordinates of the mobile phone. The location sensor can also be located through a base station of a mobile operation network, a local area network such as Wi-Fi or Bluetooth, or a combination of the above-mentioned positioning methods, thereby obtaining more accurate mobile phone location information. An electrical impedance sensor can be used to sense the impedance of the biological tissue in contact with the sensor electrodes. The mobile phone or the wearable device 1000 can also be configured with other sensors such as a gyroscope, a barometer, a hygrometer, a thermometer, an infrared sensor, and the like, and details are not described herein again.
蓝牙模块1060可用于短距离的无线数据传输。通过蓝牙模块1060,手机或可穿戴设备1000可以与其它终端建立连接,从而接收和发送各种类型的数据。The Bluetooth module 1060 can be used for short-range wireless data transmission. Through the Bluetooth module 1060, the handset or wearable device 1000 can establish a connection with other terminals to receive and transmit various types of data.
摄像头1070是手机的内置摄像头,可以为前置摄像头,也可以为后置摄像头。The camera 1070 is a built-in camera of the mobile phone, and can be a front camera or a rear camera.
处理器1080是手机或可穿戴设备1000的控制中心,利用各种接口和线路连接整个手机的各个部分,通过运行或执行存储在存储器1020内的软件程序和/或模块,以及调用存储在存储器1020内的数据,执行手机或可穿戴设备1000的各种功能和处理数据,从而对手机进行整体监控。处理器1080可以是中央处理器(Central Processing Unit,CPU)、通用处理器、数字信号处理器(Digital Signal Processor,DSP)、专用集成电路(Application Specific Integrated Circuit,ASIC)、现场可编程门阵列(Field Programmable Gate Array,FPGA)或者其他可编程逻辑器件、晶体管逻辑器件,硬件部件或者其任意组合。处理器1080可以实现或执行结合本申请公开内容所描述的各种示例性的逻辑方框,模块和电路。处理器1080也可以是实现计算功能的组合,例如包含一个或多个微处理器组合,DSP和微处理器的组合等等。可选的,处理器1080可包括一个或多个处理器单元。可选的,处理器1080还可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器1080中。The processor 1080 is the control center of the handset or wearable device 1000, connecting various portions of the entire handset with various interfaces and lines, by running or executing software programs and/or modules stored in the memory 1020, and recalling stored in the memory 1020. The internal data performs various functions and processing data of the mobile phone or wearable device 1000, thereby performing overall monitoring of the mobile phone. The processor 1080 may be a central processing unit (CPU), a general-purpose processor, a digital signal processor (DSP), an application specific integrated circuit (ASIC), and a field programmable gate array ( Field Programmable Gate Array (FPGA) or other programmable logic device, transistor logic device, hardware component, or any combination thereof. The processor 1080 can implement or perform various illustrative logical blocks, modules and circuits described in connection with the present disclosure. Processor 1080 can also be a combination of computing functions, such as one or more microprocessor combinations, a combination of a DSP and a microprocessor, and the like. Alternatively, processor 1080 can include one or more processor units. Optionally, the processor 1080 can also integrate an application processor and a modem processor, wherein the application processor mainly processes an operating system, a user interface, an application, and the like, and the modem processor mainly processes wireless communication. It will be appreciated that the above described modem processor may also not be integrated into the processor 1080.
所述应用程序包括安装在手机或可穿戴设备1000上的任何应用,包括但不限于浏览器、电子邮件、即时消息服务、文字处理、键盘虚拟、窗口小部件(Widget)、加密、数字版权管理、语音识别、语音复制、定位(例如由全球定位系统提供的功能)、音乐播放等等。The application includes any application installed on the mobile phone or wearable device 1000, including but not limited to browsers, email, instant messaging services, word processing, keyboard virtualization, widgets, encryption, digital rights management , speech recognition, voice copying, positioning (such as those provided by GPS), music playback, and more.
手机或可穿戴设备1000还包括给各个部件供电的电源1090(比如电池),可选的,电源可以通过电源管理系统与处理器1080逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。The mobile phone or wearable device 1000 also includes a power source 1090 (such as a battery) for powering various components. Alternatively, the power source can be logically coupled to the processor 1080 through a power management system to manage charging, discharging, and power through the power management system. Consumption management and other functions.
需要说明的是,尽管未示出,手机或可穿戴设备1000还可以包括音频电路、Wi-Fi模块等,在此不再赘述。It should be noted that, although not shown, the mobile phone or wearable device 1000 may further include an audio circuit, a Wi-Fi module, and the like, and details are not described herein again.
本发明实施例中,存储器1020、传感器1050、蓝牙模块1060、处理器1080还可以具有以下功能。In the embodiment of the present invention, the memory 1020, the sensor 1050, the Bluetooth module 1060, and the processor 1080 may also have the following functions.
存储器1020、传感器1050、蓝牙模块1060分别与处理器1080通过一条或多条数据总线连接。The memory 1020, the sensor 1050, and the Bluetooth module 1060 are respectively connected to the processor 1080 via one or more data buses.
传感器1050,可以用于获取运动数据和用户腕部的体征数据。这些数据可以存储在存储器1020上。The sensor 1050 can be used to acquire motion data and vital signs data of the user's wrist. These data can be stored on the memory 1020.
可选的,当终端是腕部可穿戴设备时,传感器1050可以包括运动传感器、位置传感器和电阻抗传感器,用于获取运动数据和用户腕部体征数据,上述数据可以由处理1080处理,从而确定用户是否处于驾驶状态。Optionally, when the terminal is a wrist wearable device, the sensor 1050 may include a motion sensor, a position sensor, and an electrical impedance sensor for acquiring motion data and user wrist sign data, and the data may be processed by the process 1080 to determine Whether the user is in a driving state.
可选的,当终端是腕部可穿戴设备时,传感器1050可以包括电阻抗传感器,用于获取用户腕部体征数据。所述体征数据可以由处理器1080处理,从而确定用户手部姿势是否匹配驾驶状态的姿势特征;也可以经蓝牙模块1060发送给其它终端例如手机进行处理。Optionally, when the terminal is a wrist wearable device, the sensor 1050 may include an electrical impedance sensor for acquiring user wrist sign data. The sign data may be processed by the processor 1080 to determine whether the user's hand gesture matches the gesture feature of the driving state; or may be sent to other terminals, such as a cell phone, for processing via the Bluetooth module 1060.
可选的,当终端是移动终端例如手机时,传感器可以包括运动传感器或位置传感器, 用于获取终端的运动数据。所述运动数据可以由处理器1080处理,从而确定终端是否处于行车状态;运动数据也可以经蓝牙模块1060发送给其它终端例如可穿戴设备进行处理。Optionally, when the terminal is a mobile terminal such as a mobile phone, the sensor may include a motion sensor or a position sensor. Used to acquire motion data of the terminal. The motion data may be processed by the processor 1080 to determine whether the terminal is in a driving state; the motion data may also be sent to other terminals, such as a wearable device, for processing via the Bluetooth module 1060.
蓝牙模块1060,可以用于从其它终端接收和发送运动数据和用户腕部体征数据。这些数据可以存储在存储器1020上。The Bluetooth module 1060 can be used to receive and transmit motion data and user wrist sign data from other terminals. These data can be stored on the memory 1020.
处理器1080可以从存储器1020调用控制指令,用于根据运动数据确定手机或可穿戴设备1000是否处于行车状态,或者,根据用户腕部体征数据确定用户是否处于驾驶状态。The processor 1080 can invoke control instructions from the memory 1020 for determining whether the handset or wearable device 1000 is in a driving state based on the motion data, or determining whether the user is in a driving state based on the user's wrist vitals data.
处理器1080还可以将驾驶状态识别结果通过蓝牙模块1060发送给其它终端。The processor 1080 can also transmit the driving status recognition result to the other terminal through the Bluetooth module 1060.
在上述本发明实施例中,可以全部或部分地通过软件、硬件、固件或者其任意组合来实现。当使用软件实现时,可以全部或部分地以计算机程序产品的形式实现。所述计算机程序产品包括一个或多个计算机指令。在计算机上加载和执行所述计算机程序指令时,全部或部分地产生按照本发明实施例所述的流程或功能。所述计算机可以是通用计算机、专用计算机、计算机网络、或者其他可编程装置。所述计算机指令可以存储在计算机可读存储介质中,或者从一个计算机可读介质向另一个计算机可读介质传输,例如,所述计算机指令可以从一个网站站点、计算机、服务器或数据中心通过有线(例如同轴电缆、光纤、数字用户线(Digital Subscriber Line,DSL))或无线(例如红外、无线、微波等)方式向另一个网站站点、计算机、服务器或数据中心进行传输。所述计算机可读存储介质可以是计算机能够存取的任何可用介质或者是包含一个或多个可用介质集成的服务器、数据中心等数据存储设备。所述可用介质可以是磁性介质(例如,软盘、硬盘、磁带)、光介质(例如,DVD)、或者半导体介质(例如,固态硬盘(Solid State Disk,SSD))等。In the above embodiments of the present invention, it may be implemented in whole or in part by software, hardware, firmware, or any combination thereof. When implemented in software, it may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the processes or functions described in accordance with embodiments of the present invention are generated in whole or in part. The computer can be a general purpose computer, a special purpose computer, a computer network, or other programmable device. The computer instructions can be stored in a computer readable storage medium or transferred from one computer readable medium to another computer readable medium, for example, the computer instructions can be wired from a website site, computer, server or data center (for example, coaxial cable, fiber, Digital Subscriber Line (DSL)) or wireless (such as infrared, wireless, microwave, etc.) to another website, computer, server or data center. The computer readable storage medium can be any available media that can be accessed by a computer or a data storage device such as a server, data center, or the like that includes one or more available media. The usable medium may be a magnetic medium (eg, a floppy disk, a hard disk, a magnetic tape), an optical medium (eg, a DVD), or a semiconductor medium (eg, a Solid State Disk (SSD)) or the like.
本领域技术人员应该可以意识到,在上述一个或多个示例中,本发明所描述的功能可以用硬件、软件、固件或它们的任意组合来实现。当使用软件实现时,可以将这些功能存储在计算机可读介质中或者作为计算机可读介质上的一个或多个指令或代码进行传输。计算机可读介质包括计算机存储介质和通信介质,其中通信介质包括便于从一个地方向另一个地方传送计算机程序的任何介质。存储介质可以是通用或专用计算机能够存取的任何可用介质。Those skilled in the art will appreciate that in one or more examples described above, the functions described herein can be implemented in hardware, software, firmware, or any combination thereof. When implemented in software, the functions may be stored in a computer readable medium or transmitted as one or more instructions or code on a computer readable medium. Computer readable media includes both computer storage media and communication media including any medium that facilitates transfer of a computer program from one location to another. A storage medium may be any available media that can be accessed by a general purpose or special purpose computer.
以上所述的具体实施方式,对本发明的目的、技术方案和有益效果进行了进一步详细说明,本领域技术人员可以理解的是,以上所述仅为本发明技术方案的较佳实施例而已,并非用于限定本发明的保护范围。凡在本发明的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。 The embodiments, the technical solutions and the beneficial effects of the present invention are further described in detail in the specific embodiments described above, and those skilled in the art understand that the above description is only a preferred embodiment of the technical solution of the present invention, and is not It is intended to define the scope of protection of the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and scope of the present invention are intended to be included within the scope of the present invention.

Claims (42)

  1. 一种终端的控制方法,其特征在于,所述方法包括:A method for controlling a terminal, the method comprising:
    获取所述终端的运动数据和用户腕部的体征数据;Obtaining motion data of the terminal and vital sign data of a wrist of the user;
    根据所述终端的运动数据确定所述终端是否处于行车状态;Determining, according to the motion data of the terminal, whether the terminal is in a driving state;
    当所述终端处于行车状态时,根据所述体征数据确定所述用户是否处于驾驶状态;Determining, according to the vital sign data, whether the user is in a driving state when the terminal is in a driving state;
    当所述用户处于所述驾驶状态时,设置所述终端为驾驶模式。When the user is in the driving state, the terminal is set to a driving mode.
  2. 根据权利要求1所述的方法,其特征在于,The method of claim 1 wherein
    所述运动数据是通过运动传感器或位置传感器获取的。The motion data is obtained by a motion sensor or a position sensor.
  3. 根据权利要求1或2所述的方法,其特征在于,Method according to claim 1 or 2, characterized in that
    所述运动数据包括速度、加速或位移。The motion data includes speed, acceleration, or displacement.
  4. 根据权利要求1至3任一项所述的方法,其特征在于,所述根据所述终端的运动数据确定所述终端是否处于行车状态包括:The method according to any one of claims 1 to 3, wherein the determining, according to the motion data of the terminal, whether the terminal is in a driving state comprises:
    当所述运动数据大于等于预设阈值时,确定所述终端处于行车状态;当所述运动数据小于预设阈值时,确定所述终端不处于行车状态。When the motion data is greater than or equal to a preset threshold, determining that the terminal is in a driving state; when the motion data is less than a preset threshold, determining that the terminal is not in a driving state.
  5. 根据权利要求1至4任一项所述的方法,其特征在于,A method according to any one of claims 1 to 4, characterized in that
    所述体征数据是通过电阻抗传感器获取的。The sign data is obtained by an electrical impedance sensor.
  6. 根据权利要求1至5任一项所述的方法,其特征在于,A method according to any one of claims 1 to 5, characterized in that
    所述体征数据包括用户腕部的肌肉数据或脂肪数据。The vital sign data includes muscle data or fat data of the user's wrist.
  7. 根据权利要求1至6任一项所述的方法,其特征在于,所述根据所述体征数据确定所述用户是否为驾驶状态包括:The method according to any one of claims 1 to 6, wherein the determining, according to the vital sign data, whether the user is in a driving state comprises:
    当所述体征数据的特征匹配用户驾驶状态的体征数据时,确定所述用户处于驾驶状态。When the characteristics of the vital sign data match the vital sign data of the user's driving state, it is determined that the user is in a driving state.
  8. 根据权利要求1至7任一项所述的方法,其特征在于,所述驾驶模式包括以下至少一种操作:The method according to any one of claims 1 to 7, wherein the driving mode comprises at least one of the following operations:
    开启自动停车识别功能,自动标记停车位置;Turn on the automatic parking recognition function and automatically mark the parking position;
    开启语音导航功能;Turn on voice navigation;
    在未检测到连接车载蓝牙或耳机的情况下,关闭来电接听功能;Turn off the call answering function when no connection to the car Bluetooth or headset is detected;
    关闭消息类应用程序的消息提醒功能;Turn off the message alert feature of the message class application;
    在检测到连接车载蓝牙或耳机的情况下,将文本消息转换为语音消息;或者,Convert a text message to a voice message if it detects a connection to a car Bluetooth or headset; or,
    关闭视频类应用程序。Close the video app.
  9. 一种终端的控制方法,其特征在于,包括:A method for controlling a terminal, comprising:
    获取所述终端的运动数据;Obtaining motion data of the terminal;
    接收腕部可穿戴设备获取的用户腕部体征数据;Receiving user wrist sign data obtained by the wrist wearable device;
    根据所述终端的运动数据确定所述终端是否处于行车状态;Determining, according to the motion data of the terminal, whether the terminal is in a driving state;
    当所述终端处于行车状态时,根据所述体征数据确定所述用户是否处于驾驶状态;Determining, according to the vital sign data, whether the user is in a driving state when the terminal is in a driving state;
    当所述用户处于所述驾驶状态时,设置所述终端为驾驶模式。When the user is in the driving state, the terminal is set to a driving mode.
  10. 根据权利要求9所述的方法,其特征在于,The method of claim 9 wherein:
    所述运动数据是通过运动传感器或位置传感器获取的。The motion data is obtained by a motion sensor or a position sensor.
  11. 根据权利要求9或10所述的方法,其特征在于, Method according to claim 9 or 10, characterized in that
    所述运动数据包括速度、加速或位移。The motion data includes speed, acceleration, or displacement.
  12. 根据权利要求9至11任一项所述的方法,其特征在于,所述根据所述终端的运动数据确定所述终端是否处于行车状态包括:The method according to any one of claims 9 to 11, wherein the determining, according to the motion data of the terminal, whether the terminal is in a driving state comprises:
    当所述运动数据大于等于预设阈值时,确定所述终端处于行车状态;当所述运动数据小于预设阈值时,确定所述终端不处于行车状态。When the motion data is greater than or equal to a preset threshold, determining that the terminal is in a driving state; when the motion data is less than a preset threshold, determining that the terminal is not in a driving state.
  13. 根据权利要求9至12任一项所述的方法,其特征在于,A method according to any one of claims 9 to 12, characterized in that
    所述体征数据是通过电阻抗传感器获取的。The sign data is obtained by an electrical impedance sensor.
  14. 根据权利要求9至13任一项所述的方法,其特征在于,A method according to any one of claims 9 to 13, wherein
    所述体征数据是用户腕部的肌肉数据或脂肪数据。The vital sign data is muscle data or fat data of the user's wrist.
  15. 根据权利要求9至14任一项所述的方法,其特征在于,所述根据所述体征数据确定所述用户是否为驾驶状态包括:The method according to any one of claims 9 to 14, wherein the determining, according to the vital sign data, whether the user is in a driving state comprises:
    当所述体征数据的特征匹配驾驶状态的体征数据时,确定所述用户为驾驶状态。When the feature of the vital sign data matches the vital sign data of the driving state, it is determined that the user is in a driving state.
  16. 根据权利要求9至15任一项所述的方法,其特征在于,所述驾驶模式包括以下至少一种操作:The method according to any one of claims 9 to 15, wherein the driving mode comprises at least one of the following operations:
    开启自动停车识别功能,自动标记停车位置;Turn on the automatic parking recognition function and automatically mark the parking position;
    开启语音导航功能;Turn on voice navigation;
    在未检测到连接车载蓝牙或耳机的情况下,关闭来电接听功能;Turn off the call answering function when no connection to the car Bluetooth or headset is detected;
    关闭消息类应用程序的消息提醒功能;Turn off the message alert feature of the message class application;
    在检测到连接车载蓝牙或耳机的情况下,将文本消息转换为语音消息;或者,Convert a text message to a voice message if it detects a connection to a car Bluetooth or headset; or,
    关闭视频类应用程序。Close the video app.
  17. 根据权利要求9至16任一项所述的方法,其特征在于,所述当所述用户处于所述驾驶状态时,设置所述终端为驾驶模式包括:The method according to any one of claims 9 to 16, wherein when the user is in the driving state, setting the terminal to a driving mode comprises:
    当所述用户处于所述驾驶状态时,设置所述终端为驾驶模式,并且,所述终端将驾驶状态识别结果发送给所述腕部可穿戴设备。When the user is in the driving state, the terminal is set to a driving mode, and the terminal transmits a driving state recognition result to the wrist wearable device.
  18. 一种腕部可穿戴设备的控制方法,其特征在于,包括:A method for controlling a wrist wearable device, comprising:
    获取用户腕部的体征数据;Obtaining the vital signs data of the user's wrist;
    接收终端发送的运动数据;Receiving motion data sent by the terminal;
    根据所述运动数据确定所述终端是否处于行车状态;Determining, according to the motion data, whether the terminal is in a driving state;
    当所述终端处于行车状态时,根据所述体征数据确定所述用户是否为驾驶状态;Determining, according to the vital sign data, whether the user is in a driving state when the terminal is in a driving state;
    当所述用户处于所述驾驶状态时,设置所述腕部可穿戴设备为驾驶模式。When the user is in the driving state, the wrist wearable device is set to a driving mode.
  19. 根据权利要求18所述的方法,其特征在于,所述当所述用户处于所述驾驶状态时,设置所述腕部可穿戴设备为驾驶模式包括:The method according to claim 18, wherein the setting the wrist wearable device to a driving mode when the user is in the driving state comprises:
    当所述用户处于所述驾驶状态时,设置所述腕部可穿戴设备为驾驶模式,并且,所述腕部可穿戴设备将驾驶状态识别结果发送给所述终端。When the user is in the driving state, the wrist wearable device is set to a driving mode, and the wrist wearable device transmits a driving state recognition result to the terminal.
  20. 一种终端,其特征在于,所述终端包括:A terminal, wherein the terminal comprises:
    获取模块,用于获取所述终端的运动数据和用户腕部体征数据;An acquiring module, configured to acquire motion data of the terminal and user wrist volume data;
    确定模块,用于根据所述终端的运动数据确定所述终端是否处于行车状态;a determining module, configured to determine, according to the motion data of the terminal, whether the terminal is in a driving state;
    所述确定模块,还用于当所述终端处于行车状态时,根据所述体征数据确定所述用户是否处于驾驶状态; The determining module is further configured to determine, according to the vital sign data, whether the user is in a driving state when the terminal is in a driving state;
    设置模块,用于当所述用户处于所述驾驶状态时,设置所述终端为驾驶模式。And a setting module, configured to set the terminal to a driving mode when the user is in the driving state.
  21. 根据权利要求20所述的终端,其特征在于,The terminal according to claim 20, characterized in that
    所述运动数据是通过运动传感器或位置传感器获取的。The motion data is obtained by a motion sensor or a position sensor.
  22. 根据权利要求20或21所述的终端,其特征在于,A terminal according to claim 20 or 21, characterized in that
    所述运动数据包括速度、加速或位移。The motion data includes speed, acceleration, or displacement.
  23. 根据权利要求20至22任一项所述的终端,其特征在于,所述确定模块用于:The terminal according to any one of claims 20 to 22, wherein the determining module is configured to:
    当所述运动数据大于等于预设阈值时,确定所述终端处于行车状态;当所述运动数据小于预设阈值时,确定所述终端不处于行车状态。When the motion data is greater than or equal to a preset threshold, determining that the terminal is in a driving state; when the motion data is less than a preset threshold, determining that the terminal is not in a driving state.
  24. 根据权利要求20至23任一项所述的终端,其特征在于,A terminal according to any one of claims 20 to 23, characterized in that
    所述体征数据是通过电阻抗传感器获取的。The sign data is obtained by an electrical impedance sensor.
  25. 根据权利要求20至24任一项所述的终端,其特征在于,A terminal according to any one of claims 20 to 24, characterized in that
    所述体征数据包括用户腕部的肌肉数据或脂肪数据。The vital sign data includes muscle data or fat data of the user's wrist.
  26. 根据权利要求20至25任一项所述的终端,其特征在于,所述确定模块还用于:The terminal according to any one of claims 20 to 25, wherein the determining module is further configured to:
    当所述体征数据的特征匹配用户驾驶状态的体征数据时,确定所述用户处于驾驶状态。When the characteristics of the vital sign data match the vital sign data of the user's driving state, it is determined that the user is in a driving state.
  27. 根据权利要求20至26任一项所述的终端,其特征在于,所述驾驶模式包括以下至少一种操作:The terminal according to any one of claims 20 to 26, wherein the driving mode comprises at least one of the following operations:
    开启自动停车识别功能,自动标记停车位置;Turn on the automatic parking recognition function and automatically mark the parking position;
    开启语音导航功能;Turn on voice navigation;
    在未检测到连接车载蓝牙或耳机的情况下,关闭来电接听功能;Turn off the call answering function when no connection to the car Bluetooth or headset is detected;
    关闭消息类应用程序的消息提醒功能;Turn off the message alert feature of the message class application;
    在检测到连接车载蓝牙或耳机的情况下,将文本消息转换为语音消息;或者,Convert a text message to a voice message if it detects a connection to a car Bluetooth or headset; or,
    关闭视频类应用程序。Close the video app.
  28. 一种终端,其特征在于,所述终端包括:A terminal, wherein the terminal comprises:
    获取模块,用于获取所述终端的运动数据;An acquiring module, configured to acquire motion data of the terminal;
    接收模块,用于接收腕部可穿戴设备获取的用户腕部体征数据;a receiving module, configured to receive user wrist sign data obtained by the wrist wearable device;
    确定模块,用于根据所述终端的运动数据确定所述终端是否处于行车状态;a determining module, configured to determine, according to the motion data of the terminal, whether the terminal is in a driving state;
    所述确定模块,还用于当所述终端处于行车状态时,根据所述体征数据确定所述用户是否为驾驶状态;The determining module is further configured to determine, according to the vital sign data, whether the user is in a driving state when the terminal is in a driving state;
    设置模块,用于当所述用户处于所述驾驶状态时,设置所述终端为驾驶模式。And a setting module, configured to set the terminal to a driving mode when the user is in the driving state.
  29. 根据权利要求28所述的终端,其特征在于,The terminal according to claim 28, characterized in that
    所述运动数据是通过运动传感器或位置传感器获取的。The motion data is obtained by a motion sensor or a position sensor.
  30. 根据权利要求28或29所述的终端,其特征在于,A terminal according to claim 28 or 29, characterized in that
    所述运动数据包括速度、加速或位移。The motion data includes speed, acceleration, or displacement.
  31. 根据权利要求28至30任一项所述的终端,其特征在于,所述确定模块用于:The terminal according to any one of claims 28 to 30, wherein the determining module is configured to:
    当所述运动数据大于等于预设阈值时,确定所述终端处于行车状态;当所述运动数据小于预设阈值时,确定所述终端不处于行车状态。When the motion data is greater than or equal to a preset threshold, determining that the terminal is in a driving state; when the motion data is less than a preset threshold, determining that the terminal is not in a driving state.
  32. 根据权利要求28至31任一项所述的终端,其特征在于,A terminal according to any one of claims 28 to 31, characterized in that
    所述体征数据是通过电阻抗传感器获取的。 The sign data is obtained by an electrical impedance sensor.
  33. 根据权利要求28至32任一项所述的终端,其特征在于,A terminal according to any one of claims 28 to 32, characterized in that
    所述体征数据是用户腕部的肌肉数据或脂肪数据。The vital sign data is muscle data or fat data of the user's wrist.
  34. 根据权利要求28至33任一项所述的终端,其特征在于,所述根据所述体征数据确定所述用户是否为驾驶状态包括:The terminal according to any one of claims 28 to 33, wherein the determining, according to the vital sign data, whether the user is in a driving state comprises:
    当所述体征数据的特征匹配驾驶状态的体征数据时,确定所述用户为驾驶状态。When the feature of the vital sign data matches the vital sign data of the driving state, it is determined that the user is in a driving state.
  35. 根据权利要求28至34任一项所述的终端,其特征在于,所述驾驶模式包括以下至少一种操作:The terminal according to any one of claims 28 to 34, wherein the driving mode comprises at least one of the following operations:
    开启自动停车识别功能,自动标记停车位置;Turn on the automatic parking recognition function and automatically mark the parking position;
    开启语音导航功能;Turn on voice navigation;
    在未检测到连接车载蓝牙或耳机的情况下,关闭来电接听功能;Turn off the call answering function when no connection to the car Bluetooth or headset is detected;
    关闭消息类应用程序的消息提醒功能;Turn off the message alert feature of the message class application;
    在检测到连接车载蓝牙或耳机的情况下,将文本消息转换为语音消息;或者,Convert a text message to a voice message if it detects a connection to a car Bluetooth or headset; or,
    关闭视频类应用程序。Close the video app.
  36. 根据权利要求28至35任一项所述的终端,其特征在于,所述设置模块包括:The terminal according to any one of claims 28 to 35, wherein the setting module comprises:
    设置单元,用于当所述用户处于所述驾驶状态时,设置所述终端为驾驶模式;a setting unit, configured to set the terminal to a driving mode when the user is in the driving state;
    发送单元,用于将驾驶状态识别结果发送给所述腕部可穿戴设备。And a sending unit, configured to send the driving state recognition result to the wrist wearable device.
  37. 一种腕部可穿戴设备,其特征在于,所述腕部可穿戴设备包括:A wrist wearable device, wherein the wrist wearable device comprises:
    获取模块,用于获取用户腕部体征数据;Obtaining a module, configured to acquire physical data of a wrist of the user;
    接收模块,用于接收终端发送的运动数据和驾驶状态识别指令;a receiving module, configured to receive motion data and a driving state recognition command sent by the terminal;
    确定模块,用于根据所述运动数据确定所述终端是否处于行车状态;a determining module, configured to determine, according to the motion data, whether the terminal is in a driving state;
    所述确定模块,还用于当所述终端处于行车状态时,根据所述体征数据确定所述用户是否为驾驶状态;The determining module is further configured to determine, according to the vital sign data, whether the user is in a driving state when the terminal is in a driving state;
    设置模块,用于当所述用户处于所述驾驶状态时,设置所述腕部可穿戴设备为驾驶模式。And a setting module, configured to set the wrist wearable device to a driving mode when the user is in the driving state.
  38. 根据权利要求37所述的腕部可穿戴设备,其特征在于,所述设置模块包括:The wrist wearable device according to claim 37, wherein the setting module comprises:
    设置单元,用于当所述用户处于所述驾驶状态时,设置所述腕部可穿戴设备为驾驶模式;a setting unit, configured to set the wrist wearable device to a driving mode when the user is in the driving state;
    发送单元,用于将驾驶状态识别结果发送给所述终端。And a sending unit, configured to send a driving state recognition result to the terminal.
  39. 一种终端,其特征在于,所述终端包括:A terminal, wherein the terminal comprises:
    一个或多个处理器、存储器、接收器、发射器以及一个或多个程序,所述一个或多个程序存储在存储器中并被配置为被所述一个或多个处理器执行,所述一个或多个程序包括用于执行如权利要求1-17任一项所述的方法的指令。One or more processors, memory, receivers, transmitters, and one or more programs, the one or more programs being stored in the memory and configured to be executed by the one or more processors, the one Or a plurality of programs comprising instructions for performing the method of any of claims 1-17.
  40. 一种腕部可穿戴设备,其特征在于,所述腕部可穿戴设备包括:A wrist wearable device, wherein the wrist wearable device comprises:
    一个或多个处理器、存储器、接收器、发射器以及一个或多个程序,所述一个或多个程序存储在存储器中并被配置为被所述一个或多个处理器执行,所述一个或多个程序包括用于执行如权利要求18或19所述的方法的指令。One or more processors, memory, receivers, transmitters, and one or more programs, the one or more programs being stored in the memory and configured to be executed by the one or more processors, the one Or a plurality of programs comprising instructions for performing the method of claim 18 or 19.
  41. 一种计算机可读存储介质,包括指令,当其在计算机上运行时,使得计算机执行如权利要求1-19任一项所述的方法。A computer readable storage medium comprising instructions which, when executed on a computer, cause the computer to perform the method of any of claims 1-19.
  42. 一种包含指令的计算机程序产品,当其在计算机上运行时,使得计算机执行如权 利要求1-19任一项所述的方法。 A computer program product comprising instructions that, when run on a computer, cause the computer to execute The method of any of 1-19.
PCT/CN2017/079618 2017-04-06 2017-04-06 Terminal control method and device WO2018184175A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201780088943.6A CN110462554A (en) 2017-04-06 2017-04-06 The control method and device of terminal
PCT/CN2017/079618 WO2018184175A1 (en) 2017-04-06 2017-04-06 Terminal control method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2017/079618 WO2018184175A1 (en) 2017-04-06 2017-04-06 Terminal control method and device

Publications (1)

Publication Number Publication Date
WO2018184175A1 true WO2018184175A1 (en) 2018-10-11

Family

ID=63713139

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/079618 WO2018184175A1 (en) 2017-04-06 2017-04-06 Terminal control method and device

Country Status (2)

Country Link
CN (1) CN110462554A (en)
WO (1) WO2018184175A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114983353B (en) * 2021-12-30 2023-07-18 荣耀终端有限公司 PPG control method and device and electronic equipment

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102857614A (en) * 2012-09-19 2013-01-02 上海斐讯数据通信技术有限公司 Mobile terminal with automatic call barring system and automatic call barring method
CN104731336A (en) * 2015-03-27 2015-06-24 百度在线网络技术(北京)有限公司 Application method and device of mobile terminal suitable for set scene
CN105959021A (en) * 2016-05-31 2016-09-21 深圳市元征科技股份有限公司 Vehicle-mounted diagnosis processing method and terminal based on wearable equipment
WO2016200076A1 (en) * 2015-06-08 2016-12-15 삼성전자 주식회사 Portable electronic device and operating method therefor
CN106339083A (en) * 2016-08-19 2017-01-18 惠州Tcl移动通信有限公司 Method and system for automatically switching to driving mode based on intelligent wearable device

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6357003B2 (en) * 2014-04-17 2018-07-11 株式会社Nttドコモ Driving support wearable terminal, driving support server, and driving support method
KR20150130818A (en) * 2014-05-14 2015-11-24 엘지전자 주식회사 Mobile terminal and method for controlling the same
CN104516479A (en) * 2014-12-08 2015-04-15 广东欧珀移动通信有限公司 Mobile equipment power saving control method, equipment and system
CN105813005A (en) * 2014-12-29 2016-07-27 中国移动通信集团公司 Method for realizing vehicle-borne reminding, device and terminal
CN104580744B (en) * 2015-01-29 2017-06-20 深圳酷派技术有限公司 The control method of terminal, the control device of terminal and terminal

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102857614A (en) * 2012-09-19 2013-01-02 上海斐讯数据通信技术有限公司 Mobile terminal with automatic call barring system and automatic call barring method
CN104731336A (en) * 2015-03-27 2015-06-24 百度在线网络技术(北京)有限公司 Application method and device of mobile terminal suitable for set scene
WO2016200076A1 (en) * 2015-06-08 2016-12-15 삼성전자 주식회사 Portable electronic device and operating method therefor
CN105959021A (en) * 2016-05-31 2016-09-21 深圳市元征科技股份有限公司 Vehicle-mounted diagnosis processing method and terminal based on wearable equipment
CN106339083A (en) * 2016-08-19 2017-01-18 惠州Tcl移动通信有限公司 Method and system for automatically switching to driving mode based on intelligent wearable device

Also Published As

Publication number Publication date
CN110462554A (en) 2019-11-15

Similar Documents

Publication Publication Date Title
AU2018275436B2 (en) Application display method and related products
CN108665678B (en) Rescue requesting method and device
WO2018058738A1 (en) Method and terminal for displaying current geographical location on emergency call interface
CN107710724B (en) Method of controlling display, electronic device, and computer-readable recording medium
US20200125229A1 (en) Display Processing Method and Apparatus
US10897531B2 (en) Message obtaining method and apparatus
CN108447472A (en) Voice awakening method and device
CN108777731B (en) Key configuration method and device, mobile terminal and storage medium
KR20170019127A (en) Method for controlling according to state and electronic device thereof
CN107592615B (en) Positioning method and device
US11059438B2 (en) Vehicle on-boarding recognition method and electronic device implementing same
CN104238900B (en) A kind of page positioning method and device
CN105526944B (en) Information cuing method and device
US20160147279A1 (en) Mobile device
KR20180059191A (en) Electronic device, external electronic device and method for connecting between electronic device and external electronic device
CN111477334A (en) Target area reminding method and electronic equipment
WO2019095155A1 (en) Fatigue notification method and terminal
CN107918517B (en) Screen rotation response method and device, mobile terminal and storage medium
AU2018407274B2 (en) Fingerprint enrollment method and terminal
CN106527846A (en) Displaying method, displaying device and terminal equipment
CN109246595A (en) Method of locating terminal, mobile terminal and computer readable storage medium
WO2018184175A1 (en) Terminal control method and device
KR102553573B1 (en) Electronic device and method for detecting touch input of the same
CN108228275B (en) Application program control method and device, mobile terminal and computer readable medium
CN108769093B (en) Push method and device for software application store and mobile terminal

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 17904711

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 17904711

Country of ref document: EP

Kind code of ref document: A1