CN106708613B - A kind of detection method and detection device of input control sensitivity - Google Patents
A kind of detection method and detection device of input control sensitivity Download PDFInfo
- Publication number
- CN106708613B CN106708613B CN201610293475.3A CN201610293475A CN106708613B CN 106708613 B CN106708613 B CN 106708613B CN 201610293475 A CN201610293475 A CN 201610293475A CN 106708613 B CN106708613 B CN 106708613B
- Authority
- CN
- China
- Prior art keywords
- input
- quantization parameter
- input control
- control sensitivity
- taking
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/46—Multiprogramming arrangements
- G06F9/48—Program initiating; Program switching, e.g. by interrupt
- G06F9/4806—Task transfer initiation or dispatching
- G06F9/4812—Task transfer initiation or dispatching by interrupt, e.g. masked
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
The invention discloses a kind of detection methods of input control sensitivity, comprising: input equipment is carried out input interrupt event caused by input control and is added in the incoming event queue of the input equipment;It records the input interrupt event and enters quantization parameter into the incoming event queue;Record incoming event caller takes out the taking-up quantization parameter of the input interrupt event from the incoming event queue;When the difference into quantization parameter between the taking-up quantization parameter is higher than preset threshold value, determine that the input control sensitivity of the input equipment is unsatisfactory for preset requirement.The detection method of input control sensitivity provided in an embodiment of the present invention can be determined, to improve the accuracy of input control sensitivity technique by inputting the difference of the quantization parameter of entrance and the taking-up of interrupt event.
Description
Technical field
The present invention relates to signal detection technique fields, and in particular to a kind of detection method and detection of input control sensitivity
Device.
Background technique
User equipment, which is substantially, carries out input control by input equipment, such as: computer, which is substantially, passes through mouse
Carry out input control.
The input control of mouse would generally be responded quickly by configuring relatively high computer in the prior art, configure relatively low electricity
Brain often will appear situations such as card is slow, and cursor drift is indefinite, can serious shadow if the input control of computer response mouse is very slow
The efficiency for ringing user and computer communication, so needing to detect sensitivity of the computer to mouse input control.
It is substantially and is set by the usage amount of processor and memory in detection user equipment to detect input in the prior art
It is slow whether standby input control will appear card, still, with the development of communication technology, the hardware configuration of existing user equipment
It all becomes better and better, even if the usage amount of processor and memory is all very high, it is slow also not necessarily to will appear input equipment input control card
The case where, so the result that this detection mode detected is often inaccurate.
Summary of the invention
The embodiment of the present invention provides a kind of detection method of input control sensitivity, can be improved to input input equipment and control
The detection accuracy of sensitivity processed.The embodiment of the invention also provides corresponding detection devices.
First aspect present invention provides a kind of detection method of input control sensitivity, comprising:
Input equipment is subjected to the input thing that input interrupt event caused by input control is added to the input equipment
In part queue;
It records the input interrupt event and enters quantization parameter into the incoming event queue;
Record incoming event caller takes out the withdrawal amount of the input interrupt event from the incoming event queue
Change parameter;
When the difference into quantization parameter between the taking-up quantization parameter is higher than preset threshold value, described in determination
The input control sensitivity of input equipment is unsatisfactory for preset requirement.
Second aspect of the present invention provides a kind of detection device of input control sensitivity, comprising:
Adding unit is added to the input for input equipment to be carried out input interrupt event caused by input control
In the incoming event queue of equipment;
First recording unit enters the input thing for recording the input interrupt event and being added by the adding unit
Part queue enters quantization parameter;
Second recording unit takes out the input from the incoming event queue for recording incoming event caller
The taking-up quantization parameter of interrupt event;
Determination unit, for entering quantization parameter and second recording unit note when first recording unit records
When the difference of record taken out between quantization parameter is higher than preset threshold value, determine that the input control sensitivity of the input equipment is discontented
Sufficient preset requirement.
The detection method of input control sensitivity provided in an embodiment of the present invention is produced input equipment progress input control
Raw input interrupt event is added in the incoming event queue of the input equipment;It records the input interrupt event and enters institute
That states incoming event queue enters quantization parameter;Described in record incoming event caller takes out from the incoming event queue
Input the taking-up quantization parameter of interrupt event;When the difference into quantization parameter between the taking-up quantization parameter is higher than
When preset threshold value, determine that the input control sensitivity of the input equipment is unsatisfactory for preset requirement.With pass through place in the prior art
The occupancy of device and memory is managed to detect input control sensitivity, detection inaccuracy is caused to be compared, it is provided in an embodiment of the present invention
The detection method of input control sensitivity can be carried out by inputting the difference of the quantization parameter of entrance and the taking-up of interrupt event
It determines, to improve the accuracy of input control sensitivity technique.
Detailed description of the invention
To describe the technical solutions in the embodiments of the present invention more clearly, make required in being described below to embodiment
Attached drawing is briefly described, it should be apparent that, drawings in the following description are only some embodiments of the invention, for
For those skilled in the art, without creative efforts, it can also be obtained according to these attached drawings other attached
Figure.
Fig. 1 is the slow schematic diagram of a scenario of mouse card;
Fig. 2 is an embodiment schematic diagram of the detection method of input control sensitivity in the embodiment of the present invention;
Fig. 3 is to input the example that interrupt event enters and takes out in the embodiment of the present invention to describe schematic diagram;
Fig. 4 is another embodiment schematic diagram of the detection method of input control sensitivity in the embodiment of the present invention;
Fig. 5 is an embodiment schematic diagram of the detection device of input control sensitivity in the embodiment of the present invention;
Fig. 6 is another embodiment schematic diagram of the detection device of input control sensitivity in the embodiment of the present invention;
Fig. 7 is another embodiment schematic diagram of the detection device of input control sensitivity in the embodiment of the present invention.
Specific embodiment
The embodiment of the present invention provides a kind of detection method of input control sensitivity, can be improved to input input equipment and control
The detection accuracy of sensitivity processed.The embodiment of the invention also provides corresponding detection devices.It is described in detail separately below.
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete
Site preparation description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on
Embodiment in the present invention, those skilled in the art's every other implementation obtained without creative efforts
Example, shall fall within the protection scope of the present invention.
Input control described in the embodiment of the present invention mainly includes personal computer (Personal Computer, PC)
In the input control of upper mouse, laptop on the input control of Trackpad and mobile phone touch screen input control, can be with
Input control etc. including keyboard.It is mostly illustrated by taking the input control of mouse as an example in the embodiment of the present invention in subsequent descriptions,
But it should not be construed as the input control for being only limited to mouse, above-mentioned other listed several input controls are included in of the invention real
It applies in example, only either mouse, Trackpad, touch screen or keyboard, the testing principle of input control sensitivity are identical
, so there is no the detection scene for enumerating other Trackpads, touch screen and keyboard again in the embodiment of the present application.
Input control sensitivity in the application is unsatisfactory for preset requirement, and to can be understood as input control card slow, such as:
Mouse card is slow, and when mouse as mobile such as computer user, the cursor that mouse is corresponded on screen floats indefinite, cannot accurately follow operation
The movement of person is mobile.Certainly, the corresponding cursor card of keyboard input, touch screen input and Trackpad input also belongs to input control slowly
Sensitivity processed is unsatisfactory for preset requirement.It is illustrated so that mouse card is slow as an example below.
Fig. 1 is the slow schematic diagram of a scenario of mouse card.As shown in Figure 1, mouse is moved to position B by position A by user, and show
Show that cursor corresponding to mouse is moved to target position D from original position C not yet on device, but Caton occur, swims in
Near the C of position.The mouse drawn in Fig. 1 is wireless mouse, so mouse and display do not have connection relationship, if mouse is
Wire mouse, then mouse and display require to be connected on host.
Fig. 2 is an embodiment schematic diagram of the detection method of input control sensitivity in the embodiment of the present invention.
Referring to Fig.2, an embodiment of the detection method of input control sensitivity provided in an embodiment of the present invention includes:
101, input equipment is subjected to input interrupt event caused by input control and is added to the defeated of the input equipment
In incoming event queue.
Input equipment in the application may include mouse, input control plate, touch screen and keyboard on laptop
Deng.
Input interrupt event generated interrupt event when referring to user by input equipment progress input control, for example,
Mouse interrupts event caused by mouse is mobile.
Incoming event queue refers to the queue of the input interrupt event arranged according to the generation sequence of interrupt event.Mouse
The queue of interrupt event is the incoming event queue of mouse, and keyboard interrupt event is the incoming event queue of keyboard, different
Input interrupt event caused by input equipment is not overlapped mutually.
102, it records the input interrupt event and enters quantization parameter into the incoming event queue.
It may include the admission velocity and entrance for inputting interrupt event and entering the incoming event queue into quantization parameter
Quantity etc., speed can also use frequency representation.
103, record incoming event caller takes out taking for the input interrupt event from the incoming event queue
Quantization parameter out.
Taking out quantization parameter may include that incoming event caller takes out the input from the incoming event queue
Speed and quantity of interrupt event etc., speed can also use frequency representation.
Fig. 3 is that the example that input interrupt event enters and takes out in the embodiment of the present invention describes schematic diagram.As shown in figure 3,
By taking mouse as an example, mouse interrupts event is generated in the input control of inner nuclear layer mouse, mouse interrupts event enters incoming event team
Column are ranked up according to the generation sequence of mouse interrupts event, and incoming event caller calls mouse interrupts thing from application layer
Part takes out the mouse interrupts event from incoming event queue, is handled, that is, executes the mouse interrupts event, will
Cursor corresponding to mouse is moved according to the requirement of input interrupt event.
For practical process, after can be mouse progress input control generation mouse interrupts event, correspondence postponed
Journey calls (DPC, Delay procedure call) routine that relevant mouse interrupts event is responsible for be put into incoming event queue.
The csrss process of windows subsystem is responsible for obtaining mouse interrupts event from incoming event queue, and be distributed to accordingly into
The Cheng Zhihang mouse interrupts event.
The effect of routine is similar to function, but meaning more horn of plenty is some.Routine is the function that some system external provides
Interface or the set of service.For example API, service of operating system etc. are exactly routine.
104, it is determined into quantization parameter and when the difference taken out between quantization parameter is higher than preset threshold value when described
The input control sensitivity of the input equipment is unsatisfactory for preset requirement.
The entrance and taking-up of mouse interrupts event are similar to a production and consumption model, into being to generate, take out then
Consumption, if what is generated is too fast, consumption it is too slow, then input control sensitivity is not able to satisfy preset requirement naturally, if production
Too much, consumption is very little, then input control sensitivity is not able to satisfy preset requirement naturally also.
Optionally, the quantization parameter that enters is admission velocity, when the taking-up quantization parameter is take-off speed, when described
Admission velocity and the difference of the take-off speed are higher than the preset threshold value, determine the input control sensitivity of the input equipment
It is unsatisfactory for preset requirement.
Optionally, the quantization parameter that enters is into quantity, and the taking-up quantization parameter is when taking out quantity, when described
It is higher than the preset threshold value into quantity and the difference for taking out quantity, determines the input control sensitivity of the input equipment
It is unsatisfactory for preset requirement.
Such as: the admission velocity of mouse interrupts event is 10/second, and take-off speed is 2/second, if admission velocity and taking
The threshold value of speed difference is 2/second out.Then 10/second subtract 2/second equal to 8/second, and 8/second are greater than 2/second of threshold value.
Then illustrate, formation speed is much higher than consumption rate, then input control sensitivity is unsatisfactory for preset requirement.
If the entrance quantity of mouse interrupts event is 10, take-off speed is 2, if admission velocity and take-off speed difference
Threshold value be 2.Then 10 subtract 2 equal to 8, and 8 are greater than preset 2.Then illustrate, formation speed is much higher than consumption speed
Degree, then input control sensitivity are unsatisfactory for preset requirement.
The detection method of input control sensitivity provided in an embodiment of the present invention is produced input equipment progress input control
Raw input interrupt event is added in the incoming event queue of the input equipment;It records the input interrupt event and enters institute
That states incoming event queue enters quantization parameter;Described in record incoming event caller takes out from the incoming event queue
Input the taking-up quantization parameter of interrupt event;When the difference into quantization parameter between the taking-up quantization parameter is higher than
When preset threshold value, determine that the input control sensitivity of the input equipment is unsatisfactory for preset requirement.With pass through place in the prior art
The occupancy of device and memory is managed to detect input control sensitivity, detection inaccuracy is caused to be compared, it is provided in an embodiment of the present invention
The detection method of input control sensitivity can be carried out by inputting the difference of the quantization parameter of entrance and the taking-up of interrupt event
It determines, to improve the accuracy of input control sensitivity technique.
Optionally, the input control sensitivity of the determination input equipment is unsatisfactory for preset requirement, may include:
Detect hardware resource relevant to the input control sensitivity;
When the relevant unappropriated surplus of hardware resource is lower than predetermined threshold value, the input equipment is determined
Input control sensitivity is unsatisfactory for preset requirement.
In the application, hardware resource relevant to the input control sensitivity may include processor and memory, work as place
Device and the unappropriated surplus of memory are managed, that is, when the resource being not used by is lower than predetermined threshold value, illustrates processor and interior
The surplus resources deposited are no longer satisfied the input control demand of input equipment, then further determined input control sensitivity not
Meet preset requirement, enhances the accuracy of sensitivity technique.
Optionally, described when the relevant unappropriated surplus of hardware resource is lower than predetermined threshold value, determine institute
The input control sensitivity for stating input equipment is unsatisfactory for after preset requirement, the method also includes:
It determines the process for currently occupying the relevant hardware resource, and shows the process.
It in the application, determines that input control sensitivity is unsatisfactory for after preset requirement, the number for opening window can also be detected
Amount, and the process determination being currently running all is which process occupies relevant hardware resource, then shows these processes
To user, to prompt the user whether to close some processes, to vacate hardware resource, to improve the sensitivity of input control.
For the clearer detection process for understanding the application input control sensitivity, implement referring next to Fig. 4 present invention
Another embodiment schematic diagram of the detection method of input control sensitivity, illustrates that input control is sensitive in the embodiment of the present invention in example
The process of the detection of degree:
It is illustrated so that mouse carries out input control as an example in Fig. 4.
It include mouse in inner nuclear layer as shown in figure 4, including inner nuclear layer and application layer in the detection device of input control sensitivity
Interrupted interception component 201, system mouse driving 202, mouse filtration drive 203 and the flexible state determination component 204 of mouse are marked,
Application layer includes mouse applications layer logic module 205, system csrss process 206, wherein mouse interrupts intercepting component 201 intercepts
System mouse interrupts, and the mouse interrupts that mouse interrupts intercepting component 201 is intercepted are to produce the process of mouse interrupts event, mouse
The opportunity that mark interrupt event generates can be used as the effect of pseudo- baseline baseline a kind of: DPC routine is in windows system
Very high scheduling rank, when producing the generation of mouse interrupts event, it can preferentially be dispatched, as shown in figure 4, the work of DPC routine
With being that mouse interrupts event is put into incoming event queue, it can be defined as in " production-consumption " model at this
The producer.It is notified that system mouse driving 202 has mouse interrupts thing after 201 intercepting system mouse interrupts of mouse interrupts intercepting component
Part, system mouse driving 202 are notified that the system csrss process 206 of 203 filtration application layer of mouse filtration drive to mouse interrupts
Event is transferred, and system csrss process 206 transfers process as consumer to mouse interrupts event, and csrss process is one
As process priority it is other, it is possible that will lead to mouse interrupts event will not be transferred in time.During user's operation computer
When feeling mouse card, illustrates that consumer does not get caught up in the producer far to digest mouse and disappear interrupt event, and generate this and ask
The reason of topic, it is evident that be because system related resource is not sufficient enough so that csrss process distributes mouse information more
Slowly.
After " Producer-consumer problem " model of mouse input control described in the above process obtains, this producer-
The data of consumer " model are injected into the flexible state determination component 204 of mouse and judge, determine and extract mouse interrupts event
Speed is differed than the speed that mouse interrupts event generates, if the difference of the two speed is greater than preset threshold, illustrates two
Person's speed difference is larger, it is determined that is that systematic comparison card is slow at this time, input control sensitivity is unsatisfactory for preset requirement.
No matter the flexible state determination component 204 of mouse determine system whether block it is slow after, all can be by result notice to application layer
Mouse applications layer logic module 205, application layer can prompt the slow state of the card of user's current system.
The correlation module of application layer can also again the relevant technologies such as the processor of allocating conventional, memory and window it is true again
Recognize the slow phenomenon of system card and this is caused to block the process of slow phenomenon, finally shows on interface to user, and ask the user whether
It needs to solve this and blocks slow phenomenon.
More than, the described detection method for input control sensitivity introduces the application below with reference to the above method
The detection device 30 of middle input control sensitivity.
Fig. 5 is an embodiment schematic diagram of the detection device 30 of input control sensitivity in the application.
As shown in figure 5, an embodiment of the detection device 30 of input control sensitivity includes: in the application
Adding unit 301, it is described for input interrupt event caused by input equipment progress input control to be added to
In the incoming event queue of input equipment;
First recording unit 302, for recording the input interrupt event described in the adding unit 301 addition entrance
Incoming event queue enters quantization parameter;
Second recording unit 303, take out for recording incoming event caller from the incoming event queue described in
Input the taking-up quantization parameter of interrupt event;
Determination unit 304, for entering quantization parameter and second record when first recording unit 302 record
When the difference between taking-up quantization parameter that unit 303 records is higher than preset threshold value, the input control of the input equipment is determined
Sensitivity is unsatisfactory for preset requirement.
In the embodiment of the present invention, adding unit 301 in will input equipment carry out input control caused by input interrupt thing
Part is added in the incoming event queue of the input equipment;First recording unit 302 records the input interrupt event by institute
It states the addition of adding unit 301 and enters quantization parameter into the incoming event queue;Second recording unit 303 record input thing
Part caller takes out the taking-up quantization parameter of the input interrupt event from the incoming event queue;Determination unit 304
When the taking-up into quantization parameter and second recording unit 303 record of first recording unit 302 record quantifies to join
When difference between number is higher than preset threshold value, determine that the input control sensitivity of the input equipment is unsatisfactory for preset requirement.With
Input control sensitivity is detected by the occupancy of processor and memory in the prior art, detection inaccuracy is caused to be compared, this
The detection device for the input control sensitivity that inventive embodiments provide can pass through the amount of entrance and the taking-up of input interrupt event
The difference for changing parameter is determined, to improve the accuracy of input control sensitivity technique.
Optionally, the determination unit 304, for being admission velocity when the quantization parameter that enters, the taking-up quantization
When parameter is take-off speed, when the difference of the admission velocity and the take-off speed is higher than the preset threshold value, determine described in
The input control sensitivity of input equipment is unsatisfactory for preset requirement.
Optionally, the determination unit 304, for being into quantity, the taking-up quantization when the quantization parameter that enters
Parameter be take out quantity when, when it is described into quantity and it is described take out quantity difference be higher than the preset threshold value, determine described in
The input control sensitivity of input equipment is unsatisfactory for preset requirement.
Optionally, the determination unit 304, for detecting hardware resource relevant to the input control sensitivity, when
When the unappropriated surplus of relevant hardware resource is lower than predetermined threshold value, the input control spirit of the input equipment is determined
Sensitivity is unsatisfactory for preset requirement.
Optionally, on the basis of above-mentioned alternative embodiment, refering to Fig. 6, detection device 30 provided in an embodiment of the present invention
Another alternative embodiment in, the detection device 30 further includes display unit 305,
The determination unit 304 is also used to determine the process for currently occupying the relevant hardware resource;
The display unit 305, the process determined for showing the determination unit 304.
More than, any embodiment or alternative embodiment of the detection device 30 of input control sensitivity described herein
Can the associated description refering to fig. 1 to the part Fig. 4 understood that this place, which is not done, excessively to be repeated.
Fig. 7 is the structural schematic diagram of the detection device 30 of input control sensitivity provided in an embodiment of the present invention.It is described defeated
The detection device 30 for entering to control sensitivity includes processor 310, memory 350 and input-output apparatus 330, and input/output is set
Standby 330 may include mouse, keyboard, touch screen and display, and memory 350 may include that read-only memory and arbitrary access are deposited
Reservoir, and operational order and data are provided to processor 310.The a part of of memory 350 can also include non-volatile random
It accesses memory (NVRAM).
In some embodiments, memory 350 stores following element, executable modules or data structures, or
Their subset of person or their superset:
In embodiments of the present invention, by calling the operational order of the storage of memory 350, (operational order is storable in behaviour
Make in system),
Input equipment is subjected to the input thing that input interrupt event caused by input control is added to the input equipment
In part queue;
It records the input interrupt event and enters quantization parameter into the incoming event queue;
Record incoming event caller takes out the withdrawal amount of the input interrupt event from the incoming event queue
Change parameter;
When the difference into quantization parameter between the taking-up quantization parameter is higher than preset threshold value, described in determination
The input control sensitivity of input equipment is unsatisfactory for preset requirement.
With input control sensitivity is detected by the occupancy of processor and memory in the prior art, cause detection inaccurate
It really compares, the detection device of input control sensitivity provided in an embodiment of the present invention, the entrance of input interrupt event can be passed through
It is determined with the difference of the quantization parameter of taking-up, to improve the accuracy of input control sensitivity technique.
Processor 310 controls the operation of the detection device 30 of input control sensitivity, and processor 310 can also be known as CPU
(Central Processing Unit, central processing unit).Memory 350 may include read-only memory and arbitrary access
Memory, and instruction and data is provided to processor 310.The a part of of memory 350 can also deposit including non-volatile random
Access to memory (NVRAM).The various components of the detection device 30 of input control sensitivity pass through bus system in specific application
320 are coupled, wherein bus system 320 except include data/address bus in addition to, can also include power bus, control bus and
Status signal bus in addition etc..But for the sake of clear explanation, various buses are all designated as bus system 320 in figure.
The method that the embodiments of the present invention disclose can be applied in processor 310, or be realized by processor 310.
Processor 310 may be a kind of IC chip, the processing capacity with signal.During realization, the above method it is each
Step can be completed by the integrated logic circuit of the hardware in processor 310 or the instruction of software form.Above-mentioned processing
Device 310 can be general processor, digital signal processor (DSP), specific integrated circuit (ASIC), ready-made programmable gate array
(FPGA) either other programmable logic device, discrete gate or transistor logic, discrete hardware components.May be implemented or
Person executes disclosed each method, step and the logic diagram in the embodiment of the present invention.General processor can be microprocessor or
Person's processor is also possible to any conventional processor etc..The step of method in conjunction with disclosed in the embodiment of the present invention, can be straight
Connect and be presented as that hardware decoding processor executes completion, or in decoding processor hardware and software module combination executed
At.Software module can be located at random access memory, and flash memory, read-only memory, programmable read only memory or electrically-erasable can
In the storage medium of this fields such as programmable memory, register maturation.The storage medium is located at memory 350, and processor 310 is read
Information in access to memory 350, in conjunction with the step of its hardware completion above method.
Optionally, the processor 310 is used to when the quantization parameter that enters be admission velocity, the taking-up quantization parameter
When for take-off speed, when the admission velocity and the difference of the take-off speed are higher than the preset threshold value, the input is determined
The input control sensitivity of equipment is unsatisfactory for preset requirement.
Optionally, the processor 310 is used to when the quantization parameter that enters be into quantity, the taking-up quantization parameter
When to take out quantity, being higher than the preset threshold value into quantity and the difference for taking out quantity when described, determining the input
The input control sensitivity of equipment is unsatisfactory for preset requirement.
Optionally, the processor 310 is for detecting hardware resource relevant to the input control sensitivity, when described
When the relevant unappropriated surplus of hardware resource is lower than predetermined threshold value, the input control sensitivity of the input equipment is determined
It is unsatisfactory for preset requirement.
Optionally, the processor 310 is also used to determine the process for currently occupying the relevant hardware resource;
The input-output equipment 330 is for showing the determining process.
The detection device 30 of above input control sensitivity can the associated description refering to fig. 1 to the part Fig. 6 managed
Solution, this place, which is not done, excessively to be repeated.
Those of ordinary skill in the art will appreciate that all or part of the steps in the various methods of above-described embodiment is can
It is completed with instructing relevant hardware by program, which can be stored in a computer readable storage medium, storage
Medium may include: ROM, RAM, disk or CD etc..
The detection method and detection device for being provided for the embodiments of the invention input control sensitivity above carry out
It is discussed in detail, used herein a specific example illustrates the principle and implementation of the invention, above embodiments
Illustrate to be merely used to help understand method and its core concept of the invention;At the same time, for those skilled in the art, according to
According to thought of the invention, there will be changes in the specific implementation manner and application range, in conclusion the content of the present specification
It should not be construed as limiting the invention.
Claims (9)
1. a kind of detection method of input control sensitivity characterized by comprising
Input equipment is subjected to the incoming event team that input interrupt event caused by input control is added to the input equipment
In column, the input interrupt event that different input equipments generate corresponds to different incoming event queues;
The quantization parameter that enters that the input interrupt event enters the incoming event queue is recorded, it is described to enter quantization parameter packet
Input interrupt event is included into any one in the speed and quantity of the incoming event queue;
Record incoming event caller takes out the taking-up quantization ginseng of the input interrupt event from the incoming event queue
Number, the taking-up quantization parameter include that incoming event caller takes out the input interruption thing from the incoming event queue
Any one in the speed and quantity of part;
When the difference into quantization parameter between the taking-up quantization parameter is higher than preset threshold value, characterization input is interrupted
The generation of event is higher than consumption, determines that the input control sensitivity of the input equipment is unsatisfactory for preset requirement;
Detect hardware resource relevant to the input control sensitivity;
When the relevant unappropriated surplus of hardware resource is lower than predetermined threshold value, the relevant hardware resource is characterized
It is not able to satisfy the input control demand of input equipment, determines that the input control sensitivity of the input equipment is unsatisfactory for default want
It asks.
2. detection method according to claim 1, which is characterized in that the quantization parameter that enters is admission velocity, described
It is described high the difference taken out between quantization parameter into quantization parameter when described when taking-up quantization parameter is take-off speed
When preset threshold value, determine that the input control card of the input equipment is slow, comprising:
When the difference of the admission velocity and the take-off speed is higher than the preset threshold value, the input of the input equipment is determined
Control sensitivity is unsatisfactory for preset requirement.
3. detection method according to claim 1, which is characterized in that it is described enter quantization parameter be into quantity, it is described
Taking out quantization parameter is when taking out quantity, and the difference when described into quantization parameter between the taking-up quantization parameter is high
When preset threshold value, determine that the input control card of the input equipment is slow, comprising:
It is higher than the preset threshold value into quantity and the difference for taking out quantity when described, determines the input of the input equipment
Control sensitivity is unsatisfactory for preset requirement.
4. detection method according to claim 1, which is characterized in that described when the relevant hardware resource is unoccupied
Surplus be lower than predetermined threshold value when, determine that the input control sensitivity of the input equipment is unsatisfactory for after preset requirement, institute
State method further include:
It determines the process for currently occupying the relevant hardware resource, and shows the process.
5. a kind of detection device of input control sensitivity characterized by comprising
Adding unit is added to the input equipment for input equipment to be carried out input interrupt event caused by input control
Incoming event queue in, the input interrupt event that different input equipments generate corresponds to different input time queues;
First recording unit enters the incoming event team for recording the input interrupt event and being added by the adding unit
Column enter quantization parameter, it is described into quantization parameter include input interrupt event enter the incoming event queue speed and
Any one in quantity;
Second recording unit takes out the input interruption for recording incoming event caller from the incoming event queue
The taking-up quantization parameter of event, the taking-up quantization parameter include that incoming event caller takes from the incoming event queue
Any one in the speed and quantity of the input interrupt event out;
Determination unit, for when first recording unit records are into quantization parameter and second recording unit records
Take out quantization parameter between difference be higher than preset threshold value when, characterization input interrupt event generation be higher than consumption, determine described in
The input control sensitivity of input equipment is unsatisfactory for preset requirement;
The determination unit, for detecting hardware resource relevant to the input control sensitivity, when the relevant hardware
When the unappropriated surplus of resource is lower than predetermined threshold value, characterizes the relevant hardware resource and be not able to satisfy the defeated of input equipment
Enter demand for control, determines that the input control sensitivity of the input equipment is unsatisfactory for preset requirement.
6. detection device according to claim 5, which is characterized in that
The determination unit, for being admission velocity when the quantization parameter that enters, the taking-up quantization parameter is take-off speed
When, when the difference of the admission velocity and the take-off speed is higher than the preset threshold value, determine the input of the input equipment
Control sensitivity is unsatisfactory for preset requirement.
7. detection device according to claim 5, which is characterized in that
The determination unit, for being into quantity when the quantization parameter that enters, the taking-up quantization parameter is to take out quantity
When, it is higher than the preset threshold value into quantity and the difference for taking out quantity when described, determines the input of the input equipment
Control sensitivity is unsatisfactory for preset requirement.
8. detection device according to claim 5, which is characterized in that the detection device further includes display unit,
The determination unit is also used to determine the process for currently occupying the relevant hardware resource;
The display unit, the process determined for showing the determination unit.
9. a kind of storage medium, which is characterized in that for storing program, described program is for instructing hardware to complete such as claim
The described in any item detection methods of 1-4.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610293475.3A CN106708613B (en) | 2016-05-05 | 2016-05-05 | A kind of detection method and detection device of input control sensitivity |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610293475.3A CN106708613B (en) | 2016-05-05 | 2016-05-05 | A kind of detection method and detection device of input control sensitivity |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106708613A CN106708613A (en) | 2017-05-24 |
CN106708613B true CN106708613B (en) | 2019-09-17 |
Family
ID=58939696
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610293475.3A Active CN106708613B (en) | 2016-05-05 | 2016-05-05 | A kind of detection method and detection device of input control sensitivity |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106708613B (en) |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH11272502A (en) * | 1998-03-24 | 1999-10-08 | Canon Inc | Software reliability evaluation device, its method and storage medium |
CN102830785A (en) * | 2011-06-17 | 2012-12-19 | 上海果壳电子有限公司 | Quick response system for equipment end input interaction and implementation method thereof |
CN103220427A (en) * | 2013-04-16 | 2013-07-24 | 广东欧珀移动通信有限公司 | Mobile phone background program cleaning method and mobile phone |
CN103997673A (en) * | 2014-05-15 | 2014-08-20 | Tcl集团股份有限公司 | Event processing method and device |
CN104731643A (en) * | 2015-02-27 | 2015-06-24 | 浙江大学 | Management method and system for background application program |
CN105094936A (en) * | 2015-09-24 | 2015-11-25 | 广东小天才科技有限公司 | Background application program cleaning method and device applied to mobile terminal |
CN105094826A (en) * | 2015-07-23 | 2015-11-25 | 上海斐讯数据通信技术有限公司 | Response method and device thereof for interactive interface views in client terminal system |
CN105389258A (en) * | 2015-12-10 | 2016-03-09 | 腾讯科技(深圳)有限公司 | Program detection method and apparatus |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101504658B (en) * | 2009-01-23 | 2011-09-28 | 北京搜狗科技发展有限公司 | Method and system for implementing message interaction in multi-tag application program |
-
2016
- 2016-05-05 CN CN201610293475.3A patent/CN106708613B/en active Active
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH11272502A (en) * | 1998-03-24 | 1999-10-08 | Canon Inc | Software reliability evaluation device, its method and storage medium |
CN102830785A (en) * | 2011-06-17 | 2012-12-19 | 上海果壳电子有限公司 | Quick response system for equipment end input interaction and implementation method thereof |
CN103220427A (en) * | 2013-04-16 | 2013-07-24 | 广东欧珀移动通信有限公司 | Mobile phone background program cleaning method and mobile phone |
CN103997673A (en) * | 2014-05-15 | 2014-08-20 | Tcl集团股份有限公司 | Event processing method and device |
CN104731643A (en) * | 2015-02-27 | 2015-06-24 | 浙江大学 | Management method and system for background application program |
CN105094826A (en) * | 2015-07-23 | 2015-11-25 | 上海斐讯数据通信技术有限公司 | Response method and device thereof for interactive interface views in client terminal system |
CN105094936A (en) * | 2015-09-24 | 2015-11-25 | 广东小天才科技有限公司 | Background application program cleaning method and device applied to mobile terminal |
CN105389258A (en) * | 2015-12-10 | 2016-03-09 | 腾讯科技(深圳)有限公司 | Program detection method and apparatus |
Also Published As
Publication number | Publication date |
---|---|
CN106708613A (en) | 2017-05-24 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107526525B (en) | A kind of screenshotss method, apparatus, mobile terminal and computer readable storage medium | |
US20160004574A1 (en) | Method and apparatus for accelerating system running | |
US9104292B2 (en) | User interface of electronic apparatus for displaying application indicators | |
CN106909281A (en) | One kind application inner boundary changing method and device | |
CN103092342A (en) | Processing method and device of mobile terminal | |
CN103501237B (en) | Device management method, management platform, equipment and system | |
CN104239139A (en) | Method, device and terminal for processing boot-strap self-starting project | |
CN102262434A (en) | Method and apparatus for modifying a transition to an altered power state of an electronic device based on accelerometer output | |
CN105302619A (en) | Information processing method and device and electronic equipment | |
CN105511853A (en) | Method and system for arraying desktop application program icons | |
CN109922298A (en) | Meeting room monitoring method and device | |
CN107480001A (en) | System recovery method and device | |
CN107967127A (en) | A kind of method for information display and terminal | |
CN109634604A (en) | IOS method for page jump and its system based on mixed developing | |
US20180253313A1 (en) | Operation instruction response control method and terminal for human-machine interface | |
CN108293197A (en) | A kind of resource statistics method, apparatus and terminal | |
CN113574502A (en) | Data acquisition method and device for unmanned vehicle operating system | |
CN106708613B (en) | A kind of detection method and detection device of input control sensitivity | |
CN103677518B (en) | Touch message responding method on a kind of mobile terminal and device | |
CN109213662A (en) | A kind of user's touch-control behavioral data collection method and terminal | |
CN105320405A (en) | Icon display method and terminal | |
CN106293386A (en) | A kind of method of hide application program and mobile terminal | |
CN111209481A (en) | Data exposure method, device, electronic equipment and computer readable medium | |
CN110515685A (en) | A kind of information flow methods of exhibiting and equipment | |
CN106293312A (en) | The method and apparatus that terminal movable control shows |
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 |