CN113342586B - Big data-based computer external equipment detection system and method - Google Patents
Big data-based computer external equipment detection system and method Download PDFInfo
- Publication number
- CN113342586B CN113342586B CN202110758220.0A CN202110758220A CN113342586B CN 113342586 B CN113342586 B CN 113342586B CN 202110758220 A CN202110758220 A CN 202110758220A CN 113342586 B CN113342586 B CN 113342586B
- Authority
- CN
- China
- Prior art keywords
- mouse
- operation information
- vector
- module
- information transmitted
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/22—Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
- G06F11/2205—Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing using arrangements specific to the hardware being tested
- G06F11/2221—Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing using arrangements specific to the hardware being tested to test input/output devices or peripheral units
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/22—Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
- G06F11/2273—Test methods
Abstract
The invention discloses a big data-based detection system and method for computer external equipment, wherein the detection system comprises a first mouse transmission module, a second mouse transmission module, a receiving judgment module and a response selection module, wherein the first mouse and the second mouse are connected with computer equipment in advance, the first mouse is a wired mouse, and the second mouse is a wireless mouse; the first mouse transmission module is used for receiving operation information transmitted by a first mouse, the second mouse transmission module is used for receiving operation information transmitted by a second mouse, the receiving and judging module judges whether the operation information transmitted by the second mouse is received within a preset time period when the operation information transmitted by the first mouse is received, and the response selection module analyzes the operation information of which mouse the computer equipment responds to when the operation information of the second mouse is received.
Description
Technical Field
The invention relates to the technical field of computers, in particular to a big data-based detection system and method for computer external equipment.
Background
The external equipment is a general name of input and output equipment and an external memory in a computer system, plays a role in transmitting, transferring and storing data and information, is an important component in the computer system, is attached or auxiliary equipment connected with the computer, and can expand the computer system. The mouse is the basic control input device for a computer. With the development of mouse technology, wireless mice come along, the wireless mice are not bound by cables, and the wireless mice are more convenient to use and carry, but the wireless mice are easily interfered, and connection delay or failure occurs, and the limited mice are directly connected with a computer by wires, so that the delay and the interference are relatively small. In order to improve user experience, people can access a wireless mouse and a wired mouse into computer equipment at the same time, and select which mouse is used to operate the computer equipment according to the situation, but the situation that the two mice transmit signals due to mistaken touch can occur.
Disclosure of Invention
The invention aims to provide a computer external device detection system and method based on big data, so as to solve the problems in the background technology.
In order to solve the technical problems, the invention provides the following technical scheme: a big data-based detection system for computer external equipment comprises a first mouse transmission module, a second mouse transmission module, a receiving judgment module and a response selection module, wherein the first mouse and the second mouse are connected with computer equipment in advance, the first mouse is a wired mouse, and the second mouse is a wireless mouse; the first mouse transmission module is used for receiving operation information transmitted by a first mouse, the second mouse transmission module is used for receiving operation information transmitted by a second mouse, the receiving and judging module judges whether the operation information transmitted by the second mouse is received within a preset time period when the operation information transmitted by the first mouse is received, the response selection module analyzes which mouse operation information the computer equipment responds to when the operation information of the second mouse is received, and the computer equipment responds to the operation information transmitted by the first mouse when the operation information of the second mouse is not received.
Further, the response selection module comprises a vector extraction module, a first comprehensive contrast parameter acquisition module, a second comprehensive contrast parameter acquisition module, a comprehensive contrast index calculation module, a comprehensive contrast index comparison module and a software operation analysis module, wherein the vector extraction module takes the position of the first mouse before moving as a starting point and the position after moving as an end point to obtain a first vector, takes the position of the second mouse before moving as a starting point and the position after moving as an end point to obtain a second vector, the first comprehensive contrast parameter acquisition module respectively acquires the size a of the first vector and the size b of the second vector and calculates a first comprehensive contrast parameter U ═ a-b |/b according to the first vector and the second vector, the second comprehensive contrast parameter acquisition module sets a vector as a reference vector to respectively acquire an included angle o between the first vector and the reference vector and an included angle q between the second vector and the reference vector, and calculating a second integrated contrast parameter V ═ o-q |/q based on the first and second integrated contrast parameters, the integrated contrast index calculation module calculates an integrated contrast index D ═ 0.5U + 0.5V based on the first and second integrated contrast parameters, the integrated contrast index comparison module compares the integrated contrast index to a contrast index threshold, when the integrated contrast index is less than the contrast index threshold, the computer device responds to the last transmitted operation information of the reference mouse, wherein, the reference mouse is the mouse which is responded by the computer equipment for the last time, the reference mouse is one of the first mouse and the second mouse and the software operation analysis module, when the comprehensive contrast index is larger than or equal to the contrast index threshold value, the software operation analysis module collects the software currently operated by the computer equipment as matching software, and analyzes the historical operation condition of the matching software to judge which mouse operation information is responded.
Further, the software operation analysis module comprises a mouse response acquisition module, a switching reference value calculation module, an optimal mouse selection module and a mouse type comparison module, wherein the mouse response acquisition module respectively acquires the times m1 of the matching software responding to the operation information of the first mouse when the matching software operates in the latest period of time, the times m2 of responding to the operation information of the second mouse and the times n of no mouse switching during the process of using the matching software; the switching reference value calculating module calculates a switching reference value F to be 0.7 x | m1-m2|/(m1+ m2) +0.3 x n/(m1+ m2-1) according to the collected data of the mouse response collecting module, when the switching reference value is larger than or equal to a switching threshold value, the preferred mouse selecting module compares the numerical values of m1 and m2, selects the mouse corresponding to the mouse with the larger numerical value as the preferred mouse, the mouse type comparing module is used for comparing the preferred mouse with the reference mouse, and when the preferred mouse and the reference mouse are the same mouse, the computer equipment responds to the operation information transmitted last time of the reference mouse.
Further, the software operation analysis module further comprises a mouse history duration acquisition module and a reference mouse duration acquisition and comparison module, when the switching reference value is smaller than the switching threshold value or the preferred mouse is different from the reference mouse, the mouse history duration acquisition module acquires an average value of interval duration between the time when the reference mouse is used and the time when the matching software is switched to another mouse in the process of using the matching software within a recent period of time, the reference mouse duration comparison module compares the current duration of the reference mouse with the average value, when the current duration of the reference mouse is smaller than or equal to the average value, the computer device responds to the operation information transmitted last time of the reference mouse, and when the current duration of the reference mouse is larger than the average value, the computer device responds to the operation information transmitted last time of the alternative mouse, wherein, the alternative mouse is the other mouse of the first mouse and the second mouse.
A big data-based detection method for computer external equipment comprises the following steps:
connecting computer equipment with a first mouse and a second mouse in advance, wherein the first mouse is a wired mouse, and the second mouse is a wireless mouse;
when the operation information transmitted by the first mouse is received, whether the operation information transmitted by the second mouse is received in a preset time period is obtained,
if the operation information of the second mouse is received, judging which mouse operation information the computer equipment responds to;
if the operation information of the second mouse is not received, the computer equipment responds to the operation information transmitted by the first mouse.
Further, the information for determining which mouse is executed by the computer device includes:
the position before the first mouse is moved is taken as a starting point, the position after the first mouse is moved is taken as an end point to obtain a first vector, the position before the second mouse is moved is taken as a starting point, the position after the second mouse is moved is taken as an end point to obtain a second vector,
respectively obtaining the size a of the first vector and the size b of the second vector, and then obtaining a first comprehensive contrast parameter U ═ a-b |/b;
setting a vector as a reference vector, and respectively obtaining an included angle o between the first vector and the reference vector and an included angle q between the second vector and the reference vector, wherein the second comprehensive contrast parameter V is | o-q |/q;
the integrated contrast index D is 0.5U + 0.5V, and if the integrated contrast index is smaller than the contrast index threshold, the computer device responds to the operation information transmitted last time by the reference mouse, wherein the reference mouse is the mouse to which the computer device responds last time, the reference mouse is one of the first mouse and the second mouse,
and if the comprehensive contrast index is greater than or equal to the contrast index threshold value, acquiring the software currently operated by the computer equipment as matched software, and analyzing the historical operating condition of the matched software.
Further, the analyzing the historical operating conditions of the matching software comprises:
respectively collecting the times m1 of the matching software responding to the operation information of the first mouse, the times m2 of responding to the operation information of the second mouse and the times n of no mouse switching in the process of using the matching software when the matching software runs in the latest period of time;
then the switching reference F is 0.7 × m1-m2|/(m1+ m2) +0.3 × n/(m1+ m2-1),
if the switching reference value is larger than or equal to the switching threshold value, comparing the values of m1 and m2, and selecting the mouse corresponding to the larger value as the preferred mouse, if the preferred mouse is the same as the reference mouse, the computer device responds to the operation information transmitted last time by the reference mouse.
Further, the analyzing the historical operating condition of the matching software further comprises:
if the handover reference value is less than the handover threshold or the preferred mouse is different from the reference mouse,
the average value of the interval duration from the beginning of using the reference mouse to switching to another mouse in the process of using the matching software in the last period of time is collected,
when the current continuous use duration of the reference mouse is less than or equal to the average value, the computer equipment responds to the operation information transmitted last time of the reference mouse;
and when the current continuous use time of the reference mouse is longer than the average value, the computer equipment responds to the operation information which is transmitted last time by the alternative mouse, wherein the alternative mouse is the other mouse of the first mouse and the second mouse.
Further, the reference vector is a unit vector with a horizontal direction.
Compared with the prior art, the invention has the following beneficial effects: according to the invention, the position moving condition of the first mouse and the second mouse, the condition of the mouse used for the last time and the historical use condition of the first mouse and the second mouse in the current running software are analyzed and judged to select which mouse to respond, so that the probability of the computer equipment responding to the mouse by mistake is reduced, and the accuracy of the computer equipment executing the mouse operation is improved.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this specification, illustrate embodiments of the invention and together with the description serve to explain the principles of the invention and not to limit the invention. In the drawings:
FIG. 1 is a schematic block diagram of a big data-based computer peripheral device detection system according to the present invention.
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.
Referring to fig. 1, the present invention provides a technical solution: a big data-based detection system for computer external equipment comprises a first mouse transmission module, a second mouse transmission module, a receiving judgment module and a response selection module, wherein the first mouse and the second mouse are connected with computer equipment in advance, the first mouse is a wired mouse, and the second mouse is a wireless mouse; the first mouse transmission module is used for receiving operation information transmitted by a first mouse, the second mouse transmission module is used for receiving operation information transmitted by a second mouse, the receiving and judging module judges whether the operation information transmitted by the second mouse is received within a preset time period when the operation information transmitted by the first mouse is received, the response selection module analyzes which mouse operation information the computer equipment responds to when the operation information of the second mouse is received, and the computer equipment responds to the operation information transmitted by the first mouse when the operation information of the second mouse is not received.
The response selection module comprises a vector extraction module, a first comprehensive contrast parameter acquisition module, a second comprehensive contrast parameter acquisition module, a comprehensive contrast index calculation module, a comprehensive contrast index comparison module and a software operation analysis module, wherein the vector extraction module takes the position of a first mouse before moving as a starting point and the position after moving as an end point to obtain a first vector, takes the position of a second mouse before moving as a starting point and the position after moving as an end point to obtain a second vector, the first comprehensive contrast parameter acquisition module respectively acquires the size a of the first vector and the size b of the second vector and calculates a first comprehensive contrast parameter U | -a-b |/b according to the first vector and the size b of the second vector, the second comprehensive contrast parameter acquisition module sets a vector as a reference vector to respectively acquire an included angle o between the first vector and the reference vector and an included angle q between the second vector and the reference vector, and calculating a second integrated contrast parameter V ═ o-q |/q based on the first and second integrated contrast parameters, the integrated contrast index calculation module calculates an integrated contrast index D ═ 0.5U + 0.5V based on the first and second integrated contrast parameters, the integrated contrast index comparison module compares the integrated contrast index to a contrast index threshold, when the integrated contrast index is less than the contrast index threshold, the computer device responds to the last transmitted operation information of the reference mouse, wherein, the reference mouse is the mouse which is responded by the computer equipment for the last time, the reference mouse is one of the first mouse and the second mouse and the software operation analysis module, when the comprehensive contrast index is larger than or equal to the contrast index threshold value, the software operation analysis module collects the software currently operated by the computer equipment as matching software, and analyzes the historical operation condition of the matching software to judge which mouse operation information is responded.
The software operation analysis module comprises a mouse response acquisition module, a switching reference value calculation module, an optimal mouse selection module and a mouse type comparison module, wherein the mouse response acquisition module respectively acquires the times m1 of the matching software responding to the operation information of a first mouse, the times m2 of responding to the operation information of a second mouse and the times n of no mouse switching in the process of using the matching software during the operation of the matching software in the latest period of time; the switching reference value calculating module calculates a switching reference value F to be 0.7 x | m1-m2|/(m1+ m2) +0.3 x n/(m1+ m2-1) according to the collected data of the mouse response collecting module, when the switching reference value is larger than or equal to a switching threshold value, the preferred mouse selecting module compares the numerical values of m1 and m2, selects the mouse corresponding to the mouse with the larger numerical value as the preferred mouse, the mouse type comparing module is used for comparing the preferred mouse with the reference mouse, and when the preferred mouse and the reference mouse are the same mouse, the computer equipment responds to the operation information transmitted last time of the reference mouse.
The software running analysis module further comprises a mouse history duration acquisition module and a reference mouse duration acquisition and comparison module, when a switching reference value is smaller than a switching threshold value or a preferred mouse is different from a reference mouse, the mouse history duration acquisition module acquires an average value of interval duration between the time when the reference mouse is used and the time when the matching software is switched to another mouse in the process of using the matching software within a recent period of time, the reference mouse duration comparison module compares the current duration of the continuous use of the reference mouse with the average value, when the current duration of the continuous use of the reference mouse is smaller than or equal to the average value, the computer device responds to the operation information transmitted last time by the reference mouse, and when the current duration of the continuous use of the reference mouse is larger than the average value, the computer device responds to the operation information transmitted last time by an alternative mouse, wherein, the alternative mouse is the other mouse of the first mouse and the second mouse.
A big data-based detection method for computer external equipment comprises the following steps:
connecting computer equipment with a first mouse and a second mouse in advance, wherein the first mouse is a wired mouse, and the second mouse is a wireless mouse;
when the operation information transmitted by the first mouse is received, whether the operation information transmitted by the second mouse is received or not within a preset time period is obtained, and under a general condition, the wireless mouse has a certain delay relative to the wired mouse, so that the operation information of the wireless mouse is received later than that of the wired mouse when the wireless mouse and the wired mouse are moved simultaneously; if the mouse which is wanted to move is a wireless mouse and the other mouse which is moved by mistake is a wired mouse, the computer equipment can firstly receive the operation of the wired mouse and then receives the operation of the wireless mouse, so that the condition that a mouse pointer is operated by mistake can occur;
if the operation information of the second mouse is received, judging which mouse operation information the computer equipment responds to;
if the operation information of the second mouse is not received, the computer equipment responds to the operation information transmitted by the first mouse.
The information for judging which mouse is executed by the computer device comprises:
the position before the first mouse is moved is taken as a starting point, the position after the first mouse is moved is taken as an end point to obtain a first vector, the position before the second mouse is moved is taken as a starting point, the position after the second mouse is moved is taken as an end point to obtain a second vector,
respectively obtaining the size a of the first vector and the size b of the second vector, and then obtaining a first comprehensive contrast parameter U ═ a-b |/b;
and setting a vector as a reference vector, and respectively obtaining an included angle o between the first vector and the reference vector, and an included angle q between the second vector and the reference vector, wherein the second comprehensive contrast parameter V is | o-q |/q, the reference vector is a unit vector with a horizontal direction, and the direction of the reference vector can be horizontally towards the right or horizontally towards the left.
If the integrated contrast index D is smaller than the contrast index threshold, the computer device responds to the operation information transmitted last time by the reference mouse, wherein the reference mouse is the mouse responded last time by the computer device, the reference mouse is one of the first mouse and the second mouse, and the integrated contrast index is used for judging the difference between the moving distance and the moving direction of the wired mouse and the wireless mouse;
and if the comprehensive contrast index is greater than or equal to the contrast index threshold value, acquiring the software currently operated by the computer equipment as matched software, and analyzing the historical operating condition of the matched software.
The analyzing the historical operating condition of the matching software comprises the following steps:
respectively collecting the times m1 of the matching software responding to the operation information of the first mouse, the times m2 of responding to the operation information of the second mouse and the times n of no mouse switching in the process of using the matching software when the matching software runs in the latest period of time; for example, when the matching software runs in the latest period of time and responds to the mouse, the matching software sequentially comprises a first mouse, a second mouse, a first mouse, a second mouse and a first mouse, and then m1 is 8, m2 is 2, and n is 5;
then the switching reference value F is 0.7 × m1-m2|/(m1+ m2) +0.3 × n/(m1+ m2-1), which is used to determine whether the user has a greater tendency to use a certain mouse during the use of the matching software and whether the user has a tendency to switch the mouse frequently during the use,
if the switching reference value is larger than or equal to the switching threshold value, comparing the values of m1 and m2, and selecting the mouse corresponding to the larger value as the preferred mouse, if the preferred mouse is the same as the reference mouse, the computer device responds to the operation information transmitted last time by the reference mouse. When the value of | m1-m2|/(m1+ m2) is larger, it is indicated that one of the first mouse and the second mouse is used for a particularly large number of times in the process of using the matching software by a user, and when the value of 0.3 × n/(m1+ m2-1) is larger, it is indicated that the mouse is not changed so much in the process of using the matching software by the user, so that when the switching reference value is larger, it is indicated that the user is more inclined to use a certain mouse in the process of using the matching software; if the preferred mouse is the first mouse and the reference mouse is also the first mouse, the computer equipment responds to the operation information of the first mouse;
if the handover reference value is less than the handover threshold or the preferred mouse is different from the reference mouse,
the average value of the interval duration from the beginning of using the reference mouse to switching to another mouse in the process of using the matching software in the last period of time is collected,
when the current continuous use duration of the reference mouse is less than or equal to the average value, the computer equipment responds to the operation information transmitted last time of the reference mouse;
and when the current continuous use time of the reference mouse is longer than the average value, the computer equipment responds to the operation information which is transmitted last time by the alternative mouse, wherein the alternative mouse is the other mouse of the first mouse and the second mouse. In the application, the current continuous use time of the reference mouse refers to the time from the beginning of using the reference mouse in the process of using the matching software to the time when the computer equipment responds to the reference mouse at the last time, and the current continuous use time of the reference mouse is obtained when other mice are not switched in the time; for example, the mouse usage matching the software usage in the last period of time is as follows: the first mouse is selected from 09: 56 has been used, the second mouse is started from 10: 20 was used all the time, the first mouse was changed from 10: 25 was used all the time, the second mouse was started from 11: 05 used all the time, the first mouse was started from 11: 10 starts to be used all the time, and the current time is 11: 30, the reference mouse is the first mouse, then the average value is (24+45)/2 is 34.5 minutes, the current duration of use is 20 minutes, then the computer device responds to the last operation information transmitted by the reference mouse, and if the current time is 12: 00, then the current duration of use is 50 minutes, then the computer device responds to the last transmitted operational information of the alternative mouse.
It is noted that, herein, relational terms such as first and second, and the like may be 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.
Finally, it should be noted that: although the present invention has been described in detail with reference to the foregoing embodiments, it will be apparent to those skilled in the art that changes may be made in the embodiments and/or equivalents thereof without departing from the spirit and scope of the invention. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.
Claims (7)
1. A big data-based detection system for computer external equipment is characterized by comprising a first mouse transmission module, a second mouse transmission module, a receiving judgment module and a response selection module, wherein the first mouse and the second mouse are connected with computer equipment in advance, the first mouse is a wired mouse, and the second mouse is a wireless mouse; the first mouse transmission module is used for receiving operation information transmitted by a first mouse, the second mouse transmission module is used for receiving operation information transmitted by a second mouse, the receiving and judging module judges whether the operation information transmitted by the second mouse is received within a preset time period when the operation information transmitted by the first mouse is received, the response selection module analyzes which mouse operation information the computer equipment responds to when the operation information of the second mouse is received, and the computer equipment responds to the operation information transmitted by the first mouse when the operation information of the second mouse is not received;
the response selection module comprises a vector extraction module, a first comprehensive contrast parameter acquisition module, a second comprehensive contrast parameter acquisition module, a comprehensive contrast index calculation module, a comprehensive contrast index comparison module and a software operation analysis module, wherein the vector extraction module takes the position of a first mouse before moving as a starting point and the position after moving as an end point to obtain a first vector, takes the position of a second mouse before moving as a starting point and the position after moving as an end point to obtain a second vector, the first comprehensive contrast parameter acquisition module respectively acquires the size a of the first vector and the size b of the second vector and calculates a first comprehensive contrast parameter U | -a-b |/b according to the first vector and the size b of the second vector, the second comprehensive contrast parameter acquisition module sets a vector as a reference vector to respectively acquire an included angle o between the first vector and the reference vector and an included angle q between the second vector and the reference vector, and calculating a second integrated contrast parameter V ═ o-q |/q based on the first and second integrated contrast parameters, the integrated contrast index calculation module calculates an integrated contrast index D ═ 0.5U + 0.5V based on the first and second integrated contrast parameters, the integrated contrast index comparison module compares the integrated contrast index to a contrast index threshold, when the integrated contrast index is less than the contrast index threshold, the computer device responds to the last transmitted operation information of the reference mouse, wherein the reference mouse is a mouse which is responded by the computer equipment for the last time, the reference mouse is one of the first mouse and the second mouse, when the comprehensive contrast index is larger than or equal to the contrast index threshold value, the software operation analysis module collects the software currently operated by the computer equipment as matching software, and analyzes the historical operation condition of the matching software to judge which mouse operation information is responded.
2. The big data-based computer peripheral equipment detection system according to claim 1, wherein: the software operation analysis module comprises a mouse response acquisition module, a switching reference value calculation module, an optimal mouse selection module and a mouse type comparison module, wherein the mouse response acquisition module respectively acquires the times m1 of the matching software responding to the operation information of a first mouse, the times m2 of responding to the operation information of a second mouse and the times n of no mouse switching in the process of using the matching software during the operation of the matching software in the latest period of time; the switching reference value calculating module calculates a switching reference value F to be 0.7 x | m1-m2|/(m1+ m2) +0.3 x n/(m1+ m2-1) according to the collected data of the mouse response collecting module, when the switching reference value is larger than or equal to a switching threshold value, the preferred mouse selecting module compares the numerical values of m1 and m2, selects the mouse corresponding to the mouse with the larger numerical value as the preferred mouse, the mouse type comparing module is used for comparing the preferred mouse with the reference mouse, and when the preferred mouse and the reference mouse are the same mouse, the computer equipment responds to the operation information transmitted last time of the reference mouse.
3. The big data-based computer peripheral equipment detection system according to claim 2, wherein: the software running analysis module further comprises a mouse history duration acquisition module and a reference mouse duration acquisition and comparison module, when a switching reference value is smaller than a switching threshold value or a preferred mouse is different from a reference mouse, the mouse history duration acquisition module acquires an average value of interval duration between the time when the reference mouse is used and the time when the matching software is switched to another mouse in the process of using the matching software within a recent period of time, the reference mouse duration comparison module compares the current duration of the continuous use of the reference mouse with the average value, when the current duration of the continuous use of the reference mouse is smaller than or equal to the average value, the computer device responds to the operation information transmitted last time by the reference mouse, and when the current duration of the continuous use of the reference mouse is larger than the average value, the computer device responds to the operation information transmitted last time by an alternative mouse, wherein, the alternative mouse is the other mouse of the first mouse and the second mouse.
4. A method for detecting computer external equipment based on big data is characterized in that: the detection method comprises the following steps:
connecting computer equipment with a first mouse and a second mouse in advance, wherein the first mouse is a wired mouse, and the second mouse is a wireless mouse;
when the operation information transmitted by the first mouse is received, whether the operation information transmitted by the second mouse is received in a preset time period is obtained,
if the operation information of the second mouse is received, judging which mouse operation information the computer equipment responds to;
if the operation information of the second mouse is not received, the computer equipment responds to the operation information transmitted by the first mouse;
the judging which mouse operation information the computer device responds to comprises:
the position before the first mouse is moved is taken as a starting point, the position after the first mouse is moved is taken as an end point to obtain a first vector, the position before the second mouse is moved is taken as a starting point, the position after the second mouse is moved is taken as an end point to obtain a second vector,
respectively obtaining the size a of the first vector and the size b of the second vector, and then obtaining a first comprehensive contrast parameter U ═ a-b |/b;
setting a vector as a reference vector, and respectively obtaining an included angle o between the first vector and the reference vector and an included angle q between the second vector and the reference vector, wherein the second comprehensive contrast parameter V is | o-q |/q;
the integrated contrast index D is 0.5U + 0.5V, and if the integrated contrast index is smaller than the contrast index threshold, the computer device responds to the operation information transmitted last time by the reference mouse, wherein the reference mouse is the mouse to which the computer device responds last time, the reference mouse is one of the first mouse and the second mouse,
if the comprehensive contrast index is larger than or equal to the contrast index threshold value, the software currently operated by the computer equipment is collected as matching software, and the historical operating condition of the matching software is analyzed to judge which mouse operation information is responded.
5. The big data-based detection method for the computer peripheral equipment, according to claim 4, is characterized in that: the analyzing the historical operating condition of the matching software comprises the following steps:
respectively collecting the times m1 of the matching software responding to the operation information of the first mouse, the times m2 of responding to the operation information of the second mouse and the times n of no mouse switching in the process of using the matching software when the matching software runs in the latest period of time;
then the switching reference F is 0.7 × m1-m2|/(m1+ m2) +0.3 × n/(m1+ m2-1),
if the switching reference value is larger than or equal to the switching threshold value, comparing the values of m1 and m2, and selecting the mouse corresponding to the larger value as the preferred mouse, if the preferred mouse is the same as the reference mouse, the computer device responds to the operation information transmitted last time by the reference mouse.
6. The big data-based detection method for the computer peripheral equipment, according to claim 5, is characterized in that: the analyzing the historical operating conditions of the matching software further comprises:
if the handover reference value is less than the handover threshold or the preferred mouse is different from the reference mouse,
the average value of the interval duration from the beginning of using the reference mouse to switching to another mouse in the process of using the matching software in the last period of time is collected,
when the current continuous use duration of the reference mouse is less than or equal to the average value, the computer equipment responds to the operation information transmitted last time of the reference mouse;
and when the current continuous use time of the reference mouse is longer than the average value, the computer equipment responds to the operation information which is transmitted last time by the alternative mouse, wherein the alternative mouse is the other mouse of the first mouse and the second mouse.
7. The big data-based detection method for the computer peripheral equipment, according to claim 6, is characterized in that: the reference vector is a unit vector with horizontal direction.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110758220.0A CN113342586B (en) | 2021-07-05 | 2021-07-05 | Big data-based computer external equipment detection system and method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110758220.0A CN113342586B (en) | 2021-07-05 | 2021-07-05 | Big data-based computer external equipment detection system and method |
Publications (2)
Publication Number | Publication Date |
---|---|
CN113342586A CN113342586A (en) | 2021-09-03 |
CN113342586B true CN113342586B (en) | 2022-03-22 |
Family
ID=77482518
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202110758220.0A Active CN113342586B (en) | 2021-07-05 | 2021-07-05 | Big data-based computer external equipment detection system and method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN113342586B (en) |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1428686A (en) * | 2001-12-26 | 2003-07-09 | 神达电脑股份有限公司 | Device for displaying data of other equipment by using computer liquid crystal display device and its method |
CN1881201A (en) * | 2006-04-10 | 2006-12-20 | 姜咏江 | Core design of PU-MU-CHL structured computer |
CN105005400A (en) * | 2014-10-24 | 2015-10-28 | 刘哲龙 | Suit for controlling a plurality of computers and application of suit |
-
2021
- 2021-07-05 CN CN202110758220.0A patent/CN113342586B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1428686A (en) * | 2001-12-26 | 2003-07-09 | 神达电脑股份有限公司 | Device for displaying data of other equipment by using computer liquid crystal display device and its method |
CN1881201A (en) * | 2006-04-10 | 2006-12-20 | 姜咏江 | Core design of PU-MU-CHL structured computer |
CN105005400A (en) * | 2014-10-24 | 2015-10-28 | 刘哲龙 | Suit for controlling a plurality of computers and application of suit |
Also Published As
Publication number | Publication date |
---|---|
CN113342586A (en) | 2021-09-03 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9684353B2 (en) | Wearable equipment and mode switching method using the same | |
KR101510860B1 (en) | Service Method and Server for Providing Application Comprehended User Intention | |
CN104765524A (en) | Application switching method and device | |
CN105045394A (en) | Method and apparatus for starting preset function in wearable electronic terminal | |
WO2022148477A1 (en) | Wifi-based human body detection method, and smart device | |
CN104360736A (en) | Gesture-based terminal control method and system | |
CN105487809A (en) | Terminal control method and device | |
CN111106985B (en) | Intelligent home control method and system based on 5G network | |
CN105807640A (en) | Terminal control method and terminal control system | |
CN108920055A (en) | touch operation method, device, storage medium and electronic equipment | |
CN110287666A (en) | The method and relevant apparatus of unlocked by fingerprint | |
CN112859628A (en) | Intelligent home control method based on multi-mode brain-computer interface and augmented reality | |
CN113342586B (en) | Big data-based computer external equipment detection system and method | |
CN104184449A (en) | Capacitive touch control apparatus, method, and system | |
CN105068688A (en) | Touchscreen position reporting method and apparatus | |
CN104063041A (en) | Information processing method and electronic equipment | |
CN113484856B (en) | Control method, processor, control device for household appliance and household appliance | |
CN105260065A (en) | Information processing method and apparatus | |
CN111913574B (en) | Method, apparatus, electronic device, and computer-readable medium for controlling device | |
CN104635990A (en) | Method and device for recognition of screen touch action of user | |
CN114860143A (en) | Navigation control method and device, terminal equipment and storage medium | |
CN106909265B (en) | Processing method and device of terminal system cursor event and mouse | |
CN113986700A (en) | Data acquisition frequency optimization method, system, device and storage medium | |
CN114120350A (en) | Gesture recognition method and related equipment thereof | |
CN110806523A (en) | Method and device for detecting key performance |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
TR01 | Transfer of patent right | ||
TR01 | Transfer of patent right |
Effective date of registration: 20230404 Address after: No. 2-10, Jinniu Road, Weicun, Xinbei District, Changzhou City, Jiangsu Province, 213000 Patentee after: CHANGZHOU BELFER MACHINERY CO.,LTD. Address before: 213164 No. 22, Ming Xin Road, Wujin science and Education City, Changzhou, Jiangsu Patentee before: CHANGZHOU College OF INFORMATION TECHNOLOGY |