WO2019056659A1 - 状态检测方法、装置和存储介质 - Google Patents
状态检测方法、装置和存储介质 Download PDFInfo
- Publication number
- WO2019056659A1 WO2019056659A1 PCT/CN2018/071626 CN2018071626W WO2019056659A1 WO 2019056659 A1 WO2019056659 A1 WO 2019056659A1 CN 2018071626 W CN2018071626 W CN 2018071626W WO 2019056659 A1 WO2019056659 A1 WO 2019056659A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- sample
- state
- mobile terminal
- classifier
- accommodating
- Prior art date
Links
- 238000001514 detection method Methods 0.000 title claims abstract description 48
- 238000000034 method Methods 0.000 claims abstract description 84
- 238000007635 classification algorithm Methods 0.000 claims abstract description 47
- 238000012549 training Methods 0.000 claims abstract description 39
- 230000008569 process Effects 0.000 claims description 35
- 238000012545 processing Methods 0.000 claims description 30
- 238000004422 calculation algorithm Methods 0.000 claims description 24
- 230000006870 function Effects 0.000 claims description 21
- 230000001133 acceleration Effects 0.000 claims description 19
- 238000006243 chemical reaction Methods 0.000 claims description 12
- 230000004308 accommodation Effects 0.000 claims description 7
- 230000000295 complement effect Effects 0.000 claims description 7
- 238000003066 decision tree Methods 0.000 claims description 7
- 238000007477 logistic regression Methods 0.000 claims description 7
- 238000012706 support-vector machine Methods 0.000 claims description 7
- 230000007958 sleep Effects 0.000 claims description 6
- 230000006266 hibernation Effects 0.000 claims description 3
- 230000004913 activation Effects 0.000 claims 2
- 238000005516 engineering process Methods 0.000 abstract description 9
- 238000004891 communication Methods 0.000 description 12
- 238000010586 diagram Methods 0.000 description 12
- 230000003287 optical effect Effects 0.000 description 5
- 230000005236 sound signal Effects 0.000 description 4
- 230000005540 biological transmission Effects 0.000 description 3
- 230000008878 coupling Effects 0.000 description 3
- 238000010168 coupling process Methods 0.000 description 3
- 238000005859 coupling reaction Methods 0.000 description 3
- 238000007726 management method Methods 0.000 description 3
- 230000003993 interaction Effects 0.000 description 2
- 238000010801 machine learning Methods 0.000 description 2
- 238000012795 verification Methods 0.000 description 2
- 230000005856 abnormality Effects 0.000 description 1
- 230000009471 action Effects 0.000 description 1
- 230000006399 behavior Effects 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000004364 calculation method Methods 0.000 description 1
- 238000013500 data storage Methods 0.000 description 1
- 238000003384 imaging method Methods 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000002093 peripheral effect Effects 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W52/00—Power management, e.g. TPC [Transmission Power Control], power saving or power classes
- H04W52/02—Power saving arrangements
- H04W52/0209—Power saving arrangements in terminal devices
- H04W52/0251—Power saving arrangements in terminal devices using monitoring of local events, e.g. events related to user activity
- H04W52/0254—Power saving arrangements in terminal devices using monitoring of local events, e.g. events related to user activity detecting a user operation or a tactile contact or a motion of the device
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F18/00—Pattern recognition
- G06F18/20—Analysing
- G06F18/24—Classification techniques
-
- 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
- H04M1/72454—User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to context-related or environment-related conditions
-
- 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
- H04M1/72463—User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions to restrict the functionality of the device
-
- 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/72484—User interfaces specially adapted for cordless or mobile telephones wherein functions are triggered by incoming communication events
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W52/00—Power management, e.g. TPC [Transmission Power Control], power saving or power classes
- H04W52/02—Power saving arrangements
- H04W52/0209—Power saving arrangements in terminal devices
- H04W52/0225—Power saving arrangements in terminal devices using monitoring of external events, e.g. the presence of a signal
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W52/00—Power management, e.g. TPC [Transmission Power Control], power saving or power classes
- H04W52/02—Power saving arrangements
- H04W52/0209—Power saving arrangements in terminal devices
- H04W52/0251—Power saving arrangements in terminal devices using monitoring of local events, e.g. events related to user activity
- H04W52/0258—Power saving arrangements in terminal devices using monitoring of local events, e.g. events related to user activity controlling an operation mode according to history or models of usage information, e.g. activity schedule or time of day
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M2201/00—Electronic components, circuits, software, systems or apparatus used in telephone systems
- H04M2201/34—Microprocessors
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M2250/00—Details of telephonic subscriber devices
- H04M2250/12—Details of telephonic subscriber devices including a sensor for measuring a physical value, e.g. temperature or motion
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W64/00—Locating users or terminals or network equipment for network management purposes, e.g. mobility management
- H04W64/006—Locating users or terminals or network equipment for network management purposes, e.g. mobility management with additional information processing, e.g. for direction or speed determination
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D30/00—Reducing energy consumption in communication networks
- Y02D30/70—Reducing energy consumption in communication networks in wireless communication networks
Definitions
- the present disclosure relates to the field of mobile technologies, and in particular, to a state detection method, apparatus, and storage medium.
- the mobile terminal usually determines whether it is located in a pocket by various means, and then performs corresponding operations according to the judgment result. For example, when the mobile terminal determines that it is located in the pocket, the mobile terminal automatically enters the sleep mode.
- a state detecting method for detecting whether a mobile terminal provided with a distance sensor (English: psensor) and an acceleration sensor (English: gsensor) is located in a pocket in which the mobile terminal determines the distance by a distance sensor. Whether there is an obstacle in a certain direction, and the acceleration of the mobile terminal is acquired by the acceleration sensor. When there is an obstacle in a certain direction of the mobile terminal and the mobile terminal has an acceleration, it can be determined that the mobile terminal is located in the pocket.
- the inventors have found that the related art has at least the following problems: in some special scenarios, the accuracy of the above method is low, for example, when the mobile terminal is on a traveling vehicle (the mobile terminal is always due to the shaking of the vehicle) When there is acceleration) and its distance sensor is occluded, the mobile terminal will always determine that it is in the pocket.
- the embodiments of the present disclosure provide a state detection method, apparatus, and storage medium, which can solve the problem of low accuracy of the state detection method in the related art.
- the technical solution is as follows:
- a state detection comprising:
- Obtaining a state sample set of the plurality of sample mobile terminals where the state sample set includes n accommodating state samples collected by the plurality of sample mobile terminals in a process of presetting the accommodating space, and moving in the plurality of samples The m non-receiving state samples collected by the terminal in the process of the preset accommodating space, where n and m are integers greater than 0;
- the classifier Sending, to the mobile terminal to be detected, the classifier, the to-be-detected mobile terminal is configured to determine, according to the state sample of the mobile terminal to be detected, whether the mobile terminal to be detected is located in the preset capacity Set the space.
- the acquiring the state sample set of the sample mobile terminal includes:
- the sending the classifier to the mobile terminal to be detected includes:
- the classification algorithm is any one of a decision tree algorithm, a logistic regression algorithm, and a support vector machine algorithm.
- any one of the n accommodating state samples includes a p feature parameter and a label for indicating a category of the any accommodating state sample, and the any accommodating state sample The category is located in the accommodating space, and the p is an integer greater than zero.
- any one of the m non-receiving state samples includes p feature parameters and a label for indicating a category of the any non-receiving state sample, where the non- The category of the accommodating state sample is not located in the accommodating space.
- the p feature parameters include: a parameter acquired by the distance sensor, a parameter acquired by the acceleration sensor, a system time of the sample mobile terminal, a parameter acquired by the light sensor, a program of the sample mobile terminal, and the At least three of the screen display interfaces of the sample mobile terminal.
- the preset accommodating space is a pocket, a backpack or a bag carried by the user.
- a state detecting method comprising:
- the state sample set includes n accommodating state samples collected during the process in which the sample mobile terminal is located in the accommodating space, and m unacceptable states collected during the process in which the sample mobile terminal is not located in the accommodating space. a sample, wherein n and m are integers greater than 0;
- the label is used to indicate a category of the status sample, and the category of the status sample is located in the accommodating space or not in the accommodating space.
- the method further includes:
- the preset function of the mobile terminal to be detected is turned off
- the mobile terminal to be detected is controlled to enter a sleep state.
- the preset function includes at least one of a bright screen notification, a gesture bright screen, a fingerprint unlocking, and a double-click button to activate the camera.
- a state detecting device comprising:
- a sample set obtaining module configured to acquire a state sample set of the plurality of sample mobile terminals, where the state sample set includes n accommodating state samples collected by the plurality of sample mobile terminals in a preset accommodating space, and And m non-receiving state samples collected during the process that the plurality of sample mobile terminals are not located in the preset accommodating space, wherein n and m are integers greater than 0;
- a classifier training module configured to use the state sample set as training data, and obtain a classifier according to the classification algorithm
- a sending module configured to send the classifier to the mobile terminal to be detected, where the to-be-detected mobile terminal is configured to determine, according to the state sample of the mobile terminal to be detected, whether the mobile terminal to be detected is located based on the classifier The preset accommodation space.
- the sample set obtaining module is configured to:
- the sending module is configured to:
- the classification algorithm is any one of a decision tree algorithm, a logistic regression algorithm, and a support vector machine algorithm.
- any one of the n accommodating state samples includes a p feature parameter and a label for indicating a category of the any accommodating state sample, and the any accommodating state sample The category is located in the accommodating space, and the p is an integer greater than zero.
- any one of the m non-receiving state samples includes p feature parameters and a label for indicating a category of the any non-receiving state sample, where the non- The category of the accommodating state sample is not located in the accommodating space.
- the p feature parameters include: a parameter acquired by the distance sensor, a parameter acquired by the acceleration sensor, a system time of the sample mobile terminal, a parameter acquired by the light sensor, a program of the sample mobile terminal, and the At least three of the screen display interfaces of the sample mobile terminal.
- the preset accommodating space is a pocket, a backpack or a bag carried by the user.
- a state detecting device comprising:
- a receiving module configured to receive a classifier sent by the classifier generating device, wherein the classifier is configured to use the state sample set as the training data, and the training method according to the classification algorithm is used to determine whether the mobile terminal to be detected is located in the capacity a space classifier, the state sample set includes n accommodating state samples collected during a process in which the sample mobile terminal is located in the accommodating space, and m collected during the process in which the sample mobile terminal is not located in the accommodating space a non-receiving state sample, wherein n and m are integers greater than 0;
- a sample obtaining module configured to acquire a state sample of the current moment of the mobile terminal to be detected
- An input module configured to input the status sample into the classifier
- a label obtaining module configured to acquire a label output by the classifier according to a status sample of the current time, the label is used to indicate a category of the status sample, and the category of the status sample is located in an accommodating space or not located Accommodate space.
- the state detecting device further includes:
- a function closing module configured to close a preset function of the mobile terminal to be detected when the output label indicates that the category of the status sample is located in the accommodating space
- a hibernation module configured to control the to-be-detected mobile terminal to enter a dormant state when the outputted tag indicates that the category of the status sample is located in the accommodating space.
- the preset function includes at least one of a bright screen notification, a gesture bright screen, a fingerprint unlocking, and a double-click button to activate the camera.
- a state detecting device comprising:
- a memory for storing processor executable instructions
- the processor is configured to perform the state detection method of the first aspect.
- a state detecting device comprising:
- a memory for storing processor executable instructions
- the processor is configured to perform the state detection method of the second aspect.
- a computer readable storage medium having stored thereon instructions, wherein the instructions are executed by a processor to implement the first aspect State detection method.
- a computer readable storage medium having stored thereon instructions, wherein the instructions are executed by a processor to implement the second aspect State detection method.
- the method for judging whether the mobile terminal is located in the pocket according to individual features in the related art is solved, and the problem of low accuracy in some special scenarios is solved.
- the accuracy of the state detection method is achieved.
- FIG. 1 is a schematic diagram of an implementation environment involved in an embodiment of the present disclosure
- 3-1 is a flowchart of another state detection method according to an embodiment of the present disclosure.
- FIG. 3-2 is a flowchart of obtaining a sample of a accommodating state in the embodiment shown in FIG. 2-1;
- 3-3 is a flowchart of obtaining a non-receiving state sample in the embodiment shown in FIG. 2-1;
- 3-4 is a flowchart of a transmission classifier in the embodiment shown in FIG. 2-1;
- FIG. 4 is a block diagram of a state detecting apparatus according to an embodiment of the present disclosure.
- 5-1 is a block diagram of a state detecting apparatus according to an embodiment of the present disclosure.
- 5-2 is a block diagram of another state detecting apparatus according to an embodiment of the present disclosure.
- FIG. 6 is a block diagram of an apparatus for state detection, according to an exemplary embodiment
- FIG. 7 is a block diagram of an apparatus for state detection, according to an exemplary embodiment.
- FIG. 1 is a schematic diagram of an implementation environment involved in various embodiments of the present disclosure, which may include a mobile terminal 11 to be detected, a classifier generating device 12, and a plurality of sample mobile terminals 13.
- the mobile terminal 11 to be detected may be a mobile phone, a tablet computer, a handheld game console, and various smart wearable devices.
- the classifier generating device 12 may be a desktop computer, a notebook computer, a server or a server cluster, or the like.
- the classifier generating means 12 is capable of establishing a connection with the mobile terminal 11 to be detected and the plurality of sample mobile terminals 13 by wire or wirelessly.
- the plurality of sample mobile terminals 13 may be a plurality of mobile terminals having the same category or model as the mobile terminal 11 to be detected.
- FIG. 2-1 is a flowchart of a state detecting method according to an embodiment of the present disclosure. This embodiment is exemplified by the state detecting method applied to the classifier generating device in the implementation environment shown in FIG. 1.
- the state detection method can include the following steps:
- Step 201 Acquire a state sample set of a plurality of sample mobile terminals, where the state sample set includes n accommodating state samples collected by the plurality of sample mobile terminals in a preset accommodating space, and is not located in the plurality of sample mobile terminals.
- the m non-receiving state samples collected during the preset accommodating space, n and m are integers greater than 0.
- Step 202 Determine a classification algorithm.
- Step 203 Using the state sample set as the training data, and training the classifier according to the classification algorithm.
- Step 204 Send a classifier to the mobile terminal to be detected.
- the to-be-detected mobile terminal is configured to determine, according to the classifier, whether the mobile terminal to be detected is located in the preset accommodating space according to the state sample of the mobile terminal to be detected.
- the state detection method acquires a state sample set of a plurality of sample mobile terminals, and uses the state sample set as training data to train a classifier according to a classification algorithm, and classifies the classifier.
- the device is sent to the mobile terminal to be detected, so that the mobile terminal to be detected can determine whether it is located in the preset accommodating space according to the classifier that comprehensively considers various factors.
- the method for judging whether the mobile terminal is located in the pocket according to individual features in the related art is solved, and the problem of low accuracy in some special scenarios is solved.
- the accuracy of the state detection method is achieved.
- the state detection method can include the following steps:
- Step 205 Receive a classifier sent by the classifier generating device, where the classifier is a classifier that uses the state sample set as the training data, and the classifier that is trained according to the classification algorithm to determine whether the mobile terminal to be detected is located in the accommodating space,
- the state sample set includes n accommodating state samples collected during the process in which the sample mobile terminal is located in the accommodating space, and m unacceptable state samples collected during the process in which the sample mobile terminal is not located in the accommodating space, n and m Both are integers greater than zero.
- Step 206 Obtain a state sample of a current moment of the mobile terminal to be detected.
- Step 207 Input a state sample into the classifier.
- Step 208 Acquire a label output by the classifier according to a status sample of the current time, the label is used to indicate a category of the status sample, and the category of the status sample is located in the accommodating space or not in the accommodating space.
- the state detection method inputs a state sample of a current moment of a mobile terminal to be tested into a classifier generated according to a classification algorithm and a state sample set, and classifies a plurality of factors according to the comprehensive consideration.
- the device determines whether the current moment of the mobile terminal to be tested is in the pocket.
- the method for judging whether the mobile terminal is located in the pocket according to individual features in the related art is solved, and the problem of low accuracy in some special scenarios is solved.
- the accuracy of the state detection method is achieved.
- FIG. 3-1 A flowchart of another state detection method according to an embodiment of the present disclosure may be as shown in FIG. 3-1.
- This embodiment uses the state detection method to be applied to a mobile terminal to be detected.
- the state detection method may include the following. Several steps:
- Step 301 The classifier generating apparatus acquires n pieces of accommodating state samples of the plurality of sample mobile terminals.
- the accommodating state sample is a state sample collected during the process in which the sample mobile terminal is located in the accommodating space.
- the accommodating space may be a pocket, a backpack or a bag carried by the user, and the classifier may acquire n accommodating state samples when the plurality of sample mobile terminals are located in the accommodating spaces.
- step 301 can include the following three sub-steps:
- the classifier generating device acquires an operation log in a process in which a plurality of sample mobile terminals are located in the accommodating space.
- the running log usually includes various information and records when the sample mobile terminal is running.
- an operational log of the sample mobile terminal during a period of time in the pocket may be obtained.
- Sub-step 3012 the classifier generating device acquires a plurality of accommodating state samples from the running log.
- Any one of the plurality of accommodating state samples may include p feature parameters and a label for indicating a category of any of the accommodating state samples (English: label), a category of any accommodating state sample To be in the accommodating space, p is an integer greater than zero.
- the p characteristic parameters may include: a parameter acquired by the distance sensor, a parameter acquired by the acceleration sensor, a system time of the sample mobile terminal, a parameter acquired by the light sensor, a program running by the sample mobile terminal, and a screen display interface of the sample mobile terminal. At least three. The larger p, the higher the accuracy of the generated classifier, but the slower the generation of the classifier.
- the parameters acquired by the distance sensor are used to reflect whether there is occlusion of the object around the mobile terminal of the sample.
- the parameters acquired by the acceleration sensor are used to reflect the acceleration of the mobile terminal of the sample.
- the acceleration of the sample mobile terminal continues to be 0, the possibility that the sample mobile terminal is located in the accommodating space is large; the parameters acquired by the light sensor are used for the reaction sample mobile terminal.
- the sample mobile terminal when the light intensity around the sample mobile terminal is low, the sample mobile terminal is more likely to be located in the accommodating space; the system time of the sample mobile terminal can be used to assist and calibrate the parameters acquired by the distance sensor And the occasional abnormality of the parameters acquired by the light sensor (such as the object around the sample mobile terminal is occluded and the intensity of the surrounding light is low, but the sample mobile terminal is not located in the accommodating space); the program of the sample mobile terminal runs and the screen of the sample mobile terminal
- the display interface can be used to reflect the user's current behavior.
- the sample mobile terminal runs a game program and the screen display interface is a game interface of the game program, and the sample mobile terminal is less likely to be located in the accommodating space.
- the p feature parameters may also include other feature parameters of the sample mobile terminal, which are not limited in the embodiment of the present disclosure.
- the classifier generating means may acquire a plurality of accommodating state samples from the running log according to the predetermined type of the characteristic parameter to be acquired.
- the plurality of accommodating state samples may be obtained from running logs at different times. The larger the number of accommodating state samples, the higher the accuracy of the generated classifier, but the slower the generation of the classifier.
- the plurality of sample mobile terminals may be a plurality of sample mobile terminals of the same type (such as mobile phones, tablet computers, smart watches, etc.) or the same model, and each sample mobile terminal is used for collecting the accommodating state.
- sample and non-receiving state samples the more the number of sample mobile terminals, the faster the generation of the state sample set, and the faster the classifier will be generated.
- Sub-step 3013 The classifier generating device performs format check processing and missing value complement processing on the plurality of accommodating state samples to obtain n accommodating state samples.
- the step may include: 1. performing format verification processing on multiple accommodating state samples;
- the format check process is a check of the format of each accommodating state sample to verify that the format of each accommodating state sample is correct, and to remove the malformed accommodating state sample.
- the format may refer to a preset format for transmitting and recording the accommodating state samples, and the reason for the format of the accommodating state samples may be incorrect, which may be due to the classifier generating device and the sample mobile terminal.
- the number n of the accommodating state samples acquired may not be a fixed value, and may be changed according to the case of the format check processing.
- Missing value completion is to replace some parameters or data missing in the accommodating state sample. These parameters and data can be some characteristic parameters in the accommodating state sample.
- the missing value is complemented, the average value of the feature parameters in the same state as the missing feature parameter may be used as the complementary value, or the missing feature parameter may be complemented by the preset value. .
- the method of missing value completion reference may also be made to related technologies, and details are not described herein again.
- There may be multiple reasons for the occurrence of missing values in the sample of the accommodating state possibly due to some unknown bugs in the classifier generating device and the system of the sample mobile terminal, or possibly due to the sample mobile terminal transmitting to the classifier generating device.
- the vacant state sample has a missing value due to a problem of the transmission path, or may be due to some accidental interruption of the sample mobile terminal when acquiring the accommodating state sample.
- Step 302 The classifier generating apparatus acquires m non-receiving state samples of the plurality of sample mobile terminals.
- step 302 can include the following three sub-steps:
- the classifier generating device acquires an operation log in a process in which the sample mobile terminal is not located in the accommodating space.
- the running log usually includes various information and records when the sample mobile terminal is running.
- an operational log of the sample mobile terminal for a period of time not in the pocket may be obtained.
- Sub-step 3022 the classifier generating device acquires a plurality of non-receiving state samples from the running log.
- any non-receiving state sample of the plurality of non-receiving state samples includes p feature parameters and a label for indicating a category of any non-receiving state sample, and a category of any non-receiving state sample. Not in the accommodation space.
- the p feature parameters are the same as the p feature parameters in the accommodating state samples acquired in step 301.
- the classifier generating device performs format check processing and missing value complement processing on the plurality of non-receiving state samples to obtain m non-accommodating state samples.
- step 301 For this step, refer to sub-step 3013 in step 301 above, and details are not described herein again.
- Step 302 may also be performed before step 301, or step 302 may also be performed concurrently with step 301, and the embodiment of the present disclosure does not limit.
- Step 303 The classifier generating device combines the n accommodating state samples and the m non-accommodating state samples into a state sample set.
- the n accommodating state samples can be used as positive samples in the state sample set, and the m non-receiving state samples can be used as negative samples in the state sample set.
- the positive sample refers to a sample belonging to a certain category
- the negative sample refers to a sample that does not belong to the certain category.
- the certain category is located in the accommodating space.
- Step 304 The classifier generating device determines a classification algorithm.
- the classification algorithm may be any one of a decision tree algorithm, a logistic regression algorithm, and a support vector machine algorithm.
- the classifier generating means can determine the classification algorithm based on the set of state samples.
- the classifier generating device may further be provided with a classification algorithm in advance, and the classifier generating device may directly determine the pre-set classification algorithm as a classification algorithm for generating the classifier.
- Step 305 The classifier generating device uses the state sample set as the training data, and trains the classifier according to the classification algorithm.
- the classifier generating means may use the state sample set as the training data, and train the classifier according to the classification algorithm.
- the process of training a classifier with a labeled state sample in the disclosed embodiment is a process of supervised learning (English: Machine Learning).
- the classifier generating device may perform multiple iterative calculations on the training data in the state sample set by using a classification algorithm to gradually adjust various parameters of the classifier, so that the performance of the classifier gradually reaches the preset requirement.
- the parameters of the classifier can be adjusted step by step so that the accuracy of the classifier is greater than 80%.
- the classifier generating device may also separately train the feature parameters of each class in the state sample set.
- the training method may refer to related technologies, and details are not described herein again.
- Step 306 The classifier generating device sends the classifier to the mobile terminal to be detected.
- this step can include the following two sub-steps:
- Sub-step 3061 the classifier generating device performs format conversion on the classifier, so that the classifier can be applied to the operating environment of the mobile terminal.
- the classifier generating device is usually a running environment of a computer, and the framework of the running environment of the computer is usually a frame structure of a format of spark (a cluster computing environment running on a server), and the framework structure of the mobile terminal is usually a predictive model.
- the framework structure of the markup language (English: Predictive Model Markup Language; referred to as: pmml) format.
- Classifiers generated in the framework of the spark format may be difficult to apply to the framework of the pmml format, so the classifier generation device can be pmml conversion method or jpmml (Java-based pmml application interface)-sparkml (Spark-based machine learning)
- the conversion method converts the binary file of the classifier of the spark format into the pmml file of the classifier of the pmml format, so that the classifier can be applied to the operating environment of the mobile terminal.
- the classifier generating means sends the format-converted classifier to the mobile terminal to be detected.
- the classifier generating means may transmit the format-converted classifier to the mobile terminal to be detected by wire or wirelessly.
- Step 301 to step 306 are optional steps, that is, when the classifier exists in the mobile terminal to be detected, step 307 may be directly performed.
- Step 307 The mobile terminal to be detected acquires a state sample of the current time.
- the to-be-detected mobile terminal may acquire a state sample of the current time according to the classifier, where the state sample is an unlabeled state sample, that is, the state sample includes only a plurality of feature parameters, and the plurality of feature parameters are The type and the feature parameter of any of the accommodating state samples acquired in step 301 (or any non-accommodating state samples acquired in step 302) are the same.
- any of the accommodating state samples acquired in step 301 includes a feature parameter “a parameter acquired by the sensor, a parameter acquired by the acceleration sensor, and a system time of the sample mobile terminal”, and the state of the current time acquired by the mobile terminal to be detected is detected.
- the sample includes parameters acquired by the distance sensor of the mobile terminal to be detected at the current time, parameters acquired by the acceleration sensor, and system time.
- Step 308 The mobile terminal to be detected inputs a status sample into the classifier.
- the mobile terminal to be detected may input the status sample into the classifier.
- Step 309 The mobile terminal to be detected acquires a label output by the classifier according to the status sample of the current time.
- the tag obtained by the mobile terminal to be detected is used to indicate the category of the state sample of the current time of the mobile terminal to be detected, and the category is the state of the mobile terminal to be detected, that is, located in the accommodating space or not in the accommodating space.
- Step 310 The mobile terminal to be detected closes the preset function of the mobile terminal to be detected when the outputted label indicates that the category of the status sample is located in the accommodating space.
- the mobile terminal to be detected When the output label indicates that the category of the status sample is in the accommodating space, it indicates that the mobile terminal to be detected may be located in the accommodating space, and the preset function of the mobile terminal to be detected may be turned off to reduce power consumption and false touch, wherein The preset function may include at least one of a bright screen notification, a gesture bright screen, a fingerprint unlock, and a double tap button to activate the camera.
- the mobile terminal to be detected may enter a sleep mode when the output label indicates that the category of the status sample is located in the accommodating space.
- the operation mode of the mobile terminal to be detected may refer to the operation mode of the mobile terminal in the sleep mode in the related art. , will not repeat them here.
- the to-be-detected mobile terminal starts the preset function of the mobile terminal to be detected when the outputted label indicates that the category of the status sample is not located in the accommodating space.
- the mobile terminal to be detected may continue to determine whether the mobile terminal to be detected is located in the accommodating space through steps 307 to 310. After the user removes the mobile terminal from the accommodating space, the mobile terminal to be detected immediately determines that the mobile terminal is not located in the accommodating space. (and start the preset function), when the user wants to illuminate the screen of the mobile terminal to be detected by a button or gesture, the mobile terminal to be detected can quickly brighten the screen without the user having to illuminate the screen of the mobile terminal through a button or a gesture. Then, the parameters of the respective components are used to determine whether the mobile terminal to be detected is located in the accommodating space.
- the embodiment of the present disclosure sends a classifier to the mobile terminal to be detected, and the mobile terminal to be detected determines whether it is located in the accommodating space by the classifier, and when the classifier is located in other external devices, the mobile terminal to be detected may be due to It is impossible to judge whether it is located in the accommodating space due to reasons such as the network.
- the state detection method acquires a state sample set of a plurality of sample mobile terminals, and uses the state sample set as training data to train a classifier according to a classification algorithm, and classifies the classifier.
- the device sends the signal to the mobile terminal to be detected, so that the mobile terminal to be detected determines whether it is located in the preset accommodating space according to the classifier that comprehensively considers various factors.
- the method for judging whether the mobile terminal is located in the pocket according to individual features in the related art is solved, and the problem of low accuracy in some special scenarios is solved.
- the accuracy of the state detection method is achieved.
- the state detecting device 400 includes:
- the sample set obtaining module 410 is configured to acquire a state sample set of the plurality of sample mobile terminals, where the state sample set includes n pieces of the accommodating state samples collected by the plurality of sample mobile terminals in the process of the preset accommodating space, and multiple The m mobile non-receiving state samples collected by the sample mobile terminal are not located in the preset accommodating space, and n and m are integers greater than 0.
- the algorithm determination module 420 is configured to determine a classification algorithm.
- the classifier training module 430 is configured to use the state sample set as the training data, and train the classifier according to the classification algorithm.
- the sending module 440 is configured to send a classifier to the mobile terminal to be detected.
- the to-be-detected mobile terminal is configured to determine, according to the classifier, whether the mobile terminal to be detected is located in the preset accommodating space according to the state sample of the mobile terminal to be detected.
- the state detecting apparatus acquires a state sample set of a plurality of sample mobile terminals, and uses the state sample set as training data to train a classifier according to a classification algorithm, and classifies the classifier.
- the device is sent to the mobile terminal to be detected, so that the mobile terminal to be detected can determine whether it is located in the preset accommodating space according to the classifier that comprehensively considers various factors.
- the method for judging whether the mobile terminal is located in the pocket according to individual features in the related art is solved, and the problem of low accuracy in some special scenarios is solved.
- the accuracy of the state detection method is achieved.
- the sample set obtaining module 410 is configured to:
- a state sample set is obtained by performing format check processing and missing value completion processing on a plurality of accommodating state samples and a plurality of non-receiving state samples.
- the sending module 440 is configured to:
- the format converted classifier is sent to the mobile terminal to be detected.
- the classification algorithm is any one of a decision tree algorithm, a logistic regression algorithm, and a support vector machine algorithm.
- any one of the n accommodating state samples includes p feature parameters and a label for indicating a category of any accommodating state sample, and the category of any accommodating state sample is located Space, p is an integer greater than zero.
- any non-receiving state sample of the m non-receiving state samples includes p feature parameters and a label for indicating a category of any non-receiving state sample, and a category of any non-receiving state sample. Not in the accommodation space.
- the p characteristic parameters include: a parameter acquired by the distance sensor, a parameter acquired by the acceleration sensor, a system time of the sample mobile terminal, a parameter acquired by the light sensor, a program of the sample mobile terminal, and a screen display interface of the sample mobile terminal. At least three of them.
- the preset accommodation space is a pocket, a backpack or a satchel carried by the user.
- the state detecting apparatus acquires a state sample set of a plurality of sample mobile terminals, and uses the state sample set as training data to train a classifier according to a classification algorithm, and classifies the classifier.
- the device is sent to the mobile terminal to be detected, so that the mobile terminal to be detected can determine whether it is located in the preset accommodating space according to the classifier that comprehensively considers various factors.
- the method for judging whether the mobile terminal is located in the pocket according to individual features in the related art is solved, and the problem of low accuracy in some special scenarios is solved.
- the accuracy of the state detection method is achieved.
- the state detecting apparatus 500 includes:
- the receiving module 510 is configured to receive a classifier sent by the classifier generating device, where the classifier is configured to use the state sample set as the training data, and the training method according to the classification algorithm is used to determine whether the mobile terminal to be detected is located in the accommodating space.
- the state sample set includes n accommodating state samples collected during a process in which the sample mobile terminal is located in the accommodating space, and m unacceptable state samples collected during a process in which the sample mobile terminal is not located in the accommodating space, Both n and m are integers greater than 0;
- a sample obtaining module 520 configured to acquire a state sample of a current moment of the mobile terminal to be detected
- An input module 530 configured to input a state sample into the classifier
- the label obtaining module 540 is configured to obtain a label output by the classifier according to the status sample of the current time, and the label is used to indicate the category of the status sample, and the category of the status sample is located in the accommodating space or not in the accommodating space.
- FIG. 5-2 it is a block diagram of another state detecting apparatus according to an embodiment of the disclosure.
- the state detecting apparatus 500 further includes:
- the function closing module 550 is configured to: when the output label indicates that the category of the status sample is in the accommodating space, close the preset function of the mobile terminal to be detected;
- the hibernation module 560 is configured to control the to-be-detected mobile terminal to enter a dormant state when the output tag indicates that the class of the status sample is located in the accommodating space.
- the preset function includes at least one of a bright screen notification, a gesture bright screen, a fingerprint unlocking, and a double-click button to activate the camera.
- the state detecting apparatus inputs a state sample of a current moment of a mobile terminal to be tested into a classifier generated according to a classification algorithm and a state sample set, and classifies a plurality of factors according to the comprehensive consideration.
- the device determines whether the current moment of the mobile terminal to be tested is in the pocket.
- the method for judging whether the mobile terminal is located in the pocket according to individual features in the related art is solved, and the problem of low accuracy in some special scenarios is solved.
- the accuracy of the state detection method is achieved.
- FIG. 6 is a block diagram of an apparatus 600 for status detection, according to an exemplary embodiment.
- device 600 can be provided as a computer.
- apparatus 600 includes a processing component 622 that further includes one or more processors, and memory resources represented by memory 632 for storing instructions, such as applications, that are executable by processing component 622.
- An application stored in memory 632 can include one or more modules each corresponding to a set of instructions.
- processing component 622 is configured to execute instructions to perform the state detection methods described above.
- Device 600 may also include a power supply component 626 configured to perform power management of device 600, a wired or wireless network interface 650 configured to connect device 600 to the network, and an input/output (I/O) interface 658.
- Device 600 can operate based on an operating system stored in memory 632, such as Windows ServerTM, Mac OS XTM, UnixTM, LinuxTM, FreeBSDTM or the like.
- FIG. 7 is a block diagram of a state detection device 700, according to an exemplary embodiment.
- the modified state detecting device 700 can be provided as a mobile terminal.
- the apparatus 700 can include one or more of the following components: a processing component 702, a memory 704, a power component 706, a multimedia component 708, an audio component 710, an input/output (I/O) interface 712, and a sensor component 714. And communication component 716.
- Processing component 702 typically controls the overall operation of device 700, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations.
- Processing component 702 can include one or more processors 720 to execute instructions to perform all or part of the steps described above.
- processing component 702 can include one or more modules to facilitate interaction between component 702 and other components.
- processing component 702 can include a multimedia module to facilitate interaction between multimedia component 708 and processing component 702.
- Memory 704 is configured to store various types of data to support operation at the device 700. Examples of such data include instructions for any application or method operating on the device 700, contact data, phone book data, messages, pictures, videos, and the like. Memory 704 can be implemented by any type of volatile or non-volatile storage device, or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read only memory (EEPROM), erasable Programmable Read Only Memory (EPROM), Programmable Read Only Memory (PROM), Read Only Memory (ROM), Magnetic Memory, Flash Memory, Disk or Optical Disk.
- SRAM static random access memory
- EEPROM electrically erasable programmable read only memory
- EPROM erasable Programmable Read Only Memory
- PROM Programmable Read Only Memory
- ROM Read Only Memory
- Magnetic Memory Flash Memory
- Disk Disk or Optical Disk.
- Power component 706 provides power to various components of device 700.
- Power component 706 can include a power management system, one or more power sources, and other components associated with generating, managing, and distributing power for the device 700.
- the multimedia component 708 includes a screen between the device 700 and the user that provides an output interface.
- the screen can include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen can be implemented as a touch screen to receive input signals from the user.
- the touch panel includes one or more touch sensors to sense touches, slides, and gestures on the touch panel. The touch sensor may sense not only the boundary of the touch or sliding action, but also the duration and pressure associated with the touch or slide operation.
- the multimedia component 708 includes a front camera and/or a rear camera. When the device 700 is in an operation mode, such as a shooting mode or a video mode, the front camera and/or the rear camera can receive external multimedia data. Each front and rear camera can be a fixed optical lens system or have focal length and optical zoom capabilities.
- the audio component 710 is configured to output and/or input audio signals.
- audio component 710 includes a microphone (MIC) that is configured to receive an external audio signal when device 700 is in an operational mode, such as a call mode, a recording mode, and a voice recognition mode.
- the received audio signal may be further stored in memory 704 or transmitted via communication component 716.
- audio component 710 also includes a speaker for outputting an audio signal.
- the I/O interface 712 provides an interface between the processing component 702 and the peripheral interface module, which may be a keyboard, a click wheel, a button, or the like. These buttons may include, but are not limited to, a home button, a volume button, a start button, and a lock button.
- Sensor assembly 714 includes one or more sensors for providing state assessment of various aspects of device 700.
- sensor component 714 can detect an open/closed state of device 700, relative positioning of components, such as the display and keypad of device 700, and sensor component 714 can also detect device 700 or a component of device 700. The position changes, the presence or absence of contact of the user with the device 700, the device 700 orientation or acceleration/deceleration and temperature changes of the device 700.
- Sensor assembly 714 can include a proximity sensor configured to detect the presence of nearby objects without any physical contact.
- Sensor component 714 can also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications.
- the sensor component 714 can also include an acceleration sensor, a gyro sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
- Communication component 716 is configured to facilitate wired or wireless communication between the device 700 and other devices.
- the device 700 can access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof.
- communication component 716 receives broadcast signals or broadcast associated information from an external broadcast management system via a broadcast channel.
- the communication component 716 also includes a near field communication (NFC) module to facilitate short range communication.
- NFC near field communication
- the NFC module can be implemented based on radio frequency identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
- RFID radio frequency identification
- IrDA infrared data association
- UWB ultra-wideband
- Bluetooth Bluetooth
- the apparatus 700 may be implemented by one or more application specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), A program gate array (FPGA), controller, microcontroller, microprocessor or other electronic component implementation is used to perform the state detection methods provided by the various embodiments described above.
- ASICs application specific integrated circuits
- DSPs digital signal processors
- DSPDs digital signal processing devices
- PLDs programmable logic devices
- FPGA program gate array
- controller, microcontroller, microprocessor or other electronic component implementation is used to perform the state detection methods provided by the various embodiments described above.
- non-transitory computer readable storage medium comprising instructions, such as a memory 704 comprising instructions executable by processor 720 of apparatus 700 to perform the above method.
- the non-transitory computer readable storage medium can be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, and an optical data storage device.
- a non-transitory computer readable storage medium when the instructions in the storage medium are executed by a processor of the state detecting device, enabling the state detecting device to perform a state detecting method, the method comprising:
- Obtaining a state sample set of the plurality of sample mobile terminals where the state sample set includes n accommodating state samples collected by the plurality of sample mobile terminals in the process of the preset accommodating space, and the plurality of sample mobile terminals are not located in the preset capacity m non-receiving state samples collected during the process of setting space, n and m are integers greater than 0;
- the classifier is trained according to the classification algorithm
- Sending a classifier to the mobile terminal to be detected is configured to determine, according to the classifier, whether the mobile terminal to be detected is located in the preset accommodating space according to the state sample of the mobile terminal to be detected.
- obtaining a state sample set of the sample mobile terminal including:
- a state sample set is obtained by performing format check processing and missing value completion processing on a plurality of accommodating state samples and a plurality of non-receiving state samples.
- sending the classifier to the mobile terminal to be detected including:
- the format converted classifier is sent to the mobile terminal to be detected.
- the classification algorithm is any one of a decision tree algorithm, a logistic regression algorithm, and a support vector machine algorithm.
- any one of the n accommodating state samples includes p feature parameters and a label for indicating a category of any accommodating state sample, and the category of any accommodating state sample is located Space, p is an integer greater than zero.
- any non-receiving state sample of the m non-receiving state samples includes p feature parameters and a label for indicating a category of any non-receiving state sample, and a category of any non-receiving state sample. Not in the accommodation space.
- the p characteristic parameters include: a parameter acquired by the distance sensor, a parameter acquired by the acceleration sensor, a system time of the sample mobile terminal, a parameter acquired by the light sensor, a program of the sample mobile terminal, and a screen display interface of the sample mobile terminal. At least three of them.
- the preset accommodation space is a pocket, a backpack or a satchel carried by the user.
- a non-transitory computer readable storage medium when the instructions in the storage medium are executed by a processor of the state detecting device, enabling the state detecting device to perform a state detecting method, the method comprising:
- the classifier is a classifier that uses the state sample set as the training data, and the classifier that is trained according to the classification algorithm to determine whether the mobile terminal to be detected is located in the accommodating space, and the state sample set
- n and m are both greater than An integer of 0;
- the label is used to indicate the category of the status sample, and the category of the status sample is located in the accommodating space or not in the accommodating space.
- the method further includes:
- the mobile terminal to be detected is controlled to enter a sleep state.
- the preset function includes at least one of a bright screen notification, a gesture bright screen, a fingerprint unlocking, and a double-click button to activate the camera.
- At least one of A and B in the present disclosure is merely an association relationship describing an associated object, indicating that there may be three relationships, for example, at least one of A and B, which may indicate that A exists separately, while There are three cases of A and B, and B alone.
- at least one of A, B, and C means that there are seven relationships, which can be expressed as: A exists separately, B exists separately, C exists separately, A and B exist simultaneously, and A and C exist simultaneously. C and B, there are seven cases of A, B and C.
- "at least one of A, B, C, and D” means that there may be fifteen relationships, which may indicate that A exists separately, B exists separately, C exists separately, D exists separately, and A and B exist simultaneously.
- the disclosed apparatus and method may be implemented in other manners.
- the device embodiments described above are merely illustrative.
- the division of the modules is only a logical function division.
- there may be another division manner for example, multiple modules or components may be combined or Can be integrated into another system, or some features can be ignored or not executed.
- the mutual coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interface, device or module, and may be electrical, mechanical or otherwise.
- the modules described as separate components may or may not be physically separated.
- the components displayed as modules may or may not be physical modules, that is, may be located in one place, or may be distributed to multiple network modules. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the embodiment.
- a person skilled in the art may understand that all or part of the steps of implementing the above embodiments may be completed by hardware, or may be instructed by a program to execute related hardware, and the program may be stored in a computer readable storage medium.
- the storage medium mentioned may be a read only memory, a magnetic disk or an optical disk or the like.
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Human Computer Interaction (AREA)
- Environmental & Geological Engineering (AREA)
- Data Mining & Analysis (AREA)
- Theoretical Computer Science (AREA)
- Bioinformatics & Cheminformatics (AREA)
- Artificial Intelligence (AREA)
- Bioinformatics & Computational Biology (AREA)
- Computer Vision & Pattern Recognition (AREA)
- Evolutionary Biology (AREA)
- Evolutionary Computation (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Life Sciences & Earth Sciences (AREA)
- Telephone Function (AREA)
- Telephonic Communication Services (AREA)
Abstract
Description
Claims (26)
- 一种状态检测方法,其特征在于,所述方法包括:获取多个样本移动终端的状态样本集,所述状态样本集包括所述多个样本移动终端位于预设容置空间的过程中采集的n个容置状态样本,和在所述多个样本移动终端不位于所述预设容置空间的过程中采集的m个非容置状态样本,所述n和m均为大于0的整数;确定分类算法;以所述状态样本集作为训练数据,根据所述分类算法训练得到分类器;向待检测移动终端发送所述分类器,所述待检测移动终端用于根据所述待检测移动终端的状态样本,基于所述分类器,判断所述待检测移动终端是否位于所述预设容置空间中。
- 根据权利要求1所述的方法,其特征在于,所述获取样本移动终端的状态样本集,包括:获取所述多个样本移动终端位于容置空间的过程中采集的多个容置状态样本;获取所述多个样本移动终端不位于容置空间的过程中采集的多个非容置状态样本;对所述多个容置状态样本和所述多个非容置状态样本进行格式校验处理和缺失值补全处理后得到所述状态样本集。
- 根据权利要求1所述的方法,其特征在于,所述向待检测移动终端发送所述分类器,包括:对所述分类器进行格式转换,使所述分类器能够适用于移动终端的运行环境;向所述待检测移动终端发送格式转换后的所述分类器。
- 根据权利要求1所述的方法,其特征在于,所述分类算法为决策树算法、逻辑回归算法和支持向量机算法中的任意一种。
- 根据权利要求1所述的方法,其特征在于,所述n个容置状态样本中的任一容置状态样本包括p个特征参数和用于指示所述任一容置状态样本的类别的标签,所述任一容置状态样本的类别为位于容置空间,所述p为大于0的整数。
- 根据权利要求1所述的方法,其特征在于,所述m个非容置状态样本中的任一非容置状态样本包括p个特征参数和用于指示所述任一非容置状态样本的类别的标签,所述任一非容置状态样本的类别为不位于容置空间。
- 根据权利要求5或6所述的方法,其特征在于,所述p个特征参数包括:距离传感器获取的参数、加速度传感器获取的参数、所述样本移动终端的系统时间、光线传感器获取的参数、所述样本移动终端运行的程序和所述样本移动终端的屏幕显示界面中的至少三 种。
- 根据权利要求1至6任一所述的方法,其特征在于,所述预设容置空间为用户携带的口袋、背包或挎包。
- 一种状态检测方法,其特征在于,所述方法包括:接收分类器生成装置发送的分类器,所述分类器是所述分类器生成装置以状态样本集作为训练数据,根据分类算法训练得到的用于确定待检测移动终端是否位于容置空间的分类器,所述状态样本集中包括在样本移动终端位于容置空间的过程中采集的n个容置状态样本,和在所述样本移动终端不位于容置空间的过程中采集的m个非容置状态样本,所述n和m均为大于0的整数;获取所述待检测移动终端当前时刻的状态样本;将所述状态样本输入所述分类器;获取所述分类器根据所述当前时刻的状态样本输出的标签,所述标签用于指示所述状态样本的类别,所述状态样本的类别为位于容置空间或不位于容置空间。
- 根据权利要求9所述的方法,其特征在于,所述方法还包括:在所述输出的标签指示所述状态样本的类别为位于容置空间时,关闭所述待检测移动终端的预设功能;或者,在所述输出的标签指示所述状态样本的类别为位于容置空间时,控制所述待检测移动终端进入休眠状态。
- 根据权利要求10所述的方法,其特征在于,所述预设功能包括亮屏通知、手势亮屏、指纹解锁和双击按键启动相机中的至少一种。
- 一种状态检测装置,其特征在于,所述状态检测装置包括:样本集获取模块,用于获取多个样本移动终端的状态样本集,所述状态样本集包括所述多个样本移动终端位于预设容置空间的过程中采集的n个容置状态样本,和在所述多个样本移动终端不位于所述预设容置空间的过程中采集的m个非容置状态样本,所述n和m均为大于0的整数;算法确定模块,用于确定分类算法;分类器训练模块,用于以所述状态样本集作为训练数据,根据所述分类算法训练得到分类器;发送模块,用于向待检测移动终端发送所述分类器,所述待检测移动终端用于根据所述待检测移动终端的状态样本,基于所述分类器,判断所述待检测移动终端是否位于所述预设容置空间中。
- 根据权利要求12所述的状态检测装置,其特征在于,所述样本集获取模块,用于:获取所述多个样本移动终端位于容置空间的过程中采集的多个容置状态样本;获取所述多个样本移动终端不位于容置空间的过程中采集的多个非容置状态样本;对所述多个容置状态样本和所述多个非容置状态样本进行格式校验处理和缺失值补全处理后得到所述状态样本集。
- 根据权利要求12所述的状态检测装置,其特征在于,所述发送模块,用于:对所述分类器进行格式转换,使所述分类器能够适用于移动终端的运行环境;向所述待检测移动终端发送格式转换后的所述分类器。
- 根据权利要求12所述的状态检测装置,其特征在于,所述分类算法为决策树算法、逻辑回归算法和支持向量机算法中的任意一种。
- 根据权利要求12所述的状态检测装置,其特征在于,所述n个容置状态样本中的任一容置状态样本包括p个特征参数和用于指示所述任一容置状态样本的类别的标签,所述任一容置状态样本的类别为位于容置空间,所述p为大于0的整数。
- 根据权利要求12所述的状态检测装置,其特征在于,所述m个非容置状态样本中的任一非容置状态样本包括p个特征参数和用于指示所述任一非容置状态样本的类别的标签,所述任一非容置状态样本的类别为不位于容置空间。
- 根据权利要求16或17所述的状态检测装置,其特征在于,所述p个特征参数包括:距离传感器获取的参数、加速度传感器获取的参数、所述样本移动终端的系统时间、光线传感器获取的参数、所述样本移动终端运行的程序和所述样本移动终端的屏幕显示界面中的至少三种。
- 根据权利要求12至18任一所述的状态检测装置,其特征在于,所述预设容置空间为用户携带的口袋、背包或挎包。
- 一种状态检测装置,其特征在于,所述状态检测装置包括:接收模块,用于接收分类器生成装置发送的分类器,所述分类器是所述分类器生成装置以状态样本集作为训练数据,根据分类算法训练得到的用于确定待检测移动终端是否位于容置空间的分类器,所述状态样本集中包括在样本移动终端位于容置空间的过程中采集的n个容置状态样本,和在所述样本移动终端不位于容置空间的过程中采集的m个非容置状态样本,所述n和m均为大于0的整数;样本获取模块,用于获取所述待检测移动终端当前时刻的状态样本;输入模块,用于将所述状态样本输入所述分类器;标签获取模块,用于获取所述分类器根据所述当前时刻的状态样本输出的标签,所述 标签用于指示所述状态样本的类别,所述状态样本的类别为位于容置空间或不位于容置空间。
- 根据权利要求20所述的状态检测装置,其特征在于,所述状态检测装置还包括:功能关闭模块,用于在所述输出的标签指示所述状态样本的类别为位于容置空间时,关闭所述待检测移动终端的预设功能;休眠模块,用于在所述输出的标签指示所述状态样本的类别为位于容置空间时,控制所述待检测移动终端进入休眠状态。
- 根据权利要求21所述的状态检测装置,其特征在于,所述预设功能包括亮屏通知、手势亮屏、指纹解锁和双击按键启动相机中的至少一种。
- 一种状态检测装置,其特征在于,所述状态检测装置包括:处理器;用于存储处理器可执行指令的存储器;其中,所述处理器被配置为执行权利要求1-8任一所述的状态检测方法。
- 一种状态检测装置,其特征在于,所述状态检测装置包括:处理器;用于存储处理器可执行指令的存储器;其中,所述处理器被配置为执行权利要求9-12任一所述的状态检测方法。
- 一种计算机可读存储介质,所述计算机可读存储介质上存储有指令,其特征在于,所述指令被处理器执行时实现权利要求1-8任一所述的状态检测方法。
- 一种计算机可读存储介质,所述计算机可读存储介质上存储有指令,其特征在于,所述指令被处理器执行时实现权利要求9-11任一所述的状态检测方法。
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2018507708A JP2020526941A (ja) | 2017-09-19 | 2018-01-05 | 状態検出方法、状態検出装置及び記憶媒体 |
KR1020197006442A KR102154457B1 (ko) | 2017-09-19 | 2018-01-05 | 상태 검출 방법, 장치 및 저장 매체 |
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710846306.2A CN107659717B (zh) | 2017-09-19 | 2017-09-19 | 状态检测方法、装置和存储介质 |
CN201710846306.2 | 2017-09-19 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2019056659A1 true WO2019056659A1 (zh) | 2019-03-28 |
Family
ID=61129968
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2018/071626 WO2019056659A1 (zh) | 2017-09-19 | 2018-01-05 | 状态检测方法、装置和存储介质 |
Country Status (6)
Country | Link |
---|---|
US (1) | US10764425B2 (zh) |
EP (1) | EP3468159B1 (zh) |
JP (1) | JP2020526941A (zh) |
KR (1) | KR102154457B1 (zh) |
CN (1) | CN107659717B (zh) |
WO (1) | WO2019056659A1 (zh) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112764923A (zh) * | 2021-01-12 | 2021-05-07 | 深圳市中博科创信息技术有限公司 | 计算资源分配方法、装置、计算机设备及存储介质 |
Families Citing this family (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CA2985854C (en) | 2015-04-23 | 2023-10-17 | Bd Kiestra B.V. | A method and system for automated microbial colony counting from streaked sample on plated media |
CN108600046B (zh) * | 2018-04-03 | 2020-10-09 | 济南大学 | 基于感知哈希的设备状态监测终端、系统及方法 |
FR3084957B1 (fr) * | 2018-08-07 | 2021-12-03 | Commissariat Energie Atomique | Dispositif et procede de classification multi-classes par apprentissage automatique |
CN111522709B (zh) * | 2020-04-14 | 2023-04-07 | 江西航智信息技术有限公司 | 一种学生移动终端app使用时间管理方法、系统和装置 |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20120254809A1 (en) * | 2011-03-31 | 2012-10-04 | Nokia Corporation | Method and apparatus for motion gesture recognition |
CN105023022A (zh) * | 2015-07-09 | 2015-11-04 | 深圳天珑无线科技有限公司 | 跌倒检测方法及系统 |
CN107016346A (zh) * | 2017-03-09 | 2017-08-04 | 中国科学院计算技术研究所 | 步态身份识别方法及系统 |
CN107169525A (zh) * | 2017-06-01 | 2017-09-15 | 腾云天宇科技(北京)有限公司 | 一种确定移动终端应用场景的方法、装置和移动终端 |
Family Cites Families (18)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH09237233A (ja) * | 1996-02-29 | 1997-09-09 | Toshiba Corp | 通信システム及びデータ通信方法 |
JP2000299748A (ja) * | 1999-04-15 | 2000-10-24 | Hitachi Zosen Corp | 公衆回線を使用した通信方法 |
JP2001134883A (ja) * | 1999-11-09 | 2001-05-18 | Omron Corp | 検針方法、検針システム、上位装置及び検針端末 |
TWI293000B (en) | 2005-11-03 | 2008-01-21 | Benq Corp | Electronic device capable of operating a function according to detection of environmental light |
KR20110008633A (ko) * | 2009-07-20 | 2011-01-27 | 김태영 | 휴대폰 착신신호 감지장치 |
US8311514B2 (en) | 2010-09-16 | 2012-11-13 | Microsoft Corporation | Prevention of accidental device activation |
US11070661B2 (en) * | 2010-09-21 | 2021-07-20 | Cellepathy Inc. | Restricting mobile device usage |
US8903059B2 (en) * | 2010-10-05 | 2014-12-02 | Tekelec, Inc. | Methods, systems, and computer readable media for service data flow (SDF) based subscription profile repository (SPR) selection |
US20130304677A1 (en) * | 2012-05-14 | 2013-11-14 | Qualcomm Incorporated | Architecture for Client-Cloud Behavior Analyzer |
US9052896B2 (en) * | 2012-07-20 | 2015-06-09 | Facebook, Inc. | Adjusting mobile device state based on user intentions and/or identity |
IN2013MU01269A (zh) | 2013-04-01 | 2015-04-10 | Tata Consultancy Services Ltd | |
JP6221573B2 (ja) | 2013-09-27 | 2017-11-01 | 富士通株式会社 | 場所モデル更新装置、位置推定方法及びプログラム |
US9973614B2 (en) | 2014-04-01 | 2018-05-15 | Sony Mobile Communications, Inc. | System and method for controlling an electronic device by human tremor detection |
JP2015226210A (ja) * | 2014-05-28 | 2015-12-14 | 京セラ株式会社 | 携帯端末、カメラ制御プログラムおよびカメラ制御方法 |
US9736782B2 (en) | 2015-04-13 | 2017-08-15 | Sony Corporation | Mobile device environment detection using an audio sensor and a reference signal |
CN105913010A (zh) | 2016-04-08 | 2016-08-31 | 湖南工业大学 | 用电器类型判断器 |
CN107169534A (zh) | 2017-07-04 | 2017-09-15 | 北京京东尚科信息技术有限公司 | 模型训练方法及装置、存储介质、电子设备 |
CN107786746B (zh) * | 2017-10-27 | 2020-10-30 | 北京小米移动软件有限公司 | 交通应用的控制方法、装置以及系统、存储介质 |
-
2017
- 2017-09-19 CN CN201710846306.2A patent/CN107659717B/zh active Active
-
2018
- 2018-01-05 KR KR1020197006442A patent/KR102154457B1/ko active IP Right Grant
- 2018-01-05 JP JP2018507708A patent/JP2020526941A/ja active Pending
- 2018-01-05 WO PCT/CN2018/071626 patent/WO2019056659A1/zh active Application Filing
- 2018-08-13 US US16/102,359 patent/US10764425B2/en active Active
- 2018-08-27 EP EP18191000.1A patent/EP3468159B1/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20120254809A1 (en) * | 2011-03-31 | 2012-10-04 | Nokia Corporation | Method and apparatus for motion gesture recognition |
CN105023022A (zh) * | 2015-07-09 | 2015-11-04 | 深圳天珑无线科技有限公司 | 跌倒检测方法及系统 |
CN107016346A (zh) * | 2017-03-09 | 2017-08-04 | 中国科学院计算技术研究所 | 步态身份识别方法及系统 |
CN107169525A (zh) * | 2017-06-01 | 2017-09-15 | 腾云天宇科技(北京)有限公司 | 一种确定移动终端应用场景的方法、装置和移动终端 |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112764923A (zh) * | 2021-01-12 | 2021-05-07 | 深圳市中博科创信息技术有限公司 | 计算资源分配方法、装置、计算机设备及存储介质 |
CN112764923B (zh) * | 2021-01-12 | 2023-11-21 | 深圳市中博科创信息技术有限公司 | 计算资源分配方法、装置、计算机设备及存储介质 |
Also Published As
Publication number | Publication date |
---|---|
JP2020526941A (ja) | 2020-08-31 |
CN107659717A (zh) | 2018-02-02 |
US20190089828A1 (en) | 2019-03-21 |
KR102154457B1 (ko) | 2020-09-10 |
US10764425B2 (en) | 2020-09-01 |
EP3468159B1 (en) | 2022-04-20 |
EP3468159A1 (en) | 2019-04-10 |
CN107659717B (zh) | 2020-11-10 |
KR20190041484A (ko) | 2019-04-22 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP7142783B2 (ja) | 音声制御方法及び電子装置 | |
US10649648B2 (en) | Method and apparatus for screen capture processing | |
JP6167245B2 (ja) | 通信メッセージ識別方法、通信メッセージ識別装置、プログラム及び記録媒体 | |
WO2019056659A1 (zh) | 状态检测方法、装置和存储介质 | |
US10610152B2 (en) | Sleep state detection method, apparatus and system | |
US20210118281A1 (en) | Mobile device self-identification system | |
US9807219B2 (en) | Method and terminal for executing user instructions | |
CN104378441A (zh) | 日程创建方法和装置 | |
WO2021249281A1 (zh) | 一种用于电子设备的交互方法和电子设备 | |
CN104679599A (zh) | 在应用程序间进行复制的方法和装置 | |
CN107918510A (zh) | 应用图标移动方法及装置 | |
CN106354504B (zh) | 消息显示方法及装置 | |
WO2017054354A1 (zh) | 信息处理方法及装置 | |
WO2019062358A1 (zh) | 应用程序管控方法及终端设备 | |
WO2017140108A1 (zh) | 压力检测方法和装置 | |
RU2665300C2 (ru) | Способ и устройство для обработки точечной отчетности сенсорного экрана | |
CN106339137A (zh) | 终端触控识别方法及装置 | |
US10817702B2 (en) | Method, terminal, and computer-readable storage medium for processing fingerprint | |
CN107958273B (zh) | 音量调节方法、装置及存储介质 | |
US10133911B2 (en) | Method and device for verifying fingerprint | |
CN110213062A (zh) | 处理消息的方法及装置 | |
US11637800B2 (en) | Method and device for information processing of cross-devices, and storage medium | |
CN110990314A (zh) | 电子设备识别方法及装置、终端设备、电子设备 | |
CN105162194A (zh) | 终端的充电方法、装置及终端 | |
CN115131595A (zh) | 基于ai的信息处理方法、装置和设备 |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
ENP | Entry into the national phase |
Ref document number: 2018507708 Country of ref document: JP Kind code of ref document: A |
|
ENP | Entry into the national phase |
Ref document number: 20197006442 Country of ref document: KR Kind code of ref document: A |
|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 18859639 Country of ref document: EP Kind code of ref document: A1 |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 18859639 Country of ref document: EP Kind code of ref document: A1 |