CN104750369B - The control method and device of rapid switch in a kind of intelligent terminal - Google Patents

The control method and device of rapid switch in a kind of intelligent terminal Download PDF

Info

Publication number
CN104750369B
CN104750369B CN201510148766.9A CN201510148766A CN104750369B CN 104750369 B CN104750369 B CN 104750369B CN 201510148766 A CN201510148766 A CN 201510148766A CN 104750369 B CN104750369 B CN 104750369B
Authority
CN
China
Prior art keywords
switch
shortcut switch
shortcut
working state
current working
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
CN201510148766.9A
Other languages
Chinese (zh)
Other versions
CN104750369A (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.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201510148766.9A priority Critical patent/CN104750369B/en
Publication of CN104750369A publication Critical patent/CN104750369A/en
Application granted granted Critical
Publication of CN104750369B publication Critical patent/CN104750369B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Switch Cases, Indication, And Locking (AREA)
  • Tumbler Switches (AREA)

Abstract

本发明涉及智能终端技术领域,尤其涉及一种智能终端中快捷开关的控制方法及装置。该方法包括:在检测到用户在智能终端的状态栏执行下拉操作时,显示预设的至少一个快捷开关;在检测到用户对任一快捷开关执行预设的锁定动作时,获取该快捷开关所处的当前工作状态,并将该快捷开关锁定于所述当前工作状态。该方法在检测到用户对显示的任一快捷开关执行锁定动作时,将该快捷开关锁定于当前工作状态,以使用户无法通过点击动作切换该快捷开关所处的工作状态,避免了误接触快捷开关给用户造成的损失。

The present invention relates to the technical field of intelligent terminals, in particular to a method and device for controlling a shortcut switch in an intelligent terminal. The method includes: when detecting that the user performs a pull-down operation on the status bar of the smart terminal, displaying at least one preset shortcut switch; when detecting that the user performs a preset locking action on any shortcut switch, obtaining the the current working state at the location, and lock the shortcut switch in the current working state. When the method detects that the user performs a locking action on any of the displayed shortcut switches, the shortcut switch is locked in the current working state, so that the user cannot switch the working state of the shortcut switch by clicking, and avoids accidentally touching the shortcut switch. The loss caused by the switch to the user.

Description

一种智能终端中快捷开关的控制方法及装置A control method and device for a shortcut switch in an intelligent terminal

技术领域technical field

本发明涉及智能终端技术领域,尤其涉及一种智能终端中快捷开关的控制方法及装置。The present invention relates to the technical field of intelligent terminals, in particular to a method and device for controlling a shortcut switch in an intelligent terminal.

背景技术Background technique

随着移动通信技术的发展,智能终端如智能手机、平板电脑等,已经得到了越来越广泛的应用。With the development of mobile communication technology, intelligent terminals such as smart phones and tablet computers have been more and more widely used.

目前,手机状态栏中的切换项包括手机内置默认的应用程序的快捷开关,比如有wifi、移动数据、蓝牙、屏幕亮度、飞行模式和屏幕旋转等开关,通过点击上述快捷开关即可实现对相应的应用程序的开启或关闭进行控制或其他调节操作。Currently, the switching items in the status bar of the mobile phone include the shortcut switches of the built-in default applications in the mobile phone, such as wifi, mobile data, Bluetooth, screen brightness, airplane mode, and screen rotation. Control or other adjustment operations by opening or closing the application.

然而,用户在使用智能终端时经常会误接触状态栏的快捷开关导致智能终端的某些功能被误打开,从而给用户带来损失。比如“移动数据”开关被误打开后,在流量不够的情况下,往往会导致用户消耗很多流量费。即,目前尚且缺乏能够避免因误接触快捷开关给用户造成损失的方法。However, when using the smart terminal, the user often touches the shortcut switch on the status bar by mistake, causing some functions of the smart terminal to be turned on by mistake, thereby causing losses to the user. For example, after the "mobile data" switch is turned on by mistake, the user will often consume a lot of traffic charges when the traffic is not enough. That is, there is still a lack of methods capable of avoiding loss to the user due to mistaken contact with the shortcut switch at present.

发明内容Contents of the invention

本发明的目的在于提出一种智能终端中快捷开关的控制方法及装置,以提供了一种避免因误接触快捷开关给用户造成损失的方法。The purpose of the present invention is to provide a control method and device for a shortcut switch in an intelligent terminal, so as to provide a method for avoiding losses to users caused by mistakenly touching the shortcut switch.

一方面,本发明实施例提供一种智能终端中快捷开关的控制方法,包括:On the one hand, an embodiment of the present invention provides a method for controlling a shortcut switch in a smart terminal, including:

在检测到用户在智能终端的状态栏执行下拉操作时,显示预设的至少一个快捷开关;When it is detected that the user performs a pull-down operation on the status bar of the smart terminal, at least one preset shortcut switch is displayed;

在检测到用户对任一快捷开关执行预设的锁定动作时,获取该快捷开关所处的当前工作状态,并将该快捷开关锁定于所述当前工作状态。When it is detected that the user performs a preset locking action on any shortcut switch, the current working state of the shortcut switch is obtained, and the shortcut switch is locked in the current working state.

进一步地,所述在检测到用户对任一快捷开关执行预设的锁定动作时,获取该快捷开关所处的当前工作状态,并将该快捷开关锁定于所述当前工作状态,包括:Further, when it is detected that the user performs a preset locking action on any shortcut switch, obtaining the current working state of the shortcut switch, and locking the shortcut switch in the current working state includes:

在检测到用户在预设时间内连续点击任一快捷开关的次数大于预设数值时,获取该快捷开关所处的当前工作状态,并将该快捷开关锁定于所述当前工作状态。When it is detected that the number of consecutive clicks of any shortcut switch by the user within a preset time is greater than a preset value, the current working state of the shortcut switch is obtained, and the shortcut switch is locked in the current working state.

进一步地,所述将该快捷开关锁定于所述当前工作状态之后,还包括:Further, after the shortcut switch is locked in the current working state, it also includes:

在该快捷开关处添加并显示预设的锁定标记。Add and display the preset lock mark at the shortcut switch.

进一步地,所述将该快捷开关锁定于所述当前工作状态之后,还包括:Further, after the shortcut switch is locked in the current working state, it also includes:

将该快捷开关的颜色设置为预设颜色。Set the color of the shortcut switch to the preset color.

进一步地,所述将该快捷开关锁定于所述当前工作状态之后,还包括:Further, after the shortcut switch is locked in the current working state, it also includes:

在重新检测到用户对该快捷开关执行预设的锁定动作时,将该快捷开关切换为解锁状态,以通过点击动作切换该快捷开关所处的工作状态。When it is re-detected that the user performs a preset locking action on the shortcut switch, the shortcut switch is switched to an unlocked state, so as to switch the working state of the shortcut switch by clicking.

进一步地,所述在该快捷开关处添加并显示预设的锁定标记之后,还包括:Further, after adding and displaying the preset lock mark at the shortcut switch, it also includes:

在重新检测到用户对该快捷开关处执行预设的锁定动作时,停止在该快捷开关处显示所述锁定标记。When it is re-detected that the user performs a preset locking action on the shortcut switch, the display of the lock mark on the shortcut switch is stopped.

另一方面,本发明实施例提供了一种智能终端中快捷开关的控制装置,包括:On the other hand, an embodiment of the present invention provides a control device for a shortcut switch in a smart terminal, including:

开关显示单元,用于在检测到用户在智能终端的状态栏执行下拉操作时,显示预设的至少一个快捷开关;A switch display unit, configured to display at least one preset shortcut switch when it is detected that the user performs a pull-down operation on the status bar of the smart terminal;

开关锁定单元,用于在检测到用户对任一快捷开关执行预设的锁定动作时,获取该快捷开关所处的当前工作状态,并将该快捷开关锁定于所述当前工作状态。The switch locking unit is configured to obtain the current working state of the shortcut switch and lock the shortcut switch in the current working state when it is detected that the user performs a preset locking action on any shortcut switch.

进一步地,所述开关锁定单元具体用于:Further, the switch locking unit is specifically used for:

在检测到用户在预设时间内连续点击任一快捷开关的次数大于预设数值时,获取该快捷开关所处的当前工作状态,并将该快捷开关锁定于所述当前工作状态。When it is detected that the number of consecutive clicks of any shortcut switch by the user within a preset time is greater than a preset value, the current working state of the shortcut switch is obtained, and the shortcut switch is locked in the current working state.

进一步地,所述装置还包括:Further, the device also includes:

标记添加单元,用于在所述将该快捷开关锁定于所述当前工作状态之后,在该快捷开关处添加并显示预设的锁定标记。The mark adding unit is configured to add and display a preset lock mark on the shortcut switch after the shortcut switch is locked in the current working state.

进一步地,所述装置还包括:Further, the device also includes:

开关解锁单元,用于,在将该快捷开关锁定于所述当前工作状态之后,重新检测到用户对该快捷开关执行预设的锁定动作时,将该快捷开关切换为解锁状态,以通过点击动作切换该快捷开关所处的工作状态。The switch unlocking unit is configured to, after locking the shortcut switch in the current working state, switch the shortcut switch to an unlocked state when it is re-detected that the user performs a preset locking action on the shortcut switch, so that the shortcut switch can be clicked Switch the working state of the shortcut switch.

本发明实施例提供的智能终端中快捷开关的控制方法及装置,避免了误接触快捷开关给用户造成的损失。该方法在检测到用户对显示的任一快捷开关执行锁定动作时,通过获取该快捷开关所处的当前工作状态,并将该快捷开关锁定于所述当前工作状态,以使用户无法通过点击动作切换该快捷开关所处的工作状态,避免了误接触快捷开关给用户造成的损失。The method and device for controlling the shortcut switch in the smart terminal provided by the embodiments of the present invention avoid losses caused to the user by mistakenly touching the shortcut switch. When detecting that the user performs a locking action on any shortcut switch displayed, the method obtains the current working state of the shortcut switch and locks the shortcut switch in the current working state, so that the user cannot click Switching the working state of the shortcut switch avoids the loss caused to the user by touching the shortcut switch by mistake.

附图说明Description of drawings

此处所说明的附图用来提供对本发明实施例的进一步理解,构成本发明实施例的一部分,并不构成对本发明实施例的限定。在附图中:The drawings described here are used to provide further understanding of the embodiments of the present invention, constitute a part of the embodiments of the present invention, and do not limit the embodiments of the present invention. In the attached picture:

图1是本发明第一实施例中提供的智能终端中快捷开关的控制方法的实现流程图;FIG. 1 is a flow chart of the implementation of the method for controlling the shortcut switch in the smart terminal provided in the first embodiment of the present invention;

图2是本发明第二实施例中提供的智能终端中快捷开关的控制方法的实现流程图;FIG. 2 is a flow chart of the implementation of the method for controlling the shortcut switch in the smart terminal provided in the second embodiment of the present invention;

图3是本发明第三实施例中提供的智能终端中快捷开关的控制方法的实现流程图;FIG. 3 is a flow chart of the implementation of the method for controlling the shortcut switch in the smart terminal provided in the third embodiment of the present invention;

图4是本发明第四实施例中提供的智能终端中快捷开关的控制装置的结构示意图。Fig. 4 is a schematic structural diagram of a control device for a shortcut switch in a smart terminal provided in a fourth embodiment of the present invention.

具体实施方式detailed description

下面结合附图及具体实施例对本发明实施例进行更加详细与完整的说明。可以理解的是,此处所描述的具体实施例仅用于解释本发明实施例,而非对本发明实施例的限定。另外还需要说明的是,为了便于描述,附图中仅示出了与本发明实施例相关的部分而非全部内容。The embodiments of the present invention will be described in more detail and complete below in conjunction with the accompanying drawings and specific embodiments. It should be understood that the specific embodiments described here are only used to explain the embodiments of the present invention, rather than to limit the embodiments of the present invention. In addition, it should be noted that, for the convenience of description, only the part related to the embodiment of the present invention is shown in the drawings but not the whole content.

第一实施例:First embodiment:

图1是本发明第一实施例中提供的智能终端中快捷开关的控制方法的实现流程图,该方法可以由智能终端中快捷开关的控制装置执行,其中该装置可以由软件和/或硬件实现,可作为智能终端的一部分被内置在智能终端内部。如图1所示,该实现流程包括如下步骤:Fig. 1 is an implementation flowchart of the method for controlling the shortcut switch in the smart terminal provided in the first embodiment of the present invention, the method can be executed by the control device for the shortcut switch in the smart terminal, wherein the device can be implemented by software and/or hardware , which can be built into the smart terminal as a part of the smart terminal. As shown in Figure 1, the implementation process includes the following steps:

步骤11,在检测到用户在智能终端的状态栏执行下拉操作时,显示预设的至少一个快捷开关。Step 11, when it is detected that the user performs a pull-down operation on the status bar of the smart terminal, at least one preset shortcut switch is displayed.

智能终端的状态栏用于显示智能终端的情景模式,电池电量和网络连接状态等。所述快捷开关所在的区域可以为安卓(Android)的滑动式抽屉(SlidingDrawer)控件做的区域。在检查到用户在状态栏执行下拉操作时,智能终端的屏幕显示预设的至少一个快捷开关。其中,所述至少一个快捷开关可以包括wifi、移动数据、蓝牙、屏幕亮度、飞行模式和屏幕旋转等。用户可以通过上述快捷开关控制相应的应用程序所处的工作状态。The status bar of the smart terminal is used to display the scene mode, battery power and network connection status of the smart terminal. The area where the shortcut switch is located may be an area made by an Android (Sliding Drawer) control. When it is detected that the user performs a pull-down operation on the status bar, the screen of the smart terminal displays at least one preset shortcut switch. Wherein, the at least one shortcut switch may include wifi, mobile data, bluetooth, screen brightness, flight mode, screen rotation and the like. The user can control the working state of the corresponding application through the shortcut switch.

本实施例中的智能终端可以为智能手机、IPAD智能终端、平板电脑等设备。The smart terminal in this embodiment may be a smart phone, an IPAD smart terminal, a tablet computer or other devices.

步骤12,在检测到用户对任一快捷开关执行预设的锁定动作时,获取该快捷开关所处的当前工作状态,并将该快捷开关锁定于所述当前工作状态。Step 12, when it is detected that the user performs a preset locking action on any shortcut switch, acquire the current working state of the shortcut switch, and lock the shortcut switch in the current working state.

其中,所述锁定动作可以为连续点击快捷开关、长按快捷开关、控制快捷开关向预设方向滑动等。快捷开关所处的当前工作状态可以包括开启状态和关闭状态。处于开启状态的快捷开关相应的应用程序处于运行状态,处于关闭状态的快捷开关相应的应用程序处于未启动状态。Wherein, the locking action may be continuously clicking the shortcut switch, long pressing the shortcut switch, controlling the shortcut switch to slide in a preset direction, and the like. The current working state of the shortcut switch may include an on state and an off state. The application program corresponding to the shortcut switch in the on state is in the running state, and the application program corresponding to the shortcut switch in the off state is in the inactive state.

快捷开关可以处于锁定状态和解锁状态。在检测到用户点击任一处于解锁状态的快捷开关时,切换该快捷开关相应的应用程序所处的工作状态;在检测到用户点击任一处于锁定状态的快捷开关时,保持该快捷开关相应的应用程序所处的工作状态,而不切换该应用程序所处的工作状态。The shortcut switch can be in a locked state and an unlocked state. When it is detected that the user clicks any shortcut switch in the unlocked state, switch the working state of the application corresponding to the shortcut switch; when it is detected that the user clicks any shortcut switch in the locked state, keep the corresponding shortcut switch. The working state the application is in, without switching the working state the application is in.

示例性的,在检测到用户对任一处于解锁状态的快捷开关执行锁定动作时,确定该快捷开关所处的当前工作状态是开启状态还是关闭状态,在所述当前工作状态为开启状态时,则将该快捷开关锁定于开启状态;在所述当前工作状态为关闭状态时,则将该快捷开关锁定于关闭状态。Exemplarily, when it is detected that the user performs a locking action on any shortcut switch in the unlocked state, it is determined whether the current working state of the shortcut switch is on or off, and when the current working state is on, Then the shortcut switch is locked in the on state; when the current working state is in the off state, the shortcut switch is locked in the off state.

本发明实施例提供的智能终端中快捷开关的控制方法,在检测到用户对显示的任一快捷开关执行锁定动作时,通过获取该快捷开关所处的当前工作状态,并将该快捷开关锁定于所述当前工作状态,以使用户无法通过点击动作切换该快捷开关所处的工作状态,避免了误接触快捷开关给用户造成的损失。The method for controlling the shortcut switch in the smart terminal provided by the embodiment of the present invention obtains the current working state of the shortcut switch and locks the shortcut switch in the The current working state prevents the user from switching the working state of the shortcut switch by clicking, and avoids losses caused to the user by mistakenly touching the shortcut switch.

第二实施例:Second embodiment:

图2是本发明第二实施例中提供的智能终端中快捷开关的控制方法的实现流程图,本实施例将上述实施例中的锁定动作具体限定为连续点击快捷开关。如图2所示,本实施例的方法包括如下步骤:FIG. 2 is a flow chart of the implementation of the method for controlling the shortcut switch in the smart terminal provided in the second embodiment of the present invention. In this embodiment, the locking action in the above embodiment is specifically limited to continuously clicking the shortcut switch. As shown in Figure 2, the method of this embodiment includes the following steps:

步骤21、在检测到用户在智能终端的状态栏执行下拉操作时,显示预设的至少一个快捷开关。Step 21, when it is detected that the user performs a pull-down operation on the status bar of the smart terminal, display at least one preset shortcut switch.

步骤22、在检测到用户在预设时间内连续点击任一快捷开关的次数大于预设数值时,获取该快捷开关所处的当前工作状态,并将该快捷开关锁定于所述当前工作状态。Step 22: When it is detected that the number of consecutive clicks of any shortcut switch by the user within a preset time is greater than a preset value, obtain the current working state of the shortcut switch, and lock the shortcut switch in the current working state.

需要说明的是,本发明实施例中对预设时间和预设数值不作具体限定。如,预设时间可以为3秒,预设数值可以为3。It should be noted that the preset time and the preset value are not specifically limited in the embodiment of the present invention. For example, the preset time may be 3 seconds, and the preset value may be 3.

示例性的,在检测到用户连续三次点击任一快捷开关时,判断连续三次点击该快捷开关的时间间隔是否小于3秒,如果是,则通过获取该快捷开关所处的当前工作状态,并将该快捷开关锁定于所述当前工作状态,以控制该快捷开关处于锁定状态,使得用户点击该快捷开关时,该快捷开关相应的应用程序所处的工作状态不切换;否则,切换该快捷开关相应的应用程序所处的工作状态。Exemplarily, when it is detected that the user clicks any shortcut switch three times in a row, it is determined whether the time interval between clicking the shortcut switch three times in a row is less than 3 seconds, and if so, by obtaining the current working state of the shortcut switch, and The shortcut switch is locked in the current working state to control the shortcut switch to be in the locked state, so that when the user clicks the shortcut switch, the working state of the application program corresponding to the shortcut switch is not switched; otherwise, switching the shortcut switch corresponds to The working state of the application.

优选的,所述将该快捷开关锁定于所述当前工作状态之后,还包括:在该快捷开关处添加并显示预设的锁定标记,便于用户通过锁定标记能够识别处于锁定状态的快捷开关。Preferably, after the shortcut switch is locked in the current working state, it further includes: adding and displaying a preset lock mark on the shortcut switch, so that the user can identify the shortcut switch in the locked state through the lock mark.

优选的,所述将该快捷开关锁定于所述当前工作状态之后,还包括:将该快捷开关的颜色设置为预设颜色。控制处于锁定状态的快捷开关的颜色与处于解锁状态的快捷开关的颜色不同,便于用户通过快捷开关的颜色识别能够识别处于锁定状态的快捷开关。Preferably, after locking the shortcut switch in the current working state, it further includes: setting the color of the shortcut switch to a preset color. The color of the shortcut switch in the locked state is different from the color of the shortcut switch in the unlocked state, so that the user can identify the shortcut switch in the locked state through the color identification of the shortcut switch.

本实施例提供的智能终端中快捷开关的控制方法,在检测到用户在预设时间内连续点击任一快捷开关的次数大于预设数值时,通过获取该快捷开关所处的当前工作状态,并将该快捷开关锁定于所述当前工作状态,以使用户无法通过点击动作切换该快捷开关所处的工作状态,即本实施例将上述实施例中的锁定动作具体限定为连续点击动作,便于用户操作,提高了快捷开关的控制方法的可用性。另外,在控制快捷开关处于锁定状态之后,还通过在快捷开关处显示锁定标记,切换快捷开关的颜色标注处于锁定状态的快捷开关,便于用户识别处于锁定状态的快捷开关,进一步提升了用户体验。The method for controlling the shortcut switch in the smart terminal provided in this embodiment, when it is detected that the number of consecutive clicks of any shortcut switch by the user within the preset time is greater than the preset value, obtains the current working state of the shortcut switch, and The shortcut switch is locked in the current working state, so that the user cannot switch the working state of the shortcut switch by clicking, that is, this embodiment specifically limits the locking action in the above embodiment to continuous clicking actions, which is convenient for users operation, improving the usability of the control method of the shortcut switch. In addition, after controlling the shortcut switch to be in the locked state, by displaying the lock mark at the shortcut switch and switching the color of the shortcut switch to mark the shortcut switch in the locked state, it is convenient for the user to identify the shortcut switch in the locked state, which further improves the user experience.

第三实施例:Third embodiment:

图3是本发明第三实施例中提供的智能终端中快捷开关的控制方法的实现流程图,本实施例以上述实施例为基础进行优化。如图3所示,本实施例的方法包括如下步骤:Fig. 3 is a flow chart of the realization of the method for controlling the shortcut switch in the smart terminal provided in the third embodiment of the present invention, and this embodiment is optimized on the basis of the above-mentioned embodiments. As shown in Figure 3, the method of this embodiment includes the following steps:

步骤31、在检测到用户在智能终端的状态栏执行下拉操作时,显示预设的至少一个快捷开关。Step 31, when it is detected that the user performs a pull-down operation on the status bar of the smart terminal, display at least one preset shortcut switch.

步骤32、在检测到用户对任一快捷开关执行预设的锁定动作时,获取该快捷开关所处的当前工作状态,并将该快捷开关锁定于所述当前工作状态。Step 32: When it is detected that the user performs a preset locking action on any shortcut switch, obtain the current working state of the shortcut switch, and lock the shortcut switch in the current working state.

其中,在检测到用户对任一快捷开关执行预设的锁定动作时,获取该快捷开关所处的当前工作状态,并将该快捷开关锁定于所述当前工作状态,可以包括:在检测到用户在预设时间内连续点击任一快捷开关的次数大于预设数值时,获取该快捷开关所处的当前工作状态,并将该快捷开关锁定于所述当前工作状态。Wherein, when it is detected that the user performs a preset locking action on any shortcut switch, obtaining the current working state of the shortcut switch, and locking the shortcut switch in the current working state may include: When the number of consecutive clicks on any shortcut switch within a preset time is greater than a preset value, the current working state of the shortcut switch is obtained, and the shortcut switch is locked in the current working state.

步骤33、在该快捷开关处添加并显示预设的锁定标记。Step 33, adding and displaying a preset lock mark at the shortcut switch.

步骤34、在重新检测到用户对该快捷开关执行预设的锁定动作时,将该快捷开关切换为解锁状态,以通过点击动作切换该快捷开关所处的工作状态。Step 34: When it is detected again that the user performs a preset locking action on the shortcut switch, switch the shortcut switch to an unlocked state, so as to switch the working state of the shortcut switch by clicking.

示例性,在检测到用户对处于锁定状态的快捷开关执行预设的锁定动作时,将该快捷开关切换为解锁状态,以通过点击动作切换该快捷开关所处的工作状态,使得用户可以通过点击动作切换该快捷开关相应的应用程序的工作状态。For example, when it is detected that the user performs a preset locking action on the shortcut switch in the locked state, the shortcut switch is switched to the unlocked state, so as to switch the working state of the shortcut switch through a click action, so that the user can click The action toggles the working state of the corresponding application of the shortcut switch.

步骤35、停止在该快捷开关处显示所述锁定标记。Step 35, stop displaying the lock mark at the shortcut switch.

控制该快捷开关处于解锁状态之后,还停止在该快捷开关处显示所述锁定标记。After the shortcut switch is controlled to be in the unlocked state, the display of the lock mark on the shortcut switch is also stopped.

本实施例中提供的智能终端中快捷开关的控制方法,在检测到用户对处于解锁状态的快捷开关执行锁定动作时,控制该快捷开关处于锁定状态;在检测到用户对处于锁定状态的快捷开关执行锁定动作时,控制该快捷开关处于解锁状态,即用户通过锁定动作能够实现快捷开关在锁定状态与解锁状态之间的切换控制。The method for controlling the shortcut switch in the smart terminal provided in this embodiment controls the shortcut switch to be in the locked state when it is detected that the user performs a locking action on the shortcut switch in the unlocked state; When the locking action is performed, the shortcut switch is controlled to be in the unlocked state, that is, the user can realize switching control of the shortcut switch between the locked state and the unlocked state through the locking action.

第四实施例:Fourth embodiment:

图4是本发明第四实施例中提供的智能终端中快捷开关的控制装置的结构示意图,该装置可以内置在智能终端内部。如图4所示,该智能终端中快捷开关的控制装置可以包括开关显示单元41和开关锁定单元42。Fig. 4 is a schematic structural diagram of a control device for a shortcut switch in a smart terminal provided in a fourth embodiment of the present invention, and the device may be built into the smart terminal. As shown in FIG. 4 , the control device for the shortcut switch in the smart terminal may include a switch display unit 41 and a switch locking unit 42 .

其中,所述开关显示单元41用于在检测到用户在智能终端的状态栏执行下拉操作时,显示预设的至少一个快捷开关;Wherein, the switch display unit 41 is configured to display at least one preset shortcut switch when it is detected that the user performs a pull-down operation on the status bar of the smart terminal;

所述开关锁定单元42用于在检测到用户对任一快捷开关执行预设的锁定动作时,获取该快捷开关所处的当前工作状态,并将该快捷开关锁定于所述当前工作状态。The switch locking unit 42 is used to obtain the current working state of the shortcut switch and lock the shortcut switch in the current working state when it is detected that the user performs a preset locking action on any shortcut switch.

其中,开关锁定单元42具体可以用于:Wherein, the switch locking unit 42 can specifically be used for:

在检测到用户在预设时间内连续点击任一快捷开关的次数大于预设数值时,获取该快捷开关所处的当前工作状态,并将该快捷开关锁定于所述当前工作状态。When it is detected that the number of consecutive clicks of any shortcut switch by the user within a preset time is greater than a preset value, the current working state of the shortcut switch is obtained, and the shortcut switch is locked in the current working state.

其中,所述装置还可以包括:Wherein, the device may also include:

标记添加单元,用于在所述将该快捷开关锁定于所述当前工作状态之后,在该快捷开关处添加并显示预设的锁定标记。The mark adding unit is configured to add and display a preset lock mark on the shortcut switch after the shortcut switch is locked in the current working state.

其中,所述装置还可以包括:Wherein, the device may also include:

开关解锁单元,用于,在将该快捷开关锁定于所述当前工作状态之后,重新检测到用户对该快捷开关执行预设的锁定动作时,将该快捷开关切换为解锁状态,以通过点击动作切换该快捷开关所处的工作状态。The switch unlocking unit is configured to, after locking the shortcut switch in the current working state, switch the shortcut switch to an unlocked state when it is re-detected that the user performs a preset locking action on the shortcut switch, so that the shortcut switch can be clicked Switch the working state of the shortcut switch.

其中,所述装置还可以包括:Wherein, the device may also include:

颜色切换单元,用于在将该快捷开关锁定于所述当前工作状态之后,将该快捷开关的颜色设置为预设颜色。The color switching unit is configured to set the color of the shortcut switch to a preset color after the shortcut switch is locked in the current working state.

其中,所述装置还可以包括:Wherein, the device may also include:

标记停止单元,用于在该快捷开关处添加并显示预设的锁定标记之后,重新检测到用户对该快捷开关处执行预设的锁定动作时,停止在该快捷开关处显示所述锁定标记。The mark stopping unit is configured to stop displaying the lock mark on the shortcut switch when it detects that the user performs a preset lock action on the shortcut switch after adding and displaying the preset lock mark on the shortcut switch.

本实施例中提供的智能终端中快捷开关的控制装置,在检测到用户对显示的任一快捷开关执行锁定动作时,开关锁定单元通过获取该快捷开关所处的当前工作状态,并将该快捷开关锁定于所述当前工作状态,以使用户无法通过点击动作切换该快捷开关所处的工作状态,避免了误接触快捷开关给用户造成的损失。The control device for the shortcut switch in the smart terminal provided in this embodiment detects that the user executes a locking action on any displayed shortcut switch, the switch locking unit obtains the current working state of the shortcut switch, and sets the shortcut switch to The switch is locked in the current working state, so that the user cannot switch the working state of the shortcut switch by clicking, and avoids the loss caused to the user by mistakenly touching the shortcut switch.

上所述仅为本发明实施例的优选实施例,并不用于限制本发明实施例,对于本领域技术人员而言,本发明实施例可以有各种改动和变化。凡在本发明实施例的精神和原理之内所作的任何修改、等同替换、改进等,均应包含在本发明实施例的保护范围之内。The above descriptions are only preferred embodiments of the embodiments of the present invention, and are not intended to limit the embodiments of the present invention. For those skilled in the art, various modifications and changes may be made to the embodiments of the present invention. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the embodiments of the present invention shall be included within the protection scope of the embodiments of the present invention.

Claims (10)

1.一种智能终端中快捷开关的控制方法,其特征在于,包括:1. A control method for a shortcut switch in an intelligent terminal, characterized in that, comprising: 在检测到用户在智能终端的状态栏执行下拉操作时,显示预设的至少一个快捷开关;When it is detected that the user performs a pull-down operation on the status bar of the smart terminal, at least one preset shortcut switch is displayed; 在检测到用户对任一快捷开关执行预设的锁定动作时,获取该快捷开关所处的当前工作状态,并将该快捷开关锁定于所述当前工作状态,所述快捷开关所处的当前工作状态包括开启状态、关闭状态和调节状态。When it is detected that the user performs a preset locking action on any shortcut switch, the current working state of the shortcut switch is obtained, and the shortcut switch is locked in the current working state, and the current working state of the shortcut switch is States include open state, closed state, and regulated state. 2.根据权利要求1所述的方法,其特征在于,所述在检测到用户对任一快捷开关执行预设的锁定动作时,获取该快捷开关所处的当前工作状态,并将该快捷开关锁定于所述当前工作状态,包括:2. The method according to claim 1, wherein when it is detected that the user performs a preset locking action on any shortcut switch, the current working state of the shortcut switch is obtained, and the shortcut switch is Locked in the current working state, including: 在检测到用户在预设时间内连续点击任一快捷开关的次数大于预设数值时,获取该快捷开关所处的当前工作状态,并将该快捷开关锁定于所述当前工作状态。When it is detected that the number of consecutive clicks of any shortcut switch by the user within a preset time is greater than a preset value, the current working state of the shortcut switch is obtained, and the shortcut switch is locked in the current working state. 3.根据权利要求1所述的方法,其特征在于,所述将该快捷开关锁定于所述当前工作状态之后,还包括:3. The method according to claim 1, characterized in that, after locking the shortcut switch in the current working state, further comprising: 在该快捷开关处添加并显示预设的锁定标记。Add and display the preset lock mark at the shortcut switch. 4.根据权利要求1所述的方法,其特征在于,所述将该快捷开关锁定于所述当前工作状态之后,还包括:4. The method according to claim 1, characterized in that, after locking the shortcut switch in the current working state, further comprising: 将该快捷开关的颜色设置为预设颜色。Set the color of the shortcut switch to the preset color. 5.根据权利要求1-4任一项所述的方法,其特征在于,所述将该快捷开关锁定于所述当前工作状态之后,还包括:5. The method according to any one of claims 1-4, characterized in that, after locking the shortcut switch in the current working state, further comprising: 在重新检测到用户对该快捷开关执行预设的锁定动作时,将该快捷开关切换为解锁状态,以通过点击动作切换该快捷开关所处的工作状态。When it is re-detected that the user performs a preset locking action on the shortcut switch, the shortcut switch is switched to an unlocked state, so as to switch the working state of the shortcut switch by clicking. 6.根据权利要求3所述的方法,其特征在于,所述在该快捷开关处添加并显示预设的锁定标记之后,还包括:6. The method according to claim 3, characterized in that, after adding and displaying a preset lock mark at the shortcut switch, further comprising: 在重新检测到用户对该快捷开关处执行预设的锁定动作时,停止在该快捷开关处显示所述锁定标记。When it is re-detected that the user performs a preset locking action on the shortcut switch, the display of the lock mark on the shortcut switch is stopped. 7.一种智能终端中快捷开关的控制装置,其特征在于,包括:7. A control device for a shortcut switch in an intelligent terminal, characterized in that it comprises: 开关显示单元,用于在检测到用户在智能终端的状态栏执行下拉操作时,显示预设的至少一个快捷开关;A switch display unit, configured to display at least one preset shortcut switch when it is detected that the user performs a pull-down operation on the status bar of the smart terminal; 开关锁定单元,用于在检测到用户对任一快捷开关执行预设的锁定动作时,获取该快捷开关所处的当前工作状态,并将该快捷开关锁定于所述当前工作状态,所述快捷开关所处的当前工作状态包括开启状态、关闭状态和调节状态。The switch locking unit is used to obtain the current working state of the shortcut switch when it is detected that the user performs a preset locking action on any shortcut switch, and lock the shortcut switch in the current working state. The current working state of the switch includes an on state, an off state and an adjustment state. 8.根据权利要求7所述的装置,其特征在于,所述开关锁定单元具体用于:8. The device according to claim 7, wherein the switch locking unit is specifically used for: 在检测到用户在预设时间内连续点击任一快捷开关的次数大于预设数值时,获取该快捷开关所处的当前工作状态,并将该快捷开关锁定于所述当前工作状态。When it is detected that the number of consecutive clicks of any shortcut switch by the user within a preset time is greater than a preset value, the current working state of the shortcut switch is obtained, and the shortcut switch is locked in the current working state. 9.根据权利要求7所述的装置,其特征在于,还包括:9. The device according to claim 7, further comprising: 标记添加单元,用于在所述将该快捷开关锁定于所述当前工作状态之后,在该快捷开关处添加并显示预设的锁定标记。The mark adding unit is configured to add and display a preset lock mark on the shortcut switch after the shortcut switch is locked in the current working state. 10.根据权利要求7-9任一项所述的装置,其特征在于,还包括:10. The device according to any one of claims 7-9, further comprising: 开关解锁单元,用于,在将该快捷开关锁定于所述当前工作状态之后,重新检测到用户对该快捷开关执行预设的锁定动作时,将该快捷开关切换为解锁状态,以通过点击动作切换该快捷开关所处的工作状态。The switch unlocking unit is configured to, after locking the shortcut switch in the current working state, switch the shortcut switch to an unlocked state when it is re-detected that the user performs a preset locking action on the shortcut switch, so that the shortcut switch can be clicked Switch the working state of the shortcut switch.
CN201510148766.9A 2015-03-31 2015-03-31 The control method and device of rapid switch in a kind of intelligent terminal Active CN104750369B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510148766.9A CN104750369B (en) 2015-03-31 2015-03-31 The control method and device of rapid switch in a kind of intelligent terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510148766.9A CN104750369B (en) 2015-03-31 2015-03-31 The control method and device of rapid switch in a kind of intelligent terminal

Publications (2)

Publication Number Publication Date
CN104750369A CN104750369A (en) 2015-07-01
CN104750369B true CN104750369B (en) 2017-11-21

Family

ID=53590150

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510148766.9A Active CN104750369B (en) 2015-03-31 2015-03-31 The control method and device of rapid switch in a kind of intelligent terminal

Country Status (1)

Country Link
CN (1) CN104750369B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106970808B (en) * 2017-02-14 2020-08-25 北京珠穆朗玛移动通信有限公司 Management method and mobile terminal of shortcut menu based on dual system
CN107172533B (en) * 2017-06-01 2019-09-13 奇酷互联网络科技(深圳)有限公司 A kind of method and apparatus and mobile terminal for selecting sound direction
CN108845852B (en) * 2018-05-28 2022-07-29 北京小米移动软件有限公司 Control method and device of intelligent equipment and computer readable storage medium
CN111717051B (en) * 2020-06-30 2022-05-03 重庆长安新能源汽车科技有限公司 Protection control method for electronic lock of pure electric vehicle

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103902159A (en) * 2014-03-18 2014-07-02 深圳市艾优尼科技有限公司 Application management method and terminal
CN103995670A (en) * 2014-05-26 2014-08-20 联想(北京)有限公司 Information processing method and electronic equipment
CN104125345A (en) * 2014-08-13 2014-10-29 中科创达软件股份有限公司 Mode switching method and device
CN104298463A (en) * 2014-09-28 2015-01-21 宇龙计算机通信科技(深圳)有限公司 Status bar display method and system

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR102141155B1 (en) * 2013-04-22 2020-08-04 삼성전자주식회사 Mobile apparatus providing with changed-shortcut icon responding to status of mobile apparatus and control method thereof

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103902159A (en) * 2014-03-18 2014-07-02 深圳市艾优尼科技有限公司 Application management method and terminal
CN103995670A (en) * 2014-05-26 2014-08-20 联想(北京)有限公司 Information processing method and electronic equipment
CN104125345A (en) * 2014-08-13 2014-10-29 中科创达软件股份有限公司 Mode switching method and device
CN104298463A (en) * 2014-09-28 2015-01-21 宇龙计算机通信科技(深圳)有限公司 Status bar display method and system

Also Published As

Publication number Publication date
CN104750369A (en) 2015-07-01

Similar Documents

Publication Publication Date Title
US9733815B2 (en) Split-screen display method and apparatus, and electronic device thereof
US10480809B2 (en) Customized control method and system for air conditioner operation mode
CN105335048B (en) Electronic equipment with hidden application icon and method for hiding application icon
CN103076973B (en) A kind of windows switching method, system and intelligent terminal
CN115357178A (en) Control method applied to screen projection scene and related equipment
CN104731478B (en) One-hand operation method and device for an intelligent terminal
KR20150128303A (en) Method and apparatus for controlling displays
AU2015297122A1 (en) Electronic device operating in idle mode and method thereof
AU2015202698B2 (en) Method and apparatus for processing input using display
CN104375741A (en) Information processing method and electronic device
WO2022089431A1 (en) Device control method and apparatus, and electronic device
CN111796734B (en) Application program management method, management device, electronic device, and storage medium
CN112000269A (en) Screen opening method and device and electronic equipment
CN104750369B (en) The control method and device of rapid switch in a kind of intelligent terminal
CN110837406A (en) A method for displaying a floating ball view and a terminal
WO2022078315A1 (en) Interface switching method and apparatus, and electronic device
US10311254B2 (en) Electronic apparatus and information access control method thereof
EP3035313B1 (en) Method and apparatus for remote control
CN102685314B (en) Mobile device and mobile device control method
EP2933957A1 (en) Method and mobile terminal for displaying dlna equipment
CN107450806A (en) Shortcut menu display methods, mobile terminal and the device with store function
CN102880413A (en) Method for controlling display of mobile terminal with touch screen and mobile terminal
CN107544740B (en) Application processing method and device, storage medium and electronic equipment
WO2022228097A1 (en) Display method, display apparatus and electronic device
CN104951293B (en) A key response method of a mobile terminal and the mobile 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
GR01 Patent grant
GR01 Patent grant
CP01 Change in the name or title of a patent holder

Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Patentee after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.

Address before: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Patentee before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.

CP01 Change in the name or title of a patent holder