CN108491152B - Touch screen terminal control method, terminal and medium based on virtual cursor - Google Patents

Touch screen terminal control method, terminal and medium based on virtual cursor Download PDF

Info

Publication number
CN108491152B
CN108491152B CN201810142027.2A CN201810142027A CN108491152B CN 108491152 B CN108491152 B CN 108491152B CN 201810142027 A CN201810142027 A CN 201810142027A CN 108491152 B CN108491152 B CN 108491152B
Authority
CN
China
Prior art keywords
finger
virtual cursor
moving
touch screen
user
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201810142027.2A
Other languages
Chinese (zh)
Other versions
CN108491152A (en
Inventor
李帆
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Individual
Original Assignee
Individual
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 Individual filed Critical Individual
Priority to CN201810142027.2A priority Critical patent/CN108491152B/en
Publication of CN108491152A publication Critical patent/CN108491152A/en
Application granted granted Critical
Publication of CN108491152B publication Critical patent/CN108491152B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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/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
    • G06F3/04883Interaction 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 for inputting data by handwriting, e.g. gesture or text
    • 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

Abstract

The invention provides a touch screen terminal control method, a touch screen terminal control terminal and a touch screen terminal control medium based on a virtual cursor, wherein the touch screen terminal control method receives finger pressing operation input by a user in an operation area to generate the virtual cursor; receiving a first finger movement operation input by a user in an operation area, and controlling the movement of a virtual cursor according to a preset first movement proportion; and receiving the click operation input by the user in the operation area, controlling the object at the position of the virtual cursor to execute the click operation, and storing the position of the virtual cursor in the click operation. According to the method, the fingers of the user can directly move in the operation area, so that the virtual cursor can move in the touch screen of the whole mobile terminal, the operation area is small, the user can slide and click in the operation area with a small area by one hand, sliding and clicking in the touch screen of the whole mobile terminal are realized, and the defect that a large-screen mobile phone in the prior art cannot be operated by one hand is overcome.

Description

Touch screen terminal control method, terminal and medium based on virtual cursor
Technical Field
The invention relates to the technical field of application programs, in particular to a touch screen terminal control method, terminal and medium based on a virtual cursor.
Background
With the development of the smart phone era, more and more consumers tend to large-screen mobile phones from the viewpoint of user experience and entertainment effect. The screen of the existing smart phone reaches 6.5 inches, and compared with a small-screen mobile phone, a large-screen mobile phone has a better display effect no matter browsing a webpage, playing a mobile phone game or watching a video. Secondly, the screen touch of the large-screen mobile phone is more accurate, and under the condition of the same resolution, the larger the screen size is, the larger the distance for arranging the touch points is, the more the number of the touch points is, and the more the number of the touch points is, the more the touch screen is accurate.
However, the large-screen mobile phone has the problems that the mobile phone can not be operated by one hand, and is inconvenient to use especially for girls with small hands.
Disclosure of Invention
Aiming at the defects in the prior art, the invention provides a touch screen terminal control method, terminal and medium based on a virtual cursor, which are applied to a mobile terminal and can solve the defect that a large-screen mobile phone in the prior art can not be operated by a single hand.
In a first aspect, a touch screen terminal control method based on a virtual cursor includes:
receiving finger pressing operation input by a user in an operation area, and generating a virtual cursor;
receiving a first finger movement operation input by a user in an operation area, wherein the first finger movement operation comprises a first finger movement direction and a first finger movement distance, and controlling a virtual cursor to move along a first finger movement method according to a preset first movement ratio and the first finger movement distance;
and receiving the click operation input by the user in the operation area, controlling the object at the position of the virtual cursor to execute the click operation, and storing the position of the virtual cursor in the click operation.
Further, still include:
receiving a second finger moving operation input by the user in the operation area, wherein the second finger moving operation comprises a second finger moving direction and a second finger moving distance;
judging whether the object at the position of the virtual cursor supports sliding or not, if so, controlling the object at the position of the virtual cursor to slide along a second finger moving method according to a preset second moving proportion and a second finger moving distance;
the second finger movement operation of the object at this time is saved.
Further, after saving the second finger moving operation of the object, the method further comprises:
receiving a third finger movement operation input by the user in the area, wherein the third finger movement operation comprises a third finger movement direction and a third finger movement distance;
and judging whether the object has the second finger movement operation last time, if so, controlling the virtual cursor to slide along the third finger movement method according to a preset third movement proportion and a third finger movement distance.
Further, the operation area comprises an area arranged at the bottom of a touch screen in the mobile terminal;
the finger pressing operation comprises an operation of clicking an operation area in a touch screen of the mobile terminal by a finger;
the receiving a finger pressing operation input by a user in an operation area, and generating a virtual cursor specifically includes:
receiving finger pressing operation input by a user in an operation area, and reading the position of a virtual cursor in the last clicking operation of the user;
if the position of the virtual cursor is null in the last click operation, generating the virtual cursor at the click position of the finger in the finger pressing operation; otherwise, generating the virtual cursor at the position of the virtual cursor in the last click operation.
Further, the second finger moving direction includes a left sliding direction moving leftward by a moving angle of 150 ° to 210 °, and a right sliding direction moving rightward by a moving angle of more than 330 °, or less than 30 °; the moving angle is determined by a polar coordinate, the pole of the polar coordinate is the position of the finger clicking operation area, and the polar axis of the polar coordinate is in the horizontal rightward direction;
the second finger movement distance is a component of the finger movement distance in the lateral direction.
Further, the ratio of the finger moving distance to the virtual cursor moving distance in the first moving ratio is 1: (1-40);
the ratio of the finger moving distance to the sliding distance of the sliding block in the second moving ratio is 1: 1;
and in the third movement proportion, the ratio of the movement distance of the finger to the movement distance of the virtual cursor is 1: (1-40).
Further, after saving the position of the virtual cursor in the current click operation, the method further includes:
starting timing;
and clearing the stored virtual cursor position when the finger pressing operation input by the user in the operation area is not received before the timing time reaches the preset click duration threshold.
In a second aspect, a mobile terminal includes a processor, an input device, an output device, and a memory, the processor, the input device, the output device, and the memory are connected to each other, wherein the memory is used for storing a computer program, the computer program includes program instructions, and the processor is configured to call the program instructions to execute the above method.
In a third aspect, a computer-readable storage medium stores a computer program comprising program instructions which, when executed by a processor, cause the processor to perform the above-described method.
According to the technical scheme, the touch screen terminal control method, the terminal and the medium based on the virtual cursor provided by the invention have the advantages that the fingers of the user can directly move in the operation area, so that the virtual cursor can move in the touch screen of the whole mobile terminal, the operation area is small, the user can slide and click in the operation area with a small area by one hand, the sliding and clicking in the touch screen of the whole mobile terminal are realized, and the defect that a large-screen mobile phone in the prior art cannot be operated by one hand is overcome.
Drawings
In order to more clearly illustrate the detailed description of the invention or the technical solutions in the prior art, the drawings that are needed in the detailed description of the invention or the prior art will be briefly described below. Throughout the drawings, like elements or portions are generally identified by like reference numerals. In the drawings, elements or portions are not necessarily drawn to scale.
Fig. 1 is a flowchart of a method according to a first embodiment.
Fig. 2 is a flowchart of a method provided in the second embodiment.
Fig. 3 is a flowchart of a method provided in the third embodiment.
Fig. 4 is a flowchart of a method according to the fourth embodiment.
Fig. 5 is a flowchart of a method according to a sixth embodiment.
Fig. 6 is a flowchart of a method according to the seventh embodiment.
Fig. 7 is a block diagram of a terminal according to an eighth embodiment.
Detailed Description
Embodiments of the present invention will be described in detail below with reference to the accompanying drawings. The following examples are only for illustrating the technical solutions of the present invention more clearly, and therefore are only examples, and the protection scope of the present invention is not limited thereby. It is to be noted that, unless otherwise specified, technical or scientific terms used herein shall have the ordinary meaning as understood by those skilled in the art to which the invention pertains.
It will be understood that the terms "comprises" and/or "comprising," when used in this specification and the appended claims, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof.
It is also to be understood that the terminology used in the description of the invention herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention. As used in the specification of the present invention and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise.
As used in this specification and the appended claims, the term "if" may be interpreted contextually as "when", "upon" or "in response to a determination" or "in response to a detection". Similarly, the phrase "if it is determined" or "if a [ described condition or event ] is detected" may be interpreted contextually to mean "upon determining" or "in response to determining" or "upon detecting [ described condition or event ]" or "in response to detecting [ described condition or event ]".
In particular implementations, the terminals described in embodiments of the invention include, but are not limited to, other portable devices such as mobile phones, laptop computers, or tablet computers having touch sensitive surfaces (e.g., touch screen displays and/or touch pads). It should also be understood that in some embodiments, the device is not a portable communication device, but is a desktop computer having a touch-sensitive surface (e.g., a touch screen display and/or touchpad).
In the discussion that follows, a terminal that includes a display and a touch-sensitive surface is described. However, it should be understood that the terminal may include one or more other physical user interface devices such as a physical keyboard, mouse, and/or joystick.
The terminal supports various applications, such as one or more of the following: a drawing application, a presentation application, a word processing application, a website creation application, a disc burning application, a spreadsheet application, a gaming application, a telephone application, a video conferencing application, an email application, an instant messaging application, an exercise support application, a photo management application, a digital camera application, a web browsing application, a digital music player application, and/or a digital video player application.
Various applications that may be executed on the terminal may use at least one common physical user interface device, such as a touch-sensitive surface. One or more functions of the touch-sensitive surface and corresponding information displayed on the terminal can be adjusted and/or changed between applications and/or within respective applications. In this way, a common physical architecture (e.g., touch-sensitive surface) of the terminal can support various applications with user interfaces that are intuitive and transparent to the user.
The first embodiment is as follows:
referring to fig. 1, an embodiment provides a touch screen terminal control method based on a virtual cursor, including:
s1: receiving finger pressing operation input by a user in an operation area, and generating a virtual cursor;
in particular, the virtual cursor may take the form of a conventional vertical line, and may also be designed as a dot or other shape.
S2: receiving a first finger movement operation input by a user in an operation area, wherein the first finger movement operation comprises a first finger movement direction and a first finger movement distance, and controlling a virtual cursor to move along a first finger movement method according to a preset first movement ratio and the first finger movement distance;
specifically, the first finger moving operation refers to that a finger slides on a touch screen of the mobile terminal, when the finger slides on the touch screen, the virtual cursor moves on the screen along the finger sliding direction, and the moving proportion is determined by the first moving proportion. The first movement ratio is determined by the entire touch screen size and the operation area size. Most of the present handsets are rectangular with a length to width ratio of 16:9, or even 18: 9. The first movement ratio includes a lateral ratio and a longitudinal ratio. When the virtual cursor moves, the finger moves the same distance, and the distance of the virtual cursor moving in the longitudinal direction is larger than that of the virtual cursor moving in the transverse direction. For example, a lateral ratio of 1:1.5 and a longitudinal ratio of 1:2, when the finger moves 1cm both laterally and longitudinally on the touch screen, respectively, the virtual cursor moves 1.5cm laterally on the touch screen and 2cm longitudinally.
S3: and receiving the click operation input by the user in the operation area, controlling the object at the position of the virtual cursor to execute the click operation, and storing the position of the virtual cursor in the click operation.
Specifically, the click operation may be an operation of releasing the touch screen with a finger. When the user moves the finger so that the virtual cursor moves to the object desired to be clicked, the user releases the finger. For example, when a user wants to open a function, the user slides a finger to move the virtual cursor to a switch key position of the function, releases the finger, and clicks the switch key to open the function.
Specifically, if there is a slide-away operation after a horizontal slide operation is performed on the object supporting the slide in one first finger movement operation, it means that a click operation is not performed on the object, and the object returns to the set state before the horizontal slide.
Specifically, if an object supporting clicking exists in the operation area, and when the user inputs a finger pressing operation and just clicks on a certain object supporting clicking on the touch screen, a virtual cursor is generated immediately, and after the user clicks (i.e., releases the finger), the clicking operation is executed. Therefore, even if the user intends to click a certain key on a certain touch screen at the beginning (the conventional method is to directly click the key to realize the click function), by adopting the method, the virtual cursor is generated at the moment when the finger clicks the screen, and the click operation is executed at the moment when the finger releases the screen. Therefore, the method still keeps the original key click function from the user's view.
According to the touch screen terminal control method based on the virtual cursor, the fingers of the user can directly move in the operation area, so that the virtual cursor can move in the touch screen of the whole mobile terminal, the operation area is small, the user can slide and click in the operation area with a small area by a single hand, sliding and clicking in the touch screen of the whole mobile terminal are achieved, and the defect that a large-screen mobile phone in the prior art cannot be operated by the single hand is overcome.
Example two:
the touch screen terminal control method provided by the embodiment is additionally provided with the following steps on the basis of the first embodiment:
referring to fig. 2, after controlling the virtual cursor to move along the first finger moving method according to the preset first moving proportion and the first finger moving distance, the method further includes:
s11: receiving a second finger moving operation input by the user in the operation area, wherein the second finger moving operation comprises a second finger moving direction and a second finger moving distance;
s12: judging whether the object at the position of the virtual cursor supports sliding or not, if so, controlling the object at the position of the virtual cursor to slide along a second finger moving method according to a preset second moving proportion and a second finger moving distance;
s13: the second finger movement operation of the object at this time is saved.
Specifically, the present embodiment adds a function of moving an object supporting sliding by a virtual cursor. Wherein the object supporting sliding may be a slider. And when detecting that the object at the position of the current virtual cursor supports sliding and receiving the second finger movement operation, controlling the object to slide. The object supporting the sliding can be set by left-sliding or right-sliding.
Specifically, if the second finger movement operation is executed again after the execution of one click operation, whether the position of the virtual cursor exists at the previous time is judged, if yes, the touch screen terminal control method is not finished, and the second finger movement operation is cancelled.
Example three:
the method provided by the third embodiment is additionally provided with the following steps on the basis of the second embodiment:
referring to fig. 3, the method further includes, after the second finger moving operation of saving the object:
s21: receiving a third finger movement operation input by the user in the area, wherein the third finger movement operation comprises a third finger movement direction and a third finger movement distance;
s22: and judging whether the object has the second finger movement operation last time, if so, controlling the virtual cursor to slide along the third finger movement method according to a preset third movement proportion and a third finger movement distance.
Specifically, due to the many sliders, many options, such as qq's message information, appear when sliding, and multiple options such as set, delete, etc., appear when sliding left. The third finger movement operation is for clicking a certain option. And if the second finger movement operation of the object is detected to be executed last time while the third finger movement operation is received, only controlling the virtual cursor to move to the corresponding sorting item position without controlling the slider to move. And when the virtual cursor moves to the position of the sorting item, releasing the finger and executing clicking operation. This enables the function of clicking on the option in the slider.
Example four:
the touch screen terminal control method provided by the fourth embodiment is additionally provided with the following contents on the basis of other embodiments:
the operation area comprises an area arranged at the bottom of a touch screen in the mobile terminal;
specifically, the operation area is arranged at the bottom of the touch screen, which meets the use habits of most users, and preferably can be arranged at the lower left corner or the lower right corner. The area of the operation area is not too large, and the requirement of a user for one-hand operation can be met.
The finger pressing operation comprises an operation of clicking an operation area in a touch screen of the mobile terminal by a finger;
specifically, when the finger-click operation area is received, it is considered that the finger-click operation area is received.
Referring to fig. 4, the receiving a finger pressing operation input by a user in an operation area, and generating a virtual cursor specifically includes:
s31: receiving finger pressing operation input by a user in an operation area, and reading the position of a virtual cursor in the last clicking operation of the user;
s32: if the position of the virtual cursor is null in the last click operation, generating the virtual cursor at the click position of the finger in the finger pressing operation; otherwise, generating the virtual cursor at the position of the virtual cursor in the last click operation.
Specifically, when the user inputs the finger pressing operation for the first time, the position of the virtual cursor in the last click operation is null, and the virtual cursor is generated at the finger pressing position and moves from the finger pressing position. And if the position of the virtual cursor exists in the last click operation, generating the virtual cursor at the position of the virtual cursor in the last click operation. For example, when the virtual cursor is moved to the a position, one click operation is performed, and when the virtual cursor is moved to the B position again, the virtual cursor is moved from the a position to the B position, and at this time, the virtual cursor is generated at the a position and moved.
Further, after saving the position of the virtual cursor in the current click operation, the method further includes:
starting timing;
and clearing the stored virtual cursor position when the finger pressing operation or the clicking operation input by the user in the operation area is not received before the timing time reaches the preset clicking duration threshold.
Specifically, when the user does not receive the finger pressing operation input again by the user for a long time after inputting the clicking operation, the touch screen terminal control method is considered to be ended, and the position of the stored virtual cursor is cleared. When the finger pressing operation is received again, the virtual cursor is not generated from the position where the virtual cursor is located in the last clicking operation, but is generated from the finger pressing position.
Example five:
the touch screen terminal control method provided by the fifth embodiment is additionally provided with the following contents on the basis of other embodiments:
the second finger moving direction comprises a left sliding direction moving leftwards by a moving angle of 150-210 degrees and a right sliding direction moving rightwards by a moving angle of more than 330 degrees or less than 30 degrees; the moving angle is determined by a polar coordinate, the pole of the polar coordinate is the position of the finger clicking operation area, and the polar axis of the polar coordinate is in the horizontal rightward direction;
the second finger movement distance is a component of the finger movement distance in the lateral direction.
Specifically, in order to distinguish between the first finger moving operation and the second finger moving operation, the moving directions thereof are defined, the second finger moving operation is effective only in a left-sliding direction between 150 ° and 210 ° and a right-sliding direction moving rightward with a moving angle of more than 330 ° or less than 30 °, and the second finger moving operation is effective only immediately after the click operation and on the premise that the type of the click object is a slider. And the other case is that the first finger moving operation is received when the finger sliding operation is detected. The moving direction of the first finger moving operation is not limited.
Further, the ratio of the finger moving distance to the virtual cursor moving distance in the first moving ratio is 1: (1-40);
the ratio of the finger moving distance to the sliding distance of the sliding block in the second moving ratio is 1:1.
and in the third movement proportion, the ratio of the movement distance of the finger to the movement distance of the virtual cursor is 1: (1-40).
Specifically, the first finger moving operation, the second finger moving operation, and the third finger moving operation are distinguished according to the movement ratio.
Example six:
the sixth embodiment is based on other embodiments, and adds a first movement ratio determination mode:
referring to fig. 5, further, the first movement ratio is obtained by:
s41: establishing a screen size index list; the screen size index list comprises the model of each mobile terminal and the corresponding size of the touch screen;
s42: reading the model of the mobile terminal when starting;
s43: searching the size of the touch screen corresponding to the model in the screen size index list, and calculating the first moving proportion according to the proportion of the size of the operation area set by the user to the size of the touch screen.
Specifically, the size of the touch screen of each model of mobile terminal is fixed. The screen size index list includes touch screen sizes of all mobile terminals. The method comprises the steps of reading the model of the mobile terminal when the mobile terminal is started online, obtaining the size of the touch screen, and respectively calculating the ratio of the size of the operation area to the size of the touch screen to obtain a first movement ratio.
Example seven:
the seventh embodiment is based on other embodiments, and adds another first movement proportion determining mode:
referring to fig. 6, further, the first movement ratio is obtained by:
s51: receiving a setting instruction input by a user, generating a virtual cursor at the bottom of a touch screen in the mobile terminal, and controlling the virtual cursor to move upwards;
s52: when the virtual cursor moves to the top of the touch screen, recording the moving distance of the virtual cursor, and defining the moving distance as a longitudinal distance;
s53: generating a virtual cursor at the rightmost side of a touch screen in the mobile terminal, and controlling the virtual cursor to move leftwards;
s54: when the virtual cursor moves to the leftmost side of the touch screen, recording the moving distance of the virtual cursor, and defining the moving distance as a transverse distance;
s55: calculating the size of a touch screen of the mobile terminal according to the longitudinal distance and the transverse distance;
s56: and calculating the first movement proportion according to the proportion of the size of the operation area set by the user to the size of the touch screen.
Specifically, the setting instruction may be a specific pattern drawn on the touch screen by the user. When the setting is started, the virtual cursor moves from the bottommost end of the touch screen to the topmost end of the touch screen to calculate the longitudinal distance of the touch screen, then the virtual cursor moves from the rightmost side of the touch screen to the leftmost side of the touch screen to calculate the transverse distance of the touch screen, and finally the size of the touch screen is calculated according to the longitudinal distance and the transverse distance to obtain a first movement proportion.
Furthermore, the size of the operation area can be defined by the user, and the user can adjust the size of the operation area according to the use habit of the user and set the position and the size of the habit of the user. For example, the user sets the size of the operation area to be 2cm for the lateral movement of the finger and 3cm for the longitudinal movement. It means that the virtual cursor moves from the bottom of the touch screen to the top of the touch screen after the finger moves 3cm longitudinally from the bottom of the touch screen. After the finger moves 2cm laterally from the rightmost side of the touch screen, the virtual cursor moves from the rightmost side of the touch screen to the leftmost side of the touch screen.
Example eight:
referring to fig. 7, an eighth embodiment provides a mobile terminal, which includes a processor 101, an input device 102, an output device 103, and a memory 104, where the processor 101, the input device 102, the output device 103, and the memory 104 are connected to each other through a bus 105, and the memory 104 is used for storing a computer
ON18-P10336 program, the computer program comprising program instructions, the processor 101 configured to invoke the program instructions to perform the methods of embodiments one through seven.
The implementation principle and the generated technical effect of the terminal provided by the embodiment of the present invention are the same as those of the foregoing method embodiment, and for the sake of brief description, no mention is made in the terminal embodiment, and reference may be made to the corresponding contents in the foregoing method embodiment.
It should be understood that, in the embodiment of the present invention, the Processor 101 may be a Central Processing Unit (CPU), and the Processor may also be other general processors, Digital Signal Processors (DSPs), Application Specific Integrated Circuits (ASICs), Field Programmable Gate Arrays (FPGAs) or other Programmable logic devices, discrete Gate or transistor logic devices, discrete hardware components, and the like. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The input device 102 may include a touch pad, a fingerprint sensor (for collecting fingerprint information of a user and direction information of the fingerprint), a microphone, etc., and the output device 103 may include a display (LCD, etc.), a speaker, etc.
The memory 104 may include read-only memory and random access memory, and provides instructions and data to the processor 101. A portion of the memory 104 may also include non-volatile random access memory. For example, the memory 104 may also store device type information.
Example nine:
embodiment nine provides a computer-readable storage medium, which stores a computer program comprising program instructions, which when executed by a processor, cause the processor to perform the method of embodiment one to embodiment seven.
The media provided by the embodiment of the present invention has the same implementation principle and technical effect as the foregoing method embodiments, and for the sake of brief description, reference may be made to the corresponding contents in the foregoing method embodiments for the parts of the media embodiments that are not mentioned.
The computer readable storage medium may be an internal storage unit of the terminal according to any of the foregoing embodiments, for example, a hard disk or a memory of the terminal. The computer readable storage medium may also be an external storage device of the terminal, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), and the like provided on the terminal. Further, the computer-readable storage medium may also include both an internal storage unit and an external storage device of the terminal. The computer-readable storage medium is used for storing the computer program and other programs and data required by the terminal. The computer readable storage medium may also be used to temporarily store data that has been output or is to be output.
Those of ordinary skill in the art will appreciate that the elements and algorithm steps of the examples described in connection with the embodiments disclosed herein may be embodied in electronic hardware, computer software, or combinations of both, and that the components and steps of the examples have been described in a functional general in the foregoing description for the purpose of illustrating clearly the interchangeability of hardware and software. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
In the several embodiments provided in this application, it should be understood that the disclosed medium, terminal and method may be implemented in other manners. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the units is only one logical division, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may also be an electric, mechanical or other form of connection.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment of the present invention.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention essentially or partially contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product stored in a storage medium and including instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
Finally, it should be noted that: the above embodiments are only used to illustrate the technical solution of the present invention, and not to limit the same; while the invention has been described in detail and with reference to the foregoing embodiments, it will be understood by those skilled in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some or all of the technical features may be equivalently replaced; such modifications and substitutions do not depart from the spirit and scope of the present invention, and they should be construed as being included in the following claims and description.

Claims (6)

1. A touch screen terminal control method based on a virtual cursor is characterized by comprising the following steps:
receiving finger pressing operation input by a user in an operation area, and generating a virtual cursor;
receiving a first finger movement operation input by a user in an operation area, wherein the first finger movement operation comprises a first finger movement direction and a first finger movement distance, and controlling a virtual cursor to move along the first finger movement direction according to a preset first movement ratio and the first finger movement distance;
receiving a click operation input by a user in an operation area, controlling an object at the position of a virtual cursor to execute the click operation, and storing the position of the virtual cursor in the click operation;
further comprising:
receiving a second finger moving operation input by the user in the operation area, wherein the second finger moving operation comprises a second finger moving direction and a second finger moving distance;
judging whether the object at the position of the virtual cursor supports sliding or not, if so, controlling the object at the position of the virtual cursor to slide along the moving direction of a second finger according to a preset second moving proportion and a second finger moving distance; the object supporting sliding comprises a slider;
saving the second finger moving operation of the object at the current time;
after saving the second finger movement operation of the object, the method further comprises:
receiving a third finger movement operation input by the user in the area, wherein the third finger movement operation comprises a third finger movement direction and a third finger movement distance; the third finger movement operation is used for clicking the sub-items in the slider;
judging whether the object has the second finger movement operation last time, if so, controlling the virtual cursor to slide along the third finger movement direction according to a preset third movement proportion and a third finger movement distance;
the operation area comprises an area arranged at the bottom of a touch screen in the mobile terminal;
the finger pressing operation comprises an operation of clicking an operation area in a touch screen of the mobile terminal by a finger;
the receiving a finger pressing operation input by a user in an operation area, and generating a virtual cursor specifically includes:
receiving finger pressing operation input by a user in an operation area, and reading the position of a virtual cursor in the last clicking operation of the user;
if the position of the virtual cursor is null in the last click operation, generating the virtual cursor at the click position of the finger in the finger pressing operation; otherwise, generating the virtual cursor at the position of the virtual cursor in the last click operation.
2. The virtual cursor based touch screen terminal manipulation method of claim 1,
the second finger moving direction comprises a left sliding direction moving leftwards by a moving angle of 150-210 degrees and a right sliding direction moving rightwards by a moving angle of more than 330 degrees or less than 30 degrees; the moving angle is determined by a polar coordinate, the pole of the polar coordinate is the position of the finger clicking operation area, and the polar axis of the polar coordinate is in the horizontal rightward direction;
the second finger movement distance is a component of the finger movement distance in the lateral direction.
3. The virtual cursor based touch screen terminal manipulation method of claim 1,
the ratio of the finger moving distance to the virtual cursor moving distance in the first moving ratio is 1: (1-40);
the ratio of the finger moving distance to the sliding distance of the sliding block in the second moving ratio is 1: 1;
and in the third movement proportion, the ratio of the movement distance of the finger to the movement distance of the virtual cursor is 1: (1-40).
4. The virtual cursor based touch screen terminal manipulation method of claim 1,
after the position of the virtual cursor in the current clicking operation is stored, the method further comprises the following steps:
starting timing;
and clearing the stored virtual cursor position when the finger pressing operation input by the user in the operation area is not received before the timing time reaches the preset click duration threshold.
5. A mobile terminal comprising a processor, an input device, an output device and a memory, the processor, the input device, the output device and the memory being interconnected, wherein the memory is configured to store a computer program comprising program instructions, the processor being configured to invoke the program instructions to perform the method according to any of claims 1-4.
6. A computer-readable storage medium, characterized in that the computer storage medium stores a computer program comprising program instructions that, when executed by a processor, cause the processor to perform the method according to any of claims 1-4.
CN201810142027.2A 2018-02-11 2018-02-11 Touch screen terminal control method, terminal and medium based on virtual cursor Active CN108491152B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810142027.2A CN108491152B (en) 2018-02-11 2018-02-11 Touch screen terminal control method, terminal and medium based on virtual cursor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810142027.2A CN108491152B (en) 2018-02-11 2018-02-11 Touch screen terminal control method, terminal and medium based on virtual cursor

Publications (2)

Publication Number Publication Date
CN108491152A CN108491152A (en) 2018-09-04
CN108491152B true CN108491152B (en) 2020-11-10

Family

ID=63340172

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810142027.2A Active CN108491152B (en) 2018-02-11 2018-02-11 Touch screen terminal control method, terminal and medium based on virtual cursor

Country Status (1)

Country Link
CN (1) CN108491152B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110968195B (en) * 2019-11-29 2023-07-25 深圳朗特智能控制股份有限公司 Cursor control method, terminal and storage medium
CN111142775A (en) * 2019-12-27 2020-05-12 王友位 Gesture interaction method and device
CN114035718A (en) * 2021-09-26 2022-02-11 岚图汽车科技有限公司 Electronic terminal operation method and device, electronic equipment and storage medium

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105183361A (en) * 2015-09-21 2015-12-23 北京元心科技有限公司 Method and device capable of achieving one-hand operation of mobile equipment
CN107613094A (en) * 2017-08-17 2018-01-19 珠海格力电器股份有限公司 A kind of method and mobile terminal of one-handed performance mobile terminal

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103092483B (en) * 2013-02-05 2019-05-24 华为终端有限公司 Touch operation method and mobile terminal in user interface
US9612736B2 (en) * 2013-07-17 2017-04-04 Korea Advanced Institute Of Science And Technology User interface method and apparatus using successive touches
CN106371749A (en) * 2016-08-30 2017-02-01 青岛海信移动通信技术股份有限公司 Method and device for terminal control

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105183361A (en) * 2015-09-21 2015-12-23 北京元心科技有限公司 Method and device capable of achieving one-hand operation of mobile equipment
CN107613094A (en) * 2017-08-17 2018-01-19 珠海格力电器股份有限公司 A kind of method and mobile terminal of one-handed performance mobile terminal

Also Published As

Publication number Publication date
CN108491152A (en) 2018-09-04

Similar Documents

Publication Publication Date Title
US11592959B2 (en) Device, method, and graphical user interface for navigating and displaying content in context
US10013161B2 (en) Devices, methods, and graphical user interfaces for navigating and editing text
US10606469B2 (en) Device, method, and graphical user interface for managing multiple display windows
US9772759B2 (en) Device, method, and graphical user interface for data input using virtual sliders
JP5925775B2 (en) Device, method and graphical user interface for reordering the front and back positions of objects
US8826164B2 (en) Device, method, and graphical user interface for creating a new folder
US8692851B2 (en) Device, method, and graphical user interface with grid transformations during device rotation
KR101720849B1 (en) Touch screen hover input handling
US9483175B2 (en) Device, method, and graphical user interface for navigating through a hierarchy
US9612675B2 (en) Emulating pressure sensitivity on multi-touch devices
US20120032891A1 (en) Device, Method, and Graphical User Interface with Enhanced Touch Targeting
WO2017054623A1 (en) Method and device for starting application program, and electronic device
US20110175826A1 (en) Automatically Displaying and Hiding an On-screen Keyboard
US20130159925A1 (en) Device and Method for Resizing User Interface Content
US9208698B2 (en) Device, method, and graphical user interface for manipulating a three-dimensional map view based on a device orientation
US11947791B2 (en) Devices, methods, and systems for manipulating user interfaces
US20120240074A1 (en) Device, Method, and Graphical User Interface for Navigating Between Document Sections
US20110141142A1 (en) Device, Method, and Graphical User Interface for Managing User Interface Content and User Interface Elements
US20110163967A1 (en) Device, Method, and Graphical User Interface for Changing Pages in an Electronic Document
US20120306925A1 (en) Timeline-based content control method and apparatus using dynamic distortion of timeline bar, and method and apparatus for controlling video and audio clips using the same
CN108491152B (en) Touch screen terminal control method, terminal and medium based on virtual cursor
US20130167094A1 (en) Device, Method, and Graphical User Interface for Selection of Views in a Three-Dimensional Map Based on Gesture Inputs
CN111226190A (en) List switching method and terminal
US9886167B2 (en) Display apparatus and control method thereof
US20160266780A1 (en) Electronic devices, methods for operating user interface and computer program products

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant