CN109547624B - Motion state detection method and device - Google Patents
Motion state detection method and device Download PDFInfo
- Publication number
- CN109547624B CN109547624B CN201710866461.0A CN201710866461A CN109547624B CN 109547624 B CN109547624 B CN 109547624B CN 201710866461 A CN201710866461 A CN 201710866461A CN 109547624 B CN109547624 B CN 109547624B
- Authority
- CN
- China
- Prior art keywords
- mobile terminal
- confidence score
- intelligent mobile
- wifi
- state
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/724—User interfaces specially adapted for cordless or mobile telephones
- H04M1/72403—User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/724—User interfaces specially adapted for cordless or mobile telephones
- H04M1/72448—User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W24/00—Supervisory, monitoring or testing arrangements
- H04W24/08—Testing, supervising or monitoring using real traffic
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/02—Services making use of location information
- H04W4/025—Services making use of location information using location based information parameters
- H04W4/027—Services making use of location information using location based information parameters using movement velocity, acceleration information
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Human Computer Interaction (AREA)
- Telephone Function (AREA)
Abstract
The application provides a motion state detection method and a motion state detection device, wherein the motion state detection method comprises the following steps: acquiring communication information of the intelligent mobile terminal within preset time; by utilizing the communication information of the intelligent mobile terminal within the preset time, the adaptation of the independent mobile terminal model is not needed through the above mode, the application range of the motion state detection method is expanded, and the universality of the motion state detection method is improved.
Description
Technical Field
The present disclosure relates to the field of motion state detection, and in particular, to a motion state detection method and device.
Background
With the development and progress of science and technology, applications on intelligent mobile terminals (such as smart phones) are continuously updated and increasingly enriched. Most applications on the intelligent mobile terminal are closely related to the work and life of a user, such as motion state detection applications which can be used for navigation or monitoring of human motion states.
At present, the intelligent mobile terminal mainly utilizes a sensor to detect the motion state. However, the disadvantages of motion state detection using a sensor include: due to the fact that development and manufacturing capabilities of various sensor manufacturers are different, sensors on some intelligent mobile terminals do not support a motion state detection algorithm, the intelligent mobile terminals cannot detect motion states, and the universality is poor.
Disclosure of Invention
In order to solve the above technical problems, embodiments of the present application provide a motion state detection method and device, so as to achieve the purposes of expanding the application range of the motion state detection method and improving the universality of the motion state detection method, and the technical solution is as follows:
a motion state detection method, comprising:
acquiring communication information of the intelligent mobile terminal within preset time;
and detecting the motion state of the intelligent mobile terminal by utilizing the communication information of the intelligent mobile terminal in the preset time to obtain a motion state detection result.
Preferably, the detecting the motion state of the intelligent mobile terminal by using the communication information of the intelligent mobile terminal to obtain a motion state detection result includes:
acquiring a riding state initial confidence score, a static state initial confidence score and a walking state initial confidence score of the intelligent mobile terminal;
adjusting the riding state initial confidence score, the static state initial confidence score and the walking state initial confidence score of the intelligent mobile terminal by utilizing any one of the GPS signal, the WiFi scanning connection information, the base station scanning connection information and the GPS signal to noise ratio of the intelligent mobile terminal within the preset time;
and taking the motion state corresponding to the highest confidence score in the adjusted riding state confidence score, the rest state confidence score and the walking state confidence score of the intelligent mobile terminal as the motion state of the intelligent mobile terminal.
Preferably, the detecting the motion state of the intelligent mobile terminal by using the communication information of the intelligent mobile terminal to obtain a motion state detection result includes:
acquiring a riding state initial confidence score, a static state initial confidence score and a walking state initial confidence score of the intelligent mobile terminal;
selecting at least any two kinds of information from the GPS signal, the WiFi scanning connection information, the base station scanning connection information and the GPS signal-to-noise ratio of the intelligent mobile terminal in a preset time as adjustment information;
respectively adjusting the riding state initial confidence score, the static state initial confidence score and the walking state initial confidence score of the intelligent mobile terminal by using the adjustment information;
multiplying the riding state initial confidence score, the static state initial confidence score and the walking state initial confidence score of the intelligent mobile terminal after the adjustment of each piece of adjustment information by the weight value of the corresponding adjustment information to obtain a riding state secondary adjustment confidence score, a static state secondary adjustment confidence score and a walking state secondary adjustment confidence score of the intelligent mobile terminal corresponding to each piece of adjustment information;
adding the riding state secondary adjustment confidence scores of the intelligent mobile terminal corresponding to the adjustment information to obtain a riding state final confidence score;
adding the secondary adjustment confidence scores of the static state of the intelligent mobile terminal corresponding to each adjustment information to obtain a final confidence score of the static state;
adding the walking state secondary adjustment confidence scores of the intelligent mobile terminals corresponding to the adjustment information to obtain a walking state final confidence score;
and taking the motion state corresponding to the highest confidence score in the riding state final confidence score, the static state final confidence score and the walking state final confidence score as the motion state of the intelligent mobile terminal.
Preferably, the adjusting the riding state initial confidence score, the static state initial confidence score and the walking state initial confidence score of the intelligent mobile terminal by using the GPS signal of the intelligent mobile terminal within the preset time includes:
dividing the GPS signals of the intelligent mobile terminal in the preset time into low-speed GPS signals, medium-speed GPS signals and high-speed GPS signals by taking speed information in the GPS signals as a basis, and counting the number of the low-speed GPS signals, the number of the medium-speed GPS signals and the number of the high-speed GPS signals;
judging whether the number of the high-speed GPS signals is more than 2;
if the number of the high-speed GPS signals is more than 2, increasing the riding state initial confidence score of the intelligent mobile terminal according to the up-regulation amplitude of a first preset proportion, and decreasing the static state initial confidence score and the walking state initial confidence score of the intelligent mobile terminal according to the down-regulation amplitude of the first preset proportion, wherein the first preset proportion is a number more than 1;
if the number of the high-speed GPS signals is not more than 2, judging whether the number of the medium-speed GPS signals is more than 2;
if the number of the medium-speed GPS signals is larger than 2, increasing the riding state initial confidence score of the intelligent mobile terminal according to the ascending amplitude of a second preset proportion, and decreasing the static state initial confidence score and the walking state initial confidence score of the intelligent mobile terminal according to the descending amplitude of the second preset proportion, wherein the second preset proportion is a number larger than 1, and the second preset proportion is smaller than the first preset proportion;
if the number of the medium-speed GPS signals is not more than 2, judging whether the number of the low-speed GPS signals is more than 2;
and if the number of the low-speed GPS signals is more than 2, reducing the initial confidence score of the intelligent mobile terminal in the static state.
Preferably, the adjusting the riding state initial confidence score, the static state initial confidence score and the walking state initial confidence score of the intelligent mobile terminal by using the WiFi scanning connection information of the intelligent mobile terminal within the preset time includes:
acquiring two WiFi scanning time points which are nearest to the current moment within a preset time from WiFi scanning connection information of the intelligent mobile terminal within the preset time, wherein the two WiFi scanning time points are a first time point and a second time point respectively, and the first time point is earlier than the second time point;
calculating a time interval between the first time point and the current time, marked as x 1;
acquiring WiFi addresses scanned by two WiFi scans closest to the current moment within preset time from WiFi scanning connection information of the intelligent mobile terminal within the preset time;
counting the number of the same WiFi addresses in the WiFi addresses scanned by the two WiFi scans closest to the current moment within the preset time, and determining the WiFi address contact ratio of the two WiFi scans closest to the current moment within the preset time according to the counted number of the same WiFi addresses, wherein the mark is y 1;
if the coordinate pair (x1, y1) is within a first threshold range, increasing the static state initial confidence score and the walking state initial confidence score of the intelligent mobile terminal, wherein the first threshold range is a range formed by coordinate points above a corresponding straight line in a planar rectangular coordinate system, and a walking state linear function y + A1x-B1 is 0;
and if the coordinate pair (x1, y1) is within a second threshold range, increasing the initial confidence score of the riding state of the intelligent mobile terminal, wherein the second threshold range is a range formed by coordinate points below a corresponding straight line in a planar rectangular coordinate system, and A2 is larger than a1, and a linear function y + A2x-B2 of the riding state is 0.
Preferably, the adjusting the riding state initial confidence score, the static state initial confidence score and the walking state initial confidence score of the intelligent mobile terminal by using the WiFi scanning connection information of the intelligent mobile terminal within the preset time includes:
if the WiFi scanning connection information of the intelligent mobile terminal in the preset time is kept unchanged, judging whether the WiFi signal intensity in the WiFi scanning connection information of the intelligent mobile terminal in the preset time is in a decreasing trend and the decreasing amplitude exceeds a first preset WiFi signal intensity value in a preset sub-time;
if so, reducing the initial confidence score of the intelligent mobile terminal in the static state;
if the WiFi scanning connection information of the intelligent mobile terminal in the preset time comprises at least two different WiFi scanning connection information, judging whether the amplification of the WiFi signal intensity of the intelligent mobile terminal after WiFi connection switching in the WiFi scanning connection information in the preset time is larger than the second preset WiFi signal intensity value compared with the WiFi signal intensity before WiFi connection switching;
and if so, reducing the initial confidence score of the intelligent mobile terminal in the static state.
Preferably, the adjusting the riding state initial confidence score, the static state initial confidence score and the walking state initial confidence score of the intelligent mobile terminal by using the WiFi scanning connection information of the intelligent mobile terminal within the preset time includes:
and if the WiFi scanning connection information which is closest to the current moment in the WiFi scanning connection information of the intelligent mobile terminal in the preset time is non-mobile WiFi scanning connection information, reducing the initial confidence score of the riding state of the intelligent mobile terminal.
Preferably, the adjusting the riding state initial confidence score, the static state initial confidence score and the walking state initial confidence score of the intelligent mobile terminal by using the base station scanning connection information of the intelligent mobile terminal within the preset time includes:
counting the number of different base station scanning connection information in the base station scanning connection information of the intelligent mobile terminal in a preset time;
judging whether the number of different base station scanning connection information in the base station scanning connection information of the intelligent mobile terminal in a preset time is larger than a preset number or not;
and if so, reducing the static state initial confidence score and the walking state initial confidence score of the intelligent mobile terminal.
Preferably, the adjusting the riding state initial confidence score, the static state initial confidence score and the walking state initial confidence score of the intelligent mobile terminal by using the GPS signal to noise ratio of the intelligent mobile terminal within the preset time includes:
carrying out average operation on the signal-to-noise ratio of the GPS signal of the intelligent mobile terminal within the preset time to obtain the average signal-to-noise ratio of the GPS signal of the intelligent mobile terminal within the preset time;
and if the average signal-to-noise ratio of the GPS signal of the intelligent mobile terminal in the preset time is smaller than the signal-to-noise ratio threshold, reducing the initial confidence score of the riding state of the intelligent mobile terminal.
A motion state detection device comprising:
the acquisition module is used for acquiring communication information of the intelligent mobile terminal within preset time;
and the detection module is used for detecting the motion state of the intelligent mobile terminal by utilizing the communication information of the intelligent mobile terminal in the preset time to obtain a motion state detection result.
Preferably, the detection module includes:
the intelligent mobile terminal comprises a first acquisition unit, a second acquisition unit and a control unit, wherein the first acquisition unit is used for acquiring a riding state initial confidence score, a static state initial confidence score and a walking state initial confidence score of the intelligent mobile terminal;
the first adjusting unit is used for adjusting the riding state initial confidence score, the static state initial confidence score and the walking state initial confidence score of the intelligent mobile terminal by utilizing any one of the GPS signal, the WiFi scanning connection information, the base station scanning connection information and the GPS signal to noise ratio of the intelligent mobile terminal within the preset time;
and the first determining unit is used for taking the motion state corresponding to the highest confidence score in the adjusted riding state confidence score, the adjusted static state confidence score and the adjusted walking state confidence score of the intelligent mobile terminal as the motion state of the intelligent mobile terminal.
Preferably, the detection module includes:
the second acquisition unit is used for acquiring the riding state initial confidence score, the static state initial confidence score and the walking state initial confidence score of the intelligent mobile terminal;
the selection unit is used for selecting at least any two kinds of information from the GPS signal, the WiFi scanning connection information, the base station scanning connection information and the GPS signal-to-noise ratio of the intelligent mobile terminal in a preset time as adjustment information;
the second adjusting unit is used for respectively adjusting the riding state initial confidence score, the static state initial confidence score and the walking state initial confidence score of the intelligent mobile terminal by utilizing the adjusting information;
a third adjusting unit, configured to multiply the riding state initial confidence score, the static state initial confidence score, and the walking state initial confidence score of the intelligent mobile terminal after being adjusted by each piece of adjustment information by a weight value of each piece of corresponding adjustment information to obtain a riding state secondary adjustment confidence score, a static state secondary adjustment confidence score, and a walking state secondary adjustment confidence score of the intelligent mobile terminal corresponding to each piece of adjustment information;
the first calculating unit is used for adding the riding state secondary adjustment confidence scores of the intelligent mobile terminal corresponding to the adjustment information to obtain a final riding state confidence score;
the second calculation unit is used for adding the secondary adjustment confidence scores of the static state of the intelligent mobile terminal corresponding to the adjustment information to obtain a final confidence score of the static state;
the third calculating unit is used for adding the walking state secondary adjustment confidence scores of the intelligent mobile terminal corresponding to the adjustment information to obtain a walking state final confidence score;
and the second determining unit is used for taking the motion state corresponding to the highest confidence score in the riding state final confidence score, the static state final confidence score and the walking state final confidence score as the motion state of the intelligent mobile terminal.
Preferably, the first adjusting unit or the second adjusting unit includes:
the dividing subunit is used for dividing the GPS signals of the intelligent mobile terminal within the preset time into low-speed GPS signals, medium-speed GPS signals and high-speed GPS signals by taking the speed information in the GPS signals as a basis;
the first counting subunit is used for counting the number of low-speed GPS signals, the number of medium-speed GPS signals and the number of high-speed GPS signals;
the first judging subunit is used for judging whether the number of the high-speed GPS signals is greater than 2, if the number of the high-speed GPS signals is greater than 2, executing the first adjusting subunit, and if the number of the high-speed GPS signals is not greater than 2, executing the second judging subunit;
the first adjusting subunit is configured to increase the riding state initial confidence score of the intelligent mobile terminal according to an increasing range of a first preset proportion, and decrease the static state initial confidence score and the walking state initial confidence score of the intelligent mobile terminal according to a decreasing range of the first preset proportion, where the first preset proportion is a number greater than 1;
the second judging subunit is configured to judge whether the number of the medium-speed GPS signals is greater than 2, execute the second adjusting subunit if the number of the medium-speed GPS signals is greater than 2, and execute the third judging subunit if the number of the medium-speed GPS signals is not greater than 2;
the second adjusting subunit is configured to increase the riding state initial confidence score of the intelligent mobile terminal according to an increasing range of a second preset proportion, and decrease the static state initial confidence score and the walking state initial confidence score of the intelligent mobile terminal according to a decreasing range of the second preset proportion, where the second preset proportion is a number greater than 1 and is smaller than the first preset proportion;
the third judging subunit is configured to judge whether the number of the low-speed GPS signals is greater than 2, and if the number of the low-speed GPS signals is greater than 2, execute a third adjusting subunit;
and the third adjusting subunit is used for reducing the initial confidence score of the intelligent mobile terminal in the static state.
Preferably, the first adjusting unit or the second adjusting unit includes:
the first obtaining subunit is configured to obtain, from WiFi scanning connection information of the intelligent mobile terminal within a preset time, time points of two WiFi scans closest to a current time within the preset time, where the time points are a first time point and a second time point, respectively, and the first time point is earlier than the second time point;
a first calculating subunit, configured to calculate a time interval between the first time point and the current time, where the time interval is marked as x 1;
the second obtaining subunit is configured to obtain, from WiFi scanning connection information of the intelligent mobile terminal within a preset time, a WiFi address scanned by two WiFi scans closest to a current time within the preset time;
the second counting subunit is used for counting the number of the same WiFi addresses in the WiFi addresses scanned by two WiFi scans closest to the current moment within the preset time;
the first determining subunit is configured to determine, according to the counted number of the same WiFi addresses, a WiFi address coincidence degree of two WiFi scans closest to the current time within the preset time, which is marked as y 1;
a fourth adjusting subunit, configured to increase the static state initial confidence score and the walking state initial confidence score of the smart mobile terminal if the coordinate pair (x1, y1) is within a first threshold range, where the first threshold range is a range formed by coordinate points of a walking state linear function y + A1x-B1, which are 0 above a corresponding straight line in a planar rectangular coordinate system;
and a fifth adjusting subunit, configured to increase the initial confidence score of the riding state of the smart mobile terminal if the coordinate pair (x1, y1) is within a second threshold range, where the second threshold range is a range formed by coordinate points below a corresponding straight line in a planar rectangular coordinate system, and a linear function y + A2x-B2 of the riding state is 0, and A2 is greater than a 1.
Preferably, the first adjusting unit or the second adjusting unit includes:
a fourth determining subunit, configured to determine, if WiFi scanning connection information of the intelligent mobile terminal in a preset time remains unchanged, whether WiFi signal intensity in the WiFi scanning connection information of the intelligent mobile terminal in the preset time is in a decreasing trend and a decreasing amplitude exceeds a first preset WiFi signal intensity value in the preset sub-time, and if so, execute a sixth adjusting subunit;
the sixth adjusting subunit is configured to reduce the initial confidence score of the intelligent mobile terminal in the stationary state;
a fifth determining subunit, configured to determine, if the WiFi scanning connection information of the intelligent mobile terminal in the preset time includes at least two different pieces of WiFi scanning connection information, whether an amplification of a WiFi signal intensity after WiFi connection switching in the WiFi scanning connection information of the intelligent mobile terminal in the preset time exceeds a second preset WiFi signal intensity value compared to a WiFi signal intensity before WiFi connection switching, and if so, execute a seventh adjusting subunit;
and the seventh adjusting subunit is configured to reduce the initial confidence score of the intelligent mobile terminal in the stationary state.
Preferably, the first adjusting unit or the second adjusting unit includes:
and the eighth adjusting subunit is configured to reduce the initial confidence score of the riding state of the intelligent mobile terminal if the WiFi scanning connection information, which is closest to the current time, in the WiFi scanning connection information of the intelligent mobile terminal within the preset time is non-mobile WiFi scanning connection information.
Preferably, the first adjusting unit or the second adjusting unit includes:
the third counting subunit is used for counting the number of different base station scanning connection information in the base station scanning connection information of the intelligent mobile terminal in the preset time;
a sixth determining subunit, configured to determine whether the number of different pieces of base station scanning connection information in base station scanning connection information of the intelligent mobile terminal in a preset time is greater than a preset number, and if so, execute a ninth adjusting subunit;
and the ninth adjusting subunit is configured to reduce the still state initial confidence score and the walking state initial confidence score of the intelligent mobile terminal.
Preferably, the first adjusting unit or the second adjusting unit includes:
the second calculating subunit is used for carrying out average operation on the GPS signal to noise ratio of the intelligent mobile terminal within the preset time to obtain the GPS signal average signal to noise ratio of the intelligent mobile terminal within the preset time;
and the tenth adjusting subunit is configured to reduce the initial confidence score of the riding state of the intelligent mobile terminal if the average signal-to-noise ratio of the GPS signal of the intelligent mobile terminal within the preset time is smaller than the signal-to-noise ratio threshold.
Compared with the prior art, the beneficial effect of this application is:
in this application, because the change of the motion state of the intelligent mobile terminal can influence the communication of the intelligent mobile terminal, the application utilizes the communication information influenced by the change of the motion state to correspondingly detect what kind of change occurs in the motion state. And all intelligent mobile terminals support communication with the outside, so that the communication information of all the intelligent mobile terminals can be acquired, all the intelligent mobile terminals support motion state detection, adaptation to the models of the independent mobile terminals is not needed, the application range of the motion state detection method is expanded, and the universality of the motion state detection method is improved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without inventive labor.
FIG. 1 is a flow chart of a motion state detection method provided herein;
FIG. 2 is a sub-flowchart of a motion state detection method provided herein;
FIG. 3 is another sub-flow diagram of a motion state detection method provided herein;
FIG. 4 is a schematic diagram of a WiFi address overlap ratio distribution provided by the present application;
FIG. 5 is a schematic diagram of a logic structure of the motion state detection apparatus provided in the present application;
FIG. 6 is a schematic diagram of a logical structure of a detection module provided in the present application;
fig. 7 is a schematic diagram of another logic structure of the detection module provided in the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
With the development and progress of science and technology, the computing capability and the network rate of an intelligent mobile terminal (such as a smart phone) are rapidly improved. Moreover, the intelligent mobile terminal has the advantage of being unique, and is convenient to carry. And the characteristic of portable can make the person of carrying easily hand-carry intelligent mobile terminal to make intelligent mobile terminal keep unanimous with the person of carrying physical motion, based on this characteristic, can utilize the detection to intelligent mobile terminal's motion state to realize the detection to human motion state. Of course, the motion state detection by using the intelligent mobile terminal is not limited to be applied to the aspect of human motion state detection, and can also be applied to any required field.
Based on the practical application of the motion state detection of the intelligent motion terminal, the application provides a new motion state detection method for enabling most intelligent mobile terminals to support the motion state detection, so that the application range of the motion state detection method is expanded.
Referring to fig. 1, a flow chart of a motion state detection method provided in the present application is shown, which may include the following steps:
step S101: and acquiring communication information of the intelligent mobile terminal within preset time.
In this embodiment, the communication information of the intelligent mobile terminal in the preset time may specifically, but is not limited to, include: GPS signals, WiFi scanning connection information, base station scanning connection information and GPS signal to noise ratio.
Step S102: and detecting the motion state of the intelligent mobile terminal by utilizing the communication information of the intelligent mobile terminal in the preset time to obtain a motion state detection result.
Because the change of the motion state of the intelligent mobile terminal can affect the communication of the intelligent mobile terminal, the embodiment in turn detects what kind of change occurs to the motion state of the intelligent mobile terminal in the preset time by using the affected communication information of the intelligent mobile terminal in the preset time, thereby determining the motion state of the intelligent mobile terminal.
In this application, because the change of the motion state of the intelligent mobile terminal can influence the communication of the intelligent mobile terminal, the application utilizes the communication information influenced by the change of the motion state to correspondingly detect what kind of change occurs in the motion state. And all intelligent mobile terminals support communication with the outside, so that the communication information of all the intelligent mobile terminals can be acquired, all the intelligent mobile terminals support motion state detection, adaptation to the models of the independent mobile terminals is not needed, the application range of the motion state detection method is expanded, and the universality of the motion state detection method is improved.
In this embodiment, the specific process of detecting the motion state of the intelligent mobile terminal by using the communication information of the intelligent mobile terminal to obtain the motion state detection result may refer to fig. 2, and as shown in fig. 2, the specific process may include the following steps:
step S11: and acquiring the riding state initial confidence score, the static state initial confidence score and the walking state initial confidence score of the intelligent mobile terminal.
Step S12: and adjusting the riding state initial confidence score, the static state initial confidence score and the walking state initial confidence score of the intelligent mobile terminal by using any one of the GPS signal, the WiFi scanning connection information, the base station scanning connection information and the GPS signal-to-noise ratio of the intelligent mobile terminal in the preset time.
Step S13: and taking the motion state corresponding to the highest confidence score in the adjusted riding state confidence score, the rest state confidence score and the walking state confidence score of the intelligent mobile terminal as the motion state of the intelligent mobile terminal.
Taking the motion state corresponding to the highest confidence score in the adjusted riding state confidence score, static state confidence score and walking state confidence score of the intelligent mobile terminal as the motion state of the intelligent mobile terminal, specifically: if the adjusted riding state confidence score of the intelligent mobile terminal is the highest, determining that the motion state of the intelligent mobile terminal is a riding state; if the adjusted static state confidence score of the intelligent mobile terminal is the highest, determining that the motion state of the intelligent mobile terminal is a static state; and if the adjusted walking state confidence score of the intelligent mobile terminal is the highest, determining that the motion state of the intelligent mobile terminal is the walking state.
In this embodiment, the specific process of detecting the motion state of the intelligent mobile terminal by using the communication information of the intelligent mobile terminal to obtain the motion state detection result may also refer to fig. 3, as shown in fig. 3, and may include the following steps:
step S21: and acquiring the riding state initial confidence score, the static state initial confidence score and the walking state initial confidence score of the intelligent mobile terminal.
Step S22: and selecting at least any two kinds of information from the GPS signal, the WiFi scanning connection information, the base station scanning connection information and the GPS signal to noise ratio of the intelligent mobile terminal in the preset time as adjustment information.
Step S23: and respectively adjusting the riding state initial confidence score, the static state initial confidence score and the walking state initial confidence score of the intelligent mobile terminal by using the adjustment information.
Step S24: and multiplying the riding state initial confidence score, the static state initial confidence score and the walking state initial confidence score of the intelligent mobile terminal after the adjustment of each piece of adjustment information by the weight value of the corresponding adjustment information to obtain a riding state secondary adjustment confidence score, a static state secondary adjustment confidence score and a walking state secondary adjustment confidence score of the intelligent mobile terminal corresponding to each piece of adjustment information.
Step S25: and adding the riding state secondary adjustment confidence scores of the intelligent mobile terminal corresponding to the adjustment information to obtain a final riding state confidence score.
Step S26: and adding the secondary adjustment confidence scores of the static state of the intelligent mobile terminal corresponding to each adjustment information to obtain a final confidence score of the static state.
Step S27: and adding the walking state secondary adjustment confidence scores of the intelligent mobile terminal corresponding to the adjustment information to obtain a walking state final confidence score.
It should be noted that, in this embodiment, the execution of step S25 to step S27 is only an example of an execution sequence, the execution sequence of steps S25, S26 and S27 is not limited in this application, and the three steps may be executed in any execution sequence, for example, step S26 may be executed first, and then steps S25 and S27 may be executed.
It is understood that the steps S25, S26 and S27 are all completed before the step S28 is skipped.
Step S28: and taking the motion state corresponding to the highest confidence score in the riding state final confidence score, the static state final confidence score and the walking state final confidence score as the motion state of the intelligent mobile terminal.
In this embodiment, a specific process from step S21 to step S28 is now described by way of example, for example, if the GPS signal and the WiFi scan connection information are selected from the GPS signal, the WiFi scan connection information, the base station scan connection information and the GPS signal to noise ratio of the smart mobile terminal within a preset time and are all used as adjustment information, the corresponding process from step S21 to step S28 is as follows:
a11: and acquiring the riding state initial confidence score, the static state initial confidence score and the walking state initial confidence score of the intelligent mobile terminal.
A12: and selecting the GPS signal and the WiFi scanning connection information from the GPS signal, the WiFi scanning connection information, the base station scanning connection information and the GPS signal to noise ratio of the intelligent mobile terminal in a preset time as adjustment information.
A13: and respectively adjusting the riding state initial confidence score, the static state initial confidence score and the walking state initial confidence score of the intelligent mobile terminal by using the GPS signal and the WiFi scanning connection information of the intelligent mobile terminal within the preset time.
A14: multiplying the riding state initial confidence score, the resting state initial confidence score and the walking state initial confidence score of the intelligent mobile terminal after the GPS signal of the intelligent mobile terminal is adjusted within the preset time by the weight value of the GPS signal of the intelligent mobile terminal within the preset time to obtain a riding state secondary adjustment confidence score, a resting state secondary adjustment confidence score and a walking state secondary adjustment confidence score of the intelligent mobile terminal corresponding to the GPS signal of the intelligent mobile terminal within the preset time;
and multiplying the riding state initial confidence score, the static state initial confidence score and the walking state initial confidence score of the intelligent mobile terminal after the WiFi scanning connection information of the intelligent mobile terminal is adjusted within the preset time by the weight value of the WiFi scanning connection information of the intelligent mobile terminal within the preset time to obtain a riding state secondary adjustment confidence score, a static state secondary adjustment confidence score and a walking state secondary adjustment confidence score of the intelligent mobile terminal corresponding to the WiFi scanning connection information of the intelligent mobile terminal within the preset time.
A15: adding the riding state secondary adjustment confidence score of the intelligent mobile terminal corresponding to the GPS signal of the intelligent mobile terminal in the preset time and the riding state secondary adjustment confidence score of the intelligent mobile terminal corresponding to the WiFi scanning connection information of the intelligent mobile terminal in the preset time to obtain the final riding state confidence score.
A16: and adding the static state secondary adjustment confidence score of the intelligent mobile terminal corresponding to the GPS signal of the intelligent mobile terminal in the preset time and the static state secondary adjustment confidence score of the intelligent mobile terminal corresponding to the WiFi scanning connection information of the intelligent mobile terminal in the preset time to obtain a final static state confidence score.
A17: and adding the walking state secondary adjustment confidence score of the intelligent mobile terminal corresponding to the GPS signal of the intelligent mobile terminal in the preset time and the walking state secondary adjustment confidence score of the intelligent mobile terminal corresponding to the WiFi scanning connection information of the intelligent mobile terminal in the preset time to obtain the final walking state confidence score.
It should be noted that, in this embodiment, the execution of step a15 to step a17 is only an example of an execution order, the execution order of steps a15, a16 and a17 is not limited in this application, and the three steps may be executed according to any execution order, for example, step a16 may be executed first, and then steps a15 and a17 may be executed.
It is understood that the steps A15, A16 and A17 are all completed before the step A18 is skipped.
A18: and taking the motion state corresponding to the highest confidence score in the riding state final confidence score, the static state final confidence score and the walking state final confidence score as the motion state of the intelligent mobile terminal.
If the final confidence score of the riding state is the highest, determining that the motion state of the intelligent mobile terminal is the riding state; if the final confidence score of the static state is the highest, determining that the motion state of the intelligent mobile terminal is the static state; and if the final confidence score of the walking state is the highest, determining that the motion state of the intelligent mobile terminal is the walking state.
In this embodiment, a specific process from step S21 to step S28 is further illustrated, for example, if the GPS signal, the WiFi scanning connection information, the base station scanning connection information and the GPS signal to noise ratio are selected from the GPS signal, the WiFi scanning connection information, the base station scanning connection information and the GPS signal to noise ratio of the smart mobile terminal within a preset time and are all used as the adjustment information, then the corresponding process from step S21 to step S28 is executed as follows:
a21: and acquiring the riding state initial confidence score, the static state initial confidence score and the walking state initial confidence score of the intelligent mobile terminal.
A22: and selecting the GPS signal, the WiFi scanning connection information, the base station scanning connection information and the GPS signal-to-noise ratio from the GPS signal, the WiFi scanning connection information, the base station scanning connection information and the GPS signal-to-noise ratio of the intelligent mobile terminal in a preset time as adjustment information.
A23: and respectively adjusting the riding state initial confidence score, the static state initial confidence score and the walking state initial confidence score of the intelligent mobile terminal by using the GPS signal, the WiFi scanning connection information, the base station scanning connection information and the GPS signal to noise ratio of the intelligent mobile terminal in the preset time.
A24: multiplying the riding state initial confidence score, the resting state initial confidence score and the walking state initial confidence score of the intelligent mobile terminal after the GPS signal of the intelligent mobile terminal is adjusted within the preset time by the weight value of the GPS signal of the intelligent mobile terminal within the preset time to obtain a riding state secondary adjustment confidence score, a resting state secondary adjustment confidence score and a walking state secondary adjustment confidence score of the intelligent mobile terminal corresponding to the GPS signal of the intelligent mobile terminal within the preset time;
multiplying the riding state initial confidence score, the static state initial confidence score and the walking state initial confidence score of the intelligent mobile terminal after the WiFi scanning connection information of the intelligent mobile terminal is adjusted within the preset time by the weight value of the WiFi scanning connection information of the intelligent mobile terminal within the preset time to obtain a riding state secondary adjustment confidence score, a static state secondary adjustment confidence score and a walking state secondary adjustment confidence score of the intelligent mobile terminal corresponding to the WiFi scanning connection information of the intelligent mobile terminal within the preset time;
multiplying the riding state initial confidence score, the static state initial confidence score and the walking state initial confidence score of the intelligent mobile terminal after the intelligent mobile terminal is adjusted by the base station scanning connection information within the preset time by the weight value of the base station scanning connection information of the intelligent mobile terminal within the preset time to obtain a riding state secondary adjustment confidence score, a static state secondary adjustment confidence score and a walking state secondary adjustment confidence score of the intelligent mobile terminal corresponding to the base station scanning connection information of the intelligent mobile terminal within the preset time;
multiplying the riding state initial confidence score, the resting state initial confidence score and the walking state initial confidence score of the intelligent mobile terminal after the GPS signal-to-noise ratio of the intelligent mobile terminal is adjusted within the preset time by the weight value of the GPS signal-to-noise ratio of the intelligent mobile terminal within the preset time to obtain a riding state secondary adjustment confidence score, a resting state secondary adjustment confidence score and a walking state secondary adjustment confidence score of the intelligent mobile terminal corresponding to the GPS signal-to-noise ratio of the intelligent mobile terminal within the preset time.
A25: adding the riding state secondary adjustment confidence score of the intelligent mobile terminal corresponding to the GPS signal of the intelligent mobile terminal in the preset time, the riding state secondary adjustment confidence score of the intelligent mobile terminal corresponding to the WiFi scanning connection information of the intelligent mobile terminal in the preset time, the riding state secondary adjustment confidence score of the intelligent mobile terminal corresponding to the base station scanning connection information of the intelligent mobile terminal in the preset time and the riding state secondary adjustment confidence score of the intelligent mobile terminal corresponding to the GPS signal to noise ratio of the intelligent mobile terminal in the preset time to obtain the final riding state confidence score.
A26: adding the static state secondary adjustment confidence score of the intelligent mobile terminal corresponding to the GPS signal of the intelligent mobile terminal in the preset time, the static state secondary adjustment confidence score of the intelligent mobile terminal corresponding to the WiFi scanning connection information of the intelligent mobile terminal in the preset time, the static state secondary adjustment confidence score of the intelligent mobile terminal corresponding to the base station scanning connection information of the intelligent mobile terminal in the preset time and the static state secondary adjustment confidence score of the intelligent mobile terminal corresponding to the GPS signal-to-noise ratio of the intelligent mobile terminal in the preset time to obtain the final confidence score of the static state.
A27: adding the walking state secondary adjustment confidence score of the intelligent mobile terminal corresponding to the GPS signal of the intelligent mobile terminal in the preset time, the walking state secondary adjustment confidence score of the intelligent mobile terminal corresponding to the WiFi scanning connection information of the intelligent mobile terminal in the preset time, the walking state secondary adjustment confidence score of the intelligent mobile terminal corresponding to the base station scanning connection information of the intelligent mobile terminal in the preset time and the walking state secondary adjustment confidence score of the intelligent mobile terminal corresponding to the GPS signal-to-noise ratio of the intelligent mobile terminal in the preset time to obtain the final walking state confidence score.
It should be noted that, in this embodiment, the execution of step a25 to step a27 is only an example of an execution order, the execution order of steps a25, a26 and a27 is not limited in this application, and the three steps may be executed according to any execution order, for example, step a26 may be executed first, and then steps a25 and a27 may be executed.
It is understood that the steps A25, A26 and A27 are all completed before the step A28 is skipped.
A28: and taking the motion state corresponding to the highest confidence score in the riding state final confidence score, the static state final confidence score and the walking state final confidence score as the motion state of the intelligent mobile terminal.
If the final confidence score of the riding state is the highest, determining that the motion state of the intelligent mobile terminal is the riding state; if the final confidence score of the static state is the highest, determining that the motion state of the intelligent mobile terminal is the static state; and if the final confidence score of the walking state is the highest, determining that the motion state of the intelligent mobile terminal is the walking state.
In this embodiment, a specific process of adjusting the riding state initial confidence score, the static state initial confidence score and the walking state initial confidence score of the intelligent mobile terminal by using the GPS signal of the intelligent mobile terminal within the preset time may be as follows:
a31: and dividing the GPS signals of the intelligent mobile terminal in the preset time into low-speed GPS signals, medium-speed GPS signals and high-speed GPS signals by taking the speed information in the GPS signals as a basis, and counting the number of the low-speed GPS signals, the number of the medium-speed GPS signals and the number of the high-speed GPS signals.
A32: and judging whether the number of the high-speed GPS signals is more than 2.
If yes, go to step A33, otherwise go to step A34.
A33: and increasing the riding state initial confidence score of the intelligent mobile terminal according to the ascending amplitude of a first preset proportion, and reducing the static state initial confidence score and the walking state initial confidence score of the intelligent mobile terminal according to the descending amplitude of the first preset proportion, wherein the first preset proportion is a number greater than 1.
When the number of the high-speed GPS signals is large, the moving speed of the intelligent mobile terminal is high, so that the riding state initial confidence score of the intelligent mobile terminal is greatly improved, and the static state initial confidence score and the walking state initial confidence score of the intelligent mobile terminal are reduced.
In this embodiment, a specific implementation manner of increasing the riding state initial confidence score of the intelligent mobile terminal according to the ascending amplitude of the first preset proportion may be: multiplying the riding state initial confidence score of the intelligent mobile terminal by a first preset proportion; or adding the riding state initial confidence score of the intelligent mobile terminal and the riding state confidence score corresponding to a first preset proportion.
Correspondingly, the specific implementation of reducing the static state initial confidence score and the walking state initial confidence score of the intelligent mobile terminal according to the down-regulation amplitude of the first preset proportion may be: dividing the static state initial confidence score of the intelligent mobile terminal by a first preset proportion, and dividing the walking state initial confidence score of the intelligent mobile terminal by the first preset proportion; or subtracting the static state confidence score corresponding to a first preset proportion from the static state initial confidence score of the intelligent mobile terminal, and subtracting the walking state confidence score corresponding to the first preset proportion from the walking state initial confidence score of the intelligent mobile terminal.
It should be noted that after the execution of step a33 is completed, the flow ends, and the step does not jump to step a34 to continue the execution.
A34: and judging whether the number of the medium-speed GPS signals is more than 2.
If yes, go to step A35, otherwise go to step A36.
A35: and increasing the riding state initial confidence score of the intelligent mobile terminal according to an increasing amplitude of a second preset proportion, and decreasing the static state initial confidence score and the walking state initial confidence score of the intelligent mobile terminal according to a decreasing amplitude of the second preset proportion, wherein the second preset proportion is a number greater than 1, and the second preset proportion is smaller than the first preset proportion.
When the number of the medium-speed GPS signals is large, the moving speed of the intelligent mobile terminal is high, so that the riding state initial confidence score of the intelligent mobile terminal is improved in a small range, and the static state initial confidence score and the walking state initial confidence score of the intelligent mobile terminal are reduced.
In this embodiment, a specific implementation manner of increasing the riding state initial confidence score of the intelligent mobile terminal according to the ascending amplitude of the second preset proportion may be: multiplying the riding state initial confidence score of the intelligent mobile terminal by a second preset proportion; or adding the riding state initial confidence score of the intelligent mobile terminal and the riding state confidence score corresponding to a second preset proportion.
In this embodiment, a specific implementation manner of reducing the static state initial confidence score and the walking state initial confidence score of the intelligent mobile terminal according to the down-regulation amplitude of the second preset proportion may be as follows: dividing the static state initial confidence score of the intelligent mobile terminal by a second preset proportion, and dividing the walking state initial confidence score of the intelligent mobile terminal by the second preset proportion; or subtracting the static state confidence score corresponding to a second preset proportion from the static state initial confidence score of the intelligent mobile terminal, and subtracting the walking state confidence score corresponding to the second preset proportion from the walking state initial confidence score of the intelligent mobile terminal.
It should be noted that after the execution of step a35 is completed, the flow ends, and the step does not jump to step a36 to continue the execution.
A36: and judging whether the number of the low-speed GPS signals is more than 2.
If yes, go to step A37.
A37: and reducing the initial confidence score of the intelligent mobile terminal in the static state.
When the number of the low-speed GPS signals is large, the intelligent mobile terminal is still in a moving state, but the moving speed is low, and therefore the initial confidence score of the intelligent mobile terminal in the static state is only reduced.
In this embodiment, a specific process of adjusting the riding state initial confidence score, the static state initial confidence score and the walking state initial confidence score of the intelligent mobile terminal by using the WiFi scanning connection information of the intelligent mobile terminal within the preset time may be as follows:
a41: and acquiring the time points of two WiFi scanning closest to the current moment in the preset time from the WiFi scanning connection information of the intelligent mobile terminal in the preset time, wherein the time points are a first time point and a second time point respectively, and the first time point is earlier than the second time point.
A42: the time interval between the first point in time and the current time is calculated, and is marked as x 1.
A43: and acquiring WiFi addresses scanned by two WiFi scans closest to the current moment within preset time from WiFi scanning connection information of the intelligent mobile terminal within the preset time.
A44: and counting the number of the same WiFi addresses in the WiFi addresses scanned by the two WiFi scans closest to the current moment within the preset time, determining the WiFi address coincidence degree of the two WiFi scans closest to the current moment within the preset time according to the counted number of the same WiFi addresses, and marking the WiFi address coincidence degree as y 1.
The more the number of the same WiFi addresses is counted, the higher the WiFi address coincidence degree of the two WiFi scans closest to the current moment in the preset time is, and on the contrary, the lower the WiFi address coincidence degree of the two WiFi scans closest to the current moment in the preset time is.
A45: and if the coordinate pair (x1, y1) is within a first threshold range, increasing the static state initial confidence score and the walking state initial confidence score of the intelligent mobile terminal, wherein the first threshold range is a range formed by coordinate points above a corresponding straight line in a planar rectangular coordinate system, and the walking state linear function y + A1x-B1 is 0.
In this embodiment, since the first threshold range is a range formed by coordinate points above a straight line corresponding to the walking state linear function y + A1x-B1 in the planar rectangular coordinate system, if the coordinate pair (x1, y1) is within the first threshold range, it indicates that the coordinate pair (x1, y1) is above a straight line corresponding to the walking state linear function y + A1x-B1 in the planar rectangular coordinate system, and if x1 is determined, the larger y1 is, the higher the WiFi address overlapping degree of two WiFi scans closest to the current time in the preset time is, the higher the WiFi address overlapping degree is, the slower the moving speed of the smart mobile terminal is, and thus the still state initial confidence score and the walking state initial confidence score of the smart mobile terminal are increased.
A46: and if the coordinate pair (x1, y1) is within a second threshold range, increasing the initial confidence score of the riding state of the intelligent mobile terminal, wherein the second threshold range is a range formed by coordinate points below a corresponding straight line in a planar rectangular coordinate system, and A2 is larger than a1, and a linear function y + A2x-B2 of the riding state is 0.
In this embodiment, since the second threshold range is a range formed by coordinate points below a straight line corresponding to the riding state linear function y + A2x-B2 in a planar rectangular coordinate system, if the coordinate pair (x1, y1) is within the second threshold range, it is indicated that the coordinate pair (x1, y1) is located below a straight line corresponding to the riding state linear function y + A2x-B2 in a planar rectangular coordinate system, and if x1 is determined, the smaller y1 is, the lower the WiFi address coincidence degree of two WiFi scans nearest to the current time in the preset time is, the lower the WiFi address coincidence degree is, the faster the moving speed of the smart mobile terminal is, and thus the initial confidence score of the riding state of the smart mobile terminal is increased.
In the present embodiment, the coefficients (a1, B1) and (a2, B2) are generated by supervised method training.
The reason why two linear functions, i.e., the walking state linear function y + A1x-B1 is 0 and the riding state linear function y + A2x-B2 is 0, is: for some time points with low or low WiFi address contact ratio, whether the corresponding motion state belongs to a riding state or a walking and static state cannot be determined clearly, and in order to better distinguish the motion state corresponding to the time points, two linear functions with larger critical value difference are set.
Based on that, A1 may be equal to 0.0058, B1 may be equal to 0.6874, A2 may be equal to 0.0191, and B2 may be equal to 0.5638, reference may be made to fig. 4 for a straight line corresponding to the walking state linear function y + A1 x-B1-0 and the riding state linear function y + A2 x-B2-0 in a rectangular plane coordinate system, where the coincidence ratio in fig. 4 is WiFi address coincidence ratio.
The steps A41 to A46 are used for distinguishing the riding state, the static state and the walking state of the intelligent mobile terminal by calculating the contact ratio of the WiFi addresses.
In this embodiment, the specific process of adjusting the riding state initial confidence score, the static state initial confidence score and the walking state initial confidence score of the intelligent mobile terminal by using the WiFi scanning connection information of the intelligent mobile terminal within the preset time may also be:
a51: if the WiFi scanning connection information of the intelligent mobile terminal in the preset time is kept unchanged, whether the WiFi signal strength of the intelligent mobile terminal in the WiFi scanning connection information in the preset time is in a decreasing trend or not and the decreasing amplitude exceeds a first preset WiFi signal strength value or not is judged.
If so, step A52 is performed.
In the present embodiment, the preset sub-time may be, but is not limited to, 20 seconds, and the first preset WiFi signal strength value may be, but is not limited to, 15 dB.
A52: and reducing the initial confidence score of the intelligent mobile terminal in the static state.
If the WiFi scanning connection information of the intelligent mobile terminal in the preset time is kept unchanged, the WiFi signal strength of the intelligent mobile terminal in the WiFi scanning connection information in the preset time is in a decreasing trend in the preset sub-time and the decreasing amplitude exceeds the first preset WiFi signal strength value, the intelligent mobile terminal moves in the direction far away from the WiFi signal source, and therefore the initial confidence score of the intelligent mobile terminal in the static state is reduced.
A53: if the WiFi scanning connection information of the intelligent mobile terminal in the preset time comprises at least two different WiFi scanning connection information, judging whether the WiFi signal intensity of the intelligent mobile terminal in the WiFi scanning connection information in the preset time after WiFi connection switching is larger than the WiFi signal intensity before WiFi connection switching or not, and increasing the amplitude to exceed a second preset WiFi signal intensity value.
If so, step A54 is performed.
A54: and reducing the initial confidence score of the intelligent mobile terminal in the static state.
If the WiFi scanning connection information of the intelligent mobile terminal in the preset time comprises at least two different WiFi scanning connection information, the fact that the WiFi connected with the intelligent mobile terminal is switched is indicated, on the basis that the fact that the WiFi connected with the intelligent mobile terminal is switched is determined, the fact that the WiFi signal intensity after the WiFi connection switching in the WiFi scanning connection information of the intelligent mobile terminal in the preset time is larger than the WiFi signal intensity before the WiFi connection switching in amplitude than a second preset WiFi signal intensity value is determined, the fact that the intelligent mobile terminal moves towards a switched WiFi signal source is indicated, and therefore the initial confidence score of the static state of the intelligent mobile terminal is reduced.
In this embodiment, the steps a51 to a54 adjust the ride state initial confidence score, the stationary state initial confidence score and the walking state initial confidence score of the smart mobile terminal by determining the WiFi signal strength change.
In this embodiment, the specific process of adjusting the riding state initial confidence score, the static state initial confidence score and the walking state initial confidence score of the intelligent mobile terminal by using the WiFi scanning connection information of the intelligent mobile terminal within the preset time may also be:
and if the WiFi scanning connection information which is closest to the current moment in the WiFi scanning connection information of the intelligent mobile terminal in the preset time is non-mobile WiFi scanning connection information, reducing the initial confidence score of the riding state of the intelligent mobile terminal.
If the WiFi scanning connection information which is closest to the current moment in the WiFi scanning connection information of the intelligent mobile terminal in the preset time is non-mobile WiFi scanning connection information, the intelligent mobile terminal is not located outdoors and is located indoors, so that the situation that the motion state of the intelligent mobile terminal is a riding state is eliminated, and the initial confidence score of the riding state of the intelligent mobile terminal is provided.
In this embodiment, a specific process of adjusting the riding state initial confidence score, the static state initial confidence score and the walking state initial confidence score of the intelligent mobile terminal by using the base station scanning connection information of the intelligent mobile terminal within a preset time may be as follows:
a61: and counting the number of different base station scanning connection information in the base station scanning connection information of the intelligent mobile terminal in the preset time.
A62: and judging whether the number of different base station scanning connection information in the base station scanning connection information of the intelligent mobile terminal in the preset time is larger than the preset number.
If yes, go to step A63.
A63: and reducing the static state initial confidence score and the walking state initial confidence score of the intelligent mobile terminal.
If the number of the different base station scanning connection information in the base station scanning connection information of the intelligent mobile terminal in the preset time is larger than the preset number, the intelligent mobile terminal is in a high-speed moving state, and in a static or slow-speed moving state, the current base station connected with the intelligent mobile terminal is usually unchanged, and the intelligent mobile terminal can be continuously switched at a relatively fast speed in a riding mode. Accordingly, the stationary state initial confidence score and the walking state initial confidence score of the intelligent mobile terminal are reduced.
In this embodiment, a specific process of adjusting the riding state initial confidence score, the static state initial confidence score and the walking state initial confidence score of the intelligent mobile terminal by using the GPS signal to noise ratio of the intelligent mobile terminal within a preset time may be as follows:
a71: and carrying out average operation on the signal-to-noise ratio of the GPS signal of the intelligent mobile terminal within the preset time to obtain the average signal-to-noise ratio of the GPS signal of the intelligent mobile terminal within the preset time.
A72: and if the average signal-to-noise ratio of the GPS signal of the intelligent mobile terminal in the preset time is smaller than the signal-to-noise ratio threshold, reducing the initial confidence score of the riding state of the intelligent mobile terminal.
Whether the intelligent mobile terminal is in indoor shielding is judged according to the average signal-to-noise ratio of the GPS signal of the intelligent mobile terminal in the preset time, and when the average signal-to-noise ratio of the GPS signal of the intelligent mobile terminal in the preset time is smaller than the signal-to-noise ratio threshold value, the intelligent mobile terminal is considered to be located indoors, so that the initial confidence score of the intelligent mobile terminal in the riding state is reduced.
In this embodiment, by adjusting the riding state initial confidence score, the resting state initial confidence score, and the walking state initial confidence score of the intelligent mobile terminal, the absolute resting state and the relative resting state (for example, riding state under stationary motion) of the intelligent mobile terminal can be distinguished, and the detection range is expanded.
The motion state detection method provided by the embodiment can be used as a coarse-grained motion detection scheme, does not need high real-time performance, can be complementary with a traditional sensor scheme, provides auxiliary information decision for the traditional sensor scheme, and improves the detection effect and range.
Example two
Corresponding to the above method embodiments, this embodiment provides a motion state detection apparatus, please refer to fig. 5, where the motion state detection apparatus includes: an acquisition module 11 and a detection module 12.
The obtaining module 11 is configured to obtain communication information of the intelligent mobile terminal within a preset time.
And the detection module 12 is configured to detect the motion state of the intelligent mobile terminal by using the communication information of the intelligent mobile terminal within a preset time, so as to obtain a motion state detection result.
In this embodiment, the detecting module 12 may specifically include: a first obtaining unit 121, a first adjusting unit 122, and a first determining unit 123, as shown in fig. 6.
A first obtaining unit 121, configured to obtain a riding state initial confidence score, a static state initial confidence score, and a walking state initial confidence score of the intelligent mobile terminal.
A first adjusting unit 122, configured to adjust a riding state initial confidence score, a static state initial confidence score, and a walking state initial confidence score of the intelligent mobile terminal by using any one of a GPS signal, WiFi scanning connection information, base station scanning connection information, and a GPS signal to noise ratio of the intelligent mobile terminal within a preset time.
A first determining unit 123, configured to use the motion state corresponding to the highest confidence score among the adjusted riding state confidence score, resting state confidence score and walking state confidence score of the intelligent mobile terminal as the motion state of the intelligent mobile terminal.
In this embodiment, the detecting module 12 may specifically include: a second obtaining unit 124, a selecting unit 125, a second adjusting unit 126, a third adjusting unit 127, a first calculating unit 128, a second calculating unit 129, a third calculating unit 1210, and a second determining unit 1211, as shown in fig. 7.
A second obtaining unit 124, configured to obtain a riding state initial confidence score, a static state initial confidence score, and a walking state initial confidence score of the intelligent mobile terminal.
And the selecting unit 125 is configured to select at least any two information from the GPS signal, the WiFi scanning connection information, the base station scanning connection information, and the GPS signal to noise ratio of the intelligent mobile terminal within a preset time, and all the two information are used as adjustment information.
A second adjusting unit 126, configured to adjust the riding state initial confidence score, the static state initial confidence score, and the walking state initial confidence score of the smart mobile terminal respectively by using each piece of adjustment information.
The third adjusting unit 127 is configured to multiply the riding state initial confidence score, the static state initial confidence score, and the walking state initial confidence score of the intelligent mobile terminal after being adjusted by each piece of adjustment information by the weight value of the corresponding piece of adjustment information to obtain a riding state secondary adjustment confidence score, a static state secondary adjustment confidence score, and a walking state secondary adjustment confidence score of the intelligent mobile terminal corresponding to each piece of adjustment information.
And the first calculating unit 128 is configured to add the riding state secondary adjustment confidence scores of the intelligent mobile terminals corresponding to the adjustment information to obtain a final riding state confidence score.
And the second calculating unit 129 is configured to add the secondary adjustment confidence scores of the stationary states of the intelligent mobile terminal corresponding to each piece of adjustment information to obtain a final confidence score of the stationary state.
A third calculating unit 1210, configured to add walking state secondary adjustment confidence scores of the intelligent mobile terminal corresponding to each piece of adjustment information to obtain a walking state final confidence score.
A second determining unit 1211, configured to determine, as the motion state of the intelligent mobile terminal, a motion state corresponding to a highest confidence score among the riding state final confidence score, the static state final confidence score, and the walking state final confidence score.
In this embodiment, the first adjusting unit 122 or the second adjusting unit 126 may specifically include: the system comprises a dividing subunit, a first statistic subunit, a first judging subunit, a first adjusting subunit, a second judging subunit, a second adjusting subunit, a third judging subunit and a third adjusting subunit.
The cooperative execution process of the dividing subunit, the first counting subunit, the first judging subunit, the first adjusting subunit, the second judging subunit, the second adjusting subunit, the third judging subunit and the third adjusting subunit is an execution process of adjusting the riding state initial confidence score, the static state initial confidence score and the walking state initial confidence score of the intelligent mobile terminal by using a GPS signal of the intelligent mobile terminal in a preset time.
And the dividing subunit is used for dividing the GPS signals of the intelligent mobile terminal within the preset time into low-speed GPS signals, medium-speed GPS signals and high-speed GPS signals by taking the speed information in the GPS signals as a basis.
And the first counting subunit is used for counting the number of the low-speed GPS signals, the number of the medium-speed GPS signals and the number of the high-speed GPS signals.
The first judging subunit is configured to judge whether the number of the high-speed GPS signals is greater than 2, execute the first adjusting subunit if the number of the high-speed GPS signals is greater than 2, and execute the second judging subunit if the number of the high-speed GPS signals is not greater than 2.
The first adjusting subunit is configured to increase the riding state initial confidence score of the intelligent mobile terminal according to an increasing range of a first preset proportion, and decrease the static state initial confidence score and the walking state initial confidence score of the intelligent mobile terminal according to a decreasing range of the first preset proportion, where the first preset proportion is a number greater than 1.
The second judging subunit is configured to judge whether the number of the medium-speed GPS signals is greater than 2, execute the second adjusting subunit if the number of the medium-speed GPS signals is greater than 2, and execute the third judging subunit if the number of the medium-speed GPS signals is not greater than 2.
The second adjusting subunit is configured to increase the riding state initial confidence score of the intelligent mobile terminal according to an increasing range of a second preset proportion, and decrease the static state initial confidence score and the walking state initial confidence score of the intelligent mobile terminal according to a decreasing range of the second preset proportion, where the second preset proportion is a number greater than 1 and is smaller than the first preset proportion.
And the third judging subunit is configured to judge whether the number of the low-speed GPS signals is greater than 2, and if the number of the low-speed GPS signals is greater than 2, execute a third adjusting subunit.
And the third adjusting subunit is used for reducing the initial confidence score of the intelligent mobile terminal in the static state.
In this embodiment, the first adjusting unit 122 or the second adjusting unit 126 may specifically include: the system comprises a first obtaining subunit, a first calculating subunit, a second obtaining subunit, a second counting subunit, a first determining subunit, a fourth adjusting subunit and a fifth adjusting subunit.
The cooperative execution process of the first obtaining subunit, the first calculating subunit, the second obtaining subunit, the second counting subunit, the first determining subunit, the fourth adjusting subunit and the fifth adjusting subunit is an execution process of adjusting the riding state initial confidence score, the static state initial confidence score and the walking state initial confidence score of the intelligent mobile terminal by using the WiFi scanning connection information of the intelligent mobile terminal in the preset time.
The first obtaining subunit is configured to obtain, from WiFi scanning connection information of the intelligent mobile terminal in a preset time, time points of two WiFi scans closest to a current time within the preset time, where the time points are a first time point and a second time point, respectively, and the first time point is earlier than the second time point.
A first calculating subunit, configured to calculate a time interval between the first time point and the current time, which is denoted as x 1.
And the second acquiring subunit is configured to acquire, from the WiFi scanning connection information of the intelligent mobile terminal within a preset time, a WiFi address scanned by two WiFi scans closest to the current time within the preset time.
And the second counting subunit is used for counting the number of the same WiFi addresses in the WiFi addresses scanned by the two WiFi scans closest to the current moment within the preset time.
And the first determining subunit is configured to determine, according to the counted number of the same WiFi addresses, a WiFi address overlap ratio of two WiFi scans closest to the current time within the preset time, which is marked as y 1.
And a fourth adjusting subunit, configured to increase the static state initial confidence score and the walking state initial confidence score of the smart mobile terminal if the coordinate pair (x1, y1) is within a first threshold range, where the first threshold range is a range formed by coordinate points of a walking state linear function y + A1x-B1, which are 0 above a corresponding straight line in a planar rectangular coordinate system.
And a fifth adjusting subunit, configured to increase the initial confidence score of the riding state of the smart mobile terminal if the coordinate pair (x1, y1) is within a second threshold range, where the second threshold range is a range formed by coordinate points below a corresponding straight line in a planar rectangular coordinate system, and a linear function y + A2x-B2 of the riding state is 0, and A2 is greater than a 1.
In this embodiment, the first adjusting unit 122 or the second adjusting unit 126 may specifically include: a fourth judging subunit, a sixth adjusting subunit, a fifth judging subunit and a seventh adjusting subunit.
The cooperative execution process of the fourth judging subunit, the sixth adjusting subunit, the fifth judging subunit and the seventh adjusting subunit is an execution process of adjusting the riding state initial confidence score, the static state initial confidence score and the walking state initial confidence score of the intelligent mobile terminal by using the WiFi scanning connection information of the intelligent mobile terminal in the preset time.
And the fourth judging subunit is used for judging whether the WiFi signal strength in the WiFi scanning connection information of the intelligent mobile terminal in the preset time is in a decreasing trend and the decreasing amplitude exceeds the first preset WiFi signal strength value in the preset sub-time if the WiFi scanning connection information of the intelligent mobile terminal in the preset time is kept unchanged, and if so, executing the sixth adjusting subunit.
And the sixth adjusting subunit is configured to reduce the initial confidence score of the intelligent mobile terminal in the stationary state.
And the fifth judgment subunit is used for judging whether the WiFi signal strength after WiFi connection switching in the WiFi scanning connection information of the intelligent mobile terminal in the preset time exceeds the second preset WiFi signal strength value or not in comparison with the WiFi signal strength before WiFi connection switching if the WiFi scanning connection information of the intelligent mobile terminal in the preset time comprises at least two different WiFi scanning connection information, and executing a seventh adjustment subunit if the WiFi scanning connection information of the intelligent mobile terminal in the preset time comprises the WiFi scanning connection information of at least two different WiFi scanning connection information.
And the seventh adjusting subunit is configured to reduce the initial confidence score of the intelligent mobile terminal in the stationary state.
In this embodiment, the first adjusting unit 122 or the second adjusting unit 126 may specifically include: and the eighth adjusting subunit is configured to reduce the initial confidence score of the riding state of the intelligent mobile terminal if the WiFi scanning connection information, which is closest to the current time, in the WiFi scanning connection information of the intelligent mobile terminal within the preset time is non-mobile WiFi scanning connection information.
In this embodiment, the first adjusting unit 122 or the second adjusting unit 126 may specifically include: a third statistics subunit, a sixth judgment subunit and a ninth adjustment subunit.
The cooperative execution process of the third statistics subunit, the sixth judgment subunit and the ninth adjustment subunit is an execution process of adjusting the riding state initial confidence score, the static state initial confidence score and the walking state initial confidence score of the intelligent mobile terminal by using the base station scanning connection information of the intelligent mobile terminal in the preset time.
And the third counting subunit is used for counting the number of different base station scanning connection information in the base station scanning connection information of the intelligent mobile terminal in the preset time.
And the sixth judging subunit is used for judging whether the number of the different base station scanning connection information in the base station scanning connection information of the intelligent mobile terminal in the preset time is greater than the preset number, and if so, executing the ninth adjusting subunit.
And the ninth adjusting subunit is configured to reduce the still state initial confidence score and the walking state initial confidence score of the intelligent mobile terminal.
In this embodiment, the first adjusting unit 122 or the second adjusting unit 126 may specifically include: a second calculation subunit and a tenth adjustment subunit.
The cooperative execution process of the second calculating subunit and the tenth adjusting subunit is an execution process of adjusting the riding state initial confidence score, the static state initial confidence score and the walking state initial confidence score of the intelligent mobile terminal by using the signal-to-noise ratio of the GPS signal of the intelligent mobile terminal in the preset time.
The second calculating subunit is used for carrying out average operation on the GPS signal to noise ratio of the intelligent mobile terminal within the preset time to obtain the GPS signal average signal to noise ratio of the intelligent mobile terminal within the preset time;
and the tenth adjusting subunit is configured to reduce the initial confidence score of the riding state of the intelligent mobile terminal if the average signal-to-noise ratio of the GPS signal of the intelligent mobile terminal within the preset time is smaller than the signal-to-noise ratio threshold.
It should be noted that, in the present specification, the embodiments are all described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments may be referred to each other. For the device-like embodiment, since it is basically similar to the method embodiment, the description is simple, and for the relevant points, reference may be made to the partial description of the method embodiment.
Finally, it should also be noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
The motion state detection method and device provided by the present application are introduced in detail, and a specific example is applied in the description to explain the principle and the implementation of the present application, and the description of the above embodiment is only used to help understanding the method and the core idea of the present application; meanwhile, for a person skilled in the art, according to the idea of the present application, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present application.
Claims (14)
1. A motion state detection method, comprising:
acquiring communication information of the intelligent mobile terminal within preset time;
detecting the motion state of the intelligent mobile terminal by utilizing the communication information of the intelligent mobile terminal in the preset time to obtain a motion state detection result;
the method for detecting the motion state of the intelligent mobile terminal by utilizing the communication information of the intelligent mobile terminal in the preset time to obtain the detection result of the motion state comprises the following steps:
acquiring a riding state initial confidence score, a static state initial confidence score and a walking state initial confidence score of the intelligent mobile terminal;
selecting at least any two kinds of information from the GPS signal, the WiFi scanning connection information, the base station scanning connection information and the GPS signal-to-noise ratio of the intelligent mobile terminal in a preset time as adjustment information;
respectively adjusting the riding state initial confidence score, the static state initial confidence score and the walking state initial confidence score of the intelligent mobile terminal by using the adjustment information;
multiplying the riding state initial confidence score, the static state initial confidence score and the walking state initial confidence score of the intelligent mobile terminal after the adjustment of each piece of adjustment information by the weight value of the corresponding adjustment information to obtain a riding state secondary adjustment confidence score, a static state secondary adjustment confidence score and a walking state secondary adjustment confidence score of the intelligent mobile terminal corresponding to each piece of adjustment information;
adding the riding state secondary adjustment confidence scores of the intelligent mobile terminal corresponding to the adjustment information to obtain a riding state final confidence score;
adding the secondary adjustment confidence scores of the static state of the intelligent mobile terminal corresponding to each adjustment information to obtain a final confidence score of the static state;
adding the walking state secondary adjustment confidence scores of the intelligent mobile terminals corresponding to the adjustment information to obtain a walking state final confidence score;
and taking the motion state corresponding to the highest confidence score in the riding state final confidence score, the static state final confidence score and the walking state final confidence score as the motion state of the intelligent mobile terminal.
2. The method of claim 1, wherein the adjusting the ride state initial confidence score, the stationary state initial confidence score and the walk state initial confidence score of the intelligent mobile terminal by using the GPS signal of the intelligent mobile terminal within the preset time comprises:
dividing the GPS signals of the intelligent mobile terminal in the preset time into low-speed GPS signals, medium-speed GPS signals and high-speed GPS signals by taking speed information in the GPS signals as a basis, and counting the number of the low-speed GPS signals, the number of the medium-speed GPS signals and the number of the high-speed GPS signals;
judging whether the number of the high-speed GPS signals is more than 2;
if the number of the high-speed GPS signals is more than 2, increasing the riding state initial confidence score of the intelligent mobile terminal according to the up-regulation amplitude of a first preset proportion, and decreasing the static state initial confidence score and the walking state initial confidence score of the intelligent mobile terminal according to the down-regulation amplitude of the first preset proportion, wherein the first preset proportion is a number more than 1;
if the number of the high-speed GPS signals is not more than 2, judging whether the number of the medium-speed GPS signals is more than 2;
if the number of the medium-speed GPS signals is larger than 2, increasing the riding state initial confidence score of the intelligent mobile terminal according to the ascending amplitude of a second preset proportion, and decreasing the static state initial confidence score and the walking state initial confidence score of the intelligent mobile terminal according to the descending amplitude of the second preset proportion, wherein the second preset proportion is a number larger than 1, and the second preset proportion is smaller than the first preset proportion;
if the number of the medium-speed GPS signals is not more than 2, judging whether the number of the low-speed GPS signals is more than 2;
and if the number of the low-speed GPS signals is more than 2, reducing the initial confidence score of the intelligent mobile terminal in the static state.
3. The method of claim 1, wherein adjusting the ride state initial confidence score, the stationary state initial confidence score and the walk state initial confidence score of the smart mobile terminal by using the WiFi scanning connection information of the smart mobile terminal within a preset time comprises:
acquiring two WiFi scanning time points which are nearest to the current moment within a preset time from WiFi scanning connection information of the intelligent mobile terminal within the preset time, wherein the two WiFi scanning time points are a first time point and a second time point respectively, and the first time point is earlier than the second time point;
calculating a time interval between the first time point and the current time, marked as x 1;
acquiring WiFi addresses scanned by two WiFi scans closest to the current moment within preset time from WiFi scanning connection information of the intelligent mobile terminal within the preset time;
counting the number of the same WiFi addresses in the WiFi addresses scanned by the two WiFi scans closest to the current moment within the preset time, and determining the WiFi address contact ratio of the two WiFi scans closest to the current moment within the preset time according to the counted number of the same WiFi addresses, wherein the mark is y 1;
if the coordinate pair (x1, y1) is within a first threshold range, increasing the static state initial confidence score and the walking state initial confidence score of the intelligent mobile terminal, wherein the first threshold range is a range formed by coordinate points above a corresponding straight line in a planar rectangular coordinate system, and a walking state linear function y + A1x-B1 is 0;
and if the coordinate pair (x1, y1) is within a second threshold range, increasing the initial confidence score of the riding state of the intelligent mobile terminal, wherein the second threshold range is a range formed by coordinate points below a corresponding straight line in a planar rectangular coordinate system, and A2 is larger than a1, and a linear function y + A2x-B2 of the riding state is 0.
4. The method of claim 1, wherein adjusting the ride state initial confidence score, the stationary state initial confidence score and the walk state initial confidence score of the smart mobile terminal by using the WiFi scanning connection information of the smart mobile terminal within a preset time comprises:
if the WiFi scanning connection information of the intelligent mobile terminal in the preset time is kept unchanged, judging whether the WiFi signal intensity in the WiFi scanning connection information of the intelligent mobile terminal in the preset time is in a decreasing trend and the decreasing amplitude exceeds a first preset WiFi signal intensity value in a preset sub-time;
if so, reducing the initial confidence score of the intelligent mobile terminal in the static state;
if the WiFi scanning connection information of the intelligent mobile terminal in the preset time comprises at least two different WiFi scanning connection information, judging whether the amplification of the WiFi signal intensity of the intelligent mobile terminal after WiFi connection switching in the WiFi scanning connection information in the preset time is larger than the second preset WiFi signal intensity value compared with the WiFi signal intensity before WiFi connection switching;
and if so, reducing the initial confidence score of the intelligent mobile terminal in the static state.
5. The method of claim 1, wherein adjusting the ride state initial confidence score, the stationary state initial confidence score and the walk state initial confidence score of the smart mobile terminal by using the WiFi scanning connection information of the smart mobile terminal within a preset time comprises:
and if the WiFi scanning connection information which is closest to the current moment in the WiFi scanning connection information of the intelligent mobile terminal in the preset time is non-mobile WiFi scanning connection information, reducing the initial confidence score of the riding state of the intelligent mobile terminal.
6. The method of claim 1, wherein the step of adjusting the ride state initial confidence score, the static state initial confidence score and the walking state initial confidence score of the intelligent mobile terminal by using the base station scanning connection information of the intelligent mobile terminal within the preset time comprises:
counting the number of different base station scanning connection information in the base station scanning connection information of the intelligent mobile terminal in a preset time;
judging whether the number of different base station scanning connection information in the base station scanning connection information of the intelligent mobile terminal in a preset time is larger than a preset number or not;
and if so, reducing the static state initial confidence score and the walking state initial confidence score of the intelligent mobile terminal.
7. The method of claim 1, wherein the adjusting the riding state initial confidence score, the static state initial confidence score and the walking state initial confidence score of the intelligent mobile terminal by using the GPS signal-to-noise ratio of the intelligent mobile terminal in the preset time comprises:
carrying out average operation on the signal-to-noise ratio of the GPS signal of the intelligent mobile terminal within the preset time to obtain the average signal-to-noise ratio of the GPS signal of the intelligent mobile terminal within the preset time;
and if the average signal-to-noise ratio of the GPS signal of the intelligent mobile terminal in the preset time is smaller than the signal-to-noise ratio threshold, reducing the initial confidence score of the riding state of the intelligent mobile terminal.
8. A motion state detection apparatus, comprising:
the acquisition module is used for acquiring communication information of the intelligent mobile terminal within preset time;
the detection module is used for detecting the motion state of the intelligent mobile terminal by utilizing the communication information of the intelligent mobile terminal in the preset time to obtain a motion state detection result;
wherein the detection module comprises:
the second acquisition unit is used for acquiring the riding state initial confidence score, the static state initial confidence score and the walking state initial confidence score of the intelligent mobile terminal;
the selection unit is used for selecting at least any two kinds of information from the GPS signal, the WiFi scanning connection information, the base station scanning connection information and the GPS signal-to-noise ratio of the intelligent mobile terminal in a preset time as adjustment information;
the second adjusting unit is used for respectively adjusting the riding state initial confidence score, the static state initial confidence score and the walking state initial confidence score of the intelligent mobile terminal by utilizing the adjusting information;
a third adjusting unit, configured to multiply the riding state initial confidence score, the static state initial confidence score, and the walking state initial confidence score of the intelligent mobile terminal after being adjusted by each piece of adjustment information by a weight value of each piece of corresponding adjustment information to obtain a riding state secondary adjustment confidence score, a static state secondary adjustment confidence score, and a walking state secondary adjustment confidence score of the intelligent mobile terminal corresponding to each piece of adjustment information;
the first calculating unit is used for adding the riding state secondary adjustment confidence scores of the intelligent mobile terminal corresponding to the adjustment information to obtain a final riding state confidence score;
the second calculation unit is used for adding the secondary adjustment confidence scores of the static state of the intelligent mobile terminal corresponding to the adjustment information to obtain a final confidence score of the static state;
the third calculating unit is used for adding the walking state secondary adjustment confidence scores of the intelligent mobile terminal corresponding to the adjustment information to obtain a walking state final confidence score;
and the second determining unit is used for taking the motion state corresponding to the highest confidence score in the riding state final confidence score, the static state final confidence score and the walking state final confidence score as the motion state of the intelligent mobile terminal.
9. The apparatus of claim 8, wherein the second adjusting unit comprises:
the dividing subunit is used for dividing the GPS signals of the intelligent mobile terminal within the preset time into low-speed GPS signals, medium-speed GPS signals and high-speed GPS signals by taking the speed information in the GPS signals as a basis;
the first counting subunit is used for counting the number of low-speed GPS signals, the number of medium-speed GPS signals and the number of high-speed GPS signals;
the first judging subunit is used for judging whether the number of the high-speed GPS signals is greater than 2, if the number of the high-speed GPS signals is greater than 2, executing the first adjusting subunit, and if the number of the high-speed GPS signals is not greater than 2, executing the second judging subunit;
the first adjusting subunit is configured to increase the riding state initial confidence score of the intelligent mobile terminal according to an increasing range of a first preset proportion, and decrease the static state initial confidence score and the walking state initial confidence score of the intelligent mobile terminal according to a decreasing range of the first preset proportion, where the first preset proportion is a number greater than 1;
the second judging subunit is configured to judge whether the number of the medium-speed GPS signals is greater than 2, execute the second adjusting subunit if the number of the medium-speed GPS signals is greater than 2, and execute the third judging subunit if the number of the medium-speed GPS signals is not greater than 2;
the second adjusting subunit is configured to increase the riding state initial confidence score of the intelligent mobile terminal according to an increasing range of a second preset proportion, and decrease the static state initial confidence score and the walking state initial confidence score of the intelligent mobile terminal according to a decreasing range of the second preset proportion, where the second preset proportion is a number greater than 1 and is smaller than the first preset proportion;
the third judging subunit is configured to judge whether the number of the low-speed GPS signals is greater than 2, and if the number of the low-speed GPS signals is greater than 2, execute a third adjusting subunit;
and the third adjusting subunit is used for reducing the initial confidence score of the intelligent mobile terminal in the static state.
10. The apparatus of claim 8, wherein the second adjusting unit comprises:
the first obtaining subunit is configured to obtain, from WiFi scanning connection information of the intelligent mobile terminal within a preset time, time points of two WiFi scans closest to a current time within the preset time, where the time points are a first time point and a second time point, respectively, and the first time point is earlier than the second time point;
a first calculating subunit, configured to calculate a time interval between the first time point and the current time, where the time interval is marked as x 1;
the second obtaining subunit is configured to obtain, from WiFi scanning connection information of the intelligent mobile terminal within a preset time, a WiFi address scanned by two WiFi scans closest to a current time within the preset time;
the second counting subunit is used for counting the number of the same WiFi addresses in the WiFi addresses scanned by two WiFi scans closest to the current moment within the preset time;
the first determining subunit is configured to determine, according to the counted number of identical WiFi addresses, a WiFi address coincidence degree of two WiFi scans closest to the current time within the preset time, which is marked as y 1;
a fourth adjusting subunit, configured to increase the static state initial confidence score and the walking state initial confidence score of the smart mobile terminal if the coordinate pair (x1, y1) is within a first threshold range, where the first threshold range is a range formed by coordinate points of a walking state linear function y + A1x-B1, which are 0 above a corresponding straight line in a planar rectangular coordinate system;
and a fifth adjusting subunit, configured to increase the initial confidence score of the riding state of the smart mobile terminal if the coordinate pair (x1, y1) is within a second threshold range, where the second threshold range is a range formed by coordinate points below a corresponding straight line in a planar rectangular coordinate system, and a linear function y + A2x-B2 of the riding state is 0, and A2 is greater than a 1.
11. The apparatus of claim 8, wherein the second adjusting unit comprises:
a fourth determining subunit, configured to determine, if WiFi scanning connection information of the intelligent mobile terminal in a preset time remains unchanged, whether WiFi signal intensity in the WiFi scanning connection information of the intelligent mobile terminal in the preset time is in a decreasing trend and a decreasing amplitude exceeds a first preset WiFi signal intensity value in the preset sub-time, and if so, execute a sixth adjusting subunit;
the sixth adjusting subunit is configured to reduce the initial confidence score of the intelligent mobile terminal in the stationary state;
a fifth determining subunit, configured to determine, if the WiFi scanning connection information of the intelligent mobile terminal in the preset time includes at least two different pieces of WiFi scanning connection information, whether an amplification of a WiFi signal intensity after WiFi connection switching in the WiFi scanning connection information of the intelligent mobile terminal in the preset time exceeds a second preset WiFi signal intensity value compared to a WiFi signal intensity before WiFi connection switching, and if so, execute a seventh adjusting subunit;
and the seventh adjusting subunit is configured to reduce the initial confidence score of the intelligent mobile terminal in the stationary state.
12. The apparatus of claim 8, wherein the second adjusting unit comprises:
and the eighth adjusting subunit is configured to reduce the initial confidence score of the riding state of the intelligent mobile terminal if the WiFi scanning connection information, which is closest to the current time, in the WiFi scanning connection information of the intelligent mobile terminal within the preset time is non-mobile WiFi scanning connection information.
13. The apparatus of claim 8, wherein the second adjusting unit comprises:
the third counting subunit is used for counting the number of different base station scanning connection information in the base station scanning connection information of the intelligent mobile terminal in the preset time;
a sixth determining subunit, configured to determine whether the number of different pieces of base station scanning connection information in base station scanning connection information of the intelligent mobile terminal in a preset time is greater than a preset number, and if so, execute a ninth adjusting subunit;
and the ninth adjusting subunit is configured to reduce the still state initial confidence score and the walking state initial confidence score of the intelligent mobile terminal.
14. The apparatus of claim 8, wherein the second adjusting unit comprises:
the second calculating subunit is used for carrying out average operation on the GPS signal to noise ratio of the intelligent mobile terminal within the preset time to obtain the GPS signal average signal to noise ratio of the intelligent mobile terminal within the preset time;
and the tenth adjusting subunit is configured to reduce the initial confidence score of the riding state of the intelligent mobile terminal if the average signal-to-noise ratio of the GPS signal of the intelligent mobile terminal within the preset time is smaller than the signal-to-noise ratio threshold.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710866461.0A CN109547624B (en) | 2017-09-22 | 2017-09-22 | Motion state detection method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710866461.0A CN109547624B (en) | 2017-09-22 | 2017-09-22 | Motion state detection method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109547624A CN109547624A (en) | 2019-03-29 |
CN109547624B true CN109547624B (en) | 2021-01-29 |
Family
ID=65828149
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710866461.0A Active CN109547624B (en) | 2017-09-22 | 2017-09-22 | Motion state detection method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109547624B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115527373B (en) * | 2022-01-05 | 2023-07-14 | 荣耀终端有限公司 | Riding tool identification method and device |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104066163A (en) * | 2014-04-24 | 2014-09-24 | 深圳市研强通信技术有限公司 | Power consumption saving device, mobile terminal and power consumption saving method |
CN105682032A (en) * | 2016-01-13 | 2016-06-15 | 广东欧珀移动通信有限公司 | Positioning mode control method, positioning mode control device and mobile terminal |
CN105898074A (en) * | 2016-06-13 | 2016-08-24 | 广东小天才科技有限公司 | Motion state detection method and system |
CN106504359A (en) * | 2016-10-28 | 2017-03-15 | 广东亿迅科技有限公司 | A kind of based on position and the intelligent attendance system and its implementation of kinestate |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2014145809A2 (en) * | 2013-03-15 | 2014-09-18 | Verto Medical Solutions, LLC | Closed loop athlete training system |
CN104184882B (en) * | 2013-05-27 | 2016-08-10 | 华为终端有限公司 | A kind of method and apparatus that PA blanking mode of operation is set |
-
2017
- 2017-09-22 CN CN201710866461.0A patent/CN109547624B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104066163A (en) * | 2014-04-24 | 2014-09-24 | 深圳市研强通信技术有限公司 | Power consumption saving device, mobile terminal and power consumption saving method |
CN105682032A (en) * | 2016-01-13 | 2016-06-15 | 广东欧珀移动通信有限公司 | Positioning mode control method, positioning mode control device and mobile terminal |
CN105898074A (en) * | 2016-06-13 | 2016-08-24 | 广东小天才科技有限公司 | Motion state detection method and system |
CN106504359A (en) * | 2016-10-28 | 2017-03-15 | 广东亿迅科技有限公司 | A kind of based on position and the intelligent attendance system and its implementation of kinestate |
Also Published As
Publication number | Publication date |
---|---|
CN109547624A (en) | 2019-03-29 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP2433416B1 (en) | Context recognition in mobile devices | |
RU2615796C2 (en) | Method and device for controlling terminal using headset wire, as well as device | |
CN108040318B (en) | Positioning method, electronic equipment and computer readable storage medium | |
US8351958B2 (en) | Mobile device and method for identifying location thereof | |
JP6193224B2 (en) | Radio base location power profile | |
CN111092671B (en) | Signal strength reporting method and device, storage medium and terminal equipment | |
US20150039310A1 (en) | Method and Apparatus for Mitigating False Accepts of Trigger Phrases | |
US20150264536A1 (en) | Mobile device locating using limited access points | |
KR20090014981A (en) | A method of reducing power consumption in a ue when the ue is in idle mode | |
CN107339986A (en) | A kind of localization method, apparatus and system | |
US20160320186A1 (en) | Mobile electronic device, controlling method, and control program for computer | |
JP2014057300A (en) | Apparatus and method for energy efficient location sensing | |
CN101980191A (en) | Method and device for locking focus element in webpage browsing process | |
CN105611605A (en) | Network searching control method, network searching control device and terminal | |
CN109343066A (en) | Control method, device, storage medium and the mobile terminal of proximity sensor | |
CN109547624B (en) | Motion state detection method and device | |
CN103701981B (en) | A kind of method and device of realizing speech identifying function | |
CN105120511B (en) | Processor control method and terminal | |
CN107784298B (en) | Identification method and device | |
CN105959480A (en) | Control method and electronic equipment | |
US9961504B2 (en) | Mobile device, control method, and non-transitory storage medium | |
CN108605310B (en) | Method and device for adjusting positioning period | |
CN105100486B (en) | A kind of water inlet protection processing method, system and mobile terminal based on mobile terminal | |
CN112817423A (en) | Low-power-consumption positioning method, system, mobile terminal and computer-readable storage medium | |
CN111132282B (en) | Application processor awakening method and device applied to mobile terminal |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
TA01 | Transfer of patent application right |
Effective date of registration: 20200506 Address after: 310052 room 508, floor 5, building 4, No. 699, Wangshang Road, Changhe street, Binjiang District, Hangzhou City, Zhejiang Province Applicant after: Alibaba (China) Co.,Ltd. Address before: 100080 Beijing City, Haidian District Suzhou Street No. 3 floor 16 room 2 Applicant before: AUTONAVI INFORMATION TECHNOLOGY Co.,Ltd. |
|
TA01 | Transfer of patent application right | ||
GR01 | Patent grant | ||
GR01 | Patent grant |