[go: up one dir, main page]

CN106250005A - The control method of application switch and device - Google Patents

The control method of application switch and device Download PDF

Info

Publication number
CN106250005A
CN106250005A CN201610614742.2A CN201610614742A CN106250005A CN 106250005 A CN106250005 A CN 106250005A CN 201610614742 A CN201610614742 A CN 201610614742A CN 106250005 A CN106250005 A CN 106250005A
Authority
CN
China
Prior art keywords
application
switch
switches
sub
folding
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201610614742.2A
Other languages
Chinese (zh)
Inventor
刘鸣
王乐
李明浩
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Xiaomi Mobile Software Co Ltd
Original Assignee
Beijing Xiaomi Mobile Software 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 Beijing Xiaomi Mobile Software Co Ltd filed Critical Beijing Xiaomi Mobile Software Co Ltd
Priority to CN201610614742.2A priority Critical patent/CN106250005A/en
Publication of CN106250005A publication Critical patent/CN106250005A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • G06F3/0482Interaction with lists of selectable items, e.g. menus
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Telephone Function (AREA)
  • Telephone Set Structure (AREA)

Abstract

本公开是关于一种应用开关的控制方法及装置,其中,应用开关的控制方法包括:将管理页面中每个应用的所有开关聚合并折叠显示在对应应用的显示条目中,显示条目中包含对应应用的分开关的折叠标识和总开关;接收触发折叠标识的操作,并根据操作展开显示对应应用的分开关,以便用户控制开启或关闭分开关。本公开实施例,通过将管理页面中每个应用的所有开关聚合并折叠显示在对应应用的显示条目中,从而可以根据相关操作展开显示对应应用的分开关,这样用户就可以批量控制分开关,而不需要通过多次进入二级页面设置分开关,操作简单,易于实现。

The present disclosure relates to an application switch control method and device, wherein the application switch control method includes: aggregating and folding all the switches of each application in the management page into the display items of the corresponding application, and the display items include the corresponding The folding sign and the main switch of the sub-switch of the application; receive the operation that triggers the folding sign, and expand and display the sub-switch of the corresponding application according to the operation, so that the user can control the opening or closing of the sub-switch. In the embodiment of the present disclosure, by aggregating and collapsing all the switches of each application in the management page and displaying them in the display items of the corresponding application, the sub-switches of the corresponding application can be expanded and displayed according to related operations, so that the user can control the sub-switches in batches, There is no need to set the switch by entering the secondary page multiple times, and the operation is simple and easy to implement.

Description

应用开关的控制方法及装置Application switch control method and device

技术领域technical field

本公开涉及移动终端技术领域,尤其涉及一种应用开关的控制方法及装置。The present disclosure relates to the technical field of mobile terminals, and in particular to a method and device for controlling an application switch.

背景技术Background technique

随着移动终端技术的快速发展,各种移动终端例如手机已非常普及,并且,功能日益强大。目前,用户可以在手机上安装各种应用,每个应用都有多个开关,以控制是否开启对应的功能。With the rapid development of mobile terminal technology, various mobile terminals such as mobile phones have become very popular, and their functions are increasingly powerful. At present, a user can install various applications on a mobile phone, and each application has multiple switches to control whether to enable a corresponding function.

用户在设置应用的开关时,需要点击应用进入二级页面,如果对很多应用的开关例如100个应用的开关进行设置,就需要进入100次二级页面,这种通过进入二级页面设置开关的方式操作繁琐,不方便批量管理应用的开关。When setting the switch of the application, the user needs to click the application to enter the secondary page. If the switch of many applications is set, for example, the switch of 100 applications, it needs to enter the secondary page 100 times. The method is cumbersome to operate, and it is inconvenient to manage the switches of applications in batches.

发明内容Contents of the invention

为克服相关技术中存在的问题,本公开提供一种应用开关的控制方法及装置。In order to overcome the problems existing in the related technologies, the present disclosure provides a control method and device for an application switch.

根据本公开实施例的第一方面,提供一种应用开关的控制方法,包括:According to a first aspect of an embodiment of the present disclosure, there is provided a method for controlling an application switch, including:

将管理页面中每个应用的所有开关聚合并折叠显示在对应应用的显示条目中,所述显示条目中包含对应应用的分开关的折叠标识和总开关;Aggregate and fold all the switches of each application in the management page into the display item of the corresponding application, and the display item includes the folding identifier of the sub-switch and the main switch of the corresponding application;

接收触发所述折叠标识的操作,并根据所述操作展开显示对应应用的分开关,以便用户控制开启或关闭所述分开关。An operation for triggering the folding sign is received, and a sub-switch corresponding to the application is expanded and displayed according to the operation, so that the user can control the opening or closing of the sub-switch.

在一实施例中,所述将管理页面中每个应用的所有开关聚合并折叠显示在对应应用的显示条目中,包括:In an embodiment, the aggregating and folding display of all switches of each application in the management page in the display items of the corresponding application includes:

获取当前移动终端的系统为所述每个应用提供的开关;Obtain the switch provided by the system of the current mobile terminal for each application;

从所述当前移动终端的系统配置文件中读取所述每个应用申请的开关;Read the switch of each application application from the system configuration file of the current mobile terminal;

将获取的和读取的每个应用的所有开关作为所述分开关折叠显示在对应应用的所述显示条目中。All the acquired and read switches of each application are folded and displayed in the display item of the corresponding application as the separate switches.

在一实施例中,所述方法还包括:In one embodiment, the method also includes:

接收触发所述总开关的关闭指令,并根据所述关闭指令关闭对应应用的所有分开关。receiving a closing instruction that triggers the main switch, and closing all the sub-switches corresponding to the application according to the closing instruction.

在一实施例中,所述方法还包括:In one embodiment, the method also includes:

接收触发所述总开关的开启指令,并根据所述开启指令开启对应应用的所有分开关;receiving an opening instruction that triggers the main switch, and opening all sub-switches corresponding to the application according to the opening instruction;

接收触发任意一个或多个所述分开关的关闭指令,并根据所述关闭指令关闭对应的分开关。receiving a closing instruction that triggers any one or more of the sub-switches, and closing the corresponding sub-switches according to the closing instruction.

在一实施例中,所述方法还包括:In one embodiment, the method also includes:

显示提示信息,所述提示信息用于提示用户触发所述折叠标识能够打开对应应用的所有分开关。Displaying prompt information, the prompt information is used to prompt the user to trigger the folding indicator to open all the switches of the corresponding application.

在一实施例中,所述折叠标识采用预设符号或预设图标进行表示。In an embodiment, the folding mark is represented by a preset symbol or a preset icon.

根据本公开实施例的第二方面,提供一种应用开关的控制方法,包括:According to a second aspect of an embodiment of the present disclosure, a method for controlling an application switch is provided, including:

聚合折叠显示模块,被配置为将管理页面中每个应用的所有开关聚合并折叠显示在对应应用的显示条目中,所述显示条目中包含对应应用的分开关的折叠标识和总开关;The aggregated folding display module is configured to aggregate and fold all the switches of each application in the management page into the display item of the corresponding application, and the display item includes the folding identification of the sub-switches and the main switch of the corresponding application;

接收展开显示模块,被配置为接收触发所述聚合折叠显示模块显示的显示条目中包含的所述折叠标识的操作,并根据所述操作展开显示对应应用的分开关,以便用户控制开启或关闭所述分开关。The receiving and unfolding display module is configured to receive an operation that triggers the folding logo included in the display items displayed by the aggregated folding display module, and expand and display the sub-switches of the corresponding applications according to the operations, so that the user can control the opening or closing of all Said switch.

在一实施例中,所述聚合折叠显示模块包括:In one embodiment, the aggregated folding display module includes:

获取子模块,被配置为获取当前移动终端的系统为所述每个应用提供的开关;The obtaining submodule is configured to obtain the switch provided by the system of the current mobile terminal for each application;

读取子模块,被配置为从所述当前移动终端的系统配置文件中读取所述每个应用申请的开关;The reading submodule is configured to read the switch of each application application from the system configuration file of the current mobile terminal;

折叠显示子模块,被配置为将所述获取子模块获取的和所述读取子模块读取的每个应用的所有开关作为所述分开关折叠显示在对应应用的所述显示条目中。The folded display submodule is configured to fold and display all the switches of each application acquired by the acquisition submodule and read by the reading submodule as the separate switches in the display item of the corresponding application.

在一实施例中,所述装置还包括:In one embodiment, the device also includes:

第一接收关闭模块,被配置为接收触发所述总开关的关闭指令,并根据所述关闭指令关闭对应应用的所有分开关。The first receiving and closing module is configured to receive a closing instruction that triggers the main switch, and close all the sub-switches corresponding to the application according to the closing instruction.

在一实施例中,所述装置还包括:In one embodiment, the device also includes:

接收开启模块,被配置为接收触发所述总开关的开启指令,并根据所述开启指令开启对应应用的所有分开关;The receiving opening module is configured to receive an opening instruction that triggers the main switch, and open all sub-switches corresponding to the application according to the opening instruction;

第二接收关闭模块,被配置为接收触发任意一个或多个所述分开关的关闭指令,并根据所述关闭指令关闭对应的分开关。The second receiving closing module is configured to receive a closing instruction that triggers any one or more of the sub-switches, and close the corresponding sub-switches according to the closing instruction.

在一实施例中,所述装置还包括:In one embodiment, the device also includes:

信息显示模块,被配置为显示提示信息,所述提示信息用于提示用户触发所述折叠标识能够打开对应应用的所有分开关。The information display module is configured to display prompt information, and the prompt information is used to prompt the user to trigger the folding sign to open all the sub-switches of the corresponding application.

在一实施例中,所述折叠标识采用预设符号或预设图标进行表示。In an embodiment, the folding mark is represented by a preset symbol or a preset icon.

根据本公开实施例的第三方面,提供一种应用开关的控制装置,包括:According to a third aspect of an embodiment of the present disclosure, there is provided a control device for an application switch, including:

处理器;processor;

用于存储处理器可执行指令的存储器;memory for storing processor-executable instructions;

其中,处理器被配置为:where the processor is configured as:

将管理页面中每个应用的所有开关聚合并折叠显示在对应应用的显示条目中,所述显示条目中包含对应应用的分开关的折叠标识和总开关;Aggregate and fold all the switches of each application in the management page into the display item of the corresponding application, and the display item includes the folding identifier of the sub-switch and the main switch of the corresponding application;

接收触发所述折叠标识的操作,并根据所述操作展开显示对应应用的分开关,以便用户控制开启或关闭所述分开关。An operation for triggering the folding sign is received, and a sub-switch corresponding to the application is expanded and displayed according to the operation, so that the user can control the opening or closing of the sub-switch.

本公开的实施例提供的技术方案可以包括以下有益效果:通过将管理页面中每个应用的所有开关聚合并折叠显示在对应应用的显示条目中,从而可以根据相关操作展开显示对应应用的分开关,这样用户就可以批量控制分开关,而不需要通过多次进入二级页面设置分开关,操作简单,易于实现。The technical solutions provided by the embodiments of the present disclosure may include the following beneficial effects: By aggregating and collapsing all the switches of each application in the management page and displaying them in the display items of the corresponding application, the sub-switches of the corresponding application can be expanded and displayed according to related operations , so that the user can control the sub-switches in batches without having to enter the secondary page multiple times to set the sub-switches, which is simple to operate and easy to implement.

应当理解的是,以上的一般描述和后文的细节描述仅是示例性和解释性的,并不能限制本公开。It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure.

附图说明Description of drawings

此处的附图被并入说明书中并构成本说明书的一部分,示出了符合本发明的实施例,并与说明书一起用于解释本发明的原理。The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and together with the description serve to explain the principles of the invention.

图1是根据一示例性实施例示出的一种应用开关的控制方法的流程图。Fig. 1 is a flowchart showing a method for controlling an application switch according to an exemplary embodiment.

图2是根据一示例性实施例示出的一种应用开关管理页面的示意图。Fig. 2 is a schematic diagram showing an application switch management page according to an exemplary embodiment.

图3是根据一示例性实施例示出的一种将每个应用的所有开关聚合并折叠显示在对应显示条目中的流程图。Fig. 3 is a flow chart of aggregating and displaying all switches of each application in a corresponding display item according to an exemplary embodiment.

图4是根据一示例性实施例示出的另一种应用开关的控制方法的流程图。Fig. 4 is a flow chart showing another method for controlling an application switch according to an exemplary embodiment.

图5是根据一示例性实施例示出的一种应用开关的控制装置的框图。Fig. 5 is a block diagram showing a control device using a switch according to an exemplary embodiment.

图6是根据一示例性实施例示出的另一种应用开关的控制装置的框图。Fig. 6 is a block diagram of another control device using a switch according to an exemplary embodiment.

图7是根据一示例性实施例示出的另一种应用开关的控制装置的框图。Fig. 7 is a block diagram of another control device using a switch according to an exemplary embodiment.

图8是根据一示例性实施例示出的另一种应用开关的控制装置的框图。Fig. 8 is a block diagram of another control device using a switch according to an exemplary embodiment.

图9是根据一示例性实施例示出的另一种应用开关的控制装置的框图。Fig. 9 is a block diagram of another control device using a switch according to an exemplary embodiment.

图10是根据一示例性实施例示出的一种适用于应用开关的控制装置的框图。Fig. 10 is a block diagram showing a control device suitable for an application switch according to an exemplary embodiment.

具体实施方式detailed description

这里将详细地对示例性实施例进行说明,其示例表示在附图中。下面的描述涉及附图时,除非另有表示,不同附图中的相同数字表示相同或相似的要素。以下示例性实施例中所描述的实施方式并不代表与本发明相一致的所有实施方式。相反,它们仅是与如所附权利要求书中所详述的、本发明的一些方面相一致的装置和方法的例子。Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, the same numerals in different drawings refer to the same or similar elements unless otherwise indicated. The implementations described in the following exemplary examples do not represent all implementations consistent with the present invention. Rather, they are merely examples of apparatuses and methods consistent with aspects of the invention as recited in the appended claims.

图1是根据一示例性实施例示出的一种应用开关的控制方法的流程图,如图1所示,该应用开关的控制方法可应用于移动终端上,该移动终端可以包括但不局限于手机、平板电脑(PAD)等,该方法包括以下步骤S101-S102:Fig. 1 is a flow chart showing a method for controlling an application switch according to an exemplary embodiment. As shown in Fig. 1, the method for controlling an application switch can be applied to a mobile terminal, and the mobile terminal may include but is not limited to mobile phone, tablet computer (PAD), etc., the method includes the following steps S101-S102:

在步骤S101中,将管理页面中每个应用的所有开关聚合并折叠显示在对应应用的显示条目中,该显示条目中包含对应应用的分开关的折叠标识和总开关。In step S101, all the switches of each application in the management page are aggregated and displayed in a collapsed manner in a display item of the corresponding application, and the display item includes the folding identifier of the sub-switches and the main switch of the corresponding application.

在该实施例中,一个应用可能有一个或多个开关,为了方便管理,可以将每个应用的所有开关聚合并折叠显示在对应应用的显示条目中,其中,该显示条目包含对应应用的分开关的折叠标识和总开关。该折叠标识可以采用预设符号或预设图标进行表示。In this embodiment, an application may have one or more switches. To facilitate management, all switches of each application may be aggregated and displayed in a display item of the corresponding application. Fold logo and master switch for switch. The folding sign can be represented by a preset symbol or a preset icon.

例如,如图2所示,“360卫士”这个应用的显示条目中包含“360卫士”的总开关和分开关的折叠标识所有分开关的折叠标识和总开关,等等。For example, as shown in FIG. 2 , the display item of the application "360 Guardian" includes the folding signs of the main switch and sub-switches of "360 Guardian", the folding signs of all sub-switches and the main switch, and so on.

需要说明的是,图2中列举的应用仅为示例,分开关的折叠标识也可以采用其他符号进行表示。It should be noted that the applications listed in FIG. 2 are only examples, and the folding marks of the switch can also be represented by other symbols.

在步骤S102中,接收触发折叠标识的操作,并根据该操作展开显示对应应用的分开关,以便用户控制开启或关闭分开关。In step S102, an operation of triggering the folding sign is received, and a sub-switch corresponding to the application is unfolded and displayed according to the operation, so that the user can control the opening or closing of the sub-switch.

在该实施例中,如果用户想开启或关闭某个应用的分开关,则可以触发例如点击对应显示条目中的折叠标识,此时,移动终端例如手机接收触发折叠标识的操作,可以根据该操作展开显示对应应用的分开关,这样,用户就可以通过点击分开关的按键来开启或关闭对应的分开关。In this embodiment, if the user wants to turn on or off the switch of a certain application, it can trigger, for example, click on the folding sign in the corresponding display item. At this time, the mobile terminal, such as a mobile phone, receives the operation that triggers the folding sign, and can Expand and display the sub-switch of the corresponding application, so that the user can open or close the corresponding sub-switch by clicking the button of the sub-switch.

继续以图2为例进行描述,如果用户想控制“支付宝钱包”的分开关,则可以通过点击对应显示条目中的折叠标识来展开显示“支付宝钱包”的分开关,如图2所示,用户在点击“支付宝钱包”的所有分开关的折叠标识后,可以展开显示桌面图标角标、锁屏及顶部悬浮显示、通知铃声和震动、呼吸灯闪烁四个分开关。此时,如果用户想关闭桌面图标角标和呼吸灯闪烁两个分开关,则可以通过点击这两个分开关上的按键来关闭它们。Continuing to take Figure 2 as an example for description, if the user wants to control the sub-switch of "Alipay Wallet", he can expand and display the sub-switch of "Alipay Wallet" by clicking the folding icon in the corresponding display item, as shown in Figure 2, the user After clicking the folding logo of all sub-switches of "Alipay Wallet", you can expand and display the four sub-switches of desktop icon corner mark, lock screen and top floating display, notification ringtone and vibration, and breathing light flashing. At this time, if the user wants to turn off the two sub-switches of the desktop icon corner mark and the blinking breathing light, he can close them by clicking the buttons on the two sub-switches.

另外,如果用户想关闭“支付宝钱包”的所有分开关,则可以将通过关闭“支付宝钱包”的总开关来实现。In addition, if the user wants to close all the sub-switches of the "Alipay Wallet", it can be realized by closing the main switch of the "Alipay Wallet".

上述应用开关的控制方法实施例,通过将管理页面中每个应用的所有开关聚合并折叠显示在对应应用的显示条目中,从而可以根据相关操作展开显示对应应用的分开关,这样用户就可以批量控制分开关,而不需要通过多次进入二级页面设置分开关,操作简单,易于实现。In the embodiment of the above application switch control method, by aggregating and folding all the switches of each application in the management page and displaying them in the display items of the corresponding application, the sub-switches of the corresponding application can be expanded and displayed according to related operations, so that the user can batch Control the sub-switch without setting the sub-switch by entering the secondary page multiple times, which is simple to operate and easy to implement.

图3是根据一示例性实施例示出的一种将每个应用的所有开关聚合并折叠显示在对应显示条目中的流程图,如图3所示,包括如下步骤S301-S303:Fig. 3 is a flow chart showing aggregating and folding all switches of each application into corresponding display items according to an exemplary embodiment. As shown in Fig. 3 , it includes the following steps S301-S303:

在步骤S301中,获取当前移动终端的系统为每个应用提供的开关。In step S301, the switch provided by the system of the current mobile terminal for each application is acquired.

应用开关主要分为两类:第一类是系统提供的开关,第二类是应用申请的开关。Application switches are mainly divided into two types: the first type is the switch provided by the system, and the second type is the switch applied by the application.

第一类开关由系统提供的,无需应用申请,例如桌面图标角标、通知开关、呼吸灯闪烁开关都属于第一类开关。The first type of switch is provided by the system and does not require an application application. For example, the corner mark of the desktop icon, the notification switch, and the blinking switch of the breathing light all belong to the first type of switch.

在步骤S302中,从当前移动终端的系统配置文件中读取每个应用申请的开关。In step S302, the switch applied for by each application is read from the system configuration file of the current mobile terminal.

在该实施例中,可以通过系统例如安卓系统提供的接口PackageManager.getApplicationInfo()从系统配置文件中读取应用申请的权限对应的开关。读取到的开关属于第二类开关。In this embodiment, the switch corresponding to the permission applied for by the application can be read from the system configuration file through the interface PackageManager.getApplicationInfo() provided by the system such as the Android system. The read switch belongs to the second type of switch.

在步骤S303中,将获取的和读取的每个应用的所有开关作为分开关折叠显示在对应应用的显示条目中。In step S303, all the acquired and read switches of each application are folded and displayed in the display item of the corresponding application as separate switches.

在该实施例中,将通过步骤S301和步骤S302获得的开关作为分开关折叠显示在对应应用的显示条目中。In this embodiment, the switch obtained through step S301 and step S302 is folded and displayed in the display item of the corresponding application as a separate switch.

上述实施例,通过获得系统提供的开关和读取应用申请的开关,以获得每个应用的所有开关,并将每个应用的所有开关作为分开关折叠显示在对应应用的显示条目中,为后续实现开关的批量控制提供了条件。In the above embodiment, by obtaining the switches provided by the system and reading the switches applied for by the application, all the switches of each application are obtained, and all the switches of each application are folded and displayed in the display items of the corresponding application as separate switches. Realizing the batch control of switches provides the conditions.

图4是根据一示例性实施例示出的另一种应用开关的控制方法的流程图,如图4所示,该方法包括以下步骤:Fig. 4 is a flowchart of another method for controlling an application switch according to an exemplary embodiment. As shown in Fig. 4, the method includes the following steps:

在步骤S401中,将管理页面中每个应用的所有开关聚合并折叠显示在对应应用的显示条目中,该显示条目中包含对应应用的分开关的折叠标识和总开关。In step S401, all the switches of each application in the management page are aggregated and displayed in a collapsed manner in a display item of the corresponding application, and the display item includes the folding identifier of the sub-switches and the main switch of the corresponding application.

上述步骤S401的实现过程可参见图1所示的实施例,此处不赘述。For the implementation process of the above step S401, reference may be made to the embodiment shown in FIG. 1 , and details are not described here.

在步骤S402中,显示提示信息,该提示信息用于提示用户触发折叠标识能够打开对应应用的所有分开关。In step S402, prompt information is displayed, and the prompt information is used to prompt the user to trigger the folding flag to open all the sub-switches of the corresponding application.

在步骤S403中,接收触发折叠标识的操作,并根据该操作展开显示对应应用的分开关。In step S403, the operation of triggering the folding sign is received, and the sub-switch of the corresponding application is unfolded and displayed according to the operation.

在步骤S404中,接收触发总开关的关闭指令,并根据该关闭指令关闭对应应用的所有分开关。In step S404, a closing command to trigger the main switch is received, and all sub-switches corresponding to the application are closed according to the closing command.

在该实施例中,在展开显示当前应用的所有分开关后,如果用户想关闭该应用的所有分开关,则可以通过关闭总开关来实现,从而达到批量关闭分开关的目的。In this embodiment, after unfolding and displaying all the sub-switches of the current application, if the user wants to close all the sub-switches of the application, he can do so by turning off the main switch, so as to achieve the purpose of closing the sub-switches in batches.

在步骤S405中,接收触发总开关的开启指令,并根据开启指令开启对应应用的所有分开关。In step S405, an instruction to trigger the main switch is received, and all sub-switches corresponding to the application are turned on according to the instruction.

另外,可选地,在关闭所有分开关之后,如果用户又想开启某个或某些分开关,则可以先开启总开关,即手机接收触发总开关的开启指令,然后可以根据该开启指令开启对应应用的所有分开关。In addition, optionally, after turning off all the sub-switches, if the user wants to turn on one or some sub-switches, the main switch can be turned on first, that is, the mobile phone receives an opening instruction that triggers the main switch, and then can be opened according to the opening instruction. All sub-switches corresponding to the application.

在步骤S406中,接收触发任意一个或多个分开关的关闭指令,并根据该关闭指令关闭对应的分开关。In step S406, a closing instruction triggering any one or more sub-switches is received, and corresponding sub-switches are closed according to the closing instruction.

在用户开启所有分开关之后,假设当前应用有四个分开关,如果用户想关闭其中一个或几个分开关,则可以点击对应的分开关的关闭按键来实现。After the user turns on all the sub-switches, assuming there are four sub-switches in the current application, if the user wants to close one or several of the sub-switches, he can click the close button of the corresponding sub-switch to achieve it.

上述应用开关的控制方法实施例,通过触发总开关和分开关的开启或关闭,达到批量开启或关闭分开关的目的,实现灵活且简单。In the embodiment of the control method of the above-mentioned application switch, by triggering the opening or closing of the main switch and the sub-switches, the purpose of opening or closing the sub-switches in batches is achieved, which is flexible and simple.

与前述应用开关的控制方法实施例相对应,本公开还提供了应用开关的控制装置实施例。Corresponding to the aforementioned embodiment of the control method for the application switch, the present disclosure also provides an embodiment of the control device for the application switch.

图5是根据一示例性实施例示出的一种应用开关的控制装置的框图,如图5所示,应用开关的控制装置包括:聚合折叠显示模块51和接收展开显示模块52。FIG. 5 is a block diagram of a device for controlling an application switch according to an exemplary embodiment. As shown in FIG. 5 , the device for controlling an application switch includes: an aggregation folding display module 51 and a receiving unfolding display module 52 .

聚合折叠显示模块51被配置为将管理页面中每个应用的所有开关聚合并折叠显示在对应应用的显示条目中,显示条目中包含对应应用的分开关的折叠标识和总开关。The aggregation, folding and displaying module 51 is configured to aggregate and fold and display all the switches of each application in the management page in the display item of the corresponding application, and the display item includes the folding identification of the sub-switches and the main switch of the corresponding application.

在该实施例中,一个应用可能有一个或多个开关,为了方便管理,可以将每个应用的所有开关聚合并折叠显示在对应应用的显示条目中,其中,该显示条目包含对应应用的分开关的折叠标识和总开关。该折叠标识可以采用预设符号或预设图标进行表示。In this embodiment, an application may have one or more switches. To facilitate management, all switches of each application may be aggregated and displayed in a display item of the corresponding application. Fold logo and master switch for switch. The folding sign can be represented by a preset symbol or a preset icon.

例如,如图2所示,“360卫士”这个应用的显示条目中包含“360卫士”的分开关的折叠标识和总开关。For example, as shown in FIG. 2 , the display item of the application "360 Guardian" includes the folding logo of the sub-switch and the main switch of "360 Guardian".

需要说明的是,图2中列举的应用仅为示例,分开关的折叠标识也可以采用其他符号进行表示。It should be noted that the applications listed in FIG. 2 are only examples, and the folding marks of the switch can also be represented by other symbols.

接收展开显示模块52被配置为接收触发聚合折叠显示模块51显示的显示条目中包含的折叠标识的操作,并根据操作展开显示对应应用的分开关,以便用户控制开启或关闭分开关。The receiving and unfolding display module 52 is configured to receive an operation that triggers the fold mark included in the display item displayed by the aggregated fold display module 51, and expand and display the sub-switch of the corresponding application according to the operation, so that the user can control the opening or closing of the sub-switch.

在该实施例中,如果用户想开启或关闭某个应用的分开关,则可以触发例如点击对应显示条目中的折叠标识,此时,移动终端例如手机接收触发折叠标识的操作,可以根据该操作展开显示对应应用的分开关,这样,用户就可以通过点击分开关的按键来开启或关闭对应的分开关。In this embodiment, if the user wants to turn on or off the switch of a certain application, it can trigger, for example, click on the folding sign in the corresponding display item. At this time, the mobile terminal, such as a mobile phone, receives the operation that triggers the folding sign, and can Expand and display the sub-switch of the corresponding application, so that the user can open or close the corresponding sub-switch by clicking the button of the sub-switch.

继续以图2为例进行描述,如果用户想控制“支付宝钱包”的分开关,则可以通过点击对应显示条目中的折叠标识来展开显示“支付宝钱包”的分开关,如图2所示,用户在点击“支付宝钱包”的所有分开关的折叠标识后,可以展开显示桌面图标角标、锁屏及顶部悬浮显示、通知铃声和震动、呼吸灯闪烁四个分开关。此时,如果用户想关闭桌面图标角标和呼吸灯闪烁两个分开关,则可以通过点击这两个分开关上的按键来关闭它们。Continuing to take Figure 2 as an example for description, if the user wants to control the sub-switch of "Alipay Wallet", he can expand and display the sub-switch of "Alipay Wallet" by clicking the folding icon in the corresponding display item, as shown in Figure 2, the user After clicking the folding logo of all sub-switches of "Alipay Wallet", you can expand and display the four sub-switches of desktop icon corner mark, lock screen and top floating display, notification ringtone and vibration, and breathing light flashing. At this time, if the user wants to turn off the two sub-switches of the desktop icon corner mark and the blinking breathing light, he can close them by clicking the buttons on the two sub-switches.

另外,如果用户想关闭“支付宝钱包”的所有分开关,则可以将通过关闭“支付宝钱包”的总开关来实现。In addition, if the user wants to close all the sub-switches of the "Alipay Wallet", it can be realized by closing the main switch of the "Alipay Wallet".

如图5所示的装置用于实现上述如图1所示的方法流程,涉及到的相关内容描述相同,此处不赘述。The device shown in FIG. 5 is used to implement the above-mentioned method flow shown in FIG. 1 , and related content is described in the same way, and will not be repeated here.

上述应用开关的控制装置实施例,通过将管理页面中每个应用的所有开关聚合并折叠显示在对应应用的显示条目中,从而可以根据相关操作展开显示对应应用的所有分开关,这样用户就可以批量控制分开关,而不需要通过多次进入二级页面设置分开关,操作简单,易于实现。In the embodiment of the above application switch control device, by aggregating and collapsing all the switches of each application in the management page and displaying them in the display items of the corresponding application, all the sub-switches of the corresponding application can be unfolded and displayed according to the relevant operations, so that the user can Control sub-switches in batches without setting sub-switches by entering the secondary page multiple times, which is easy to operate and implement.

图6是根据一示例性实施例示出的另一种应用开关的控制装置的框图,如图6所示,在上述图5所示实施例的基础上,聚合折叠显示模块51可包括:获取子模块511、读取子模块512和折叠显示子模块513。Fig. 6 is a block diagram of another application switch control device shown according to an exemplary embodiment. As shown in Fig. 6, on the basis of the above-mentioned embodiment shown in Fig. 5, the aggregated folding display module 51 may include: module 511 , reading submodule 512 and folding display submodule 513 .

获取子模块511被配置为获取当前移动终端的系统为每个应用提供的开关。The obtaining sub-module 511 is configured to obtain the switch provided by the system of the current mobile terminal for each application.

应用开关主要分为两类:第一类是系统提供的开关,第二类是应用申请的开关。Application switches are mainly divided into two types: the first type is the switch provided by the system, and the second type is the switch applied by the application.

第一类开关由系统提供的,无需应用申请,例如桌面图标角标、通知开关、呼吸灯闪烁开关都属于第一类开关。The first type of switch is provided by the system and does not require an application application. For example, the corner mark of the desktop icon, the notification switch, and the blinking switch of the breathing light all belong to the first type of switch.

读取子模块512被配置为从当前移动终端的系统配置文件中读取每个应用申请的开关。The reading sub-module 512 is configured to read the switch of each application application from the system configuration file of the current mobile terminal.

在该实施例中,可以通过系统例如安卓系统提供的接口PackageManager.getApplicationInfo()从系统配置文件中读取应用申请的权限对应的开关。读取到的开关属于第二类开关。In this embodiment, the switch corresponding to the permission applied for by the application can be read from the system configuration file through the interface PackageManager.getApplicationInfo() provided by the system such as the Android system. The read switch belongs to the second type of switch.

折叠显示子模块513被配置为将获取子模块511获取的和读取子模块512读取的每个应用的所有开关作为分开关折叠显示在对应应用的显示条目中。The folded display sub-module 513 is configured to fold and display all the switches of each application acquired by the acquisition sub-module 511 and read by the read sub-module 512 as separate switches in the display item of the corresponding application.

在该实施例中,将通过获取子模块511和读取子模块512获得的开关作为分开关折叠显示在对应应用的显示条目中。In this embodiment, the switches obtained through the obtaining sub-module 511 and the reading sub-module 512 are folded and displayed in the display items of the corresponding applications as separate switches.

如图6所示的装置用于实现上述如图3所示的方法流程,涉及到的相关内容描述相同,此处不赘述。The device shown in FIG. 6 is used to implement the above-mentioned method flow shown in FIG. 3 , and the relevant content involved is described in the same way, and will not be repeated here.

上述实施例,通过获得系统提供的开关和读取应用申请的开关,以获得每个应用的所有开关,并将每个应用的所有开关作为分开关折叠显示在对应应用的显示条目中,为后续实现开关的批量控制提供了条件。In the above embodiment, by obtaining the switches provided by the system and reading the switches applied for by the application, all the switches of each application are obtained, and all the switches of each application are folded and displayed in the display items of the corresponding application as separate switches. Realizing the batch control of switches provides the conditions.

图7是根据一示例性实施例示出的另一种应用开关的控制装置的框图,如图7所示,在上述图5所示实施例的基础上,该装置还可包括:第一接收关闭模块53。Fig. 7 is a block diagram of another control device using a switch according to an exemplary embodiment. As shown in Fig. 7, on the basis of the embodiment shown in Fig. 5 above, the device may further include: a first receiving shutdown Module 53.

第一接收关闭模块53被配置为接收触发总开关的关闭指令,并根据关闭指令关闭对应应用的所有分开关。The first receiving closing module 53 is configured to receive a closing command for triggering the main switch, and close all sub-switches corresponding to the application according to the closing command.

在该实施例中,在展开显示当前应用的所有分开关后,如果用户想关闭该应用的所有分开关,则可以通过关闭总开关来实现,从而达到批量关闭分开关的目的。In this embodiment, after unfolding and displaying all the sub-switches of the current application, if the user wants to close all the sub-switches of the application, he can do so by turning off the main switch, so as to achieve the purpose of closing the sub-switches in batches.

如图7所示的装置用于实现上述如图4所示的方法流程,涉及到的相关内容描述相同,此处不赘述。The device shown in FIG. 7 is used to implement the above-mentioned method flow shown in FIG. 4 , and the relevant content involved is described in the same way and will not be repeated here.

上述实施例,可以通过关闭总开关来实现关闭对应应用的所有分开关,从而达到批量关闭分开关的目的。In the above embodiment, all the sub-switches of the corresponding application can be turned off by turning off the main switch, so as to achieve the purpose of closing the sub-switches in batches.

图8是根据一示例性实施例示出的另一种应用开关的控制装置的框图,如图8所示,在上述图7所示实施例的基础上,该装置还可包括:接收开启模块54和第二接收关闭模块55。Fig. 8 is a block diagram of another application switch control device according to an exemplary embodiment. As shown in Fig. 8, on the basis of the embodiment shown in Fig. 7 above, the device may further include: a receiving and opening module 54 and the second receiving closing module 55 .

接收开启模块54被配置为接收触发总开关的开启指令,并根据开启指令开启对应应用的所有分开关。The receiving and opening module 54 is configured to receive an opening instruction for triggering the main switch, and open all sub-switches corresponding to the application according to the opening instruction.

在关闭所有分开关之后,如果用户又想开启某个或某些分开关,则可以先开启总开关,即手机接收触发总开关的开启指令,然后可以根据该开启指令开启对应应用的所有分开关。After turning off all the sub-switches, if the user wants to turn on one or some sub-switches, the main switch can be turned on first, that is, the mobile phone receives the turn-on command that triggers the main switch, and then all the sub-switches of the corresponding application can be turned on according to the turn-on command .

第二接收关闭模块55被配置为接收触发任意一个或多个分开关的关闭指令,并根据关闭指令关闭对应的分开关。The second receiving closing module 55 is configured to receive a closing instruction that triggers any one or more sub-switches, and close the corresponding sub-switches according to the closing instruction.

在用户开启所有分开关之后,假设当前应用有四个分开关,如果用户想关闭其中一个或几个分开关,则可以点击对应的分开关的关闭按键来实现。After the user turns on all the sub-switches, assuming there are four sub-switches in the current application, if the user wants to close one or several of the sub-switches, he can click the close button of the corresponding sub-switch to achieve it.

如图8所示的装置用于实现上述如图4所示的方法流程,涉及到的相关内容描述相同,此处不赘述。The device shown in FIG. 8 is used to implement the above-mentioned method flow shown in FIG. 4 , and related content is described in the same way, and will not be repeated here.

上述实施例,通过触发总开关和分开关的开启或关闭,达到批量开启或关闭分开关的目的,实现灵活且简单。In the above embodiment, by triggering the opening or closing of the main switch and the sub-switches, the purpose of opening or closing the sub-switches in batches is achieved, which is flexible and simple.

图9是根据一示例性实施例示出的另一种应用开关的控制装置的框图,如图9所示,在上述图5所示实施例的基础上,该装置还可包括:信息显示模块56。Fig. 9 is a block diagram of another control device using a switch according to an exemplary embodiment. As shown in Fig. 9, on the basis of the embodiment shown in Fig. 5 above, the device may further include: an information display module 56 .

信息显示模块56被配置为显示提示信息,提示信息用于提示用户触发折叠标识能够打开对应应用的所有分开关。The information display module 56 is configured to display prompt information, and the prompt information is used to prompt the user to trigger the folding flag to open all the sub-switches of the corresponding application.

如图9所示的装置用于实现上述如图4所示的方法流程,涉及到的相关内容描述相同,此处不赘述。The device shown in FIG. 9 is used to implement the above-mentioned method flow shown in FIG. 4 , and the relevant content involved is described in the same way and will not be repeated here.

上述实施例,通过显示提示信息,提示用户触发折叠标识打开对应应用的所有分开关,为后续批量开启或关闭分开关提供了条件。In the above embodiment, by displaying prompt information, the user is prompted to trigger the folding sign to open all the sub-switches of the corresponding application, which provides conditions for subsequent opening or closing of sub-switches in batches.

关于上述实施例中的装置,其中各个模块、子模块执行操作的具体方式已经在有关该方法的实施例中进行了详细描述,此处将不做详细阐述说明。Regarding the apparatus in the above embodiments, the specific manner in which each module and sub-module performs operations has been described in detail in the embodiments related to the method, and will not be described in detail here.

图10是根据一示例性实施例示出的一种适用于应用开关的控制装置的框图。例如,装置1000可以是移动电话,计算机,数字广播终端,消息收发设备,游戏控制台,平板设备,医疗设备,健身设备,个人数字助理等。Fig. 10 is a block diagram showing a control device suitable for an application switch according to an exemplary embodiment. For example, the apparatus 1000 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, a fitness device, a personal digital assistant, and the like.

参照图10,装置1000可以包括以下一个或多个组件:处理组件1002,存储器1004,电源组件1006,多媒体组件1008,音频组件1010,输入/输出(I/O)的接口1012,传感器组件1014,以及通信组件1016。10, device 1000 may include one or more of the following components: processing component 1002, memory 1004, power supply component 1006, multimedia component 1008, audio component 1010, input/output (I/O) interface 1012, sensor component 1014, and communication component 1016.

处理组件1002通常控制装置1000的整体操作,诸如与显示,电话呼叫,数据通信,相机操作和记录操作相关联的操作。处理元件1002可以包括一个或多个处理器1020来执行指令,以完成上述的方法的全部或部分步骤。此外,处理组件1002可以包括一个或多个模块,便于处理组件1002和其他组件之间的交互。例如,处理部件1002可以包括多媒体模块,以方便多媒体组件1008和处理组件1002之间的交互。The processing component 1002 generally controls the overall operations of the device 1000, such as those associated with display, telephone calls, data communications, camera operations, and recording operations. The processing element 1002 may include one or more processors 1020 to execute instructions to complete all or part of the steps of the above method. Additionally, processing component 1002 may include one or more modules that facilitate interaction between processing component 1002 and other components. For example, processing component 1002 may include a multimedia module to facilitate interaction between multimedia component 1008 and processing component 1002 .

存储器1004被配置为存储各种类型的数据以支持在设备1000的操作。这些数据的示例包括用于在装置1000上操作的任何应用程序或方法的指令,联系人数据,电话簿数据,消息,图片,视频等。存储器1004可以由任何类型的易失性或非易失性存储设备或者它们的组合实现,如静态随机存取存储器(SRAM),电可擦除可编程只读存储器(EEPROM),可擦除可编程只读存储器(EPROM),可编程只读存储器(PROM),只读存储器(ROM),磁存储器,快闪存储器,磁盘或光盘。The memory 1004 is configured to store various types of data to support operations at the device 1000 . Examples of such data include instructions for any application or method operating on device 1000, contact data, phonebook data, messages, pictures, videos, and the like. The memory 1004 can be realized by any type of volatile or non-volatile storage device or their combination, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable Programmable Read Only Memory (EPROM), Programmable Read Only Memory (PROM), Read Only Memory (ROM), Magnetic Memory, Flash Memory, Magnetic or Optical Disk.

电力组件1006为装置1000的各种组件提供电力。电力组件1006可以包括电源管理系统,一个或多个电源,及其他与为装置1000生成、管理和分配电力相关联的组件。Power component 1006 provides power to various components of device 1000 . Power components 1006 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for device 1000 .

多媒体组件1008包括在所述装置1000和用户之间的提供一个输出接口的屏幕。在一些实施例中,屏幕可以包括液晶显示器(LCD)和触摸面板(TP)。如果屏幕包括触摸面板,屏幕可以被实现为触摸屏,以接收来自用户的输入信号。触摸面板包括一个或多个触摸传感器以感测触摸、滑动和触摸面板上的手势。所述触摸传感器可以不仅感测触摸或滑动动作的边界,而且还检测与所述触摸或滑动操作相关的持续时间和压力。在一些实施例中,多媒体组件1008包括一个前置摄像头和/或后置摄像头。当设备1000处于操作模式,如拍摄模式或视频模式时,前置摄像头和/或后置摄像头可以接收外部的多媒体数据。每个前置摄像头和后置摄像头可以是一个固定的光学透镜系统或具有焦距和光学变焦能力。The multimedia component 1008 includes a screen that provides an output interface between the device 1000 and the user. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from a user. The touch panel includes one or more touch sensors to sense touches, swipes, and gestures on the touch panel. The touch sensor may not only sense a boundary of a touch or swipe action, but also detect a duration and pressure associated with the touch or swipe operation. In some embodiments, the multimedia component 1008 includes a front camera and/or a rear camera. When the device 1000 is in an operation mode, such as a shooting mode or a video mode, the front camera and/or the rear camera can receive external multimedia data. Each front camera and rear camera can be a fixed optical lens system or have focal length and optical zoom capability.

音频组件1010被配置为输出和/或输入音频信号。例如,音频组件1010包括一个麦克风(MIC),当装置1000处于操作模式,如呼叫模式、记录模式和语音识别模式时,麦克风被配置为接收外部音频信号。所接收的音频信号可以被进一步存储在存储器1004或经由通信组件1016发送。在一些实施例中,音频组件1010还包括一个扬声器,用于输出音频信号。The audio component 1010 is configured to output and/or input audio signals. For example, the audio component 1010 includes a microphone (MIC), which is configured to receive external audio signals when the device 1000 is in operation modes, such as call mode, recording mode and voice recognition mode. Received audio signals may be further stored in memory 1004 or sent via communication component 1016 . In some embodiments, the audio component 1010 also includes a speaker for outputting audio signals.

I/O接口1012为处理组件1002和外围接口模块之间提供接口,上述外围接口模块可以是键盘,点击轮,按钮等。这些按钮可包括但不限于:主页按钮、音量按钮、启动按钮和锁定按钮。The I/O interface 1012 provides an interface between the processing component 1002 and a peripheral interface module, which may be a keyboard, a click wheel, a button, and the like. These buttons may include, but are not limited to: a home button, volume buttons, start button, and lock button.

传感器组件1014包括一个或多个传感器,用于为装置1000提供各个方面的状态评估。例如,传感器组件1014可以检测到设备1000的打开/关闭状态,组件的相对定位,例如所述组件为装置1000的显示器和小键盘,传感器组件1014还可以检测装置1000或装置1000一个组件的位置改变,用户与装置1000接触的存在或不存在,装置1000方位或加速/减速和装置1000的温度变化。传感器组件1014可以包括接近传感器,被配置用来在没有任何的物理接触时检测附近物体的存在。传感器组件1014还可以包括光传感器,如CMOS或CCD图像传感器,用于在成像应用中使用。在一些实施例中,该传感器组件1014还可以包括加速度传感器,陀螺仪传感器,磁传感器,压力传感器或温度传感器。Sensor assembly 1014 includes one or more sensors for providing status assessments of various aspects of device 1000 . For example, the sensor component 1014 can detect the open/closed state of the device 1000, the relative positioning of components, such as the display and keypad of the device 1000, and the sensor component 1014 can also detect a change in the position of the device 1000 or a component of the device 1000 , the presence or absence of user contact with the device 1000 , the device 1000 orientation or acceleration/deceleration and the temperature change of the device 1000 . The sensor assembly 1014 may include a proximity sensor configured to detect the presence of nearby objects in the absence of any physical contact. The sensor assembly 1014 may also include an optical sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor component 1014 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor or a temperature sensor.

通信组件1016被配置为便于装置1000和其他设备之间有线或无线方式的通信。装置1000可以接入基于通信标准的无线网络,如WiFi,2G或3G,或它们的组合。在一个示例性实施例中,通信部件1016经由广播信道接收来自外部广播管理系统的广播信号或广播相关信息。在一个示例性实施例中,所述通信部件1016还包括近场通信(NFC)模块,以促进短程通信。例如,在NFC模块可基于射频识别(RFID)技术,红外数据协会(IrDA)技术,超宽带(UWB)技术,蓝牙(BT)技术和其他技术来实现。The communication component 1016 is configured to facilitate wired or wireless communication between the apparatus 1000 and other devices. The device 1000 can access wireless networks based on communication standards, such as WiFi, 2G or 3G, or a combination thereof. In an exemplary embodiment, the communication component 1016 receives a broadcast signal or broadcast related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 1016 also includes a near field communication (NFC) module to facilitate short-range communication. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, Infrared Data Association (IrDA) technology, Ultra Wide Band (UWB) technology, Bluetooth (BT) technology and other technologies.

在示例性实施例中,装置1000可以被一个或多个应用专用集成电路(ASIC)、数字信号处理器(DSP)、数字信号处理设备(DSPD)、可编程逻辑器件(PLD)、现场可编程门阵列(FPGA)、控制器、微控制器、微处理器或其他电子元件实现,用于执行上述方法。In an exemplary embodiment, apparatus 1000 may be programmed by one or more application specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable A gate array (FPGA), controller, microcontroller, microprocessor or other electronic component implementation for performing the methods described above.

在示例性实施例中,还提供了一种包括指令的非临时性计算机可读存储介质,例如包括指令的存储器1004,上述指令可由装置1000的处理器1020执行以完成上述方法。例如,所述非临时性计算机可读存储介质可以是ROM、随机存取存储器(RAM)、CD-ROM、磁带、软盘和光数据存储设备等。In an exemplary embodiment, there is also provided a non-transitory computer-readable storage medium including instructions, such as the memory 1004 including instructions, which can be executed by the processor 1020 of the device 1000 to implement the above method. For example, the non-transitory computer readable storage medium may be ROM, random access memory (RAM), CD-ROM, magnetic tape, floppy disk, optical data storage device, and the like.

本领域技术人员在考虑说明书及实践这里公开的公开后,将容易想到本公开的其它实施方案。本申请旨在涵盖本公开的任何变型、用途或者适应性变化,这些变型、用途或者适应性变化遵循本公开的一般性原理并包括本公开未公开的本技术领域中的公知常识或惯用技术手段。说明书和实施例仅被视为示例性的,本公开的真正范围和精神由下面的权利要求指出。Other embodiments of the disclosure will be readily apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This application is intended to cover any modification, use or adaptation of the present disclosure, and these modifications, uses or adaptations follow the general principles of the present disclosure and include common knowledge or conventional technical means in the technical field not disclosed in the present disclosure . The specification and examples are to be considered exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.

应当理解的是,本公开并不局限于上面已经描述并在附图中示出的精确结构,并且可以在不脱离其范围进行各种修改和改变。本公开的范围仅由所附的权利要求来限制。It should be understood that the present disclosure is not limited to the precise constructions which have been described above and shown in the drawings, and various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims (13)

1.一种应用开关的控制方法,其特征在于,所述方法包括:1. A control method for an application switch, characterized in that the method comprises: 将管理页面中每个应用的所有开关聚合并折叠显示在对应应用的显示条目中,所述显示条目中包含对应应用的分开关的折叠标识和总开关;Aggregate and fold all the switches of each application in the management page into the display item of the corresponding application, and the display item includes the folding identifier of the sub-switch and the main switch of the corresponding application; 接收触发所述折叠标识的操作,并根据所述操作展开显示对应应用的分开关,以便用户控制开启或关闭所述分开关。An operation for triggering the folding sign is received, and a sub-switch corresponding to the application is expanded and displayed according to the operation, so that the user can control the opening or closing of the sub-switch. 2.根据权利要求1所述的应用开关的控制方法,其特征在于,所述将管理页面中每个应用的所有开关聚合并折叠显示在对应应用的显示条目中,包括:2. The method for controlling application switches according to claim 1, wherein the aggregating and folding display of all switches of each application in the management page in the display items of the corresponding application comprises: 获取当前移动终端的系统为所述每个应用提供的开关;Obtain the switch provided by the system of the current mobile terminal for each application; 从所述当前移动终端的系统配置文件中读取所述每个应用申请的开关;Read the switch of each application application from the system configuration file of the current mobile terminal; 将获取的和读取的每个应用的所有开关作为所述分开关折叠显示在对应应用的所述显示条目中。All the acquired and read switches of each application are folded and displayed in the display item of the corresponding application as the separate switches. 3.根据权利要求1所述的应用开关的控制方法,其特征在于,所述方法还包括:3. The method for controlling an application switch according to claim 1, further comprising: 接收触发所述总开关的关闭指令,并根据所述关闭指令关闭对应应用的所有分开关。receiving a closing instruction that triggers the main switch, and closing all the sub-switches corresponding to the application according to the closing instruction. 4.根据权利要求3所述的应用开关的控制方法,其特征在于,所述方法还包括:4. The method for controlling an application switch according to claim 3, further comprising: 接收触发所述总开关的开启指令,并根据所述开启指令开启对应应用的所有分开关;receiving an opening instruction that triggers the main switch, and opening all sub-switches corresponding to the application according to the opening instruction; 接收触发任意一个或多个所述分开关的关闭指令,并根据所述关闭指令关闭对应的分开关。receiving a closing instruction that triggers any one or more of the sub-switches, and closing the corresponding sub-switches according to the closing instruction. 5.根据权利要求1所述的应用开关的控制方法,其特征在于,所述方法还包括:5. The method for controlling an application switch according to claim 1, further comprising: 显示提示信息,所述提示信息用于提示用户触发所述折叠标识能够打开对应应用的所有分开关。Displaying prompt information, the prompt information is used to prompt the user to trigger the folding indicator to open all the switches of the corresponding application. 6.根据权利要求1所述的应用开关的控制方法,其特征在于,所述折叠标识采用预设符号或预设图标进行表示。6 . The method for controlling an application switch according to claim 1 , wherein the folding mark is represented by a preset symbol or a preset icon. 7 . 7.一种应用开关的控制装置,其特征在于,所述装置包括:7. A control device using a switch, characterized in that the device comprises: 聚合折叠显示模块,被配置为将管理页面中每个应用的所有开关聚合并折叠显示在对应应用的显示条目中,所述显示条目中包含对应应用的分开关的折叠标识和总开关;The aggregated folding display module is configured to aggregate and fold all the switches of each application in the management page into the display item of the corresponding application, and the display item includes the folding identification of the sub-switches and the main switch of the corresponding application; 接收展开显示模块,被配置为接收触发所述聚合折叠显示模块显示的显示条目中包含的所述折叠标识的操作,并根据所述操作展开显示对应应用的分开关,以便用户控制开启或关闭所述分开关。The receiving and unfolding display module is configured to receive an operation that triggers the folding logo included in the display items displayed by the aggregated folding display module, and expand and display the sub-switches of the corresponding applications according to the operations, so that the user can control the opening or closing of all Said switch. 8.根据权利要求7所述的应用开关的控制装置,其特征在于,所述聚合折叠显示模块包括:8. The control device for application switches according to claim 7, wherein the aggregation folding display module comprises: 获取子模块,被配置为获取当前移动终端的系统为所述每个应用提供的开关;The obtaining submodule is configured to obtain the switch provided by the system of the current mobile terminal for each application; 读取子模块,被配置为从所述当前移动终端的系统配置文件中读取所述每个应用申请的开关;The reading submodule is configured to read the switch of each application application from the system configuration file of the current mobile terminal; 折叠显示子模块,被配置为将所述获取子模块获取的和所述读取子模块读取的每个应用的所有开关作为所述分开关折叠显示在对应应用的所述显示条目中。The folded display submodule is configured to fold and display all the switches of each application acquired by the acquisition submodule and read by the reading submodule as the separate switches in the display item of the corresponding application. 9.根据权利要求7所述的应用开关的控制装置,其特征在于,所述装置还包括:9. The control device for applying a switch according to claim 7, characterized in that the device further comprises: 第一接收关闭模块,被配置为接收触发所述总开关的关闭指令,并根据所述关闭指令关闭对应应用的所有分开关。The first receiving and closing module is configured to receive a closing instruction that triggers the main switch, and close all the sub-switches corresponding to the application according to the closing instruction. 10.根据权利要求9所述的应用开关的控制装置,其特征在于,所述装置还包括:10. The control device for applying a switch according to claim 9, characterized in that the device further comprises: 接收开启模块,被配置为接收触发所述总开关的开启指令,并根据所述开启指令开启对应应用的所有分开关;The receiving opening module is configured to receive an opening instruction that triggers the main switch, and open all sub-switches corresponding to the application according to the opening instruction; 第二接收关闭模块,被配置为接收触发任意一个或多个所述分开关的关闭指令,并根据所述关闭指令关闭对应的分开关。The second receiving closing module is configured to receive a closing instruction that triggers any one or more of the sub-switches, and close the corresponding sub-switches according to the closing instruction. 11.根据权利要求7所述的应用开关的控制装置,其特征在于,所述装置还包括:11. The control device for applying a switch according to claim 7, characterized in that the device further comprises: 信息显示模块,被配置为显示提示信息,所述提示信息用于提示用户触发所述折叠标识能够打开对应应用的所有分开关。The information display module is configured to display prompt information, and the prompt information is used to prompt the user to trigger the folding sign to open all the sub-switches of the corresponding application. 12.根据权利要求7所述的应用开关的控制装置,其特征在于,所述折叠标识采用预设符号或预设图标进行表示。12 . The control device using a switch according to claim 7 , wherein the folding mark is represented by a preset symbol or a preset icon. 13 . 13.一种应用开关的控制装置,其特征在于,包括:13. A control device using a switch, characterized in that it comprises: 处理器;processor; 用于存储处理器可执行指令的存储器;memory for storing processor-executable instructions; 其中,所述处理器被配置为:Wherein, the processor is configured as: 将管理页面中每个应用的所有开关聚合并折叠显示在对应应用的显示条目中,所述显示条目中包含对应应用的分开关的折叠标识和总开关;Aggregate and fold all the switches of each application in the management page into the display item of the corresponding application, and the display item includes the folding identifier of the sub-switch and the main switch of the corresponding application; 接收触发所述折叠标识的操作,并根据所述操作展开显示对应应用的分开关,以便用户控制开启或关闭所述分开关。An operation for triggering the folding sign is received, and a sub-switch corresponding to the application is expanded and displayed according to the operation, so that the user can control the opening or closing of the sub-switch.
CN201610614742.2A 2016-07-28 2016-07-28 The control method of application switch and device Pending CN106250005A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610614742.2A CN106250005A (en) 2016-07-28 2016-07-28 The control method of application switch and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610614742.2A CN106250005A (en) 2016-07-28 2016-07-28 The control method of application switch and device

Publications (1)

Publication Number Publication Date
CN106250005A true CN106250005A (en) 2016-12-21

Family

ID=57606169

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610614742.2A Pending CN106250005A (en) 2016-07-28 2016-07-28 The control method of application switch and device

Country Status (1)

Country Link
CN (1) CN106250005A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109348041A (en) * 2018-08-13 2019-02-15 珠海格力电器股份有限公司 Application program networking control method and device, storage medium and terminal
CN112306331A (en) * 2020-10-26 2021-02-02 广州朗国电子科技有限公司 Touch penetration processing method and device, storage medium and all-in-one machine
CN116841232A (en) * 2023-06-30 2023-10-03 浪潮(山东)计算机科技有限公司 Independent control method, device, equipment and medium for network card switch

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103389871A (en) * 2012-05-11 2013-11-13 联想(北京)有限公司 Method for controlling electronic equipment and electronic equipment
CN103582873A (en) * 2011-06-05 2014-02-12 苹果公司 Systems and methods for displaying notifications received from multiple applications
CN105426060A (en) * 2015-11-18 2016-03-23 小米科技有限责任公司 Application control method and device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103582873A (en) * 2011-06-05 2014-02-12 苹果公司 Systems and methods for displaying notifications received from multiple applications
CN103389871A (en) * 2012-05-11 2013-11-13 联想(北京)有限公司 Method for controlling electronic equipment and electronic equipment
CN105426060A (en) * 2015-11-18 2016-03-23 小米科技有限责任公司 Application control method and device

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109348041A (en) * 2018-08-13 2019-02-15 珠海格力电器股份有限公司 Application program networking control method and device, storage medium and terminal
CN109348041B (en) * 2018-08-13 2021-07-27 珠海格力电器股份有限公司 Application program networking control method and device, storage medium and terminal
CN112306331A (en) * 2020-10-26 2021-02-02 广州朗国电子科技有限公司 Touch penetration processing method and device, storage medium and all-in-one machine
CN116841232A (en) * 2023-06-30 2023-10-03 浪潮(山东)计算机科技有限公司 Independent control method, device, equipment and medium for network card switch

Similar Documents

Publication Publication Date Title
CN106970754A (en) The method and device of screenshotss processing
CN106028143A (en) Video live broadcasting method and device
CN107357505A (en) The method, apparatus and computer-readable recording medium of screenshot capture
CN106445354A (en) Terminal equipment touch control method and terminal equipment touch control device
CN106293396A (en) terminal control method, device and terminal
CN106547663A (en) Button management method and device
CN106126018A (en) Desktop icons sort method and device
CN106528131A (en) Application function display method and apparatus, and terminal device
CN107817929A (en) The quick control method and device of smart machine
CN106843592A (en) Touch control method and device and mobile terminal
CN105704766A (en) Control method and device of double-card mobile terminal
CN106547216A (en) The method and device of intelligent scene trigger condition is set
US20170153813A1 (en) Touch control method and apparatus for function key, and storage medium
CN110209454A (en) Interface switching method and changing interface device
CN106528273A (en) Application management method and device
CN106708519A (en) Operation control adding method and device
CN106775708A (en) The page layout switch control method and device of mobile terminal
CN104461358B (en) Light the method and device of screen
CN106648650A (en) Method and device for adjusting terminal display status
CN106250005A (en) The control method of application switch and device
CN106445499A (en) Shortcut key prompting method and device
CN106465160A (en) Network function switching method and device
CN106547705A (en) USB (universal serial bus) operating mode control method and device
CN112230827B (en) Interactive interface switching method and device and electronic equipment
CN106293717A (en) The processing method of the setting of terminal, device and terminal

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into 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: 20161221