WO2021093236A1 - One-handed mode switching method, terminal, and computer storage medium - Google Patents

One-handed mode switching method, terminal, and computer storage medium Download PDF

Info

Publication number
WO2021093236A1
WO2021093236A1 PCT/CN2020/079225 CN2020079225W WO2021093236A1 WO 2021093236 A1 WO2021093236 A1 WO 2021093236A1 CN 2020079225 W CN2020079225 W CN 2020079225W WO 2021093236 A1 WO2021093236 A1 WO 2021093236A1
Authority
WO
WIPO (PCT)
Prior art keywords
terminal
handed mode
duration
angle
position information
Prior art date
Application number
PCT/CN2020/079225
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 WO2021093236A1 publication Critical patent/WO2021093236A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72454User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to context-related or environment-related conditions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/02Constructional features of telephone sets
    • H04M1/0202Portable telephone sets, e.g. cordless phones, mobile phones or bar type handsets
    • H04M1/0279Improving the user comfort or ergonomics
    • H04M1/0281Improving the user comfort or ergonomics for providing single handed use or left/right hand conversion
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72451User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to schedules, e.g. using calendar applications
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M2250/00Details of telephonic subscriber devices
    • H04M2250/12Details of telephonic subscriber devices including a sensor for measuring a physical value, e.g. temperature or motion

Definitions

  • This application relates to the field of control, in particular to a single-handed mode switching method, terminal and computer storage medium.
  • the single-handed mode is set in the mobile phone, and the single-handed mode is turned on when the mobile phone is used, so as to effectively solve the above-mentioned problems.
  • one-handed mode switching has been realized by sliding the user's finger on the touch screen according to a specific track or providing a virtual button for the user to click, but how to quickly switch the one-handed mode is still under constant research.
  • the user can quickly control the terminal to enter the one-handed mode, the operation is convenient, and the user experience is improved.
  • an embodiment of the present application provides a one-handed mode switching method, which is applied to a terminal, including: S11, acquiring position information of the terminal and/or the duration of the terminal in the position; S12, according to The position information and/or the duration control the terminal to switch to the corresponding single-handed mode.
  • step S11 it includes: when determining whether preset operation information is detected, and if so, controlling the terminal to enter a single-handed mode switching state.
  • the method before the step of controlling the terminal to enter the single-handed mode switching state, the method further includes: judging whether the duration of the fingerprint information reaches a preset duration; if so, controlling the terminal to enter the single-handed mode Switch status.
  • the step includes: exiting the single-handed mode switching state when the duration interruption is detected.
  • the step S11 includes: the position information of the terminal is obtained from the posture information of the terminal according to a preset rule; and/or, when the position information meets a preset condition, The terminal switches to the corresponding one-handed mode.
  • the position information includes: the position information of the terminal relative to the horizontal plane, including the horizontal plane angle and/or the horizontal plane angle direction; and/or, the position information of the terminal relative to the vertical plane , Including the vertical plane angle and/or the vertical plane angle direction; and/or, the preset condition includes at least one of the following conditions: the horizontal plane angle satisfies the horizontal angle preset condition; the horizontal plane The included angle direction satisfies the preset condition of the horizontal direction; the included angle of the vertical plane satisfies the preset condition of the vertical angle; and the included angle direction of the vertical plane satisfies the preset condition of the vertical direction.
  • the method further includes: entering the single-handed mode after receiving the single-handed mode activation instruction.
  • the method further includes: when the duration reaches a preset duration, controlling the terminal to switch to the corresponding single-handed mode.
  • This application also provides a single-handed mode switching method, which is applied to a terminal, including: S21, detecting whether the terminal is in a single-handed mode switching state; S22, if so, acquiring the terminal location information and/or the terminal's location The duration of the orientation; S23. According to the orientation information and/or the duration, control the terminal to switch to a corresponding single-handed mode.
  • the position information includes: the position information of the terminal relative to the horizontal plane, including the horizontal plane angle and/or the horizontal plane angle direction; and/or, the position information of the terminal relative to the vertical plane , Including the vertical angle and/or the vertical angle direction.
  • the terminal includes: when the orientation information satisfies: the included angle of the horizontal plane satisfies a preset condition of a horizontal angle, the included angle direction of the horizontal plane satisfies a preset condition of a horizontal direction, and the included angle of the vertical plane satisfies a vertical
  • the terminal is controlled to switch to the corresponding single-handed mode.
  • the step S23 further includes: when the duration reaches a preset duration, controlling the terminal to switch to the corresponding single-handed mode.
  • an embodiment of the present application provides a terminal.
  • the terminal includes a processor and a storage device for storing a program; when the program is executed by the processor, the processor implements the single-handed mode switching method as in the first aspect.
  • an embodiment of the present application provides a computer storage medium that stores a computer program, and when the computer program is executed by a processor, the one-handed mode switching method as in the first aspect is implemented.
  • the one-handed mode switching method, terminal, and computer storage medium provided by the embodiments of the present application are applied to the terminal for one-handed mode switching, including: acquiring the position information of the terminal; controlling the terminal to switch to the corresponding one-handed mode according to the position information and/or duration . In this way, it is realized that the user can more quickly control the terminal to enter the one-handed mode, the operation is convenient, and the user experience is improved.
  • FIG. 1 is a schematic flowchart of a single-handed mode switching method provided by the first embodiment of this application;
  • FIG. 2 is a schematic flowchart of a single-handed mode switching method provided by the second embodiment of this application;
  • FIG. 3 is a schematic flowchart of a single-handed mode switching method provided by the third embodiment of this application.
  • FIG. 4 is a schematic flowchart of a single-handed mode switching method provided by the fourth embodiment of this application.
  • FIG. 5 is a schematic diagram of an application scenario of the one-handed mode switching method shown in FIG. 4;
  • FIG. 6 is a schematic flowchart of a single-handed mode switching method provided by the fifth embodiment of this application.
  • FIG. 7 is a schematic diagram of an application scenario of the one-handed mode switching method shown in FIG. 6;
  • FIG. 8 is a schematic diagram of another application scenario of the one-handed mode switching method shown in FIG. 6;
  • FIG. 9 is a schematic diagram of another application scenario of the one-handed mode switching method shown in FIG. 6;
  • FIG. 10 is a schematic flowchart of a single-handed mode switching method provided by the sixth embodiment of this application.
  • FIG. 11 is a schematic diagram of an application scenario of the one-handed mode switching method shown in FIG. 10;
  • FIG. 12 is a schematic structural diagram of a terminal provided by an embodiment of this application.
  • a single-handed mode switching method provided in an embodiment of this application is applied to a terminal, and the single-handed mode switching method includes the following steps:
  • Step S11 Obtain the position information of the terminal and/or the duration of the terminal's position
  • Step S12 Control the terminal to switch to the corresponding single-handed mode according to the position information and/or duration.
  • the terminal can be a mobile terminal device such as a smart phone, a personal digital assistant, a tablet computer, or a fixed wearable terminal device such as a smart watch.
  • a single-handed mode is provided in the terminal. In the single-handed mode, the terminal can adjust the display area according to the user's operation, so that the user can conveniently control the display area of the terminal with one hand.
  • step S11 includes: obtaining the orientation information of the terminal from the posture information of the terminal according to a preset rule; and/or, when the orientation information meets a preset condition, the terminal switches to the corresponding one-handed mode .
  • the position information may include, but is not limited to, different positions of itself, such as the relative position of the side, bottom, etc., the relative position of itself at different times, the position information of a relatively fixed reference object such as a vertical plane and/or a horizontal plane, and relative positions. At least one of the orientations of the variable reference object, such as the palm of the user.
  • the orientation information of the horizontal plane may include, but is not limited to, the included angle of the horizontal plane and/or the direction of the included angle of the horizontal plane.
  • the orientation information of the vertical plane includes the angle of the vertical plane and/or the direction of the angle of the vertical plane.
  • the preset condition includes at least one of the following conditions: the angle of the horizontal plane meets the preset condition of the horizontal angle; the angle direction of the horizontal plane meets the preset condition of the horizontal direction; the angle of the vertical plane meets the preset condition of the vertical angle Condition: The angle of the vertical plane meets the preset condition of the vertical direction.
  • the single-handed mode may include, but is not limited to, a left single-handed mode and a right single-handed mode.
  • a single-handed mode switching method provided in an embodiment of this application is applied to a terminal, and the single-handed mode switching method includes the following steps:
  • Step S101 When receiving the switching state trigger instruction, the control terminal enters the one-handed mode switching state
  • Step S102 Obtain its own position information
  • Step S103 Enter the corresponding one-handed mode according to the position information.
  • step S101 includes: determining whether preset operation information is detected; if so, controlling the terminal to enter a single-handed mode switching state. In other embodiments, step S101 further includes determining whether the duration of the operation information reaches a preset duration; if so, controlling the terminal to enter a single-handed mode switching state. In this embodiment, before step S101, it includes: entering the single-handed mode after receiving the single-handed mode activation instruction. In other words, before entering the one-handed mode switching mode, you must first enter the one-handed mode.
  • the preset duration can be set by default by the system, or can be set by the user.
  • the preset operation information may be, but is not limited to, preset fingerprint information.
  • the user may also input the switching state trigger instruction through other methods such as voice, touch, etc., or a combination of multiple triggering methods.
  • the preset fingerprint information may include, but is not limited to, fingerprint information corresponding to one or more fingers.
  • the preset fingerprint information may also be features with specific characteristics such as contact area, contact position, texture, and pressed Fingerprint information of strength, pressing position, etc.
  • it may also be determined that the switching state trigger instruction is received when the preset fingerprint information is detected multiple times within the preset time period.
  • the contact area refers to the contact area of the user's finger with the fingerprint module when performing a touch operation on the fingerprint module.
  • the pressing force refers to the pressing force of the user's finger on the fingerprint module when performing a touch operation on the fingerprint module.
  • the texture feature may be a texture feature of a fingerprint of a finger of a certain user, such as an owner. specifically.
  • the fingerprint module can be set on the back of the terminal or on the touch screen. When the user's finger performs touch operations such as touching, covering, or clicking on the fingerprint module, the terminal obtains the corresponding touch information, and then detects whether the touch information contains fingerprint information.
  • the fingerprint module of the terminal may be considered to have an image collection function, so as to collect a corresponding image when the user's finger performs a touch operation on the fingerprint module, and the fingerprint information is obtained by analyzing the image.
  • the single-handed mode activation instruction may be one or more touch operations.
  • the single-handed mode activation instruction includes a first touch operation and a second touch operation.
  • the terminal determines whether the first report point information corresponding to the first touch operation and the second report point information corresponding to the second touch operation are detected within a set time interval, and when the second report point information is detected within the set time interval
  • the single-handed mode is turned on, otherwise the single-handed mode is not turned on.
  • the terminal detects the first report point information and the second touch operation corresponding to the first touch operation.
  • the corresponding second reporting point information may have a sequence. Whether the first report point information corresponding to the first touch operation and the second report point information corresponding to the second touch operation are detected within the set time interval may be detected when the first report point information corresponding to the first touch operation is detected After clicking the information, determine whether the second report point information corresponding to the second touch operation is detected within the set time interval. If yes, it means that the first report point corresponding to the first touch operation is detected within the set time interval.
  • the information and the second report point information corresponding to the second touch operation can be set and adjusted according to the actual situation, for example, the time interval can be set to 2 seconds, 4 seconds, etc.
  • the report point information refers to the information corresponding to the report point where the touch operation occurs on the touch screen, and the touch screen can execute the touch command corresponding to the touch operation according to the report point information.
  • the report point refers to the touch point on the touch screen where a touch operation occurs
  • the report point information may include the position of the report point, the number of the report point, etc.
  • the report point position refers to the coordinate position where the touch operation occurs on the touch screen.
  • the terminal can obtain the report point information of the touch operation.
  • the terminal can obtain the report point information of the touch operation.
  • the method further includes: exiting the one-handed mode switching state when the switching state exit instruction is received. That is to say, when receiving the switch state exit instruction, the steps of acquiring its own position information and/or entering the corresponding one-handed mode state according to the position information are not performed.
  • the detection of the preset fingerprint information is stopped, that is, when the above duration is interrupted, it is determined that the switching state stop instruction is received.
  • the switching state stop instruction is received when the user puts a finger on the fingerprint module and then leaves.
  • it is determined to receive Stop command to switch state it may be determined that the switching state stop instruction is received when preset touch information, voice information, etc. are received.
  • the terminal enters the corresponding one-handed mode according to the orientation information, so that the user can control the terminal to enter the corresponding one-handed mode more quickly, the operation is convenient, and the user experience is improved.
  • the one-handed mode switching mode is entered only when the switching state triggering instruction is received, which avoids the trouble caused by frequently switching to the corresponding one-handed mode, and further improves the user experience.
  • the one-handed mode switching state can be entered only after the one-handed mode is triggered, which further avoids the problem of misoperation and further improves the user experience.
  • a single-handed mode switching method provided by an embodiment of this application is applied to a terminal.
  • the single-handed mode switching method of this embodiment includes:
  • Step S21 Detect whether the terminal is in a single-handed mode switching state
  • Step S22 If yes, obtain terminal location information and/or the duration of the terminal's location;
  • Step S23 Control the terminal to switch to the corresponding single-handed mode according to the position information and/or duration.
  • the terminal may be automatically controlled to enter the single-handed mode switching state when the device is turned on, but may also be controlled to enter the single-handed mode switching state when a switching state trigger instruction is received.
  • step S23 includes: when the orientation information satisfies: the included angle of the horizontal plane satisfies the preset condition of horizontal angle, the included angle direction of the horizontal plane satisfies the preset condition of horizontal direction, the included angle of vertical plane satisfies the preset condition of vertical angle, When the straight-face angle direction meets at least one of the preset conditions in the vertical direction, the control terminal switches to the corresponding single-handed mode.
  • step S23 includes: when the time reaches a preset time length, the control terminal switches to the corresponding single-handed mode.
  • step S23 can also include, but is not limited to, when the azimuth information meets: the horizontal plane angle meets the horizontal angle preset condition, the horizontal plane angle direction meets the horizontal direction preset condition, and the vertical plane angle meets the vertical angle preset condition.
  • the control terminal switches to the corresponding single-handed mode.
  • FIG. 5 is a schematic diagram of an application scenario of the single-handed mode switching method shown in FIG. 4. Please refer to Figure 4 and Figure 5, the single-handed mode switching method includes the following steps:
  • Step S201 Obtain the acceleration change value relative to the horizontal plane through the gravity sensor
  • Step S202 According to the acceleration change value, obtain the angle of the horizontal plane flipped relative to the horizontal plane in a unit time;
  • Step S203 when the included angle of the flipped horizontal plane is greater than the first preset angle and less than the second preset angle, enter the left single-handed mode;
  • Step S204 when the angle of the flipped horizontal plane is greater than the third preset angle and less than the fourth preset angle, enter the right single-handed mode.
  • step S201 is entered: the acceleration change value relative to the horizontal plane is obtained by the gravity sensor.
  • a gravity sensor or the like may also be used to obtain the orientation information of the terminal in real time.
  • the horizontal plane is a plane parallel to the display screen of the terminal when the terminal is placed on a horizontal desktop, and the midpoint of the short side of the terminal is the zero point.
  • the horizontal plane is the surface parallel to the display screen of the terminal when the terminal is resting on a horizontal desktop.
  • the midpoint of the long side of the terminal can be set as the horizontal plane. The zero point.
  • the acceleration change value relative to the vertical plane can also be obtained through the gravity sensor, and according to the acceleration change value, the angle between the vertical plane flipped relative to the vertical plane in a unit time is obtained, and the vertical plane flipped in the flipped vertical plane can be obtained according to the acceleration change value.
  • the corresponding single-handed mode is entered when the angle of the surface meets the preset condition of vertical angle and/or the angle of the flipped horizontal plane meets the preset condition of horizontal plane angle.
  • the vertical plane is perpendicular to the horizontal plane, and the zero-point line of the horizontal plane may but is not limited to be located on the vertical plane, that is to say, when the display screen of the terminal is a vertical screen, the vertical plane is placed horizontally with the terminal.
  • the vertical plane is the plane perpendicular to the display screen of the terminal when the terminal is resting on a horizontal desktop
  • the midpoint of the long side of the terminal can be set as the zero point of the vertical plane.
  • the first preset angle is smaller than the second preset angle, and both the first preset angle and the second preset angle are greater than zero.
  • the third preset angle is less than the fourth preset angle, and both the third preset angle and the fourth preset angle are less than zero.
  • FIG. 5 is a schematic diagram of a scene when the terminal's display screen is a vertical screen, and the horizontal plane angle of the terminal relative to the horizontal plane o meets the preset condition of the horizontal angle.
  • the absolute values of the first preset angle and the fourth preset angle may be, but are not limited to, equal, for example, 15°, and the absolute values of the second preset angle and the third preset angle may also be, but are not limited to, equal, for example, equal. It is 45°, but the application is not limited to this.
  • the first preset angle, the second preset angle, the third preset angle, or the fourth preset angle may also be other preset values. As shown in FIG.
  • the single-handed mode switching method obtaineds the horizontal and/or vertical angles that are flipped in a unit time according to the acceleration change value, and switches according to the horizontal and/or vertical angles It is a left single-handed mode or a right single-handed mode, which can accurately adjust the state of the single-handed mode according to the tilt direction of the terminal, with simple operation and good user experience.
  • a single-handed mode switching method provided in this embodiment of the application is applied to a terminal, and the method includes:
  • Step S211 Obtain the direction of the vertical angle of the terminal and/or the duration of the terminal in the azimuth;
  • step S212 the vertical direction preset condition is satisfied in the vertical angle direction and/or the time length reaches the preset time length, and the control terminal is switched to the corresponding single-handed mode.
  • Figure 7 shows the situation when the terminal’s display screen is horizontal and the angle between the vertical plane of the terminal meets the preset conditions for the vertical direction.
  • Schematic diagram of the scene As shown in FIG. 7, when the vertical angle of the terminal is clockwise and/or the clockwise duration of the terminal reaches the preset time, it switches to the left one-handed mode. The direction of the angle between the faces is counterclockwise, or the terminal switches to the right single-handed mode when the duration of the counterclockwise direction reaches the preset time.
  • this application is not limited to this, and it can also switch to the left one-handed mode when the vertical angle of the terminal is in the counterclockwise direction and/or the duration of the terminal in the counterclockwise direction reaches the preset time.
  • the angle of the vertical plane is clockwise, or the terminal switches to the right one-handed mode when the clockwise duration reaches the preset duration.
  • FIG. 8 is a schematic diagram of another application scenario of the one-handed mode switching method shown in FIG. 6; as shown in FIG. 8, when the display screen of the terminal is perpendicular to the horizontal plane, and the vertical plane is perpendicular to both the display screen and the horizontal plane of the terminal When the angle of the vertical plane of the terminal is clockwise and/or the clockwise duration of the terminal reaches the preset time, it switches to the right one-handed mode, and the angle of the vertical plane of the terminal is When the counterclockwise direction/or the terminal continues in the counterclockwise direction for a preset period of time, it switches to the left one-handed mode.
  • this application is not limited to this.
  • the angle of the vertical plane is clockwise, or the terminal switches to the left one-handed mode when the clockwise duration reaches the preset duration.
  • FIG. 9 is a schematic diagram of another application scenario of the one-handed mode switching method shown in FIG. 6; as shown in FIG. 9, when the display screen of the terminal is perpendicular to the horizontal plane, and the vertical plane is the surface that coincides with the display screen of the terminal , Switch to the right single-handed mode when the vertical angle of the terminal is clockwise and/or the clockwise duration of the terminal reaches the preset time, and the vertical angle of the terminal is counterclockwise / Or the terminal switches to the left one-handed mode when the duration of the counterclockwise direction reaches the preset duration.
  • this application is not limited to this.
  • the angle of the vertical plane is clockwise, or the terminal switches to the left one-handed mode when the clockwise duration reaches the preset duration.
  • a single-handed mode switching method provided in this embodiment of the application is applied to a terminal, and the method includes:
  • Step S221 Obtain the vertical angle of the terminal, the horizontal angle of the terminal, and the duration of the terminal in the azimuth;
  • Step S222 When the included angle of the vertical plane meets the preset condition of the vertical included angle, the included angle of the horizontal plane meets the preset condition of the horizontal plane, and the duration reaches the preset duration, the control terminal switches to the corresponding one-handed mode.
  • the vertical plane angle direction of the terminal meets the preset condition of the vertical direction
  • the horizontal plane angle direction meets the preset condition of the horizontal plane angle direction
  • the duration reaches the preset duration.
  • the included angle of the vertical plane satisfies the preset condition
  • the included angle of the vertical plane satisfies the preset vertical angle
  • the included angle of the horizontal plane satisfies the preset condition, or the included angle of the horizontal plane. Meet the horizontal preset angle.
  • an embodiment of the present application provides a terminal, as shown in FIG. 12, the terminal includes: a processor 110 and a memory 111 for storing a computer program that can run on the processor 110;
  • the processor 110 illustrated in FIG. 12 is not used to refer to the number of processors 110, but only to refer to the positional relationship of the processor 110 with respect to other devices.
  • the processor 110 The number can be one or more; similarly, the memory 111 illustrated in FIG. 12 has the same meaning, that is, it is only used to refer to the positional relationship of the memory 111 with respect to other devices.
  • the number of the memory 111 can be one or more.
  • the processor 110 is used to implement the single-handed mode switching method applied to the aforementioned terminal when running a computer program.
  • the terminal may further include: at least one network interface 112.
  • the various components in the terminal are coupled together through the bus system 113.
  • the bus system 113 is used to implement connection and communication between these components.
  • the bus system 113 also includes a power bus, a control bus, and a status signal bus.
  • various buses are marked as the bus system 113 in FIG. 12.
  • the memory 111 may be a volatile memory or a non-volatile memory, and may also include both volatile and non-volatile memory.
  • the non-volatile memory can be read-only memory (ROM, Read Only Memory), programmable read-only memory (PROM, Programmable Read-Only Memory), and erasable programmable read-only memory (EPROM, Erasable Programmable Read- Only Memory, Electrically Erasable Programmable Read-Only Memory (EEPROM, Electrically Erasable Programmable Read-Only Memory), magnetic random access memory (FRAM, ferromagnetic random access memory), flash memory (Flash Memory), magnetic surface memory , CD-ROM, or CD-ROM (Compact Disc Read-Only Memory); magnetic surface memory can be magnetic disk storage or tape storage.
  • the volatile memory may be a random access memory (RAM, Random Access Memory), which is used as an external cache.
  • RAM random access memory
  • SRAM static random access memory
  • SSRAM synchronous static random access memory
  • Synchronous Static Random Access Memory Synchronous Static Random Access Memory
  • DRAM Dynamic Random Access Memory
  • SDRAM Synchronous Dynamic Random Access Memory
  • DDRSDRAM Double Data Rate Synchronous Dynamic Random Access Memory
  • ESDRAM Enhanced Synchronous Dynamic Random Access Memory
  • SLDRAM synchronous connection dynamic random access memory
  • DDRRAM Direct Rambus Random Access Memory
  • the memory 111 described in the embodiment of the present application is intended to include, but is not limited to, these and any other suitable types of memory.
  • the memory 111 in the embodiment of the present application is used to store various types of data to support the operation of the terminal.
  • Examples of these data include: any computer programs used to operate on the terminal, such as operating systems and applications; contact data; phone book data; messages; pictures; videos, etc.
  • the operating system contains various system programs, such as a framework layer, a core library layer, and a driver layer, which are used to implement various basic services and process hardware-based tasks.
  • the application program may include various application programs, such as a media player (Media Player), a browser (Browser), etc., which are used to implement various application services.
  • the program that implements the method of the embodiment of the present application may be included in the application program.
  • this embodiment also provides a computer storage medium, in which a computer program is stored.
  • the computer storage medium may be a magnetic random access memory (FRAM, ferromagnetic random access memory), Read Memory (ROM, Read Only Memory), Programmable Read-Only Memory (PROM, Programmable Read-Only Memory), Erasable Programmable Read-Only Memory (EPROM, Erasable Programmable Read-Only Memory), Electrically Erasable Programmable Read-only memory (EEPROM, Electrically Erasable Programmable Read-Only Memory), flash memory (Flash Memory), magnetic surface memory, optical disk, or CD-ROM (Compact Disc Read-Only Memory) and other memory; also available It is a variety of devices including one or any combination of the above-mentioned memories, such as mobile phones, computers, tablet devices, personal digital assistants, etc.
  • FRAM magnetic random access memory
  • ROM Read Only Memory
  • PROM Programmable Read-Only Memory
  • EPROM Erasable Programmable Read-Only Memory
  • EEPROM Electrically
  • the one-handed mode switching method, terminal and computer storage medium provided in this application the terminal enters the corresponding one-handed mode according to the orientation information, realizes that the user can more quickly control the terminal to enter the one-handed mode, the operation is convenient, and the user experience is improved.

Abstract

A one-handed mode switching method, which is applied in a terminal and comprises: acquiring orientation information of a terminal and/or the duration for which the terminal is in an orientation (S11); and according to the orientation information and/or the duration, controlling the terminal to switch to a corresponding one-handed mode (S12). In the present one-handed mode switching method, terminal, and computer storage medium, a terminal can enter a corresponding one-handed mode according to orientation information and/or a duration.

Description

一种单手模式切换方法、终端及计算机存储介质One-handed mode switching method, terminal and computer storage medium
相关申请:Related application:
本申请要求2019年11月15日申请的,申请号为CN201911122496.9,名称为“一种单手模式切换方法、终端及计算机存储介质”的中国专利申请的优先权,在此将其全文引入作为参考。This application claims the priority of the Chinese patent application filed on November 15, 2019, with the application number CN201911122496.9, titled "a one-handed mode switching method, terminal and computer storage medium", which is hereby introduced in its entirety Reference.
技术领域Technical field
本申请涉及控制领域,特别是涉及一种单手模式切换方法、终端及计算机存储介质。This application relates to the field of control, in particular to a single-handed mode switching method, terminal and computer storage medium.
背景技术Background technique
随着移动通信技术的飞速发展和终端的普及,手机已成为人们生活中不可或缺的一部分。同时,为了满足人们多样化的需求,手机的尺寸也不断增大。随着手机的尺寸的不断增大,用户在单手操作手机时常会出现因手指无法覆盖到整个显示区域,而无法对手机进行便捷操作的问题。With the rapid development of mobile communication technology and the popularization of terminals, mobile phones have become an indispensable part of people's lives. At the same time, in order to meet the diverse needs of people, the size of mobile phones is also increasing. With the continuous increase in the size of mobile phones, users often encounter the problem of being unable to perform convenient operations on the mobile phone because their fingers cannot cover the entire display area when operating the mobile phone with one hand.
在相关技术中,通过在手机中设置单手模式,并在使用手机时开启单手模式,以便有效解决上述问题。虽然在相关技术中已有通过户手指在触屏按特定轨迹滑动或者是提供虚拟按键让用户点击来实现单手模式切换,然而如何快捷的对单手模式进行切换仍然处在不断研究中。In the related art, the single-handed mode is set in the mobile phone, and the single-handed mode is turned on when the mobile phone is used, so as to effectively solve the above-mentioned problems. Although in the related art, one-handed mode switching has been realized by sliding the user's finger on the touch screen according to a specific track or providing a virtual button for the user to click, but how to quickly switch the one-handed mode is still under constant research.
发明概述Summary of the invention
技术问题technical problem
问题的解决方案The solution to the problem
技术解决方案Technical solutions
实现了用户能够快捷的控制终端进入单手模式,操作便捷,提升了用户使用体验。The user can quickly control the terminal to enter the one-handed mode, the operation is convenient, and the user experience is improved.
为达到上述目的,本申请的技术方案是这样实现的:In order to achieve the above purpose, the technical solution of this application is realized as follows:
第一方面,本申请实施例提供了一种单手模式切换方法,应用于终端,包括:S11、获取所述终端的方位信息和/或所述终端在所述方位持续的时长;S12、根 据方位信息和/或所述时长控制所述终端切换到对应的单手模式。In the first aspect, an embodiment of the present application provides a one-handed mode switching method, which is applied to a terminal, including: S11, acquiring position information of the terminal and/or the duration of the terminal in the position; S12, according to The position information and/or the duration control the terminal to switch to the corresponding single-handed mode.
作为其中一种实施方式,在步骤S11之前包括:判断是否检测到预设的操作信息时,若是,控制所述终端进入单手模式切换状态。As one of the implementation manners, before step S11, it includes: when determining whether preset operation information is detected, and if so, controlling the terminal to enter a single-handed mode switching state.
作为其中一种实施方式,在所述控制所述终端进入单手模式切换状态步骤之前,还包括:判断所述指纹信息的持续时间是否达到预设时长;若是,控制所述终端进入单手模式切换状态。As one of the implementation manners, before the step of controlling the terminal to enter the single-handed mode switching state, the method further includes: judging whether the duration of the fingerprint information reaches a preset duration; if so, controlling the terminal to enter the single-handed mode Switch status.
作为其中一种实施方式,在所述控制所述终端进入单手模式切换状态的步骤之后包括:当检测到所述持续时间中断时,退出单手模式切换状态。As one of the implementation manners, after the step of controlling the terminal to enter the single-handed mode switching state, the step includes: exiting the single-handed mode switching state when the duration interruption is detected.
作为其中一种实施方式,所述步骤S11包括:所述终端的方位信息,是根据预设规则从所述终端的姿态信息中获得;和/或,当所述方位信息满足预设条件时,所述终端切换到对应的单手模式。As one of the implementation manners, the step S11 includes: the position information of the terminal is obtained from the posture information of the terminal according to a preset rule; and/or, when the position information meets a preset condition, The terminal switches to the corresponding one-handed mode.
作为其中一种实施方式,所述方位信息包括:所述终端相对于水平面的方位信息,包括水平面夹角和/或水平面夹角方向;和/或,所述终端相对于竖直面的方位信息,包括竖直面夹角和/或竖直面夹角方向;和/或,所述预设条件包括下述条件的至少一种:所述水平面夹角满足水平角度预设条件;所述水平面夹角方向满足水平方向预设条件;所述竖直面夹角满足竖直角度预设条件;所述竖直面夹角方向满足竖直方向预设条件。As one of the implementation manners, the position information includes: the position information of the terminal relative to the horizontal plane, including the horizontal plane angle and/or the horizontal plane angle direction; and/or, the position information of the terminal relative to the vertical plane , Including the vertical plane angle and/or the vertical plane angle direction; and/or, the preset condition includes at least one of the following conditions: the horizontal plane angle satisfies the horizontal angle preset condition; the horizontal plane The included angle direction satisfies the preset condition of the horizontal direction; the included angle of the vertical plane satisfies the preset condition of the vertical angle; and the included angle direction of the vertical plane satisfies the preset condition of the vertical direction.
作为其中一种实施方式,在步骤S11之前,还包括::在接收到单手模式激活指令后,进入单手模式。As one of the implementation manners, before step S11, the method further includes: entering the single-handed mode after receiving the single-handed mode activation instruction.
作为其中一种实施方式,所述S12步骤之后,还包括:当所述时长达到预设时长,控制所述终端切换到对应的单手模式。As one of the implementation manners, after the step S12, the method further includes: when the duration reaches a preset duration, controlling the terminal to switch to the corresponding single-handed mode.
本申请还提供一种单手模式切换方法,应用于终端,包括:S21、检测所述终端是否处于单手模式切换状态;S22、若是,获取所述终端方位信息和/或所述终端在所述方位持续的时长;S23、根据所述方位信息和/或所述时长,控制所述终端切换到对应的单手模式。This application also provides a single-handed mode switching method, which is applied to a terminal, including: S21, detecting whether the terminal is in a single-handed mode switching state; S22, if so, acquiring the terminal location information and/or the terminal's location The duration of the orientation; S23. According to the orientation information and/or the duration, control the terminal to switch to a corresponding single-handed mode.
作为其中一种实施方式,所述方位信息包括:所述终端相对于水平面的方位信息,包括水平面夹角和/或水平面夹角方向;和/或,所述终端相对于竖直面的方位信息,包括竖直面夹角和/或竖直面夹角方向。As one of the implementation manners, the position information includes: the position information of the terminal relative to the horizontal plane, including the horizontal plane angle and/or the horizontal plane angle direction; and/or, the position information of the terminal relative to the vertical plane , Including the vertical angle and/or the vertical angle direction.
作为其中一种实施方式,包括:当所述方位信息满足:所述水平面夹角满足水平角度预设条件、所述水平面夹角方向满足水平方向预设条件、所述竖直面夹角满足竖直角度预设条件、所述竖直面夹角方向满足竖直方向预设条件中的至少一种时,控制所述终端切换到对应的单手模式。As one of the implementation manners, it includes: when the orientation information satisfies: the included angle of the horizontal plane satisfies a preset condition of a horizontal angle, the included angle direction of the horizontal plane satisfies a preset condition of a horizontal direction, and the included angle of the vertical plane satisfies a vertical When at least one of the preset conditions of the right angle and the angle of the vertical plane meets the preset conditions of the vertical direction, the terminal is controlled to switch to the corresponding single-handed mode.
作为其中一种实施方式,所述S23步骤,还包括:当所述时长达到预设时长,控制所述终端切换到对应的单手模式。As one of the implementation manners, the step S23 further includes: when the duration reaches a preset duration, controlling the terminal to switch to the corresponding single-handed mode.
第二方面,本申请实施例提供了一种终端,终端包括处理器以及用于存储程序的存储装置;当程序被处理器执行,使得处理器实现如第一方面的单手模式切换方法。In the second aspect, an embodiment of the present application provides a terminal. The terminal includes a processor and a storage device for storing a program; when the program is executed by the processor, the processor implements the single-handed mode switching method as in the first aspect.
第三方面,本申请实施例提供了一种计算机存储介质,存储有计算机程序,计算机程序被处理器执行时,实现如第一方面的单手模式切换方法。In the third aspect, an embodiment of the present application provides a computer storage medium that stores a computer program, and when the computer program is executed by a processor, the one-handed mode switching method as in the first aspect is implemented.
发明的有益效果The beneficial effects of the invention
有益效果Beneficial effect
本申请实施例提供的单手模式切换方法、终端及计算机存储介质,单手模式切换应用于终端,包括:获取终端的方位信息;根据方位信息和/或时长控制终端切换到对应的单手模式。如此,实现了用户能够更加快捷的控制终端进入单手模式,操作便捷,提升了用户使用体验。The one-handed mode switching method, terminal, and computer storage medium provided by the embodiments of the present application are applied to the terminal for one-handed mode switching, including: acquiring the position information of the terminal; controlling the terminal to switch to the corresponding one-handed mode according to the position information and/or duration . In this way, it is realized that the user can more quickly control the terminal to enter the one-handed mode, the operation is convenient, and the user experience is improved.
对附图的简要说明Brief description of the drawings
附图说明Description of the drawings
图1为本申请第一实施例提供的单手模式切换方法的流程示意图;FIG. 1 is a schematic flowchart of a single-handed mode switching method provided by the first embodiment of this application;
图2为本申请第二实施例提供的单手模式切换方法的流程示意图;2 is a schematic flowchart of a single-handed mode switching method provided by the second embodiment of this application;
图3为本申请第三实施例提供的单手模式切换方法的流程示意图;3 is a schematic flowchart of a single-handed mode switching method provided by the third embodiment of this application;
图4为本申请第四实施例提供的单手模式切换方法的流程示意图;4 is a schematic flowchart of a single-handed mode switching method provided by the fourth embodiment of this application;
图5为如图4所示的单手模式切换方法的应用场景示意图;FIG. 5 is a schematic diagram of an application scenario of the one-handed mode switching method shown in FIG. 4;
图6为本申请第五实施例提供的单手模式切换方法的流程示意图;6 is a schematic flowchart of a single-handed mode switching method provided by the fifth embodiment of this application;
图7为如图6所示的单手模式切换方法的应用场景示意图;FIG. 7 is a schematic diagram of an application scenario of the one-handed mode switching method shown in FIG. 6;
图8为如图6所示的单手模式切换方法的另一应用场景示意图;FIG. 8 is a schematic diagram of another application scenario of the one-handed mode switching method shown in FIG. 6;
图9为如图6所示的单手模式切换方法的又一应用场景示意图;FIG. 9 is a schematic diagram of another application scenario of the one-handed mode switching method shown in FIG. 6;
图10为本申请第六实施例提供的单手模式切换方法的流程示意图;10 is a schematic flowchart of a single-handed mode switching method provided by the sixth embodiment of this application;
图11为如图10所示的单手模式切换方法的应用场景示意图;FIG. 11 is a schematic diagram of an application scenario of the one-handed mode switching method shown in FIG. 10;
图12为本申请一实施例提供的终端的结构示意图。FIG. 12 is a schematic structural diagram of a terminal provided by an embodiment of this application.
本申请的实施方式Implementation of this application
以下结合说明书附图及具体实施例对本申请技术方案做进一步的详细阐述。除非另有定义,本文所使用的所有的技术和科学术语与属于本申请的技术领域的技术人员通常理解的含义相同。本文中在本申请的说明书中所使用的术语只是为了描述具体的实施例的目的,不是旨在于限制本申请。本文所使用的术语“和/或”包括一个或多个相关的所列项目的任意的和所有的组合。The technical solution of the present application will be further described in detail below in conjunction with the drawings and specific embodiments of the specification. Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by those skilled in the technical field of this application. The terminology used in the specification of the application herein is only for the purpose of describing specific embodiments, and is not intended to limit the application. The term "and/or" as used herein includes any and all combinations of one or more related listed items.
第一实施方式The first embodiment
参见图1,为本申请实施例提供的一种单手模式切换方法,应用于终端中,该单手模式切换方法包括以下步骤:Referring to FIG. 1, a single-handed mode switching method provided in an embodiment of this application is applied to a terminal, and the single-handed mode switching method includes the following steps:
步骤S11:获取终端的方位信息和/或终端在方位持续的时长;Step S11: Obtain the position information of the terminal and/or the duration of the terminal's position;
步骤S12:根据方位信息和/或时长控制终端切换到对应的单手模式。Step S12: Control the terminal to switch to the corresponding single-handed mode according to the position information and/or duration.
需要说明的是,终端可以是智能手机、个人数字助理、平板电脑等移动终端设备,也可以是智能手表等固定穿戴终端设备。这里,终端中设置有单手模式,在单手模式下,终端可根据用户的操作对显示区域进行调整,从而实现用户能够便捷对终端的显示区域进行单手控制。It should be noted that the terminal can be a mobile terminal device such as a smart phone, a personal digital assistant, a tablet computer, or a fixed wearable terminal device such as a smart watch. Here, a single-handed mode is provided in the terminal. In the single-handed mode, the terminal can adjust the display area according to the user's operation, so that the user can conveniently control the display area of the terminal with one hand.
具体地,步骤S11包括:根据预设规则从所述终端的姿态信息中获得终端的方位信息;和/或,当所述方位信息满足预设条件时,所述终端切换到对应的单手模式。Specifically, step S11 includes: obtaining the orientation information of the terminal from the posture information of the terminal according to a preset rule; and/or, when the orientation information meets a preset condition, the terminal switches to the corresponding one-handed mode .
在一实施方式中,方位信息可以但不限于包括自身不同位置例如侧面、底部等的相对方位、自身不同时刻的相对方位、相对固定参考对象例如竖直面和/或水平面等的方位信息、相对可变参考对象例如用户的手掌等的方位中的至少一项。具体地,水平面的方位信息可以但不限于包括水平面夹角和/或水平面夹角方向。竖直面的方位信息包括竖直面夹角和/或竖直面夹角方向。In an embodiment, the position information may include, but is not limited to, different positions of itself, such as the relative position of the side, bottom, etc., the relative position of itself at different times, the position information of a relatively fixed reference object such as a vertical plane and/or a horizontal plane, and relative positions. At least one of the orientations of the variable reference object, such as the palm of the user. Specifically, the orientation information of the horizontal plane may include, but is not limited to, the included angle of the horizontal plane and/or the direction of the included angle of the horizontal plane. The orientation information of the vertical plane includes the angle of the vertical plane and/or the direction of the angle of the vertical plane.
在一实施方式中,预设条件包括下述条件的至少一种:水平面夹角满足水平角度预设条件;水平面夹角方向满足水平方向预设条件;竖直面夹角满足竖直角 度预设条件;竖直面夹角方向满足竖直方向预设条件。In one embodiment, the preset condition includes at least one of the following conditions: the angle of the horizontal plane meets the preset condition of the horizontal angle; the angle direction of the horizontal plane meets the preset condition of the horizontal direction; the angle of the vertical plane meets the preset condition of the vertical angle Condition: The angle of the vertical plane meets the preset condition of the vertical direction.
在一实施方式中,单手模式可以但不限于包括左单手模式、右单手模式。In an embodiment, the single-handed mode may include, but is not limited to, a left single-handed mode and a right single-handed mode.
第二实施方式Second embodiment
参见图2,为本申请实施例提供的一种单手模式切换方法,应用于终端中,该单手模式切换方法包括以下步骤:Referring to FIG. 2, a single-handed mode switching method provided in an embodiment of this application is applied to a terminal, and the single-handed mode switching method includes the following steps:
步骤S101:在接收到切换状态触发指令时,控制终端进入单手模式切换状态;Step S101: When receiving the switching state trigger instruction, the control terminal enters the one-handed mode switching state;
步骤S102:获取自身的方位信息;Step S102: Obtain its own position information;
步骤S103:根据方位信息进入对应的单手模式。Step S103: Enter the corresponding one-handed mode according to the position information.
在本实施例中,步骤S101包括:判断是否检测到预设的操作信息;若是,控制终端进入单手模式切换状态。在其他实施方式中,步骤S101还包括判断操作信息的持续时间是否达到预设时长;若是,控制终端进入单手模式切换状态。在本实施方式中,步骤S101之前包括:在接收到单手模式激活指令后,进入单手模式。也就是说,在进入单手模式切换模式前,需首先进入单手模式。在其他实施方式中,也可以直接根据切换状态触发指令由非单手模式进入单手模式切换状态,或者在接收到单手模式激活指令时直接自动进入单手模式切换状态等等。In this embodiment, step S101 includes: determining whether preset operation information is detected; if so, controlling the terminal to enter a single-handed mode switching state. In other embodiments, step S101 further includes determining whether the duration of the operation information reaches a preset duration; if so, controlling the terminal to enter a single-handed mode switching state. In this embodiment, before step S101, it includes: entering the single-handed mode after receiving the single-handed mode activation instruction. In other words, before entering the one-handed mode switching mode, you must first enter the one-handed mode. In other embodiments, it is also possible to directly enter the single-handed mode switching state from the non-single-handed mode according to the switching state trigger instruction, or directly enter the single-handed mode switching state automatically when the single-handed mode activation instruction is received, and so on.
具体地,预设时长可以由***默认设置,也可以由用户自行设置。在一实施方式中,预设的操作信息可以但不限于为预设的指纹信息。在其他实施方式中,用户还可以通过其他方式例如语音、触控等、或多种触发方式的组合等输入切换状态触发指令。可以理解地,预设的指纹信息可以但不限于包括一个或多个手指对应的指纹信息,当然,预设的指纹信息还可以为具有特定特征例如接触面积、接触位置、纹理的特征、按压的力度、按压的位置等等的指纹信息。在其他实施方式中,还可以在预设时长内多次检测到预设的指纹信息时判断接收到切换状态触发指令等等。需要说明的是,接触面积是指用户的手指在指纹模组上执行触控操作时与指纹模组的接触面积。按压力度是指用户的手指在指纹模组上执行触控操作时对指纹模组的按压力度。纹理的特征可以为某一用户例如机主等的手指的指纹的纹理的特征。具体地。指纹模组可以设置在终端的背面,也可以位于触摸屏上。在用户的手指在指纹模组执行接触、覆盖或点击等 触控操作时,终端获取到对应的触摸信息,进而检测触摸信息中是否包含指纹信息。或者,终端的指纹模组可以认为具有图像采集功能,以在用户的手指在指纹模组上执行触控操作时采集对应的图像,而通过分析图像以获取指纹信息。Specifically, the preset duration can be set by default by the system, or can be set by the user. In an embodiment, the preset operation information may be, but is not limited to, preset fingerprint information. In other embodiments, the user may also input the switching state trigger instruction through other methods such as voice, touch, etc., or a combination of multiple triggering methods. Understandably, the preset fingerprint information may include, but is not limited to, fingerprint information corresponding to one or more fingers. Of course, the preset fingerprint information may also be features with specific characteristics such as contact area, contact position, texture, and pressed Fingerprint information of strength, pressing position, etc. In other embodiments, it may also be determined that the switching state trigger instruction is received when the preset fingerprint information is detected multiple times within the preset time period. It should be noted that the contact area refers to the contact area of the user's finger with the fingerprint module when performing a touch operation on the fingerprint module. The pressing force refers to the pressing force of the user's finger on the fingerprint module when performing a touch operation on the fingerprint module. The texture feature may be a texture feature of a fingerprint of a finger of a certain user, such as an owner. specifically. The fingerprint module can be set on the back of the terminal or on the touch screen. When the user's finger performs touch operations such as touching, covering, or clicking on the fingerprint module, the terminal obtains the corresponding touch information, and then detects whether the touch information contains fingerprint information. Alternatively, the fingerprint module of the terminal may be considered to have an image collection function, so as to collect a corresponding image when the user's finger performs a touch operation on the fingerprint module, and the fingerprint information is obtained by analyzing the image.
单手模式激活指令可以为一个或多个触控操作,本申请实施例中以单手模式激活指令包括第一触控操作和第二触控操作。具体地,终端判断在设定时间间隔内是否检测到第一触控操作对应的第一报点信息和第二触控操作对应的第二报点信息,当在设定时间间隔内检测到第一触控操作对应的第一报点信息和第二触控操作对应的第二报点信息时,开启单手模式,否则不开启单手模式。可以理解地,在需要开启单手模式时,用户的不同手指与触摸屏接触的时间可能存在先后顺序,也就是说终端检测到第一触控操作对应的第一报点信息和第二触控操作对应的第二报点信息可能存在先后顺序。在设定时间间隔内是否检测到第一触控操作对应的第一报点信息和第二触控操作对应的第二报点信息,可以是在检测到第一触控操作对应的第一报点信息后,判断在设定时间间隔内是否检测到第二触控操作对应的第二报点信息,若是,则说明在设定时间间隔内检测到第一触控操作对应的第一报点信息和第二触控操作对应的第二报点信息。时间间隔可以根据实际情况需要进行设置和调整,比如可以将时间间隔设置为2秒、4秒等。需要说明的是,报点信息是指在触摸屏上发生触控操作的报点对应的信息,触摸屏可以根据报点信息执行触控操作对应的触控指令。其中,报点是指触摸屏上发生触控操作的触摸点,报点信息可包括报点位置、报点数量等,报点位置是指触摸屏上发生触控操作的坐标位置。当用户的手指在触摸屏上进行点击、按压等触控操作时,终端可以获取到触控操作的报点信息。如此,只有确定在设定时间间隔内检测到第一触控操作对应的第一报点信息和第二触控操作对应的第二报点信息时,才说明用户可能是真正需要开启单手模式,能够避免用户因不小心对触摸屏执行接触或点击等触控操作而误触发单手模式开启的操作,进一步提升了用户使用体验。The single-handed mode activation instruction may be one or more touch operations. In the embodiment of the present application, the single-handed mode activation instruction includes a first touch operation and a second touch operation. Specifically, the terminal determines whether the first report point information corresponding to the first touch operation and the second report point information corresponding to the second touch operation are detected within a set time interval, and when the second report point information is detected within the set time interval When the first report point information corresponding to a touch operation and the second report point information corresponding to the second touch operation, the single-handed mode is turned on, otherwise the single-handed mode is not turned on. Understandably, when the single-handed mode needs to be turned on, there may be a sequence of time when the user's different fingers are in contact with the touch screen, that is to say, the terminal detects the first report point information and the second touch operation corresponding to the first touch operation. The corresponding second reporting point information may have a sequence. Whether the first report point information corresponding to the first touch operation and the second report point information corresponding to the second touch operation are detected within the set time interval may be detected when the first report point information corresponding to the first touch operation is detected After clicking the information, determine whether the second report point information corresponding to the second touch operation is detected within the set time interval. If yes, it means that the first report point corresponding to the first touch operation is detected within the set time interval. The information and the second report point information corresponding to the second touch operation. The time interval can be set and adjusted according to the actual situation, for example, the time interval can be set to 2 seconds, 4 seconds, etc. It should be noted that the report point information refers to the information corresponding to the report point where the touch operation occurs on the touch screen, and the touch screen can execute the touch command corresponding to the touch operation according to the report point information. Wherein, the report point refers to the touch point on the touch screen where a touch operation occurs, and the report point information may include the position of the report point, the number of the report point, etc., and the report point position refers to the coordinate position where the touch operation occurs on the touch screen. When the user's finger performs touch operations such as clicking, pressing, etc., on the touch screen, the terminal can obtain the report point information of the touch operation. In this way, only when it is determined that the first report point information corresponding to the first touch operation and the second report point information corresponding to the second touch operation are detected within the set time interval, it means that the user may really need to turn on the one-handed mode , Can prevent the user from accidentally triggering the operation of turning on the one-handed mode by accidentally performing touch operations such as touching or clicking on the touch screen, which further improves the user experience.
在本实施例中,方法还包括:在接收到切换状态退出指令时,退出单手模式切换状态。也就是说,在接收到切换状态退出指令时,不执行获取自身的方位信 息和/或根据方位信息进入对应的单手模式状态的步骤。具体地,可以但不限于在停止检测到预设的指纹信息时即上述持续时间中断时,则判定接收到切换状态停止指令,例如当用户将手指放在指纹模组上后离开,则判定接收到切换状态停止指令。当然本申请不以此为限,例如也可以是在接收到预设的触控信息、语音信息等等时,判断接收到切换状态停止指令。In this embodiment, the method further includes: exiting the one-handed mode switching state when the switching state exit instruction is received. That is to say, when receiving the switch state exit instruction, the steps of acquiring its own position information and/or entering the corresponding one-handed mode state according to the position information are not performed. Specifically, it is possible, but not limited to, when the detection of the preset fingerprint information is stopped, that is, when the above duration is interrupted, it is determined that the switching state stop instruction is received. For example, when the user puts a finger on the fingerprint module and then leaves, it is determined to receive Stop command to switch state. Of course, the present application is not limited to this. For example, it may be determined that the switching state stop instruction is received when preset touch information, voice information, etc. are received.
综上,本申请提供的单手模式切换方法,终端根据方位信息进入对应的单手模式,实现了用户能够更加快捷的控制终端进入对应的单手模式,操作便捷,提升了用户使用体验。此外,在接收到切换状态触发指令时,才进入单手模式切换模式,避免了频繁切换到对应的单手模式造成的困扰,进一步提升了用户的体验。而且本实施例只有在触发进入单手模式后才能在进入单手模式切换状态,进一步避免了误操作的问题,更进一步地提升了用户体验。In summary, in the one-handed mode switching method provided by the present application, the terminal enters the corresponding one-handed mode according to the orientation information, so that the user can control the terminal to enter the corresponding one-handed mode more quickly, the operation is convenient, and the user experience is improved. In addition, the one-handed mode switching mode is entered only when the switching state triggering instruction is received, which avoids the trouble caused by frequently switching to the corresponding one-handed mode, and further improves the user experience. Moreover, in this embodiment, the one-handed mode switching state can be entered only after the one-handed mode is triggered, which further avoids the problem of misoperation and further improves the user experience.
第三实施例The third embodiment
参见图3,为本申请实施例提供的一种单手模式切换方法,应用于终端中,如图3所示,本实施例的单手模式切换方法包括:Referring to FIG. 3, a single-handed mode switching method provided by an embodiment of this application is applied to a terminal. As shown in FIG. 3, the single-handed mode switching method of this embodiment includes:
步骤S21:检测终端是否处于单手模式切换状态;Step S21: Detect whether the terminal is in a single-handed mode switching state;
步骤S22、若是,获取终端方位信息和/或终端在方位持续的时长;Step S22: If yes, obtain terminal location information and/or the duration of the terminal's location;
步骤S23、根据方位信息和/或时长,控制终端切换到对应的单手模式。Step S23: Control the terminal to switch to the corresponding single-handed mode according to the position information and/or duration.
在一实施方式中,可以但不限于在开机时,自动控制终端进入单手模式切换状态,也可以在接收到切换状态触发指令时,控制终端进入单手模式切换状态。In an embodiment, the terminal may be automatically controlled to enter the single-handed mode switching state when the device is turned on, but may also be controlled to enter the single-handed mode switching state when a switching state trigger instruction is received.
在一实施方式中,步骤S23包括:当方位信息满足:水平面夹角满足水平角度预设条件、水平面夹角方向满足水平方向预设条件、竖直面夹角满足竖直角度预设条件、竖直面夹角方向满足竖直方向预设条件中的至少一种时,控制终端切换到对应的单手模式。In one embodiment, step S23 includes: when the orientation information satisfies: the included angle of the horizontal plane satisfies the preset condition of horizontal angle, the included angle direction of the horizontal plane satisfies the preset condition of horizontal direction, the included angle of vertical plane satisfies the preset condition of vertical angle, When the straight-face angle direction meets at least one of the preset conditions in the vertical direction, the control terminal switches to the corresponding single-handed mode.
在一实施方式中,步骤S23包括:当时长达到预设时长,控制终端切换到对应的单手模式。在其他实施方式中,步骤S23还可以但不限于包括当方位信息满足:水平面夹角满足水平角度预设条件、水平面夹角方向满足水平方向预设条件、竖直面夹角满足竖直角度预设条件、竖直面夹角方向满足竖直方向预设条件中的至少一种时,且当时长达到预设时长,控制终端切换到对应的单手模式。In one embodiment, step S23 includes: when the time reaches a preset time length, the control terminal switches to the corresponding single-handed mode. In other embodiments, step S23 can also include, but is not limited to, when the azimuth information meets: the horizontal plane angle meets the horizontal angle preset condition, the horizontal plane angle direction meets the horizontal direction preset condition, and the vertical plane angle meets the vertical angle preset condition. When the conditions and the angle of the vertical plane meet at least one of the preset conditions for the vertical direction, and the time period reaches the preset time period, the control terminal switches to the corresponding single-handed mode.
第四实施例Fourth embodiment
参见图4,为本申请实施例提供的一种单手模式切换方法,应用于终端中,图5为如图4所示的单手模式切换方法的应用场景示意图。请参考图4及图5,该单手模式切换方法包括以下步骤:Referring to FIG. 4, a single-handed mode switching method provided by an embodiment of this application is applied to a terminal. FIG. 5 is a schematic diagram of an application scenario of the single-handed mode switching method shown in FIG. 4. Please refer to Figure 4 and Figure 5, the single-handed mode switching method includes the following steps:
步骤S201:通过重力传感器获取相对水平面的加速度变化值;Step S201: Obtain the acceleration change value relative to the horizontal plane through the gravity sensor;
步骤S202:根据加速度变化值,获取单位时间内相对水平面翻转的水平面夹角;Step S202: According to the acceleration change value, obtain the angle of the horizontal plane flipped relative to the horizontal plane in a unit time;
步骤S203:在翻转的水平面夹角大于第一预设角度且小于第二预设角度时,进入左单手模式;Step S203: when the included angle of the flipped horizontal plane is greater than the first preset angle and less than the second preset angle, enter the left single-handed mode;
步骤S204:在翻转的水平面夹角大于第三预设角度且小于第四预设角度时,进入右单手模式。Step S204: when the angle of the flipped horizontal plane is greater than the third preset angle and less than the fourth preset angle, enter the right single-handed mode.
具体地,在本实施例中,可以但不限于在利用重力传感器等感测到终端发生倾斜时,进入步骤S201:通过重力传感器获取相对水平面的加速度变化值。在其他实施方式中,也可以实时利用重力传感器等获取终端的方位信息。其中,在终端的显示屏为竖屏时,水平面为与终端静置在水平桌面上时与终端的显示屏平行且以终端的短边的中点为零点的面。在终端的显示屏为横屏时,水平面为与终端静置在水平桌面上时与终端的显示屏平行的面,在本实施方式中,可以但不限于将终端的长边的中点设置水平面的零点。Specifically, in this embodiment, it is possible, but not limited to, when a gravity sensor or the like is used to sense that the terminal is tilted, step S201 is entered: the acceleration change value relative to the horizontal plane is obtained by the gravity sensor. In other embodiments, a gravity sensor or the like may also be used to obtain the orientation information of the terminal in real time. Wherein, when the display screen of the terminal is a vertical screen, the horizontal plane is a plane parallel to the display screen of the terminal when the terminal is placed on a horizontal desktop, and the midpoint of the short side of the terminal is the zero point. When the display screen of the terminal is a horizontal screen, the horizontal plane is the surface parallel to the display screen of the terminal when the terminal is resting on a horizontal desktop. In this embodiment, the midpoint of the long side of the terminal can be set as the horizontal plane. The zero point.
在其他实施方式中,还可以通过重力传感器获取相对竖直面的加速度变化值,并根据加速度变化值,获取单位时间内相对竖直面上翻转的竖直面夹角,且在翻转的竖直面夹角满足竖直角度预设条件和/或翻转的水平面夹角满足水平面角度预设条件时进入对应的单手模式。其中,竖直面为与水平面相互垂直,且水平面的零点线可以但不限于位于竖直面上,也就是说,在终端的显示屏为竖屏时,竖直面为与终端静置在水平桌面上时与终端的显示屏垂直且以终端的短边的中点为零点的面。在终端的显示屏为横屏时,竖直面为终端静置在水平桌面上时与终端的显示屏垂直的面,且可以将终端的长边的中点设置为竖直面的零点。在其他实施方式中,也可以但不限于将两个短边的中点的连线与两个长边的中点的连接交叉的点作为竖直面的中点等等。In other embodiments, the acceleration change value relative to the vertical plane can also be obtained through the gravity sensor, and according to the acceleration change value, the angle between the vertical plane flipped relative to the vertical plane in a unit time is obtained, and the vertical plane flipped in the flipped vertical plane can be obtained according to the acceleration change value. The corresponding single-handed mode is entered when the angle of the surface meets the preset condition of vertical angle and/or the angle of the flipped horizontal plane meets the preset condition of horizontal plane angle. Wherein, the vertical plane is perpendicular to the horizontal plane, and the zero-point line of the horizontal plane may but is not limited to be located on the vertical plane, that is to say, when the display screen of the terminal is a vertical screen, the vertical plane is placed horizontally with the terminal. The surface that is perpendicular to the display screen of the terminal when it is on the desktop and takes the midpoint of the short side of the terminal as the zero point. When the display screen of the terminal is a horizontal screen, the vertical plane is the plane perpendicular to the display screen of the terminal when the terminal is resting on a horizontal desktop, and the midpoint of the long side of the terminal can be set as the zero point of the vertical plane. In other embodiments, it is also possible but not limited to use the point where the connection between the midpoints of the two short sides and the midpoint of the two long sides intersect as the midpoint of the vertical plane, and so on.
在本实施方式中,第一预设角度小于第二预设角度,且第一预设角度与第二预设角度均大于零。第三预设角度小于第四预设角度,且第三预设角度与第四预设角度均小于零。具体地,如图5所示,图5为终端的显示屏为竖屏时,终端相对水平面o的翻转的水平面夹角满足水平角度预设条件时的场景示意图。具体地,第一预设角度与第四预设角度的绝对值可以但不限于相等例如均为15°,第二预设角度与第三预设角度的绝对值也可以但不限于相等例如均为45°,但本申请并不以此为限,第一预设角度或第二预设角度或第三预设角度或第四预设角度也可以为预设的其他值。如图5所示,在翻转的水平面夹角大于第一预设角度且小于第二预设角度时,如图所示为16°时,进入左单手模式;和/或在翻转的水平面夹角大于第三预设角度且小于第四预设角度时例如为
Figure PCTCN2020079225-appb-000001
16°时,进入右单手模式。
In this embodiment, the first preset angle is smaller than the second preset angle, and both the first preset angle and the second preset angle are greater than zero. The third preset angle is less than the fourth preset angle, and both the third preset angle and the fourth preset angle are less than zero. Specifically, as shown in FIG. 5, FIG. 5 is a schematic diagram of a scene when the terminal's display screen is a vertical screen, and the horizontal plane angle of the terminal relative to the horizontal plane o meets the preset condition of the horizontal angle. Specifically, the absolute values of the first preset angle and the fourth preset angle may be, but are not limited to, equal, for example, 15°, and the absolute values of the second preset angle and the third preset angle may also be, but are not limited to, equal, for example, equal. It is 45°, but the application is not limited to this. The first preset angle, the second preset angle, the third preset angle, or the fourth preset angle may also be other preset values. As shown in FIG. 5, when the angle of the flipped horizontal plane is greater than the first preset angle and less than the second preset angle, when it is 16° as shown in the figure, the left one-handed mode is entered; and/or the flipped horizontal plane is clamped When the angle is greater than the third preset angle and less than the fourth preset angle, for example
Figure PCTCN2020079225-appb-000001
At 16°, enter the right one-handed mode.
综上,本申请提供的单手模式切换方法,根据加速度变化值,获取单位时间内翻转的水平面夹角和/或竖直面夹角,并根据水平面夹角和/或竖直面夹角切换为左单手模式或右单手模式,能准确地根据终端的倾斜方向调整单手模式状态,操作简单,用户体验好。In summary, the single-handed mode switching method provided in this application obtains the horizontal and/or vertical angles that are flipped in a unit time according to the acceleration change value, and switches according to the horizontal and/or vertical angles It is a left single-handed mode or a right single-handed mode, which can accurately adjust the state of the single-handed mode according to the tilt direction of the terminal, with simple operation and good user experience.
第五实施例Fifth embodiment
参见图6,为本申请实施例提供的一种单手模式切换方法,应用于终端中,方法包括:Referring to FIG. 6, a single-handed mode switching method provided in this embodiment of the application is applied to a terminal, and the method includes:
步骤S211、获取终端的竖直面夹角方向和/或终端在方位持续的时长;Step S211: Obtain the direction of the vertical angle of the terminal and/or the duration of the terminal in the azimuth;
步骤S212、在竖直面夹角方向满足竖直方向预设条件和/或时长达到预设时长,控制终端切换到对应的单手模式。In step S212, the vertical direction preset condition is satisfied in the vertical angle direction and/or the time length reaches the preset time length, and the control terminal is switched to the corresponding single-handed mode.
如图7所示,虚线表示竖直面,矩形框为包括长边的侧面,图7为终端的显示屏为横屏时,终端的竖直面夹角方向满足竖直方向预设条件时的场景示意图。具体地,如图7所示,在终端的竖直面夹角方向为顺时针方向和/或终端在顺时针方向持续的时长达到预设时长时切换至左单手模式,在终端的竖直面夹角方向为逆时针方向/或终端在逆时针方向持续的时长达到预设时长时切换至右单手模式。但本申请并不以此为限,也可以在终端的竖直面夹角方向为逆时针方向和/或终端在逆时针方向持续的时长达到预设时长时切换至左单手模式,在终端的竖 直面夹角方向为顺时针方向/或终端在顺时针方向持续的时长达到预设时长时切换至右单手模式。当然,在其他实施方式中,也可以根据终端的竖直面夹角的大小切换至对应的单手模式。As shown in Figure 7, the dashed line represents the vertical plane, and the rectangular frame is the side surface including the long sides. Figure 7 shows the situation when the terminal’s display screen is horizontal and the angle between the vertical plane of the terminal meets the preset conditions for the vertical direction. Schematic diagram of the scene. Specifically, as shown in FIG. 7, when the vertical angle of the terminal is clockwise and/or the clockwise duration of the terminal reaches the preset time, it switches to the left one-handed mode. The direction of the angle between the faces is counterclockwise, or the terminal switches to the right single-handed mode when the duration of the counterclockwise direction reaches the preset time. However, this application is not limited to this, and it can also switch to the left one-handed mode when the vertical angle of the terminal is in the counterclockwise direction and/or the duration of the terminal in the counterclockwise direction reaches the preset time. The angle of the vertical plane is clockwise, or the terminal switches to the right one-handed mode when the clockwise duration reaches the preset duration. Of course, in other implementation manners, it is also possible to switch to the corresponding single-handed mode according to the size of the angle between the vertical plane of the terminal.
图8为如图6所示的单手模式切换方法的另一应用场景示意图;如图8所示,当终端的显示屏与水平面垂直,且竖直面为与终端的显示屏及水平面均垂直的面时,在终端的竖直面夹角方向为顺时针方向和/或终端在顺时针方向持续的时长达到预设时长时切换至右单手模式,在终端的竖直面夹角方向为逆时针方向/或终端在逆时针方向持续的时长达到预设时长时切换至左单手模式。但本申请并不以此为限,也可以在终端的竖直面夹角方向为逆时针方向和/或终端在逆时针方向持续的时长达到预设时长时切换至右单手模式,在终端的竖直面夹角方向为顺时针方向/或终端在顺时针方向持续的时长达到预设时长时切换至左单手模式。当然,在其他实施方式中,也可以根据终端的竖直面夹角的大小切换至对应的单手模式。FIG. 8 is a schematic diagram of another application scenario of the one-handed mode switching method shown in FIG. 6; as shown in FIG. 8, when the display screen of the terminal is perpendicular to the horizontal plane, and the vertical plane is perpendicular to both the display screen and the horizontal plane of the terminal When the angle of the vertical plane of the terminal is clockwise and/or the clockwise duration of the terminal reaches the preset time, it switches to the right one-handed mode, and the angle of the vertical plane of the terminal is When the counterclockwise direction/or the terminal continues in the counterclockwise direction for a preset period of time, it switches to the left one-handed mode. However, this application is not limited to this. It can also switch to the right one-handed mode when the vertical angle of the terminal is in the counterclockwise direction and/or the duration of the terminal in the counterclockwise direction reaches the preset time. The angle of the vertical plane is clockwise, or the terminal switches to the left one-handed mode when the clockwise duration reaches the preset duration. Of course, in other implementation manners, it is also possible to switch to the corresponding single-handed mode according to the size of the angle between the vertical plane of the terminal.
图9为如图6所示的单手模式切换方法的又一应用场景示意图;如图9所示,当终端的显示屏与水平面垂直,且竖直面为与终端的显示屏重合的面时,在终端的竖直面夹角方向为顺时针方向和/或终端在顺时针方向持续的时长达到预设时长时切换至右单手模式,在终端的竖直面夹角方向为逆时针方向/或终端在逆时针方向持续的时长达到预设时长时切换至左单手模式。但本申请并不以此为限,也可以在终端的竖直面夹角方向为逆时针方向和/或终端在逆时针方向持续的时长达到预设时长时切换至右单手模式,在终端的竖直面夹角方向为顺时针方向/或终端在顺时针方向持续的时长达到预设时长时切换至左单手模式。当然,在其他实施方式中,也可以根据终端的竖直面夹角的大小切换至对应的单手模式。FIG. 9 is a schematic diagram of another application scenario of the one-handed mode switching method shown in FIG. 6; as shown in FIG. 9, when the display screen of the terminal is perpendicular to the horizontal plane, and the vertical plane is the surface that coincides with the display screen of the terminal , Switch to the right single-handed mode when the vertical angle of the terminal is clockwise and/or the clockwise duration of the terminal reaches the preset time, and the vertical angle of the terminal is counterclockwise / Or the terminal switches to the left one-handed mode when the duration of the counterclockwise direction reaches the preset duration. However, this application is not limited to this. It can also switch to the right one-handed mode when the vertical angle of the terminal is in the counterclockwise direction and/or the duration of the terminal in the counterclockwise direction reaches the preset time. The angle of the vertical plane is clockwise, or the terminal switches to the left one-handed mode when the clockwise duration reaches the preset duration. Of course, in other implementation manners, it is also possible to switch to the corresponding single-handed mode according to the size of the angle between the vertical plane of the terminal.
第六实施例Sixth embodiment
参见图10,为本申请实施例提供的一种单手模式切换方法,应用于终端中,方法包括:Referring to FIG. 10, a single-handed mode switching method provided in this embodiment of the application is applied to a terminal, and the method includes:
步骤S221、获取终端的竖直面夹角、水平面夹角及终端在方位持续的时长;Step S221: Obtain the vertical angle of the terminal, the horizontal angle of the terminal, and the duration of the terminal in the azimuth;
步骤S222、在竖直面夹角满足竖直夹角预设条件、在水平面夹角满足水平面夹 角预设条件,且时长达到预设时长时,控制终端切换到对应的单手模式。Step S222: When the included angle of the vertical plane meets the preset condition of the vertical included angle, the included angle of the horizontal plane meets the preset condition of the horizontal plane, and the duration reaches the preset duration, the control terminal switches to the corresponding one-handed mode.
如图11所示,终端的竖直面夹角方向满足竖直方向预设条件、在水平面夹角方向满足水平面夹角方向预设条件,且时长达到预设时长时的场景示意图。在其他实施方式中,竖直面夹角满足预设条件还可以是竖直面的夹角角度满足竖直预设角度,和/或水平面夹角满足预设条件还可以是水平面的夹角角度满足水平预设角度。As shown in FIG. 11, the vertical plane angle direction of the terminal meets the preset condition of the vertical direction, the horizontal plane angle direction meets the preset condition of the horizontal plane angle direction, and the duration reaches the preset duration. In other embodiments, the included angle of the vertical plane satisfies the preset condition, or the included angle of the vertical plane satisfies the preset vertical angle, and/or the included angle of the horizontal plane satisfies the preset condition, or the included angle of the horizontal plane. Meet the horizontal preset angle.
具体地,如图11所示,在终端的竖直面夹角方向为顺时针方向且终端在顺时针方向持续的时长达到预设时长时切换至左单手模式,在终端的竖直面夹角方向为逆时针方向且终端在逆时针方向持续的时长达到预设时长时切换至右单手模式。但本申请并不以此为限,也可以在终端的竖直面夹角方向为逆时针方向和/或终端在逆时针方向持续的时长达到预设时长时切换至左单手模式,在终端的竖直面夹角方向为顺时针方向/或终端在顺时针方向持续的时长达到预设时长时切换至右单手模式。Specifically, as shown in FIG. 11, when the angle of the vertical plane of the terminal is clockwise and the duration of the terminal in the clockwise direction reaches the preset duration, it switches to the left one-handed mode, and clamps on the vertical plane of the terminal. When the angle direction is counterclockwise and the duration of the terminal in the counterclockwise direction reaches the preset duration, it switches to the right one-handed mode. However, this application is not limited to this, and it can also switch to the left one-handed mode when the vertical angle of the terminal is in the counterclockwise direction and/or the duration of the terminal in the counterclockwise direction reaches the preset time. The angle of the vertical plane is clockwise, or the terminal switches to the right one-handed mode when the clockwise duration reaches the preset duration.
基于前述实施例相同的发明构思,本申请实施例提供了一种终端,如图12所示,该终端包括:处理器110和用于存储能够在处理器110上运行的计算机程序的存储器111;其中,图12中示意的处理器110并非用于指代处理器110的个数为一个,而是仅用于指代处理器110相对其他器件的位置关系,在实际应用中,处理器110的个数可以为一个或多个;同样,图12中示意的存储器111也是同样的含义,即仅用于指代存储器111相对其他器件的位置关系,在实际应用中,存储器111的个数可以为一个或多个。处理器110用于运行计算机程序时,实现应用于上述终端的单手模式切换方法。Based on the same inventive concept as the foregoing embodiment, an embodiment of the present application provides a terminal, as shown in FIG. 12, the terminal includes: a processor 110 and a memory 111 for storing a computer program that can run on the processor 110; Wherein, the processor 110 illustrated in FIG. 12 is not used to refer to the number of processors 110, but only to refer to the positional relationship of the processor 110 with respect to other devices. In practical applications, the processor 110 The number can be one or more; similarly, the memory 111 illustrated in FIG. 12 has the same meaning, that is, it is only used to refer to the positional relationship of the memory 111 with respect to other devices. In practical applications, the number of the memory 111 can be one or more. The processor 110 is used to implement the single-handed mode switching method applied to the aforementioned terminal when running a computer program.
该终端还可包括:至少一个网络接口112。该终端中的各个组件通过总线***113耦合在一起。可理解,总线***113用于实现这些组件之间的连接通信。总线***113除包括数据总线之外,还包括电源总线、控制总线和状态信号总线。但是为了清楚说明起见,在图12中将各种总线都标为总线***113。The terminal may further include: at least one network interface 112. The various components in the terminal are coupled together through the bus system 113. It can be understood that the bus system 113 is used to implement connection and communication between these components. In addition to the data bus, the bus system 113 also includes a power bus, a control bus, and a status signal bus. However, for the sake of clear description, various buses are marked as the bus system 113 in FIG. 12.
其中,存储器111可以是易失性存储器或非易失性存储器,也可包括易失性和非易失性存储器两者。其中,非易失性存储器可以是只读存储器(ROM,Read Only Memory)、可编程只读存储器(PROM,Programmable Read-Only Memory )、可擦除可编程只读存储器(EPROM,Erasable Programmable Read-Only Memory)、电可擦除可编程只读存储器(EEPROM,Electrically Erasable Programmable Read-Only Memory)、磁性随机存取存储器(FRAM,ferromagnetic random access memory)、快闪存储器(Flash Memory)、磁表面存储器、光盘、或只读光盘(CD-ROM,Compact Disc Read-Only Memory);磁表面存储器可以是磁盘存储器或磁带存储器。易失性存储器可以是随机存取存储器(RAM,Random Access Memory),其用作外部高速缓存。通过示例性但不是限制性说明,许多形式的RAM可用,例如静态随机存取存储器(SRAM,Static Random Access Memory)、同步静态随机存取存储器(SSRAM,Synchronous Static Random Access Memory)、动态随机存取存储器(DRAM,Dynamic Random Access Memory)、同步动态随机存取存储器(SDRAM,Synchronous Dynamic Random Access Memory)、双倍数据速率同步动态随机存取存储器(DDRSDRAM,Double Data Rate Synchronous Dynamic Random Access Memory)、增强型同步动态随机存取存储器(ESDRAM,Enhanced Synchronous Dynamic Random Access Memory)、同步连接动态随机存取存储器(SLDRAM,Sync Link Dynamic Random Access Memory)、直接内存总线随机存取存储器(DRRAM,Direct Rambus Random Access Memory)。本申请实施例描述的存储器111旨在包括但不限于这些和任意其它适合类型的存储器。Among them, the memory 111 may be a volatile memory or a non-volatile memory, and may also include both volatile and non-volatile memory. Among them, the non-volatile memory can be read-only memory (ROM, Read Only Memory), programmable read-only memory (PROM, Programmable Read-Only Memory), and erasable programmable read-only memory (EPROM, Erasable Programmable Read- Only Memory, Electrically Erasable Programmable Read-Only Memory (EEPROM, Electrically Erasable Programmable Read-Only Memory), magnetic random access memory (FRAM, ferromagnetic random access memory), flash memory (Flash Memory), magnetic surface memory , CD-ROM, or CD-ROM (Compact Disc Read-Only Memory); magnetic surface memory can be magnetic disk storage or tape storage. The volatile memory may be a random access memory (RAM, Random Access Memory), which is used as an external cache. By way of exemplary but not restrictive description, many forms of RAM are available, such as static random access memory (SRAM, Static Random Access Memory), synchronous static random access memory (SSRAM, Synchronous Static Random Access Memory), and dynamic random access memory. Memory (DRAM, Dynamic Random Access Memory), Synchronous Dynamic Random Access Memory (SDRAM, Synchronous Dynamic Random Access Memory), Double Data Rate Synchronous Dynamic Random Access Memory (DDRSDRAM, Double Data Rate Synchronous Dynamic Random Access Memory), enhanced Type synchronous dynamic random access memory (ESDRAM, Enhanced Synchronous Dynamic Random Access Memory), synchronous connection dynamic random access memory (SLDRAM, Sync Link Dynamic Random Access Memory), direct memory bus random access memory (DRRAM, Direct Rambus Random Access) Memory). The memory 111 described in the embodiment of the present application is intended to include, but is not limited to, these and any other suitable types of memory.
本申请实施例中的存储器111用于存储各种类型的数据以支持该终端的操作。这些数据的示例包括:用于在该终端上操作的任何计算机程序,如操作***和应用程序;联系人数据;电话簿数据;消息;图片;视频等。其中,操作***包含各种***程序,例如框架层、核心库层、驱动层等,用于实现各种基础业务以及处理基于硬件的任务。应用程序可以包含各种应用程序,例如媒体播放器(Media Player)、浏览器(Browser)等,用于实现各种应用业务。这里,实现本申请实施例方法的程序可以包含在应用程序中。The memory 111 in the embodiment of the present application is used to store various types of data to support the operation of the terminal. Examples of these data include: any computer programs used to operate on the terminal, such as operating systems and applications; contact data; phone book data; messages; pictures; videos, etc. Among them, the operating system contains various system programs, such as a framework layer, a core library layer, and a driver layer, which are used to implement various basic services and process hardware-based tasks. The application program may include various application programs, such as a media player (Media Player), a browser (Browser), etc., which are used to implement various application services. Here, the program that implements the method of the embodiment of the present application may be included in the application program.
基于前述实施例相同的发明构思,本实施例还提供了一种计算机存储介质,计 算机存储介质中存储有计算机程序,计算机存储介质可以是磁性随机存取存储器(FRAM,ferromagnetic random access memory)、只读存储器(ROM,Read Only Memory)、可编程只读存储器(PROM,Programmable Read-Only Memory)、可擦除可编程只读存储器(EPROM,Erasable Programmable Read-Only Memory)、电可擦除可编程只读存储器(EEPROM,Electrically Erasable Programmable Read-Only Memory)、快闪存储器(Flash Memory)、磁表面存储器、光盘、或只读光盘(CD-ROM,Compact Disc Read-Only Memory)等存储器;也可以是包括上述存储器之一或任意组合的各种设备,如移动电话、计算机、平板设备、个人数字助理等。计算机存储介质中存储的计算机程序被处理器运行时,实现应用于上述终端的单手模式切换方法。计算机程序被处理器执行时实现的具体步骤流程请参考图1至图6所示实施例的描述,在此不再赘述。Based on the same inventive concept of the foregoing embodiment, this embodiment also provides a computer storage medium, in which a computer program is stored. The computer storage medium may be a magnetic random access memory (FRAM, ferromagnetic random access memory), Read Memory (ROM, Read Only Memory), Programmable Read-Only Memory (PROM, Programmable Read-Only Memory), Erasable Programmable Read-Only Memory (EPROM, Erasable Programmable Read-Only Memory), Electrically Erasable Programmable Read-only memory (EEPROM, Electrically Erasable Programmable Read-Only Memory), flash memory (Flash Memory), magnetic surface memory, optical disk, or CD-ROM (Compact Disc Read-Only Memory) and other memory; also available It is a variety of devices including one or any combination of the above-mentioned memories, such as mobile phones, computers, tablet devices, personal digital assistants, etc. When the computer program stored in the computer storage medium is run by the processor, the one-handed mode switching method applied to the above-mentioned terminal is realized. Please refer to the description of the embodiments shown in FIG. 1 to FIG. 6 for the specific step flow realized when the computer program is executed by the processor, which will not be repeated here.
本申请提供的单手模式切换方法、终端及计算机存储介质,终端根据方位信息进入对应的单手模式,实现了用户能够更加快捷的控制终端进入单手模式,操作便捷,提升了用户使用体验。The one-handed mode switching method, terminal and computer storage medium provided in this application, the terminal enters the corresponding one-handed mode according to the orientation information, realizes that the user can more quickly control the terminal to enter the one-handed mode, the operation is convenient, and the user experience is improved.
以上实施例的各技术特征可以进行任意的组合,为使描述简洁,未对上述实施例中的各个技术特征所有可能的组合都进行描述,然而,只要这些技术特征的组合不存在矛盾,都应当认为是本说明书记载的范围。The technical features of the above embodiments can be combined arbitrarily. In order to make the description concise, all possible combinations of the technical features in the above embodiments are not described. However, as long as there is no contradiction in the combination of these technical features, they should be It is considered as the range described in this specification.
在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,除了包含所列的那些要素,而且还可包含没有明确列出的其他要素。In this article, the terms "include", "include" or any other variants thereof are intended to encompass non-exclusive inclusion, in addition to including those elements listed, but also other elements not explicitly listed.
以上,仅为本申请的具体实施方式,但本申请的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本申请揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本申请的保护范围之内。因此,本申请的保护范围应以权利要求的保护范围为准。The above are only specific implementations of this application, but the scope of protection of this application is not limited to this. Any person skilled in the art can easily conceive of changes or substitutions within the technical scope disclosed in this application, which shall cover Within the scope of protection of this application. Therefore, the protection scope of this application should be subject to the protection scope of the claims.

Claims (14)

  1. 一种单手模式切换方法,应用于终端,其中,包括:A one-handed mode switching method, applied to a terminal, including:
    S11、获取所述终端的方位信息和/或所述终端在所述方位持续的时长;S11. Obtain the position information of the terminal and/or the duration of the terminal in the position;
    S12、根据所述方位信息和/或所述时长,控制所述终端切换到对应的单手模式。S12. Control the terminal to switch to a corresponding single-handed mode according to the position information and/or the duration.
  2. 根据权利要求1的方法,其中,在步骤S11之前,包括:The method according to claim 1, wherein, before step S11, it comprises:
    判断是否检测到预设的操作信息;Determine whether preset operation information is detected;
    若是,控制所述终端进入单手模式切换状态。If yes, control the terminal to enter the one-handed mode switching state.
  3. 根据权利要求2的方法,其中,在所述控制所述终端进入单手模式切换状态步骤之前,还包括:The method according to claim 2, wherein before the step of controlling the terminal to enter the one-handed mode switching state, the method further comprises:
    判断所述操作信息的持续时间是否达到预设时长;Judging whether the duration of the operation information reaches a preset duration;
    若是,控制所述终端进入单手模式切换状态。If yes, control the terminal to enter the one-handed mode switching state.
  4. 根据权利要求3的方法,其中,在所述控制所述终端进入单手模式切换状态的步骤之后包括:The method according to claim 3, wherein after the step of controlling the terminal to enter the one-handed mode switching state, the method comprises:
    当检测到所述持续时间中断时,退出单手模式切换状态。When an interruption of the duration is detected, the one-handed mode switching state is exited.
  5. 根据权利要求1的方法,其中,The method according to claim 1, wherein:
    所述步骤S11包括:The step S11 includes:
    所述终端的方位信息,是根据预设规则从所述终端的姿态信息中获得;和/或,The position information of the terminal is obtained from the posture information of the terminal according to preset rules; and/or,
    当所述方位信息满足预设条件时,所述终端切换到对应的单手模式。When the position information satisfies a preset condition, the terminal switches to the corresponding one-handed mode.
  6. 根据权利要求5所述的方法,其中,The method of claim 5, wherein:
    所述方位信息包括:The position information includes:
    所述终端相对于水平面的方位信息,包括水平面夹角和/或水平面夹角方向;和/或,The position information of the terminal relative to the horizontal plane includes the included angle of the horizontal plane and/or the direction of the included angle of the horizontal plane; and/or,
    所述终端相对于竖直面的方位信息,包括竖直面夹角和/或竖直面夹角方向;The position information of the terminal relative to the vertical plane includes the vertical plane included angle and/or the vertical plane included angle direction;
    和/或,所述预设条件包括下述条件的至少一种:And/or, the preset condition includes at least one of the following conditions:
    所述水平面夹角满足水平角度预设条件;The included angle of the horizontal plane satisfies a preset condition of a horizontal angle;
    所述水平面夹角方向满足水平方向预设条件;The direction of the included angle of the horizontal plane meets a preset condition of the horizontal direction;
    所述竖直面夹角满足竖直角度预设条件;The included angle of the vertical plane satisfies a preset condition of the vertical angle;
    所述竖直面夹角方向满足竖直方向预设条件。The angle direction of the vertical plane satisfies a preset condition of the vertical direction.
  7. 根据权利要求1所述的方法,其中,在步骤S11之前,还包括:The method according to claim 1, wherein, before step S11, further comprising:
    在接收到单手模式激活指令后,进入单手模式。After receiving the single-handed mode activation instruction, enter the single-handed mode.
  8. 根据权利要求1所述的方法,其中,所述S12步骤之后,还包括:The method according to claim 1, wherein after the step S12, the method further comprises:
    当所述时长达到预设时长,控制所述终端切换到对应的单手模式。When the duration reaches the preset duration, the terminal is controlled to switch to the corresponding single-handed mode.
  9. 一种单手模式切换方法,应用于终端,其中,包括:A one-handed mode switching method, applied to a terminal, including:
    S21、检测所述终端是否处于单手模式切换状态;S21: Detect whether the terminal is in a single-handed mode switching state;
    S22、若是,获取所述终端方位信息和/或所述终端在所述方位持续的时长;S22. If yes, obtain the terminal position information and/or the duration of the terminal in the position;
    S23、根据所述方位信息和/或所述时长,控制所述终端切换到对应的单手模式。S23. Control the terminal to switch to a corresponding single-handed mode according to the position information and/or the duration.
  10. 根据权利要求9所述的方法,其中,The method according to claim 9, wherein:
    所述方位信息包括:The position information includes:
    所述终端相对于水平面的方位信息,包括水平面夹角和/或水平面夹角方向;和/或,The position information of the terminal relative to the horizontal plane includes the included angle of the horizontal plane and/or the direction of the included angle of the horizontal plane; and/or,
    所述终端相对于竖直面的方位信息,包括竖直面夹角和/或竖直面夹角方向。The position information of the terminal relative to the vertical plane includes the vertical plane included angle and/or the vertical plane included angle direction.
  11. 根据权利要求10所述的方法,其中,所述S23步骤,包括:The method according to claim 10, wherein the step S23 comprises:
    当所述方位信息满足:When the position information satisfies:
    所述水平面夹角满足水平角度预设条件、The included angle of the horizontal plane meets the preset condition of the horizontal angle,
    所述水平面夹角方向满足水平方向预设条件、The angle direction of the horizontal plane meets the preset condition of the horizontal direction,
    所述竖直面夹角满足竖直角度预设条件、The included angle of the vertical plane meets the preset condition of the vertical angle,
    所述竖直面夹角方向满足竖直方向预设条件中的至少一种时, 控制所述终端切换到对应的单手模式。When the angle of the vertical plane meets at least one of the preset conditions for the vertical direction, control the terminal to switch to the corresponding single-handed mode.
  12. 根据权利要求9所述的方法,其中,所述S23步骤,还包括:The method according to claim 9, wherein the step S23 further comprises:
    当所述时长达到预设时长,控制所述终端切换到对应的单手模式。When the duration reaches the preset duration, the terminal is controlled to switch to the corresponding single-handed mode.
  13. 一种终端,其中,包括:处理器和用于存储能够在处理器上运行的计算机程序的存储器,A terminal, which includes a processor and a memory for storing a computer program that can run on the processor,
    其中,处理器运行计算机程序时,实现如下步骤:Among them, when the processor runs the computer program, the following steps are implemented:
    S11、获取所述终端的方位信息和/或所述终端在所述方位持续的时长;S11. Obtain the position information of the terminal and/or the duration of the terminal in the position;
    S12、根据所述方位信息和/或所述时长,控制所述终端切换到对应的单手模式。S12. Control the terminal to switch to a corresponding single-handed mode according to the position information and/or the duration.
  14. 一种计算机存储介质,其中,存储有计算机程序,计算机程序被处理器执行时,实现如下步骤:A computer storage medium in which a computer program is stored. When the computer program is executed by a processor, the following steps are implemented:
    S11、获取所述终端的方位信息和/或所述终端在所述方位持续的时长;S11. Obtain the position information of the terminal and/or the duration of the terminal in the position;
    S12、根据所述方位信息和/或所述时长,控制所述终端切换到对应的单手模式。S12. Control the terminal to switch to a corresponding single-handed mode according to the position information and/or the duration.
PCT/CN2020/079225 2019-11-15 2020-03-13 One-handed mode switching method, terminal, and computer storage medium WO2021093236A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201911122496.9 2019-11-15
CN201911122496.9A CN111049971A (en) 2019-11-15 2019-11-15 Single-hand mode switching method, terminal and computer storage medium

Publications (1)

Publication Number Publication Date
WO2021093236A1 true WO2021093236A1 (en) 2021-05-20

Family

ID=70232955

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/079225 WO2021093236A1 (en) 2019-11-15 2020-03-13 One-handed mode switching method, terminal, and computer storage medium

Country Status (2)

Country Link
CN (1) CN111049971A (en)
WO (1) WO2021093236A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114428644A (en) * 2022-01-24 2022-05-03 西安闻泰信息技术有限公司 Working mode switching method and device, electronic equipment and storage medium

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114168061A (en) * 2021-12-01 2022-03-11 惠州Tcl移动通信有限公司 Virtual keyboard display method, device and computer readable storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103593138A (en) * 2013-11-15 2014-02-19 深圳市中兴移动通信有限公司 Method for operating mobile terminal with one hand and mobile terminal
CN105278947A (en) * 2015-06-18 2016-01-27 维沃移动通信有限公司 Interface element configuration method and apparatus
US20160349991A1 (en) * 2014-01-16 2016-12-01 Huawei Device Co., Ltd. Interface Operation Method and Terminal
CN107025042A (en) * 2017-03-07 2017-08-08 宇龙计算机通信科技(深圳)有限公司 Double screen terminal, screen state switching method and device
CN107066176A (en) * 2017-05-23 2017-08-18 珠海市魅族科技有限公司 A kind of control method and device of the singlehanded pattern of terminal
CN107329679A (en) * 2016-04-28 2017-11-07 范浪波 The method and device and software of automatic switchover intelligent handheld device one hand steer mode

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005277452A (en) * 2004-03-22 2005-10-06 Nec Corp Portable electronic apparatus and its display switching method
JP4350740B2 (en) * 2006-12-05 2009-10-21 レノボ・シンガポール・プライベート・リミテッド Portable electronic device, method for changing display direction of screen, program, and storage medium
JP2009211159A (en) * 2008-02-29 2009-09-17 Brother Ind Ltd Terminal device
CN105094332A (en) * 2015-07-27 2015-11-25 联想(北京)有限公司 Information display method and electronic device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103593138A (en) * 2013-11-15 2014-02-19 深圳市中兴移动通信有限公司 Method for operating mobile terminal with one hand and mobile terminal
US20160349991A1 (en) * 2014-01-16 2016-12-01 Huawei Device Co., Ltd. Interface Operation Method and Terminal
CN105278947A (en) * 2015-06-18 2016-01-27 维沃移动通信有限公司 Interface element configuration method and apparatus
CN107329679A (en) * 2016-04-28 2017-11-07 范浪波 The method and device and software of automatic switchover intelligent handheld device one hand steer mode
CN107025042A (en) * 2017-03-07 2017-08-08 宇龙计算机通信科技(深圳)有限公司 Double screen terminal, screen state switching method and device
CN107066176A (en) * 2017-05-23 2017-08-18 珠海市魅族科技有限公司 A kind of control method and device of the singlehanded pattern of terminal

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114428644A (en) * 2022-01-24 2022-05-03 西安闻泰信息技术有限公司 Working mode switching method and device, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN111049971A (en) 2020-04-21

Similar Documents

Publication Publication Date Title
JP6192013B2 (en) Method and apparatus for moving display during device flip
US11265414B2 (en) Method and device for waking up voice recognition function in mobile terminal, and computer readable storage medium
US20090244026A1 (en) Touch screen display for electronic device and method of determining touch interaction therewith
WO2021093236A1 (en) One-handed mode switching method, terminal, and computer storage medium
US11330182B2 (en) Damper arrangement for actuator damping
WO2017161803A1 (en) Method and terminal for adjusting settings
EP2105824A1 (en) Touch screen display for electronic device and method of determining touch interaction therewith
US20110291981A1 (en) Analog Touchscreen Methods and Apparatus
US20110291934A1 (en) Touchscreen Operation Threshold Methods and Apparatus
EP3646580A1 (en) Dynamic control of camera resources in a device with multiple displays
WO2021203815A1 (en) Page operation method and apparatus, and terminal and storage medium
US20200014851A1 (en) Method For Displaying Image Preview Interface And Mobile Terminal
CN110083266B (en) Information processing method, device and storage medium
CN110806833A (en) Single-hand mode starting method, terminal and computer storage medium
WO2019062431A1 (en) Photographing method and mobile terminal
CN106325623B (en) The method, apparatus and terminal device of touch are monitored on the touchscreen
WO2017032066A1 (en) Contact management method and mobile terminal
KR102661343B1 (en) Image cropping method and electronic devices
KR20150039706A (en) Method for implementing electronic magnifier and user equipment
CN113448479B (en) Single-hand operation mode starting method, terminal and computer storage medium
CN107153546A (en) A kind of video broadcasting method and mobile device
US9148537B1 (en) Facial cues as commands
CN108491152B (en) Touch screen terminal control method, terminal and medium based on virtual cursor
KR101183769B1 (en) Touch-sensitive display and method of controlling same
CN105389108A (en) Identification method and device of touch operation of mobile terminal

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

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

Country of ref document: EP

Kind code of ref document: A1