技术领域technical field
本发明涉及移动终端技术领域,特别是涉及一种移动终端的网络连接方法、移动终端及计算机可读存储介质。The present invention relates to the technical field of mobile terminals, in particular to a network connection method for a mobile terminal, a mobile terminal and a computer-readable storage medium.
背景技术Background technique
目前,智能手机等移动终端已经成为人们日常生活中的必需品。在日常生活中,可能遇到儿童使用移动终端的情况。一方面儿童操作移动终端可能产生误操作,而造成一定的损失,当前移动终端无法避免该损失;另一方面,儿童无节制的使用移动终端会影响其身心的健康发展,例如长时间使用造成视力下降,当前无法对使移动终端的儿童给出一定的保护。At present, mobile terminals such as smart phones have become a necessity in people's daily life. In daily life, you may encounter situations where children use mobile terminals. On the one hand, children may misuse mobile terminals and cause certain losses, which cannot be avoided by current mobile terminals; Decline, currently cannot give certain protection to children using mobile terminals.
发明内容Contents of the invention
本发明提供一种移动终端的网络连接方法,网络连接方法包括:进入儿童模式;接收网络连接指令;判断网络连接指令对应的网络接口是否在预设的网络接口黑名单中;若是,则不执行所述网络连接指令。The present invention provides a network connection method for a mobile terminal. The network connection method includes: entering the child mode; receiving a network connection instruction; judging whether the network interface corresponding to the network connection instruction is in the preset network interface blacklist; if so, not executing The network connection instruction.
本发明提供一种移动终端,该移动终端包括:模式触发模块,用于进入儿童模式;指令接收模块,用于接收网络连接指令;接口判断模块,用于判断网络连接指令对应的网络接口是否在预设的网络接口黑名单中;网络连接模块,用于在接口判断模块判断为是时,不执行网络连接指令。The present invention provides a mobile terminal, which includes: a mode trigger module, used to enter the child mode; an instruction receiving module, used to receive a network connection instruction; an interface judgment module, used to judge whether the network interface corresponding to the network connection instruction is in In the preset network interface blacklist; the network connection module is configured to not execute the network connection instruction when the interface judging module judges yes.
本发明提供一种移动终端,包括存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,处理器执行计算机程序时实现上述方法的步骤。The present invention provides a mobile terminal, which includes a memory, a processor, and a computer program stored on the memory and operable on the processor. When the processor executes the computer program, the steps of the above method are realized.
本发明提供一种计算机可读存储介质,其上存储有计算机程序,计算机程序被处理器执行时实现上述方法的步骤。The present invention provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the steps of the above method are realized.
附图说明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 skilled in the art, other drawings can also be obtained based on these drawings without creative effort.
图1是本发明移动终端的儿童模式实现方法一实施例的流程示意图;FIG. 1 is a schematic flowchart of an embodiment of a method for implementing a child mode of a mobile terminal in the present invention;
图2是本发明移动终端的模式触发方法一实施例的流程示意图;FIG. 2 is a schematic flowchart of an embodiment of a mode triggering method of a mobile terminal according to the present invention;
图3是本发明移动终端的儿童模式实现方法另一实施例的流程示意图;FIG. 3 is a schematic flowchart of another embodiment of a method for implementing a child mode of a mobile terminal according to the present invention;
图4是本发明移动终端应用程序的调用方法一实施例的流程示意图;Fig. 4 is a schematic flow diagram of an embodiment of a calling method of a mobile terminal application program in the present invention;
图5是本发明移动终端的网络连接方法一实施例的流程示意图;5 is a schematic flowchart of an embodiment of a network connection method for a mobile terminal according to the present invention;
图6是本发明移动终端的控制方法一实施例的流程示意图;FIG. 6 is a schematic flowchart of an embodiment of a method for controlling a mobile terminal according to the present invention;
图7是本发明移动终端一实施例的硬件结构示意图;Fig. 7 is a schematic diagram of the hardware structure of an embodiment of the mobile terminal of the present invention;
图8是本发明移动终端一实施例的软件结构示意图。Fig. 8 is a schematic diagram of the software structure of an embodiment of the mobile terminal of the present invention.
具体实施方式detailed description
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述。可以理解的是,此处所描述的具体实施例仅用于解释本发明,而非对本发明的限定。另外还需要说明的是,为了便于描述,附图中仅示出了与本发明相关的部分而非全部结构。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the drawings in the embodiments of the present invention. It should be understood that the specific embodiments described here are only used to explain the present invention, but not to limit the present invention. In addition, it should be noted that, for the convenience of description, only some structures related to the present invention are shown in the drawings but not all structures. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of the present invention.
本发明实施例所提供的移动终端,包括智能手机、平板电脑、智能穿戴设备、数字音视频播放器、电子阅读器、手持游戏机等电子设备。The mobile terminal provided by the embodiments of the present invention includes smart phones, tablet computers, smart wearable devices, digital audio and video players, e-readers, handheld game consoles and other electronic devices.
本发明中的术语“第一”、“第二”、“第三”仅用于描述目的,而不能理解为指示或暗示相对重要性或者隐含指明所指示的技术特征的数量。由此,限定有“第一”、“第二”、“第三”的特征可以明示或者隐含地包括至少一个该特征。本发明的描述中,“多个”的含义是至少两个,例如两个,三个等。此外,术语“包括”和“具有”以及它们任何变形,意图在于覆盖不排他的包含。例如包含了一系列步骤或单元的过程、方法、系统、产品或设备没有限定于已列出的步骤或单元,而是可选地还包括没有列出的步骤或单元,或可选地还包括对于这些过程、方法、产品或设备固有的其它步骤或单元。The terms "first", "second", and "third" in the present invention are only used for descriptive purposes, and cannot be understood as indicating or implying relative importance or implicitly specifying the quantity of indicated technical features. Thus, features defined as "first", "second", and "third" may explicitly or implicitly include at least one of these features. In the description of the present invention, "plurality" means at least two, such as two, three and so on. 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, products or apparatuses.
在本文中提及“实施例”意味着,结合实施例描述的特定特征、结构或特性可以包含在本发明的至少一个实施例中。在说明书中的各个位置出现该短语并不一定均是指相同的实施例,也不是与其它实施例互斥的独立的或备选的实施例。本领域技术人员显式地和隐式地理解的是,本文所描述的实施例可以与其它实施例相结合。Reference herein to an "embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment can be included in at least one embodiment of the present invention. The occurrences of this phrase in various places in the specification are not necessarily all referring to the same embodiment, nor are separate or alternative embodiments mutually exclusive of other embodiments. It is understood explicitly and implicitly by those skilled in the art that the embodiments described herein can be combined with other embodiments.
本发明的方法应用于移动终端中,主要针对儿童使用移动终端时的情况,为了避免儿童对移动终端误操作造成的损失,并能够对使用移动终端的儿童进行保护。具体来说,在本发明的移动终端中设置儿童模式,本发明提出移动终端在儿童模式下的多种使用方法。The method of the present invention is applied to the mobile terminal, mainly for the situation when children use the mobile terminal, in order to avoid losses caused by children's misoperation of the mobile terminal, and can protect the children using the mobile terminal. Specifically, the children's mode is set in the mobile terminal of the present invention, and the present invention proposes multiple usage methods of the mobile terminal in the children's mode.
如图1,本发明移动终端的儿童模式实现方法一实施例的流程示意图。其中,处于儿童模式的移动终端在执行操作指令之前会判断其是否被允许,避免儿童进行不被允许的操作。FIG. 1 is a schematic flowchart of an embodiment of a method for implementing a child mode of a mobile terminal according to the present invention. Wherein, the mobile terminal in the children's mode will judge whether the operation instruction is allowed before executing it, so as to prevent children from performing operations that are not allowed.
如图2,本发明移动终端的模式触发方法一实施例的流程示意图。其中,移动终端通过检测触控操作,并获取用户图像进行判断以触发儿童模式,使得移动终端处于儿童模式下,以避免儿童误操作导致的问题。FIG. 2 is a schematic flowchart of an embodiment of a mode triggering method for a mobile terminal according to the present invention. Wherein, the mobile terminal triggers the children's mode by detecting the touch operation and obtaining the user's image for judgment, so that the mobile terminal is in the children's mode, so as to avoid problems caused by children's misoperation.
如图3,本发明移动终端的儿童模式实现方法另一实施例的流程示意图。其中,处于儿童模式的移动终端中的应用被分为不同类别,而对于不同类别的应用具有不同的使用时长,以防止儿童过多的使用游戏类应用。FIG. 3 is a schematic flowchart of another embodiment of a method for implementing a child mode of a mobile terminal according to the present invention. Wherein, the applications in the mobile terminal in the children's mode are divided into different categories, and the applications of different categories have different usage durations, so as to prevent children from using game applications too much.
如图4,本发明移动终端应用程序的调用方法一实施例的流程示意图,其中,处于儿童模式下移动终端中的应用程序根据应用程序总体数量进行调用,以提高儿童模式下使用体验。FIG. 4 is a schematic flowchart of an embodiment of a method for invoking mobile terminal applications in the present invention, wherein the applications in the mobile terminal in the children's mode are called according to the total number of applications, so as to improve the user experience in the children's mode.
如图5,本发明移动终端的网络连接方法一实施例的流程示意图,其中,处于儿童模式下的移动终端根据网络接口黑名单来判断是否进行网络连接,以避免儿童连接到支付网络接口或移动网络接口。As shown in Fig. 5, a flow diagram of an embodiment of the network connection method of the mobile terminal of the present invention, wherein the mobile terminal in the child mode judges whether to perform network connection according to the network interface blacklist, so as to prevent children from connecting to the payment network interface or mobile Network Interface.
如图6,本发明移动终端的控制方法一实施例的流程示意图。其中,处于儿童模式下的移动终端能够获取用户使用信息,例如使用时间,若使用时间超出预设时间,则进行锁屏操作,以保护儿童眼睛。FIG. 6 is a schematic flowchart of an embodiment of a method for controlling a mobile terminal according to the present invention. Wherein, the mobile terminal in the children's mode can obtain user usage information, such as usage time, and if the usage time exceeds a preset time, a screen lock operation is performed to protect children's eyes.
图1-图6对具有儿童模式的移动终端在使用时可能出现的各种情况进行了描述,下面对图1-图6进行详细说明。Figures 1-6 describe various situations that may occur when a mobile terminal with a child mode is in use, and Figures 1-6 will be described in detail below.
请参阅图1,图1是本发明一种移动终端的儿童模式实现方法一实施例的流程示意图,本实施例儿童模式的实现方法包括以下步骤。Please refer to FIG. 1 . FIG. 1 is a schematic flowchart of an embodiment of a method for implementing a child mode of a mobile terminal according to the present invention. The method for implementing a child mode in this embodiment includes the following steps.
S11:获取用户的生物特征信息。S11: Obtain biometric information of the user.
生物特征信息可以是虹膜信息、人脸图像、指纹信息等。本步骤S11中移动终端可以通过指纹识别模块获取到指纹信息,在指纹解锁时获取到指纹信息;还可通过摄像头获取虹膜信息或人脸图像,为节省功耗,本实施例中采用周期性的开启前置摄像头获取用户的虹膜信息或人脸图像,其中,虹膜信息由虹膜摄像头获取。Biometric information can be iris information, face image, fingerprint information, etc. In this step S11, the mobile terminal can obtain the fingerprint information through the fingerprint identification module, and obtain the fingerprint information when the fingerprint is unlocked; it can also obtain iris information or face images through the camera. In order to save power consumption, periodic opening is adopted in this embodiment The front camera obtains the user's iris information or face image, wherein the iris information is obtained by the iris camera.
所获取的生物特征信息用于在后面步骤S12中判断用户是否为儿童,因此本实施例移动终端中获取生物特征信息都是由后台进行处理,特别是对于摄像头获取虹膜信息或人脸图像的情况,在移动终端被使用时,移动终端会自动开启前置摄像头获取用户的虹膜信息或人脸图像,然后在移动终端后台进行判断,即不会在显示屏上显示获取或判断过程。The acquired biometric information is used to determine whether the user is a child in the following step S12, so the acquisition of biometric information in the mobile terminal of this embodiment is processed by the background, especially for the situation where the camera acquires iris information or face images , when the mobile terminal is in use, the mobile terminal will automatically turn on the front camera to obtain the user's iris information or face image, and then make a judgment in the background of the mobile terminal, that is, the acquisition or judgment process will not be displayed on the display screen.
S12:根据生物特征信息判断用户是否为儿童。S12: Determine whether the user is a child according to the biometric information.
上述步骤S11中所获取到的生物特征信息用于判断用户是否为儿童,以指纹信息为例,本步骤判断用户是否为儿童有多种方式。The biometric information obtained in step S11 above is used to determine whether the user is a child. Taking fingerprint information as an example, there are many ways to determine whether the user is a child in this step.
一种方式是,移动终端中可保存有用户的预存信息,且预存信息关联有年龄信息,将所获取的指纹信息与预存信息进行匹配,找到与指纹信息匹配的预存信息,并响应得到年龄信息,从而判断用户是否为儿童,本实施例中将年龄在12岁以下的判断为儿童。One way is that the mobile terminal can save the pre-stored information of the user, and the pre-stored information is associated with age information, match the acquired fingerprint information with the pre-stored information, find the pre-stored information that matches the fingerprint information, and get the age information in response , so as to determine whether the user is a child. In this embodiment, the user under the age of 12 is determined as a child.
另一种方式是,对所获取到的指纹信息进行分析,获得指纹的纹线的宽窄、面积、清晰度、皱褶数量中的至少一者,根据具体的指纹情况来判断用户年龄,继而判断用户是否为儿童。具体来说,儿童的年龄小,身体还在生长发育的过程,儿童的手指长度、宽度都小于成年人,儿童的指纹也小于成年人的指纹,因此儿童指纹的纹线的宽窄、覆盖面积、皱褶数量也小于成年人的指纹的纹线的宽窄、覆盖面积、皱褶数量,而且儿童使用指纹识别功能的经验少,进行指纹识别时可能会出现手指移动等情况导致指纹不清晰。因此,终端可以获取到的指纹的纹线的宽窄、覆盖面积、清晰度、皱褶数量中的至少一个来判断用户是否为儿童。Another way is to analyze the acquired fingerprint information to obtain at least one of the width, area, clarity, and number of wrinkles of the fingerprint lines, and judge the age of the user according to the specific fingerprint conditions, and then judge Whether the user is a child. Specifically, children are young and their bodies are still in the process of growth and development. The length and width of children's fingers are smaller than those of adults, and the fingerprints of children are also smaller than those of adults. The number of wrinkles is also smaller than the width, coverage area, and number of wrinkles of adult fingerprints, and children have little experience in using the fingerprint recognition function. During fingerprint recognition, fingers may move and other circumstances may cause fingerprints to be unclear. Therefore, the terminal may determine whether the user is a child by at least one of the obtained fingerprint's width, coverage area, clarity, and number of wrinkles.
若所获取的生物特征信息为虹膜信息或人脸图像,也可采用上述类似于指纹信息的方式进行判断。If the acquired biometric information is iris information or a face image, it can also be judged in a manner similar to the fingerprint information mentioned above.
对于通过指纹信息进行判断的情况,由于指纹信息一般由指纹识别模块获取,且用户较多情况是在解锁时才会触摸到指纹识别模块,因此在实际应用中,移动终端仅能获取到解锁的用户的生物特征信息,若在移动终端被使用时用户发生变换,若当前用户不去接触指纹识别模块,则较难检测出当前用户的生物特征信息。For the case of judging by fingerprint information, because the fingerprint information is generally obtained by the fingerprint identification module, and most of the users only touch the fingerprint identification module when unlocking, so in practical applications, the mobile terminal can only obtain the unlocked For the biometric information of the user, if the user changes when the mobile terminal is used, if the current user does not touch the fingerprint recognition module, it is difficult to detect the biometric information of the current user.
因此本实施例中可进一步结合虹膜信息或人脸图像进行判断,即在步骤S11中获取到指纹信息进行判断后,若用户不为儿童,则在移动终端使用过程中周期性开启前置摄像头,以获取虹膜信息或人脸图像,然后根据虹膜信息或人脸图像判断用户是否为儿童,当判断用户为儿童时,不再获取用户生物特征信息。Therefore, in this embodiment, judgment can be further combined with iris information or face images, that is, after the fingerprint information is obtained in step S11 for judgment, if the user is not a child, the front camera is turned on periodically during the use of the mobile terminal, To obtain iris information or face image, and then judge whether the user is a child according to the iris information or face image, and no longer obtain the user's biometric information when it is judged that the user is a child.
S13:进入儿童模式。S13: Enter the children's mode.
移动终端在上述步骤S12中判断出该用户为儿童后,移动终端自动进入特定的使用环境,即进入儿童模式,儿童模式可为移动终端中一预设的情景模式,可以在移动终端出厂是预先设置,也可以由用户设置。移动终端可以对应儿童模式进行个性化的设置,例如对移动终端中的某些操作进行禁用,对移动终端的显示方式进行更改等,以下步骤则是具体描述儿童模式下的各类操作如何实现。After the mobile terminal determines that the user is a child in the above step S12, the mobile terminal automatically enters a specific use environment, that is, enters the children's mode. The children's mode can be a preset scene mode in the mobile terminal, which can be preset when the mobile terminal leaves the factory. setting, and can also be set by the user. The mobile terminal can be personalized according to the children's mode, such as disabling certain operations in the mobile terminal, changing the display mode of the mobile terminal, etc. The following steps describe how to implement various operations in the children's mode.
S14:获取儿童模式下的操作指令。S14: Obtain an operation instruction in the child mode.
在进入儿童模式后,用户进行相关操作,移动终端则获取操作指令,操作指令可以通过移动终端上物理键或显示屏上虚拟键发出,操作指令包括通信指令,应用程序的安装指令、开启指令或卸载指令,声音的调节指令,退出儿童模式指令等。After entering the children's mode, the user performs related operations, and the mobile terminal obtains operation instructions. The operation instructions can be issued through physical keys on the mobile terminal or virtual keys on the display screen. The operation instructions include communication instructions, application installation instructions, start instructions or Uninstallation instructions, sound adjustment instructions, exit children's mode instructions, etc.
S15:判断操作指令是否被允许。S15: Determine whether the operation instruction is allowed.
儿童模式下,移动终端在获取到操作指令后,并不立即执行操作指令,而是在本步骤S15中判断该操作指令是否被允许,若不被允许,则不执行该操作指令,若被允许,则进入步骤S16,执行该操作指令。In the children’s mode, after the mobile terminal obtains the operation instruction, it does not execute the operation instruction immediately, but judges whether the operation instruction is allowed in this step S15, if not, then does not execute the operation instruction, if allowed , then enter step S16 to execute the operation instruction.
S16:执行操作指令。S16: Execute the operation instruction.
对于上述步骤S15-S16,具体来说,当操作指令为退出儿童模式指令时,判断出退出儿童模式指令被允许,则提示用户输入密码,接收用户输入的密码后,执行退出儿童模式指令,退出儿童模式。密码的形式可以是多种,例如,指纹密码、人脸密码、虹膜密码、声音密码、数字密码、图案密码、字母与数字的混合密码等。For the above steps S15-S16, specifically, when the operation instruction is an instruction to exit the children’s mode, and it is determined that the instruction to exit the children’s mode is allowed, the user is prompted to enter a password, and after receiving the password entered by the user, the instruction to exit the children’s mode is executed to exit Child mode. The password can be in various forms, for example, fingerprint password, face password, iris password, voice password, digital password, pattern password, mixed password of letters and numbers, etc.
当操作指令为声音调节指令时,移动终端判断该指令是否是被允许的,若判断结果为是,则执行声音调节指令,将声音调大或调小。When the operation instruction is a sound adjustment instruction, the mobile terminal judges whether the instruction is allowed, and if the judgment result is yes, executes the sound adjustment instruction to turn up or down the sound.
当操作指令为应用程序的安装指令,移动终端判断该安装指令是否是被允许的,若判断结果为是,则终端会提示用户输入密码,终端接收用户所输入的密码后,响应该安装指令安装该应用程序。同样,密码可为多种方式。对于与应用程序相关的操作,移动终端可根据应用程序的类别进行判断,例如对于财务类应用的操作指令都不允许。When the operation instruction is an application installation instruction, the mobile terminal judges whether the installation instruction is allowed. If the judgment result is yes, the terminal prompts the user to enter a password. After receiving the password entered by the user, the terminal responds to the installation instruction to install the application. the application. Likewise, the password can be in many ways. For operations related to applications, the mobile terminal may judge according to the category of the applications, for example, no operation instructions for financial applications are allowed.
本实施例通过指纹获取用户的生物特征信息后,根据该生物特征信息判断用户是儿童时进入儿童模式,在儿童模式下获取操作指令,通过判断操作指令被允许的,则执行操作指令。本发明移动终端在判断用户为儿童后进入到儿童模式,并在儿童模式中对用户的操作指令进行判断,以避免儿童的误操作导致的风险问题。In this embodiment, after the user's biometric information is obtained through the fingerprint, the user enters the child mode when judging that the user is a child according to the biometric information, and obtains an operation instruction in the child mode, and executes the operation instruction after judging that the operation instruction is allowed. The mobile terminal of the present invention enters the children's mode after judging that the user is a child, and judges the user's operation instructions in the children's mode, so as to avoid risk problems caused by children's misoperation.
对于具有儿童模式的移动终端,如何进入儿童模式,本发明提出一种移动终端的模式触发方法,请参阅图2,图2是本发明移动终端的模式触发方法一实施例的流程示意图,本实施例模式触发方法包括以下步骤。For a mobile terminal with a child mode, how to enter the child mode, the present invention proposes a mode trigger method for a mobile terminal, please refer to Figure 2, Figure 2 is a schematic flow chart of an embodiment of the mobile terminal mode trigger method of the present invention, this implementation The example mode triggering method includes the following steps.
S21:监测移动终端触控屏上的触控操作,获取在触控操作下产生的触控信息。S21: Monitor the touch operation on the touch screen of the mobile terminal, and obtain touch information generated under the touch operation.
本步骤中可实时监测或周期性检测触控屏上的触控操作,当监测到触控屏上发生触控操作时,获取该触控操作下产生的触控信息,即触控屏上的触控信息。In this step, the touch operation on the touch screen can be monitored in real time or periodically. When a touch operation is detected on the touch screen, the touch information generated under the touch operation is obtained, that is, the touch information on the touch screen Touch information.
若在一段时间内,触控屏上只发生一个触控操作,则获取一个触控信息即可;若一段时间内,触控屏上发生多个触控操作,则获取多个触控信息;若一段时间内,触控屏上发生连续触控操作,则以预设时间间隔获取连续触控操作的多个触控信息。If only one touch operation occurs on the touch screen within a period of time, one touch information can be acquired; if multiple touch operations occur on the touch screen within a period of time, multiple touch information can be acquired; If continuous touch operations occur on the touch screen within a period of time, a plurality of touch information of the continuous touch operations are acquired at preset time intervals.
S22:判断触控信息是否满足预设条件。S22: Determine whether the touch information satisfies a preset condition.
判断步骤S21中所获得的触控信息是否满足预设条件,若满足则执行步骤S23。若步骤S21中获取了多个触控信息,则可对多个触控信息进行计算处理,得到一平均触控信息。It is judged whether the touch information obtained in step S21 satisfies the preset condition, and if so, step S23 is executed. If a plurality of touch information is obtained in step S21 , calculation and processing may be performed on the plurality of touch information to obtain an average touch information.
步骤S21中所获取的触控信息可以是触摸面积,在步骤S22中则对触摸面积进行判断,若触摸面积小于面积阈值,则认为触控信息满足预设条件。具体来说,本实施例方法用于触发儿童模式,即当儿童使用移动终端时触发儿童模式,而儿童手指较小,其与触控屏接触的触摸面积较小,因此在本实施例中根据触摸面积进行判断。The touch information acquired in step S21 may be a touch area. In step S22, the touch area is judged. If the touch area is smaller than the area threshold, the touch information is considered to meet the preset condition. Specifically, the method in this embodiment is used to trigger the child mode, that is, when the child uses the mobile terminal, the child mode is triggered, and the child's finger is small, and the touch area in contact with the touch screen is small, so in this embodiment, according to Touch the area to judge.
对于多个触控信息的情况,在步骤S21中获取到多个触摸面积,可以计算多个触摸面积的平均值,也可以取多个触摸面积的中值,然后在本步骤S22中再判断触摸面积的平均值是否小于面积阈值,若是,则触控信息满足预设条件。For the situation of multiple touch information, multiple touch areas are obtained in step S21, the average value of multiple touch areas can be calculated, or the median value of multiple touch areas can be taken, and then the touch area is judged in this step S22. Whether the average value of the area is smaller than the area threshold, if yes, the touch information meets the preset condition.
对于触摸面积的获取,由于手指在触控屏的触控区域为椭圆形,因此可获取触控区域长轴和短轴的长度,然后根据两长度计算出触摸面积。For the acquisition of the touch area, since the touch area of the finger on the touch screen is elliptical, the lengths of the major axis and the minor axis of the touch area can be obtained, and then the touch area can be calculated according to the two lengths.
触控信息还可以是触点间隔,若触点间隔小于距离阈值,则认为触控信息满足预设条件。具体来说,当儿童使用移动终端进行多点触控时,儿童手掌较小,因此各个触点之间的距离也较小,即本实施例中也可根据触点间隔进行判断。当出现多个触点时,获取相邻触点之间的距离。对于多个触点间隔的情况,同样对多个触点间隔取平均或取中值。The touch information may also be the distance between touch points. If the distance between touch points is smaller than the distance threshold, it is considered that the touch information satisfies the preset condition. Specifically, when a child uses a mobile terminal to perform multi-touch, the child's palm is small, so the distance between each touch point is also small, that is, in this embodiment, it can also be judged according to the distance between the touch points. When multiple touch points appear, get the distance between adjacent touch points. For the case of multiple contact intervals, the average or median value is also taken for the multiple contact intervals.
S23:开启移动终端的摄像头,获取用户图像。S23: Turn on the camera of the mobile terminal to obtain user images.
当判断触摸信息满足预设条件后,本实施例中进一步开启移动终端的摄像头,根据用户图像进一步判断用户是否为儿童。When it is judged that the touch information satisfies the preset condition, in this embodiment, the camera of the mobile terminal is further turned on, and whether the user is a child is further judged according to the user image.
若仅用触摸信息判断是否为儿童,则较大可能出现误判的情况,例如当成人用指尖触控时,则根据触摸面积很容易被误判称儿童。因此本实施例中进一步根据用户图像来判断。相较于直接根据用户图像来判断的情况,本实施例中无需实时或周期性开启摄像头,能够以较小的功耗实现用户图像的获取。If only touch information is used to determine whether a child is a child, misjudgment is more likely to occur. For example, when an adult touches with a fingertip, it is easy to be misjudged as a child based on the touch area. Therefore, in this embodiment, it is further judged according to the user image. Compared with the situation of directly judging according to the user image, in this embodiment, there is no need to turn on the camera in real time or periodically, and the acquisition of the user image can be realized with less power consumption.
S24:根据用户图像判断触控操作是否为儿童操作。S24: Determine whether the touch operation is a child's operation according to the user image.
本步骤S24中根据上述步骤S23中获取的用户图像判断触控操作是否为儿童操作,可以将用户图像与预存图像进行匹配,其中每一预存图像关联有一年龄信息,根据匹配的预存图像所关联的年龄信息判断触控操作是否为儿童操作。也可以对用户图像进行分析,获取用户图像的特征,以判断该用户图像对应的年龄,从而判断触控操作是否为儿童操作。In this step S24, according to the user image acquired in the above step S23, it is judged whether the touch operation is a child’s operation, and the user image can be matched with the pre-stored image, wherein each pre-stored image is associated with an age information. The age information determines whether the touch operation is performed by a child. The user image may also be analyzed to obtain features of the user image to determine the age corresponding to the user image, thereby determining whether the touch operation is performed by a child.
在本步骤S24中判断触控操作为儿童操作后,进行以下步骤S25。After it is determined in step S24 that the touch operation is a child's operation, the following step S25 is performed.
S25:触发儿童模式。S25: Trigger the child mode.
移动终端触发儿童模式即进入到儿童模式,在进入到儿童模式后,儿童模式的实现方式可参考图1所示的情况。The mobile terminal enters the child mode when the child mode is triggered. After entering the child mode, the implementation manner of the child mode may refer to the situation shown in FIG. 1 .
相较于图1中根据用户生物特征信息进入儿童模式,本实施例提供另一种进入儿童模式的方式,即移动终端获取到触控信息时,即判断该操作是否可能为儿童操作,若可能,则进一步根据用户图像进行判断,以提高移动终端判断准确度。Compared with entering the children's mode according to the user's biometric information in Figure 1, this embodiment provides another way to enter the children's mode, that is, when the mobile terminal obtains the touch information, it judges whether the operation may be a child's operation, and if possible , the judgment is further made according to the user image, so as to improve the judgment accuracy of the mobile terminal.
在进入到儿童模式后,对于儿童模式中应用程序该如何使用,本发明提出了应用程序在使用时间和相互调用两个方面的使用方法。After entering the children's mode, regarding how to use the application programs in the children's mode, the present invention proposes the use method of the application programs in terms of usage time and mutual calling.
对于使用时间方面,请参阅图3,图3是本发明移动终端的儿童模式实现方法另一实施例的流程示意图,本实施例儿童模式实现方法包括以下步骤。Regarding the use time, please refer to FIG. 3 . FIG. 3 is a schematic flowchart of another embodiment of a method for implementing a child mode of a mobile terminal according to the present invention. The method for implementing a child mode in this embodiment includes the following steps.
S31:进入儿童模式。S31: Enter the children's mode.
本步骤进入儿童模式有多种方式,可以采用如图1实施例中所述的根据用户生物特征信息进入儿童模式,也可在一般模式下通过虚拟键或物理键接收指令进入儿童模式,还可根据用户的操作信息进入儿童模式。There are many ways to enter the children’s mode in this step. You can enter the children’s mode according to the user’s biometric information as described in the embodiment of Figure 1, or you can enter the children’s mode by receiving instructions through virtual keys or physical keys in the general mode. Enter the children's mode according to the user's operation information.
对于根据生物特征信息进入儿童模式,可参考图1实施例中所述的情况,具体不再赘述。For entering the children's mode according to the biometric information, reference may be made to the situation described in the embodiment in FIG. 1 , and details are not repeated here.
对于在一般模式下接收指令进入儿童模式,具体可在移动终端中设置一物理快捷键,当该物理快捷键检测到按压操作时,移动终端进入到儿童模式。还可在移动终端的系统中设置一入口,例如在控制中心页面设置一图标作为儿童模式入口,用户点击该图标则可进入儿童模式。For receiving an instruction to enter the children's mode in the general mode, specifically, a physical shortcut key can be set in the mobile terminal, and when the physical shortcut key detects a pressing operation, the mobile terminal enters the children's mode. An entry can also be set in the system of the mobile terminal, for example, an icon is set on the control center page as the entrance of the children's mode, and the user can enter the children's mode by clicking the icon.
对于根据用户的操作信息进入儿童模式,具体可由触控屏接收用户的操作信息,例如触控手指的大小,触控手指间的距离,若手指较小或间距较小,则认为是儿童,进入儿童模式,具体可参考图2实施例中所述情况。For entering the child mode according to the user's operation information, the touch screen can receive the user's operation information, such as the size of the touch finger, the distance between the touch fingers, if the fingers are small or the distance is small, it is considered a child, enter For the children's mode, please refer to the situation described in the embodiment in Fig. 2 for details.
S32:获取儿童模式下应用程序的类别信息,根据类别信息获取应用程序的可用时长。S32: Obtain category information of the application program in the children's mode, and acquire the available duration of the application program according to the category information.
S33:记录应用程序的使用时间,若使用时间超出可用时长,则禁用应用程序。S33: Record the usage time of the application program, and disable the application program if the usage time exceeds the available time.
上述步骤S32和S33可同时进行,也可先后进行,在开始使用应用程序时,则开始记录应用程序的使用时间,并获取应用程序的可用时长。The above steps S32 and S33 can be performed simultaneously or successively. When the application program starts to be used, the usage time of the application program is recorded and the available duration of the application program is acquired.
本实施例中在儿童模式下,针对不同的应用程序,设置有不同的使用时间,因此在步骤S32中,首先获取类别信息,然后根据类别信息获取可用时长。其中,类别信息可以包括游戏类、视频类、学习类等等。为保护儿童眼睛,避免儿童长时间使用移动终端,一般将游戏类的应用程序的可用时长设置为30分钟,视频类的应用程序的可用时长设置为40分钟,学习类的应用程序的可用时长设置为45分钟。In this embodiment, in the children's mode, different usage time is set for different application programs. Therefore, in step S32, the category information is obtained first, and then the available duration is obtained according to the category information. Wherein, the category information may include game category, video category, learning category and so on. In order to protect children's eyes and prevent children from using mobile terminals for a long time, the available time of game applications is generally set to 30 minutes, the available time of video applications is set to 40 minutes, and the available time of learning applications is set to 30 minutes. for 45 minutes.
上述应用程序的类别可以由用户自主设置,也可以在下载安装时获取该应用程序在应用市场中的类别,以所获取的类别作为本移动终端中应用程序的类别。The category of the above application program can be set by the user independently, or the category of the application program in the application market can be obtained when downloading and installing, and the obtained category can be used as the category of the application program in the mobile terminal.
更为具体的,在儿童模式下,例如,当终端监控到用户使用的应用程序是开心消消乐时,终端会判断出此应用程序的类别信息为游戏类,此时根据游戏类这个类别信息获取到游戏类的应用程序的可用时长设置为30分钟,即得到开心消消乐这个应用程序的可用时长为30分钟;More specifically, in the children's mode, for example, when the terminal monitors that the application used by the user is Kaixinxiaole, the terminal will determine that the category information of the application is a game, and at this time, according to the category information of the game The available time of the obtained game application is set to 30 minutes, that is, the available time of the application of Kaixin Xiaoxiaole is 30 minutes;
当终端监控到用户使用的应用程序是优酷时,终端会判断出此应用程序的类别信息为视频类,此时根据视频类这个类别信息获取到视频类的应用程序的可用时长设置为40分钟,即得到优酷这个应用程序的可用时长为40分钟;When the terminal monitors that the application used by the user is Youku, the terminal will determine that the category information of the application is video. At this time, the available duration of the video application obtained according to the category information of the video category is set to 40 minutes. That is, the available time of the Youku app is 40 minutes;
当终端监控到用户使用的应用程序是有道词典时,终端会判断出此应用程序的类别信息为学习类,此时根据学习类这个类别信息获取到学习类的应用程序的可用时长设置为45分钟,即得到有道词典这个应用程序的可用时长为45分钟。When the terminal monitors that the application used by the user is Youdao Dictionary, the terminal will determine that the category information of the application is learning. At this time, according to the category information of the learning category, the available duration of the learning application is set to 45 minutes, that is, youdao dictionary is available for 45 minutes.
基于上述应用程序可用时长信息,终端会监控应用程序的使用时间,即步骤S33中所述的记录在儿童模式下该应用程序的使用时间。记录使用时间可采用多种方式。Based on the information about the available duration of the application, the terminal monitors the usage time of the application, that is, the usage time of the application recorded in the child mode as described in step S33. There are several ways to record usage time.
一种方式是累积记录使用时间,累积记录用户在儿童模式下使用该应用程序的时间,即用户所记录的是应用程序在当前儿童模式下的全部使用时间,当用户退出应用程序时,不会重新记录使用时间,当然在用户退出儿童模式后会重新记录。若儿童模式下该应用程序的累计使用时间超出该程序的可用时长,则禁用该应用程序。One way is to accumulate and record the usage time, and record the time when the user uses the application in the child mode, that is, the user records the entire use time of the application in the current child mode, and when the user exits the application, it will not The usage time is re-recorded, and of course it will be re-recorded after the user exits Kid Mode. If the cumulative use time of the application in the child mode exceeds the available time of the program, the application is disabled.
例如,当用户在儿童模式下打开开心消消乐这个应用程序时,终端获取到该应用程序的类别信息为游戏类,即可得到游戏类应用程序的可用时长为30分钟,当用户在儿童模式下使用开心消消乐这个程序,终端记录用户第一次使用该程序的时间为10分钟,若用户退出该程序且未退出儿童模式,接着用户第二次使用开心消消乐这个程序时,在10分钟基础上继续记录使用时间,即累计使用时间一直到30分钟后,即禁用该开心消消乐应用程序。For example, when the user opens the application of Happy Xiaoxiaole in the children's mode, the terminal obtains the category information of the application as a game, and can obtain the available duration of the game application as 30 minutes. When the user is in the children's mode When using the program Happy Xiaoxiaole, the terminal will record the time when the user uses the program for the first time as 10 minutes. If the user exits the program and does not exit the child mode, then when the user uses the program Happy Xiaoxiaole for the second time, the On the basis of 10 minutes, continue to record the usage time, that is, after the cumulative usage time reaches 30 minutes, the Kaixinxiaoxiaole application will be disabled.
另一种方式是单次记录使用时间,记录用户每次使用该应用程序的时间,即在退出该应用程序后,重新记录使用时间。例如用户在儿童模式下使用开心消消乐时,终端记录用户第一次使用该程序的时间为10分钟,若用户退出该程序,接着用户第二次使用该程序时,则重新记录使用时间,而不会在10分钟上累计。Another way is to record the usage time once, and record the time when the user uses the application every time, that is, after exiting the application, the usage time is re-recorded. For example, when the user is using Kaixin Xiaoxiao in the children's mode, the terminal records the time when the user uses the program for the first time as 10 minutes. If the user exits the program, and then uses the program for the second time, the user will re-record the usage time. Instead of accumulating over 10 minutes.
在使用时间超过可用时长后,则禁用应用程序,即在儿童空间中无法再进行该应用程序的相关操作。After the use time exceeds the available time, the application is disabled, that is, the relevant operations of the application cannot be performed in the children's space.
本实施例实现方法中,用户在使用儿童模式下移动终端中的应用程序时,可以根据应用程序的可用时长来控制用户使用该移动终端的时间。In the implementation method of this embodiment, when the user uses the application program in the mobile terminal in the child mode, the time the user uses the mobile terminal can be controlled according to the available duration of the application program.
对于相互调用方面,请参阅图4,图4是本发明移动终端应用程序的调用方法一实施例的流程示意图,本实施例应用程序的调用方法包括以下步骤。For mutual invocation, please refer to FIG. 4 . FIG. 4 is a schematic flowchart of an embodiment of a method for invoking an application program in a mobile terminal according to the present invention. The method for invoking an application program in this embodiment includes the following steps.
S41:进入儿童模式,开启儿童模式内的一应用程序。S41: Enter the children's mode, and open an application program in the children's mode.
本步骤中进入儿童模式的方法可采用上述实施例中的方法,具体不再赘述。儿童模式下开始使用移动终端的应用程序,即移动终端开启该应用程序。The method for entering the children's mode in this step can adopt the method in the above-mentioned embodiment, and details are not repeated here. The application program of the mobile terminal starts to be used in the child mode, that is, the mobile terminal starts the application program.
儿童模式内的应用程序为在儿童模式下可访问的应用程序,相应儿童模式外的应用程序为儿童模式下不可访问的应用程序。The applications in the children's mode are applications accessible in the children's mode, and the corresponding applications outside the children's mode are inaccessible in the children's mode.
S42:在所开启的应用程序中,获取儿童模式外的应用程序的调用指令。S42: In the opened application program, obtain the calling instruction of the application program outside the children's mode.
当在儿童模式下使用应用程序时,可能会出现调用其他应用程序的情况。例如在儿童使用移动终端时,中途家长可能会临时使用儿童模式下的社交应用,且需要调用支付应用。When using the application in child mode, it may happen that other applications are called. For example, when a child uses a mobile terminal, a parent may temporarily use a social application in a child mode and need to call a payment application.
S43:判断儿童模式内的应用程序的数量是否小于第一阈值。S43: Determine whether the number of application programs in the child mode is smaller than a first threshold.
本步骤中判断儿童模式内的应用程序数量是否小于第一阈值,若是则进行步骤S45,执行调用指令,即当儿童模式下应用程序较少时,允许进行调用,从而提高用户体验。In this step, it is judged whether the number of applications in the children’s mode is less than the first threshold, and if so, proceed to step S45 to execute the calling instruction, that is, when there are fewer applications in the children’s mode, calling is allowed, thereby improving user experience.
当然,在步骤S43之前,还可判断调用指令对应的儿童模式外的应用程序是否为可调用,例如用户可设置支付应用为不可调用,则对于支付应用的调用情况,则可直接不执行调用指令,不进行步骤S43。若为可调用的应用程序,则进行步骤S43中的判断。Of course, before step S43, it is also possible to determine whether the application program outside the children’s mode corresponding to the call instruction is callable. For example, the user can set the payment application as not callable, and then the call instruction may not be executed directly for the call of the payment application. , step S43 is not performed. If it is an application program that can be called, proceed to the judgment in step S43.
此外,除了进行本步骤S43的判断,当需要调用的应用程序较多时,则需进一步进行步骤S44。In addition, in addition to the judgment in step S43, if there are many application programs that need to be called, step S44 needs to be further performed.
S44:判断当前被调用的儿童模式外的应用程序的数量是否小于第二阈值。S44: Determine whether the number of currently invoked application programs outside the children's mode is less than a second threshold.
判断被调用的应用程序的数量是否小于第二阈值,若是,则进行步骤S45,即当被调用应用程序的数量较多时,不执行调用指令。It is judged whether the number of called application programs is less than the second threshold, if yes, proceed to step S45, that is, when the number of called application programs is large, the calling instruction is not executed.
S45:执行调用指令。S45: Execute the calling instruction.
此外,本实施例中可对儿童模式外的应用程序的被调用次数进行记录,若被调用次数超过第三阈值,则将儿童模式外的应用程序设置为儿童模式内的应用程序,即对于在儿童模式外经常使用的应用程序,自动将其设置为儿童模式内的应用程序。In addition, in this embodiment, the number of calls of the application program outside the children's mode can be recorded. If the number of calls exceeds the third threshold, the application program outside the children's mode is set as the application program in the children's mode. Apps that are frequently used outside of Kids Mode are automatically set as apps in Kids Mode.
本实施例根据儿童模式内应用程序的数量来对儿童模式外应用程序的调用进行控制,以提高用户体验。In this embodiment, according to the number of application programs in the child mode, the calling of application programs outside the child mode is controlled, so as to improve user experience.
除了应用方面,对于儿童模式下的网络连接,本发明也提出一种移动终端的网络连接方法,具体请参阅图5,图5是本发明移动终端的网络连接方法一实施例的流程示意图,本实施例网络连接方法包括以下步骤。In addition to the application aspect, the present invention also proposes a network connection method for a mobile terminal for network connection in the child mode. Please refer to FIG. 5 for details. FIG. 5 is a schematic flowchart of an embodiment of a network connection method for a mobile terminal in the present invention. The network connection method of the embodiment includes the following steps.
S51:进入儿童模式。S51: Enter the children's mode.
本实施例中进入儿童模式的方法可采用上述实施例中的方法,具体不再赘述。The method for entering the children's mode in this embodiment can adopt the method in the above-mentioned embodiment, and details are not repeated here.
S52:接收网络连接指令。S52: Receive a network connection instruction.
当在儿童模式下需要进行网络连接时,移动终端会接收到网络连接指令。When a network connection is required in the child mode, the mobile terminal will receive a network connection instruction.
S53:判断网络连接指令对应的网络接口是否在预设的网络接口黑名单中。S53: Determine whether the network interface corresponding to the network connection instruction is in the preset network interface blacklist.
S54:不执行网络连接指令。S54: Do not execute the network connection instruction.
S55:执行网络连接指令。S55: Execute a network connection instruction.
本实施例的移动终端中预设有网络接口黑名单,在本步骤S53中会判断该网络连接指令对应的网络接口是否在网络接口黑名单中,若在,则进行步骤S54,不执行网络连接指令;若不在,则执行网络连接指令。The mobile terminal of this embodiment is preset with a blacklist of network interfaces. In this step S53, it is judged whether the network interface corresponding to the network connection instruction is in the blacklist of network interfaces. command; if not, execute the network connection command.
例如,网络接口黑名单可以包括支付网络接口,若网络接口为支付网络接口,则不执行网络连接指令,可限制儿童模式下对支付网络接口的连接,以免误操作进行扣费。For example, the network interface blacklist may include the payment network interface. If the network interface is a payment network interface, the network connection instruction will not be executed, and the connection to the payment network interface in the child mode can be restricted to avoid deduction for misoperation.
网络接口黑名单还可包括移动网络接口,若网络接口为移动网络接口,则不执行网络连接指令,可限制移动网络接口的连接,以免使用到运营商网络,造成流量使用过多。The network interface blacklist can also include a mobile network interface. If the network interface is a mobile network interface, the network connection command will not be executed, and the connection of the mobile network interface can be restricted to avoid using the operator's network and causing excessive traffic usage.
网络接口黑名单可以是由用户设置的黑名单,也可以是在移动终端的使用过程中不断更新建立的。预设的黑名单可能不够全面,因此在步骤S55执行网络连接指令后,进行以下步骤S56。The network interface blacklist may be a blacklist set by the user, or may be continuously updated and established during the use of the mobile terminal. The preset blacklist may not be comprehensive enough, so after the network connection instruction is executed in step S55, the following step S56 is performed.
S56:判断网络接口后的网页内容是否存在敏感信息。S56: Determine whether there is sensitive information in the content of the webpage behind the network interface.
进一步分析网络接口后的网页内容,若网页内容中存在敏感信息,则进行步骤S57,将该网络接口添加到黑名单中,从而更新该黑名单。黑名单可以保存在移动终端中,也可保存在云服务器中。敏感信息可以是支付信息,也可以是网络敏感词等。Further analyze the content of the webpage after the network interface, if there is sensitive information in the content of the webpage, go to step S57, add the network interface to the blacklist, thereby updating the blacklist. The blacklist can be saved in the mobile terminal or in the cloud server. Sensitive information can be payment information or network sensitive words, etc.
S57:将网络接口添加到网络接口黑名单中。S57: Add the network interface to the network interface blacklist.
上述步骤中若网络接口不在黑名单中,则执行网络连接指令,还可保存该网络接口,以统计该网络接口的连接次数,若次数超过一定阈值,则可将该网络接口放置到白名单中,相对于黑名单,白名单中包括可以放心连接的网络接口。In the above steps, if the network interface is not in the blacklist, execute the network connection command, and save the network interface to count the number of connection times of the network interface. If the number exceeds a certain threshold, the network interface can be placed in the whitelist , compared to the blacklist, the whitelist includes network interfaces that can be safely connected.
当步骤S52中接收网络连接指令后,进一步在步骤S53中判断该网络连接指令对应的网络接口是否在网络白名单中,若在,则执行网络连接指令,且不进行步骤S56判断该网络接口后的网页内容是否存在敏感信息。After receiving the network connection instruction in step S52, further determine whether the network interface corresponding to the network connection instruction is in the network whitelist in step S53, if so, then execute the network connection instruction, and do not perform step S56 after judging the network interface Whether there is sensitive information in the content of the web page.
本实施例中预设网络接口黑名单,在儿童模式下需要进行网络连接时,根据网络接口黑名单来判断是否进行网络连接,从而避免儿童误操作而连接到支付网站或敏感网站上。In this embodiment, the network interface blacklist is preset. When a network connection is required in the child mode, it is judged whether to perform network connection according to the network interface blacklist, so as to prevent children from connecting to payment websites or sensitive websites by mistake.
儿童模式下,在使用移动终端时,还可根据使用情况对移动终端进行相应控制,如图6所示,图6是本发明移动终端的控制方法一实施例的流程示意图,本实施例控制方法包括以下步骤。In the children's mode, when using the mobile terminal, the mobile terminal can also be controlled according to the usage situation, as shown in Figure 6, which is a schematic flow chart of an embodiment of the mobile terminal control method of the present invention, the control method of this embodiment Include the following steps.
S61:移动终端进入儿童模式。S61: The mobile terminal enters a child mode.
本步骤进入儿童模式的方法可采用前述实施例中进入儿童模式的方法,具体不再赘述。The method of entering the children's mode in this step can adopt the method of entering the children's mode in the foregoing embodiments, and details are not repeated here.
S62:获取移动终端的使用信息。S62: Obtain usage information of the mobile terminal.
S63:移动终端的显示屏根据使用信息进行相应的操作。S63: The display screen of the mobile terminal performs corresponding operations according to the usage information.
上述步骤S62、S63即根据移动终端的显示屏根据其使用情况进行响应调整。The above steps S62 and S63 are to adjust the response according to the usage of the display screen of the mobile terminal.
移动终端的使用信息可以是使用时间,步骤S62中记录移动终端的使用时间,然后在步骤S63中判断所记录的使用时间是否超过预设时间,若是,则显示屏进行锁屏操作。使用时间可以根据亮屏时间判断,可累积记录儿童空间下的亮屏时间,也可记录每次亮屏的时间。The use information of the mobile terminal can be the use time. Record the use time of the mobile terminal in step S62, and then determine whether the recorded use time exceeds the preset time in step S63. If so, the display screen performs a screen lock operation. The use time can be judged according to the time when the screen is turned on. It can accumulate and record the time when the screen is turned on in the children's space, and can also record the time of each time the screen is turned on.
使用信息还可以是移动终端与用户的距离,步骤S62中通过移动终端的距离传感器获取其与用户的距离,然后在步骤S63中比较距离与预设阈值,若距离小于预设阈值,则显示屏进行黑屏操作;若距离大于或等于预设阈值,则显示屏进行亮屏操作。具体来说,距离传感器是采用发出红外光线,然后接收反射回去的红外光线,从而获得移动终端与用户的距离。The use information can also be the distance between the mobile terminal and the user. In step S62, the distance between the mobile terminal and the user is obtained by the distance sensor of the mobile terminal, and then in step S63, the distance is compared with the preset threshold. If the distance is less than the preset threshold, the display screen Perform black screen operation; if the distance is greater than or equal to the preset threshold, the display screen will perform bright screen operation. Specifically, the distance sensor emits infrared light and then receives the reflected infrared light to obtain the distance between the mobile terminal and the user.
使用信息还可是移动终端中各个应用的使用时间,步骤S62中记录应用的使用时间,然后在步骤S63中判断每个应用的使用时间是否超过该应用对应的预设时间,若是,则显示屏进行锁屏操作。应用使用时间的记录及判断可参阅图3所示的实施例。The use information can also be the use time of each application in the mobile terminal. Record the use time of the application in step S62, and then judge whether the use time of each application exceeds the corresponding preset time of the application in step S63. Lock screen operation. The recording and judgment of application usage time can refer to the embodiment shown in FIG. 3 .
使用信息还可以是移动终端当前所处环境的亮度,步骤S62中根据光线传感器获取到当前环境亮度,然后在步骤S63中显示屏进行亮度调节操作。The usage information may also be the brightness of the environment where the mobile terminal is currently located. In step S62, the current environment brightness is acquired according to the light sensor, and then in step S63, the brightness adjustment operation is performed on the display screen.
使用信息还可是移动终端的倾斜角度变化,当显示屏进行3D显示时,可根据倾斜角度对3D显示的内容进行相应调整。The usage information may also be a change in the tilt angle of the mobile terminal. When the display screen performs 3D display, the content displayed in 3D may be adjusted accordingly according to the tilt angle.
本实施例中可以根据单类使用信息来控制显示屏进行相应操作,还可根据多类使用信息控制显示屏的操作。例如在步骤S62中,不仅仅获取使用时间,还获取移动终端与用户的距离,同时监控判断使用时间和距离的情况,在使用时间未超出预设时间时,若距离小于预设阈值,则黑屏,若大于等于预设阈值,则亮屏;在使用时间超出预设时间时,则锁屏。In this embodiment, the display screen can be controlled to perform corresponding operations according to a single type of use information, and the operation of the display screen can also be controlled according to multiple types of use information. For example, in step S62, not only the use time is obtained, but also the distance between the mobile terminal and the user is obtained, and the situation of the use time and distance is monitored and judged at the same time. When the use time does not exceed the preset time, if the distance is less than the preset threshold, then black screen , if it is greater than or equal to the preset threshold, the screen will be brightened; when the usage time exceeds the preset time, the screen will be locked.
本实施例中,在儿童模式下移动终端的显示屏根据使用情况进行对应操作,能够针对不同使用情况调节显示屏,以更适于用户使用,例如在使用时间过长时,进行锁屏操作,保证用户健康用眼。In this embodiment, in the child mode, the display screen of the mobile terminal performs corresponding operations according to the usage conditions, and the display screen can be adjusted according to different usage conditions to be more suitable for the user. For example, when the use time is too long, perform a lock screen operation, To ensure the health of the user's eyes.
上述方法均可通过移动终端实现,具体来说,通过一段计算机程序来表示方法的步骤,构建软件结构以实现该计算机程序,并利用硬件设备来执行该计算机程序从而实现上述方法。The above-mentioned methods can all be realized by a mobile terminal. Specifically, a piece of computer program is used to represent the steps of the method, a software structure is constructed to realize the computer program, and hardware devices are used to execute the computer program to realize the above-mentioned method.
对于计算机程序,以软件形式实现并作为独立的产品销售或使用时,可存储在一个电子设备可读取存储介质中,即,本发明还提供一种计算机可读存储介质,其中存储有计算机程序,该计算机程序被处理器执行时实现上述方法的步骤。计算机可读存储介质可以为U盘、光盘、服务器等。For a computer program, when it is implemented in the form of software and sold or used as an independent product, it can be stored in a storage medium readable by an electronic device, that is, the present invention also provides a computer-readable storage medium in which a computer program is stored , when the computer program is executed by the processor, the steps of the above method are realized. The computer-readable storage medium may be a USB flash drive, an optical disc, a server, and the like.
对于硬件结构,请参阅图7,图7是本发明移动终端一实施例的硬件结构示意图。本实施例移动终端100包括处理器11和存储器12,存储器12中存储有计算机程序,处理器11在执行计算机程序时能够实现上述方法的步骤。For the hardware structure, please refer to FIG. 7, which is a schematic diagram of the hardware structure of an embodiment of the mobile terminal of the present invention. The mobile terminal 100 in this embodiment includes a processor 11 and a memory 12, where a computer program is stored in the memory 12, and the processor 11 can implement the steps of the above method when executing the computer program.
具体来说,相对于图5所示的网络连接方法,移动终端100还包括输入单元13,输入单元13用于输入指令。本实施例移动终端100进入儿童模式后,可通过输入单元13接收网络连接指令,处理器11判断该网络连接指令对应的网络接口是否在预设的网络接口黑名单中,若是,则不实行网络连接指令。Specifically, compared to the network connection method shown in FIG. 5 , the mobile terminal 100 further includes an input unit 13 for inputting instructions. After the mobile terminal 100 of this embodiment enters the child mode, it can receive a network connection command through the input unit 13, and the processor 11 judges whether the network interface corresponding to the network connection command is in the preset network interface blacklist, and if so, does not implement the network connection command. Connection instructions.
类似于上述过程,本实施例移动终端100能够实现图5所示方法中的所有步骤。Similar to the above process, the mobile terminal 100 in this embodiment can implement all the steps in the method shown in FIG. 5 .
进一步的,移动终端100中还可包括RF电路、显示单元、音频电路、wifi模块以及电源等。其中,RF电路、显示单元、音频电路以及wifi模块分别与处理器11连接;电源用于为整个移动终端100提供电能。具体而言,RF电路用于接发信号,显示单元则可以包括显示面板等,扬声器以及传声器(或者麦克风)通过音频电路与处理器连接,用于接发声音信号;wifi模块则用于接收和发射wifi信号。Further, the mobile terminal 100 may further include an RF circuit, a display unit, an audio circuit, a wifi module, and a power supply. Wherein, the RF circuit, the display unit, the audio circuit and the wifi module are connected to the processor 11 respectively; the power supply is used to provide electric energy for the entire mobile terminal 100 . Specifically, the RF circuit is used to receive and send signals, and the display unit may include a display panel, etc., and the speaker and microphone (or microphone) are connected to the processor through the audio circuit for receiving and sending sound signals; the wifi module is used for receiving and Send wifi signal.
对于软件结构,上述不同的方法对应不同的程序数据,相应的需要构建不同的软件结构。例如对于图5所示的网络连接方法,本发明提出一种移动终端,具体请参阅图8,图8是本发明移动终端一实施例的软件结构示意图。For the software structure, the above-mentioned different methods correspond to different program data, and correspondingly need to construct different software structures. For example, for the network connection method shown in FIG. 5 , the present invention proposes a mobile terminal. Please refer to FIG. 8 for details. FIG. 8 is a schematic diagram of the software structure of an embodiment of the mobile terminal of the present invention.
本实施例移动终端200包括模式触发模块21,用于进入儿童模式;指令接收模块22,用于接收网络连接指令;接口判断模块23,用于判断网络连接指令对应的网络接口是否在预设的网络接口黑名单中;网络连接模块24,用于在接口判断模块23判断为是时,不执行网络连接指令。The mobile terminal 200 of this embodiment includes a mode triggering module 21 for entering the children's mode; an instruction receiving module 22 for receiving a network connection instruction; an interface judging module 23 for judging whether the network interface corresponding to the network connection instruction is in the preset In the network interface blacklist; the network connection module 24 is configured to not execute the network connection instruction when the interface judging module 23 judges yes.
上述各个模块能够实现图2所示模式触发方法中的各个步骤,具体不再赘述。Each of the above-mentioned modules can implement each step in the mode triggering method shown in FIG. 2 , and details will not be repeated here.
以上所述仅为本发明的实施方式,并非因此限制本发明的专利范围,凡是利用本发明说明书及附图内容所作的等效结构或等效流程变换,或直接或间接运用在其他相关的技术领域,均同理包括在本发明的专利保护范围内。The above is only the embodiment of the present invention, and does not limit the patent scope of the present invention. Any equivalent structure or equivalent process conversion made by using the description of the present invention and the contents of the accompanying drawings, or directly or indirectly used in other related technologies fields, all of which are equally included in the scope of patent protection of the present invention.
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201710636064.4ACN107454257A (en) | 2017-07-31 | 2017-07-31 | Mobile terminal, network connection method, and computer-readable storage medium |
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201710636064.4ACN107454257A (en) | 2017-07-31 | 2017-07-31 | Mobile terminal, network connection method, and computer-readable storage medium |
| Publication Number | Publication Date |
|---|---|
| CN107454257Atrue CN107454257A (en) | 2017-12-08 |
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201710636064.4APendingCN107454257A (en) | 2017-07-31 | 2017-07-31 | Mobile terminal, network connection method, and computer-readable storage medium |
| Country | Link |
|---|---|
| CN (1) | CN107454257A (en) |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN108153478A (en)* | 2018-01-19 | 2018-06-12 | 北京小米移动软件有限公司 | The processing method of touch and terminal of terminal |
| CN110135837A (en)* | 2018-09-29 | 2019-08-16 | 广东小天才科技有限公司 | Payment management method based on wearable device and wearable device |
| CN111242628A (en)* | 2019-04-03 | 2020-06-05 | 泰州市海陵区一马商务信息咨询有限公司 | Password-free payment verification method |
| CN114189544A (en)* | 2021-12-09 | 2022-03-15 | 深圳市卓翼科技股份有限公司 | A kind of monitoring control method, device and computer readable storage medium |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101069175A (en)* | 2003-10-03 | 2007-11-07 | 考维枸有限公司 | Dynamic message filtering |
| CN105897695A (en)* | 2016-03-25 | 2016-08-24 | 努比亚技术有限公司 | Website white list selection method, terminal, and server |
| CN106027658A (en)* | 2016-06-01 | 2016-10-12 | 中青奇未(北京)网络科技有限公司 | Page access method and system, and secure desktop |
| CN106953975A (en)* | 2017-03-21 | 2017-07-14 | 广东小天才科技有限公司 | Intelligent terminal operation management method and device and intelligent terminal |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101069175A (en)* | 2003-10-03 | 2007-11-07 | 考维枸有限公司 | Dynamic message filtering |
| CN105897695A (en)* | 2016-03-25 | 2016-08-24 | 努比亚技术有限公司 | Website white list selection method, terminal, and server |
| CN106027658A (en)* | 2016-06-01 | 2016-10-12 | 中青奇未(北京)网络科技有限公司 | Page access method and system, and secure desktop |
| CN106953975A (en)* | 2017-03-21 | 2017-07-14 | 广东小天才科技有限公司 | Intelligent terminal operation management method and device and intelligent terminal |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN108153478A (en)* | 2018-01-19 | 2018-06-12 | 北京小米移动软件有限公司 | The processing method of touch and terminal of terminal |
| CN110135837A (en)* | 2018-09-29 | 2019-08-16 | 广东小天才科技有限公司 | Payment management method based on wearable device and wearable device |
| CN111242628A (en)* | 2019-04-03 | 2020-06-05 | 泰州市海陵区一马商务信息咨询有限公司 | Password-free payment verification method |
| CN111242628B (en)* | 2019-04-03 | 2021-01-05 | 重庆业如数科科技有限公司 | Password-free payment verification system |
| CN114189544A (en)* | 2021-12-09 | 2022-03-15 | 深圳市卓翼科技股份有限公司 | A kind of monitoring control method, device and computer readable storage medium |
| CN114189544B (en)* | 2021-12-09 | 2024-04-23 | 深圳市卓翼科技股份有限公司 | Monitoring control method, monitoring control equipment and computer-readable storage medium |
| Publication | Publication Date | Title |
|---|---|---|
| CN107392056A (en) | Terminal, child mode implementation method, and computer-readable storage medium | |
| CN107292158A (en) | Mobile terminal, mode triggering method, and computer-readable storage medium | |
| CN107249084B (en) | Mobile terminal, program calling method and computer-readable storage medium | |
| CN107480497A (en) | Mobile terminal, child mode implementation method, and computer-readable storage medium | |
| RU2639648C1 (en) | Method and device for recognizing fingerprints | |
| EP3232299B1 (en) | Physical key component, terminal, and touch response method and device | |
| US20190318736A1 (en) | Method for voice controlling, terminal device, cloud server and system | |
| US9965086B2 (en) | Method for enabling function module of terminal, and terminal device | |
| CN107749844A (en) | Auth method and mobile terminal | |
| CN111695382B (en) | Fingerprint collection area determination method and fingerprint collection area determination device | |
| US20180039819A1 (en) | Method and device for identity verification | |
| CN107862194B (en) | A security verification method, device and mobile terminal | |
| CN109543378B (en) | Fingerprint unlocking method and related equipment | |
| CN107454257A (en) | Mobile terminal, network connection method, and computer-readable storage medium | |
| US8311577B2 (en) | Proactive control of mobile communications devices | |
| CN104318185B (en) | A kind of application control method, equipment and mobile terminal | |
| CN107437018B (en) | Mobile terminal, control method thereof, and computer-readable storage medium | |
| CN107463823A (en) | Mobile terminal, application control method and computer-readable storage medium | |
| CN110083266A (en) | Information processing method, device and storage medium | |
| CN106506825A (en) | Touch screen control method, device and mobile terminal | |
| CN106330864B (en) | The processing method of verification information, apparatus and system | |
| US20170249495A1 (en) | Methods, devices, and computer-readable mediums for verifying a fingerprint | |
| CN107402677B (en) | Method and device for recognizing finger lifting in touch operation and terminal | |
| CN105005489B (en) | A kind of the starting method and terminal device of terminal device | |
| CN109325334A (en) | A touch terminal control method and touch terminal |
| 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:20171208 |