WO2021197487A1 - Method and apparatus for controlling terminal screen by means of mouse, mouse and storage medium - Google Patents

Method and apparatus for controlling terminal screen by means of mouse, mouse and storage medium Download PDF

Info

Publication number
WO2021197487A1
WO2021197487A1 PCT/CN2021/085363 CN2021085363W WO2021197487A1 WO 2021197487 A1 WO2021197487 A1 WO 2021197487A1 CN 2021085363 W CN2021085363 W CN 2021085363W WO 2021197487 A1 WO2021197487 A1 WO 2021197487A1
Authority
WO
WIPO (PCT)
Prior art keywords
touch gesture
mouse
sliding touch
coordinate range
terminal screen
Prior art date
Application number
PCT/CN2021/085363
Other languages
French (fr)
Chinese (zh)
Inventor
于成
隰佳杰
安里克
Original Assignee
北京奇点跳跃科技有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 北京奇点跳跃科技有限公司 filed Critical 北京奇点跳跃科技有限公司
Publication of WO2021197487A1 publication Critical patent/WO2021197487A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/033Pointing devices displaced or positioned by the user, e.g. mice, trackballs, pens or joysticks; Accessories therefor
    • G06F3/0346Pointing devices displaced or positioned by the user, e.g. mice, trackballs, pens or joysticks; Accessories therefor with detection of the device orientation or free movement in a 3D space, e.g. 3D mice, 6-DOF [six degrees of freedom] pointers using gyroscopes, accelerometers or tilt-sensors
    • 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/033Pointing devices displaced or positioned by the user, e.g. mice, trackballs, pens or joysticks; Accessories therefor
    • G06F3/038Control and interface arrangements therefor, e.g. drivers or device-embedded control circuitry
    • 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

Definitions

  • the embodiments of the present application relate to the field of computer control technology, such as a method, device, mouse, and storage medium for a mouse to control a terminal screen.
  • mice including wired mice and wireless mice, will damage the health of people’s hands and wrists for a long time.
  • control distance which cannot meet some situations that require remote use. Therefore, the development of handheld mice is increasingly necessary.
  • Some handheld mice provided by related technologies usually simply combine an ordinary mouse with a page-turning pen, that is, only include the original mouse structure: left button, right button, scroll wheel and photoelectric sensor set to determine the movement process, as well as the original The structure of the page turning pen: laser light and page turning button, etc.
  • the surface is not a smooth plane, and the process of moving the mouse is easily affected by the texture of the hand surface, thereby reducing the efficiency and accuracy of the terminal control.
  • the embodiments of the present application provide a method, a device, a mouse, and a storage medium for controlling a terminal screen with a mouse, so as to achieve accurate and efficient control of the terminal screen with the mouse in the case of remote use.
  • an embodiment of the present application provides a method for controlling a terminal screen with a mouse, and the method includes:
  • the pointer in the terminal screen is controlled according to the first movement parameter of the sliding touch gesture Make a move.
  • an embodiment of the present application also provides a device for controlling a terminal screen with a mouse, the device including:
  • the gesture receiving module is configured to receive sliding touch gestures input by the user on the mouse when the mouse is set to the air mode
  • the first pointer control module is configured to control the pointer on the terminal screen to move according to the first movement parameter of the sliding touch gesture if the starting point of the sliding touch gesture is located in the first coordinate range;
  • the second pointer control module is configured to, if the starting point of the sliding touch gesture is located in the second coordinate range, after the sliding touch gesture enters the first coordinate range from the second coordinate range, according to the first movement of the sliding touch gesture
  • the parameter controls the movement of the pointer on the terminal screen.
  • an embodiment of the present application also provides a mouse, which includes:
  • At least one processor At least one processor
  • Memory set to store at least one program
  • the at least one processor When the at least one program is executed by the at least one processor, the at least one processor implements the method for controlling a terminal screen with a mouse provided in any embodiment of the present application.
  • an embodiment of the present application also provides a computer-readable storage medium on which a computer program is stored.
  • the program is executed by a processor, the method for controlling a terminal screen with a mouse provided in any embodiment of the present application is implemented.
  • FIG. 1A is a flowchart of a method for using a mouse to control a terminal screen according to Embodiment 1 of the present application;
  • FIG. 1B is a schematic diagram of a sliding touch gesture input range used to control pointer movement on a mouse provided in Embodiment 1 of the present application;
  • FIG. 1B is a schematic diagram of a sliding touch gesture input range used to control pointer movement on a mouse provided in Embodiment 1 of the present application;
  • FIG. 2A is a flowchart of a method for controlling a screen of a terminal with a mouse provided in the second embodiment of the present application;
  • 2B is a schematic structural diagram of a partition on the upper surface of a mouse provided in the second embodiment of the present application;
  • FIG. 3 is a schematic structural diagram of an apparatus for controlling a terminal screen with a mouse according to a third embodiment of the present application
  • FIG. 4 is a schematic structural diagram of a mouse provided in Embodiment 4 of the present application.
  • first”, “second”, etc. may be used herein to describe various directions, actions, steps or elements, etc., but these directions, actions, steps or elements are not limited by these terms. These terms are only used to distinguish a first direction, action, step or element from another direction, action, step or element.
  • the terms “first”, “second”, etc. cannot be understood as indicating or implying relative importance or implicitly indicating the number of indicated technical features. Therefore, the features defined with “first” and “second” may explicitly or implicitly include at least one of the features.
  • FIG. 1A is a flowchart of a method for using a mouse to control a terminal screen according to Embodiment 1 of this application.
  • This embodiment is applicable to a situation where a user uses a mouse to remotely control a terminal screen.
  • This method can be executed by the device for controlling a terminal screen with a mouse provided in this embodiment of the application, and the device can be implemented by at least one of hardware and software. To achieve this, it can generally be integrated into a wireless mouse. As shown in FIG. 1A, the method includes steps S11 to S13.
  • the air mode of the mouse refers to a mode used without a support surface for support, that is, a mode that can be held and used in the air.
  • the overall shape of the mouse is close to a flat cube, and the two larger surfaces of the cube are used as the upper surface and the lower surface, respectively, and the upper surface can be used to receive sliding touch gestures.
  • Sliding touch gestures refer to the touch gestures generated by the user performing arbitrary sliding without leaving the surface of the mouse after touching the surface of the mouse.
  • the starting point and current movement parameters are used to control the terminal screen, and the control of the terminal screen can be stopped when the sliding touch gesture leaves the mouse surface.
  • the two consecutive sliding touch gestures will be viewed It is a single input and continuous sliding touch gesture, that is, the starting point of the two consecutive sliding touch gestures is the starting point of the previous sliding touch gesture, and the end point is the ending point of the next sliding touch gesture, so as to reduce the risk of mouse
  • the sliding touch gesture is terminated prematurely, resulting in misoperation of the mouse on the terminal screen.
  • the method further includes: if the sliding distance of the sliding touch gesture is less than a preset distance, no control instruction to the terminal screen is generated.
  • the sliding distance of the sliding touch gesture is usually very short, so a preset distance can be set so that the sliding touch gesture
  • no control instruction to the terminal screen is generated, that is, no operation is performed on the page or pointer on the terminal screen, so as to avoid false triggering caused by the excessive sensitivity of the mouse.
  • the laser sensor of the mouse acquires the second movement parameter when the mouse moves on the supporting surface; according to the second movement parameter, the pointer on the terminal screen is controlled to move.
  • the mouse can be set to the desktop mode according to the received operation performed by the user on the switch set outside the mouse.
  • the desktop mode of the mouse refers to the mode used when a support surface is needed for support, that is, the mode that can be used on the desktop.
  • the second movement parameter generated when the mouse moves on the supporting surface can be obtained through the laser sensor set on the above-mentioned lower surface, and the second movement parameter can be converted into the coordinate parameter required for the movement of the pointer After that, it is sent to the terminal to control the pointer on the terminal screen to move.
  • the second movement parameter may include the movement direction, movement speed, and movement distance of the mouse.
  • a click and touch gesture input by the user on the mouse is received, and the left button operation or the right button operation of the mouse is determined according to the position of the click and touch gesture.
  • the longer side of the upper surface of the mouse can be placed facing the user, and then the left half area of the front end of the placed mouse can be used as the left key input area of the mouse, and the right half area of the front end can be used as the right key input area of the mouse.
  • the mouse controls the terminal screen to perform the corresponding click operation, which can be a single click, a double click, or a drag.
  • a sliding touch gesture input by the user in the middle area of the front end of the mouse may also be received, and the scroll wheel operation of the mouse is determined according to the sliding touch gesture, so as to control the terminal screen to perform operations such as page turning.
  • the first coordinate range is used as the input range of the sliding touch gesture for controlling the movement of the pointer.
  • the first coordinate range can be as large as possible but does not occupy the entire upper surface of the mouse.
  • the first coordinate range is The coordinate range 21 can be most of the coordinate range in the lower right direction on the upper surface of the mouse 20 when the shorter side of the upper surface of the mouse 20 is placed directly against the user, so as to expand the user's operating range when using the pointer function, thereby improving control The efficiency of pointer movement.
  • the swipe touch gesture may only slide within the first coordinate range, or slide from the first coordinate range to outside the first coordinate range, or Slide from the first coordinate range to outside the first coordinate range and then slide into the first coordinate range, etc., that is, as long as the sliding touch gesture does not leave the mouse surface and the starting point is in the first coordinate range, the current sliding touch gesture
  • the mouse controls the pointer on the terminal screen to move according to the first movement parameter of the sliding touch gesture.
  • the first movement parameter may include the sliding direction, sliding speed, and sliding distance of the sliding touch gesture.
  • the second coordinate range does not coincide with the first coordinate range, and the second coordinate range can be used as the input range of touch gestures for controlling page scrolling, page turning, page jumping, or clicking on page content.
  • the second coordinate range can be as small as possible, and it only needs to be a coordinate range sufficient to realize the corresponding function.
  • the second coordinate range may be the coordinate range of the remaining part of the upper surface of the mouse after excluding the first coordinate range, or may be a part of the coordinate range in the remaining part and adjacent to the first coordinate range.
  • the second coordinate range may be the coordinate range of at least one of the left edge portion and the upper edge portion of the upper surface of the mouse.
  • the swipe touch gesture If the starting point of the swipe touch gesture is in the second coordinate range, and the swipe touch gesture slides from the second coordinate range to the first coordinate range, then after the swipe touch gesture enters the first coordinate range, it enters the first coordinate range.
  • the process after the coordinate range includes a process of sliding after entering the first coordinate range and then leaving the first coordinate range again.
  • the mouse controls the pointer on the terminal screen to move according to the first movement parameter of the sliding touch gesture.
  • the embodiment of the application provides a method for controlling the screen of a terminal with a mouse.
  • a sliding touch gesture input by the user on the mouse is received, and when the starting point of the sliding touch gesture is within a set coordinate range or
  • the pointer on the screen of the terminal is controlled to move according to the movement parameter of the sliding touch gesture.
  • the second coordinate range can be used as the input range of the touch gesture for controlling the scrolling of the page on the terminal screen, that is, after receiving the user’s mouse
  • the sliding touch gesture inputted on the above it further includes: if the sliding touch gesture is located in the second coordinate range, controlling the page on the terminal screen to scroll according to the first movement parameter of the sliding touch gesture.
  • the following steps S21 to S24 are included.
  • the page on the terminal screen can be controlled to scroll according to the first movement parameter of the sliding touch gesture.
  • the page scrolling may include at least one of automatic scrolling and manual scrolling. one.
  • the first movement parameter may include the sliding direction, sliding speed, and sliding distance of the sliding touch gesture.
  • the first movement parameter may include at least one of the following: sliding speed and sliding distance in the horizontal direction, and vertical direction
  • the mouse can control the page of the terminal screen to scroll up, down, left or right according to the sliding direction. It can also control the speed of page scrolling according to different sliding speeds, and use the sliding touch gesture Control the page to stop scrolling at the end.
  • the first movement parameter may also include the sliding speed at the end of the sliding touch gesture. When the sliding touch gesture ends, the mouse can control the page to maintain a certain speed according to the sliding speed at the end of the sliding touch gesture. Perform automatic scrolling. After the page automatically scrolls at a certain speed for a certain period of time, the page slowly stops scrolling.
  • the swipe touch gesture is located in the second coordinate range and includes a long-press action that exceeds a preset duration before the start of the swipe
  • the page on the terminal screen is controlled to automatically scroll according to the first movement parameter of the swipe touch gesture .
  • the sliding touch gesture includes a long press at the beginning, after the long press exceeds the preset time, the control page enters the automatic scroll mode, and then the page can be controlled according to the sliding speed and direction of the sliding touch gesture, etc. Speed and direction of automatic scrolling.
  • the second coordinate range includes a third coordinate range and a fourth coordinate range; correspondingly, if the sliding touch gesture is located in the second coordinate range, the page in the terminal screen is controlled according to the first movement parameter of the sliding touch gesture
  • Scrolling includes: if the sliding touch gesture is a vertical gesture within the third coordinate range, controlling the page on the terminal screen to scroll in the vertical direction according to the first movement parameter of the sliding touch gesture; if the sliding touch gesture It is a gesture in the horizontal direction within the fourth coordinate range, and the page on the screen of the terminal is controlled to scroll in the horizontal direction according to the first movement parameter of the sliding touch gesture.
  • the second coordinate range may be further divided into a third coordinate range and a fourth coordinate range.
  • the third coordinate range 22 may be the coordinate range of the left edge portion of the upper surface of the mouse 20
  • the fourth coordinate range 23 may be the coordinate range of the upper edge portion of the upper surface of the mouse 20, and the remaining coordinate range of the mouse 20 is the first coordinate range 21.
  • the third coordinate range 22 is used as the input range of the sliding touch gesture for controlling page scrolling up and down
  • the fourth coordinate range 23 is used as the input range of sliding touch gesture for controlling page scrolling left and right, so as to realize sub-regional control of different directions of the page.
  • the scrolling process in order to achieve more accurate control, but also provides convenience for users.
  • the method further includes: if the sliding touch gesture is a two-finger or three-finger gesture in the same direction within the fifth coordinate range, then according to the sliding touch gesture
  • the first movement parameter controls the screen of the terminal to switch pages, where the fifth coordinate range is any coordinate range that can receive a sliding touch gesture on the mouse.
  • the fifth coordinate range can be part or all of the upper surface of the mouse, that is, it can include or overlap with other coordinate ranges.
  • the first movement parameter may include the sliding direction, etc., and the mouse can control the process of switching the terminal screen page according to the sliding direction.
  • the sliding touch gesture is a two-finger or three-finger sliding left gesture
  • the current page can be controlled to switch to the previous page
  • the sliding touch gesture is a two-finger or three-finger sliding right gesture
  • the current page can be controlled Switch to the next page and so on.
  • the method further includes: if the sliding touch gesture is a two-finger facing gesture within the sixth coordinate range, according to the first movement parameter of the sliding touch gesture
  • the page on the screen of the control terminal is zoomed out, where the sixth coordinate range is any coordinate range that can receive sliding touch gestures on the mouse; if the sliding touch gesture is a two-finger reverse gesture within the sixth coordinate range, then The first movement parameter of the sliding touch gesture controls the page on the screen of the terminal to zoom in.
  • the sixth coordinate range may be part or all of the upper surface of the mouse, that is, it may include other coordinate ranges or overlap with other coordinate ranges.
  • the first movement parameter may include a sliding distance, etc., and the mouse can control the degree of zooming in or out of the terminal screen page according to the sliding distance.
  • the sliding touch gesture is a two-finger facing gesture
  • the page is controlled to zoom out
  • the sliding touch gesture is a two-finger opposite gesture
  • the technical solution provided by the embodiment of the present application controls the scrolling of the page on the terminal screen according to the sliding touch gesture input from the second coordinate range on the mouse, and divides the second coordinate range into a third coordinate range and a fourth coordinate range. It controls the page scrolling up and down and left and right scrolling separately, as well as the method of controlling page switching and zooming, which realizes the accurate and efficient process of controlling the terminal screen when using the mouse remotely, and provides more convenience for the user. .
  • Fig. 3 is a schematic structural diagram of a device for controlling a terminal screen with a mouse provided in the third embodiment of the application.
  • the device can be implemented by at least one of hardware and software, and can generally be integrated into a wireless mouse and configured to execute the application.
  • a method for controlling a terminal screen with a mouse provided by any embodiment. As shown in Figure 3, the device includes:
  • the gesture receiving module 31 is configured to receive the sliding touch gesture input by the user on the mouse when the mouse is set to the air mode;
  • the first pointer control module 32 is configured to control the pointer in the terminal screen to move according to the first movement parameter of the sliding touch gesture if the starting point of the sliding touch gesture is located in the first coordinate range;
  • the second pointer control module 33 is configured to, if the starting point of the sliding touch gesture is located in the second coordinate range, after the sliding touch gesture enters the first coordinate range from the second coordinate range, according to the first movement parameter of the sliding touch gesture Control the pointer on the terminal screen to move.
  • the device for controlling the screen of the terminal by the mouse further includes:
  • the page scroll control module is configured to, after receiving the sliding touch gesture input by the user on the mouse, if the sliding touch gesture is in the second coordinate range, control the page progress on the terminal screen according to the first movement parameter of the sliding touch gesture scroll.
  • the second coordinate range includes a third coordinate range and a fourth coordinate range
  • Page scroll control module including:
  • the first page scrolling control unit is configured to, if the sliding touch gesture is a vertical gesture within the third coordinate range, control the page on the terminal screen to scroll in the vertical direction according to the first movement parameter of the sliding touch gesture;
  • the second page scroll control unit is configured to, if the sliding touch gesture is a horizontal gesture within the fourth coordinate range, control the page on the terminal screen to scroll in the horizontal direction according to the first movement parameter of the sliding touch gesture.
  • the device for controlling the screen of the terminal by the mouse further includes:
  • the sliding distance judgment module is configured to, after receiving the sliding touch gesture input by the user on the mouse, if the sliding distance of the sliding touch gesture is less than the preset distance, then no control instruction to the terminal screen is generated.
  • the device for controlling the screen of the terminal by the mouse further includes:
  • the page switching control module is configured to, after receiving the sliding touch gesture input by the user on the mouse, if the sliding touch gesture is a two-finger or three-finger gesture in the same direction within the fifth coordinate range, then according to the sliding touch gesture
  • the first movement parameter controls the screen of the terminal to switch pages, where the fifth coordinate range is any coordinate range that can receive a sliding touch gesture on the mouse.
  • the device for controlling the screen of the terminal by the mouse further includes:
  • the page zoom control module is configured to, after receiving the sliding touch gesture input by the user on the mouse, if the sliding touch gesture is a two-finger facing gesture within the sixth coordinate range, according to the first movement parameter of the sliding touch gesture
  • the page on the screen of the control terminal is zoomed out, where the sixth coordinate range is any coordinate range that can receive sliding touch gestures on the mouse; if the sliding touch gesture is a two-finger reverse gesture within the sixth coordinate range, then The first movement parameter of the sliding touch gesture controls the page on the screen of the terminal to zoom in.
  • the device for controlling the screen of the terminal by the mouse further includes:
  • the movement parameter obtaining module is set to obtain the second movement parameter of the mouse when the mouse moves on the supporting surface through the laser sensor of the mouse when the mouse is set to the desktop mode;
  • the third pointer control module is configured to control the pointer on the terminal screen to move according to the second movement parameter.
  • the device for controlling a terminal screen with a mouse provided in an embodiment of the present application can execute the method for controlling a terminal screen with a mouse provided in any embodiment of the present application, and has functional modules corresponding to the execution method.
  • the included units and modules are only divided according to functional logic, but are not limited to the above division, as long as the corresponding functions can be realized. ;
  • the names of the functional units are only for the convenience of distinguishing each other, and are not used to limit the scope of protection of this application.
  • FIG. 4 is a schematic structural diagram of a mouse provided in Embodiment 4 of the present application, and shows a block diagram of an exemplary mouse suitable for implementing the implementation manners of the present application.
  • the mouse shown in FIG. 4 is only an example, and should not bring any limitation to the function and scope of use of the embodiments of the present application.
  • the mouse includes a processor 41, a memory 42, an input device 43, and an output device 44; the number of processors 41 in the mouse can be one or more.
  • one processor 41 is taken as an example.
  • the processor 41, the memory 42, the input device 43, and the output device 44 may be connected by a bus or other methods. In FIG. 4, the connection by a bus is taken as an example.
  • the memory 42 can be configured to store software programs, computer-executable programs, and modules, such as program instructions/modules corresponding to the method for controlling a terminal screen by a mouse in the embodiment of the present application (for example, a mouse controlling terminal).
  • the processor 41 executes various functional applications and data processing of the mouse by running the software programs, instructions, and modules stored in the memory 42, that is, realizes the above-mentioned method of controlling the terminal screen by the mouse.
  • the memory 42 may mainly include a program storage area and a data storage area.
  • the program storage area may store an operating system and an application program required by at least one function; the data storage area may store data created according to the use of the mouse.
  • the memory 42 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one magnetic disk storage device, a flash memory device, or other non-volatile solid-state storage devices.
  • the input device 43 may be configured to receive sliding touch gestures input by the user, and to generate key signal inputs related to user settings and function control of the mouse.
  • the output device 44 may include a wireless communication device, which may be configured to send screen control instructions to the terminal.
  • the terminal may receive the control instructions sent by the mouse through an external receiver or a built-in Bluetooth receiver chip.
  • the fifth embodiment of the present application also provides a storage medium containing computer-executable instructions, when the computer-executable instructions are executed by a computer processor, a method for controlling a terminal screen with a mouse is executed, and the method includes:
  • the pointer in the terminal screen is controlled to move according to the first movement parameter of the swipe touch gesture.
  • Storage medium any of various types of storage devices or storage devices.
  • the term "storage medium” is intended to include: installation media, such as compact Disc Read-Only Memory (CD-ROM), floppy disks or tape devices; computer system memory or random access memory, such as dynamic random access memory Access memory (Dynamic Random Access Memory, DRAM), Double Data Rate Random Access Memory (DDR RAM), Static Random Access Memory (SRAM), and extended data output random access memory Access memory (Extended Data Output Random Access Memory, EDO RAM), Rambus RAM, etc.; non-volatile memory, such as flash memory, magnetic media (such as hard disk or optical storage); registers or other similar types of memory components Wait.
  • the storage medium may further include other types of memory or a combination thereof.
  • the storage medium may be located in the computer system in which the program is executed, or may be located in a different second computer system connected to the computer system through a network (such as the Internet).
  • the second computer system can provide program instructions to the computer for execution.
  • storage media may include two or more storage media that may reside in different locations (for example, in different computer systems connected through a network).
  • the storage medium may store program instructions (for example, embodied as a computer program) executable by at least one processor.
  • the storage medium containing computer-executable instructions provided by the embodiments of the present application is not limited to the method operations described above, and can also execute the mouse control terminal screen provided by any embodiment of the present application. Related operations in the method.
  • the computer-readable signal medium may include a data signal propagated in baseband or as a part of a carrier wave, and computer-readable program code is carried therein. This propagated data signal can take many forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the foregoing.
  • the computer-readable signal medium may also be any computer-readable medium other than the computer-readable storage medium, and the computer-readable medium may send, propagate, or transmit the program for use by or in combination with the instruction execution system, apparatus, or device .
  • the program code contained on the computer-readable medium can be transmitted by any suitable medium, including but not limited to wireless, wire, optical cable, radio frequency (RF), etc., or any suitable combination of the foregoing.
  • suitable medium including but not limited to wireless, wire, optical cable, radio frequency (RF), etc., or any suitable combination of the foregoing.
  • the present application can be implemented by software and necessary general-purpose hardware, and of course, it can also be implemented by hardware.
  • the technical solution of this application essentially or the part that contributes to the related technology can be embodied in the form of a software product, and the computer software product can be stored in a computer-readable storage medium, such as a computer floppy disk, Read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), flash memory (FLASH), hard disk or optical disk, etc., including several instructions to make a computer device (which can be a personal computer, A server, or a network device, etc.) executes the method described in each embodiment of the present application.
  • a computer device which can be a personal computer, A server, or a network device, etc.

Landscapes

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

Abstract

A method and apparatus for controlling a terminal screen by means of a mouse, the mouse and a storage medium. The method comprises: when the mouse is set to be in an air mode, receiving a sliding touch gesture input by a user on the mouse (S11); if the starting point of the sliding touch gesture is located in a first coordinate range, according to a first movement parameter of the sliding touch gesture, controlling a pointer on the terminal screen to move (S12); and if the starting point of the sliding touch gesture is located in a second coordinate range, after the sliding touch gesture enters the first coordinate range from the second coordinate range, controlling, according to the first movement parameter of the sliding touch gesture, the pointer on the terminal screen to move (S13).

Description

一种鼠标控制终端屏幕的方法、装置、鼠标及存储介质Method, device, mouse and storage medium for mouse to control terminal screen
本申请要求在2020年4月2日提交中国专利局、申请号为202010253847.6的中国专利申请的优先权,该申请的全部内容通过引用结合在本申请中。This application claims the priority of a Chinese patent application filed with the Chinese Patent Office with an application number of 202010253847.6 on April 2, 2020. The entire content of this application is incorporated into this application by reference.
技术领域Technical field
本申请实施例涉及计算机控制技术领域,例如一种鼠标控制终端屏幕的方法、装置、鼠标及存储介质。The embodiments of the present application relate to the field of computer control technology, such as a method, device, mouse, and storage medium for a mouse to control a terminal screen.
背景技术Background technique
随着科技的不断进步,人们对电子终端设备屏幕的控制方式提出了更高的要求,各种桌面鼠标器,包括有线鼠标器和无线鼠标器,长期使用会损害人们手部及腕部的健康,同时在控制距离上存在局限性,无法满足一些需要远程使用的情况。因此,手持式鼠标的发展越来越有必要。With the continuous advancement of science and technology, people have put forward higher requirements for the control of electronic terminal equipment screens. Various desktop mice, including wired mice and wireless mice, will damage the health of people’s hands and wrists for a long time. There are limitations in the control distance, which cannot meet some situations that require remote use. Therefore, the development of handheld mice is increasingly necessary.
相关技术提供的一些手持式鼠标通常是将普通鼠标与翻页笔进行简单的结合,即仅包括原有的鼠标结构:左键、右键、滚轮及设置为判断移动过程的光电传感器,以及原有的翻页笔结构:激光灯及翻页键等等。在控制终端屏幕中指针的移动时,还是需要在手掌上整体的移动鼠标,因此会受到可移动范围的限制,在远程使用的情景下,会给用户的使用带来不便,且由于人们手部表面并非光滑的平面,移动鼠标的过程很容易受到手部表面纹路的影响,从而降低对终端控制的效率及准确性。Some handheld mice provided by related technologies usually simply combine an ordinary mouse with a page-turning pen, that is, only include the original mouse structure: left button, right button, scroll wheel and photoelectric sensor set to determine the movement process, as well as the original The structure of the page turning pen: laser light and page turning button, etc. When controlling the movement of the pointer on the terminal screen, you still need to move the mouse on the palm of your hand as a whole, so it will be limited by the movable range. In the remote use scenario, it will bring inconvenience to the user. The surface is not a smooth plane, and the process of moving the mouse is easily affected by the texture of the hand surface, thereby reducing the efficiency and accuracy of the terminal control.
发明内容Summary of the invention
本申请实施例提供一种鼠标控制终端屏幕的方法、装置、鼠标及存储介质,以实现利用鼠标在远程使用的情况下准确及高效的控制终端屏幕。The embodiments of the present application provide a method, a device, a mouse, and a storage medium for controlling a terminal screen with a mouse, so as to achieve accurate and efficient control of the terminal screen with the mouse in the case of remote use.
第一方面,本申请实施例提供了一种鼠标控制终端屏幕的方法,该方法包括:In the first aspect, an embodiment of the present application provides a method for controlling a terminal screen with a mouse, and the method includes:
响应于鼠标被设置为空中模式,接收用户在鼠标上输入的滑动触控手势;In response to the mouse being set to the air mode, receiving the sliding touch gesture input by the user on the mouse;
响应于确定滑动触控手势的起点位于第一坐标范围,根据滑动触控手势的第一移动参数控制终端屏幕中的指针进行移动;In response to determining that the starting point of the sliding touch gesture is located in the first coordinate range, controlling the pointer on the terminal screen to move according to the first movement parameter of the sliding touch gesture;
响应于确定滑动触控手势的起点位于第二坐标范围,在滑动触控手势从第二坐标范围进入第一坐标范围之后,根据所述滑动触控手势的第一移动参数控制终端屏幕中的指针进行移动。In response to determining that the starting point of the sliding touch gesture is located in the second coordinate range, after the sliding touch gesture enters the first coordinate range from the second coordinate range, the pointer in the terminal screen is controlled according to the first movement parameter of the sliding touch gesture Make a move.
第二方面,本申请实施例还提供了一种鼠标控制终端屏幕的装置,该装置包括:In the second aspect, an embodiment of the present application also provides a device for controlling a terminal screen with a mouse, the device including:
手势接收模块,设置为当鼠标被设置为空中模式时,接收用户在鼠标上输入的滑动触控手势;The gesture receiving module is configured to receive sliding touch gestures input by the user on the mouse when the mouse is set to the air mode;
第一指针控制模块,设置为若滑动触控手势的起点位于第一坐标范围,则根据滑动触控手势的第一移动参数控制终端屏幕中的指针进行移动;The first pointer control module is configured to control the pointer on the terminal screen to move according to the first movement parameter of the sliding touch gesture if the starting point of the sliding touch gesture is located in the first coordinate range;
第二指针控制模块,设置为若滑动触控手势的起点位于第二坐标范围,则在滑动触控手势从第二坐标范围进入第一坐标范围之后,根据所述滑动触控手势的第一移动参数控制终端屏幕中的指针进行移动。The second pointer control module is configured to, if the starting point of the sliding touch gesture is located in the second coordinate range, after the sliding touch gesture enters the first coordinate range from the second coordinate range, according to the first movement of the sliding touch gesture The parameter controls the movement of the pointer on the terminal screen.
第三方面,本申请实施例还提供了一种鼠标,该鼠标包括:In a third aspect, an embodiment of the present application also provides a mouse, which includes:
至少一个处理器;At least one processor;
存储器,设置为存储至少一个程序;Memory, set to store at least one program;
当所述至少一个程序被所述至少一个处理器执行,使得所述至少一个处理器实现本申请任意实施例所提供的鼠标控制终端屏幕的方法。When the at least one program is executed by the at least one processor, the at least one processor implements the method for controlling a terminal screen with a mouse provided in any embodiment of the present application.
第四方面,本申请实施例还提供了一种计算机可读存储介质,其上存储有计算机程序,该程序被处理器执行时实现本申请任意实施例所提供的鼠标控制终端屏幕的方法。In a fourth aspect, an embodiment of the present application also provides a computer-readable storage medium on which a computer program is stored. When the program is executed by a processor, the method for controlling a terminal screen with a mouse provided in any embodiment of the present application is implemented.
附图说明Description of the drawings
图1A是本申请实施例一提供的鼠标控制终端屏幕的方法的流程图;FIG. 1A is a flowchart of a method for using a mouse to control a terminal screen according to Embodiment 1 of the present application;
图1B是本申请实施例一提供的鼠标上用于控制指针移动的滑动触控手势输入范围的示意图;FIG. 1B is a schematic diagram of a sliding touch gesture input range used to control pointer movement on a mouse provided in Embodiment 1 of the present application; FIG.
图2A是本申请实施例二提供的鼠标控制终端屏幕的方法的流程图;2A is a flowchart of a method for controlling a screen of a terminal with a mouse provided in the second embodiment of the present application;
图2B是本申请实施例二提供的一种鼠标上表面分区的结构示意图;2B is a schematic structural diagram of a partition on the upper surface of a mouse provided in the second embodiment of the present application;
图3是本申请实施例三提供的鼠标控制终端屏幕的装置的结构示意图;FIG. 3 is a schematic structural diagram of an apparatus for controlling a terminal screen with a mouse according to a third embodiment of the present application;
图4是本申请实施例四提供的鼠标的结构示意图。FIG. 4 is a schematic structural diagram of a mouse provided in Embodiment 4 of the present application.
具体实施方式Detailed ways
除非另有定义,本文所使用的所有的技术和科学术语与属于本申请的技术领域的技术人员通常理解的含义相同。本文中在本申请的说明书中使用的术语只是为了描述具体的实施方式的目的,不是旨在于限制本申请。本文所使用的术语“和/或”包括至少一个相关的所列项目的任意的和所有的组合。Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by those skilled in the technical field of this application. The terminology used in the specification of the application herein is only for the purpose of describing specific embodiments, and is not intended to limit the application. The term "and/or" as used herein includes any and all combinations of at least one related listed item.
此外,术语“第一”、“第二”等可在本文中用于描述各种方向、动作、步骤或元件等,但这些方向、动作、步骤或元件不受这些术语限制。这些术语仅用于将第一个方向、动作、步骤或元件与另一个方向、动作、步骤或元件区分。术语“第一”、“第二”等不能理解为指示或暗示相对重要性或者隐含指明所指示的技术特征的数量。由此,限定有“第一”、“第二”的特征可以明示或者隐含地包括至少一个该特征。In addition, the terms "first", "second", etc. may be used herein to describe various directions, actions, steps or elements, etc., but these directions, actions, steps or elements are not limited by these terms. These terms are only used to distinguish a first direction, action, step or element from another direction, action, step or element. The terms "first", "second", etc. cannot be understood as indicating or implying relative importance or implicitly indicating the number of indicated technical features. Therefore, the features defined with "first" and "second" may explicitly or implicitly include at least one of the features.
在更加详细地讨论示例性实施例之前应当提到的是,一些示例性实施例被描述成作为流程图描绘的处理或方法。虽然流程图将各步骤描述成顺序的处理,但是其中的许多步骤可以被并行地、并发地或者同时实施。此外,各步骤的顺序可以被重新安排。当其操作完成时所述处理可以被终止,但是还可以具有未包括在附图中的附加步骤。所述处理可以对应于方法、函数、规程、子例程、子程序等等。Before discussing the exemplary embodiments in more detail, it should be mentioned that some exemplary embodiments are described as processes or methods depicted as flowcharts. Although the flowchart describes the steps as sequential processing, many of the steps can be implemented in parallel, concurrently, or simultaneously. In addition, the order of the steps can be rearranged. The processing may be terminated when its operation is completed, but may also have additional steps not included in the drawings. The processing may correspond to methods, functions, procedures, subroutines, subroutines, and so on.
实施例一Example one
图1A为本申请实施例一提供的鼠标控制终端屏幕的方法的流程图。本实施例可适用于用户使用鼠标对终端屏幕进行远程控制的情况,该方法可以由本申请实施例提供的鼠标控制终端屏幕的装置来执行,该装置可以由硬件和软件中的至少之一的方式来实现,一般可集成于无线鼠标中。如图1A所示,该方法包括步骤S11至S13。FIG. 1A is a flowchart of a method for using a mouse to control a terminal screen according to Embodiment 1 of this application. This embodiment is applicable to a situation where a user uses a mouse to remotely control a terminal screen. This method can be executed by the device for controlling a terminal screen with a mouse provided in this embodiment of the application, and the device can be implemented by at least one of hardware and software. To achieve this, it can generally be integrated into a wireless mouse. As shown in FIG. 1A, the method includes steps S11 to S13.
在S11中,当鼠标被设置为空中模式时,接收用户在鼠标上输入的滑动触控手势。In S11, when the mouse is set to the air mode, a sliding touch gesture input by the user on the mouse is received.
其中,鼠标的空中模式是指在不需要支撑面进行支撑的情况下所使用的模式,即可以在空中握持使用的模式。本实施例,该鼠标的整体外形接近为扁平状的立方体,将该立方体的表面中较大的两个面分别作为上表面和下表面,则可以将上表面用于接收滑动触控手势。滑动触控手势是指用户在触摸鼠标表面后不离开鼠标表面的情况下进行任意的滑动所产生的触控手势,在鼠标开始接收到滑动触控手势时,即可根据该滑动触控手势的起点及当前的移动参数来实现对终端屏幕的控制,并可在滑动触控手势离开鼠标表面时,停止对终端屏幕的控制。Among them, the air mode of the mouse refers to a mode used without a support surface for support, that is, a mode that can be held and used in the air. In this embodiment, the overall shape of the mouse is close to a flat cube, and the two larger surfaces of the cube are used as the upper surface and the lower surface, respectively, and the upper surface can be used to receive sliding touch gestures. Sliding touch gestures refer to the touch gestures generated by the user performing arbitrary sliding without leaving the surface of the mouse after touching the surface of the mouse. When the mouse starts to receive the sliding touch gesture, it can be determined according to the sliding touch gesture. The starting point and current movement parameters are used to control the terminal screen, and the control of the terminal screen can be stopped when the sliding touch gesture leaves the mouse surface.
可选的,若在接收到用户的连续两次输入的滑动触控手势中,存在以下至少之一:后一滑动触控手势的开始时间与前一滑动触控手势的结束时间之间的实际时间间隔小于预设时间间隔,后一滑动触控手势的起点与前一滑动触控手势的终点之间的实际坐标距离小于预设坐标距离,则将该连续两次输入的滑动触控手势视为单次输入且连续的滑动触控手势,即该连续两次输入的滑动触控手势的起点为前一滑动触控手势的起点,终点为后一滑动触控手势的终点,以减少由于鼠标上表面某些坐标点感应失误或由于用户手指与鼠标接触不良等情况,造成滑动触控手势提前结束,从而造成鼠标对终端屏幕的误操作。Optionally, if two consecutive sliding touch gestures from the user are received, there is at least one of the following: the actual time between the start time of the next sliding touch gesture and the end time of the previous sliding touch gesture If the time interval is less than the preset time interval, and the actual coordinate distance between the start point of the next sliding touch gesture and the end point of the previous sliding touch gesture is less than the preset coordinate distance, the two consecutive sliding touch gestures will be viewed It is a single input and continuous sliding touch gesture, that is, the starting point of the two consecutive sliding touch gestures is the starting point of the previous sliding touch gesture, and the end point is the ending point of the next sliding touch gesture, so as to reduce the risk of mouse Some coordinate points on the upper surface are sensed incorrectly or because the user's finger is in poor contact with the mouse, etc., the sliding touch gesture is terminated prematurely, resulting in misoperation of the mouse on the terminal screen.
可选的,在接收用户在鼠标上输入的滑动触控手势之后,还包括:若滑动触控手势的滑动距离小于预设距离,则不生成对终端屏幕的控制指令。Optionally, after receiving the sliding touch gesture input by the user on the mouse, the method further includes: if the sliding distance of the sliding touch gesture is less than a preset distance, no control instruction to the terminal screen is generated.
示例性的,在用户手持鼠标时,可能会存在一些误碰的情况,在这种情况下滑动触控手势的滑动距离通常非常短,于是可以通过设置一预设距离,使得当滑动触控手势的滑动距离小于该预设距离时,不生成对终端屏幕的控制指令,即终端屏幕中的页面或指针等不执行任何操作,以避免因鼠标的过度灵敏而造成的误触发。Exemplarily, when the user is holding the mouse, there may be some accidental touches. In this case, the sliding distance of the sliding touch gesture is usually very short, so a preset distance can be set so that the sliding touch gesture When the sliding distance of is less than the preset distance, no control instruction to the terminal screen is generated, that is, no operation is performed on the page or pointer on the terminal screen, so as to avoid false triggering caused by the excessive sensitivity of the mouse.
可选的,当鼠标被设置为桌面模式时,通过鼠标的激光感应器获取鼠标在支撑面上移动时的第二移动参数;根据第二移动参数控制终端屏幕中的指针进行移动。Optionally, when the mouse is set to the desktop mode, the laser sensor of the mouse acquires the second movement parameter when the mouse moves on the supporting surface; according to the second movement parameter, the pointer on the terminal screen is controlled to move.
示例性的,可根据接收到的用户对鼠标外部设置的开关进行的操作将鼠标设置为桌面模式。鼠标的桌面模式是指在需要支撑面进行支撑的情况下所使用的模式,即可以在桌面上使用的模式。当鼠标处于桌面模式时,可通过设置在上述下表面的激光感应器来获取鼠标在支撑面上移动时产生的第二移动参数,并可将第二移动参数转换为指针移动所需的坐标参数后,发送至终端以控制终端屏幕中的指针进行移动。其中,第二移动参数可包括鼠标的移动方向、移动速度以及移动距离等等。Exemplarily, the mouse can be set to the desktop mode according to the received operation performed by the user on the switch set outside the mouse. The desktop mode of the mouse refers to the mode used when a support surface is needed for support, that is, the mode that can be used on the desktop. When the mouse is in the desktop mode, the second movement parameter generated when the mouse moves on the supporting surface can be obtained through the laser sensor set on the above-mentioned lower surface, and the second movement parameter can be converted into the coordinate parameter required for the movement of the pointer After that, it is sent to the terminal to control the pointer on the terminal screen to move. Wherein, the second movement parameter may include the movement direction, movement speed, and movement distance of the mouse.
可选的,当鼠标处于桌面模式时,接收用户在鼠标上输入的点击触控手势,并根据该点击触控手势的位置确定鼠标的左键操作或右键操作。示例性的,可以将鼠标上表面中较长的一边正对用户放置,然后将放置后的鼠标的前端左半区域作为鼠标的左键输入区域,将前端右半区域作为鼠标的右键输入区域,以便于用户的操作,当用户点击左键输入区域或右键输入区域时,鼠标控制终端屏幕执行对应的点击操作,可以是单击、双击或拖拽等。可选的,还可以接收用户在鼠标的前端中间区域输入的滑动触控手势,并根据该滑动触控手势确定鼠标的滚轮操作,以控制终端屏幕进行翻页等操作。Optionally, when the mouse is in the desktop mode, a click and touch gesture input by the user on the mouse is received, and the left button operation or the right button operation of the mouse is determined according to the position of the click and touch gesture. Exemplarily, the longer side of the upper surface of the mouse can be placed facing the user, and then the left half area of the front end of the placed mouse can be used as the left key input area of the mouse, and the right half area of the front end can be used as the right key input area of the mouse. To facilitate user operations, when the user clicks the left-click input area or the right-click input area, the mouse controls the terminal screen to perform the corresponding click operation, which can be a single click, a double click, or a drag. Optionally, a sliding touch gesture input by the user in the middle area of the front end of the mouse may also be received, and the scroll wheel operation of the mouse is determined according to the sliding touch gesture, so as to control the terminal screen to perform operations such as page turning.
在S12中,若滑动触控手势的起点位于第一坐标范围,则根据滑动触控手势的第一移动参数控制终端屏幕中的指针进行移动。In S12, if the starting point of the sliding touch gesture is located in the first coordinate range, the pointer on the screen of the terminal is controlled to move according to the first movement parameter of the sliding touch gesture.
其中,将第一坐标范围作为控制指针移动的滑动触控手势的输入范围,第一坐标范围可以尽可能大但不占满鼠标的整个上表面,可选的,如图1B所示,第一坐标范围21可以是将鼠标20上表面中较短的一边正对用户放置时,鼠标20上表面中右下方向的大部分坐标范围,以扩大在使用指针功能时用户的操作范围,从而提高控制指针移动的效率。Among them, the first coordinate range is used as the input range of the sliding touch gesture for controlling the movement of the pointer. The first coordinate range can be as large as possible but does not occupy the entire upper surface of the mouse. Optionally, as shown in FIG. 1B, the first coordinate range is The coordinate range 21 can be most of the coordinate range in the lower right direction on the upper surface of the mouse 20 when the shorter side of the upper surface of the mouse 20 is placed directly against the user, so as to expand the user's operating range when using the pointer function, thereby improving control The efficiency of pointer movement.
若滑动触控手势的起点位于第一坐标范围,则该滑动触控手势可以是仅在第一坐标范围内滑动,也可以是从第一坐标范围内滑动到第一坐标范围外,还可以是从第一坐标范围内滑动到第一坐标范围外再滑动进第一坐标范围等等,即只要该滑动触控手势未离开鼠标表面,且起点位于第一坐标范围,则在当前滑动触控手势的滑动过程中,包括在第一坐标范围外滑动的过程,鼠标便根据该滑动触控手势的第一移动参数控制终端屏幕中的指针进行移动。其中,第一移动参数可包括滑动触控手势的滑动方向、滑动速度及滑动距离等等。If the starting point of the swipe touch gesture is in the first coordinate range, the swipe touch gesture may only slide within the first coordinate range, or slide from the first coordinate range to outside the first coordinate range, or Slide from the first coordinate range to outside the first coordinate range and then slide into the first coordinate range, etc., that is, as long as the sliding touch gesture does not leave the mouse surface and the starting point is in the first coordinate range, the current sliding touch gesture During the sliding process, including the process of sliding outside the first coordinate range, the mouse controls the pointer on the terminal screen to move according to the first movement parameter of the sliding touch gesture. The first movement parameter may include the sliding direction, sliding speed, and sliding distance of the sliding touch gesture.
在S13中,若滑动触控手势的起点位于第二坐标范围,则在滑动触控手势从第二坐标范围进入第一坐标范围之后,根据滑动触控手势的第一移动参数控制终端屏幕中的指针进行移动。In S13, if the starting point of the sliding touch gesture is located in the second coordinate range, after the sliding touch gesture enters the first coordinate range from the second coordinate range, the screen of the terminal is controlled according to the first movement parameter of the sliding touch gesture. The pointer moves.
其中,可选的,第二坐标范围与第一坐标范围不重合,可以将第二坐标范围作为控制页面滚动、页面翻页、页面跳转或点击页面内容等操作的触控手势的输入范围,相对于第一坐标范围,第二坐标范围可以尽可能的小,仅需为可足够实现对应功能的坐标范围即可。第二坐标范围可以是鼠标上表面中除去第一坐标范围后的剩余部分的坐标范围,也可以是该剩余部分中的一部分坐标范围,并与第一坐标范围相邻。可选的,第二坐标范围可以是鼠标上表面中左边缘部分和上边缘部分中至少之一的坐标范围。Optionally, the second coordinate range does not coincide with the first coordinate range, and the second coordinate range can be used as the input range of touch gestures for controlling page scrolling, page turning, page jumping, or clicking on page content. Compared with the first coordinate range, the second coordinate range can be as small as possible, and it only needs to be a coordinate range sufficient to realize the corresponding function. The second coordinate range may be the coordinate range of the remaining part of the upper surface of the mouse after excluding the first coordinate range, or may be a part of the coordinate range in the remaining part and adjacent to the first coordinate range. Optionally, the second coordinate range may be the coordinate range of at least one of the left edge portion and the upper edge portion of the upper surface of the mouse.
若滑动触控手势的起点位于第二坐标范围,并且该滑动触控手势从第二坐标范围滑动到第一坐标范围,则在该滑动触控手势进入到第一坐标范围之后,进入到第一坐标范围之后的过程包括进入到第一坐标范围后又再次离开第一坐 标范围之后滑动的过程,鼠标便根据该滑动触控手势的第一移动参数控制终端屏幕中的指针进行移动。If the starting point of the swipe touch gesture is in the second coordinate range, and the swipe touch gesture slides from the second coordinate range to the first coordinate range, then after the swipe touch gesture enters the first coordinate range, it enters the first coordinate range. The process after the coordinate range includes a process of sliding after entering the first coordinate range and then leaving the first coordinate range again. The mouse controls the pointer on the terminal screen to move according to the first movement parameter of the sliding touch gesture.
本申请实施例提供了一种鼠标控制终端屏幕的方法,在鼠标处于空中模式时,接收用户在鼠标上输入的滑动触控手势,并当该滑动触控手势的起点位于设定坐标范围内或从设定坐标范围外进入到设定坐标范围内时,根据该滑动触控手势的移动参数控制终端屏幕中的指针进行移动。本申请实施例所提供的技术方案,通过接收用户触控方式的输入并控制终端屏幕中的指针移动,实现了在远程使用鼠标时,准确且高效的控制终端屏幕,同时通过利用起点位于设定坐标范围的滑动触控手势以及从设定坐标范围外进入设定坐标范围内之后的滑动触控手势,控制终端屏幕中的指针移动,扩大了在使用指针控制功能时用户的操作范围,在提高了鼠标控制终端屏幕的效率的同时,也为用户的操作提供了便利。The embodiment of the application provides a method for controlling the screen of a terminal with a mouse. When the mouse is in the air mode, a sliding touch gesture input by the user on the mouse is received, and when the starting point of the sliding touch gesture is within a set coordinate range or When entering from outside the set coordinate range to within the set coordinate range, the pointer on the screen of the terminal is controlled to move according to the movement parameter of the sliding touch gesture. The technical solutions provided by the embodiments of the present application, by receiving the user's touch input and controlling the movement of the pointer on the terminal screen, realize the accurate and efficient control of the terminal screen when using the mouse remotely, and at the same time by using the starting point to set The sliding touch gesture in the coordinate range and the sliding touch gesture after entering the set coordinate range from outside the set coordinate range control the movement of the pointer on the terminal screen, expand the user's operating range when using the pointer control function, and improve While improving the efficiency of the mouse to control the terminal screen, it also provides convenience for the user's operation.
实施例二Example two
图2A为本申请实施例二提供的鼠标控制终端屏幕的方法的流程图。本实施例的技术方案在上述技术方案的基础上细化,在本实施例中,可以将第二坐标范围作为控制终端屏幕中页面进行滚动的触控手势的输入范围,即在接收用户在鼠标上输入的滑动触控手势之后,还包括:若滑动触控手势位于第二坐标范围,则根据滑动触控手势的第一移动参数控制终端屏幕中的页面进行滚动。相应的,如图2A所示,包括如下步骤S21至S24。2A is a flowchart of a method for controlling a screen of a terminal with a mouse provided in the second embodiment of the application. The technical solution of this embodiment is refined on the basis of the above technical solution. In this embodiment, the second coordinate range can be used as the input range of the touch gesture for controlling the scrolling of the page on the terminal screen, that is, after receiving the user’s mouse After the sliding touch gesture inputted on the above, it further includes: if the sliding touch gesture is located in the second coordinate range, controlling the page on the terminal screen to scroll according to the first movement parameter of the sliding touch gesture. Correspondingly, as shown in FIG. 2A, the following steps S21 to S24 are included.
在S21中,当鼠标被设置为空中模式时,接收用户在鼠标上输入的滑动触控手势。In S21, when the mouse is set to the air mode, a sliding touch gesture input by the user on the mouse is received.
在S22中,若滑动触控手势位于第二坐标范围,则根据滑动触控手势的第一移动参数控制终端屏幕中的页面进行滚动。In S22, if the sliding touch gesture is located in the second coordinate range, the page on the terminal screen is controlled to scroll according to the first movement parameter of the sliding touch gesture.
示例性的,若滑动触控手势位于第二坐标范围,则可根据滑动触控手势的 第一移动参数控制终端屏幕中的页面进行滚动,其中,页面滚动可包括自动滚动和手动滚动中的至少之一。Exemplarily, if the sliding touch gesture is located in the second coordinate range, the page on the terminal screen can be controlled to scroll according to the first movement parameter of the sliding touch gesture. The page scrolling may include at least one of automatic scrolling and manual scrolling. one.
可选的,第一移动参数可包括滑动触控手势的滑动方向、滑动速度及滑动距离等,例如,第一移动参数可以包括以下至少之一:水平方向上的滑动速度和滑动距离,垂直方向上的滑动速度和滑动距离,则鼠标可根据滑动方向控制终端屏幕的页面上滚、下滚、左滚或者右滚,还可根据不同的滑动速度控制页面滚动的速度,并在滑动触控手势结束时控制页面停止滚动。可选的,第一移动参数还可以包括滑动触控手势结束时的滑动速度,则在滑动触控手势结束时,鼠标可以根据该滑动触控手势结束时的滑动速度,控制页面保持一定的速度进行自动滚动,在页面以一定的速度自动滚动一定时间后,页面慢慢停止滚动。Optionally, the first movement parameter may include the sliding direction, sliding speed, and sliding distance of the sliding touch gesture. For example, the first movement parameter may include at least one of the following: sliding speed and sliding distance in the horizontal direction, and vertical direction According to the sliding speed and sliding distance, the mouse can control the page of the terminal screen to scroll up, down, left or right according to the sliding direction. It can also control the speed of page scrolling according to different sliding speeds, and use the sliding touch gesture Control the page to stop scrolling at the end. Optionally, the first movement parameter may also include the sliding speed at the end of the sliding touch gesture. When the sliding touch gesture ends, the mouse can control the page to maintain a certain speed according to the sliding speed at the end of the sliding touch gesture. Perform automatic scrolling. After the page automatically scrolls at a certain speed for a certain period of time, the page slowly stops scrolling.
可选的,若滑动触控手势位于第二坐标范围,并在开始滑动之前包括超过预设时长的长按动作,则根据滑动触控手势的第一移动参数控制终端屏幕中的页面进行自动滚动。示例性的,若滑动触控手势在一开始包括长按动作,则在长按超过预设时长后,控制页面进入自动滚动模式,然后可根据滑动触控手势的滑动速度和滑动方向等控制页面自动滚动的速度和方向。Optionally, if the swipe touch gesture is located in the second coordinate range and includes a long-press action that exceeds a preset duration before the start of the swipe, the page on the terminal screen is controlled to automatically scroll according to the first movement parameter of the swipe touch gesture . Exemplarily, if the sliding touch gesture includes a long press at the beginning, after the long press exceeds the preset time, the control page enters the automatic scroll mode, and then the page can be controlled according to the sliding speed and direction of the sliding touch gesture, etc. Speed and direction of automatic scrolling.
可选的,第二坐标范围包括第三坐标范围和第四坐标范围;相应的,若滑动触控手势位于第二坐标范围,则根据滑动触控手势的第一移动参数控制终端屏幕中的页面进行滚动,包括:若滑动触控手势为在第三坐标范围内垂直方向的手势,则根据滑动触控手势的第一移动参数控制终端屏幕中的页面在垂直方向进行滚动;若滑动触控手势为在第四坐标范围内水平方向的手势,则根据滑动触控手势的第一移动参数控制终端屏幕中的页面在水平方向进行滚动。Optionally, the second coordinate range includes a third coordinate range and a fourth coordinate range; correspondingly, if the sliding touch gesture is located in the second coordinate range, the page in the terminal screen is controlled according to the first movement parameter of the sliding touch gesture Scrolling includes: if the sliding touch gesture is a vertical gesture within the third coordinate range, controlling the page on the terminal screen to scroll in the vertical direction according to the first movement parameter of the sliding touch gesture; if the sliding touch gesture It is a gesture in the horizontal direction within the fourth coordinate range, and the page on the screen of the terminal is controlled to scroll in the horizontal direction according to the first movement parameter of the sliding touch gesture.
示例性的,可以将第二坐标范围进而划分成第三坐标范围和第四坐标范围,可选的,如图2B所示,第三坐标范围22可以是鼠标20上表面左边缘部分的坐标范围,第四坐标范围23可以是鼠标20上表面上边缘部分的坐标范围,鼠标20剩余的坐标范围为第一坐标范围21。然后将第三坐标范围22作为控制页面 上下滚动的滑动触控手势的输入范围,将第四坐标范围23作为控制页面左右滚动的滑动触控手势的输入范围,以实现分区域的控制页面不同方向的滚动过程,从而实现更准确的控制,也为用户的使用提供了便利。Exemplarily, the second coordinate range may be further divided into a third coordinate range and a fourth coordinate range. Optionally, as shown in FIG. 2B, the third coordinate range 22 may be the coordinate range of the left edge portion of the upper surface of the mouse 20 The fourth coordinate range 23 may be the coordinate range of the upper edge portion of the upper surface of the mouse 20, and the remaining coordinate range of the mouse 20 is the first coordinate range 21. Then the third coordinate range 22 is used as the input range of the sliding touch gesture for controlling page scrolling up and down, and the fourth coordinate range 23 is used as the input range of sliding touch gesture for controlling page scrolling left and right, so as to realize sub-regional control of different directions of the page. The scrolling process in order to achieve more accurate control, but also provides convenience for users.
在S23中,若滑动触控手势的起点位于第一坐标范围,则根据滑动触控手势的第一移动参数控制终端屏幕中的指针进行移动。In S23, if the starting point of the sliding touch gesture is located in the first coordinate range, the pointer on the screen of the terminal is controlled to move according to the first movement parameter of the sliding touch gesture.
在S24中,若滑动触控手势的起点位于第二坐标范围,则在滑动触控手势从第二坐标范围进入第一坐标范围之后,根据滑动触控手势的第一移动参数控制终端屏幕中的指针进行移动。In S24, if the starting point of the sliding touch gesture is located in the second coordinate range, after the sliding touch gesture enters the first coordinate range from the second coordinate range, the screen of the terminal is controlled according to the first movement parameter of the sliding touch gesture. The pointer moves.
可选的,在接收用户在鼠标上输入的滑动触控手势之后,还包括:若滑动触控手势为在第五坐标范围内的两指或三指同向手势,则根据滑动触控手势的第一移动参数控制终端屏幕进行页面切换,其中,第五坐标范围是鼠标上可接收滑动触控手势的任意坐标范围。Optionally, after receiving the sliding touch gesture input by the user on the mouse, the method further includes: if the sliding touch gesture is a two-finger or three-finger gesture in the same direction within the fifth coordinate range, then according to the sliding touch gesture The first movement parameter controls the screen of the terminal to switch pages, where the fifth coordinate range is any coordinate range that can receive a sliding touch gesture on the mouse.
可选的,第五坐标范围可以是鼠标上表面的部分范围或全部范围,即可以包括其他坐标范围或与其他坐标范围重合,当鼠标识别滑动触控手势为两指或三指同时同向输入时,则忽略其他坐标范围原本的功能,直接进入页面切换的功能,此时第一移动参数可包括滑动方向等,鼠标即可根据该滑动方向控制终端屏幕页面切换的过程。示例性的,当滑动触控手势为两指或三指左滑手势时,可控制当前页面切换到上一页面,当滑动触控手势为两指或三指右滑手势时,可控制当前页面切换到下一页面等。Optionally, the fifth coordinate range can be part or all of the upper surface of the mouse, that is, it can include or overlap with other coordinate ranges. When the mouse recognizes the sliding touch gesture as two or three fingers simultaneously input in the same direction At this time, the original function of other coordinate ranges is ignored, and the page switching function is directly entered. At this time, the first movement parameter may include the sliding direction, etc., and the mouse can control the process of switching the terminal screen page according to the sliding direction. Exemplarily, when the sliding touch gesture is a two-finger or three-finger sliding left gesture, the current page can be controlled to switch to the previous page, and when the sliding touch gesture is a two-finger or three-finger sliding right gesture, the current page can be controlled Switch to the next page and so on.
可选的,在接收用户在鼠标上输入的滑动触控手势之后,还包括:若滑动触控手势为在第六坐标范围内的两指相向手势,则根据滑动触控手势的第一移动参数控制终端屏幕中的页面进行缩小,其中,第六坐标范围是鼠标上可接收滑动触控手势的任意坐标范围;若滑动触控手势为在第六坐标范围内的两指反向手势,则根据滑动触控手势的第一移动参数控制终端屏幕中的页面进行放大。Optionally, after receiving the sliding touch gesture input by the user on the mouse, the method further includes: if the sliding touch gesture is a two-finger facing gesture within the sixth coordinate range, according to the first movement parameter of the sliding touch gesture The page on the screen of the control terminal is zoomed out, where the sixth coordinate range is any coordinate range that can receive sliding touch gestures on the mouse; if the sliding touch gesture is a two-finger reverse gesture within the sixth coordinate range, then The first movement parameter of the sliding touch gesture controls the page on the screen of the terminal to zoom in.
可选的,第六坐标范围可以是鼠标上表面的部分范围或全部范围,即可以 包括其他坐标范围或与其他坐标范围重合,当鼠标识别滑动触控手势为两指同时不同向输入时,则忽略其他坐标范围原本的功能,直接进入页面缩放的功能,此时第一移动参数可包括滑动距离等,鼠标即可根据该滑动距离控制终端屏幕页面放大或缩小的程度。示例性的,当滑动触控手势为两指相向手势时,控制页面进行缩小,当滑动触控手势为两指反向手势时,控制页面进行放大。Optionally, the sixth coordinate range may be part or all of the upper surface of the mouse, that is, it may include other coordinate ranges or overlap with other coordinate ranges. When the mouse recognizes the sliding touch gesture as two fingers simultaneously inputting in different directions, then Ignore the original function of other coordinate ranges and directly enter the page zoom function. At this time, the first movement parameter may include a sliding distance, etc., and the mouse can control the degree of zooming in or out of the terminal screen page according to the sliding distance. Exemplarily, when the sliding touch gesture is a two-finger facing gesture, the page is controlled to zoom out, and when the sliding touch gesture is a two-finger opposite gesture, the page is controlled to zoom in.
本申请实施例所提供的技术方案,通过根据鼠标上第二坐标范围输入的滑动触控手势控制终端屏幕中页面进行滚动,并将第二坐标范围划分成第三坐标范围和第四坐标范围,以分别控制页面上下滚动和左右滚动,以及提供了控制页面切换以及缩放的方法,实现了在远程使用鼠标时,准确且高效的控制终端屏幕的过程,并为用户的使用提供了更多的便利。The technical solution provided by the embodiment of the present application controls the scrolling of the page on the terminal screen according to the sliding touch gesture input from the second coordinate range on the mouse, and divides the second coordinate range into a third coordinate range and a fourth coordinate range. It controls the page scrolling up and down and left and right scrolling separately, as well as the method of controlling page switching and zooming, which realizes the accurate and efficient process of controlling the terminal screen when using the mouse remotely, and provides more convenience for the user. .
实施例三Example three
图3为本申请实施例三提供的鼠标控制终端屏幕的装置的结构示意图,该装置可以由硬件和软件中的至少之一的方式来实现,一般可集成于无线鼠标中,设置为执行本申请任意实施例所提供的鼠标控制终端屏幕的方法。如图3所示,该装置包括:Fig. 3 is a schematic structural diagram of a device for controlling a terminal screen with a mouse provided in the third embodiment of the application. The device can be implemented by at least one of hardware and software, and can generally be integrated into a wireless mouse and configured to execute the application. A method for controlling a terminal screen with a mouse provided by any embodiment. As shown in Figure 3, the device includes:
手势接收模块31,设置为当鼠标被设置为空中模式时,接收用户在鼠标上输入的滑动触控手势;The gesture receiving module 31 is configured to receive the sliding touch gesture input by the user on the mouse when the mouse is set to the air mode;
第一指针控制模块32,设置为若滑动触控手势的起点位于第一坐标范围,则根据滑动触控手势的第一移动参数控制终端屏幕中的指针进行移动;The first pointer control module 32 is configured to control the pointer in the terminal screen to move according to the first movement parameter of the sliding touch gesture if the starting point of the sliding touch gesture is located in the first coordinate range;
第二指针控制模块33,设置为若滑动触控手势的起点位于第二坐标范围,则在滑动触控手势从第二坐标范围进入第一坐标范围之后,根据滑动触控手势的第一移动参数控制终端屏幕中的指针进行移动。The second pointer control module 33 is configured to, if the starting point of the sliding touch gesture is located in the second coordinate range, after the sliding touch gesture enters the first coordinate range from the second coordinate range, according to the first movement parameter of the sliding touch gesture Control the pointer on the terminal screen to move.
本申请实施例所提供的技术方案,通过接收用户触控方式的输入并控制终端屏幕中的指针移动,实现了在远程使用鼠标时,准确且高效的控制终端屏幕, 同时通过利用起点位于设定坐标范围的滑动触控手势以及从设定坐标范围外进入设定坐标范围内之后的滑动触控手势,控制终端屏幕中的指针移动,扩大了在使用指针控制功能时用户的操作范围,在提高了鼠标控制终端屏幕的效率的同时,也为用户的操作提供了便利。The technical solutions provided by the embodiments of the present application, by receiving user touch input and controlling the movement of the pointer on the terminal screen, achieve accurate and efficient control of the terminal screen when using the mouse remotely, and at the same time by using the starting point to set The sliding touch gesture in the coordinate range and the sliding touch gesture after entering the set coordinate range from outside the set coordinate range control the movement of the pointer on the terminal screen, expand the user's operating range when using the pointer control function, and improve While improving the efficiency of the mouse to control the terminal screen, it also provides convenience for the user's operation.
可选的,该鼠标控制终端屏幕的装置,还包括:Optionally, the device for controlling the screen of the terminal by the mouse further includes:
页面滚动控制模块,设置为在接收用户在鼠标上输入的滑动触控手势之后,若滑动触控手势位于第二坐标范围,则根据滑动触控手势的第一移动参数控制终端屏幕中的页面进行滚动。The page scroll control module is configured to, after receiving the sliding touch gesture input by the user on the mouse, if the sliding touch gesture is in the second coordinate range, control the page progress on the terminal screen according to the first movement parameter of the sliding touch gesture scroll.
可选的,第二坐标范围包括第三坐标范围和第四坐标范围;Optionally, the second coordinate range includes a third coordinate range and a fourth coordinate range;
页面滚动控制模块,包括:Page scroll control module, including:
第一页面滚动控制单元,设置为若滑动触控手势为在第三坐标范围内垂直方向的手势,则根据滑动触控手势的第一移动参数控制终端屏幕中的页面在垂直方向进行滚动;The first page scrolling control unit is configured to, if the sliding touch gesture is a vertical gesture within the third coordinate range, control the page on the terminal screen to scroll in the vertical direction according to the first movement parameter of the sliding touch gesture;
第二页面滚动控制单元,设置为若滑动触控手势为在第四坐标范围内水平方向的手势,则根据滑动触控手势的第一移动参数控制终端屏幕中的页面在水平方向进行滚动。The second page scroll control unit is configured to, if the sliding touch gesture is a horizontal gesture within the fourth coordinate range, control the page on the terminal screen to scroll in the horizontal direction according to the first movement parameter of the sliding touch gesture.
可选的,该鼠标控制终端屏幕的装置,还包括:Optionally, the device for controlling the screen of the terminal by the mouse further includes:
滑动距离判断模块,设置为在接收用户在鼠标上输入的滑动触控手势之后,若滑动触控手势的滑动距离小于预设距离,则不生成对终端屏幕的控制指令。The sliding distance judgment module is configured to, after receiving the sliding touch gesture input by the user on the mouse, if the sliding distance of the sliding touch gesture is less than the preset distance, then no control instruction to the terminal screen is generated.
可选的,该鼠标控制终端屏幕的装置,还包括:Optionally, the device for controlling the screen of the terminal by the mouse further includes:
页面切换控制模块,设置为在接收用户在鼠标上输入的滑动触控手势之后,若滑动触控手势为在第五坐标范围内的两指或三指同向手势,则根据滑动触控手势的第一移动参数控制终端屏幕进行页面切换,其中,第五坐标范围是鼠标上可接收滑动触控手势的任意坐标范围。The page switching control module is configured to, after receiving the sliding touch gesture input by the user on the mouse, if the sliding touch gesture is a two-finger or three-finger gesture in the same direction within the fifth coordinate range, then according to the sliding touch gesture The first movement parameter controls the screen of the terminal to switch pages, where the fifth coordinate range is any coordinate range that can receive a sliding touch gesture on the mouse.
可选的,该鼠标控制终端屏幕的装置,还包括:Optionally, the device for controlling the screen of the terminal by the mouse further includes:
页面缩放控制模块,设置为在接收用户在鼠标上输入的滑动触控手势之后,若滑动触控手势为在第六坐标范围内的两指相向手势,则根据滑动触控手势的第一移动参数控制终端屏幕中的页面进行缩小,其中,第六坐标范围是鼠标上可接收滑动触控手势的任意坐标范围;若滑动触控手势为在第六坐标范围内的两指反向手势,则根据滑动触控手势的第一移动参数控制终端屏幕中的页面进行放大。The page zoom control module is configured to, after receiving the sliding touch gesture input by the user on the mouse, if the sliding touch gesture is a two-finger facing gesture within the sixth coordinate range, according to the first movement parameter of the sliding touch gesture The page on the screen of the control terminal is zoomed out, where the sixth coordinate range is any coordinate range that can receive sliding touch gestures on the mouse; if the sliding touch gesture is a two-finger reverse gesture within the sixth coordinate range, then The first movement parameter of the sliding touch gesture controls the page on the screen of the terminal to zoom in.
可选的,该鼠标控制终端屏幕的装置,还包括:Optionally, the device for controlling the screen of the terminal by the mouse further includes:
移动参数获取模块,设置为当鼠标被设置为桌面模式时,通过鼠标的激光感应器获取鼠标在支撑面上移动时的第二移动参数;The movement parameter obtaining module is set to obtain the second movement parameter of the mouse when the mouse moves on the supporting surface through the laser sensor of the mouse when the mouse is set to the desktop mode;
第三指针控制模块,设置为根据第二移动参数控制终端屏幕中的指针进行移动。The third pointer control module is configured to control the pointer on the terminal screen to move according to the second movement parameter.
本申请实施例所提供的鼠标控制终端屏幕的装置可执行本申请任意实施例所提供的鼠标控制终端屏幕的方法,具备执行方法相应的功能模块。The device for controlling a terminal screen with a mouse provided in an embodiment of the present application can execute the method for controlling a terminal screen with a mouse provided in any embodiment of the present application, and has functional modules corresponding to the execution method.
值得注意的是,在上述鼠标控制终端屏幕的装置的实施例中,所包括的各个单元和模块只是按照功能逻辑进行划分的,但并不局限于上述的划分,只要能够实现相应的功能即可;另外,各功能单元的名称也只是为了便于相互区分,并不用于限制本申请的保护范围。It is worth noting that in the above embodiment of the device for controlling the terminal screen with a mouse, the included units and modules are only divided according to functional logic, but are not limited to the above division, as long as the corresponding functions can be realized. ; In addition, the names of the functional units are only for the convenience of distinguishing each other, and are not used to limit the scope of protection of this application.
实施例四Example four
图4为本申请实施例四提供的鼠标的结构示意图,示出了适于用来实现本申请实施方式的示例性鼠标的框图。图4显示的鼠标仅仅是一个示例,不应对本申请实施例的功能和使用范围带来任何限制。如图4所示,该鼠标包括处理器41、存储器42、输入装置43及输出装置44;鼠标中处理器41的数量可以是一个或多个,图4中以一个处理器41为例,鼠标中的处理器41、存储器42、 输入装置43及输出装置44可以通过总线或其他方式连接,图4中以通过总线连接为例。4 is a schematic structural diagram of a mouse provided in Embodiment 4 of the present application, and shows a block diagram of an exemplary mouse suitable for implementing the implementation manners of the present application. The mouse shown in FIG. 4 is only an example, and should not bring any limitation to the function and scope of use of the embodiments of the present application. As shown in Figure 4, the mouse includes a processor 41, a memory 42, an input device 43, and an output device 44; the number of processors 41 in the mouse can be one or more. In Figure 4, one processor 41 is taken as an example. The processor 41, the memory 42, the input device 43, and the output device 44 may be connected by a bus or other methods. In FIG. 4, the connection by a bus is taken as an example.
存储器42作为一种计算机可读存储介质,可设置为存储软件程序、计算机可执行程序以及模块,如本申请实施例中的鼠标控制终端屏幕的方法对应的程序指令/模块(例如,鼠标控制终端屏幕的装置中的手势接收模块31、第一指针控制模块32及第二指针控制模块33)。处理器41通过运行存储在存储器42中的软件程序、指令以及模块,从而执行鼠标的各种功能应用以及数据处理,即实现上述的鼠标控制终端屏幕的方法。As a computer-readable storage medium, the memory 42 can be configured to store software programs, computer-executable programs, and modules, such as program instructions/modules corresponding to the method for controlling a terminal screen by a mouse in the embodiment of the present application (for example, a mouse controlling terminal The gesture receiving module 31, the first pointer control module 32, and the second pointer control module 33 in the screen device). The processor 41 executes various functional applications and data processing of the mouse by running the software programs, instructions, and modules stored in the memory 42, that is, realizes the above-mentioned method of controlling the terminal screen by the mouse.
存储器42可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序;存储数据区可存储根据鼠标的使用所创建的数据等。此外,存储器42可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他非易失性固态存储器件。The memory 42 may mainly include a program storage area and a data storage area. The program storage area may store an operating system and an application program required by at least one function; the data storage area may store data created according to the use of the mouse. In addition, the memory 42 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one magnetic disk storage device, a flash memory device, or other non-volatile solid-state storage devices.
输入装置43可设置为接收用户输入的滑动触控手势,以及产生与鼠标的用户设置以及功能控制有关的键信号输入。输出装置44可包括无线通信装置,可设置为向终端发送屏幕的控制指令,相应的,终端可通过外置的接收器或者内置的蓝牙接收芯片来接收鼠标发送的控制指令。The input device 43 may be configured to receive sliding touch gestures input by the user, and to generate key signal inputs related to user settings and function control of the mouse. The output device 44 may include a wireless communication device, which may be configured to send screen control instructions to the terminal. Correspondingly, the terminal may receive the control instructions sent by the mouse through an external receiver or a built-in Bluetooth receiver chip.
实施例五Example five
本申请实施例五还提供一种包含计算机可执行指令的存储介质,该计算机可执行指令在由计算机处理器执行时用于执行一种鼠标控制终端屏幕的方法,该方法包括:The fifth embodiment of the present application also provides a storage medium containing computer-executable instructions, when the computer-executable instructions are executed by a computer processor, a method for controlling a terminal screen with a mouse is executed, and the method includes:
当鼠标被设置为空中模式时,接收用户在鼠标上输入的滑动触控手势;When the mouse is set to the air mode, receive the sliding touch gesture input by the user on the mouse;
若滑动触控手势的起点位于第一坐标范围,则根据滑动触控手势的第一移动参数控制终端屏幕中的指针进行移动;If the starting point of the sliding touch gesture is located in the first coordinate range, controlling the pointer on the terminal screen to move according to the first movement parameter of the sliding touch gesture;
若滑动触控手势的起点位于第二坐标范围,则在滑动触控手势从第二坐标范围进入第一坐标范围之后,根据滑动触控手势的第一移动参数控制终端屏幕中的指针进行移动。If the starting point of the swipe touch gesture is in the second coordinate range, after the swipe touch gesture enters the first coordinate range from the second coordinate range, the pointer in the terminal screen is controlled to move according to the first movement parameter of the swipe touch gesture.
存储介质——任何的各种类型的存储器设备或存储设备。术语“存储介质”旨在包括:安装介质,例如便携式紧凑磁盘只读存储器(Compact Disc Read-Only Memory,CD-ROM)、软盘或磁带装置;计算机系统存储器或随机存取存储器,诸如动态随机存取存储器(Dynamic Random Access Memory,DRAM)、双倍速率随机存取存储器(Double Data Rate Random Access Memory,DDR RAM)、静态随机存取存储器(Static Random Access Memory,SRAM)、扩展式数据输出随机存取存储器(Extended Data Output Random Access Memory,EDO RAM),兰巴斯(Rambus)RAM等;非易失性存储器,诸如闪存、磁介质(例如硬盘或光存储);寄存器或其它相似类型的存储器元件等。存储介质可以还包括其它类型的存储器或其组合。另外,存储介质可以位于程序在其中被执行的计算机系统中,或者可以位于不同的第二计算机系统中,第二计算机系统通过网络(诸如因特网)连接到计算机系统。第二计算机系统可以提供程序指令给计算机用于执行。术语“存储介质”可以包括可以驻留在不同位置中(例如在通过网络连接的不同计算机系统中)的两个或更多存储介质。存储介质可以存储可由至少一个处理器执行的程序指令(例如具体实现为计算机程序)。Storage medium-any of various types of storage devices or storage devices. The term "storage medium" is intended to include: installation media, such as compact Disc Read-Only Memory (CD-ROM), floppy disks or tape devices; computer system memory or random access memory, such as dynamic random access memory Access memory (Dynamic Random Access Memory, DRAM), Double Data Rate Random Access Memory (DDR RAM), Static Random Access Memory (SRAM), and extended data output random access memory Access memory (Extended Data Output Random Access Memory, EDO RAM), Rambus RAM, etc.; non-volatile memory, such as flash memory, magnetic media (such as hard disk or optical storage); registers or other similar types of memory components Wait. The storage medium may further include other types of memory or a combination thereof. In addition, the storage medium may be located in the computer system in which the program is executed, or may be located in a different second computer system connected to the computer system through a network (such as the Internet). The second computer system can provide program instructions to the computer for execution. The term "storage media" may include two or more storage media that may reside in different locations (for example, in different computer systems connected through a network). The storage medium may store program instructions (for example, embodied as a computer program) executable by at least one processor.
当然,本申请实施例所提供的一种包含计算机可执行指令的存储介质,其计算机可执行指令不限于如上所述的方法操作,还可以执行本申请任意实施例所提供的鼠标控制终端屏幕的方法中的相关操作。Of course, the storage medium containing computer-executable instructions provided by the embodiments of the present application is not limited to the method operations described above, and can also execute the mouse control terminal screen provided by any embodiment of the present application. Related operations in the method.
计算机可读的信号介质可以包括在基带中或者作为载波一部分传播的数据信号,其中承载了计算机可读的程序代码。这种传播的数据信号可以采用多种形式,包括但不限于电磁信号、光信号或上述的任意合适的组合。计算机可读的信号介质还可以是计算机可读存储介质以外的任何计算机可读介质,该计算机可读介质可以发送、传播或者传输用于由指令执行系统、装置或者器件使用 或者与其结合使用的程序。The computer-readable signal medium may include a data signal propagated in baseband or as a part of a carrier wave, and computer-readable program code is carried therein. This propagated data signal can take many forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the foregoing. The computer-readable signal medium may also be any computer-readable medium other than the computer-readable storage medium, and the computer-readable medium may send, propagate, or transmit the program for use by or in combination with the instruction execution system, apparatus, or device .
计算机可读介质上包含的程序代码可以用任何适当的介质传输,包括——但不限于无线、电线、光缆、射频(Radio Frequency,RF)等等,或者上述的任意合适的组合。The program code contained on the computer-readable medium can be transmitted by any suitable medium, including but not limited to wireless, wire, optical cable, radio frequency (RF), etc., or any suitable combination of the foregoing.
通过以上关于实施方式的描述,所属领域的技术人员可以清楚地了解到,本申请可借助软件及必需的通用硬件来实现,当然也可以通过硬件实现。基于这样的理解,本申请的技术方案本质上或者说对相关技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品可以存储在计算机可读存储介质中,如计算机的软盘、只读存储器(Read-Only Memory,ROM)、随机存取存储器(Random Access Memory,RAM)、闪存(FLASH)、硬盘或光盘等,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本申请各个实施例所述的方法。Through the above description of the implementation manners, those skilled in the art can clearly understand that the present application can be implemented by software and necessary general-purpose hardware, and of course, it can also be implemented by hardware. Based on this understanding, the technical solution of this application essentially or the part that contributes to the related technology can be embodied in the form of a software product, and the computer software product can be stored in a computer-readable storage medium, such as a computer floppy disk, Read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), flash memory (FLASH), hard disk or optical disk, etc., including several instructions to make a computer device (which can be a personal computer, A server, or a network device, etc.) executes the method described in each embodiment of the present application.

Claims (10)

  1. 一种鼠标控制终端屏幕的方法,包括:A method for using a mouse to control a terminal screen includes:
    响应于鼠标被设置为空中模式,接收用户在所述鼠标上输入的滑动触控手势;In response to the mouse being set to the air mode, receiving a sliding touch gesture input by the user on the mouse;
    响应于确定所述滑动触控手势的起点位于第一坐标范围,根据所述滑动触控手势的第一移动参数控制终端屏幕中的指针进行移动;In response to determining that the starting point of the sliding touch gesture is located in the first coordinate range, controlling the pointer on the terminal screen to move according to the first movement parameter of the sliding touch gesture;
    响应于确定所述滑动触控手势的起点位于第二坐标范围,在所述滑动触控手势从所述第二坐标范围进入所述第一坐标范围之后,根据所述滑动触控手势的第一移动参数控制所述终端屏幕中的指针进行移动。In response to determining that the starting point of the swipe touch gesture is located in the second coordinate range, after the swipe touch gesture enters the first coordinate range from the second coordinate range, according to the first coordinate range of the swipe touch gesture The movement parameter controls the movement of the pointer on the screen of the terminal.
  2. 根据权利要求1所述的方法,在所述接收用户在所述鼠标上输入的滑动触控手势之后,还包括:The method according to claim 1, after the receiving the sliding touch gesture input by the user on the mouse, further comprising:
    响应于确定所述滑动触控手势位于所述第二坐标范围,根据所述滑动触控手势的第一移动参数控制所述终端屏幕中的页面进行滚动。In response to determining that the sliding touch gesture is located in the second coordinate range, controlling the page on the terminal screen to scroll according to the first movement parameter of the sliding touch gesture.
  3. 根据权利要求2所述的方法,其中,所述第二坐标范围包括第三坐标范围和第四坐标范围;The method according to claim 2, wherein the second coordinate range includes a third coordinate range and a fourth coordinate range;
    所述响应于确定所述滑动触控手势位于所述第二坐标范围,根据所述滑动触控手势的第一移动参数控制所述终端屏幕中的页面进行滚动,包括:In response to determining that the sliding touch gesture is located in the second coordinate range, controlling a page on the terminal screen to scroll according to a first movement parameter of the sliding touch gesture includes:
    响应于确定所述滑动触控手势为在所述第三坐标范围内垂直方向的手势,根据所述滑动触控手势的第一移动参数控制所述终端屏幕中的页面在垂直方向进行滚动;In response to determining that the sliding touch gesture is a gesture in a vertical direction within the third coordinate range, controlling the page on the terminal screen to scroll in the vertical direction according to the first movement parameter of the sliding touch gesture;
    响应于确定所述滑动触控手势为在所述第四坐标范围内水平方向的手势,根据所述滑动触控手势的第一移动参数控制所述终端屏幕中的页面在水平方向进行滚动。In response to determining that the sliding touch gesture is a gesture in the horizontal direction within the fourth coordinate range, controlling the page on the terminal screen to scroll in the horizontal direction according to the first movement parameter of the sliding touch gesture.
  4. 根据权利要求1所述的方法,在所述接收用户在所述鼠标上输入的滑动触控手势之后,还包括:The method according to claim 1, after the receiving the sliding touch gesture input by the user on the mouse, further comprising:
    响应于确定所述滑动触控手势的滑动距离小于预设距离,不生成对所述终端屏幕的控制指令。In response to determining that the sliding distance of the sliding touch gesture is less than a preset distance, no control instruction to the terminal screen is generated.
  5. 根据权利要求1所述的方法,在所述接收用户在所述鼠标上输入的滑动触控手势之后,还包括:The method according to claim 1, after the receiving the sliding touch gesture input by the user on the mouse, further comprising:
    响应于确定所述滑动触控手势为在第五坐标范围内的两指或三指同向手势,根据所述滑动触控手势的第一移动参数控制所述终端屏幕进行页面切换,其中,所述第五坐标范围是所述鼠标上可接收所述滑动触控手势的任意坐标范围。In response to determining that the sliding touch gesture is a two-finger or three-finger gesture in the same direction within the fifth coordinate range, the terminal screen is controlled to switch pages according to the first movement parameter of the sliding touch gesture, wherein The fifth coordinate range is any coordinate range that can receive the sliding touch gesture on the mouse.
  6. 根据权利要求1所述的方法,在所述接收用户在所述鼠标上输入的滑动触控手势之后,还包括:The method according to claim 1, after the receiving the sliding touch gesture input by the user on the mouse, further comprising:
    响应于确定所述滑动触控手势为在第六坐标范围内的两指相向手势,根据所述滑动触控手势的第一移动参数控制所述终端屏幕中的页面进行缩小,其中,所述第六坐标范围是所述鼠标上可接收所述滑动触控手势的任意坐标范围;In response to determining that the sliding touch gesture is a two-finger facing gesture within the sixth coordinate range, controlling the page on the terminal screen to zoom out according to the first movement parameter of the sliding touch gesture, wherein the first The six-coordinate range is any coordinate range that can receive the sliding touch gesture on the mouse;
    响应于确定所述滑动触控手势为在所述第六坐标范围内的两指反向手势,根据所述滑动触控手势的第一移动参数控制所述终端屏幕中的页面进行放大。In response to determining that the sliding touch gesture is a two-finger reverse gesture within the sixth coordinate range, controlling the page on the terminal screen to zoom in according to the first movement parameter of the sliding touch gesture.
  7. 根据权利要求1所述的方法,还包括:The method according to claim 1, further comprising:
    响应于确定所述鼠标被设置为桌面模式,In response to determining that the mouse is set to desktop mode,
    通过所述鼠标的激光感应器获取所述鼠标在支撑面上移动时的第二移动参数;Acquiring the second movement parameter of the mouse when the mouse moves on the supporting surface through the laser sensor of the mouse;
    根据所述第二移动参数控制所述终端屏幕中的指针进行移动。Controlling the pointer on the terminal screen to move according to the second movement parameter.
  8. 一种鼠标控制终端屏幕的装置,包括:A device for controlling the screen of a terminal with a mouse, including:
    手势接收模块,设置为当鼠标被设置为空中模式时,接收用户在所述鼠标上输入的滑动触控手势;A gesture receiving module, configured to receive a sliding touch gesture input by the user on the mouse when the mouse is set to the air mode;
    第一指针控制模块,设置为若所述滑动触控手势的起点位于第一坐标范围,则根据所述滑动触控手势的第一移动参数控制终端屏幕中的指针进行移动;The first pointer control module is configured to control the pointer on the terminal screen to move according to the first movement parameter of the sliding touch gesture if the starting point of the sliding touch gesture is located in the first coordinate range;
    第二指针控制模块,设置为若所述滑动触控手势的起点位于第二坐标范围,则在所述滑动触控手势从所述第二坐标范围进入所述第一坐标范围之后,根据所述滑动触控手势的第一移动参数控制所述终端屏幕中的指针进行移动。The second pointer control module is configured to, if the starting point of the sliding touch gesture is located in the second coordinate range, after the sliding touch gesture enters the first coordinate range from the second coordinate range, according to the The first movement parameter of the sliding touch gesture controls the pointer on the terminal screen to move.
  9. 一种鼠标,包括:A mouse including:
    至少一个处理器;At least one processor;
    存储器,设置为存储至少一个程序;Memory, set to store at least one program;
    当所述至少一个程序被所述至少一个处理器执行,使得所述至少一个处理器实现如权利要求1-7中任一所述的鼠标控制终端屏幕的方法。When the at least one program is executed by the at least one processor, the at least one processor implements the method for controlling a terminal screen with a mouse according to any one of claims 1-7.
  10. 一种计算机可读存储介质,所述计算机可读存储介质上存储有计算机程序,所述计算机程序被处理器执行时,实现如权利要求1-7中任一所述的鼠标控制终端屏幕的方法。A computer-readable storage medium having a computer program stored on the computer-readable storage medium, and when the computer program is executed by a processor, the method for controlling a terminal screen with a mouse according to any one of claims 1-7 is realized .
PCT/CN2021/085363 2020-04-02 2021-04-02 Method and apparatus for controlling terminal screen by means of mouse, mouse and storage medium WO2021197487A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202010253847.6 2020-04-02
CN202010253847.6A CN111459303A (en) 2020-04-02 2020-04-02 Method and device for controlling terminal screen by mouse, mouse and storage medium

Publications (1)

Publication Number Publication Date
WO2021197487A1 true WO2021197487A1 (en) 2021-10-07

Family

ID=71681695

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/085363 WO2021197487A1 (en) 2020-04-02 2021-04-02 Method and apparatus for controlling terminal screen by means of mouse, mouse and storage medium

Country Status (2)

Country Link
CN (1) CN111459303A (en)
WO (1) WO2021197487A1 (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111459303A (en) * 2020-04-02 2020-07-28 北京奇点跳跃科技有限公司 Method and device for controlling terminal screen by mouse, mouse and storage medium
CN113253906B (en) * 2021-06-08 2023-11-14 北京字节跳动网络技术有限公司 Input data processing method, device and equipment
WO2023077292A1 (en) * 2021-11-03 2023-05-11 北京奇点跳跃科技有限公司 Method and apparatus for controlling terminal screen by means of trackpad, control device, and storage medium
US11816275B1 (en) * 2022-08-02 2023-11-14 International Business Machines Corporation In-air control regions

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080100574A1 (en) * 2006-10-30 2008-05-01 Imu Solutions, Inc. Display cursor control device with enhanced multiple dimensional tilt angle operation
CN102830819A (en) * 2012-08-21 2012-12-19 曾斌 Method and equipment for simulating mouse input
US20140015750A1 (en) * 2012-07-11 2014-01-16 Po Hsin Chen Multimode pointing device
CN104349195A (en) * 2013-07-26 2015-02-11 天津富纳源创科技有限公司 Control method of multipurpose remote controller of intelligent TV and control system thereof
CN104345905A (en) * 2013-07-26 2015-02-11 天津富纳源创科技有限公司 Control method for touch air mouse
CN106550108A (en) * 2016-09-08 2017-03-29 珠海格力电器股份有限公司 Device, method and the mobile phone with the device of mouse function are realized with mobile phone
CN111459303A (en) * 2020-04-02 2020-07-28 北京奇点跳跃科技有限公司 Method and device for controlling terminal screen by mouse, mouse and storage medium

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104349159A (en) * 2013-08-05 2015-02-11 鸿富锦精密工业(深圳)有限公司 Screen test system and method
CN108932057A (en) * 2018-06-28 2018-12-04 Oppo广东移动通信有限公司 Method of controlling operation thereof, device, storage medium and electronic equipment

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080100574A1 (en) * 2006-10-30 2008-05-01 Imu Solutions, Inc. Display cursor control device with enhanced multiple dimensional tilt angle operation
US20140015750A1 (en) * 2012-07-11 2014-01-16 Po Hsin Chen Multimode pointing device
CN102830819A (en) * 2012-08-21 2012-12-19 曾斌 Method and equipment for simulating mouse input
CN104349195A (en) * 2013-07-26 2015-02-11 天津富纳源创科技有限公司 Control method of multipurpose remote controller of intelligent TV and control system thereof
CN104345905A (en) * 2013-07-26 2015-02-11 天津富纳源创科技有限公司 Control method for touch air mouse
CN106550108A (en) * 2016-09-08 2017-03-29 珠海格力电器股份有限公司 Device, method and the mobile phone with the device of mouse function are realized with mobile phone
CN111459303A (en) * 2020-04-02 2020-07-28 北京奇点跳跃科技有限公司 Method and device for controlling terminal screen by mouse, mouse and storage medium

Also Published As

Publication number Publication date
CN111459303A (en) 2020-07-28

Similar Documents

Publication Publication Date Title
WO2021197487A1 (en) Method and apparatus for controlling terminal screen by means of mouse, mouse and storage medium
US20210311598A1 (en) Device, Method, and Graphical User Interface for Transitioning from Low Power Mode
JP5893060B2 (en) User interface method providing continuous zoom function
EP2738659B1 (en) Using clamping to modify scrolling
US8276085B2 (en) Image navigation for touchscreen user interface
US20180067638A1 (en) Gesture Language for a Device with Multiple Touch Surfaces
EP3435220A1 (en) Device, method and graphical user interface for transitioning between touch input to display output relationships
US20130212541A1 (en) Method, a device and a system for receiving user input
WO2014143556A1 (en) Hover gestures for touch-enabled devices
TWI505155B (en) Touch-control method for capactive and electromagnetic dual-mode touch screen and handheld electronic device
AU2013276998A1 (en) Mouse function provision method and terminal implementing the same
WO2021203815A1 (en) Page operation method and apparatus, and terminal and storage medium
WO2018019050A1 (en) Gesture control and interaction method and device based on touch-sensitive surface and display
EP2899623A2 (en) Information processing apparatus, information processing method, and program
WO2018137276A1 (en) Method for processing data and mobile device
WO2020047742A1 (en) Handwriting pad, handwriting pad apparatus and writing control method
WO2024032470A1 (en) Use method and apparatus based on stylus
WO2023077292A1 (en) Method and apparatus for controlling terminal screen by means of trackpad, control device, and storage medium
CN105183353B (en) Multi-touch input method for touch equipment
CN111338550A (en) Window control method, device and equipment
WO2019061052A1 (en) Split-screen display control method for intelligent terminal
CN104423644A (en) Multifunctional mouse device
EP3101522A1 (en) Information processing device, information processing method, and program
CN116661669A (en) Touch control method and electronic equipment
CN112965648A (en) Mobile terminal control method and device, storage medium and mobile terminal

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 21779460

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 21779460

Country of ref document: EP

Kind code of ref document: A1