WO2017101604A1 - Cursor selected object switching method, device and terminal - Google Patents

Cursor selected object switching method, device and terminal Download PDF

Info

Publication number
WO2017101604A1
WO2017101604A1 PCT/CN2016/104379 CN2016104379W WO2017101604A1 WO 2017101604 A1 WO2017101604 A1 WO 2017101604A1 CN 2016104379 W CN2016104379 W CN 2016104379W WO 2017101604 A1 WO2017101604 A1 WO 2017101604A1
Authority
WO
WIPO (PCT)
Prior art keywords
terminal
cursor
pressure
input operation
object selected
Prior art date
Application number
PCT/CN2016/104379
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 WO2017101604A1 publication Critical patent/WO2017101604A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • G06F3/04812Interaction techniques based on cursor appearance or behaviour, e.g. being affected by the presence of displayed objects
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures

Definitions

  • the embodiments of the present invention relate to the field of communications, and in particular, to a method, an apparatus, and a terminal for switching an object selected by a cursor.
  • Step 1 Click the Add Contact button; click the name input box; enter your name.
  • Step 2 if the phone input box is blocked by the input method interface, since the phone input box is not in the current display interface, the cursor cannot be directly switched to the phone input box by touch operation; at this time, further operations are required: Hide the input method interface; pull the current display page up by a certain distance;
  • Step 3 Click the phone input box to get the focus of the cursor and call up the input method interface for input.
  • the embodiment of the invention provides a method, a device and a terminal for switching a target selected by a cursor, so as to at least solve the problem that a user's operation experience is poor caused by an object to be selected by the cursor not in the visible area.
  • a method for switching an object selected by a cursor including: a terminal detecting a pressure feature of a received input operation; and if the pressure feature satisfies a predetermined condition, the terminal The object selected by the cursor in the page currently displayed by the terminal is switched to the next object.
  • the terminal detects that the received pressure characteristic of the input operation comprises at least one of: the terminal detects a location of the input operation received in a predetermined area of a pressure screen of the terminal a pressure characteristic; the terminal detects the pressure characteristic of the input operation received by a pressure sensor on a physical button of the terminal; the terminal detects a pressure corresponding to a virtual button displayed on a display screen of the terminal The pressure characteristic of the input operation received by the sensor.
  • the terminal when the terminal switches the object selected by the cursor currently displayed by the terminal to the next object, further includes: if there are other objects below the object selected by the cursor, the terminal determines the The next object is the first object in the top-to-bottom order of other objects below the object selected by the cursor; there are no other objects below the object selected by the cursor, and there are other objects above the object selected by the cursor. The terminal determines that the next object is the first object in the top-to-bottom order among other objects above the object selected by the cursor.
  • the method further includes: determining, by the terminal, whether the next object is in the terminal Within the visible area of the view; the terminal adjusts the next object to the visible area if it is determined that the next object is not in the visible area.
  • the object includes at least one of the following: an input box, an option.
  • the pressure feature comprises at least one of: a pressing pressure value, a pressing duration, and a number of pressing points.
  • a switching device for an object selected by a cursor which is applied to a terminal, comprising: a detecting module configured to detect a pressure feature of the received input operation; and a switching module configured to be When the pressure feature satisfies a predetermined condition, the object selected by the cursor in the page currently displayed by the terminal is switched to the next object.
  • the detecting module comprises at least one of: a first detecting unit configured to detect the pressure feature of the input operation received in a predetermined area of a pressure screen of the terminal; and a second detecting unit Provided to detect the pressure characteristic of the input operation received by a pressure sensor on a physical button of the terminal; the third detecting unit is configured to detect a pressure corresponding to the virtual button displayed on the display screen of the terminal The pressure characteristic of the input operation received by the sensor.
  • the switching module further includes: a first determining unit, configured to determine, in the case that there are other objects below the object selected by the cursor, the terminal determining that the next object is another object below the object selected by the cursor a first object in a top-to-bottom order; a second determining unit configured to have no other objects below the object selected by the cursor, and in the case where there are other objects above the object selected by the cursor, the terminal determines The next object is the first object in the top-to-bottom order of other objects above the object selected by the cursor.
  • the device further includes: a determining module, configured to determine whether the next object is in a visible area of the terminal; and an adjustment module configured to determine that the next object is not in the In the case of the viewing area, the next object is adjusted into the visible area.
  • a determining module configured to determine whether the next object is in a visible area of the terminal
  • an adjustment module configured to determine that the next object is not in the In the case of the viewing area, the next object is adjusted into the visible area.
  • the switching module is configured to: when the object is an input box, and the pressure feature meets a predetermined condition, switch the input box selected by the cursor currently displayed by the terminal to the next input frame.
  • a terminal including: a display, a pressure sensor, and a processor, wherein the pressure sensor is connected to the processor, configured to detect an input operation, and is detected The input operation is converted into a first electrical signal, and the first electrical signal is sent to the processor; the processor is coupled to the display and configured to parse from the first electrical signal Describe a pressure characteristic of the input operation, and send a second electrical signal to the display if the pressure characteristic satisfies a predetermined condition; the display being configured to display the terminal currently according to the second electrical signal The object selected by the cursor within the page switches to the next object.
  • the pressure sensor and the display are integrally designed as a pressure touch screen.
  • the terminal further includes: a physical button, wherein the pressure sensor is disposed on the physical button.
  • a computer storage medium is further provided, and the computer storage medium may store an execution instruction for executing a switching method of the object selected by the cursor in the above embodiment.
  • the terminal detects the pressure characteristic of the received input operation; if the pressure characteristic satisfies the predetermined condition, the terminal switches the object selected by the cursor currently displayed in the page to the next object, and solves the problem.
  • the object selected by the cursor is not in the visible area, and the user's operation experience is poor, which improves the user experience and operation efficiency.
  • FIG. 1 is a flowchart of a method of switching an object selected by a cursor according to an embodiment of the present invention
  • FIG. 2 is a structural block diagram of a switching device for an object selected by a cursor according to an embodiment of the present invention
  • FIG. 3 is a block diagram showing an optional structure of a switching device for a cursor-selected object according to an embodiment of the present invention
  • FIG. 4 is a structural block diagram of a terminal according to an embodiment of the present invention.
  • FIG. 5 is a flowchart 1 of an input box switching method according to an alternative embodiment of the present invention.
  • FIG. 6 is a second flowchart of an input box switching method according to an alternative embodiment of the present invention.
  • FIG. 7 is a flow chart 3 of an input box switching method in accordance with an alternative embodiment of the present invention.
  • FIG. 1 is a flowchart of a method for switching an object selected by a cursor according to an embodiment of the present invention. As shown in FIG. 1, the process includes the following steps:
  • Step S102 the terminal detects a pressure characteristic of the received input operation
  • Step S104 If the pressure feature satisfies the predetermined condition, the terminal switches the object selected by the cursor in the page currently displayed by the terminal to the next object.
  • an input operation in which the pressure characteristic satisfies a predetermined condition can be performed on the terminal, for example, an input operation in which the pressing pressure value is greater than the preset pressure value is performed, or a pressing time is performed.
  • the object selected by the cursor can be switched by the input operation, thereby solving the problem that the object selected by the cursor is not in the visible area.
  • the user's poor operating experience improves the user's experience and operational efficiency.
  • the above objects may be input boxes, or other options that the cursor can focus or lock, such as check boxes, program icons, and the like.
  • step S104 may be performed cyclically.
  • a time interval threshold may be set, and each time step S104 is performed, a timer whose timing value is the threshold value is turned on, and after the timer expires, the execution is continued once. Step S104, until the pressure characteristic value does not satisfy the predetermined condition. In this way, continuous switching of the object selected by the cursor can be realized, and the continuity of the user operation is improved.
  • the time interval threshold can be set to 500 milliseconds, or other values, which are not limited herein.
  • the tab key does not conform to the design direction of the current portable terminal.
  • the sensor having the pressure detecting function for example, a pressure sensor and a pressure touch screen
  • the buttons save the cost of hardware design.
  • the implementation of the tab key is described by taking any combination of the pressure characteristic, the pressing pressure value, the pressing duration, and the pressing point as an example, but the embodiment of the present invention It is not limited to the combination of the above pressure characteristics. That is, the pressure characteristics described above are not limited to the pressing pressure value, the pressing time, the number of pressing points, or other characteristics of the input operation, for example, the size of the pressing point, the order of pressing the predetermined plurality of pressing points, and the like. .
  • the terminal can directly utilize the pressure screen of the terminal (for example, a pressure touch screen); or the terminal detects the pressure feature by using a pressure sensor disposed on the physical button.
  • the pressure screen of the terminal for example, a pressure touch screen
  • the terminal detects the pressure feature by using a pressure sensor disposed on the physical button.
  • the physical button referred to in the embodiment of the present invention has the following characteristics with respect to the virtual button: the position of the physical button is relatively fixed, and the function of the physical button is relatively fixed; the physical button is not generated due to a change of the display interface or disappear.
  • the mechanical power button in the related art, the function button for returning to the previous page on the portable terminal, and the function button for returning to the home page are all referred to as physical buttons in the embodiment of the present invention.
  • the physical button in the embodiment of the present invention includes, but is not limited to, one of the following: a main menu function key provided with a pressure sensor on the surface of the button, a function key for returning the previous page provided with a pressure sensor on the surface of the button, and a surface of the button is provided The pressure sensor returns to the home function key.
  • the virtual button referred to in the embodiment of the present invention refers to a touch display area displayed and virtualized by the touch display screen, and the touch display area is assigned a button, which is defined when the touch display area is pressed.
  • the buttons on the input method interface displayed on the touch display are all virtual buttons.
  • the terminal may detect the input received in a predetermined area of the pressure screen of the terminal according to a difference in a position at which the input operation is performed. Entering the pressure characteristic of the operation; or, the terminal detects the pressure characteristic of the input operation received by the pressure sensor on the physical button of the terminal; or the pressure characteristic received by the pressure sensor corresponding to the virtual button displayed on the display screen of the terminal detecting terminal .
  • the terminal it is possible to have both a pressure screen, a physical button provided with a pressure sensor, and a virtual button corresponding to the pressure sensor, or only one or both of them.
  • the next object can be randomly selected or selected in a predetermined order.
  • the terminal determines that the next object is the first object in the top-to-bottom order of other objects below the object selected by the cursor; there is no other object below the object selected by the cursor.
  • the terminal determines that the next object is the first object in the top-to-bottom order among the other objects above the object selected by the cursor.
  • the next input box is the first input box below the input box selected by the cursor.
  • the currently displayed page there is no other input box below the input box selected by the cursor, and if there are other input boxes above the input box selected by the cursor, it can be determined that the next input box is in the currently displayed page.
  • the first input box above the input box selected by the cursor In this way, it is possible to achieve a one-to-one cursor selection switching between a plurality of input boxes in a top-to-bottom order.
  • the currently displayed page of the terminal includes a visible area currently presented on the terminal display screen, and a non-visible area that cannot be presented on the same screen due to limited display area of the terminal, or is used by other interfaces (eg, input method interface, other window interface, etc.) Blocking the non-visible area that is currently not rendered. When you switch objects, the next object may not be in the visible area.
  • the terminal can determine whether the next object is in the visible area on the terminal display screen; when it is determined that the next object is not in the visible area In the case of scrolling the page, zooming in/out of the page, the next object can be adjusted into the visible area, and the appropriate size can be displayed in the central area of the visible area. area.
  • the method according to the above embodiment can be implemented by means of software plus a necessary general hardware platform, and of course, by hardware, but in many cases, the former is A better implementation.
  • the technical solution of the present invention in essence or the contribution to the related art can be embodied in the form of a software product stored in a storage medium (such as ROM/RAM, disk, CD-ROM).
  • the instructions include a number of instructions for causing a terminal device (which may be a cell phone, computer, server, or network device, etc.) to perform the methods of various embodiments of the present invention.
  • a switching device for the object selected by the cursor is provided, which is applied to the terminal, and the device is used to implement the foregoing embodiments and preferred embodiments, and details are not described herein.
  • the term "module” may implement a combination of software and/or hardware of a predetermined function.
  • the device includes: a detecting module 22 and a switching module 24, wherein the detecting module 22 is configured to detect the received The pressure characteristic of the input operation; the switching module 24 is coupled to the detecting module 22, and is configured to switch the object selected by the cursor currently displayed by the terminal to the next object if the pressure characteristic satisfies the predetermined condition.
  • the detecting module 22 comprises at least one of the following: a first detecting unit 222 configured to detect a pressure feature of the input operation received in a predetermined area of the pressure screen of the terminal; and a second detecting unit 224 configured to detect The pressure characteristic of the input operation received by the pressure sensor on the physical button of the terminal; the third detecting unit 226 is configured to detect the pressure characteristic of the input operation received by the pressure sensor corresponding to the virtual button displayed on the display screen of the terminal.
  • the switching module 24 may include: a first determining unit 242, configured to determine that the next object is the other object below the object selected by the cursor from the top to the other object under the object selected by the cursor The first object of the next order; the second determining unit 244 is configured to have no other objects below the object selected by the cursor, but the object selected by the cursor In the case where there are other objects above, the terminal determines that the next object is the first object in the top-to-bottom order among the other objects above the object selected by the cursor. After determining the next object, the switching module 24 switches the object selected by the cursor to the determined next object.
  • FIG. 3 is a block diagram showing an optional structure of a switching device for a cursor selected object according to an embodiment of the present invention.
  • the device further includes: a determining module 32 coupled to the switching module 24 and configured to determine Whether an object is within the viewable area of the terminal; the adjustment module 34, coupled to the decision module 32, is configured to adjust the next object to the viewable area if it is determined that the next object is not within the viewable area.
  • the foregoing objects include, but are not limited to, at least one of the following: an input box, an option.
  • the switching module 24 is configured to switch the input box selected by the cursor currently displayed by the terminal to the next input box if the object is an input box and the pressure feature satisfies a predetermined condition.
  • the pressure characteristics described above include, but are not limited to, at least one of: a pressing pressure value, a pressing duration, and a number of pressing points.
  • each of the above modules may be implemented by software or hardware.
  • the foregoing may be implemented by, but not limited to, the foregoing modules are all located in the same processor; or, the modules are located in multiple In the processor.
  • FIG. 4 is a structural block diagram of a terminal according to an embodiment of the present invention.
  • the terminal includes: a display 42, a pressure sensor 44, and a processor 46, wherein the pressure The sensor 44 is coupled to the processor 46, configured to detect an input operation, convert the detected input operation into a first electrical signal, and transmit the first electrical signal to the processor 46; the processor 46 is coupled to the display 42 and configured To parse the pressure characteristic of the input operation from the first electrical signal, and send a second electrical signal to the display 42 if the pressure characteristic satisfies a predetermined condition; the display 42 is configured to display the terminal currently according to the second electrical signal The object selected by the cursor in the page is switched to the next object.
  • the pressure sensor 44 and the display 42 are integrally designed pressure touch screens.
  • the terminal further includes: a physical button, wherein the pressure sensor 44 is disposed on the physical button.
  • a pressure sensor 44 is placed on the surface of the physical button, and the physical button is pressed.
  • the pressure sensor 44 is simultaneously pressed, and the pressure sensor 44 can detect pressure characteristics such as the pressing pressure value, the pressing duration, or the number of pressing points when pressed.
  • Embodiments of the present invention also provide a software for performing the technical solutions described in the above embodiments and preferred embodiments.
  • Embodiments of the present invention also provide a storage medium.
  • the above storage medium may be configured to store program code for performing the following steps:
  • Step S102 the terminal detects a pressure characteristic of the received input operation
  • Step S104 If the pressure feature satisfies the predetermined condition, the terminal switches the object selected by the cursor in the page currently displayed by the terminal to the next object.
  • the foregoing storage medium may include, but is not limited to, a USB flash drive, a Read-Only Memory (ROM), and a Random Access Memory (RAM).
  • ROM Read-Only Memory
  • RAM Random Access Memory
  • the switching method of the object selected by the cursor is applied to the scenario of the switching input box, and the pressure characteristic is taken as an example of the pressing pressure value. It should be noted that the application of the present invention to other scenarios, or the use of a compression feature for the pressure feature, or a combination of the pressure feature with the compression pressure value and the compression duration or other pressure features is also contemplated.
  • a method for quickly switching between input areas of a mobile phone based on a pressure screen in which an input interface is manually input when inputting a plurality of input boxes, and a problem of adjusting an interface and a hidden input method is required. Achieve fast input to your phone.
  • the pressure of the pressure screen when the user inputs, can be monitored in real time. Force, when the predetermined threshold is reached, then switch to the nearest next input box, and the input box can be moved to the appropriate position above the input method by adjusting the page, which can realize one-step fast switching, simplify user operation, and improve user experience.
  • the pressure screen uploads the captured pressure data to the currently open multi-entry box application.
  • the application of the multi-input box determines if the captured pressure exceeds a threshold. If the pressure exceeds the threshold, the function of automatically switching the input box is turned on. Then, it is determined whether there are other input boxes besides the current input box, and if so, whether to judge whether there are other input boxes below the current input box, and if so, switch to the next input box, if there is no other input box below, but there is , then switch to the top input box, and then calculate the position of the input box, then adjust the page to present the input box at the appropriate position above the input method to achieve fast switching of the input box.
  • the pressure sensor on the Back key detects whether it has been pressed in real time, and uploads the captured pressure data to the currently open multi-input box.
  • the application of the multi-input box determines if the captured pressure exceeds a threshold. If the pressure exceeds the threshold, the application of the multi-input box moves the cursor to the next input box. Then continue to determine whether the next input box is not in the visible area. If the next input box is not in the visible area, if it is blocked by the input method, move the next input box to the visible area.
  • the application of the multi-input box determines if the captured pressure exceeds a threshold. If the pressure exceeds the threshold, the application of the multi-input box moves the cursor to the next input box. Then continue to determine whether the next input box is not in the visible area. If the next input box is not in the visible area, if it is blocked by the input method, move the next input box to the visible area.
  • the virtual button may be any one of the input method keyboards displayed on the touch display screen.
  • FIG. 5 is a schematic flowchart of the embodiment, and the process includes the following steps:
  • Step S501 The mobile phone switches to the input interface to prepare for input
  • Step S502 Click the input box to pop up the input method and start inputting
  • Step S503 determining whether the input ends
  • Step S504 If the input is continued, it is determined whether the pressure received by the pressure screen reaches a predetermined threshold;
  • Step S505 If the pressure reaches a predetermined threshold, continue to determine whether there is another input box in the current input interface except the current input box;
  • Step S506 determining whether there are other input boxes below the current input box
  • Step S507 If there are other input boxes below the current input box, the focus is moved to the input box closest to the current input box for input;
  • Step S508 If there is no other input box below the current input box, it is determined whether there are other input boxes above;
  • Step S509 If there are other input boxes above the current input box, move the focus to the uppermost input box for input;
  • Step S510 Move the input box to an appropriate position above the input method, and return to step S503;
  • Step S511 The input ends, and the flow ends.
  • the Back key is taken as an example to illustrate how to implement the movement of the multi-input box by the pressure data on the physical button, that is, the function of the computer tab key.
  • FIG. 6 is a flowchart of implementing a shortcut movement of an input box by using a solution provided by an alternative embodiment of the present invention. As shown in FIG. 6, the process includes the following steps:
  • step S601 the pressure sensor on the Back button detects whether there is a press in real time, and uploads the captured pressure data to the currently open multi-input box application.
  • step S602 the application of the multi-input box determines whether the captured pressure exceeds a threshold, and if not, returns to step S601.
  • step S603 if the pressure exceeds the threshold, the application of the multi-input box moves the cursor to the next input box.
  • Step S604 determining whether the next input box is not in the visible area
  • step S605 if the next input box is not in the visible area, if the input method is blocked, the next input box is moved to the visible area.
  • a virtual button is taken as an example to illustrate how to implement the movement of the multi-entry box by using the pressure data on the key, that is, the function of the computer tab key.
  • FIG. 7 is a flow chart of implementing a shortcut movement of an input box by using a solution provided by an alternative embodiment of the present invention. As shown in FIG. 7, the process includes the following steps:
  • step S701 it is detected in real time whether the virtual button is pressed, and the captured pressure data is uploaded to the currently open multi-input box application.
  • step S702 the application of the multi-input box determines whether the captured pressure exceeds a threshold, and if not, returns to step S701.
  • Step S703 if the pressure exceeds the threshold, the application of the multi-input box moves the cursor to the next input box.
  • Step S704 determining whether the next input box is not in the visible area
  • Step S705 if the next input box is not in the visible area, if it is blocked by the input method, the next input box is moved to the visible area.
  • the terminal detects the pressure characteristic of the received input operation; if the pressure characteristic satisfies the predetermined condition, the terminal switches the object selected by the cursor currently displayed by the terminal to the next object, and solves the problem.

Landscapes

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

Abstract

A method, a device and a terminal for switching an object selected by a cursor. The method comprises: a terminal detects a pressure characteristic of a received input operation (S101); and in the case where the pressure characteristic satisfies a predetermined condition, the terminal switches the object selected by the cursor in the page currently displayed by the terminal to a next object (S101). The issue that operation experience of the user is poor caused when the object to be selected by the cursor is not within the visible area is solved, and the user experience and operation efficiency are improved.

Description

光标选中的对象的切换方法、装置及终端Switching method, device and terminal for object selected by cursor 技术领域Technical field
本发明实施例涉及通信领域,具体而言,涉及一种光标选中的对象的切换方法、装置及终端。The embodiments of the present invention relate to the field of communications, and in particular, to a method, an apparatus, and a terminal for switching an object selected by a cursor.
背景技术Background technique
目前人们越来越离不开手机,电话、短信、手机支付等方便了无数人的生活。手机是如此的不可或缺,因此,它的便捷使用成为人们的一致追求。At present, people are increasingly inseparable from mobile phones, telephones, text messages, mobile payment, etc., which facilitates the lives of countless people. Mobile phones are so indispensable, so its convenient use has become the unanimous pursuit of people.
在研究过程中发现,用户在操作手机时存在切换光标选中的对象的操作繁琐的问题。以添加联系人的操作为例进行说明:During the research process, it was found that the user has a troublesome operation of switching the object selected by the cursor when operating the mobile phone. Take the operation of adding a contact as an example:
在添加联系人时需要的操作如下:The actions you need to add a contact are as follows:
步骤1,点击添加联系人按钮;点击姓名的输入框;输入姓名。Step 1. Click the Add Contact button; click the name input box; enter your name.
步骤2,这时若发现电话输入框被输入法界面挡住了,由于电话输入框并不在当前的显示界面中,因此光标无法通过触摸操作直接切换到电话输入框;此时,需要进一步执行操作:隐藏输入法界面;将当前显示页面向上拉一定的距离;Step 2, if the phone input box is blocked by the input method interface, since the phone input box is not in the current display interface, the cursor cannot be directly switched to the phone input box by touch operation; at this time, further operations are required: Hide the input method interface; pull the current display page up by a certain distance;
步骤3,点击电话输入框获取光标焦点并调出输入法界面进行输入。Step 3. Click the phone input box to get the focus of the cursor and call up the input method interface for input.
可见,在基于触摸手势进行操作的便携式用户设备上,若待光标选中的对象不在可视区域内,则切换光标选中的对象时需要进行一系列繁琐的操作(例如上述的步骤2),导致用户的操作体验差。It can be seen that, on the portable user equipment that operates based on the touch gesture, if the object to be selected by the cursor is not in the visible area, a series of cumbersome operations (such as step 2 above) are performed when the object selected by the cursor is switched, thereby causing the user to The operating experience is poor.
发明内容Summary of the invention
本发明实施例提供了一种光标选中的对象的切换方法、装置及终端,以至少解决待光标选中的对象不在可视区域内导致的用户的操作体验差的问题。 The embodiment of the invention provides a method, a device and a terminal for switching a target selected by a cursor, so as to at least solve the problem that a user's operation experience is poor caused by an object to be selected by the cursor not in the visible area.
根据本发明实施例的一个方面,提供了一种光标选中的对象的切换方法,包括:终端检测接收到的输入操作的压力特征;在所述压力特征满足预定条件的情况下,所述终端将所述终端当前显示的页面内光标选中的对象切换为下一个对象。According to an aspect of an embodiment of the present invention, a method for switching an object selected by a cursor is provided, including: a terminal detecting a pressure feature of a received input operation; and if the pressure feature satisfies a predetermined condition, the terminal The object selected by the cursor in the page currently displayed by the terminal is switched to the next object.
可选地,所述终端检测接收到的所述输入操作的所述压力特征包括以下至少之一:所述终端检测在所述终端的压力屏的预定区域内接收到的所述输入操作的所述压力特征;所述终端检测由所述终端的物理按键上的压力传感器接收到的所述输入操作的所述压力特征;所述终端检测所述终端的显示屏上显示的虚拟按键对应的压力传感器接收到的所述输入操作的所述压力特征。Optionally, the terminal detects that the received pressure characteristic of the input operation comprises at least one of: the terminal detects a location of the input operation received in a predetermined area of a pressure screen of the terminal a pressure characteristic; the terminal detects the pressure characteristic of the input operation received by a pressure sensor on a physical button of the terminal; the terminal detects a pressure corresponding to a virtual button displayed on a display screen of the terminal The pressure characteristic of the input operation received by the sensor.
可选地,所述终端将所述终端当前显示的页面内光标选中的对象切换为所述下一个对象还包括:在光标选中的对象的下方存在其他对象的情况下,所述终端确定所述下一个对象为光标选中的对象下方的其他对象中由上至下次序的第一个对象;在光标选中的对象的下方不存在其他对象,而在光标选中的对象的上方存在其他对象的情况下,所述终端确定所述下一个对象为所述光标选中的对象上方的其他对象中由上至下次序的第一个对象。Optionally, the terminal, when the terminal switches the object selected by the cursor currently displayed by the terminal to the next object, further includes: if there are other objects below the object selected by the cursor, the terminal determines the The next object is the first object in the top-to-bottom order of other objects below the object selected by the cursor; there are no other objects below the object selected by the cursor, and there are other objects above the object selected by the cursor. The terminal determines that the next object is the first object in the top-to-bottom order among other objects above the object selected by the cursor.
可选地,在所述终端将所述终端当前显示的页面内光标选中的对象切换为所述下一个对象之后,所述方法还包括:所述终端判断所述下一个对象是否处于所述终端的可视区域内;在判断到所述下一个对象未处于所述可视区域内的情况下,所述终端将所述下一个对象调整至所述可视区域内。Optionally, after the terminal switches the object selected by the cursor currently displayed by the terminal to the next object, the method further includes: determining, by the terminal, whether the next object is in the terminal Within the visible area of the view; the terminal adjusts the next object to the visible area if it is determined that the next object is not in the visible area.
可选地,所述对象包括以下至少之一:输入框、选择项。Optionally, the object includes at least one of the following: an input box, an option.
可选地,所述压力特征包括以下至少之一:按压压力值、按压时长、按压点的数量。Optionally, the pressure feature comprises at least one of: a pressing pressure value, a pressing duration, and a number of pressing points.
根据本发明实施例的另一个方面,还提供了一种光标选中的对象的切换装置,应用于终端,包括:检测模块,设置为检测接收到的输入操作的压力特征;切换模块,设置为在所述压力特征满足预定条件的情况下,将所述终端当前显示的页面内光标选中的对象切换为下一个对象。 According to another aspect of the embodiments of the present invention, there is further provided a switching device for an object selected by a cursor, which is applied to a terminal, comprising: a detecting module configured to detect a pressure feature of the received input operation; and a switching module configured to be When the pressure feature satisfies a predetermined condition, the object selected by the cursor in the page currently displayed by the terminal is switched to the next object.
可选地,所述检测模块包括以下至少之一:第一检测单元,设置为检测在所述终端的压力屏的预定区域内接收到的所述输入操作的所述压力特征;第二检测单元,设置为检测由所述终端的物理按键上的压力传感器接收到的所述输入操作的所述压力特征;第三检测单元,设置为检测所述终端的显示屏上显示的虚拟按键对应的压力传感器接收到的所述输入操作的所述压力特征。Optionally, the detecting module comprises at least one of: a first detecting unit configured to detect the pressure feature of the input operation received in a predetermined area of a pressure screen of the terminal; and a second detecting unit Provided to detect the pressure characteristic of the input operation received by a pressure sensor on a physical button of the terminal; the third detecting unit is configured to detect a pressure corresponding to the virtual button displayed on the display screen of the terminal The pressure characteristic of the input operation received by the sensor.
可选地,所述切换模块还包括:第一确定单元,设置为在光标选中的对象的下方存在其他对象的情况下,所述终端确定所述下一个对象为光标选中的对象下方的其他对象中由上至下次序的第一个对象;第二确定单元,设置为在光标选中的对象的下方不存在其他对象,而在光标选中的对象的上方存在其他对象的情况下,所述终端确定所述下一个对象为所述光标选中的对象上方的其他对象中由上至下次序的第一个对象。Optionally, the switching module further includes: a first determining unit, configured to determine, in the case that there are other objects below the object selected by the cursor, the terminal determining that the next object is another object below the object selected by the cursor a first object in a top-to-bottom order; a second determining unit configured to have no other objects below the object selected by the cursor, and in the case where there are other objects above the object selected by the cursor, the terminal determines The next object is the first object in the top-to-bottom order of other objects above the object selected by the cursor.
可选地,所述装置还包括:判断模块,设置为判断所述下一个对象是否处于所述终端的可视区域内;调整模块,设置为在判断到所述下一个对象未处于所述可视区域内的情况下,将所述下一个对象调整至所述可视区域内。Optionally, the device further includes: a determining module, configured to determine whether the next object is in a visible area of the terminal; and an adjustment module configured to determine that the next object is not in the In the case of the viewing area, the next object is adjusted into the visible area.
可选地,所述切换模块设置为:在所述对象为输入框,且所述压力特征满足预定条件的情况下,将所述终端当前显示的页面内光标选中的输入框切换为下一个输入框。Optionally, the switching module is configured to: when the object is an input box, and the pressure feature meets a predetermined condition, switch the input box selected by the cursor currently displayed by the terminal to the next input frame.
根据本发明实施例的另一个方面,还提供了一种终端,包括:显示器、压力传感器和处理器,其中,所述压力传感器,与所述处理器连接,设置为检测输入操作,将检测到的所述输入操作转换成第一电信号,并将所述第一电信号发送至所述处理器;所述处理器,与所述显示器连接,设置为从所述第一电信号中解析所述输入操作的压力特征,并在所述压力特征满足预定条件的情况下,发送第二电信号至所述显示器;所述显示器,设置为根据所述第二电信号,将所述终端当前显示的页面内光标选中的对象切换为下一个对象。According to another aspect of the embodiments of the present invention, a terminal is provided, including: a display, a pressure sensor, and a processor, wherein the pressure sensor is connected to the processor, configured to detect an input operation, and is detected The input operation is converted into a first electrical signal, and the first electrical signal is sent to the processor; the processor is coupled to the display and configured to parse from the first electrical signal Describe a pressure characteristic of the input operation, and send a second electrical signal to the display if the pressure characteristic satisfies a predetermined condition; the display being configured to display the terminal currently according to the second electrical signal The object selected by the cursor within the page switches to the next object.
可选地,所述压力传感器与所述显示器为一体设计的压力触控屏。 Optionally, the pressure sensor and the display are integrally designed as a pressure touch screen.
可选地,所述终端还包括:物理按键,其中,所述压力传感器设置在所述物理按键上。Optionally, the terminal further includes: a physical button, wherein the pressure sensor is disposed on the physical button.
在本发明实施例中,还提供了一种计算机存储介质,该计算机存储介质可以存储有执行指令,该执行指令用于执行上述实施例中的光标选中的对象的切换方法。In the embodiment of the present invention, a computer storage medium is further provided, and the computer storage medium may store an execution instruction for executing a switching method of the object selected by the cursor in the above embodiment.
通过本发明实施例,采用终端检测接收到的输入操作的压力特征;在压力特征满足预定条件的情况下,终端将终端当前显示的页面内光标选中的对象切换为下一个对象的方式,解决了待光标选中的对象不在可视区域内导致的用户的操作体验差的问题,提高了用户的体验和操作效率。According to the embodiment of the present invention, the terminal detects the pressure characteristic of the received input operation; if the pressure characteristic satisfies the predetermined condition, the terminal switches the object selected by the cursor currently displayed in the page to the next object, and solves the problem. The object selected by the cursor is not in the visible area, and the user's operation experience is poor, which improves the user experience and operation efficiency.
附图说明DRAWINGS
此处所说明的附图用来提供对本发明的进一步理解,构成本申请的一部分,本发明的示意性实施例及其说明用于解释本发明,并不构成对本发明的不当限定。在附图中:The drawings described herein are intended to provide a further understanding of the invention, and are intended to be a part of the invention. In the drawing:
图1是根据本发明实施例的光标选中的对象的切换方法的流程图;1 is a flowchart of a method of switching an object selected by a cursor according to an embodiment of the present invention;
图2是根据本发明实施例的光标选中的对象的切换装置的结构框图;2 is a structural block diagram of a switching device for an object selected by a cursor according to an embodiment of the present invention;
图3是根据本发明实施例的光标选中的对象的切换装置的可选结构框图;3 is a block diagram showing an optional structure of a switching device for a cursor-selected object according to an embodiment of the present invention;
图4是根据本发明实施例的终端的结构框图;4 is a structural block diagram of a terminal according to an embodiment of the present invention;
图5是根据本发明可选实施例的输入框切换方法的流程图一;FIG. 5 is a flowchart 1 of an input box switching method according to an alternative embodiment of the present invention; FIG.
图6是根据本发明可选实施例的输入框切换方法的流程图二;6 is a second flowchart of an input box switching method according to an alternative embodiment of the present invention;
图7是根据本发明可选实施例的输入框切换方法的流程图三。7 is a flow chart 3 of an input box switching method in accordance with an alternative embodiment of the present invention.
具体实施方式detailed description
下文中将参考附图并结合实施例来详细说明本发明。需要说明的是,在不冲突的情况下,本申请中的实施例及实施例中的特征可以相互组合。 The invention will be described in detail below with reference to the drawings in conjunction with the embodiments. It should be noted that the embodiments in the present application and the features in the embodiments may be combined with each other without conflict.
需要说明的是,本发明的说明书和权利要求书及上述附图中的术语“第一”、“第二”等是用于区别类似的对象,而不必用于描述特定的顺序或先后次序。It is to be understood that the terms "first", "second" and the like in the specification and claims of the present invention are used to distinguish similar objects, and are not necessarily used to describe a particular order or order.
在本实施例中提供了一种光标选中的对象的切换方法,图1是根据本发明实施例的光标选中的对象的切换方法的流程图,如图1所示,该流程包括如下步骤:In this embodiment, a method for switching an object selected by a cursor is provided. FIG. 1 is a flowchart of a method for switching an object selected by a cursor according to an embodiment of the present invention. As shown in FIG. 1, the process includes the following steps:
步骤S102,终端检测接收到的输入操作的压力特征;Step S102, the terminal detects a pressure characteristic of the received input operation;
步骤S104,在压力特征满足预定条件的情况下,终端将终端当前显示的页面内光标选中的对象切换为下一个对象。Step S104: If the pressure feature satisfies the predetermined condition, the terminal switches the object selected by the cursor in the page currently displayed by the terminal to the next object.
通过上述步骤,在需要进行光标选中的对象的切换时,可以对终端执行一个压力特征满足预定条件的输入操作,例如,执行一个按压压力值大于预设压力值的输入操作,或者执行一个按压时长大于预设时长值的输入操作,或者执行一个预定数量的按压点的输入操作,或者执行前述输入操作的任意一种组合的输入操作;根据预先的设置,终端可以根据该输入操作执行对应的光标选中的对象的切换操作。通过这样的方式,即使待光标选中的对象没有显示在可视区域中的情况下,也可以通过输入操作来实现光标选中的对象的切换,从而解决了待光标选中的对象不在可视区域内导致的用户的操作体验差的问题,提高了用户的体验和操作效率。Through the above steps, when the switching of the object selected by the cursor is required, an input operation in which the pressure characteristic satisfies a predetermined condition can be performed on the terminal, for example, an input operation in which the pressing pressure value is greater than the preset pressure value is performed, or a pressing time is performed. An input operation greater than a preset duration value, or an input operation of performing a predetermined number of press points, or an input operation of any combination of the foregoing input operations; according to a preset setting, the terminal may execute a corresponding cursor according to the input operation The switching operation of the selected object. In this way, even if the object to be selected by the cursor is not displayed in the visible area, the object selected by the cursor can be switched by the input operation, thereby solving the problem that the object selected by the cursor is not in the visible area. The user's poor operating experience improves the user's experience and operational efficiency.
上述的对象,可以是输入框,也可以是其他光标可以焦点或锁定的选择项,例如,复选框、程序图标等。The above objects may be input boxes, or other options that the cursor can focus or lock, such as check boxes, program icons, and the like.
此外,上述的步骤S104可以循环执行,例如,可以设置一个时间间隔阈值,在每次执行完步骤S104时,开启一个计时值为该时间间隔阈值的计时器,在计时器超时后,继续执行一次步骤S104,直至压力特征值不满足预定条件为止。通过这样的方式,可以实现光标选中的对象的连续切换,提高了用户操作的连续性。该时间间隔阈值可以设置为500毫秒,或者其他值,在此并不作限制。In addition, the foregoing step S104 may be performed cyclically. For example, a time interval threshold may be set, and each time step S104 is performed, a timer whose timing value is the threshold value is turned on, and after the timer expires, the execution is continued once. Step S104, until the pressure characteristic value does not satisfy the predetermined condition. In this way, continuous switching of the object selected by the cursor can be realized, and the continuity of the user operation is improved. The time interval threshold can be set to 500 milliseconds, or other values, which are not limited herein.
在上述步骤中,通过对压力特征的检测,实现了计算机键盘上的“tab 键”类似的功能,即将光标选中的对象切换为下一个对象。由于目前无全键盘的终端,尤其是便携式终端越来越向小型化、简约化发展,因此,在便携式终端中专门设计一个“tab键”不符合当前便携式终端的设计方向。而在本发明实施例中,可以利用具有压力检测功能的传感器(例如:压力传感器、压力触控屏)来实现“tab键”功能,无需增加新的按键,节约了硬件设计的成本。In the above steps, by detecting the pressure characteristics, the "tab" on the computer keyboard is realized. A similar function of the key is to switch the object selected by the cursor to the next object. Since there is no terminal for the full keyboard at present, especially the portable terminal is increasingly miniaturized and simplified, therefore, a special design is designed in the portable terminal. The tab key does not conform to the design direction of the current portable terminal. In the embodiment of the present invention, the sensor having the pressure detecting function (for example, a pressure sensor and a pressure touch screen) can be used to implement the "tab key" function without adding a new one. The buttons save the cost of hardware design.
需要说明的是,在本发明实施例中虽然以压力特征为:按压压力值、按压时长、按压点的数量的任一组合为例对tab键的实现进行了描述,但是,本发明实施例并不仅限于上述压力特征的组合形式。即上述的压力特征并不仅限于按压压力值、按压时长、按压点的数量,还可以是输入操作的其他特征,例如,按压点的面积大小,对预定的多个按压点执行的按压的顺序等。It should be noted that, in the embodiment of the present invention, the implementation of the tab key is described by taking any combination of the pressure characteristic, the pressing pressure value, the pressing duration, and the pressing point as an example, but the embodiment of the present invention It is not limited to the combination of the above pressure characteristics. That is, the pressure characteristics described above are not limited to the pressing pressure value, the pressing time, the number of pressing points, or other characteristics of the input operation, for example, the size of the pressing point, the order of pressing the predetermined plurality of pressing points, and the like. .
在终端检测压力特征时,终端可以直接利用终端的压力屏(例如压力触控屏);或者终端利用设置在物理按键上的压力传感器检测压力特征。When the terminal detects the pressure feature, the terminal can directly utilize the pressure screen of the terminal (for example, a pressure touch screen); or the terminal detects the pressure feature by using a pressure sensor disposed on the physical button.
本发明实施例所称的物理按键相对于虚拟按键而言具有下列特点:物理按键的位置是相对固定的,且物理按键的功能是相对固定的;物理按键不会因为显示界面的变化而产生或消失。例如,相关技术中的机械式电源按键、便携式终端上的返回上一页功能键、返回主页功能键等功能按键,在本发明实施例中都被称为物理按键。可选地,本发明实施例中的物理按键包括但不限于以下之一:按键表面设置有压力传感器的主菜单功能键、按键表面设置有压力传感器的返回上一页功能键、按键表面设置有压力传感器的返回主页功能键。The physical button referred to in the embodiment of the present invention has the following characteristics with respect to the virtual button: the position of the physical button is relatively fixed, and the function of the physical button is relatively fixed; the physical button is not generated due to a change of the display interface or disappear. For example, the mechanical power button in the related art, the function button for returning to the previous page on the portable terminal, and the function button for returning to the home page are all referred to as physical buttons in the embodiment of the present invention. Optionally, the physical button in the embodiment of the present invention includes, but is not limited to, one of the following: a main menu function key provided with a pressure sensor on the surface of the button, a function key for returning the previous page provided with a pressure sensor on the surface of the button, and a surface of the button is provided The pressure sensor returns to the home function key.
本发明实施例所称的虚拟按键,是指由触控显示屏显示并虚拟出来的一个触控显示区域,该触控显示区域被赋值为一个按键,在按压该触控显示区域时将被定义为一次按键操作。例如,触控显示屏上显示的输入法界面上的按键都属于虚拟按键。The virtual button referred to in the embodiment of the present invention refers to a touch display area displayed and virtualized by the touch display screen, and the touch display area is assigned a button, which is defined when the touch display area is pressed. For one key operation. For example, the buttons on the input method interface displayed on the touch display are all virtual buttons.
可选地,在检测对触摸传感器的触摸的压力特征时,根据输入操作执行的位置的不同,终端可以检测在终端的压力屏的预定区域内接收到的输 入操作的压力特征;或者,终端检测由终端的物理按键上的压力传感器接收到的输入操作的压力特征;或者,终端检测终端的显示屏上显示的虚拟按键对应的压力传感器接收到的压力特征。对于终端而言,可以同时具备压力屏、设置有压力传感器的物理按键和对应与压力传感器的虚拟按键,或者只配备其中的任意一个或者两个。Alternatively, when detecting a pressure characteristic of a touch to the touch sensor, the terminal may detect the input received in a predetermined area of the pressure screen of the terminal according to a difference in a position at which the input operation is performed. Entering the pressure characteristic of the operation; or, the terminal detects the pressure characteristic of the input operation received by the pressure sensor on the physical button of the terminal; or the pressure characteristic received by the pressure sensor corresponding to the virtual button displayed on the display screen of the terminal detecting terminal . For the terminal, it is possible to have both a pressure screen, a physical button provided with a pressure sensor, and a virtual button corresponding to the pressure sensor, or only one or both of them.
在存在多个可以被光标选中的对象时,下一个对象可以随机选取,也可以按照预定的顺序选取。在光标选中的对象的下方存在其他对象的情况下,终端确定下一个对象为光标选中的对象下方的其他对象中由上至下次序的第一个对象;在光标选中的对象的下方不存在其他对象,而在光标选中的对象的上方存在其他对象的情况下,终端确定下一个对象为光标选中的对象上方的其他对象中由上至下次序的第一个对象。When there are multiple objects that can be selected by the cursor, the next object can be randomly selected or selected in a predetermined order. In the case that there are other objects below the object selected by the cursor, the terminal determines that the next object is the first object in the top-to-bottom order of other objects below the object selected by the cursor; there is no other object below the object selected by the cursor The object, in the case where there are other objects above the object selected by the cursor, the terminal determines that the next object is the first object in the top-to-bottom order among the other objects above the object selected by the cursor.
以对象为输入框为例,在当前显示的页面中,光标选中的输入框的下方存在其他输入框的情况下,则可以确定下一个输入框为光标选中的输入框下方的第一个输入框;在当前显示的页面中,光标选中的输入框的下方不存在其他输入框,而光标选中的输入框的上方存在其他输入框的情况下,则可以确定下一个输入框为当前显示的页面中光标选中的输入框上方的第一个输入框。通过这种方式,可以实现在多个输入框之间按照由上至下的顺序逐一的光标选中切换。Taking the object as an input box as an example, in the case that there is another input box below the input box selected by the cursor in the currently displayed page, it can be determined that the next input box is the first input box below the input box selected by the cursor. In the currently displayed page, there is no other input box below the input box selected by the cursor, and if there are other input boxes above the input box selected by the cursor, it can be determined that the next input box is in the currently displayed page. The first input box above the input box selected by the cursor. In this way, it is possible to achieve a one-to-one cursor selection switching between a plurality of input boxes in a top-to-bottom order.
需要说明的是,上述的顺序仅为示例性说明,在实施过程中的切换顺序是可以变换为其他顺序的。It should be noted that the above sequence is merely an exemplary description, and the switching sequence in the implementation process may be converted into other sequences.
终端当前显示的页面包括在终端显示屏上当前呈现的可视区域,以及由于终端的显示区域有限而无法同屏呈现的非可视区域,或者被其他界面(例如输入法界面,其他窗口界面等)遮挡而导致当前未能呈现的非可视区域。在切换对象时,下一个对象可能并不处于可视区域。为了提供更好的用户体验,可选地,在切换到下一个对象之后,终端可以判断下一个对象是否处于终端显示屏上的可视区域内;在判断到下一个对象未处于可视区域内的情况下,还可以通过滚动页面、放大/缩小页面的方式将下一个对象调整至可视区域内,以及可以采用合适的大小展示在可视区域的中心区 域。The currently displayed page of the terminal includes a visible area currently presented on the terminal display screen, and a non-visible area that cannot be presented on the same screen due to limited display area of the terminal, or is used by other interfaces (eg, input method interface, other window interface, etc.) Blocking the non-visible area that is currently not rendered. When you switch objects, the next object may not be in the visible area. In order to provide a better user experience, optionally, after switching to the next object, the terminal can determine whether the next object is in the visible area on the terminal display screen; when it is determined that the next object is not in the visible area In the case of scrolling the page, zooming in/out of the page, the next object can be adjusted into the visible area, and the appropriate size can be displayed in the central area of the visible area. area.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到根据上述实施例的方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本发明的技术方案本质上或者说对相关技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端设备(可以是手机,计算机,服务器,或者网络设备等)执行本发明各个实施例的方法。Through the description of the above embodiments, those skilled in the art can clearly understand that the method according to the above embodiment can be implemented by means of software plus a necessary general hardware platform, and of course, by hardware, but in many cases, the former is A better implementation. Based on such understanding, the technical solution of the present invention in essence or the contribution to the related art can be embodied in the form of a software product stored in a storage medium (such as ROM/RAM, disk, CD-ROM). The instructions include a number of instructions for causing a terminal device (which may be a cell phone, computer, server, or network device, etc.) to perform the methods of various embodiments of the present invention.
在本实施例中还提供了一种光标选中的对象的切换装置,应用于终端,该装置用于实现上述实施例及优选实施方式,已经进行过说明的不再赘述。如以下所使用的,术语“模块”可以实现预定功能的软件和/或硬件的组合。尽管以下实施例所描述的装置较佳地以软件来实现,但是硬件,或者软件和硬件的组合的实现也是可能并被构想的。In this embodiment, a switching device for the object selected by the cursor is provided, which is applied to the terminal, and the device is used to implement the foregoing embodiments and preferred embodiments, and details are not described herein. As used below, the term "module" may implement a combination of software and/or hardware of a predetermined function. Although the apparatus described in the following embodiments is preferably implemented in software, hardware, or a combination of software and hardware, is also possible and contemplated.
图2是根据本发明实施例的光标选中的对象的切换装置的结构框图,如图2所示,该装置包括:检测模块22和切换模块24,其中,检测模块22,设置为检测接收到的输入操作的压力特征;切换模块24,耦合至检测模块22,设置为在压力特征满足预定条件的情况下,终端将终端当前显示的页面内光标选中的对象切换为下一个对象。2 is a structural block diagram of a switching device for a cursor-selected object according to an embodiment of the present invention. As shown in FIG. 2, the device includes: a detecting module 22 and a switching module 24, wherein the detecting module 22 is configured to detect the received The pressure characteristic of the input operation; the switching module 24 is coupled to the detecting module 22, and is configured to switch the object selected by the cursor currently displayed by the terminal to the next object if the pressure characteristic satisfies the predetermined condition.
可选地,检测模块22包括以下至少之一:第一检测单元222,设置为检测在终端的压力屏的预定区域内接收到的输入操作的压力特征;第二检测单元224,设置为检测由终端的物理按键上的压力传感器接收到的输入操作的压力特征;第三检测单元226,设置为检测终端的显示屏上显示的虚拟按键对应的压力传感器接收到的输入操作的压力特征。Optionally, the detecting module 22 comprises at least one of the following: a first detecting unit 222 configured to detect a pressure feature of the input operation received in a predetermined area of the pressure screen of the terminal; and a second detecting unit 224 configured to detect The pressure characteristic of the input operation received by the pressure sensor on the physical button of the terminal; the third detecting unit 226 is configured to detect the pressure characteristic of the input operation received by the pressure sensor corresponding to the virtual button displayed on the display screen of the terminal.
可选地,切换模块24可以包括:第一确定单元242,设置为在光标选中的对象的下方存在其他对象的情况下,终端确定下一个对象为光标选中的对象下方的其他对象中由上至下次序的第一个对象;第二确定单元244,设置为在光标选中的对象的下方不存在其他对象,而在光标选中的对象的 上方存在其他对象的情况下,终端确定下一个对象为光标选中的对象上方的其他对象中由上至下次序的第一个对象。在确定下一个对象后,切换模块24将光标选中的对象切换为确定的下一个对象。Optionally, the switching module 24 may include: a first determining unit 242, configured to determine that the next object is the other object below the object selected by the cursor from the top to the other object under the object selected by the cursor The first object of the next order; the second determining unit 244 is configured to have no other objects below the object selected by the cursor, but the object selected by the cursor In the case where there are other objects above, the terminal determines that the next object is the first object in the top-to-bottom order among the other objects above the object selected by the cursor. After determining the next object, the switching module 24 switches the object selected by the cursor to the determined next object.
图3是根据本发明实施例的光标选中的对象的切换装置的可选结构框图,如图3所示,可选地,装置还包括:判断模块32,耦合至切换模块24,设置为判断下一个对象是否处于终端的可视区域内;调整模块34,耦合至判断模块32,设置为在判断到下一个对象未处于可视区域内的情况下,将下一个对象调整至可视区域内。FIG. 3 is a block diagram showing an optional structure of a switching device for a cursor selected object according to an embodiment of the present invention. As shown in FIG. 3, the device further includes: a determining module 32 coupled to the switching module 24 and configured to determine Whether an object is within the viewable area of the terminal; the adjustment module 34, coupled to the decision module 32, is configured to adjust the next object to the viewable area if it is determined that the next object is not within the viewable area.
可选地,上述的对象包括但不限于以下至少之一:输入框、选择项。切换模块24设置为:在对象为输入框,且压力特征满足预定条件的情况下,将终端当前显示的页面内光标选中的输入框切换为下一个输入框。Optionally, the foregoing objects include, but are not limited to, at least one of the following: an input box, an option. The switching module 24 is configured to switch the input box selected by the cursor currently displayed by the terminal to the next input box if the object is an input box and the pressure feature satisfies a predetermined condition.
可选地,上述的压力特征包括但不限于以下至少之一:按压压力值、按压时长、按压点的数量。Optionally, the pressure characteristics described above include, but are not limited to, at least one of: a pressing pressure value, a pressing duration, and a number of pressing points.
需要说明的是,上述各个模块是可以通过软件或硬件来实现的,对于后者,可以通过以下方式实现,但不限于此:上述模块均位于同一处理器中;或者,上述模块分别位于多个处理器中。It should be noted that each of the above modules may be implemented by software or hardware. For the latter, the foregoing may be implemented by, but not limited to, the foregoing modules are all located in the same processor; or, the modules are located in multiple In the processor.
在本实施例中还提供了一种终端,图4是根据本发明实施例的终端的结构框图,如图4所示,该终端包括:显示器42、压力传感器44和处理器46,其中,压力传感器44,与处理器46连接,设置为检测输入操作,将检测到的输入操作转换成第一电信号,并将第一电信号发送至处理器46;处理器46,与显示器42连接,设置为从第一电信号中解析输入操作的压力特征,并在压力特征满足预定条件的情况下,发送第二电信号至显示器42;显示器42,设置为根据第二电信号,将终端当前显示的页面内光标选中的对象切换为下一个对象。In this embodiment, a terminal is further provided. FIG. 4 is a structural block diagram of a terminal according to an embodiment of the present invention. As shown in FIG. 4, the terminal includes: a display 42, a pressure sensor 44, and a processor 46, wherein the pressure The sensor 44 is coupled to the processor 46, configured to detect an input operation, convert the detected input operation into a first electrical signal, and transmit the first electrical signal to the processor 46; the processor 46 is coupled to the display 42 and configured To parse the pressure characteristic of the input operation from the first electrical signal, and send a second electrical signal to the display 42 if the pressure characteristic satisfies a predetermined condition; the display 42 is configured to display the terminal currently according to the second electrical signal The object selected by the cursor in the page is switched to the next object.
可选地,压力传感器44与显示器42为一体设计的压力触控屏。Optionally, the pressure sensor 44 and the display 42 are integrally designed pressure touch screens.
可选地,终端还包括:物理按键,其中,压力传感器44设置在物理按键上。例如,在物理按键的表面设置一个压力传感器44,在按压物理按 键时,压力传感器44同时被按压,压力传感器44在被按压时可以检测按压压力值、按压时长或者按压点的数量等压力特征。Optionally, the terminal further includes: a physical button, wherein the pressure sensor 44 is disposed on the physical button. For example, a pressure sensor 44 is placed on the surface of the physical button, and the physical button is pressed. At the time of the key, the pressure sensor 44 is simultaneously pressed, and the pressure sensor 44 can detect pressure characteristics such as the pressing pressure value, the pressing duration, or the number of pressing points when pressed.
本发明的实施例还提供了一种软件,该软件用于执行上述实施例及优选实施方式中描述的技术方案。Embodiments of the present invention also provide a software for performing the technical solutions described in the above embodiments and preferred embodiments.
本发明的实施例还提供了一种存储介质。在本实施例中,上述存储介质可以被设置为存储用于执行以下步骤的程序代码:Embodiments of the present invention also provide a storage medium. In this embodiment, the above storage medium may be configured to store program code for performing the following steps:
步骤S102,终端检测接收到的输入操作的压力特征;Step S102, the terminal detects a pressure characteristic of the received input operation;
步骤S104,在压力特征满足预定条件的情况下,终端将终端当前显示的页面内光标选中的对象切换为下一个对象。Step S104: If the pressure feature satisfies the predetermined condition, the terminal switches the object selected by the cursor in the page currently displayed by the terminal to the next object.
可选地,在本实施例中,上述存储介质可以包括但不限于:U盘、只读存储器(Read-Only Memory,简称为ROM)、随机存取存储器(Random Access Memory,简称为RAM)、移动硬盘、磁碟或者光盘等各种可以存储程序代码的介质。Optionally, in the embodiment, the foregoing storage medium may include, but is not limited to, a USB flash drive, a Read-Only Memory (ROM), and a Random Access Memory (RAM). A variety of media that can store program code, such as a hard disk, a disk, or an optical disk.
可选地,本实施例中的具体示例可以参考上述实施例及可选实施方式中所描述的示例,本实施例在此不再赘述。For example, the specific examples in this embodiment may refer to the examples described in the foregoing embodiments and the optional embodiments, and details are not described herein again.
为了使本发明实施例的描述更加清楚,下面结合可选实施例进行描述和说明。In order to make the description of the embodiments of the present invention more clear, the following description and description are made in conjunction with the exemplary embodiments.
本发明可选实施例中将上述光标选中的对象的切换方法应用在切换输入框的场景中,并以压力特征为按压压力值为例进行示例性描述。需要说明的是,将本发明应用在其他的场景中,或者压力特征采用按压时长,或者压力特征采用按压压力值和按压时长或者其他的压力特征的结合的方案也是可以被构想的。In the optional embodiment of the present invention, the switching method of the object selected by the cursor is applied to the scenario of the switching input box, and the pressure characteristic is taken as an example of the pressing pressure value. It should be noted that the application of the present invention to other scenarios, or the use of a compression feature for the pressure feature, or a combination of the pressure feature with the compression pressure value and the compression duration or other pressure features is also contemplated.
针对对多个输入框进行输入时需要手动切换输入框甚至需要调整界面和隐藏输入法的问题,在本发明可选实施例中提出了一种基于压力屏的手机输入区域快速切换的方法,以实现手机的快速输入。In the optional embodiment of the present invention, a method for quickly switching between input areas of a mobile phone based on a pressure screen is proposed, in which an input interface is manually input when inputting a plurality of input boxes, and a problem of adjusting an interface and a hidden input method is required. Achieve fast input to your phone.
本发明可选实施例中,当用户进行输入时,可以实时监控压力屏的压 力,当达到预定阈值时,则切换到最近的下一个输入框,并且可以通过调整页面将输入框移动到输入法上方的合适位置,可以实现一步快速切换,简化用户操作,改善用户体验。In an optional embodiment of the present invention, when the user inputs, the pressure of the pressure screen can be monitored in real time. Force, when the predetermined threshold is reached, then switch to the nearest next input box, and the input box can be moved to the appropriate position above the input method by adjusting the page, which can realize one-step fast switching, simplify user operation, and improve user experience.
例如,当用户输入完毕后对压力屏施加压力,压力屏把捕获的压力数据上传给当前开启的多输入框的应用。多输入框的应用判断捕捉到的压力是否超过阈值。如果压力超过了阈值,则开启输入框自动切换的功能。接着判断除当前输入框外是否还有其他输入框,若有则继续判断当前输入框下方是否有其他输入框,若有则切换到最近的下一个输入框,若下方没有其他输入框但上方有,则切换到最上方的输入框,继而计算输入框的位置,接着调整页面将输入框呈现在输入法上方合适的位置,实现输入框的快速切换。For example, when the user inputs pressure to apply pressure to the pressure screen, the pressure screen uploads the captured pressure data to the currently open multi-entry box application. The application of the multi-input box determines if the captured pressure exceeds a threshold. If the pressure exceeds the threshold, the function of automatically switching the input box is turned on. Then, it is determined whether there are other input boxes besides the current input box, and if so, whether to judge whether there are other input boxes below the current input box, and if so, switch to the next input box, if there is no other input box below, but there is , then switch to the top input box, and then calculate the position of the input box, then adjust the page to present the input box at the appropriate position above the input method to achieve fast switching of the input box.
例如,当用户输入完毕后对Back键(即返回上一页功能键)施加压力,Back键上的压力传感器实时检测是否有被按压,并把捕获的压力数据上传给当前开启的多输入框的应用。多输入框的应用判断捕捉到的压力是否超过阈值。如果压力超过了阈值,则多输入框的应用,将光标移动到下一输入框。接着继续判断下一输入框是否不在可视区内,如果下一输入框不在可视区内,如被输入法遮挡住了,则将下一输入框移到可视区域。For example, when the user inputs the pressure on the Back key (ie, returns to the previous page function key), the pressure sensor on the Back key detects whether it has been pressed in real time, and uploads the captured pressure data to the currently open multi-input box. application. The application of the multi-input box determines if the captured pressure exceeds a threshold. If the pressure exceeds the threshold, the application of the multi-input box moves the cursor to the next input box. Then continue to determine whether the next input box is not in the visible area. If the next input box is not in the visible area, if it is blocked by the input method, move the next input box to the visible area.
需要说明的是,上述实例中仅以Back键为例进行描述,结合其他的物理按键应用上述实例也是可以被构想的,例如:Home键(即返回主页功能键)等。It should be noted that, in the above example, only the Back key is taken as an example, and the above examples can also be conceived in combination with other physical keys, such as a Home key (ie, returning to the home function key).
又例如,当用户输入完毕后对虚拟按键施加压力,监测虚拟按键上的压力并把捕获的压力数据上传给当前开启的多输入框的应用。多输入框的应用判断捕捉到的压力是否超过阈值。如果压力超过了阈值,则多输入框的应用,将光标移动到下一输入框。接着继续判断下一输入框是否不在可视区内,如果下一输入框不在可视区内,如被输入法遮挡住了,则将下一输入框移到可视区域。For another example, when the user inputs, pressure is applied to the virtual button, the pressure on the virtual button is monitored, and the captured pressure data is uploaded to the currently open multi-entry box application. The application of the multi-input box determines if the captured pressure exceeds a threshold. If the pressure exceeds the threshold, the application of the multi-input box moves the cursor to the next input box. Then continue to determine whether the next input box is not in the visible area. If the next input box is not in the visible area, if it is blocked by the input method, move the next input box to the visible area.
上述的虚拟按键可以是触控显示屏上显示的输入法键盘中的某一个虚拟按键。 The virtual button may be any one of the input method keyboards displayed on the touch display screen.
下面结合附图对上述举例的三种应用场景进行描述和说明。The following three application scenarios of the above examples are described and illustrated in conjunction with the accompanying drawings.
本实施例提供了基于压力屏的手机输入区域快速切换的流程图,即实现电脑tab键的功能,参考图5,图5为本实施例的流程示意图,该流程包括如下步骤:This embodiment provides a flow chart of the fast switching of the input area of the mobile phone based on the pressure screen, that is, the function of realizing the tab key of the computer. Referring to FIG. 5, FIG. 5 is a schematic flowchart of the embodiment, and the process includes the following steps:
步骤S501:手机切换到输入界面,准备输入;Step S501: The mobile phone switches to the input interface to prepare for input;
步骤S502:点击输入框,弹出输入法,开始输入;Step S502: Click the input box to pop up the input method and start inputting;
步骤S503:判断输入是否结束;Step S503: determining whether the input ends;
步骤S504:若继续输入,则判断压力屏受到的压力是否达到预定阈值;Step S504: If the input is continued, it is determined whether the pressure received by the pressure screen reaches a predetermined threshold;
步骤S505:若压力达到预定阈值,则继续判断当前输入界面除当前输入框外是否还有其他输入框;Step S505: If the pressure reaches a predetermined threshold, continue to determine whether there is another input box in the current input interface except the current input box;
步骤S506:判断当前输入框下面是否还有其他输入框;Step S506: determining whether there are other input boxes below the current input box;
步骤S507:若当前输入框下面还有其他输入框,则将焦点移到距当前输入框最近的输入框进行输入;Step S507: If there are other input boxes below the current input box, the focus is moved to the input box closest to the current input box for input;
步骤S508:若当前输入框下面没有其他输入框,则判断上方是否有其他输入框;Step S508: If there is no other input box below the current input box, it is determined whether there are other input boxes above;
步骤S509:若当前输入框上方有其他输入框,则将焦点移动到最上方的输入框进行输入;Step S509: If there are other input boxes above the current input box, move the focus to the uppermost input box for input;
步骤S510:将该输入框移动到输入法上方适当的位置,返回步骤S503;Step S510: Move the input box to an appropriate position above the input method, and return to step S503;
步骤S511:输入结束,流程结束。Step S511: The input ends, and the flow ends.
本实施例以Back键为例来阐述如何通过物理按键上的压力数据来实现多输入框的移动,即实现电脑tab键的功能。In this embodiment, the Back key is taken as an example to illustrate how to implement the movement of the multi-input box by the pressure data on the physical button, that is, the function of the computer tab key.
图6为通过本发明可选实施例提供的方案实现输入框快捷移动的流程图,如图6所示,该流程包括如下步骤: FIG. 6 is a flowchart of implementing a shortcut movement of an input box by using a solution provided by an alternative embodiment of the present invention. As shown in FIG. 6, the process includes the following steps:
步骤S601,Back键上的压力传感器实时检测是否有被按压,并把捕获的压力数据上传给当前开启的多输入框的应用。In step S601, the pressure sensor on the Back button detects whether there is a press in real time, and uploads the captured pressure data to the currently open multi-input box application.
步骤S602,多输入框的应用判断捕捉到的压力是否超过阈值,如果没有则返回步骤S601。In step S602, the application of the multi-input box determines whether the captured pressure exceeds a threshold, and if not, returns to step S601.
步骤S603,如果压力超过了阈值,则多输入框的应用,将光标移动到下一输入框。In step S603, if the pressure exceeds the threshold, the application of the multi-input box moves the cursor to the next input box.
步骤S604,判断下一输入框是否不在可视区内;Step S604, determining whether the next input box is not in the visible area;
步骤S605,如果下一输入框不在可视区内,如被输入法遮挡住了,则将下一输入框移到可视区域。In step S605, if the next input box is not in the visible area, if the input method is blocked, the next input box is moved to the visible area.
本实施例以虚拟按键为例来阐述如何通过该键上的压力数据来实现多输入框的移动,即实现电脑tab键的功能。In this embodiment, a virtual button is taken as an example to illustrate how to implement the movement of the multi-entry box by using the pressure data on the key, that is, the function of the computer tab key.
图7为通过本发明可选实施例提供的方案实现输入框快捷移动的流程图。如图7所示,该流程包括如下步骤:FIG. 7 is a flow chart of implementing a shortcut movement of an input box by using a solution provided by an alternative embodiment of the present invention. As shown in FIG. 7, the process includes the following steps:
步骤S701,实时检测虚拟按键是否有被按压,并把捕获的压力数据上传给当前开启的多输入框的应用。In step S701, it is detected in real time whether the virtual button is pressed, and the captured pressure data is uploaded to the currently open multi-input box application.
步骤S702,多输入框的应用判断捕捉到的压力是否超过阈值,如果没有则返回步骤S701。In step S702, the application of the multi-input box determines whether the captured pressure exceeds a threshold, and if not, returns to step S701.
步骤S703,如果压力超过了阈值,则多输入框的应用,将光标移动到下一输入框。Step S703, if the pressure exceeds the threshold, the application of the multi-input box moves the cursor to the next input box.
步骤S704,判断下一输入框是否不在可视区内;Step S704, determining whether the next input box is not in the visible area;
步骤S705,如果下一输入框不在可视区内,如被输入法遮挡住了,则将下一输入框移到可视区域。Step S705, if the next input box is not in the visible area, if it is blocked by the input method, the next input box is moved to the visible area.
综上所述,通过本发明的上述实施例和实施方式,实现了光标选中的对象的快速切换,提升了用户体验。In summary, through the foregoing embodiments and implementation manners of the present invention, fast switching of objects selected by the cursor is achieved, and the user experience is improved.
显然,本领域的技术人员应该明白,上述的本发明的各模块或各步骤 可以用通用的计算装置来实现,它们可以集中在单个的计算装置上,或者分布在多个计算装置所组成的网络上,可选地,它们可以用计算装置可执行的程序代码来实现,从而,可以将它们存储在存储装置中由计算装置来执行,并且在某些情况下,可以以不同于此处的顺序执行所示出或描述的步骤,或者将它们分别制作成各个集成电路模块,或者将它们中的多个模块或步骤制作成单个集成电路模块来实现。这样,本发明不限制于任何特定的硬件和软件结合。It will be apparent to those skilled in the art that the various modules or steps of the invention described above are apparent. It can be implemented by a general-purpose computing device, which can be centralized on a single computing device or distributed over a network of multiple computing devices. Alternatively, they can be implemented by program code executable by the computing device, such that They may be stored in a storage device by a computing device, and in some cases, the steps shown or described may be performed in an order different than that herein, or separately fabricated into individual integrated circuit modules. Alternatively, multiple modules or steps of them can be implemented as a single integrated circuit module. Thus, the invention is not limited to any specific combination of hardware and software.
以上仅为本发明的优选实施例而已,并不用于限制本发明,对于本领域的技术人员来说,本发明可以有各种更改和变化。凡在本发明的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。The above are only the preferred embodiments of the present invention, and are not intended to limit the present invention, and various modifications and changes can be made to the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and scope of the present invention are intended to be included within the scope of the present invention.
工业实用性Industrial applicability
在本发明实施例中,采用终端检测接收到的输入操作的压力特征;在压力特征满足预定条件的情况下,终端将终端当前显示的页面内光标选中的对象切换为下一个对象的方式,解决了待光标选中的对象不在可视区域内导致的用户的操作体验差的问题,提高了用户的体验和操作效率。 In the embodiment of the present invention, the terminal detects the pressure characteristic of the received input operation; if the pressure characteristic satisfies the predetermined condition, the terminal switches the object selected by the cursor currently displayed by the terminal to the next object, and solves the problem. The problem that the object selected by the cursor is not in the visible area and the user's operation experience is poor, improves the user experience and operation efficiency.

Claims (14)

  1. 一种光标选中的对象的切换方法,包括:A method for switching an object selected by a cursor, comprising:
    终端检测接收到的输入操作的压力特征;The terminal detects a pressure characteristic of the received input operation;
    在所述压力特征满足预定条件的情况下,所述终端将所述终端当前显示的页面内光标选中的对象切换为下一个对象。In a case that the pressure feature satisfies a predetermined condition, the terminal switches the object selected by the cursor currently displayed by the terminal to the next object.
  2. 根据权利要求1所述的方法,其中,所述终端检测接收到的所述输入操作的所述压力特征包括以下至少之一:The method of claim 1, wherein the terminal detects that the pressure characteristic of the received input operation comprises at least one of:
    所述终端检测在所述终端的压力屏的预定区域内接收到的所述输入操作的所述压力特征;The terminal detects the pressure characteristic of the input operation received in a predetermined area of a pressure screen of the terminal;
    所述终端检测由所述终端的物理按键上的压力传感器接收到的所述输入操作的所述压力特征;The terminal detects the pressure characteristic of the input operation received by a pressure sensor on a physical button of the terminal;
    所述终端检测所述终端的显示屏上显示的虚拟按键对应的压力传感器接收到的所述输入操作的所述压力特征。The terminal detects the pressure feature of the input operation received by a pressure sensor corresponding to a virtual button displayed on a display screen of the terminal.
  3. 根据权利要求1所述的方法,其中,所述终端将所述终端当前显示的页面内光标选中的对象切换为所述下一个对象还包括:The method of claim 1, wherein the switching the object selected by the cursor currently displayed by the terminal to the next object further comprises:
    在光标选中的对象的下方存在其他对象的情况下,所述终端确定所述下一个对象为光标选中的对象下方的其他对象中由上至下次序的第一个对象;In the case that there are other objects below the object selected by the cursor, the terminal determines that the next object is the first object in the top-to-bottom order among other objects below the object selected by the cursor;
    在光标选中的对象的下方不存在其他对象,而在光标选中的对象的上方存在其他对象的情况下,所述终端确定所述下一个对象为所述光标选中的对象上方的其他对象中由上至下次序的第一个对象。There is no other object below the object selected by the cursor, and if there are other objects above the object selected by the cursor, the terminal determines that the next object is the other object above the object selected by the cursor. The first object in the order below.
  4. 根据权利要求1所述的方法,其中,在所述终端将所述终端当前显示的页面内光标选中的对象切换为所述下一个对象之后,所述 方法还包括:The method according to claim 1, wherein after the terminal switches the object selected by the cursor currently displayed by the terminal to the next object, the The method also includes:
    所述终端判断所述下一个对象是否处于所述终端的可视区域内;Determining, by the terminal, whether the next object is in a visible area of the terminal;
    在判断到所述下一个对象未处于所述可视区域内的情况下,所述终端将所述下一个对象调整至所述可视区域内。In a case where it is determined that the next object is not in the visible area, the terminal adjusts the next object into the visible area.
  5. 根据权利要求1所述的方法,其中,所述对象包括以下至少之一:输入框、选择项。The method of claim 1 wherein the object comprises at least one of: an input box, a selection.
  6. 根据权利要求1至5中任一项所述的方法,其中,所述压力特征包括以下至少之一:The method of any of claims 1 to 5, wherein the pressure characteristic comprises at least one of:
    按压压力值、按压时长、按压点的数量。The pressure value, the duration of pressing, and the number of pressing points.
  7. 一种光标选中的对象的切换装置,应用于终端,包括:A switching device for an object selected by a cursor is applied to a terminal, including:
    检测模块,设置为检测接收到的输入操作的压力特征;a detection module configured to detect a pressure characteristic of the received input operation;
    切换模块,设置为在所述压力特征满足预定条件的情况下,将所述终端当前显示的页面内光标选中的对象切换为下一个对象。The switching module is configured to switch the object selected by the cursor currently displayed by the terminal to the next object if the pressure feature satisfies a predetermined condition.
  8. 根据权利要求7所述的装置,其中,所述检测模块包括以下至少之一:The apparatus of claim 7, wherein the detection module comprises at least one of:
    第一检测单元,设置为检测在所述终端的压力屏的预定区域内接收到的所述输入操作的所述压力特征;a first detecting unit configured to detect the pressure characteristic of the input operation received in a predetermined area of a pressure screen of the terminal;
    第二检测单元,设置为检测由所述终端的物理按键上的压力传感器接收到的所述输入操作的所述压力特征;a second detecting unit configured to detect the pressure characteristic of the input operation received by a pressure sensor on a physical button of the terminal;
    第三检测单元,设置为检测所述终端的显示屏上显示的虚拟按键对应的压力传感器接收到的所述输入操作的所述压力特征。 And a third detecting unit configured to detect the pressure feature of the input operation received by a pressure sensor corresponding to the virtual button displayed on the display screen of the terminal.
  9. 根据权利要求7所述的装置,其中,所述切换模块还包括:The device of claim 7, wherein the switching module further comprises:
    第一确定单元,设置为在光标选中的对象的下方存在其他对象的情况下,所述终端确定所述下一个对象为光标选中的对象下方的其他对象中由上至下次序的第一个对象;a first determining unit configured to: in the case where there are other objects below the object selected by the cursor, the terminal determines that the next object is the first object in the top-to-bottom order among other objects below the object selected by the cursor ;
    第二确定单元,设置为在光标选中的对象的下方不存在其他对象,而在光标选中的对象的上方存在其他对象的情况下,所述终端确定所述下一个对象为所述光标选中的对象上方的其他对象中由上至下次序的第一个对象。a second determining unit, configured to not have other objects below the object selected by the cursor, and in the case that there are other objects above the object selected by the cursor, the terminal determines that the next object is the object selected by the cursor The first object in the top-to-bottom order of the other objects above.
  10. 根据权利要求7所述的装置,其中,所述装置还包括:The apparatus of claim 7 wherein said apparatus further comprises:
    判断模块,设置为判断所述下一个对象是否处于所述终端的可视区域内;a determining module, configured to determine whether the next object is in a visible area of the terminal;
    调整模块,设置为在判断到所述下一个对象未处于所述可视区域内的情况下,将所述下一个对象调整至所述可视区域内。The adjustment module is configured to adjust the next object to the visible area if it is determined that the next object is not in the visible area.
  11. 根据权利要求7所述的装置,其中,The apparatus according to claim 7, wherein
    所述切换模块设置为:在所述对象为输入框,且所述压力特征满足预定条件的情况下,将所述终端当前显示的页面内光标选中的输入框切换为下一个输入框。The switching module is configured to: when the object is an input box, and the pressure feature satisfies a predetermined condition, switch the input box selected by the cursor currently displayed by the terminal to the next input box.
  12. 一种终端,包括:显示器、压力传感器和处理器,其中,A terminal includes: a display, a pressure sensor, and a processor, wherein
    所述压力传感器,与所述处理器连接,设置为检测输入操作,将检测到的所述输入操作转换成第一电信号,并将所述第一电信号发送至所述处理器;The pressure sensor is connected to the processor, configured to detect an input operation, convert the detected input operation into a first electrical signal, and send the first electrical signal to the processor;
    所述处理器,与所述显示器连接,设置为从所述第一电信号中解析所述输入操作的压力特征,并在所述压力特征满足预定条件的情况 下,发送第二电信号至所述显示器;The processor, coupled to the display, configured to parse a pressure characteristic of the input operation from the first electrical signal and to condition that the pressure characteristic satisfies a predetermined condition Sending a second electrical signal to the display;
    所述显示器,设置为根据所述第二电信号,将所述终端当前显示的页面内光标选中的对象切换为下一个对象。The display is configured to switch, according to the second electrical signal, an object selected by a cursor in a page currently displayed by the terminal to a next object.
  13. 根据权利要求12所述的终端,其中,所述压力传感器与所述显示器为一体设计的压力触控屏。The terminal of claim 12, wherein the pressure sensor and the display are integrally designed pressure touch screens.
  14. 根据权利要求12所述的终端,其中,所述终端还包括:物理按键,其中,所述压力传感器设置在所述物理按键上。 The terminal of claim 12, wherein the terminal further comprises: a physical button, wherein the pressure sensor is disposed on the physical button.
PCT/CN2016/104379 2015-12-18 2016-11-02 Cursor selected object switching method, device and terminal WO2017101604A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201510960895.8A CN106896976A (en) 2015-12-18 2015-12-18 The changing method of the object that cursor is chosen, device and terminal
CN201510960895.8 2015-12-18

Publications (1)

Publication Number Publication Date
WO2017101604A1 true WO2017101604A1 (en) 2017-06-22

Family

ID=59055706

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/104379 WO2017101604A1 (en) 2015-12-18 2016-11-02 Cursor selected object switching method, device and terminal

Country Status (2)

Country Link
CN (1) CN106896976A (en)
WO (1) WO2017101604A1 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107765980A (en) * 2017-09-29 2018-03-06 珠海市魅族科技有限公司 Input method and device, terminal device and computer-readable recording medium
CN109151320B (en) * 2018-09-29 2022-04-22 联想(北京)有限公司 Target object selection method and device
CN113064518A (en) * 2021-03-30 2021-07-02 武汉飞恩微电子有限公司 Control method, device and equipment based on pressure sensor and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2008131544A1 (en) * 2007-04-26 2008-11-06 University Of Manitoba Pressure augmented mouse
CN101806174A (en) * 2010-03-22 2010-08-18 苏州瀚瑞微电子有限公司 Touch control type anti-theft device
CN104252303A (en) * 2013-06-27 2014-12-31 福建省辉锐材料科技有限公司 Method and system for operating games based on pressure sensitive information
CN104793788A (en) * 2015-03-31 2015-07-22 小米科技有限责任公司 Key operating method and device
CN105159556A (en) * 2015-08-27 2015-12-16 广东欧珀移动通信有限公司 Interface operation method and electronic terminal

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102566920B (en) * 2011-12-22 2014-06-25 惠州Tcl移动通信有限公司 Electronic device and control method thereof
CN105045411A (en) * 2015-08-27 2015-11-11 广东欧珀移动通信有限公司 Object control method and terminal
CN105159530B (en) * 2015-08-27 2018-09-04 广东欧珀移动通信有限公司 A kind of the display object switching method and device of application

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2008131544A1 (en) * 2007-04-26 2008-11-06 University Of Manitoba Pressure augmented mouse
CN101806174A (en) * 2010-03-22 2010-08-18 苏州瀚瑞微电子有限公司 Touch control type anti-theft device
CN104252303A (en) * 2013-06-27 2014-12-31 福建省辉锐材料科技有限公司 Method and system for operating games based on pressure sensitive information
CN104793788A (en) * 2015-03-31 2015-07-22 小米科技有限责任公司 Key operating method and device
CN105159556A (en) * 2015-08-27 2015-12-16 广东欧珀移动通信有限公司 Interface operation method and electronic terminal

Also Published As

Publication number Publication date
CN106896976A (en) 2017-06-27

Similar Documents

Publication Publication Date Title
US10447843B2 (en) Method, device and storage medium for setting position of function setting key of mobile terminal
WO2017096944A1 (en) Virtual keyboard based content input method and apparatus, and touch device
EP3232308A1 (en) Notification information processing method, device, and terminal
US10007375B2 (en) Portable apparatus and method for controlling cursor position on a display of a portable apparatus
KR102085309B1 (en) Method and apparatus for scrolling in an electronic device
CN102221958B (en) Object display method, object switching method and electronic equipment
WO2011088717A1 (en) Method and device for controlling mobile terminal browser
CN104317500A (en) Application icon arrangement method and device
WO2018119732A1 (en) Information processing method and apparatus
CN105589642B (en) Automatic input method switching system and method for palm electronic device
WO2017101604A1 (en) Cursor selected object switching method, device and terminal
KR20140106801A (en) Apparatus and method for supporting voice service in terminal for visually disabled peoples
CN103870160A (en) Information processing method and electronic device
WO2019137155A1 (en) Screen display mode switching method and device, storage medium and electronic device
CN104699532A (en) Method and device for rapidly starting and switching application program
JP2020500352A (en) Information display method, terminal, and storage medium
US20150109210A1 (en) Control method, and input device of touch screen terminal
US20230091771A1 (en) Device Control Method, Storage Medium, and Non-Transitory Computer-Readable Electronic Device
CN105930156A (en) Terminal control method and terminal
US10628031B2 (en) Control instruction identification method and apparatus, and storage medium
US10318131B2 (en) Method for scaling down effective display area of screen, and mobile terminal
US10911664B2 (en) Wireless device having dedicated rear panel control
CN104461216A (en) Information processing method and electronic device
US20170139588A1 (en) Method and device for switching keyboard style
CN106155614B (en) Operation information transmission method and electronic equipment

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

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

Country of ref document: EP

Kind code of ref document: A1