CN105260041A - automatic mouse DPI adjusting method and speed-adaptive mouse - Google Patents

automatic mouse DPI adjusting method and speed-adaptive mouse Download PDF

Info

Publication number
CN105260041A
CN105260041A CN201510650933.XA CN201510650933A CN105260041A CN 105260041 A CN105260041 A CN 105260041A CN 201510650933 A CN201510650933 A CN 201510650933A CN 105260041 A CN105260041 A CN 105260041A
Authority
CN
China
Prior art keywords
dpi
mouse
value
comparisons
task type
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.)
Pending
Application number
CN201510650933.XA
Other languages
Chinese (zh)
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.)
China Astronaut Research and Training Center
Zhejiang Sci Tech University ZSTU
Original Assignee
China Astronaut Research and Training Center
Zhejiang Sci Tech University ZSTU
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 China Astronaut Research and Training Center, Zhejiang Sci Tech University ZSTU filed Critical China Astronaut Research and Training Center
Priority to CN201510650933.XA priority Critical patent/CN105260041A/en
Publication of CN105260041A publication Critical patent/CN105260041A/en
Pending legal-status Critical Current

Links

Landscapes

  • Position Input By Displaying (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

本发明属于计算机信号输入设备领域,公开了一种鼠标DPI自动调整方法及自适应速度鼠标。所述鼠标DPI自动调整方法通过构建任务类型ID和DPI对照关系进而设定鼠标DPI。所述自适应速度鼠标包括光学系统、微处理器、储存器,微处理器分别与光学系统、储存器双向连接。本发明在鼠标光学系统的检测下,通过识别不同的任务类型ID,自动调取储存器中的任务类型ID和DPI对照关系,自动改变鼠标DPI以适应不同任务,无需用户手动调节DPI。本发明提供的速度自适应鼠标,可根据判定用户所使用的任务环境,自动选择相适应的鼠标速度,适合于各种可连接鼠标的计算机作为输入设备。The invention belongs to the field of computer signal input equipment, and discloses a mouse DPI automatic adjustment method and an adaptive speed mouse. The mouse DPI automatic adjustment method further sets the mouse DPI by constructing a task type ID and a DPI comparison relationship. The adaptive speed mouse includes an optical system, a microprocessor and a storage, and the microprocessor is bidirectionally connected with the optical system and the storage respectively. Under the detection of the mouse optical system, by identifying different task type IDs, the present invention automatically retrieves the task type ID and DPI comparison relationship in the storage, automatically changes the mouse DPI to adapt to different tasks, and does not require the user to manually adjust the DPI. The speed adaptive mouse provided by the invention can automatically select the appropriate mouse speed according to the task environment used by the user, and is suitable for various computers that can be connected with the mouse as an input device.

Description

一种鼠标DPI自动调整方法及速度自适应鼠标A mouse DPI automatic adjustment method and speed adaptive mouse

技术领域 technical field

本发明属于计算机信号输入设备领域,尤其涉及一种可根据不同任务而速度自适应的鼠标及其DPI自动调整方法。 The invention belongs to the field of computer signal input devices, in particular to a mouse whose speed can be self-adapted according to different tasks and a DPI automatic adjustment method thereof.

背景技术 Background technique

随着鼠标技术的发展,尤其是鼠标性能的改善,鼠标DPI(DotsPerInch,每英寸的像素数)有显著的提高。当我们需要鼠标在屏幕上移动一段固定的距离时,高DPI的鼠标所移动的物理距离会比低DPI鼠标要短。高DPI的鼠标可以对更小的操作在最快的时间里做出反应。但是,现在用户使用鼠标时会面对很多不同的任务,这些任务可能需要鼠标对于不同的任务有特定的速度。有的任务需要频繁的大幅移动鼠标,这就需要鼠标速度较快。有的任务需要对目标进行细微操作,这就需要将速度降下来以提高精度。针对这一问题,申请号为200710076440.5的发明专利提出预设不同的DPI让用户针对不同的任务手动调节鼠标速度,而这种解决方案在用户手动调节DPI时占用了用户的时间,从而降低了工作效率。申请号为200910221384.9的发明专利提出了一种根据鼠标移动速度改变鼠标DPI的方法,但这种方法在实施过程中,容易出现鼠标DPI调节并不适合具体任务的问题,造成指针容易越过目标,从而降低操作效率。 With the development of mouse technology, especially the improvement of mouse performance, mouse DPI (DotsPerInch, the number of pixels per inch) has been significantly improved. When we need the mouse to move a fixed distance on the screen, the physical distance moved by a high-DPI mouse will be shorter than that of a low-DPI mouse. A high-DPI mouse can respond to smaller operations in the fastest time. However, today's users are faced with many different tasks when using a mouse, and these tasks may require the mouse to have a specific speed for different tasks. Some tasks require frequent large-scale movement of the mouse, which requires a faster mouse speed. Some tasks require subtle manipulation of the target, which requires slowing down to improve accuracy. In response to this problem, the invention patent with the application number 200710076440.5 proposes to preset different DPIs to allow users to manually adjust the mouse speed for different tasks, and this solution takes up the user's time when the user manually adjusts the DPI, thereby reducing the workload. efficiency. The invention patent with application number 200910221384.9 proposes a method of changing the mouse DPI according to the moving speed of the mouse. However, during the implementation of this method, the problem that the mouse DPI adjustment is not suitable for specific tasks is likely to occur, causing the pointer to easily cross the target, thus reduce operational efficiency.

发明内容 Contents of the invention

本发明需解决的技术问题是提供一种可识别不同任务类型的鼠标DPI自动调整方法及速度自适应鼠标。 The technical problem to be solved by the present invention is to provide a mouse DPI automatic adjustment method and a speed adaptive mouse that can identify different task types.

为解决上述技术问题,本发明采取技术方案如下: In order to solve the problems of the technologies described above, the present invention takes technical solutions as follows:

一种鼠标DPI自动调整方法,步骤如下: A mouse DPI automatic adjustment method, the steps are as follows:

S1、在鼠标内预设一个空表:任务类型ID和最优选DPI对照表ID/DPI对照表; S1. Preset an empty table in the mouse: task type ID and the most preferred DPI comparison table ID/DPI comparison table;

S2、构建ID/DPI对照表,具体方法如下: S2. Construct the ID/DPI comparison table, the specific method is as follows:

(1)将鼠标的DPI设置为预设值DPI00,此时鼠标的DPI值记为DPIn1;计算此时的任务类型ID,记为IDn,n≥1: (1) Set the DPI of the mouse to the preset value DPI 00 , and record the DPI value of the mouse as DPI n1 at this time; calculate the task type ID at this time, record it as ID n , n≥1:

ID=log2(D/W+I)(1) ID=log 2 (D/W+I)(1)

其中,D为点击目标与鼠标指针当前位置的距离;W为点击目标的宽度; Among them, D is the distance between the click target and the current position of the mouse pointer; W is the width of the click target;

(2)用户根据某一任务类型要求拖动鼠标点击目标,计算此时的操作效率yn1(2) The user drags the mouse and clicks the target according to the requirements of a certain task type, and calculates the operation efficiency y n1 at this time:

ythe y == 11 TT 11 -- TT 22 -- -- -- (( 22 ))

其中,T1是鼠标成功点击目标时刻,T2是目标出现时刻,y为操作效率; Among them, T1 is the time when the mouse clicks the target successfully, T2 is the time when the target appears, and y is the operation efficiency ;

(3)调整鼠标的DPI值为DPIn2,DPIn2是由DPIn1以100为步进,随机正负调整而来;用户再次根据该任务类型要求拖动鼠标点击目标,计算此时的操作效率yn2;多调整几次鼠标的DPI值,获得DPIn3、......DPInj及其对应的操作效率yn3、......ynj,(2≤j),将DPIn1、DPIn2、DPIn3、......DPInj、yn1、yn2、yn3、......ynj代入公式(3),获得多条二次函数曲线,将多条二次函数曲线拟合,可得一条拟合曲线及一组a、b值,当x=-b/2a时,y有最大值,则此时的DPI值使该任务类型IDn的操作效率最高,将此时的DPI值记作DPIn;将IDn值、DPIn值存入ID/DPI对照表; (3) Adjust the DPI value of the mouse to DPI n2 . DPI n2 is adjusted from DPI n1 with a step of 100 and randomly adjusted positive and negative; the user drags the mouse to click the target again according to the task type requirements, and calculates the operation efficiency at this time y n2 ; Adjust the DPI value of the mouse several times to obtain DPI n3 , ... DPI nj and their corresponding operating efficiency y n3 , ... y nj , (2≤j), and set DPI n1 , DPI n2 , DPI n3 , ... DPI nj , y n1 , y n2 , y n3 , ... y nj are substituted into the formula (3), and multiple quadratic function curves are obtained. A quadratic function curve fitting can obtain a fitting curve and a set of a and b values. When x=-b/2a, y has a maximum value, then the DPI value at this time makes the operation of the task type ID n The highest efficiency, record the DPI value at this time as DPI n ; store the ID n value and DPI n value in the ID/DPI comparison table;

y=ax2+bx(3) y=ax 2 +bx(3)

其中,x为DPI值; Among them, x is the DPI value;

根据不同任务类型,重复步骤S2,直至将全部任务类型IDn值及其对应的最优选DPIn值存入ID/DPI对照表中; According to different task types, step S2 is repeated until all task type ID n values and their corresponding most preferred DPI n values are stored in the ID/DPI comparison table;

S3、进行实际任务操作时,首先利用公式(1)计算任务类型ID,然后从ID/DPI对照表中选择与该ID差值最小的IDn值,并将鼠标的DPI值设置为该IDn值对应的最优选DPIn,从而实现鼠标DPI值的自动调整; S3, when carrying out actual task operation, at first utilize formula (1) to calculate task type ID, then select the ID n value with this ID difference minimum from ID/DPI comparison table, and the DPI value of mouse is set to this ID n The most preferred DPI n corresponding to the value, so as to realize the automatic adjustment of the mouse DPI value;

在ID/DPI对照表设置完成后,若有新任务需要重设ID/DPI对照表时,重复步骤S2。 After the ID/DPI comparison table is set, if there is a new task that needs to reset the ID/DPI comparison table, repeat step S2.

上述鼠标DPI自动调整方法中,步骤S2中鼠标DPI预设值DPI00设为1000。 In the above method for automatically adjusting mouse DPI, the mouse DPI preset value DPI 00 is set to 1000 in step S2.

上述鼠标DPI自动调整方法中,步骤S2中优选j≤5。 In the above method for automatically adjusting mouse DPI, preferably j≤5 in step S2.

本发明还提供了一种速度自适应鼠标,包括设置在鼠标内部的光学系统、微处理器、储存器,所述微处理器分别与光学系统、储存器双向连接; The present invention also provides a speed-adaptive mouse, which includes an optical system, a microprocessor, and a storage arranged inside the mouse, and the microprocessor is bidirectionally connected to the optical system and the storage, respectively;

所述光学系统用于采集当前鼠标操作的点击目标与鼠标指针当前位置的距离D和点击目标的宽度W; The optical system is used to collect the distance D between the click target of the current mouse operation and the current position of the mouse pointer and the width W of the click target;

所述微处理器用于构建ID/DPI对照表,并在实际任务操作时,从ID/DPI对照表中选择最适合该任务的DPI值,设置为鼠标此时的DPI值,从而实现鼠标DPI值的自动调整; Described microprocessor is used for constructing ID/DPI comparison table, and when actual task operation, selects the DPI value that is most suitable for this task from ID/DPI comparison table, is set to the DPI value of mouse at this moment, thereby realizes mouse DPI value automatic adjustment of

所述ID/DPI对照表的构建过程如下: The construction process of the ID/DPI comparison table is as follows:

(1)在鼠标内预设一个空表:任务类型ID和最优选DPI对照表ID/DPI对照表 (1) Preset an empty table in the mouse: task type ID and the most preferred DPI comparison table ID/DPI comparison table

(2)将鼠标的DPI值设置为预设值DPI00,此时鼠标的DPI值记为DPIn1;计算此时的任务类型ID,记为IDn,n≥1: (2) Set the DPI value of the mouse to the preset value DPI 00 , and record the DPI value of the mouse as DPI n1 at this time; calculate the task type ID at this time, record it as ID n , n≥1:

ID=log2(D/W+I)(1) ID=log 2 (D/W+I)(1)

其中,D为点击目标与鼠标指针当前位置的距离;W为点击目标的宽度; Among them, D is the distance between the click target and the current position of the mouse pointer; W is the width of the click target;

(3)用户根据某一任务类型要求拖动鼠标点击目标,计算此时的操作效率yn1(3) The user drags the mouse and clicks the target according to the requirements of a certain task type, and calculates the operation efficiency y n1 at this time:

ythe y == 11 TT 11 -- TT 22 -- -- -- (( 22 ))

其中,T1是鼠标成功点击目标时刻,T2是目标出现时刻,y为操作效率; Among them, T1 is the time when the mouse clicks the target successfully, T2 is the time when the target appears, and y is the operation efficiency ;

(4)调整鼠标的DPI值为DPIn2,DPIn2是由DPIn1以100为步进,随机正负调整而来;用户再次根据该任务类型要求拖动鼠标点击目标,计算此时的操作效率yn2;多调整几次鼠标的DPI值,获得DPIn3、......DPInj及其对应的操作效率yn3、......ynj,(2≤j),将DPIn1、DPIn2、DPIn3、......DPInj、yn1、yn2、yn3、......ynj代入公式(3),获得多条二次函数曲线,将多条二次函数曲线拟合,可得一条拟合曲线及一组a、b值,当x=-b/2a时,y有最大值,则此时的DPI值使该任务类型IDn的操作效率最高,将此时的DPI值记作DPIn;将IDn值、DPIn值存入ID/DPI对照表; (4) Adjust the DPI value of the mouse to DPI n2 . DPI n2 is randomly adjusted by DPI n1 with a step of 100. The user drags the mouse to click the target again according to the task type requirements, and calculates the operation efficiency at this time. y n2 ; Adjust the DPI value of the mouse several times to obtain DPI n3 , ... DPI nj and their corresponding operating efficiency y n3 , ... y nj , (2≤j), and set DPI n1 , DPI n2 , DPI n3 , ... DPI nj , y n1 , y n2 , y n3 , ... y nj are substituted into the formula (3), and multiple quadratic function curves are obtained. A quadratic function curve fitting can obtain a fitting curve and a set of a and b values. When x=-b/2a, y has a maximum value, then the DPI value at this time makes the operation of the task type ID n The highest efficiency, record the DPI value at this time as DPI n ; store the ID n value and DPI n value in the ID/DPI comparison table;

y=ax2+bx(3) y=ax 2 +bx(3)

其中,x为DPI值; Among them, x is the DPI value;

根据不同任务类型,重复步骤(2)~(4),直至将全部任务类型IDn值及其对应的最优选DPIn值存入ID/DPI对照表中; According to different task types, repeat steps (2) to (4), until all task type ID n values and their corresponding optimal DPI n values are stored in the ID/DPI comparison table;

所述在实际任务操作时,从ID/DPI对照表中选择最适合该任务的DPI值的过程如下:首先利用公式(1)计算任务类型ID,然后从ID/DPI对照表中选择与该ID差值最小的IDn值,并将鼠标的DPI值设置为该IDn值对应的最优选DPInWhen described in the actual task operation, the process of selecting the DPI value most suitable for the task from the ID/DPI comparison table is as follows: first utilize the formula (1) to calculate the task type ID, and then select the ID that matches the ID from the ID/DPI comparison table. The ID n value with the smallest difference, and the DPI value of the mouse is set to the most preferred DPI n corresponding to the ID n value;

在ID/DPI对照表设置完成后,若有新任务需要重设ID/DPI对照表时,重复步骤(2)~(4),将该新任务类型IDn值及其对应的最优选DPIn值存入ID/DPI对照表中; After the ID/DPI comparison table is set, if there is a new task that needs to reset the ID/DPI comparison table, repeat steps (2) to (4), and the new task type ID n value and its corresponding optimal DPI n The value is stored in the ID/DPI comparison table;

所述储存器用于储存ID/DPI对照表。 The storage is used to store the ID/DPI comparison table.

上述速度自适应鼠标中,鼠标DPI预设值取1000。 In the aforementioned speed-adaptive mouse, the preset value of the mouse DPI is 1000.

本发明有益效果: Beneficial effects of the present invention:

本发明根据判定用户所使用的任务环境,自动选择DPI值,即自动选择相适应的鼠标速度,以适应用户对于不同任务的需求,可以提高特定任务的操作精度,减少操作时间;同时减少用户移动鼠标的物理距离,缓解疲劳。该发明适合于各种可连接鼠标的计算机作为输入设备。 The present invention automatically selects the DPI value according to the task environment used by the user, that is, automatically selects the appropriate mouse speed to meet the user's needs for different tasks, can improve the operation accuracy of specific tasks, reduce operation time, and reduce user movement at the same time. The physical distance of the mouse relieves fatigue. The invention is suitable for various computers that can be connected with a mouse as an input device.

具体实施方式 detailed description

下面对本发明作进一步详细描述,有必要在此指出的是,以下具体实施方式只用于对本发明进行进一步的说明,不能理解为对本发明保护范围的限制,该领域的普通技术人员可以根据上述发明内容对本发明作出一些非本质的改进和调整。 The present invention is described in further detail below, it is necessary to point out here that the following specific embodiments are only used to further illustrate the present invention, and cannot be interpreted as limiting the protection scope of the present invention. Contents Some non-essential improvements and adjustments are made to the present invention.

本发明提供了一种鼠标DPI自动调整方法,包括如下步骤: The invention provides a mouse DPI automatic adjustment method, comprising the following steps:

S1、在鼠标内预设一个空表:任务类型ID和最优选DPI对照表ID/DPI对照表; S1. Preset an empty table in the mouse: task type ID and the most preferred DPI comparison table ID/DPI comparison table;

S2、构建ID/DPI对照表,具体方法如下: S2. Construct the ID/DPI comparison table, the specific method is as follows:

(1)将鼠标的DPI设置为预设值DPI00,此时鼠标的DPI值记为DPIn1;在用户点击鼠标时,计算此时的任务类型ID,记为IDn,n≥1,任务类型ID计算方法如下: (1) Set the DPI of the mouse to the preset value DPI 00. At this time, the DPI value of the mouse is recorded as DPI n1 ; when the user clicks the mouse, calculate the task type ID at this time, and record it as ID n . The type ID is calculated as follows:

ID=log2(D/W+1)(1) ID=log 2 (D/W+1)(1)

其中,D为点击目标与鼠标指针当前位置的距离;W为点击目标的宽度,点击目标的宽度具体是指将目标抽象成圆形,该圆形的直径即为点击目标的宽度; Among them, D is the distance between the click target and the current position of the mouse pointer; W is the width of the click target, and the width of the click target specifically refers to abstracting the target into a circle, and the diameter of the circle is the width of the click target;

(2)用户根据某一任务类型要求拖动鼠标点击目标,计算此时的操作效率yn1(2) The user drags the mouse and clicks the target according to the requirements of a certain task type, and calculates the operation efficiency y n1 at this time:

ythe y == 11 TT 11 -- TT 22 -- -- -- (( 22 ))

其中,y为操作效率,T1是鼠标成功点击目标时刻,T2是目标出现时刻; Among them, y is the operation efficiency, T 1 is the time when the mouse clicks the target successfully, and T 2 is the time when the target appears;

(3)通过实验发现,在某一任务类型下,随着鼠标DPI值的升高,鼠标操作效率有着先上升后下降的规律,可用经验公式描述为: (3) Through experiments, it is found that under a certain task type, with the increase of the mouse DPI value, the mouse operation efficiency has a law that first increases and then decreases, which can be described as:

y=ax2+bx(3) y=ax 2 +bx(3)

其中,a<0,x为DPI值,y为操作效率; Among them, a<0, x is the DPI value, and y is the operating efficiency;

针对任务类型IDn,即同一任务类型下,调整鼠标的DPI值为DPIn2,该DPIn2是由DPIn1调整而来,一般以100为步进,随机正负调整,用户再次根据该任务类型要求拖动鼠标点击目标,计算此时的操作效率yn2;多调整几次鼠标的DPI值,调整方法同前,后一DPI值是前一DPI值通过步长调整得到的,获得DPIn3、......DPInj及其对应的操作效率yn3、......ynj,(其中j代表了调整鼠标DPI的次数,一般情况下优选2≤j≤5),将DPIn1、DPIn2、DPIn3、......DPInj、yn1、yn2、yn3、......ynj代入公式(3),获得多条二次函数曲线,将多条二次函数曲线拟合,可得一条拟合曲线及一组a、b值,当x=-b/2a时,y有最大值,则此时的DPI值使该任务类型IDn的操作效率最高,将此时的DPI值记作DPIn;并将IDn值、DPIn值存入任务类型ID和DPI对照关系表。 For the task type ID n , that is, under the same task type, adjust the DPI value of the mouse to DPI n2 . The DPI n2 is adjusted from DPI n1 . Generally, the step is 100, and the positive and negative adjustments are randomly made. The user again according to the task type It is required to drag the mouse to click on the target, and calculate the operating efficiency y n2 at this time; adjust the DPI value of the mouse several times, the adjustment method is the same as before, and the latter DPI value is obtained by adjusting the previous DPI value through the step length adjustment, and obtain DPI n3 , ...... DPI nj and its corresponding operating efficiency y n3 , ... y nj , (where j represents the number of times to adjust the mouse DPI, generally preferably 2≤j≤5), the DPI n1 , DPI n2 , DPI n3 , ... DPI nj , y n1 , y n2 , y n3 , ... y nj are substituted into the formula (3), and multiple quadratic function curves are obtained. A quadratic function curve fitting can obtain a fitting curve and a set of a and b values. When x=-b/2a, y has a maximum value, then the DPI value at this time makes the operation of the task type ID n The efficiency is the highest, and the DPI value at this time is recorded as DPI n ; and the ID n value and DPI n value are stored in the task type ID and DPI comparison table.

根据不同任务类型,重复步骤S2,直至将全部任务类型IDn值及其对应的最优选DPIn值存入ID/DPI对照表中; According to different task types, step S2 is repeated until all task type ID n values and their corresponding most preferred DPI n values are stored in the ID/DPI comparison table;

S3、进行实际任务操作时,首先利用公式(1)计算任务类型ID,然后从ID/DPI对照表中选择与该ID差值最小的IDn值,并将鼠标的DPI值设置为该IDn值对应的最优选DPIn,从而实现鼠标DPI值的自动调整; S3, when carrying out actual task operation, at first utilize formula (1) to calculate task type ID, then select the ID n value with this ID difference minimum from ID/DPI comparison table, and the DPI value of mouse is set to this ID n The most preferred DPI n corresponding to the value, so as to realize the automatic adjustment of the mouse DPI value;

在ID/DPI对照表设置完成后,若有新任务需要重设ID/DPI对照表时,重复步骤S2。 After the ID/DPI comparison table is set, if there is a new task that needs to reset the ID/DPI comparison table, repeat step S2.

在实际应用中,一般鼠标DPI预设值DPI00设为1000。 In practical applications, the general mouse DPI preset value DPI 00 is set to 1000.

另外本发明还提供了一种速度自适应鼠标,在鼠标内部设置有光学系统、微处理器、储存器,所述微处理器分别与所述光学系统、所述储存器双向连接;所述双向连接是指连接的双方可以向对方发送或接收数据。 In addition, the present invention also provides a speed adaptive mouse, in which an optical system, a microprocessor, and a storage are arranged inside the mouse, and the microprocessor is bidirectionally connected with the optical system and the storage; A connection means that both parties to the connection can send or receive data to each other.

其中,光学系统、微处理器、储存器的作用如下: Among them, the functions of optical system, microprocessor and storage are as follows:

所述光学系统用于采集当前鼠标操作的点击目标与鼠标指针当前位置的距离D和点击目标的宽度W; The optical system is used to collect the distance D between the click target of the current mouse operation and the current position of the mouse pointer and the width W of the click target;

所述微处理器用于构建ID/DPI对照表,并在实际任务操作时,从ID/DPI对照表中选择最适合该任务的DPI值,设置为鼠标此时的DPI值,从而实现鼠标DPI值的自动调整。 Described microprocessor is used for constructing ID/DPI comparison table, and when actual task operation, selects the DPI value that is most suitable for this task from ID/DPI comparison table, is set to the DPI value of mouse at this moment, thereby realizes mouse DPI value automatic adjustment.

所述ID/DPI对照表的构建过程如下: The construction process of the ID/DPI comparison table is as follows:

(1)在鼠标内预设一个空表:任务类型ID和最优选DPI对照表ID/DPI对照表 (1) Preset an empty table in the mouse: task type ID and the most preferred DPI comparison table ID/DPI comparison table

(2)将鼠标的DPI值设置为预设值DPI00,此时鼠标的DPI值记为DPIn1;计算此时的任务类型ID,记为IDn,n≥1: (2) Set the DPI value of the mouse to the preset value DPI 00 , and record the DPI value of the mouse as DPI n1 at this time; calculate the task type ID at this time, record it as ID n , n≥1:

ID=log2(D/W+1)(1) ID=log 2 (D/W+1)(1)

其中,D为点击目标与鼠标指针当前位置的距离;W为点击目标的宽度; Among them, D is the distance between the click target and the current position of the mouse pointer; W is the width of the click target;

(3)用户根据某一任务类型要求拖动鼠标点击目标,计算此时的操作效率yn1(3) The user drags the mouse and clicks the target according to the requirements of a certain task type, and calculates the operation efficiency y n1 at this time:

ythe y == 11 TT 11 -- TT 22 -- -- -- (( 22 ))

其中,T1是鼠标成功点击目标时刻,T2是目标出现时刻,y为操作效率; Among them, T1 is the time when the mouse clicks the target successfully, T2 is the time when the target appears, and y is the operation efficiency ;

(4)调整鼠标的DPI值为DPIn2,DPIn2是由DPIn1以100为步进,随机正负调整而来;用户再次根据该任务类型要求拖动鼠标点击目标,计算此时的操作效率yn2;多调整几次鼠标的DPI值,获得DPIn3、......DPInj及其对应的操作效率yn3、......ynj,(2≤j),将DPIn1、DPIn2、DPIn3、......DPInj、yn1、yn2、yn3、......ynj代入公式(3),获得多条二次函数曲线,将多条二次函数曲线拟合,可得一条拟合曲线及一组a、b值,当x=-b/2a时,y有最大值,则此时的DPI值使该任务类型IDn的操作效率最高,将此时的DPI值记作DPIn;将IDn值、DPIn值存入ID/DPI对照表; (4) Adjust the DPI value of the mouse to DPI n2 . DPI n2 is randomly adjusted by DPI n1 with a step of 100. The user drags the mouse to click the target again according to the task type requirements, and calculates the operation efficiency at this time. y n2 ; Adjust the DPI value of the mouse several times to obtain DPI n3 , ... DPI nj and their corresponding operating efficiency y n3 , ... y nj , (2≤j), and set DPI n1 , DPI n2 , DPI n3 , ... DPI nj , y n1 , y n2 , y n3 , ... y nj are substituted into the formula (3), and multiple quadratic function curves are obtained. A quadratic function curve fitting can obtain a fitting curve and a set of a and b values. When x=-b/2a, y has a maximum value, then the DPI value at this time makes the operation of the task type ID n The highest efficiency, record the DPI value at this time as DPI n ; store the ID n value and DPI n value in the ID/DPI comparison table;

y=ax2+bx(3) y=ax 2 +bx(3)

其中,x为DPI值; Among them, x is the DPI value;

根据不同任务类型,重复步骤(2)~(4),直至将全部任务类型IDn值及其对应的最优选DPIn值存入ID/DPI对照表中; According to different task types, repeat steps (2) to (4), until all task type ID n values and their corresponding optimal DPI n values are stored in the ID/DPI comparison table;

所述在实际任务操作时,从ID/DPI对照表中选择最适合该任务的DPI值的过程如下:首先利用公式(1)计算任务类型ID,然后从ID/DPI对照表中选择与该ID差值最小的IDn值,并将鼠标的DPI值设置为该IDn值对应的最优选DPInWhen described in the actual task operation, the process of selecting the DPI value most suitable for the task from the ID/DPI comparison table is as follows: first utilize the formula (1) to calculate the task type ID, and then select the ID that matches the ID from the ID/DPI comparison table. The ID n value with the smallest difference, and the DPI value of the mouse is set to the most preferred DPI n corresponding to the ID n value;

在ID/DPI对照表设置完成后,若有新任务需要重设ID/DPI对照表时,重复步骤(2)~(4),将该新任务类型IDn值及其对应的最优选DPIn值存入ID/DPI对照表中; After the ID/DPI comparison table is set, if there is a new task that needs to reset the ID/DPI comparison table, repeat steps (2) to (4), and the new task type ID n value and its corresponding optimal DPI n The value is stored in the ID/DPI comparison table;

所述储存器用于储存ID/DPI对照表。 The storage is used to store the ID/DPI comparison table.

Claims (5)

1. a mouse DPI automatic adjusting method, step is as follows:
S1, in mouse, preset an empty table: task type ID and most preferably the DPI table of comparisons ID/DPI table of comparisons;
S2, the structure ID/DPI table of comparisons, concrete grammar is as follows:
(1) DPI of mouse is set to preset value DPI 00, now the DPI value of mouse is designated as DPI n1; Calculate task type ID now, be designated as ID n, n>=1:
ID=log 2(D/W+1)(1)
Wherein, D is the distance clicking target and mouse pointer current location; W is the width clicking target;
(2) according to a certain task type, user requires that dragging mouse clicks target, calculates operating efficiency y now n1:
y = 1 T 1 - T 2 - - - ( 2 )
Wherein, T 1that mouse successfully clicks object time, T 2be that target goes out now, y is operating efficiency;
(3) the DPI value adjusting mouse is DPI n2, DPI n2by DPI n1with 100 for stepping, random positive negative justification; According to this task type, user requires that dragging mouse clicks target, calculates operating efficiency y now again n2; Adjust the DPI value of mouse several times more, obtain DPI n3... DPI njand the operating efficiency y of correspondence n3... y nj, (2≤j), by DPI n1, DPI n2, DPI n3... DPI nj, y n1, y n2, y n3... y njsubstitute into formula (3), obtain many quadratic function curves, by many quadratic function curve matchings, can obtain a matched curve and one group of a, b value, as x=-b/2a, y has maximal value, then DPI value now makes this task type ID noperating efficiency the highest, DPI value is now denoted as DPI n; By ID nvalue, DPI nvalue is stored in the ID/DPI table of comparisons;
y=ax 2+bx(3)
Wherein, x is DPI value;
According to different task type, repeat step S2, until by whole task type ID nthe most preferably DPI of value and correspondence thereof nvalue is stored in the ID/DPI table of comparisons;
S3, when carrying out actual task operation, first utilize formula (1) calculation task type i D, then select from the ID/DPI table of comparisons and the minimum ID of this ID difference nvalue, and the DPI value of mouse is set to this ID nthe most preferably DPI that value is corresponding n, thus realize the automatic adjustment of mouse DPI value;
After the ID/DPI table of comparisons is provided with, if when having new task to need to reset the ID/DPI table of comparisons, repeat step S2.
2. mouse DPI automatic adjusting method according to claim 1, is characterized in that: mouse DPI preset value DPI in step S2 00be set to 1000.
3. mouse DPI automatic adjusting method according to claim 1, is characterized in that: j≤5 in step S2.
4. a speed adaptive mouse, is characterized in that, comprises the optical system, microprocessor, the reservoir that are arranged on mouse inside, and described microprocessor is bi-directionally connected with optical system, reservoir respectively;
Described optical system is for gathering the distance D of click target and the mouse pointer current location of current mouse operation and clicking the width W of target;
Described microprocessor for building the ID/DPI table of comparisons, and when actual task operates, selects the DPI value of this task the most applicable from the ID/DPI table of comparisons, is set to mouse DPI value now, thus realizes the automatic adjustment of mouse DPI value;
The building process of the described ID/DPI table of comparisons is as follows:
(1) in mouse, an empty table is preset: task type ID and most preferably the DPI table of comparisons ID/DPI table of comparisons
(2) the DPI value of mouse is set to preset value DPI 00, now the DPI value of mouse is designated as DPI n1; Calculate task type ID now, be designated as ID n, n>=1:
ID=log 2(D/W+1)(1)
Wherein, D is the distance clicking target and mouse pointer current location; W is the width clicking target;
(3) according to a certain task type, user requires that dragging mouse clicks target, calculates operating efficiency y now n1:
y = 1 T 1 - T 2 - - - ( 2 )
Wherein, T 1that mouse successfully clicks object time, T 2be that target goes out now, y is operating efficiency;
(4) the DPI value adjusting mouse is DPI n2, DPI n2by DPI n1with 100 for stepping, random positive negative justification; According to this task type, user requires that dragging mouse clicks target, calculates operating efficiency y now again n2; Adjust the DPI value of mouse several times more, obtain DPI n3... DPI njand the operating efficiency y of correspondence n3... y nj, (2≤j), by DPI n1, DPI n2, DPI n3... DPI nj, y n1, y n2, y n3... y njsubstitute into formula (3), obtain many quadratic function curves, by many quadratic function curve matchings, can obtain a matched curve and one group of a, b value, as x=-b/2a, y has maximal value, then DPI value now makes this task type ID noperating efficiency the highest, DPI value is now denoted as DPI n; By ID nvalue, DPI nvalue is stored in the ID/DPI table of comparisons;
y=ax 2+bx(3)
Wherein, x is DPI value;
According to different task type, repeat step (2) ~ (4), until by whole task type ID nthe most preferably DPI of value and correspondence thereof nvalue is stored in the ID/DPI table of comparisons;
Described when actual task operates, from the ID/DPI table of comparisons, select the process of the DPI value of this task the most applicable as follows: first utilize formula (1) calculation task type i D, then from the ID/DPI table of comparisons, select the ID minimum with this ID difference nvalue, and the DPI value of mouse is set to this ID nthe most preferably DPI that value is corresponding n;
After the ID/DPI table of comparisons is provided with, if when having new task to need to reset the ID/DPI table of comparisons, repeat step (2) ~ (4), by this new task type i D nthe most preferably DPI of value and correspondence thereof nvalue is stored in the ID/DPI table of comparisons;
Described reservoir is for storing the ID/DPI table of comparisons.
5. speed adaptive mouse according to claim 4, is characterized in that: mouse DPI preset value is set to 1000.
CN201510650933.XA 2015-09-30 2015-09-30 automatic mouse DPI adjusting method and speed-adaptive mouse Pending CN105260041A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510650933.XA CN105260041A (en) 2015-09-30 2015-09-30 automatic mouse DPI adjusting method and speed-adaptive mouse

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510650933.XA CN105260041A (en) 2015-09-30 2015-09-30 automatic mouse DPI adjusting method and speed-adaptive mouse

Publications (1)

Publication Number Publication Date
CN105260041A true CN105260041A (en) 2016-01-20

Family

ID=55099761

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510650933.XA Pending CN105260041A (en) 2015-09-30 2015-09-30 automatic mouse DPI adjusting method and speed-adaptive mouse

Country Status (1)

Country Link
CN (1) CN105260041A (en)

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107108248A (en) * 2014-11-18 2017-08-29 卡利有限公司 Preparation method and device for the calcined compound that produces calcination product
WO2017197549A1 (en) * 2016-05-16 2017-11-23 深圳维盛半导体科技有限公司 Dpi automatic regulation mouse and method
US9898110B1 (en) 2016-11-09 2018-02-20 Dexin Electronic Ltd. Mouse pad, input system and pairing method thereof
TWI621041B (en) * 2016-08-26 2018-04-11 東莞寶德電子有限公司 Mouse pad
CN110347436A (en) * 2019-07-13 2019-10-18 韶关市启之信息技术有限公司 A kind of personalized method and system for adjusting mouse movement speed
CN111857374A (en) * 2020-05-29 2020-10-30 合肥联宝信息技术有限公司 Control method of mouse moving range, mouse and storage medium
CN112650402A (en) * 2020-12-25 2021-04-13 广州市博大电子设备有限公司 Control method of mouse and application thereof
CN112684920A (en) * 2020-12-31 2021-04-20 广州市博大电子设备有限公司 Self-adaptive adjusting method of mouse DPI and application thereof
CN114265512A (en) * 2021-12-02 2022-04-01 余德斌 Mouse, mouse control method, device and storage medium
TWI766518B (en) * 2020-12-31 2022-06-01 技嘉科技股份有限公司 Display apparatus and method of synchronizing mouse sensitivities
CN117271271A (en) * 2023-11-21 2023-12-22 深圳市利新联电子有限公司 Hand fatigue identification method, system and storage medium based on mouse usage monitoring
CN118093323A (en) * 2024-04-25 2024-05-28 深圳市利新联电子有限公司 Mouse use comfort level testing method and system based on pressure sensing
CN118426606A (en) * 2024-07-01 2024-08-02 深圳市英菲克电子有限公司 DPI self-adaptive adjustment mouse and terminal equipment

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101105730A (en) * 2007-08-20 2008-01-16 骆仲铙 Mouse DPI preset value setting method and mouse
CN101714035A (en) * 2009-11-07 2010-05-26 硕维科技有限公司 Method for automatically adjusting DPI (deep packet inspection) of mouse and DPI automatically-adjusted mouse
CN104252294A (en) * 2013-06-26 2014-12-31 原相科技股份有限公司 Computer system with mouse device capable of adjusting DPI along with screen size and operation method thereof

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101105730A (en) * 2007-08-20 2008-01-16 骆仲铙 Mouse DPI preset value setting method and mouse
CN101714035A (en) * 2009-11-07 2010-05-26 硕维科技有限公司 Method for automatically adjusting DPI (deep packet inspection) of mouse and DPI automatically-adjusted mouse
CN104252294A (en) * 2013-06-26 2014-12-31 原相科技股份有限公司 Computer system with mouse device capable of adjusting DPI along with screen size and operation method thereof

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
刘骅: "基于自适应鼠标的指点任务效率研究", 《中国优秀硕士学位论文全文数据库信息科技辑》 *

Cited By (20)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107108248A (en) * 2014-11-18 2017-08-29 卡利有限公司 Preparation method and device for the calcined compound that produces calcination product
WO2017197549A1 (en) * 2016-05-16 2017-11-23 深圳维盛半导体科技有限公司 Dpi automatic regulation mouse and method
CN107960124A (en) * 2016-05-16 2018-04-24 深圳维盛半导体科技有限公司 A kind of mouse and method of DPI automatic adjustments
CN107960124B (en) * 2016-05-16 2021-02-26 深圳维盛半导体科技有限公司 Mouse and method for automatically adjusting DPI
TWI621041B (en) * 2016-08-26 2018-04-11 東莞寶德電子有限公司 Mouse pad
US9898110B1 (en) 2016-11-09 2018-02-20 Dexin Electronic Ltd. Mouse pad, input system and pairing method thereof
CN110347436A (en) * 2019-07-13 2019-10-18 韶关市启之信息技术有限公司 A kind of personalized method and system for adjusting mouse movement speed
CN111857374A (en) * 2020-05-29 2020-10-30 合肥联宝信息技术有限公司 Control method of mouse moving range, mouse and storage medium
CN111857374B (en) * 2020-05-29 2022-04-15 合肥联宝信息技术有限公司 Control method of mouse moving range, mouse and storage medium
CN112650402B (en) * 2020-12-25 2021-08-24 广州市博大电子设备有限公司 Control method of mouse and application thereof
CN112650402A (en) * 2020-12-25 2021-04-13 广州市博大电子设备有限公司 Control method of mouse and application thereof
CN112684920A (en) * 2020-12-31 2021-04-20 广州市博大电子设备有限公司 Self-adaptive adjusting method of mouse DPI and application thereof
CN112684920B (en) * 2020-12-31 2022-03-08 广州竟成塑胶模具有限公司 Self-adaptive adjusting method of mouse DPI and application thereof
TWI766518B (en) * 2020-12-31 2022-06-01 技嘉科技股份有限公司 Display apparatus and method of synchronizing mouse sensitivities
CN114265512A (en) * 2021-12-02 2022-04-01 余德斌 Mouse, mouse control method, device and storage medium
CN117271271A (en) * 2023-11-21 2023-12-22 深圳市利新联电子有限公司 Hand fatigue identification method, system and storage medium based on mouse usage monitoring
CN117271271B (en) * 2023-11-21 2024-03-22 深圳市利新联电子有限公司 Hand fatigue identification method, system and storage medium based on mouse usage monitoring
CN118093323A (en) * 2024-04-25 2024-05-28 深圳市利新联电子有限公司 Mouse use comfort level testing method and system based on pressure sensing
CN118093323B (en) * 2024-04-25 2024-07-12 深圳市利新联电子有限公司 Mouse use comfort level testing method and system based on pressure sensing
CN118426606A (en) * 2024-07-01 2024-08-02 深圳市英菲克电子有限公司 DPI self-adaptive adjustment mouse and terminal equipment

Similar Documents

Publication Publication Date Title
CN105260041A (en) automatic mouse DPI adjusting method and speed-adaptive mouse
WO2020233212A1 (en) Log record processing method, server, and storage medium
US8813082B2 (en) Thread priority based on object creation rates
WO2020182232A3 (en) Managing transactions on blockchain networks
US9323584B2 (en) Load adaptive data recovery pipeline
US10972555B2 (en) Function based dynamic traffic management for network services
US9210219B2 (en) Systems and methods for consistent hashing using multiple hash rings
CN109799956B (en) Memory controller and IO request processing method
CN103970879B (en) Method and system for regulating storage positions of data blocks
CN103970641A (en) Equipment expansion method based on capacity prediction technology
JP6560265B2 (en) Method and apparatus for controlling network payments
WO2018068714A1 (en) Deduplication processing method, and storage device
CN107526645A (en) A kind of communication optimization method and system
CN108846114A (en) Distributed system control method, device, equipment and readable storage medium storing program for executing
CN107577441A (en) A kind of OSD slow disk processing method, system, device and computer-readable storage medium
CN103927263A (en) Garbage recycling method and garbage recycling device
CN104268291A (en) Data consistency processing method and system
CN109086194A (en) A kind of thread pool capacity adjustment method, device, equipment and readable storage medium storing program for executing
CN106598508A (en) Solid-state hard disc and write-in arbitrating method and system thereof
WO2022001788A1 (en) Communication management method and apparatus, and network device and storage medium
CN109582649A (en) A kind of metadata storing method, device, equipment and readable storage medium storing program for executing
CN108153584B (en) Method and equipment for determining number of threads to be allocated to target network equipment
CN111917867A (en) Method and device for uploading Web file
CN109521969B (en) Solid state disk data recovery method and device and computer readable storage medium
CN106549786B (en) Method and device for configuring service provisioning resources

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
AD01 Patent right deemed abandoned
AD01 Patent right deemed abandoned

Effective date of abandoning: 20181102