Page control method, device, input device and server
By obtaining and analyzing the electrical signals and moving track signals of small touch input devices, combining pressing and static touch signals, accurate page scrolling or desktop switching instructions are generated, which solves the accuracy and errors of small devices in page scrolling or desktop switching operations. Operation issues achieve a more stable operation experience.
Patent Information
- Application Number
- CN201910773988.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2019-08-21
- Publication Date
- 2024-12-31
- Estimated Expiration
- 2039-08-21
AI Technical Summary
Due to the small size and weight, small touch input devices are difficult to accurately realize page scrolling or desktop switching operations, and they are prone to move with their fingers due to their small weight, resulting in confusion in commands.
By obtaining the electrical signal and movement track signal of the input device, the user's operation is judged and the page scrolling or desktop switching commands are generated. Combined with pressing and static touch signals, the pressure value and time difference are judged to ensure the accuracy of the command and prevent misoperation.
Improves the accuracy of page scrolling or desktop switching instructions generation, prevents misoperation, and is suitable for small touch input devices to ensure the continuity and accuracy of operations.
Smart Images

Figure CN110389698B_ABST
Abstract
Description
Technical Field
[0001] The embodiments of the present invention relate to page control technology, and more particularly to a page control method, apparatus, input device and server. Background Art
[0002] Many current optical mice use the optical mouse's wheel or the optical mouse's scroll bar to scroll the page. Alternatively, on a touchpad, two fingers are used to scroll the page, or a single finger is swiped on the side of the touchpad to scroll the page. For switching between multiple desktops, multiple fingers are swiped on the touchpad surface at the same time to switch between desktops.
[0003] However, in a small movable input device, such as a mini mouse, it is inconvenient to implement the above control method due to its small size, space and weight. If a scroll wheel is installed to achieve page scrolling or a multi-finger touch screen switching is achieved by increasing the surface touch area, the size of the input device will increase. If only a touch panel is set on the surface to achieve scrolling or desktop switching, the device will move with the fingers due to its small weight, resulting in confusion in the generated instructions. Summary of the invention
[0004] The present invention provides a page control method, device, input device and server, so as to improve the accuracy of generating page scrolling or desktop switching instructions based on a small touch input device.
[0005] In a first aspect, an embodiment of the present invention provides a page control method, including:
[0006] Acquire at least one first electrical signal and a first movement trajectory signal, where the first movement trajectory signal is generated according to a first movement trajectory of the input device, and the first electrical signal includes a first static touch signal and / or a first pressing signal received by the input device;
[0007] A first page scrolling instruction or a first desktop switching instruction is generated according to the at least one first electrical signal and the first movement track signal, and the first page scrolling instruction or the first desktop switching instruction corresponds to the first movement track signal.
[0008] Optionally, before acquiring at least one first electrical signal and a first movement trajectory signal, the method further includes:
[0009] Receive a page scrolling function activation signal or a desktop switching function activation signal.
[0010] Optionally, the first electrical signal is a first pressing signal received by the input device, and the acquiring of at least one first electrical signal and a first movement track signal includes:
[0011] determining, according to the first pressing signal, whether the pressure value sensed by the input device is greater than a target pressure value;
[0012] If the pressing value sensed by the input device is greater than the target pressure value, a first page scrolling instruction or a first desktop switching instruction is generated according to the at least one first electrical signal and the first movement track signal.
[0013] Optionally, the first electrical signal is a first static touch signal and a first pressing signal received by the input device, and after generating a first page scrolling instruction or a first desktop switching instruction according to the at least one first electrical signal and the first movement track signal, the method further includes:
[0014] Acquire a first end time of the first pressing signal;
[0015] Acquire a second end time of the first static touch signal;
[0016] Determine whether the time difference between the first end time and the second time is within a preset time difference;
[0017] If the time difference between the first end time and the second time is within a preset time difference, a cursor still instruction is generated.
[0018] Optionally, after generating the cursor still instruction, the step further includes:
[0019] Acquire a second static touch signal and / or a second press signal;
[0020] Generate a cursor movement activation instruction according to the second static touch signal and / or the second press signal; or
[0021] Acquire at least one second electrical signal and a second movement trajectory signal, where the second movement trajectory signal is generated according to a second movement trajectory of the input device, and the second electrical signal includes a third static touch signal and a third press signal received by the input device;
[0022] A second page scrolling instruction or a second desktop switching instruction is generated according to the at least one second electrical signal and the second movement track signal, and the second page scrolling instruction or the second desktop switching instruction corresponds to the second movement track signal.
[0023] Optionally, after determining whether the time difference between the first end time and the second time is within a preset time difference, the step further includes:
[0024] If the time difference between the first end time and the second time is not within the preset time difference, a cursor movement instruction is generated according to the third movement track signal acquired by the input device.
[0025] Optionally, after generating a first page scrolling instruction or a first desktop switching instruction according to the at least one first electrical signal and the first movement track signal, the method further includes:
[0026] The first page scrolling instruction or the first desktop switching instruction is sent to an external terminal.
[0027] In a second aspect, an embodiment of the present invention further provides a page control device, including:
[0028] a first acquisition module, configured to acquire at least one first electrical signal and a first movement trajectory signal, wherein the first movement trajectory signal is generated according to a first movement trajectory of the input device, and the first electrical signal includes a first static touch signal and / or a first pressing signal received by the input device;
[0029] The first instruction generating module is used to generate a first page scrolling instruction or a first desktop switching instruction according to the at least one first electrical signal and the first movement track signal, wherein the first page scrolling instruction or the first desktop switching instruction corresponds to the first movement track signal.
[0030] In a third aspect, an embodiment of the present invention further provides an input device, including:
[0031] one or more processors;
[0032] a storage device for storing one or more programs,
[0033] When the one or more programs are executed by the one or more processors, the one or more processors implement any of the above-mentioned page control methods.
[0034] In a fourth aspect, an embodiment of the present invention further provides a server, including:
[0035] one or more processors;
[0036] a storage device for storing one or more programs,
[0037] When the one or more programs are executed by the one or more processors, the one or more processors implement any of the above-mentioned page control methods.
[0038] The technical solution of the present invention solves the problem of determining whether the user is operating an input device to perform page scrolling or desktop switching operations through at least one electrical signal. The technical solution of the present invention further solves the problem of the user's page scrolling or desktop switching operations by generating a page scrolling instruction or a desktop switching instruction based on at least one electrical signal and a movement trajectory signal, improves the accuracy of the generation of scrolling instructions or desktop switching instructions, solves the problem of preventing misoperation in the user's operation, and improves the accuracy of instruction generation. BRIEF DESCRIPTION OF THE DRAWINGS
[0039] Figure 1 is a flow chart of a page control method in Embodiment 1 of the present invention;
[0040] Figure 2 is a flow chart of a page control method in Embodiment 1 of the present invention;
[0041] Figure 3 is a flow chart of a page control method in Embodiment 1 of the present invention;
[0042] Figure 4 is a flow chart of a page control method in Embodiment 1 of the present invention;
[0043] Figure 5 is a flow chart of a page control method in Embodiment 2 of the present invention;
[0044] Figure 6 is a flow chart of a page control method in Embodiment 2 of the present invention;
[0045] Figure 7 is a flow chart of a page control method in Embodiment 2 of the present invention;
[0046] Figure 8 is a flow chart of a page control method in Embodiment 2 of the present invention;
[0047] Fig. 9 is a schematic diagram of a page control device in Embodiment 3 of the present invention;
[0048] Fig.10 is a schematic diagram of a page control device in Embodiment 3 of the present invention;
[0049] Fig.11 is a schematic diagram of a page control device in Embodiment 3 of the present invention;
[0050] Fig.12 is a schematic diagram of a page control device in Embodiment 3 of the present invention;
[0051] Fig.13 is a schematic diagram of a page control device in a fourth embodiment of the present invention;
[0052] Fig.14 is a schematic diagram of a page control device in a fourth embodiment of the present invention;
[0053] Fig.15 is a schematic diagram of a page control device in a fourth embodiment of the present invention;
[0054] Fig.16 is a schematic diagram of an input device in Embodiment 5 of the present invention;
[0055] Fig.17 It is a schematic diagram of a server in Embodiment 6 of the present invention. DETAILED DESCRIPTION
[0056] The technical solution of the present invention is further described below in conjunction with the accompanying drawings and through specific implementation methods. It is to be understood that the specific embodiments described herein are only used to explain the present invention, rather than to limit the invention. It should also be noted that the described embodiments are only a part of the embodiments of the present invention, rather than all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in the field without creative work are within the scope of protection of the present invention.
[0057] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those commonly understood by those skilled in the art of the present invention. The terms used herein in the specification of the present invention are only for the purpose of describing specific embodiments and are not intended to limit the present invention. The term "and / or" used herein includes any and all combinations of one or more related listed items.
[0058] In addition, the terms "first", "second", etc. can be used in this article 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 the first direction, action, step or element from another direction, action, step or element. For example, without departing from the scope of the present invention, the first instruction generation can be generated as the second instruction generation, and similarly, the second instruction generation can be referred to as the first instruction generation. Both the first instruction generation and the second instruction generation are instruction generation, but they are not the same instruction generation. The terms "first", "second", etc. cannot be understood as indicating or implying relative importance or implicitly indicating the number of indicated technical features. Thus, the features defined as "first" and "second" can explicitly or implicitly include one or more of the features. In the description of the present invention, the meaning of "multiple" is at least two, such as two, three, etc., unless otherwise clearly and specifically defined. It should be noted that when a part is referred to as "fixed to" another part, it can be directly on the other part or there can be a central part. When a part is considered to be "connected" to another part, it can be directly connected to another part or there may be a central part at the same time. The terms "vertical", "horizontal", "left", "right" and similar expressions used herein are for illustrative purposes only and do not represent the only implementations.
[0059] It should be mentioned before discussing the exemplary embodiments in more detail that some exemplary embodiments are described as processes or methods depicted as flow charts. Although the flow charts describe the steps as sequential processes, many of the steps therein can be implemented in parallel, concurrently or simultaneously. In addition, the order of the steps can be rearranged. The process can be terminated when its operation is completed, but can also have additional steps not included in the accompanying drawings. The process can correspond to a method, function, procedure, subroutine, subprogram, etc.
[0060] Embodiment 1
[0061] Figure 1 This is a flow chart of a page control method provided in Embodiment 1 of the present invention. The method may be executed by a server or an input device, and specifically includes the following steps:
[0062] Step 110: Acquire at least one first electrical signal and a first movement trajectory signal, where the first movement trajectory signal is generated according to a first movement trajectory of the input device, and the first electrical signal includes a first static touch signal and / or a first pressing signal received by the input device.
[0063] In this embodiment, the input device includes: a photoelectric device, which is used to generate a movement trajectory signal according to the movement trajectory of the input device; a touch sensing device, which is located on the surface of the input device, and is used to generate a static touch signal according to the user's static touch operation; and a pressure sensing device, which is used to generate a pressing signal according to the user's pressing operation, wherein the sensing device is a pressure sensor or a button.
[0064] In this embodiment, when the user needs to operate the input device, the finger will press or touch the surface of the input device. According to the first static touch signal and / or the first press signal, it can be used to determine whether the user is currently operating the input device to scroll the page or switch the desktop.
[0065] Step 120: Generate a first page scrolling instruction or a first desktop switching instruction according to the at least one first electrical signal and the first movement track signal, where the first page scrolling instruction or the first desktop switching instruction corresponds to the first movement track signal.
[0066] In this embodiment, the first moving track signal includes: a forward moving signal, a backward moving signal, a left moving signal and / or a right moving signal, wherein the first moving track signal can be divided according to the direction of the input device according to the spatial coordinate axis. The corresponding first page scrolling instruction includes: an upward scrolling instruction, a downward scrolling instruction, a left scrolling instruction and / or a right scrolling instruction; the first desktop switching instruction includes: an upward switching instruction, a downward switching instruction, a left switching instruction and / or a right switching instruction. In other embodiments, the desktop switching instruction can also be an instruction for switching desktop functions. The first page scrolling instruction corresponds to the first moving track signal, and the upward scrolling instruction is generated according to the forward moving signal and at least one first electrical signal, or the upward scrolling instruction is generated according to the right moving signal and at least one first electrical signal; the first desktop switching instruction corresponds to the first moving track signal, and the upward switching instruction is generated according to the forward moving signal and at least one first electrical signal, or the upward switching instruction is generated according to the right moving signal and at least one first electrical signal. This embodiment does not limit this.
[0067] Exemplarily, the input device includes at least a pressure sensing device and a photoelectric device. Taking at least one first electrical signal as a first press signal as an example, when the user needs to perform a page scrolling or desktop switching operation, the user's finger presses the surface of the input device and moves the input device. The input device detects the first press signal through the pressure sensing device; and detects the first movement trajectory signal of the input device through the photoelectric device. At this time, the input device generates a first page scrolling instruction or a first desktop switching instruction according to the first press signal and the first movement trajectory signal. In other embodiments, the first press signal may be one or more, and this embodiment does not limit this. Preferably, the first press signal is one or two. When the first press signal is preferably at least two, it can also play a role in keeping the input device from flipping or rotating during movement.
[0068] Exemplarily, the input device includes at least a touch sensing device and a photoelectric device. Taking at least one first electrical signal as a first static touch signal as an example, when the user needs to perform a page scrolling or desktop switching operation, the user's finger touches the surface of the input device and moves the input device. The input device detects the first static touch signal through the touch sensing device; and detects the first moving trajectory signal of the input device through the photoelectric device. At this time, the input device generates a first page scrolling instruction or a first desktop switching instruction according to the first static touch signal and the first moving trajectory signal. The first static touch signal can be one or more, and this embodiment does not limit this. Preferably, the first static touch signal is one or two. When the first static touch signal is at least two, it can also play a role in keeping the input device from flipping or rotating during the movement.
[0069] In other implementations, acquiring at least one first electrical signal and the first movement trajectory signal may also be first acquiring at least one first electrical signal and then acquiring the first movement trajectory signal.
[0070] The technical solution of this embodiment is applicable to small touch input devices. Through at least one first electrical signal, it solves the problem of judging whether the user is operating the input device to perform scrolling or desktop switching operations. By generating a first page scrolling instruction or a first desktop switching instruction based on at least one first electrical signal and the first movement trajectory signal, it further solves the problem of preventing misoperation in user operations, so that the input device can not only realize scrolling operations or desktop switching operations, but also improves the accuracy of generating scrolling instructions or desktop switching instructions.
[0071] In an alternative embodiment, see Figure 2 , before acquiring at least one first electrical signal and a first movement trajectory signal, the method further includes:
[0072] Step 101: Receive a page scrolling function activation signal or a desktop switching function activation signal.
[0073] In this alternative embodiment, the input device also includes: an activation switch for receiving the user's page scrolling or desktop switching activation operation to generate an activation signal for page scrolling or desktop switching control. Specifically, the activation switch can be a button or a travel switch, and this alternative embodiment does not limit this. When the user needs to scroll the page or switch the desktop, the button or the travel switch can be operated to activate the page scrolling or desktop switching function. The technical solution of this alternative embodiment further solves the problem of preventing misoperation in user operation by receiving the activation signal of the page scrolling or desktop switching function, thereby improving the accuracy of the generation of scrolling or desktop switching instructions.
[0074] In another alternative embodiment, see Figure 3 , after generating a first page scrolling instruction or a first desktop switching instruction according to the at least one first electrical signal and the first movement track signal, the method further includes:
[0075] Step 130: Send the first page scrolling instruction or the first desktop switching instruction to an external terminal.
[0076] In this alternative embodiment, the external terminal is a laptop computer or a desktop computer host. The first page scrolling instruction or the first desktop switching instruction is sent to the external terminal via WIFI, Bluetooth, or a data cable.
[0077] In yet another alternative embodiment, see Figure 4 , the first electrical signal is a first pressing signal received by the input device, and the acquiring of at least one first electrical signal and a first movement track signal comprises:
[0078] Step 111: Determine whether the pressure value sensed by the input device is greater than a target pressure value according to the first pressing signal.
[0079] If the pressure value sensed by the input device is greater than the target pressure value, step 120 is executed.
[0080] In this alternative embodiment, the input device includes at least one pressure sensor, and the pressure sensor is used to detect the pressure value of the user operating the input device. The technical solution of this alternative embodiment further solves the problem of preventing misoperation in user operation by adding a step of determining whether the pressure value is greater than the target pressure value, and improves the accuracy of generating page scrolling instructions or desktop switching instructions. Since the small touch input device used in this embodiment is light in weight, one or more fingers of the user placed on the input device can not only easily implement the action of pushing the input device, but also serve as one of the conditions for starting page scrolling or desktop switching, which not only facilitates the user's usage habits, but also avoids frequent operational errors.
[0081] Embodiment 2
[0082] Figure 5 This is a flow chart of a page control method provided in Embodiment 2 of the present invention. The method can be executed by a server or an input device, and specifically includes the following steps:
[0083] Step 210: Acquire at least one first electrical signal and a first movement trajectory signal, where the first movement trajectory signal is generated according to a first movement trajectory of the input device, and the first electrical signal includes a first static touch signal and a first pressing signal received by the input device.
[0084] In this embodiment, the input device includes: a photoelectric device, which is used to generate a movement trajectory signal according to the movement trajectory of the input device; a touch sensing device, which is located on the surface of the input device, and is used to generate a static touch signal according to the perceived static touch operation of the user; and a pressure sensing device, which is used to generate a pressing signal according to the pressing operation of the user, wherein the sensing device is a pressure sensor or a button.
[0085] In this embodiment, when the user needs to operate the input device, the finger will press or touch the surface of the input device. According to the first static touch signal and the first press signal, it can be determined whether the user is currently operating the input device to scroll the page or switch the desktop.
[0086] In other implementations, obtaining at least one first electrical signal and a first movement track signal may also be first obtaining a first static touch signal, then obtaining a first pressing signal, and finally obtaining the first movement track signal. This embodiment does not limit this.
[0087] Step 220: Generate a first page scrolling instruction or a first desktop switching instruction according to the at least one first electrical signal and the first movement track signal, wherein the first page scrolling instruction or the first desktop switching instruction corresponds to the first movement track signal.
[0088] In this embodiment, the first moving track signal includes: a forward moving signal, a backward moving signal, a left moving signal and / or a right moving signal, wherein the first moving track signal can be divided according to the direction of the input device according to the spatial coordinate axis; the corresponding first page scrolling instruction includes: an upward scrolling instruction, a downward scrolling instruction, a left scrolling instruction and / or a right scrolling instruction; the first desktop switching instruction includes: an upward switching instruction, a downward switching instruction, a left switching instruction and / or a right switching instruction. In other embodiments, the desktop switching instruction can also be an instruction for switching desktop functions. The first page scrolling instruction corresponds to the first moving track signal, and the upward scrolling instruction is generated according to the forward moving signal and at least one first electrical signal, or the upward scrolling instruction is generated according to the right moving signal and at least one first electrical signal; the first desktop switching instruction corresponds to the first moving track signal, and the upward switching instruction is generated according to the forward moving signal and at least one first electrical signal, or the upward switching instruction is generated according to the right moving signal and at least one first electrical signal. This embodiment does not limit this.
[0089] Exemplarily, the input device includes at least a pressure sensing device, a touch sensing device and a photoelectric device. Taking at least one first electrical signal as a first static touch signal and a first pressing signal as an example, when the user needs to perform a page scrolling or desktop switching operation, the user's finger touches and presses the surface of the input device and moves the input device. The input device detects the first pressing signal through the pressure sensing device; detects the first static touch signal through the touch sensing device; and detects the first moving track signal of the input device through the photoelectric device. At this time, the input device generates a first page scrolling instruction or a first desktop switching instruction according to the first pressing signal, the first static touch signal and the first moving track signal. In other embodiments, the first pressing signal may be one or more; the first static touch signal may be one or more, and this embodiment does not limit this. Preferably, the first pressing signal is one or two; the first static touch signal is one or two.
[0090] Step 230: Obtain a first end time of the first pressing signal.
[0091] In this embodiment, when the user needs to stop scrolling or stop the desktop switching operation, the user needs to release the finger. When the first pressing signal and the first static touch signal exist at the same time, when the user releases the finger, the first pressing signal ends first. The end time of the first pressing signal is recorded as the first end time.
[0092] Step 240: Obtain a second end time of the first static touch signal.
[0093] In this embodiment, when the user needs to stop scrolling or stop the desktop switching operation, the user needs to release the finger. When the first pressing signal and the first static touch signal exist at the same time, when the user releases the finger, the first pressing signal ends first and the first static touch signal ends later. The end time of the first static touch signal is recorded as the second end time.
[0094] Step 250: Determine whether the time difference between the first end time and the second end time is within a preset time difference.
[0095] In this embodiment, the preset time difference is within 1 second, preferably within 500 milliseconds.
[0096] Step 260: If the time difference between the first end time and the second time is within a preset time difference, a cursor still instruction is generated.
[0097] In this embodiment, the cursor still instruction is a control instruction that the cursor selects the target area without changing. After this step, the cursor still instruction is also sent to an external terminal. Exemplarily, when the user controls the input device to generate a page scrolling or desktop switching page scrolling or desktop switching instruction or desktop switching instruction, if it moves to the edge of the desktop, it is necessary to push the input device to another position to re-slide the page scrolling or desktop switching operation. At this time, it is necessary to release the pressing signal and then release the static touch signal, and finally move the input device to another position. When the release of the pressing signal and the release of the static touch signal are less than a preset threshold, such as 500 milliseconds, it is considered that the user needs to continue to scroll the current area or switch the current desktop, and a cursor still activation signal is generated. After the cursor still activation signal is generated, when the input device detects a moving trajectory signal again, a cursor still instruction will be generated to control the cursor to be still, so as to ensure that the area selected by the cursor does not change.
[0098] In an alternative embodiment, see Figure 6 , after generating the cursor static instruction, the method further includes:
[0099] Step 261: Acquire a second static touch signal and / or a second press signal.
[0100] Step 262: Generate a cursor movement activation instruction according to the second static touch signal and / or the second press signal.
[0101] In this alternative embodiment, after the cursor static instruction is generated, the input device is moved, and the cursor remains static. When the user needs to move the cursor, illustratively, the user touches or presses the surface of the input device, and the input device obtains the second static touch signal and / or the second press signal, and a cursor movement activation instruction is generated according to the second static touch signal and / or the second press signal. After the cursor movement activation instruction is generated, the input device is moved, and the input device obtains the fourth movement trajectory signal, and a corresponding cursor movement instruction is generated according to the fourth movement trajectory signal, and the cursor moves with the mobile input device, wherein the direction of the fourth movement trajectory signal corresponds one-to-one to the direction of the generated cursor movement instruction.
[0102] In an alternative embodiment, see Figure 7 , after generating the cursor static instruction, the method further includes:
[0103] Step 263: Acquire at least one second electrical signal and a second movement trajectory signal, where the second movement trajectory signal is generated according to a second movement trajectory of the input device, and the second electrical signal includes a third static touch signal and a third press signal received by the input device.
[0104] In this alternative embodiment, when the user needs to operate the input device, the finger will press or touch the surface of the input device, and the third static touch signal and the third press signal can be used to determine whether the user is currently operating the input device to control the page.
[0105] In other implementations, obtaining at least two second electrical signals and a second movement track signal may also be first obtaining a third static touch signal, then obtaining a third pressing signal, and finally obtaining the second movement track signal. This embodiment does not limit this.
[0106] Step 264: Generate a second page scrolling instruction or a second desktop switching instruction according to the at least one second electrical signal and the second movement track signal, wherein the second page scrolling instruction or the second desktop switching instruction corresponds to the second movement track signal.
[0107] In this embodiment, the second movement trajectory signal includes: a forward movement signal, a backward movement signal, a left movement signal and / or a right movement signal, wherein the second movement trajectory signal can be divided according to the direction of the input device according to the spatial coordinate axis. The corresponding second page scrolling instruction includes: an upward scrolling instruction, a downward scrolling instruction, a left scrolling instruction and / or a right scrolling instruction; the second desktop switching instruction includes: an upward switching instruction, a downward switching instruction, a left switching instruction and / or a right switching instruction. Corresponding to the second movement trajectory signal, an upward scrolling instruction is generated according to the forward movement signal and at least one second electrical signal, or an upward scrolling instruction is generated according to the right movement signal and at least one second electrical signal; the second desktop switching instruction corresponds to the second movement trajectory signal, and an upward switching instruction is generated according to the forward movement signal and at least one second electrical signal, or an upward switching instruction is generated according to the right movement signal and at least one second electrical signal. This embodiment does not limit this.
[0108] The technical solution of this embodiment solves the problem of the user's continuous scrolling operation or desktop switching operation cursor movement by judging whether the time difference between the end time of the pressing signal and the end time of the static touch signal is within the preset time difference. For example, if it moves to the edge of the desktop and needs to push the input device to another position to re-perform the page scrolling operation or desktop switching operation, the photoelectric device of the input device will detect the second movement trajectory signal, and the input device will generate a cursor movement instruction according to the second movement trajectory signal. As the cursor moves, the area selected by the cursor will change, and the user needs to re-operate the input device to adjust the selected area. This prevents the cursor from deviating from the selected scrolling area or desktop switching area, and achieves the effect of continuously scrolling pages or continuously switching desktops.
[0109] In an alternative embodiment, see Figure 8 , after determining whether the time difference between the first end time and the second time is within a preset time difference, the method further includes:
[0110] Step 270: If the time difference between the first end time and the second time is not within a preset time difference, a cursor movement instruction is generated according to a third movement track signal acquired by the input device.
[0111] In this embodiment, the direction of the third movement track signal corresponds one-to-one to the direction of generating the cursor movement instruction, and this step 270 also includes sending the cursor movement instruction to the external terminal.
[0112] Embodiment 3
[0113] The page control device provided in the embodiment of the present invention can execute the page control method provided in the first embodiment of the present invention, and has the corresponding functional modules and beneficial effects of the execution method. Fig. 9 , the page control device 7 of this embodiment includes:
[0114] The first acquisition module 71 is used to acquire at least one first electrical signal and a first movement trajectory signal, where the first movement trajectory signal is generated according to the first movement trajectory of the input device, and the first electrical signal includes a first static touch signal and / or a first pressing signal received by the input device.
[0115] In this embodiment, the input device includes: a photoelectric device, which is used to generate a moving trajectory signal according to the moving trajectory of the input device. Specifically, the photoelectric device includes a light emitting diode, a group of optical lenses, a light sensing device and an image analysis chip. The light emitted by the light emitting diode illuminates the bottom surface of the input device, and part of the light is reflected by the bottom surface of the input device. The reflected part of the light is transmitted to the light sensing device through a group of optical lenses to form an image. When the input device moves, the light sensing device will continue to generate a group of high-speed continuous images. The analysis chip analyzes the changes in the position of the feature points of these continuous images to determine the moving trajectory of the input device. A touch sensing device is located on the surface of the input device and is used to generate a static touch signal according to the perceived static touch operation of the user. Specifically, the touch sensing device can be a capacitive touch panel, a resistive touch panel or an infrared touch panel; a pressure sensing device is used to generate a pressing signal according to the user's pressing operation, wherein the sensing device is a pressure sensor or a button. Specifically, the acquisition module includes one or more of a photoelectric device, a touch sensing device and a pressure sensing device.
[0116] The first instruction generating module 72 is used to generate a first page scrolling instruction or a first desktop switching instruction according to the at least one first electrical signal and the first movement track signal, wherein the first page scrolling instruction or the first desktop switching instruction corresponds to the first movement track signal.
[0117] In this embodiment, the input device includes: a controller, which is used to process the acquired signal to obtain a corresponding instruction. Specifically, the instruction generation module is a controller, and can also be a device such as a processor, a single-chip microcomputer, etc. that can be used to process signals.
[0118] A page control device provided in this embodiment can execute a page control method provided in the first embodiment of the present invention, and has functional modules and beneficial effects corresponding to the execution method.
[0119] In an alternative embodiment, see Fig.10 , the page control device 7 also includes:
[0120] The first activation module 73 is used to receive a page scrolling function activation signal or a desktop switching function activation signal.
[0121] In this alternative embodiment, the input device further includes: an activation switch for receiving a user's page scrolling or desktop switching activation operation to generate an activation signal for page scrolling or desktop switching control. Specifically, the first activation module 73 is an activation switch, which can be a button or a travel switch.
[0122] In an alternative embodiment, see Fig.11 , the page control device 7 also includes:
[0123] The first instruction sending module 74 is used to send the first page scrolling instruction or the first desktop switching instruction to the external terminal.
[0124] In this alternative embodiment, the external terminal is a laptop or a desktop computer. The first page scrolling instruction or the first desktop switching instruction is sent to the external terminal via WIFI, Bluetooth, or a data cable. Specifically, the first instruction sending module 74 may be a WIFI module or a Bluetooth module.
[0125] In an alternative embodiment, see Fig.12 , the page control device 7 also includes:
[0126] The first judgment module 75 is used to judge whether the pressure value sensed by the input device is greater than a target pressure value according to the first pressing signal.
[0127] In this embodiment, the first determination module 75 may be the pressure sensor itself, or may be a processor, a single chip microcomputer or a controller connected to the pressure sensor.
[0128] The first instruction generating module 72 is further configured to generate a first page scrolling instruction or a first desktop switching instruction according to the at least one first electrical signal and the first movement trajectory signal if the pressure value sensed by the input device is greater than a target pressure value.
[0129] A page control device provided in this embodiment can execute a page control method provided in the first embodiment of the present invention, and has functional modules and beneficial effects corresponding to the execution method.
[0130] Embodiment 4
[0131] The page control device provided in the embodiment of the present invention can execute the page control method provided in the second embodiment of the present invention, and has the corresponding functional modules and beneficial effects of the execution method. Fig.13 , the page control device 8 of this embodiment includes:
[0132] The second acquisition module 81 is used to acquire at least one first electrical signal and a first movement trajectory signal, where the first movement trajectory signal is generated according to the first movement trajectory of the input device, and the first electrical signal includes a first static touch signal and a first pressing signal received by the input device.
[0133] The second instruction generating module 82 is used to generate a first page scrolling instruction or a first desktop switching instruction according to the at least one first electrical signal and the first movement track signal, wherein the first page scrolling instruction or the first desktop switching instruction corresponds to the first movement track signal.
[0134] The first time acquisition module 83 is used to acquire the first end time of the first pressing signal.
[0135] The second time acquisition module 84 is configured to acquire a second end time of the first static touch signal.
[0136] The second judgment module 85 is used to judge whether the time difference between the first end time and the second time is within a preset time difference.
[0137] The cursor prohibition instruction generating module 86 is used to generate a cursor still instruction if the time difference between the first end time and the second time is within a preset time difference.
[0138] In an alternative embodiment, see Fig.14 , the page control device 8 also includes:
[0139] The third acquisition module 87 is used to acquire a second static touch signal and / or a second pressing signal.
[0140] The second activation module 88 generates a cursor movement activation instruction according to the second static touch signal and / or the second pressing signal.
[0141] In an alternative embodiment, the second acquisition module 81 is also used to acquire at least one second electrical signal and a second movement trajectory signal, where the second movement trajectory signal is generated according to a second movement trajectory of the input device, and the second electrical signal includes a third static touch signal and a third press signal received by the input device.
[0142] The second instruction generating module 82 is further used to generate a second page scrolling instruction or a second desktop switching instruction according to the at least one second electrical signal and the second movement track signal, and the second page scrolling instruction or the second desktop switching instruction corresponds to the second movement track signal.
[0143] In an alternative embodiment, see Fig.15 , the page control device also includes:
[0144] The cursor movement instruction generating module 89 is configured to generate a cursor movement instruction according to a third movement track signal acquired by the input device if the time difference between the first end time and the second time is not within a preset time difference.
[0145] A page control device provided in this embodiment can execute a page control method provided in the second embodiment of the present invention, and has functional modules and beneficial effects corresponding to the execution method.
[0146] Embodiment 5
[0147] Fig.16 This is a structural diagram of an input device 13 provided in Embodiment 5 of the present invention. The input device 13 includes a processor 131 and a memory 132. The number of processors 131 in the input device 13 may be one or more. Fig.13 A processor 131 is taken as an example; the processor 131 and the memory 132 in the input device 13 may be connected via a bus or other means, Fig.13 The example of connecting through bus is taken in the following.
[0148] The memory 132 is a computer-readable storage medium that can be used to store software programs, computer executable programs and modules, such as the program instruction module (e.g., the first acquisition module, the first instruction generation module) corresponding to the page control method in the embodiment of the present invention. The processor 131 executes various functional applications and data processing of the input device 13 by running the software programs, instructions and modules stored in the memory 132, that is, implements the above-mentioned page control method.
[0149] The memory 132 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system and at least one application required for a function; the data storage area may store data created according to the use of the terminal, etc. In addition, the memory 132 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other non-volatile solid-state storage device. In some instances, the memory 132 may further include a memory remotely arranged relative to the processor 131, and these remote memories may be connected to the input device 13 via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.
[0150] Embodiment 6
[0151] Fig.17 A schematic diagram of the structure of a server 14 provided in Embodiment 6 of the present invention, wherein the server 14 includes a processor 141 and a memory 142; the number of the processors 141 in the server 14 may be one or more. Fig.14A processor 141 is taken as an example; the processor 141 and the memory 142 in the server 14 may be connected via a bus or other means. Fig.14 The example of connecting through bus is taken in the following.
[0152] The memory 142 is a computer-readable storage medium that can be used to store software programs, computer executable programs and modules, such as the program instruction module (e.g., the first acquisition module, the first instruction generation module) corresponding to the page control method in the embodiment of the present invention. The processor 141 executes various functional applications and data processing of the server 14 by running the software programs, instructions and modules stored in the memory 142, that is, implements the above-mentioned page control method.
[0153] The memory 142 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system and at least one application required for a function; the data storage area may store data created according to the use of the terminal, etc. In addition, the memory 142 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other non-volatile solid-state storage device. In some instances, the memory 142 may further include a memory remotely arranged relative to the processor 141, and these remote memories may be connected to the server 14 via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.
[0154] Embodiment 7
[0155] Embodiment 7 of the present invention further provides a storage medium including computer executable instructions, wherein the computer executable instructions are used to execute a page control method when executed by a computer processor, the method comprising:
[0156] Acquire at least one first electrical signal and a first movement trajectory signal, where the first movement trajectory signal is generated according to a first movement trajectory of the input device, and the first electrical signal includes a first static touch signal and / or a first pressing signal received by the input device;
[0157] A first page scrolling instruction or a first desktop switching instruction is generated according to the at least one first electrical signal and the first movement track signal, and the first page scrolling instruction or the first desktop switching instruction corresponds to the first movement track signal.
[0158] Of course, the computer executable instructions of a storage medium including computer executable instructions provided by an embodiment of the present invention are not limited to the method operations described above, and can also execute related operations in the page control method provided by any embodiment of the present invention.
[0159] Through the above description of the implementation methods, the technicians in the relevant field can clearly understand that the present invention can be implemented by means of software and necessary general hardware, and of course can also be implemented by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present invention can be essentially or the part that contributes to the prior art 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 (ROM), random access memory (RAM), flash memory (FLASH), hard disk or optical disk, etc., including a number of instructions for a computer device (which can be a personal computer, server, or network device, etc.) to execute the methods described in each embodiment of the present invention.
[0160] It is worth noting that in the embodiment of the above-mentioned page control method, the various units and modules included are only divided according to functional logic, but are not limited to the above-mentioned division, as long as the corresponding functions can be achieved; in addition, the specific 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 the present invention.
[0161] Note that the above are only preferred embodiments of the present invention and the technical principles used. Those skilled in the art will understand that the present invention is not limited to the specific embodiments described herein, and that various obvious changes, readjustments and substitutions can be made by those skilled in the art without departing from the scope of protection of the present invention. Therefore, although the present invention has been described in more detail through the above embodiments, the present invention is not limited to the above embodiments, and may include more other equivalent embodiments without departing from the concept of the present invention, and the scope of the present invention is determined by the scope of the appended claims.
Claims
1. A page control method, characterized in that: Applicable to small touch input device mice, including: Acquire at least one first electrical signal and a first movement trajectory signal; wherein the first movement trajectory signal is generated according to the first movement trajectory of the small touch input device mouse, and the first electrical signal includes a first static touch signal and a first pressing signal received by the small touch input device mouse; Generate a first page scrolling instruction or a first desktop switching instruction according to the at least one first electrical signal and the first movement track signal; wherein the first page scrolling instruction or the first desktop switching instruction corresponds to the first movement track signal; Acquire a first end time of the first pressing signal; Acquire a second end time of the first static touch signal; Determining whether a time difference between the first end time and the second end time is within a preset time difference; If the time difference between the first end time and the second end time is within a preset time difference, a cursor still instruction is generated.
2. The page control method according to claim 1, characterized in that: Before acquiring at least one first electrical signal and a first movement trajectory signal, the method further includes: Receive a page scrolling function activation signal or a desktop switching function activation signal.
3. The page control method according to claim 1, characterized in that: The generating of the cursor still instruction further includes: Acquire a second static touch signal and / or a second press signal; Generate a cursor movement activation instruction according to the second static touch signal and / or the second press signal; or Acquire at least one second electrical signal and a second movement trajectory signal; wherein the second movement trajectory signal is generated according to the second movement trajectory of the small touch input device mouse, and the second electrical signal includes a third static touch signal and a third pressing signal received by the small touch input device mouse; A second page scrolling instruction or a second desktop switching instruction is generated according to the at least one second electrical signal and the second movement track signal; wherein the second page scrolling instruction or the second desktop switching instruction corresponds to the second movement track signal.
4. The page control method according to claim 1, characterized in that: The determining whether the time difference between the first end time and the second end time is within a preset time difference further includes: If the time difference between the first end time and the second end time is not within the preset time difference, a cursor movement instruction is generated according to the third movement track signal acquired by the mouse of the small touch input device.
5. The page control method according to any one of claims 1 to 4, characterized in that: After generating a first page scrolling instruction or a first desktop switching instruction according to the at least one first electrical signal and the first movement track signal, the method further includes: The first page scrolling instruction or the first desktop switching instruction is sent to an external terminal.
6. A page control device, characterized in that: Applicable to small touch input device mice, including: A first acquisition module, configured to acquire at least one first electrical signal and a first movement trajectory signal; wherein the first movement trajectory signal is generated according to a first movement trajectory of the small touch input device mouse, and the first electrical signal includes a first static touch signal and a first pressing signal received by the small touch input device mouse; A first instruction generating module, configured to generate a first page scrolling instruction or a first desktop switching instruction according to the at least one first electrical signal and the first movement track signal; wherein the first page scrolling instruction or the first desktop switching instruction corresponds to the first movement track signal; A first time acquisition module, used to acquire a first end time of the first pressing signal; A second time acquisition module, used to acquire a second end time of the first static touch signal; A second judgment module, used to judge whether the time difference between the first end time and the second end time is within a preset time difference; The cursor prohibition instruction generating module is used to generate a cursor still instruction if the time difference between the first end time and the second end time is within a preset time difference.
7. An input device, characterized in that: include: one or more processors; a storage device for storing one or more programs, When the one or more programs are executed by the one or more processors, the one or more processors implement the page control method according to any one of claims 1 to 5.
8. A computer-readable storage medium storing computer instructions, wherein: The computer instructions are used to enable a computer to implement the page control method according to any one of claims 1 to 5 when executed.