WO2017032093A1 - Method and terminal for switching operating mode - Google Patents

Method and terminal for switching operating mode Download PDF

Info

Publication number
WO2017032093A1
WO2017032093A1 PCT/CN2016/082776 CN2016082776W WO2017032093A1 WO 2017032093 A1 WO2017032093 A1 WO 2017032093A1 CN 2016082776 W CN2016082776 W CN 2016082776W WO 2017032093 A1 WO2017032093 A1 WO 2017032093A1
Authority
WO
WIPO (PCT)
Prior art keywords
mapping relationship
mode
pressing
pressing information
terminal
Prior art date
Application number
PCT/CN2016/082776
Other languages
French (fr)
Chinese (zh)
Inventor
李建林
李猛
Original Assignee
广东欧珀移动通信有限公司
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 广东欧珀移动通信有限公司 filed Critical 广东欧珀移动通信有限公司
Publication of WO2017032093A1 publication Critical patent/WO2017032093A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR 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/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/041Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR 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/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR 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/46Multiprogramming arrangements
    • G06F9/48Program initiating; Program switching, e.g. by interrupt

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • Software Systems (AREA)
  • User Interface Of Digital Computer (AREA)
  • Telephone Function (AREA)

Abstract

Disclosed in the embodiments of the present invention are a method and terminal for switching an operating mode. The method for switching an operating mode comprises: detecting a press operation executed by a user on a touch screen of a terminal; determining press information corresponding to said press operation; determining an operating mode corresponding to said terminal and said press information; switching the current operating mode of said terminal to an operating mode corresponding to said press information. In the technical solutions provided by the embodiments of the present invention, the switchover of the operating mode is triggered by the user's press operation; thus the method for switching the operating mode, provided by the embodiments of the present invention, is simple to operate and convenient.

Description

一种工作模式的切换方法和终端Switching method and terminal for working mode
本发明要求2015年8月27日递交的发明名称为“一种工作模式的切换方法和终端”的申请号201510541515.7的在先申请优先权,上述在先申请的内容以引入的方式并入本文本中。The present invention claims the priority of the prior application of the application No. 201510541515.7, which is filed on Aug. 27, 2015, which is incorporated herein by reference. in.
技术领域Technical field
本发明涉及通信领域,具体涉及一种工作模式的切换方法和终端。The present invention relates to the field of communications, and in particular, to a method and a terminal for switching a working mode.
背景技术Background technique
随着电子技术的迅速发展和普及,手机、电脑等终端已经成为了人们日常工作生活中不可缺少的工具,而且随着终端中应用越来越丰富,用户的个性化需求也越来越多,根据用户所处的环境和所在的场合不同,对手机中的一些应用提供了多种可以切换的工作模式,比如调节音量的应用通常包括如下三种模式:响铃模式、振动模式和静音模式。在开会的时候,为了不影响他人,可以将音量模式设置为静音模式;在办公室非开会时间,可以将音量模式设置为振动模式,既可以减少对他人的影响又不至于漏掉来电信息;当外出或者回到家后,可以将音量模式设置为响铃模式。With the rapid development and popularization of electronic technology, mobile phones, computers and other terminals have become an indispensable tool in people's daily work and life, and as the applications in the terminal become more and more abundant, the individualized needs of users are also increasing. Depending on the environment and location of the user, some applications in the mobile phone can provide a variety of work modes that can be switched. For example, the application for adjusting the volume usually includes the following three modes: ring mode, vibration mode and silent mode. In the meeting, in order not to affect others, you can set the volume mode to silent mode; in the office non-meeting time, you can set the volume mode to vibration mode, which can reduce the impact on others and not miss the caller information; After going out or going home, you can set the volume mode to ring mode.
本发明的发明人在研究和实践过程中发现,传统的对手机等终端中的某个应用进行模式切换时,通常需要用户先打开相应的设置页面,然后在设置页面中从多种待选模式中选取一种,操作过程比较繁琐。The inventor of the present invention found in the research and practice that when a mode switch is performed on an application in a terminal such as a mobile phone, the user usually needs to open the corresponding setting page first, and then select multiple candidate modes in the setting page. One of them is chosen, and the operation process is cumbersome.
发明内容Summary of the invention
本发明提供一种工作模式的切换方法和终端,以期提供一种操作简单的工作模式切换方法。The invention provides a working mode switching method and a terminal, in order to provide a simple operation mode switching method.
本发明实施例第一方面公开了一种工作模式的切换方法,包括:A first aspect of the embodiments of the present invention discloses a method for switching a working mode, including:
监测用户在终端的触摸屏上执行的按压操作;Monitoring a pressing operation performed by a user on a touch screen of the terminal;
确定所述按压操作对应的按压信息; Determining pressing information corresponding to the pressing operation;
确定所述终端与所述按压信息对应的工作模式;Determining an operation mode of the terminal corresponding to the pressing information;
将所述终端的当前的工作模式切换为与所述按压信息对应工作模式。Switching the current working mode of the terminal to an operating mode corresponding to the pressing information.
结合第一方面,在第一方面的第一种可能的实施方式中,所述按压信息包括:按压的力度、按压的时长中的一种或多种。In conjunction with the first aspect, in a first possible implementation of the first aspect, the pressing information includes one or more of a pressing force and a duration of pressing.
结合第一方面,在第一方面的第二种可能的实施方式中,所述确定所述终端与所述按压信息对应的工作模式,包括:With reference to the first aspect, in a second possible implementation manner of the first aspect, the determining, by the terminal, the working mode corresponding to the pressing information,
在映射关系表中查询是否存在与所述按压信息匹配的映射关系记录,所述映射关系表中的每条映射关系记录包括:用于记录按压信息的按压信息字段和用于记录终端的工作模式的工作模式字段;若在所述映射关系表中查找到了与所述按压信息匹配的映射关系记录,将所述映射关系记录中的工作模式字段记录的工作模式作为所述按压信息对应的作模式。Querying, in the mapping relationship table, whether there is a mapping relationship record matching the pressing information, where each mapping relationship record in the mapping relationship table includes: a pressing information field for recording pressing information and a working mode for recording the terminal a working mode field; if a mapping relationship record matching the pressing information is found in the mapping relationship table, the working mode recorded in the working mode field in the mapping relationship record is used as a mode corresponding to the pressing information .
结合第一方面的第二种可能的实施方式,在第一方面的第三种可能的实施方式中,所述监测用户在终端的触摸屏上执行的按压操作之前,包括:In conjunction with the second possible implementation of the first aspect, in a third possible implementation manner of the first aspect, the monitoring user, before performing the pressing operation performed on the touch screen of the terminal, includes:
创建映射关系表,在所述映射关系表中创建N条映射关系记录,所述N条映射关系记录中的每条映射关系记录的按压信息互不相同,所述N条映射关系记录中的每条映射关系记录的工作模式字段所记录的工作模式互不相同,所述N为大于或者等于1的整数。Create a mapping relationship table, and create N mapping relationship records in the mapping relationship table, where the pressing information of each mapping relationship record in the N mapping relationship records are different from each other, and each of the N mapping relationship records The working modes recorded in the working mode field of the bar mapping relationship record are different from each other, and the N is an integer greater than or equal to 1.
结合第一方面的第三种可能的实施方式,在第一方面的第四种可能的实施方式中,所述N条映射关系记录中的每条映射关系记录的按压信息字段所记录的按压信息为具有改变工作模式权限的有效按压信息。With reference to the third possible implementation manner of the first aspect, in a fourth possible implementation manner of the first aspect, the pressing information recorded by the pressing information field of each mapping relationship record in the N mapping relationship records It is a valid press information with the right to change the working mode.
结合第一方面或第一方面的第一种至第四种可能的实施方式中的任意一种可能的实施方式,在第一方面的第五种可能的实施方式中,In conjunction with the first aspect or any one of the first to fourth possible embodiments of the first aspect, in a fifth possible implementation of the first aspect,
所述与所述按压信息对应工作模式,包括:The working mode corresponding to the pressing information includes:
与音量调节的应用对应的静音模式、振动模式、或者响铃模式;或者,a silent mode, a vibration mode, or a ringing mode corresponding to the volume adjustment application; or,
与浏览图片的应用对应的黑白显示模式、老照片显示模式、光晕显示模式或者晨光显示模式;或者,a black and white display mode, an old photo display mode, a halo display mode, or a morning light display mode corresponding to an application for viewing a picture; or
与视频播放的应用对应的全屏显示模式、4比3显示模式或者16比9显示模式。 A full screen display mode, a 4 to 3 display mode, or a 16 to 9 display mode corresponding to an application for video playback.
本发明实施例第二方面提供一种移动终端,包括:A second aspect of the embodiments of the present invention provides a mobile terminal, including:
监测单元,用于监测用户在终端的触摸屏上执行的按压操作;a monitoring unit, configured to monitor a pressing operation performed by a user on a touch screen of the terminal;
第一确定单元,用于确定所述监测单元监测到的所述按压操作对应的按压信息;a first determining unit, configured to determine pressing information corresponding to the pressing operation monitored by the monitoring unit;
第二确定单元,用于确定与所述第一确定单元确定的所述按压信息对应的工作模式;a second determining unit, configured to determine an operating mode corresponding to the pressing information determined by the first determining unit;
切换单元,用于将所述终端的当前的工作模式切换为与所述按压信息对应工作模式。And a switching unit, configured to switch a current working mode of the terminal to an operating mode corresponding to the pressing information.
结合第二方面,在第二方面的第一种可能的实施方式中,所述按压信息包:按压的力度、按压的时长中的一种或多种。In conjunction with the second aspect, in a first possible implementation of the second aspect, the pressing information packet is one or more of a pressing force and a duration of pressing.
结合第二方面,在第二方面的第二种可能的实施方式中,所述第二确定单元具体用于,在映射关系表中查询是否存在与所述按压信息匹配的映射关系记录,所述映射关系表中的每条映射关系记录包括用于记录按压信息的按压信息字段和用于记录工作模式的工作模式字段;若在所述映射关系表中查找了与所述按压信息匹配的映射关系记录,将所述映射关系记录中的工作模式字段记录的工作模式作为所述按压信息对应的目标应用的工作模式。With reference to the second aspect, in a second possible implementation manner of the second aspect, the second determining unit is specifically configured to: in the mapping relationship table, query whether there is a mapping relationship record that matches the pressing information, Each mapping relationship record in the mapping relationship table includes a pressing information field for recording pressing information and a working mode field for recording the working mode; if a mapping relationship matching the pressing information is found in the mapping relationship table Recording, the working mode recorded by the working mode field in the mapping relationship record is used as the working mode of the target application corresponding to the pressing information.
结合第二方面的第二种可能的实施方式,在第二方面的第三种可能的实施方式中,所述终端还包括:创建单元,用于创建映射关系表,以及在所述映射关系表中创建N条映射关系记录,所述N条映射关系记录中的每条映射关系记录的按压信息互不相同,所述N条映射关系记录中的每条映射关系记录的工作模式字段所记录的工作模式互不相同,所述N为大于或者等于1的整数。With reference to the second possible implementation of the second aspect, in a third possible implementation manner of the second aspect, the terminal further includes: a creating unit, configured to create a mapping relationship table, and in the mapping relationship table Creating N mapping relationship records, wherein the pressing information of each mapping relationship record in the N mapping relationship records are different from each other, and the working mode field records of each mapping relationship record in the N mapping relationship records are recorded The working modes are different from each other, and the N is an integer greater than or equal to 1.
结合第二方面的第三种可能的实施方式,在第二方面的第四种可能的实施方式中,所述N条映射关系记录中的每条映射关系记录的按压信息字段所记录的按压信息为具有改变工作模式权限的有效按压信息。With reference to the third possible implementation manner of the second aspect, in a fourth possible implementation manner of the second aspect, the pressing information recorded by the pressing information field of each mapping relationship record in the N mapping relationship records It is a valid press information with the right to change the working mode.
结合第二方面或第二方面的第一种至第四种可能的实施方式中的任意一种可能的实施方式,在第二方面的第五种可能的实施方式中,With reference to the second aspect or any one of the first to fourth possible embodiments of the second aspect, in a fifth possible implementation of the second aspect,
所述与所述按压信息对应工作模式,包括: The working mode corresponding to the pressing information includes:
与音量调节的应用对应的静音模式、振动模式、或者响铃模式;或者,a silent mode, a vibration mode, or a ringing mode corresponding to the volume adjustment application; or,
与浏览图片的应用对应的黑白显示模式、老照片显示模式、光晕显示模式或者晨光显示模式;或者,a black and white display mode, an old photo display mode, a halo display mode, or a morning light display mode corresponding to an application for viewing a picture; or
与视频播放的应用对应的全屏显示模式、4比3显示模式或者16比9显示模式。A full screen display mode, a 4 to 3 display mode, or a 16 to 9 display mode corresponding to an application for video playback.
本发明实施例第三方面公开了一种终端,包括:A third aspect of the embodiment of the present invention discloses a terminal, including:
处理器、存储器、用户接口和通信总线;a processor, a memory, a user interface, and a communication bus;
所述处理器、所述存储器、所述用户接口通过所述通信总线连接并完成相互间的通信;The processor, the memory, and the user interface are connected by the communication bus and complete communication with each other;
所述处理器调用所述存储器中存储的程序代码,执行以下操作:The processor calls the program code stored in the memory to perform the following operations:
监测用户在终端的触摸屏上执行的按压操作;Monitoring a pressing operation performed by a user on a touch screen of the terminal;
确定所述按压操作对应的按压信息;Determining pressing information corresponding to the pressing operation;
确定所述终端与所述按压信息对应的工作模式;Determining an operation mode of the terminal corresponding to the pressing information;
将所述终端的当前的工作模式切换为与所述按压信息对应工作模式。Switching the current working mode of the terminal to an operating mode corresponding to the pressing information.
结合第三方面,在第三方面的第一种可能的实施方式中,所述按压信息包括:按压的力度、按压的时长中的一种或多种。In conjunction with the third aspect, in a first possible implementation manner of the third aspect, the pressing information includes: one or more of a pressing force and a duration of pressing.
结合第三方面,在第三方面的第二种可能的实施方式中,所述处理器确定所述终端与所述按压信息对应的工作模式,具体为:With reference to the third aspect, in a second possible implementation manner of the third aspect, the determining, by the processor, the working mode of the terminal corresponding to the pressing information, specifically:
在映射关系表中查询是否存在与所述按压信息匹配的映射关系记录,所述映射关系表中的每条映射关系记录包括:用于记录按压信息的按压信息字段和用于记录终端的工作模式的工作模式字段;若在所述映射关系表中查找到了与所述按压信息匹配的映射关系记录,将所述映射关系记录中的工作模式字段记录的工作模式作为所述按压信息对应的工作模式。Querying, in the mapping relationship table, whether there is a mapping relationship record matching the pressing information, where each mapping relationship record in the mapping relationship table includes: a pressing information field for recording pressing information and a working mode for recording the terminal a working mode field; if the mapping relationship record matching the pressing information is found in the mapping relationship table, the working mode recorded in the working mode field in the mapping relationship record is used as the working mode corresponding to the pressing information .
结合第三方面,在第三方面的第三种可能的实施方式中,In conjunction with the third aspect, in a third possible implementation of the third aspect,
所述处理器监测用户在终端的触摸屏上执行的按压操作之前,所述处理器还用于:The processor is further configured to: before the processor monitors a pressing operation performed by the user on the touch screen of the terminal:
创建映射关系表,在映射关系表中创建N条映射关系记录,所述N条映射关系记录中的每条映射关系记录的按压信息互不相同,所述N条映射关系记录中的每条映射关系记录的工作模式字段所记录的工作模式互不相同,所述N 为大于或者等于1的整数。Create a mapping relationship table, and create N mapping relationship records in the mapping relationship table, where the pressing information of each mapping relationship record in the N mapping relationship records is different from each other, and each mapping in the N mapping relationship records The working modes recorded in the working mode field of the relationship record are different from each other, and the N Is an integer greater than or equal to 1.
结合第三方面的第三种可能的实施方式,在第三方面的第四种可能的实施方式中,所述N条映射关系记录中的每条映射关系记录的按压信息字段所记录的按压信息为具有改变工作模式权限的有效按压信息。With reference to the third possible implementation manner of the third aspect, in a fourth possible implementation manner of the third aspect, the pressing information recorded by the pressing information field of each mapping relationship record in the N mapping relationship records It is a valid press information with the right to change the working mode.
结合第三方面或第三方面的第一种至第四种可能的实施方式中的任意一种可能的实施方式,在第三方面的第五种可能的实施方式中,With reference to the third aspect or any one of the first to fourth possible embodiments of the third aspect, in a fifth possible implementation manner of the third aspect,
所述与所述按压信息对应工作模式,包括:The working mode corresponding to the pressing information includes:
与音量调节的应用对应的静音模式、振动模式、或者响铃模式;或者,a silent mode, a vibration mode, or a ringing mode corresponding to the volume adjustment application; or,
与浏览图片的应用对应的黑白显示模式、老照片显示模式、光晕显示模式或者晨光显示模式;或者,a black and white display mode, an old photo display mode, a halo display mode, or a morning light display mode corresponding to an application for viewing a picture; or
与视频播放的应用对应的全屏显示模式、4比3显示模式或者16比9显示模式。本发明实施例第四方面,提供了一种计算机存储介质,所述计算机存储介质中存储有计算机可执行指令,所述计算机可执行指令用于执行上述第一方面的工作模式的切换方法,重复之处不再赘述。A full screen display mode, a 4 to 3 display mode, or a 16 to 9 display mode corresponding to an application for video playback. A fourth aspect of the embodiments of the present invention provides a computer storage medium, where the computer storage medium stores computer executable instructions, where the computer executable instructions are used to perform the switching method of the working mode of the first aspect, and the method is repeated. It will not be repeated here.
可以看出,本发明实施例的方案中,通过监测用户在终端的触摸屏上执行的按压操作;确定所述按压操作对应的按压信息;以及确定终端与所述按压信息对应的工作模式;然后将所述终端的当前的工作模式切换为与所述按压信息对应工作模式。由于工作模式的切换由用户的按压操作进行触发,所以本发明实施例提供的工作模式的切换方法操作简单、便捷。It can be seen that, in the solution of the embodiment of the present invention, by monitoring a pressing operation performed by the user on the touch screen of the terminal; determining pressing information corresponding to the pressing operation; and determining a working mode of the terminal corresponding to the pressing information; The current working mode of the terminal is switched to an operating mode corresponding to the pressing information. The switching mode of the working mode provided by the embodiment of the present invention is simple and convenient to operate, because the switching of the working mode is triggered by the pressing operation of the user.
附图说明DRAWINGS
为了更清楚地说明本发明实施例的技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings used in the description of the embodiments will be briefly described below. It is obvious that the drawings in the following description are only some embodiments of the present invention, Those skilled in the art can also obtain other drawings based on these drawings without paying any creative work.
图1为本发明实施例提供的一种工作模式的切换方法的流程示意图;1 is a schematic flowchart of a method for switching an operation mode according to an embodiment of the present invention;
图2为本发明实施例提供的另一种工作模式的切换方法的流程示意图;2 is a schematic flowchart of another method for switching a working mode according to an embodiment of the present invention;
图3-a为本发明的实施例提供的另一种工作模式的切换方法的流程示意 图;FIG. 3 is a schematic flowchart of another method for switching a working mode according to an embodiment of the present invention. Figure
图3-b为本发明的实施例提供的映射关系表的示意图;FIG. 3 is a schematic diagram of a mapping relationship table according to an embodiment of the present invention;
图3-c为本发明的实施例提供的映射关系表的示意图;FIG. 3 is a schematic diagram of a mapping relationship table according to an embodiment of the present invention;
图3-d为本发明的实施例提供的映射关系表的示意图;FIG. 3 is a schematic diagram of a mapping relationship table according to an embodiment of the present invention; FIG.
图4为本发明实施例提供的一种终端的结构示意图;FIG. 4 is a schematic structural diagram of a terminal according to an embodiment of the present disclosure;
图5为本发明实施例提供的另一种终端的结构示意图;FIG. 5 is a schematic structural diagram of another terminal according to an embodiment of the present disclosure;
图6为本发明实施例提供的另一种终端的结构示意图。FIG. 6 is a schematic structural diagram of another terminal according to an embodiment of the present invention.
具体实施方式detailed description
本发明实施例提供了一种工作模式的切换方法和终端,以期提供一种操作简单的工作模式切换方法。The embodiment of the invention provides a working mode switching method and a terminal, in order to provide a simple operation mode switching method.
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The technical solutions in the embodiments of the present invention are clearly and completely described in the following with reference to the accompanying drawings in the embodiments of the present invention. It is obvious that the described embodiments are only a part of the embodiments of the present invention, but not all embodiments. All other embodiments obtained by those skilled in the art based on the embodiments of the present invention without creative efforts are within the scope of the present invention.
本发明的说明书和权利要求书及上述附图中的术语“第一”、“第二”、“第三”、“第四”等是用于区别不同对象,而不是用于描述特定顺序。此外,术语“包括”和“具有”以及它们任何变形,意图在于覆盖不排他的包含。例如包含了一系列步骤或单元的过程、方法、系统、产品或设备没有限定于已列出的步骤或单元,而是可选地还包括没有列出的步骤或单元,或可选地还包括对于这些过程、方法、产品或设备固有的其他步骤或单元。The terms "first", "second", "third", "fourth" and the like in the specification and claims of the present invention and the above drawings are used to distinguish different objects, and are not intended to describe a specific order. Furthermore, the terms "comprises" and "comprising" and "comprising" are intended to cover a non-exclusive inclusion. For example, a process, method, system, product, or device that comprises a series of steps or units is not limited to the listed steps or units, but optionally also includes steps or units not listed, or alternatively Other steps or units inherent to these processes, methods, products, or equipment.
本发明实施例中所描述的终端包括智能手机、平板电脑、可穿戴设备(如智能手表)等设置有显示屏幕的电子设备,该移动终端安装的操作系统例如可以是安卓操作系统、iOS(苹果公司的移动操作系统)、Windows Phone(微软发布的移动操作系统)、塞班操作系统等等,此外,上述终端的显示屏幕具体包括触摸屏和显示屏,触摸屏中例如可以设置有压力传感器阵列,终端能够通过该压力传感器阵列获取其所受的压力数值(如本发明实施例中所描述的触控力度),其中,上述压力传感器例如可以是电阻应变片压力传感器、半导体应 变片压力传感器、压阻式压力传感器、电感式压力传感器、电容式压力传感器、谐振式压力传感器等。当然,本发明实施例中包括但不限于上述方式来获取压力数值。The terminal described in the embodiment of the present invention includes an electronic device provided with a display screen, such as a smart phone, a tablet computer, or a wearable device (such as a smart watch). The operating system installed by the mobile terminal may be, for example, an Android operating system or an iOS (Apple). The company's mobile operating system), Windows Phone (Microsoft released mobile operating system), Saipan operating system, etc. In addition, the display screen of the above terminal specifically includes a touch screen and a display screen, for example, a pressure sensor array may be disposed in the touch screen, and the terminal The pressure sensor can be obtained by the pressure sensor array (such as the touch force described in the embodiment of the invention), wherein the pressure sensor can be, for example, a resistance strain gauge pressure sensor or a semiconductor Variant pressure sensor, piezoresistive pressure sensor, inductive pressure sensor, capacitive pressure sensor, resonant pressure sensor, etc. Of course, the embodiment of the present invention includes, but is not limited to, the above manner to obtain a pressure value.
以下分别进行详细说明。The details are described below separately.
请参阅图1,图1是本发明的一个实施例提供的工作模式的切换方法的流程示意图。其中,如图1所示,本发明的一个实施例提供的一种工作模式的切换方法可以包括以下内容:Please refer to FIG. 1. FIG. 1 is a schematic flowchart diagram of a method for switching an operation mode according to an embodiment of the present invention. As shown in FIG. 1 , a method for switching an operation mode provided by an embodiment of the present invention may include the following content:
101、监测用户在终端的触摸屏上执行的按压操作。101. Monitor a pressing operation performed by a user on a touch screen of the terminal.
其中,所述按压操作可以是用户通过手指按压触摸屏触发的,当用户按压触摸屏时,触摸屏可以接收用户的按压操作。The pressing operation may be triggered by the user pressing the touch screen by a finger, and when the user presses the touch screen, the touch screen may receive the pressing operation of the user.
102、确定所述按压操作对应的按压信息。102. Determine pressing information corresponding to the pressing operation.
可选的,在本发明的一些可能的实施方式中,所述按压操作对应的按压信息可以包括:按压的力度、按压的时长中的至少一种。Optionally, in some possible implementation manners of the present invention, the pressing information corresponding to the pressing operation may include at least one of a pressing force and a duration of pressing.
103、确定所述终端与所述按压信息对应的工作模式。103. Determine an operation mode of the terminal corresponding to the pressing information.
其中,终端包括至少两种工作模式,根据预设规则确定与所述按压信息对应的工作模式。The terminal includes at least two working modes, and the working mode corresponding to the pressing information is determined according to a preset rule.
可以理解的是,确定所述终端与所述按压信息对应的工作模式的方式可能是多种多样的。例如,可通过映射关系表来记录按压信息和工作模式之间的映射对应关系。It can be understood that the manner of determining the working mode of the terminal corresponding to the pressing information may be various. For example, the mapping correspondence between the pressing information and the working mode can be recorded by mapping the relationship table.
终端中音量调节的应用、浏览图片的应用、视频播放的应用等包括至少两个工作模式的应用。其中,音量调节的应用可以包括静音模式、振动模式、响铃模式等;浏览图片的应用可以包括:黑白、老照片、光晕、晨光等显示模式;视频播放的应用可以包括:全屏显示模式、4:3显示模式、16:9显示模式等。Applications for volume adjustment in the terminal, applications for browsing pictures, applications for video playback, and the like include applications of at least two working modes. The application of the volume adjustment may include a silent mode, a vibration mode, a ringing mode, and the like; the application for browsing the picture may include: a black and white, an old photo, a halo, a morning light, and the like; the video playing application may include: a full screen display mode, 4:3 display mode, 16:9 display mode, etc.
104、将所述终端的当前的工作模式切换为与所述按压信息对应工作模式。104. Switch the current working mode of the terminal to an operating mode corresponding to the pressing information.
可以理解,本实施例的执行主体可以是手机、平板电脑、笔记本电脑、掌上电脑、移动互联网设备或其他终端。It can be understood that the execution body of this embodiment may be a mobile phone, a tablet computer, a notebook computer, a palmtop computer, a mobile internet device, or other terminal.
可以看出,本发明实施例的方案中,通过监测用户在终端的触摸屏上执 行的按压操作;确定所述按压操作对应的按压信息;以及确定终端与所述按压信息对应的工作模式;然后将所述终端的当前的工作模式切换为与所述按压信息对应工作模式。由于工作模式的切换由用户的按压操作进行触发,所以本发明实施例提供的工作模式的切换方法操作简单、便捷。It can be seen that, in the solution of the embodiment of the present invention, by monitoring the user on the touch screen of the terminal a pressing operation of the row; determining pressing information corresponding to the pressing operation; and determining an operation mode of the terminal corresponding to the pressing information; and then switching a current working mode of the terminal to an operating mode corresponding to the pressing information. The switching mode of the working mode provided by the embodiment of the present invention is simple and convenient to operate, because the switching of the working mode is triggered by the pressing operation of the user.
请参阅图2,图2是本发明的另一个实施例提供的工作模式的切换方法的流程示意图。其中,如图2所示,本发明的另一个实施例提供的工作模式的切换方法可以包括以下内容:Referring to FIG. 2, FIG. 2 is a schematic flowchart diagram of a method for switching an operation mode according to another embodiment of the present invention. As shown in FIG. 2, the method for switching the working mode provided by another embodiment of the present invention may include the following contents:
201、创建映射关系表,在映射关系表中创建N条映射关系记录。201. Create a mapping relationship table, and create N mapping relationship records in the mapping relationship table.
其中,映射关系表中包括用于记录按压信息的按压信息字段和用于记录工作模式的工作模式字段。The mapping relationship table includes a pressing information field for recording pressing information and an operating mode field for recording the working mode.
N条映射关系记录中的每条映射关系记录的按压信息互不相同,所述N条映射关系记录中的每条映射关系记录的工作模式字段所记录的工作模式互不相同,所述N为大于或者等于1的整数。The mapping information of each mapping relationship record in the N mapping relationship records is different from each other, and the working modes recorded in the working mode field of each mapping relationship record in the N mapping relationship records are different from each other, and the N is An integer greater than or equal to 1.
所述N条映射关系记录中的每条映射关系记录的按压信息字段所记录的按压信息为具有改变目标应用的工作模式权限的有效按压信息。The pressing information recorded by the pressing information field of each mapping relationship record in the N mapping relationship records is effective pressing information having a working mode authority to change the target application.
202、监测用户在终端的触摸屏上执行的按压操作。202. Monitor a pressing operation performed by a user on a touch screen of the terminal.
其中,所述按压操作可以是用户通过手指按压触摸屏触发的,当用户按压触摸屏时,触摸屏可以接收用户的按压操作。The pressing operation may be triggered by the user pressing the touch screen by a finger, and when the user presses the touch screen, the touch screen may receive the pressing operation of the user.
203、确定所述按压操作对应的按压信息。203. Determine pressing information corresponding to the pressing operation.
可选的,在本发明的一些可能的实施方式中,所述按压操作对应的按压信息可以包括:按压的力度、按压的时长中的一种或多种。Optionally, in some possible implementation manners of the present invention, the pressing information corresponding to the pressing operation may include: one or more of a pressing force and a duration of pressing.
204、确定所述终端与所述按压信息对应的工作模式。204. Determine an operating mode of the terminal corresponding to the pressing information.
其中,终端包括至少两种工作模式,根据预设规则确定与所述按压信息对应的工作模式。The terminal includes at least two working modes, and the working mode corresponding to the pressing information is determined according to a preset rule.
可以理解的是,确定所述终端与所述按压信息对应的工作模式的方式可能是多种多样的。例如,可通过映射关系表来记录按压信息和工作模式之间的映射对应关系。It can be understood that the manner of determining the working mode of the terminal corresponding to the pressing information may be various. For example, the mapping correspondence between the pressing information and the working mode can be recorded by mapping the relationship table.
终端中音量调节的应用、浏览图片的应用、视频播放的应用等包括至少 两个工作模式的应用。其中,音量调节的应用可以包括静音模式、振动模式、响铃模式等;浏览图片的应用可以包括:黑白、老照片、光晕、晨光等显示模式;视频播放的应用可以包括:全屏显示模式、4:3显示模式、16:9显示模式等。The application of the volume adjustment in the terminal, the application for browsing pictures, the application of video playback, etc. include at least Application of two working modes. The application of the volume adjustment may include a silent mode, a vibration mode, a ringing mode, and the like; the application for browsing the picture may include: a black and white, an old photo, a halo, a morning light, and the like; the video playing application may include: a full screen display mode, 4:3 display mode, 16:9 display mode, etc.
其中,确定所述终端的目标应用的与所述按压信息对应的工作模式,可以包括:在映射关系表中查询是否存在与所述按压信息匹配的映射关系记录,所述映射关系表中的每条映射关系记录包括:用于记录按压信息的按压信息字段和用于记录工作模式的工作模式字段;若在所述映射关系表中查找到了与所述按压信息匹配的映射关系记录,将所述映射关系记录中的工作模式字段记录的工作模式作为所述按压信息对应的目标应用的工作模式。The determining the working mode corresponding to the pressing information of the target application of the terminal may include: querying, in the mapping relationship table, whether there is a mapping relationship record that matches the pressing information, where each mapping relationship table The bar mapping relationship record includes: a press information field for recording the press information and a work mode field for recording the work mode; if the mapping relationship record matching the press information is found in the mapping relationship table, the The working mode recorded in the working mode field in the mapping relationship record is used as the working mode of the target application corresponding to the pressing information.
205、将所述终端的所述目标应用当前的工作模式切换为与所述按压信息对应工作模式。205. Switch the current working mode of the target application of the terminal to a working mode corresponding to the pressing information.
可以理解,本实施例的执行主体可以是手机、平板电脑、笔记本电脑、掌上电脑、移动互联网设备或其他终端。It can be understood that the execution body of this embodiment may be a mobile phone, a tablet computer, a notebook computer, a palmtop computer, a mobile internet device, or other terminal.
可以看出,本发明实施例的方案中,通过监测用户在终端的触摸屏上执行的按压操作;确定所述按压操作对应的按压信息;以及确定终端与所述按压信息对应的工作模式;然后将所述终端的当前的工作模式切换为与所述按压信息对应工作模式。由于工作模式的切换由用户的按压操作进行触发,所以本发明实施例提供的工作模式的切换方法操作简单、便捷。It can be seen that, in the solution of the embodiment of the present invention, by monitoring a pressing operation performed by the user on the touch screen of the terminal; determining pressing information corresponding to the pressing operation; and determining a working mode of the terminal corresponding to the pressing information; The current working mode of the terminal is switched to an operating mode corresponding to the pressing information. The switching mode of the working mode provided by the embodiment of the present invention is simple and convenient to operate, because the switching of the working mode is triggered by the pressing operation of the user.
为便于更好的理解和实施本发明实施例的技术方案,下面结合一些具体的应用场景进行举例说明。To facilitate a better understanding and implementation of the technical solutions of the embodiments of the present invention, the following is exemplified in conjunction with some specific application scenarios.
请参阅图3-a,图3-a是本发明的另一个实施例提供的工作模式的切换方法的流程示意图。该实施例以终端中音量调节的应用为例,该应用包括静音模式、振动模式、响铃模式三种工作模式。其中,如图3-a所示,该实施例提供的一种工作模式的切换方法可以包括以下内容:Referring to FIG. 3-a, FIG. 3-a is a schematic flowchart of a method for switching an operation mode according to another embodiment of the present invention. This embodiment takes the application of the volume adjustment in the terminal as an example, and the application includes three working modes: a silent mode, a vibration mode, and a ringing mode. As shown in FIG. 3-a, the method for switching the working mode provided by the embodiment may include the following content:
301、创建音量调节的映射关系表,在映射关系表中创建3条映射关系记录。301. Create a mapping table of volume adjustments, and create three mapping relationship records in the mapping relationship table.
举例来说,音量调节的映射关系表可以如图3-b所示,该映射关系表中包 括用于记录按压信息的按压信息字段和用于记录工作模式的工作模式字段。由于音量调节的应用包括响铃模式、振动模式和静音模式,所以在映射关系表中可以包括3条记录,每条记录中包括具体工作模式以及与具体工作模式对应的按压信息。如图3-b所示,响铃模式对应的按压信息字段的值为按压力度为A,振动模式对应的按压信息字段的值为按压力度为2A,静音模式对应的按压信息字段的值为按压力度为3A,需要说明的是按压力度A用于衡量按压力度的值,可以是用户或者终端预先设置的值、可以理解的,该值也可以根据年龄以及性别的不同对应不同的值。需要说明的是,若只希望通过按压操作快切换到指定的某一工作模式,那么在映射关系表中可以只包括一条记录。For example, the mapping table of the volume adjustment may be as shown in FIG. 3-b, and the mapping relationship table includes A press information field for recording press information and a work mode field for recording a work mode are included. Since the application of the volume adjustment includes the ringing mode, the vibration mode, and the silent mode, three records may be included in the mapping relationship table, and each of the records includes a specific working mode and pressing information corresponding to the specific working mode. As shown in FIG. 3-b, the value of the pressing information field corresponding to the ringing mode is A, the value of the pressing information field corresponding to the vibration mode is 2A, and the value of the pressing information field corresponding to the silent mode is pressing. The strength is 3A. It should be noted that the pressing force A is used to measure the value of the pressing force, and may be a value preset by the user or the terminal, which can be understood. The value may also correspond to different values according to age and gender. It should be noted that if it is only desired to switch to a specified working mode by pressing the operation, only one record may be included in the mapping relationship table.
可以理解的是按压信息也可以是按压的时长,相应的,音量调节的映射关系表可以如图3-c所示,该映射关系表中包括用于记录按压信息的按压信息字段和用于记录工作模式的工作模式字段。由于音量调节的应用包括响铃模式、振动模式和静音模式,所以在映射关系表中可以包括3条记录,每条记录中包括具体工作模式以及与具体工作模式对应的按压信息。如图3-c所示,响铃模式对应的按压信息字段的值为按压时长为3秒,振动模式对应的按压信息字段的值为按压时长为5秒,静音模式对应的按压信息字段的值为按压时长为7秒。It can be understood that the pressing information may also be the duration of the pressing. Correspondingly, the mapping table of the volume adjustment may be as shown in FIG. 3-c, and the mapping relationship table includes a pressing information field for recording pressing information and is used for recording. The working mode field of the working mode. Since the application of the volume adjustment includes the ringing mode, the vibration mode, and the silent mode, three records may be included in the mapping relationship table, and each of the records includes a specific working mode and pressing information corresponding to the specific working mode. As shown in FIG. 3-c, the value of the pressing information field corresponding to the ringing mode is 3 seconds, and the value of the pressing information field corresponding to the vibration mode is 5 seconds, and the value of the pressing information field corresponding to the silent mode. The pressing time is 7 seconds.
可以理解的是按压信息也可以是既包括按压的力度也包括按压的时长,相应的,音量调节的映射关系表可以如图3-d所示,该映射关系表中包括用于记录按压信息的按压信息字段和用于记录工作模式的工作模式字段。由于音量调节的应用包括响铃模式、振动模式和静音模式,所以在映射关系表中可以包括3条记录,每条记录中包括具体工作模式以及与具体工作模式对应的按压信息。如图3-d所示,响铃模式对应的按压信息字段的值为按压力度为A且按压时长为3秒,振动模式对应的按压信息字段的值为按压力度为3A且按压时长为5秒,静音模式对应的按压信息字段的值为按压力度为5A且按压时长为7秒。It can be understood that the pressing information may also include the strength of the pressing and the duration of the pressing. Correspondingly, the mapping table of the volume adjustment may be as shown in FIG. 3-d, and the mapping relationship table includes the information for recording the pressing information. Press the information field and the work mode field for recording the work mode. Since the application of the volume adjustment includes the ringing mode, the vibration mode, and the silent mode, three records may be included in the mapping relationship table, and each of the records includes a specific working mode and pressing information corresponding to the specific working mode. As shown in FIG. 3-d, the value of the pressing information field corresponding to the ringing mode is A pressing force and the pressing time is 3 seconds, and the value of the pressing information field corresponding to the vibration mode is 3A and the pressing time is 5 seconds. The value of the pressing information field corresponding to the silent mode is a pressing force of 5 A and a pressing time of 7 seconds.
302、监测用户在终端的触摸屏上执行的按压操作。302. Monitor a pressing operation performed by a user on a touch screen of the terminal.
其中,所述按压操作可以是用户通过手指按压触摸屏触发的,当用户按压触摸屏时,触摸屏可以接收用户的按压操作。 The pressing operation may be triggered by the user pressing the touch screen by a finger, and when the user presses the touch screen, the touch screen may receive the pressing operation of the user.
303、确定所述按压操作对应的按压信息。303. Determine press information corresponding to the pressing operation.
可选的,在本发明的一些可能的实施方式中,所述按压操作对应的按压信息可以包括:按压的力度、按压的时长中的一种或多种。Optionally, in some possible implementation manners of the present invention, the pressing information corresponding to the pressing operation may include: one or more of a pressing force and a duration of pressing.
304、确定所述终端与所述按压信息对应的工作模式。304. Determine an operating mode of the terminal corresponding to the pressing information.
其中,终端包括至少两种工作模式,根据预设规则确定与所述按压信息对应的工作模式。The terminal includes at least two working modes, and the working mode corresponding to the pressing information is determined according to a preset rule.
可以理解的是,确定所述终端与所述按压信息对应的工作模式的方式可能是多种多样的。例如,可通过映射关系表来记录按压信息和工作模式之间的映射对应关系。It can be understood that the manner of determining the working mode of the terminal corresponding to the pressing information may be various. For example, the mapping correspondence between the pressing information and the working mode can be recorded by mapping the relationship table.
终端中音量调节的应用、浏览图片的应用、视频播放的应用等包括至少两个工作模式的应用。其中,音量调节的应用可以包括静音模式、振动模式、响铃模式等;浏览图片的应用可以包括:黑白、老照片、光晕、晨光等显示模式;视频播放的应用可以包括:全屏显示模式、4:3显示模式、16:9显示模式等。Applications for volume adjustment in the terminal, applications for browsing pictures, applications for video playback, and the like include applications of at least two working modes. The application of the volume adjustment may include a silent mode, a vibration mode, a ringing mode, and the like; the application for browsing the picture may include: a black and white, an old photo, a halo, a morning light, and the like; the video playing application may include: a full screen display mode, 4:3 display mode, 16:9 display mode, etc.
其中,确定所述终端与所述按压信息对应的工作模式,可以包括:在映射关系表中查询是否存在与所述按压信息匹配的映射关系记录,所述映射关系表中的每条映射关系记录包括:用于记录按压信息的按压信息字段和用于记录工作模式的工作模式字段;若在所述映射关系表中查找到了与所述按压信息匹配的映射关系记录,将所述映射关系记录中的工作模式字段记录的工作模式作为所述按压信息对应的工作模式。The determining the working mode of the terminal and the pressing information may include: querying, in the mapping relationship table, whether there is a mapping relationship record that matches the pressing information, and each mapping relationship record in the mapping relationship table And comprising: a press information field for recording the press information and a work mode field for recording the work mode; if the mapping relationship record matching the press information is found in the mapping relationship table, the mapping relationship is recorded The working mode recorded by the working mode field is used as the working mode corresponding to the pressing information.
举例来说,若音量调节的映射关系如图3-c所示,若按压操作对应的按压信息为按压时长为7秒,则根据图3-c可知按压时长为7秒的工作模式为静音模式。For example, if the mapping relationship of the volume adjustment is as shown in FIG. 3-c, if the pressing information corresponding to the pressing operation is the pressing duration of 7 seconds, according to FIG. 3-c, the working mode with the pressing duration of 7 seconds is the silent mode. .
305、将所述终端的当前的工作模式切换为与所述按压信息对应工作模式。305. Switch the current working mode of the terminal to an operating mode corresponding to the pressing information.
若音量调节应用的当前工作模式为响铃模式,当触摸屏监测到用户按压操作,且按压操作的时长为7秒时,则将音量调节应用的工作模式切换为静音模式。If the current working mode of the volume adjustment application is the ringing mode, when the touch screen detects the user pressing operation and the pressing operation is 7 seconds, the working mode of the volume adjustment application is switched to the silent mode.
可以理解,本实施例的执行主体可以是手机、平板电脑、笔记本电脑、 掌上电脑、移动互联网设备或其他终端。It can be understood that the execution body of this embodiment may be a mobile phone, a tablet computer, a notebook computer, Pocket PC, mobile internet device or other terminal.
可以看出,本发明实施例的方案中,通过监测用户在终端的触摸屏上执行的按压操作;确定所述按压操作对应的按压信息;以及确定终端与所述按压信息对应的工作模式;然后将所述终端的当前的工作模式切换为与所述按压信息对应工作模式。由于工作模式的切换由用户的按压操作进行触发,所以本发明实施例提供的工作模式的切换方法操作简单、便捷。It can be seen that, in the solution of the embodiment of the present invention, by monitoring a pressing operation performed by the user on the touch screen of the terminal; determining pressing information corresponding to the pressing operation; and determining a working mode of the terminal corresponding to the pressing information; The current working mode of the terminal is switched to an operating mode corresponding to the pressing information. The switching mode of the working mode provided by the embodiment of the present invention is simple and convenient to operate, because the switching of the working mode is triggered by the pressing operation of the user.
请参阅图4,图4是本发明的另一个实施例提供的终端的结构示意图。其中,如图4所示,本发明的另一个实施例提供的终端可以包括:Please refer to FIG. 4. FIG. 4 is a schematic structural diagram of a terminal according to another embodiment of the present invention. As shown in FIG. 4, the terminal provided by another embodiment of the present invention may include:
监测单元401,用于监测用户在终端的触摸屏上执行的按压操作。The monitoring unit 401 is configured to monitor a pressing operation performed by the user on the touch screen of the terminal.
其中,所述按压操作可以是用户通过手指按压触摸屏触发的,当用户按压触摸屏时,监测单元401可以监测到用户的按压操做。The pressing operation may be triggered by the user pressing the touch screen by the finger. When the user presses the touch screen, the monitoring unit 401 may monitor the pressing operation of the user.
第一确定单元402,用于确定所述监测单元监测到的所述按压操作对应的按压信息。The first determining unit 402 is configured to determine pressing information corresponding to the pressing operation monitored by the monitoring unit.
可选的,所述按压信息可以包括:按压的力度、按压的时长中的一种或多种。Optionally, the pressing information may include one or more of a pressing force and a duration of pressing.
第二确定单元403,用于确定与所述第一确定单元确定的所述按压信息对应的终端工作模式。The second determining unit 403 is configured to determine a terminal working mode corresponding to the pressing information determined by the first determining unit.
其中,终端包括至少两种工作模式,根据预设规则确定与所述按压信息对应的工作模式。The terminal includes at least two working modes, and the working mode corresponding to the pressing information is determined according to a preset rule.
可以理解的是,确定所述终端的与所述按压信息对应的工作模式的方式可能是多种多样的。例如,可通过映射关系表来记录按压信息和工作模式之间的映射对应关系。It can be understood that the manner of determining the working mode of the terminal corresponding to the pressing information may be various. For example, the mapping correspondence between the pressing information and the working mode can be recorded by mapping the relationship table.
终端中的音量调节的应用、浏览图片的应用、视频播放的应用等包括至少两个工作模式的应用。其中,音量调节的应用可以包括静音模式、振动模式、响铃模式等;浏览图片的应用可以包括:黑白、老照片、光晕、晨光等显示模式;视频播放的应用可以包括:全屏显示模式、4:3显示模式、16:9显示模式等。The application of volume adjustment in the terminal, the application of browsing pictures, the application of video playback, and the like include applications of at least two working modes. The application of the volume adjustment may include a silent mode, a vibration mode, a ringing mode, and the like; the application for browsing the picture may include: a black and white, an old photo, a halo, a morning light, and the like; the video playing application may include: a full screen display mode, 4:3 display mode, 16:9 display mode, etc.
可选的,第二确定单元403可以用于,在映射关系表中查询是否存在与 所述按压信息匹配的映射关系记录,所述映射关系表中的每条映射关系记录包括用于记录按压信息的按压信息字段和用于记录工作模式的工作模式字段;若在所述映射关系表中查找了与所述按压信息匹配的映射关系记录,将所述映射关系记录中的工作模式字段记录的工作模式作为所述按压信息对应的工作模式。Optionally, the second determining unit 403 may be configured to: query whether the presence and the presence in the mapping relationship table a mapping relationship record in which the pressing information matches, each mapping relationship record in the mapping relationship table includes a pressing information field for recording pressing information and a working mode field for recording a working mode; if in the mapping relationship table The mapping relationship record matching the pressing information is found, and the working mode recorded in the working mode field in the mapping relationship record is used as the working mode corresponding to the pressing information.
切换单元404,用于将所述终端的当前的工作模式切换为与所述按压信息对应工作模式。The switching unit 404 is configured to switch the current working mode of the terminal to the working mode corresponding to the pressing information.
可以理解,本实施例的执行主体可以是手机、平板电脑、笔记本电脑、掌上电脑、移动互联网设备或其他终端。It can be understood that the execution body of this embodiment may be a mobile phone, a tablet computer, a notebook computer, a palmtop computer, a mobile internet device, or other terminal.
可以看出,本发明实施例的方案中,通过监测单元监测用户在终端的触摸屏上执行的按压操作;第一确定单元确定所述按压操作对应的按压信息;以及第二确定单元确定终端的与所述按压信息对应的工作模式;然后切换单元将所述终端的当前的工作模式切换为与所述按压信息对应工作模式。由于工作模式的切换由用户的按压操作进行触发,所以本发明实施例提供的工作模式的切换方法操作简单、便捷。It can be seen that, in the solution of the embodiment of the present invention, the pressing operation performed by the user on the touch screen of the terminal is monitored by the monitoring unit; the first determining unit determines the pressing information corresponding to the pressing operation; and the second determining unit determines the And pressing the information corresponding to the working mode; then the switching unit switches the current working mode of the terminal to the working mode corresponding to the pressing information. The switching mode of the working mode provided by the embodiment of the present invention is simple and convenient to operate, because the switching of the working mode is triggered by the pressing operation of the user.
请参阅图5,图5是本发明的另一个实施例提供的终端的结构示意图。其中,如图5所示,本发明的另一个实施例提供的终端可以包括:Referring to FIG. 5, FIG. 5 is a schematic structural diagram of a terminal according to another embodiment of the present invention. As shown in FIG. 5, the terminal provided by another embodiment of the present invention may include:
监测单元501,用于监测用户在终端的触摸屏上执行的按压操作。The monitoring unit 501 is configured to monitor a pressing operation performed by the user on the touch screen of the terminal.
其中,所述按压操作可以是用户通过手指按压触摸屏触发的,当用户按压触摸屏时,监测单元501可以监测到用户的按压操做。The pressing operation may be triggered by the user pressing the touch screen by the finger. When the user presses the touch screen, the monitoring unit 501 may monitor the pressing operation of the user.
第一确定单元502,用于确定所述监测单元监测到的所述按压操作对应的按压信息。The first determining unit 502 is configured to determine pressing information corresponding to the pressing operation monitored by the monitoring unit.
可选的,所述按压信息可以包括:按压的力度、按压的时长中的一种或多种。Optionally, the pressing information may include one or more of a pressing force and a duration of pressing.
第二确定单元503,用于确定与所述第一确定单元确定的所述按压信息对应的终端的工作模式。The second determining unit 503 is configured to determine an operating mode of the terminal corresponding to the pressing information determined by the first determining unit.
其中,终端包括至少两种工作模式,根据预设规则确定与所述按压信息对应的工作模式。 The terminal includes at least two working modes, and the working mode corresponding to the pressing information is determined according to a preset rule.
可以理解的是,确定所述终端与所述按压信息对应的工作模式的方式可能是多种多样的。例如,可通过映射关系表来记录按压信息和工作模式之间的映射对应关系。It can be understood that the manner of determining the working mode of the terminal corresponding to the pressing information may be various. For example, the mapping correspondence between the pressing information and the working mode can be recorded by mapping the relationship table.
终端中音量调节的应用、浏览图片的应用、视频播放的应用等包括至少两个工作模式的应用。其中,音量调节的应用可以包括静音模式、振动模式、响铃模式等;浏览图片的应用可以包括:黑白、老照片、光晕、晨光等显示模式;视频播放的应用可以包括:全屏显示模式、4:3显示模式、16:9显示模式等。Applications for volume adjustment in the terminal, applications for browsing pictures, applications for video playback, and the like include applications of at least two working modes. The application of the volume adjustment may include a silent mode, a vibration mode, a ringing mode, and the like; the application for browsing the picture may include: a black and white, an old photo, a halo, a morning light, and the like; the video playing application may include: a full screen display mode, 4:3 display mode, 16:9 display mode, etc.
可选的,第二确定单元503可以用于,在映射关系表中查询是否存在与所述按压信息匹配的映射关系记录,所述映射关系表中的每条映射关系记录包括用于记录按压信息的按压信息字段和用于记录工作模式的工作模式字段;若在所述映射关系表中查找了与所述按压信息匹配的映射关系记录,将所述映射关系记录中的工作模式字段记录的工作模式作为所述按压信息对应的工作模式。Optionally, the second determining unit 503 is configured to query, in the mapping relationship table, whether there is a mapping relationship record that matches the pressing information, where each mapping relationship record in the mapping relationship table includes Pressing the information field and the working mode field for recording the working mode; if the mapping relationship record matching the pressing information is found in the mapping relationship table, the work of the working mode field record in the mapping relationship record is The mode is an operation mode corresponding to the pressing information.
切换单元504,用于将所述终端的当前的工作模式切换为与所述按压信息对应工作模式。The switching unit 504 is configured to switch the current working mode of the terminal to the working mode corresponding to the pressing information.
创建单元505,用于创建映射关系表,在所述映射关系表中创建N条映射关系记录,所述N条映射关系记录中的每条映射关系记录的按压信息互不相同,所述N条映射关系记录中的每条映射关系记录的工作模式字段所记录的工作模式互不相同,所述N为大于或者等于1的整数。The creating unit 505 is configured to create a mapping relationship table, and create N mapping relationship records in the mapping relationship table, where the pressing information of each mapping relationship record in the N mapping relationship records is different from each other, and the N pieces are The working modes recorded in the working mode field of each mapping relationship record in the mapping relationship record are different from each other, and the N is an integer greater than or equal to 1.
其中,所述N条映射关系记录中的每条映射关系记录的按压信息字段所记录的按压信息为具有改变工作模式权限的有效按压信息。The pressing information recorded in the pressing information field of each mapping relationship record in the N mapping relationship records is valid pressing information having the right to change the working mode.
可以理解,本实施例的执行主体可以是手机、平板电脑、笔记本电脑、掌上电脑、移动互联网设备或其他终端。It can be understood that the execution body of this embodiment may be a mobile phone, a tablet computer, a notebook computer, a palmtop computer, a mobile internet device, or other terminal.
可以看出,本发明实施例的方案中,通过监测单元监测用户在终端的触摸屏上执行的按压操作;第一确定单元确定所述按压操作对应的按压信息;以及第二确定单元确定终端的与所述按压信息对应的工作模式;然后切换单元将所述终端的当前的工作模式切换为与所述按压信息对应工作模式。由于工作模式的切换由用户的按压操作进行触发,所以本发明实施例提供的工作 模式的切换方法操作简单、便捷。It can be seen that, in the solution of the embodiment of the present invention, the pressing operation performed by the user on the touch screen of the terminal is monitored by the monitoring unit; the first determining unit determines the pressing information corresponding to the pressing operation; and the second determining unit determines the And pressing the information corresponding to the working mode; then the switching unit switches the current working mode of the terminal to the working mode corresponding to the pressing information. The work provided by the embodiment of the present invention is triggered because the switching of the working mode is triggered by the pressing operation of the user. The mode switching method is simple and convenient to operate.
参见图6,图6是本发明的另一实施例提供的终端600的结构示意图。其中,终端600可包括:至少1个处理器601,存储器602、用户接口603和至少1个通信总线604。其中,通信总线604用于实现这些组件之间的连接通信。Referring to FIG. 6, FIG. 6 is a schematic structural diagram of a terminal 600 according to another embodiment of the present invention. The terminal 600 may include: at least one processor 601, a memory 602, a user interface 603, and at least one communication bus 604. Among them, the communication bus 604 is used to implement connection communication between these components.
用户接口603可以包括触摸屏等装置,可以用于接收用户输入的按压操作。The user interface 603 can include a device such as a touch screen that can be used to receive a press operation input by a user.
其中,存储器602可以包括只读存储器和随机存取存储器,可以用于存储映射关系表以及用于存储程序代码并向处理器601提供指令和数据。存储器602中的一部分还可以包括非易失性随机存取存储器。The memory 602 can include a read only memory and a random access memory, and can be used to store a mapping relationship table and to store program code and provide instructions and data to the processor 601. A portion of memory 602 may also include a non-volatile random access memory.
在本发明的实施例中,通过调用存储器602存储的程序代码或指令,处理器601用于根据所述按压操作得到按压操作对应的按压信息,所述按压信息可以包括如下信息中的至少一种:按压的力度和按压的时长。In the embodiment of the present invention, the processor 601 is configured to obtain the pressing information corresponding to the pressing operation according to the pressing operation by calling the program code or the instruction stored in the memory 602, and the pressing information may include at least one of the following information. : The strength of the press and the duration of the press.
处理器601还用于根据所述按压信息确定与所述按压信息对应的工作模式。以及将所述终端的当前的工作模式切换为与所述按压信息对应工作模式。The processor 601 is further configured to determine an operation mode corresponding to the pressing information according to the pressing information. And switching the current working mode of the terminal to the working mode corresponding to the pressing information.
可选的,在本发明一些可能的实施方式中,处理器601具体用于,在映射关系表中查询是否存在与所述按压信息匹配的映射关系记录,所述映射关系表中的每条映射关系记录包括:用于记录按压信息的按压信息字段和用于记录工作模式的工作模式字段;若在所述映射关系表中查找到了与所述按压信息匹配的映射关系记录,将所述映射关系记录中的工作模式字段记录的工作模式作为所述按压信息对应的工作模式。Optionally, in some possible implementation manners of the present invention, the processor 601 is specifically configured to: in the mapping relationship table, query whether there is a mapping relationship record that matches the pressing information, and each mapping in the mapping relationship table The relationship record includes: a press information field for recording the press information and a work mode field for recording the work mode; if the mapping relationship record matching the press information is found in the mapping relationship table, the mapping relationship is The working mode recorded in the working mode field in the record serves as the working mode corresponding to the pressing information.
处理器601还用于创建映射关系表,在映射关系表中创建N条映射关系记录,所述N条映射关系记录中的每条映射关系记录的按压信息互不相同,所述N条映射关系记录中的每条映射关系记录的工作模式字段所记录的工作模式互不相同,所述N为大于或者等于1的整数。The processor 601 is further configured to create a mapping relationship table, and create N mapping relationship records in the mapping relationship table, where the pressing information of each mapping relationship record in the N mapping relationship records are different from each other, and the N mapping relationships are different. The working modes recorded in the working mode field of each mapping record in the record are different from each other, and the N is an integer greater than or equal to 1.
所述N条映射关系记录中的每条映射关系记录的按压信息字段所记录的按压信息为具有改变目标应用的工作模式权限的有效按压信息。The pressing information recorded by the pressing information field of each mapping relationship record in the N mapping relationship records is effective pressing information having a working mode authority to change the target application.
可以看出,本发明实施例的方案中,通过用户接口监测用户在终端的触摸屏上执行的按压操作;处理器确定所述按压操作对应的按压信息以及确定终端 与所述按压信息对应的工作模式;然后将所述终端的当前的工作模式切换为与所述按压信息对应工作模式。由于工作模式的切换由用户的按压操作进行触发,所以本发明实施例提供的工作模式的切换方法操作简单、便捷。It can be seen that, in the solution of the embodiment of the present invention, the pressing operation performed by the user on the touch screen of the terminal is monitored by the user interface; the processor determines the pressing information corresponding to the pressing operation and determines the terminal. An operation mode corresponding to the pressing information; and then switching a current operation mode of the terminal to an operation mode corresponding to the pressing information. The switching mode of the working mode provided by the embodiment of the present invention is simple and convenient to operate, because the switching of the working mode is triggered by the pressing operation of the user.
需要说明的是,对于前述的各个方法实施例,为了简单描述,故将其都表述为一系列的动作组合,但是本领域技术人员应该知悉,本发明并不受所描述的动作顺序的限制,因为依据本发明,某一些步骤可以采用其他顺序或者同时进行。其次,本领域技术人员也应该知悉,说明书中所描述的实施例均属于优选实施例,所涉及的动作和模块并不一定是本发明所必须的。It should be noted that, for the foregoing various method embodiments, for the sake of simple description, they are all expressed as a series of action combinations, but those skilled in the art should understand that the present invention is not limited by the described action sequence. Because certain steps may be performed in other sequences or concurrently in accordance with the present invention. In addition, those skilled in the art should also understand that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily required by the present invention.
在上述实施例中,对各个实施例的描述都各有侧重,某个实施例中没有详细描述的部分,可以参见其他实施例的相关描述。In the above embodiments, the descriptions of the various embodiments are different, and the parts that are not described in detail in a certain embodiment can be referred to the related descriptions of other embodiments.
本领域普通技术人员可以理解上述实施例的各种方法中的全部或部分步骤是可以通过程序来指令相关的硬件来完成,该程序可以存储于一计算机可读存储介质中,存储介质可以包括:闪存盘、只读存储器(英文:Read-Only Memory,简称:ROM)、随机存取器(英文:Random Access Memory,简称:RAM)、磁盘或光盘等。A person skilled in the art may understand that all or part of the various steps of the foregoing embodiments may be performed by a program to instruct related hardware. The program may be stored in a computer readable storage medium, and the storage medium may include: Flash disk, read-only memory (English: Read-Only Memory, referred to as: ROM), random accessor (English: Random Access Memory, referred to as: RAM), disk or optical disk.
以上对本发明实施例进行了详细介绍,本文中应用了具体个例对本发明的原理及实施方式进行了阐述,以上实施例的说明只是用于帮助理解本发明的方法及其核心思想;同时,对于本领域的一般技术人员,依据本发明的思想,在具体实施方式及应用范围上均会有改变之处,综上所述,本说明书内容不应理解为对本发明的限制。 The embodiments of the present invention have been described in detail above, and the principles and implementations of the present invention are described in detail herein. The description of the above embodiments is only for helping to understand the method of the present invention and its core ideas; It should be understood by those skilled in the art that the present invention is not limited by the scope of the present invention.

Claims (19)

  1. 一种工作模式的切换方法,其特征在于,包括:A method for switching a working mode, comprising:
    监测用户在终端的触摸屏上执行的按压操作;Monitoring a pressing operation performed by a user on a touch screen of the terminal;
    确定所述按压操作对应的按压信息;Determining pressing information corresponding to the pressing operation;
    确定所述终端与所述按压信息对应的工作模式;Determining an operation mode of the terminal corresponding to the pressing information;
    将所述终端的当前的工作模式切换为与所述按压信息对应工作模式。Switching the current working mode of the terminal to an operating mode corresponding to the pressing information.
  2. 根据权利要求1所述的方法,其特征在于,所述按压信息包括:按压的力度、按压的时长中的一种或多种。The method according to claim 1, wherein the pressing information comprises one or more of a pressing force and a duration of pressing.
  3. 根据权利要求1所述的方法,其特征在于,所述确定所述终端与所述按压信息对应的工作模式,包括:The method according to claim 1, wherein the determining the working mode of the terminal corresponding to the pressing information comprises:
    在映射关系表中查询是否存在与所述按压信息匹配的映射关系记录,所述映射关系表中的每条映射关系记录包括:用于记录按压信息的按压信息字段和用于记录终端的工作模式的工作模式字段;若在所述映射关系表中查找到了与所述按压信息匹配的映射关系记录,将所述映射关系记录中的工作模式字段记录的工作模式作为所述按压信息对应的工作模式。Querying, in the mapping relationship table, whether there is a mapping relationship record matching the pressing information, where each mapping relationship record in the mapping relationship table includes: a pressing information field for recording pressing information and a working mode for recording the terminal a working mode field; if the mapping relationship record matching the pressing information is found in the mapping relationship table, the working mode recorded in the working mode field in the mapping relationship record is used as the working mode corresponding to the pressing information .
  4. 根据权利要求3所述的方法,其特征在于,The method of claim 3 wherein:
    所述监测用户在终端的触摸屏上执行的按压操作之前,所述方法还包括:Before the monitoring user performs a pressing operation on the touch screen of the terminal, the method further includes:
    创建映射关系表,在映射关系表中创建N条映射关系记录,所述N条映射关系记录中的每条映射关系记录的按压信息互不相同,所述N条映射关系记录中的每条映射关系记录的工作模式字段所记录的工作模式互不相同,所述N为大于或者等于1的整数。Create a mapping relationship table, and create N mapping relationship records in the mapping relationship table, where the pressing information of each mapping relationship record in the N mapping relationship records is different from each other, and each mapping in the N mapping relationship records The working modes recorded in the working mode field of the relationship record are different from each other, and the N is an integer greater than or equal to 1.
  5. 根据权利要求4所述的方法,其特征在于,The method of claim 4 wherein:
    所述N条映射关系记录中的每条映射关系记录的按压信息字段所记录的按压信息为具有改变工作模式权限的有效按压信息。The pressing information recorded in the pressing information field of each mapping relationship record in the N mapping relationship records is valid pressing information having the right to change the working mode.
  6. 根据权利要求1至5任一项所述的方法,其特征在于,A method according to any one of claims 1 to 5, characterized in that
    所述与所述按压信息对应工作模式,包括:The working mode corresponding to the pressing information includes:
    与音量调节的应用对应的静音模式、振动模式、或者响铃模式;或者,a silent mode, a vibration mode, or a ringing mode corresponding to the volume adjustment application; or,
    与浏览图片的应用对应的黑白显示模式、老照片显示模式、光晕显示模式或者晨光显示模式;或者, a black and white display mode, an old photo display mode, a halo display mode, or a morning light display mode corresponding to an application for viewing a picture; or
    与视频播放的应用对应的全屏显示模式、4比3显示模式或者16比9显示模式。A full screen display mode, a 4 to 3 display mode, or a 16 to 9 display mode corresponding to an application for video playback.
  7. 一种终端,其特征在于,包括:A terminal, comprising:
    监测单元,用于监测用户在终端的触摸屏上执行的按压操作;a monitoring unit, configured to monitor a pressing operation performed by a user on a touch screen of the terminal;
    第一确定单元,用于确定所述监测单元监测到的所述按压操作对应的按压信息;a first determining unit, configured to determine pressing information corresponding to the pressing operation monitored by the monitoring unit;
    第二确定单元,用于确定与所述第一确定单元确定的所述按压信息对应的工作模式;a second determining unit, configured to determine an operating mode corresponding to the pressing information determined by the first determining unit;
    切换单元,用于将所述终端的当前的工作模式切换为与所述按压信息对应工作模式。And a switching unit, configured to switch a current working mode of the terminal to an operating mode corresponding to the pressing information.
  8. 根据权利要求7所述的终端,其特征在于,所述按压信息包括:The terminal according to claim 7, wherein the pressing information comprises:
    按压的力度、按压的时长中的一种或多种。One or more of the strength of pressing and the length of pressing.
  9. 根据权利要求7所述的终端,其特征在于,The terminal according to claim 7, wherein
    所述第二确定单元具体用于,在映射关系表中查询是否存在与所述按压信息匹配的映射关系记录,所述映射关系表中的每条映射关系记录包括用于记录按压信息的按压信息字段和用于记录工作模式的工作模式字段;若在所述映射关系表中查找了与所述按压信息匹配的映射关系记录,将所述映射关系记录中的工作模式字段记录的工作模式作为所述按压信息对应的目标应用的工作模式。The second determining unit is configured to: in the mapping relationship table, query whether there is a mapping relationship record that matches the pressing information, where each mapping relationship record in the mapping relationship table includes pressing information for recording pressing information. a field and a working mode field for recording a working mode; if a mapping relationship record matching the pressing information is found in the mapping relationship table, the working mode of the working mode field record in the mapping relationship record is taken as The working mode of the target application corresponding to the pressing information.
  10. 根据权利要求9所述的终端,其特征在于,The terminal according to claim 9, wherein
    所述终端还包括:The terminal further includes:
    创建单元,用于创建映射关系表,在所述映射关系表中创建N条映射关系记录,所述N条映射关系记录中的每条映射关系记录的按压信息互不相同,所述N条映射关系记录中的每条映射关系记录的工作模式字段所记录的工作模式互不相同,所述N为大于或者等于1的整数。a creating unit, configured to create a mapping relationship table, and creating N mapping relationship records in the mapping relationship table, where the pressing information of each mapping relationship record in the N mapping relationship records are different from each other, the N mappings The working modes recorded in the working mode field of each mapping relationship record in the relationship record are different from each other, and the N is an integer greater than or equal to 1.
  11. 根据权利要求10所述的终端,其特征在于,所述N条映射关系记录中的每条映射关系记录的按压信息字段所记录的按压信息为具有改变工作模式权限的有效按压信息。The terminal according to claim 10, wherein the pressing information recorded by the pressing information field of each mapping relationship record in the N mapping relationship records is valid pressing information having a right to change the working mode.
  12. 根据权利要求7至11任一项所述的终端,其特征在于, A terminal according to any one of claims 7 to 11, characterized in that
    所述与所述按压信息对应工作模式,包括:The working mode corresponding to the pressing information includes:
    与音量调节的应用对应的静音模式、振动模式、或者响铃模式;或者,a silent mode, a vibration mode, or a ringing mode corresponding to the volume adjustment application; or,
    与浏览图片的应用对应的黑白显示模式、老照片显示模式、光晕显示模式或者晨光显示模式;或者,a black and white display mode, an old photo display mode, a halo display mode, or a morning light display mode corresponding to an application for viewing a picture; or
    与视频播放的应用对应的全屏显示模式、4比3显示模式或者16比9显示模式。A full screen display mode, a 4 to 3 display mode, or a 16 to 9 display mode corresponding to an application for video playback.
  13. 一种终端,其特征在于,包括:A terminal, comprising:
    处理器、存储器、用户接口和通信总线;a processor, a memory, a user interface, and a communication bus;
    所述处理器、所述存储器、所述用户接口通过所述通信总线连接并完成相互间的通信;The processor, the memory, and the user interface are connected by the communication bus and complete communication with each other;
    所述处理器调用所述存储器中存储的程序代码,执行以下操作:The processor calls the program code stored in the memory to perform the following operations:
    监测用户在终端的触摸屏上执行的按压操作;Monitoring a pressing operation performed by a user on a touch screen of the terminal;
    确定所述按压操作对应的按压信息;Determining pressing information corresponding to the pressing operation;
    确定所述终端与所述按压信息对应的工作模式;Determining an operation mode of the terminal corresponding to the pressing information;
    将所述终端的当前的工作模式切换为与所述按压信息对应工作模式。Switching the current working mode of the terminal to an operating mode corresponding to the pressing information.
  14. 根据权利要求13所述的终端,其特征在于,The terminal of claim 13 wherein:
    所述按压信息包括:按压的力度、按压的时长中的一种或多种。The pressing information includes one or more of a pressing force and a duration of pressing.
  15. 根据权利要求13所述的终端,其特征在于,The terminal of claim 13 wherein:
    所述处理器确定所述终端与所述按压信息对应的工作模式,具体为:The processor determines an operation mode of the terminal corresponding to the pressing information, specifically:
    在映射关系表中查询是否存在与所述按压信息匹配的映射关系记录,所述映射关系表中的每条映射关系记录包括:用于记录按压信息的按压信息字段和用于记录终端的工作模式的工作模式字段;若在所述映射关系表中查找到了与所述按压信息匹配的映射关系记录,将所述映射关系记录中的工作模式字段记录的工作模式作为所述按压信息对应的工作模式。Querying, in the mapping relationship table, whether there is a mapping relationship record matching the pressing information, where each mapping relationship record in the mapping relationship table includes: a pressing information field for recording pressing information and a working mode for recording the terminal a working mode field; if the mapping relationship record matching the pressing information is found in the mapping relationship table, the working mode recorded in the working mode field in the mapping relationship record is used as the working mode corresponding to the pressing information .
  16. 根据权利要求15所述的终端,其特征在于,The terminal of claim 15 wherein:
    所述处理器监测用户在终端的触摸屏上执行的按压操作之前,所述处理器还用于:The processor is further configured to: before the processor monitors a pressing operation performed by the user on the touch screen of the terminal:
    创建映射关系表,在映射关系表中创建N条映射关系记录,所述N条映射关系记录中的每条映射关系记录的按压信息互不相同,所述N条映射关系记录 中的每条映射关系记录的工作模式字段所记录的工作模式互不相同,所述N为大于或者等于1的整数。Create a mapping relationship table, and create N mapping relationship records in the mapping relationship table, where the pressing information of each mapping relationship record in the N mapping relationship records are different from each other, and the N mapping relationship records are recorded. The working modes recorded in the working mode field of each mapping relationship record are different from each other, and the N is an integer greater than or equal to 1.
  17. 根据权利要求16所述的终端,其特征在于,The terminal of claim 16 wherein:
    所述N条映射关系记录中的每条映射关系记录的按压信息字段所记录的按压信息为具有改变工作模式权限的有效按压信息。The pressing information recorded in the pressing information field of each mapping relationship record in the N mapping relationship records is valid pressing information having the right to change the working mode.
  18. 根据权利要求13至17任一项所述的终端,其特征在于,A terminal according to any one of claims 13 to 17, wherein
    所述与所述按压信息对应工作模式,包括:The working mode corresponding to the pressing information includes:
    与音量调节的应用对应的静音模式、振动模式、或者响铃模式;或者,a silent mode, a vibration mode, or a ringing mode corresponding to the volume adjustment application; or,
    与浏览图片的应用对应的黑白显示模式、老照片显示模式、光晕显示模式或者晨光显示模式;或者,a black and white display mode, an old photo display mode, a halo display mode, or a morning light display mode corresponding to an application for viewing a picture; or
    与视频播放的应用对应的全屏显示模式、4比3显示模式或者16比9显示模式。A full screen display mode, a 4 to 3 display mode, or a 16 to 9 display mode corresponding to an application for video playback.
  19. 一种计算机存储介质,其特征在于,所述计算机存储介质中存储有计算机可执行指令,所述计算机可执行指令用于执行权利要求1至6任一项所述的工作模式的切换方法。 A computer storage medium, characterized in that the computer storage medium stores computer executable instructions for performing the switching method of the operating mode according to any one of claims 1 to 6.
PCT/CN2016/082776 2015-08-27 2016-05-20 Method and terminal for switching operating mode WO2017032093A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201510541515.7A CN105045516B (en) 2015-08-27 2015-08-27 The changing method and terminal of a kind of mode of operation
CN201510541515.7 2015-08-27

Publications (1)

Publication Number Publication Date
WO2017032093A1 true WO2017032093A1 (en) 2017-03-02

Family

ID=54452090

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/082776 WO2017032093A1 (en) 2015-08-27 2016-05-20 Method and terminal for switching operating mode

Country Status (2)

Country Link
CN (1) CN105045516B (en)
WO (1) WO2017032093A1 (en)

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105045516B (en) * 2015-08-27 2017-07-11 广东欧珀移动通信有限公司 The changing method and terminal of a kind of mode of operation
CN105446737A (en) * 2015-11-12 2016-03-30 广东欧珀移动通信有限公司 Calling method for background operating program and mobile terminal
CN105872644A (en) * 2015-11-17 2016-08-17 乐视网信息技术(北京)股份有限公司 Video playing method and device based on mobile terminal
CN105491282B (en) * 2015-11-25 2019-04-26 Oppo广东移动通信有限公司 Camera control method and mobile terminal under a kind of black state
CN105353970B (en) * 2015-11-25 2019-02-05 Oppo广东移动通信有限公司 Method for controlling picture-recording and mobile terminal under a kind of blank screen standby mode
CN105630393B (en) 2015-12-31 2018-11-27 歌尔科技有限公司 A kind of control method and control device of touch screen operating mode
CN106354558A (en) * 2016-09-02 2017-01-25 珠海市魅族科技有限公司 Working mode switching method and device
CN107734184A (en) * 2017-10-31 2018-02-23 珠海市魅族科技有限公司 A kind of indicating mode switching method, device, terminal and readable storage medium storing program for executing

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103870190A (en) * 2012-12-17 2014-06-18 联想(北京)有限公司 Method for controlling electronic equipment and electronic equipment
CN105045516A (en) * 2015-08-27 2015-11-11 广东欧珀移动通信有限公司 Method and terminal for switching working mode

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101441548B (en) * 2008-11-24 2010-09-08 宇龙计算机通信科技(深圳)有限公司 Touch screen processing method, system and mobile terminal
JP2011221677A (en) * 2010-04-07 2011-11-04 Sony Corp Electronic device and operation detection method
CN102203794A (en) * 2011-06-01 2011-09-28 华为终端有限公司 A terminal authentication method and a device thereof
CN103401999B (en) * 2013-07-17 2018-01-16 上海斐讯数据通信技术有限公司 A kind of pattern fast switching system of mobile terminal

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103870190A (en) * 2012-12-17 2014-06-18 联想(北京)有限公司 Method for controlling electronic equipment and electronic equipment
CN105045516A (en) * 2015-08-27 2015-11-11 广东欧珀移动通信有限公司 Method and terminal for switching working mode

Also Published As

Publication number Publication date
CN105045516B (en) 2017-07-11
CN105045516A (en) 2015-11-11

Similar Documents

Publication Publication Date Title
WO2017032093A1 (en) Method and terminal for switching operating mode
CN105511680B (en) Terminal screen touch device and method
CN104598111B (en) Switch the method and device of display pattern
EP3561691B1 (en) Method and apparatus for displaying webpage content
WO2017032123A1 (en) Video playback control method and device
CN105487680B (en) Method, apparatus and terminal for terminal screenshotss
CN104111720B (en) Control method of electronic device, device and electronic equipment
CN104702762A (en) Incoming call reminding method and incoming call reminding device
CN105511686A (en) Incoming call processing method and device and electronic terminal equipment
CN105094609A (en) Method and device for achieving key operation in single-handed mode
CN104812020B (en) Control the method, apparatus and system of smart machine access network
CN105404401A (en) Input processing method, apparatus and device
WO2014019507A1 (en) Method and mobile terminal device for independently playing video
WO2017032066A1 (en) Contact management method and mobile terminal
CN104616241A (en) Video screen-shot method and device
CN105162193A (en) Charging method and charging apparatus for terminal, and terminal
CN104571518A (en) Method and device for executing set operation
CN104281703A (en) Method and device for calculating similarity among uniform resource locators (URL)
CN108491282A (en) The method and apparatus that webpage and operating system are communicated
CN104216973A (en) Data search method and data search device
CN105786944A (en) Method and device for automatically turning pages of browser
CN106603801B (en) Call recording method and device
CN112165704A (en) Information sharing method, earphone box and computer readable storage medium
CN105205153A (en) File storage method and device
CN105426065A (en) Browsing position marking method and device

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 16838353

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 16838353

Country of ref document: EP

Kind code of ref document: A1