CN111491289A - Loss detection method of electronic equipment and electronic equipment - Google Patents

Loss detection method of electronic equipment and electronic equipment Download PDF

Info

Publication number
CN111491289A
CN111491289A CN202010252023.7A CN202010252023A CN111491289A CN 111491289 A CN111491289 A CN 111491289A CN 202010252023 A CN202010252023 A CN 202010252023A CN 111491289 A CN111491289 A CN 111491289A
Authority
CN
China
Prior art keywords
electronic equipment
electronic device
state information
loss
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.)
Pending
Application number
CN202010252023.7A
Other languages
Chinese (zh)
Inventor
陈正康
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Nanjing Weiwo Software Technology Co ltd
Original Assignee
Nanjing Weiwo Software Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Nanjing Weiwo Software Technology Co ltd filed Critical Nanjing Weiwo Software Technology Co ltd
Priority to CN202010252023.7A priority Critical patent/CN111491289A/en
Publication of CN111491289A publication Critical patent/CN111491289A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/18Processing of user or subscriber data, e.g. subscribed services, user preferences or user profiles; Transfer of user or subscriber data
    • H04W8/183Processing at user equipment or user record carrier
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W52/00Power management, e.g. TPC [Transmission Power Control], power saving or power classes
    • H04W52/02Power saving arrangements
    • H04W52/0209Power saving arrangements in terminal devices
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/22Processing or transfer of terminal data, e.g. status or physical capabilities
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M2250/00Details of telephonic subscriber devices
    • H04M2250/52Details of telephonic subscriber devices including functional features of a camera
    • YGENERAL 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
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE 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/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Databases & Information Systems (AREA)
  • Telephone Function (AREA)

Abstract

The invention provides a loss detection method of electronic equipment and the electronic equipment, comprising the following steps: acquiring current multiple target state information of the electronic equipment; determining a plurality of target status information scores and a plurality of weight values corresponding to the plurality of target status information; calculating a loss state score of the electronic equipment according to the plurality of weighted values and the plurality of target state information scores; in the invention, in the process of judging whether the electronic equipment is in the lost state, a plurality of target state information of the electronic equipment are comprehensively considered, and meanwhile, different weighted values are set for each target state information, so that the electronic equipment is in the judging process of the lost state, and the plurality of target state information with different weights of the electronic equipment are comprehensively considered, thereby improving the accuracy of the judging process and reducing the probability of occurrence of misjudgment.

Description

Loss detection method of electronic equipment and electronic equipment
Technical Field
The embodiment of the invention relates to the technical field of communication, in particular to a loss detection method of electronic equipment and the electronic equipment.
Background
With the development of mobile communication technology and the improvement of living standard of people, the use of electronic devices such as mobile phones is becoming more and more popular, for example, the electronic devices are used for mobile payment, social communication, data storage and editing and other services, so that the electronic devices become indispensable communication tools in daily life of people.
At present, the method for actively detecting whether the terminal device is lost and triggering the electronic device to be in the lost mode by the electronic device is to detect the state information of the electronic device and the currently received operation information, and comparing the current state information or operation information with preset standard information, if not, the electronic device is triggered to be in a lost state, thereby protecting the information in the electronic device, for example, when the number of times of detecting the power-on password input by the current operator exceeds a preset threshold value or when detecting that a Subscriber Identity Module (SIM) card of the electronic equipment is pulled out in a state of not being powered off, judging that the electronic equipment is in a lost state, at the moment, the electronic equipment is subjected to safety protection measures, so that the property safety, the data information safety and the like of a user to which the electronic equipment belongs are effectively and timely protected.
However, in the current scheme, if any piece of state information or operation information of the electronic device is not matched with the preset standard state information or standard operation information, the electronic device is judged to be in a lost state, so that the basis for judging whether the electronic device is lost is too single, and the importance of each piece of state information or operation information in the judgment process is not different, so that the precision of the judgment process is reduced, and misjudgment is easily generated.
Disclosure of Invention
The embodiment of the invention provides a loss detection method of electronic equipment and the electronic equipment, and aims to solve the problem that in the prior art, in the process of determining that the electronic equipment is in a loss state according to current state information or operation information of the electronic equipment, the judgment basis is too single, so that the judgment process is low in accuracy.
In a first aspect, an embodiment of the present invention provides a loss detection method for an electronic device, which is applied to the electronic device, and the method includes:
acquiring a plurality of current target state information of the electronic equipment;
determining a plurality of target state information scores corresponding to the plurality of target state information according to a corresponding relation between pre-stored state information and state information scores, and determining a plurality of weight values corresponding to the plurality of target state information according to a corresponding relation between pre-stored state information and weight values;
calculating a loss state score of the electronic equipment according to the target state information scores and the weight values;
determining that the electronic device is in a lost state if the lost state score is greater than or equal to a preset score threshold.
In a second aspect, an embodiment of the present invention provides an electronic device, including:
the acquisition module is used for acquiring a plurality of current target state information of the electronic equipment;
the first determining module is used for determining a plurality of target state information scores corresponding to the plurality of target state information according to the corresponding relation between the pre-stored state information and the state information scores, and determining a plurality of weight values corresponding to the plurality of target state information according to the corresponding relation between the pre-stored state information and the weight values;
the calculating module is used for calculating a loss state score of the electronic equipment according to the target state information scores and the weight values;
and the second determining module is used for determining that the electronic equipment is in the loss state under the condition that the loss state score is greater than or equal to a preset score threshold value.
In a third aspect, an embodiment of the present invention further provides an electronic device, which includes a processor, a memory, and a computer program stored on the memory and executable on the processor, where the computer program, when executed by the processor, implements the steps of the loss detection method for an electronic device according to the present invention.
In a fourth aspect, the embodiments of the present invention further provide a readable storage medium, where instructions, when executed by a processor of an electronic device, enable the electronic device to perform the steps of the loss detection method of the electronic device as provided in the present invention.
In the embodiment of the invention, the current state information of a plurality of targets of the electronic equipment is obtained; determining a plurality of target state information scores corresponding to a plurality of target state information according to a corresponding relation between pre-stored state information and state information scores, and determining a plurality of weight values corresponding to the plurality of target state information according to a corresponding relation between pre-stored state information and weight values; calculating a loss state score of the electronic equipment according to the plurality of target state information scores and the plurality of weight values; in the invention, the lost state score of the electronic equipment is calculated according to a plurality of target state information scores corresponding to a plurality of target state information of the electronic equipment and the weight values of the plurality of target state information, and the lost state score of the electronic equipment is judged under the condition that the lost state score is greater than or equal to the preset score threshold value, so that the plurality of target state information of the electronic equipment is comprehensively considered in the process of judging whether the electronic equipment is in the lost state, meanwhile, different weight values are set for each target state information, the judgment process of the electronic equipment in the lost state is realized, the plurality of target state information with different weights of the electronic equipment is comprehensively considered, and the accuracy of the judgment process is improved, the probability of misjudgment is reduced, and the use experience of the user is improved.
The foregoing description is only an overview of the technical solutions of the present invention, and the embodiments of the present invention are described below in order to make the technical means of the present invention more clearly understood and to make the above and other objects, features, and advantages of the present invention more clearly understandable.
Drawings
Fig. 1 is a flowchart illustrating steps of a loss detection method for an electronic device according to an embodiment of the present invention;
FIG. 2 is a flowchart illustrating steps of a method for detecting loss in an electronic device according to another embodiment of the present invention;
fig. 3 is a schematic structural diagram of an electronic device according to an embodiment of the present invention;
FIG. 4 is a block diagram of an electronic device provided by an embodiment of the invention;
fig. 5 is a schematic diagram of a hardware structure of an electronic device according to an embodiment of the present invention.
Detailed Description
Exemplary embodiments of the present invention will be described in more detail below with reference to the accompanying drawings. While exemplary embodiments of the invention are shown in the drawings, it should be understood that the invention can be embodied in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the invention to those skilled in the art.
Fig. 1 is a flowchart illustrating steps of a loss detection method for an electronic device according to an embodiment of the present invention, where as shown in fig. 1, the method may include:
step 101, obtaining a plurality of current target state information of the electronic equipment.
In this step, the electronic device may acquire a plurality of current target status information of the electronic device.
Optionally, the target state information includes: the unlocking method comprises the steps of unlocking interval time of the electronic equipment, current geographical position information of the electronic equipment, current wireless-fidelity (wi-fi) list information of the electronic equipment, state information of an SIM card of the electronic equipment and the number of times of unlocking failure of the electronic equipment.
Specifically, the unlocking interval time of the electronic device may be a time interval between the current time and the last successful unlocking time of the electronic device, for example, the last successful unlocking time of the electronic device is 9: 00, current time 9: and 40, the unlocking interval time of the electronic equipment is 40 minutes.
The current geographical location information of the electronic device may be a current geographical location coordinate of the electronic device, and whether the current geographical location coordinate of the electronic device is within a preset common geographical location range, for example, the current geographical location coordinate of the electronic device is within a preset common geographical location "company".
The current wi-fi list information of the electronic device may be the wi-fi account information detected by the electronic device in the current wi-fi list of the electronic device.
Optionally, the state information of the SIM card of the electronic device includes: and the SIM card is taken out of the SIM card slot of the electronic equipment when the electronic equipment is in the starting state, and the state information that the number of times of receiving wrong unlocking PIN codes is larger than a preset value. Specifically, the state information of the SIM card of the electronic device may be information that the SIM card of the electronic device is in an abnormal state, the SIM card is taken out from a SIM card slot of the electronic device when the electronic device is in a power-on state, under a normal condition, the SIM card is taken out from the SIM card slot of the electronic device by a user only when the electronic device is in a power-off state, and when it is detected that the SIM card is taken out from the SIM card slot of the electronic device when the electronic device is in the power-on state, it is stated that the SIM card of the electronic device is in the abnormal state; in addition, under normal conditions, the user knows the correct unlocking PIN code, so that the user can input the correct unlocking Personal Identification Number (PIN) code within a few times, and when the Number of times that the electronic equipment receives the wrong unlocking PIN code is detected to be greater than the preset unlocking Number, the SIM card of the electronic equipment is in an abnormal state.
The number of times of unlocking failure of the electronic equipment can be the number of times of continuously receiving wrong unlocking gestures or unlocking passwords by the electronic equipment, and under a normal condition, a user knows the correct unlocking gestures or unlocking passwords, so that the user can input the correct unlocking gestures or unlocking passwords within a few times, and when the number of times of receiving the wrong unlocking gestures or unlocking passwords by the electronic equipment is detected to be greater than a preset value, the electronic equipment is possibly in a lost state.
Step 102, determining a plurality of target state information scores corresponding to the plurality of target state information according to a corresponding relation between pre-stored state information and state information scores, and determining a plurality of weight values corresponding to the plurality of target state information according to a corresponding relation between pre-stored state information and weight values.
In this step, target status information scores corresponding to a plurality of current target status information of the electronic device may be determined according to a correspondence between pre-stored status information and status information scores.
Specifically, when the target state parameter is the unlocking interval time of the electronic device, the correspondence between the pre-stored unlocking interval time and the first state information score for the unlocking interval time may be a first correspondence, and the first state information score corresponding to the unlocking interval time in the first correspondence may be consistent with a difference between the current unlocking interval time of the electronic device and the standard unlocking interval time. The standard unlocking interval time may be a fixed time value preset by a user, or may be an unlocking interval time commonly used by the user determined according to the usage habits of the users corresponding to the electronic devices, or may be an unlocking interval time commonly used by the user determined according to the usage habits of the users corresponding to the plurality of electronic devices. When the difference between the current unlocking interval time of the electronic equipment and the standard unlocking interval time is larger, it is indicated that the difference between the use habit of the user who operates the electronic equipment to unlock the electronic equipment and the use habit of the user corresponding to the electronic equipment is larger, the probability that the electronic equipment is in the lost state is larger, and correspondingly, the score of the first state information corresponding to the current unlocking interval time of the electronic equipment is larger.
For example, if the standard unlocking interval time is 20 minutes, a first status information score corresponding to an unlocking interval time having a difference of 5 minutes between the standard unlocking interval times is 1, a first status information score corresponding to an unlocking interval time having a difference of 10 minutes between the standard unlocking interval times is 2, and a first status information score corresponding to an unlocking interval time having a difference of 20 minutes between the standard unlocking interval times is 3, table 1 shows a first correspondence relationship in the embodiment of the present invention, referring to table 1, if the current unlocking interval time of the electronic device is 25 minutes, the interval time to the standard unlocking interval time is 5 minutes, the corresponding first status information score is 1, if the current unlocking interval time of the electronic device is 30 minutes, the interval time to the standard unlocking interval time is 10 minutes, the corresponding first state information score is 2, if the current unlocking interval time of the electronic equipment is 40 minutes, the interval time between the current unlocking interval time and the standard unlocking interval time is 20 minutes, and the corresponding first state information score is 3.
Figure BDA0002435843390000061
TABLE 1
Specifically, when the target state parameter is the current geographical location information of the electronic device, the pre-stored correspondence between the current geographical location information of the electronic device and the second state information score for the current geographical location information may be a second correspondence, and the second state information score corresponding to the current geographical location information of the electronic device in the second correspondence may be related to whether the current geographical location coordinate of the electronic device is within a preset range of a common geographical location. For example, if the current geographic location information of the electronic device is: the geographical position coordinate of the electronic equipment during the working time is located in the range of a preset common geographical position company, so that the difference between the use habits of the user who operates the electronic equipment at present and the use habits of the user corresponding to the electronic equipment is small, and the second state information score is 1; the current geographical position information of the electronic equipment is as follows: and if the geographic position coordinate of the electronic equipment during the working time is not within the preset range of the common geographic position company, the difference between the use habits of the user currently operating the electronic equipment and the use habits of the user corresponding to the electronic equipment is larger, the probability that the electronic equipment is in the loss state is larger, and the second state information score is 3.
Specifically, when the target state parameter is current wi-fi list information of the electronic device, a corresponding relationship between the pre-stored current wi-fi list information of the electronic device and a third state information score for the wi-fi list information may be a third corresponding relationship, and a third state information score corresponding to the current wi-fi list information of the electronic device in the third corresponding relationship may be related to whether a wi-fi account displayed in the current wi-fi list information of the electronic device is a wi-fi account historically displayed by the electronic device. For example, if more than or equal to 50% of the wi-fi accounts displayed in the current wi-fi list information of the electronic device are historical wi-fi accounts displayed by the electronic device, that is, more than or equal to 50% of the wi-fi accounts displayed in the wi-fi list of the electronic device are searched by the electronic device and displayed in a wi-fi list before the electronic device, it is indicated that the difference between the wi-fi environment of the current electronic device and the wi-fi environment before the electronic device is small, and the probability that the electronic device is currently in a lost state is small, the third state information score is 1; if the accounts which are more than or equal to 20% and less than 50% of the accounts which are displayed in the current wi-fi list information of the electronic equipment are the accounts which are historically displayed by the electronic equipment, the corresponding third state information is scored as 2; if less than 20% of the wi-fi accounts displayed in the current wi-fi list information of the electronic equipment are the wi-fi accounts historically displayed by the electronic equipment, it is indicated that the difference between the wi-fi environment of the current electronic equipment and the wi-fi environment before the electronic equipment is large, the probability that the electronic equipment is in a lost state at present is large, and the corresponding third state information is scored as 3.
Specifically, when the target state parameter is state information of an SIM card of the electronic device, a correspondence between the state information of the SIM card of the electronic device stored in advance and a fourth state information score for the state information of the SIM card may be a fourth correspondence, and a fourth state information score corresponding to the state information of the current SIM card of the electronic device in the fourth correspondence may be related to the state of the current SIM card of the electronic device. For example, table 2 shows a fourth corresponding relationship in the embodiment of the present invention, and referring to table 2, if it is detected that the current SIM card status information of the electronic device is: if the number of times of receiving the wrong unlocking PIN code is larger than the state information of the preset numerical value, the SIM card of the electronic equipment is in an abnormal state at the moment, correspondingly, the electronic equipment is in a lost state with lower possibility, and the corresponding fourth state information is scored as 1; if the current SIM card state information of the electronic equipment is detected to be: when the electronic equipment is in a starting state, the SIM card is taken out of the SIM card slot of the electronic equipment, which indicates that the SIM card of the electronic equipment is in an abnormal state at the moment, correspondingly, the electronic equipment has a high possibility of being in a lost state, and the corresponding fourth state information score is 2; if the current SIM card state information of the electronic equipment is detected to be: when the electronic device is in the power-on state, the SIM card is taken out of the SIM card slot of the electronic device, which indicates that the SIM card of the electronic device is in the abnormal state at this time, and correspondingly, the electronic device is in the lost state with a high possibility, and the corresponding fourth state information score is 3.
Figure BDA0002435843390000081
TABLE 2
Specifically, when the target state parameter is the number of times of the unlocking failure of the electronic device, a correspondence between the number of times of the unlocking failure of the electronic device, which is stored in advance, and a fifth state information score for the number of times of the unlocking failure of the electronic device may be a fifth correspondence, and the fifth state information score corresponding to the number of times of the unlocking failure of the electronic device in the fourth correspondence may be the number of times of the erroneous unlocking gesture or the unlocking password continuously received by the electronic device, and if the number of times of the erroneous unlocking gesture or the unlocking password continuously received by the electronic device is larger, it is indicated that the probability that the electronic device is currently in the lost state is larger, and correspondingly, the fifth state information score is larger.
For example, table 3 shows a fifth corresponding relationship in the embodiment of the present invention, referring to table 3, if the number of times of the unlocking failure of the electronic device is greater than 3 times and less than or equal to 5 times, the electronic device is less likely to be in a lost state, and the corresponding fifth state information score is 1; if the unlocking failure times of the electronic equipment are more than 5 times and less than or equal to 10 times, the electronic equipment is in a lost state with high possibility, and the corresponding fifth state information score is 2; if the number of times of unlocking failure of the electronic equipment is greater than 10, the electronic equipment is in a lost state with high possibility, and the corresponding fifth state information score is 3.
Figure BDA0002435843390000091
TABLE 3
Optionally, the correspondence between the pre-stored state information and the state information score includes: the electronic equipment comprises one or more of a corresponding relation preset by a user, a corresponding relation determined based on the use parameters of the electronic equipment and a corresponding relation determined based on the use parameters of the electronic equipment.
Specifically, the correspondence between the pre-stored state information and the state information score may be a correspondence determined based on a usage parameter of the electronic device, and at this time, the judgment process of judging the loss state of the electronic equipment depends on the historical use parameters of the electronic equipment, including the historical use parameters of the mobile phone electronic equipment, and carries out user habit portrayal on the user according to the historical use parameters, therefore, a certain data accumulation time is required, and optionally, if the user data accumulation time is greater than or equal to a certain time (e.g. 7 days), determining the corresponding relationship between the state information and the state information score according to the historical use parameters of the user, wherein the longer the user data accumulation time is, the more accurate the user habit figure is, the more accurate the corresponding relationship obtained according to the historical use parameters of the user, the more accurate the process of automatically triggering the electronic equipment to be in the lost state can be further improved.
If the user data accumulation time is less than a certain time (for example, 7 days), the corresponding relationship between the state information and the state information score may be determined according to the usage parameters of the plurality of electronic devices, or only simple rule setting is performed, for example, if it is detected that the SIM card of the electronic device is in an abnormal state, it is determined that the electronic device is in a lost state, or when it is detected that the electronic device continuously receives an incorrect unlocking gesture or the number of times of receiving an unlocking password is greater than or equal to a preset number of times, it is determined that the electronic device is in a lost state.
Further, in this step, weight values corresponding to the target state information of the electronic device one to one may be preset, specifically, in the process of determining whether the electronic device is in a lost state, the weight value corresponding to more important target state information is larger, and the weight value corresponding to more secondary target state information is smaller, for example, table 4 shows a corresponding relationship between one target state information and a weight value in the embodiment of the present invention, and the target state information may be set to be 2 corresponding to the unlocking interval time of the electronic device; the target state information is that the weight value corresponding to the current geographical position information of the electronic equipment is 4; the target state information is that the weight value corresponding to the current wi-fi list information of the electronic equipment is 2; the target state information is that the weight value corresponding to the state information of the SIM card of the electronic equipment is 3; the target state information is that the weight value corresponding to the unlocking failure times of the electronic equipment is 3.
Target state information Weighted value
Unlock interval time for electronic device 2
Geographical location information of the electronic device 4
Current wi-fi list information of electronic equipment 2
Status information of a SIM card of an electronic device 3
Number of times of electronic device unlocking failure 3
TABLE 4
Step 103, calculating a loss state score of the electronic equipment according to the target state information scores and the weight values.
In this step, after determining a target state information score and a weight value corresponding to the target state information, a loss state score of the electronic device may be calculated according to a plurality of target state information scores and a plurality of weight values.
Optionally, the step of calculating the loss state score of the electronic device according to the multiple weight values and the multiple target state information scores may specifically be calculated by the following formula:
Figure BDA0002435843390000101
wherein A is the loss status score, KiScoring a target status information corresponding to the ith said target status information, AiAnd n is the number of the target state information.
Specifically, table 5 shows a lost state score calculation list of the electronic device in the embodiment of the present invention, and referring to table 5, the electronic device includes 5 pieces of target state information, which are respectively the unlocking interval time of the electronic device and the corresponding weight value a1To 2, the corresponding target status information score K1Is 3;
the current geographical position information of the electronic equipment and the corresponding weight value A2To 4, the corresponding target status information score K2Is 3;
the current wi-fi list information of the electronic equipment and the corresponding weight value A3To 2, the corresponding target status information score K3Is 3;
the state information of the SIM card of the electronic equipment and the corresponding weight value A4To 3, the corresponding target status information score K4Is 1;
the number of times of unlocking failure of the electronic equipment and the corresponding weight value A5To 3, the corresponding target status information score K5Is 1.
Correspondingly, the loss state score of the electronic device is:
Figure BDA0002435843390000111
Figure BDA0002435843390000112
TABLE 5
And 104, determining that the electronic equipment is in a loss state under the condition that the loss state score is greater than or equal to a preset score threshold value.
In this step, it is determined that the electronic device is in a loss state when the calculated loss state score is greater than or equal to a preset score threshold.
For example, the preset score threshold may be 24, that is, when the calculated loss state score is greater than or equal to 24 points, the electronic device may be determined to be in the loss state if it is considered that the electronic device is likely to be in the loss state at this time.
In summary, the loss detection method for an electronic device provided in the embodiments of the present invention is applied to an electronic device, and includes: acquiring current multiple target state information of the electronic equipment; determining a plurality of target state information scores corresponding to a plurality of target state information according to a corresponding relation between pre-stored state information and state information scores, and determining a plurality of weight values corresponding to the plurality of target state information according to a corresponding relation between pre-stored state information and weight values; calculating a loss state score of the electronic equipment according to the plurality of target state information scores and the plurality of weight values; in the invention, the lost state score of the electronic equipment is calculated according to a plurality of target state information scores corresponding to a plurality of target state information of the electronic equipment and the weight values of the plurality of target state information, and the lost state score of the electronic equipment is judged under the condition that the lost state score is greater than or equal to the preset score threshold value, so that the plurality of target state information of the electronic equipment is comprehensively considered in the process of judging whether the electronic equipment is in the lost state, meanwhile, different weight values are set for each target state information, the judgment process of the electronic equipment in the lost state is realized, the plurality of target state information with different weights of the electronic equipment is comprehensively considered, and the accuracy of the judgment process is improved, the probability of misjudgment is reduced, and the use experience of the user is improved.
Fig. 2 is another method for determining a state of an electronic device according to an embodiment of the present invention, as shown in fig. 2, the method may include:
step 201, obtaining a plurality of current target state information of the electronic device.
The implementation manner of this step is similar to the implementation process of step 101 described above, and the embodiment of the present invention is not described in detail here.
Step 202, determining a plurality of target state information scores corresponding to the plurality of target state information according to a correspondence between pre-stored state information and state information scores, and determining a plurality of weight values corresponding to the plurality of target state information according to a correspondence between pre-stored state information and weight values.
The implementation manner of this step is similar to the implementation process of step 102 described above, and the embodiment of the present invention is not described in detail here.
Step 203, calculating a loss state score of the electronic device according to the target state information scores and the weight values.
The implementation manner of this step is similar to the implementation process of step 103 described above, and the embodiment of the present invention is not described in detail here.
It should be noted that, after step 203, different steps may be executed according to the calculated size of the score of the lost state of the electronic device, that is, performing level division for determining that the electronic device is in the lost state, and executing different protection processes under different levels of the lost state, so as to improve the flexibility of automatically triggering the process that the electronic device end is in the lost state.
Specifically, if the loss state score is greater than or equal to a first preset score threshold and less than a second preset score threshold, step 204 is executed, if the loss state score is greater than or equal to the second preset score threshold and less than a third preset score threshold, step 207 is executed, and if the loss state score is greater than or equal to the third preset score threshold, step 210 is executed.
In the embodiment of the present invention, the first preset scoring threshold < the second preset scoring threshold < the third preset scoring threshold, and the first preset scoring threshold, the second preset scoring threshold and the third preset scoring threshold may be preset fixed values, for example, the first preset scoring threshold may be 10 points, the second preset scoring threshold may be 20 points, and the third preset scoring threshold may be 30 points.
And 204, determining that the electronic equipment is in a first loss state under the condition that the loss state score is greater than or equal to a first preset score threshold and is less than a second preset score threshold.
In this step, if the loss state score is greater than or equal to a first preset score threshold and less than a second preset score threshold, it is determined that the electronic device is in a first loss state.
Step 205, when the electronic device is in the first loss state, performing a first protection process.
In this step, if it is determined that the electronic device is in the first loss state, a first protection process is performed on the electronic device, so that the electronic device can be automatically triggered to be in the first loss state, and a corresponding process is performed on the electronic device in the first loss state.
The first guard process includes: the method comprises the steps of controlling the electronic equipment to be in a first power saving mode, locking a SIM card of the electronic equipment and carrying out backup operation on data of the electronic equipment.
In the embodiment of the present invention, since the judgment basis corresponding to the judgment that the electronic device is in the first loss state is that the loss state score is greater than or equal to the first preset score threshold and is smaller than the second preset score threshold, at this time, the loss state score is very small, which indicates that the probability that the electronic device is really lost at this time is very small.
Accordingly, the first guard process undertaken for the electronic device in the first lost state may include: the electronic equipment is controlled to be in a first power saving mode, namely, the electronic equipment is controlled to work with smaller running power, so that the electronic equipment can be kept in a starting state for a longer time, and a user can find the electronic equipment for a longer time.
Further, the first guard process undertaken for the electronic device in the first lost state may further include: the data of the electronic equipment is backed up, that is, the electronic equipment is controlled to send the data in the electronic equipment to a designated server, and the data in the electronic equipment can include contact data, short message data and the like in the electronic equipment, so that a user can retrieve the data stored in the electronic equipment after the electronic equipment is lost.
Optionally, fig. 3 is a schematic structural diagram of an electronic device according to an embodiment of the present invention, and as shown in fig. 3, the electronic device 10 includes: the SIM card 20, the buckle 30, the SIM card slot 40 disposed in the electronic device 10 for installing the SIM card 20, and the groove 50 disposed on the SIM card 20 and matching with the buckle 30, wherein the step of locking the SIM card of the electronic device in step 205 includes:
substep 2051, by controlling the snap, extends into the groove, so that the SIM card cannot be correctly installed in the SIM card slot and the SIM card cannot be taken out of the electronic device.
In this step, referring to fig. 3a, when the electronic device 10 is in a normal state, the clasp 30 does not penetrate into the groove 50, so that the SIM card 20 of the electronic device 10 can be correctly installed in the SIM card slot 40 of the electronic device 10, and can also be taken out of the SIM card slot 40 of the electronic device 10.
If it is determined that the electronic device 10 is in the first loss state, referring to fig. 3b, the electronic device 10 may control the bayonet 30 to penetrate into the groove 50, so that the SIM card 20 of the electronic device 10 cannot be correctly installed in the SIM card slot 40 of the electronic device 10, and thus when the electronic device is in the loss state, other malicious users are prevented from receiving information by using the SIM card correctly installed in the SIM card slot, and information security of the user is ensured.
Meanwhile, the SIM card 20 of the electronic device 10 cannot be taken out of the SIM card slot 40 of the electronic device 10, so that when the electronic device is in a lost state, other malicious users are prevented from acquiring the information of the user by using the SIM card taken out of the electronic device, and the information security of the user is ensured.
The SIM card can not receive data, so that the information safety of the user is ensured, and when the electronic equipment is in a lost state, other users are prevented from acquiring the information in the electronic equipment.
Optionally, in another implementation manner, the step of locking the SIM card of the electronic device in step 205 includes:
and substep 2052, adding a target unlocking PIN code to the electronic device.
In this step, if it is determined that the electronic device is in the first lost state, a target unlocking PIN code may be added to the electronic device, where the target unlocking PIN code is a security protection password of an SIM card of the electronic device, and after the target unlocking PIN code is added to the electronic device, in a process of opening the electronic device each time, an input of the unlocking PIN code is required, and if the input unlocking PIN code matches with the target unlocking PIN code, the SIM card of the electronic device is successfully unlocked, and if the number of times that the input unlocking PIN code does not match with the target unlocking PIN code exceeds a preset number of times, automatic card locking protection is performed, that is, the SIM card of the electronic device is locked, so that the SIM card cannot receive data, and the correct PIN code needs to be entered to unlock the SIM card or a service provider who goes to the electronic device needs to unlock the SIM card.
Sub-step 2053 is to receive an unlocking PIN code input by the user, and lock the SIM card of the electronic device so that the SIM card cannot receive data when the unlocking PIN code is not matched with the target unlocking PIN code.
In this step, the electronic device may receive an unlocking PIN code input by the user, and lock the SIM card of the electronic device under the condition that the unlocking PIN code is not matched with the target unlocking PIN code, so that the SIM card cannot receive data, thereby ensuring information security of the user, and preventing other malicious users from being able to acquire information in the electronic device when the electronic device is in a lost state.
And step 206, under the condition that the electronic equipment is detected to be successfully unlocked, canceling the first protection processing.
In this step, if the electronic device detects that the electronic device in the first lost state is successfully unlocked, it indicates that the user inputs a correct unlocking pattern or unlocking password through the electronic device, that is, the electronic device is not actually in the lost state, and the current first lost state of the electronic device is a false judgment, so that the electronic device can cancel the first protection process, so that the user can normally use the electronic device.
Specifically, the successful unlocking of the electronic equipment is used as a judgment basis for canceling the first protection processing, so that the first protection processing can be canceled quickly and conveniently, and meanwhile, since a user needs to input a correct unlocking pattern or an unlocking password when the electronic equipment is normally used, the user does not have perception when the first protection processing is canceled, so that the use experience of the user cannot be influenced even if the first loss state is misjudged.
Step 207, determining that the electronic device is in the second loss state when the loss state score is greater than or equal to the second preset score threshold and is less than a third preset score threshold.
In this step, if the loss state score is greater than or equal to the second preset score threshold and less than a third preset score threshold, it is determined that the electronic device is in a second loss state.
And 208, performing second protection processing when the electronic device is in the second loss state.
In this step, if it is determined that the electronic device is in the second loss state, second protection processing is performed on the electronic device, so that the electronic device can be automatically triggered to be in the second loss state, and corresponding processing is performed on the electronic device in the second loss state.
The second guard processing includes: the electronic equipment is controlled to be in a second power saving mode, a SIM card of the electronic equipment is locked, data of the electronic equipment is backed up, the electronic equipment is controlled to be shot by a front camera under the condition that unlocking of the electronic equipment fails, the shot picture is uploaded to a server, and the running power of the electronic equipment in the first power saving mode is smaller than that of the electronic equipment in the second power saving mode.
In the embodiment of the present invention, the judgment basis corresponding to the judgment that the electronic device is in the second loss state is that the loss state score is greater than or equal to the second preset score threshold and is less than the third preset score threshold, and at this time, the loss state score is smaller, which indicates that the probability that the electronic device is actually lost at this time is smaller.
Accordingly, the second protection process undertaken for the electronic device in the second lost state may include: the electronic equipment is controlled to be in a first power saving mode, namely, the electronic equipment is controlled to work with smaller running power, so that the electronic equipment can be kept in a starting state for a longer time, and a user can find the electronic equipment for a longer time.
Further, the second guard processing undertaken for the electronic device in the second lost state may further include: the data of the electronic equipment is backed up, that is, the electronic equipment is controlled to send the data in the electronic equipment to a designated server, and the data in the electronic equipment can include contact data, short message data and the like in the electronic equipment, so that a user can retrieve the data stored in the electronic equipment after the electronic equipment is lost.
Further, the second protection process taken against the electronic device in the second loss state may further include: the electronic equipment is controlled to shoot under the condition that unlocking of the electronic equipment fails, shot pictures are uploaded to the server, namely when the electronic equipment detects wrong unlocking passwords or unlocking gestures, the front camera of the electronic equipment can be called, shooting is carried out by the front camera, the shot pictures are uploaded to the server, so that after the electronic equipment is lost, malicious users who fail in unlocking can be shot by the front camera of the electronic equipment, the shot pictures including malicious user image information are uploaded to the server, and therefore the malicious users can be found by the users according to the pictures in the server and the electronic equipment can be found.
Optionally, the electronic device includes: the SIM card, the buckle, the SIM card slot arranged in the electronic device for installing the SIM card, and the groove arranged on the SIM card and matched with the buckle, wherein the step of locking the SIM card of the electronic device in step 208 includes:
substep 2081, controlling the buckle to go deep into the groove, so that the SIM card cannot be correctly installed in the SIM card slot, and the SIM card cannot be taken out of the electronic device.
The implementation manner of this step is similar to the implementation process of step 2051, and the embodiment of the present invention is not described in detail here.
Optionally, the step of locking the SIM card of the electronic device in step 208 includes:
substep 2082, adding a target unlock PIN code for the electronic device.
The implementation manner of this step is similar to the implementation process of step 2052, and the embodiment of the present invention is not described in detail here.
Substep 2083, receiving an unlocking PIN code input by a user, and locking the SIM card of the electronic device under the condition that the unlocking PIN code is not matched with the target unlocking PIN code, so that the SIM card cannot receive data.
The implementation manner of this step is similar to the implementation process of step 2053, and the embodiment of the present invention is not described in detail here.
And 209, under the condition that the electronic equipment is detected to be successfully unlocked and passes the habit verification, canceling the second protection processing.
Wherein the habit verification comprises: and judging whether the current position of the electronic equipment is the historical position of the electronic equipment, whether a wi-fi account currently connected with the electronic equipment is the historical wi-fi account of the electronic equipment, and whether the electronic equipment receives a server account input by a user, wherein the server account can be an equipment manufacturer account of the electronic equipment.
In this step, since the probability of losing the electronic device in the second lost state is higher, in order to better protect information security in the electronic device, after the electronic device detects that the electronic device in the second lost state is successfully unlocked, the electronic device needs to be further subjected to habit verification.
Specifically, the electronic device detects that the electronic device in the first lost state is successfully unlocked, and the habit verification is passed, it indicates that the user inputs a correct unlocking pattern or unlocking password through the electronic device, and the current state information of the electronic device is consistent with the historical state information, or the electronic device receives a server account input by the user, and indicates that the electronic device is not actually in the lost state, and the current second lost state of the electronic device is misjudged, so that the electronic device can cancel the second protection process, so that the user can normally use the electronic device.
The electronic equipment is successfully unlocked and the electronic equipment is used as a judgment basis for canceling the second protection processing through habit verification, so that the second protection processing can be quickly and conveniently cancelled, and meanwhile, the information safety of the electronic equipment can be improved. In addition, when the user normally uses the electronic device, the user also needs to input a correct unlocking pattern or an unlocking password, and the habit verification process is automatically performed by the electronic device, so that the user does not feel in the process of canceling the second protection processing, and the use experience of the user is not influenced even if the first loss state is misjudged.
Step 210, determining that the electronic device is in a third loss state when the loss state score is greater than or equal to the third preset score threshold.
In this step, if the loss state score is greater than or equal to the third preset score threshold, it is determined that the electronic device is in a third loss state.
And step 211, performing third protection processing when the electronic device is in the third loss state.
In this step, after detecting that the electronic device is in the third lost state, determining a server account and emergency contact information corresponding to the electronic device, since the electronic device in the third loss state has a high loss probability, in order to better protect information security in the electronic device, the third protection processing executed for the electronic device in the third loss state has a large influence on normal use of the electronic device, therefore, before the third protection processing is carried out on the electronic equipment, the server account can be determined to be in a login state in advance, and the server account receives the preset confirmation formatting information sent by the emergency contact, therefore, the safety of user data is protected, meanwhile, the electronic equipment is prevented from being influenced greatly when the user normally uses the electronic equipment under the condition of misjudgment, and the use experience of the user is improved.
The third protection treatment includes: the method comprises the steps of controlling the electronic equipment to be in a second power saving mode, locking a SIM card of the electronic equipment, carrying out backup operation on data of the electronic equipment, controlling a front camera to shoot under the condition that unlocking of the electronic equipment fails, uploading a shot picture to a server, and carrying out formatting operation on the data of the electronic equipment.
In the embodiment of the present invention, the judgment basis corresponding to the judgment that the electronic device is in the third loss state is that the loss state score is larger than the third preset score threshold, at this time, the loss state score is larger, which indicates that the probability that the electronic device is actually lost at this time is larger.
Accordingly, the third prevention process taken with respect to the electronic device in the third loss state may include: the electronic equipment is controlled to be in the second power saving mode, the running power of the electronic equipment in the first power saving mode is smaller than that of the electronic equipment in the second power saving mode, therefore, the electronic equipment in the second power saving mode works with very small running power, the electronic equipment can be kept in a starting state for a long time, and a user can find the electronic equipment for a long time.
Further, the third prevention process taken for the electronic device in the third loss state may further include: the data of the electronic equipment is backed up, that is, the electronic equipment is controlled to send the data in the electronic equipment to a designated server, and the data in the electronic equipment can include contact data, short message data and the like in the electronic equipment, so that a user can retrieve the data stored in the electronic equipment after the electronic equipment is lost.
Further, the third protection process taken for the electronic device in the third loss state may further include: the electronic equipment is controlled to shoot under the condition that unlocking of the electronic equipment fails, shot pictures are uploaded to the server, namely when the electronic equipment detects wrong unlocking passwords or unlocking gestures, the front camera of the electronic equipment can be called, shooting is carried out by the front camera, the shot pictures are uploaded to the server, so that after the electronic equipment is lost, malicious users who fail in unlocking can be shot by the front camera of the electronic equipment, the shot pictures including malicious user image information are uploaded to the server, and therefore the malicious users can be found by the users according to the pictures in the server and the electronic equipment can be found.
Further, the third protection process taken for the electronic device in the third loss state may further include: and formatting the data of the electronic equipment, so that the data of the electronic equipment is formatted after the electronic equipment is lost and under the condition that a user utilizes an emergency contact to send formatting confirmation information to a server account in a login state, a malicious user is prevented from acquiring the information in the electronic equipment, and the information safety of the user is ensured.
Optionally, the electronic device includes: the SIM card, the buckle, the SIM card slot arranged in the electronic device for installing the SIM card, and the groove arranged on the SIM card and matched with the buckle, in step 211, the step of locking the SIM card of the electronic device includes:
substep 2111, by controlling the buckle to go deep into the groove, the SIM card cannot be correctly installed in the SIM card slot, and the SIM card cannot be taken out of the electronic device.
The implementation manner of this step is similar to the implementation process of step 2051, and the embodiment of the present invention is not described in detail here.
Optionally, the step of locking the SIM card of the electronic device in step 211 includes:
sub-step 2112, adding a target unlock PIN code for the electronic device.
The implementation manner of this step is similar to the implementation process of step 2052, and the embodiment of the present invention is not described in detail here.
Sub-step 2113, receiving an unlocking PIN code input by the user, and locking the SIM card of the electronic device under the condition that the unlocking PIN code is not matched with the target unlocking PIN code, so that the SIM card cannot receive data.
The implementation manner of this step is similar to the implementation process of step 2053, and the embodiment of the present invention is not described in detail here.
And 212, canceling the third protection processing when the electronic equipment is detected to be successfully unlocked and receives the information which is sent by the emergency contact and confirms that the third protection processing is canceled.
In this step, since the electronic device in the third loss state has a high probability of being lost, in order to better protect information security in the electronic device, after detecting that the electronic device in the third loss state is successfully unlocked, the electronic device needs to further determine whether the electronic device receives the information for confirming that the emergency contact has released the third protection process, so that the electronic device cancels the third protection process when detecting that the electronic device is successfully unlocked and the electronic device receives the information for confirming that the emergency contact has released the third protection process.
In summary, the loss detection method for an electronic device provided in the embodiments of the present invention is applied to an electronic device, and includes: acquiring current multiple target state information of the electronic equipment; determining a plurality of target state information scores corresponding to a plurality of target state information according to a corresponding relation between pre-stored state information and state information scores, and determining a plurality of weight values corresponding to the plurality of target state information according to a corresponding relation between pre-stored state information and weight values; calculating a loss state score of the electronic equipment according to the plurality of target state information scores and the plurality of weight values; in the invention, the lost state score of the electronic equipment is calculated according to a plurality of target state information scores corresponding to a plurality of target state information of the electronic equipment and the weight values of the plurality of target state information, and the lost state score of the electronic equipment is judged under the condition that the lost state score is greater than or equal to the preset score threshold value, so that the plurality of target state information of the electronic equipment is comprehensively considered in the process of judging whether the electronic equipment is in the lost state, meanwhile, different weight values are set for each target state information, the judgment process of the electronic equipment in the lost state is realized, the plurality of target state information with different weights of the electronic equipment is comprehensively considered, and the accuracy of the judgment process is improved, the probability of misjudgment is reduced, and the use experience of the user is improved.
In addition, according to the loss state score, different loss states of the electronic equipment are determined, namely, the electronic equipment is subjected to level division for judging the loss state, and different protection processes are executed under different loss state levels, so that the accuracy and flexibility of the process of automatically triggering the electronic equipment to be in the loss state are improved while the information safety of a user is ensured. Meanwhile, the judgment condition for canceling the loss state of the electronic equipment can be set for the electronic equipment in different loss state grades, so that the influence on normal use of the electronic equipment by a user due to the fact that the electronic equipment is in the loss state due to misjudgment is avoided.
Fig. 4 is a block diagram of an electronic device according to an embodiment of the present invention, and as shown in fig. 4, the electronic device 300 includes:
an obtaining module 301, configured to obtain current multiple target state information of the electronic device;
a first determining module 302, configured to determine, according to a correspondence between pre-stored state information and state information scores, a plurality of target state information scores corresponding to the plurality of target state information, and determine, according to a correspondence between pre-stored state information and weight values, a plurality of weight values corresponding to the plurality of target state information;
a calculating module 303, configured to calculate a loss state score of the electronic device according to the target state information scores and the weight values;
optionally, the calculating module 303 includes:
a calculation submodule, configured to calculate a loss state score of the electronic device according to the following formula:
Figure BDA0002435843390000221
wherein A is the loss status score, KiScoring a target status information corresponding to the ith said target status information, AiAnd n is the number of the target state information.
A second determining module 304, configured to determine that the electronic device is in a loss state if the loss state score is greater than or equal to a preset score threshold.
Optionally, the second determining module 304 includes:
the first determining submodule is used for determining that the electronic equipment is in a first loss state under the condition that the loss state score is greater than or equal to a first preset score threshold and is smaller than a second preset score threshold;
the second determining submodule is used for determining that the electronic equipment is in a second loss state under the condition that the loss state score is greater than or equal to the second preset score threshold and is smaller than a third preset score threshold;
a third determining submodule, configured to determine that the electronic device is in a third loss state when the loss state score is greater than or equal to the third preset score threshold;
and the processing submodule is used for carrying out different protection processing aiming at different loss states.
Optionally, the processing sub-module further includes:
the first protection unit is used for performing first protection processing when the electronic equipment is in the first loss state;
wherein the first guard processing comprises: controlling the electronic equipment to be in a first power saving mode, locking a SIM card of the electronic equipment and carrying out backup operation on data of the electronic equipment;
the second protection unit is used for performing second protection processing when the electronic equipment is in the second loss state;
wherein the second guard processing comprises: controlling the electronic equipment to be in a second power saving mode, locking an SIM card of the electronic equipment, performing backup operation on data of the electronic equipment, controlling a front camera to shoot under the condition that unlocking of the electronic equipment fails, and uploading a shot picture to a server, wherein the running power of the electronic equipment in the first power saving mode is smaller than that of the electronic equipment in the second power saving mode;
the third protection unit is used for performing third protection processing when the electronic equipment is in the third loss state;
wherein the third protection process comprises: the electronic equipment is controlled to be in the second power saving mode, an SIM card of the electronic equipment is locked, data of the electronic equipment is backed up, the front-facing camera is controlled to shoot under the condition that unlocking of the electronic equipment fails, the shot picture is uploaded to the server, and formatting operation is carried out on the data of the electronic equipment.
In summary, an electronic device provided in an embodiment of the present invention includes: acquiring current multiple target state information of the electronic equipment; determining a plurality of target state information scores corresponding to a plurality of target state information according to a corresponding relation between pre-stored state information and state information scores, and determining a plurality of weight values corresponding to the plurality of target state information according to a corresponding relation between pre-stored state information and weight values; calculating a loss state score of the electronic equipment according to the plurality of target state information scores and the plurality of weight values; in the invention, the lost state score of the electronic equipment is calculated according to a plurality of target state information scores corresponding to a plurality of target state information of the electronic equipment and the weight values of the plurality of target state information, and the lost state score of the electronic equipment is judged under the condition that the lost state score is greater than or equal to the preset score threshold value, so that the plurality of target state information of the electronic equipment is comprehensively considered in the process of judging whether the electronic equipment is in the lost state, meanwhile, different weight values are set for each target state information, the judgment process of the electronic equipment in the lost state is realized, the plurality of target state information with different weights of the electronic equipment is comprehensively considered, and the accuracy of the judgment process is improved, the probability of misjudgment is reduced, and the use experience of the user is improved.
The electronic device provided by the embodiment of the invention can realize each process of the icon sorting method embodiment, can achieve the same technical effect, and is not repeated here to avoid repetition.
Fig. 5 is a schematic diagram of a hardware structure of an electronic device according to an embodiment of the present invention, and as shown in fig. 5, the electronic device 400 includes, but is not limited to: radio frequency unit 401, network module 402, audio output unit 403, input unit 404, sensor 405, display unit 406, user input unit 407, interface unit 408, memory 409, processor 410, and power supply 411. Those skilled in the art will appreciate that the electronic device configuration shown in fig. 5 does not constitute a limitation of the electronic device, and that the electronic device may include more or fewer components than shown, or some components may be combined, or a different arrangement of components. In the embodiment of the present invention, the electronic device includes, but is not limited to, a mobile phone, a tablet computer, a notebook computer, a palm computer, a vehicle-mounted terminal, a wearable device, a pedometer, and the like.
The processor 410 is configured to obtain a plurality of current target state information of the electronic device;
determining a plurality of target state information scores corresponding to the plurality of target state information according to a corresponding relation between pre-stored state information and state information scores, and determining a plurality of weight values corresponding to the plurality of target state information according to a corresponding relation between pre-stored state information and weight values;
calculating a loss state score of the electronic equipment according to the target state information scores and the weight values;
determining that the electronic device is in a lost state if the lost state score is greater than or equal to a preset score threshold.
Optionally, the processor 410 is further configured to calculate a loss state score of the electronic device according to the following formula:
Figure BDA0002435843390000251
wherein A is the loss status score, KiScoring a target status information corresponding to the ith said target status information, AiAnd n is the number of the target state information.
Optionally, the processor 410 is further configured to determine that the electronic device is in the first loss state when the loss state score is greater than or equal to a first preset score threshold and is less than a second preset score threshold;
determining that the electronic equipment is in a second loss state under the condition that the loss state score is greater than or equal to the second preset score threshold and is less than a third preset score threshold;
determining that the electronic device is in a third loss state if the loss state score is greater than or equal to the third preset score threshold;
and aiming at different loss states, different protection treatments are carried out.
Optionally, the processor 410 is further configured to perform a first protection process when the electronic device is in the first loss state;
wherein the first guard processing comprises: controlling the electronic equipment to be in a first power saving mode, locking a SIM card of the electronic equipment and carrying out backup operation on data of the electronic equipment;
when the electronic equipment is in the second loss state, performing second protection processing;
wherein the second guard processing comprises: controlling the electronic equipment to be in a second power saving mode, locking an SIM card of the electronic equipment, performing backup operation on data of the electronic equipment, controlling a front camera to shoot under the condition that unlocking of the electronic equipment fails, and uploading a shot picture to a server, wherein the running power of the electronic equipment in the first power saving mode is smaller than that of the electronic equipment in the second power saving mode;
performing third protection processing when the electronic equipment is in the third loss state;
wherein the third protection process comprises: the electronic equipment is controlled to be in the second power saving mode, an SIM card of the electronic equipment is locked, data of the electronic equipment is backed up, the front-facing camera is controlled to shoot under the condition that unlocking of the electronic equipment fails, the shot picture is uploaded to the server, and formatting operation is carried out on the data of the electronic equipment.
It should be understood that, in the embodiment of the present invention, the radio frequency unit 401 may be used for receiving and sending signals during a message sending and receiving process or a call process, and specifically, receives downlink data from a base station and then processes the received downlink data to the processor 410; in addition, the uplink data is transmitted to the base station. Typically, radio unit 401 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. Further, the radio unit 401 can also communicate with a network and other devices through a wireless communication system.
The electronic device provides wireless broadband internet access to the user via the network module 402, such as assisting the user in sending and receiving e-mails, browsing web pages, and accessing streaming media.
The audio output unit 403 may convert audio data received by the radio frequency unit 401 or the network module 402 or stored in the memory 409 into an audio signal and output as sound. Also, the audio output unit 403 may also provide audio output related to a specific function performed by the electronic apparatus 400 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output unit 403 includes a speaker, a buzzer, a receiver, and the like.
The input unit 404 is used to receive audio or video signals. The input Unit 404 may include a Graphics Processing Unit (GPU) 4041 and a microphone 4042, and the Graphics processor 4041 processes image data of a still picture or video obtained by an image capturing apparatus (such as a camera) in a video capturing mode or an image capturing mode. The processed image frames may be displayed on the display unit 406. The image frames processed by the graphic processor 4041 may be stored in the memory 409 (or other storage medium) or transmitted via the radio frequency unit 401 or the network module 402. The microphone 4042 may receive sound, and may be capable of processing such sound into audio data. The processed audio data may be converted into a format output transmittable to a mobile communication base station via the radio frequency unit 401 in case of the phone call mode.
The electronic device 400 also includes at least one sensor 405, such as light sensors, motion sensors, and other sensors. Specifically, the light sensor includes an ambient light sensor that adjusts the brightness of the display panel 4061 according to the brightness of ambient light, and a proximity sensor that turns off the display panel 4061 and/or the backlight when the electronic apparatus 400 is moved to the ear. As one type of motion sensor, an accelerometer sensor can detect the magnitude of acceleration in each direction (generally three axes), detect the magnitude and direction of gravity when stationary, and can be used to identify the posture of an electronic device (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), and vibration identification related functions (such as pedometer, tapping); the sensors 405 may also include a fingerprint sensor, a pressure sensor, an iris sensor, a molecular sensor, a gyroscope, a barometer, a hygrometer, a thermometer, an infrared sensor, etc., which will not be described in detail herein.
The Display unit 406 may include a Display panel 4061, and the Display panel 4061 may be configured in the form of a liquid Crystal Display (L acquired Crystal Display, L CD), an Organic light-Emitting Diode (O L ED), or the like.
The user input unit 407 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the electronic device. Specifically, the user input unit 407 includes a touch panel 4071 and other input devices 4072. Touch panel 4071, also referred to as a touch screen, may collect touch operations by a user on or near it (e.g., operations by a user on or near touch panel 4071 using a finger, a stylus, or any suitable object or attachment). The touch panel 4071 may include two parts, a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 410, receives a command from the processor 410, and executes the command. In addition, the touch panel 4071 can be implemented by using various types such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. In addition to the touch panel 4071, the user input unit 407 may include other input devices 4072. Specifically, the other input devices 4072 may include, but are not limited to, a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a track ball, a mouse, and a joystick, which are not described herein again.
Further, the touch panel 4071 can be overlaid on the display panel 4061, and when the touch panel 4071 detects a touch operation thereon or nearby, the touch operation is transmitted to the processor 410 to determine the type of the touch event, and then the processor 410 provides a corresponding visual output on the display panel 4061 according to the type of the touch event. Although in fig. 5, the touch panel 4071 and the display panel 4061 are two independent components to implement the input and output functions of the electronic device, in some embodiments, the touch panel 4071 and the display panel 4061 may be integrated to implement the input and output functions of the electronic device, which is not limited herein.
The interface unit 408 is an interface for connecting an external device to the electronic apparatus 400. For example, the external device may include a wired or wireless headset port, an external power supply (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device having an identification module, an audio input/output (I/O) port, a video I/O port, an earphone port, and the like. The interface unit 408 may be used to receive input (e.g., data information, power, etc.) from an external device and transmit the received input to one or more elements within the electronic apparatus 400 or may be used to transmit data between the electronic apparatus 400 and an external device.
The memory 409 may be used to store software programs as well as various data. The memory 409 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the cellular phone, and the like. Further, the memory 409 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
The processor 410 is a control center of the electronic device, connects various parts of the entire electronic device using various interfaces and lines, performs various functions of the electronic device and processes data by operating or executing software programs and/or modules stored in the memory 409 and calling data stored in the memory 409, thereby performing overall monitoring of the electronic device. Processor 410 may include one or more processing units; preferably, the processor 410 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 410.
The electronic device 400 may further include a power supply 411 (e.g., a battery) for supplying power to various components, and preferably, the power supply 411 may be logically connected to the processor 410 through a power management system, so as to implement functions of managing charging, discharging, and power consumption through the power management system.
In addition, the electronic device 400 includes some functional modules that are not shown, and are not described in detail herein.
Preferably, an embodiment of the present invention further provides an electronic device, which includes a processor 410, a memory 409, and a computer program that is stored in the memory 409 and can be run on the processor 410, and when being executed by the processor 410, the computer program implements each process of the loss detection method embodiment of the electronic device, and can achieve the same technical effect, and in order to avoid repetition, details are not described here again.
An electronic device provided in an embodiment of the present invention includes: acquiring current multiple target state information of the electronic equipment; determining a plurality of target state information scores corresponding to a plurality of target state information according to a corresponding relation between pre-stored state information and state information scores, and determining a plurality of weight values corresponding to the plurality of target state information according to a corresponding relation between pre-stored state information and weight values; calculating a loss state score of the electronic equipment according to the plurality of target state information scores and the plurality of weight values; in the invention, the lost state score of the electronic equipment is calculated according to a plurality of target state information scores corresponding to a plurality of target state information of the electronic equipment and the weight values of the plurality of target state information, and the lost state score of the electronic equipment is judged under the condition that the lost state score is greater than or equal to the preset score threshold value, so that the plurality of target state information of the electronic equipment is comprehensively considered in the process of judging whether the electronic equipment is in the lost state, meanwhile, different weight values are set for each target state information, the judgment process of the electronic equipment in the lost state is realized, the plurality of target state information with different weights of the electronic equipment is comprehensively considered, and the accuracy of the judgment process is improved, the probability of misjudgment is reduced, and the use experience of the user is improved.
The embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the computer program implements each process of the loss detection method for an electronic device, and can achieve the same technical effect, and is not described herein again to avoid repetition. The computer-readable storage medium may be a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk.
It should be noted that, in this document, 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 like elements in a process, method, article, or apparatus that comprises the element.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
While the present invention has been described with reference to the embodiments shown in the drawings, the present invention is not limited to the embodiments, which are illustrative and not restrictive, and it will be apparent to those skilled in the art that various changes and modifications can be made therein without departing from the spirit and scope of the invention as defined in the appended claims.
While the preferred embodiments of the present invention have been described, it will be understood by those skilled in the art that various changes and modifications may be made without departing from the spirit and scope of the invention as defined in the following claims.

Claims (12)

1. A loss detection method of an electronic device is applied to the electronic device, and is characterized by comprising the following steps:
acquiring a plurality of current target state information of the electronic equipment;
determining a plurality of target state information scores corresponding to the plurality of target state information according to a corresponding relation between pre-stored state information and state information scores, and determining a plurality of weight values corresponding to the plurality of target state information according to a corresponding relation between pre-stored state information and weight values;
calculating a loss state score of the electronic equipment according to the target state information scores and the weight values;
determining that the electronic device is in a lost state if the lost state score is greater than or equal to a preset score threshold.
2. The method of claim 1, wherein the plurality of target state information comprises: the unlocking time interval of the electronic equipment, the current geographical position information of the electronic equipment, the current wi-fi list information of the electronic equipment, the state information of an SIM card of the electronic equipment, and the number of times of unlocking failure of the electronic equipment.
3. The method according to claim 1, wherein the step of calculating the loss state score of the electronic device according to the target state information scores and the weight values comprises:
calculating a loss state score for the electronic device by:
Figure FDA0002435843380000011
wherein A is the loss status score, KiScoring a target status information corresponding to the ith said target status information, AiAnd n is the number of the target state information.
4. The method according to claim 1, wherein the step of determining that the electronic device is in the loss state if the loss state score is greater than or equal to a preset score threshold comprises:
determining that the electronic equipment is in a first loss state under the condition that the loss state score is greater than or equal to a first preset score threshold and is less than a second preset score threshold;
determining that the electronic equipment is in a second loss state under the condition that the loss state score is greater than or equal to the second preset score threshold and is less than a third preset score threshold;
determining that the electronic device is in a third loss state if the loss state score is greater than or equal to the third preset score threshold;
and aiming at different loss states, different protection treatments are carried out.
5. The method of claim 4, wherein the step of performing different protection processes for different loss states comprises:
when the electronic equipment is in the first loss state, performing first protection processing;
wherein the first guard processing comprises: controlling the electronic equipment to be in a first power saving mode, locking a SIM card of the electronic equipment and carrying out backup operation on data of the electronic equipment;
when the electronic equipment is in the second loss state, performing second protection processing;
wherein the second guard processing comprises: controlling the electronic equipment to be in a second power saving mode, locking an SIM card of the electronic equipment, performing backup operation on data of the electronic equipment, controlling a front camera to shoot under the condition that unlocking of the electronic equipment fails, and uploading a shot picture to a server, wherein the running power of the electronic equipment in the first power saving mode is smaller than that of the electronic equipment in the second power saving mode;
performing third protection processing when the electronic equipment is in the third loss state;
wherein the third protection process comprises: the electronic equipment is controlled to be in the second power saving mode, an SIM card of the electronic equipment is locked, data of the electronic equipment is backed up, the front-facing camera is controlled to shoot under the condition that unlocking of the electronic equipment fails, the shot picture is uploaded to the server, and formatting operation is carried out on the data of the electronic equipment.
6. An electronic device, characterized in that the electronic device comprises:
the acquisition module is used for acquiring a plurality of current target state information of the electronic equipment;
the first determining module is used for determining a plurality of target state information scores corresponding to the plurality of target state information according to the corresponding relation between the pre-stored state information and the state information scores, and determining a plurality of weight values corresponding to the plurality of target state information according to the corresponding relation between the pre-stored state information and the weight values;
the calculating module is used for calculating a loss state score of the electronic equipment according to the target state information scores and the weight values;
and the second determining module is used for determining that the electronic equipment is in the loss state under the condition that the loss state score is greater than or equal to a preset score threshold value.
7. The electronic device of claim 6, wherein the plurality of target state information comprises: the unlocking time interval of the electronic equipment, the current geographical position information of the electronic equipment, the current wi-fi list information of the electronic equipment, the state information of an SIM card of the electronic equipment, and the number of times of unlocking failure of the electronic equipment.
8. The electronic device of claim 6, wherein the computing module comprises:
a calculation submodule, configured to calculate a loss state score of the electronic device according to the following formula:
Figure FDA0002435843380000031
wherein A is the loss status score, KiScoring a target status information corresponding to the ith said target status information, AiAnd n is the number of the target state information.
9. The electronic device of claim 6, wherein the second determining module comprises:
the first determining submodule is used for determining that the electronic equipment is in a first loss state under the condition that the loss state score is greater than or equal to a first preset score threshold and is smaller than a second preset score threshold;
the second determining submodule is used for determining that the electronic equipment is in a second loss state under the condition that the loss state score is greater than or equal to the second preset score threshold and is smaller than a third preset score threshold;
a third determining submodule, configured to determine that the electronic device is in a third loss state when the loss state score is greater than or equal to the third preset score threshold;
and the processing submodule is used for carrying out different protection processing aiming at different loss states.
10. The electronic device of claim 9, wherein the processing submodule comprises:
the first protection unit is used for performing first protection processing when the electronic equipment is in the first loss state;
wherein the first guard processing comprises: controlling the electronic equipment to be in a first power saving mode, locking a SIM card of the electronic equipment and carrying out backup operation on data of the electronic equipment;
the second protection unit is used for performing second protection processing when the electronic equipment is in the second loss state;
wherein the second guard processing comprises: controlling the electronic equipment to be in a second power saving mode, locking an SIM card of the electronic equipment, performing backup operation on data of the electronic equipment, controlling a front camera to shoot under the condition that unlocking of the electronic equipment fails, and uploading a shot picture to a server, wherein the running power of the electronic equipment in the first power saving mode is smaller than that of the electronic equipment in the second power saving mode;
the third protection unit is used for performing third protection processing when the electronic equipment is in the third loss state;
wherein the third protection process comprises: the electronic equipment is controlled to be in the second power saving mode, an SIM card of the electronic equipment is locked, data of the electronic equipment is backed up, the front-facing camera is controlled to shoot under the condition that unlocking of the electronic equipment fails, the shot picture is uploaded to the server, and formatting operation is carried out on the data of the electronic equipment.
11. An electronic device, comprising a processor, a memory and a computer program stored on the memory and executable on the processor, the computer program, when executed by the processor, implementing the steps of the loss detection method of an electronic device according to any of claims 1 to 5.
12. A computer-readable storage medium, characterized in that a computer program is stored thereon, which computer program, when being executed by a processor, carries out the steps of the loss detection method of an electronic device according to any one of claims 1 to 5.
CN202010252023.7A 2020-04-01 2020-04-01 Loss detection method of electronic equipment and electronic equipment Pending CN111491289A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010252023.7A CN111491289A (en) 2020-04-01 2020-04-01 Loss detection method of electronic equipment and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010252023.7A CN111491289A (en) 2020-04-01 2020-04-01 Loss detection method of electronic equipment and electronic equipment

Publications (1)

Publication Number Publication Date
CN111491289A true CN111491289A (en) 2020-08-04

Family

ID=71797661

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010252023.7A Pending CN111491289A (en) 2020-04-01 2020-04-01 Loss detection method of electronic equipment and electronic equipment

Country Status (1)

Country Link
CN (1) CN111491289A (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103905607A (en) * 2012-12-24 2014-07-02 联想(北京)有限公司 Information processing method and electronic equipment
CN106778389A (en) * 2016-11-25 2017-05-31 维沃移动通信有限公司 The loss detection method and mobile terminal of a kind of mobile terminal
CN109067941A (en) * 2018-07-06 2018-12-21 成都意町工业产品设计有限公司 A kind of locking device and unlocking method for card slot
WO2019113928A1 (en) * 2017-12-15 2019-06-20 Orange Anti-theft mobile terminal and method for controlling the extraction of memory card out from mobile terminal
CN109951789A (en) * 2017-12-19 2019-06-28 北京松果电子有限公司 Issue method, apparatus, storage medium and the equipment of location information
CN110650408A (en) * 2019-10-29 2020-01-03 歌尔股份有限公司 Earphone, anti-lost method, anti-lost system and computer readable storage medium

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103905607A (en) * 2012-12-24 2014-07-02 联想(北京)有限公司 Information processing method and electronic equipment
CN106778389A (en) * 2016-11-25 2017-05-31 维沃移动通信有限公司 The loss detection method and mobile terminal of a kind of mobile terminal
WO2019113928A1 (en) * 2017-12-15 2019-06-20 Orange Anti-theft mobile terminal and method for controlling the extraction of memory card out from mobile terminal
CN109951789A (en) * 2017-12-19 2019-06-28 北京松果电子有限公司 Issue method, apparatus, storage medium and the equipment of location information
CN109067941A (en) * 2018-07-06 2018-12-21 成都意町工业产品设计有限公司 A kind of locking device and unlocking method for card slot
CN110650408A (en) * 2019-10-29 2020-01-03 歌尔股份有限公司 Earphone, anti-lost method, anti-lost system and computer readable storage medium

Similar Documents

Publication Publication Date Title
CN107645609B (en) Brightness adjusting method and mobile terminal
CN108156537B (en) Remote operation method of mobile terminal and mobile terminal
CN110035183B (en) Information sharing method and terminal
CN107609363B (en) Unlocking method and mobile terminal
CN107977113B (en) Control method and mobile terminal
CN109325334B (en) Touch terminal control method and touch terminal
CN108769410B (en) Information sending method and mobile terminal
CN108491713B (en) Safety reminding method and electronic equipment
CN111756696A (en) Login method of application program, first electronic device and second electronic device
CN109815679B (en) Authority management method and mobile terminal
CN110225040B (en) Information processing method and terminal equipment
CN111125680A (en) Permission setting method and terminal equipment
CN107895108B (en) Operation management method and mobile terminal
CN107809515B (en) Display control method and mobile terminal
CN111103607B (en) Positioning prompting method and electronic equipment
CN110929238B (en) Information processing method and device
CN109547330B (en) Information sharing method and device
CN107613145B (en) Screen unlocking method and mobile terminal
CN107491685B (en) Face recognition method and mobile terminal
CN110647727A (en) Terminal control method and terminal
CN108459796B (en) Function key response method and mobile terminal
CN111491289A (en) Loss detection method of electronic equipment and electronic equipment
CN110336911B (en) Security level adjustment method and terminal
CN110096863B (en) Alarm method and mobile terminal
CN111223269B (en) Safety protection method and electronic equipment

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
WD01 Invention patent application deemed withdrawn after publication
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20200804