[go: up one dir, main page]

CN107613101A - Data storage method and related products - Google Patents

Data storage method and related products Download PDF

Info

Publication number
CN107613101A
CN107613101A CN201710760724.XA CN201710760724A CN107613101A CN 107613101 A CN107613101 A CN 107613101A CN 201710760724 A CN201710760724 A CN 201710760724A CN 107613101 A CN107613101 A CN 107613101A
Authority
CN
China
Prior art keywords
mobile terminal
face image
target face
processor
target
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
CN201710760724.XA
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.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp 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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201710760724.XA priority Critical patent/CN107613101A/en
Publication of CN107613101A publication Critical patent/CN107613101A/en
Pending legal-status Critical Current

Links

Landscapes

  • Telephone Function (AREA)

Abstract

本发明实施例涉及移动终端技术领域,公开了一种数据保存方法及相关产品。其中,该方法包括:移动终端确定本设备处于遗失状态的情况下,锁定本设备,之后启动前置摄像头并获取目标人脸图像,将目标人脸图像保存在移动终端的存储器中的锁定空间;锁定空间中保存的文件不能被用户删除。由此可见,实施本发明实施例,可以在确定移动终端遗失后,保存后来使用者的人脸图像,即保留移动终端失窃后的证据,有助于移动终端的找回和保障移动终端中用户数据的安全性。

The embodiment of the present invention relates to the field of mobile terminal technology, and discloses a data preservation method and related products. The method includes: when the mobile terminal determines that the device is in a lost state, the device is locked, and then the front camera is activated to obtain the target face image, and the target face image is saved in the locked space in the memory of the mobile terminal; the files saved in the locked space cannot be deleted by the user. It can be seen that by implementing the embodiment of the present invention, after determining that the mobile terminal is lost, the face image of the subsequent user can be saved, that is, the evidence after the mobile terminal is stolen is retained, which is helpful for the recovery of the mobile terminal and the security of the user data in the mobile terminal.

Description

数据保存方法及相关产品Data storage method and related products

技术领域technical field

本发明涉及移动终端技术领域,尤其涉及一种数据保存方法及相关产品。The invention relates to the technical field of mobile terminals, in particular to a data storage method and related products.

背景技术Background technique

随着移动终端技术的发展,移动终端已经在人们生活中起到越来越重要的作用。在生活中,利用移动终端进行支付、办公等活动已经越来越方便。With the development of mobile terminal technologies, mobile terminals have played an increasingly important role in people's lives. In daily life, it has become more and more convenient to use mobile terminals for payment, office and other activities.

然而,在移动终端为人们的生活带来方便的同时,也带来了信息安全的威胁与财产安全的威胁。举例来说,若移动终端遗失或被偷窃,则不法分子可能查看移动终端中的聊天记录、相册,甚至利用支付软件进行购物和支付等操作,或者利用机主用户的身份实施诈骗,对机主用户的隐私信息安全和财产安全造成威胁。However, while mobile terminals bring convenience to people's lives, they also bring threats to information security and property security. For example, if the mobile terminal is lost or stolen, criminals may check the chat records and photo albums in the mobile terminal, and even use payment software to perform shopping and payment operations, or use the identity of the owner user to carry out fraud, and to defraud the owner. Threats to user privacy information security and property security.

因此,为了提高移动终端的信息安全性,亟需一种有效的方法在移动终端遗失的情况下保障用户的个人信息安全。Therefore, in order to improve the information security of the mobile terminal, there is an urgent need for an effective method to ensure the security of the user's personal information when the mobile terminal is lost.

发明内容Contents of the invention

本发明实施例提供了一种数据保存方法及相关产品,可以在确定移动终端遗失后,保存后来使用者的人脸图像,即保留移动终端失窃后的证据,有助于移动终端的找回和保障移动终端中用户数据的安全性。The embodiment of the present invention provides a data storage method and related products, which can save the face image of the subsequent user after the mobile terminal is determined to be lost, that is, retain the evidence after the mobile terminal is stolen, which is helpful for the retrieval and retrieval of the mobile terminal. Ensure the security of user data in mobile terminals.

本发明实施例第一方面公开了一种数据保存方法,包括:The first aspect of the embodiment of the present invention discloses a data storage method, including:

移动终端确定所述移动终端处于遗失状态的情况下,锁定所述移动终端;When the mobile terminal determines that the mobile terminal is lost, lock the mobile terminal;

启动前置摄像头并获取目标人脸图像;Start the front camera and get the target face image;

将所述目标人脸图像保存在所述移动终端的存储器中的锁定空间;所述锁定空间中保存的文件不能被用户删除。The target face image is stored in a locked space in the memory of the mobile terminal; files stored in the locked space cannot be deleted by the user.

本发明实施例第二方面公开了一种移动终端,所述移动终端包括处理器、与所述处理器连接的前置摄像头以及与所述处理器连接的存储器,其中,The second aspect of the embodiment of the present invention discloses a mobile terminal, the mobile terminal includes a processor, a front camera connected to the processor, and a memory connected to the processor, wherein,

所述处理器,用于确定所述移动终端是否处于遗失状态,并在所述移动终端处于所述遗失状态的情况下,锁定所述移动终端;The processor is configured to determine whether the mobile terminal is in a lost state, and lock the mobile terminal if the mobile terminal is in the lost state;

所述前置摄像头,用于在锁定所述移动终端之后获取目标人脸图像;The front camera is used to acquire the target face image after locking the mobile terminal;

所述存储器,用于将所述目标人脸图像保存在所述存储器中的锁定空间;所述锁定空间中保存的文件不能被用户删除。The storage is used to store the target face image in a locked space in the storage; files stored in the locked space cannot be deleted by the user.

本发明实施例第三方面公开了一种数据保存装置,包括:The third aspect of the embodiment of the present invention discloses a data storage device, including:

锁定单元,用于确定所述移动终端处于遗失状态的情况下,锁定所述移动终端;a locking unit, configured to lock the mobile terminal when it is determined that the mobile terminal is lost;

获取单元,用于启动前置摄像头并获取目标人脸图像;An acquisition unit is used to start the front camera and acquire the target face image;

保存单元,用于将所述目标人脸图像保存在所述移动终端的存储器中的锁定空间;所述锁定空间中保存的文件不能被用户删除。The saving unit is used to save the target face image in a locked space in the memory of the mobile terminal; files saved in the locked space cannot be deleted by the user.

本发明实施例第四方面公开了一种数据保存方法,应用于包括处理器、前置摄像头以及存储器的移动终端,所述方法包括:The fourth aspect of the embodiment of the present invention discloses a data storage method, which is applied to a mobile terminal including a processor, a front camera, and a memory, and the method includes:

所述处理器确定所述移动终端处于遗失状态的情况下,锁定所述移动终端;If the processor determines that the mobile terminal is lost, lock the mobile terminal;

所述前置摄像头启动并获取目标人脸图像;The front camera starts and acquires the target face image;

所述存储器将所述目标人脸图像保存在所述存储器的锁定空间;所述锁定空间中保存的文件不能被用户删除。The storage stores the target face image in a locked space of the storage; files stored in the locked space cannot be deleted by the user.

本发明实施例第五方面公开了一种移动终端,包括处理器、存储器、通信接口以及一个或多个程序,其中,所述一个或多个程序被存储在所述存储器中,并且被配置为由所述处理器执行,所述程序包括用于执行如本发明实施例第一方面任一方法中所描述的部分或全部步骤的指令。The fifth aspect of the embodiment of the present invention discloses a mobile terminal, including a processor, a memory, a communication interface, and one or more programs, wherein the one or more programs are stored in the memory and are configured to Executed by the processor, the program includes instructions for executing some or all of the steps described in any method of the first aspect of the embodiments of the present invention.

本发明实施例第六方面公开了一种计算机可读存储介质,其存储用于电子数据交换的计算机程序,其中,所述计算机程序使得计算机执行如本发明实施例第一方面任一方法中所描述的部分或全部步骤,所述计算机包括移动终端。The sixth aspect of the embodiment of the present invention discloses a computer-readable storage medium, which stores a computer program for electronic data exchange, wherein the computer program enables the computer to execute any method described in the first aspect of the embodiment of the present invention. Part or all of the steps described, the computer includes a mobile terminal.

本发明实施例第七方面公开了一种计算机程序产品,其中,所述计算机程序产品包括存储了计算机程序的非瞬时性计算机可读存储介质,所述计算机程序可操作来使计算机执行如本发明实施例第一方面任一方法中所描述的部分或全部步骤。该计算机程序产品可以为一个软件安装包,所述计算机包括移动终端。The seventh aspect of the embodiments of the present invention discloses a computer program product, wherein the computer program product includes a non-transitory computer-readable storage medium storing a computer program, and the computer program is operable to enable the computer to execute the present invention. Part or all of the steps described in any method of the first aspect of the embodiment. The computer program product may be a software installation package, and the computer includes a mobile terminal.

从以上技术方案可以看出,本发明实施例具有以下优点:It can be seen from the above technical solutions that the embodiments of the present invention have the following advantages:

本发明实施例中,移动终端确定本设备处于遗失状态的情况下,锁定本设备,之后启动前置摄像头并获取目标人脸图像,将目标人脸图像保存在移动终端的存储器中的锁定空间;锁定空间中保存的文件不能被用户删除。由此可见,实施本发明实施例,可以在确定移动终端遗失后,保存后来使用者的人脸图像,即保留移动终端失窃后的证据,有助于移动终端的找回和保障移动终端中用户数据的安全性。In the embodiment of the present invention, when the mobile terminal determines that the device is in a lost state, it locks the device, then starts the front camera and acquires the target face image, and saves the target face image in the locked space in the memory of the mobile terminal; Files saved in a locked space cannot be deleted by the user. It can be seen that, implementing the embodiment of the present invention, after the mobile terminal is determined to be lost, the face image of the subsequent user can be saved, that is, the evidence after the mobile terminal is stolen, which is helpful for the retrieval of the mobile terminal and the protection of the user in the mobile terminal. Data Security.

附图说明Description of drawings

为了更清楚地说明本发明实施例中的技术方案,下面将对实施例描述中所需要使用的附图作简要介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域的普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings that need to be used in the description of the embodiments will be briefly introduced below. Obviously, the drawings in the following description are only some embodiments of the present invention. For Those of ordinary skill in the art can also obtain other drawings based on these drawings without any creative effort.

图1为本发明实施例公开的一种移动终端的结构示意图;FIG. 1 is a schematic structural diagram of a mobile terminal disclosed in an embodiment of the present invention;

图2为本发明实施例公开的另一种移动终端的结构示意图;FIG. 2 is a schematic structural diagram of another mobile terminal disclosed in an embodiment of the present invention;

图3为本发明实施例公开的一种获取人脸图像的场景示意图;FIG. 3 is a schematic diagram of a scene for acquiring a face image disclosed in an embodiment of the present invention;

图4为本发明实施例公开的另一种移动终端的结构示意图;FIG. 4 is a schematic structural diagram of another mobile terminal disclosed in an embodiment of the present invention;

图5为本发明实施例公开的另一种移动终端的结构示意图;FIG. 5 is a schematic structural diagram of another mobile terminal disclosed in an embodiment of the present invention;

图6为本发明实施例公开的一种数据保存方法的流程示意图;FIG. 6 is a schematic flow diagram of a data storage method disclosed in an embodiment of the present invention;

图7为本发明实施例公开的另一种数据保存方法的流程示意图;FIG. 7 is a schematic flowchart of another data storage method disclosed in an embodiment of the present invention;

图8为本发明实施例公开的一种移动终端的功能单元组成框图;FIG. 8 is a block diagram of functional units of a mobile terminal disclosed in an embodiment of the present invention;

图9为本发明实施例公开的另一种移动终端的结构示意图;FIG. 9 is a schematic structural diagram of another mobile terminal disclosed in an embodiment of the present invention;

图10为本发明实施例公开的另一种移动终端的结构示意图。FIG. 10 is a schematic structural diagram of another mobile terminal disclosed in an embodiment of the present invention.

具体实施方式Detailed ways

为了使本发明的目的、技术方案和优点更加清楚,下面将结合附图对本发明作进一步地详细描述,显然,所描述的实施例仅仅是本发明一部份实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其它实施例,都属于本发明保护的范围。In order to make the object, technical solution and advantages of the present invention clearer, the present invention will be further described in detail below in conjunction with the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, rather than all embodiments . Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

本发明的说明书和权利要求书及上述附图中的术语“第一”、“第二”等是用于区别不同的对象,而不是用于描述特定顺序。此外,术语“包括”和“具有”以及它们任何变形,意图在于覆盖不排他的包含。例如包含了一系列步骤或单元的过程、方法、系统、产品或设备没有限定于已列出的步骤或单元,而是可选地还包括没有列出的步骤或单元,或可选地还包括对于这些过程、方法或设备固有的其他步骤或单元。The terms "first", "second" and the like in the description and claims of the present invention and the above drawings are used to distinguish different objects, rather than to describe a specific order. Furthermore, the terms "include" and "have", as well as any variations thereof, are intended to cover a non-exclusive inclusion. For example, a process, method, system, product or device comprising a series of steps or units is not limited to the listed steps or units, but optionally also includes unlisted steps or units, or optionally further includes For other steps or units inherent in these processes, methods or apparatuses.

本发明实施例所涉及到的移动终端可以包括各种具有无线通信功能的手持设备、车载设备、可穿戴设备、计算设备或连接到无线调制解调器的其他处理设备,以及各种形式的用户设备(User Equipment,UE),移动台(Mobile Station,MS),终端设备(terminaldevice)等等。为方便描述,上面提到的设备统称为移动终端。下面结合附图对本发明实施例进行介绍。The mobile terminals involved in the embodiments of the present invention may include various handheld devices, vehicle-mounted devices, wearable devices, computing devices or other processing devices connected to wireless modems, as well as various forms of user equipment (User Equipment, UE), mobile station (Mobile Station, MS), terminal device (terminal device) and so on. For convenience of description, the devices mentioned above are collectively referred to as mobile terminals. Embodiments of the present invention will be described below in conjunction with the accompanying drawings.

本发明实施例提供了一种数据保存方法及相关产品,可以在确定移动终端遗失后,保存后来使用者的人脸图像,即保留移动终端失窃后的证据,有助于移动终端的找回和保障移动终端中用户数据的安全性。以下分别进行详细说明。The embodiment of the present invention provides a data storage method and related products, which can save the face image of the subsequent user after the mobile terminal is determined to be lost, that is, retain the evidence after the mobile terminal is stolen, which is helpful for the retrieval and retrieval of the mobile terminal. Ensure the security of user data in mobile terminals. Each will be described in detail below.

请参阅图1,图1为本发明实施例公开的一种移动终端100的结构示意图。移动终端100包括处理器110、前置摄像头120和存储器140,处理器110通过总线130连接前置摄像头120和存储器140,从而,处理器110、前置摄像头120和存储器140可以相互通信。Please refer to FIG. 1 . FIG. 1 is a schematic structural diagram of a mobile terminal 100 disclosed in an embodiment of the present invention. The mobile terminal 100 includes a processor 110, a front camera 120 and a memory 140. The processor 110 is connected to the front camera 120 and the memory 140 through a bus 130, so that the processor 110, the front camera 120 and the memory 140 can communicate with each other.

本发明实施例中,处理器可为中央处理器(Central Processing Unit,CPU),在一些实施方式中,还可以被称为应用处理器(Application processor,AP),以与基带处理器进行区分。In the embodiment of the present invention, the processor may be a central processing unit (Central Processing Unit, CPU), and in some implementation manners, may also be called an application processor (Application processor, AP) to distinguish it from a baseband processor.

本发明实施例中,处理器110,用于确定移动终端100是否处于遗失状态,并在移动终端100处于遗失状态的情况下,锁定移动终端100;In the embodiment of the present invention, the processor 110 is configured to determine whether the mobile terminal 100 is in a lost state, and lock the mobile terminal 100 when the mobile terminal 100 is in a lost state;

前置摄像头120,用于在锁定移动终端100之后获取目标人脸图像;The front camera 120 is used to acquire the target face image after locking the mobile terminal 100;

存储器140,用于将目标人脸图像保存在存储器140中的锁定空间;其中,锁定空间中保存的文件不能被用户删除。The storage 140 is used to store the target face image in a locked space in the storage 140; wherein, the files stored in the locked space cannot be deleted by the user.

本发明实施例中,存储器140中具有锁定空间,锁定空间中保存的内容无法被用户删除、修改,因此,若终端设备遗失,可以将非法使用者的照片、录音、对移动终端所进行的操作等保存在该锁定空间中,以作为找回移动终端和证明用户数据被非法查看、使用的证据。In the embodiment of the present invention, there is a locked space in the memory 140, and the content stored in the locked space cannot be deleted or modified by the user. Therefore, if the terminal device is lost, the photos, audio recordings, and operations performed on the mobile terminal by the illegal user can be stored. etc. are stored in the locked space as evidence for retrieving the mobile terminal and proving that user data has been viewed and used illegally.

本发明实施例中,处理器110可以收集多种数据来确定移动终端是否遗失。举例来说,若移动终端的机主用户发现移动终端遗失,可以根据移动终端的专属的序列号等向该移动终端发送目标指示信息,用以指示移动终端本设备已处于遗失状态,并进而进行锁定移动终端和收集证据的操作。In the embodiment of the present invention, the processor 110 may collect various data to determine whether the mobile terminal is lost. For example, if the owner user of the mobile terminal finds that the mobile terminal is lost, he can send target indication information to the mobile terminal according to the exclusive serial number of the mobile terminal, etc., to indicate that the mobile terminal is in a lost state, and then carry out Actions to lock mobile terminals and collect evidence.

作为一种可选的实施方式,上述目标指示信息可以包含特定内容,例如,包含机主用户预设的密码,当接收到该目标指示信息后,移动终端验证接收到的密码,若与预设的密码一致,则确定本设备处于遗失状态。As an optional implementation, the above-mentioned target indication information may contain specific content, for example, a password preset by the owner and user. After receiving the target indication information, the mobile terminal verifies the received password. If the passwords are the same, it is determined that the device is lost.

本发明实施例中,在锁定移动终端后,前置摄像头120可以当非法使用者试图解锁移动终端、对移动终端开机、对移动终端关机、正常使用移动终端等过程中时,在后台启动并持续获取图像,当获取到的图像包含人脸特征信息时,则将图像确定为目标人脸图像并保存在存储器140的锁定空间内。In the embodiment of the present invention, after the mobile terminal is locked, the front camera 120 can be activated in the background and continue when the illegal user tries to unlock the mobile terminal, power on the mobile terminal, shut down the mobile terminal, or use the mobile terminal normally. An image is acquired, and when the acquired image contains facial feature information, the image is determined as the target facial image and stored in the locked space of the memory 140 .

其中,前置摄像头120在获取目标人脸图像时,在后台运行,并不开启闪光灯和提示音等提示在进行拍照的功能,且在获取到目标人脸图像后,后台关闭拍照应用,从而避免非法使用者察觉已经被留存证据。Wherein, when the front camera 120 acquires the target face image, it runs in the background, does not turn on the functions such as the flashlight and the prompt sound to prompt that the camera is being taken, and after acquiring the target face image, the background closes the camera application, thereby avoiding Illegal users are aware that evidence has been preserved.

请参阅图2,图2为本发明实施例公开的另一种移动终端100的结构示意图。由图2所示,前置摄像头120可以配置在显示屏的上方位置,从而在非法用户对移动终端100进行操作时,前置摄像头可以顺利获取到非法用户的人脸图像。作为一种可选的实施方式,前置摄像头还可以配置有红外补光灯,从而帮助在黑暗环境或光线较弱的环境,仍能获取一定的人脸特征信息;而另一方面,红外补光灯发出的红外光人眼无法识别,因此不会被非法用户察觉。Please refer to FIG. 2 . FIG. 2 is a schematic structural diagram of another mobile terminal 100 disclosed in an embodiment of the present invention. As shown in FIG. 2 , the front camera 120 can be arranged above the display screen, so that when an illegal user operates the mobile terminal 100 , the front camera can successfully obtain the face image of the illegal user. As an optional implementation, the front camera can also be equipped with an infrared supplementary light, so as to help obtain certain facial feature information in a dark environment or an environment with weak light; on the other hand, the infrared supplementary The infrared light emitted by the lamp cannot be recognized by human eyes, so it will not be noticed by illegal users.

请参阅图3,图3为本发明实施例公开的一种获取人脸图像的场景示意图。如图3所示,非法用户在正常使用移动终端100查看图片,前置摄像头120在后台开启并持续获取图像,在获取到的图像中识别到人脸特征信息的情况下,将该图像确定为目标人脸图像并进一步保存在存储器140的锁定空间中。从而,移动终端100可以在非法用户未察觉的情况下获取其人脸图像并保存下来作为证据留存。Please refer to FIG. 3 . FIG. 3 is a schematic diagram of a scene for acquiring a face image disclosed in an embodiment of the present invention. As shown in FIG. 3 , when an illegal user is using the mobile terminal 100 to view pictures normally, the front camera 120 is turned on in the background and continuously acquires images. The target face image is further stored in the locked space of the memory 140. Therefore, the mobile terminal 100 can acquire the face image of the illegal user and save it as evidence without the illegal user being aware of it.

由此可见,图1所描述的移动终端,可以在确定移动终端遗失后,保存后来使用者的人脸图像,即保留移动终端失窃后的证据,有助于移动终端的找回和保障移动终端中用户数据的安全性。It can be seen that the mobile terminal described in Figure 1 can save the face image of the subsequent user after the mobile terminal is determined to be lost, that is, retain the evidence after the mobile terminal is stolen, which is helpful for the retrieval of the mobile terminal and the protection of the mobile terminal. security of user data.

请参阅图4,图4为本发明实施例公开的另一种移动终端400的结构示意图。图4所描述的移动终端400可以在图1所描述的移动终端100的基础上获得,与移动终端100相比,移动终端400还包括陀螺仪150、射频电路160以及GPS模块170。Please refer to FIG. 4 . FIG. 4 is a schematic structural diagram of another mobile terminal 400 disclosed in an embodiment of the present invention. The mobile terminal 400 described in FIG. 4 can be obtained on the basis of the mobile terminal 100 described in FIG. 1 . Compared with the mobile terminal 100 , the mobile terminal 400 further includes a gyroscope 150 , a radio frequency circuit 160 and a GPS module 170 .

作为一种可选的实施方式,陀螺仪150,用于在前置摄像头120获取目标人脸图像时,获取移动终端400的位移信息;As an optional implementation manner, the gyroscope 150 is used to obtain the displacement information of the mobile terminal 400 when the front camera 120 obtains the target face image;

而在获取目标人脸图像时,前置摄像头120根据移动终端400的位移信息对获取的初始人脸图像进行调整以获得目标人脸图像。While acquiring the target face image, the front camera 120 adjusts the acquired initial face image according to the displacement information of the mobile terminal 400 to obtain the target face image.

作为一种可选的实施方式,射频电路160,用于接收目标指示信息;As an optional implementation manner, the radio frequency circuit 160 is configured to receive target indication information;

确定移动终端400是否处于遗失状态方面,处理器110具体用于,在移动终端400接收到目标指示信息的情况下,确定移动终端400处于遗失状态;In terms of determining whether the mobile terminal 400 is in the lost state, the processor 110 is specifically configured to determine that the mobile terminal 400 is in the lost state when the mobile terminal 400 receives the target indication information;

射频电路160,还用于将目标人脸图像发送至对应于预设联系人的终端设备。The radio frequency circuit 160 is also used to send the target face image to the terminal device corresponding to the preset contact.

作为一种可选的实施方式,GPS模块170,用于获取移动终端400当前所在的目标地理位置;As an optional implementation manner, the GPS module 170 is configured to acquire the target geographic location where the mobile terminal 400 is currently located;

确定移动终端400是否处于遗失状态方面,处理器110,具体用于查询移动终端400的历史定位记录,以确定移动终端400的多于一个常用地理位置,并在目标地理位置与多于一个常用地理位置均不同的情况下,确定移动终端400处于遗失状态。In terms of determining whether the mobile terminal 400 is in a lost state, the processor 110 is specifically configured to query the historical location records of the mobile terminal 400 to determine more than one common geographic location of the mobile terminal 400, and to determine whether the target geographic location and more than one common geographic location If the locations are all different, it is determined that the mobile terminal 400 is in a lost state.

本发明实施例中,上述目标指示信息可为移动终端的机主用户在确定移动终端遗失之后,根据移动终端的专属的序列号等向该移动终端发送目标指示信息,用以指示移动终端本设备已处于遗失状态,并进而进行锁定移动终端和收集证据的操作。In the embodiment of the present invention, the above-mentioned target indication information can be that the owner user of the mobile terminal sends target indication information to the mobile terminal according to the exclusive serial number of the mobile terminal after determining that the mobile terminal is lost, so as to indicate that the mobile terminal itself It is already in a lost state, and then proceed to lock the mobile terminal and collect evidence.

作为一种可选的实施方式,上述目标指示信息可以包含特定内容,例如,包含机主用户预设的密码,当接收到该目标指示信息后,移动终端验证接收到的密码,若与预设的密码一致,则确定本设备处于遗失状态。As an optional implementation, the above-mentioned target indication information may contain specific content, for example, a password preset by the owner and user. After receiving the target indication information, the mobile terminal verifies the received password. If the passwords are the same, it is determined that the device is lost.

本发明实施例中,前置摄像头120可以根据陀螺仪150提供的移动终端的微小位移信息(抖动),对拍摄的初始人脸图像进行补偿和调整,以获得目标人脸图像。In the embodiment of the present invention, the front camera 120 can compensate and adjust the captured initial face image according to the small displacement information (shake) of the mobile terminal provided by the gyroscope 150 to obtain the target face image.

本发明实施例中,除了将获取到的非法用户的人脸图像保存在移动终端400之中以外,还可以将其发送到机主用户的备用终端设备、技术用户的家人的终端设备或者警方专用的终端设备,以尽快获得移动终端遗失的相关证据,帮助找回移动终端。In the embodiment of the present invention, in addition to saving the acquired face image of the illegal user in the mobile terminal 400, it can also be sent to the backup terminal device of the owner user, the terminal device of the family member of the technical user, or the dedicated terminal device of the police. terminal equipment, in order to obtain the relevant evidence of the loss of the mobile terminal as soon as possible, and help to find the mobile terminal.

本发明实施例中,还可以通过GPS模块170帮助确定移动终端是否遗失。作为一种可选的实施方式,当GPS获取到的移动终端400当前的地理位置不是常用地理位置,则可以将移动终端确定为遗失状态。In the embodiment of the present invention, the GPS module 170 can also be used to help determine whether the mobile terminal is lost. As an optional implementation manner, when the current geographic location of the mobile terminal 400 acquired by the GPS is not a commonly used geographic location, the mobile terminal may be determined to be in a lost state.

进一步地,为了避免机主用户携带移动终端去外地出差、旅游等造成误判移动终端为遗失状态,移动终端可以具有状态监测设置,当状态监测设置为关闭时,则不执行根据GPS模块获取的信息确定移动终端是否遗失的操作。Further, in order to avoid misjudgment that the mobile terminal is in a lost state caused by the owner user carrying the mobile terminal on a business trip or traveling, the mobile terminal can have a status monitoring setting. information to determine whether the mobile terminal is lost or not.

作为一种可选的实施方式,移动终端400还可以具有虹膜识别模组180。虹膜识别模组180用于在确定了移动终端400处于遗失状态之后,获取非法用户的虹膜特征信息,射频电路160可以将该虹膜特征信息发送给警方的终端设备,从而警方人员可以根据该虹膜特征信息对人员进行排查,以帮助找回移动终端。如图5所示,图5为本发明实施例公开的另一种移动终端的结构示意图。由图5所示,虹膜识别模组180配置在移动终端400正面、显示屏的上方,虹膜识别模组180包括红外补光灯181和红外摄像头182,在获取虹膜特征信息时,红外补光灯181发出红外光照射在虹膜上,经过虹膜反射回红外摄像头182,从而红外摄像头182可以采集到虹膜图像。由虹膜识别模组180通过红外光线进行识别的原理可知,在环境光强度弱、甚至处于黑暗环境的情况下,也可以顺利获取虹膜特征信息。As an optional implementation manner, the mobile terminal 400 may also have an iris recognition module 180 . The iris recognition module 180 is used to obtain the iris characteristic information of the illegal user after determining that the mobile terminal 400 is in a lost state, and the radio frequency circuit 160 can send the iris characteristic information to the terminal equipment of the police, so that the police personnel can The information is used to check the personnel to help find the mobile terminal. As shown in FIG. 5 , FIG. 5 is a schematic structural diagram of another mobile terminal disclosed in an embodiment of the present invention. As shown in Figure 5, the iris recognition module 180 is configured on the front of the mobile terminal 400 and above the display screen. The iris recognition module 180 includes an infrared supplementary light 181 and an infrared camera 182. When acquiring iris feature information, the infrared supplementary light 181 emits infrared light to irradiate the iris, and is reflected back to the infrared camera 182 through the iris, so that the infrared camera 182 can collect iris images. According to the principle of the iris recognition module 180 using infrared light for recognition, iris characteristic information can be successfully obtained even in a situation where the ambient light intensity is weak or even in a dark environment.

由此可见,图4所描述的移动终端,可以在确定移动终端遗失后,保存后来使用者的人脸图像,即保留移动终端失窃后的证据,有助于移动终端的找回和保障移动终端中用户数据的安全性。It can be seen that the mobile terminal described in Figure 4 can save the face image of the subsequent user after it is determined that the mobile terminal is lost, that is, retain the evidence after the mobile terminal is stolen, which is helpful for the retrieval of the mobile terminal and the protection of the mobile terminal. security of user data.

请参阅图6,图6为本发明实施例公开的一种数据保存方法的流程示意图。如图6所示,该数据保存方法可以包括如下步骤:Please refer to FIG. 6 . FIG. 6 is a schematic flowchart of a data storage method disclosed in an embodiment of the present invention. As shown in Figure 6, the data storage method may include the following steps:

601、移动终端确定本设备处于遗失状态的情况下,锁定本设备。601. When the mobile terminal determines that the device is in a lost state, lock the device.

本发明实施例中,移动终端可以收集多种数据来确定移动终端是否遗失。举例来说,若移动终端的机主用户发现移动终端遗失,可以根据移动终端的专属的序列号等向该移动终端发送目标指示信息,用以指示移动终端本设备已处于遗失状态,并进而进行锁定移动终端和收集证据的操作。In the embodiment of the present invention, the mobile terminal can collect various data to determine whether the mobile terminal is lost. For example, if the owner user of the mobile terminal finds that the mobile terminal is lost, he can send target indication information to the mobile terminal according to the exclusive serial number of the mobile terminal, etc., to indicate that the mobile terminal is in a lost state, and then carry out Actions to lock mobile terminals and collect evidence.

作为一种可选的实施方式,上述目标指示信息可以包含特定内容,例如,包含机主用户预设的密码,当接收到该目标指示信息后,移动终端验证接收到的密码,若与预设的密码一致,则确定本设备处于遗失状态。As an optional implementation, the above-mentioned target indication information may contain specific content, for example, a password preset by the owner and user. After receiving the target indication information, the mobile terminal verifies the received password. If the passwords are the same, it is determined that the device is lost.

作为一种可选的实施方式,移动终端可以获取移动终端当前所在的目标地理位置;As an optional implementation manner, the mobile terminal may acquire the target geographic location where the mobile terminal is currently located;

确定移动终端是否处于遗失状态方面,移动终端可以查询移动终端的历史定位记录,以确定移动终端的多于一个常用地理位置,并在目标地理位置与多于一个常用地理位置均不同的情况下,确定移动终端处于遗失状态。In terms of determining whether the mobile terminal is in a lost state, the mobile terminal can query the historical location records of the mobile terminal to determine more than one common geographic location of the mobile terminal, and if the target geographic location is different from more than one common geographic location, It is determined that the mobile terminal is in a lost state.

进一步地,为了避免机主用户携带移动终端去外地出差、旅游等造成误判移动终端为遗失状态,移动终端可以具有状态监测设置,当状态监测设置为关闭时,则不执行根据GPS模块获取的信息确定移动终端是否遗失的操作。Further, in order to avoid misjudgment that the mobile terminal is in a lost state caused by the owner user carrying the mobile terminal on a business trip or traveling, the mobile terminal can have a status monitoring setting. information to determine whether the mobile terminal is lost or not.

602、启动前置摄像头并获取目标人脸图像。602. Start the front camera and acquire the target face image.

本发明实施例中,在锁定移动终端后,前置摄像头可以当非法使用者试图解锁移动终端、对移动终端开机、对移动终端关机、正常使用移动终端等过程中时,在后台启动并持续获取图像,当获取到的图像包含人脸特征信息时,则将图像确定为目标人脸图像并保存在存储器的锁定空间内。In the embodiment of the present invention, after the mobile terminal is locked, the front camera can be started in the background and continue to capture when the illegal user tries to unlock the mobile terminal, turn on the mobile terminal, turn off the mobile terminal, or use the mobile terminal normally. image, when the acquired image contains facial feature information, the image is determined as the target human face image and stored in the locked space of the memory.

其中,前置摄像头在获取目标人脸图像时,在后台运行,并不开启闪光灯和提示音等提示在进行拍照的功能,且在获取到目标人脸图像后,后台关闭拍照应用,从而避免非法使用者察觉已经被留存证据。Among them, when the front camera acquires the target face image, it runs in the background, does not turn on the functions such as flashlight and prompt sound to prompt that the photo is being taken, and after acquiring the target face image, the background closes the camera application, so as to avoid illegal User perceives that evidence has been preserved.

603、将目标人脸图像保存在移动终端的存储器中的锁定空间;锁定空间中保存的文件不能被用户删除。603. Save the target face image in a locked space in the memory of the mobile terminal; files saved in the locked space cannot be deleted by the user.

本发明实施例中,存储器中具有锁定空间,锁定空间中保存的内容无法被用户删除、修改,因此,若终端设备遗失,可以将非法使用者的照片、录音、对移动终端所进行的操作等保存在该锁定空间中,以作为找回移动终端和证明用户数据被非法查看、使用的证据。In the embodiment of the present invention, there is a locked space in the memory, and the content stored in the locked space cannot be deleted or modified by the user. Therefore, if the terminal device is lost, the illegal user's photos, recordings, operations on the mobile terminal, etc. It is stored in the locked space as evidence for retrieving the mobile terminal and proving that user data has been viewed and used illegally.

由此可见,利用图6所描述的数据保存方法,可以在确定移动终端遗失后,保存后来使用者的人脸图像,即保留移动终端失窃后的证据,有助于移动终端的找回和保障移动终端中用户数据的安全性。It can be seen that, using the data storage method described in Figure 6, after the mobile terminal is determined to be lost, the face image of the subsequent user can be saved, that is, the evidence of the mobile terminal being stolen can be preserved, which is helpful for the retrieval and protection of the mobile terminal Security of user data in mobile terminals.

请参阅图7,图7为本发明实施例公开的一种数据保存方法的流程示意图。如图7所示,该数据保存方法可以包括如下步骤:Please refer to FIG. 7 . FIG. 7 is a schematic flowchart of a data storage method disclosed in an embodiment of the present invention. As shown in Figure 7, the data storage method may include the following steps:

701、移动终端接收目标指示信息。701. The mobile terminal receives target indication information.

本发明实施例中,若移动终端的机主用户发现移动终端遗失,可以根据移动终端的专属的序列号等向该移动终端发送目标指示信息,用以指示移动终端本设备已处于遗失状态,并进而进行锁定移动终端和收集证据的操作。In the embodiment of the present invention, if the owner user of the mobile terminal finds that the mobile terminal is lost, it can send target indication information to the mobile terminal according to the exclusive serial number of the mobile terminal to indicate that the mobile terminal is in the lost state, and Then carry out the operations of locking the mobile terminal and collecting evidence.

作为一种可选的实施方式,上述目标指示信息可以包含特定内容,例如,包含机主用户预设的密码,当接收到该目标指示信息后,移动终端验证接收到的密码,若与预设的密码一致,则确定本设备处于遗失状态。As an optional implementation, the above-mentioned target indication information may contain specific content, for example, a password preset by the owner and user. After receiving the target indication information, the mobile terminal verifies the received password. If the passwords are the same, it is determined that the device is lost.

702、在接收到目标指示信息的情况下,确定移动终端处于遗失状态。702. Determine that the mobile terminal is in a lost state when the target indication information is received.

作为一种可选的实施方式,移动终端还可以具有虹膜识别模组。虹膜识别模组用于在确定了移动终端处于遗失状态之后,获取非法用户的虹膜特征信息,射频电路可以将该虹膜特征信息发送给警方的终端设备,从而警方人员可以根据该虹膜特征信息对人员进行排查,以帮助找回移动终端。如图5所示,图5为本发明实施例公开的另一种移动终端的结构示意图。由图5所示,虹膜识别模组180配置在移动终端400正面、显示屏的上方,虹膜识别模组180包括红外补光灯181和红外摄像头182,在获取虹膜特征信息时,红外补光灯181发出红外光照射在虹膜上,经过虹膜反射回红外摄像头182,从而红外摄像头182可以采集到虹膜图像。由虹膜识别模组180通过红外光线进行识别的原理可知,在环境光强度弱、甚至处于黑暗环境的情况下,也可以顺利获取虹膜特征信息。As an optional implementation manner, the mobile terminal may also have an iris recognition module. The iris recognition module is used to obtain iris characteristic information of illegal users after determining that the mobile terminal is in a lost state. Conduct troubleshooting to help find the mobile terminal. As shown in FIG. 5 , FIG. 5 is a schematic structural diagram of another mobile terminal disclosed in an embodiment of the present invention. As shown in Figure 5, the iris recognition module 180 is configured on the front of the mobile terminal 400 and above the display screen. The iris recognition module 180 includes an infrared supplementary light 181 and an infrared camera 182. When acquiring iris feature information, the infrared supplementary light 181 emits infrared light to irradiate the iris, and is reflected back to the infrared camera 182 through the iris, so that the infrared camera 182 can collect iris images. According to the principle of the iris recognition module 180 using infrared light for recognition, iris characteristic information can be successfully obtained even in a situation where the ambient light intensity is weak or even in a dark environment.

703、锁定移动终端并后台运行拍照应用以获取目标人脸图像。703. Lock the mobile terminal and run a camera application in the background to acquire the target face image.

本发明实施例中,在锁定移动终端后,前置摄像头可以当非法使用者试图解锁移动终端、对移动终端开机、对移动终端关机、正常使用移动终端等过程中时,在后台启动并持续获取图像,当获取到的图像包含人脸特征信息时,则将图像确定为目标人脸图像并保存在存储器的锁定空间内。In the embodiment of the present invention, after the mobile terminal is locked, the front camera can be started in the background and continue to capture when the illegal user tries to unlock the mobile terminal, turn on the mobile terminal, turn off the mobile terminal, or use the mobile terminal normally. image, when the acquired image contains facial feature information, the image is determined as the target human face image and stored in the locked space of the memory.

其中,前置摄像头在获取目标人脸图像时,在后台运行,并不开启闪光灯和提示音等提示在进行拍照的功能,且在获取到目标人脸图像后,后台关闭拍照应用,从而避免非法使用者察觉已经被留存证据。Among them, when the front camera acquires the target face image, it runs in the background, does not turn on the functions such as flashlight and prompt sound to prompt that the photo is being taken, and after acquiring the target face image, the background closes the camera application, so as to avoid illegal User perceives that evidence has been preserved.

704、将目标人脸图像发送至对应于预设联系人的终端设备。704. Send the target face image to a terminal device corresponding to a preset contact.

本发明实施例中,除了将获取到的非法用户的人脸图像保存在移动终端之中以外,还可以将其发送到机主用户的备用终端设备、技术用户的家人的终端设备或者警方专用的终端设备,以尽快获得移动终端遗失的相关证据,帮助找回移动终端。In the embodiment of the present invention, in addition to saving the acquired face image of the illegal user in the mobile terminal, it can also be sent to the backup terminal device of the owner user, the terminal device of the family member of the technical user, or a dedicated police station. Terminal equipment, in order to obtain the relevant evidence of the loss of the mobile terminal as soon as possible, and help to find the mobile terminal.

由此可见,利用图7所描述的数据保存方法,可以在确定移动终端遗失后,保存后来使用者的人脸图像,即保留移动终端失窃后的证据,有助于移动终端的找回和保障移动终端中用户数据的安全性。It can be seen that using the data storage method described in Figure 7, after the mobile terminal is determined to be lost, the face image of the subsequent user can be saved, that is, the evidence of the mobile terminal being stolen can be preserved, which is helpful for the retrieval and protection of the mobile terminal Security of user data in mobile terminals.

请参阅图8,图8为本发明实施例公开的一种移动终端800的功能单元组成框图。如图8所示,移动终端800可以包括:Please refer to FIG. 8 . FIG. 8 is a block diagram of functional units of a mobile terminal 800 disclosed in an embodiment of the present invention. As shown in FIG. 8, a mobile terminal 800 may include:

锁定单元801,用于确定移动终端处于遗失状态的情况下,锁定移动终端;The locking unit 801 is configured to lock the mobile terminal when it is determined that the mobile terminal is in a lost state;

获取单元802,用于启动前置摄像头并获取目标人脸图像;An acquisition unit 802, configured to start the front camera and acquire the target face image;

保存单元803,用于将目标人脸图像保存在移动终端的存储器中的锁定空间;锁定空间中保存的文件不能被用户删除。The saving unit 803 is configured to save the target face image in a locked space in the memory of the mobile terminal; files saved in the locked space cannot be deleted by the user.

可以理解的是,移动终端为了实现上述功能,其包含了执行各个功能相应的硬件结构和/或软件模块。本领域技术人员应该很容易意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,本发明能够以硬件或硬件和计算机软件的结合形式来实现。某个功能究竟以硬件还是计算机软件驱动硬件的方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用使用不同方法来实现所描述的功能,但是这种实现不应认为超出本发明的范围。It can be understood that, in order to realize the above functions, the mobile terminal includes hardware structures and/or software modules corresponding to each function. Those skilled in the art should easily realize that the present invention can be realized in the form of hardware or a combination of hardware and computer software in combination with the units and algorithm steps of each example described in the embodiments disclosed herein. Whether a certain function is executed by hardware or computer software drives hardware depends on the specific application and design constraints of the technical solution. Those skilled in the art may use different methods to implement the described functions for each specific application, but such implementation should not be regarded as exceeding the scope of the present invention.

本发明实施例可以根据上述方法示例对移动终端进行功能单元的划分,例如,可以对应各个功能划分各个功能单元,也可以将两个或两个以上的功能集成在一个处理单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。需要说明的是,本发明实施例中对单元的划分是示意性的,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式。In the embodiment of the present invention, the functional units of the mobile terminal may be divided according to the above method examples. For example, each functional unit may be divided corresponding to each function, or two or more functions may be integrated into one processing unit. The above-mentioned integrated units can be implemented in the form of hardware or in the form of software functional units. It should be noted that the division of the units in the embodiment of the present invention is schematic, and is only a logical function division, and there may be another division manner in actual implementation.

作为一种可选的实施方式,锁定单元801可为中央处理器(Central ProcessingUnit,CPU),通用处理器,数字信号处理器(Digital Signal Processor,DSP),专用集成电路(Application-Specific Integrated Circuit,ASIC),现场可编程门阵列(FieldProgrammable Gate Array,FPGA)或者其他可编程逻辑器件、晶体管逻辑器件、硬件部件或者其任意组合。获取单元802可为前置摄像头,而保存单元803可为存储器。As an optional implementation manner, the locking unit 801 may be a central processing unit (Central Processing Unit, CPU), a general purpose processor, a digital signal processor (Digital Signal Processor, DSP), an application-specific integrated circuit (Application-Specific Integrated Circuit, ASIC), Field Programmable Gate Array (Field Programmable Gate Array, FPGA) or other programmable logic devices, transistor logic devices, hardware components or any combination thereof. The acquiring unit 802 may be a front camera, and the saving unit 803 may be a memory.

由此可见,图8所描述的移动终端,可以在确定移动终端遗失后,保存后来使用者的人脸图像,即保留移动终端失窃后的证据,有助于移动终端的找回和保障移动终端中用户数据的安全性。It can be seen that the mobile terminal described in Figure 8 can save the face image of the subsequent user after it is determined that the mobile terminal is lost, that is, retain the evidence after the mobile terminal is stolen, which is helpful for the retrieval of the mobile terminal and the protection of the mobile terminal. security of user data.

请参阅图9,图9为本发明实施例公开的另一种移动终端900的结构示意图。如图所示,该移动终端包括处理器901、存储器902、通信接口903以及一个或多个程序,其中,上述一个或多个程序被存储在存储器中,并且被配置为由处理器执行,程序中包括用于执行上述方法实施例中的步骤的指令。Please refer to FIG. 9 . FIG. 9 is a schematic structural diagram of another mobile terminal 900 disclosed in an embodiment of the present invention. As shown in the figure, the mobile terminal includes a processor 901, a memory 902, a communication interface 903, and one or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the processor, the program includes instructions for executing the steps in the above method embodiments.

举例来说,程序包括用于执行以下步骤的指令:By way of example, the program includes instructions for performing the following steps:

确定所述移动终端处于遗失状态的情况下,锁定所述移动终端;When it is determined that the mobile terminal is lost, lock the mobile terminal;

启动前置摄像头并获取目标人脸图像;Start the front camera and get the target face image;

将所述目标人脸图像保存在所述移动终端的存储器中的锁定空间;所述锁定空间中保存的文件不能被用户删除。The target face image is stored in a locked space in the memory of the mobile terminal; files stored in the locked space cannot be deleted by the user.

作为一种可选的实施方式,程序还包括用于执行以下步骤的指令:As an optional implementation, the program also includes instructions for performing the following steps:

在获取所述目标人脸图像时,获取所述移动终端的位移信息;When acquiring the target face image, acquiring displacement information of the mobile terminal;

所述获取目标人脸图像,包括:The acquisition of the target face image includes:

根据所述位移信息对获取的初始人脸图像进行调整以获得所述目标人脸图像。Adjusting the acquired initial human face image according to the displacement information to obtain the target human face image.

作为一种可选的实施方式,程序还包括用于执行以下步骤的指令:As an optional implementation, the program also includes instructions for performing the following steps:

接收目标指示信息;Receive target indication information;

所述确定所述移动终端处于遗失状态,包括:The determining that the mobile terminal is in a lost state includes:

在所述移动终端接收到所述目标指示信息的情况下,确定所述移动终端处于所述遗失状态;When the mobile terminal receives the target indication information, determine that the mobile terminal is in the lost state;

程序还包括用于执行以下步骤的指令:The program also includes instructions for performing the following steps:

在获取到所述目标人脸图像之后,将所述目标人脸图像发送至对应于预设联系人的终端设备。After the target face image is acquired, the target face image is sent to a terminal device corresponding to a preset contact.

作为一种可选的实施方式,所述获取目标人脸图像,程序包括具体用于执行以下步骤的指令:As an optional implementation, the program for acquiring the target face image includes instructions specifically for performing the following steps:

获取多于一张图像;get more than one image;

对所述多于一张图像进行人脸识别,以从所述多于一张图像中选择出包含人脸特征信息的图像作为所述目标人脸图像。Face recognition is performed on the more than one image, so as to select an image containing facial feature information from the more than one image as the target face image.

作为一种可选的实施方式,所述确定所述移动终端处于遗失状态,程序包括具体用于执行以下步骤的指令:As an optional implementation manner, the program for determining that the mobile terminal is in a lost state includes instructions specifically for performing the following steps:

获取所述移动终端当前所在的目标地理位置;Obtain the target geographic location where the mobile terminal is currently located;

查询所述移动终端的历史定位记录,以确定所述移动终端的多于一个常用地理位置;Querying historical location records of the mobile terminal to determine more than one common geographic location of the mobile terminal;

在所述目标地理位置与所述多于一个常用地理位置均不同的情况下,确定所述移动终端处于所述遗失状态。If the target geographic location is different from the more than one common geographic location, it is determined that the mobile terminal is in the lost state.

由此可见,图9所描述的移动终端,可以在确定移动终端遗失后,保存后来使用者的人脸图像,即保留移动终端失窃后的证据,有助于移动终端的找回和保障移动终端中用户数据的安全性。It can be seen that the mobile terminal described in Figure 9 can save the face image of the subsequent user after it is determined that the mobile terminal is lost, that is, retain the evidence after the mobile terminal is stolen, which is helpful for the retrieval of the mobile terminal and the protection of the mobile terminal. security of user data.

请参阅图10,图10为本发明实施例公开的另一种移动终端1000的结构示意图。如图10所示,为了便于说明,仅示出了与本发明实施例相关的部分,具体技术细节未揭示的,请参照本发明实施例方法部分。该终端可以为包括手机、平板电脑、PDA(Personal DigitalAssistant,个人数字助理)、POS(Point of Sales,销售终端)、车载电脑等任意移动终端,以移动终端为手机为例:Please refer to FIG. 10 , which is a schematic structural diagram of another mobile terminal 1000 disclosed in an embodiment of the present invention. As shown in FIG. 10 , for ease of description, only the parts related to the embodiment of the present invention are shown, and for specific technical details not disclosed, please refer to the method part of the embodiment of the present invention. The terminal can be any mobile terminal including mobile phone, tablet computer, PDA (Personal Digital Assistant, personal digital assistant), POS (Point of Sales, sales terminal), vehicle-mounted computer, etc. Taking the mobile terminal as a mobile phone as an example:

图10示出的是与本发明实施例提供的移动终端相关的手机的部分结构的框图。参考图10,手机包括:射频(Radio Frequency,RF)电路1001、存储器1002、输入单元1003、显示单元1004、传感器1005、音频电路1006、无线保真(wireless fidelity,WiFi)模块1007、处理器1008、以及电源1009等部件。本领域技术人员可以理解,图10中示出的手机结构并不构成对手机的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。Fig. 10 shows a block diagram of a partial structure of a mobile phone related to the mobile terminal provided by the embodiment of the present invention. Referring to FIG. 10 , the mobile phone includes: a radio frequency (Radio Frequency, RF) circuit 1001, a memory 1002, an input unit 1003, a display unit 1004, a sensor 1005, an audio circuit 1006, a wireless fidelity (wireless fidelity, WiFi) module 1007, and a processor 1008 , and power supply 1009 and other components. Those skilled in the art can understand that the structure of the mobile phone shown in FIG. 10 is not limited to the mobile phone, and may include more or less components than shown in the figure, or combine some components, or arrange different components.

下面结合图10对手机的各个构成部件进行具体的介绍:The following is a specific introduction to each component of the mobile phone in conjunction with Figure 10:

RF电路1001可用于收发信息或通话过程中,信号的接收和发送,特别地,将基站的下行信息接收后,给处理器1008处理;另外,将设计上行的数据发送给基站。通常,RF电路1001包括但不限于天线、至少一个放大器、收发信机、耦合器、低噪声放大器(Low NoiseAmplifier,LNA)、双工器等。此外,RF电路1001还可以通过无线通信与网络和其他设备通信。上述无线通信可以使用任一通信标准或协议,包括但不限于全球移动通讯系统(GlobalSystem of Mobile communication,GSM)、通用分组无线服务(General Packet RadioService,GPRS)、码分多址(Code Division Multiple Access,CDMA)、宽带码分多址(Wideband Code Division Multiple Access,WCDMA)、长期演进(Long Term Evolution,LTE)、电子邮件、短消息服务(Short Messaging Service,SMS)等。The RF circuit 1001 can be used for sending and receiving information or receiving and sending signals during a call. In particular, after receiving the downlink information from the base station, it is processed by the processor 1008; in addition, it sends the designed uplink data to the base station. Generally, the RF circuit 1001 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier (Low Noise Amplifier, LNA), a duplexer, and the like. In addition, the RF circuit 1001 can also communicate with networks and other devices through wireless communication. The above-mentioned wireless communication can use any communication standard or protocol, including but not limited to Global System of Mobile Communication (Global System of Mobile communication, GSM), General Packet Radio Service (General Packet Radio Service, GPRS), Code Division Multiple Access (Code Division Multiple Access) , CDMA), Wideband Code Division Multiple Access (WCDMA), Long Term Evolution (Long Term Evolution, LTE), email, Short Messaging Service (Short Messaging Service, SMS), etc.

存储器1002可用于存储软件程序以及模块,处理器1008通过运行存储在存储器1002的软件程序以及模块,从而执行手机的各种功能应用以及数据处理。存储器1002可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序(比如声音播放功能、图像播放功能等)等;存储数据区可存储根据手机的使用所创建的数据(比如音频数据、电话本等)等。此外,存储器1002可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。The memory 1002 can be used to store software programs and modules, and the processor 1008 executes various functional applications and data processing of the mobile phone by running the software programs and modules stored in the memory 1002 . The memory 1002 can mainly include a program storage area and a data storage area, wherein the program storage area can store an operating system, at least one application program required by a function (such as a sound playback function, an image playback function, etc.), etc.; Data created by the use of mobile phones (such as audio data, phonebook, etc.), etc. In addition, the memory 1002 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid-state storage devices.

输入单元1003可用于接收输入的数字或字符信息,以及产生与手机的用户设置以及功能控制有关的键信号输入。具体地,输入单元1003可包括触控面板10031、生物识别模组10032。触控面板10031,也称为触摸屏,可收集用户在其上或附近的触摸操作(比如用户使用手指、触笔等任何适合的物体或附件在触控面板10031上或在触控面板10031附近的操作),并根据预先设定的程式驱动相应的连接装置。可选的,触控面板10031可包括触摸检测装置和触摸控制器两个部分。其中,触摸检测装置检测用户的触摸方位,并检测触摸操作带来的信号,将信号传送给触摸控制器;触摸控制器从触摸检测装置上接收触摸信息,并将它转换成触点坐标,再送给处理器1008,并能接收处理器集合1008发来的命令并加以执行。此外,可以采用电阻式、电容式、红外线以及表面声波等多种类型实现触控面板10031。除了触控面板10031,输入单元1003还可以包括前置摄像头10032。The input unit 1003 can be used to receive input numbers or character information, and generate key signal input related to user settings and function control of the mobile phone. Specifically, the input unit 1003 may include a touch panel 10031 and a biometric identification module 10032 . The touch panel 10031, also referred to as a touch screen, can collect touch operations of the user on or near it (for example, the user uses any suitable object or accessory such as a finger and a stylus on the touch panel 10031 or near the touch panel 10031 operation), and drive the corresponding connection device according to the preset program. Optionally, the touch panel 10031 may include two parts, a touch detection device and a touch controller. Among them, the touch detection device detects the user's touch orientation, and detects the signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts it into contact coordinates, and sends it to the to the processor 1008, and can receive and execute commands from the processor set 1008. In addition, the touch panel 10031 can be implemented in various types such as resistive, capacitive, infrared, and surface acoustic wave. In addition to the touch panel 10031 , the input unit 1003 may also include a front camera 10032 .

显示单元1004可用于显示由用户输入的信息或提供给用户的信息以及手机的各种菜单。显示单元1004可包括显示面板10041,可选的,可以采用液晶显示器(LiquidCrystal Display,LCD)、有机发光二极管(Organic Light-Emitting Diode,OLED)等形式来配置显示面板10041。进一步的,触控面板10031可覆盖显示面板10041,当触控面板10031检测到在其上或附近的触摸操作后,传送给处理器集合1008以确定触摸事件的类型,随后处理器集合1008根据触摸事件的类型在显示面板10041上提供相应的视觉输出。虽然在图10中,触控面板10031与显示面板10041是作为两个独立的部件来实现手机的输入和输入功能,但是在某些实施例中,可以将触控面板10031与显示面板10041集成而实现手机的输入和输出功能。The display unit 1004 can be used to display information input by the user or provided to the user and various menus of the mobile phone. The display unit 1004 may include a display panel 10041. Optionally, the display panel 10041 may be configured in the form of a liquid crystal display (Liquid Crystal Display, LCD) or an organic light-emitting diode (Organic Light-Emitting Diode, OLED). Furthermore, the touch panel 10031 can cover the display panel 10041. When the touch panel 10031 detects a touch operation on or near it, it sends it to the processor set 1008 to determine the type of the touch event, and then the processor set 1008 according to the touch The type of event provides a corresponding visual output on the display panel 10041 . Although in FIG. 10, the touch panel 10031 and the display panel 10041 are used as two independent components to realize the input and input functions of the mobile phone, in some embodiments, the touch panel 10031 and the display panel 10041 can be integrated to form Realize the input and output functions of the mobile phone.

手机还可包括至少一种传感器1005,比如光传感器、运动传感器以及其他传感器。具体地,光传感器可包括环境光传感器及接近传感器,其中,环境光传感器可根据环境光线的明暗来调节显示面板10041的亮度,接近传感器可在手机移动到耳边时,关闭显示面板10041和/或背光。作为运动传感器的一种,加速计传感器可检测各个方向上(一般为三轴)加速度的大小,静止时可检测出重力的大小及方向,可用于识别手机姿态的应用(比如横竖屏切换、相关游戏、磁力计姿态校准)、振动识别相关功能(比如计步器、敲击)等;至于手机还可配置的陀螺仪、气压计、湿度计、温度计、红外线传感器等其他传感器,在此不再赘述。The handset may also include at least one sensor 1005, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor may include an ambient light sensor and a proximity sensor, wherein the ambient light sensor may adjust the brightness of the display panel 10041 according to the brightness of the ambient light, and the proximity sensor may turn off the display panel 10041 and/or or backlight. As a kind of motion sensor, the accelerometer sensor can detect the magnitude of acceleration in various directions (generally three axes), and can detect the magnitude and direction of gravity when it is stationary, and can be used to identify the application of mobile phone posture (such as horizontal and vertical screen switching, related Games, magnetometer attitude calibration), vibration recognition related functions (such as pedometer, tap), etc.; as for other sensors such as gyroscope, barometer, hygrometer, thermometer, infrared sensor, etc. repeat.

音频电路1006、扬声器10061,传声器10062可提供用户与手机之间的音频接口。音频电路1006可将接收到的音频数据转换后的电信号,传输到扬声器10061,由扬声器10061转换为声音信号输出;另一方面,传声器10062将收集的声音信号转换为电信号,由音频电路1006接收后转换为音频数据,再将音频数据输出处理器集合1008处理后,经RF电路1001以发送给比如另一手机,或者将音频数据输出至存储器1002以便进一步处理。The audio circuit 1006, the speaker 10061, and the microphone 10062 can provide an audio interface between the user and the mobile phone. The audio circuit 1006 can transmit the electrical signal converted from the received audio data to the speaker 10061, and the speaker 10061 converts it into an audio signal for output; After being received, it is converted into audio data, and then the audio data is processed by the output processor set 1008, and then sent to another mobile phone through the RF circuit 1001, or the audio data is output to the memory 1002 for further processing.

WiFi属于短距离无线传输技术,手机通过WiFi模块1007可以帮助用户收发电子邮件、浏览网页和访问流式媒体等,它为用户提供了无线的宽带互联网访问。虽然图10示出了WiFi模块1007,但是可以理解的是,其并不属于手机的必须构成,完全可以根据需要在不改变发明的本质的范围内而省略。WiFi is a short-distance wireless transmission technology. The mobile phone can help users send and receive emails, browse web pages, and access streaming media through the WiFi module 1007, which provides users with wireless broadband Internet access. Although Fig. 10 shows the WiFi module 1007, it can be understood that it is not an essential component of the mobile phone, and can be completely omitted as required without changing the essence of the invention.

处理器1008是手机的控制中心,处理器1008利用各种接口和线路连接整个手机的各个部分,通过运行或执行存储在存储器1002内的软件程序和/或模块,以及调用存储在存储器1002内的数据,执行手机的各种功能和处理数据,从而对手机进行整体监控。可选的,处理器1008可包括一个或多个处理单元;优选的,处理器1008可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器1008中。The processor 1008 is the control center of the mobile phone. The processor 1008 uses various interfaces and lines to connect various parts of the entire mobile phone. By running or executing software programs and/or modules stored in the memory 1002, and calling the Data, perform various functions of the mobile phone and process data, so as to monitor the mobile phone as a whole. Optionally, the processor 1008 may include one or more processing units; preferably, the processor 1008 may integrate an application processor and a modem processor, wherein the application processor mainly processes operating systems, user interfaces, and application programs, etc. , the modem processor mainly handles wireless communications. It can be understood that the foregoing modem processor may not be integrated into the processor 1008 .

手机还包括给各个部件供电的电源1009(比如电池),优选的,电源可以通过电源管理系统与处理器1008逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。The mobile phone also includes a power supply 1009 (such as a battery) for supplying power to each component. Preferably, the power supply can be logically connected to the processor 1008 through the power management system, so as to realize functions such as managing charging, discharging, and power consumption management through the power management system.

尽管未示出,手机还可以包括摄像头、蓝牙模块等,在此不再赘述。Although not shown, the mobile phone may also include a camera, a Bluetooth module, etc., which will not be repeated here.

前述图5至图7所示的实施例中,各步骤方法流程可以基于该手机的结构实现。In the foregoing embodiments shown in FIG. 5 to FIG. 7 , the method flow of each step can be realized based on the structure of the mobile phone.

前述图8所示的实施例中,各单元功能可以基于该手机的结构实现。In the aforementioned embodiment shown in FIG. 8 , the functions of each unit can be realized based on the structure of the mobile phone.

举例来说,处理器1008可以调用存储器1002中存储的计算机程序,用于执行以下操作:For example, the processor 1008 may invoke a computer program stored in the memory 1002 for performing the following operations:

确定所述移动终端处于遗失状态的情况下,锁定所述移动终端;When it is determined that the mobile terminal is lost, lock the mobile terminal;

启动前置摄像头并获取目标人脸图像;Start the front camera and get the target face image;

将所述目标人脸图像保存在所述移动终端的存储器中的锁定空间;所述锁定空间中保存的文件不能被用户删除。The target face image is stored in a locked space in the memory of the mobile terminal; files stored in the locked space cannot be deleted by the user.

作为一种可选的实施方式,处理器1008可以调用存储器1002中存储的计算机程序,还用于执行以下操作:As an optional implementation manner, the processor 1008 may invoke a computer program stored in the memory 1002, and is also configured to perform the following operations:

在获取所述目标人脸图像时,获取所述移动终端的位移信息;When acquiring the target face image, acquiring displacement information of the mobile terminal;

所述获取目标人脸图像,处理器1008可以调用存储器1002中存储的计算机程序,具体用于执行以下操作:For the acquisition of the target face image, the processor 1008 can call a computer program stored in the memory 1002, which is specifically used to perform the following operations:

根据所述位移信息对获取的初始人脸图像进行调整以获得所述目标人脸图像。Adjusting the acquired initial human face image according to the displacement information to obtain the target human face image.

作为一种可选的实施方式,处理器1008可以调用存储器1002中存储的计算机程序,还用于执行以下操作:As an optional implementation manner, the processor 1008 may invoke a computer program stored in the memory 1002, and is also configured to perform the following operations:

接收目标指示信息;Receive target indication information;

所述确定所述移动终端处于遗失状态,处理器1008可以调用存储器1002中存储的计算机程序,具体用于执行以下操作:In determining that the mobile terminal is in a lost state, the processor 1008 may call a computer program stored in the memory 1002, specifically for performing the following operations:

在所述移动终端接收到所述目标指示信息的情况下,确定所述移动终端处于所述遗失状态;When the mobile terminal receives the target indication information, determine that the mobile terminal is in the lost state;

处理器1008可以调用存储器1002中存储的计算机程序,还用于执行以下操作:The processor 1008 can call the computer programs stored in the memory 1002, and is also used to perform the following operations:

在获取到所述目标人脸图像之后,将所述目标人脸图像发送至对应于预设联系人的终端设备。After the target face image is acquired, the target face image is sent to a terminal device corresponding to a preset contact.

作为一种可选的实施方式,所述获取目标人脸图像,处理器1008可以调用存储器1002中存储的计算机程序,具体用于执行以下操作:As an optional implementation manner, the processor 1008 may call a computer program stored in the memory 1002 to perform the following operations when acquiring the target face image:

获取多于一张图像;get more than one image;

对所述多于一张图像进行人脸识别,以从所述多于一张图像中选择出包含人脸特征信息的图像作为所述目标人脸图像。Face recognition is performed on the more than one image, so as to select an image containing facial feature information from the more than one image as the target face image.

作为一种可选的实施方式,所述确定所述移动终端处于遗失状态,处理器1008可以调用存储器1002中存储的计算机程序,具体用于执行以下操作:As an optional implementation manner, in determining that the mobile terminal is in a lost state, the processor 1008 may invoke a computer program stored in the memory 1002, which is specifically configured to perform the following operations:

获取所述移动终端当前所在的目标地理位置;Obtain the target geographic location where the mobile terminal is currently located;

查询所述移动终端的历史定位记录,以确定所述移动终端的多于一个常用地理位置;Querying historical location records of the mobile terminal to determine more than one common geographic location of the mobile terminal;

在所述目标地理位置与所述多于一个常用地理位置均不同的情况下,确定所述移动终端处于所述遗失状态。If the target geographic location is different from the more than one common geographic location, it is determined that the mobile terminal is in the lost state.

由此可见,图10所描述的移动终端,可以在确定移动终端遗失后,保存后来使用者的人脸图像,即保留移动终端失窃后的证据,有助于移动终端的找回和保障移动终端中用户数据的安全性。It can be seen that the mobile terminal described in Figure 10 can save the face image of the subsequent user after it is determined that the mobile terminal is lost, that is, retain the evidence after the mobile terminal is stolen, which is helpful for the retrieval of the mobile terminal and the protection of the mobile terminal. security of user data.

本发明实施例还提供一种计算机存储介质,其中,该计算机存储介质存储用于电子数据交换的计算机程序,该计算机程序使得计算机执行如上述方法实施例中记载的任一方法的部分或全部步骤,所述计算机包括移动终端。An embodiment of the present invention also provides a computer storage medium, wherein the computer storage medium stores a computer program for electronic data exchange, and the computer program enables the computer to execute some or all of the steps of any method described in the above method embodiments , the computer includes a mobile terminal.

本发明实施例还提供一种计算机程序产品,所述计算机程序产品包括存储了计算机程序的非瞬时性计算机可读存储介质,所述计算机程序可操作来使计算机执行如上述方法实施例中记载的任一方法的部分或全部步骤。该计算机程序产品可以为一个软件安装包,所述计算机包括移动终端。An embodiment of the present invention also provides a computer program product, the computer program product includes a non-transitory computer-readable storage medium storing a computer program, and the computer program is operable to enable a computer to execute the method described in the above method embodiments. Some or all of the steps of any method. The computer program product may be a software installation package, and the computer includes a mobile terminal.

需要说明的是,对于前述的各方法实施例,为了简单描述,故将其都表述为一系列的动作组合,但是本领域技术人员应该知悉,本发明并不受所描述的动作顺序的限制,因为依据本发明,某些步骤可以采用其他顺序或者同时进行。其次,本领域技术人员也应该知悉,说明书中所描述的实施例均属于优选实施例,所涉及的动作和模块并不一定是本发明所必须的。It should be noted that for the foregoing method embodiments, for the sake of simple description, they are expressed as a series of action combinations, but those skilled in the art should know that the present invention is not limited by the described action sequence. Because of the present invention, certain steps may be performed in other orders or simultaneously. Secondly, those skilled in the art should also know that the embodiments described in the specification belong to preferred embodiments, and the actions and modules involved are not necessarily required by the present invention.

在上述实施例中,对各个实施例的描述都各有侧重,某个实施例中没有详述的部分,可以参见其他实施例的相关描述。In the foregoing embodiments, the descriptions of each embodiment have their own emphases, and for parts not described in detail in a certain embodiment, reference may be made to relevant descriptions of other embodiments.

在本申请所提供的几个实施例中,应该理解到,所揭露的装置,可通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性或其它的形式。In the several embodiments provided in this application, it should be understood that the disclosed device can be implemented in other ways. For example, the device embodiments described above are only illustrative. For example, the division of the units is only a logical function division. In actual implementation, there may be other division methods. For example, multiple units or components can be combined or can be Integrate into another system, or some features may be ignored, or not implemented. In another point, the mutual coupling or direct coupling or communication connection shown or discussed may be through some interfaces, and the indirect coupling or communication connection of devices or units may be in electrical or other forms.

所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or may be distributed to multiple network units. Part or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.

另外,在本发明各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, each unit may exist separately physically, or two or more units may be integrated into one unit. The above-mentioned integrated units can be implemented in the form of hardware or in the form of software functional units.

所述集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储器中。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储器中,包括若干指令用以使得一台计算机设备(可为个人计算机、服务器或者网络设备等)执行本发明各个实施例所述方法的全部或部分步骤。而前述的存储器包括:U盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、移动硬盘、磁碟或者光盘等各种可以存储程序代码的介质。If the integrated unit is realized in the form of a software function unit and sold or used as an independent product, it can be stored in a computer-readable memory. Based on this understanding, the essence of the technical solution of the present invention or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a memory. Several instructions are included to make a computer device (which may be a personal computer, server or network device, etc.) execute all or part of the steps of the methods described in the various embodiments of the present invention. The aforementioned memory includes: U disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), mobile hard disk, magnetic disk or optical disk and other media that can store program codes.

本领域普通技术人员可以理解上述实施例的各种方法中的全部或部分步骤是可以通过程序来指令相关的硬件来完成,该程序可以存储于一计算机可读存储器中,存储器可以包括:闪存盘、只读存储器(英文:Read-Only Memory,简称:ROM)、随机存取器(英文:Random Access Memory,简称:RAM)、磁盘或光盘等。Those of ordinary skill in the art can understand that all or part of the steps in the various methods of the above-mentioned embodiments can be completed by instructing related hardware through a program, and the program can be stored in a computer-readable memory, and the memory can include: a flash disk , Read-only memory (English: Read-Only Memory, abbreviated: ROM), random access device (English: Random Access Memory, abbreviated: RAM), magnetic disk or optical disk, etc.

以上对本发明实施例进行了详细介绍,本文中应用了具体个例对本发明的原理及实施方式进行了阐述,以上实施例的说明只是用于帮助理解本发明的方法及其核心思想;同时,对于本领域的一般技术人员,依据本发明的思想,在具体实施方式及应用范围上均会有改变之处,综上所述,本说明书内容不应理解为对本发明的限制。The embodiments of the present invention have been described in detail above, and specific examples have been used in this paper to illustrate the principles and implementation methods of the present invention. The descriptions of the above embodiments are only used to help understand the method and core idea of the present invention; at the same time, for Those skilled in the art will have changes in the specific implementation and scope of application according to the idea of the present invention. In summary, the contents of this specification should not be construed as limiting the present invention.

Claims (14)

1.一种数据保存方法,其特征在于,包括:1. A data preservation method, characterized in that, comprising: 移动终端确定所述移动终端处于遗失状态的情况下,锁定所述移动终端;When the mobile terminal determines that the mobile terminal is lost, lock the mobile terminal; 启动前置摄像头并获取目标人脸图像;Start the front camera and get the target face image; 将所述目标人脸图像保存在所述移动终端的存储器中的锁定空间;所述锁定空间中保存的文件不能被用户删除。The target face image is stored in a locked space in the memory of the mobile terminal; files stored in the locked space cannot be deleted by the user. 2.根据权利要求1所述的方法,其特征在于,所述方法还包括:2. The method according to claim 1, characterized in that the method further comprises: 在获取所述目标人脸图像时,获取所述移动终端的位移信息;When acquiring the target face image, acquiring displacement information of the mobile terminal; 所述获取目标人脸图像,包括:The acquisition of the target face image includes: 根据所述位移信息对获取的初始人脸图像进行调整以获得所述目标人脸图像。Adjusting the acquired initial human face image according to the displacement information to obtain the target human face image. 3.根据权利要求2所述的方法,其特征在于,所述方法还包括:3. The method according to claim 2, wherein the method further comprises: 接收目标指示信息;Receive target indication information; 所述确定所述移动终端处于遗失状态,包括:The determining that the mobile terminal is in a lost state includes: 在所述移动终端接收到所述目标指示信息的情况下,确定所述移动终端处于所述遗失状态;When the mobile terminal receives the target indication information, determine that the mobile terminal is in the lost state; 所述方法还包括:The method also includes: 在获取到所述目标人脸图像之后,将所述目标人脸图像发送至对应于预设联系人的终端设备。After the target face image is acquired, the target face image is sent to a terminal device corresponding to a preset contact. 4.根据权利要求3所述的方法,其特征在于,所述获取目标人脸图像,包括:4. method according to claim 3, is characterized in that, described acquisition target face image, comprises: 获取多于一张图像;get more than one image; 对所述多于一张图像进行人脸识别,以从所述多于一张图像中选择出包含人脸特征信息的图像作为所述目标人脸图像。Face recognition is performed on the more than one image, so as to select an image containing facial feature information from the more than one image as the target face image. 5.根据权利要求1~4中任意一项所述的方法,其特征在于,所述确定所述移动终端处于遗失状态,包括:5. The method according to any one of claims 1-4, wherein the determining that the mobile terminal is in a lost state comprises: 获取所述移动终端当前所在的目标地理位置;Obtain the target geographic location where the mobile terminal is currently located; 查询所述移动终端的历史定位记录,以确定所述移动终端的多于一个常用地理位置;Querying historical location records of the mobile terminal to determine more than one common geographic location of the mobile terminal; 在所述目标地理位置与所述多于一个常用地理位置均不同的情况下,确定所述移动终端处于所述遗失状态。If the target geographic location is different from the more than one common geographic location, it is determined that the mobile terminal is in the lost state. 6.一种移动终端,其特征在于,所述移动终端包括处理器、与所述处理器连接的前置摄像头以及与所述处理器连接的存储器,其中,6. A mobile terminal, characterized in that the mobile terminal includes a processor, a front camera connected to the processor, and a memory connected to the processor, wherein, 所述处理器,用于确定所述移动终端是否处于遗失状态,并在所述移动终端处于所述遗失状态的情况下,锁定所述移动终端;The processor is configured to determine whether the mobile terminal is in a lost state, and lock the mobile terminal if the mobile terminal is in the lost state; 所述前置摄像头,用于在锁定所述移动终端之后获取目标人脸图像;The front camera is used to acquire the target face image after locking the mobile terminal; 所述存储器,用于将所述目标人脸图像保存在所述存储器中的锁定空间;所述锁定空间中保存的文件不能被用户删除。The storage is used to store the target face image in a locked space in the storage; files stored in the locked space cannot be deleted by the user. 7.根据权利要求6所述的移动终端,其特征在于,所述移动终端还包括与所述处理器连接的陀螺仪;7. The mobile terminal according to claim 6, further comprising a gyroscope connected to the processor; 所述陀螺仪,用于所述前置摄像头获取所述目标人脸图像时,获取所述移动终端的位移信息;The gyroscope is used for acquiring displacement information of the mobile terminal when the front camera acquires the target face image; 所述获取目标人脸图像方面,所述前置摄像头具体用于根据所述位移信息对获取的初始人脸图像进行调整以获得所述目标人脸图像。In terms of acquiring the target face image, the front camera is specifically configured to adjust the acquired initial face image according to the displacement information to obtain the target face image. 8.根据权利要求7所述的移动终端,其特征在于,所述移动终端还包括与所述处理器连接的射频电路;8. The mobile terminal according to claim 7, further comprising a radio frequency circuit connected to the processor; 所述射频电路,用于接收目标指示信息;The radio frequency circuit is used to receive target indication information; 所述确定所述移动终端是否处于遗失状态方面,所述处理器具体用于,在所述移动终端接收到所述目标指示信息的情况下,确定所述移动终端处于所述遗失状态;In the aspect of determining whether the mobile terminal is in the lost state, the processor is specifically configured to determine that the mobile terminal is in the lost state when the mobile terminal receives the target indication information; 所述射频电路,还用于将所述目标人脸图像发送至对应于预设联系人的终端设备。The radio frequency circuit is further configured to send the target face image to a terminal device corresponding to a preset contact. 9.根据权利要求8所述的移动终端,其特征在于,所述获取目标人脸图像方面,所述前置摄像头,具体用于获取多于一张图像,对所述多于一张图像进行人脸识别以从所述多于一张图像中选择出包含人脸特征信息的图像作为所述目标人脸图像。9. The mobile terminal according to claim 8, characterized in that, in the aspect of acquiring the target face image, the front camera is specifically used to acquire more than one image, and perform an operation on the more than one image. The face recognition is to select an image containing face feature information from the more than one images as the target face image. 10.根据权利要求6~9中任意一项所述的移动终端,其特征在于,所述移动终端还包括与所述处理器连接的全球定位系统GPS模块;10. The mobile terminal according to any one of claims 6 to 9, wherein the mobile terminal further comprises a Global Positioning System (GPS) module connected to the processor; 所述GPS模块,用于获取所述移动终端当前所在的目标地理位置;The GPS module is used to obtain the target geographic location where the mobile terminal is currently located; 所述确定所述移动终端是否处于遗失状态方面,所述处理器,具体用于查询所述移动终端的历史定位记录,以确定所述移动终端的多于一个常用地理位置,并在所述目标地理位置与所述多于一个常用地理位置均不同的情况下,确定所述移动终端处于所述遗失状态。In terms of determining whether the mobile terminal is in a lost state, the processor is specifically configured to query the historical location records of the mobile terminal to determine more than one common geographic location of the mobile terminal, and If the geographic location is different from the more than one common geographic location, it is determined that the mobile terminal is in the lost state. 11.一种数据保存装置,其特征在于,包括:11. A data storage device, characterized in that it comprises: 锁定单元,用于确定所述移动终端处于遗失状态的情况下,锁定所述移动终端;a locking unit, configured to lock the mobile terminal when it is determined that the mobile terminal is lost; 获取单元,用于启动前置摄像头并获取目标人脸图像;An acquisition unit is used to start the front camera and acquire the target face image; 保存单元,用于将所述目标人脸图像保存在所述移动终端的存储器中的锁定空间;所述锁定空间中保存的文件不能被用户删除。The saving unit is used to save the target face image in a locked space in the memory of the mobile terminal; files saved in the locked space cannot be deleted by the user. 12.一种数据保存方法,其特征在于,应用于包括处理器、前置摄像头以及存储器的移动终端,所述方法包括:12. A data storage method, characterized in that it is applied to a mobile terminal comprising a processor, a front camera and a memory, the method comprising: 所述处理器确定所述移动终端处于遗失状态的情况下,锁定所述移动终端;If the processor determines that the mobile terminal is lost, lock the mobile terminal; 所述前置摄像头启动并获取目标人脸图像;The front camera starts and acquires the target face image; 所述存储器将所述目标人脸图像保存在所述存储器的锁定空间;所述锁定空间中保存的文件不能被用户删除。The storage stores the target face image in a locked space of the storage; files stored in the locked space cannot be deleted by the user. 13.一种移动终端,其特征在于,包括处理器、存储器、通信接口以及一个或多个程序,其中,所述一个或多个程序被存储在所述存储器中,并且被配置为由所述处理器执行,所述程序包括用于执行权利要求1至5任意一项方法中的步骤的指令。13. A mobile terminal, characterized in that it includes a processor, a memory, a communication interface, and one or more programs, wherein the one or more programs are stored in the memory and are configured to be executed by the Executed by a processor, the program includes instructions for performing the steps in any one of the methods of claims 1 to 5. 14.一种计算机可读存储介质,其特征在于,其存储用于电子数据交换的计算机程序,其中,所述计算机程序使得计算机执行如权利要求1至5任意一项所述的方法,所述计算机包括移动终端。14. A computer-readable storage medium, characterized in that it stores a computer program for electronic data exchange, wherein the computer program causes the computer to execute the method according to any one of claims 1 to 5, the Computers include mobile terminals.
CN201710760724.XA 2017-08-29 2017-08-29 Data storage method and related products Pending CN107613101A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710760724.XA CN107613101A (en) 2017-08-29 2017-08-29 Data storage method and related products

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710760724.XA CN107613101A (en) 2017-08-29 2017-08-29 Data storage method and related products

Publications (1)

Publication Number Publication Date
CN107613101A true CN107613101A (en) 2018-01-19

Family

ID=61056710

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710760724.XA Pending CN107613101A (en) 2017-08-29 2017-08-29 Data storage method and related products

Country Status (1)

Country Link
CN (1) CN107613101A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113205341A (en) * 2021-04-21 2021-08-03 荣耀终端有限公司 Payment risk control method and device

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101951548A (en) * 2010-09-03 2011-01-19 惠州Tcl移动通信有限公司 System and method for tracking stolen communication terminal and communication terminal
US20120158730A1 (en) * 2010-03-11 2012-06-21 Apple Inc. Automatic discovery of metadata
CN104994224A (en) * 2015-05-28 2015-10-21 广东欧珀移动通信有限公司 Antitheft method and device for mobile terminal
CN105307113A (en) * 2014-12-22 2016-02-03 维沃移动通信有限公司 Loss identifying and finding method of mobile terminal and mobile terminal
CN106878554A (en) * 2017-02-10 2017-06-20 北京奇虎科技有限公司 Anti-theft method and device for mobile terminal and mobile terminal
CN106921941A (en) * 2015-12-28 2017-07-04 镇江高科信息科技有限公司 A kind of system and method and communication terminal for pursuing stolen communication terminal

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120158730A1 (en) * 2010-03-11 2012-06-21 Apple Inc. Automatic discovery of metadata
CN101951548A (en) * 2010-09-03 2011-01-19 惠州Tcl移动通信有限公司 System and method for tracking stolen communication terminal and communication terminal
CN105307113A (en) * 2014-12-22 2016-02-03 维沃移动通信有限公司 Loss identifying and finding method of mobile terminal and mobile terminal
CN104994224A (en) * 2015-05-28 2015-10-21 广东欧珀移动通信有限公司 Antitheft method and device for mobile terminal
CN106921941A (en) * 2015-12-28 2017-07-04 镇江高科信息科技有限公司 A kind of system and method and communication terminal for pursuing stolen communication terminal
CN106878554A (en) * 2017-02-10 2017-06-20 北京奇虎科技有限公司 Anti-theft method and device for mobile terminal and mobile terminal

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113205341A (en) * 2021-04-21 2021-08-03 荣耀终端有限公司 Payment risk control method and device

Similar Documents

Publication Publication Date Title
CN107657222A (en) Face recognition method and related products
CN107437009B (en) Authority control method and related product
CN107590463A (en) Face identification method and Related product
WO2018032661A1 (en) Information displaying method for terminal device, and terminal device
CN107194228A (en) Unlock control method and related products
CN106778591B (en) Alarm method and device and mobile terminal
CN106453402B (en) A kind of data processing method and equipment
CN107403148B (en) Iris identification method and related product
US9940448B2 (en) Unlock processing method and device
CN106778175A (en) An interface locking method, device and terminal equipment
WO2016192511A1 (en) Method and apparatus for remotely deleting information
CN108632454B (en) Information processing method and apparatus, computer readable storage medium, terminal
CN107770478A (en) video call method and related product
CN106326773A (en) Method and device for photo encryption management as well as terminal
CN107451450A (en) Biometric discrimination method and Related product
CN107609407A (en) Method and device for protecting information security in user terminal
CN107590464A (en) Face recognition method and related products
CN107491673A (en) Biometric methods and related products
CN106878554A (en) Anti-theft method and device for mobile terminal and mobile terminal
CN106790981A (en) A terminal device setting method and terminal device
CN107451546A (en) Iris identification method and related product
CN107046595A (en) Notification information processing method, device and mobile terminal
US11461509B2 (en) Screen control method and terminal
CN107644159A (en) Face identification method and Related product
CN107506628A (en) Biometric methods and related products

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20180119