CN110780760A - Control method and device for terminal equipment and terminal equipment - Google Patents

Control method and device for terminal equipment and terminal equipment Download PDF

Info

Publication number
CN110780760A
CN110780760A CN201810882699.7A CN201810882699A CN110780760A CN 110780760 A CN110780760 A CN 110780760A CN 201810882699 A CN201810882699 A CN 201810882699A CN 110780760 A CN110780760 A CN 110780760A
Authority
CN
China
Prior art keywords
cursor
touch screen
display
control method
terminal equipment
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.)
Pending
Application number
CN201810882699.7A
Other languages
Chinese (zh)
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.)
Alibaba China Co Ltd
Original Assignee
Ucweb Inc
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 Ucweb Inc filed Critical Ucweb Inc
Priority to CN201810882699.7A priority Critical patent/CN110780760A/en
Publication of CN110780760A publication Critical patent/CN110780760A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/041Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means
    • G06F3/0414Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means using force sensing means to determine a position
    • 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

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

The invention discloses a control method and a control device for terminal equipment and the terminal equipment, wherein the control method comprises the following steps: detecting an event triggering cursor display; displaying the cursor on a display interface of the terminal equipment according to the result of detecting the event triggering the cursor to display; responding to an external operation, and moving the position of the cursor in the display interface; and triggering the operation of clicking the end point position in the case that the cursor is detected to be positioned at the end point position. According to the embodiment of the invention, the cursor is displayed, the cursor is controlled to move, and the click operation is triggered, so that the effect of one-hand operation of the terminal equipment can be realized, and the user experience can be further improved.

Description

Control method and device for terminal equipment and terminal equipment
Technical Field
The present invention relates to the technical field of terminal devices, and in particular, to a control method and apparatus for a terminal device, and a terminal device.
Background
With the rapid development of computer technology and electronic device manufacturing technology, people have become accustomed to performing clicking operations on the interior of a terminal device through a touch screen of the terminal device.
At present, with the rapid development of the touch screen technology, the size of the touch screen on the terminal equipment is greatly improved. The mobile terminal device with a large screen is a trend of future development of terminal devices. Due to the fact that the screen of the terminal device is too large, when a user operates the terminal device with only one hand, some parts on the touch screen of the terminal device are not easy to touch, misoperation is easy to occur, and user experience is affected.
Disclosure of Invention
The invention aims to provide a novel technical scheme of a testing method based on a distributed testing framework.
According to a first aspect of the present invention, there is provided a control method for a terminal device, comprising:
detecting an event triggering cursor display;
displaying the cursor on a display interface of the terminal equipment according to a result of detecting the event triggering the cursor to display;
moving the position of the cursor in the display interface in response to an external operation;
and triggering the operation of clicking the end position when the cursor is detected to be positioned at the end position.
Optionally, the event triggering the cursor to display at least includes:
the pressure of the touch screen of the terminal equipment pressed by the outside exceeds a preset pressure threshold;
and/or the time for externally pressing the touch screen of the terminal equipment exceeds a preset time threshold;
and/or the position of the touch screen of the terminal device pressed by the outside is positioned in a preset trigger area;
and/or the action executed by externally pressing the touch screen of the terminal equipment is a pre-stored specified action.
Optionally, the step of displaying the cursor on the display interface includes:
determining an initial position of the cursor in the display interface according to the position of the touch screen pressed by the outside;
displaying the cursor in the initial position.
Optionally, the external operation at least comprises: the terminal equipment comprises a pressing and sliding operation which is externally executed aiming at a touch screen of the terminal equipment, a voice instruction which is externally input and is used for controlling the cursor to move, or an operation which is externally used for moving the terminal equipment.
Optionally, the external operation is a pressing and sliding operation of the touch screen of the terminal device from the outside;
the step of moving the position of the cursor in the display interface in response to the external operation comprises:
obtaining sliding displacement of the touch screen which is pressed by the outside to execute the pressing sliding operation;
determining the displacement of the cursor according to the sliding displacement and a preset proportion;
and moving the position of the cursor in the display interface according to the displacement of the cursor.
Optionally, the control method further includes:
and under the condition that the external stop pressing the touch screen is detected, judging that the cursor moves to the end point position.
Optionally, the control method further includes:
and under the condition that the pressing sliding operation is detected to exceed a preset sliding region, canceling the display of the cursor.
Optionally, the control method further includes:
and when the fact that the time that the cursor stays on the current position exceeds a preset stay time threshold value is detected, the current position is taken as the end position.
Optionally, the control method further includes:
and judging whether the end point position is an effective trigger position, if so, triggering the operation of clicking the end point position.
According to a second aspect of the present invention, there is provided a control apparatus for a terminal device, comprising:
the detection module is used for detecting an event triggering cursor display;
the display module is used for displaying the cursor on a display interface of the terminal equipment according to the result of detecting the event for triggering the cursor to display;
the moving module is used for responding to external operation and moving the position of the cursor in the display interface;
and the clicking module is used for triggering the operation of clicking the end point position under the condition that the cursor is detected to be positioned at the end point position.
According to a third aspect of the present invention, there is provided a terminal device comprising:
the control device according to the second aspect of the invention;
or a processor and a memory for storing instructions for controlling the processor to perform the control method according to the first aspect of the invention.
The method and the device have the advantages that the cursor is displayed, the cursor is controlled to move, the click operation is triggered, the effect of one-hand operation of the terminal device can be achieved, and user experience can be improved.
Other features of the present invention and advantages thereof will become apparent from the following detailed description of exemplary embodiments thereof, which proceeds with reference to the accompanying drawings.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments of the invention and together with the description, serve to explain the principles of the invention.
Fig. 1 is a block diagram of an example of a hardware configuration of a terminal device that can be used to implement an embodiment of the present invention;
fig. 2 is a flowchart of an embodiment of a control method for a terminal device according to the present invention;
fig. 3 is a flowchart of another embodiment of a control method for a terminal device according to the present invention;
fig. 4 is a block schematic diagram of an implementation structure of a control device for a terminal device provided by the invention;
fig. 5 is a block schematic diagram of another implementation structure of the control device for the terminal equipment provided by the invention;
fig. 6 is a block schematic diagram of an implementation structure of the terminal device provided by the present invention.
Detailed Description
Various exemplary embodiments of the present invention will now be described in detail with reference to the accompanying drawings. It should be noted that: the relative arrangement of the components and steps, the numerical expressions and numerical values set forth in these embodiments do not limit the scope of the present invention unless specifically stated otherwise.
The following description of at least one exemplary embodiment is merely illustrative in nature and is in no way intended to limit the invention, its application, or uses.
Techniques, methods, and apparatus known to those of ordinary skill in the relevant art may not be discussed in detail but are intended to be part of the specification where appropriate.
In all examples shown and discussed herein, any particular value should be construed as merely illustrative, and not limiting. Thus, other examples of the exemplary embodiments may have different values.
It should be noted that: like reference numbers and letters refer to like items in the following figures, and thus, once an item is defined in one figure, further discussion thereof is not required in subsequent figures.
< hardware configuration >
As shown in fig. 1, the terminal device 1000 may be an electronic product with a touch screen, such as a mobile phone or a tablet computer. As shown in fig. 1, the terminal apparatus 1200 may include a processor 1010, a memory 1020, an interface device 1030, a communication device 1040, a display device 1050, an input device 1060, a speaker 1070, a microphone 1080, and the like. The processor 1010 may be a central processing unit CPU, a microprocessor MCU, or the like. The memory 1020 includes, for example, a ROM (read only memory), a RAM (random access memory), a nonvolatile memory such as a hard disk, and the like. The interface device 1030 includes, for example, a USB interface, a headphone interface, and the like. The communication device 1040 can perform wired or wireless communication, for example. The display device 1050 is, for example, a liquid crystal display panel, a touch panel, or the like. The input device 1060 may include, for example, a touch screen, a keyboard, and the like. A user can input/output voice information through the speaker 1070 and the microphone 1080.
The terminal device 1000 shown in fig. 1 is merely illustrative and is in no way intended to limit the present invention, its application, or uses.
In this embodiment of the present invention, the memory 1020 of the terminal device 1000 is configured to store instructions, and the instructions are configured to control the processor 1010 to perform any one of the control methods provided in this embodiment of the present invention.
It should be understood by those skilled in the art that although a plurality of devices are shown in fig. 1 for the terminal device 1000, the present invention may only relate to some of the devices, for example, the terminal device 1000 only relates to the processor 1010, the memory 1020, the display device 1050, and the like. The skilled person can design the instructions according to the disclosed solution. How the instructions control the operation of the processor is well known in the art and will not be described in detail herein.
The general concept of the embodiment of the invention is to provide a new control scheme for terminal equipment, and the effect of one-hand operation of the terminal equipment can be realized by displaying a cursor, controlling the cursor to move and triggering click operation.
< method >
In the present embodiment, a control method for a terminal device is provided.
The terminal device may be any electronic device having a display device, a processor and a memory, and may be, for example, a mobile phone, a tablet computer, or the like. In one example, the terminal device may be terminal device 1000 shown in fig. 1.
Fig. 2 is a flowchart of an embodiment of a control method for a terminal device according to the present invention.
As shown in fig. 2, the control method may include the following steps S2100 to S2400.
In step S2100, an event that triggers cursor display is detected.
In one embodiment of the present invention, the event triggering the cursor display may include:
receiving voice and/or gesture actions of external input for triggering cursor display;
or, receiving an operation of externally clicking a setting key (the key may be a real key or a virtual key) in the terminal device.
In another embodiment of the present invention, the event triggering the cursor display may further include:
the pressure of the touch screen of the external pressing terminal equipment exceeds a preset pressure threshold value;
and/or the time for pressing the touch screen externally exceeds a preset time threshold;
and/or the position of the external pressing touch screen is positioned in a preset trigger area;
and/or the action executed by externally pressing the touch screen is a pre-stored specified action.
The pressure threshold may be set in advance according to an application scenario. The detected pressure of the external pressing against the touch screen may be a level value that can characterize the magnitude of the pressure. For example, the level value characterizing the magnitude of the pressure threshold may be 1V. And in the case that the detected level value for representing the pressure magnitude of the external pressing touch screen is more than 1V, judging that the event triggering the cursor display is detected.
The time threshold may be set in advance according to an application scenario. For example, the time threshold may be 0.8 s. And in the case that the time for pressing the touch screen from the outside is detected to exceed 0.8s, namely the outside performs long-time pressing operation on the touch screen, judging that the event triggering cursor display is detected.
For example, the long press operation is identified and monitored through an Application Programming Interface (API). And the Android end monitors the long press operation through onLongPress () of the GesturreDetector class.
The trigger area may be set by the user in advance according to the use habit of the user, or may be set by the terminal device when the terminal device leaves the factory. For example, the trigger region may be a lower left region or a lower right region on the terminal device. In a case where the position where the touch screen is externally pressed is within the trigger region, it is determined that an event that triggers the cursor display is detected.
The specified action may be set in advance according to an application scenario. For example, the specified action may be "Z". Then, in the case where the action performed by externally pressing the touch panel is drawing "Z", it is determined that an event triggering cursor display is detected.
In one example, the event triggering the cursor to display may be that the time that the external portion presses the touch screen within the predetermined trigger region exceeds a predetermined time threshold.
Step S2200 is that the cursor is displayed on the display interface of the terminal equipment according to the result of detecting the event triggering the cursor to display.
Specifically, the cursor may be displayed on the display interface of the terminal device when an event triggering the cursor display is detected. In the case where the event triggering the cursor display is not detected, the above-described step S2100 is continuously executed.
The cursor can be an icon of any shape. For example, an arrow, or a tap gesture, etc. The display icon of the cursor can be randomly displayed, or the preset display icon of the cursor can be an arrow or a clicking gesture.
In one embodiment of the present invention, the initial position of the cursor on the display interface may be preset. And in the case of detecting the event triggering the cursor display, displaying the cursor on the initial position of the display interface.
In the case that the event triggering the cursor to be displayed is an operation triggered by pressing the touch screen arbitrarily, the step of displaying the cursor on the display interface may further include:
determining the initial position of the cursor in the display interface according to the position of the touch screen pressed by the outside; the cursor is displayed in this initial position.
For example, in the case that the event triggering the cursor display is that the pressure of the external pressing on the touch screen of the terminal device exceeds a preset pressure threshold, and/or the time of the external pressing on the touch screen exceeds a preset time threshold, and/or the position of the external pressing on the touch screen is located within a preset trigger area, the position of the external pressing on the touch screen can be used as the initial position of the cursor in the display interface.
For another example, when the event triggering the cursor to be displayed is that the action executed by the external pressing touch screen is a pre-stored specified action, the position pressed on the touch screen when the external pressing touch screen finishes executing the specified action may be used as the initial position of the cursor in the display interface. The position pressed on the touch screen before the external pressing on the touch screen executes the specified action can also be used as the initial position of the cursor in the display interface.
In step S2300, the position of the cursor in the display interface is moved in response to the external operation.
Specifically, the external operation may include at least: a press-and-slide operation externally performed with respect to the touch screen, a voice instruction for controlling a pointer movement externally input, or an operation of externally moving the terminal device.
In the embodiment where the external operation is a press-and-slide operation performed externally with respect to the touch screen, the manner of moving the position of the cursor in the display interface in response to the external operation may include steps S2310 to S2330 shown in fig. 3.
In step S2310, a sliding displacement of the external pressing touch screen to perform the pressing sliding operation is obtained.
The terminal equipment acquires the sliding displacement of the external pressing touch screen for executing the pressing sliding operation according to the preset sampling frequency. Thus, the sliding displacement is a displacement within the corresponding sampling period. Specifically, the sliding displacement may be determined based on the pressed position at the previous sampling time and the pressed position at the current time.
The terminal device executes steps S2310 to S2330 in this embodiment at a predetermined sampling frequency.
Step S2320, the displacement of the cursor is determined according to the sliding displacement and the preset proportion.
Specifically, the direction of the sliding displacement of the external pressing touch screen for performing the pressing sliding operation and the direction of the displacement of the cursor may be the same, and the ratio between the magnitude of the displacement of the cursor and the magnitude of the sliding displacement of the external pressing touch screen for performing the pressing sliding operation may be equal to a preset ratio. The ratio may be a positive number of 1 or more, for example.
In step S2330, the position of the cursor in the display interface is moved according to the displacement of the cursor.
And determining the position of the cursor in the display interface at the current moment according to the position of the cursor in the display interface at the previous sampling moment and the calculated displacement of the cursor in the current sampling period.
Moving the position of the cursor in the display interface may be moving the cursor to the position of the cursor in the display interface at the current moment determined according to the method of the present embodiment.
Furthermore, the terminal device acquires the sliding displacement every time according to the sampling frequency, determines the displacement of the cursor according to the sliding displacement, and then moves the position of the cursor in the display interface according to the displacement of the cursor.
On this basis, the control method may further include a step S3100 of canceling the display of the cursor in a case where the press-slide operation beyond the preset slide region is detected. This step S3100 may be performed in synchronization with step S2310.
The preset sliding area may be, for example, an area that can be pressed by the entire touch screen, or an area that can be pressed by a portion of the touch screen.
For example, in the case that the sliding region is a region where the entire touch screen can be pressed, the touch event listening callback may be registered through the terminal device system API. The terminal device of the Android system registers a touch event callback through view.
In the process of executing the press-sliding operation by externally pressing the touch screen, if the press-sliding operation is detected to exceed the preset sliding region, the control method of the embodiment ends execution and stops executing the operations of steps S2310 to S2330. Further, the subsequent step S2400 may not be executed.
In the embodiment where the external operation is a voice instruction for controlling cursor movement inputted externally, the voice instruction for controlling pointer movement may be a voice including up, down, left, right, and the like directions.
In response to an external operation, the way to move the position of the cursor in the display interface may be: and when a voice command containing the direction is received each time, controlling the cursor to move a set distance according to the corresponding direction. The set distance may be set in advance according to an application scenario. The set distance may be, for example, 1cm or 100 pixels.
For example, if the voice command for controlling the cursor to move is inputted from the outside and includes left, the control cursor moves a set distance to the left in the display interface.
On this basis, the control method may further include: and in the case of receiving a voice instruction for controlling the cursor to cancel the display, canceling the display cursor. For example, the voice instruction for controlling the cursor to cancel the display may be a voice containing the cancellation.
If a voice command for controlling the cursor to cancel the display is received, the control method of the embodiment ends execution and stops the operation of moving the cursor according to the voice command for controlling the cursor to move. Further, the subsequent step S2400 may not be executed.
In the embodiment where the external operation is an operation of externally moving the terminal device, the moving displacement of the terminal device may be determined by acquiring inertial data collected by an inertial measurement unit in the terminal device, and the moving displacement of the cursor may be determined according to the moving displacement of the terminal device. And moving the position of the cursor on the display interface according to the moving displacement of the cursor. The inertial measurement unit in this embodiment may include an acceleration sensor, and the inertial data may be acceleration data.
Specifically, the inertial data acquired by the inertial measurement unit may be acquired according to a preset sampling frequency. According to the inertia data acquired at the previous sampling moment and the inertia data acquired at the current sampling moment, the movement displacement of the terminal equipment in the current sampling period can be determined.
And determining the movement displacement of the cursor according to the movement displacement of the terminal equipment. Since the movement displacement of the terminal device is based on a three-dimensional coordinate system and the displacement of the cursor is based on a two-dimensional coordinate system, it is necessary to convert the movement displacement of the terminal device into a displacement in the two-dimensional coordinate system. The direction of the displacement of the terminal device in the two-dimensional coordinate system is the same as the direction of the displacement of the cursor, and the ratio of the magnitude of the displacement of the terminal device in the two-dimensional coordinate system to the magnitude of the displacement of the cursor is a fixed value. Thus, the movement displacement of the cursor can be determined according to the movement displacement of the terminal equipment.
And determining the position of the cursor in the display interface at the current moment according to the position of the cursor in the display interface at the previous sampling moment and the calculated displacement of the cursor in the current sampling period.
Moving the position of the cursor in the display interface may be moving the cursor to the position of the cursor in the display interface at the current moment determined according to the method of the present embodiment.
Furthermore, the terminal device acquires the inertial data each time according to the sampling frequency, determines the movement displacement of the terminal device according to the inertial data, determines the displacement of the cursor according to the movement displacement of the terminal device, and moves the position of the cursor in the display interface according to the displacement of the cursor.
On this basis, the control method may further include: and in the case of receiving an instruction of canceling the display cursor, canceling the display cursor.
The command for canceling the display of the cursor can be input through a key (the key can be a physical key or a virtual key) on the terminal device.
If a voice instruction for controlling the cursor to cancel the display is received, the control method of the present embodiment ends execution, stopping the operation of moving the cursor according to the inertial data for the terminal device. Further, the subsequent step S2400 may not be executed.
In step S2400, when it is detected that the cursor is located at the end point position, an operation of clicking the end point position is triggered.
Specifically, the operation of triggering the click of the end point position may be to open a corresponding application program, jump to a corresponding link, or execute a corresponding function. For example, performing the corresponding function may be
In one embodiment of the invention, in the case that the time for which the cursor stays on the current position is detected to exceed a preset stay time threshold, the current position is taken as the end position.
The dwell time threshold may be set in advance according to an application scenario. For example, the dwell time threshold may be 1 s. Then, in the case that the time that the cursor stays at the current position exceeds 1s, the current position can be used as the end position, and the operation of clicking the end position is triggered.
In an embodiment where the external operation is a press-slide operation performed externally with respect to the touch screen, in a case where it is detected that the external stop pressing the touch screen, it is determined that the cursor moves to the end position.
The external pressing touch screen can be detected in the process of the external pressing sliding operation performed on the touch screen. In the case where it is detected that the external portion stops pressing the touch screen, the press slide operation performed by the external portion with respect to the touch screen ends. Therefore, the position of the cursor when the pressing and sliding operation performed on the touch screen by the outside is finished can be used as the end position, namely the position of the cursor when the pressing and sliding operation of the outside on the touch screen is detected is used as the end position.
For example, a touch event snoop callback may be registered through the terminal device system API. The terminal equipment of the Android system registers a touch event callback through View.
In one embodiment of the invention, a valid trigger position and an invalid trigger position are included on the display interface. The valid trigger position may be a position in the display interface where the corresponding operation can be performed when clicked. And when the effective trigger position is clicked, the terminal equipment can be controlled to execute corresponding operation. When the invalid trigger position is clicked, the terminal device does not need to be controlled to execute any operation.
Further, the control method may further include: and judging whether the end position is a valid trigger position. Triggering the operation of clicking the end point position if the end point position is the effective trigger position; if the end position is not a valid trigger position, the control method of the present embodiment may end.
Therefore, according to the control method provided by the embodiment of the invention, the cursor is controlled to move and trigger the click operation through displaying the cursor, so that the effect of one-hand operation of the terminal equipment can be realized, and the user experience can be further improved.
< apparatus >
Corresponding to the method, the invention also provides a control device for the terminal equipment. Fig. 4 is a block schematic diagram of an implementation structure of the control device for the terminal equipment provided by the invention.
According to fig. 4, the control apparatus includes a detection module 4100, a display module 4200, a movement module 4300, and a click module 4400. The detecting module 4100 is used for detecting an event triggering cursor display; the display module 4200 is configured to display the cursor on the display interface of the terminal device according to a result of detecting an event that triggers display of the cursor; the moving module 4300 is used for responding to an external operation and moving the position of a cursor in a display interface; the click module 4400 is configured to trigger an operation of clicking the end point position when the cursor is detected to be located at the end point position.
Specifically, the event triggering the cursor to display at least comprises:
the pressure of the external pressing touch screen exceeds a preset pressure threshold;
and/or the time for pressing the touch screen externally exceeds a preset time threshold;
and/or the position of the external pressing touch screen is positioned in a preset trigger area;
and/or the action executed by externally pressing the touch screen is a pre-stored specified action.
In one embodiment of the invention, the display module 4200 is further configured to: determining the initial position of the cursor in the display interface according to the position of the touch screen pressed by the outside; the cursor is displayed in the initial position.
The external operations include at least: the touch screen of the terminal device is pressed and slid by the outside, and the touch screen of the terminal device is pressed and slid by the outside.
In the case where the external operation is a press-slide operation of the external touch screen with respect to the terminal device, the movement module 4300 may further include a displacement acquisition unit 4310, a displacement determination unit 4320, and a movement unit 4330 as shown in fig. 5. The displacement acquisition unit 4310 acquires a sliding displacement of the external pressing touch screen to perform a pressing sliding operation; the displacement determining unit 4320 determines the displacement of the cursor according to the sliding displacement and a predetermined ratio; the moving unit 4330 moves the position of the cursor in the display interface according to the displacement of the cursor.
On this basis, the control device may further include an end point determination module 5100 for determining that the cursor moves to the end point position in the case where it is detected that the external stop pressing the touch screen.
Further, the control method may further include a cancellation display module (not shown in the figure) for canceling the display of the cursor in the case where the push-slide operation beyond the preset slide region is detected.
In another embodiment of the present invention, the endpoint determination module 5100 is further configured to: and when the fact that the stay time of the cursor on the current position exceeds a preset stay time threshold value is detected, the current position is used as the end position.
As shown in fig. 5, the control apparatus may further include a determination module 5200 for determining whether the end point position is a valid trigger position. The clicking module 4400 is further configured to trigger the operation of clicking the end point position if the determination result of the determining module 5200 is yes.
Therefore, according to the control device provided by the embodiment of the invention, the cursor is controlled to move and trigger the click operation through displaying the cursor, so that the effect of one-hand operation of the terminal equipment can be realized, and the user experience can be further improved.
< terminal device >
The present invention also provides a terminal device, which in one aspect may include the aforementioned control apparatus for a terminal device.
Fig. 6 is a block schematic diagram of an implementation structure of a terminal device according to another aspect of the present invention.
As shown in fig. 6, the terminal device 600 includes: a processor 610 and a memory 620, the memory 620 being configured to store instructions for controlling the processor 610 to perform the control method for a terminal device described above.
The processor 610 may be, for example, a central processing unit CPU, a microprocessor MCU, or the like. The memory 620 includes, for example, a ROM (read only memory), a RAM (random access memory), a nonvolatile memory such as a hard disk, and the like.
The terminal device 600 in this embodiment may be the terminal device 1000 shown in fig. 1.
Therefore, the terminal device provided by the embodiment of the invention can realize the effect of one-hand operation of the terminal device by displaying the cursor, controlling the cursor to move and triggering the click operation, thereby improving the user experience.
The present invention may be a system, method and/or computer program product. The computer program product may include a computer-readable storage medium having computer-readable program instructions embodied therewith for causing a processor to implement various aspects of the present invention.
The computer readable storage medium may be a tangible device that can hold and store the instructions for use by the instruction execution device. The computer readable storage medium may be, for example, but not limited to, an electronic memory device, a magnetic memory device, an optical memory device, an electromagnetic memory device, a semiconductor memory device, or any suitable combination of the foregoing. More specific examples (a non-exhaustive list) of the computer readable storage medium would include the following: a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), a Static Random Access Memory (SRAM), a portable compact disc read-only memory (CD-ROM), a Digital Versatile Disc (DVD), a memory stick, a floppy disk, a mechanical coding device, such as punch cards or in-groove projection structures having instructions stored thereon, and any suitable combination of the foregoing. Computer-readable storage media as used herein is not to be construed as transitory signals per se, such as radio waves or other freely propagating electromagnetic waves, electromagnetic waves propagating through a waveguide or other transmission medium (e.g., optical pulses through a fiber optic cable), or electrical signals transmitted through electrical wires.
The computer-readable program instructions described herein may be downloaded from a computer-readable storage medium to a respective computing/processing device, or to an external computer or external storage device via a network, such as the internet, a local area network, a wide area network, and/or a wireless network. The network may include copper transmission cables, fiber optic transmission, wireless transmission, routers, firewalls, switches, gateway computers and/or edge servers. The network adapter card or network interface in each computing/processing device receives computer-readable program instructions from the network and forwards the computer-readable program instructions for storage in a computer-readable storage medium in the respective computing/processing device.
The computer program instructions for carrying out operations of the present invention may be assembler instructions, Instruction Set Architecture (ISA) instructions, machine-related instructions, microcode, firmware instructions, state setting data, or source or object code written in any combination of one or more programming languages, including an object oriented programming language such as Smalltalk, C + + or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The computer-readable program instructions may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider). In some embodiments, aspects of the present invention are implemented by personalizing an electronic circuit, such as a programmable logic circuit, a Field Programmable Gate Array (FPGA), or a Programmable Logic Array (PLA), with state information of computer-readable program instructions, which can execute the computer-readable program instructions.
Aspects of the present invention are described herein with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems) and computer program products according to embodiments of the invention. It will be understood that each block of the flowchart illustrations and/or block diagrams, and combinations of blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer-readable program instructions.
These computer-readable program instructions may be provided to a processor of a general purpose computer, special purpose computer, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions/acts specified in the flowchart and/or block diagram block or blocks. These computer-readable program instructions may also be stored in a computer-readable storage medium that can direct a computer, programmable data processing apparatus, and/or other devices to function in a particular manner, such that the computer-readable medium storing the instructions comprises an article of manufacture including instructions which implement the function/act specified in the flowchart and/or block diagram block or blocks.
The computer readable program instructions may also be loaded onto a computer, other programmable data processing apparatus, or other devices to cause a series of operational steps to be performed on the computer, other programmable apparatus or other devices to produce a computer implemented process such that the instructions which execute on the computer, other programmable apparatus or other devices implement the functions/acts specified in the flowchart and/or block diagram block or blocks.
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present invention. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of instructions, which comprises one or more executable instructions for implementing the specified logical function(s). In some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions. It is well known to those skilled in the art that implementation by hardware, by software, and by a combination of software and hardware are equivalent.
Having described embodiments of the present invention, the foregoing description is intended to be exemplary, not exhaustive, and not limited to the embodiments disclosed. Many modifications and variations will be apparent to those of ordinary skill in the art without departing from the scope and spirit of the described embodiments. The terminology used herein is chosen in order to best explain the principles of the embodiments, the practical application, or improvements made to the technology in the marketplace, or to enable others of ordinary skill in the art to understand the embodiments disclosed herein. The scope of the invention is defined by the appended claims.

Claims (11)

1. A control method for a terminal device, comprising:
detecting an event triggering cursor display;
displaying the cursor on a display interface of the terminal equipment according to a result of detecting the event triggering the cursor to display;
moving the position of the cursor in the display interface in response to an external operation;
and triggering the operation of clicking the end position when the cursor is detected to be positioned at the end position.
2. The control method according to claim 1, characterized in that the event triggering the cursor display comprises at least:
the pressure of the touch screen of the terminal equipment pressed by the outside exceeds a preset pressure threshold;
and/or the time for externally pressing the touch screen of the terminal equipment exceeds a preset time threshold;
and/or the position of the touch screen of the terminal device pressed by the outside is positioned in a preset trigger area;
and/or the action executed by externally pressing the touch screen of the terminal equipment is a pre-stored specified action.
3. The control method according to claim 2, wherein the step of displaying the cursor on the display interface comprises:
determining an initial position of the cursor in the display interface according to the position of the touch screen pressed by the outside;
displaying the cursor in the initial position.
4. The control method according to claim 1, characterized in that the external operation comprises at least: the terminal equipment comprises a pressing and sliding operation which is externally executed aiming at a touch screen of the terminal equipment, a voice instruction which is externally input and is used for controlling the cursor to move, or an operation which is externally used for moving the terminal equipment.
5. The control method according to claim 4, wherein the external operation is a press-and-slide operation externally to a touch screen of the terminal device;
the step of moving the position of the cursor in the display interface in response to the external operation comprises:
obtaining sliding displacement of the touch screen which is pressed by the outside to execute the pressing sliding operation;
determining the displacement of the cursor according to the sliding displacement and a preset proportion;
and moving the position of the cursor in the display interface according to the displacement of the cursor.
6. The control method according to claim 5, characterized by further comprising:
and under the condition that the external stop pressing the touch screen is detected, judging that the cursor moves to the end point position.
7. The control method according to claim 5, characterized by further comprising:
and under the condition that the pressing sliding operation is detected to exceed a preset sliding region, canceling the display of the cursor.
8. The control method according to claim 1, characterized by further comprising:
and when the fact that the stay time of the cursor on the current position exceeds a preset stay time threshold value is detected, the current position is taken as the end position.
9. The control method according to claim 1, characterized by further comprising:
and judging whether the end point position is an effective trigger position, if so, triggering the operation of clicking the end point position.
10. A control apparatus for a terminal device, characterized by comprising:
the detection module is used for detecting an event triggering cursor display;
the display module is used for displaying the cursor on a display interface of the terminal equipment according to the result of detecting the event for triggering the cursor to display;
the moving module is used for responding to external operation and moving the position of the cursor in the display interface; and the number of the first and second groups,
and the clicking module is used for triggering the operation of clicking the end point position under the condition that the cursor is detected to be positioned at the end point position.
11. A terminal device, comprising:
the control device according to claim 10;
or a processor and a memory for storing instructions for controlling the processor to perform the control method according to any one of claims 1-9.
CN201810882699.7A 2018-07-31 2018-07-31 Control method and device for terminal equipment and terminal equipment Pending CN110780760A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810882699.7A CN110780760A (en) 2018-07-31 2018-07-31 Control method and device for terminal equipment and terminal equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810882699.7A CN110780760A (en) 2018-07-31 2018-07-31 Control method and device for terminal equipment and terminal equipment

Publications (1)

Publication Number Publication Date
CN110780760A true CN110780760A (en) 2020-02-11

Family

ID=69383191

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810882699.7A Pending CN110780760A (en) 2018-07-31 2018-07-31 Control method and device for terminal equipment and terminal equipment

Country Status (1)

Country Link
CN (1) CN110780760A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113467618A (en) * 2021-07-16 2021-10-01 支付宝(杭州)信息技术有限公司 Method and device for collecting sliding gesture

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101655764A (en) * 2008-08-19 2010-02-24 深圳富泰宏精密工业有限公司 System and method for simplifying interface operation
CN101727269A (en) * 2008-10-24 2010-06-09 珠海市魅族科技有限公司 Touch screen operating system, mobile phone including same, and activation method of touch keys thereof
CN103076982A (en) * 2013-01-24 2013-05-01 优视科技有限公司 Method and device for controlling cursor in mobile terminal
CN103257815A (en) * 2012-02-20 2013-08-21 索尼爱立信移动通讯有限公司 Positioning method for touch location, text selection method and device and electronic equipment
CN104793774A (en) * 2014-01-20 2015-07-22 联发科技(新加坡)私人有限公司 Electronic device control method
CN105739819A (en) * 2016-01-22 2016-07-06 努比亚技术有限公司 Cursor positioning method and device and mobile terminal
US20170024105A1 (en) * 2015-07-22 2017-01-26 Xiaomi Inc. Method and Apparatus for Single-Hand Operation on Full Screen

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101655764A (en) * 2008-08-19 2010-02-24 深圳富泰宏精密工业有限公司 System and method for simplifying interface operation
CN101727269A (en) * 2008-10-24 2010-06-09 珠海市魅族科技有限公司 Touch screen operating system, mobile phone including same, and activation method of touch keys thereof
CN103257815A (en) * 2012-02-20 2013-08-21 索尼爱立信移动通讯有限公司 Positioning method for touch location, text selection method and device and electronic equipment
CN103076982A (en) * 2013-01-24 2013-05-01 优视科技有限公司 Method and device for controlling cursor in mobile terminal
CN104793774A (en) * 2014-01-20 2015-07-22 联发科技(新加坡)私人有限公司 Electronic device control method
US20170024105A1 (en) * 2015-07-22 2017-01-26 Xiaomi Inc. Method and Apparatus for Single-Hand Operation on Full Screen
CN105739819A (en) * 2016-01-22 2016-07-06 努比亚技术有限公司 Cursor positioning method and device and mobile terminal

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113467618A (en) * 2021-07-16 2021-10-01 支付宝(杭州)信息技术有限公司 Method and device for collecting sliding gesture
CN113467618B (en) * 2021-07-16 2024-04-23 支付宝(杭州)信息技术有限公司 Method and device for acquiring sliding gesture

Similar Documents

Publication Publication Date Title
US11966558B2 (en) Application association processing method and apparatus
EP3208704B1 (en) Application control method and device
EP3232305A1 (en) Method, apparatus and device for moving icon, and non-volatile computer storage medium
CN105144068B (en) Application program display method and terminal
CN107656620B (en) Virtual object control method and device, electronic equipment and storage medium
US20150277753A1 (en) Expanding touch zones of graphical user interface widgets displayed on a screen of a device without programming changes
EP3109772A1 (en) Text input method and device
KR20140128146A (en) Method for displaying and an electronic device thereof
WO2017107715A1 (en) Method and apparatus for controlling one-hand operation mode of terminal
WO2018137399A1 (en) Method and apparatus for cancelling operation to be executed
KR20130097331A (en) Apparatus and method for selecting object in device with touch screen
US20180329612A1 (en) Interfacing with a computing device
KR20130082352A (en) Apparatus and method for zooming touch screen in electronic device
US9626580B2 (en) Defining region for motion detection
US20170139584A1 (en) User account switching interface
US9122390B2 (en) Method, application and/or service to collect more fine-grained or extra event data from a user sensor device
CN110780760A (en) Control method and device for terminal equipment and terminal equipment
US10254940B2 (en) Modifying device content to facilitate user interaction
JP6089880B2 (en) Information processing apparatus, information processing method, and information processing program
CN110858119B (en) Application interaction method and device and electronic equipment
US10338806B2 (en) Reaching any touch screen portion with one hand
CN106527907B (en) Screen capture processing method and device for intelligent terminal
CN106959834A (en) Split screen method and device
CN111104177B (en) View assembly switching method and device and terminal equipment
EP3144795A1 (en) Information-processing apparatus, information-processing method, and program

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
TA01 Transfer of patent application right

Effective date of registration: 20200603

Address after: 310051 room 508, floor 5, building 4, No. 699, Wangshang Road, Changhe street, Binjiang District, Hangzhou City, Zhejiang Province

Applicant after: Alibaba (China) Co.,Ltd.

Address before: 100083, Beijing, Haidian District, Cheng Fu Road, No. 28, A building, block 12

Applicant before: UC MOBILE Co.,Ltd.

TA01 Transfer of patent application right
RJ01 Rejection of invention patent application after publication

Application publication date: 20200211