CN114675754A - Mouse control method, device, equipment and storage medium - Google Patents
Mouse control method, device, equipment and storage medium Download PDFInfo
- Publication number
- CN114675754A CN114675754A CN202210101290.3A CN202210101290A CN114675754A CN 114675754 A CN114675754 A CN 114675754A CN 202210101290 A CN202210101290 A CN 202210101290A CN 114675754 A CN114675754 A CN 114675754A
- Authority
- CN
- China
- Prior art keywords
- movement data
- mouse
- data
- abnormal
- communication network
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Withdrawn
Links
- 238000000034 method Methods 0.000 title claims abstract description 54
- 230000033001 locomotion Effects 0.000 claims abstract description 179
- 208000012661 Dyskinesia Diseases 0.000 claims abstract description 87
- 238000004891 communication Methods 0.000 claims abstract description 63
- 238000012544 monitoring process Methods 0.000 claims abstract description 40
- 230000001133 acceleration Effects 0.000 claims abstract description 38
- 238000005259 measurement Methods 0.000 claims abstract description 33
- 238000004590 computer program Methods 0.000 claims description 16
- 238000011084 recovery Methods 0.000 claims description 10
- 238000012216 screening Methods 0.000 claims description 4
- 230000005856 abnormality Effects 0.000 claims description 3
- 230000004044 response Effects 0.000 claims description 3
- 101100460719 Mus musculus Noto gene Proteins 0.000 claims description 2
- 230000002159 abnormal effect Effects 0.000 abstract description 4
- 238000010586 diagram Methods 0.000 description 8
- 230000006399 behavior Effects 0.000 description 3
- 230000003287 optical effect Effects 0.000 description 2
- 206010000117 Abnormal behaviour Diseases 0.000 description 1
- 230000005540 biological transmission Effects 0.000 description 1
- 230000006870 function Effects 0.000 description 1
- 238000012545 processing Methods 0.000 description 1
- 230000000750 progressive effect Effects 0.000 description 1
- 230000001052 transient effect Effects 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/03—Arrangements for converting the position or the displacement of a member into a coded form
- G06F3/033—Pointing devices displaced or positioned by the user, e.g. mice, trackballs, pens or joysticks; Accessories therefor
- G06F3/038—Control and interface arrangements therefor, e.g. drivers or device-embedded control circuitry
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/30—Monitoring
- G06F11/34—Recording or statistical evaluation of computer activity, e.g. of down time, of input/output operation ; Recording or statistical evaluation of user activity, e.g. usability assessment
- G06F11/3466—Performance evaluation by tracing or monitoring
Landscapes
- Engineering & Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Computer Hardware Design (AREA)
- Quality & Reliability (AREA)
- Human Computer Interaction (AREA)
- Position Input By Displaying (AREA)
Abstract
The application discloses a mouse control method, a device, equipment and a storage medium, wherein the method comprises the following steps: acquiring movement data of a mouse measured by a preset inertia measurement unit, wherein the movement data is acceleration data and angular velocity data generated when the mouse moves currently; comparing the movement data with normal movement data stored in the mouse in advance, monitoring whether the movement data is abnormal movement data, and if the movement data is abnormal movement data, sending the abnormal movement data to a user terminal through a preset communication network so that the user terminal can control the mouse according to the abnormal movement data. According to the technical scheme, the mobile data of the mouse are acquired by the aid of the preset inertia measurement unit through the preset communication network, remote monitoring of the mobile condition of the mouse is achieved, the mouse is controlled according to abnormal mobile data of the mouse, and safety of internal storage information of the computer is guaranteed.
Description
Technical Field
The invention relates to the technical field of computer accessories, in particular to a mouse control method, device, equipment and storage medium.
Background
With the introduction of informatization into society, computers are indispensable electronic products in modern people's lives, and the contents stored in the computers often relate to privacy and secrecy, and need security measures for protection. The existing security measures are realized through passwords, such as system passwords and file passwords, but the existing security measures only need security identification when the computer is started, and no security protection measures are provided after the file is opened. The mouse is one of the necessary input devices mainly used for inputting various information, instructions or characters and the like into a computer, and is most often impersonated by people so as to infringe the privacy information in the computer. The existing inertial learning mouse carries out inertial learning on the use characteristics of the mouse and identifies the use characteristics in real time, but the learning process needs to be carried out for multiple times and continuously corrected so as to ensure the monitoring accuracy, the learning cost is high, the structure is complex, and the mouse is not easy to recover quickly after failure.
In summary, how to realize remote monitoring of the movement status of the mouse and prevent the operation of the mouse by the impostor to realize the control of the mouse and ensure the safety of the information stored in the computer is a problem to be solved at present.
Disclosure of Invention
In view of this, an object of the present invention is to provide a method, an apparatus, a device and a storage medium for controlling a mouse, which can remotely monitor a moving status of the mouse, and prevent an impostor from operating the mouse, so as to control the mouse and ensure security of information stored in a computer. The specific scheme is as follows:
in a first aspect, the present application discloses a mouse control method, which is applied to a mouse, and includes:
acquiring movement data of a mouse measured by a preset inertia measurement unit, wherein the movement data is acceleration data and angular velocity data generated when the mouse moves currently;
and comparing the movement data with normal movement data stored in the mouse in advance, monitoring whether the movement data is abnormal movement data, and if the movement data is the abnormal movement data, sending the abnormal movement data to a user terminal through a preset communication network so that the user terminal can control the mouse according to the abnormal movement data.
Optionally, before the obtaining of the movement data of the mouse measured by the preset inertia measurement unit, the method further includes:
counting historical movement data of the mouse;
screening out target mobile data meeting preset conditions in the historical mobile data;
and setting parameter intervals of acceleration data and angular velocity data based on the target movement data, and storing the parameter intervals of the acceleration data and the parameter intervals of the angular velocity data to obtain the normal movement data.
Optionally, the obtaining of the movement data of the mouse measured by the preset inertia measurement unit includes:
acquiring acceleration data, which is measured by a preset inertia measurement unit and generated when a mouse moves currently, as first movement data;
acquiring angular velocity data, which is measured by the preset inertia measurement unit and generated when the mouse moves currently, as second movement data;
correspondingly, comparing the movement data with normal movement data pre-stored in the mouse, and monitoring whether the movement data is abnormal movement data, including:
judging whether the first movement data is in the parameter interval of the acceleration data in the normal movement data or not, judging whether the second movement data is in the parameter interval of the angular velocity data in the normal movement data or not, and monitoring whether the movement data is abnormal movement data or not.
Optionally, the monitoring whether the movement data is abnormal movement data includes:
and if the first movement data are not in the parameter interval of the acceleration data and/or the second movement data are not in the parameter interval of the angular velocity data, the movement data are abnormal movement data.
Optionally, after monitoring whether the movement data is abnormal movement data, the method further includes:
monitoring whether the mobile terminal is connected to a preset communication network in real time;
if the mouse is connected to the preset communication network, triggering the step of sending the abnormal movement data to a user terminal through the preset communication network so that the user terminal can control the mouse according to the abnormal movement data;
and if the current connection is not connected to the preset communication network, continuously monitoring until the connection to the preset communication network is monitored.
Optionally, after the sending the abnormal movement data to the user terminal through the preset communication network, the method further includes:
and acquiring a control signal of the mouse fed back by the user terminal through the preset communication network, and controlling the mouse according to the control signal.
Optionally, the obtaining a control signal of the user terminal to the mouse, which is fed back by the user terminal through the preset communication network, and controlling the mouse according to the control signal includes:
judging whether a control signal fed back by the user terminal through the preset communication network to the mouse is a stop signal or not;
if the control signal fed back by the preset communication network to the mouse is a stop signal, controlling the mouse not to respond, and monitoring whether a recovery signal exists or not;
and if the recovery signal is monitored to exist, the recovery signal is sent to the mouse through the preset communication network so as to control the mouse to recover response.
In a second aspect, the present application discloses a mouse control device, which is applied to a mouse, and includes:
the data acquisition module is used for acquiring the movement data of the mouse measured by a preset inertia measurement unit, wherein the movement data is acceleration data and angular velocity data generated when the mouse moves currently;
the abnormality monitoring module is used for comparing the movement data with normal movement data stored in the mouse in advance and monitoring whether the movement data is abnormal movement data;
And the data sending module is used for sending the abnormal movement data to the user terminal through a preset communication network when the movement data is the abnormal movement data so that the user terminal can control the mouse according to the abnormal movement data.
In a third aspect, the present application discloses an electronic device, comprising:
a memory for protecting the computer program;
and the processor is used for executing the computer program to realize the mouse control method.
In a fourth aspect, the present application discloses a computer readable storage medium for storing a computer program; wherein the computer program realizes the mouse control method as described above when executed by a processor.
The method is applied to the mouse, and comprises the steps of firstly, obtaining movement data of the mouse, which is measured by a preset inertia measurement unit, wherein the movement data are acceleration data and angular velocity data generated when the mouse moves currently; comparing the movement data with normal movement data stored in the mouse in advance, monitoring whether the movement data is abnormal movement data, and if the movement data is abnormal movement data, sending the abnormal movement data to a user terminal through a preset communication network so that the user terminal can control the mouse according to the abnormal movement data. Therefore, the mobile data of the mouse is obtained through the preset inertia measurement unit through the preset communication network, the remote monitoring of the mobile state of the mouse is achieved, when the mobile data in the mouse are abnormal mobile data, the abnormal mobile data can be sent to the user terminal through the preset communication network, the operation behavior of the mouse is stopped for an impostor, the remote control of the mouse is achieved, and the safety of information stored inside the computer is guaranteed.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the provided drawings without creative efforts.
FIG. 1 is a flow chart of a mouse control method disclosed in the present application;
FIG. 2 is a schematic diagram of a secure mouse disclosed in the present application;
FIG. 3 is a flowchart of a specific mouse control method disclosed in the present application;
FIG. 4 is a diagram illustrating a specific mouse control method disclosed herein;
FIG. 5 is a schematic structural diagram of a mouse control device disclosed in the present application;
fig. 6 is a block diagram of an electronic device disclosed in the present application.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Currently, a mouse, which is one of the very important input devices of a computer, is often impersonated by a person to infringe private information in the computer when accessing information stored inside the computer.
Therefore, the application provides a mouse control scheme, which can realize remote monitoring of the movement condition of the mouse, and can stop the operation behavior of the mouse for the impostor, so as to realize the control of the mouse and ensure the safety of the information stored in the computer.
The embodiment of the invention discloses a mouse control method, which is shown in figure 1 and is applied to a mouse, and the method comprises the following steps:
step S11: the method comprises the steps of obtaining movement data of a mouse measured by a preset inertia measuring unit, wherein the movement data are acceleration data and angular velocity data generated when the mouse moves currently.
In the embodiment of the application, when the mouse is impersonated by others and moved by others, movement data are generated, the movement data of the mouse measured by a preset Inertial Measurement Unit (IMU) are obtained, wherein the movement data comprise current acceleration data and angular velocity data of the movement of the mouse, and after the acceleration data and the angular velocity data of the movement of the mouse are obtained, the data are transmitted to a microprocessor located in the mouse, and the movement data are stored.
Step S12: and comparing the movement data with normal movement data pre-stored in the mouse, and monitoring whether the movement data is abnormal movement data.
It can be understood that the normal movement data allowed to be entered by the user is pre-stored in the mouse, and the normal movement data may be data stored by using a preset inertia measurement unit, data that the user enters the stored data based on the use habit of the user, or data that the user triggers the button to automatically store, which is not limited specifically herein.
In the embodiment of the application, after the preset inertia measurement unit is used for obtaining the current movement data of the mouse, the current movement data is compared with the normal movement data stored in the mouse in advance, whether the movement data is abnormal movement data or not can be monitored, if the movement data is judged to be the abnormal movement data, the current mouse is falsely used, and at the moment, a microprocessor located in the mouse needs to monitor whether network connection exists or not in real time.
Specifically, whether the mobile terminal is connected to a preset communication network is monitored in real time; the preset communication network may be based on a WiFi (Wireless broadband) module, a bluetooth communication module, an infrared communication module, and the like, which is not specifically limited herein, and in this embodiment, the WiFi module may be preferably used, so that the application range is wide, and the use is simple and convenient. If network connection exists currently and the current mouse is connected to the preset communication network, the abnormal movement data are sent to a user terminal through the preset communication network, so that the user terminal can control the mouse according to the abnormal movement data; and if the current connection is not connected to the preset communication network, continuously monitoring until the connection to the preset communication network is monitored.
Step S13: and if the movement data are abnormal movement data, sending the abnormal movement data to a user terminal through a preset communication network so that the user terminal can control the mouse according to the abnormal movement data.
In the embodiment of the application, when the current mouse movement data is determined to be abnormal movement data and network connection exists currently, the microprocessor located in the mouse sends the abnormal movement data to the user terminal through the preset communication network and reminds the user that the current mouse is being falsely used, and the user determines whether to stop the current clicking operation of the mouse or not so as to control the mouse by the user terminal according to the abnormal movement data.
In the embodiment of the application, after the abnormal movement data are sent to the user terminal through the preset communication network, the user terminal can determine whether to stop the clicking operation of the mouse or not by feeding back the control signal of the mouse through the preset communication network, and the mouse is controlled according to the control signal.
Specifically, it is determined whether a control signal fed back by the user terminal through the preset communication network to the mouse is a deterrent signal; it can be understood that the stopping signal is a signal that the current mouse does not allow the click operation, and if the control signal to the mouse fed back through the preset communication network is the stopping signal, the mouse is controlled not to respond, and whether a recovery signal exists is monitored; when the user decides to recover the clicking operation of the mouse, namely, the recovery signal is monitored to exist, the recovery signal is sent to the mouse through the preset communication network so as to control the mouse to recover the response.
Fig. 2 is a schematic structural diagram of a secure mouse according to an embodiment of the present application. The mouse includes: the device comprises a microprocessor, an inertia measurement module, a WiFi module, a storage module and a power supply module. The microprocessor has the functions of storing and sending information, stopping/recovering mouse operation and the like; the inertia measurement module is internally provided with an inertia measurement unit which is connected with the microprocessor, records the motion information of the mouse such as the acceleration, the angular velocity and the like and sends the motion information to the microprocessor; the WiFi module is connected with the microprocessor and used for sending the motion information to the Internet; the storage module stores motion information, and the information can be read by a computer or other equipment; the power module is connected with the microprocessor to supply power to the system, and the power module can support wireless charging and also can support wired charging, which is not limited specifically herein.
The method is applied to the mouse, and comprises the steps of firstly, obtaining movement data of the mouse, which is measured by a preset inertia measurement unit, wherein the movement data are acceleration data and angular velocity data generated when the mouse moves currently; comparing the movement data with normal movement data stored in the mouse in advance, monitoring whether the movement data is abnormal movement data, and if the movement data is abnormal movement data, sending the abnormal movement data to a user terminal through a preset communication network so that the user terminal can control the mouse according to the abnormal movement data. Therefore, the movement data of the mouse is acquired by the preset inertia measurement unit through the preset communication network, the remote monitoring of the movement condition of the mouse is realized, and when the movement data in the mouse are abnormal movement data, the abnormal movement data can be sent to the user terminal through the preset communication network, so that an impostor can be prevented from operating the mouse, the remote control of the mouse is realized, and the safety of information stored in the computer is ensured.
The embodiment of the application discloses a specific mouse control method, and as shown in fig. 3, the method comprises the following steps:
step S21: and counting the historical movement data of the mouse, and screening out target movement data meeting preset conditions in the historical movement data.
It can be understood that, before monitoring whether the movement data of the mouse is abnormal movement data, the normal movement data of the mouse needs to be stored, and then the movement data is compared with the normal data to determine whether the movement data is abnormal movement data. Specifically, historical movement data of the mouse are counted, and target movement data meeting preset conditions in the historical movement data are screened out.
In the embodiment of the application, the preset inertia measurement unit preferably measures acceleration data and angular velocity data of the movement of the mouse, so that the preset condition can be set to satisfy the preset conditions of the acceleration interval range and the angular velocity interval range.
Step S22: and setting parameter intervals of acceleration data and angular velocity data based on the target movement data, and storing the parameter intervals of the acceleration data and the parameter intervals of the angular velocity data to obtain the normal movement data.
In the embodiment of the application, due to the use habits of the user, when the historical movement data of the mouse is counted, the parameter interval of the acceleration data and the parameter interval of the angular velocity data based on the use habits of the user can be obtained, and the movement data in the parameter interval range can be regarded as that the current mouse is not falsely used, so that the parameter interval of the acceleration data and the parameter interval of the angular velocity data are stored to obtain the normal movement data.
Step S23: the method comprises the steps of obtaining movement data of a mouse measured by a preset inertia measuring unit, wherein the movement data are acceleration data and angular velocity data generated when the mouse moves currently.
In the embodiment of the application, after the normal movement data are stored in the mouse, when the situation that the mouse is moved and falsely used is monitored, acceleration data which are measured by a preset inertia measuring unit and are generated when the mouse is moved currently are acquired as first movement data; acquiring angular velocity data, which is measured by the preset inertia measurement unit and generated when the mouse moves currently, as second movement data; so as to compare the first movement data and the second movement data with the parameter interval of the acceleration data and the parameter interval of the angular velocity data, and monitor whether the movement data is abnormal movement data.
Step S24: and comparing the movement data with normal movement data pre-stored in the mouse, and monitoring whether the movement data is abnormal movement data.
In the embodiment of the application, whether the first movement data is in the parameter interval of the acceleration data in the normal movement data or not and whether the second movement data is in the parameter interval of the angular velocity data in the normal movement data or not are judged, and whether the movement data are abnormal movement data or not is monitored.
It is understood that the movement data is abnormal movement data if the first movement data is not in the parameter interval of the acceleration data and/or the second movement data is not in the parameter interval of the angular velocity data.
Step S25: and if the movement data are abnormal movement data, sending the abnormal movement data to a user terminal through a preset communication network so that the user terminal can control the mouse according to the abnormal movement data.
For a more specific processing procedure of the step S25, reference may be made to corresponding contents disclosed in the foregoing embodiments, and details are not repeated here.
Fig. 4 is a schematic diagram of a specific mouse control method disclosed in the present application. When the mouse is falsely used by others and is moved, the inertia measurement module measures the acceleration and the angular speed data of the movement of the mouse and transmits the data to the microprocessor. The microprocessor stores the movement data into the storage module, and simultaneously monitors whether abnormal movement data exist or not. When abnormal movement data exists, namely the mouse is abnormally moved, the microprocessor monitors whether network connection exists. If the mobile terminal has network connection, the microprocessor sends the mobile data and the abnormal mobile prompt to the Internet. The user receives the abnormal movement data and the abnormal movement prompt, determines whether to stop the clicking operation of the mouse, if so, the stop signal is sent to the mouse through the WiFi, and the microprocessor stops the clicking operation of the mouse; when the user decides to recover the clicking operation of the mouse, a recovery signal is sent to the mouse through the WiFi, and the microprocessor recovers the clicking operation of the mouse. The mouse is detected to move abnormally through the inertia measurement module and the microprocessor, so that the remote real-time monitoring of the mouse is realized, the remote and real-time monitoring and stopping of the mouse are realized through wireless communication, the remote control of the mouse is realized, and abnormal behaviors are stopped in time.
The method is applied to a mouse, and comprises the steps of firstly counting historical movement data of the mouse, and screening target movement data which meet preset conditions in the historical movement data; setting parameter intervals of acceleration data and angular velocity data based on the target movement data, and storing the parameter intervals of the acceleration data and the angular velocity data to obtain the normal movement data; acquiring movement data of a mouse measured by a preset inertia measurement unit, wherein the movement data is acceleration data and angular velocity data generated when the mouse moves currently; comparing the movement data with normal movement data stored in the mouse in advance, and monitoring whether the movement data is abnormal movement data; and if the movement data are abnormal movement data, sending the abnormal movement data to a user terminal through a preset communication network so that the user terminal can control the mouse according to the abnormal movement data. Therefore, normal movement data are stored firstly, then the preset inertia measurement unit is used for obtaining the movement data of the current mouse, the remote monitoring of the movement condition of the mouse is achieved, whether the movement data are abnormal movement data or not is judged, then the abnormal movement data are sent to the user terminal through the preset communication network, the operation behaviors of the mouse are stopped for impostors, the remote control of the mouse is achieved, and the safety of information stored inside the computer is guaranteed.
Correspondingly, the embodiment of the present application further discloses a mouse control device, as shown in fig. 5, the device includes:
the data acquisition module 11 is configured to acquire movement data of a mouse measured by a preset inertia measurement unit, where the movement data is acceleration data and angular velocity data generated when the mouse is currently moving;
the abnormality monitoring module 12 is configured to compare the movement data with normal movement data stored in the mouse in advance, and monitor whether the movement data is abnormal movement data;
and the data sending module 13 is configured to send the abnormal movement data to the user terminal through a preset communication network when the movement data is the abnormal movement data, so that the user terminal controls the mouse according to the abnormal movement data.
For more specific working processes of the modules, reference may be made to corresponding contents disclosed in the foregoing embodiments, and details are not repeated here.
Therefore, when the scheme of the embodiment is applied to a mouse, the movement data of the mouse measured by the preset inertia measurement unit is obtained, wherein the movement data is acceleration data and angular velocity data generated when the mouse moves currently; comparing the movement data with normal movement data stored in the mouse in advance, monitoring whether the movement data is abnormal movement data, and if the movement data is abnormal movement data, sending the abnormal movement data to a user terminal through a preset communication network so that the user terminal can control the mouse according to the abnormal movement data. Therefore, the movement data of the mouse is acquired by the preset inertia measurement unit through the preset communication network, the remote monitoring of the movement condition of the mouse is realized, and when the movement data in the mouse are abnormal movement data, the abnormal movement data can be sent to the user terminal through the preset communication network, so that an impostor can be prevented from operating the mouse, the remote control of the mouse is realized, and the safety of information stored in the computer is ensured.
Further, an electronic device is disclosed in the embodiments of the present application, and fig. 6 is a block diagram of an electronic device 20 according to an exemplary embodiment, which should not be construed as limiting the scope of the application.
Fig. 6 is a schematic structural diagram of an electronic device 20 according to an embodiment of the present disclosure. The electronic device 20 may specifically include: at least one processor 21, at least one memory 22, a power supply 23, a communication interface 24, an input output interface 25, and a communication bus 26. The memory 22 is used for storing a computer program, and the computer program is loaded and executed by the processor 21 to implement the relevant steps in the mouse control method disclosed in any of the foregoing embodiments. In addition, the electronic device 20 in this embodiment may be a mouse. The technical scheme can also be applied to the field of other computer accessories, such as a display and the like, and can also be applied to other electronic accessories in an expanded mode.
In this embodiment, the power supply 23 is configured to provide a working voltage for each hardware device on the electronic device 20; the communication interface 24 can create a data transmission channel between the electronic device 20 and an external device, and a communication protocol followed by the communication interface is any communication protocol applicable to the technical solution of the present application, and is not specifically limited herein; the input/output interface 25 is configured to obtain external input data or output data to the outside, and a specific interface type thereof may be selected according to specific application requirements, which is not specifically limited herein.
In addition, the memory 22 is a carrier for storing resources, and may be a read-only memory, a random access memory, a magnetic disk or an optical disk, etc., the resources stored thereon may include an operating system 221, a computer program 222, data 223, etc., and the data 223 may include various data. The storage means may be transient storage or permanent storage.
The operating system 221 is used for managing and controlling each hardware device on the electronic device 20 and the computer program 222, and may be Windows Server, Netware, Unix, Linux, or the like. The computer program 222 may further include a computer program that can be used to perform other specific tasks in addition to the computer program that can be used to perform the mouse control method performed by the electronic device 20 disclosed in any of the foregoing embodiments.
Further, embodiments of the present application disclose a computer-readable storage medium, where the computer-readable storage medium includes a Random Access Memory (RAM), a Memory, a Read-Only Memory (ROM), an electrically programmable ROM, an electrically erasable programmable ROM, a register, a hard disk, a magnetic disk, or an optical disk or any other form of storage medium known in the art. Wherein the computer program realizes the mouse control method when being executed by a processor. For the specific steps of the method, reference may be made to the corresponding contents disclosed in the foregoing embodiments, which are not described herein again.
In the present specification, the embodiments are described in a progressive manner, and each embodiment focuses on differences from other embodiments, and the same or similar parts between the embodiments are referred to each other. The device disclosed in the embodiment corresponds to the method disclosed in the embodiment, so that the description is simple, and the relevant points can be referred to the description of the method part.
The steps of a mouse control or algorithm described in connection with the embodiments disclosed herein may be embodied directly in hardware, in a software module executed by a processor, or in a combination of the two. A software module may reside in Random Access Memory (RAM), memory, read-only memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.
Finally, it should also be noted that, in this document, relational terms such as first and second, and the like are used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in the process, method, article, or apparatus that comprises the element.
The mouse control method, device, apparatus and storage medium provided by the present invention are described in detail above, and the principle and the implementation of the present invention are explained by applying specific examples herein, and the description of the above embodiments is only used to help understanding the method and the core idea of the present invention; meanwhile, for a person skilled in the art, according to the idea of the present invention, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present invention.
Claims (10)
1. A mouse control method is characterized by being applied to a mouse and comprising the following steps:
acquiring movement data of a mouse measured by a preset inertia measurement unit, wherein the movement data is acceleration data and angular velocity data generated when the mouse moves currently;
comparing the movement data with normal movement data stored in the mouse in advance, monitoring whether the movement data is abnormal movement data, and if the movement data is abnormal movement data, sending the abnormal movement data to a user terminal through a preset communication network so that the user terminal can control the mouse according to the abnormal movement data.
2. The method for controlling a mouse according to claim 1, wherein before the obtaining the movement data of the mouse measured by the preset inertia measurement unit, the method further comprises:
counting historical movement data of the mouse;
screening out target mobile data meeting preset conditions in the historical mobile data;
and setting parameter intervals of acceleration data and angular velocity data based on the target movement data, and storing the parameter intervals of the acceleration data and the parameter intervals of the angular velocity data to obtain the normal movement data.
3. The mouse control method according to claim 2, wherein the obtaining of the movement data of the mouse measured by the preset inertia measurement unit comprises:
acquiring acceleration data, which is measured by a preset inertia measurement unit and generated when a mouse moves currently, as first movement data;
acquiring angular velocity data, which is measured by the preset inertia measurement unit and generated when the mouse moves currently, as second movement data;
correspondingly, comparing the movement data with normal movement data pre-stored in the mouse, and monitoring whether the movement data is abnormal movement data, including:
Judging whether the first movement data are in the parameter interval of the acceleration data in the normal movement data or not, judging whether the second movement data are in the parameter interval of the angular velocity data in the normal movement data or not, and monitoring whether the movement data are abnormal movement data or not.
4. The method of claim 3, wherein the monitoring whether the movement data is abnormal movement data comprises:
and if the first movement data is not in the parameter interval of the acceleration data and/or the second movement data is not in the parameter interval of the angular velocity data, the movement data is abnormal movement data.
5. The mouse control method according to claim 1, wherein after monitoring whether the movement data is abnormal movement data, the method further comprises:
monitoring whether the connection to a preset communication network is performed in real time;
if the mouse is connected to the preset communication network, triggering the step of sending the abnormal movement data to a user terminal through the preset communication network so that the user terminal can control the mouse according to the abnormal movement data;
And if the current connection is not connected to the preset communication network, continuously monitoring until the connection to the preset communication network is monitored.
6. The method according to any one of claims 1 to 5, wherein after the step of sending the abnormal movement data to the user terminal through a predetermined communication network, the method further comprises:
and acquiring a control signal of the mouse fed back by the user terminal through the preset communication network, and controlling the mouse according to the control signal.
7. The method of claim 6, wherein the obtaining the control signal of the user terminal to the mouse fed back through the preset communication network and controlling the mouse according to the control signal comprises:
judging whether a control signal fed back by the user terminal through the preset communication network to the mouse is a stop signal or not;
if the control signal fed back by the preset communication network to the mouse is a stop signal, controlling the mouse not to respond, and monitoring whether a recovery signal exists or not;
and if the recovery signal is monitored to exist, the recovery signal is sent to the mouse through the preset communication network so as to control the mouse to recover response.
8. A mouse control device is characterized by being applied to a mouse and comprising:
the data acquisition module is used for acquiring movement data of the mouse measured by a preset inertia measurement unit, wherein the movement data is acceleration data and angular velocity data generated when the mouse moves currently;
the abnormality monitoring module is used for comparing the movement data with normal movement data stored in the mouse in advance and monitoring whether the movement data is abnormal movement data;
and the data sending module is used for sending the abnormal movement data to the user terminal through a preset communication network when the movement data is the abnormal movement data so that the user terminal can control the mouse according to the abnormal movement data.
9. An electronic device, comprising:
a memory for protecting the computer program;
a processor for executing the computer program to implement the mouse control method of any one of claims 1 to 7.
10. A computer-readable storage medium for storing a computer program; wherein the computer program, when executed by a processor, implements the mouse control method of any one of claims 1 to 7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210101290.3A CN114675754A (en) | 2022-01-27 | 2022-01-27 | Mouse control method, device, equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210101290.3A CN114675754A (en) | 2022-01-27 | 2022-01-27 | Mouse control method, device, equipment and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN114675754A true CN114675754A (en) | 2022-06-28 |
Family
ID=82073059
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202210101290.3A Withdrawn CN114675754A (en) | 2022-01-27 | 2022-01-27 | Mouse control method, device, equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN114675754A (en) |
Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20070207834A1 (en) * | 2005-10-11 | 2007-09-06 | Jeroen Thijssen | Cellular communication terminals and methods that sense terminal movement for cursor control |
CN102262460A (en) * | 2011-08-29 | 2011-11-30 | 江苏惠通集团有限责任公司 | Air mouse and method and device for controlling movement of mouse pointer |
WO2012077834A1 (en) * | 2010-12-08 | 2012-06-14 | 주식회사 뉴티씨 (Newtc) | Small power-saving electronic device |
CN104375486A (en) * | 2014-11-14 | 2015-02-25 | 闻泰通讯股份有限公司 | Intelligent home control system |
WO2016161851A1 (en) * | 2015-04-10 | 2016-10-13 | 中兴通讯股份有限公司 | Mobile terminal control method and mobile terminal |
WO2019041322A1 (en) * | 2017-09-01 | 2019-03-07 | 深圳传音通讯有限公司 | Mobile terminal and anti-loss method therefor, computer readable storage medium |
CN110389669A (en) * | 2019-07-31 | 2019-10-29 | 北京金彩科技有限公司 | The transmitting module switching device and control method of a set of mouse control two computers |
WO2020048047A1 (en) * | 2018-09-03 | 2020-03-12 | 平安科技(深圳)有限公司 | System fault warning method, apparatus, and device, and storage medium |
WO2021164465A1 (en) * | 2020-02-20 | 2021-08-26 | 深圳壹账通智能科技有限公司 | Intelligent early warning method and system |
WO2021212756A1 (en) * | 2020-04-23 | 2021-10-28 | 平安科技(深圳)有限公司 | Index anomaly analysis method and apparatus, and electronic device and storage medium |
-
2022
- 2022-01-27 CN CN202210101290.3A patent/CN114675754A/en not_active Withdrawn
Patent Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20070207834A1 (en) * | 2005-10-11 | 2007-09-06 | Jeroen Thijssen | Cellular communication terminals and methods that sense terminal movement for cursor control |
WO2012077834A1 (en) * | 2010-12-08 | 2012-06-14 | 주식회사 뉴티씨 (Newtc) | Small power-saving electronic device |
CN102262460A (en) * | 2011-08-29 | 2011-11-30 | 江苏惠通集团有限责任公司 | Air mouse and method and device for controlling movement of mouse pointer |
CN104375486A (en) * | 2014-11-14 | 2015-02-25 | 闻泰通讯股份有限公司 | Intelligent home control system |
WO2016161851A1 (en) * | 2015-04-10 | 2016-10-13 | 中兴通讯股份有限公司 | Mobile terminal control method and mobile terminal |
WO2019041322A1 (en) * | 2017-09-01 | 2019-03-07 | 深圳传音通讯有限公司 | Mobile terminal and anti-loss method therefor, computer readable storage medium |
WO2020048047A1 (en) * | 2018-09-03 | 2020-03-12 | 平安科技(深圳)有限公司 | System fault warning method, apparatus, and device, and storage medium |
CN110389669A (en) * | 2019-07-31 | 2019-10-29 | 北京金彩科技有限公司 | The transmitting module switching device and control method of a set of mouse control two computers |
WO2021164465A1 (en) * | 2020-02-20 | 2021-08-26 | 深圳壹账通智能科技有限公司 | Intelligent early warning method and system |
WO2021212756A1 (en) * | 2020-04-23 | 2021-10-28 | 平安科技(深圳)有限公司 | Index anomaly analysis method and apparatus, and electronic device and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10650593B2 (en) | Holographic technology implemented security solution | |
US10854059B2 (en) | Wireless sensor network | |
CN110209639B (en) | Information processing method, device and system | |
US10991218B2 (en) | Sharing video stream during an alarm event | |
US10206108B2 (en) | Device and method for smart home | |
US9858777B2 (en) | System, method and computer readable medium for managing mobile devices | |
US10026289B2 (en) | Premises management system with prevention measures | |
WO2015122294A1 (en) | Programmable display, mobile terminal device, data processing method, and program | |
EP3111433A1 (en) | Wireless sensor network | |
EP3018882B1 (en) | Configuring a device in a network | |
RU2638762C2 (en) | Method and device for sending messages | |
EP3188147B1 (en) | Adaptive exit arm times based on real time events and historical data in a home security system | |
EP3144914B1 (en) | Fast replacement z-wave device in home automation | |
CN110727938A (en) | Configuration method and device of intelligent equipment, electronic equipment and storage medium | |
JP2007080171A (en) | Apparatus and method for managing device, program, and recording medium | |
EP3069329B1 (en) | Security panel with virtual sensors | |
JP4970208B2 (en) | Security device and security system | |
CN112352408B (en) | Intruder detection method and device | |
CN113888826A (en) | Monitoring processing method, device and system, computer equipment and storage medium | |
CN114675754A (en) | Mouse control method, device, equipment and storage medium | |
CN105578122A (en) | Monitoring prompt method based on router, apparatus and electronic equipment thereof | |
CN114402268A (en) | Presenting a current state of a device depending on a privacy mode | |
JP2012128890A (en) | Security device and security system | |
EP2772891B1 (en) | System and method for interacting with digital video recorders through social networking applications | |
CN112446984A (en) | Intelligent door lock control method and device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
WW01 | Invention patent application withdrawn after publication | ||
WW01 | Invention patent application withdrawn after publication |
Application publication date: 20220628 |