WO2019061255A1 - 模式切换方法、终端及计算机可读介质 - Google Patents

模式切换方法、终端及计算机可读介质 Download PDF

Info

Publication number
WO2019061255A1
WO2019061255A1 PCT/CN2017/104259 CN2017104259W WO2019061255A1 WO 2019061255 A1 WO2019061255 A1 WO 2019061255A1 CN 2017104259 W CN2017104259 W CN 2017104259W WO 2019061255 A1 WO2019061255 A1 WO 2019061255A1
Authority
WO
WIPO (PCT)
Prior art keywords
terminal
mode
display
touch operation
hand
Prior art date
Application number
PCT/CN2017/104259
Other languages
English (en)
French (fr)
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 深圳传音通讯有限公司
Priority to PCT/CN2017/104259 priority Critical patent/WO2019061255A1/zh
Publication of WO2019061255A1 publication Critical patent/WO2019061255A1/zh

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/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range

Definitions

  • the present invention relates to the field of computer application technologies, and in particular, to a mode switching method, a terminal, and a computer readable medium.
  • the screen size of portable terminals such as mobile phones and tablet computers is getting larger and larger, and a wide screen can display more content, resulting in a better visual experience.
  • the large screen also makes it more and more difficult for the user to operate the terminal with one hand, so the manufacturers began to pay attention to and explore the one-hand operation scheme of the terminal.
  • the user needs to open the "one-hand mode” switch from the setting or pull-down tray to trigger the terminal to enter the one-hand mode.
  • the terminal zooms out its display area and places it in the lower right corner of the screen to allow the user to operate the terminal with one hand.
  • the "one-hand mode” switch needs to be turned off from the settings or drop-down tray to return the terminal to normal mode (ie full-screen display mode). It can be seen that the above mode switching process is complicated and time consuming, and the switching efficiency is low.
  • the embodiment of the invention provides a mode switching method, which can simplify the mode switching process of the terminal, thereby improving the efficiency of the mode switching of the terminal.
  • an embodiment of the present invention provides a mode switching method, where the method includes:
  • the touch operation is compared with each operation in the preset operation set;
  • the touch operation is a mode switching operation in the preset operation set, detecting a current display mode of the terminal;
  • the display mode of the terminal is switched to the one-hand mode.
  • an embodiment of the present invention provides a terminal, where the terminal includes a module for performing the method of the foregoing first aspect.
  • an embodiment of the present invention provides another terminal, where the terminal includes a processor and an input. a device, an output device, and a memory, wherein the processor, the input device, the output device, and the memory are interconnected, wherein the memory is configured to store a computer program that supports the terminal to perform the above method, the computer program including program instructions, the processing The device is configured to invoke the program instructions to perform the method of the first aspect above.
  • an embodiment of the present invention provides a computer readable storage medium, where the computer readable storage medium stores a computer program, and the computer program is executed by a processor to implement the method in the first aspect.
  • the terminal when the current display mode of the terminal is the normal mode, the terminal can switch the display mode of the terminal to the one-hand mode by receiving a preset touch operation in the fingerprint identification area of the terminal, which simplifies the terminal.
  • the mode switching process improves the efficiency of the mode switching of the terminal.
  • FIG. 1 is a schematic flowchart of a mode switching method according to an embodiment of the present invention.
  • FIG. 2 is a schematic flowchart of another mode switching method according to an embodiment of the present invention.
  • FIG. 3 is a schematic structural diagram of a terminal according to an embodiment of the present invention.
  • FIG. 4 is a schematic structural diagram of another terminal according to an embodiment of the present invention.
  • FIG. 5 is a schematic structural diagram of still another terminal according to an embodiment of the present invention.
  • references to "an embodiment” herein mean that a particular feature, structure, or characteristic described in connection with the embodiments can be included in at least one embodiment of the invention.
  • the appearances of the phrases in various places in the specification are not necessarily referring to the same embodiments, and are not exclusive or alternative embodiments that are mutually exclusive. Those skilled in the art will understand and implicitly understand that the embodiments described herein can be combined with other embodiments.
  • a mobile terminal such as a mobile phone (such as an Android mobile phone, an iOS mobile phone, etc.), a tablet computer, and a mobile Internet device (MID).
  • portable terminal devices such as Personal Digital Assistant (PDA).
  • the mobile terminal may be simply referred to as a terminal, and may also be referred to as a user equipment (User Equipment, UE).
  • UE User Equipment
  • terminals mentioned herein all represent the above mobile terminal.
  • FIG. 1 is a schematic flowchart of a mode switching method according to an embodiment of the present invention.
  • the mode switching method shown in FIG. 1 may include:
  • fingerprint recognition technology is widely used in terminals such as smart phones.
  • the fingerprint recognition in the terminal currently includes three types: front fingerprint recognition, back fingerprint recognition and side fingerprint recognition.
  • frontal fingerprint recognition the fingerprint recognition function is generally implemented by the home button located on the front of the terminal (ie, the function key that returns to the main screen); for the back fingerprint identification, a function key for fingerprint recognition is specifically set on the back of the terminal to implement the fingerprint.
  • Identification function; for side fingerprint recognition the fingerprint recognition function is generally realized by a power button or a volume button located on the side of the terminal.
  • the terminal receiving the touch operation in the fingerprint recognition area thereof may specifically refer to the terminal receiving the touch operation through the front home button, or the terminal receiving the fingerprint identification key through the back thereof.
  • the terminal receiving the touch operation through the power button or volume button on its side may specifically refer to the terminal receiving the touch operation through the power button or volume button on its side.
  • the home button on the front side of the terminal may be push buttons, touch buttons, or other types of buttons.
  • the example is not limited.
  • the home key, the power key or the volume key located in the fingerprint identification area are regarded as fingerprint identification keys.
  • the fingerprint identification key in the terminal is a push button
  • the user can perform a pressing operation on the fingerprint recognition button. It can be understood that the user must touch the fingerprint recognition button during the pressing of the fingerprint recognition button.
  • the described touch operation may not only represent a single touch operation of touching but not pressing the fingerprint recognition key, but also a pressing touch operation of touching and pressing the fingerprint recognition key.
  • the preset operation set includes a set of various operations that the user defined by the manufacturer of the terminal can perform on the fingerprint identification key in the terminal. For each operation in the preset operation set, the corresponding response rule is preset in the terminal.
  • the terminal may compare the received user operation with each operation in the preset operation set by querying the preset operation set to determine whether the user operation is the preset. Operate any operation in the collection. If it is determined that the user operation is an operation in the preset operation set, the terminal may respond to the user operation according to the preset corresponding response rule.
  • the terminal may receive the user operation from the fingerprint recognition area, and determine that the user operation is a photographing operation in the preset operation set, thereby performing photographing processing.
  • the terminal may receive the user operation from the fingerprint recognition area, and determine that the user operation is a page turning operation in the preset operation set.
  • the terminal can receive the user operation from the fingerprint identification area, and determine that the user operation is a notification in the preset operation set
  • the column output operation outputs a notification bar
  • the terminal may receive the user operation from the fingerprint recognition area, and determine that the user operation is a control bar output operation in the preset operation set , thus outputting the control bar.
  • the mode switching operation is used to switch the display mode of the terminal.
  • the display modes of the terminal include the normal mode and the one-hand mode.
  • the normal mode may also be referred to as a full screen display mode. It can be understood that in the normal mode, the display content is displayed in full screen with the default size, that is, the display area of the terminal is the entire area of the terminal screen.
  • the one-hand mode can also be referred to as a small screen display mode, in which the display area of the terminal is a partial area of the terminal screen, such as a half area, a lower right area, a lower left area, and the like.
  • the mode switching operation may be two consecutive touch operations received in the fingerprint identification area of the terminal, or the mode switching operation may be two consecutive touch operations on the fingerprint identification key of the terminal. .
  • the duration of the first touch operation in the two consecutive touch operations does not exceed the first preset duration
  • the interval duration of the two consecutive touch operations does not exceed the second preset duration.
  • any one of the two consecutive touch operations may be the above-mentioned individual touch operation or press touch operation.
  • the first touch operation in the two consecutive touch operations is a single touch operation
  • the second touch operation is a press touch operation. That is to say, the mode switching operation may specifically be a double tap and hold a fingerprint identification key.
  • the terminal when the terminal adopts the front fingerprint identification and the fingerprint identification key is the home key, the user generally touches the home key with the thumb; when the terminal uses the back fingerprint identification, the user generally uses the index finger of the index finger on the back of the terminal.
  • the early terminal has only one display mode of the normal mode, and the one-hand mode of the terminal appears as the size of the terminal or the size of the terminal screen is continuously expanded.
  • the terminal screen is small, the user can easily manipulate the terminal with one-handed operation.
  • the terminal screen is getting bigger and bigger, it is not easy or even impossible for the user to manipulate the terminal by one-hand operation. This is because when the terminal is held by the user in the hand, the length of the finger (thumb) is limited, and it is difficult for the user to pass the single.
  • the hand operation performs a touch operation on a display area farther from the thumb in the terminal screen.
  • the terminal when the terminal is held by the user with the right hand, if the terminal screen is too long or too wide, the right thumb of the user is difficult to reach the display area of the upper left corner and the lower left corner of the terminal screen.
  • the user when the user can only free one hand to manipulate the terminal, or the user is accustomed to manipulating the terminal by one-hand operation, the user can turn on the one-hand mode of the terminal.
  • the terminal no longer displays the display content in full screen, and its display area is significantly reduced, which greatly reduces the difficulty for the user to manipulate the terminal through one-hand operation.
  • the terminal can The area in the lower right corner of the screen serves as the display area in the one-hand mode.
  • the terminal can reduce the size of the displayed content.
  • the size of the display content of the terminal in the one-hand mode can also remain unchanged.
  • the content that can be displayed in one interface of the terminal is less than the content that can be displayed by one interface when the screen is displayed in full screen.
  • the terminal can exit the one-hand mode and return to the normal mode. It can be seen that, in the embodiment of the present invention, since the touch operation on the fingerprint identification key can be completed by the right hand (or the left hand) in the process of manipulating the terminal by using the right hand (or the left hand), the user can easily complete the operation with one hand. Mode switching operation for the terminal.
  • the terminal when the current display mode of the terminal is the normal mode, the terminal can switch the display mode of the terminal to the one-hand mode by receiving a preset touch operation in the fingerprint identification area of the terminal, which simplifies The mode switching process of the terminal, thereby improving the efficiency of the mode switching of the terminal.
  • FIG. 2 is a schematic flowchart diagram of another mode switching method according to an embodiment of the present invention.
  • the mode switching method shown in FIG. 2 may include:
  • step S201 can be referred to the relevant part of step S101 shown in FIG. 1 of the present application, and details are not described herein again.
  • step S202 can be referred to the relevant part of step S102 shown in FIG. 1 of the present application, and details are not described herein again.
  • the terminal performing the switching of the display mode of the terminal to the normal mode may specifically include: determining a target display area of the terminal in the one-hand mode; and displaying the display area according to the target relative to the full-screen display area. Reduction ratio, the display content is reduced, and The reduced display content is displayed in the target display area.
  • the display content is displayed in full screen in the default size, that is, the display area of the terminal is the entire area of the terminal screen.
  • the terminal no longer displays the display content in full screen, and its target display area is smaller than the display area when the full screen is displayed.
  • the terminal can display according to the reduction ratio of the display area of the target compared to the display area of the full-screen display. The content is reduced.
  • the size of the display content of the terminal in the one-hand mode can also remain unchanged. At this time, the content that can be displayed in one interface of the terminal is less than the content that can be displayed by one interface when the screen is displayed in full screen.
  • the target display area of the terminal in the one-hand mode is a partial area of the terminal screen, and may be, for example, a lower half area, a lower right corner area, a lower left corner area, and the like of the terminal screen, which are not limited in the embodiment of the present invention.
  • the terminal may set one of the lower half area, the lower right corner area, and the lower left corner area of the terminal screen as the default display area in the one-hand mode.
  • the terminal may also set the lower right corner area and the lower left corner area of the terminal screen to an optional display area in the one-hand mode.
  • the determining, by the terminal, that the target display area of the terminal in the one-hand mode may include: detecting a current holding state of the terminal; if the detected holding state is a right-handed holding, the terminal is located at a lower right corner of the terminal screen.
  • the first preset area is used as the target display area of the terminal in the one-hand mode; if the detected holding state is left-handed, the second preset area located in the lower left corner of the terminal screen is used as the terminal in the one-hand mode.
  • the target display area below.
  • the terminal can respectively use the lower right corner area and the lower left corner area as the target display area in the one-hand mode.
  • the first preset area and the second preset area may have the same shape (such as a rectangle) and a size (such as a length and a width), but the positions in the terminal are different.
  • the terminal detecting the current grip state of the terminal can be implemented by detecting the pointing of the fingertip when the thumb touches the screen of the terminal. Specifically, if it is detected that the fingertip does not point to the right of the terminal screen when the thumb is currently touched on the terminal screen, the terminal may determine that the terminal is currently in the right hand holding state; if the thumb is detected, the current touch is on the terminal screen. When the fingertip does not point to the left of the terminal screen, the terminal can determine that the terminal is currently in the left hand holding state.
  • the terminal detecting the current grip state of the terminal can also be realized by detecting the pointing of the fingertip when the four fingers other than the thumb are placed on the back of the terminal.
  • the terminal when the terminal receives the touch operation of the user in the display area, the terminal may first acquire the actual coordinates of the position at which the touch operation is received, and then according to the position and size of the display area, and presets.
  • the coordinate transformation rule converts the actual coordinate to the window coordinate under the full screen display, and responds to the touch operation according to the window coordinate.
  • the terminal can detect the end of the touch operation, or It is said that the terminal can detect the end of the second touch operation in the two consecutive touch operations, so that the terminal can exit the one-hand mode and return to the normal mode.
  • the terminal in the one-hand mode, if the terminal receives the touch operation in the non-display area of the terminal screen, the terminal may exit the one-hand mode and return to the normal mode.
  • the non-display area of the terminal screen refers to an area other than the target display area of the terminal in the one-hand mode in all areas of the terminal screen.
  • the terminal in the one-hand mode, if the terminal receives the mode switching operation in its fingerprint recognition area, the terminal can exit the one-hand mode and return to the normal mode. That is to say, no matter what display mode the terminal is currently in, as long as the mode switching operation is received in its fingerprint recognition area, the current display mode is exited.
  • the terminal may perform fingerprint recognition processing on the finger performing the touch operation.
  • the mode switching operation is two consecutive touch operations received in the fingerprint identification area of the terminal, and the duration of the first touch operation in the two consecutive touch operations does not exceed the first preset duration, the two consecutive
  • the fingerprint recognition operation may be a single touch operation, and the duration of the single touch operation is not lower than the first preset duration.
  • the mode switching by using the fingerprint identification area or the fingerprint identification key does not affect the original fingerprint of the terminal.
  • the realization of the recognition function will not affect the original identification by means of fingerprint
  • the area or the fingerprint identification button is used to perform functions such as photographing, page turning, outputting the notification bar, and control bar.
  • the terminal when the current display mode of the terminal is the normal mode, the terminal can switch the display mode of the terminal to the one-hand mode by receiving a preset touch operation in the fingerprint identification area of the terminal;
  • the terminal can switch the display mode of the terminal back to normal by receiving the preset touch operation again in the fingerprint identification area of the terminal, or by detecting the end of the preset touch operation.
  • the mode simplifies the mode switching process of the terminal, thereby improving the efficiency of the mode switching of the terminal.
  • An embodiment of the present invention further provides a terminal, where the terminal includes a module for performing the method shown in FIG. 1 of the present application.
  • the terminal shown in FIG. 3 may include: a comparison module 301, a detection module 302, and a switching module 303. among them,
  • the comparison module 301 is configured to compare the touch operation with each operation in the preset operation set when receiving a touch operation in the fingerprint identification area of the terminal.
  • the detecting module 302 is configured to detect a current display mode of the terminal when the touch operation is a mode switching operation in the preset operation set.
  • the switching module 303 is configured to switch the display mode of the terminal to the one-hand mode when the detected display mode is the normal mode.
  • the terminal when the current display mode of the terminal is the normal mode, the terminal can switch the display mode of the terminal to the one-hand mode by receiving a preset touch operation in the fingerprint identification area of the terminal, which simplifies The mode switching process of the terminal, thereby improving the efficiency of the mode switching of the terminal.
  • the embodiment of the present invention further provides another terminal, where the terminal includes a module for executing the method shown in FIG. 2 of the present application.
  • the terminal shown in FIG. 4 may include: a comparison module 401, a detection module 402, a switching module 403, and an identification module 404. among them,
  • the comparison module 401 is configured to: when receiving a touch operation in a fingerprint identification area of the terminal, The touch operation is compared to each of the preset operation sets.
  • the detecting module 402 is configured to detect a current display mode of the terminal when the touch operation is a mode switching operation in the preset operation set.
  • the switching module 403 is configured to switch the display mode of the terminal to the one-hand mode when the display mode detected by the detecting module 402 is the normal mode.
  • the display content is displayed in full screen in a default size.
  • the switching module 403 when the switching module 403 performs the switching of the display mode of the terminal to the one-hand mode, the switching module 403 may be specifically configured to determine a target display area of the terminal in the one-hand mode; The reduction ratio of the target display area to the display area at the time of full-screen display is performed, the display content is reduced, and the reduced display content is displayed in the target display area.
  • the switching module 403 may be specifically configured to detect the current holding state of the terminal; When the holding state is the right hand holding, the first preset area located in the lower right corner of the terminal screen is used as the target display area of the terminal in the one-hand mode; if the detected holding state is the left hand holding, the terminal is located at the terminal The second preset area in the lower left corner of the screen serves as the target display area of the terminal in the one-hand mode.
  • the mode switching operation may be specifically two consecutive touch operations, and the duration of the first touch operation in the two consecutive touch operations does not exceed the first preset duration, and the interval between the consecutive two touch operations The duration does not exceed the second preset duration.
  • the switching module 403 is further configured to switch the display mode of the terminal to the normal mode when detecting that the second touch operation of the two consecutive touch operations ends.
  • the switching module 403 is further configured to switch the display mode of the terminal to the normal mode when receiving a touch operation in a non-display area of the terminal screen.
  • the switching module 403 is further configured to switch the display mode of the terminal to the normal mode when the display mode detected by the detecting module 402 is a one-hand mode.
  • the identification module 404 is configured to perform fingerprint identification processing on a finger performing the touch operation when the touch operation is a fingerprint recognition operation in the preset operation set, where the fingerprint recognition operation is a single time Touch operation, and the duration of the single touch operation is not lower than the first preset duration.
  • the terminal when the current display mode of the terminal is the normal mode, the terminal passes the When the fingerprint identification area of the terminal receives the preset touch operation, the display mode of the terminal can be switched to the one-hand mode; when the current display mode of the terminal is the one-hand mode, the terminal receives the same again in the fingerprint identification area of the terminal.
  • the preset touch operation or by detecting the end of the preset touch operation, can switch the display mode of the terminal back to the normal mode, simplifying the mode switching process of the terminal, thereby improving the efficiency of the mode switching of the terminal.
  • FIG. 5 is a schematic block diagram of still another terminal according to an embodiment of the present invention.
  • the terminal in this embodiment as shown in FIG. 5 may include one or more processors 501, one or more input devices 502, one or more output devices 503, and a memory 504.
  • the above processor 501, input device 502, output device 503, and memory 504 are connected by a bus 505.
  • Memory 504 is for storing a computer program, the program comprising program instructions.
  • the processor 501 is configured to invoke the program instruction to execute:
  • the touch operation is compared with each operation in the preset operation set;
  • the touch operation is a mode switching operation in the preset operation set, detecting a current display mode of the terminal;
  • the display mode of the terminal is switched to the one-hand mode.
  • the processor 501 is configured to invoke the program instruction to perform the switching of the display mode of the terminal to one-handed Specific execution when the mode:
  • the display content is reduced in accordance with a reduction ratio of the target display area with respect to the display area at the time of full-screen display, and the reduced display content is displayed in the target display area.
  • the processor 501 is configured to invoke the program instruction to perform the determining when the terminal is in the target display area in the one-hand mode:
  • the first preset area located in the lower right corner of the terminal screen is used as the target display area of the terminal in the one-hand mode;
  • the second preset area located at the lower left corner of the terminal screen is used as the target display area of the terminal in the one-hand mode.
  • the mode switching operation is two consecutive touch operations, and the duration of the first touch operation of the two consecutive touch operations does not exceed the first preset duration, and the interval of the two consecutive touch operations The duration does not exceed the second preset duration;
  • the processor 501 is configured to execute the program instruction to perform the switching of the display mode of the terminal to the one-hand mode:
  • the display mode of the terminal is switched to the normal mode.
  • the processor 501 is configured to: after the program instruction is executed to perform the switching of the display mode of the terminal to the one-hand mode:
  • the display mode of the terminal is switched to the normal mode.
  • the processor 501 is configured to: after the program instruction is executed to perform the switching of the display mode of the terminal to the one-hand mode:
  • the display mode of the terminal is switched to the normal mode.
  • processor 501 is configured to invoke the program instructions to also perform:
  • the touch operation is a fingerprint recognition operation in the preset operation set, performing fingerprint recognition processing on a finger performing the touch operation, wherein the fingerprint recognition operation is a single touch operation, and the single time The duration of the touch operation is not lower than the first preset duration.
  • the processor 501 may be a central processing unit (CPU), and the processor may also be another general-purpose processor, a digital signal processor (DSP). , Application Specific Integrated Circuit (ASIC), Field-Programmable Gate Array (FPGA) or other programmable logic device, discrete gate or transistor logic device, discrete hardware component, etc.
  • the general purpose processor may be a microprocessor or the processor or any conventional processor or the like.
  • the input device 502 may include a touch panel, a fingerprint collection sensor (for collecting fingerprint information of the user and direction information of the fingerprint), a microphone, and the like, and the output device 503 may include a display (Liquid Crystal Display (LCD), etc.), Speakers, etc.
  • a touch panel for collecting fingerprint information of the user and direction information of the fingerprint
  • a microphone for collecting fingerprint information of the user and direction information of the fingerprint
  • the output device 503 may include a display (Liquid Crystal Display (LCD), etc.), Speakers, etc.
  • LCD Liquid Crystal Display
  • the memory 504 can include a Read-Only Memory (ROM) and a Random Access Memory (RAM), and provides the computer program and data to the processor 501.
  • a portion of the memory 504 can also include a non-volatile random access memory.
  • the memory 504 can also store information of the device type.
  • the processor 501, the input device 502, and the output device 503 in the embodiment of the present invention may implement the mode switching method shown in FIG. 1 or FIG. 2, and details are not described herein again.
  • the processor 501 calls a program instruction stored in the memory 504.
  • the processor 501 can The display mode of the terminal is switched to the one-hand mode, which simplifies the mode switching process of the terminal, thereby improving the efficiency of the mode switching of the terminal.
  • a computer readable storage medium is also provided in an embodiment of the present invention, the computer readable storage medium storing a computer program including program instructions, the processor being configured to invoke the program The instruction performs the mode switching method shown in FIG. 1 or FIG. 2 of the present application.
  • the computer readable storage medium may be an internal storage unit of the terminal described in any of the foregoing embodiments, such as a hard disk or a memory of the terminal.
  • the computer readable storage medium may also be an external storage device of the terminal, such as a plug-in hard disk equipped on the terminal, a smart memory card (SMC), and a Secure Digital (SD) card. , Flash Card, etc.
  • the computer readable storage medium may also include both an internal storage unit of the terminal and an external storage device.
  • the computer readable storage medium is for storing the computer program and other programs and data required by the terminal.
  • the computer readable storage medium can also be used to temporarily store data that has been output or is about to be output.

Landscapes

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

Abstract

本发明实施例提供了一种模式切换方法、终端及计算机可读介质,其中,所述方法包括:当在所述终端的指纹识别区域接收到触摸操作时,将所述触摸操作与预设操作集合中的各个操作进行对比;如果所述触摸操作为所述预设操作集合中的模式切换操作,则检测所述终端当前的显示模式;如果检测到的显示模式为正常模式,则将所述终端的显示模式切换为单手模式。本发明实施例可简化终端的模式切换过程,从而提高终端进行模式切换的效率。

Description

模式切换方法、终端及计算机可读介质 技术领域
本发明涉及计算机应用技术领域,尤其涉及一种模式切换方法、终端及计算机可读介质。
背景技术
目前,手机、平板电脑等便携式终端的屏幕尺寸变得越来越大,宽广的屏幕可以显示更多的内容,带来更好的视觉体验效果。但是,大屏幕同时也会让用户单手操作终端变得越来越困难,因此厂商们开始关注、探索终端的单手操作方案。
在现有的单手操作方案中,用户需要从设置或下拉托盘中打开“单手模式”开关来触发终端进入单手模式。在单手模式下,终端将其显示区域缩小并置于屏幕的右下角以便于用户单手操作终端。如果用户想要退出单手模式,则需要从设置或下拉托盘中关闭“单手模式”开关,以使终端恢复为正常模式(即全屏显示模式)。可以看出,上述模式切换过程复杂且费时,切换效率低。
发明内容
本发明实施例提供了一种模式切换方法,可以简化终端的模式切换过程,从而提高终端进行模式切换的效率。
第一方面,本发明实施例提供了一种模式切换方法,所述方法包括:
当在所述终端的指纹识别区域接收到触摸操作时,将所述触摸操作与预设操作集合中的各个操作进行对比;
如果所述触摸操作为所述预设操作集合中的模式切换操作,则检测所述终端当前的显示模式;
如果检测到的显示模式为正常模式,则将所述终端的显示模式切换为单手模式。
第二方面,本发明实施例提供了一种终端,所述终端包括用于执行上述第一方面的方法的模块。
第三方面,本发明实施例提供了另一种终端,所述终端包括处理器、输入 设备、输出设备和存储器,所述处理器、输入设备、输出设备和存储器相互连接,其中,所述存储器用于存储支持终端执行上述方法的计算机程序,所述计算机程序包括程序指令,所述处理器被配置用于调用所述程序指令,执行上述第一方面的方法。
第四方面,本发明实施例提供了一种计算机可读存储介质,所述计算机可读存储介质存储有计算机程序,所述计算机程序被处理器执行时实现上述第一方面中的方法。
本发明实施例中,当终端当前的显示模式为正常模式时,终端通过在该终端的指纹识别区域接收预设的触摸操作,就可以将该终端的显示模式切换为单手模式,简化了终端的模式切换过程,从而提高了终端进行模式切换的效率。
附图说明
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。
图1是本发明实施例提供的一种模式切换方法的流程示意图;
图2是本发明实施例提供的另一种模式切换方法的流程示意图;
图3是本发明实施例提供的一种终端的结构示意图;
图4是本发明实施例提供的另一种终端的结构示意图;
图5是本发明实施例提供的又一种终端的结构示意图。
具体实施方式
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。
本发明的说明书和权利要求书及上述附图中的术语“第一”、“第二”和“第三”等是用于区别不同对象,而非用于描述特定顺序。此外,术语“包括”以及它们任何变形,意图在于覆盖不排他的包含。例如包含了一系列步骤或单 元的过程、方法、***、产品或设备没有限定于已列出的步骤或单元,而是可选地还包括没有列出的步骤或单元,或可选地还包括对于这些过程、方法、产品或设备固有的其它步骤或单元。
在本文中提及“实施例”意味着,结合实施例描述的特定特征、结构或特性可以包含在本发明的至少一个实施例中。在说明书中的各个位置出现该短语并不一定均是指相同的实施例,也不是与其它实施例互斥的独立的或备选的实施例。本领域技术人员显式地和隐式地理解的是,本文所描述的实施例可以与其它实施例相结合。
需要说明的是,本发明实施例的技术方案可具体应用于移动终端中,该移动终端例如可以是手机(如Android手机、iOS手机等)、平板电脑、移动互联网设备(Mobile Internet Devices,MID)和个人数字助理(Personal Digital Assistant,PDA)等便携式终端设备。该移动终端可以简称为终端,还可称为用户设备(User Equipment,UE)。
还需要说明的是,本文中提及的终端均表示上述移动终端。
首先请参见图1,是本发明实施例提供的一种模式切换方法的流程示意图。具体地,所述方法包括的各个步骤可以由上述的终端执行。如图1所示的模式切换方法可以包括:
S101、当在所述终端的指纹识别区域接收到触摸操作时,将所述触摸操作与预设操作集合中的各个操作进行对比。
作为生物识别技术中应用最广泛、价格最低廉的识别技术之一,指纹识别技术被广泛应用于智能手机等终端中。
根据终端在对手指进行指纹识别时手指在终端中放置的位置,目前终端中的指纹识别包括三类:正面指纹识别、背面指纹识别和侧面指纹识别。对于正面指纹识别,指纹识别功能一般通过位于终端正面的home键(即回到主屏幕的功能键)实现;对于背面指纹识别,终端的背部专门设置了一个用于指纹识别的功能键以实现指纹识别功能;对于侧面指纹识别,指纹识别功能一般通过位于终端侧面的电源键或音量键实现。
从而,上述终端在其指纹识别区域接收到触摸操作可以具体指的是终端通过其正面的home键接收到触摸操作,或者终端通过其背部的指纹识别键接收 到触摸操作,或者终端通过其侧面的电源键或音量键接收到触摸操作。
需要说明的是,上述终端正面的home键、终端背部的指纹识别键以及终端侧面的电源键或音量键可以是按压式按键,也可以是触摸式按键,或者是其他类型的按键,本发明实施例不做限定。
在本发明实施例中,位于指纹识别区域的home键、电源键或音量键均被看作是指纹识别键。如果终端中的指纹识别键是按压式按键,那么用户可以对该指纹识别按键执行按压操作。可以理解的是,用户在按压该指纹识别按键的过程中,必定触摸到了该指纹识别按键。从而,在本发明实施例中,所描述的触摸操作不仅仅可以表示对指纹识别键进行触摸但不按压的单独触摸操作,也可以表示对指纹识别键进行触摸且按压的按压触摸操作。
其中,该预设操作集合包括了终端的生产厂商预先定义的用户可以对终端中的指纹识别键执行的各种操作的集合。对于该预设操作集合中的各个操作,终端中都预置了对应的响应规则。当在指纹识别区域接收到用户操作时,终端就可以通过查询该预设操作集合,将接收到的用户操作与该预设操作集合中的各个操作对比,以确定该用户操作是否为该预设操作集合中的任一操作。如果确定出该用户操作是该预设操作集合中的某一操作,那么终端就可以根据预置的对应响应规则响应该用户操作。
例如,在拍照界面,如果用户按压或触摸了指纹识别键,那么终端可以从指纹识别区域接收到该用户操作,并确定出该用户操作为该预设操作集合中的拍照操作,从而进行拍照处理;在相册界面,如果用户在指纹识别区域向左或向右滑动手指,那么终端可以从指纹识别区域接收到该用户操作,并确定出该用户操作为该预设操作集合中的翻页操作,从而切换上一张或下一张照片;如果用户在指纹识别区域向下滑动手指,那么终端可以从指纹识别区域接收到该用户操作,并确定出该用户操作为该预设操作集合中的通知栏输出操作,从而输出通知栏;如果用户在指纹识别区域向上滑动手指,那么终端可以从指纹识别区域接收到该用户操作,并确定出该用户操作为该预设操作集合中的控制栏输出操作,从而输出控制栏。
S102、如果所述触摸操作为所述预设操作集合中的模式切换操作,则检测所述终端当前的显示模式。
在本发明实施例中,该模式切换操作用于切换终端的显示模式。目前,终 端的显示模式包括正常模式和单手模式。其中,该正常模式也可以称为全屏显示模式。可以理解的是,在正常模式下,显示内容以默认尺寸进行全屏显示,即终端的显示区域为终端屏幕的全部区域。该单手模式也可以称为小屏显示模式,在该单手模式下,终端的显示区域为终端屏幕的部分区域,如下半部分区域、右下角区域、左下角区域等等。
在一个具体的实施例中,该模式切换操作可以是在终端的指纹识别区域接收到的连续两次触摸操作,或者说,该模式切换操作可以是对终端的指纹识别键的连续两次触摸操作。并且,该连续两次触摸操作中的第一次触摸操作的时长不超过第一预设时长,该连续两次触摸操作的间隔时长不超过第二预设时长。其中,该连续两次触摸操作中的任一次触摸操作都可以是上述的单独触摸操作或按压触摸操作。作为一种可选的实施方式,该连续两次触摸操作中的第一次触摸操作是单独触摸操作,第二次触摸操作是按压触摸操作。也就是说,该模式切换操作具体可以是双击并按住指纹识别键。
具体实现中,当终端采用正面指纹识别,指纹识别键为home键时,用户一般采用大拇指触摸该home键;当终端采用背面指纹识别时,用户一般采用食指触摸终端背部的指纹识别键。
S103、如果检测到的显示模式为正常模式,则将所述终端的显示模式切换为单手模式。
需要说明的是,早期的终端都只有正常模式这一个显示模式,而终端的单手模式是随着终端的尺寸或者说终端屏幕的尺寸的不断扩大而出现的。当终端屏幕较小时,用户可以轻松地通过单手操作对终端进行操控。当终端屏幕越来越大之后,用户不易甚至不能通过单手操作对终端进行操控,这是因为当终端被用户握持在手中时,由于手指(大拇指)的长度有限,用户很难通过单手操作对终端屏幕中距离大拇指较远的显示区域进行触控操作。例如,当终端被用户用右手握持在手中时,如果终端屏幕过长或过宽,那么用户的右手大拇指就很难够到终端屏幕左上角和左下角的显示区域。在这种情况下,当用户只能腾出一只手来操控终端,或者用户习惯于通过单手操作操控终端时,用户就可以开启终端的单手模式。
在单手模式下,终端不再对显示内容进行全屏显示,其显示区域明显减小,这大大降低了用户通过单手操作对终端进行操控的难度。具体地,终端可以将 其屏幕右下角的区域作为在单手模式下的显示区域。
为了保证终端在单手模式下一个界面中能够显示的内容与全屏显示时一个界面中能够显示的内容一样多,终端可以对显示内容的尺寸做缩小处理。当然,终端在单手模式下的显示内容的尺寸也可以保持不变。此时,终端的一个界面中能够显示的内容少于全屏显示时一个界面能够显示的内容。
进一步地,当该模式切换操作具体是双击并按住指纹识别键时,如果用户松开该指纹识别键,那么终端就可以退出单手模式,恢复为正常模式。可以看出,在本发明实施例中,由于对指纹识别键的触摸操作可以在用户使用右手(或左手)操控终端的过程中由该右手(或该左手)完成,因此用户可以单手轻松完成对终端的模式切换操作。
在本发明实施例中,当终端当前的显示模式为正常模式时,终端通过在该终端的指纹识别区域接收预设的触摸操作,就可以将该终端的显示模式切换为单手模式,简化了终端的模式切换过程,从而提高了终端进行模式切换的效率。
请参见图2,是本发明实施例提供的另一种模式切换方法的流程示意图。具体地,所述方法包括的各个步骤可以由上述的终端执行。如图2所示的模式切换方法可以包括:
S201、当在所述终端的指纹识别区域接收到触摸操作时,将所述触摸操作与预设操作集合中的各个操作进行对比。
需要说明的是,步骤S201的具体技术细节可以参考本申请图1所示的步骤S101的相关部分描述,此处不再赘述。
S202、如果所述触摸操作为所述预设操作集合中的模式切换操作,则检测所述终端当前的显示模式。
需要说明的是,步骤S202的具体技术细节可以参考本申请图1所示的步骤S102的相关部分描述,此处不再赘述。
S203、如果检测到的显示模式为正常模式,则将所述终端的显示模式切换为单手模式。
在一个具体的实施例中,终端执行将该终端的显示模式切换为正常模式可以具体包括:确定该终端在单手模式下的目标显示区域;根据该目标显示区域相对于全屏显示时的显示区域的缩小比例,对该显示内容进行缩小处理,并将 缩小后的显示内容显示到该目标显示区域中。
在正常模式下,显示内容以默认尺寸进行全屏显示,即终端的显示区域为终端屏幕的全部区域。在单手模式下,终端不再对显示内容进行全屏显示,其目标显示区域比全屏显示时的显示区域要小。为了保证终端在单手模式下一个界面中能够显示的内容与全屏显示时一个界面中能够显示的内容一样多,终端可以根据该目标显示区域相比于全屏显示时的显示区域的缩小比例对显示内容做缩小处理。当然,终端在该单手模式下的显示内容的尺寸也可以保持不变。此时,终端的一个界面中能够显示的内容少于全屏显示时一个界面能够显示的内容。
其中,终端在单手模式下的目标显示区域是终端屏幕的部分区域,例如可以是终端屏幕的下半部分区域、右下角区域、左下角区域等等,本发明实施例不做限定。具体地,终端可以将终端屏幕的下半部分区域、右下角区域、左下角区域中的其中一个区域设置为单手模式下的默认的显示区域。
在一个具体的实施例中,终端还可以将终端屏幕的右下角区域和左下角区域设置为单手模式下可选的显示区域。具体地,终端执行确定该终端在单手模式下的目标显示区域可以具体包括:检测该终端当前的握持状态;如果检测到的握持状态为右手握持,则将位于终端屏幕右下角的第一预设区域作为该终端在单手模式下的目标显示区域;如果检测到的握持状态为左手握持,则将位于终端屏幕左下角的第二预设区域作为该终端在单手模式下的目标显示区域。也就是说,当用户分别用右手和左手握持终端时,为了使用户更为方便地操控终端,终端可以分别将右下角区域和左下角区域作为在单手模式下的目标显示区域。其中,上述第一预设区域和第二预设区域可以具有相同的形状(如矩形)和尺寸(如长和宽),只是在终端中所处的位置不同。
在另一个具体的实施例中,终端检测该终端当前的握持状态可以通过检测大拇指触摸在终端屏幕上时指尖的指向实现。具体地,如果检测到大拇指当前触摸在终端屏幕上时指尖没有指向过终端屏幕的右方,那么终端可以确定该终端当前处于右手握持状态;如果检测到大拇指当前触摸在终端屏幕上时指尖没有指向过终端屏幕的左方,那么终端可以确定该终端当前处于左手握持状态。
在一个具体的实施例中,终端检测该终端当前的握持状态还可以通过检测除大拇指以外的其他四个手指放置于终端背部时指尖的指向实现。
在单手模式下,当终端在其显示区域中接收到用户的触控操作时,可以首先获取接收到该触控操作的位置的实际坐标,再根据该显示区域的位置和尺寸,以及预置的坐标变换规则,将该实际坐标变换为全屏显示下的窗口坐标,并根据该窗口坐标响应该触控操作。
S204、当检测到所述触摸操作结束时,将所述终端的显示模式切换为所述正常模式。
当该触摸操作具体是连续两次触摸操作(如双击并按住指纹识别键)时,在单手模式下,如果用户松开该指纹识别键,那么终端就可以检测到该触摸操作结束,或者说终端可以检测到该连续两次触摸操作中的第二次触摸操作结束,从而终端可以退出单手模式,恢复为正常模式。
作为一种可选的实施方式,在单手模式下,如果终端在终端屏幕的非显示区域接收到触控操作,那么终端就可以退出单手模式,恢复为正常模式。其中,终端屏幕的非显示区域指的是终端屏幕的全部区域中除终端在单手模式下的目标显示区域以外的区域。
S205、如果检测到的显示模式为单手模式,则将所述终端的显示模式切换为正常模式。
作为另一种可选的实施方式,在单手模式下,如果终端在其指纹识别区域接收到模式切换操作时,那么终端就可以退出单手模式,恢复为正常模式。也就是说,无论终端当前处于何种显示模式,只要在其指纹识别区域接收到模式切换操作,就退出当前的显示模式。
需要说明的是,如果终端在其指纹识别区域接收到的触摸操作为该预设操作集合中的指纹识别操作,那么终端就可以对执行该触摸操作的手指进行指纹识别处理。
其中,当该模式切换操作为在终端的指纹识别区域接收到的连续两次触摸操作,且该连续两次触摸操作中的第一次触摸操作的时长不超过第一预设时长,该连续两次触摸操作的间隔时长不超过第二预设时长时,该指纹识别操作可以为单次触摸操作,且该单次触摸操作的时长不低于该第一预设时长。
可以理解的是,由于针对指纹识别区域或指纹识别键的预设操作集合中的各个操作互不相同,借助于指纹识别区域或者说指纹识别键来进行模式切换并不会影响终端原有的指纹识别功能的实现,也不会影响原有的借助于指纹识别 区域或者说指纹识别键来进行拍照、翻页、输出通知栏和控制栏等功能的实现。
在本发明实施例中,当终端当前的显示模式为正常模式时,终端通过在该终端的指纹识别区域接收预设的触摸操作,就可以将该终端的显示模式切换为单手模式;当终端当前的显示模式为单手模式时,终端通过在该终端的指纹识别区域再次接收该预设的触摸操作,或者通过检测该预设的触摸操作结束,就可以将该终端的显示模式切换回正常模式,简化了终端的模式切换过程,从而提高了终端进行模式切换的效率。
本发明实施例还提供一种终端,该终端包括用于执行本申请图1所示的方法的模块。具体地,请参见图3,是本发明实施例提供的一种终端的结构示意图。如图3所示的终端可以包括:对比模块301、检测模块302和切换模块303。其中,
所述对比模块301,用于当在所述终端的指纹识别区域接收到触摸操作时,将所述触摸操作与预设操作集合中的各个操作进行对比。
所述检测模块302,用于当所述触摸操作为所述预设操作集合中的模式切换操作时,检测所述终端当前的显示模式。
所述切换模块303,用于当检测到的显示模式为正常模式时,将所述终端的显示模式切换为单手模式。
需要说明的是,本发明实施例提供的终端的具体工作流程请参考本发明实施例提供的方法流程部分,在此不再赘述。
在本发明实施例中,当终端当前的显示模式为正常模式时,终端通过在该终端的指纹识别区域接收预设的触摸操作,就可以将该终端的显示模式切换为单手模式,简化了终端的模式切换过程,从而提高了终端进行模式切换的效率。
本发明实施例还提供另一种终端,该终端包括用于执行本申请图2所示的方法的模块。具体地,请参见图4,是本发明实施例提供的一种终端的结构示意图。如图4所示的终端可以包括:对比模块401、检测模块402、切换模块403和识别模块404。其中,
所述对比模块401,用于当在所述终端的指纹识别区域接收到触摸操作时, 将所述触摸操作与预设操作集合中的各个操作进行对比。
所述检测模块402,用于当所述触摸操作为所述预设操作集合中的模式切换操作时,检测所述终端当前的显示模式。
所述切换模块403,用于当所述检测模块402检测到的显示模式为正常模式时,将所述终端的显示模式切换为单手模式。
其中,当终端处于所述正常模式时,显示内容以默认尺寸进行全屏显示。
在一个具体的实施例中,所述切换模块403执行所述将所述终端的显示模式切换为单手模式时,可以具体用于确定所述终端在单手模式下的目标显示区域;根据所述目标显示区域相对于全屏显示时的显示区域的缩小比例,对所述显示内容进行缩小处理,并将缩小后的显示内容显示到所述目标显示区域中。
在一个具体的实施例中,所述切换模块403执行所述确定所述终端在单手模式下的目标显示区域时,可以具体用于检测所述终端当前的握持状态;如果检测到的握持状态为右手握持,则将位于终端屏幕右下角的第一预设区域作为所述终端在单手模式下的目标显示区域;如果检测到的握持状态为左手握持,则将位于终端屏幕左下角的第二预设区域作为所述终端在单手模式下的目标显示区域。
其中,所述模式切换操作可以具体为连续两次触摸操作,且所述连续两次触摸操作中的第一次触摸操作的时长不超过第一预设时长,所述连续两次触摸操作的间隔时长不超过第二预设时长。
可选地,所述切换模块403,还用于当检测到所述连续两次触摸操作中的第二次触摸操作结束时,将所述终端的显示模式切换为所述正常模式。
可选地,所述切换模块403,还用于当在终端屏幕的非显示区域接收到触控操作时,将所述终端的显示模式切换为所述正常模式。
可选地,所述切换模块403,还用于当所述检测模块402检测到的显示模式为单手模式时,将所述终端的显示模式切换为所述正常模式。
所述识别模块404,用于当所述触摸操作为所述预设操作集合中的指纹识别操作时,对执行所述触摸操作的手指进行指纹识别处理,其中,所述指纹识别操作为单次触摸操作,且所述单次触摸操作的时长不低于所述第一预设时长。
在本发明实施例中,当终端当前的显示模式为正常模式时,终端通过在该 终端的指纹识别区域接收预设的触摸操作,就可以将该终端的显示模式切换为单手模式;当终端当前的显示模式为单手模式时,终端通过在该终端的指纹识别区域再次接收该预设的触摸操作,或者通过检测该预设的触摸操作结束,就可以将该终端的显示模式切换回正常模式,简化了终端的模式切换过程,从而提高了终端进行模式切换的效率。
参见图5,是本发明实施例提供的又一种终端的示意性框图。如图5所示的本实施例中的终端可以包括:一个或多个处理器501、一个或多个输入设备502、一个或多个输出设备503和存储器504。上述处理器501、输入设备502、输出设备503和存储器504通过总线505连接。存储器504用于存储计算机程序,所述计算机程序包括程序指令。
具体地,处理器501被配置用于调用所述程序指令执行:
当在所述终端的指纹识别区域接收到触摸操作时,将所述触摸操作与预设操作集合中的各个操作进行对比;
如果所述触摸操作为所述预设操作集合中的模式切换操作,则检测所述终端当前的显示模式;
如果检测到的显示模式为正常模式,则将所述终端的显示模式切换为单手模式。
可选地,当所述终端处于所述正常模式时,显示内容以默认尺寸进行全屏显示;处理器501被配置用于调用所述程序指令执行所述将所述终端的显示模式切换为单手模式时具体执行:
确定所述终端在单手模式下的目标显示区域;
根据所述目标显示区域相对于全屏显示时的显示区域的缩小比例,对所述显示内容进行缩小处理,并将缩小后的显示内容显示到所述目标显示区域中。
可选地,处理器501被配置用于调用所述程序指令执行所述确定所述终端在单手模式下的目标显示区域时具体执行:
检测所述终端当前的握持状态;
如果检测到的握持状态为右手握持,则将位于终端屏幕右下角的第一预设区域作为所述终端在单手模式下的目标显示区域;
如果检测到的握持状态为左手握持,则将位于终端屏幕左下角的第二预设区域作为所述终端在单手模式下的目标显示区域。
可选地,所述模式切换操作为连续两次触摸操作,且所述连续两次触摸操作中的第一次触摸操作的时长不超过第一预设时长,所述连续两次触摸操作的间隔时长不超过第二预设时长;处理器501被配置用于调用所述程序指令执行所述将所述终端的显示模式切换为单手模式之后还执行:
当检测到所述连续两次触摸操作中的第二次触摸操作结束时,将所述终端的显示模式切换为所述正常模式。
可选地,处理器501被配置用于调用所述程序指令执行所述将所述终端的显示模式切换为单手模式之后还执行:
当在终端屏幕的非显示区域接收到触控操作时,将所述终端的显示模式切换为所述正常模式。
可选地,处理器501被配置用于调用所述程序指令执行所述将所述终端的显示模式切换为单手模式之后还执行:
如果检测到的显示模式为单手模式,则将所述终端的显示模式切换为所述正常模式。
可选地,处理器501被配置用于调用所述程序指令还执行:
如果所述触摸操作为所述预设操作集合中的指纹识别操作,则对执行所述触摸操作的手指进行指纹识别处理,其中,所述指纹识别操作为单次触摸操作,且所述单次触摸操作的时长不低于所述第一预设时长。
应当理解,在本发明实施例中,所称处理器501可以是中央处理单元(Central Processing Unit,CPU),该处理器还可以是其他通用处理器、数字信号处理器(Digital Signal Processor,DSP)、专用集成电路(Application Specific Integrated Circuit,ASIC)、现场可编程门阵列(Field-Programmable Gate Array,FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件等。通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等。
输入设备502可以包括触控板、指纹采集传感器(用于采集用户的指纹信息和指纹的方向信息)、麦克风等,输出设备503可以包括显示器(液晶显示屏(Liquid Crystal Display,LCD)等)、扬声器等。
该存储器504可以包括只读存储器(Read-Only Memory,ROM)和随机存取存储器(Random Access Memory,RAM),并向处理器501提供计算机程序和数据。存储器504的一部分还可以包括非易失性随机存取存储器。例如,存储器504还可以存储设备类型的信息。
具体实现中,本发明实施例中所描述的处理器501、输入设备502、输出设备503可执行本申请图1或图2所示的模式切换方法的实现方式,在此不再赘述。
在本发明实施例中,处理器501调用存储在存储器504中的程序指令,当终端当前的显示模式为正常模式时,通过在该终端的指纹识别区域接收预设的触摸操作,就可以将该终端的显示模式切换为单手模式,简化了终端的模式切换过程,从而提高了终端进行模式切换的效率。
在本发明的实施例中还提供一种计算机可读存储介质,所述计算机可读存储介质存储有计算机程序,所述计算机程序中包括程序指令,所述处理器被配置用于调用所述程序指令,执行本申请图1或图2所示的模式切换方法。
所述计算机可读存储介质可以是前述任一实施例所述的终端的内部存储单元,例如终端的硬盘或内存。所述计算机可读存储介质也可以是所述终端的外部存储设备,例如所述终端上配备的插接式硬盘,智能存储卡(Smart Media Card,SMC),安全数字(Secure Digital,SD)卡,闪存卡(Flash Card)等。进一步地,所述计算机可读存储介质还可以既包括所述终端的内部存储单元也包括外部存储设备。所述计算机可读存储介质用于存储所述计算机程序以及所述终端所需的其他程序和数据。所述计算机可读存储介质还可以用于暂时地存储已经输出或者将要输出的数据。
以上所述,仅为本发明的具体实施方式,但本发明的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本发明揭露的技术范围内,可轻易想到各种等效的修改或替换,这些修改或替换都应涵盖在本发明的保护范围之内。因此,本发明的保护范围应以权利要求的保护范围为准。

Claims (10)

  1. 一种模式切换方法,其特征在于,包括:
    当在所述终端的指纹识别区域接收到触摸操作时,将所述触摸操作与预设操作集合中的各个操作进行对比;
    如果所述触摸操作为所述预设操作集合中的模式切换操作,则检测所述终端当前的显示模式;
    如果检测到的显示模式为正常模式,则将所述终端的显示模式切换为单手模式。
  2. 根据权利要求1所述的方法,其特征在于,当所述终端处于所述正常模式时,显示内容以默认尺寸进行全屏显示;所述将所述终端的显示模式切换为单手模式,包括:
    确定所述终端在单手模式下的目标显示区域;
    根据所述目标显示区域相对于全屏显示时的显示区域的缩小比例,对所述显示内容进行缩小处理,并将缩小后的显示内容显示到所述目标显示区域中。
  3. 根据权利要求2任一项所述的方法,其特征在于,确定所述终端在单手模式下的目标显示区域,包括:
    检测所述终端当前的握持状态;
    如果检测到的握持状态为右手握持,则将位于终端屏幕右下角的第一预设区域作为所述终端在单手模式下的目标显示区域;
    如果检测到的握持状态为左手握持,则将位于终端屏幕左下角的第二预设区域作为所述终端在单手模式下的目标显示区域。
  4. 根据权利要求1-3任一项所述的方法,其特征在于,所述模式切换操作为连续两次触摸操作,且所述连续两次触摸操作中的第一次触摸操作的时长不超过第一预设时长,所述连续两次触摸操作的间隔时长不超过第二预设时长;在所述将所述终端的显示模式切换为单手模式之后,所述方法还包括:
    当检测到所述连续两次触摸操作中的第二次触摸操作结束时,将所述终端 的显示模式切换为所述正常模式。
  5. 根据权利要求1-3任一项所述的方法,其特征在于,在所述将所述终端的显示模式切换为单手模式之后,所述方法还包括:
    当在终端屏幕的非显示区域接收到触控操作时,将所述终端的显示模式切换为所述正常模式。
  6. 根据权利要求1-3任一项所述的方法,其特征在于,在所述检测所述终端当前的显示模式之后,所述方法还包括:
    如果检测到的显示模式为单手模式,则将所述终端的显示模式切换为所述正常模式。
  7. 根据权利要求4所述的方法,其特征在于,还包括:
    如果所述触摸操作为所述预设操作集合中的指纹识别操作,则对执行所述触摸操作的手指进行指纹识别处理,其中,所述指纹识别操作为单次触摸操作,且所述单次触摸操作的时长不低于所述第一预设时长。
  8. 一种终端,其特征在于,包括用于执行如权利要求1-7任一项所述的方法的模块。
  9. 一种终端,其特征在于,包括处理器、输入设备、输出设备和存储器,所述处理器、输入设备、输出设备和存储器相互连接,其中,所述存储器用于存储计算机程序,所述计算机程序包括程序指令,所述处理器被配置用于调用所述程序指令,执行如权利要求1-7任一项所述的方法。
  10. 一种计算机可读存储介质,其特征在于,所述计算机存储介质存储有计算机程序,所述计算机程序包括程序指令,所述程序指令当被处理器执行时使所述处理器执行如权利要求1-7任一项所述的方法。
PCT/CN2017/104259 2017-09-29 2017-09-29 模式切换方法、终端及计算机可读介质 WO2019061255A1 (zh)

Priority Applications (1)

Application Number Priority Date Filing Date Title
PCT/CN2017/104259 WO2019061255A1 (zh) 2017-09-29 2017-09-29 模式切换方法、终端及计算机可读介质

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2017/104259 WO2019061255A1 (zh) 2017-09-29 2017-09-29 模式切换方法、终端及计算机可读介质

Publications (1)

Publication Number Publication Date
WO2019061255A1 true WO2019061255A1 (zh) 2019-04-04

Family

ID=65902235

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/104259 WO2019061255A1 (zh) 2017-09-29 2017-09-29 模式切换方法、终端及计算机可读介质

Country Status (1)

Country Link
WO (1) WO2019061255A1 (zh)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105094533A (zh) * 2015-06-30 2015-11-25 努比亚技术有限公司 基于多功能按键进入单手模式的方法及移动终端
CN105159446A (zh) * 2015-08-20 2015-12-16 广东欧珀移动通信有限公司 一种终端的单手操作方法和装置
WO2016191968A1 (zh) * 2015-05-29 2016-12-08 华为技术有限公司 一种左右手模式的确定方法、装置及终端设备

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2016191968A1 (zh) * 2015-05-29 2016-12-08 华为技术有限公司 一种左右手模式的确定方法、装置及终端设备
CN105094533A (zh) * 2015-06-30 2015-11-25 努比亚技术有限公司 基于多功能按键进入单手模式的方法及移动终端
CN105159446A (zh) * 2015-08-20 2015-12-16 广东欧珀移动通信有限公司 一种终端的单手操作方法和装置

Similar Documents

Publication Publication Date Title
US10423322B2 (en) Method for viewing message and terminal
WO2018157662A1 (zh) 一种移动终端的显示控制方法及移动终端
TWI626591B (zh) 應用程式切換系統及方法
WO2018196699A1 (zh) 一种指纹识别区域的显示方法和移动终端
CN107247538B (zh) 触摸操作处理方法及终端设备
WO2014075470A1 (zh) 一种终端及终端屏幕显示信息控制方法
US9541993B2 (en) Mobile device operation using grip intensity
US9007314B2 (en) Method for touch processing and mobile terminal
TWI498805B (zh) 具有側邊觸控組合快捷功能之電子裝置
US20120131490A1 (en) Touch-controlled device and method for displaying a virtual keyboard on the touch-controlled device thereof
WO2018233399A1 (zh) 显示方法、移动终端及计算机可读存储介质
TWI616803B (zh) 螢幕畫面的縮放及操作方法、裝置與電腦程式產品
WO2017161803A1 (zh) 一种设置的调节方法和终端
JP2014203183A (ja) 情報処理装置及びプログラム
US20130162558A1 (en) Electronic device and method for selectively switching operation interfaces between left-handed mode and right-handed mode
WO2013178156A1 (zh) 触摸屏字符显示方法及装置
US10671269B2 (en) Electronic device with large-size display screen, system and method for controlling display screen
US20150277684A1 (en) Information processing method and electronic device
CN103455242B (zh) 屏幕画面裁切方法及装置
WO2021083334A1 (zh) 电子设备及其控制方法
WO2019062431A1 (zh) 拍摄方法及移动终端
WO2018001261A1 (zh) 按键功能设置方法及移动终端
TW201333768A (zh) 觸控顯示裝置及觸控方法
WO2023025060A1 (zh) 界面显示的适配处理方法、装置和电子设备
US20120274600A1 (en) Portable Electronic Device and Method for Controlling the Same

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: 17926732

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: 17926732

Country of ref document: EP

Kind code of ref document: A1