CN106708613A - Input control sensitivity detection method and device - Google Patents

Input control sensitivity detection method and device Download PDF

Info

Publication number
CN106708613A
CN106708613A CN201610293475.3A CN201610293475A CN106708613A CN 106708613 A CN106708613 A CN 106708613A CN 201610293475 A CN201610293475 A CN 201610293475A CN 106708613 A CN106708613 A CN 106708613A
Authority
CN
China
Prior art keywords
input
quantization parameter
input control
control sensitivity
entrance
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
CN201610293475.3A
Other languages
Chinese (zh)
Other versions
CN106708613B (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.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology 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 Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201610293475.3A priority Critical patent/CN106708613B/en
Publication of CN106708613A publication Critical patent/CN106708613A/en
Application granted granted Critical
Publication of CN106708613B publication Critical patent/CN106708613B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements 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/46Multiprogramming arrangements
    • G06F9/48Program initiating; Program switching, e.g. by interrupt
    • G06F9/4806Task transfer initiation or dispatching
    • G06F9/4812Task 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 an input control sensitivity detection method. The method comprises the following steps of: adding an input interrupt event generated through carrying out input control by input equipment into an input event queue of the input equipment; recording an enter quantization parameter, entering the input event queue, of the input interrupt event; recording a take-out quantization parameter, taken out from the input event queue by an input event calling program, of the input interrupt event; and when a difference value between the enter quantization parameter and the take-out quantization parameter is higher than a preset threshold value, determining that the input control sensitivity of the input equipment does not satisfy a preset requirement. According to the input control sensitivity detection method provided by the invention, determination can be carried out through the difference value between the enter quantization parameter and the take-out quantization parameter of the input interrupt event, so that the input control sensitivity detection accuracy is improved.

Description

A kind of detection method and detection means for being input into control sensitivity
Technical field
The present invention relates to signal detection technique field, and in particular to a kind of input controls the detection method of sensitivity And detection means.
Background technology
User equipment to be substantially carried out by input equipment and is input into control, for example:Computer is substantially logical Crossing mouse carries out being input into control.
Configuring computer higher in the prior art would generally quickly respond the input control of mouse, and configuration is compared Low computer often occurs situations such as card is slow, and cursor drift is indefinite, if the input control of computer response mouse It is very slow, then the efficiency that influence user that can be serious and computer are linked up, so needing detection computer to be input into mouse The sensitivity of control.
It is substantially in the prior art and is detected by detecting the usage amount of processor and internal memory in user equipment The input of input equipment controls whether to occur that card is slow, but, it is existing with the development of the communication technology The hardware configuration of user equipment is all become better and better, even if the usage amount of processor and internal memory is all very high, is also differed Surely the slow situation of input equipment input control card occurs, so the result warp that this detection mode is detected It is often inaccurate.
The content of the invention
The embodiment of the present invention provides a kind of detection method for being input into control sensitivity, can improve to input equipment The detection accuracy of input control sensitivity.The embodiment of the present invention additionally provides corresponding detection means.
First aspect present invention provides a kind of detection method for being input into control sensitivity, including:
Input equipment is carried out the input interrupt event produced by input control and is added to the input equipment In incoming event queue;
Record the entrance quantization parameter that the input interrupt event enters the incoming event queue;
Record incoming event caller takes out the input interrupt event from the incoming event queue Take out quantization parameter;
When the difference between the entrance quantization parameter and the taking-up quantization parameter is higher than preset threshold value, really The input control sensitivity of the fixed input equipment is unsatisfactory for preset requirement.
Second aspect present invention provides a kind of detection means for being input into control sensitivity, including:
Adding device, institute is added to for input equipment to be carried out the input interrupt event produced by input control In stating the incoming event queue of input equipment;
First recording unit, enters described for recording the input interrupt event by adding device addition The entrance quantization parameter of incoming event queue;
Second recording unit, institute is taken out for recording incoming event caller from the incoming event queue State the taking-up quantization parameter of input interrupt event;
Determining unit, for the entrance quantization parameter when first recording unit records and the described second record When the difference taken out between quantization parameter of unit record is higher than preset threshold value, the defeated of the input equipment is determined Enter and control sensitivity to be unsatisfactory for preset requirement.
The detection method of input control sensitivity provided in an embodiment of the present invention, input control is carried out by input equipment Input interrupt event produced by system is added in the incoming event queue of the input equipment;Record described defeated Enter interrupt event into the entrance quantization parameter of the incoming event queue;Record incoming event caller from The taking-up quantization parameter of the input interrupt event is taken out in the incoming event queue;Enter quantization when described When difference between parameter and the taking-up quantization parameter is higher than preset threshold value, the defeated of the input equipment is determined Enter and control sensitivity to be unsatisfactory for preset requirement.With examined by the occupancy of processor and internal memory in the prior art Survey input control sensitivity, cause detection it is inaccurate compare, it is provided in an embodiment of the present invention input control it is sensitive The detection method of degree, can be carried out really by being input into the difference of the quantization parameter of entrance and the taking-up of interrupt event It is fixed, so as to improve the accuracy of input control sensitivity technique.
Brief description of the drawings
Technical scheme in order to illustrate more clearly the embodiments of the present invention, institute in being described to embodiment below The accompanying drawing for needing to use is briefly described, it should be apparent that, drawings in the following description are only the present invention Some embodiments, for those skilled in the art, on the premise of not paying creative work, also Other accompanying drawings can be obtained according to these accompanying drawings.
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 that the example of the entrance of input interrupt event and taking-up in the embodiment of the present invention describes 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 means of input control sensitivity in the embodiment of the present invention;
Fig. 6 is another embodiment schematic diagram of the detection means of input control sensitivity in the embodiment of the present invention;
Fig. 7 is another embodiment schematic diagram of the detection means 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 for being input into control sensitivity, can improve to input equipment The detection accuracy of input control sensitivity.The embodiment of the present invention additionally provides corresponding detection means.Below It is described in detail respectively.
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clearly Chu, it is fully described by, it is clear that described embodiment is only a part of embodiment of the invention, rather than Whole embodiments.Based on the embodiment in the present invention, those skilled in the art are not making creative labor The every other embodiment obtained under the premise of dynamic, belongs to the scope of protection of the invention.
Input control described by the embodiment of the present invention mainly includes personal computer (Personal Computer, PC) on mouse input control, the input control of Trackpad and mobile phone on notebook computer The input control of upper touch-screen, can also include input control of keyboard etc..The present invention is implemented in subsequent descriptions It is many in example to be illustrated by taking the input control of mouse as an example, but should not be construed as being only limited to the input control of mouse System, above-mentioned other listed several input controls are included in the embodiment of the present invention, simply either mouse Mark, Trackpad, touch-screen, or keyboard, the Cleaning Principle of input control sensitivity is 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 can be understood as input control card slowly, For example:Mouse card is slow, when such as computer user moves mouse, on screen the cursor of correspondence mouse float it is indefinite, The action of operator can not be accurately followed to move.Certainly, input through keyboard, touch-screen input and Trackpad input Corresponding cursor card falls within input control sensitivity and is unsatisfactory for preset requirement slowly.It is slowly with mouse card below Example is illustrated.
Fig. 1 is the slow schematic diagram of a scenario of mouse card.As shown in figure 1, user is moved into place mouse by position A B is put, and the cursor on display corresponding to mouse does not also move to target position D from original position C, But there is interim card, swim near the C of position.The mouse drawn in Fig. 1 is wireless mouse, so mouse Mark and display do not have annexation, if mouse is wire mouse, mouse and display are required for connection Onto main frame.
Fig. 2 is an embodiment schematic diagram of the detection method of input control sensitivity in the embodiment of the present invention.
Refering to Fig. 2, an embodiment bag of the detection method of input control sensitivity provided in an embodiment of the present invention Include:
101st, input equipment is carried out the input interrupt event produced by input control be added to it is described input set In standby incoming event queue.
Input equipment in the application can include input control panel, touch-screen on mouse, notebook computer With keyboard etc..
Input interrupt event refers to that user carries out interrupt event produced when input is controlled by input equipment, For example, the mouse interrupts event produced by mouse movement.
Incoming event queue refers to the team of the input interrupt event arranged according to the generation order of interrupt event Row.The queue of mouse interrupts event is the incoming event queue of mouse, and keyboard interrupt event is keyboard Incoming event queue, the input interrupt event produced by different input equipments is not overlapped mutually.
102nd, the entrance quantization parameter that the input interrupt event enters the incoming event queue is recorded.
Can include that input interrupt event enters the admission velocity of the incoming event queue into quantization parameter With into quantity etc., speed can also use frequency representation.
103rd, record incoming event caller takes out the input from the incoming event queue and interrupts thing The taking-up quantization parameter of part.
Taking out quantization parameter can take out institute including incoming event caller from the incoming event queue Speed and quantity of input interrupt event etc. are stated, speed can also use frequency representation.
Fig. 3 is that the example of the entrance of input interrupt event and taking-up in the embodiment of the present invention describes schematic diagram.Such as Fig. 3 It is shown, by taking mouse as an example, mouse interrupts event, mouse interrupts thing are produced in the input control of inner nuclear layer mouse Part enters incoming event queue, is ranked up according to the generation order of mouse interrupts event, and incoming event is called Program calls mouse interrupts event from application layer, and the mouse interrupts event is taken out from incoming event queue, Processed, that is, performed the mouse interrupts event, the cursor corresponding to mouse is interrupted into thing according to input The requirement of part is moved.
Can be correspondence after mouse carries out input control generation mouse interrupts event for reference to actual process Deferred procedure call (DPC, Delay procedure call) routine is responsible for related mouse interrupts event It is put into incoming event queue.The csrss processes of windows subsystems are responsible for obtaining mouse from incoming event queue Interrupt event is marked, and is distributed to corresponding process and perform the mouse interrupts event.
The effect of routine similar to function, but implication more horn of plenty some.Routine is that certain system external is provided Functional interface or service set.API, service of such as operating system etc. are exactly routine.
104th, when the difference between the entrance quantization parameter and the taking-up quantization parameter is higher than preset threshold value When, determine that 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 be produce, It is then consumption to take out, if what is produced is too fast, consumption it is too slow, then input control sensitivity can not meet naturally Preset requirement, if production is too many, very little, then input control sensitivity can not naturally also meet pre- for consumption If it is required that.
Alternatively, the entrance quantization parameter is admission velocity, when the taking-up quantization parameter is take-off speed, When the admission velocity is higher than the preset threshold value with the difference of the take-off speed, the input equipment is determined Input control sensitivity be unsatisfactory for preset requirement.
Alternatively, the entrance quantization parameter is to enter quantity, when the taking-up quantization parameter is for taking-up quantity, When the entrance quantity is higher than the preset threshold value with the difference of the taking-up quantity, the input equipment is determined Input control sensitivity be unsatisfactory for preset requirement.
For example:The admission velocity of mouse interrupts event is 10/second, and take-off speed is 2/second, if into speed The threshold value of degree and take-off speed difference is 2/second.Then 10/second subtract 2/second equal to 8/second, 8/second More than/second of threshold value 2.Then illustrate, formation speed is far above consumption rate, then input control sensitivity is discontented with Sufficient preset requirement.
If the entrance quantity of mouse interrupts event is 10, take-off speed is 2, if admission velocity and taking-up The threshold value of speed difference is 2.Then 10 subtract 2 equal to 8, and 8 are more than preset 2.Then illustrate, Formation speed is far above consumption rate, then input control sensitivity is unsatisfactory for preset requirement.
The detection method of input control sensitivity provided in an embodiment of the present invention, input control is carried out by input equipment Input interrupt event produced by system is added in the incoming event queue of the input equipment;Record described defeated Enter interrupt event into the entrance quantization parameter of the incoming event queue;Record incoming event caller from The taking-up quantization parameter of the input interrupt event is taken out in the incoming event queue;Enter quantization when described When difference between parameter and the taking-up quantization parameter is higher than preset threshold value, the defeated of the input equipment is determined Enter and control sensitivity to be unsatisfactory for preset requirement.With examined by the occupancy of processor and internal memory in the prior art Survey input control sensitivity, cause detection it is inaccurate compare, it is provided in an embodiment of the present invention input control it is sensitive The detection method of degree, can be carried out really by being input into the difference of the quantization parameter of entrance and the taking-up of interrupt event It is fixed, so as to improve the accuracy of input control sensitivity technique.
Alternatively, the input control sensitivity for determining the input equipment is unsatisfactory for preset requirement, can be with Including:
Detect the hardware resource related to the input control sensitivity;
When the related unappropriated surplus of hardware resource is less than predetermined threshold value, the input is determined The input control sensitivity of equipment is unsatisfactory for preset requirement.
In the application, can be including processor and interior to the related hardware resource of the input control sensitivity Deposit, when processor and the unappropriated surplus of internal memory, that is, the resource being not used by are less than predetermined threshold value When, illustrating the surplus resources of processor and internal memory can not meet the input demand for control of input equipment, then Further determined that input control sensitivity is unsatisfactory for preset requirement, enhance the degree of accuracy of sensitivity technique.
It is alternatively, described when the related unappropriated surplus of hardware resource is less than predetermined threshold value, Determine that the input control sensitivity of the input equipment is unsatisfactory for after preset requirement, methods described also includes:
It is determined that currently taking the process of the hardware resource of the correlation, and show the process.
In the application, it is determined that input control sensitivity is unsatisfactory for after preset requirement, openable windows can also be detected The quantity of mouth, and the process being currently running determines it is all which process occupies related hardware resource, so These processes are showed into user afterwards, to prompt the user whether to close some processes, to vacate hardware money Source, to improve the sensitivity of input control.
For the clearer detection process for understanding the application input control sensitivity, referring next to this hair of Fig. 4 Another embodiment schematic diagram of the detection method of control sensitivity is input into bright embodiment, present invention implementation is illustrated The process of the detection of control sensitivity is input into example:
Illustrated so that mouse carries out input control as an example in Fig. 4.
As shown in figure 4, the detection means of input control sensitivity includes inner nuclear layer and application layer, in kernel Layer includes that mouse interrupts intercepting component 201, system mouse drives 202, mouse filtration drive 203 and mouse spirit Condition adjudgement component 204 living, mouse applications layer logic module 205, system csrss processes are included in application layer 206, wherein, the intercepting system mouse interrupts of mouse interrupts intercepting component 201, mouse interrupts intercepting component 201 The mouse interrupts intercepted are the process of production mouse interrupts event, and the opportunity that mouse interrupts event is produced can As a kind of effect of pseudo- baseline baseline:The scheduling very high in windows systems of DPC routines Rank, when producing the generation of mouse interrupts event, it can preferentially be dispatched, as shown in figure 4, DPC routines Effect is that mouse interrupts event is put into incoming event queue, it can be defined as at this " production- The producer in consumption " model.It is notified that after the intercepting system mouse interrupts of mouse interrupts intercepting component 201 and is System mouse-driven 202 has mouse interrupts event, and system mouse drives 202 to be notified that the mistake of mouse filtration drive 203 The system csrss processes 206 for filtering application layer are transferred to mouse interrupts event, and system csrss processes 206 are to mouse Interrupt event transfers process as consumer, and csrss processes are general process priority levels, it is possible that Mouse interrupts event can be caused not transferred in time.When feeling mouse card during user's operating computer Wait, illustrate that consumer does not get caught up in the producer far and disappears interrupt event digesting mouse, and produce this problem Reason, it is evident that because system related resource is not sufficient enough so that csrss processes distribute mouse information It is more slow.
After " Producer-consumer problem " model of mouse input control described by said process is obtained, this The data of individual Producer-consumer problem " model are injected into the flexible condition adjudgement component 204 of mouse and are judged, It is determined that the speed for extracting mouse interrupts event is differed than the speed that mouse interrupts event is produced, if both The difference of speed is more than predetermined threshold value, then both speed differences of explanation are larger, it is determined that be now systematic comparison Card is slow, and input control sensitivity is unsatisfactory for preset requirement.
No matter the flexible determination system of condition adjudgement component 204 of mouse whether block it is slow after, result can all be notified arrive The mouse applications layer logic module 205 of application layer, application layer can just point out the slow shape of card of user's current system State.
The correlation module of application layer can also the correlation technique such as the processor of allocating conventional, internal memory and window again Reaffirm the slow phenomenon of system card and cause the process of this slow phenomenon of card, finally shown on interface to Family, and ask the user whether to need to solve this slow phenomenon of card.
More than, described is the detection method of input control sensitivity, is introduced with reference to the above method The detection means 30 of control sensitivity is input into the application.
Fig. 5 is an embodiment schematic diagram of the detection means 30 of input control sensitivity in the application.
As shown in figure 5, the embodiment that the detection means 30 of control sensitivity is input into the application includes:
Adding device 301, for input equipment to be carried out the input interrupt event addition produced by input control To in the incoming event queue of the input equipment;
First recording unit 302, is added to for recording the input interrupt event by the adding device 301 Enter the entrance quantization parameter of the incoming event queue;
Second recording unit 303, takes for recording incoming event caller from the incoming event queue Go out the taking-up quantization parameter of the input interrupt event;
Determining unit 304, for the entrance quantization parameter and described recorded when first recording unit 302 When the difference taken out between quantization parameter of the record of two recording unit 303 is higher than preset threshold value, determine described defeated The input control sensitivity for entering equipment is unsatisfactory for preset requirement.
In the embodiment of the present invention, adding device 301 is in input equipment to be carried out the input produced by input control Interrupt event is added in the incoming event queue of the input equipment;First recording unit 302 records described Input interrupt event is added by the adding device 301 and quantifies to join into entering for the incoming event queue Number;The record incoming event caller of second recording unit 303 takes out described from the incoming event queue It is input into the taking-up quantization parameter of interrupt event;Determining unit 304 is entered when first recording unit 302 record Enter the difference taken out between quantization parameter of quantization parameter and second recording unit 303 record higher than preset During threshold value, determine that the input control sensitivity of the input equipment is unsatisfactory for preset requirement.With in the prior art Detected by the occupancy of processor and internal memory input control sensitivity, cause detection it is inaccurate compare, this The detection means of the input control sensitivity that inventive embodiments are provided, can be by being input into the entrance of interrupt event Difference with the quantization parameter for taking out is determined, so as to improve the accurate of input control sensitivity technique Degree.
Alternatively, the determining unit 304, it is described for being admission velocity when the entrance quantization parameter When taking out quantization parameter for take-off speed, when the difference of the admission velocity and the take-off speed is higher than described Preset threshold value, determines that the input control sensitivity of the input equipment is unsatisfactory for preset requirement.
Alternatively, the determining unit 304, it is described for being to enter quantity when the entrance quantization parameter Quantization parameter is taken out to take out during quantity, when the entrance quantity is higher than described with the difference of the taking-up quantity Preset threshold value, determines that the input control sensitivity of the input equipment is unsatisfactory for preset requirement.
Alternatively, the determining unit 304, for detecting the hardware related to the input control sensitivity Resource, when the related unappropriated surplus of hardware resource is less than predetermined threshold value, determines described defeated The input control sensitivity for entering equipment is unsatisfactory for preset requirement.
Alternatively, on the basis of above-mentioned alternative embodiment, refering to Fig. 6, inspection provided in an embodiment of the present invention Survey in another alternative embodiment of device 30, the detection means 30 also includes display unit 305,
The determining unit 304, is additionally operable to determine currently take the process of the related hardware resource;
The display unit 305, for showing the process that the determining unit 304 determines.
More than, any embodiment or optional of the detection means 30 of input control sensitivity described herein The associated description that embodiment can refer to Fig. 1 to Fig. 4 parts is understood that this place does not do and excessively repeats.
Fig. 7 is the structural representation of the detection means 30 of input control sensitivity provided in an embodiment of the present invention. The detection means 30 of the input control sensitivity sets including processor 310, memory 350 and input/output Standby 330, input-output apparatus 330 can include mouse, keyboard, touch-screen and display, memory 350 Read-only storage and random access memory can be included, and operational order and data are provided to processor 310. The a part of of memory 350 can also include nonvolatile RAM (NVRAM).
In some embodiments, memory 350 stores following element, can perform module or data Structure, or their subset, or their superset:
In embodiments of the present invention, by calling the operational order of the storage of memory 350, (operational order can Storage is in an operating system),
Input equipment is carried out the input interrupt event produced by input control and is added to the input equipment In incoming event queue;
Record the entrance quantization parameter that the input interrupt event enters the incoming event queue;
Record incoming event caller takes out the input interrupt event from the incoming event queue Take out quantization parameter;
When the difference between the entrance quantization parameter and the taking-up quantization parameter is higher than preset threshold value, really The input control sensitivity of the fixed input equipment is unsatisfactory for preset requirement.
Sensitivity is controlled with input is detected by the occupancy of processor and internal memory in the prior art, causes inspection Indeterminacy is really compared, the detection means of input control sensitivity provided in an embodiment of the present invention, can be by defeated The difference for entering the quantization parameter of entrance and the taking-up of interrupt event is determined, so as to improve input control spirit The accuracy of sensitivity detection.
The operation of the detection means 30 of the control input of processor 310 control sensitivity, processor 310 can also claim It is CPU (Central Processing Unit, CPU).Memory 350 can include read-only depositing Reservoir and random access memory, and to the provide instruction and data of processor 310.A part for memory 350 Nonvolatile RAM (NVRAM) can also be included.Control spirit is input into specific application Each component of the detection means 30 of sensitivity is coupled by bus system 320, wherein bus system 320 In addition to including data/address bus, can also be including power bus, controlling bus and status signal bus in addition etc..But Be for clear explanation for the sake of, various buses are all designated as bus system 320 in figure.
The method that the embodiments of the present invention are disclosed can apply in processor 310, or by processor 310 Realize.Processor 310 is probably a kind of IC chip, the disposal ability with signal.Realizing Cheng Zhong, each step of the above method can be by the integrated logic circuit or soft of the hardware in processor 310 The instruction of part form is completed.Above-mentioned processor 310 can be general processor, digital signal processor (DSP), application specific integrated circuit (ASIC), ready-made programmable gate array (FPGA) or other can compile Journey logical device, discrete gate or transistor logic, discrete hardware components.Can realize or perform Disclosed each method, step and logic diagram in the embodiment of the present invention.General processor can be microprocessor Device or the processor can also be any conventional processors etc..Side with reference to disclosed in the embodiment of the present invention The step of method, can be embodied directly in hardware decoding processor and perform completion, or with hard in decoding processor Part and software module combination perform completion.Software module may be located at random access memory, flash memory, read-only storage This area such as device, programmable read only memory or electrically erasable programmable memory, register is ripe to deposit In storage media.The storage medium is located at memory 350, and processor 310 reads the information in memory 350, The step of above method being completed with reference to its hardware.
Alternatively, the processor 310 is used for when the entrance quantization parameter is admission velocity, the taking-up When quantization parameter is take-off speed, when the admission velocity is higher than described preset with the difference of the take-off speed Threshold value, determines that the input control sensitivity of the input equipment is unsatisfactory for preset requirement.
Alternatively, the processor 310 is used for when the entrance quantization parameter is to enter quantity, the taking-up When quantization parameter is for taking-up quantity, when the entrance quantity is higher than described preset with the difference of the taking-up quantity Threshold value, determines that the input control sensitivity of the input equipment is unsatisfactory for preset requirement.
Alternatively, the processor 310 is used to detect control the related hardware resource of sensitivity to the input, When the related unappropriated surplus of hardware resource is less than predetermined threshold value, the input equipment is determined Input control sensitivity be unsatisfactory for preset requirement.
Alternatively, the processor 310 is additionally operable to determine the process of the hardware resource for currently taking the correlation;
The input-output equipment 330 is used to show the process for determining.
The detection means 30 of input control sensitivity above can refer to the associated description of Fig. 1 to Fig. 6 parts Understood, this place does not do and excessively repeats.
One of ordinary skill in the art will appreciate that all or part of step in the various methods of above-described embodiment Rapid to can be by program to instruct the hardware of correlation to complete, the program can be stored in a computer-readable In storage medium, storage medium can include:ROM, RAM, disk or CD etc..
The detection method and detection means of the input control sensitivity for being provided the embodiment of the present invention above It is described in detail, specific case used herein is explained principle of the invention and implementation method State, the explanation of above example is only intended to help and understands the method for the present invention and its core concept;Meanwhile, For those of ordinary skill in the art, according to thought of the invention, in specific embodiment and range of application On will change, in sum, this specification content should not be construed as limiting the invention.

Claims (10)

1. it is a kind of to be input into the detection method for controlling sensitivity, it is characterised in that including:
Input equipment is carried out the input interrupt event produced by input control and is added to the input equipment In incoming event queue;
Record the entrance quantization parameter that the input interrupt event enters the incoming event queue;
Record incoming event caller takes out the input interrupt event from the incoming event queue Take out quantization parameter;
When the difference between the entrance quantization parameter and the taking-up quantization parameter is higher than preset threshold value, really The input control sensitivity of the fixed input equipment is unsatisfactory for preset requirement.
2. detection method according to claim 1, it is characterised in that the entrance quantization parameter be into Enter speed, it is described when the entrance quantization parameter takes with described when the taking-up quantization parameter is take-off speed When the difference gone out between quantization parameter is higher than preset threshold value, determine that the input control card of the input equipment is slow, Including:
When the admission velocity is higher than the preset threshold value with the difference of the take-off speed, the input is determined The input control sensitivity of equipment is unsatisfactory for preset requirement.
3. detection method according to claim 1, it is characterised in that the entrance quantization parameter be into Enter quantity, the taking-up quantization parameter is described when the entrance quantization parameter takes with described to take out during quantity When the difference gone out between quantization parameter is higher than preset threshold value, determine that the input control card of the input equipment is slow, Including:
When the entrance quantity is higher than the preset threshold value with the difference of the taking-up quantity, the input is determined The input control sensitivity of equipment is unsatisfactory for preset requirement.
4. according to any described detection methods of claim 1-3, it is characterised in that the determination is described defeated The input control sensitivity for entering equipment is unsatisfactory for preset requirement, including:
Detect the hardware resource related to the input control sensitivity;
When the related unappropriated surplus of hardware resource is less than predetermined threshold value, the input is determined The input control sensitivity of equipment is unsatisfactory for preset requirement.
5. detection method according to claim 4, it is characterised in that described when the related hardware When the unappropriated surplus of resource is less than predetermined threshold value, the input control sensitivity of the input equipment is determined It is unsatisfactory for after preset requirement, methods described also includes:
It is determined that currently taking the process of the hardware resource of the correlation, and show the process.
6. it is a kind of to be input into the detection means for controlling sensitivity, it is characterised in that including:
Adding device, institute is added to for input equipment to be carried out the input interrupt event produced by input control In stating the incoming event queue of input equipment;
First recording unit, enters described for recording the input interrupt event by adding device addition The entrance quantization parameter of incoming event queue;
Second recording unit, institute is taken out for recording incoming event caller from the incoming event queue State the taking-up quantization parameter of input interrupt event;
Determining unit, for the entrance quantization parameter when first recording unit records and the described second record When the difference taken out between quantization parameter of unit record is higher than preset threshold value, the defeated of the input equipment is determined Enter and control sensitivity to be unsatisfactory for preset requirement.
7. detection means according to claim 6, it is characterised in that
The determining unit, for being admission velocity, the taking-up quantization parameter when the entrance quantization parameter During for take-off speed, when the admission velocity is higher than the preset threshold value with the difference of the take-off speed, really The input control sensitivity of the fixed input equipment is unsatisfactory for preset requirement.
8. detection means according to claim 6, it is characterised in that
The determining unit, for being to enter quantity when the entrance quantization parameter, the taking-up quantization parameter To take out during quantity, when the entrance quantity is higher than the preset threshold value with the difference of the taking-up quantity, really The input control sensitivity of the fixed input equipment is unsatisfactory for preset requirement.
9. according to any described detection means of claim 6-8, it is characterised in that
The determining unit, for detecting the hardware resource related to the input control sensitivity, when described When the related unappropriated surplus of hardware resource is less than predetermined threshold value, the input of the input equipment is determined Control sensitivity is unsatisfactory for preset requirement.
10. detection means according to claim 9, it is characterised in that the detection means also includes Display unit,
The determining unit, is additionally operable to determine currently take the process of the related hardware resource;
The display unit, for showing the process that the determining unit determines.
CN201610293475.3A 2016-05-05 2016-05-05 A kind of detection method and detection device of input control sensitivity Active CN106708613B (en)

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 true CN106708613A (en) 2017-05-24
CN106708613B 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 (9)

* Cited by examiner, † Cited by third party
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
CN101504658A (en) * 2009-01-23 2009-08-12 北京搜狗科技发展有限公司 Method and system for implementing message interaction in multi-tag application program
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

Patent Citations (9)

* Cited by examiner, † Cited by third party
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
CN101504658A (en) * 2009-01-23 2009-08-12 北京搜狗科技发展有限公司 Method and system for implementing message interaction in multi-tag application program
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
CN106708613B (en) 2019-09-17

Similar Documents

Publication Publication Date Title
KR101691117B1 (en) Secure data container for web applications
US20160004574A1 (en) Method and apparatus for accelerating system running
CN106681933A (en) Memory management method and terminal
CN104239139A (en) Method, device and terminal for processing boot-strap self-starting project
CN108292165A (en) Touch posture detection assessment
CN105302619A (en) Information processing method and device and electronic equipment
CN107480001A (en) System recovery method and device
CN106331509A (en) Photographing method and mobile terminal
CN107704155A (en) Application program image target methods of exhibiting, device, terminal and storage medium
CN107682480A (en) A kind of control method of flip terminal, flip terminal and computer-readable medium
CN110888628A (en) Method, device, equipment and storage medium for generating control tool
CN106504000A (en) User terminal and means of payment detection means and method
CN106484779A (en) File operation method and device
CN106201699A (en) The method and device of application is started in robot operating system
CN106708613A (en) Input control sensitivity detection method and device
CN107315947A (en) Pay class application management method, device and mobile terminal
CN110033383B (en) Data processing method, device, medium and apparatus
CN113467656B (en) Screen touch event notification method and vehicle machine
TWI718690B (en) Model merging method and device
US11023348B2 (en) Multi-layer autoscaling for a scale-up cloud server
CN108920217B (en) Reconstruction method for reducing non-reentrant function
CN109918276B (en) Exposure buried point processing method based on APP and related equipment
CN113780163A (en) Page loading time detection method and device, electronic equipment and medium
CN110147515A (en) The access method and device of webpage
EP2365434B1 (en) Method for accessing user interface elements of running third party applications on symbian based mobile device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant