CN110096893B - Object limiting method and terminal equipment - Google Patents

Object limiting method and terminal equipment Download PDF

Info

Publication number
CN110096893B
CN110096893B CN201910363457.1A CN201910363457A CN110096893B CN 110096893 B CN110096893 B CN 110096893B CN 201910363457 A CN201910363457 A CN 201910363457A CN 110096893 B CN110096893 B CN 110096893B
Authority
CN
China
Prior art keywords
restriction
target object
option
application
input
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201910363457.1A
Other languages
Chinese (zh)
Other versions
CN110096893A (en
Inventor
李�根
孟海龙
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN201910363457.1A priority Critical patent/CN110096893B/en
Publication of CN110096893A publication Critical patent/CN110096893A/en
Application granted granted Critical
Publication of CN110096893B publication Critical patent/CN110096893B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/62Protecting access to data via a platform, e.g. using keys or access control rules
    • G06F21/6218Protecting access to data via a platform, e.g. using keys or access control rules to a system of files or objects, e.g. local or distributed file system or database
    • G06F21/6281Protecting access to data via a platform, e.g. using keys or access control rules to a system of files or objects, e.g. local or distributed file system or database at program execution time, where the protection is within the operating system
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/62Protecting access to data via a platform, e.g. using keys or access control rules
    • G06F21/629Protecting access to data via a platform, e.g. using keys or access control rules to features or functions of an application
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/70Protecting specific internal or peripheral components, in which the protection of a component leads to protection of the entire computer
    • G06F21/82Protecting input, output or interconnection devices
    • G06F21/84Protecting input, output or interconnection devices output devices, e.g. displays or monitors

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • General Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • General Health & Medical Sciences (AREA)
  • Bioethics (AREA)
  • Health & Medical Sciences (AREA)
  • Databases & Information Systems (AREA)
  • User Interface Of Digital Computer (AREA)
  • Telephone Function (AREA)

Abstract

The invention provides an object limiting method and terminal equipment, wherein the method comprises the following steps: receiving a first input of a user input, and displaying at least one restriction option in response to the first input; and determining a target limitation option in the at least one limitation option, and executing a limitation operation corresponding to the target limitation option, wherein the limitation operation is used for prohibiting a first target object from being displayed or prohibiting the first target object from being operated. The embodiment of the invention can improve the safety of the terminal equipment.

Description

一种对象限制方法及终端设备Object restriction method and terminal device

技术领域technical field

本发明涉及通信技术领域,尤其涉及一种对象限制方法及终端设备。The present invention relates to the field of communication technologies, and in particular, to an object restriction method and a terminal device.

背景技术Background technique

当前终端设备可以实现的功能越来越多,因此用户也越来越多通过终端设备处理业务,因此终端设备中存储了用户较多的个人信息,例如:用户的照片和信息等。在实际运用中,当用户将终端设备借给其他用户时,由于终端设备的限制权限为固定不变的,则其他用户也可以获取终端设备上存储的用户的个人信息,从而导致个人信息可能泄露。可见,当前终端设备的安全性较差。Currently, a terminal device can implement more and more functions, so more and more users process services through the terminal device. Therefore, the terminal device stores more personal information of the user, such as photos and information of the user. In practice, when a user lends a terminal device to other users, other users can also obtain the user's personal information stored on the terminal device because the restricted authority of the terminal device is fixed, which may lead to personal information leakage. . It can be seen that the security of the current terminal device is poor.

发明内容SUMMARY OF THE INVENTION

本发明实施例提供一种对象限制方法及终端设备,以解决当前终端设备的安全性较差的问题。Embodiments of the present invention provide an object restriction method and a terminal device, so as to solve the problem of poor security of the current terminal device.

为了解决上述技术问题,本发明是这样实现的:In order to solve the above-mentioned technical problems, the present invention is achieved in this way:

第一方面,本发明实施例提供了一种对象限制方法,包括:In a first aspect, an embodiment of the present invention provides an object restriction method, including:

接收用户输入的第一输入,响应于所述第一输入显示至少一个限制选项;receiving a first input of user input, displaying at least one restriction option in response to the first input;

在所述至少一个限制选项中确定目标限制选项,并执行所述目标限制选项对应的限制操作,其中,所述限制操作用于禁止第一目标对象显示或者禁止对所述第一目标对象进行操作。A target restriction option is determined from the at least one restriction option, and a restriction operation corresponding to the target restriction option is performed, wherein the restriction operation is used to prohibit the display of the first target object or prohibit the operation of the first target object .

第二方面,本发明实施例还提供一种终端设备,包括:In a second aspect, an embodiment of the present invention further provides a terminal device, including:

接收模块,用于接收用户输入的第一输入,响应于所述第一输入显示至少一个限制选项;a receiving module, configured to receive a first input input by a user, and display at least one restriction option in response to the first input;

执行模块,用于在所述至少一个限制选项中确定目标限制选项,并执行所述目标限制选项对应的限制操作,其中,所述限制操作用于禁止第一目标对象显示或者禁止对所述第一目标对象进行操作。The execution module is configured to determine a target restriction option in the at least one restriction option, and execute a restriction operation corresponding to the target restriction option, wherein the restriction operation is used to prohibit the display of the first target object or prohibit the operate on a target object.

第三方面,本发明实施例还提供一种终端设备,包括:存储器、处理器及存储在所述存储器上并可在所述处理器上运行的计算机程序,所述处理器执行所述计算机程序时实现上述对象限制方法中的步骤。In a third aspect, an embodiment of the present invention further provides a terminal device, including: a memory, a processor, and a computer program stored on the memory and running on the processor, where the processor executes the computer program When implementing the steps in the object restriction method above.

在本发明实施例中,其他用户在使用终端设备时,终端设备只能执行目标限制选项对应的限制操作,从而减少了个人信息泄露的现象的发生,提高了终端设备的安全性。In the embodiment of the present invention, when other users use the terminal device, the terminal device can only perform the restriction operation corresponding to the target restriction option, thereby reducing the occurrence of personal information leakage and improving the security of the terminal device.

附图说明Description of drawings

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

图1是本发明实施例提供的一种对象限制方法的流程图;1 is a flowchart of a method for object restriction provided by an embodiment of the present invention;

图2是本发明实施例提供的另一种对象限制方法的流程图;2 is a flowchart of another object restriction method provided by an embodiment of the present invention;

图3是本发明实施例提供的举例图之一;FIG. 3 is one of the example diagrams provided by an embodiment of the present invention;

图4是本发明实施例提供的举例图之二;FIG. 4 is the second example diagram provided by the embodiment of the present invention;

图5是本发明实施例提供的举例图之三;FIG. 5 is the third example diagram provided by the embodiment of the present invention;

图6是本发明实施例提供的举例图之四;FIG. 6 is the fourth example diagram provided by the embodiment of the present invention;

图7是本发明实施例提供的一种终端设备的结构示意图;7 is a schematic structural diagram of a terminal device provided by an embodiment of the present invention;

图8是本发明实施例提供的另一种终端设备的结构示意图;8 is a schematic structural diagram of another terminal device provided by an embodiment of the present invention;

图9是本发明实施例提供的另一种终端设备的结构示意图;9 is a schematic structural diagram of another terminal device provided by an embodiment of the present invention;

图10是本发明实施例提供的另一种终端设备的结构示意图;10 is a schematic structural diagram of another terminal device provided by an embodiment of the present invention;

图11是本发明实施例提供的另一种终端设备的结构示意图。FIG. 11 is a schematic structural diagram of another terminal device provided by an embodiment of the present invention.

具体实施方式Detailed ways

下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, but not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of the present invention.

参见图1,图1是本发明实施例提供的一种对象限制方法的流程图,如图1所示,包括以下步骤:Referring to FIG. 1, FIG. 1 is a flowchart of an object restriction method provided by an embodiment of the present invention, as shown in FIG. 1, including the following steps:

步骤101、接收用户输入的第一输入,响应于所述第一输入显示至少一个限制选项。Step 101: Receive a first input input by a user, and display at least one restriction option in response to the first input.

其中,用户输入的第一输入的方式在此不做限定,例如:第一输入可以为双指滑动操作,滑动方向可以为从终端设备的显示屏的右侧往左侧滑动。当然,第一输入还可以为语音输入。The manner of the first input input by the user is not limited herein. For example, the first input may be a two-finger sliding operation, and the sliding direction may be sliding from the right side to the left side of the display screen of the terminal device. Of course, the first input may also be a voice input.

其中,至少一个限制选项的显示方式在此也不做限定,例如:至少一个限制选项可以通过列表的方式显示在显示屏上,具体显示位置可以为显示屏的中间位置。The display manner of the at least one restriction option is also not limited here. For example, the at least one restriction option may be displayed on the display screen in a list manner, and the specific display position may be the middle position of the display screen.

步骤102、在所述至少一个限制选项中确定目标限制选项,并执行所述目标限制选项对应的限制操作,其中,所述限制操作用于禁止第一目标对象显示或者禁止对所述第一目标对象进行操作。Step 102: Determine a target restriction option in the at least one restriction option, and execute a restriction operation corresponding to the target restriction option, wherein the restriction operation is used to prohibit the display of the first target object or prohibit the first target from being displayed. object to operate.

其中,第一目标对象可以为部分应用程序,也可以为某一应用程序的部分界面,当然,第一目标对象还可以为某一应用程序的部分功能控件。Wherein, the first target object may be a part of an application program, or a part of the interface of a certain application program, and of course, the first target object may also be a part of functional controls of a certain application program.

例如:当目标限制选项为第一限制选项时,第一目标对象可以为目标应用程序,则当用户在多个限制选项中确定第一限制选项时,此时终端设备可以只允许目标应用程序的显示界面显示,而除目标应用程序之外的其他应用程序的显示界面不能显示。这样,当将终端设备借给其他用户时,其他用户只能获取到目标应用程序的显示界面上的显示内容,减少了其他用户获取其他应用程序的显示内容,从而可能导致用户的个人信息被泄露的现象的发生。提高了终端设备的安全性。For example: when the target restriction option is the first restriction option, the first target object may be the target application, then when the user determines the first restriction option among multiple restriction options, the terminal device may only allow the target application The display interface is displayed, but the display interface of other applications other than the target application cannot be displayed. In this way, when the terminal device is lent to other users, the other users can only obtain the display content on the display interface of the target application, which reduces the acquisition of the display content of other applications by other users, which may lead to the leakage of the user's personal information phenomenon occurs. The security of terminal equipment is improved.

另外,当终端设备接收到其他用户输入的控制指令,可以显示用于提示禁止操作的提示信息和密码验证输入框,若用户在密码验证输入框中输入的密码验证成功,则可以显示除目标应用程序之外的应用程序的显示界面。其中,控制指令用于控制除目标应用程序之外的应用程序的显示界面显示的控制指令。这样,可以使得终端设备的灵活性更好。In addition, when the terminal device receives a control command input by other users, it can display a prompt message for prompting prohibited operations and a password verification input box. The display interface of the application outside the program. Wherein, the control instruction is used to control the control instruction displayed on the display interface of the application program other than the target application program. In this way, the flexibility of the terminal device can be improved.

另外,作为一种可选的实施方式,在所述至少一个限制选项中确定目标限制选项,并执行所述目标限制选项对应的限制操作之后,若终端设备处于锁屏状态,且接收到用于控制终端设备解锁的输入指令后,则可以不执行目标限制选项对应的限制操作。即不对第一目标对象执行限制操作。这样,用户即可以通过对终端设备锁屏之后,并完成对终端设备的解锁,从而解除终端设备执行目标限制选项对应的限制操作。可见,解除终端设备执行目标限制选项对应的限制操作方便且快捷。In addition, as an optional implementation manner, after a target restriction option is determined in the at least one restriction option, and a restriction operation corresponding to the target restriction option is performed, if the terminal device is in a locked screen state and receives a message for After the input instruction for controlling the unlocking of the terminal device, the restriction operation corresponding to the target restriction option may not be performed. That is, the restriction operation is not performed on the first target object. In this way, the user can unlock the terminal device after locking the screen of the terminal device, thereby releasing the restriction operation corresponding to the target restriction option performed by the terminal device. It can be seen that the operation of releasing the restriction corresponding to the execution target restriction option of the terminal device is convenient and fast.

本发明实施例中,上述终端设备可以是手机、平板电脑(Tablet PersonalComputer)、膝上型电脑(Laptop Computer)、个人数字助理(Personal DigitalAssistant,简称PDA)、移动上网装置(Mobile Internet Device,MID)或可穿戴式设备(Wearable Device)等等。In the embodiment of the present invention, the above-mentioned terminal device may be a mobile phone, a tablet computer (Tablet PersonalComputer), a laptop computer (Laptop Computer), a personal digital assistant (Personal DigitalAssistant, PDA for short), a mobile Internet Device (Mobile Internet Device, MID) Or wearable devices (Wearable Device) and so on.

在本发明实施例中,其他用户在使用终端设备时,终端设备只能执行目标限制选项对应的限制操作,从而减少了个人信息泄露的现象的发生,提高了终端设备的安全性。In the embodiment of the present invention, when other users use the terminal device, the terminal device can only perform the restriction operation corresponding to the target restriction option, thereby reducing the occurrence of personal information leakage and improving the security of the terminal device.

参见图2,图2是本发明实施例提供的另一种对象限制方法的流程图。本实施例与上个实施例的主要区别在于:至少一个限制选项包括如下至少一项:当前界面限制选项、当前应用程序限制选项、应用自定义限制选项和应用功能限制选项。如图2所示,包括以下步骤:Referring to FIG. 2, FIG. 2 is a flowchart of another object restriction method provided by an embodiment of the present invention. The main difference between this embodiment and the previous embodiment is that the at least one restriction option includes at least one of the following: a current interface restriction option, a current application restriction option, an application custom restriction option, and an application function restriction option. As shown in Figure 2, it includes the following steps:

步骤201、接收用户输入的第一输入,响应于所述第一输入显示至少一个限制选项,其中,所述至少一个限制选项包括如下至少一项:当前界面限制选项、当前应用程序限制选项、应用自定义限制选项和应用功能限制选项。Step 201: Receive a first input input by a user, and display at least one restriction option in response to the first input, wherein the at least one restriction option includes at least one of the following: current interface restriction option, current application restriction option, application restriction option Custom restriction options and app feature restriction options.

其中,用户输入的第一输入的方式在此不做限定,例如:第一输入可以为双指滑动操作,滑动方向可以为从终端设备的显示屏的右侧往左侧滑动。当然,第一输入还可以为语音输入。The manner of the first input input by the user is not limited herein. For example, the first input may be a two-finger sliding operation, and the sliding direction may be sliding from the right side to the left side of the display screen of the terminal device. Of course, the first input may also be a voice input.

其中,每一个限制选项可以对应一个状态值,例如:当前界面限制选项对应的状态值可以为1,当前应用程序限制选项对应的状态值可以为2,应用自定义限制选项对应的状态值可以为3,以及应用功能限制选项对应的状态值可以为4,这样,当需要显示当前界面限制选项和当前应用程序限制选项时,终端设备可以查找状态值1和2,并显示状态值1和2分别对应的限制选项。从而使得终端显示限制选项更加方便。需要说明的是,当终端设备不需要执行限制选项对应的限制操作时,终端设备此时对应的状态值可以为0。Wherein, each restriction option may correspond to a status value, for example, the status value corresponding to the current interface restriction option may be 1, the status value corresponding to the current application restriction option may be 2, and the status value corresponding to the application custom restriction option may be 3, and the status value corresponding to the application function restriction option can be 4. In this way, when the current interface restriction option and the current application restriction option need to be displayed, the terminal device can find the status values 1 and 2, and display the status values 1 and 2 respectively. the corresponding limit option. This makes it more convenient for the terminal to display restricted options. It should be noted that when the terminal device does not need to perform the restriction operation corresponding to the restriction option, the state value corresponding to the terminal device at this time may be 0.

可选的,所述接收用户输入的第一输入,响应于所述第一输入显示至少一个限制选项,包括:Optionally, the receiving the first input input by the user, and displaying at least one restriction option in response to the first input, including:

在当前显示界面为桌面的情况下,接收用户输入的第一输入,响应于所述第一输入显示所述应用自定义限制选项和所述应用功能限制选项;In the case where the current display interface is a desktop, receiving a first input input by the user, and displaying the application custom restriction option and the application function restriction option in response to the first input;

在当前显示界面为应用程序界面的情况下,接收用户输入的第一输入,响应于所述第一输入显示所述当前界面限制选项、所述当前应用程序限制选项、所述应用自定义限制选项和所述应用功能限制选项。In the case where the currently displayed interface is an application program interface, a first input input by a user is received, and the current interface restriction option, the current application program restriction option, and the application custom restriction option are displayed in response to the first input and the app feature restriction options.

例如:参见图3,若当前显示界面为桌面时,接收用户的滑动操作,从而可以根据检测到的滑动操作显示应用自定义限制选项和应用功能限制选项(参见图4)。若当前界面为应用程序界面时,接收用户的按压操作或者滑动操作,从而可以显示当前界面限制选项、当前应用程序限制选项、应用自定义限制选项和应用功能限制选项(参见图5)。For example, referring to FIG. 3 , if the currently displayed interface is a desktop, a user's sliding operation is received, so that application custom restriction options and application function restriction options can be displayed according to the detected sliding operation (refer to FIG. 4 ). If the current interface is an application program interface, the user's pressing operation or sliding operation is received, so that the current interface restriction options, the current application restriction options, the application custom restriction options and the application function restriction options can be displayed (see FIG. 5 ).

其中,桌面为显示有多个应用程序的标识的界面。而若当前界面为某一应用程序的显示界面,用户可以通过选择当前界面限制选项,从而可以控制只显示当前界面的内容,用户选择当前应用程序限制选项,从而可以控制终端设备只显示前台运行程序的显示界面的内容。The desktop is an interface that displays logos of multiple applications. However, if the current interface is the display interface of an application, the user can select the current interface restriction option to control only the content of the current interface to be displayed, and the user can select the current application restriction option to control the terminal device to only display the foreground running program content of the display interface.

本实施方式中,当前界面为桌面时,可以只显示当前界面限制选项和当前应用程序限制选项,而当前界面为应用程序界面时,显示当前界面限制选项、当前应用程序限制选项、应用自定义限制选项和应用功能限制选项,这样,由于当前界面的不同,从而相应的显示方式也不同,从而可以提高终端设备的灵活性。In this embodiment, when the current interface is the desktop, only the current interface restriction options and the current application restriction options may be displayed, and when the current interface is the application program interface, the current interface restriction options, the current application restriction options, and the application custom restriction are displayed. Options and application functions limit options, so that due to different current interfaces, corresponding display modes are also different, so that the flexibility of the terminal device can be improved.

步骤202、在所述至少一个限制选项中确定目标限制选项,并执行所述目标限制选项对应的限制操作,其中,所述限制操作用于禁止第一目标对象显示或者禁止对所述第一目标对象进行操作。Step 202: Determine a target restriction option in the at least one restriction option, and execute a restriction operation corresponding to the target restriction option, wherein the restriction operation is used to prohibit the display of the first target object or prohibit the first target from being displayed. object to operate.

其中,针对包括多个显示屏的终端设备,只对显示有上述目标限制选项的显示屏执行目标限制选项对应的限制操作。未显示有目标限制选项的其他显示屏不执行目标限制选项对应的限制操作。Wherein, for a terminal device including multiple display screens, the restriction operation corresponding to the target restriction option is performed only on the display screen displaying the above-mentioned target restriction option. Other displays that do not display the target restriction option do not perform the restriction operation corresponding to the target restriction option.

其中,在所述目标限制选项为所述当前界面限制选项的情况下,所述第一目标对象为除当前界面之外的界面。Wherein, when the target restriction option is the current interface restriction option, the first target object is an interface other than the current interface.

当目标限制选项为当前界面限制选项时,当前界面限制选项对应的限制操作可以为禁止除当前界面之外的界面(即第一目标对象)显示或者禁止对除当前界面之外的界面(即第一目标对象)进行相应操作。也可以理解为:只允许当前界面显示,除当前界面之外的界面(即第一目标对象)不允许显示,或者,只允许对当前界面执行相应操作,不允许对除当前界面之外的界面(即第一目标对象)进行相应操作。例如:终端设备只显示当前界面,若终端设备接收到用户的输入指令,也不显示除当前界面之外的其他界面。上述相应操作(即允许对当前界面执行的操作,或者禁止对除当前界面之外的界面进行的操作)在此不做限定,例如:相应操作可以为复制显示界面上的内容或者编辑显示界面上的内容。When the target restriction option is the current interface restriction option, the restriction operation corresponding to the current interface restriction option may be prohibiting the display of interfaces other than the current interface (that is, the first target object) or prohibiting the display of interfaces other than the current interface (that is, the first target object). a target object) to perform corresponding operations. It can also be understood as: only the current interface is allowed to be displayed, and interfaces other than the current interface (ie, the first target object) are not allowed to be displayed, or, only the current interface is allowed to perform corresponding operations, and interfaces other than the current interface are not allowed to be displayed. (ie the first target object) to perform corresponding operations. For example, the terminal device only displays the current interface, and if the terminal device receives an input command from the user, it does not display other interfaces except the current interface. The above corresponding operations (that is, operations that are allowed to be performed on the current interface, or operations that are prohibited to be performed on interfaces other than the current interface) are not limited here. For example, the corresponding operations can be copying the content on the display interface or editing the display interface. Content.

其中,在所述目标限制选项为所述当前应用程序限制选项的情况下,所述第一目标对象为除前台运行的应用程序之外的应用程序的界面。Wherein, when the target restriction option is the current application restriction option, the first target object is an interface of an application program other than the application program running in the foreground.

当目标限制选项为当前应用程序限制选项时,当前应用程序限制选项对应的限制操作可以为除前台运行的应用程序之外的应用程序的界面(即第一目标对象)禁止显示,或者禁止对除前台运行的应用程序之外的应用程序的界面(即第一目标对象)进行相应操作,也可以理解为:只允许前台运行的应用程序界面显示,而除前台运行的应用程序界面之外的应用程序的界面不允许显示,或者,只允许对前台运行的应用程序界面进行相应操作,而不允许对除前台运行的应用程序界面之外的应用程序的界面(即第一目标对象)进行相应操作。例如:终端设备当前显示A应用程序的显示界面,而即使终端设备接收到用于控制其他应用程序的显示界面显示的指令时,其他应用程序的显示界面也不显示。上述其他应用程序为除A应用程序之外的应用程序。上述相应操作(允许对前台运行的应用程序界面进行的操作,或者不允许对第一目标对象进行的操作)在此不做限定,例如:相应操作可以为复制显示界面上的内容或者编辑显示界面上的内容。When the target restriction option is the current application restriction option, the restriction operation corresponding to the current application restriction option may be to prohibit the display of the interface (ie the first target object) of the application except the application running in the foreground, or to prohibit the display of the interface of the application other than the application running in the foreground (that is, the first target object). The interface of the application program other than the application program running in the foreground (that is, the first target object) performs corresponding operations, which can also be understood as: only the application program interface running in the foreground is allowed to display, and the application program other than the application program interface running in the foreground is allowed to display. The interface of the program is not allowed to be displayed, or it is only allowed to perform corresponding operations on the application program interface running in the foreground, and does not allow corresponding operations on the application program interface (ie, the first target object) other than the application program interface running in the foreground. . For example, the terminal device currently displays the display interface of the A application, but even when the terminal device receives an instruction for controlling the display of the display interface of other applications, the display interfaces of other applications are not displayed. The other applications mentioned above are applications other than the A application. The above-mentioned corresponding operations (operations that are allowed to be performed on the application program interface running in the foreground, or operations that are not allowed to be performed on the first target object) are not limited here. For example, the corresponding operations can be copying the content on the display interface or editing the display interface. content on.

本实施方式中,目标限制选项可以为当前界面限制选项,也可以为当前应用程序限制选项,而当前界面限制选项与当前应用程序限制选项对应的显示操作也不相同,这样,可以通过选择当前界面限制选项或者当前应用程序限制选项,可以选择不同的限制操作,从而提高了灵活性。In this implementation manner, the target restriction option may be the current interface restriction option or the current application restriction option, and the display operations corresponding to the current interface restriction option and the current application restriction option are also different. Restriction Options, or Current Application Restriction Options, allows you to select different restriction actions for increased flexibility.

可选的,在所述目标限制选项为所述应用自定义限制选项的情况下,所述在所述至少一个限制选项中确定目标限制选项,并执行所述目标限制选项对应的限制操作,包括:Optionally, when the target restriction option is the application-defined restriction option, the target restriction option is determined from the at least one restriction option, and a restriction operation corresponding to the target restriction option is performed, including: :

在所述至少一个限制选项中确定所述应用自定义限制选项,并显示自定义限制设置界面,所述自定义限制设置界面上显示有应用程序的选项信息;Determining the application-defined restriction option in the at least one restriction option, and displaying a user-defined restriction setting interface, where option information of the application is displayed on the user-defined restriction setting interface;

接收用户针对所述选项信息输入的第二输入,响应于所述第二输入确定第二目标对象,所述第二目标对象为除所述第一目标对象之外的对象;receiving a second input input by the user for the option information, and determining a second target object in response to the second input, where the second target object is an object other than the first target object;

执行所述应用自定义限制选项对应的限制操作,所述限制操作用于禁止所述第一目标对象显示,或者所述限制操作用于将所述第一目标对象设置为允许显示的对象,并禁止所述第二目标对象显示;Execute a restriction operation corresponding to the application custom restriction option, where the restriction operation is used to prohibit the display of the first target object, or the restriction operation is used to set the first target object as an object that is allowed to be displayed, and prohibiting the display of the second target object;

其中,所述第一目标对象包括至少一个第一应用程序,或者至少一个第一应用程序的第一界面;或者Wherein, the first target object includes at least one first application, or a first interface of at least one first application; or

所述第二目标对象包括至少一个第二应用程序,或者至少一个第二应用程序的第二界面。The second target object includes at least one second application, or a second interface of at least one second application.

其中,第二输入的类型也在此不做限定,具体可以参见第一输入的表述。The type of the second input is also not limited here, and for details, please refer to the description of the first input.

其中,自定义限制设置界面上显示的应用程序的选项信息可以包括:应用程序的标识和选择项等。例如:参见图6,包括每一应用程序的图标(图6中的矩形框)、选择圆圈以及选择箭头,其中,当选择圆圈选中,则可以表示对应的应用程序被选中,而每一选择箭头则可以选择对应的应用程序的目标界面。Wherein, the option information of the application displayed on the custom restriction setting interface may include: the identification of the application, selection items, and the like. For example, referring to Fig. 6, it includes an icon of each application (the rectangular box in Fig. 6), a selection circle and a selection arrow, wherein, when the selection circle is selected, it can indicate that the corresponding application is selected, and each selection arrow Then you can select the target interface of the corresponding application.

其中,第一应用程序的第一界面也可以称作为第一应用程序的N级界面,例如:终端设备运行第一应用程序(第一应用程序为视频应用程序),终端设备上首先显示的主页面即为第一应用程序的一级界面,第一应用程序的影库界面即为第一应用程序的二级界面。The first interface of the first application may also be referred to as the N-level interface of the first application. For example, when the terminal device runs the first application (the first application is a video application), the home page first displayed on the terminal device The interface is the first-level interface of the first application, and the shadow library interface of the first application is the second-level interface of the first application.

若第一目标对象为第一应用程序的一级界面,限制操作用于将第一目标对象设置为允许显示的对象,并禁止第二目标对象显示,则当接收到控制通过第一应用程序的一级界面的入口进入二级界面的指令时,终端设备也不显示二级界面。If the first target object is the first-level interface of the first application program, and the restriction operation is used to set the first target object as an object that is allowed to be displayed, and prohibit the display of the second target object, when receiving the control through the first application program When the entry of the first-level interface enters the instruction of the second-level interface, the terminal device does not display the second-level interface.

若第一目标对象为第一应用程序的一级界面,限制操作用于禁止第一目标对象显示,则当接到控制跳转至一级界面的指令时,终端设备也不显示一级界面。If the first target object is the first-level interface of the first application, and the restriction operation is used to prohibit the display of the first target object, the terminal device does not display the first-level interface when receiving an instruction to control jumping to the first-level interface.

同理,第二应用程序的第二界面也可以参照第一应用程序的目标界面的表述,在此不再赘述。Similarly, for the second interface of the second application program, reference may also be made to the description of the target interface of the first application program, which will not be repeated here.

本实施方式中,通过选择应用自定义限制选项,从而可以限定应用程序或者某一应用程序的某一界面显示,这样,同样可以提高灵活性。In this implementation manner, by selecting an application custom restriction option, an application program or a certain interface display of a certain application program can be limited, and thus flexibility can also be improved.

可选的,所述目标限制选项为应用功能限制选项的情况下,所述在所述至少一个限制选项中确定目标限制选项,并执行所述目标限制选项对应的限制操作,包括:Optionally, when the target restriction option is an application function restriction option, determining a target restriction option in the at least one restriction option, and performing a restriction operation corresponding to the target restriction option, including:

在所述至少一个限制选项中确定所述应用功能限制选项,并显示功能界面,所述功能界面上显示有功能选项;determining the application function restriction option in the at least one restriction option, and displaying a function interface, where the function options are displayed;

接收用户针对所述功能选项输入的第三输入,响应于所述第三输入确定第二目标对象,所述第二目标对象为除所述第一目标对象之外的对象;receiving a third input input by the user for the function option, and determining a second target object in response to the third input, where the second target object is an object other than the first target object;

执行所述应用功能限制选项对应的限制操作;Execute the restriction operation corresponding to the application function restriction option;

其中,所述限制操作用于禁止对所述第一目标对象操作,或者所述限制操作用于将所述第一目标对象设置为允许操作的对象,并禁止对所述第二目标对象进行操作,所述第一目标对象包括至少一个第一功能控件,所述第二目标对象包括至少一个第二功能控件;或者,Wherein, the restricting operation is used to prohibit the operation on the first target object, or the restricting operation is used to set the first target object as an object that allows operation, and prohibit the operation on the second target object , the first target object includes at least one first function control, and the second target object includes at least one second function control; or,

所述限制操作用于禁止所述第一目标对象显示,或者所述限制操作用于将所述第一目标对象设置为允许显示的对象,并禁止所述第二目标对象显示,所述第一目标对象包括至少一个第一功能控件对应的显示子界面,所述第二目标对象包括至少一个第二功能控件对应的显示子界面。The restricting operation is used to prohibit the display of the first target object, or the restricting operation is used to set the first target object as an object allowed to be displayed, and prohibit the display of the second target object, and the first target object is prohibited from being displayed. The target object includes a display sub-interface corresponding to at least one first function control, and the second target object includes a display sub-interface corresponding to at least one second function control.

其中,第三输入的类型在此也不做限定,具体可以参见第一输入的表述。The type of the third input is also not limited here, and for details, please refer to the description of the first input.

其中,第一功能控件和第二功能控件均可以为同一个应用程序的不同功能控件。例如:上述应用程序可以为一个社交应用程序,则第一功能控件可以为社交圈控件,而第二功能控件可以为支付控件。Wherein, both the first functional control and the second functional control may be different functional controls of the same application. For example, the above application may be a social application, the first functional control may be a social circle control, and the second functional control may be a payment control.

另外,当显示功能界面时,同时在功能界面上还可以显示有第一功能列表或者第二功能列表,第一功能列表中可以包括多个第一功能控件,第二功能列表中可以包括多个第二功能控件。例如:当接收到用户针对第一功能列表中的某一个第一功能控件的触控操作时,可以将该第一功能控件移出第一功能列表。同理,当接收到用户针对第二功能列表中的某一个第二功能控件的触控操作时,可以将该第二功能控件移出第二功能列表。In addition, when the function interface is displayed, a first function list or a second function list may also be displayed on the function interface at the same time, the first function list may include multiple first function controls, and the second function list may include multiple The second function control. For example, when a user touch operation on a certain first function control in the first function list is received, the first function control can be removed from the first function list. Similarly, when a user touch operation on a certain second function control in the second function list is received, the second function control can be removed from the second function list.

另外,上述第一功能列表或者第二功能列表均可以隐藏。In addition, either the above-mentioned first function list or the second function list may be hidden.

本实施方式中,通过应用功能限制选项可以禁止对部分功能控件进行操作,或者禁止部分功能控件对应的显示子界面显示,同样可以提高终端设备的灵活性。In this embodiment, the operation of some function controls can be prohibited by applying the function restriction option, or the display of the display sub-interface corresponding to some function controls can be prohibited, which can also improve the flexibility of the terminal device.

本发明实施例中,通过步骤201和202,由于至少一个限制选项包括如下至少一项:当前界面限制选项、当前应用程序限制选项、应用自定义限制选项和应用功能限制选项,这样,可以根据具体情况选择上述限制选项中的一个,从而使得终端的灵活性更好,同样,也可以提高终端设备的安全性。In this embodiment of the present invention, through steps 201 and 202, since at least one restriction option includes at least one of the following: a current interface restriction option, a current application restriction option, an application custom restriction option, and an application function restriction option. One of the above restriction options is selected according to the situation, so that the flexibility of the terminal is better, and similarly, the security of the terminal device can also be improved.

参见图7,图7是本发明实施例提供的终端设备的结构图,能实现上述实施例中对象限制方法的细节,并达到相同的效果。如图7所示,终端设备700包括:Referring to FIG. 7 , FIG. 7 is a structural diagram of a terminal device provided by an embodiment of the present invention, which can implement the details of the object restriction method in the foregoing embodiment, and achieve the same effect. As shown in FIG. 7, the terminal device 700 includes:

接收模块701,用于接收用户输入的第一输入,响应于所述第一输入显示至少一个限制选项;a receiving module 701, configured to receive a first input input by a user, and display at least one restriction option in response to the first input;

执行模块702,用于在所述至少一个限制选项中确定目标限制选项,并执行所述目标限制选项对应的限制操作,其中,所述限制操作用于禁止第一目标对象显示或者禁止对所述第一目标对象进行操作。The execution module 702 is configured to determine a target restriction option in the at least one restriction option, and execute a restriction operation corresponding to the target restriction option, wherein the restriction operation is used to prohibit the display of the first target object or prohibit the The first target object operates.

可选的,所述至少一个限制选项包括如下至少一项:Optionally, the at least one restriction option includes at least one of the following:

当前界面限制选项、当前应用程序限制选项、应用自定义限制选项和应用功能限制选项。Current interface restriction options, current application restriction options, application custom restriction options, and application function restriction options.

可选的,在所述目标限制选项为所述当前界面限制选项的情况下,所述第一目标对象为除当前界面之外的界面;或者,Optionally, when the target restriction option is the current interface restriction option, the first target object is an interface other than the current interface; or,

在所述目标限制选项为所述当前应用程序限制选项的情况下,所述第一目标对象为除前台运行的应用程序之外的应用程序的界面。When the target restriction option is the current application restriction option, the first target object is an interface of an application program other than the application program running in the foreground.

可选的,参见图8,在所述目标限制选项为所述应用自定义限制选项的情况下,所述执行模块702包括:Optionally, referring to FIG. 8 , in the case that the target restriction option is the application-defined restriction option, the execution module 702 includes:

第一显示子模块7021,用于在所述至少一个限制选项中确定所述应用自定义限制选项,并显示自定义限制设置界面,所述自定义限制设置界面上显示有应用程序的选项信息;a first display sub-module 7021, configured to determine the application custom restriction option in the at least one restriction option, and display a custom restriction setting interface, where option information of the application is displayed on the custom restriction setting interface;

第一确定子模块7022,用于接收用户针对所述选项信息输入的第二输入,响应于所述第二输入确定第二目标对象,所述第二目标对象为除所述第一目标对象之外的对象;The first determination sub-module 7022 is configured to receive a second input input by the user for the option information, and determine a second target object in response to the second input, where the second target object is other than the first target object. external object;

第一执行子模块7023,用于执行所述应用自定义限制选项对应的限制操作,所述限制操作用于禁止所述第一目标对象显示,或者所述限制操作用于将所述第一目标对象设置为允许显示的对象,并禁止所述第二目标对象显示;The first execution sub-module 7023 is configured to execute the restriction operation corresponding to the application custom restriction option, where the restriction operation is used to prohibit the display of the first target object, or the restriction operation is used to restrict the first target object to be displayed. The object is set as an object that is allowed to be displayed, and the display of the second target object is prohibited;

其中,所述第一目标对象包括至少一个第一应用程序,或者至少一个第一应用程序的第一界面;或者Wherein, the first target object includes at least one first application, or a first interface of at least one first application; or

所述第二目标对象包括至少一个第二应用程序,或者至少一个第二应用程序的第二界面。The second target object includes at least one second application, or a second interface of at least one second application.

可选的,参见图9,所述目标限制选项为应用功能限制选项的情况下,所述执行模块702包括:Optionally, referring to FIG. 9 , when the target restriction option is an application function restriction option, the execution module 702 includes:

第二显示子模块7024,用于在所述至少一个限制选项中确定所述应用功能限制选项,并显示功能界面,所述功能界面上显示有功能选项;A second display sub-module 7024, configured to determine the application function restriction option in the at least one restriction option, and display a function interface, where the function options are displayed;

第二确定子模块7025,用于接收用户针对所述功能选项输入的第三输入,响应于所述第三输入确定第二目标对象,所述第二目标对象为除所述第一目标对象之外的对象;The second determination sub-module 7025 is configured to receive a third input input by the user for the function option, and determine a second target object in response to the third input, where the second target object is other than the first target object external object;

第二执行子模块7026,用于执行所述应用功能限制选项对应的限制操作;The second execution sub-module 7026 is configured to execute the restriction operation corresponding to the application function restriction option;

其中,所述限制操作用于禁止对所述第一目标对象操作,或者所述限制操作用于将所述第一目标对象设置为允许操作的对象,并禁止对所述第二目标对象进行操作,所述第一目标对象包括至少一个第一功能控件,所述第二目标对象包括至少一个第二功能控件;或者,Wherein, the restricting operation is used to prohibit the operation on the first target object, or the restricting operation is used to set the first target object as an object that allows operation, and prohibit the operation on the second target object , the first target object includes at least one first function control, and the second target object includes at least one second function control; or,

所述限制操作用于禁止所述第一目标对象显示,或者所述限制操作用于将所述第一目标对象设置为允许显示的对象,并禁止所述第二目标对象显示,所述第一目标对象包括至少一个第一功能控件对应的显示子界面,所述第二目标对象包括至少一个第二功能控件对应的显示子界面。The restricting operation is used to prohibit the display of the first target object, or the restricting operation is used to set the first target object as an object allowed to be displayed, and prohibit the display of the second target object, and the first target object is prohibited from being displayed. The target object includes a display sub-interface corresponding to at least one first function control, and the second target object includes a display sub-interface corresponding to at least one second function control.

可选的,参见图10,所述接收模块701包括:Optionally, referring to FIG. 10 , the receiving module 701 includes:

第一响应子模块7011,用于在当前显示界面为桌面的情况下,接收用户输入的第一输入,响应于所述第一输入显示所述应用自定义限制选项和所述应用功能限制选项;A first response sub-module 7011, configured to receive a first input input by a user when the current display interface is a desktop, and display the application custom restriction option and the application function restriction option in response to the first input;

第二响应子模块7012,用于在当前显示界面为应用程序界面的情况下,接收用户输入的第一输入,响应于所述第一输入显示所述当前界面限制选项、所述当前应用程序限制选项、所述应用自定义限制选项和所述应用功能限制选项。The second response sub-module 7012 is configured to receive a first input input by a user when the currently displayed interface is an application program interface, and display the current interface restriction option and the current application program restriction in response to the first input options, the application custom restriction options, and the application function restriction options.

本发明实施例提供的终端设备能够实现图1至图2的方法实施例中终端设备实现的各个过程,为避免重复,这里不再赘述。本发明实施例同样可以提高终端设备的安全性。The terminal device provided in the embodiment of the present invention can implement each process implemented by the terminal device in the method embodiments of FIG. 1 to FIG. 2 , and to avoid repetition, details are not described here. The embodiments of the present invention can also improve the security of the terminal device.

图11为实现本发明各个实施例的一种终端设备的硬件结构示意图。FIG. 11 is a schematic diagram of a hardware structure of a terminal device implementing various embodiments of the present invention.

该终端设备1100包括但不限于:射频单元1101、网络模块1102、音频输出单元1103、输入单元1104、传感器1105、显示单元1106、用户输入单元1107、接口单元1108、存储器1109、处理器1110、以及电源1111等部件。本领域技术人员可以理解,图11中示出的终端设备结构并不构成对终端设备的限定,终端设备可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。在本发明实施例中,终端设备包括但不限于手机、平板电脑、笔记本电脑、掌上电脑、车载终端、可穿戴设备、以及计步器等。The terminal device 1100 includes but is not limited to: a radio frequency unit 1101, a network module 1102, an audio output unit 1103, an input unit 1104, a sensor 1105, a display unit 1106, a user input unit 1107, an interface unit 1108, a memory 1109, a processor 1110, and Power 1111 and other components. Those skilled in the art can understand that the structure of the terminal device shown in FIG. 11 does not constitute a limitation on the terminal device, and the terminal device may include more or less components than the one shown, or combine some components, or different components layout. In the embodiment of the present invention, the terminal device includes but is not limited to a mobile phone, a tablet computer, a notebook computer, a palmtop computer, a vehicle-mounted terminal, a wearable device, a pedometer, and the like.

其中,输入单元1104用于接收用户输入的第一输入,显示单元1106用于响应于所述第一输入显示至少一个限制选项;Wherein, the input unit 1104 is configured to receive a first input input by the user, and the display unit 1106 is configured to display at least one restriction option in response to the first input;

处理器1110用于在所述至少一个限制选项中确定目标限制选项,并执行所述目标限制选项对应的限制操作,其中,所述限制操作用于禁止第一目标对象显示或者禁止对所述第一目标对象进行操作。The processor 1110 is configured to determine a target restriction option in the at least one restriction option, and execute a restriction operation corresponding to the target restriction option, wherein the restriction operation is used to prohibit the display of the first target object or the restriction to the first target object. operate on a target object.

可选的,所述至少一个限制选项包括如下至少一项:Optionally, the at least one restriction option includes at least one of the following:

当前界面限制选项、当前应用程序限制选项、应用自定义限制选项和应用功能限制选项。Current interface restriction options, current application restriction options, application custom restriction options, and application function restriction options.

可选的,在所述目标限制选项为所述当前界面限制选项的情况下,所述第一目标对象为除当前界面之外的界面;或者,Optionally, when the target restriction option is the current interface restriction option, the first target object is an interface other than the current interface; or,

在所述目标限制选项为所述当前应用程序限制选项的情况下,所述第一目标对象为除前台运行的应用程序之外的应用程序的界面。When the target restriction option is the current application restriction option, the first target object is an interface of an application program other than the application program running in the foreground.

可选的,在所述目标限制选项为所述应用自定义限制选项的情况下,处理器1110执行的所述在所述至少一个限制选项中确定目标限制选项,并执行所述目标限制选项对应的限制操作,包括:Optionally, in the case that the target restriction option is the application-defined restriction option, the processor 1110 executes the determining a target restriction option in the at least one restriction option, and executes the corresponding target restriction option. restricted operations, including:

在所述至少一个限制选项中确定所述应用自定义限制选项,并显示自定义限制设置界面,所述自定义限制设置界面上显示有应用程序的选项信息;Determining the application-defined restriction option in the at least one restriction option, and displaying a user-defined restriction setting interface, where option information of the application is displayed on the user-defined restriction setting interface;

接收用户针对所述选项信息输入的第二输入,响应于所述第二输入确定第二目标对象,所述第二目标对象为除所述第一目标对象之外的对象;receiving a second input input by the user for the option information, and determining a second target object in response to the second input, where the second target object is an object other than the first target object;

执行所述应用自定义限制选项对应的限制操作,所述限制操作用于禁止所述第一目标对象显示,或者所述限制操作用于将所述第一目标对象设置为允许显示的对象,并禁止所述第二目标对象显示;Execute a restriction operation corresponding to the application custom restriction option, where the restriction operation is used to prohibit the display of the first target object, or the restriction operation is used to set the first target object as an object that is allowed to be displayed, and prohibiting the display of the second target object;

其中,所述第一目标对象包括至少一个第一应用程序,或者至少一个第一应用程序的第一界面;或者Wherein, the first target object includes at least one first application, or a first interface of at least one first application; or

所述第二目标对象包括至少一个第二应用程序,或者至少一个第二应用程序的第二界面。The second target object includes at least one second application, or a second interface of at least one second application.

可选的,所述目标限制选项为应用功能限制选项的情况下,处理器1110执行的所述在所述至少一个限制选项中确定目标限制选项,并执行所述目标限制选项对应的限制操作,包括:Optionally, in the case where the target restriction option is an application function restriction option, the processor 1110 performs the determining a target restriction option in the at least one restriction option, and performs a restriction operation corresponding to the target restriction option, include:

在所述至少一个限制选项中确定所述应用功能限制选项,并显示功能界面,所述功能界面上显示有功能选项;determining the application function restriction option in the at least one restriction option, and displaying a function interface, where the function options are displayed;

接收用户针对所述功能选项输入的第三输入,响应于所述第三输入确定第二目标对象,所述第二目标对象为除所述第一目标对象之外的对象;receiving a third input input by the user for the function option, and determining a second target object in response to the third input, where the second target object is an object other than the first target object;

执行所述应用功能限制选项对应的限制操作;Execute the restriction operation corresponding to the application function restriction option;

其中,所述限制操作用于禁止对所述第一目标对象操作,或者所述限制操作用于将所述第一目标对象设置为允许操作的对象,并禁止对所述第二目标对象进行操作,所述第一目标对象包括至少一个第一功能控件,所述第二目标对象包括至少一个第二功能控件;或者,Wherein, the restricting operation is used to prohibit the operation on the first target object, or the restricting operation is used to set the first target object as an object that allows operation, and prohibit the operation on the second target object , the first target object includes at least one first function control, and the second target object includes at least one second function control; or,

所述限制操作用于禁止所述第一目标对象显示,或者所述限制操作用于将所述第一目标对象设置为允许显示的对象,并禁止所述第二目标对象显示,所述第一目标对象包括至少一个第一功能控件对应的显示子界面,所述第二目标对象包括至少一个第二功能控件对应的显示子界面。The restricting operation is used to prohibit the display of the first target object, or the restricting operation is used to set the first target object as an object allowed to be displayed, and prohibit the display of the second target object, and the first target object is prohibited from being displayed. The target object includes a display sub-interface corresponding to at least one first function control, and the second target object includes a display sub-interface corresponding to at least one second function control.

可选的,输入单元1104执行的接收用户输入的第一输入,显示单元1106执行的响应于所述第一输入显示至少一个限制选项,包括:Optionally, the input unit 1104 performs a first input of receiving user input, and the display unit 1106 displays at least one restriction option in response to the first input, including:

在当前显示界面为桌面的情况下,输入单元1104用于接收用户输入的第一输入,显示单元1106用于响应于所述第一输入显示所述应用自定义限制选项和所述应用功能限制选项;In the case where the current display interface is a desktop, the input unit 1104 is configured to receive a first input input by the user, and the display unit 1106 is configured to display the application custom restriction option and the application function restriction option in response to the first input ;

在当前显示界面为应用程序界面的情况下,输入单元1104接收用户输入的第一输入,显示单元1106响应于所述第一输入显示所述当前界面限制选项、所述当前应用程序限制选项、所述应用自定义限制选项和所述应用功能限制选项。In the case where the current display interface is an application program interface, the input unit 1104 receives a first input input by the user, and the display unit 1106 displays the current interface restriction options, the current application program restriction options, all the options in response to the first input. The application custom restriction options and the application function restriction options are described.

本发明实施例提供同样可以提高终端设备的安全性。The embodiments of the present invention can also improve the security of the terminal device.

应理解的是,本发明实施例中,射频单元1101可用于收发信息或通话过程中,信号的接收和发送,具体的,将来自基站的下行数据接收后,给处理器1110处理;另外,将上行的数据发送给基站。通常,射频单元1101包括但不限于天线、至少一个放大器、收发信机、耦合器、低噪声放大器、双工器等。此外,射频单元1101还可以通过无线通信系统与网络和其他设备通信。It should be understood that, in this embodiment of the present invention, the radio frequency unit 1101 may be used for receiving and sending signals during sending and receiving of information or during a call. Specifically, after receiving the downlink data from the base station, it is processed by the processor 1110; The uplink data is sent to the base station. Generally, the radio frequency unit 1101 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. In addition, the radio frequency unit 1101 can also communicate with the network and other devices through a wireless communication system.

终端设备通过网络模块1102为用户提供了无线的宽带互联网访问,如帮助用户收发电子邮件、浏览网页和访问流式媒体等。The terminal device provides the user with wireless broadband Internet access through the network module 1102, such as helping the user to send and receive emails, browse web pages, and access streaming media.

音频输出单元1103可以将射频单元1101或网络模块1102接收的或者在存储器1109中存储的音频数据转换成音频信号并且输出为声音。而且,音频输出单元1103还可以提供与终端设备1100执行的特定功能相关的音频输出(例如,呼叫信号接收声音、消息接收声音等等)。音频输出单元1103包括扬声器、蜂鸣器以及受话器等。The audio output unit 1103 may convert audio data received by the radio frequency unit 1101 or the network module 1102 or stored in the memory 1109 into audio signals and output as sound. Also, the audio output unit 1103 may also provide audio output related to a specific function performed by the terminal device 1100 (eg, call signal reception sound, message reception sound, etc.). The audio output unit 1103 includes a speaker, a buzzer, a receiver, and the like.

输入单元1104用于接收音频或视频信号。输入单元1104可以包括图形处理器(Graphics Processing Unit,GPU)11041和麦克风11042,图形处理器11041对在视频捕获模式或第一图像捕获模式中由第一图像捕获装置(如摄像头)获得的静态图片或视频的第一图像数据进行处理。处理后的第一图像帧可以显示在显示单元1106上。经图形处理器11041处理后的第一图像帧可以存储在存储器1109(或其它存储介质)中或者经由射频单元1101或网络模块1102进行发送。麦克风11042可以接收声音,并且能够将这样的声音处理为音频数据。处理后的音频数据可以在电话通话模式的情况下转换为可经由射频单元1101发送到移动通信基站的格式输出。The input unit 1104 is used to receive audio or video signals. The input unit 1104 may include a graphics processor (Graphics Processing Unit, GPU) 11041 and a microphone 11042, and the graphics processor 11041 is used for still pictures obtained by a first image capture device (such as a camera) in a video capture mode or a first image capture mode or the first image data of the video for processing. The processed first image frame may be displayed on the display unit 1106 . The first image frame processed by the graphics processor 11041 may be stored in the memory 1109 (or other storage medium) or transmitted via the radio frequency unit 1101 or the network module 1102 . The microphone 11042 can receive sound and can process such sound into audio data. The processed audio data can be converted into a format that can be transmitted to a mobile communication base station via the radio frequency unit 1101 for output in the case of a phone call mode.

终端设备1100还包括至少一种传感器1105,比如光传感器、运动传感器以及其他传感器。具体地,光传感器包括环境光传感器及接近传感器,其中,环境光传感器可根据环境光线的明暗来调节显示面板11061的亮度,接近传感器可在终端设备1100移动到耳边时,关闭显示面板11061和/或背光。作为运动传感器的一种,加速计传感器可检测各个方向上(一般为三轴)加速度的大小,静止时可检测出重力的大小及方向,可用于识别终端设备姿态(比如横竖屏切换、相关游戏、磁力计姿态校准)、振动识别相关功能(比如计步器、敲击)等;传感器1105还可以包括指纹传感器、压力传感器、虹膜传感器、分子传感器、陀螺仪、气压计、湿度计、温度计、红外线传感器等,在此不再赘述。The terminal device 1100 also includes at least one sensor 1105, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor and a proximity sensor, wherein the ambient light sensor can adjust the brightness of the display panel 11061 according to the brightness of the ambient light, and the proximity sensor can turn off the display panel 11061 and the proximity sensor when the terminal device 1100 is moved to the ear. / or backlight. As a type of motion sensor, the accelerometer sensor can detect the magnitude of acceleration in all directions (generally three axes), and can detect the magnitude and direction of gravity when stationary, and can be used to identify the posture of the terminal device (such as horizontal and vertical screen switching, related games , magnetometer attitude calibration), vibration recognition related functions (such as pedometer, tapping), etc.; sensors 1105 may also include fingerprint sensors, pressure sensors, iris sensors, molecular sensors, gyroscopes, barometers, hygrometers, thermometers, Infrared sensors, etc., are not repeated here.

显示单元1106用于显示由用户输入的信息或提供给用户的信息。显示单元1106可包括显示面板11061,可以采用液晶显示器(Liquid Crystal Display,LCD)、有机发光二极管(Organic Light-Emitting Diode,OLED)等形式来配置显示面板11061。The display unit 1106 is used to display information input by the user or information provided to the user. The display unit 1106 may include a display panel 11061, and the display panel 11061 may be configured in the form of a liquid crystal display (LCD), an organic light-emitting diode (OLED), or the like.

用户输入单元1107可用于接收输入的数字或字符信息,以及产生与终端设备的用户设置以及功能控制有关的键信号输入。具体地,用户输入单元1107包括触控面板11071以及其他输入设备11072。触控面板11071,也称为触摸屏,可收集用户在其上或附近的触摸操作(比如用户使用手指、触笔等任何适合的物体或附件在触控面板11071上或在触控面板11071附近的操作)。触控面板11071可包括触摸检测装置和触摸控制器两个部分。其中,触摸检测装置检测用户的触摸方位,并检测触摸操作带来的信号,将信号传送给触摸控制器;触摸控制器从触摸检测装置上接收触摸信息,并将它转换成触点坐标,再送给处理器1110,接收处理器1110发来的命令并加以执行。此外,可以采用电阻式、电容式、红外线以及表面声波等多种类型实现触控面板11071。除了触控面板11071,用户输入单元1107还可以包括其他输入设备11072。具体地,其他输入设备11072可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆,在此不再赘述。The user input unit 1107 may be used to receive input numerical or character information, and generate key signal input related to user settings and function control of the terminal device. Specifically, the user input unit 1107 includes a touch panel 11071 and other input devices 11072 . The touch panel 11071, also known as the touch screen, can collect the user's touch operations on or near it (such as the user's finger, stylus, etc., any suitable object or attachment on or near the touch panel 11071). operate). The touch panel 11071 may include two parts, a touch detection device and a touch controller. Among them, the touch detection device detects the user's touch orientation, 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 then sends it to the touch controller. To the processor 1110, the command sent by the processor 1110 is received and executed. In addition, the touch panel 11071 can be realized by various types of resistive, capacitive, infrared, and surface acoustic waves. In addition to the touch panel 11071 , the user input unit 1107 may also include other input devices 11072 . Specifically, other input devices 11072 may include, but are not limited to, physical keyboards, function keys (such as volume control keys, switch keys, etc.), trackballs, mice, and joysticks, which will not be repeated here.

进一步的,触控面板11071可覆盖在显示面板11061上,当触控面板11071检测到在其上或附近的触摸操作后,传送给处理器1110以确定触摸事件的类型,随后处理器1110根据触摸事件的类型在显示面板11061上提供相应的视觉输出。虽然在图11中,触控面板11071与显示面板11061是作为两个独立的部件来实现终端设备的输入和输出功能,但是在某些实施例中,可以将触控面板11071与显示面板11061集成而实现终端设备的输入和输出功能,具体此处不做限定。Further, the touch panel 11071 can be overlaid on the display panel 11061. When the touch panel 11071 detects a touch operation on or near it, the touch panel 11071 transmits it to the processor 1110 to determine the type of the touch event, and then the processor 1110 determines the type of the touch event according to the touch The type of event provides a corresponding visual output on display panel 11061. Although in FIG. 11 , the touch panel 11071 and the display panel 11061 are used as two independent components to realize the input and output functions of the terminal device, but in some embodiments, the touch panel 11071 and the display panel 11061 can be integrated The input and output functions of the terminal device are implemented, which is not specifically limited here.

接口单元1108为外部装置与终端设备1100连接的接口。例如,外部装置可以包括有线或无线头戴式耳机端口、外部电源(或电池充电器)端口、有线或无线数据端口、存储卡端口、用于连接具有识别模块的装置的端口、音频输入/输出(I/O)端口、视频I/O端口、耳机端口等等。接口单元1108可以用于接收来自外部装置的输入(例如,数据信息、电力等等)并且将接收到的输入传输到终端设备1100内的一个或多个元件或者可以用于在终端设备1100和外部装置之间传输数据。The interface unit 1108 is an interface for connecting an external device to the terminal device 1100 . For example, external devices may include wired or wireless headset ports, external power (or battery charger) ports, wired or wireless data ports, memory card ports, ports for connecting devices with identification modules, audio input/output (I/O) ports, video I/O ports, headphone ports, and more. The interface unit 1108 may be used to receive input (eg, data information, power, etc.) from external devices and transmit the received input to one or more elements within the terminal device 1100 or may be used between the terminal device 1100 and external Transfer data between devices.

存储器1109可用于存储软件程序以及各种数据。存储器1109可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序(比如声音播放功能、第一图像播放功能等)等;存储数据区可存储根据手机的使用所创建的数据(比如音频数据、电话本等)等。此外,存储器1109可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。The memory 1109 may be used to store software programs as well as various data. The memory 1109 may mainly include a stored program area and a stored data area, wherein the stored program area may store an operating system, an application program required for at least one function (such as a sound playback function, a first image playback function, etc.), etc.; the storage data area may Stores data (such as audio data, phonebook, etc.) created according to the use of the mobile phone, and the like. Additionally, memory 1109 may include high-speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.

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

终端设备1100还可以包括给各个部件供电的电源1111(比如电池),优选的,电源1111可以通过电源管理系统与处理器1110逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。The terminal device 1100 may also include a power supply 1111 (such as a battery) for supplying power to various components. Preferably, the power supply 1111 may be logically connected to the processor 1110 through a power management system, so as to manage charging, discharging, and power consumption management through the power management system. and other functions.

另外,终端设备1100包括一些未示出的功能模块,在此不再赘述。In addition, the terminal device 1100 includes some functional modules not shown, which will not be repeated here.

优选的,本发明实施例还提供一种终端设备,包括处理器1110,存储器1109,存储在存储器1109上并可在所述处理器1110上运行的计算机程序,该计算机程序被处理器1110执行时实现上述一种对象限制方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。Preferably, an embodiment of the present invention further provides a terminal device, including a processor 1110, a memory 1109, and a computer program stored in the memory 1109 and running on the processor 1110, when the computer program is executed by the processor 1110 Each process of the above-mentioned embodiment of the object restriction method is implemented, and the same technical effect can be achieved. To avoid repetition, details are not repeated here.

本发明实施例还提供一种计算机可读存储介质,计算机可读存储介质上存储有计算机程序,该计算机程序被处理器执行时实现上述一种对象限制方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。其中,所述的计算机可读存储介质,如只读存储器(Read-Only Memory,简称ROM)、随机存取存储器(Random Access Memory,简称RAM)、磁碟或者光盘等。Embodiments of the present invention further provide a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium. When the computer program is executed by a processor, each process of the above-mentioned embodiment of the object restriction method is implemented, and can achieve the same In order to avoid repetition, the technical effect will not be repeated here. The computer-readable storage medium is, for example, a read-only memory (Read-Only Memory, ROM for short), a random access memory (Random Access Memory, RAM for short), a magnetic disk, or an optical disk.

需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。It should be noted that, herein, the terms "comprising", "comprising" or any other variation thereof are intended to encompass non-exclusive inclusion, such that a process, method, article or device comprising a series of elements includes not only those elements, It also includes other elements not expressly listed or inherent to such a process, method, article or apparatus. Without further limitation, an element qualified by the phrase "comprising a..." does not preclude the presence of additional identical elements in a process, method, article or apparatus that includes the element.

通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端(可以是手机,计算机,服务器,空调器,或者网络设备等)执行本发明各个实施例所述的方法。From the description of the above embodiments, those skilled in the art can clearly understand that the methods of the above embodiments can be implemented by means of software plus a necessary general hardware platform, and of course hardware can also be used, but in many cases the former is better implementation. Based on this understanding, the technical solutions of the present invention can be embodied in the form of software products in essence or the parts that make contributions to the prior art, and the computer software products are stored in a storage medium (such as ROM/RAM, magnetic disk, CD), including several instructions to make a terminal (which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) execute the methods described in the various embodiments of the present invention.

上面结合附图对本发明的实施例进行了描述,但是本发明并不局限于上述的具体实施方式,上述的具体实施方式仅仅是示意性的,而不是限制性的,本领域的普通技术人员在本发明的启示下,在不脱离本发明宗旨和权利要求所保护的范围情况下,还可做出很多形式,均属于本发明的保护之内。The embodiments of the present invention have been described above in conjunction with the accompanying drawings, but the present invention is not limited to the above-mentioned specific embodiments, which are merely illustrative rather than restrictive. Under the inspiration of the present invention, without departing from the spirit of the present invention and the scope protected by the claims, many forms can be made, which all belong to the protection of the present invention.

Claims (9)

1.一种对象限制方法,其特征在于,包括:1. an object restriction method, is characterized in that, comprises: 接收用户输入的第一输入,响应于所述第一输入显示至少一个限制选项;receiving a first input of user input, displaying at least one restriction option in response to the first input; 在所述至少一个限制选项中确定目标限制选项,并执行所述目标限制选项对应的限制操作,其中,所述限制操作用于禁止第一目标对象显示或者禁止对所述第一目标对象进行操作;A target restriction option is determined from the at least one restriction option, and a restriction operation corresponding to the target restriction option is performed, wherein the restriction operation is used to prohibit the display of the first target object or prohibit the operation of the first target object ; 所述至少一个限制选项包括如下至少一项:The at least one restriction option includes at least one of the following: 当前界面限制选项、当前应用程序限制选项、应用自定义限制选项和应用功能限制选项;Current interface restriction options, current application restriction options, application custom restriction options, and application function restriction options; 所述接收用户输入的第一输入,响应于所述第一输入显示至少一个限制选项,包括:The first input of receiving user input, and displaying at least one restriction option in response to the first input, includes: 在当前显示界面为桌面的情况下,接收用户输入的第一输入,响应于所述第一输入显示所述应用自定义限制选项和所述应用功能限制选项;In the case where the current display interface is a desktop, receiving a first input input by the user, and displaying the application custom restriction option and the application function restriction option in response to the first input; 在当前显示界面为应用程序界面的情况下,接收用户输入的第一输入,响应于所述第一输入显示所述当前界面限制选项、所述当前应用程序限制选项、所述应用自定义限制选项和所述应用功能限制选项。In the case where the currently displayed interface is an application program interface, a first input input by a user is received, and the current interface restriction option, the current application program restriction option, and the application custom restriction option are displayed in response to the first input and the app feature restriction options. 2.如权利要求1所述的方法,其特征在于,在所述目标限制选项为所述当前界面限制选项的情况下,所述第一目标对象为除当前界面之外的界面;或者,2. The method according to claim 1, wherein, when the target restriction option is the current interface restriction option, the first target object is an interface other than the current interface; or, 在所述目标限制选项为所述当前应用程序限制选项的情况下,所述第一目标对象为除前台运行的应用程序之外的应用程序的界面。When the target restriction option is the current application restriction option, the first target object is an interface of an application program other than the application program running in the foreground. 3.如权利要求1所述的方法,其特征在于,在所述目标限制选项为所述应用自定义限制选项的情况下,所述在所述至少一个限制选项中确定目标限制选项,并执行所述目标限制选项对应的限制操作,包括:3. The method according to claim 1, wherein, in the case that the target restriction option is the application-defined restriction option, the target restriction option is determined in the at least one restriction option, and the execution is performed. The restriction operations corresponding to the target restriction options include: 在所述至少一个限制选项中确定所述应用自定义限制选项,并显示自定义限制设置界面,所述自定义限制设置界面上显示有应用程序的选项信息;Determining the application-defined restriction option in the at least one restriction option, and displaying a user-defined restriction setting interface, where option information of the application is displayed on the user-defined restriction setting interface; 接收用户针对所述选项信息输入的第二输入,响应于所述第二输入确定第二目标对象,所述第二目标对象为除所述第一目标对象之外的对象;receiving a second input input by the user for the option information, and determining a second target object in response to the second input, where the second target object is an object other than the first target object; 执行所述应用自定义限制选项对应的限制操作,所述限制操作用于禁止所述第一目标对象显示,或者所述限制操作用于将所述第一目标对象设置为允许显示的对象,并禁止所述第二目标对象显示;Execute a restriction operation corresponding to the application custom restriction option, where the restriction operation is used to prohibit the display of the first target object, or the restriction operation is used to set the first target object as an object that is allowed to be displayed, and prohibiting the display of the second target object; 其中,所述第一目标对象包括至少一个第一应用程序,或者至少一个第一应用程序的第一界面;或者Wherein, the first target object includes at least one first application, or a first interface of at least one first application; or 所述第二目标对象包括至少一个第二应用程序,或者至少一个第二应用程序的第二界面。The second target object includes at least one second application, or a second interface of at least one second application. 4.如权利要求1所述的方法,其特征在于,所述目标限制选项为应用功能限制选项的情况下,所述在所述至少一个限制选项中确定目标限制选项,并执行所述目标限制选项对应的限制操作,包括:4 . The method according to claim 1 , wherein, when the target restriction option is an application function restriction option, the target restriction option is determined from the at least one restriction option, and the target restriction is executed. 5 . Limit actions corresponding to options, including: 在所述至少一个限制选项中确定所述应用功能限制选项,并显示功能界面,所述功能界面上显示有功能选项;determining the application function restriction option in the at least one restriction option, and displaying a function interface, where the function options are displayed; 接收用户针对所述功能选项输入的第三输入,响应于所述第三输入确定第二目标对象,所述第二目标对象为除所述第一目标对象之外的对象;receiving a third input input by the user for the function option, and determining a second target object in response to the third input, where the second target object is an object other than the first target object; 执行所述应用功能限制选项对应的限制操作;Execute the restriction operation corresponding to the application function restriction option; 其中,所述限制操作用于禁止对所述第一目标对象操作,或者所述限制操作用于将所述第一目标对象设置为允许操作的对象,并禁止对所述第二目标对象进行操作,所述第一目标对象包括至少一个第一功能控件,所述第二目标对象包括至少一个第二功能控件;或者,Wherein, the restricting operation is used to prohibit the operation on the first target object, or the restricting operation is used to set the first target object as an object that allows operation, and prohibit the operation on the second target object , the first target object includes at least one first function control, and the second target object includes at least one second function control; or, 所述限制操作用于禁止所述第一目标对象显示,或者所述限制操作用于将所述第一目标对象设置为允许显示的对象,并禁止所述第二目标对象显示,所述第一目标对象包括至少一个第一功能控件对应的显示子界面,所述第二目标对象包括至少一个第二功能控件对应的显示子界面。The restricting operation is used to prohibit the display of the first target object, or the restricting operation is used to set the first target object as an object allowed to be displayed, and prohibit the display of the second target object, and the first target object is prohibited from being displayed. The target object includes a display sub-interface corresponding to at least one first function control, and the second target object includes a display sub-interface corresponding to at least one second function control. 5.一种终端设备,其特征在于,包括:5. A terminal device, comprising: 接收模块,用于接收用户输入的第一输入,响应于所述第一输入显示至少一个限制选项;a receiving module, configured to receive a first input input by a user, and display at least one restriction option in response to the first input; 执行模块,用于在所述至少一个限制选项中确定目标限制选项,并执行所述目标限制选项对应的限制操作,其中,所述限制操作用于禁止第一目标对象显示或者禁止对所述第一目标对象进行操作;The execution module is configured to determine a target restriction option in the at least one restriction option, and execute a restriction operation corresponding to the target restriction option, wherein the restriction operation is used to prohibit the display of the first target object or prohibit the a target object to operate; 所述至少一个限制选项包括如下至少一项:The at least one restriction option includes at least one of the following: 当前界面限制选项、当前应用程序限制选项、应用自定义限制选项和应用功能限制选项;Current interface restriction options, current application restriction options, application custom restriction options, and application function restriction options; 所述接收模块包括:The receiving module includes: 第一响应子模块,用于在当前显示界面为桌面的情况下,接收用户输入的第一输入,响应于所述第一输入显示所述应用自定义限制选项和所述应用功能限制选项;a first response submodule, configured to receive a first input input by a user when the current display interface is a desktop, and display the application custom restriction option and the application function restriction option in response to the first input; 第二响应子模块,用于在当前显示界面为应用程序界面的情况下,接收用户输入的第一输入,响应于所述第一输入显示所述当前界面限制选项、所述当前应用程序限制选项、所述应用自定义限制选项和所述应用功能限制选项。The second response submodule is configured to receive a first input input by a user when the current display interface is an application program interface, and display the current interface restriction options and the current application program restriction options in response to the first input , the application custom restriction option and the application function restriction option. 6.如权利要求5所述的终端设备,其特征在于,在所述目标限制选项为所述当前界面限制选项的情况下,所述第一目标对象为除当前界面之外的界面;或者,6. The terminal device according to claim 5, wherein, when the target restriction option is the current interface restriction option, the first target object is an interface other than the current interface; or, 在所述目标限制选项为所述当前应用程序限制选项的情况下,所述第一目标对象为除前台运行的应用程序之外的应用程序的界面。When the target restriction option is the current application restriction option, the first target object is an interface of an application program other than the application program running in the foreground. 7.如权利要求5所述的终端设备,其特征在于,在所述目标限制选项为所述应用自定义限制选项的情况下,所述执行模块包括:7. The terminal device according to claim 5, wherein, when the target restriction option is the application-defined restriction option, the execution module comprises: 第一显示子模块,用于在所述至少一个限制选项中确定所述应用自定义限制选项,并显示自定义限制设置界面,所述自定义限制设置界面上显示有应用程序的选项信息;a first display submodule, configured to determine the application-defined restriction option in the at least one restriction option, and display a user-defined restriction setting interface, where option information of the application is displayed on the user-defined restriction setting interface; 第一确定子模块,用于接收用户针对所述选项信息输入的第二输入,响应于所述第二输入确定第二目标对象,所述第二目标对象为除所述第一目标对象之外的对象;a first determination submodule, configured to receive a second input input by the user for the option information, and determine a second target object in response to the second input, where the second target object is other than the first target object Object; 第一执行子模块,用于执行所述应用自定义限制选项对应的限制操作,所述限制操作用于禁止所述第一目标对象显示,或者所述限制操作用于将所述第一目标对象设置为允许显示的对象,并禁止所述第二目标对象显示;The first execution sub-module is configured to execute the restriction operation corresponding to the application custom restriction option, the restriction operation is used to prohibit the display of the first target object, or the restriction operation is used to display the first target object set as an object that is allowed to be displayed, and prohibit the display of the second target object; 其中,所述第一目标对象包括至少一个第一应用程序,或者至少一个第一应用程序的第一界面;或者Wherein, the first target object includes at least one first application, or a first interface of at least one first application; or 所述第二目标对象包括至少一个第二应用程序,或者至少一个第二应用程序的第二界面。The second target object includes at least one second application, or a second interface of at least one second application. 8.如权利要求5所述的终端设备,其特征在于,所述目标限制选项为应用功能限制选项的情况下,所述执行模块包括:8. The terminal device according to claim 5, wherein, when the target restriction option is an application function restriction option, the execution module comprises: 第二显示子模块,用于在所述至少一个限制选项中确定所述应用功能限制选项,并显示功能界面,所述功能界面上显示有功能选项;a second display submodule, configured to determine the application function restriction option in the at least one restriction option, and display a function interface, where the function options are displayed; 第二确定子模块,用于接收用户针对所述功能选项输入的第三输入,响应于所述第三输入确定第二目标对象,所述第二目标对象为除所述第一目标对象之外的对象;A second determination submodule, configured to receive a third input input by the user for the function option, and determine a second target object in response to the third input, where the second target object is other than the first target object Object; 第二执行子模块,用于执行所述应用功能限制选项对应的限制操作;a second execution submodule, configured to execute the restriction operation corresponding to the application function restriction option; 其中,所述限制操作用于禁止对所述第一目标对象操作,或者所述限制操作用于将所述第一目标对象设置为允许操作的对象,并禁止对所述第二目标对象进行操作,所述第一目标对象包括至少一个第一功能控件,所述第二目标对象包括至少一个第二功能控件;或者,Wherein, the restricting operation is used to prohibit the operation on the first target object, or the restricting operation is used to set the first target object as an object that allows operation, and prohibit the operation on the second target object , the first target object includes at least one first function control, and the second target object includes at least one second function control; or, 所述限制操作用于禁止所述第一目标对象显示,或者所述限制操作用于将所述第一目标对象设置为允许显示的对象,并禁止所述第二目标对象显示,所述第一目标对象包括至少一个第一功能控件对应的显示子界面,所述第二目标对象包括至少一个第二功能控件对应的显示子界面。The restricting operation is used to prohibit the display of the first target object, or the restricting operation is used to set the first target object as an object allowed to be displayed, and prohibit the display of the second target object, and the first target object is prohibited from being displayed. The target object includes a display sub-interface corresponding to at least one first function control, and the second target object includes a display sub-interface corresponding to at least one second function control. 9.一种终端设备,其特征在于,包括:存储器、处理器及存储在所述存储器上并可在所述处理器上运行的计算机程序,所述处理器执行所述计算机程序时实现如权利要求1至4中任一项所述的对象限制方法中的步骤。9. A terminal device, comprising: a memory, a processor, and a computer program stored on the memory and running on the processor, the processor implementing the computer program as claimed when executing the computer program Steps in the object restriction method of any one of claims 1 to 4.
CN201910363457.1A 2019-04-30 2019-04-30 Object limiting method and terminal equipment Active CN110096893B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910363457.1A CN110096893B (en) 2019-04-30 2019-04-30 Object limiting method and terminal equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910363457.1A CN110096893B (en) 2019-04-30 2019-04-30 Object limiting method and terminal equipment

Publications (2)

Publication Number Publication Date
CN110096893A CN110096893A (en) 2019-08-06
CN110096893B true CN110096893B (en) 2021-03-26

Family

ID=67446773

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910363457.1A Active CN110096893B (en) 2019-04-30 2019-04-30 Object limiting method and terminal equipment

Country Status (1)

Country Link
CN (1) CN110096893B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112073578B (en) * 2020-08-20 2022-07-12 上海连尚网络科技有限公司 A method and device for using or restricting application functions in social applications
CN112162870B (en) * 2020-09-25 2024-07-26 深圳传音控股股份有限公司 File processing operation method, mobile terminal and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104135684A (en) * 2014-07-17 2014-11-05 Tcl集团股份有限公司 A method and a device for displaying an interface based on a Firefox OS
CN104834865A (en) * 2015-04-30 2015-08-12 上海锐鸿通信技术有限公司 Method for setting access permission of mobile terminal and mobile terminal
CN105808075A (en) * 2016-03-31 2016-07-27 广东欧珀移动通信有限公司 Menu option display method and device and mobile terminal
CN108536494A (en) * 2017-03-03 2018-09-14 上海传英信息技术有限公司 Program assembly method for sorting and system applied to mobile terminal

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20130037088A (en) * 2011-10-05 2013-04-15 삼성전자주식회사 Method and apparatus for setting printing option
KR101828306B1 (en) * 2011-10-18 2018-02-13 삼성전자 주식회사 Method and apparatus for operating mobile terminal
CN104008350B (en) * 2014-05-15 2017-10-24 惠州Tcl移动通信有限公司 Enter the mobile terminal and method of different user pattern by different unlocking manners
CN106469277A (en) * 2015-08-20 2017-03-01 宇龙计算机通信科技(深圳)有限公司 Pattern right management method, device and terminal
CN105630596B (en) * 2015-12-24 2019-01-25 深圳鼎智通讯股份有限公司 The control method and its system of the application scenario mode of intelligent terminal
US10075451B1 (en) * 2017-03-08 2018-09-11 Venpath, Inc. Methods and systems for user opt-in to data privacy agreements

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104135684A (en) * 2014-07-17 2014-11-05 Tcl集团股份有限公司 A method and a device for displaying an interface based on a Firefox OS
CN104834865A (en) * 2015-04-30 2015-08-12 上海锐鸿通信技术有限公司 Method for setting access permission of mobile terminal and mobile terminal
CN105808075A (en) * 2016-03-31 2016-07-27 广东欧珀移动通信有限公司 Menu option display method and device and mobile terminal
CN108536494A (en) * 2017-03-03 2018-09-14 上海传英信息技术有限公司 Program assembly method for sorting and system applied to mobile terminal

Also Published As

Publication number Publication date
CN110096893A (en) 2019-08-06

Similar Documents

Publication Publication Date Title
CN109194818B (en) Information processing method and terminal
WO2021169959A1 (en) Application starting method and electronic device
CN109379484B (en) An information processing method and terminal
CN108182019A (en) A kind of suspension control display processing method and mobile terminal
CN110851031A (en) Display control method and electronic equipment
CN108052251A (en) A kind of screenshotss method for information display and mobile terminal
CN107808084A (en) A kind of touch operation method and mobile terminal
CN108664818B (en) Unlocking control method and device
CN108710806B (en) Terminal unlocking method and mobile terminal
WO2020199987A1 (en) Message display method and mobile terminal
CN108108111A (en) A kind of inspection method, device and the mobile terminal of screen locking pictorial information
CN110096893B (en) Object limiting method and terminal equipment
CN109597546B (en) Icon processing method and terminal device
CN107797728A (en) The method and mobile terminal of a kind of access application
CN109522741B (en) Application program permission prompting method and terminal equipment thereof
WO2021121178A1 (en) Application startup method and electronic device
WO2021083108A1 (en) File compression method, file decompression method, and electronic device
CN110826044B (en) Unlocking method and electronic equipment
WO2020192415A1 (en) Permission configuration method and terminal device
CN109743634B (en) A video playback control method and terminal
CN111460537A (en) Method for hiding page content and electronic equipment
WO2020011071A1 (en) Locking method and unlocking method for application program, and terminal device
CN111459352A (en) Application icon display method and electronic device
CN108549807B (en) Screen unlocking method and mobile terminal
CN110516515B (en) An unlocking method and mobile terminal

Legal Events

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