[go: up one dir, main page]

CN116407848A - Mouse device and method for detecting non-human mouse events through encryption - Google Patents

Mouse device and method for detecting non-human mouse events through encryption Download PDF

Info

Publication number
CN116407848A
CN116407848A CN202111644048.2A CN202111644048A CN116407848A CN 116407848 A CN116407848 A CN 116407848A CN 202111644048 A CN202111644048 A CN 202111644048A CN 116407848 A CN116407848 A CN 116407848A
Authority
CN
China
Prior art keywords
mouse
event
character
ciphertext
plaintext
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
CN202111644048.2A
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.)
Voyetra Turtle Beach Inc
Original Assignee
Voyetra Turtle Beach Inc
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 Voyetra Turtle Beach Inc filed Critical Voyetra Turtle Beach Inc
Priority to CN202111644048.2A priority Critical patent/CN116407848A/en
Priority to PCT/US2022/081903 priority patent/WO2023129825A1/en
Priority to US18/725,370 priority patent/US20250080323A1/en
Priority to CA3242763A priority patent/CA3242763A1/en
Priority to EP22917452.9A priority patent/EP4457597A4/en
Publication of CN116407848A publication Critical patent/CN116407848A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • A63F13/70Game security or game management aspects
    • A63F13/75Enforcing rules, e.g. detecting foul play or generating lists of cheating players
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/602Providing cryptographic facilities or services
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/70Protecting specific internal or peripheral components, in which the protection of a component leads to protection of the entire computer
    • G06F21/71Protecting specific internal or peripheral components, in which the protection of a component leads to protection of the entire computer to assure secure computing or processing of information
    • G06F21/72Protecting specific internal or peripheral components, in which the protection of a component leads to protection of the entire computer to assure secure computing or processing of information in cryptographic circuits
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/033Pointing devices displaced or positioned by the user, e.g. mice, trackballs, pens or joysticks; Accessories therefor
    • G06F3/038Control and interface arrangements therefor, e.g. drivers or device-embedded control circuitry
    • G06F3/0383Signal control means within the pointing device
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Hardware Design (AREA)
  • General Physics & Mathematics (AREA)
  • Multimedia (AREA)
  • Software Systems (AREA)
  • Human Computer Interaction (AREA)
  • Business, Economics & Management (AREA)
  • Mathematical Physics (AREA)
  • General Business, Economics & Management (AREA)
  • Health & Medical Sciences (AREA)
  • Bioethics (AREA)
  • General Health & Medical Sciences (AREA)
  • Position Input By Displaying (AREA)

Abstract

The invention provides a mouse device and a method for detecting a non-human mouse event through encryption. The mouse device obtains the variable character, and performs encryption processing on the Wen Shubiao event based on the variable character and the fixed character to obtain the ciphertext mouse event. When receiving the ciphertext mouse event, the computer device executes decryption processing on the ciphertext mouse event to obtain a plaintext mouse event, executes the plaintext mouse event, and executes interference processing when receiving another plaintext mouse event or another ciphertext mouse event which cannot be decrypted. The invention can effectively detect the event of the non-artificial movement mouse and execute the interference to the event of the non-artificial movement mouse to frighten the non-artificial operation.

Description

通过加密来侦测非人为鼠标事件的鼠标设备及其方法Mouse device and method for detecting non-human mouse events through encryption

技术领域technical field

本发明系与鼠标设备与其方法有关,特别有关于通过加密来侦测非人为鼠标事件的鼠标设备与通过加密来侦测非人为鼠标事件的方法。The present invention relates to a mouse device and its method, in particular to a mouse device for detecting non-human mouse events through encryption and a method for detecting non-human mouse events through encryption.

背景技术Background technique

请参阅图1,图1为生成非人为鼠标事件的示意图。Please refer to Figure 1, which is a schematic diagram of generating non-artificial mouse events.

目前已知一种计算机游戏的作弊方法,是通过视频采集装置12采集计算机装置10的影像信号(例如为游戏画面),将影像信号输入至分析模块13(如具有机器学习功能或自动辨识功能的计算机)。A currently known cheating method for computer games is to collect the image signal of the computer device 10 (for example, a game screen) through the video acquisition device 12, and input the image signal to the analysis module 13 (such as a computer with a machine learning function or automatic identification function) computer).

接着,分析模块13可对影像信号进行分析来找出目标位置(例如游戏画面中的敌人或宝物的位置),基于目标位置自动产生对应的非人为鼠标事件(如朝目标位置移动的移动鼠标鼠标事件),并发送非人为鼠标鼠标事件至接口转接器14。Then, the analysis module 13 can analyze the image signal to find out the target position (such as the position of the enemy or treasure in the game screen), and automatically generate a corresponding non-artificial mouse event based on the target position (such as moving the mouse toward the target position) event), and send the non-artificial mouse event to the interface adapter 14.

此外,当用户操作鼠标装置11时会触发人为鼠标事件。In addition, an artificial mouse event is triggered when the user operates the mouse device 11 .

接口转接器14一端连接计算机装置10,一端连接鼠标装置11与分析模块13。One end of the interface adapter 14 is connected to the computer device 10 , and the other end is connected to the mouse device 11 and the analysis module 13 .

接口转接器14可将人为操作产生的人为鼠标事件(玩家动作)与分析模块13自动产生的非人为鼠标事件(作弊动作)都送至计算机装置10。The interface adapter 14 can send both the artificial mouse event (player action) generated by human operation and the non-artificial mouse event (cheating action) automatically generated by the analysis module 13 to the computer device 10 .

计算机装置10会直接执行所有收到的鼠标事件(包含人为鼠标事件与非人为鼠标事件)。The computer device 10 will directly execute all received mouse events (including artificial mouse events and non-artificial mouse events).

相较于玩家动作,由分析模块13所自动产生的作弊动作通常更为快速精准,这使得使用上述作弊方法的玩家在游戏中会具有极大优势,而造成不公平游戏。Compared with player actions, the cheating actions automatically generated by the analysis module 13 are usually faster and more accurate, which makes the players who use the above cheating methods have a great advantage in the game, resulting in an unfair game.

是以,现有鼠标事件的处理存在上述问题,而亟待更有效的方案被提出。Therefore, the above-mentioned problems exist in the existing mouse event processing, and a more effective solution is urgently needed to be proposed.

发明内容Contents of the invention

本发明的主要目的,在于提供一种通过加密来侦测非人为鼠标事件的鼠标设备及其方法,可侦测并干扰非人为鼠标事件。The main purpose of the present invention is to provide a mouse device and method for detecting non-human mouse events through encryption, which can detect and interfere with non-human mouse events.

于一实施例中,一种通过加密来侦测非人为鼠标事件的鼠标设备,包含一鼠标装置与一驱动程序。该鼠标装置用以电性连接一计算机装置,并包含一加密芯片。该加密芯片用以取得一变动字符,基于该变动字符及一固定字符对一明文鼠标事件执行一加密处理来获得一密文鼠标事件。该驱动程序用以安装于该计算机装置,并用以于被执行后于收到该密文鼠标事件时,基于该固定字符对该密文鼠标事件执行一解密处理来获得该明文鼠标事件,并执行该明文鼠标事件,并于收到另一明文鼠标事件或无法解密的另一密文鼠标事件时,执行一干扰处理。该加密芯片用以执行该加密处理来基于该变动字符及该固定字符取得一加密密钥,并基于该加密密钥加密该明文鼠标事件来获得该密文鼠标事件,该变动字符被记录于该密文鼠标事件。该驱动程序用以执行该解密处理来自该密文鼠标事件取得该变动字符,基于该变动字符及该固定字符取得该加密密钥,并基于该加密密钥解密该密文鼠标事件来获得该明文鼠标事件。In one embodiment, a mouse device for detecting non-human mouse events through encryption includes a mouse device and a driver. The mouse device is used for electrical connection with a computer device and includes an encryption chip. The encryption chip is used to obtain a variable character, and based on the variable character and a fixed character, an encryption process is performed on a plaintext mouse event to obtain a ciphertext mouse event. The driver is used to be installed on the computer device, and is used to perform a decryption process on the ciphertext mouse event based on the fixed characters to obtain the plaintext mouse event when the ciphertext mouse event is received after being executed, and execute The plaintext mouse event, and when receiving another plaintext mouse event or another ciphertext mouse event that cannot be decrypted, perform an interference process. The encryption chip is used to perform the encryption processing to obtain an encryption key based on the variable character and the fixed character, and encrypt the plaintext mouse event based on the encryption key to obtain the ciphertext mouse event. The variable character is recorded in the Ciphertext mouse event. The driver is used to perform the decryption process to obtain the variable character from the ciphertext mouse event, obtain the encryption key based on the variable character and the fixed character, and decrypt the ciphertext mouse event based on the encryption key to obtain the plaintext mouse events.

于一实施例中,该鼠标装置用以取得一当前状态作为该变动字符、于一字典中选择多个字词的至少其中之一作为该变动字符、或执行一随机字符处理来获得一随机字符并作为该变动字符。该当前状态包括一当前时间及一当前计数的至少其中之一。In one embodiment, the mouse device is used to obtain a current state as the variable character, select at least one of a plurality of words in a dictionary as the variable character, or perform a random character process to obtain a random character And as the change character. The current state includes at least one of a current time and a current count.

于一实施例中,该鼠标装置用以发送一固定字符请求至该驱动程序。该驱动程序被设定来取得该固定字符,并回传该固定字符至该鼠标装置。In one embodiment, the mouse device is used to send a fixed character request to the driver. The driver is configured to obtain the fixed character and return the fixed character to the mouse device.

于一实施例中,该鼠标装置用以对该明文鼠标事件执行一AES加密及一BASE64处理,并将该变动字符以明文方式记录于该密文鼠标事件。In one embodiment, the mouse device is used to perform an AES encryption and a BASE64 process on the plaintext mouse event, and record the changed character in the ciphertext mouse event in plaintext.

于一实施例中,该驱动程序被设定来执行以下至少其中之一:变更一可疑事件的该鼠标座标来使该计算机装置的一操作系统移动一鼠标指标至变更后的该鼠标座标;滤除该可疑事件来使该操作系统不会执行该可疑事件;滤除于该可疑事件后收到的一点击鼠标事件来使该操作系统不会执行该可疑事件后的该点击鼠标事件;及,显示一非人为操作提示。该可疑事件包含该另一明文鼠标事件或该无法解密的另一密文鼠标事件。In one embodiment, the driver is configured to perform at least one of the following: changing the mouse coordinate of a suspicious event to cause an operating system of the computer device to move a mouse pointer to the changed mouse coordinate ; filter out the suspicious event so that the operating system will not execute the suspicious event; filter out a mouse click event received after the suspicious event so that the operating system will not execute the mouse click event after the suspicious event; And, a non-human operation prompt is displayed. The suspicious event includes the other plaintext mouse event or the undecipherable another ciphertext mouse event.

于一实施例中,一种通过加密来侦测非人为鼠标事件的方法,包含:步骤a: 于一鼠标装置取得一变动字符;步骤b: 基于该变动字符及一固定字符对一明文鼠标事件执行一加密处理来获得一密文鼠标事件;步骤c: 于一计算机装置于收到该密文鼠标事件时,基于该固定字符对该密文鼠标事件执行一解密处理来获得该明文鼠标事件,并执行该明文鼠标事件;及,步骤d: 于收到另一明文鼠标事件或无法解密的另一密文鼠标事件时,执行一干扰处理。该加密处理包含:步骤e1: 基于该变动字符及该固定字符取得一加密密钥;及,步骤e2: 基于该加密密钥加密该明文鼠标事件来获得该密文鼠标事件,其中该变动字符被记录于该密文鼠标事件。该解密处理包含:步骤f1: 自该密文鼠标事件取得该变动字符;步骤f2: 基于该变动字符及该固定字符取得该加密密钥;及,步骤f3: 基于该加密密钥解密该密文鼠标事件来获得该明文鼠标事件。In one embodiment, a method for detecting non-artificial mouse events through encryption includes: step a: obtaining a variable character in a mouse device; step b: based on the variable character and a fixed character for a plaintext mouse event Perform an encryption process to obtain a ciphertext mouse event; step c: when a computer device receives the ciphertext mouse event, perform a decryption process based on the fixed character to the ciphertext mouse event to obtain the plaintext mouse event, And execute the plaintext mouse event; and, step d: when receiving another plaintext mouse event or another ciphertext mouse event that cannot be decrypted, perform an interference process. The encryption process includes: step e1: obtaining an encryption key based on the variable character and the fixed character; and, step e2: encrypting the plaintext mouse event based on the encryption key to obtain the ciphertext mouse event, wherein the variable character is Log mouse events in this ciphertext. The decryption process includes: step f1: obtaining the variable character from the ciphertext mouse event; step f2: obtaining the encryption key based on the variable character and the fixed character; and, step f3: decrypting the ciphertext based on the encryption key mouse event to get the plaintext mouse event.

于一实施例中,该步骤a是取得一当前状态作为该变动字符、于一字典中选择多个字词的至少其中之一作为该变动字符、或执行一随机字符处理来获得一随机字符并作为该变动字符;其中,该当前状态包括一当前时间及一当前计数的至少中之一。In one embodiment, the step a is to obtain a current state as the variable character, select at least one of a plurality of words in a dictionary as the variable character, or perform a random character process to obtain a random character and As the variable character; wherein, the current state includes at least one of a current time and a current count.

于一实施例中,于该步骤b之前包括:步骤g1: 于该鼠标装置发送一固定字符请求至该计算机装置的一驱动程序;步骤g2: 于该计算机装置通过该驱动程序取得该固定字符;及,步骤g3: 回传该固定字符至该鼠标装置。In one embodiment, before the step b: Step g1: Send a fixed character request to a driver program of the computer device at the mouse device; Step g2: Obtain the fixed character at the computer device through the driver program; And, step g3: return the fixed character to the mouse device.

于一实施例中,该步骤e2包括对该明文鼠标事件执行一AES加密及一BASE64处理,并将该变动字符以明文方式记录于该密文鼠标事件。In one embodiment, the step e2 includes performing an AES encryption and a BASE64 process on the plaintext mouse event, and recording the changed character in the ciphertext mouse event in plaintext.

于一实施例中,该干扰处理包括以下至少其中之一:步骤c1: 变更一可疑事件的该鼠标座标来使该计算机装置的一操作系统移动一鼠标指标至变更后的该鼠标座标;步骤c2: 滤除该可疑事件来使该操作系统不会执行该可疑事件;步骤c3: 滤除于该可疑事件后收到的一点击鼠标事件来使该操作系统不会执行该可疑事件后的该点击鼠标事件;及,步骤c4: 显示一非人为操作提示;其中,该可疑事件包含该另一明文鼠标事件或该无法解密的另一密文鼠标事件。In one embodiment, the interference processing includes at least one of the following: step c1: changing the mouse coordinate of a suspicious event to make an operating system of the computer device move a mouse pointer to the changed mouse coordinate; Step c2: Filter out the suspicious event so that the operating system will not execute the suspicious event; Step c3: Filter out a mouse click event received after the suspicious event so that the operating system will not execute the suspicious event The mouse click event; and, step c4: displaying a non-human operation prompt; wherein, the suspicious event includes the other plaintext mouse event or the undecryptable another ciphertext mouse event.

本发明可有效侦测非人为移动鼠标事件,并执行对非人为移动鼠标事件进行干扰来吓阻非人为操作。The invention can effectively detect non-human movement mouse events, and perform interference on non-human movement mouse events to frighten non-human operations.

附图说明Description of drawings

图1为生成非人为鼠标事件的示意图。Figure 1 is a schematic diagram of generating non-artificial mouse events.

图2为本发明一实施例的鼠标设备的架构图。FIG. 2 is a structural diagram of a mouse device according to an embodiment of the present invention.

图3为本发明一实施例的驱动程序的架构图。FIG. 3 is a structural diagram of a driver program according to an embodiment of the present invention.

图4为本发明一实施例的侦测方法的流程图。FIG. 4 is a flowchart of a detection method according to an embodiment of the present invention.

图5为本发明一实施例的侦测方法的部分流程图。FIG. 5 is a partial flowchart of a detection method according to an embodiment of the present invention.

图6为本发明一实施例的侦测方法的部分流程图。FIG. 6 is a partial flowchart of a detection method according to an embodiment of the present invention.

图7为本发明一实施例的侦测方法的部分流程图。FIG. 7 is a partial flowchart of a detection method according to an embodiment of the present invention.

图8为本发明一实施例的侦测方法的部分流程图。FIG. 8 is a partial flowchart of a detection method according to an embodiment of the present invention.

图中:In the picture:

11:鼠标装置;10:计算机装置;12:视频采集装置;13:分析模块;14:接口转接器;20:鼠标装置;21:驱动程序;22:加密芯片;3:计算机装置;30:处理器;300:应用程序;301:操作系统;31:存储器;32:显示器;33:通信接口;40:解密模块;41:干扰模块;S10-S15:侦测与干扰步骤;S20-S21:加密步骤;S30-S32:解密步骤;S40-S42:固定字符取得步骤;S50-S53:干扰步骤。11: mouse device; 10: computer device; 12: video acquisition device; 13: analysis module; 14: interface adapter; 20: mouse device; 21: driver; 22: encryption chip; 3: computer device; 30: Processor; 300: application program; 301: operating system; 31: memory; 32: display; 33: communication interface; 40: decryption module; 41: interference module; S10-S15: detection and interference steps; S20-S21: Encryption step; S30-S32: decryption step; S40-S42: fixed character acquisition step; S50-S53: interference step.

具体实施方式Detailed ways

下面结合附图和具体实施例对本发明作进一步说明,以使本领域的技术人员可以更好的理解本发明并能予以实施,但所举实施例不作为对本发明的限定。The present invention will be further described below in conjunction with the accompanying drawings and specific embodiments, so that those skilled in the art can better understand the present invention and implement it, but the examples given are not intended to limit the present invention.

请参阅图2,图2为本发明一实施例的鼠标设备的架构图。Please refer to FIG. 2 . FIG. 2 is a structural diagram of a mouse device according to an embodiment of the present invention.

本发明提出一种通过加密来侦测非人为鼠标事件的鼠标设备,包含鼠标装置20与驱动程序21。The present invention proposes a mouse device for detecting non-artificial mouse events through encryption, including a mouse device 20 and a driver 21 .

鼠标装置20可电性连接计算机装置3的通信接口33(例如为蓝牙接口或USB接口)。鼠标装置20可于被用户移动或点击按键时触发对应的移动鼠标事件与点击鼠标事件。The mouse device 20 can be electrically connected to the communication interface 33 (such as a Bluetooth interface or a USB interface) of the computer device 3 . The mouse device 20 can trigger corresponding mouse movement events and mouse click events when the user moves or clicks a button.

于本发明中,鼠标装置20包含加密芯片22。加密芯片22可执行加密算法来加密明文鼠标事件(即移动鼠标事件及/或与点击鼠标事件)为密文鼠标事件。In the present invention, the mouse device 20 includes an encryption chip 22 . The encryption chip 22 can execute an encryption algorithm to encrypt plaintext mouse events (ie mouse movement events and/or mouse click events) into ciphertext mouse events.

于一实施例中,加密芯片22为独立于鼠标控制器之外的可程序控制器或可程序电路。加密芯片22于被致能后,能依据预设的加密算法或加密电路,来对鼠标控制器所产生的鼠标事件进行加密。In one embodiment, the encryption chip 22 is a programmable controller or a programmable circuit independent of the mouse controller. After being enabled, the encryption chip 22 can encrypt mouse events generated by the mouse controller according to a preset encryption algorithm or encryption circuit.

鼠标装置20可将密文鼠标事件传送至计算机装置3。The mouse device 20 can transmit the encrypted mouse event to the computer device 3 .

计算机装置3具有存储器31、显示器32、通信接口33与电性连接上述装置的处理器30。The computer device 3 has a memory 31 , a display 32 , a communication interface 33 and a processor 30 electrically connected to the above devices.

驱动程序21用以安装于计算机装置3,并可于被处理器30执行后,实现本发明之侦测方法。The driver program 21 is used to be installed in the computer device 3 and can implement the detection method of the present invention after being executed by the processor 30 .

处理器30可执行驱动程序21来识别移动鼠标事件与点击鼠标事件,并将密文鼠标事件解密为明文鼠标事件,通过操作系统301执行获得的明文鼠标事件,来影响应用程序300(例如为游戏主程序)。The processor 30 can execute the driver program 21 to identify the mouse movement event and the click mouse event, and decrypt the ciphertext mouse event into a plaintext mouse event, and execute the obtained plaintext mouse event through the operating system 301 to affect the application program 300 (such as a game) main program).

请一并参阅图2与图3,图3为本发明一实施例的驱动程序的架构图。Please refer to FIG. 2 and FIG. 3 together. FIG. 3 is a structure diagram of a driver program according to an embodiment of the present invention.

于一实施例中,驱动程序21包含解密模块40与干扰模块41。In one embodiment, the driver program 21 includes a decryption module 40 and an interference module 41 .

解密模块40用来解密密文鼠标事件。The decryption module 40 is used to decrypt the ciphertext mouse events.

干扰模块41用来于侦测到非人为鼠标事件时进行干扰。The interference module 41 is used for interference when a non-human mouse event is detected.

前述各模块是彼此连接(可为电性连接或资信连接),并可为固件模块。存储器31可包含非暂时性计算机可读介质,前述非暂时性计算机可读介质储存有驱动程序21,驱动程序21记录有计算机可执行之程序码,当处理器30执行前述程序码后,可实现前述各模块之功能。The aforementioned modules are connected to each other (which may be electrically connected or credit connected), and may be firmware modules. The memory 31 may include a non-transitory computer-readable medium, the aforementioned non-transitory computer-readable medium stores the driver program 21, and the driver program 21 records computer-executable program codes. When the processor 30 executes the aforementioned program codes, it can realize Functions of the aforementioned modules.

请一并参阅图2至图4,图4为本发明一实施例的侦测方法的流程图。Please refer to FIG. 2 to FIG. 4 together. FIG. 4 is a flowchart of a detection method according to an embodiment of the present invention.

于步骤S10中,鼠标装置20的加密芯片22取得变动字符。In step S10, the encryption chip 22 of the mouse device 20 obtains the changed character.

于一实施例中,鼠标装置20与驱动程序21可被设定来于加密模式(即本发明之侦测方法)与非加密模式之间进行切换。In one embodiment, the mouse device 20 and the driver 21 can be configured to switch between the encryption mode (ie the detection method of the present invention) and the non-encryption mode.

于加密模式下,鼠标装置20会对全部或指定的鼠标事件执行加密来产生密文鼠标事件,而驱动程序21仅会执行能解密的密文鼠标事件,不会执行(或执行但加入干扰)明文鼠标事件与无法解密的密文鼠标事件。换句话说,于加密模式下,本发明能侦测到非人为鼠标事件的作弊行为。In the encryption mode, the mouse device 20 will encrypt all or specified mouse events to generate ciphertext mouse events, and the driver 21 will only execute ciphertext mouse events that can be decrypted, and will not execute (or execute but add interference) Plaintext mouse events vs undecipherable ciphertext mouse events. In other words, in the encryption mode, the present invention can detect cheating behaviors that are not artificial mouse events.

于非加密模式下,鼠标装置20不会对执行加密鼠标事件执行加密,而是直接发送明文鼠标事件,而驱动程序21则会所有明文鼠标事件。换句话说,于非加密模式下,本发明无法侦测到非人为鼠标事件的作弊行为。In the non-encrypted mode, the mouse device 20 does not encrypt the encrypted mouse events, but directly sends plaintext mouse events, and the driver 21 receives all plaintext mouse events. In other words, in the non-encrypted mode, the present invention cannot detect cheating behaviors that are not artificial mouse events.

于一实施例中,加密芯片22可取得鼠标装置20的当前状态作为变动字符、于预建立的字典中选择多个字词的至少其中之一作为变动字符、或执行随机字符处理来获得随机字符并作为变动字符。In one embodiment, the encryption chip 22 can obtain the current state of the mouse device 20 as a variable character, select at least one of a plurality of words in a pre-established dictionary as a variable character, or perform random character processing to obtain a random character And as a variable character.

于一实施例中,当前状态包括当前时间,如当前时间的秒数。In one embodiment, the current state includes the current time, such as the number of seconds in the current time.

于一实施例中,当前状态包括当前计数,如第一笔鼠标事件的计数为1,第二笔鼠标事件的计数为2…以此类推。In one embodiment, the current state includes the current count, for example, the count of the first mouse event is 1, the count of the second mouse event is 2, and so on.

于步骤S11中,鼠标装置20的加密芯片22基于变动字符及固定字符对明文鼠标事件执行加密处理来获得密文鼠标事件。In step S11 , the encryption chip 22 of the mouse device 20 performs encryption processing on the plaintext mouse event based on the variable character and the fixed character to obtain the ciphertext mouse event.

值得一提的是,加密处理后的密文鼠标事件并无法被不支援(即没有对应的密钥与解密演算法)的驱动程序21所解读,即鼠标装置20与驱动程序21是成对配置的。It is worth mentioning that the encrypted ciphertext mouse event cannot be interpreted by the driver 21 that does not support (that is, there is no corresponding key and decryption algorithm), that is, the mouse device 20 and the driver 21 are configured in pairs. of.

于步骤S12中,计算机装置通过驱动程序21的解密模块40于收到密文鼠标事件时,取得固定字符,并基于固定字符对密文鼠标事件执行解密处理来获得还原后的明文鼠标事件。In step S12 , when the decryption module 40 of the driver program 21 receives the ciphertext mouse event, the computer device obtains the fixed character, and performs decryption processing on the ciphertext mouse event based on the fixed character to obtain the restored plaintext mouse event.

于一实施例中,前述加解密处理可为对称式加解密或非对称式加解密,不加以限定。In one embodiment, the foregoing encryption and decryption processing may be symmetric encryption and decryption or asymmetric encryption and decryption, without limitation.

于步骤S13中,计算机装置通过驱动程序21的解密模块40判断所收到的鼠标事件是否为另一明文鼠标事件或于步骤S12中无法解密的另一密文鼠标事件。In step S13 , the computer device determines whether the received mouse event is another plaintext mouse event or another ciphertext mouse event that cannot be decrypted in step S12 through the decryption module 40 of the driver program 21 .

若可顺利解密,则执行步骤S15。If the decryption can be successfully performed, step S15 is executed.

若为另一明文鼠标事件或无法解密的另一密文鼠标事件,则执行步骤S14。If it is another plaintext mouse event or another ciphertext mouse event that cannot be decrypted, step S14 is executed.

于步骤S14中,计算机装置通过驱动程序21判定所收到的鼠标事件(如明文鼠标事件或无法解密的密文鼠标事件)为非人为是件,并通过干扰模块41执行干扰处理。In step S14 , the computer device determines through the driver program 21 that the received mouse event (such as a plaintext mouse event or an undecipherable ciphertext mouse event) is not artificial, and performs interference processing through the interference module 41 .

于步骤S15中,计算机装置通过驱动程序21判定所收到的可解密的密文鼠标事件为人为事件,并执行解密获得的明文鼠标事件。In step S15 , the computer device determines through the driver program 21 that the received decipherable mouse event in ciphertext is an artificial event, and executes the decrypted plaintext mouse event.

本发明可有效侦测非人为移动鼠标事件,并执行对非人为移动鼠标事件进行干扰来吓阻非人为操作。The invention can effectively detect non-human movement mouse events, and perform interference on non-human movement mouse events to frighten non-human operations.

请一并参阅图2至图5,图5为本发明一实施例的侦测方法的部分流程图。于本实施例的侦测方法中,加密处理包含步骤S20-S21。Please refer to FIG. 2 to FIG. 5 together. FIG. 5 is a partial flowchart of a detection method according to an embodiment of the present invention. In the detection method of this embodiment, the encryption process includes steps S20-S21.

于步骤S20中,加密芯片22基于变动字符及固定字符取得加密密钥。In step S20, the encryption chip 22 obtains an encryption key based on the variable character and the fixed character.

于一实施例中,加密芯片22是将变动字符与固定字符串接为加密密钥,如将变动字符与固定字符作为字串,并执行字串合并处理。In one embodiment, the encryption chip 22 connects the variable character and the fixed character string as an encryption key, such as using the variable character and the fixed character as a character string, and performs character string combination processing.

于步骤S21中,加密芯片22基于加密密钥加密明文鼠标事件来获得密文鼠标事件,并将变动字符记录于密文鼠标事件。In step S21 , the encryption chip 22 encrypts the plaintext mouse event based on the encryption key to obtain the ciphertext mouse event, and records the changed characters in the ciphertext mouse event.

于一实施例中,加密处理可包含AES、ChaCha20、3DES、Salsa20、DES、Blowfish、IDEA、RC5、RC6、Camellia或其他对称式加密处理。In one embodiment, the encryption processing may include AES, ChaCha20, 3DES, Salsa20, DES, Blowfish, IDEA, RC5, RC6, Camellia or other symmetric encryption processing.

于一实施例中,加密芯片22是对明文鼠标事件执行高级加密标准(AdvancedEncryption Standard,AES)加密及BASE64处理将二维元组序列数据编码成ASCII编码构成的文字。In one embodiment, the encryption chip 22 implements Advanced Encryption Standard (AES) encryption and BASE64 processing on plaintext mouse events to encode the two-dimensional tuple sequence data into text composed of ASCII codes.

于一实施例中,加密芯片22是将变动字符以明文方式记录于密文鼠标事件。In one embodiment, the encryption chip 22 records the changed character in the ciphertext mouse event in plaintext.

请一并参阅图2至图6,图6为本发明一实施例的侦测方法的部分流程图。于本实施例的侦测方法中,解密处理包含步骤S30-S32。Please refer to FIG. 2 to FIG. 6 together. FIG. 6 is a partial flowchart of a detection method according to an embodiment of the present invention. In the detection method of this embodiment, the decryption process includes steps S30-S32.

于步骤S30中,处理器30通过驱动程序21的解密模块40自密文鼠标事件中采集出变动字符。In step S30 , the processor 30 collects changed characters from the ciphertext mouse events through the decryption module 40 of the driver program 21 .

于一实施例中,变动字符是被放置于密文鼠标事件的固定位置,如第一字元组、最后字元组等。In one embodiment, the variable character is placed at a fixed position of the ciphertext mouse event, such as the first character group, the last character group and so on.

于步骤S31中,处理器30通过驱动程序21的解密模块40基于变动字符及固定字符取得加密密钥。In step S31 , the processor 30 obtains the encryption key based on the variable character and the fixed character through the decryption module 40 of the driver program 21 .

于一实施例中,解密模块40是将所取出的变动字符与原本已知的固定字符进行串接,来获得加密密钥。In one embodiment, the decryption module 40 concatenates the extracted variable character with the originally known fixed character to obtain the encryption key.

于步骤S32中,处理器30通过驱动程序21的解密模块40基于加密密钥解密密文鼠标事件来获得明文鼠标事件。In step S32 , the processor 30 decrypts the ciphertext mouse event through the decryption module 40 of the driver 21 based on the encryption key to obtain the plaintext mouse event.

于一实施例中,解密模块40是对密文鼠标事件执行高级加密标准(AdvancedEncryption Standard,AES)解密及BASE64处理获得明文鼠标事件。In one embodiment, the decryption module 40 performs Advanced Encryption Standard (AES) decryption and BASE64 processing on the ciphertext mouse event to obtain the plaintext mouse event.

请一并参阅图2至图7,图7为本发明一实施例的侦测方法的部分流程图。于本实施例的侦测方法中,更包含用来同步固定字符的步骤S40-S42。Please refer to FIG. 2 to FIG. 7 together. FIG. 7 is a partial flowchart of a detection method according to an embodiment of the present invention. In the detection method of this embodiment, steps S40-S42 for synchronizing fixed characters are further included.

于步骤S40中,鼠标装置20的加密芯片22发送固定字符请求至计算机装置3的驱动程序21。In step S40 , the encryption chip 22 of the mouse device 20 sends a fixed character request to the driver 21 of the computer device 3 .

于步骤S41中,计算机装置3通过驱动程序21取得固定字符,并储存固定字符的一副本。In step S41, the computer device 3 obtains the fixed character through the driver 21, and stores a copy of the fixed character.

于一实施例中,固定字符可由用户自行设定或由驱动程序21自动产生,不加以限定。In one embodiment, the fixed characters can be set by the user or automatically generated by the driver 21, without limitation.

于步骤S42中,驱动程序21控制计算机装置3回传固定字符至鼠标装置20的加密芯片22。In step S42 , the driver 21 controls the computer device 3 to return the fixed characters to the encryption chip 22 of the mouse device 20 .

借此,加密芯片22与驱动程序21可拥有相同的固定字符。In this way, the encryption chip 22 and the driver 21 can have the same fixed characters.

请一并参阅图2至图8,图8为本发明一实施例的侦测方法的部分流程图。相较于图4的侦测方法,本实施例的侦测方法更包含用来对可疑事件实现干扰处理的步骤S60-S63的至少其中之一。Please refer to FIG. 2 to FIG. 8 together. FIG. 8 is a partial flowchart of a detection method according to an embodiment of the present invention. Compared with the detection method in FIG. 4 , the detection method of this embodiment further includes at least one of steps S60 - S63 for implementing interference processing on suspicious events.

可疑事件可例如为前述之另一明文鼠标事件或无法解密的另一密文鼠标事件。The suspicious event may be, for example, another plaintext mouse event mentioned above or another ciphertext mouse event that cannot be decrypted.

于步骤S50中,处理器30通过驱动程序21的干扰模块41变更被判定为可疑事件的鼠标座标,来使操作系统301移动鼠标指标至变更后的鼠标座标,即造成鼠标指标偏移。前述偏移量可为预设固定值或随机产生。In step S50, the processor 30 changes the mouse coordinate determined as a suspicious event through the interference module 41 of the driver 21, so that the operating system 301 moves the mouse pointer to the changed mouse coordinate, that is, causes the mouse pointer to shift. The aforementioned offset can be a preset fixed value or randomly generated.

于步骤S51中,处理器30通过驱动程序21的干扰模块41滤除可疑事件,来使操作系统301不会执行可疑事件,即忽略非人为鼠标事件。In step S51 , the processor 30 filters suspicious events through the interference module 41 of the driver 21 , so that the operating system 301 will not execute the suspicious events, that is, ignore non-artificial mouse events.

于步骤S52中,处理器30通过驱动程序21的干扰模块41滤除于可疑事件后收到的点击鼠标事件,来使操作系统301不会执行可疑事件后的点击鼠标事件,即使作弊的用户于移动至目标位置后无法执行接下来的操作(如射击操作、拾取操作等)。In step S52, the processor 30 filters out the mouse click event received after the suspicious event through the interference module 41 of the driver 21, so that the operating system 301 will not execute the mouse click event after the suspicious event, even if the cheating user After moving to the target position, the next operations (such as shooting operations, picking operations, etc.) cannot be performed.

于步骤S53中,处理器30通过驱动程序21的干扰模块41于显示器32中显示非人为操作提示,例如跳出提示视窗来中断作弊的用户操作。In step S53 , the processor 30 displays a non-human operation prompt on the display 32 through the interference module 41 of the driver 21 , such as popping up a prompt window to interrupt the cheating user operation.

借此,本发明可有效干扰作弊的用户,来提升游戏公平性。Thereby, the present invention can effectively interfere with cheating users to improve game fairness.

以上所述实施例仅是为充分说明本发明而所举的较佳的实施例,本发明的保护范围不限于此。本技术领域的技术人员在本发明基础上所作的等同替代或变换,均在本发明的保护范围之内。本发明的保护范围以权利要求书为准。The above-mentioned embodiments are only preferred embodiments for fully illustrating the present invention, and the protection scope of the present invention is not limited thereto. Equivalent substitutions or transformations made by those skilled in the art on the basis of the present invention are all within the protection scope of the present invention. The protection scope of the present invention shall be determined by the claims.

Claims (10)

1. A mouse device for detecting non-human mouse events by encryption, comprising:
a mouse device for electrically connecting to a computer device, comprising:
the encryption chip is used for obtaining a change character, and executing encryption processing on a plaintext mouse event based on the change character and a fixed character to obtain a ciphertext mouse event;
the driver program is used for being installed on the computer device, and used for executing decryption processing on the ciphertext mouse event based on the fixed character to obtain the plaintext mouse event when the ciphertext mouse event is received after the driver program is executed, executing the plaintext mouse event, and executing interference processing when another plaintext mouse event or another ciphertext mouse event which cannot be decrypted is received;
the encryption chip is used for executing the encryption processing to obtain an encryption key based on the variable character and the fixed character, and encrypting the plaintext mouse event based on the encryption key to obtain the ciphertext mouse event, wherein the variable character is recorded in the ciphertext mouse event;
the driver is used for executing the decryption process to obtain the change character from the ciphertext mouse event, obtaining the encryption key based on the change character and the fixed character, and decrypting the ciphertext mouse event based on the encryption key to obtain the plaintext mouse event.
2. The mouse apparatus of claim 1, wherein the mouse device is configured to obtain a current state as the modified character, to select at least one of a plurality of words from a dictionary as the modified character, or to perform a random character process to obtain a random character as the modified character;
wherein the current state includes at least one of a current time and a current count.
3. The mouse apparatus for detecting non-human mouse events by encryption according to claim 1, wherein the mouse device is configured to send a fixed character request to the driver;
the driver is used for obtaining the fixed character and transmitting the fixed character back to the mouse device.
4. The mouse apparatus of claim 1, wherein the mouse device is configured to perform an AES encryption and a BASE64 process on the plaintext mouse event and record the modified character in plaintext form on the ciphertext mouse event.
5. The mouse device for detecting non-human mouse events by encryption according to claim 1, wherein the driver is configured to perform at least one of:
changing the mouse coordinate of a suspicious event to enable an operating system of the computer device to move a mouse index to the changed mouse coordinate;
filtering the suspicious event so that the operating system does not execute the suspicious event;
filtering a mouse clicking event received after the suspicious event so that the operating system cannot execute the mouse clicking event after the suspicious event; and
Displaying a non-human operation prompt;
wherein the suspicious event comprises the other plaintext mouse event or the other ciphertext mouse event which cannot be decrypted.
6. A method for detecting a non-human mouse event by encryption, comprising:
step a: obtaining a change character from a mouse device;
step b: performing an encryption process on a plaintext mouse event based on the modified character and a fixed character to obtain a ciphertext mouse event;
step c: when a computer device receives the ciphertext mouse event, executing decryption processing on the ciphertext mouse event based on the fixed character to obtain the plaintext mouse event, and executing the plaintext mouse event; and
Step d: executing an interference process when receiving another plaintext mouse event or another ciphertext mouse event which cannot be decrypted;
wherein the encryption process includes:
step e1: obtaining an encryption key based on the variation character and the fixed character; and
Step e2: encrypting the plaintext mouse event based on the encryption key to obtain the ciphertext mouse event, wherein the variation character is recorded in the ciphertext mouse event;
wherein the decryption process includes:
step f1: obtaining the variation character from the ciphertext mouse event;
step f2: obtaining the encryption key based on the variation character and the fixed character; and
Step f3: the ciphertext mouse event is decrypted based on the encryption key to obtain the plaintext mouse event.
7. The method according to claim 6, wherein step a is to obtain a current state as the changed character, to select at least one of a plurality of words from a dictionary as the changed character, or to perform a random character processing to obtain a random character as the changed character;
wherein the current state includes at least one of a current time and a current count.
8. The method of claim 6, wherein the step b is preceded by:
step g1: transmitting a fixed character request to a driver of the computer device on the mouse device;
step g2: obtaining the fixed character from the computer device through the driver; and
Step g3: returning the fixed character to the mouse device.
9. The method of claim 6, wherein step e2 includes performing an AES encryption and a BASE64 process on the plaintext mouse event and recording the modified character in plaintext on the ciphertext mouse event.
10. The method of claim 6, wherein the interference process comprises at least one of:
step c1: changing the mouse coordinate of a suspicious event to enable an operating system of the computer device to move a mouse index to the changed mouse coordinate;
step c2: filtering the suspicious event so that the operating system does not execute the suspicious event;
step c3: filtering a mouse clicking event received after the suspicious event so that the operating system cannot execute the mouse clicking event after the suspicious event; and
Step c4: displaying a non-human operation prompt;
wherein the suspicious event comprises the other plaintext mouse event or the other ciphertext mouse event which cannot be decrypted.
CN202111644048.2A 2021-12-29 2021-12-30 Mouse device and method for detecting non-human mouse events through encryption Pending CN116407848A (en)

Priority Applications (5)

Application Number Priority Date Filing Date Title
CN202111644048.2A CN116407848A (en) 2021-12-30 2021-12-30 Mouse device and method for detecting non-human mouse events through encryption
PCT/US2022/081903 WO2023129825A1 (en) 2021-12-29 2022-12-19 Mouse device that detects non-human mouse events through encryption and method thereof
US18/725,370 US20250080323A1 (en) 2021-12-29 2022-12-19 Mouse device that detects non-human mouse events through encryption and method thereof
CA3242763A CA3242763A1 (en) 2021-12-29 2022-12-19 A MOUSE DEVICE THAT DETECTS NON-HUMAN MOUSE EVENTS BY ENCRYPTION AND ASSOCIATED PROCESS
EP22917452.9A EP4457597A4 (en) 2021-12-29 2022-12-19 MOUSE DEVICE FOR DETECTING NON-HUMAN MOUSE EVENTS BY ENCRYPTION AND METHOD FOR THIS

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111644048.2A CN116407848A (en) 2021-12-30 2021-12-30 Mouse device and method for detecting non-human mouse events through encryption

Publications (1)

Publication Number Publication Date
CN116407848A true CN116407848A (en) 2023-07-11

Family

ID=87051466

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111644048.2A Pending CN116407848A (en) 2021-12-29 2021-12-30 Mouse device and method for detecting non-human mouse events through encryption

Country Status (1)

Country Link
CN (1) CN116407848A (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1637959A2 (en) * 2000-11-20 2006-03-22 ECD Systems, Inc. Systems and methods for preventing unauthorized use of digital content
KR20090036813A (en) * 2007-10-10 2009-04-15 김진우 How to prevent virtual keyboard hacking using mouse input coordinates
WO2019232767A1 (en) * 2018-06-07 2019-12-12 北京光合信诚科技有限公司 Method for inputting verification code, hardware wallet and trading device
US11075901B1 (en) * 2021-01-22 2021-07-27 King Abdulaziz University Systems and methods for authenticating a user accessing a user account

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1637959A2 (en) * 2000-11-20 2006-03-22 ECD Systems, Inc. Systems and methods for preventing unauthorized use of digital content
KR20090036813A (en) * 2007-10-10 2009-04-15 김진우 How to prevent virtual keyboard hacking using mouse input coordinates
WO2019232767A1 (en) * 2018-06-07 2019-12-12 北京光合信诚科技有限公司 Method for inputting verification code, hardware wallet and trading device
US11075901B1 (en) * 2021-01-22 2021-07-27 King Abdulaziz University Systems and methods for authenticating a user accessing a user account

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
GOLLE: "Preventing Bots from Playing Online Games", ACM COMPUTERS IN ENTERTAINMENT, vol. 3, no. 3, 1 July 2005 (2005-07-01), pages 1 - 10 *

Similar Documents

Publication Publication Date Title
JP7393517B2 (en) Systems and methods for ransomware detection and mitigation
JP2013532433A (en) Method and apparatus for secure entry of personal data
JP6814147B2 (en) Terminals, methods, non-volatile storage media
US10546137B2 (en) Method and apparatus for protecting application program password of mobile terminal
CN105281907B (en) Encrypted data processing method and device
CN108874612B (en) Information acquisition method, related equipment and system
CN104123164A (en) Application program starting method and device
Su et al. Remote keylogging attacks in multi-user {VR} applications
CN105242856B (en) A method for sharing data among multiple systems of a mobile terminal and a mobile terminal
TWI488067B (en) A method and a device for preventing the computer device from being screened on the screen
TWI784855B (en) Mouse device having a detection function of non-human mouse events through encryption and method thereof
CN116407848A (en) Mouse device and method for detecting non-human mouse events through encryption
US20250080323A1 (en) Mouse device that detects non-human mouse events through encryption and method thereof
GB2535619A (en) Terminal determination device and method
CN105376596B (en) A kind of video-encryption, the method for decryption and mobile terminal
CN108334794B (en) Information input encryption method and system for information input equipment
CN114244599B (en) A way to interfere with malicious programs
CN113282768B (en) Multimedia file processing method, device and electronic equipment
WO2018053988A1 (en) Secure input system and method, intelligent terminal, and storage medium
CN110381375B (en) Method for determining data embezzlement, client and server
CN111431887A (en) Reverse Shell monitoring method and device, terminal equipment and medium
CN108566359B (en) Information input encryption method and system for information input equipment
CN106897632B (en) Decryption method, system, electronic equipment and decryption equipment
KR20140003477U (en) A device for preventing logging of computer on-screen keyboard
CN114880725A (en) Password input and sending and receiving method and 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