WO2019015556A1 - Terminal motion state analysis method, mobile terminal and readable storage medium - Google Patents
Terminal motion state analysis method, mobile terminal and readable storage medium Download PDFInfo
- Publication number
- WO2019015556A1 WO2019015556A1 PCT/CN2018/095858 CN2018095858W WO2019015556A1 WO 2019015556 A1 WO2019015556 A1 WO 2019015556A1 CN 2018095858 W CN2018095858 W CN 2018095858W WO 2019015556 A1 WO2019015556 A1 WO 2019015556A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- motion
- terminal
- data
- state
- acceleration
- Prior art date
Links
Images
Classifications
-
- G—PHYSICS
- G16—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR SPECIFIC APPLICATION FIELDS
- G16Z—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR SPECIFIC APPLICATION FIELDS, NOT OTHERWISE PROVIDED FOR
- G16Z99/00—Subject matter not provided for in other main groups of this subclass
Definitions
- the present invention relates to the field of communications, and in particular, to a terminal motion state analysis method, a mobile terminal, and a readable storage medium.
- the main object of the present invention is to provide a method for analyzing a state of motion of a terminal, which aims to solve the problem that the motion state of the terminal cannot be accurately determined when the motion sensor of the low price is judged.
- the present invention provides a terminal motion state analysis method, and the terminal motion state analysis method includes the following steps:
- the motion state of the terminal is determined according to the comparison state of the acceleration standard deviation and the back noise value and the duration corresponding to the comparison state.
- the step of pre-processing the motion data to obtain valid motion data includes:
- the collected motion data is separately and once differentiated. If the absolute value of the differential result is greater than the preset maximum effective value, it is determined that the collected motion data is invalid data: if the absolute value of the differential result is less than or equal to the preset The maximum effective value determines that the collected motion data is valid data:
- Each vector data in the valid data is converted into scalar data by a preset conversion method, and the scalar data is used as effective motion data.
- the step of converting each vector data in the valid data into scalar data by using a preset conversion method, and using the scalar data as the effective motion data further includes:
- the acceleration is less than the preset minimum threshold after being greater than the preset maximum value, it is determined that the motion state of the terminal is an emergency event state.
- the step of obtaining the acceleration standard deviation of the terminal in the effective motion effect data, and calculating the back noise value of the terminal by the acceleration standard deviation includes:
- the current time back noise value is obtained by multiplying the back noise value of the previous time and the subtracted transition coefficient by the product of the acceleration standard deviation and the transition coefficient, wherein the transition coefficient determines the influence of the acceleration standard deviation on the current time back noise value, wherein
- the initial back noise value is a preset value.
- the step of the current time back noise value obtained by multiplying the back noise value of the previous time and the subtracted transition coefficient by the product of the acceleration standard deviation and the transition coefficient comprises:
- the BackgroundNoise old is the unupdated back noise value, the initial value is 0.1; StdDev(acc) is the standard deviation of the acceleration, k is the transition coefficient of the back noise value, the initial value is 0.05, and the value range is [O, l], BackgroundNoise new is the updated back noise value.
- the step of determining the motion state of the terminal according to the comparison state of the acceleration standard deviation and the back noise value and the duration corresponding to the comparison state includes:
- the terminal movement state After determining that the terminal is in the moving state, if the comparison state of the acceleration standard deviation and the back noise value satisfies the preset end threshold value, and the duration of the end threshold value is greater than the preset end threshold time, it is determined that the terminal movement state ends.
- the method further includes:
- the current terminal After determining that the current state of motion is satisfied, if the comparison state of the acceleration standard deviation and the back noise value satisfies the preset artificial motion threshold value, and the duration of the artificial motion threshold value is greater than the preset artificial motion critical time, the current terminal is determined. The state of motion is artificially taken away.
- the comparison state of the acceleration standard deviation and the back noise value meets a preset movement threshold value:
- the comparison state of the acceleration standard deviation and the back noise value satisfies a preset artificial motion threshold value, and the duration of the artificial motion threshold value is greater than the preset artificial motion critical time:
- StdDev(acc) is the standard deviation of acceleration
- BackgroundNoise is the calculated back noise value
- n1, n2, and n3 are comparison coefficients
- the magnitude relationship is n3>n2>n1
- min.threshold movement is the preset minimum moving threshold.
- Time movement is the duration.
- the present invention further provides a mobile terminal, the mobile terminal comprising: a memory, a processor, and a terminal motion state analysis program stored on the memory and operable on the processor, The steps of the terminal motion state analysis method as described above are implemented when the terminal motion state analysis program is executed by the processor.
- the present invention further provides a computer readable storage medium, where the terminal motion state analysis program is stored, and the terminal motion state analysis program is implemented by the processor as described above. The steps of the terminal motion state analysis method.
- motion data is collected by a relatively inexpensive three-axis sensor, and the effective data in the motion data is refined through filtering in multiple steps. Moreover, the motion data in the dynamic background can be processed, thereby eliminating the negative influence of the motion of the dynamic background on the operation result, and the calculation accuracy of the terminal is greatly improved. Achieving the need to accurately determine the state of motion of the terminal at a low cost.
- FIG. 1 is a schematic structural diagram of a terminal in a hardware operating environment according to an embodiment of the present invention
- FIG. 2 is a schematic flowchart of a first embodiment of a method for analyzing a motion state of a terminal according to the present invention
- FIG. 3 is a schematic flow chart of the steps of the S10 in FIG. 2;
- FIG. 4 is a schematic flow chart of a second embodiment of a method for analyzing a motion state of a terminal according to the present invention.
- FIG. 5 is a schematic flowchart diagram of a third embodiment of a method for analyzing a motion state of a terminal according to the present invention.
- FIG. 1 is a schematic structural diagram of a terminal in a hardware operating environment according to an embodiment of the present invention.
- the terminal of the embodiment of the present invention may be a portable device and a wearable device PC, or may be a smart phone, a tablet computer, an e-book reader, and a MP3 (Moving Picture Experts Group Audio Layer III) player.
- MP4 Moving Picture Experts Group Audio Layer IV
- MP3 Motion Picture Experts Group Audio Layer III
- MP4 is a portable terminal device with a display function such as a player or a portable computer.
- the terminal may include a processor 1001, such as a CPU, a network interface 1004, a user interface 1003, a memory 1005, and a communication bus 1002.
- the communication bus 1002 is used to implement connection communication between these components.
- the user interface 1003 can include a display, an input unit such as a keyboard, and the optional user interface 1003 can also include a standard wired interface, a wireless interface.
- the network interface 1004 can optionally include a standard wired interface, a wireless interface (such as a WI-FI interface).
- the memory 1005 may be a high speed RAM memory or a non-volatile memory such as a disk memory.
- the memory 1005 can also optionally be a storage device independent of the aforementioned processor 1001.
- the terminal may further include a camera, an RF (Radio Frequency) circuit, a sensor, an audio circuit, a Bluetooth, a WiFi module, and the like.
- sensors such as light sensors, motion sensors, and other sensors.
- the light sensor may include an ambient light sensor and a proximity sensor, wherein the ambient light sensor may adjust the brightness of the display according to the brightness of the ambient light, and the proximity sensor may turn off the display and/or when the mobile terminal moves to the ear. Backlighting.
- the gravity acceleration sensor can detect the magnitude of acceleration in each direction (usually three axes), and can detect the magnitude and direction of gravity when stationary, and can be used to identify the posture of the mobile terminal (such as horizontal and vertical screen switching, Related games, magnetometer attitude calibration), vibration recognition related functions (such as pedometer, tapping), etc.; of course, the mobile terminal can also be equipped with other sensors such as gyroscope, barometer, hygrometer, thermometer, infrared sensor, etc. No longer.
- terminal structure shown in FIG. 1 does not constitute a limitation to the terminal, and may include more or less components than those illustrated, or a combination of certain components, or different component arrangements.
- a memory 1005 as a computer storage medium may include an operating system, a network communication module, a user interface module, and a terminal motion state analysis program.
- the network interface 1004 is mainly used to connect to the background server and perform data communication with the background server;
- the user interface 1003 is mainly used to connect the client (user end), and perform data communication with the client;
- the processor 1001 can be used to call the terminal motion state analysis program stored in the memory 1005 and perform the following operations:
- the motion state of the terminal is analyzed, and the motion state analysis of the terminal includes the following steps:
- the motion state of the terminal is determined according to the comparison state of the acceleration standard deviation and the back noise value and the duration corresponding to the comparison state.
- processor 1001 may call the motion state of the terminal stored in the memory 1005 to analyze the application, and further perform the following operations:
- the step of pre-processing the motion data to obtain valid motion data includes:
- the collected motion data is separately and once differentiated. If the absolute value of the differential result is greater than the preset maximum effective value, it is determined that the collected motion data is invalid data; if the absolute value of the differential result is less than or equal to the preset The maximum effective value determines that the collected motion data is valid data:
- Each vector data in the valid data is converted into scalar data by a preset conversion method, and the scalar data is used as effective motion data.
- a first embodiment of the present invention provides a terminal motion state analysis method, where the terminal motion state analysis method includes the following steps:
- Step S1O acquiring motion data collected by a motion sensor of the terminal, and pre-processing the motion data to obtain valid motion data;
- Step S20 obtaining an acceleration standard deviation of the terminal in the effective motion effect data, and calculating a back noise value of the terminal by the acceleration standard deviation;
- Step S30 determining the motion state of the terminal according to the comparison state of the acceleration standard deviation and the back noise value and the duration corresponding to the comparison state.
- the terminal collects the motion information by using the motion sensor, and filters the motion data, and filters invalid data such as erroneous data and emergency event data in the motion data by using a preset filtering algorithm to obtain effective motion data.
- data After the valid data is obtained, the acceleration in the valid data is obtained, and the standard deviation of the acceleration is calculated. After obtaining the standard deviation of the acceleration, the back noise value of the dynamic environment is calculated according to the corresponding calculation formula.
- the back noise value is a parameter, which is calculated from the standard deviation of the acceleration according to the back noise value calculation formula, and is used to describe the motion state of the environment. After the back noise value is obtained, the back noise value is compared with the standard deviation of the acceleration, and whether the terminal is in motion state can be determined whether the comparison relationship between the two meets the preset correspondence relationship.
- the motion sensor collects motion data
- some of the data is more or less invalid data for various reasons.
- the quality, environment, design and other factors of the motion sensor chip may cause invalid data in the output motion data.
- Well-designed, sensitive sports high-quality sensors are expensive, and the use of expensive motion sensors in the civilian sector leads to a significant increase in costs and an increase in the price of the final product, which is not beneficial to both the enterprise and the user. Case.
- the back noise value is calculated based on the standard deviation of the acceleration.
- the back noise value is the amount used to describe the motion in the current dynamic environment. For example, in the subway, the subway itself is sporty, and the terminal will have the same movement as the subway on the subway. Although the motion data brought by the subway motion is not invalid data, the motion data brought by the subway is not the motion of the terminal itself. Therefore, when calculating and analyzing the motion state of the terminal, the motion data brought by the motion of the dynamic environment such as the subway will Influencing and interfering with the conclusions reached.
- the back noise value changes as the acceleration changes. Because the motion of the dynamic environment is also changing, the acceleration caused by it also changes, so the back noise value needs to be updated in real time, so as to more accurately describe the motion data of the dynamic environment.
- the back noise value of the current dynamic environment is calculated from the standard deviation of the acceleration.
- the back noise value is the amount describing the current environmental motion data. For example, in the subway environment, the back noise value describes the motion of the subway.
- the acceleration standard deviation is compared with the back noise value, and the motion state of the terminal is judged according to the comparison relationship between the two.
- the comparison relationship between the two conditions satisfies the condition of the terminal movement, it is determined that the terminal is in the moving state, and when the motion state duration of the terminal satisfies the determination of the continuous movement (in the duration, if the stop condition is satisfied, the subsequent judgment is terminated, and the determination is made.
- the terminal movement has been stopped), and whether the comparison relationship between the acceleration standard deviation and the back noise value satisfies the comparison relationship of the artificial motion (because the invention is mainly used in the anti-theft field, the human movement refers to the human being to steal and take away), if When the two satisfy the comparison relationship of the artificial motion, it is determined that the terminal is artificially moved.
- the invention collects the motion data of the terminal through the motion sensor installed in the terminal, analyzes and filters the data through the main control chip, and achieves the purpose of judging the motion state of the terminal, thereby realizing the function of theft prevention of the terminal.
- a relatively inexpensive sensor such as a three-axis sensor can be used without using an expensive and precise motion sensor such as a six-axis sensor, thereby greatly reducing the manufacturing cost of the terminal.
- the present invention performs multiple filtering processing on the motion data collected by the motion sensor by the algorithm, and the data caused by the hardware problem, the instantaneous large-scale change data of the sudden situation, and the like.
- the present invention can filter motion data in a dynamic environment by an algorithm to eliminate adverse effects of environmental factors on analysis and judgment.
- the invention adopts a low-cost motion sensor, so the manufacturing cost is low, and the invalid data is removed by filtering multiple motion data, the adverse effects brought by the low-cost sensor are eliminated, and the accurate judgment can be made in the dynamic environment. The accuracy of the judgment and the user experience when the user is using.
- the step of pre-processing the motion data in step S10 to obtain valid motion data includes:
- Step S11 performing the first and second differentiation on the collected motion data respectively. If the absolute value of the differential result is greater than the preset maximum effective value, determining that the collected motion data is invalid data; if the absolute value of the differential result is less than or equal to The preset maximum effective value determines that the collected motion data is valid data:
- Step S12 converting each vector data in the valid data into scalar data by using a preset conversion method, and using the scalar data as effective motion data.
- the acceleration in the motion data is first differentiated, and the acceleration changes with time.
- the acceleration of human motion referring to the motion caused by the body itself without using external force and equipment
- the limit of the acceleration variation with time is defined as the theoretical maximum.
- the change of the acceleration with time is greater than the theoretical maximum value, it means that the acceleration change is abnormal or non-human, so that all the data exceeding the theoretical maximum value of the acceleration over time is determined as invalid data.
- the second differential of acceleration is continued, and the second differential is used to prevent data overflow.
- the invention filters the data through the human limit of the motion data, the storage rule of the device, filters the invalid data collected by the motion sensor to obtain valid data, and then uses the simple conversion to move the motion data in all directions in the effective data. From vector to scalar, effective motion data is obtained, and effective motion data can greatly simplify subsequent calculation and analysis and obtain higher accuracy.
- step S12 the method further includes:
- Step S13 when it is detected that the acceleration in the effective motion data is greater than a preset maximum threshold, detecting whether the acceleration is less than a preset minimum threshold after being greater than the preset maximum value:
- step S14 if the acceleration is less than the preset minimum threshold after being greater than the preset maximum value, it is determined that the motion state of the terminal is an emergency event state.
- the motion data of the unexpected situation is not invalid data, but it has the effect of interference for the final analysis and calculation, so it is necessary to make an emergency.
- the motion data is filtered. Sudden events such as sudden accidental falling of an object, being in a vehicle, sudden sudden braking or rapid acceleration of the vehicle, and the like.
- the characteristics of emergencies in the motion data are: the acceleration changes in two very short periods of time and very large changes. In short, it is detected that the acceleration suddenly increases and reaches a very large value (greater than the pre- Set the maximum value), then the acceleration becomes a very large value in the opposite direction (less than the preset minimum).
- the motion law of the effective motion data is consistent with the law of the sudden motion, so that the motion state of the terminal at this time is determined to be a sudden motion.
- the present invention will filter the case where the motion data caused by the unexpected situation fluctuates greatly.
- the terminal motion caused by the sudden situation has obvious characteristics of the motion data, and the analysis of such motion data does not bring benefits to the purpose of the terminal for theft prevention, etc., so the motion data of such sudden motion motion is Filtering further simplifies the subsequent calculations and analysis steps.
- the movement characteristics of the emergency have certain similarities with the characteristics of the human movement, the meaning is different (the artificial possibility is that the sudden movement is not the risk of theft before being stolen), so the movement of the sudden movement Data filtering can improve the accuracy of judging the state of motion of the terminal.
- the step of acquiring the acceleration standard deviation of the terminal in the effective motion effect data, and calculating the back noise value of the terminal by the acceleration standard deviation includes:
- Step S21 the current time back noise value is obtained by multiplying the back noise value of the previous time plus the product standard deviation of the acceleration and the subtracted transition coefficient and the transition coefficient, wherein the transition coefficient determines the acceleration standard deviation to the current time back noise value. Effect, where the initial back noise value is the preset value.
- the back noise value changes according to the motion data of the dynamic environment, and the date of updating the current dynamic environment back noise value in real time has been reached.
- the influence of the acceleration standard deviation on the current time back noise value is determined by the transition coefficient, wherein the acceleration standard deviation refers to the acceleration standard deviation at the current time.
- the back noise value is calculated from the standard deviation of the acceleration obtained in the effective motion data.
- the back noise value is an amount used to describe the motion state of the dynamic environment, and the back noise value is also updated in real time to adapt to the change of the motion state of the dynamic environment, ensuring that the back noise value can accurately perform the motion state of the dynamic environment. description.
- the back noise value will form a new baseline with the initial baseline.
- the baseline is a scale parameter or mark in the calculation, and in the present invention, the initial baseline for judging the motion state of the terminal is a stationary state, that is, the baseline is at a stationary state, but in the actual calculation, when in a dynamic environment, the dynamic environment
- the motion data is collected by the motion sensor of the terminal, causing interference in the calculation.
- Adding the back noise value to the baseline solves this problem by adding motion data from the dynamic environment to the baseline, depending on the dynamic environment. By calculating the back noise value of the dynamic environment, the error of the motion data detected in the dynamic environment is solved, and the accuracy of the analysis of the motion state of the terminal is improved.
- step S21 includes:
- Step S211 calculating a back noise value of the terminal according to the following formula, where the formula is:
- the BackgroundNoise old is the unupdated back noise value, the initial value is 0.1; StdDev(acc) is the standard deviation of the acceleration, k is the transition coefficient of the back noise value, the initial value is 0.05, and the value range is [O, l], BackgroundNoise new is the updated back noise value.
- the calculation formula of the back noise value is as shown above, wherein BackgroundNoise old is an unupdated back noise value, and the initial value is 0.05 (ie, the environment is a stationary state).
- StdDev(acc) is the standard deviation of acceleration, and the acceleration is obtained from the effective motion data.
- the transition coefficient k is used to determine the transition relationship between the current environment dynamic environment and the dynamic environment of the past time. When k is the minimum value, the current environmental back noise value is the same as the past time noise value; and when k takes the maximum value, the current time
- the back noise value has the least dependence on the back noise value in the past, which can be understood as the current back noise value as a new back noise value.
- the value of k is related to the comparison of the back noise value and the effective motion data.
- the transition coefficient k enables the back noise value to transition from the old environment to the new environment more smoothly when the environment changes.
- the step of determining the motion state of the terminal according to the comparison state of the acceleration standard deviation and the back noise value and the duration corresponding to the comparison state includes:
- Step S31 when it is detected that the comparison state of the acceleration standard deviation and the back noise value meets the preset movement threshold, it is determined that the terminal is currently in the moving state;
- Step S311 after determining that the terminal is in the moving state, if the comparison state of the acceleration standard deviation and the back noise value satisfies the preset end threshold value, and the duration of the end threshold value is greater than the preset end critical time, determining the terminal movement state End.
- the comparison relationship between the acceleration standard deviation and the back noise value is greater than the preset movement threshold, it is determined whether the terminal is in a moving state, and the moving state indicates that the terminal currently has a significant displacement. After determining that the terminal is in the moving state, the mobile state is continuously monitored. When the comparison between the acceleration standard deviation and the back noise value is less than the preset end threshold, that is, the end condition is satisfied, it is determined that the mobile state of the terminal ends.
- the motion state of the terminal it is first determined whether the terminal is in a moving state. After determining that the terminal is in the mobile terminal, it is specifically determined whether the current motion is an artificially taken away motion. Therefore, a certain acceleration or speed condition is satisfied, and it is determined that the terminal is in a moving state. However, if the mobile terminal has a very short duration (less than a preset time) in the moving state or the motion data such as acceleration rapidly decreases (the comparison between the acceleration standard deviation and the back noise value is less than the preset end threshold), then It indicates that the terminal has made a short and small displacement, and the tiny displacement does not match the characteristics of the artificial take-off movement. Therefore, the motion whose duration is less than the critical time of motion is not the movement taken by man.
- the motion state of the terminal is judged by the comparison relationship between the acceleration standard deviation and the back noise value, and the minute motion that does not satisfy the artificial motion condition can be excluded, the operation is simple, and the result accuracy is high. Further, referring to FIG. 5, after step S31, the method further includes:
- Step S312 after determining that the current state of being moved, if the comparison state of the acceleration standard deviation and the back noise value satisfies the preset artificial motion threshold value, and the duration of the artificial motion threshold value is greater than the preset artificial motion critical time, then determining The current state of motion of the terminal is artificially taken away.
- the terminal After the terminal maintains the moving state, it is determined whether the motion of the terminal is caused by the human motion.
- the laws of human movement when walking or running, the movement has obvious laws (for example, when walking, the acceleration of the foot is higher when the step is raised, and the acceleration is smaller when the foot is stepping down. Therefore, the acceleration is also uniformly changed) and is continued.
- the characteristics of human motion it is judged whether the terminal is in the motion state of artificial motion by comparing the standard deviation of acceleration with the value of back noise.
- the terminal satisfies the motion state of the human motion, detecting the duration of the state of the human motion, and if the duration also satisfies the preset condition (greater than the motion critical time), determining that the current motion state of the terminal is artificial motion status.
- the main purpose of the present invention is for theft prevention of the terminal, so the detection of the motion state of the terminal is also based on the characteristics of theft, and it is judged whether it is moved (his stolen) ⁇ judging whether it is a human movement (the criminals carrying the terminal after theft escape) . Therefore, after being in a moving state, it is necessary to detect whether or not to perform an artificial exercise. It is still judged by the comparison between the standard deviation of the acceleration and the back noise value. When the comparison relationship between the two is greater than the artificial motion threshold and the duration of the artificial motion threshold is greater than the preset artificial motion critical time, the terminal motion state is artificial. Movement state.
- the standard state of the acceleration can be used to judge the motion state of the terminal, and the principle is simple and the work efficiency is high.
- the comparison state of the acceleration standard deviation and the back noise value satisfies a preset artificial motion threshold value, and the duration of the artificial motion threshold value is greater than the preset artificial motion critical time:
- StdDev(acc) is the standard deviation of acceleration
- BackgroundNoise is the calculated back noise value
- n1, n2, and n3 are comparison coefficients
- the magnitude relationship is n3>n2>n1
- min.threshold movement is the preset minimum moving threshold.
- Time movement is the duration.
- the acceleration standard deviation is greater than the movement threshold (composed of the product of the comparison coefficient n1 and the back noise value) and is greater than the lowest movement threshold to determine the movement, wherein the comparison coefficient n1 is preset
- the initial value is 3; when it is judged whether the moving state is over, the acceleration standard deviation is smaller than the ending critical value (composed of the product of the comparison coefficient n2 and the back noise value) and is greater than the lowest moving threshold to determine the movement, wherein the comparison coefficient n2 is preset
- the initial value is 1.5; when judging whether the terminal is in the artificial motion state, the artificial standard value of the acceleration standard deviation is greater than the artificial motion threshold (composed of the product of the comparison coefficient n3 and the back noise value) and the duration of the comparison relationship is more than 3 seconds, wherein
- the comparison coefficient n3 presets an initial value of 4.
- N1, n2, and n3 can be adjusted according to the actual situation of the terminal and the environment to adapt to various situations.
- the conditions required for the conclusion are very simple (only need to obtain motion data), and the operation is fast (the formula is simple, no complicated operation). Therefore, the motion state of the terminal can be quickly detected, which has great significance for the use of theft prevention and the like.
- an embodiment of the present invention further provides a computer readable storage medium, where the terminal readable state analysis program is stored, and when the terminal motion state analysis program is executed by the processor, the following operations are implemented:
- the invention also provides a mobile terminal for analyzing terminal motion state.
- the mobile terminal for analyzing the motion state of the base terminal of the present invention comprises: a memory, a processor, and a terminal motion state analysis program stored on the memory and operable on the processor, wherein the terminal motion state analysis program is processed by the terminal.
- the terminal motion state analysis method steps as described above are implemented when the device is executed.
- embodiments of the present invention also provide a computer readable storage medium.
- the computer readable storage medium of the present invention stores a terminal motion state analysis program, and the terminal motion state analysis program is executed by the processor to implement the steps of the terminal motion state analysis method as described above.
- portions of the technical solution of the present invention that contribute substantially or to the prior art may be embodied in the form of a software product stored in a storage medium (such as a ROM/RAM as described above). , a disk, an optical disk, including a number of instructions for causing a terminal device (which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to perform the methods described in various embodiments of the present invention.
- a terminal device which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.
Landscapes
- Measurement Of The Respiration, Hearing Ability, Form, And Blood Characteristics Of Living Organisms (AREA)
- Telephone Function (AREA)
Abstract
Disclosed in the present invention are a terminal motion state analysis method, a mobile terminal and a readable storage medium. The terminal motion state analysis method comprises the following steps: acquiring motion data collected by a motion sensor of a terminal and pre-processing the motion data to obtain effective motion data; obtaining an acceleration standard deviation of the terminal in the effective motion data and calculating to obtain a background noise value of the terminal according to the acceleration standard deviation; and determining the motion state of the terminal according to a comparison state of the acceleration standard deviation and the background noise value and a time of duration corresponding to the comparison state. The method can precisely determine the motion state of a terminal by means of a simple device, and therefore can play a significant role in the field of burglary prevention of terminals.
Description
本发明涉及通信领域,尤其涉及一种终端运动状态分析方法、移动终端及可读存储介质。The present invention relates to the field of communications, and in particular, to a terminal motion state analysis method, a mobile terminal, and a readable storage medium.
随着运动传感器的发展,人们通过运动传感器可以获取到越来越多以及更加精确相关运动信息数据,并且通过对获取到的运动信息数据进行计算和分析,进而能够获得对应运动状态的信息,由此发展而成的防盗等相关技术也越发成熟。With the development of motion sensors, people can obtain more and more accurate related motion information data through motion sensors, and by calculating and analyzing the acquired motion information data, information about the corresponding motion state can be obtained. This development of anti-theft and other related technologies is also becoming more mature.
但是由于能够获取到非常精确的运动信息的传感器,往往价格不芋,从而使得相应的装置和设备的价格也水涨船高。但是由简单的传感器进行运动信息的采集往往只能得到较少的数据,而较少的数据会导致计算结果准确率低等不良结果。However, because of the ability to obtain very accurate motion information, the price is often unsatisfactory, so that the price of the corresponding devices and equipment is also rising. However, the collection of motion information by simple sensors often only results in less data, while less data leads to poor results such as low accuracy of calculation results.
发明内容Summary of the invention
本发明的主要目的在于提供一种终端运动状态分析方法,旨在解决通过低价格的运动传感器判断终端运动状态时无法准确判断的问题。The main object of the present invention is to provide a method for analyzing a state of motion of a terminal, which aims to solve the problem that the motion state of the terminal cannot be accurately determined when the motion sensor of the low price is judged.
为实现上述目的,本发明提供一种终端运动状态分析方法,所述终端运动状态分析方法包括以下步骤:To achieve the above objective, the present invention provides a terminal motion state analysis method, and the terminal motion state analysis method includes the following steps:
获取终端的运动传感器采集到的运动数据,对所述运动数据进行预处理以得到有效运动数据;Obtaining motion data collected by a motion sensor of the terminal, and pre-processing the motion data to obtain valid motion data;
获取有效运动效数据中终端的加速度标准差,并由加速度标准差计算得出终端的背噪值;Obtaining the acceleration standard deviation of the terminal in the effective motion effect data, and calculating the back noise value of the terminal by the acceleration standard deviation;
根据加速度标准差和背噪值的比较状态以及比较状态对应的持续时间,确定终端的运动状态。The motion state of the terminal is determined according to the comparison state of the acceleration standard deviation and the back noise value and the duration corresponding to the comparison state.
可选地,所述对所述运动数据进行预处理以得到有效运动数据的步骤包 括:Optionally, the step of pre-processing the motion data to obtain valid motion data includes:
对采集到的运动数据分别进行一次和两次微分,若微分结果的绝对值大于预设的最大有效值,则判定采集的运动数据为无效数据:若微分结果的绝对值小于或等于预设的最大有效值,则判定采集的运动数据为有效数据:The collected motion data is separately and once differentiated. If the absolute value of the differential result is greater than the preset maximum effective value, it is determined that the collected motion data is invalid data: if the absolute value of the differential result is less than or equal to the preset The maximum effective value determines that the collected motion data is valid data:
将所述有效数据中各矢量数据通过预设转换方法转换成标量数据,将该标量数据作为有效运动数据。Each vector data in the valid data is converted into scalar data by a preset conversion method, and the scalar data is used as effective motion data.
可选地,所述将所述有效数据中各矢量数据通过预设转换方法转换成标量数据,将该标量数据作为有效运动数据的步骤之后还包括:Optionally, the step of converting each vector data in the valid data into scalar data by using a preset conversion method, and using the scalar data as the effective motion data further includes:
当检测到有效运动数据中加速度大于预设最大临界值时,则检测在大于预设最大值后加速度是否小于预设最小临界值;When detecting that the acceleration in the effective motion data is greater than a preset maximum threshold, detecting whether the acceleration is less than a preset minimum threshold after being greater than the preset maximum value;
若在大于预设最大值后加速度小于预设最小临界值,则判定终端的运动状态为突发事件状态。If the acceleration is less than the preset minimum threshold after being greater than the preset maximum value, it is determined that the motion state of the terminal is an emergency event state.
可选地,所述获取有效运动效数据中终端的加速度标准差,并由加速度标准差计算得出终端的背噪值的步骤包括:Optionally, the step of obtaining the acceleration standard deviation of the terminal in the effective motion effect data, and calculating the back noise value of the terminal by the acceleration standard deviation includes:
当前时刻背噪值由上一时刻的背噪值与一减去过渡系数的乘积加上加速度标准差与过渡系数的乘积得到,其中过渡系数决定加速度标准差对当前时刻背噪值的影响,其中初始背噪值为预设值。The current time back noise value is obtained by multiplying the back noise value of the previous time and the subtracted transition coefficient by the product of the acceleration standard deviation and the transition coefficient, wherein the transition coefficient determines the influence of the acceleration standard deviation on the current time back noise value, wherein The initial back noise value is a preset value.
可选地,所述当前时刻背噪值由上一时刻的背噪值与一减去过渡系数的乘积加上加速度标准差与过渡系数的乘积得到的步骤包括:Optionally, the step of the current time back noise value obtained by multiplying the back noise value of the previous time and the subtracted transition coefficient by the product of the acceleration standard deviation and the transition coefficient comprises:
根据以下公式,计算得出终端的背噪值,其中公式为:Calculate the back noise value of the terminal according to the following formula, where the formula is:
BackgroundNoise
new=BackgroundNoise
old*(1-k)+StdDev(acc)*k
BackgroundNoise new =BackgroundNoise old *(1-k)+StdDev(acc)*k
其中BackgroundNoise
old为未更新的背噪值,初始值为0.1;StdDev(acc)为加速度的标准差,k为背噪值的过渡系数,初始值为0.05,取值范围为[O,l],BackgroundNoise
new为更新后的背噪值。
The BackgroundNoise old is the unupdated back noise value, the initial value is 0.1; StdDev(acc) is the standard deviation of the acceleration, k is the transition coefficient of the back noise value, the initial value is 0.05, and the value range is [O, l], BackgroundNoise new is the updated back noise value.
可选地,所述根据加速度标准差和背噪值的比较状态以及比较状态对应的持续时间,确定终端的运动状态的步骤包括:Optionally, the step of determining the motion state of the terminal according to the comparison state of the acceleration standard deviation and the back noise value and the duration corresponding to the comparison state includes:
当检测到加速度标准差与背噪值的比较状态满足预设的移动临界值时,判定终端当前处于移动状态;When it is detected that the comparison state of the acceleration standard deviation and the back noise value satisfies a preset movement threshold, it is determined that the terminal is currently in a moving state;
当判定终端处于移动状态后,若加速度标准差与背噪值的比较状态满足预设的结束临界值,且满足结束临界值的持续时间大于预设的结束临界时间,则 判定终端移动状态结束。After determining that the terminal is in the moving state, if the comparison state of the acceleration standard deviation and the back noise value satisfies the preset end threshold value, and the duration of the end threshold value is greater than the preset end threshold time, it is determined that the terminal movement state ends.
可选地,所述当判定终端处于移动状态后的步骤之后还包括:Optionally, after the step of determining that the terminal is in a moving state, the method further includes:
在判定当前处于移动状态后,若加速度标准差与背噪值的比较状态满足预设的人为运动临界值,且满足人为运动临界值的持续时间大于预设人为运动临界时间,则判定终端当前的运动状态为人为带走运动。After determining that the current state of motion is satisfied, if the comparison state of the acceleration standard deviation and the back noise value satisfies the preset artificial motion threshold value, and the duration of the artificial motion threshold value is greater than the preset artificial motion critical time, the current terminal is determined. The state of motion is artificially taken away.
可选地,所述加速度标准差与背噪值的比较状态满足预设的移动临界值为:Optionally, the comparison state of the acceleration standard deviation and the back noise value meets a preset movement threshold value:
StdDev(acc)>n1*BackgroundNoise∧StdDev(acc)>BackgroundNoise+min.threshold
movement
StdDev(acc)>n1*BackgroundNoise∧StdDev(acc)>BackgroundNoise+min.threshold movement
所述加速度标准差与背噪值的比较状态满足预设的结束临界值为:The comparison state of the acceleration standard deviation and the back noise value satisfies a preset end threshold value:
StdDev(acc)<n2*BackgroundNoise∨StdDev(acc)<BackgroundNoise+min.threshold
movement
StdDev(acc)<n2*BackgroundNoise∨StdDev(acc)<BackgroundNoise+min.threshold movement
所述加速度标准差与背噪值的比较状态满足预设的人为运动临界值,且满足人为运动临界值的持续时间大于预设人为运动临界时间为:The comparison state of the acceleration standard deviation and the back noise value satisfies a preset artificial motion threshold value, and the duration of the artificial motion threshold value is greater than the preset artificial motion critical time:
StdDev(acc)>n3*BackgroundNoise∧Time
movement>3
StdDev(acc)>n3*BackgroundNoise∧Time movement >3
其中StdDev(acc)为加速度标准差,BackgroundNoise为计算所得背噪值,n1,n2,n3为比较系数,并且大小关系为n3>n2>n1,min.threshold
movement为预设的最低移动阔值,Time
movement为持续时间。
Where StdDev(acc) is the standard deviation of acceleration, BackgroundNoise is the calculated back noise value, n1, n2, and n3 are comparison coefficients, and the magnitude relationship is n3>n2>n1, and min.threshold movement is the preset minimum moving threshold. Time movement is the duration.
此外,为实现上述目的,本发明还提供一种移动终端,所述移动终端包括:存储器、处理器及存储在所述存储器上并可在所述处理器上运行的终端运动状态分析程序,所述终端运动状态分析程序被所述处理器执行时实现如上所述终端运动状态分析方法的步骤。In addition, to achieve the above object, the present invention further provides a mobile terminal, the mobile terminal comprising: a memory, a processor, and a terminal motion state analysis program stored on the memory and operable on the processor, The steps of the terminal motion state analysis method as described above are implemented when the terminal motion state analysis program is executed by the processor.
此外,为实现上述目的,本发明还提供一种计算机可读存储介质,所述计算机可读存储介质上存储有终端运动状态分析程序,所述终端运动状态分析整程序被处理器执行时实现如上所述的终端运动状态分析方法的步骤。In addition, in order to achieve the above object, the present invention further provides a computer readable storage medium, where the terminal motion state analysis program is stored, and the terminal motion state analysis program is implemented by the processor as described above. The steps of the terminal motion state analysis method.
本发明提出的终端运动状态分析方法,通过价格较为便宜的三轴传感器进行运动数据的采集,并且通过多个步骤的过滤,将运动数据中的有效数据进行提炼。并且能够对动态背景中的运动数据进行处理,从而消除了动态背景的运动对运算结果带来的负面影响,进而使得终端的运算准确率大大提高。实现了 以低廉的成本,准确判断终端的运动状态的需求。According to the terminal motion state analysis method proposed by the present invention, motion data is collected by a relatively inexpensive three-axis sensor, and the effective data in the motion data is refined through filtering in multiple steps. Moreover, the motion data in the dynamic background can be processed, thereby eliminating the negative influence of the motion of the dynamic background on the operation result, and the calculation accuracy of the terminal is greatly improved. Achieving the need to accurately determine the state of motion of the terminal at a low cost.
图1是本发明实施例方案涉及的硬件运行环境的终端结构示意图;1 is a schematic structural diagram of a terminal in a hardware operating environment according to an embodiment of the present invention;
图2为本发明终端运动状态分析方法第一实施例的流程示意图;2 is a schematic flowchart of a first embodiment of a method for analyzing a motion state of a terminal according to the present invention;
图3为图2中SlO的步骤的细化流程示意图;3 is a schematic flow chart of the steps of the S10 in FIG. 2;
图4为本发明终端运动状态分析方法第二实施例的流程示意图;4 is a schematic flow chart of a second embodiment of a method for analyzing a motion state of a terminal according to the present invention;
图5为本发明终端运动状态分析方法第三实施例的流程示意图。FIG. 5 is a schematic flowchart diagram of a third embodiment of a method for analyzing a motion state of a terminal according to the present invention.
本发明目的的实现、功能特点及优点将结合实施例,参照附图做进一步说明。The implementation, functional features, and advantages of the present invention will be further described in conjunction with the embodiments.
为了使本发明的目的、技术方案及优点更加清楚明白,以下结合附图及实施例,对本发明进行进一步详细说明。应当理解,此处所描述的具体实施例仅仅用以解释本发明,并不用于限定本发明。The present invention will be further described in detail below with reference to the accompanying drawings and embodiments. It is understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
如图1所示,图1是本发明实施例方案涉及的硬件运行环境的终端结构示意图。As shown in FIG. 1, FIG. 1 is a schematic structural diagram of a terminal in a hardware operating environment according to an embodiment of the present invention.
本发明实施例终端可以是便携式设备和可穿戴设备PC,也可以是智能手机、平板电脑、电子书阅读器、MP3(Moving Picture Experts Group Audio LayerⅢ,动态影像专家压缩标准音频层面3)播放器、MP4(Moving Picture ExpertsGroup Audio Layer IV,动态影像专家压缩标准音频层面3)播放器、便携计算机等具有显示功能的可移动式终端设备。The terminal of the embodiment of the present invention may be a portable device and a wearable device PC, or may be a smart phone, a tablet computer, an e-book reader, and a MP3 (Moving Picture Experts Group Audio Layer III) player. MP4 (Moving Picture Experts Group Audio Layer IV) is a portable terminal device with a display function such as a player or a portable computer.
如图1所示,该终端可以包括:处理器1001,例如CPU,网络接口1004,用户接口1003,存储器1005,通信总线1002。其中,通信总线1002用于实现这些组件之间的连接通信。用户接口1003可以包括显示屏(Display)、输入单元比如键盘(Keyboard),可选用户接口1003还可以包括标准的有线接口、无线接口。网络接口1004可选的可以包括标准的有线接口、无线接口(如WI-FI接口)。存储器1005可以是高速RAM存储器,也可以是稳定的存储器(non-volatile memory),例如磁盘存储器。存储器1005可选的还可以是独立于前述处理器1001的存储装置。As shown in FIG. 1, the terminal may include a processor 1001, such as a CPU, a network interface 1004, a user interface 1003, a memory 1005, and a communication bus 1002. Among them, the communication bus 1002 is used to implement connection communication between these components. The user interface 1003 can include a display, an input unit such as a keyboard, and the optional user interface 1003 can also include a standard wired interface, a wireless interface. The network interface 1004 can optionally include a standard wired interface, a wireless interface (such as a WI-FI interface). The memory 1005 may be a high speed RAM memory or a non-volatile memory such as a disk memory. The memory 1005 can also optionally be a storage device independent of the aforementioned processor 1001.
可选地,终端还可以包括摄像头、RF(Radio Frequency,射频)电路, 传感器、音频电路、蓝牙、WiFi模块等等。其中,传感器比如光传感器、运动传感器以及其他传感器。具体地,光传感器可包括环境光传感器及接近传感器,其中,环境光传感器可根据环境光线的明暗来调节显示屏的亮度,接近传感器可在移动终端移动到耳边时,关闭显示屏和/或背光。作为运动传感器的一种,重力加速度传感器可检测各个方向上(一般为三轴)加速度的大小,静止时可检测出重力的大小及方向,可用于识别移动终端姿态的应用(比如横竖屏切换、相关游戏、磁力计姿态校准)、振动识别相关功能(比如计步器、敲击)等;当然,移动终端还可配置陀螺仪、气压计、湿度计、温度计、红外线传感器等其他传感器,在此不再赘述。Optionally, the terminal may further include a camera, an RF (Radio Frequency) circuit, a sensor, an audio circuit, a Bluetooth, a WiFi module, and the like. Among them, sensors such as light sensors, motion sensors, and other sensors. Specifically, the light sensor may include an ambient light sensor and a proximity sensor, wherein the ambient light sensor may adjust the brightness of the display according to the brightness of the ambient light, and the proximity sensor may turn off the display and/or when the mobile terminal moves to the ear. Backlighting. As a kind of motion sensor, the gravity acceleration sensor can detect the magnitude of acceleration in each direction (usually three axes), and can detect the magnitude and direction of gravity when stationary, and can be used to identify the posture of the mobile terminal (such as horizontal and vertical screen switching, Related games, magnetometer attitude calibration), vibration recognition related functions (such as pedometer, tapping), etc.; of course, the mobile terminal can also be equipped with other sensors such as gyroscope, barometer, hygrometer, thermometer, infrared sensor, etc. No longer.
本领域技术人员可以理解,图1中示出的终端结构并不构成对终端的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。It will be understood by those skilled in the art that the terminal structure shown in FIG. 1 does not constitute a limitation to the terminal, and may include more or less components than those illustrated, or a combination of certain components, or different component arrangements.
如图1所示,作为一种计算机存储介质的存储器1005中可以包括操作系统、网络通信模块、用户接口模块以及终端运动状态分析程序。As shown in FIG. 1, a memory 1005 as a computer storage medium may include an operating system, a network communication module, a user interface module, and a terminal motion state analysis program.
在图1所示的终端中,网络接口1004主要用于连接后台服务器,与后台服务器进行数据通信;用户接口1003主要用于连接客户端(用户端),与客户端进行数据通信;而处理器1001可以用于调用存储器1005中存储的终端运动状态分析程序,并执行以下操作:In the terminal shown in FIG. 1, the network interface 1004 is mainly used to connect to the background server and perform data communication with the background server; the user interface 1003 is mainly used to connect the client (user end), and perform data communication with the client; and the processor 1001 can be used to call the terminal motion state analysis program stored in the memory 1005 and perform the following operations:
在运动传感器采集到终端的运动数据时,对终端的运动状态进行分析,所述终端运动状态分析包括以下步骤:When the motion sensor collects the motion data of the terminal, the motion state of the terminal is analyzed, and the motion state analysis of the terminal includes the following steps:
获取终端的运动传感器采集到的运动数据,对所述运动数据进行预处理以得到有效运动数据;Obtaining motion data collected by a motion sensor of the terminal, and pre-processing the motion data to obtain valid motion data;
获取有效运动效数据中终端的加速度标准差,并由加速度标准差计算得出终端的背噪值;Obtaining the acceleration standard deviation of the terminal in the effective motion effect data, and calculating the back noise value of the terminal by the acceleration standard deviation;
根据加速度标准差和背噪值的比较状态以及比较状态对应的持续时间,确定终端的运动状态。The motion state of the terminal is determined according to the comparison state of the acceleration standard deviation and the back noise value and the duration corresponding to the comparison state.
进一步地,处理器1001可以调用存储器1005中存储的终端的运动状态进行分析应用程序,还执行以下操作:Further, the processor 1001 may call the motion state of the terminal stored in the memory 1005 to analyze the application, and further perform the following operations:
所述对所述运动数据进行预处理以得到有效运动数据的步骤包括:The step of pre-processing the motion data to obtain valid motion data includes:
对采集到的运动数据分别进行一次和两次微分,若微分结果的绝对值大 于预设的最大有效值,则判定采集的运动数据为无效数据;若微分结果的绝对值小于或等于预设的最大有效值,则判定采集的运动数据为有效数据:The collected motion data is separately and once differentiated. If the absolute value of the differential result is greater than the preset maximum effective value, it is determined that the collected motion data is invalid data; if the absolute value of the differential result is less than or equal to the preset The maximum effective value determines that the collected motion data is valid data:
将所述有效数据中各矢量数据通过预设转换方法转换成标量数据,将该标量数据作为有效运动数据。Each vector data in the valid data is converted into scalar data by a preset conversion method, and the scalar data is used as effective motion data.
参照图2,本发明第一实施例提供一种终端运动状态分析方法,所述终端运动状态分析方法包括以下步骤:Referring to FIG. 2, a first embodiment of the present invention provides a terminal motion state analysis method, where the terminal motion state analysis method includes the following steps:
步骤S1O,获取终端的运动传感器采集到的运动数据,对所述运动数据进行预处理以得到有效运动数据;Step S1O, acquiring motion data collected by a motion sensor of the terminal, and pre-processing the motion data to obtain valid motion data;
步骤S20,获取有效运动效数据中终端的加速度标准差,并由加速度标准差计算得出终端的背噪值;Step S20, obtaining an acceleration standard deviation of the terminal in the effective motion effect data, and calculating a back noise value of the terminal by the acceleration standard deviation;
步骤S30,根据加速度标准差和背噪值的比较状态以及比较状态对应的持续时间,确定终端的运动状态。Step S30, determining the motion state of the terminal according to the comparison state of the acceleration standard deviation and the back noise value and the duration corresponding to the comparison state.
具体地,终端通过运动传感器对运动信息进行采集,并且对运动数据进行过滤,通过预设的过滤算法将运动数据中的错误数据、突发事件数据等无效数据进行过滤,得到运动数据中的有效数据。在得到有效数据后,获取有效数据中的加速度,并且计算出加速度的标准差。在得到加速度标准差后,根据对应的计算公式,计算得出动态环境的背噪值。背噪值为一个参数,由加速度的标准差根据背噪值计算公式计算得出,用来描述环境的运动状态。获取到背噪值后,将背噪值与加速度标准差进行比较,通过两者的比较关系是否满足预设的对应关系即可判断终端是否处于运动状态。Specifically, the terminal collects the motion information by using the motion sensor, and filters the motion data, and filters invalid data such as erroneous data and emergency event data in the motion data by using a preset filtering algorithm to obtain effective motion data. data. After the valid data is obtained, the acceleration in the valid data is obtained, and the standard deviation of the acceleration is calculated. After obtaining the standard deviation of the acceleration, the back noise value of the dynamic environment is calculated according to the corresponding calculation formula. The back noise value is a parameter, which is calculated from the standard deviation of the acceleration according to the back noise value calculation formula, and is used to describe the motion state of the environment. After the back noise value is obtained, the back noise value is compared with the standard deviation of the acceleration, and whether the terminal is in motion state can be determined whether the comparison relationship between the two meets the preset correspondence relationship.
在运动传感器采集到运动数据时,其中或多或少的有一些数据是因各种原因导致的无效数据。而导致采集到的数据为无效数据的原因有很多,例如运动传感器芯片的质量、环境、设计等因素,都可能导致输出的运动数据出现无效数据。而设计精良、灵敏的运动高质量传感器则价格昂贵,在民用领域中应用价格昂贵的运动传感器会导致成本大幅度增加,最终产品的价格也随之增高,对于企业和用户而言都不是一个有利的情况。而享受价格较为便宜的运动传感器所带来价格优势时,不可避免的要面对如何从采集到的数据中过滤无效数据,提取有效数据进行后续的应用。When the motion sensor collects motion data, some of the data is more or less invalid data for various reasons. There are many reasons why the collected data is invalid data. For example, the quality, environment, design and other factors of the motion sensor chip may cause invalid data in the output motion data. Well-designed, sensitive sports high-quality sensors are expensive, and the use of expensive motion sensors in the civilian sector leads to a significant increase in costs and an increase in the price of the final product, which is not beneficial to both the enterprise and the user. Case. When enjoying the price advantage brought by the cheaper motion sensor, it is inevitable to face how to filter the invalid data from the collected data and extract the valid data for subsequent application.
在获取到运动数据中的有效数据后,计算出有效数据中的加速度标准差。根据加速度的标准差计算得出背噪值。背噪值是用以描述当前动态环境中的运 动的量。例如在地铁中,地铁本身是运动的,而终端在地铁上也会具有和地铁一样的运动。虽然地铁运动带来的运动数据并不是无效数据,但是地铁带来的运动数据也不是终端自身的运动,因此在计算与分析终端的运动状态时,地铁等动态环境的运动带来的运动数据会对得出的结论造成影响和干扰。而背噪值会随着加速度变化而变化。因为动态环境的运动也是变化的,所以带来的加速度也随之变化,因此背噪值需要进行实时的更新,从而更准确的对动态环境的运动数据进行描述。After the valid data in the motion data is acquired, the acceleration standard deviation in the valid data is calculated. The back noise value is calculated based on the standard deviation of the acceleration. The back noise value is the amount used to describe the motion in the current dynamic environment. For example, in the subway, the subway itself is sporty, and the terminal will have the same movement as the subway on the subway. Although the motion data brought by the subway motion is not invalid data, the motion data brought by the subway is not the motion of the terminal itself. Therefore, when calculating and analyzing the motion state of the terminal, the motion data brought by the motion of the dynamic environment such as the subway will Influencing and interfering with the conclusions reached. The back noise value changes as the acceleration changes. Because the motion of the dynamic environment is also changing, the acceleration caused by it also changes, so the back noise value needs to be updated in real time, so as to more accurately describe the motion data of the dynamic environment.
通过公式关系,由加速度标准差计算得出当前动态环境的背噪值,背噪值是描述当前环境运动数据的量,例如在地铁环境中,背噪值则描述地铁的运动。通过将动态环境运动数据加入到计算时的基线中,可以达到消除动态环境对终端运动状态判断的影响(例如在计算体重时,若是已经负重,则需要将负重减去,或者将负重加入到基线才能得到准确的体重数据,而不是从0开始)。将加速度标准差与背噪值进行比较,根据两者的比较关系对终端的运动状态进行判断。在两者的比较关系满足终端移动的条件时,判定终端处于移动状态,并且在终端的运动状态持续时间满足持续移动的判定时(在持续时间内,若是满足停止条件,则结束后续判断,判定终端移动己经停止),检测加速度标准差与背噪值的比较关系是否满足人为运动的比较关系(因本发明主要用于防盗领域,因此所述人为运动指人为盗取并带走),若是两者满足了人为运动的比较关系,则判定终端被人为移动。Through the formula relationship, the back noise value of the current dynamic environment is calculated from the standard deviation of the acceleration. The back noise value is the amount describing the current environmental motion data. For example, in the subway environment, the back noise value describes the motion of the subway. By adding the dynamic environment motion data to the baseline of the calculation, it is possible to eliminate the influence of the dynamic environment on the judgment of the terminal motion state (for example, when calculating the weight, if the weight is already loaded, the weight is subtracted, or the weight is added to the baseline. In order to get accurate weight data, instead of starting from 0). The acceleration standard deviation is compared with the back noise value, and the motion state of the terminal is judged according to the comparison relationship between the two. When the comparison relationship between the two conditions satisfies the condition of the terminal movement, it is determined that the terminal is in the moving state, and when the motion state duration of the terminal satisfies the determination of the continuous movement (in the duration, if the stop condition is satisfied, the subsequent judgment is terminated, and the determination is made. The terminal movement has been stopped), and whether the comparison relationship between the acceleration standard deviation and the back noise value satisfies the comparison relationship of the artificial motion (because the invention is mainly used in the anti-theft field, the human movement refers to the human being to steal and take away), if When the two satisfy the comparison relationship of the artificial motion, it is determined that the terminal is artificially moved.
本发明通过在终端中安装的运动传感器,采集终端的运动数据,在通过主控芯片对数据进行分析以及过滤,达到判断终端的运动状态的目的,从而实现终端的防盗等功能。而本发明在运动传感器的使用上,可以使用价格较为低廉的传感器,例如三轴传感器,而不需要使用六轴传感器等价格昂贵的精确的运动传感器,从而大大降低终端的制造成本。而随之带来的运动数据中的无效数据的问题,本发明通过算法对运动传感器采集到的运动数据进行多重过滤处理,将由于硬件问题导致的数据,突发情况的瞬时大幅度变化数据等无效数据过滤,将传感器带来的劣势进行补缺。并且本发明能够通过算法对动态环境中的运动数据进行过滤,以消除环境因素对分析与判断带来的不良影响。本发明由于使用价格低廉的运动传感器,因此制造成本低,而通过对运动数据多重的过滤去除无效数据,将价格低廉传感器带来的不良影响消除,并且可以在动态 环境中进行准确的判断,增加了判断的准确率以及用户在使用时的用户体验。The invention collects the motion data of the terminal through the motion sensor installed in the terminal, analyzes and filters the data through the main control chip, and achieves the purpose of judging the motion state of the terminal, thereby realizing the function of theft prevention of the terminal. However, in the use of the motion sensor of the present invention, a relatively inexpensive sensor such as a three-axis sensor can be used without using an expensive and precise motion sensor such as a six-axis sensor, thereby greatly reducing the manufacturing cost of the terminal. With the problem of invalid data in the motion data, the present invention performs multiple filtering processing on the motion data collected by the motion sensor by the algorithm, and the data caused by the hardware problem, the instantaneous large-scale change data of the sudden situation, and the like. Invalid data filtering to fill the gaps caused by the sensor. Moreover, the present invention can filter motion data in a dynamic environment by an algorithm to eliminate adverse effects of environmental factors on analysis and judgment. The invention adopts a low-cost motion sensor, so the manufacturing cost is low, and the invalid data is removed by filtering multiple motion data, the adverse effects brought by the low-cost sensor are eliminated, and the accurate judgment can be made in the dynamic environment. The accuracy of the judgment and the user experience when the user is using.
进一步地,参照图3,步骤S1O中的对运动数据进行预处理以得到有效运动数据的步骤包括:Further, referring to FIG. 3, the step of pre-processing the motion data in step S10 to obtain valid motion data includes:
步骤S11,对采集到的运动数据分别进行一次和两次微分,若微分结果的绝对值大于预设的最大有效值,则判定采集的运动数据为无效数据;若微分结果的绝对值小于或等于预设的最大有效值,则判定采集的运动数据为有效数据:Step S11, performing the first and second differentiation on the collected motion data respectively. If the absolute value of the differential result is greater than the preset maximum effective value, determining that the collected motion data is invalid data; if the absolute value of the differential result is less than or equal to The preset maximum effective value determines that the collected motion data is valid data:
步骤S12,将所述有效数据中各矢量数据通过预设转换方法转换成标量数据,将该标量数据作为有效运动数据。Step S12, converting each vector data in the valid data into scalar data by using a preset conversion method, and using the scalar data as effective motion data.
具体地,在运动传感器采集到运动数据后,对运动数据中的加速度进行第一次微分,获得加速度随时间的变化。由于人类体质存在物理极限,即人为运动(指不借助外力和设备仅仅依靠人体自身造成的运动)的加速度存在一个理论最大值,定义加速度随时间变化的极限为此理论最大值。当加速度随时间的变化大于理论最大值时,即代表其加速度变化是不正常或非人为造成的,从而把所有超出加速随时间的理论最大值时的数据判定为无效数据。在第一次微分后继续进行对加速度第二次微分,第二次微分用以防止数据溢出,由于部分运动传感器设计上的问题,其输出数据中bytes数量不足以表达该数值,便会出现数据溢出的情况。例如1byte表达整数数字最大值是127,当需要以1byte去强行表达128时,会得出-128,这种情况则成为数据溢出。发生数据溢出的特点是数据由很大的正(负)值突然一下跳到很大的负(正)值。为了算法能够在有数据溢出问题的运动传感器下正常运行,因此需对溢出的数据进行过滤。Specifically, after the motion sensor acquires the motion data, the acceleration in the motion data is first differentiated, and the acceleration changes with time. Because of the physical limit of human physique, that is, the acceleration of human motion (referring to the motion caused by the body itself without using external force and equipment) has a theoretical maximum, and the limit of the acceleration variation with time is defined as the theoretical maximum. When the change of the acceleration with time is greater than the theoretical maximum value, it means that the acceleration change is abnormal or non-human, so that all the data exceeding the theoretical maximum value of the acceleration over time is determined as invalid data. After the first differentiation, the second differential of acceleration is continued, and the second differential is used to prevent data overflow. Due to the design problem of some motion sensors, the number of bytes in the output data is insufficient to express the value, and data will appear. The situation of overflow. For example, the maximum value of a 1-byte expressed integer number is 127. When it is necessary to express 128 by 1 byte, a value of -128 is obtained, which becomes a data overflow. The characteristic of data overflow is that the data jumps suddenly from a large positive (negative) value to a large negative (positive) value. In order for the algorithm to function properly under motion sensors with data overflow problems, the overflowed data needs to be filtered.
而由于三轴传感器等目前常用的传感器所采集到的运动数据为各个运动方向的数据(三轴传感器为xyz三轴上的运动数据),而在计算时由于各方向的运动数据的方向性问题,导致计算的复杂化,因此本发明将各方向的运动数据进行转化,利用简单的公式acc
x
2+acc
y
2+acc
z
2=acc
2即可将具有方向的矢量转化为无方向的标量,使得后续的计算变得简单。
The motion data collected by the currently used sensors such as the three-axis sensor is the data of each motion direction (the three-axis sensor is the motion data on the xyz three-axis), and the directionality of the motion data in each direction is calculated. , resulting in complication of the calculation, so the present invention transforms the motion data in all directions, using a simple formula acc x 2 +acc y 2 +acc z 2 =acc 2 to convert the vector with direction into a non-directional scalar To make subsequent calculations simple.
本发明通过运动数据的人类极限,设备的储存规律,对数据进行过滤,将运动传感器采集到的无效数据进行过滤从而得到有效数据,而后又通过简单的转化,将有效数据中各个方向的运动数据由矢量转化为标量,得到有效运动数 据,而有效运动数据可使后续的续计算与分析大幅度简化并且得到的结果准确率更高。The invention filters the data through the human limit of the motion data, the storage rule of the device, filters the invalid data collected by the motion sensor to obtain valid data, and then uses the simple conversion to move the motion data in all directions in the effective data. From vector to scalar, effective motion data is obtained, and effective motion data can greatly simplify subsequent calculation and analysis and obtain higher accuracy.
进一步地,参照图3,步骤S12之后还包括:Further, referring to FIG. 3, after step S12, the method further includes:
步骤S13,当检测到有效运动数据中加速度大于预设最大临界值时,则检测在大于预设最大值后加速度是否小于预设最小临界值:Step S13, when it is detected that the acceleration in the effective motion data is greater than a preset maximum threshold, detecting whether the acceleration is less than a preset minimum threshold after being greater than the preset maximum value:
步骤S14,若在大于预设最大值后加速度小于预设最小临界值,则判定终端的运动状态为突发事件状态。In step S14, if the acceleration is less than the preset minimum threshold after being greater than the preset maximum value, it is determined that the motion state of the terminal is an emergency event state.
具体地,在使用过程中,除了无效数据外,会有许多意外情况的发生,意外情况的运动数据并不是无效数据,但是对于最终的分析与计算却有干扰的效果,因此需要将突发事件的运动数据进行过滤。突发事件例如物件意外倒下、处于交通工具中时,交通工具的突然急刹车或急加速等等。突发事件在运动数据中体现的特点为:非常短时间之内加速度变化出现两次相反而非常大的变化,简单来说,就是检测到加速度突然增加,并且达到一个非常大的值(大于预设最大值),然后加速度变成方向相反的一个非常大的值(小于预设最小值)。因此通过对有效运动数据中的加速度的变化量进行检查,当发现变化量大于预设临界值时,则进一步检测加速度在大于预设最大值后加速度是否小于预设最小临界值,若加速度在大于预设最大值后加速度小于预设最小临界值,则该有效运动数据的运动规律与突发运动的规律一致,因此判定终端此时的运动状态为突发运动。Specifically, in the process of use, in addition to invalid data, there will be many unexpected situations. The motion data of the unexpected situation is not invalid data, but it has the effect of interference for the final analysis and calculation, so it is necessary to make an emergency. The motion data is filtered. Sudden events such as sudden accidental falling of an object, being in a vehicle, sudden sudden braking or rapid acceleration of the vehicle, and the like. The characteristics of emergencies in the motion data are: the acceleration changes in two very short periods of time and very large changes. In short, it is detected that the acceleration suddenly increases and reaches a very large value (greater than the pre- Set the maximum value), then the acceleration becomes a very large value in the opposite direction (less than the preset minimum). Therefore, by checking the amount of change in the acceleration in the effective motion data, when it is found that the amount of change is greater than the preset threshold, it is further detected whether the acceleration is greater than the preset minimum threshold after the acceleration is greater than the preset maximum value, if the acceleration is greater than After the preset maximum value and the acceleration is less than the preset minimum threshold value, the motion law of the effective motion data is consistent with the law of the sudden motion, so that the motion state of the terminal at this time is determined to be a sudden motion.
在进行过对溢出以及错误数据的过滤后,本发明将过滤由意外情况引发的运动数据大幅度起伏的情况。突发情况所引起的终端运动,其运动数据的特征明显,并且对此类运动数据进行分析并不会为本发明对于终端防盗等目的带来益处,因此将此类突发运动运动的运动数据进行过滤,进一步简化后续的计算与分析的步骤。同时由于突发事件的运动特征与人为运动的特征有一定相似之处,然而意义却是不同(人为有可能是被盗前,突发运动无被盗窃风险),因此在将突发运动的运动数据过滤可以提高判断终端运动状态的准确率。After filtering the overflow and the erroneous data, the present invention will filter the case where the motion data caused by the unexpected situation fluctuates greatly. The terminal motion caused by the sudden situation has obvious characteristics of the motion data, and the analysis of such motion data does not bring benefits to the purpose of the terminal for theft prevention, etc., so the motion data of such sudden motion motion is Filtering further simplifies the subsequent calculations and analysis steps. At the same time, because the movement characteristics of the emergency have certain similarities with the characteristics of the human movement, the meaning is different (the artificial possibility is that the sudden movement is not the risk of theft before being stolen), so the movement of the sudden movement Data filtering can improve the accuracy of judging the state of motion of the terminal.
进一步地,参照图4,为本发明第二实施例,所述获取有效运动效数据中终端的加速度标准差,并由加速度标准差计算得出终端的背噪值的步骤包括:Further, referring to FIG. 4, in the second embodiment of the present invention, the step of acquiring the acceleration standard deviation of the terminal in the effective motion effect data, and calculating the back noise value of the terminal by the acceleration standard deviation includes:
步骤S21,当前时刻背噪值由上一时刻的背噪值加上加速度与一减去过渡 系数的乘积标准差与过渡系数的乘积得到,其中过渡系数决定加速度标准差对当前时刻背噪值的影响,其中初始背噪值为预设值。Step S21, the current time back noise value is obtained by multiplying the back noise value of the previous time plus the product standard deviation of the acceleration and the subtracted transition coefficient and the transition coefficient, wherein the transition coefficient determines the acceleration standard deviation to the current time back noise value. Effect, where the initial back noise value is the preset value.
具体地,背噪值会随着动态环境的运动数据变化而变化,己达到实时更新当前动态环境背噪值的日的。在计算时,通过过渡系数决定加速度标准差对当前时刻背噪值的影响,其中加速度标准差指的是当前时刻的加速度标准差。Specifically, the back noise value changes according to the motion data of the dynamic environment, and the date of updating the current dynamic environment back noise value in real time has been reached. In the calculation, the influence of the acceleration standard deviation on the current time back noise value is determined by the transition coefficient, wherein the acceleration standard deviation refers to the acceleration standard deviation at the current time.
背噪值由有效运动数据中获取的加速度的标准差计算得出。背噪值是用以描述动态环境的运动状态的一个量,而背噪值也会实时进行更新,以适应动态环境的运动状态的变化,确保背噪值能够准确的对动态环境的运动状态进行描述。而在对有效运动数据进行运动状态的计算与分析时,背噪值则会成与初始的基线组成新的基线。The back noise value is calculated from the standard deviation of the acceleration obtained in the effective motion data. The back noise value is an amount used to describe the motion state of the dynamic environment, and the back noise value is also updated in real time to adapt to the change of the motion state of the dynamic environment, ensuring that the back noise value can accurately perform the motion state of the dynamic environment. description. When calculating and analyzing the motion state of the effective motion data, the back noise value will form a new baseline with the initial baseline.
基线是在计算中的一个尺度参数或者标记,而在本发明中判断终端的运动状态的初始基线是静止状态,即处于基线是为静止状态,然而实际计算中在处于动态环境中时,动态环境的运动数据会被终端的运动传感器所采集,对计算造成干扰。而将背噪值加入到基线中,即可解决此问题,即将动态环境的运动数据加入到基线中,视动态环境为静止状态。通过计算动态环境的背噪值,解决了在动态环境中检测到的运动数据的误差问题,提高了对于终端运动状态分析的准确率。The baseline is a scale parameter or mark in the calculation, and in the present invention, the initial baseline for judging the motion state of the terminal is a stationary state, that is, the baseline is at a stationary state, but in the actual calculation, when in a dynamic environment, the dynamic environment The motion data is collected by the motion sensor of the terminal, causing interference in the calculation. Adding the back noise value to the baseline solves this problem by adding motion data from the dynamic environment to the baseline, depending on the dynamic environment. By calculating the back noise value of the dynamic environment, the error of the motion data detected in the dynamic environment is solved, and the accuracy of the analysis of the motion state of the terminal is improved.
进一步,步骤S21包括:Further, step S21 includes:
步骤S211,根据以下公式,计算得出终端的背噪值,其中公式为:Step S211, calculating a back noise value of the terminal according to the following formula, where the formula is:
BackgroundNoise
new=BackgroundNoise
old*(1-k)+StdDev(acc)*k
BackgroundNoise new =BackgroundNoise old *(1-k)+StdDev(acc)*k
其中BackgroundNoise
old为未更新的背噪值,初始值为0.1;StdDev(acc)为加速度的标准差,k为背噪值的过渡系数,初始值为0.05,取值范围为[O,l],BackgroundNoise
new为更新后的背噪值。
The BackgroundNoise old is the unupdated back noise value, the initial value is 0.1; StdDev(acc) is the standard deviation of the acceleration, k is the transition coefficient of the back noise value, the initial value is 0.05, and the value range is [O, l], BackgroundNoise new is the updated back noise value.
具体地,背噪值的计算公式如上述所示,其中BackgroundNoise
old为未更新的背噪值,初始值为0.05(即环境为静止状态)。StdDev(acc)为加速度标准差,加速度由有效运动数据中获取。过渡系数k用以判断当前时刻动态环境与过去时刻的动态环境的过渡关系,k取最小值时,当前环境背噪值与过去时刻时刻背噪值相同;而当k取最大值时,当前时刻背噪值对于过去时刻背噪值的依赖程度最小,可以理解为当前时刻背噪值为一个新的背噪值。k的取值与背噪值和有效运动数据的比较关系有关,过渡系数k使得背噪值能够在环 境变化时,更加平稳的由旧环境过渡到新环境。
Specifically, the calculation formula of the back noise value is as shown above, wherein BackgroundNoise old is an unupdated back noise value, and the initial value is 0.05 (ie, the environment is a stationary state). StdDev(acc) is the standard deviation of acceleration, and the acceleration is obtained from the effective motion data. The transition coefficient k is used to determine the transition relationship between the current environment dynamic environment and the dynamic environment of the past time. When k is the minimum value, the current environmental back noise value is the same as the past time noise value; and when k takes the maximum value, the current time The back noise value has the least dependence on the back noise value in the past, which can be understood as the current back noise value as a new back noise value. The value of k is related to the comparison of the back noise value and the effective motion data. The transition coefficient k enables the back noise value to transition from the old environment to the new environment more smoothly when the environment changes.
进一步地,参照图5,为本发明第三实施例,所述根据加速度标准差和背噪值的比较状态以及比较状态对应的持续时间,确定终端的运动状态的步骤包括:Further, referring to FIG. 5, in the third embodiment of the present invention, the step of determining the motion state of the terminal according to the comparison state of the acceleration standard deviation and the back noise value and the duration corresponding to the comparison state includes:
步骤S31,当检测到加速度标准差与背噪值的比较状态满足预设的移动临界值时,判定终端当前处于移动状态;Step S31, when it is detected that the comparison state of the acceleration standard deviation and the back noise value meets the preset movement threshold, it is determined that the terminal is currently in the moving state;
步骤S311当判定终端处于移动状态后,若加速度标准差与背噪值的比较状态满足预设的结束临界值,且满足结束临界值的持续时间大于预设的结束临界时间,则判定终端移动状态结束。Step S311, after determining that the terminal is in the moving state, if the comparison state of the acceleration standard deviation and the back noise value satisfies the preset end threshold value, and the duration of the end threshold value is greater than the preset end critical time, determining the terminal movement state End.
具体地,在获取到背噪值后,在加速度标准差与背噪值的比较关系大于预设移动临界值时,判定终端是否处于移动状态,移动状态表明终端当前有明显位移。在判定终端处于移动状态后,继续对移动状态进行监测,当加速度标准差与背噪值的比较关系小于预设结束临界值时,即满足结束条件,则判定终端的移动状态结束。Specifically, after the back noise value is obtained, when the comparison relationship between the acceleration standard deviation and the back noise value is greater than the preset movement threshold, it is determined whether the terminal is in a moving state, and the moving state indicates that the terminal currently has a significant displacement. After determining that the terminal is in the moving state, the mobile state is continuously monitored. When the comparison between the acceleration standard deviation and the back noise value is less than the preset end threshold, that is, the end condition is satisfied, it is determined that the mobile state of the terminal ends.
在判断终端的运动状态时,首先判断终端是否处于移动状态。在判断终端处于移动终端之后再具体判断当前运动是否为人为带走的运动。因此满足一定的加速度或者速度条件,则判定终端处于移动状态。然而若是移动状态的终端在移动状态时持续时间极短(小于预设的时间)或者加速度等运动数据迅速减小(加速度标准差与背噪值的比较关系小于预设的结束临界值),那么表明终端做了一次短暂、微小的位移,而微小的位移与人为带走运动的特征并不符合,因此持续时间小于运动临界时间的运动并非人为带走的运动。本发明中通过加速度标准差与背噪值的比较关系对终端的运动状态进行判断,并且可以将不满足人为运动条件的微小运动进行排除,运算简单,并且结果准确率高。进一步地,参照图5,步骤S31之后还包括:When judging the motion state of the terminal, it is first determined whether the terminal is in a moving state. After determining that the terminal is in the mobile terminal, it is specifically determined whether the current motion is an artificially taken away motion. Therefore, a certain acceleration or speed condition is satisfied, and it is determined that the terminal is in a moving state. However, if the mobile terminal has a very short duration (less than a preset time) in the moving state or the motion data such as acceleration rapidly decreases (the comparison between the acceleration standard deviation and the back noise value is less than the preset end threshold), then It indicates that the terminal has made a short and small displacement, and the tiny displacement does not match the characteristics of the artificial take-off movement. Therefore, the motion whose duration is less than the critical time of motion is not the movement taken by man. In the present invention, the motion state of the terminal is judged by the comparison relationship between the acceleration standard deviation and the back noise value, and the minute motion that does not satisfy the artificial motion condition can be excluded, the operation is simple, and the result accuracy is high. Further, referring to FIG. 5, after step S31, the method further includes:
步骤S312,在判定当前处于移动状态后,若加速度标准差与背噪值的比较状态满足预设的人为运动临界值,且满足人为运动临界值的持续时间大于预设人为运动临界时间,则判定终端当前的运动状态为人为带走运动。Step S312, after determining that the current state of being moved, if the comparison state of the acceleration standard deviation and the back noise value satisfies the preset artificial motion threshold value, and the duration of the artificial motion threshold value is greater than the preset artificial motion critical time, then determining The current state of motion of the terminal is artificially taken away.
具体地,在终端保持移动状态后,则判定是否为人为运动造成终端的运动。通过对人类运动规律的观察和研究,在走路或者跑步等运动时,运动均有较为明显的规律(例如走路时,脚在抬起跨步时加速度较大,而脚在落下踏步时加 速度较小,因此加速度也是均匀变化的),并且是持续进行。根据人为运动的特点,通过加速度标准差与背噪值的比较关系判断终端是否处于人为运动的运动状态。并且在终端满足处于人为运动的运动状态时,对处于人为运动的状态的持续时间进行检测,若是持续时间也满足预设的条件(大于运动临界时间),则判定终端当前运动状态为人为运动的状态。Specifically, after the terminal maintains the moving state, it is determined whether the motion of the terminal is caused by the human motion. Through the observation and research of the laws of human movement, when walking or running, the movement has obvious laws (for example, when walking, the acceleration of the foot is higher when the step is raised, and the acceleration is smaller when the foot is stepping down. Therefore, the acceleration is also uniformly changed) and is continued. According to the characteristics of human motion, it is judged whether the terminal is in the motion state of artificial motion by comparing the standard deviation of acceleration with the value of back noise. And when the terminal satisfies the motion state of the human motion, detecting the duration of the state of the human motion, and if the duration also satisfies the preset condition (greater than the motion critical time), determining that the current motion state of the terminal is artificial motion status.
本发明的主要目的为用于终端的防盗,所以对于终端运动状态的检测也是基于盗窃的特点,判断是否被移动(被人盗取)→判断是否为人运动(盗取后不法分子携带终端逃离)。因此在处于移动状态后,需要检测是否进行人为运动。依旧通过加速度的标准差与背噪值的比较关系进行判断,在两者比较关系大于人为运动临界值时并且满足人为运动临界值的持续时间大于预设人为运动临界时间,则终端运动状态为人为运动状态。通过加速度的标准差即可对终端的运动状态进行判断,原理简单并且工作效率高。The main purpose of the present invention is for theft prevention of the terminal, so the detection of the motion state of the terminal is also based on the characteristics of theft, and it is judged whether it is moved (his stolen) → judging whether it is a human movement (the criminals carrying the terminal after theft escape) . Therefore, after being in a moving state, it is necessary to detect whether or not to perform an artificial exercise. It is still judged by the comparison between the standard deviation of the acceleration and the back noise value. When the comparison relationship between the two is greater than the artificial motion threshold and the duration of the artificial motion threshold is greater than the preset artificial motion critical time, the terminal motion state is artificial. Movement state. The standard state of the acceleration can be used to judge the motion state of the terminal, and the principle is simple and the work efficiency is high.
进一步地,所述加速度标准差与背噪值的比较状态满足预设的移动临界值为:Further, the comparison state of the acceleration standard deviation and the back noise value satisfies a preset movement threshold value:
StdDev(acc)>n1*BackgroundNoise∧StdDev(acc)>BackgroundNoise+min.threshold
movement
StdDev(acc)>n1*BackgroundNoise∧StdDev(acc)>BackgroundNoise+min.threshold movement
所述加速度标准差与背噪值的比较状态满足预设的结束临界值为:The comparison state of the acceleration standard deviation and the back noise value satisfies a preset end threshold value:
StdDev(acc)<n2*BackgroundNoise∨StdDev(acc)<BackgroundNoise+min.threshold
movement
StdDev(acc)<n2*BackgroundNoise∨StdDev(acc)<BackgroundNoise+min.threshold movement
所述加速度标准差与背噪值的比较状态满足预设的人为运动临界值,且满足人为运动临界值的持续时间大于预设人为运动临界时间为:The comparison state of the acceleration standard deviation and the back noise value satisfies a preset artificial motion threshold value, and the duration of the artificial motion threshold value is greater than the preset artificial motion critical time:
StdDev(acc)>n3*BackgroundNoise∧Time
movement>3
StdDev(acc)>n3*BackgroundNoise∧Time movement >3
其中StdDev(acc)为加速度标准差,BackgroundNoise为计算所得背噪值,n1,n2,n3为比较系数,并且大小关系为n3>n2>n1,min.threshold
movement为预设的最低移动阔值,Time
movement为持续时间。
Where StdDev(acc) is the standard deviation of acceleration, BackgroundNoise is the calculated back noise value, n1, n2, and n3 are comparison coefficients, and the magnitude relationship is n3>n2>n1, and min.threshold movement is the preset minimum moving threshold. Time movement is the duration.
具体地,在判断终端是否处于移动的公式中,加速度标准差大于移动临界值(由比较系数n1与背噪值的乘积组成)并且大于最低的移动阙值则判定移动,其中比较系数n1预设初始值为3;在判断移动状态是否结束时,加速度标准差小于结束临界值(由比较系数n2与背噪值的乘积组成)并且大于最低的移动阔值则判定移动,其中比较系数n2预设初始值为1.5;在判断终端是 否处于人为运动状态时,加速度标准差大于的人为运动临界值(由比较系数n3与背噪值的乘积组成)并且同时满足比较关系的持续时间大于3秒,其中比较系数n3预设初始值为4。n1,n2,n3可根据终端与环境的实际情况进行调整,以适应各种不同的情况。通过加速度标准差与背噪值的比较状态,对于得出结论所需的条件非常简单(仅需要获取运动数据),运算快(公式简沽,无复杂运算)。因此可快速的检测出终端的运动状态,对于防盗等用途具有很大的意义。Specifically, in the formula for determining whether the terminal is in motion, the acceleration standard deviation is greater than the movement threshold (composed of the product of the comparison coefficient n1 and the back noise value) and is greater than the lowest movement threshold to determine the movement, wherein the comparison coefficient n1 is preset The initial value is 3; when it is judged whether the moving state is over, the acceleration standard deviation is smaller than the ending critical value (composed of the product of the comparison coefficient n2 and the back noise value) and is greater than the lowest moving threshold to determine the movement, wherein the comparison coefficient n2 is preset The initial value is 1.5; when judging whether the terminal is in the artificial motion state, the artificial standard value of the acceleration standard deviation is greater than the artificial motion threshold (composed of the product of the comparison coefficient n3 and the back noise value) and the duration of the comparison relationship is more than 3 seconds, wherein The comparison coefficient n3 presets an initial value of 4. N1, n2, and n3 can be adjusted according to the actual situation of the terminal and the environment to adapt to various situations. By comparing the state of the acceleration standard deviation with the back noise value, the conditions required for the conclusion are very simple (only need to obtain motion data), and the operation is fast (the formula is simple, no complicated operation). Therefore, the motion state of the terminal can be quickly detected, which has great significance for the use of theft prevention and the like.
此外,本发明实施例还提出一种计算机可读存储介质,所述计算机可读存储介质上存储有终端运动状态分析程序,所述终端运动状态分析程序被处理器执行时实现如下操作:In addition, an embodiment of the present invention further provides a computer readable storage medium, where the terminal readable state analysis program is stored, and when the terminal motion state analysis program is executed by the processor, the following operations are implemented:
本发明还提供一种终端运动状态分析的移动终端。The invention also provides a mobile terminal for analyzing terminal motion state.
本发明基终端运动状态分析的移动终端包括:存储器、处理器及存储在所述存储器上并可在所述处理器上运行的终端运动状态分析程序,所述终端运动状态分析程序被所述处理器执行时实现如上所述的终端运动状态分析方法步骤。The mobile terminal for analyzing the motion state of the base terminal of the present invention comprises: a memory, a processor, and a terminal motion state analysis program stored on the memory and operable on the processor, wherein the terminal motion state analysis program is processed by the terminal The terminal motion state analysis method steps as described above are implemented when the device is executed.
其中,在所述处理器上运行的提示信息的终端运动状态分析程序被执行时所实现的方法可参照本发明终端运动状态分析的方法各个实施例,在此不再赘述。For the method that is implemented when the terminal motion state analysis program of the prompt information running on the processor is executed, refer to various embodiments of the method for analyzing the motion state of the terminal of the present invention, and details are not described herein again.
此外本发明实施例还提出一种计算机可读存储介质。Furthermore, embodiments of the present invention also provide a computer readable storage medium.
本发明计算机可读存储介质上存储有终端运动状态分析程序,所述终端运动状态分析程序被处理器执行时实现如上所述的终端运动状态分析方法的步骤。The computer readable storage medium of the present invention stores a terminal motion state analysis program, and the terminal motion state analysis program is executed by the processor to implement the steps of the terminal motion state analysis method as described above.
其中,在所述处理器上运行的提示信息的显示程序被执行时所实现的方法可参照本发明终端运动状态分析方法各个实施例,在此不再赘述。For the method implemented when the display program of the prompt information running on the processor is executed, refer to various embodiments of the terminal motion state analysis method of the present invention, and details are not described herein again.
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者系统不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者系统所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者系统中还存在另外的相同要素。It is to be understood that the term "comprises", "comprising", or any other variants thereof, is intended to encompass a non-exclusive inclusion, such that a process, method, article, or It also includes other elements that are not explicitly listed, or elements that are inherent to such a process, method, item, or system. An element defined by the phrase "comprising a ..." does not exclude the presence of additional equivalent elements in a process, method, article, or system that includes the element, without further limitation.
上述本发明实施例序号仅仅为了描述,不代表实施例的优劣。The serial numbers of the embodiments of the present invention are merely for the description, and do not represent the advantages and disadvantages of the embodiments.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在如上所述的一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端设备(可以是手机,计算机,服务器,空调器,或者网络设备等)执行本发明各个实施例所述的方法。Through the description of the above embodiments, those skilled in the art can clearly understand that the foregoing embodiment method can be implemented by means of software plus a necessary general hardware platform, and of course, can also be through hardware, but in many cases, the former is better. Implementation. Based on such understanding, portions of the technical solution of the present invention that contribute substantially or to the prior art may be embodied in the form of a software product stored in a storage medium (such as a ROM/RAM as described above). , a disk, an optical disk, including a number of instructions for causing a terminal device (which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to perform the methods described in various embodiments of the present invention.
以上实施例仅用以说明本发明的技术方案,而非对本发明保护范围的限制,尽管参照较佳实施例对本发明作了详细地说明,本领域的普通技术人员应当理解,对本发明的技术方案进行修改或者等同替换,均属本发明的保护范围。The above embodiments are only used to illustrate the technical solutions of the present invention, and are not intended to limit the scope of the present invention. Although the present invention has been described in detail with reference to the preferred embodiments, those skilled in the art should understand Modifications or equivalent substitutions are within the scope of the invention.
Claims (10)
- 一种终端运动状态分析方法,其特征在于,所述终端运动状态分析方法包括以下步骤:A terminal motion state analysis method, characterized in that the terminal motion state analysis method comprises the following steps:获取终端的运动传感器采集到的运动数据,对所述运动数据进行预处理以得到有效运动数据;Obtaining motion data collected by a motion sensor of the terminal, and pre-processing the motion data to obtain valid motion data;获取有效运动效数据中终端的加速度标准差,并由加速度标准差计算得出终端的背噪值;Obtaining the acceleration standard deviation of the terminal in the effective motion effect data, and calculating the back noise value of the terminal by the acceleration standard deviation;根据加速度标准差和背噪值的比较状态以及比较状态对应的持续时间,确定终端的运动状态。The motion state of the terminal is determined according to the comparison state of the acceleration standard deviation and the back noise value and the duration corresponding to the comparison state.
- 如权利要求1所述的终端运动状态分析方法,其特征在于,所述对所述运动数据进行预处理以得到有效运动数据的步骤包括:The terminal motion state analysis method according to claim 1, wherein the step of pre-processing the motion data to obtain valid motion data comprises:对采集到的运动数据分别进行一次和两次微分,若微分结果的绝对值大于预设最大有效值,则判定采集的运动数据为无效数据:若微分结果的绝对值小于或等于预设的最大有效值,则判定采集的运动数据为有效数据;The collected motion data is separately and once differentiated. If the absolute value of the differential result is greater than the preset maximum effective value, it is determined that the collected motion data is invalid data: if the absolute value of the differential result is less than or equal to the preset maximum The effective value determines that the collected motion data is valid data;将所述有效数据中各矢量数据通过预设转换方法转换成标量数据,将该标量数据作为有效运动数据。Each vector data in the valid data is converted into scalar data by a preset conversion method, and the scalar data is used as effective motion data.
- 如权利要求2所述的终端运动状态分析方法,其特征在于,所述将所述有效数据中各矢量数据通过预设转换方法转换成标量数据,将该标量数据作为有效运动数据的步骤之后还包括:The terminal motion state analysis method according to claim 2, wherein the vector data in the valid data is converted into scalar data by a preset conversion method, and the scalar data is used as an effective motion data step. include:当检测到有效运动数据中加速度大于预设最大临界值时,则检测加速度在大于预设最大值后加速度是否小于预设最小临界值;When it is detected that the acceleration in the effective motion data is greater than a preset maximum threshold, detecting whether the acceleration is greater than a preset minimum threshold after the acceleration is greater than a preset maximum value;若加速度在大于预设最大值后加速度小于预设最小临界值,则判定终端的运动状态为突发事件状态。If the acceleration is less than the preset minimum threshold after the acceleration is greater than the preset maximum value, it is determined that the motion state of the terminal is an emergency event state.
- 如权利要求1所述的终端运动状态分析方法,其特征在于,所述获取有效运动效数据中终端的加速度标准差,并由加速度标准差计算得出终端的背噪值的步骤包括:The terminal motion state analysis method according to claim 1, wherein the step of acquiring the acceleration standard deviation of the terminal in the effective motion effect data, and calculating the back noise value of the terminal from the acceleration standard deviation comprises:当前时刻背噪值由上一时刻的背噪值与一减去过渡系数的乘积加上加速度标准差与过渡系数的乘积得到,其中过渡系数决定加速度标准差对当前时刻背噪值的影响。The current time back noise value is obtained by multiplying the back noise value of the previous time and the subtracted transition coefficient by the product of the acceleration standard deviation and the transition coefficient, wherein the transition coefficient determines the influence of the acceleration standard deviation on the current time back noise value.
- 如权利要求4所述的终端运动状态分析方法,其特征在于,所述当前 时刻背噪值由上一时刻的背噪值与一减去过渡系数的乘积加上加速度标准差与过渡系数的乘积得到的步骤包括:The terminal motion state analysis method according to claim 4, wherein the current time back noise value is a product of a back noise value of a previous time and a subtracted transition coefficient plus a product of an acceleration standard deviation and a transition coefficient. The steps obtained include:根据以下公式,计算得出终端的背噪值,其中公式为:Calculate the back noise value of the terminal according to the following formula, where the formula is:BackgroundNoise new=BackgroundNoise old*(1-k)+StdDev(acc)*k BackgroundNoise new =BackgroundNoise old *(1-k)+StdDev(acc)*k其中BackgroundNoise old为未更新的背噪值,初始值为0.1;StdDev(acc)为加速度的标准差,k为背噪值的过渡系数,初始值为0.05,取值范围为[O,l],BackgroundNoise new为更新后的背噪值。 The BackgroundNoise old is the unupdated back noise value, the initial value is 0.1; StdDev(acc) is the standard deviation of the acceleration, k is the transition coefficient of the back noise value, the initial value is 0.05, and the value range is [O, l], BackgroundNoise new is the updated back noise value.
- 如权利要求1所述的终端运动状态分析方法,其特征在于,所述根据加速度标准差和背噪值的比较状态以及比较状态对应的持续时间,确定终端的运动状态的步骤包括:The terminal motion state analysis method according to claim 1, wherein the determining the motion state of the terminal according to the comparison state of the acceleration standard deviation and the back noise value and the duration corresponding to the comparison state comprises:当检测到加速度标准差与背噪值的比较状态满足预设的移动临界值时,判定终端当前处于移动状态;When it is detected that the comparison state of the acceleration standard deviation and the back noise value satisfies a preset movement threshold, it is determined that the terminal is currently in a moving state;当判定终端处于移动状态后,若加速度标准差与背噪值的比较状态满足预设的结束临界值,且满足结束临界值的持续时间大于预设的结束临界时间,则判定终端移动状态结束。After determining that the terminal is in the moving state, if the comparison state of the acceleration standard deviation and the back noise value satisfies the preset end threshold value, and the duration of the end threshold value is greater than the preset end threshold time, it is determined that the terminal movement state ends.
- 如权利要求6所述的终端运动状态分析方法,其特征在于,所述当判定终端处于移动状态后的步骤之后还包括:The terminal motion state analysis method according to claim 6, wherein the step of determining that the terminal is in a moving state further comprises:在判定当前处于移动状态后,若加速度标准差与背噪值的比较状态满足预设的人为运动临界值,且满足人为运动临界值的持续时间大于预设人为运动临界时间,则判定终端当前的运动状态为人为带走运动。After determining that the current state of motion is satisfied, if the comparison state of the acceleration standard deviation and the back noise value satisfies the preset artificial motion threshold value, and the duration of the artificial motion threshold value is greater than the preset artificial motion critical time, the current terminal is determined. The state of motion is artificially taken away.
- 如权利要求6或7所述的终端运动状态分析方法,其特征在于,所述加速度标准差与背噪值的比较状态满足预设的移动临界值为:The terminal motion state analysis method according to claim 6 or 7, wherein the comparison state of the acceleration standard deviation and the back noise value satisfies a preset movement threshold value:StdDev(acc)>n1*BackgroundNoise∧StdDev(acc)>BackgroundNoise+min.threshold movement StdDev(acc)>n1*BackgroundNoise∧StdDev(acc)>BackgroundNoise+min.threshold movement所述加速度标准差与背噪值的比较状态满足预设的结束临界值为:The comparison state of the acceleration standard deviation and the back noise value satisfies a preset end threshold value:StdDev(acc)<n2*BackgroundNoise∨StdDev(acc)<BackgroundNoise+min.threshold movement StdDev(acc)<n2*BackgroundNoise∨StdDev(acc)<BackgroundNoise+min.threshold movement所述加速度标准差与背噪值的比较状态满足预设的人为运动临界值,且满足人为运动The comparison state of the acceleration standard deviation and the back noise value satisfies a preset artificial motion threshold value, and satisfies the human motion临界值的持续时间大于预设人为运动临界时间为:The duration of the threshold is greater than the preset artificial motion critical time:StdDev(acc)>n3*BackgroundNoise∧Time movement>3 StdDev(acc)>n3*BackgroundNoise∧Time movement >3其中StdDev(acc)为加速度标准差,BackgroundNoise为计算所得背噪值,n1,n2,n3为比较系数,并且大小关为n3>n2>n1,min.threshold movement为预设的最低移动阔值,Time movement为持续时间。 Where StdDev(acc) is the standard deviation of acceleration, BackgroundNoise is the calculated back noise value, n1, n2, and n3 are comparison coefficients, and the size is n3>n2>n1, and min.threshold movement is the preset minimum moving threshold. Time movement is the duration.
- 一种移动终端,其特征在于,所述移动终端包括:存储器、处理器及存储在所述存储器上并可在所述处理器上运行的终端运动状态分析程序,所述终端运动状态分析程序被所述处理器执行时实现如权利要求1至8中任一项所述的终端运动状态分析方法的步骤。A mobile terminal, comprising: a memory, a processor, and a terminal motion state analysis program stored on the memory and operable on the processor, the terminal motion state analysis program being The step of implementing the terminal motion state analysis method according to any one of claims 1 to 8 when the processor is executed.
- 一种计算机可读存储介质,其特征在于,所述计算机可读存储介质上存储有终端运动状态分析程序,所述终端运动状态分析程序被处理器执行时实现如权利要求1至8中任一项所述的终端运动状态分析方法的步骤。A computer readable storage medium, characterized in that the computer readable storage medium stores a terminal motion state analysis program, and the terminal motion state analysis program is executed by the processor to implement any one of claims 1 to The steps of the terminal motion state analysis method described in the section.
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710587497.5 | 2017-07-18 | ||
CN201710587497.5A CN107358051B (en) | 2017-07-18 | 2017-07-18 | Motion state of terminal analysis method, mobile terminal and readable storage medium storing program for executing |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2019015556A1 true WO2019015556A1 (en) | 2019-01-24 |
Family
ID=60285727
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2018/095858 WO2019015556A1 (en) | 2017-07-18 | 2018-07-16 | Terminal motion state analysis method, mobile terminal and readable storage medium |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN107358051B (en) |
WO (1) | WO2019015556A1 (en) |
Families Citing this family (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107358051B (en) * | 2017-07-18 | 2018-07-10 | 前海随身宝(深圳)科技有限公司 | Motion state of terminal analysis method, mobile terminal and readable storage medium storing program for executing |
CN109141465B (en) * | 2018-07-19 | 2021-06-22 | 歌尔科技有限公司 | Step counting method, wearable device and computer readable storage medium |
CN111643887B (en) * | 2020-06-08 | 2023-07-14 | 歌尔科技有限公司 | Headset, data processing method thereof and computer readable storage medium |
CN112082796B (en) * | 2020-09-14 | 2022-11-15 | 六盘水师范学院 | Method for judging working state of engineering mechanical equipment |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101853380A (en) * | 2010-06-18 | 2010-10-06 | 华南理工大学 | Rotary characteristic extraction method based on gesture identification of acceleration sensor |
US20130102324A1 (en) * | 2011-10-21 | 2013-04-25 | Microsoft Corporation | Device-to-device relative localization |
CN103455170A (en) * | 2013-08-22 | 2013-12-18 | 西安电子科技大学 | Sensor-based device and sensor-based method for recognizing motion of mobile terminal |
CN107358051A (en) * | 2017-07-18 | 2017-11-17 | 前海随身宝(深圳)科技有限公司 | Motion state of terminal analysis method, mobile terminal and readable storage medium storing program for executing |
Family Cites Families (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
DE102010062016A1 (en) * | 2010-11-26 | 2012-05-31 | Siemens Aktiengesellschaft | Method and device for determining movement parameters of moving objects |
JP6222096B2 (en) * | 2012-09-19 | 2017-11-01 | 株式会社ニコン | Electronic device and program |
CN103340634B (en) * | 2013-06-17 | 2015-11-18 | 无锡市中安捷联科技有限公司 | A kind of method detecting people's kinestate based on acceleration change |
CN103701991A (en) * | 2013-12-20 | 2014-04-02 | 百度在线网络技术(北京)有限公司 | Mobile terminal state recognition method and mobile terminal |
CN105094305B (en) * | 2014-05-22 | 2018-05-18 | 华为技术有限公司 | Identify method, user equipment and the Activity recognition server of user behavior |
CN104490401B (en) * | 2015-01-15 | 2017-05-24 | 张�杰 | Method for intelligent terminal for automatically recognizing human behaviors based on acceleration data |
CN105571609B (en) * | 2015-04-28 | 2018-11-06 | 宇龙计算机通信科技(深圳)有限公司 | A kind of kinematic parameter processing method and mobile terminal |
CN106131792B (en) * | 2016-08-26 | 2019-11-01 | 北京小米移动软件有限公司 | User movement state monitoring method and device |
CN106441350A (en) * | 2016-10-09 | 2017-02-22 | 深圳市金立通信设备有限公司 | Step counting method and terminal |
-
2017
- 2017-07-18 CN CN201710587497.5A patent/CN107358051B/en active Active
-
2018
- 2018-07-16 WO PCT/CN2018/095858 patent/WO2019015556A1/en active Application Filing
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101853380A (en) * | 2010-06-18 | 2010-10-06 | 华南理工大学 | Rotary characteristic extraction method based on gesture identification of acceleration sensor |
US20130102324A1 (en) * | 2011-10-21 | 2013-04-25 | Microsoft Corporation | Device-to-device relative localization |
CN103455170A (en) * | 2013-08-22 | 2013-12-18 | 西安电子科技大学 | Sensor-based device and sensor-based method for recognizing motion of mobile terminal |
CN107358051A (en) * | 2017-07-18 | 2017-11-17 | 前海随身宝(深圳)科技有限公司 | Motion state of terminal analysis method, mobile terminal and readable storage medium storing program for executing |
Also Published As
Publication number | Publication date |
---|---|
CN107358051A (en) | 2017-11-17 |
CN107358051B (en) | 2018-07-10 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2019015556A1 (en) | Terminal motion state analysis method, mobile terminal and readable storage medium | |
CN104835274B (en) | Wearable device anti-theft method, apparatus and wearable device | |
US8781991B2 (en) | Emotion recognition apparatus and method | |
US20180203032A1 (en) | Time and frequency domain based step counter | |
US20140278208A1 (en) | Feature extraction and classification to determine one or more activities from sensed motion signals | |
EP2967445A1 (en) | Dynamic control of sampling rate of motion to modify power consumption | |
KR102143499B1 (en) | Method and apparatus for quality measurement of sleep using a portable terminal | |
US20140288875A1 (en) | Methods and architecture for determining activity and activity types from sensed motion signals | |
CN108377422B (en) | Multimedia content playing control method, device and storage medium | |
CN111698601B (en) | Bluetooth headset, and key sensitivity adjustment method, device and readable storage medium thereof | |
KR20140083209A (en) | Apparatus and method for recognizing user activity | |
EP2972930A2 (en) | Inline calibration of motion sensor | |
US10799169B2 (en) | Apparatus, system and method for detecting onset Autism Spectrum Disorder via a portable device | |
US20150241243A1 (en) | Method for counting steps and electronic apparatus using the same | |
CN108195395A (en) | Mobile terminal and its step-recording method, storage device | |
US9665180B2 (en) | Method for continuous recognition of gestures of a user of a handheld mobile terminal fitted with a motion sensor assembly, and related device | |
CN108038412B (en) | Terminal and control method and storage device thereof based on self-training gesture | |
US11602295B2 (en) | Electronic device and method for providing personalized biometric information based on biometric signal using same | |
WO2018014432A1 (en) | Voice application triggering control method, device and terminal | |
CN114532992B (en) | Method, device and system for detecting nap state and computer readable storage medium | |
CN112790752B (en) | Heart rate value correction method and device and electronic equipment | |
WO2022198991A1 (en) | Motion time calculation method, apparatus and device, and computer-readable storage medium | |
CN114732377A (en) | Health management method, device and equipment based on AI and readable storage medium | |
CN111796663B (en) | Scene recognition model updating method and device, storage medium and electronic equipment | |
JP2012063208A (en) | State determination device and state determination program |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
32PN | Ep: public notification in the ep bulletin as address of the adressee cannot be established |
Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 19.05.2020) |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 18834617 Country of ref document: EP Kind code of ref document: A1 |