CN109995849B - Information recording method and terminal equipment - Google Patents

Information recording method and terminal equipment Download PDF

Info

Publication number
CN109995849B
CN109995849B CN201910142599.5A CN201910142599A CN109995849B CN 109995849 B CN109995849 B CN 109995849B CN 201910142599 A CN201910142599 A CN 201910142599A CN 109995849 B CN109995849 B CN 109995849B
Authority
CN
China
Prior art keywords
terminal device
parameter
face image
target
information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201910142599.5A
Other languages
Chinese (zh)
Other versions
CN109995849A (en
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.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication 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 Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN201910142599.5A priority Critical patent/CN109995849B/en
Publication of CN109995849A publication Critical patent/CN109995849A/en
Application granted granted Critical
Publication of CN109995849B publication Critical patent/CN109995849B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V40/00Recognition of biometric, human-related or animal-related patterns in image or video data
    • G06V40/10Human or animal bodies, e.g. vehicle occupants or pedestrians; Body parts, e.g. hands
    • G06V40/16Human faces, e.g. facial parts, sketches or expressions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/52Network services specially adapted for the location of the user terminal
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72457User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to geographic location

Landscapes

  • Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • General Health & Medical Sciences (AREA)
  • Health & Medical Sciences (AREA)
  • Environmental & Geological Engineering (AREA)
  • Oral & Maxillofacial Surgery (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Multimedia (AREA)
  • Theoretical Computer Science (AREA)
  • Telephone Function (AREA)

Abstract

The embodiment of the invention provides an information recording method and terminal equipment, which are applied to the technical field of communication and are used for solving the problem that the terminal equipment cannot record and report position information in time, so that the difficulty in searching the terminal equipment is high. Specifically, the scheme is applied to the terminal equipment and can acquire a face image; under the condition that the first face image is obtained, determining that the first face image is different from a preset face image in a preset mode; acquiring first position information, wherein the first position information is used for indicating the current position of the terminal equipment; and saving target information, wherein the target information comprises the first position information or comprises the first position information and the first face image. The scheme is particularly applied to the process of recording information such as first position information before the terminal equipment sends the position information to the server.

Description

Information recording method and terminal equipment
Technical Field
The embodiment of the invention relates to the technical field of communication, in particular to an information recording method and terminal equipment.
Background
A seek function is generally provided in current terminal devices. After the terminal device is lost, the user may request the server to obtain the location information of the lost terminal device through other terminal devices accessing the network. Specifically, the server needs to send an indication message to the lost terminal device to trigger the terminal device to start the search function, and the terminal device records in real time and reports the location information to the server. Therefore, the user can locate and find the terminal equipment through the position information of the terminal equipment obtained by the server.
However, when the terminal device is lost, the user may not find other terminal devices accessing the network in time, and the user may not obtain the location information of the lost terminal device through the other terminal devices, so that the terminal device may not record and report the location information in time, and the difficulty in finding the terminal device is increased.
Disclosure of Invention
The embodiment of the invention provides an information recording method and terminal equipment, and aims to solve the problem that the terminal equipment cannot record and report position information in time, so that the difficulty of searching the terminal equipment is high.
In order to solve the above technical problem, the embodiment of the present invention is implemented as follows:
in a first aspect, an embodiment of the present invention provides an information recording method, which is applied to a terminal device, and the method includes: acquiring a face image; under the condition that the first face image is obtained, determining that the first face image is different from a preset face image in a preset mode; acquiring first position information, wherein the first position information is used for indicating the current position of the terminal equipment; and saving target information, wherein the target information comprises the first position information or comprises the first position information and the first face image.
In a second aspect, an embodiment of the present invention further provides a terminal device, where the terminal device includes: the device comprises a first acquisition module, a determination module, a second acquisition module and a first storage module; the first acquisition module is used for acquiring a face image; the determining module is used for determining that the first face image is different from the preset face image in a preset mode under the condition that the first acquiring module acquires the first face image; the second acquisition module is used for acquiring first position information, and the first position information is used for indicating the current position of the terminal equipment; and the storage module is used for storing target information, wherein the target information comprises the first position information acquired by the second acquisition module, or comprises the first position information acquired by the second acquisition module and the first face image acquired by the first acquisition module.
In a third aspect, an embodiment of the present invention provides a terminal device, which includes a processor, a memory, and a computer program stored on the memory and operable on the processor, and when executed by the processor, the computer program implements the steps of the information recording method according to the first aspect.
In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium, on which a computer program is stored, which, when executed by a processor, implements the steps of the information recording method according to the first aspect.
In the embodiment of the invention, the face image can be acquired in real time; under the condition that the first face image is obtained, determining that the first face image is different from a preset face image in a preset mode; then, first position information for indicating the current position of the terminal device can be acquired; further, target information may be saved, the target information including the first position information, or including the first position information and the first face image. Based on the scheme, the first face information acquired by the terminal device can indicate that the current terminal device is possibly abnormally operated by an abnormal user, and the target information stored by the terminal device can be used for reflecting the position of the terminal device which is abnormally operated, or the target information can be used for reflecting the position and the figure of the terminal device which is abnormally operated, so that the terminal device can subsequently search the terminal device according to the target information, and even search the user using the terminal device. Thus, in some scenarios, such as a scenario in which the terminal device is lost, the terminal device does not need to be triggered by the server, but can record the current position and use the first face image of the user when detecting that it may be abnormally operated. Therefore, the terminal equipment can record and report the position information in time, and the terminal equipment can be found quickly.
Drawings
Fig. 1 is a schematic diagram of an architecture of a possible android operating system according to an embodiment of the present invention;
fig. 2 is a schematic flow chart of an information recording method according to an embodiment of the present invention;
FIG. 3 is a second schematic flowchart of an information recording method according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of a possible terminal device according to an embodiment of the present invention;
fig. 5 is a schematic diagram of a hardware structure of a terminal device according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
It should be noted that "/" in this context means "or", for example, A/B may mean A or B; "and/or" herein is merely an association describing an associated object, and means that there may be three relationships, e.g., a and/or B, which may mean: a exists alone, A and B exist simultaneously, and B exists alone. "plurality" means two or more than two.
It should be noted that, in the embodiments of the present invention, words such as "exemplary" or "for example" are used to indicate examples, illustrations or explanations. Any embodiment or design described as "exemplary" or "e.g.," an embodiment of the present invention is not necessarily to be construed as preferred or advantageous over other embodiments or designs. Rather, use of the word "exemplary" or "such as" is intended to present concepts related in a concrete fashion.
The terms "first" and "second," and the like, in the description and in the claims of the present invention are used for distinguishing between different objects and not for describing a particular order of the objects. For example, the first parameter and the second parameter, etc. are for distinguishing different parameters, and are not for describing a specific order of the parameters.
The information recording method and the terminal equipment provided by the embodiment of the invention can acquire the face image in real time; under the condition that the first face image is obtained, determining that the first face image is different from a preset face image in a preset mode; then, first position information for indicating the current position of the terminal device can be acquired; further, target information may be saved, the target information including the first position information, or including the first position information and the first face image. Based on the scheme, the first face information acquired by the terminal device can indicate that the current terminal device is possibly abnormally operated by an abnormal user, and the target information stored by the terminal device can be used for reflecting the position of the terminal device which is abnormally operated, or the target information can be used for reflecting the position and the figure of the terminal device which is abnormally operated, so that the terminal device can subsequently search the terminal device according to the target information, and even search the user using the terminal device. Thus, in some scenarios, such as a scenario in which the terminal device is lost, the terminal device does not need to be triggered by the server, but can record the current position and use the first face image of the user when detecting that it may be abnormally operated. Therefore, the terminal equipment can record and report the position information in time, and the terminal equipment can be found quickly.
It should be noted that, in the information recording method provided in the embodiment of the present invention, the execution main body may be a terminal device, or a Central Processing Unit (CPU) of the terminal device, or a control module in the terminal device for executing the information recording method. In the embodiment of the present invention, an information recording method executed by a terminal device is taken as an example, and the information recording method provided in the embodiment of the present invention is described.
The terminal device in the embodiment of the present invention may be a terminal device having an operating system. The operating system may be an Android (Android) operating system, an ios operating system, or other possible operating systems, and embodiments of the present invention are not limited in particular.
The following describes a software environment to which the information recording method provided by the embodiment of the present invention is applied, by taking an android operating system as an example.
Fig. 1 is a schematic diagram of an architecture of a possible android operating system according to an embodiment of the present invention. In fig. 1, the architecture of the android operating system includes 4 layers, which are respectively: an application layer, an application framework layer, a system runtime layer, and a kernel layer (specifically, a Linux kernel layer).
The application program layer comprises various application programs (including system application programs and third-party application programs) in an android operating system.
The application framework layer is a framework of the application, and a developer can develop some applications based on the application framework layer under the condition of complying with the development principle of the framework of the application. For example, applications such as a system setup application, a system chat application, and a system camera application. And the third-party setting application, the third-party camera application, the third-party chatting application and other application programs.
The system runtime layer includes libraries (also called system libraries) and android operating system runtime environments. The library mainly provides various resources required by the android operating system. The android operating system running environment is used for providing a software environment for the android operating system.
The kernel layer is an operating system layer of an android operating system and belongs to the bottommost layer of an android operating system software layer. The kernel layer provides kernel system services and hardware-related drivers for the android operating system based on the Linux kernel.
Taking an android operating system as an example, in the embodiment of the present invention, a developer may develop a software program for implementing the information recording method provided in the embodiment of the present invention based on the system architecture of the android operating system shown in fig. 1, so that the information recording method may operate based on the android operating system shown in fig. 1. That is, the processor or the terminal device may implement the information recording method provided by the embodiment of the present invention by running the software program in the android operating system.
The information recording method provided by the embodiment of the present invention is described in detail below with reference to the flowchart of the information recording method shown in fig. 2. Wherein, although the logical order of the information recording methods provided by embodiments of the present invention is shown in method flow diagrams, in some cases, the steps shown or described may be performed in an order different than here. For example, the information recording method shown in fig. 2 may include S201 and S202:
s201, the terminal equipment acquires a face image.
Specifically, the terminal device provided by the embodiment of the present invention may include an image acquisition module such as a camera, for example, a front camera to acquire an image.
When a user uses a terminal device, an image acquired by a front camera of the terminal device usually includes a face image of the user who uses the terminal device.
It can be understood that, in the embodiment of the present invention, the step of acquiring the face image by the terminal device may specifically be detecting whether the image includes the face image after the terminal device acquires the image through the front-facing camera.
Optionally, in the embodiment of the present invention, a camera in the terminal device, for example, a front-facing camera, may be in a normally open state, so as to collect an image at regular time intervals. For example, the time interval may be one minute. That is, the terminal device may periodically detect whether the image acquired by the terminal device includes a face image.
Optionally, in this embodiment of the present invention, the step S201 may be implemented by the step S201 a:
s201a, when receiving any input of the terminal device by the user, the terminal device acquires the face image.
It will be appreciated that any input made by the user to the terminal device indicates that the user is using the terminal device. At this time, the terminal device may detect whether it is abnormally operated.
In the embodiment of the invention, when the terminal equipment receives any input of a user, such as the input of triggering the screen unlocking of the terminal equipment by the user, the terminal equipment can acquire an image through the front camera.
S202, under the condition that the first face image is obtained, the terminal device determines that the first face image is different from a preset face image in a preset mode.
It can be understood that, when the terminal device acquires the first face image, it may determine which user the first face image is. For example, the terminal device may determine whether the face image detected by the terminal device is the face image of the owner user.
Specifically, some face images may be stored in the terminal device in advance, that is, a preset face image is stored in the terminal device. The preset face image may be a face image specially set for a search function in a setting application by a user in advance, or the preset face image may be a face image obtained by automatically recognizing an image stored in the terminal device by the terminal device.
Optionally, in the embodiment of the present invention, the preset face image may include a face image of the owner user (denoted as a first preset face image) and other face images stored in the terminal device except for the face image of the owner user.
When the preset face images are a plurality of face images already stored by the terminal device, the terminal device may determine whether the detected face images are the same as the preset face images, that is, the detected face images are respectively compared with one of the face images, so as to determine whether the detected face images are the same as the face images.
Further, when the preset face images are a plurality of face images already stored by the terminal device, the terminal device may first determine whether the detected face image is the same as the first preset face image. And under the condition that the detected face image is different from the first preset face image, judging whether the detected face image is the same as other preset face images in the terminal equipment or not.
Optionally, the preset manner is to determine whether the similarity between the first face image and the preset face image is less than or equal to a specific threshold, for example, 80%.
Illustratively, the terminal device determines that the first face image is different from the preset face image in a preset manner, which means that the similarity between the first face image and the preset face image is less than or equal to 80%.
It is understood that, in the embodiment of the present invention, one face image is the same as another face image, which means that the similarity between the two images is greater than or equal to the specific threshold.
Illustratively, when the terminal device collects a face image of the owner user through the front-facing camera in real time, it is indicated that the owner user is using the terminal device. At this time, the terminal device detects a face image, the face image is the same as a preset face image, and the preset face image is a face image of the owner user. Obviously, in the case that the owner uses the terminal device, the operation on the terminal device may be a normal operation.
The terminal device determines that the current first face image is different from the preset face image, which indicates that the user using the terminal device is not the owner user or the user indicated by other preset face images except the first preset face image in the preset face image. At this time, the user who uses the terminal device, i.e., the user indicated by the first face image (denoted as the first user) may be an abnormal user such as a person who steals and uses the terminal device, and the operation of the terminal device by the first user may be an abnormal operation.
Optionally, the information recording method provided by the embodiment of the invention may be applied to scenarios such as permission management and control, a visitor mode, a child mode, and the like. For example, under the condition that the terminal device is under authority control, the preset face image set in the terminal device may be a face image of an owner user, and the first face image different from the preset face image is a face image of a user whose authority is restricted when the terminal device is used.
S203, the terminal device acquires first position information, and the first position information is used for indicating the current position of the terminal device.
It can be understood that, after the terminal device is lost, if the terminal device is used by a user other than the user indicated by the preset face image, the terminal device may locate its current position, that is, obtain the first position information.
Optionally, the first location information may generally include information of a time when the terminal device is at the current location.
S204, the terminal device stores target information, wherein the target information comprises first position information or comprises the first position information and a first face image.
It is understood that the target information stored by the terminal device may include the first position information and the first face image, so that the subsequent terminal device may find the lost terminal device, find the terminal device, and use the user of the terminal device (e.g., steal the terminal device) according to the information.
It should be noted that the information recording method provided by the embodiment of the present invention can acquire a face image in real time; under the condition that the first face image is obtained, determining that the first face image is different from a preset face image in a preset mode; then, first position information for indicating the current position of the terminal device can be acquired; further, target information may be saved, the target information including the first position information, or including the first position information and the first face image. Based on the scheme, the obtained first face image can indicate that the current terminal equipment is possibly abnormally operated by the abnormal user, the target information stored by the terminal equipment can be used for reflecting the position of the terminal equipment which is abnormally operated, or the target information can be used for reflecting the position and the person of the terminal equipment which is abnormally operated, and then the terminal equipment can subsequently search the terminal equipment according to the target information, and even search the user using the terminal equipment. Thus, in some scenarios, such as a scenario in which the terminal device is lost, the terminal device does not need to be triggered by the server, but can record the current position and use the first face image of the user when detecting that the terminal device may be abnormally operated. Therefore, the terminal equipment can record and report the position information in time, and the terminal equipment can be found quickly.
In a possible implementation manner, according to the information recording method provided by the embodiment of the present invention, even if the terminal device does not currently acquire a face image, that is, the currently acquired image does not include a face avatar, the terminal device may detect whether the terminal device is operated abnormally, so as to determine whether position information of the terminal device needs to be recorded.
Specifically, as shown in fig. 3, the information recording method provided in the embodiment of the present invention may further include, after the above step S201, S205 to S207:
s205, under the condition that the terminal device does not acquire the face image, acquiring a numerical value of a target parameter, wherein the target parameter is used for indicating the probability that the terminal device is abnormally operated.
Optionally, in this embodiment of the present invention, the target parameter may be used to indicate the number of times of occurrence of some events in which the terminal device is abnormally operated, for example, the number of times of occurrence of an event that the terminal device fails to be unlocked for multiple times.
It can be understood that, in the embodiment of the present invention, the larger the value of the target parameter is, the higher the possibility that the terminal device is abnormally operated is; conversely, the smaller the value of the target parameter is, the smaller the possibility that the terminal device is abnormally operated.
S206, the terminal equipment acquires the first position information under the condition that the numerical value of the target parameter is larger than or equal to the target threshold value.
If the value of the target parameter is greater than or equal to the target threshold, it indicates that the terminal device is more likely to be operated abnormally. At this time, the terminal device may obtain its location information in real time, such as obtaining the current first location information.
Optionally, after the terminal device acquires the first location information, the terminal device may continue to acquire the location information of the location where the terminal device is located, for example, periodically acquire the location information of the location where the terminal device is located.
S207, the terminal device stores target information, wherein the target information comprises first position information.
Similarly, in the embodiment of the present invention, the description of S207 may refer to the description of S204 in the foregoing embodiment, and is not repeated here.
In the embodiment of the present invention, the above-mentioned S202-S204 and S205-S207 are in parallel relationship.
It should be noted that, in the information recording method provided in the embodiment of the present invention, since the terminal device is provided with the target parameter for indicating the probability that the terminal device is abnormally operated, the terminal device may store the target information including the first location information when the value of the target parameter is greater than or equal to the target threshold. Therefore, the terminal equipment can record the position information of the terminal equipment in time.
In a possible implementation manner, in the information recording method provided by the implementation of the present invention, the target parameter includes at least one of a first parameter, a second parameter, and a third parameter, the first parameter is used to indicate that an input parameter of at least one input continuously received is abnormal, the second parameter is used to indicate the number of times of occurrence of abnormal commuting behavior, the third parameter is used to indicate the number of times of failure of unlocking a screen of the terminal device, and the input parameter includes at least one of an input area and an input pressure value; and under the condition that the target parameter comprises at least two parameters, the numerical value of the target parameter is the sum of the numerical values of the at least two parameters.
It is to be understood that the first parameter, the second parameter and the third parameter may each indicate a number of occurrences of an event in which the terminal device is abnormally operated.
At least one input of the "input parameter of the at least one input received continuously is abnormal" may be any input of the user to the touch screen of the terminal device.
Illustratively, in the case that the terminal device is in a screen locking state and an unlocking password input keyboard is displayed, the at least one input is at least one input of numbers and/or letters on the locking password input keyboard by a user. For example, the at least one input is the user's input of number 1, number 2, number 3, and number 4, respectively, on the lock combination input keypad.
It is understood that, in the case where the terminal device is not abnormally operated, the terminal device may record an input parameter, such as an input area or an input pressure value, input to the terminal device by a user (i.e., an owner user). For example, in the case where the terminal device is not abnormally operated, the recorder master user inputs input parameters on the number 1, the number 2, the number 3, and the number 4 on the lock password input keyboard. For example, in a scenario where the owner user inputs the numbers 1, 2, 3, and 4 in succession, the input parameter input at the number 1 is denoted as input parameter 1, the input parameter input at the number 2 is denoted as input parameter 2, the input parameter input at the number 3 is denoted as input parameter 3, and the input parameter input at the number 4 is denoted as input parameter 4.
Therefore, when the terminal device receives at least one input of the current user subsequently under the condition that the terminal device does not acquire the face image or the acquired first face image is different from the preset face image, whether each input in the at least one input of the current user is the same as each input parameter in the at least one input of the owner user stored in the terminal device can be respectively judged. Here, the input object (e.g. number key) of the "at least one input by the current user" is the same as the input object of the "at least one input by the owner user", such as number 1, number 2, number 3 and number 4, which are all input on the lock password input keyboard.
Subsequently, when the terminal device determines that the input parameter (e.g., input area) of one of the at least one input of the current user is different from the input parameter corresponding to the input of the at least one input of the owner user stored in the terminal device, the terminal device determines that the at least one input of the current user is abnormal.
The commute behavior in the "number of times of occurrence of the abnormal commute behavior" may be an event that the terminal device is not located at a preset position within a preset time period.
Optionally, the embodiment of the present invention may include various commuting behaviors. For example, the user is not at the company during work (denoted as commute behavior 1), and the user is no longer at home during rest time (denoted as commute behavior 2).
Optionally, the information recording method provided in the present invention may further include S208, S209, and S210:
s208, when the terminal device detects that at least one input parameter which is continuously received is abnormal, the value of the first parameter is accumulated to a first preset value to obtain the accumulated first parameter.
Illustratively, in the embodiment of the present invention, the first preset value is 3.
And S209, when the terminal equipment detects that the abnormal commuting behavior occurs once, accumulating the value of the second parameter by a second preset value to obtain the accumulated second parameter.
Illustratively, in the embodiment of the present invention, the first preset value is 1. That is, when an abnormal commuting behavior (commuting behavior 1 or commuting behavior 2) is detected to occur once, the terminal device accumulates the second preset value of 1 to obtain an accumulated second parameter.
S210, when the terminal device detects that the screen unlocking failure times reach the preset times, accumulating the numerical value of the third parameter by a third preset numerical value to obtain an accumulated third parameter.
Illustratively, in the embodiment of the present invention, the preset number is 3, and the first preset value is 2. Namely, under the condition that the screen unlocking failure times reach 3, the terminal equipment accumulates the value 2 of the third parameter with a third preset value.
For example, in the embodiment of the present invention, the target threshold may be 4. At this time, no matter what kind of event indicated by the first parameter, the second parameter, or the third parameter is the event in which the terminal device has abnormal operation, as long as the value of the target parameter is greater than or equal to 4, the terminal device may start to acquire and store the location information thereof.
It should be noted that, in the information recording method provided in the embodiment of the present invention, since the target parameter may include one or more parameters, such as a first parameter, a second parameter, and a third parameter, and the first parameter, the second parameter, and the third parameter may respectively indicate the number of times of occurrence of an event in which different terminal devices are abnormally operated, so that the terminal device may acquire and store the location information (e.g., the first location information) as long as the number of times of occurrence of some of the events is greater. Therefore, the terminal equipment can record the position information of the terminal equipment in time.
In a possible implementation manner, the information recording method provided in the embodiment of the present invention may further include, after S204 or S207, S211 or S212:
s211, the terminal device stores the target information in the terminal device, and sends the target information to the server after receiving the indication information sent by the server.
Specifically, the terminal device may store the target information including the first location information in a local, e.g., a local, chip. Subsequently, in a case where the terminal device is connected to the network, the terminal device may transmit information that it holds locally, such as target information including the first location information, to the server. Of course, the terminal device may transmit the target information to the server after receiving the indication information transmitted by the server. The indication information may be position information for instructing the terminal device to send to the server, the position information being saved in the case of being operated abnormally, and a face image. For example, the indication information may be triggered to be sent by the server when the user loses the terminal device, so as to trigger the server to start a search function to acquire the lost terminal device.
S212, the terminal device stores the target information in the server.
In the case that the terminal device is connected to the network, the terminal device may continuously send some information when abnormally operated, such as target information including the first location information, to the server without locally storing the information at the terminal device. Therefore, waste of memory resources of the terminal equipment can be reduced.
It should be noted that, in the embodiment of the present invention, since the terminal device may send the target information acquired by the terminal device to the server under the condition of being operated abnormally, the server may conveniently locate and find the terminal device according to the target information.
Fig. 4 is a schematic structural diagram of a terminal device according to an embodiment of the present invention. The terminal device 40 shown in fig. 4 includes a first acquisition module 401, a determination module 402, a second acquisition module 403, and a saving module 404; a first obtaining module 401, configured to obtain a face image; a determining module 402, configured to determine that the first face image is different from the preset face image when the first obtaining module 401 obtains the first face image; a second obtaining module 403, configured to obtain first location information, where the first location information is used to indicate a current location of the terminal device 40; a saving module 404, configured to save the target information, where the target information includes the first position information acquired by the acquiring module, or includes the first position information acquired by the second acquiring module 403 and the first face image acquired by the first acquiring module 401.
Optionally, the terminal device 40 further includes: a third obtaining module; a third obtaining module, configured to obtain a numerical value of a target parameter when the first obtaining module 401 does not detect the face image, where the target parameter is used to indicate a probability that the terminal device 40 is abnormally operated; acquiring first position information under the condition that the numerical value of the target parameter is greater than or equal to a target threshold value; the saving module 404 is further configured to save the target information acquired by the third acquiring module, where the target information includes the first location information.
Optionally, the target parameter includes at least one of a first parameter, a second parameter and a third parameter, the first parameter is used for indicating that an input parameter of at least one input continuously received is abnormal, the second parameter is used for indicating the number of times of abnormal commuting behavior, the third parameter is used for indicating the number of times of screen unlocking failure of the terminal device 40, and the input parameter includes at least one of an input area and an input pressure value; and under the condition that the target parameter comprises at least two parameters, the numerical value of the target parameter is the sum of the numerical values of the at least two parameters.
Optionally, the terminal device 40 further includes: a parameter processing module; the parameter processing module is used for accumulating the numerical value of the first parameter by a first preset numerical value under the condition that the abnormality of at least one continuously received input parameter is detected; accumulating the value of the second parameter by a second preset value under the condition that the abnormal commuting behavior is detected to occur once; and accumulating the numerical value of the third parameter by a third preset numerical value under the condition that the screen unlocking failure times reach the preset times.
Optionally, the first obtaining module 401 is specifically configured to obtain the face image when receiving any input of the terminal device 40 from the user.
Optionally, the saving module 404 is specifically configured to save the target information in the terminal device 40, and send the target information to the server after receiving the indication information sent by the server; or; the target information is stored in the server.
The terminal device 40 provided in the embodiment of the present invention can implement each process implemented by the terminal device in the foregoing method embodiments, and for avoiding repetition, details are not described here again.
It should be noted that the terminal device provided by the embodiment of the present invention can acquire a face image in real time; under the condition that the first face image is obtained, determining that the first face image is different from a preset face image in a preset mode; then, first position information for indicating the current position of the terminal device can be acquired; further, target information may be saved, the target information including the first position information, or including the first position information and the first face image. Based on the scheme, the detected first face image can indicate that the current terminal device is possibly abnormally operated by the abnormal user, the target information stored by the terminal device can be used for reflecting the position of the terminal device which is abnormally operated, or the target information can be used for reflecting the position and the person of the terminal device which is abnormally operated, and then the terminal device can subsequently search the terminal device according to the target information, and even search the user using the terminal device. Thus, in some scenarios, such as a scenario in which the terminal device is lost, the terminal device does not need to be triggered by the server, but can record the current position and use the first face image of the user when detecting that it may be abnormally operated. Therefore, the terminal equipment can record and report the position information in time, and the terminal equipment can be found quickly.
Fig. 5 is a schematic diagram of a hardware structure of a terminal device according to an embodiment of the present invention, where the terminal device 100 includes, but is not limited to: radio frequency unit 101, network module 102, audio output unit 103, input unit 104, sensor 105, display unit 106, user input unit 107, interface unit 108, memory 109, processor 110, and power supply 111. Those skilled in the art will appreciate that the terminal device configuration shown in fig. 5 does not constitute a limitation of the terminal device, and that the terminal device may include more or fewer components than shown, or combine certain components, or a different arrangement of components. In the embodiment of the present invention, the terminal device includes, but is not limited to, a mobile phone, a tablet computer, a notebook computer, a palm computer, a vehicle-mounted terminal device, a wearable device, a pedometer, and the like.
The processor 110 is configured to obtain a face image; under the condition that the first face image is obtained, determining that the first face image is different from a preset face image in a preset mode; acquiring first position information, wherein the first position information is used for indicating the current position of the terminal equipment; and storing target information, wherein the target information comprises the first position information acquired by the acquisition module or comprises the first position information and the first face image.
It should be noted that the terminal device provided by the embodiment of the present invention can acquire a face image in real time; under the condition that the first face image is obtained, determining that the first face image is different from a preset face image in a preset mode; then, first position information for indicating the current position of the terminal device can be acquired; further, target information may be saved, the target information including the first position information, or including the first position information and the first face image. Based on the scheme, the first face image obtained by the terminal device can indicate that the current terminal device is possibly abnormally operated by an abnormal user, and the target information stored by the terminal device can be used for reflecting the position of the terminal device which is abnormally operated, or the target information can be used for reflecting the position and the figure of the terminal device which is abnormally operated, so that the terminal device can subsequently search the terminal device according to the target information, and even search the user using the terminal device. Thus, in some scenarios, such as a scenario in which the terminal device is lost, the terminal device does not need to be triggered by the server, but can record the current position and use the first face image of the user when detecting that it may be abnormally operated. Therefore, the terminal equipment can record and report the position information in time, and the terminal equipment can be found quickly.
It should be understood that, in the embodiment of the present invention, the radio frequency unit 101 may be used for receiving and sending signals during a message transmission or call process, and specifically, after receiving downlink data from a base station, the downlink data is processed by the processor 110; in addition, the uplink data is transmitted to the base station. Typically, radio frequency unit 101 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. In addition, the radio frequency unit 101 can also communicate with a network and other devices through a wireless communication system.
The terminal device provides wireless broadband internet access to the user through the network module 102, such as helping the user send and receive e-mails, browse webpages, access streaming media, and the like.
The audio output unit 103 may convert audio data received by the radio frequency unit 101 or the network module 102 or stored in the memory 109 into an audio signal and output as sound. Also, the audio output unit 103 may also provide audio output related to a specific function performed by the terminal device 100 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output unit 103 includes a speaker, a buzzer, a receiver, and the like.
The input unit 104 is used to receive an audio or video signal. The input Unit 104 may include a Graphics Processing Unit (GPU) 1041 and a microphone 1042, and the Graphics processor 1041 processes image data of a still picture or video obtained by an image capturing device (e.g., a camera) in a video capturing mode or an image capturing mode. The processed image frames may be displayed on the display unit 106. The image frames processed by the graphic processor 1041 may be stored in the memory 109 (or other storage medium) or transmitted via the radio frequency unit 101 or the network module 102. The microphone 1042 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 101 in case of a phone call mode.
The terminal device 100 also includes at least one sensor 105, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor that can adjust the brightness of the display panel 1061 according to the brightness of ambient light, and a proximity sensor that can turn off the display panel 1061 and/or the backlight when the terminal device 100 is moved to the ear. As one of the motion sensors, the 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 terminal device posture (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration identification related functions (such as pedometer, tapping), and the like; the sensors 105 may also include fingerprint sensors, pressure sensors, iris sensors, molecular sensors, gyroscopes, barometers, hygrometers, thermometers, infrared sensors, etc., which are not described in detail herein.
The display unit 106 is used to display information input by a user or information provided to the user. The Display unit 106 may include a Display panel 1061, and the Display panel 1061 may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like.
The user input unit 107 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the terminal device. Specifically, the user input unit 107 includes a touch panel 1071 and other input devices 1072. Touch panel 1071, also referred to as a touch screen, may collect touch operations by a user on or near the touch panel 1071 (e.g., operations by a user on or near touch panel 1071 using a finger, stylus, or any suitable object or attachment). The touch panel 1071 may include two parts of 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 110, and receives and executes commands sent by the processor 110. In addition, the touch panel 1071 may be implemented in various types, such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. In addition to the touch panel 1071, the user input unit 107 may include other input devices 1072. Specifically, other input devices 1072 may include, but are not limited to, a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which are not described in detail herein.
Further, the touch panel 1071 may be overlaid on the display panel 1061, and when the touch panel 1071 detects a touch operation thereon or nearby, the touch panel 1071 transmits the touch operation to the processor 110 to determine the type of the touch event, and then the processor 110 provides a corresponding visual output on the display panel 1061 according to the type of the touch event. Although in fig. 5, the touch panel 1071 and the display panel 1061 are two independent components to implement the input and output functions of the terminal device, in some embodiments, the touch panel 1071 and the display panel 1061 may be integrated to implement the input and output functions of the terminal device, and is not limited herein.
The interface unit 108 is an interface for connecting an external device to the terminal apparatus 100. 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 108 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 terminal apparatus 100 or may be used to transmit data between the terminal apparatus 100 and the external device.
The memory 109 may be used to store software programs as well as various data. The memory 109 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 by 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 109 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 110 is a control center of the terminal device, connects various parts of the entire terminal device by using various interfaces and lines, and performs various functions of the terminal device and processes data by running or executing software programs and/or modules stored in the memory 109 and calling data stored in the memory 109, thereby performing overall monitoring of the terminal device. Processor 110 may include one or more processing units; preferably, the processor 110 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 110.
The terminal device 100 may further include a power supply 111 (such as a battery) for supplying power to each component, and preferably, the power supply 111 may be logically connected to the processor 110 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 terminal device 100 includes some functional modules that are not shown, and are not described in detail here.
Preferably, an embodiment of the present invention further provides a terminal device, which includes a processor 110, a memory 109, and a computer program stored in the memory 109 and capable of running on the processor 110, where the computer program is executed by the processor 110 to implement each process of the foregoing method embodiment, and can achieve the same technical effect, and for avoiding repetition, details are not described here again.
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 the processes of the method embodiments, and can achieve the same technical effects, and in order to avoid repetition, the details are not repeated here. 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 device (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.

Claims (7)

1. An information recording method applied to a terminal device, the method comprising:
acquiring a face image;
under the condition that a first face image is obtained, determining that the first face image is different from a preset face image in a preset mode;
acquiring first position information, wherein the first position information is used for indicating the current position of the terminal equipment;
saving target information, wherein the target information comprises the first position information or comprises the first position information and the first face image;
the method further comprises the following steps:
under the condition that a face image is not acquired, acquiring a numerical value of a target parameter, wherein the target parameter is used for indicating the probability that the terminal equipment is abnormally operated;
acquiring the first position information under the condition that the value of the target parameter is greater than or equal to a target threshold value;
saving the target information, wherein the target information comprises the first position information;
the target parameters comprise at least one of first parameters and second parameters, the first parameters are used for indicating that input parameters of at least one input continuously received are abnormal, the second parameters are used for indicating the times of abnormal commuting behavior, and the input parameters comprise at least one of input areas and input pressure values;
and under the condition that the target parameter comprises two parameters, the numerical value of the target parameter is the sum of the numerical values of the two parameters.
2. The method of claim 1, further comprising:
when the condition that at least one input parameter which is continuously received is detected to be abnormal, accumulating the numerical value of the first parameter by a first preset numerical value to obtain the accumulated first parameter;
and when the situation that one-time abnormal commuting behavior occurs is detected, accumulating the value of the second parameter by a second preset value to obtain the accumulated second parameter.
3. The method of any of claims 1-2, wherein the saving the target information comprises:
storing the target information in the terminal equipment, and sending the target information to a server after receiving indication information sent by the server;
or;
and storing the target information in the server.
4. A terminal device, characterized in that the terminal device comprises: the device comprises a first acquisition module, a determination module, a second acquisition module, a third acquisition module and a storage module;
the first acquisition module is used for acquiring a face image;
the determining module is configured to determine, in a preset manner, that a first face image is different from a preset face image when the first obtaining module obtains the first face image;
the second obtaining module is configured to obtain first location information, where the first location information is used to indicate a current location of the terminal device;
the storage module is configured to store target information, where the target information includes the first position information acquired by the second acquisition module, or includes the first position information acquired by the second acquisition module and the first face image acquired by the first acquisition module;
the third acquisition module is used for acquiring the numerical value of a target parameter under the condition that the first acquisition module does not detect the face image, wherein the target parameter is used for indicating the probability of abnormal operation of the terminal equipment; acquiring the first position information under the condition that the value of the target parameter is greater than or equal to a target threshold value;
the storage module is further configured to store the target information acquired by the third acquisition module, where the target information includes the first location information;
the target parameters comprise at least one of first parameters and second parameters, the first parameters are used for indicating that input parameters of at least one input continuously received are abnormal, the second parameters are used for indicating the times of abnormal commuting behavior, and the input parameters comprise at least one of input areas and input pressure values;
and under the condition that the target parameter comprises two parameters, the numerical value of the target parameter is the sum of the numerical values of the two parameters.
5. The terminal device according to claim 4, wherein the terminal device further comprises: a parameter processing module;
the parameter processing module is used for accumulating the numerical value of the first parameter by a first preset numerical value under the condition that the abnormality of at least one continuously received input parameter is detected to obtain the accumulated first parameter;
and when the situation that one-time abnormal commuting behavior occurs is detected, accumulating the value of the second parameter by a second preset value to obtain the accumulated second parameter.
6. The terminal device according to any one of claims 4 to 5, wherein the saving module is specifically configured to save the target information in the terminal device, and send the target information to a server after receiving indication information sent by the server; or; and storing the target information in the server.
7. A terminal device, characterized by 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 information recording method according to any one of claims 1 to 3.
CN201910142599.5A 2019-02-26 2019-02-26 Information recording method and terminal equipment Active CN109995849B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910142599.5A CN109995849B (en) 2019-02-26 2019-02-26 Information recording method and terminal equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910142599.5A CN109995849B (en) 2019-02-26 2019-02-26 Information recording method and terminal equipment

Publications (2)

Publication Number Publication Date
CN109995849A CN109995849A (en) 2019-07-09
CN109995849B true CN109995849B (en) 2022-01-04

Family

ID=67130519

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910142599.5A Active CN109995849B (en) 2019-02-26 2019-02-26 Information recording method and terminal equipment

Country Status (1)

Country Link
CN (1) CN109995849B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113947803B (en) * 2021-12-22 2022-03-25 北京的卢深视科技有限公司 Model training, sample data generation method for face recognition and electronic equipment

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104902080A (en) * 2015-04-30 2015-09-09 广东欧珀移动通信有限公司 Information interaction method and device
CN105468954A (en) * 2015-11-27 2016-04-06 东莞酷派软件技术有限公司 Intelligent terminal retrieving method and device
CN106028284A (en) * 2016-06-29 2016-10-12 北京奇虎科技有限公司 Method for identifying relative positions between smart devices and smart device

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9654916B2 (en) * 2014-10-09 2017-05-16 Tile, Inc. Secure and private cloud based broadcast identification
CN104899490B (en) * 2015-05-27 2018-05-01 广东欧珀移动通信有限公司 A kind of method of locating terminal and user terminal
CN106304015B (en) * 2015-05-28 2019-11-29 南京中兴新软件有限责任公司 The determination method and device of user equipment
CN106570371A (en) * 2016-10-08 2017-04-19 珠海格力电器股份有限公司 Unlocking method and device
CA2982610A1 (en) * 2016-10-14 2018-04-14 Mark H. Ginocchio Personal safety monitoring

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104902080A (en) * 2015-04-30 2015-09-09 广东欧珀移动通信有限公司 Information interaction method and device
CN105468954A (en) * 2015-11-27 2016-04-06 东莞酷派软件技术有限公司 Intelligent terminal retrieving method and device
CN106028284A (en) * 2016-06-29 2016-10-12 北京奇虎科技有限公司 Method for identifying relative positions between smart devices and smart device

Also Published As

Publication number Publication date
CN109995849A (en) 2019-07-09

Similar Documents

Publication Publication Date Title
CN112560001B (en) Method for managing application program use time offline and terminal equipment
CN108681498B (en) CPU occupancy rate monitoring method and device and mobile terminal
CN107506646B (en) Malicious application detection method and device and computer readable storage medium
CN107704133B (en) Screen freezing monitoring and solving method, mobile terminal and computer readable storage medium
CN108712555B (en) Method and device for sending alarm information
CN109542279B (en) Terminal device control method and terminal device
CN109600297B (en) Identification clearing method and terminal equipment
CN108595044B (en) Control method of touch screen and terminal
CN109831359B (en) Method for detecting connection state of data network and terminal equipment thereof
CN109325334B (en) Touch terminal control method and touch terminal
CN107908492B (en) Black screen detection method, mobile terminal and computer readable storage medium
CN108762606B (en) Screen unlocking method and terminal equipment
CN107766222B (en) Black screen detection method, mobile terminal and computer readable storage medium
CN110597437A (en) Screen capturing method and terminal equipment
CN107832191B (en) Black screen detection method, mobile terminal and computer readable storage medium
CN108089935B (en) Application program management method and mobile terminal
CN107908478B (en) Memory cleaning method, mobile terminal and computer readable storage medium
CN107872367B (en) Black screen detection method, mobile terminal and computer readable storage medium
CN108388400B (en) Operation processing method and mobile terminal
CN107818036B (en) Black screen detection method, mobile terminal and computer readable storage medium
CN109995849B (en) Information recording method and terminal equipment
CN109857305B (en) Input response method and mobile terminal
CN109828702B (en) Interface display method and terminal equipment
CN109614042B (en) Method for storing log information and terminal equipment
CN108459796B (en) Function key response method and mobile terminal

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant