CN116954394A - Mouse input control circuit and method - Google Patents

Mouse input control circuit and method Download PDF

Info

Publication number
CN116954394A
CN116954394A CN202311207800.6A CN202311207800A CN116954394A CN 116954394 A CN116954394 A CN 116954394A CN 202311207800 A CN202311207800 A CN 202311207800A CN 116954394 A CN116954394 A CN 116954394A
Authority
CN
China
Prior art keywords
input
information
control
mouse
instruction
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.)
Granted
Application number
CN202311207800.6A
Other languages
Chinese (zh)
Other versions
CN116954394B (en
Inventor
李晗
凌连花
王鹤
全永田
温恭发
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Inphic Electronics Shenzhen Co ltd
Original Assignee
Inphic Electronics Shenzhen Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Inphic Electronics Shenzhen Co ltd filed Critical Inphic Electronics Shenzhen Co ltd
Priority to CN202311207800.6A priority Critical patent/CN116954394B/en
Publication of CN116954394A publication Critical patent/CN116954394A/en
Application granted granted Critical
Publication of CN116954394B publication Critical patent/CN116954394B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/033Pointing devices displaced or positioned by the user, e.g. mice, trackballs, pens or joysticks; Accessories therefor
    • G06F3/038Control and interface arrangements therefor, e.g. drivers or device-embedded control circuitry
    • G06F3/0383Signal control means within the pointing device
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/033Pointing devices displaced or positioned by the user, e.g. mice, trackballs, pens or joysticks; Accessories therefor
    • G06F3/0354Pointing devices displaced or positioned by the user, e.g. mice, trackballs, pens or joysticks; Accessories therefor with detection of 2D relative movements between the device, or an operating part thereof, and a plane or surface, e.g. 2D mice, trackballs, pens or pucks
    • G06F3/03543Mice or pucks

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Position Input By Displaying (AREA)

Abstract

The application relates to the technical field of mouse input control, and discloses a mouse input control circuit and a method, wherein the circuit comprises a control chip, a rolling input detection circuit, a non-rolling input detection circuit, an input control circuit and a communication circuit which are connected with the control chip; the control chip is also connected with a second input interface, the rolling input detection circuit is connected with the first input interface and the input control circuit, the non-rolling input detection circuit is connected with the second input interface and the input control circuit, and the mouse output interface is connected with the input control circuit and the communication circuit; the rolling input detection circuit collects first input information of the first input interface, the non-rolling input detection circuit collects second input information of the second input interface, the communication circuit collects control information, the control chip determines an input control instruction according to the first input information, the second input information and the control information, and the input control circuit performs input control on the mouse based on the input control instruction. The application improves the intelligence of mouse input control.

Description

Mouse input control circuit and method
Technical Field
The application relates to the technical field of mouse input control, in particular to a mouse input control circuit and a mouse input control method.
Background
With the development of technology, mice are used more and more frequently in various fields, but the pursuit of accuracy and efficiency of mouse input control is accompanied.
The traditional mouse input control method is to realize the functions of up-and-down sliding, position selection, character selection and the like of a page by performing operations such as scrolling, clicking, moving, long pressing and the like on a mouse, taking up-and-down sliding as an example, a user needs to always scroll a roller to enable files on a screen to slide to a required webpage section, the mouse input control has great defects, the mouse input control function only can realize single control of the page and can not efficiently meet the user requirements, namely the mouse input control can only realize single control of the page and can not efficiently meet the user requirements due to the control function, and the mouse input control has low intelligence.
Disclosure of Invention
The invention mainly aims at providing a mouse input control circuit and a mouse input control method, aiming at solving the technical problem of how to improve the intelligence of optical mouse input control.
In order to achieve the above object, the present invention provides a mouse input control circuit, which includes an input detection circuit, a control chip, an input control circuit and a communication circuit, wherein the input detection circuit includes a rolling input detection circuit and a non-rolling input detection circuit;
The control chip is respectively connected with the input control circuit, the communication circuit, the rolling input detection circuit, the non-rolling input detection circuit and the second input interface, the rolling input detection circuit is connected with the first input interface and the input control circuit, the non-rolling input detection circuit is connected with the second input interface and the input control circuit, and the mouse output interface is respectively connected with the input control circuit and the communication circuit;
the rolling input detection circuit is used for collecting first input information of the first input interface, the non-rolling input detection circuit is used for collecting second input information of the second input interface, the communication circuit is used for collecting control information, the control chip is used for determining an input control instruction according to the first input information, the second input information and the control information, and the input control circuit is used for carrying out input control on the mouse based on the input control instruction.
Optionally, the rolling input detection circuit includes a first sensor and a frequency detection chip, an input end of the first sensor is connected with the first input interface, an output end of the first sensor is connected with an input end of the frequency detection chip and the input control circuit, and an output end of the frequency detection chip is connected with the control chip; the first sensor comprises a current sensor or a voltage sensor, and the first input interface is a mouse wheel input interface;
The first sensor is used for acquiring first sensor information of the mouse wheel input interface, and the frequency detection chip is used for determining first input information according to the first sensor information; wherein the first input information includes a frequency of rotation of the mouse wheel.
Optionally, the non-rolling input detection circuit includes a second sensor, a timer and a third sensor, where the second input interface includes a left mouse button input interface and a right mouse button input interface, the input end of the second sensor is connected with the left mouse button input interface and the right mouse button input interface, the output end of the second sensor is connected with the start end of the timer, the control chip is connected with the output end of the timer, the left mouse button input interface and the right mouse button input interface, the third sensor is connected with the control chip and the input control circuit, and the input control circuit is connected with the left mouse button input interface; the second sensor comprises a current sensor or a voltage sensor, and the third sensor comprises a displacement sensor and is arranged in the mouse;
The second sensor is used for acquiring second sensor information of the left mouse key input interface and the right mouse key input interface, the third sensor is used for acquiring third sensor information of the mouse, and the timer is used for determining second input information based on the second sensor information and the third sensor information; wherein the second input information includes a mouse-down duration.
Optionally, the control chip includes a C51 series singlechip, a first acquisition port, a second acquisition port, a communication start port, an output control port and a sensor acquisition port are set on the singlechip, the first acquisition port is connected with an output end of the frequency detection chip, the second acquisition port is connected with an output end of the timer, the communication start port is connected with a left mouse key input interface and a right mouse key input interface, the communication acquisition port is connected with a communication circuit, the output control port is connected with the input control circuit, and the sensor acquisition port is connected with a third sensor.
Optionally, the input control circuit includes a roller input control circuit and a non-roller input control circuit, the roller input control circuit includes a down-slide signal source, an up-slide signal source, a three-way selector and a processing chip, the processing chip is provided with a selection control port, an opening control port and a slide signal port, the three-way selector includes a first input end, a second input end, a third input end, an output end and a control end, the first input end is connected with the down-slide signal source, the second input end is connected with the up-slide signal source, the third input end is suspended, the output end is connected with the mouse output interface, the control end is connected with the selection control port, the opening control port is connected with the output control port, and the slide signal port is connected with the output end of the first sensor; the sliding signal source is a signal source of a sliding signal of the mouse wheel, and the sliding signal source is a signal source of a sliding signal of the mouse wheel;
The processing chip is used for determining the conduction information of the one-out-of-three selector based on the input control instruction and performing input control on the mouse based on the conduction information.
Optionally, the non-roller input control circuit includes a key control chip, where an instruction receiving port, a signal input port, a sensor port and a key output port are set on the key control chip, the instruction receiving port is connected with the output control port, the sensor port is connected with the third sensor, the signal input port is connected with the left mouse key input interface, and the key output port is connected with the mouse output interface;
the key control chip is used for determining a key instruction based on the input control instruction and the third sensor information and performing input control on the mouse based on the key instruction.
Optionally, the communication circuit includes a memory and a communication line, the communication line connects the mouse output interface, the product host and the control chip, the memory is connected with the communication line and the control chip, the memory is used for collecting input information of the product host, collecting output information of the mouse output interface, sending the input information and the output information as control information to the control chip, and the memory is further used for storing historical output information and historical input information as control information to the control chip.
In addition, in order to achieve the above object, the present invention further provides a mouse input control method, where the mouse input control method is applied to the mouse input control circuit, and the steps of the mouse input control method include:
acquiring input information acquired by an input detection circuit, and determining an input control instruction according to the input information and control information acquired by a communication circuit;
if the input control instruction is a rolling input instruction, determining conduction information in the input control instruction, and performing input control on the mouse based on the conduction information; the scroll input instruction is an instruction for controlling a mouse wheel;
and if the input control instruction is a non-rolling input instruction, determining a key instruction acquired after the input control instruction is executed, and performing input control on the mouse based on the key instruction.
Optionally, the input information includes first input information or second input information, and the step of determining an input control instruction according to the input information and control information collected by the communication circuit includes:
when the input information is the first input information, determining the rolling frequency information in the first input information, and detecting whether the rolling frequency in the rolling frequency information is larger than a preset rolling frequency threshold value;
If the rolling frequency in the rolling frequency information is larger than a preset rolling frequency threshold value, generating an input control instruction based on the rolling frequency threshold value and the rolling direction in the rolling frequency information;
when the input information is the second input information, determining timing information and movement information in the second input information;
if the timing value of the timing information is larger than a preset timing threshold value and the movement value of the movement information is larger than a preset movement threshold value, determining historical control information in control information acquired by a communication circuit;
determining next movement information at the next moment, determining movement weight corresponding to the next movement information, and determining control weight in the history control information;
and determining a target execution instruction in a preset execution instruction table based on the movement weight and the control weight, and taking the target execution instruction as an input control instruction.
Optionally, after the step of performing input control on the mouse based on the conduction information, the method includes:
the input control circuit controls the conduction information to be first conduction information if receiving a reverse scrolling instruction opposite to the scrolling direction; wherein the first conduction information is in a line disconnection state;
The step of performing input control on the mouse based on the key instruction comprises the following steps:
when the input control instruction is a copy control instruction, determining that the key instruction is matched with a preset first key instruction, and then executing the step of acquiring the input information acquired by the input detection circuit; the preset first key instruction refers to an instruction of a replicable area key;
when the input control instruction is a mark control instruction, determining that the key instruction is matched with a preset second key instruction, and then executing the step of acquiring the input information acquired by the input detection circuit; the preset second key instruction is an instruction of selecting a key in a specific area of the marking information;
when the input control instruction is a labeling control instruction, determining that the key instruction is matched with a preset third key instruction, and then executing the step of acquiring the input information acquired by the input detection circuit; the preset third key instruction refers to an instruction for selecting a key of the labeling area.
The invention provides a mouse input control circuit, which comprises an input detection circuit, a control chip, an input control circuit and a communication circuit, wherein the input detection circuit comprises a rolling input detection circuit and a non-rolling input detection circuit; the control chip is respectively connected with the input control circuit, the communication circuit, the rolling input detection circuit, the non-rolling input detection circuit and the second input interface, the rolling input detection circuit is connected with the first input interface and the input control circuit, the non-rolling input detection circuit is connected with the second input interface and the input control circuit, and the mouse output interface is respectively connected with the input control circuit and the communication circuit; the rolling input detection circuit is used for collecting first input information of the first input interface, the non-rolling input detection circuit is used for collecting second input information of the second input interface, the communication circuit is used for collecting control information, the control chip is used for determining an input control instruction according to the first input information, the second input information and the control information, and the input control circuit is used for carrying out input control on the mouse based on the input control instruction. The first input information of the first input interface and the second input information of the second input interface are acquired through the rolling input detection circuit and the non-rolling input detection circuit, meanwhile, the control information is acquired through the communication circuit, and then the input control instruction can be determined in the control chip based on the first input information, the second input information and the control information, and input control is carried out on the mouse based on the input control instruction through the input control circuit. Therefore, the phenomenon that the mouse input control function can only realize single control of pages and can not efficiently meet the demands of users in the prior art is avoided, the mouse input control circuit can not only pertinently control the input of the mouse through the rolling input detection circuit and the non-rolling input detection circuit, and further ensure the specificity of different input controls, but also determine the input control instruction in the control chip through different first input information, second input information and control information, and further control the mouse, and the mouse is not directly input without processing, so that the intelligence of the mouse input control can be improved.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings that are required in the embodiments or the description of the prior art will be briefly described, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and other drawings may be obtained according to the structures shown in these drawings without inventive effort for a person skilled in the art.
FIG. 1 is a schematic diagram of a mouse input control circuit according to the present invention;
FIG. 2 is a schematic diagram of a circuit connection of the mouse input control circuit of the present invention;
FIG. 3 is a schematic diagram of another circuit connection of the mouse input control circuit of the present invention;
FIG. 4 is a flowchart of a first embodiment of a mouse input control method according to the present invention;
FIG. 5 is a schematic diagram of a mouse input control method according to the present invention;
fig. 6 is a schematic diagram of another scenario of the mouse input control method of the present invention.
Reference numerals illustrate:
the achievement of the objects, functional features and advantages of the present invention will be further described with reference to the accompanying drawings, in conjunction with the embodiments.
Detailed Description
The following description of the embodiments of the present invention will be made clearly and fully with reference to the accompanying drawings, in which it is evident that the embodiments described are only some, but not all embodiments of the invention. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
It should be noted that, if directional indications (such as up, down, left, right, front, and rear … …) are included in the embodiments of the present invention, the directional indications are merely used to explain the relative positional relationship, movement conditions, etc. between the components in a specific posture (as shown in the drawings), and if the specific posture is changed, the directional indications are correspondingly changed.
In addition, if there is a description of "first", "second", etc. in the embodiments of the present invention, the description of "first", "second", etc. is for descriptive purposes only and is not to be construed as indicating or implying a relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defining "a first" or "a second" may explicitly or implicitly include at least one such feature. In addition, the technical solutions of the embodiments may be combined with each other, but it is necessary to base that the technical solutions can be realized by those skilled in the art, and when the technical solutions are contradictory or cannot be realized, the combination of the technical solutions should be considered to be absent and not within the scope of protection claimed in the present invention.
For clarity and conciseness in the description of the following embodiments, a brief description of a mouse input control circuit is first provided:
The conventional mouse input control method only has functions of selection, copying, marking and the like and a sliding function of a roller, but does not systematically process the mouse input control method, for example, when a document is slid up and down, if more temperatures of one page need to be slid to the last page, only the pulley can be slid all the time so as to slide the page to the lowest position. Secondly, aiming at the functions of selection, copying, marking and the like, a user needs to move the mouse after selecting to select subsequent operations, such as pressing a paste key or selecting a mark color and a mark frame when moving to a specific position, so that the user experience is poor, if the user needs to copy characters at different positions for many times, the user needs to perform operations for many times on the mouse and the keyboard, the intelligence of the mouse is not high, and the phenomenon that the copy paste key of a computer is aged for a long time may also exist. Based on the problems, the technical scheme of the application is provided to improve the intelligence of the existing mouse input control mode.
The scheme provides a mouse input control circuit which comprises an input detection circuit, a control chip, an input control circuit and a communication circuit, wherein the input detection circuit comprises a rolling input detection circuit and a non-rolling input detection circuit; the control chip is respectively connected with the input control circuit, the communication circuit, the rolling input detection circuit, the non-rolling input detection circuit and the second input interface, the rolling input detection circuit is connected with the first input interface and the input control circuit, the non-rolling input detection circuit is connected with the second input interface and the input control circuit, and the mouse output interface is respectively connected with the input control circuit and the communication circuit; the rolling input detection circuit is used for collecting first input information of the first input interface, the non-rolling input detection circuit is used for collecting second input information of the second input interface, the communication circuit is used for collecting control information, the control chip is used for determining an input control instruction according to the first input information, the second input information and the control information, and the input control circuit is used for carrying out input control on the mouse based on the input control instruction. The first input information of the first input interface and the second input information of the second input interface are acquired through the rolling input detection circuit and the non-rolling input detection circuit, meanwhile, the control information is acquired through the communication circuit, and then the input control instruction can be determined in the control chip based on the first input information, the second input information and the control information, and input control is carried out on the mouse based on the input control instruction through the input control circuit. Therefore, the phenomenon that the mouse input control function can only realize single control of pages and can not efficiently meet the demands of users in the prior art is avoided, the mouse input control circuit can not only pertinently control the input of the mouse through the rolling input detection circuit and the non-rolling input detection circuit, and further ensure the specificity of different input controls, but also determine the input control instruction in the control chip through different first input information, second input information and control information, and further control the mouse, and the mouse is not directly input without processing, so that the intelligence of the mouse input control can be improved.
The invention provides a mouse input control circuit.
In an embodiment of the present invention, as shown in fig. 1, fig. 1 is a schematic structural diagram of a mouse input control circuit, where the mouse input control circuit includes an input detection circuit 20, a control chip 10, an input control circuit 30, and a communication circuit 40, and the input detection circuit 20 includes a rolling input detection circuit 21 and a non-rolling input detection circuit 22;
the control chip 10 is respectively connected with the input control circuit 30, the communication circuit 40, the rolling input detection circuit 21, the non-rolling input detection circuit 22 and the second input interface 220, the rolling input detection circuit 21 is connected with the first input interface 210 and the input control circuit 30, the non-rolling input detection circuit 22 is connected with the second input interface 220 and the input control circuit 30, and the mouse output interface 300 is respectively connected with the input control circuit 30 and the communication circuit 40;
the scroll input detection circuit 21 is configured to collect first input information of the first input interface 210, the non-scroll input detection circuit 22 is configured to collect second input information of the second input interface 220, the communication circuit 40 is configured to collect control information, the control chip 10 is configured to determine an input control instruction according to the first input information, the second input information and the control information, and the input control circuit 30 is configured to perform input control on the mouse based on the input control instruction.
In this embodiment, the above mouse input control circuit is disposed in the mouse, that is, two input lines are separated into the mouse at this time, one is the original input line, and the other is the above mouse input control circuit. The two lines are connected together through a selection switch, and when the mouse input control circuit judges that input control is needed, the control chip 10 in the circuit of the embodiment controls the selection switch to conduct the mouse input control circuit for input control; when the above mouse input control circuit determines that input control is not needed, the control chip 10 in the circuit of this embodiment controls the selection switch to conduct the original input line for input, and the selection switch may be set in the input control circuit of the mouse input control circuit for input or output of the input control circuit 30. The selection switch can be a two-way selection switch or a common transistor or triode. And further, the selection of the mouse input and the intelligent control of the mouse input by the above mouse input control circuit can be realized.
When the mouse input control circuit controls the mouse input, whether the input needs to be controlled or not is detected, and the input is only needed to be directly input. The scroll input detection circuit 21 is connected to the first input interface 210 to collect first input information, or the non-scroll input detection circuit 22 is connected to the second input interface 220 to collect second input information, so as to determine whether input control is required or not according to the first input information or the second input information, for example, if the first input information or the second input information meets a certain condition, the input control is performed. The first input information refers to information related to the input of the roller, such as up-down sliding and frequency of the roller, and the second input information refers to the pressing duration of left and right buttons of the mouse and other information. It should be noted that, when the first input information is determined, the first input information may be directly used to determine whether input control is needed, and when the second input information is determined, the second input information and the control information collected by the communication circuit 40 are needed to perform combined determination, because the key has many operations, and further, the actual information, such as the selected text and the history operation, needs to be combined to perform coordinated determination. The control information refers to information such as related characters, documents, pictures and the like selected by keys in the product, and can also comprise recent historical operation information, so that whether input control is needed or not is judged based on the information. Finally, the input control instruction can be determined based on the first input information, the second input information and the control information, and the first input information and the second input information are not simultaneously present, namely, the mouse button and the scroll are not simultaneously operated, so that the whole instruction determination process actually determines the input control instruction for the first input information or determines the input control instruction for the second input information and the control information. The input control command refers to determining a control command corresponding to the control input control circuit 30 based on the first input information or the second input information and the control information, and finally, the input control command can be used for performing input control on the mouse, thereby completing the whole input control flow. The input of the mouse can be controlled pertinently through the rolling input detection circuit and the non-rolling input detection circuit, so that the specificity of different input controls is guaranteed, the input control instruction is determined in the control chip through different first input information, second input information and control information, the mouse is controlled, the input is not directly processed, and the intelligence of the input control of the mouse can be improved.
For example, referring to fig. 6, fig. 6 is a schematic diagram of another scenario of the mouse input control method, it can be seen that when the mouse input needs to be controlled, there may be corresponding input detection and input control circuits for controlling the input components of the mouse 500, i.e., the left button 510, the right button 520 and the scroll wheel 530, to perform input control, instead of directly inputting the left button 510, the right button 520 and the scroll wheel 530. When it is determined that the mouse 500 is not required to be controlled, if the scroll frequency is small (the user performs fine adjustment on the page), the mouse 500 is not required to be controlled when the user clicks the key, and then the dotted line in the figure can be selected to directly output the mouse output interface 300. And furthermore, the control of different conditions is realized, and meanwhile, the function of the mouse is expanded by using a low-cost circuit while the function of the mouse is ensured, and on the other hand, the whole control ensures the intelligence of the input of the mouse and improves the use experience of a user.
Further, in still another embodiment of the mouse input control circuit of the present application, referring to fig. 2, fig. 2 is a schematic circuit connection diagram of the mouse input control circuit, the rolling input detection circuit 21 includes a first sensor 21A and a frequency detection chip 21B, an input end of the first sensor 21A is connected to the first input interface 210, an output end of the first sensor 21A is connected to an input end of the frequency detection chip 21B and the input control circuit 30, and an output end of the frequency detection chip 21B is connected to the control chip 10; wherein the first sensor 21A includes a current sensor or a voltage sensor, and the first input interface 210 is a mouse wheel input interface 211;
The first sensor 21A is configured to collect first sensor information of the mouse wheel input interface 211, and the frequency detection chip 21B is configured to determine first input information according to the first sensor information; wherein the first input information includes a frequency of rotation of the mouse wheel.
Specifically, the non-rolling input detection circuit 22 includes a second sensor 22A, a timer 22B, and a third sensor 22C, where the second input interface 220 includes a left mouse button input interface 221 and a right mouse button input interface 222, input ends of the second sensor 22A are respectively connected to the left mouse button input interface 221 and the right mouse button input interface 222, output ends of the second sensor 22A are connected to a start end of the timer 22B, the control chip 10 is respectively connected to an output end of the timer 22B, the left mouse button input interface 221, and the right mouse button input interface 222, and the third sensor 22C is connected to the control chip 10 and the input control circuit 30, and the input control circuit 30 is connected to the left mouse button input interface 221; wherein the second sensor 22A comprises a current sensor or a voltage sensor, and the third sensor 22C comprises a displacement sensor and is disposed within the mouse;
The second sensor 22A is configured to acquire second sensor information of the left mouse button input interface 221 and the right mouse button input interface 222, the third sensor 22C is configured to acquire third sensor information of the mouse, and the timer 22B is configured to determine second input information based on the second sensor information and the third sensor information; wherein the second input information includes a mouse-down duration.
Specifically, the control chip 10 includes a C51 series single-chip microcomputer, on which a first acquisition port 11, a second acquisition port 12, a communication acquisition port 16, a communication start port 13, an output control port 15 and a sensor acquisition port 14 are disposed, the first acquisition port 11 is connected with an output end of the frequency detection chip 21B, the second acquisition port 12 is connected with an output end of the timer 22B, the communication start port 13 is connected with a left mouse button input interface 221 and a right mouse button input interface 222, the communication acquisition port 16 is connected with the communication circuit 40, the output control port 15 is connected with the input control circuit 30, and the sensor acquisition port 14 is connected with the third sensor 22C.
In the present embodiment, the scroll input detection circuit 21 includes a first sensor 21A and a frequency detection chip 21B, and is mainly used to detect the frequency of the scroll wheel of the mouse wheel input interface 211. If the rolling of the roller wheel generates the level, the rolling frequency of the roller wheel can be determined according to the frequency generated by the level, and then the user requirement can be known. The first sensor 21A includes a current sensor or a voltage sensor or a position sensor that directly performs position acquisition of the roller position or a rotation speed sensor that performs rotation speed acquisition. The frequency detection chip 21B is used for determining first input information based on first sensor information acquired by a sensor, wherein the first sensor information refers to information such as current, voltage frequency change, position change, rotation speed and the like acquired by the sensor, different information is acquired according to different sensors, the first input information refers to rotation frequency and rolling direction of the mouse wheel determined by the information such as current, voltage frequency change, position change, rotation speed and the like, and if the rotation frequency of the mouse wheel, the magnitude of the current and voltage change or the positive and negative of the rotation frequency of the mouse wheel are determined according to the current and voltage frequency change, the rotation direction of the mouse wheel is determined, and further whether input control of the mouse wheel is needed or not can be detected based on the rolling input detection circuit 21, and accuracy and intelligence of the input control of the mouse wheel can be improved.
The non-scroll input detection circuit 22 includes a second sensor 22A, a timer 22B, and a third sensor 22C, and is mainly used for detecting the pressing time periods of the left mouse button input interface 221 and the right mouse button input interface 222, and determining whether input control is required. The second sensor 22A is used for collecting second sensor information of the left mouse button input interface 221 and the right mouse button input interface 222, wherein the second sensor information is the level generated by pressing the left mouse button input interface 221 or the right mouse button input interface 222, and meanwhile, the third sensor information of the mouse is collected through the third sensor 22C, and the third sensor information is related information of movement of the mouse. And further triggering the timer 22B to start timing based on the third sensor information and the second sensor information to obtain second input information, wherein the second input information at least comprises a mouse-down duration and a moving position. The second sensor 22A may be a current sensor or a voltage sensor or a position sensor for directly collecting the position of the key, and the third sensor 22C is a high-precision displacement sensor, so that the mouse displacement can be accurately known. Further, it is possible to determine whether or not input control is necessary or input is performed directly. The accuracy and the intelligence of the input control of the mouse buttons can be improved. Referring to fig. 2, a plurality of control ports, such as a first acquisition port 11, a second acquisition port 12, a communication acquisition port 16, a communication start port 13, an output control port 15, and a sensor acquisition port 14, may be provided on the control chip 10, or more control ports may be provided. The control chip 10 may be a C51 series single chip microcomputer or a micro control chip, and an input/output port on the chip is used as a control port, and other bypass circuits necessary for the chip are not described herein, such as a power supply circuit, a reset circuit, and the like. The control can be completed through the detection circuit and the control circuit by inputting the corresponding control program into the control chip 10, namely, the second input information and the control information or the first input information are transmitted back to the control chip 10, and then the judgment processing is performed on the control chip 10 to obtain the input control instruction. And further, the mouse input control can be realized, and the intelligence of the mouse input control is ensured.
Further, in still another embodiment of the mouse input control circuit of the present application, referring to fig. 3, fig. 3 is a schematic circuit connection diagram of the mouse input control circuit, where the input control circuit 30 includes a roller input control circuit and a non-roller input control circuit, the roller input control circuit includes a down-slide signal source 311, an up-slide signal source 312, a three-way selector 313 and a processing chip 314, the processing chip 314 is provided with a selection control port 31G, an opening control port 31H and a slide signal port 31I, the three-way selector 313 includes a first input end 31A, a second input end 31B, a third input end 31C, an output end 31D and a control end 31F, the first input end 31A is connected to the down-slide signal source 311, the second input end 31B is connected to the up-slide signal source 312, the third input end 31C is suspended, the output end 31D is connected to the mouse output interface 300, the control end 31F is connected to the selection control port 31G, the opening control port 31H is connected to the mouse output port 21 and the output port 31I is connected to the sensor output port 21; the sliding signal source 311 is a signal source of a sliding signal of a mouse wheel, and the sliding signal source 312 is a signal source of a sliding signal of a mouse wheel;
The processing chip 314 is configured to determine on information of the one-out-of-three selector 313 based on the input control instruction, and perform input control on the mouse based on the on information.
Specifically, the non-roller input control circuit includes a key control chip 321, where an instruction receiving port 32A, a signal input port 32B, a sensor port 32C, and a key output port 32D are disposed on the key control chip 321, the instruction receiving port 32A is connected to the output control port 15, the sensor port 32C is connected to the third sensor 22C, the signal input port 32B is connected to the left mouse key input interface 221, and the key output port 32D is connected to the mouse output interface 300;
the key control chip 321 is configured to determine a key command based on the input control command and the third sensor information, and perform input control on the mouse based on the key command.
In the present embodiment, after the input control instruction is determined, the input control instruction is executed at the input control circuit 30 to control the mouse input. In the roller input control circuit, the roller input control circuit comprises a down-slide signal source 311, an up-slide signal source 312, a three-in-one selector 313 and a processing chip 314, and is further connected to the down-slide signal source 311 and the up-slide signal source 312 through the control chip 10 respectively, so that the control of the down-slide signal source 311 and the up-slide signal source 312 can be realized, and the control principle is that control signals with different frequencies are output, so that a user does not need to scroll a page for a long time. The three-out selector 313 is used for selecting the sliding signal source 311 or the sliding signal source 312 or not to operate, the processing chip controls the three-out selector 313 to be conducted based on the input control instruction, meanwhile, the sliding signal port 31I and the output end of the first sensor 21A can stop continuing to control when receiving signals different from the first sensor 21A, the same signals or other key signals can be used as termination instructions of the whole control flow, such as the page sliding down at a uniform speed, at this time, a user does not need a sliding roller (can continue sliding down), when the user key and the reverse sliding roller are detected, the user is determined to slide down to a position required by the user, the input control is stopped, the whole flow is ended, and then the conducting information is suspended, so that the input control can be stopped. The conduction information is to control the conduction state of the output end and the input end of the one-out-of-three selector 313, so that intelligent input control of the roller can be realized, and the intelligence and the accuracy of the input control of the roller are ensured.
The non-scroll wheel input control circuit includes a key control chip 321, where the key control chip 321 is used to detect the key control process through different ports, such as how to determine a pasting place when the user copies, such as how to quickly label when the user labels. It should be noted that each chip containing a port may be integrated into one chip or may be separately controlled. Since the non-scroll input detection circuit 22 is provided with the third sensor 22C, a key command, that is, a command for controlling a key at this time based on movement of the third sensor information after the input information is controlled, can be determined based on the input control command and the third sensor information, wherein the key command is a command for realizing control by a key during the mouse input control, that is, a key state in which the entire flow of the key control is terminated. And further, intelligent input control of the keys can be realized, and the intelligence and the accuracy of the key input control are ensured.
Further, in still another embodiment of the mouse input control circuit of the present application, referring to fig. 5, fig. 5 is a schematic diagram of a scenario of a mouse input control method, the communication circuit 40 includes a memory 42 and a communication line 41, the communication line 41 connects the mouse output interface 300, the product host 400 and the control chip 10, the memory 42 is connected to the communication line 41 and the control chip 10, the memory 42 is used for collecting input information of the product host 400, collecting output information of the mouse output interface 300, and sending the input information and the output information as control information to the control chip 10, and the memory 42 is further used for storing history output information and history input information as control information to the control chip 10.
In this embodiment, the whole mouse input control process is controlled based not only on the detected information but also on various information related to the passage and history of the product host 400. The communication line 41 connects the mouse output interface 300, the product host 400 and the control chip 10, so that the control chip 10 can determine and control based on the input information of the product host 400, the output information of the mouse output interface 300, the history output information and the history input information as control information. The input information refers to information which is already input on the product, such as the number of selected characters, the document page opening and the like, the output information refers to information which is currently input through a mouse, the history output information refers to information which is input on the product through the mouse for the last time, such as information of selected labels, copying and the like, and the history input information refers to information which is already input on the product for the last time. The main function of the memory 42 is to store the last several times of history data, such as the history output information and the history input information, so as to ensure the accuracy of the judgment. The basis can be provided for the whole control judgment through the collection and storage of the control information, and the accuracy of the whole input control is ensured.
Further, referring to fig. 4, a flowchart of a first embodiment of the mouse input control method according to the present invention is provided based on an embodiment of the mouse input control circuit, where the steps of the mouse input control method include:
step S10, input information acquired by an input detection circuit is acquired, and an input control instruction is determined according to the input information and control information acquired by a communication circuit;
in this embodiment, when the mouse input is controlled, the input control instruction may be determined according to the input information and the control information collected by the communication circuit by obtaining the input information collected by the input detection circuit. The input information at least comprises first input information of the rotation frequency and the direction of the mouse wheel and second input information of at least the pressing time and the position movement of the mouse, the control information at least comprises input information of a product host, history input information and output information and history output information output by the mouse through a mouse output interface, the input information of the product host at least comprises the information of selecting the number of characters, opening a document page and the like, the output information output by the mouse output interface at least comprises the information of the rolling frequency, the direction, the pressing time, the movement position and the like, the input control instruction is an instruction for controlling the output control of the mouse by the control input control circuit, the mouse input can be controlled based on the instruction, and the intelligence of the mouse input control is ensured.
Step S20, if the input control instruction is a scrolling input instruction, determining conduction information in the input control instruction, and performing input control on the mouse based on the conduction information; the scroll input instruction is an instruction for controlling a mouse wheel;
in the present embodiment, after determining the input control instruction, two kinds of control are separated, one is the input control to the mouse wheel. When the input control command is a scroll input command, the scroll input command is a command for controlling a mouse wheel, and then conduction information in the input control command is determined and input control is performed on the mouse based on the conduction information. The conduction information refers to that one of the three selectors is conducted so as to realize the input control of the mouse by the downslide signal source or the upslide signal source without continuously sliding the roller. It is worth to say that at this time, control information can be collected while the roller is input and controlled, and then the input control information can be finely adjusted based on page information, such as page number, at this moment in the control information, especially when the roller is slid after the key is pressed, the roller can be directly slid down automatically according to the frequency of the sliding of the user, and the efficiency and the user experience of the sliding are greatly improved. The mouse is input and controlled based on the conduction information and the current control information, wherein the current control information refers to the page information of the currently collected product host, for example, different output frequencies of a downslide signal source or an upslide signal source are selected for different residual pages, so that the sliding control of front speed, rear speed and speed can be realized, and the control is only applicable to the situation that the rolling frequency is far greater than a threshold value. And further realizing intelligent control of the roller.
And step S30, if the input control instruction is a non-rolling input instruction, determining a key instruction acquired after the input control instruction is executed, and performing input control on the mouse based on the key instruction.
In the present embodiment, the other is the input control of the key, and when the input control command is a non-scroll input command, the key command in the input control command is determined. The key instruction is an instruction for pressing a key state, and input control can be performed on the mouse based on the key instruction. The key command can be collected by the control chip and then sent to the corresponding control input circuit, or the corresponding control input circuit can be directly collected by itself, and the corresponding control input circuit is a non-roller input control circuit. That is, after determining the input control command to be executed, whether a key is pressed is detected, and the case condition of the input control command is satisfied, the input control is performed on the mouse. And further realizing intelligent control of the keys.
Further, a second embodiment of the present invention is a method for controlling mouse input based on the above embodiment of the method for controlling mouse input, where the input information includes a first input information or a second input information, and the step of determining an input control command according to the input information and control information collected by the communication circuit includes:
Step a, when the input information is the first input information, determining the rolling frequency information in the first input information, and detecting whether the rolling frequency in the rolling frequency information is larger than a preset rolling frequency threshold value;
step b, if the rolling frequency in the rolling frequency information is larger than a preset rolling frequency threshold value, generating an input control instruction based on the rolling frequency threshold value and the rolling direction in the rolling frequency information;
in this embodiment, when the input information is the first input information, it is possible to determine the scroll frequency information in the first input information, and further detect whether the scroll frequency in the scroll frequency information is greater than a preset scroll frequency threshold. When the scrolling frequency in the scrolling frequency information is not greater than the preset scrolling frequency threshold, the original input circuit of the mouse is selected for input, that is, the mouse is not required to be controlled by the mouse input control circuit in the embodiment, and the scroll wheel can be directly and transiently scrolled if a user moves a half page distance. When the scroll frequency in the scroll frequency information is greater than a preset scroll frequency threshold, an input control instruction is generated based on the scroll frequency threshold and the scroll direction in the scroll frequency information. The rolling frequency information refers to rolling related information of the received roller, at least can comprise a rolling direction and a frequency, the rolling frequency refers to a rolling speed, namely frequency, the rolling direction refers to a rolling direction, namely up-and-down sliding, and the rolling frequency threshold refers to a preset value of the rolling frequency of a user. The control limitation is carried out on the scrolling frequency information, for example, the direction and the frequency are at least within a preset time length, the preset time length is a time length defined by a user, for example, 5S, the scrolling direction is required to be limited to be consistent within the preset time length, and the judgment operation is carried out. The preset time length can ensure that the user needs to be accurately determined, and the situations that the user slides in a short distance and the user slides up and down to find the document content are not mistakenly regarded as situations that the circuit of the application needs to control. At this time, the rolling frequency threshold value can be processed in stages, for example, the rolling frequency threshold value is divided into three stage threshold values, and when the rolling frequency threshold value is larger than the minimum threshold value, the roller input control circuit controls the signal source to output a signal with the frequency equal to the minimum threshold value for output control; when the number of the left pages is larger than the middle threshold, control information needs to be acquired, the whole control flow is divided into two stages based on the control information, and the whole sliding is divided into two parts based on the number of the left pages in the control information. For the first half of the number of the remaining pages, the roller input control circuit controls the signal source to output a signal with the frequency equal to the middle threshold value for output control, and for the second half of the number of the remaining pages, the roller input control circuit controls the signal source to output a signal with the frequency equal to the minimum threshold value for output control; when the number of the left pages is larger than the maximum threshold, control information needs to be acquired, the whole control flow is divided into two stages based on the control information, and the whole sliding is divided into two parts based on the number of the left pages in the control information. For the first half of the number of the remaining pages, the roller input control circuit controls the signal source to output a signal with the frequency equal to the maximum threshold value for output control, and for the second half of the number of the remaining pages, the roller input control circuit controls the signal source to output a signal with the frequency equal to the minimum threshold value for output control. The control detail process can also be controlled according to actual conditions, and further the page can be controlled according to different needs of users. The rolling frequency threshold is used for determining the frequency value of the signal source to be output, the rolling direction is used for determining the signal source to be selected, the intelligence of the roller input control can be guaranteed based on the control, and meanwhile different frequencies are selected to work according to the user needs, so that the user experience is greatly improved.
C, determining timing information and movement information in the second input information when the input information is the second input information;
step d, if the timing value of the timing information is larger than a preset timing threshold value and the movement value of the movement information is larger than a preset movement threshold value, determining historical control information in control information acquired by a communication circuit;
in this embodiment, when the input information is the second input information, timing information and movement information in the second input information are determined, and only when the timing value of the timing information is greater than a preset timing threshold and the movement value of the movement information is greater than a preset movement threshold, the subsequent judgment operation is continuously executed, so that accuracy of key judgment and control instruction selection can be ensured. Namely, the historical control information in the control information collected by the communication circuit is determined. The timing information refers to the duration of key pressing, the movement information refers to the movement condition of a mouse, the timing threshold value is the minimum duration of timing defined by a user, the movement threshold value is the shortest distance of movement defined by the user, the history control information refers to information input by the mouse collected in a history mode and information input by other input devices on a product host, such as text copying, document opening, pages and the like. When one of the timing information and the movement information does not meet the requirement, if the button is pressed singly or the mouse is directly moved, the subsequent judgment is not carried out, and the control of the input of the mouse by the circuit of the application is not needed at this time, so that the accuracy of the control by using the circuit of the application is convenient. At this time, the actual output information on the product corresponding to the second input information of the mouse can be collected, when the actual output information is in a preset selected state, the judging operation is continuously executed, so that the control information is that the mouse selects a section of text or a picture at this time, and the step of determining the history control information in the control information collected by the communication circuit can be continuously executed. The preset selected state refers to a state of selecting a text or an image. The mouse button is in a state of selecting a section of text or picture, so that it can be determined that the control is required to be performed through the mouse input control circuit at the moment, and information is not directly input.
Step e, determining next movement information at the next moment, determining movement weight corresponding to the next movement information, and determining control weight in the history control information;
and f, determining a target execution instruction in a preset execution instruction table based on the movement weight and the control weight, and taking the target execution instruction as an input control instruction.
In this embodiment, when determining that the control command is input, since the next movement information at the next moment is acquired when determining that the mouse button is in a state of selecting a text or a picture, the whole mouse movement may be predicted by the third sensor at the selected position (the selected position is known in the control information), and then the movement weight corresponding to the next movement information is determined, and the control weight in the history control information is determined at the same time. And finally, determining a target execution instruction corresponding to the movement weight and the control weight in a preset execution instruction table, and taking the target execution instruction as an input control instruction. The next movement information refers to the movement condition of the mouse at the next moment after the mouse button is in the state of selecting a section of text or picture, the movement weight refers to the movement weight of the movement duty ratio, here, the case of copying, marking and labeling is taken as an example, the next movement information is matched with the copying movement information, wherein the copying movement information is moved left and right or moved to the position of the exit document, the movement weight corresponding to the next movement information is determined to be the copying weight, namely, the control instruction determined according to the movement is determined to be the copying control instruction, the next movement information is matched with the non-copying movement information, the non-copying movement information is moved to the labeling position, namely, the upper part of the document, at the moment, the movement weight corresponding to the next movement information is determined to be the non-copying weight, namely, the control instruction determined according to the movement determination is determined to be the non-copying control instruction, at the moment, the weight relation of one of the movement is determined, the control weight corresponding to the copying and non-copying weight is determined according to the control information stored in the history control information, namely, the ratio of comparison and non-copying operations is taken as the control weight. At this time, only the operations of copying, labeling and marking are recorded in the memory, so that the control weight can be determined, and then the target execution instruction can be determined in the preset execution instruction table according to the weight and the value of the control weight, wherein the target execution instruction is an instruction for controlling the input control, therefore, when the weight determination mode is only used for directly executing the copied input operation when the moving weight is determined to be the copy weight and the copy weight in the control weight is highest, otherwise, the real-time control needs to be performed through the input control instruction. Through the determination of the requirement, the input can be accurately controlled, and the accuracy and the intelligence of the input control are ensured.
Further, after the step of performing input control on the mouse based on the conduction information, the method includes:
step S21, if the input control circuit receives a reverse scrolling instruction with the scrolling direction opposite to the scrolling direction, the input control circuit controls the conduction information to be first conduction information; wherein the first conduction information is in a line disconnection state;
in this embodiment, after the step of performing input control on the mouse based on the on information, that is, directly and automatically sliding the page without the user scrolling, the whole automatic process needs to be terminated. At this time, control is performed in the input control circuit, and when the input control circuit receives a reverse rolling instruction with a reverse rolling direction, the input control circuit controls the conduction information to be first conduction information, wherein the first conduction information is in a line disconnection state, the reverse rolling instruction means that the roller rolls reversely, and the current is visually reflected in a direction different from or opposite to the current collected before. It should be noted that other termination operations may be performed at this time, such as detecting random input information, such as pressing a left or right key, abrupt acceleration, or abrupt deceleration. And the whole control flow of the roller input control can be realized, the intelligence and the functionality of the roller input control are improved, and the user experience is improved.
The step of performing input control on the mouse based on the key instruction comprises the following steps:
step S31, when the input control instruction is a copy control instruction, determining that the key instruction is matched with a preset first key instruction, and then executing the step of acquiring the input information acquired by the input detection circuit; the preset first key instruction refers to an instruction of a replicable area key;
step S32, when the input control instruction is a mark control instruction, the step of acquiring the input information acquired by the input detection circuit is executed after the key instruction is determined to be matched with a preset second key instruction; the preset second key instruction is an instruction of selecting a key in a specific area of the marking information;
step S33, when the input control instruction is a labeling control instruction, determining that the key instruction is matched with a preset third key instruction, and then executing the step of acquiring the input information acquired by the input detection circuit; the preset third key instruction refers to an instruction for selecting a key of the labeling area.
In this embodiment, when the input control instruction is a copy control instruction, the step of acquiring the input information acquired by the input detection circuit is performed after the key instruction is determined to be matched with the preset first key instruction; the preset first key instruction refers to an instruction of the replicable region key. That is, after determining that the input control command is a copy control command, the user copies the selected content in the copy-enabled area after pressing a button in the area, and the copy control command is a command for controlling the copy by the mouse. When the input detection command is not accurately determined to be the copy control command, the detection operation is executed, if the mouse reaches the first specific area of the document, the detection operation is determined to be the mark control command, and after the key command is determined to be matched with the preset second key command, the step of acquiring the input information acquired by the input detection circuit is executed; the preset second key instruction is an instruction of selecting a key in a specific area of the marking information, namely an instruction of marking the document, the first specific area is a blank position beside the document, and at the moment, the document can also be directly marked based on the control weight, if the history input control is performed for 6 times, wherein the last 5 times are all marked, a marking instruction is directly generated to mark the selected content, and the marking instruction is an instruction of marking the content. If the mouse reaches the second specific area of the document, determining that the control command is marked, and executing the step of acquiring the input information acquired by the input detection circuit after determining that the key command is matched with a preset third key command; the preset third key instruction is an instruction of selecting a key of a specific area of the labeling information, namely an instruction of labeling the document, the second specific area is a click of a selected position of the document, and the document can be directly labeled based on the control weight at the moment, if the history input control is performed for 6 times, wherein the last 5 times are all labeling, the labeling instruction is directly generated to label the selected content, the labeling instruction is an instruction of labeling the content, and the labeling/labeling control instruction is an instruction of controlling labeling/labeling. In this case, the selection input control may be performed through other positions, for example, clicking the selection position after the selection is performed to determine different instructions, and then performing control based on the different instructions. If the random position in front of the selected text is marked after the selected text is selected, the random position behind the selected text is marked. Furthermore, the selection of input control can be realized, simple control input can be completed through the mouse, and the intelligence of the mouse input control can be greatly improved.
The invention also provides a mouse.
The mouse of the present invention comprises: the computer-readable storage medium comprises a memory, a processor and a mouse input control program stored in the memory and capable of running on the processor, wherein the mouse input control program realizes the steps of the mouse input control method when being executed by the processor.
The invention also provides a storage medium.
The storage medium of the present invention may be a computer-readable storage medium, on which a mouse input control program is stored, which when executed by a processor implements the steps of the mouse input control method as described above.
The method implemented when the mouse input control program running on the processor is executed may refer to various embodiments of the mouse input control method of the present invention, which are not described herein again.
The invention also provides a mouse.
The mouse is used for loading a mouse input control circuit, and the mouse input control interface at least comprises a built-in circuit board and a mouse shell, wherein the built-in circuit board is provided with the mouse input control circuit, and the built-in circuit board is packaged in the mouse shell.
In one embodiment of the present invention, a mouse housing is provided as a means for packaging and fixing an internal circuit board and providing an external interface, and a mouse input control circuit in the built-in circuit board is connected to the outside through the interface on the mouse housing to realize a mouse input control function.
In one embodiment of the present invention, all or part of the mouse input control circuit is disposed on the mouse housing and/or the built-in circuit board, and the method comprises the following steps:
in the first embodiment, all or part of the mouse input control circuit is arranged on the built-in circuit board. The built-in circuit board is provided with an input detection circuit, a control chip, an input control circuit and a communication circuit in the mouse input control circuit, the mouse shell is provided with a first input interface, a second input interface and a mouse output interface, and the built-in circuit board is packaged in the mouse shell;
in a second embodiment, a control chip, an input control circuit and a communication circuit in the mouse input control circuit are arranged on the built-in circuit board, an input detection circuit is arranged on the mouse shell at the position corresponding to the key and the roller, a first input interface, a second input interface and a mouse output interface are arranged at the interface position of the mouse shell, and the built-in circuit board is packaged in the mouse shell;
in a third embodiment, a control chip in the mouse input control circuit is arranged on the built-in circuit board, an input detection circuit is arranged on the mouse shell at the position corresponding to the key and the roller, a second input interface, a first input interface and a mouse output interface are arranged at the interface position of the mouse shell, an input control circuit and a communication circuit are arranged at the output position of the mouse shell, and the built-in circuit board is packaged in the mouse shell;
In a fourth embodiment, all the mouse input control circuits are disposed on the built-in circuit board, a second input interface, a first input interface and a mouse output interface are disposed on the mouse housing, the first input interface is connected with a roller on the mouse housing, the second input interface is connected with left and right keys on the mouse housing, the mouse output interface is connected with an output line port of the mouse housing, and the built-in circuit board is packaged in the mouse housing.
The built-in circuit board may be packaged transversely with the housing or longitudinally, and is not limited herein. The above setting manner of the mouse input control interface may be set according to practical situations, or more or fewer devices may be used to package the mouse input control in a housing or other devices, which is not limited herein.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or system 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 system. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article, or system that comprises the element.
The foregoing embodiment numbers of the present invention are merely for the purpose of description, and do not represent the advantages or disadvantages of the embodiments.
The foregoing description is only of the optional embodiments of the present invention, and is not intended to limit the scope of the invention, and all the equivalent structural changes made by the description of the present invention and the accompanying drawings or the direct/indirect application in other related technical fields are included in the scope of the invention.

Claims (10)

1. The mouse input control circuit is characterized by comprising an input detection circuit, a control chip, an input control circuit and a communication circuit, wherein the input detection circuit comprises a rolling input detection circuit and a non-rolling input detection circuit;
the control chip is respectively connected with the input control circuit, the communication circuit, the rolling input detection circuit, the non-rolling input detection circuit and the second input interface, the rolling input detection circuit is connected with the first input interface and the input control circuit, the non-rolling input detection circuit is connected with the second input interface and the input control circuit, and the mouse output interface is respectively connected with the input control circuit and the communication circuit;
The rolling input detection circuit is used for collecting first input information of the first input interface, the non-rolling input detection circuit is used for collecting second input information of the second input interface, the communication circuit is used for collecting control information, the control chip is used for determining an input control instruction according to the first input information, the second input information and the control information, and the input control circuit is used for carrying out input control on the mouse based on the input control instruction.
2. The mouse input control circuit of claim 1, wherein the scroll input detection circuit comprises a first sensor and a frequency detection chip, an input end of the first sensor is connected with the first input interface, an output end of the first sensor is connected with an input end of the frequency detection chip and the input control circuit, and an output end of the frequency detection chip is connected with the control chip; the first sensor comprises a current sensor or a voltage sensor, and the first input interface is a mouse wheel input interface;
the first sensor is used for acquiring first sensor information of the mouse wheel input interface, and the frequency detection chip is used for determining first input information according to the first sensor information; wherein the first input information includes a frequency of rotation of the mouse wheel.
3. The mouse input control circuit according to claim 2, wherein the non-rolling input detection circuit comprises a second sensor, a timer and a third sensor, the second input interface comprises a left mouse button input interface and a right mouse button input interface, the input end of the second sensor is respectively connected with the left mouse button input interface and the right mouse button input interface, the output end of the second sensor is connected with the starting end of the timer, the control chip is respectively connected with the output end of the timer, the left mouse button input interface and the right mouse button input interface, the third sensor is connected with the control chip and the input control circuit, and the input control circuit is connected with the left mouse button input interface; the second sensor comprises a current sensor or a voltage sensor, and the third sensor comprises a displacement sensor and is arranged in the mouse;
the second sensor is used for acquiring second sensor information of the left mouse key input interface and the right mouse key input interface, the third sensor is used for acquiring third sensor information of the mouse, and the timer is used for determining second input information based on the second sensor information and the third sensor information; wherein the second input information includes a mouse-down duration.
4. The mouse input control circuit of claim 3, wherein the control chip comprises a C51 series single-chip microcomputer, a first acquisition port, a second acquisition port, a communication starting port, an output control port and a sensor acquisition port are arranged on the single-chip microcomputer, the first acquisition port is connected with the output end of the frequency detection chip, the second acquisition port is connected with the output end of the timer, the communication starting port is connected with the left mouse key input interface and the right mouse key input interface, the communication acquisition port is connected with the communication circuit, the output control port is connected with the input control circuit, and the sensor acquisition port is connected with the third sensor.
5. The mouse input control circuit of claim 4, wherein the input control circuit comprises a roller input control circuit and a non-roller input control circuit, the roller input control circuit comprises a down-slide signal source, an up-slide signal source, a three-way selector and a processing chip, the processing chip is provided with a selection control port, an opening control port and a sliding signal port, the three-way selector comprises a first input end, a second input end, a third input end, an output end and a control end, the first input end is connected with the down-slide signal source, the second input end is connected with the up-slide signal source, the third input end is suspended, the output end is connected with the mouse output interface, the control end is connected with the selection control port, the opening control port is connected with the output control port, and the sliding signal port is connected with the output end of the first sensor. The sliding signal source is a signal source of a sliding signal of the mouse wheel, and the sliding signal source is a signal source of a sliding signal of the mouse wheel;
The processing chip is used for determining the conduction information of the one-out-of-three selector based on the input control instruction and performing input control on the mouse based on the conduction information.
6. The mouse input control circuit of claim 5, wherein the non-scroll wheel input control circuit comprises a key control chip, wherein an instruction receiving port, a signal input port, a sensor port and a key output port are arranged on the key control chip, the instruction receiving port is connected with the output control port, the sensor port is connected with the third sensor, the signal input port is connected with the left mouse key input interface, and the key output port is connected with the mouse output interface;
the key control chip is used for determining a key instruction based on the input control instruction and the third sensor information and performing input control on the mouse based on the key instruction.
7. The mouse input control circuit of claim 6, wherein the communication circuit comprises a memory and a communication line, the communication line connects the mouse output interface, the product host and the control chip, the memory is connected with the communication line and the control chip, the memory is used for collecting input information of the product host, collecting output information of the mouse output interface, and sending the input information and the output information as control information to the control chip, and the memory is further used for storing history output information and history input information as control information to the control chip.
8. A mouse input control method, characterized in that the mouse input control method is applied to the mouse input control circuit of any one of claims 1 to 7, the steps of the mouse input control method comprising:
acquiring input information acquired by an input detection circuit, and determining an input control instruction according to the input information and control information acquired by a communication circuit;
if the input control instruction is a rolling input instruction, determining conduction information in the input control instruction, and performing input control on the mouse based on the conduction information; the scroll input instruction is an instruction for controlling a mouse wheel;
and if the input control instruction is a non-rolling input instruction, determining a key instruction acquired after the input control instruction is executed, and performing input control on the mouse based on the key instruction.
9. The method of claim 8, wherein the input information includes a first input information or a second input information, and the step of determining the input control command according to the input information and the control information collected by the communication circuit includes:
when the input information is the first input information, determining the rolling frequency information in the first input information, and detecting whether the rolling frequency in the rolling frequency information is larger than a preset rolling frequency threshold value;
If the rolling frequency in the rolling frequency information is larger than a preset rolling frequency threshold value, generating an input control instruction based on the rolling frequency threshold value and the rolling direction in the rolling frequency information;
when the input information is the second input information, determining timing information and movement information in the second input information;
if the timing value of the timing information is larger than a preset timing threshold value and the movement value of the movement information is larger than a preset movement threshold value, determining historical control information in control information acquired by a communication circuit;
determining next movement information at the next moment, determining movement weight corresponding to the next movement information, and determining control weight in the history control information;
and determining a target execution instruction in a preset execution instruction table based on the movement weight and the control weight, and taking the target execution instruction as an input control instruction.
10. The method for controlling input of a mouse according to claim 9, wherein after the step of controlling input of the mouse based on the on information, comprising:
the input control circuit controls the conduction information to be first conduction information if receiving a reverse scrolling instruction opposite to the scrolling direction; wherein the first conduction information is in a line disconnection state;
The step of performing input control on the mouse based on the key instruction comprises the following steps:
when the input control instruction is a copy control instruction, determining that the key instruction is matched with a preset first key instruction, and then executing the step of acquiring the input information acquired by the input detection circuit; the preset first key instruction refers to an instruction of a replicable area key;
when the input control instruction is a mark control instruction, determining that the key instruction is matched with a preset second key instruction, and then executing the step of acquiring the input information acquired by the input detection circuit; the preset second key instruction is an instruction of selecting a key in a specific area of the marking information;
when the input control instruction is a labeling control instruction, determining that the key instruction is matched with a preset third key instruction, and then executing the step of acquiring the input information acquired by the input detection circuit; the preset third key instruction refers to an instruction for selecting a key of the labeling area.
CN202311207800.6A 2023-09-19 2023-09-19 Mouse input control circuit and method Active CN116954394B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311207800.6A CN116954394B (en) 2023-09-19 2023-09-19 Mouse input control circuit and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311207800.6A CN116954394B (en) 2023-09-19 2023-09-19 Mouse input control circuit and method

Publications (2)

Publication Number Publication Date
CN116954394A true CN116954394A (en) 2023-10-27
CN116954394B CN116954394B (en) 2023-12-29

Family

ID=88462370

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311207800.6A Active CN116954394B (en) 2023-09-19 2023-09-19 Mouse input control circuit and method

Country Status (1)

Country Link
CN (1) CN116954394B (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1472628A (en) * 2003-07-10 2004-02-04 皓 于 Method for realizing mouse roller assembled key operation and assembled key roller mouse
CN101807122A (en) * 2009-02-16 2010-08-18 致伸科技股份有限公司 Mouse with function of capturing screen picture of computer
CN101813985A (en) * 2009-02-20 2010-08-25 致伸科技股份有限公司 Mouse with marking function
CN102957970A (en) * 2012-11-14 2013-03-06 深圳创维数字技术股份有限公司 Method for controlling digital TV (Television) terminal by using mouse and digital TV terminal
CN102999172A (en) * 2011-09-14 2013-03-27 原相科技股份有限公司 Mouse device
CN103324317A (en) * 2013-06-28 2013-09-25 马洪生 Mouse capable of completing various function operations by means of reusing keys and method for controlling mouse
WO2015043518A1 (en) * 2013-09-29 2015-04-02 董礼貌 Three-dimensional control mouse and method of use thereof

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1472628A (en) * 2003-07-10 2004-02-04 皓 于 Method for realizing mouse roller assembled key operation and assembled key roller mouse
CN101807122A (en) * 2009-02-16 2010-08-18 致伸科技股份有限公司 Mouse with function of capturing screen picture of computer
CN101813985A (en) * 2009-02-20 2010-08-25 致伸科技股份有限公司 Mouse with marking function
CN102999172A (en) * 2011-09-14 2013-03-27 原相科技股份有限公司 Mouse device
CN102957970A (en) * 2012-11-14 2013-03-06 深圳创维数字技术股份有限公司 Method for controlling digital TV (Television) terminal by using mouse and digital TV terminal
CN103324317A (en) * 2013-06-28 2013-09-25 马洪生 Mouse capable of completing various function operations by means of reusing keys and method for controlling mouse
WO2015043518A1 (en) * 2013-09-29 2015-04-02 董礼貌 Three-dimensional control mouse and method of use thereof

Also Published As

Publication number Publication date
CN116954394B (en) 2023-12-29

Similar Documents

Publication Publication Date Title
US8686944B1 (en) Software for input devices with application-specific scrolling and highlighted text searching
US8633909B2 (en) Information processing apparatus, input operation determination method, and input operation determination program
CN105425941B (en) A kind of method and device preventing application program in error starting mobile terminal
CN101833416B (en) Electronic reading device and page turning method thereof
US20070220442A1 (en) User interface and method therefor
US9521232B2 (en) Apparatus and method for controlling operation of mobile terminal
CN108064368A (en) The control method and device of flexible display device
CN101669829A (en) Method and system for acquiring help information
CN105808094B (en) A kind of application call method and terminal
EP3477457B1 (en) Touchpad-based rapid information input and interaction method and input and interaction system
KR20070034767A (en) Mobile communication terminal having multiple display areas and data display method between displays using same
KR20150033508A (en) Icon moving method and touch-type portable terminal to which the method is applied
CN103324440A (en) Text content selecting method utilizing multi-point touch control
US9747020B2 (en) Information transmitting method, device and terminal
WO2021197487A1 (en) Method and apparatus for controlling terminal screen by means of mouse, mouse and storage medium
WO2016188261A1 (en) Method and apparatus for switching multiple folders, and computer storage medium
CN103955327B (en) Information processing method and electronic equipment
CN105223800A (en) A kind of camera control method of intelligent watch and intelligent watch
WO2022242586A1 (en) Application interface method and apparatus, and electronic device
WO2023083158A1 (en) Text selection method, text selection apparatus, and electronic device
CN105573653A (en) Multi-object selecting method and terminal
CN106814964A (en) A kind of method and content search device that content search is carried out in mobile terminal
CN104462232A (en) Data storage method and device
CN116954394B (en) Mouse input control circuit and method
CN111338554A (en) Suspension ball operating system and method based on large-screen touch

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