Methods, devices and electronic equipment for detecting game input devices
By analyzing the joystick operation data of game input devices, and using convolutional neural networks to identify the differences in input characteristics between game controllers and converters, the problem of servers having difficulty identifying converters is solved, and efficient and accurate device type identification is achieved.
Patent Information
- Application Number
- CN202611194267.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-08-06
- Publication Date
- 2026-11-10
AI Technical Summary
In existing technologies, servers have difficulty accurately identifying whether a game input device is a converter, leading to an increase in invalid detection and verification tasks and consuming a large amount of computing and storage resources.
By acquiring input data from game input devices, especially joystick operation data, and using convolutional neural networks to analyze trajectory graphs and scatter plots, input features are extracted to distinguish the differences in input features between game controllers and converters, thus achieving accurate recognition.
It improves the accuracy of device type identification, reduces the consumption of computing resources, and enhances detection efficiency and accuracy.
Smart Images

Figure CN123059348A_ABST
Abstract
Description
Technical Field
[0001] This disclosure relates to the field of game interaction design technology, and in particular to a method, apparatus and electronic device for detecting game input devices. Background Technology
[0002] In related technologies, servers typically identify device types by reading the hardware identification information of game input devices. However, some input device converters use genuine gamepads as decoy relays, transmitting the gamepad's hardware identification information to the server. This causes the hardware characteristics read by the server to fail to reflect the true type of the actual input source. This renders the server-side device identification mechanism based on hardware information ineffective, leading to a large number of invalid detection and verification tasks, consuming significant computing and storage resources, and increasing the server's data processing pressure. Summary of the Invention
[0003] The purpose of this disclosure is to provide a method, apparatus, and electronic device for detecting game input devices, so as to accurately identify whether the current game input device is a converter.
[0004] In a first aspect, this disclosure provides a method for detecting a game input device. The method includes: acquiring input data for the game input device; wherein the input data includes at least joystick operation data; determining the input characteristics of the game input device based on the input data; and determining whether the game input device is a converter or a game controller based on the input characteristics; wherein the input characteristics of the converter are different from those of the game controller, and the converter is used to simulate the joystick input of the game controller as an external input signal.
[0005] Secondly, this disclosure provides a detection device for a game input device, the device comprising: a data acquisition module for acquiring input data for the game input device; wherein the input data includes at least joystick operation data; a feature determination module for determining the input features of the game input device based on the input data; and a device determination module for determining whether the game input device is a converter or a game controller based on the input features; wherein the input features of the converter are different from the input features of the game controller, and the converter is used to simulate the joystick input of the game controller as an external input signal.
[0006] Thirdly, this disclosure provides an electronic device including a processor and a memory, the memory storing machine-executable instructions that can be executed by the processor, the processor executing the machine-executable instructions to implement the above-described method for detecting a game input device.
[0007] Fourthly, this disclosure provides a computer-readable storage medium storing computer-executable instructions that, when invoked and executed by a processor, cause the processor to implement the aforementioned method for detecting a game input device.
[0008] The embodiments disclosed herein bring the following beneficial effects:
[0009] This disclosure provides a method, apparatus, and electronic device for detecting a game input device. First, it acquires input data for the game input device, including at least joystick operation data. Then, it determines the input characteristics of the game input device based on the input data. Finally, it identifies whether the game input device is a converter or a game controller based on the input characteristics. This method determines the input characteristics of the game input device through its input data and then identifies the device type based on these characteristics, thus improving the accuracy of device type identification compared to methods that identify device types through hardware information.
[0010] Other features and advantages of this disclosure will be set forth in the following description, or some features and advantages may be inferred from the description or determined without doubt, or may be learned by practicing the techniques described above.
[0011] To make the above-mentioned objects, features and advantages of this disclosure more apparent and understandable, preferred embodiments are described below in detail with reference to the accompanying drawings. Attached Figure Description
[0012] To more clearly illustrate the technical solutions in the specific embodiments of this disclosure or the prior art, the drawings used in the description of the specific embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of this disclosure. For those skilled in the art, other drawings can be obtained from these drawings without creative effort.
[0013] Figure 1 A flowchart illustrating a method for detecting a game input device provided in this embodiment of the disclosure; Figure 2 A schematic diagram of a scatter plot corresponding to a converter provided in an embodiment of this disclosure; Figure 3 A comparison diagram of a joystick timing diagram provided for an embodiment of this disclosure; Figure 4 This is a schematic diagram of a scatter plot corresponding to a game controller provided in an embodiment of this disclosure; Figure 5 This is a schematic diagram of the structure of a detection device for a game input device provided in an embodiment of the present disclosure; Figure 6 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this disclosure. Detailed Implementation
[0014] To make the objectives, technical solutions, and advantages of the embodiments of this disclosure clearer, the technical solutions of the embodiments of this disclosure will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this disclosure, and not all embodiments. The components of the embodiments of this disclosure described and shown in the accompanying drawings can generally be arranged and designed in various different configurations.
[0015] Therefore, the following detailed description of the embodiments of this disclosure provided in the accompanying drawings is not intended to limit the scope of the claimed disclosure, but merely to illustrate selected embodiments of the disclosure. All other embodiments obtained by those skilled in the art based on the embodiments of this disclosure without inventive effort are within the scope of protection of this disclosure.
[0016] The related technologies provide two methods for detecting whether a game input device is a converter.
[0017] Method one involves identifying the device type by reading the hardware information of the connected device. This hardware information includes a USB (Universal Serial Bus) descriptor, manufacturer identification code, and product identification code. However, modern high-end converters often use a genuine gamepad as a decoy relay, transmitting the gamepad's USB information to make the hardware characteristics observed on the server side consistent with the real gamepad, thus making effective identification difficult.
[0018] Method two involves identifying third-party malicious programs or devices by detecting the presence of clearly predictable macro key presses. However, after the converter's input signal has been simulated, it is difficult for skilled gamepad players to distinguish it based solely on key press frequency or simple patterns, and this can easily lead to misjudgments.
[0019] To address the aforementioned issues, embodiments of the present invention provide a method, apparatus, and electronic device for detecting game input devices, which can be applied to scenarios involving device type identification of game input devices.
[0020] To facilitate understanding of the embodiments of the present invention, a method for detecting a game input device provided in this disclosure will first be described in detail, such as... Figure 1 As shown, the method includes the following specific steps: Step S102: Obtain input data for the game input device; wherein the input data includes at least joystick operation data.
[0021] In practical implementation, the aforementioned game input devices are typically connected to the client and used by the player to control and participate in the game. These input devices can be gamepads or converters. A converter is a hardware device that connects to the client via a USB interface, translates external input signals, and disguises them as standard gamepad signals before sending them to the game console or PC. The external input signals can be keyboard signals or mouse signals.
[0022] The input data from the game input device is physical input data, not the hardware data of the game input device itself. This input data includes at least joystick operation data. The joystick operation data indicates the coordinates of the joystick's movement position during operation. Optionally, the input data may also include, but is not limited to, button activation status and trigger input data; wherein, button activation status indicates the active buttons on the game input device, including triggers and joysticks; trigger input data indicates the analog signals input by the trigger.
[0023] In one specific embodiment, when the server receives a detection command for a game input device, it acquires the input data for that game input device. The detection command can be manually triggered by the user or generated after receiving reporting information from the client. Upon receiving the detection command for the game input device, the server acquires the input data corresponding to that game input device.
[0024] Step S104: Determine the input characteristics of the game input device based on the input data.
[0025] In practical implementation, input features can be obtained by parsing the input data, or the input data can be converted into an image, and the input features can be obtained by extracting the image features. As a numerical analysis-based implementation, the server can directly perform statistical operations on the joystick operation data to obtain the variance of the joystick coordinate movement speed, the frequency of abrupt changes in the direction vector, and / or the change in path curvature, combining these statistical quantities into numerical vector-based input features. As another image conversion-based implementation, the input data can be plotted as a trajectory graph and / or scatter plot, and then image features can be extracted using a convolutional neural network, using these image features as input features. These input features can indicate the trajectory characteristics of the joystick movement, the spatial distribution characteristics of the joystick's movement coordinates, or the temporal operation characteristics of the joystick, etc.
[0026] Step S106: Determine whether the game input device is a converter or a game controller based on the input characteristics; wherein, the input characteristics of the converter are different from those of the game controller, and the converter is used to simulate the joystick input of the game controller as an external input signal.
[0027] Since the input characteristics of the converter are different from those of the game controller, the game input characteristics can be determined as either a converter or a game controller based on the input characteristics of the corresponding game input device.
[0028] Specifically, the input characteristics of the converter and the game controller differ in trigger button characteristics, joystick spatial trajectory characteristics, and joystick timing operation characteristics. Regarding trigger button characteristics, game controllers typically have linear pressure sensitivity, with input data often containing intermediate values between 0-255 or 0.0-1.0, representing analog signals with continuous depth. In the converter scenario, mouse left and right buttons are usually digital switch signals, which, when mapped to the game controller triggers, only appear as 0, 1, or a short jump to extreme values, lacking the intermediate analog depth data common in game controllers.
[0029] Regarding the spatial trajectory characteristics of joysticks, when a game controller player pushes the joystick, the sampling points typically exhibit an arc-shaped, curved, or irregularly discrete distribution, covering a large number of angles and positions within the joystick's operable space. In converter scenarios, keyboard WASD mapping usually only generates a limited number of direction vectors, easily resulting in straight lines, cross shapes, star patterns, or regular discrete points in the joystick's trajectory graph; when the mouse is mapped to right joystick view control, it also often forms spatial distribution characteristics that do not conform to the physiological movement patterns of the human thumb.
[0030] By adding a time axis to the joystick's movement trajectory, the return-to-center accuracy, propulsion speed, and acceleration changes can be observed, considering the joystick's timing characteristics. Game controllers, due to dead zones, rebound jitter, and wear variations in their mechanical structure, often fail to return to zero precisely every time the button is released, and the return-to-center curves can exhibit subtle differences in different directions. When the mouse movement stops or the button is released, the converter's signal often manifests as an overly idealized instantaneous zeroing, regular return-to-center hotspots, or acceleration changes that significantly exceed the characteristics of a physical joystick.
[0031] It should be noted that although the converter can disguise itself as a game controller at the protocol layer, at the physical input level, the difference between finger pushing a mechanical joystick and wrist / finger moving a mouse and then mapping it to a joystick signal exists in terms of input data performance, spatial distribution, timing changes, and system-side grounding links.
[0032] This disclosure provides a method for detecting game input devices. By using the input data of the game input device, the input characteristics of the game input device are determined, and then the device type of the game input device is identified based on the input characteristics. Compared with the method of identifying the device type through hardware information, this method improves the accuracy of device type identification.
[0033] In one alternative implementation, the client performs real-time initial screening of game input devices. Specifically, the client can detect the input stream of the game input devices in real time at a preset frequency (e.g., 50Hz or 60Hz) to perform lightweight initial screening for anomalies. This input stream includes joystick input data, trigger input data, and button frequencies, etc.
[0034] When performing a lightweight initial screening for game input device anomalies on the client side, the input stream of the game input device is monitored at a preset frequency; based on the trigger input data in the input stream, it is detected whether there is a trigger depth detection anomaly within a specified time window where the trigger is continuously triggered but the intermediate analog value is missing; based on the joystick operation data in the input stream, it is detected whether there is a joystick return-to-center detection anomaly where the centering coordinates are completely consistent multiple times; if the cumulative number of trigger depth detection anomalies and / or joystick return-to-center detection anomalies reaches a preset threshold, the step of obtaining input data for the game input device is controlled to be executed.
[0035] In practical implementation, the above-mentioned trigger depth detection anomaly refers to the continuous triggering of the trigger within a specified time window but the lack of an intermediate analog value. For example, the trigger value of a game controller is a depth value between 0 and 255. If it jumps from 0 to 255, it is considered that an intermediate analog value is missing. The above-mentioned joystick return-to-center detection anomaly refers to the continuous return-to-center coordinates (equivalent to the return-to-zero coordinates) being close to the same, showing a highly concentrated trend.
[0036] In practical implementation, when the cumulative number of anomalies recorded by the client for game input devices reaches a preset threshold, a report is generated. Based on this report, a detection command for the game input device is generated, and the server executes the step of acquiring input data from the game input device. This method can perform an initial screening to determine whether the game input device is a converter, thereby increasing the accuracy and efficiency of device type identification.
[0037] The following examples describe how input features are determined.
[0038] Specifically, the above-mentioned process of determining the input characteristics of the game input device based on input data may include: constructing joystick timing trajectory data based on joystick operation data; determining the input characteristics of the game input device based on the joystick timing trajectory data; wherein the input characteristics are used to indicate the joystick spatial trajectory characteristics and / or the joystick timing operation characteristics.
[0039] The aforementioned joystick timing trajectory data can include the joystick's position coordinates at various operation times, including the joystick's X and Y axis coordinates. After obtaining the joystick timing trajectory data, it can be analyzed using a neural network model to obtain the input characteristics of the game input device; alternatively, it can be analyzed using feature similarity calculation to obtain the input characteristics of the game input device.
[0040] In practical implementation, the aforementioned joystick spatial trajectory features are used to indicate the joystick motion trajectory features and / or the joystick movement coordinate spatial distribution features; the joystick timing operation features are used to indicate any one of the following: joystick return accuracy, propulsion speed, and acceleration changes.
[0041] Furthermore, the aforementioned joystick operation data includes joystick movement coordinates. If the input features include joystick spatial trajectory features, and these features include joystick motion trajectory features and / or joystick movement coordinate spatial distribution features, then the specific process of determining the input features of the game input device based on the joystick temporal trajectory data can include: drawing a trajectory diagram based on the joystick temporal trajectory data, and / or drawing a scatter plot based on the joystick operation data; wherein the trajectory diagram is used to indicate the joystick motion trajectory, and the scatter plot is used to indicate the spatial distribution of the joystick movement coordinates; the input features of the game input device are determined based on the trajectory diagram and / or the scatter plot. By mapping discrete joystick operation data to a two-dimensional image, the typical cross-shaped, star-shaped, or regular discrete points in the converter input can be made explicit in a visually distinct way compared to the random arc distribution of the real controller. This allows for the direct reuse of mature convolutional neural networks for end-to-end feature extraction and classification, eliminating the need for manually designing complex numerical feature extraction rules, effectively reducing feature engineering overhead and improving the generalization ability of the detection model.
[0042] In practical implementation, the aforementioned trajectory graph is used to indicate an integrated image of the player's joystick movement trajectory, and the scatter plot is used to indicate a point graph formed by each movement of the joystick from the center point to the stopping coordinate point. Then, regular geometric features in the trajectory graph and scatter plot can be identified through convolutional neural networks or image similarity algorithms. These regular geometric features are also the input features of the game input device.
[0043] Specifically, the generated trajectory or scatter plot can be preprocessed with normalization, standardization, and maintenance transformations, and then inference can be performed using a pre-trained convolutional neural network to obtain image features. Specifically, the convolutional neural network can be a CNN (Convolutional Neural Network) image classification network or a large model, etc.
[0044] In practical applications, the aforementioned joystick operation data includes joystick movement coordinates, which consist of analog input values from four channels: left joystick X / Y and right joystick X / Y. Based on this, the joystick X and Y axis coordinates indicated by the joystick timing trajectory data are plotted on a two-dimensional plane to form a trajectory diagram; the joystick operation data is mapped to a pixel plane of a preset size (e.g., 256×256), and the joystick position points are plotted as white dots on a black background to obtain a scatter plot.
[0045] like Figure 2 The diagram shown is a schematic representation of a scatter plot corresponding to a game controller according to an embodiment of the present invention. Scatter plots of game controller players typically have broad coverage and random distribution. For example... Figure 3 The diagram shown is a schematic diagram of a scatter plot corresponding to a converter provided by an embodiment of the present invention. The scatter plot of the converter player is more likely to show regular patterns such as cross shape, star shape, petal shape or stripes at a specific angle.
[0046] Optionally, to ensure the reliability of image rendering and the accuracy of subsequent input feature extraction, before constructing the joystick time-series trajectory data based on the joystick operation data, the number of joystick movement coordinates contained in the joystick operation data is determined. If the number of coordinates is greater than or equal to a preset threshold, the step of drawing a trajectory plot or scatter plot is performed. By pre-checking the number of coordinates before image generation, sparse data samples caused by short player operation time or abnormal sampling can be eliminated, preventing the model from outputting unreliable inference results due to insufficient effective information, thereby improving the stability and accuracy of the final detection conclusion. If the number of coordinates is lower than the preset threshold, the image generation and subsequent inference are skipped, saving computational resources.
[0047] In practical implementation, the aforementioned preset threshold number can be 1000, 1500, or 2000, etc. Specifically, a data quality check is performed before image generation, which requires that the number of joystick movement coordinates used to draw the image is not less than the preset threshold number to ensure that the samples have sufficient distribution information.
[0048] In an optional embodiment, the input features include joystick timing operation features; the joystick timing operation features include joystick return accuracy, propulsion speed, and acceleration change; based on this, the specific process of determining whether the game input device is a converter or a game controller based on the input features may include: if the input features are manifested as joystick return to zero instantaneously, regular return hot spot, propulsion speed greater than a preset speed threshold, or acceleration change exceeding a preset change threshold, then the game input device is determined to be a converter.
[0049] By adding a time axis to the joystick's movement trajectory, the accuracy of the smoke sensor's return to center, its propulsion speed, and acceleration changes can be observed, considering the joystick's timing characteristics. Game controllers, due to dead zones, rebound jitter, and wear variations in their mechanical structure, often fail to return to zero precisely every time the button is released, and the return curves can vary slightly in different directions. When the converter stops mouse movement or a button is released, the signal often exhibits overly idealized instantaneous zeroing, regular return hotspots, or acceleration changes that significantly exceed the characteristics of a physical joystick. For example... Figure 4 The image shown is a comparison diagram of a joystick timing diagram provided in an embodiment of the present invention. Figure 4 The image above is the joystick timing diagram of the converter. The horizontal axis of this joystick timing diagram represents the joystick movement trajectory, and the vertical axis represents the input time. The central vertical line of the converter's joystick timing diagram is the homing origin, and the homing is obvious with a large variation in the zeroing speed. Figure 4 The image below is a timing diagram of the joystick of a game controller. The center return to center of the joystick in the timing diagram of the game controller has no obvious pattern, and the zeroing speed has no significant pattern.
[0050] In another optional embodiment, the specific process of determining the input characteristics of the game input device based on input data may include: obtaining statistical distribution characteristics by statistically analyzing the directional vector distribution, propulsion distance, or spatial distribution thermal characteristics of the joystick operation data; and determining the statistical distribution characteristics as the input characteristics of the game input device. This method can identify abnormal patterns such as perfect alignment, specific angle clustering, and regular stripes through statistical distribution characteristics, thereby distinguishing between real gamepad and converter input.
[0051] In another optional embodiment, the input data further includes trigger input data. Based on this, the specific process of determining the input characteristics of the game input device based on the input data may include: determining the trigger depth characteristics of the game input device based on the trigger input data; wherein the trigger depth characteristics are used to indicate the continuous distribution of the trigger press stroke value. Based on this, the specific process of determining whether the game input device is a converter or a game controller based on the input characteristics may include: if the trigger depth characteristics show a direct jump from zero to an extreme value without intermediate analog values, the game input device is determined to be a converter. This method can quickly identify converters.
[0052] Furthermore, the specific process of determining whether the game input device is a converter or a game controller based on input characteristics may include: obtaining a score value based on the input characteristics; wherein the score value is used to indicate the probability that the game input device is a converter; if the score value is greater than or equal to a preset score threshold, the game input device is determined to be a converter; if the score value is less than the preset score threshold, the game input device is determined to be a game controller.
[0053] In practical implementation, a pre-trained classification model can be used for binary classification reasoning to output the probability distribution of whether the game input device is a game controller or a converter, and calculate the corresponding score. If the score is greater than or equal to a preset score threshold, the game input device is suspected to be a converter. If the score is less than the preset score threshold, the game input device is determined to be a game controller. The preset score threshold can be 0.95, 0.96, or 0.98, etc.
[0054] The above method transforms the output of the classification model into continuous values by using probability scoring and threshold judgment. This allows the operations team to flexibly adjust the preset score threshold according to the actual business risk tolerance, achieving a dynamic balance between improving the detection rate and reducing the false positive rate. It also provides a quantitative confidence basis for subsequent manual review.
[0055] In one optional implementation, before acquiring input data from the game input device, the input data from the game input device is recorded every specified time interval, and the recorded input data is serialized into a preset file. The preset file corresponding to the game input device is then stored in a preset location. In specific implementations, the specified time interval can be 5 seconds, 30 seconds, or 60 seconds, etc.
[0056] The server records the input data from the game's input devices at specified intervals and serializes the recorded input data into a preset file in a predefined format. This preset format can be Protobuf, XML, or other formats. The input data may include a list of frame data arranged chronologically, joystick and trigger data for each frame, button activation status, joystick operation data, frame number and timestamp, game logic events, sensitivity change events, etc.
[0057] In an optional embodiment, the preset file is compressed and stored in a preset location as an uploaded file. The name of the preset file carries information such as battle ID, player identifier, and sensitivity. It is identified by a preset identifier (e.g., qsec_x suffix or AA suffix) that it contains game controller input data. The game controller input data identified here can be the input data of a real game controller or the input data of a converter.
[0058] After storing the preset file corresponding to the game input device in a preset location, the data storage event of the game input device is written to the distributed message processing system. The sensitivity of the game input device is obtained, and it is determined whether the sensitivity is less than a first sensitivity threshold. If it is not less than the threshold, the data storage event of the game input device in the distributed consumption processing system is deduplicated to obtain the target event, and the target event is written to a preset queue. If the sensitivity is less than the threshold, the data storage event of the game input device cannot be written to the preset queue. By introducing a sensitivity coarse screening and combat identifier deduplication mechanism at the message entry point, low-sensitivity combat events can be pre-filtered in a distributed environment and duplicate delivery of the same combat can be eliminated, significantly reducing the backlog of invalid tasks in downstream detection nodes and improving the throughput and resource utilization efficiency of the overall streaming processing link.
[0059] In practical implementation, the aforementioned distributed message processing system can be a Kafka (a distributed stream processing platform) message system or other message systems. After storing the preset file corresponding to the game input device to a preset location, the data storage event (also known as the event log) of the game input device is written to the distributed message processing system. The system then subscribes to the data storage event; when the content of the data storage event contains a preset identifier path, it is identified as a converter detection trigger event, or it can be identified as a detection command that triggers the game input device.
[0060] The detection system obtains key information by parsing logs or filenames and performs message layer filtering, specifically determining whether the sensitivity of the game input device is less than a first sensitivity threshold. If it is, the data is discarded and the game input device's data storage event is not written to the preset queue or proceeds to subsequent detection stages. If it is not less than the first sensitivity threshold, the game input device's data storage event in the distributed consumption processing system is deduplicated to obtain the deduplicated target event, which is then written to the preset queue. This preset queue is the event or message storage queue, which can be a Redis queue. The deduplication filtering can be achieved by maintaining a system-maintained LRU (Least Recently Used) deduplication cache based on battle identifiers to avoid processing the same battle repeatedly.
[0061] After the game server receives a detection command for the game input device, it retrieves the target event corresponding to the game input device from a preset queue; and retrieves the input data corresponding to the game input device from a preset location based on the target event.
[0062] In the specific implementation, when obtaining the input data corresponding to the game input device from the preset location based on the target event, it is also necessary to quickly determine whether the game controller's input data is included by using the file name and identifier of the game input device. If it is included, the input data corresponding to the game input device is downloaded; if it is not included, the input data corresponding to the game input device is not obtained.
[0063] After the tasks in the preset queue are completed, delete local temporary files to free up disk space and avoid long-term accumulation that could affect the stability of the detection service.
[0064] Furthermore, the aforementioned input data also includes sensitivity; before determining the input characteristics of the game input device based on the input data, it is determined whether the sensitivity in the input data is less than a second sensitivity threshold. If it is not less than the threshold, the step of determining the input characteristics of the game input device based on the input data is executed. This method implements player-level sensitivity filtering.
[0065] The above approach achieves a high-efficiency, low-cost, and scalable detection chain by combining message-layer sensitivity filtering, player-layer sensitivity fine screening, and a combination of lightweight initial screening on the client side and in-depth judgment on the server side.
[0066] In practical applications, this disclosure adopts a streaming processing architecture in the production environment. The complete chain is as follows: the game server records the input data of the player's controller and serializes it into a preset file, which is automatically uploaded to a preset location for storage via the infrastructure upload module; the upload event log is written to Kafka (equivalent to the aforementioned distributed message processing system); the converter detection system consumes Kafka messages and performs sensitivity filtering, message deduplication, and task delivery; the downstream detection process consumes tasks from a preset queue, downloads files, parses data, generates images, and executes model inference; finally, the detection results are output to the operation chain in the form of JSON (JavaScript Object Notation, a lightweight data exchange format) logs, and the penalty system executes account penalties or further review.
[0067] Specifically, when the score of an input feature exceeds a preset threshold, it is determined to be a suspected case of converter use. The system outputs structured JSON logs, which may contain data such as sensitivity and account identifiers, for downstream operational systems to consume. The operational systems then execute account penalties, restrict matching, conduct manual reviews, or archive risks based on log tags, detection scores, and established penalty rules. Using a higher judgment threshold helps improve the confidence of the results and reduce the risk of false positives.
[0068] Corresponding to the above method embodiments, this disclosure provides a detection device for game input devices, such as... Figure 5 As shown, the device includes: The data acquisition module 50 is used to acquire input data for the game input device; wherein the input data includes at least joystick operation data.
[0069] Feature determination module 51 is used to determine the input features of the game input device based on the input data.
[0070] The device determination module 52 is used to determine whether the game input device is a converter or a game controller based on the input characteristics; wherein, the input characteristics of the converter are different from those of the game controller, and the converter is used to simulate the joystick input of the game controller as an external input signal.
[0071] The aforementioned game input device detection device determines the input characteristics of the game input device through the input data of the game input device, and then identifies the device type of the game input device based on the input characteristics. Compared with the method of identifying the device type through hardware information, this improves the accuracy of device type identification.
[0072] Furthermore, the aforementioned feature determination module 51 is also used to: construct joystick timing trajectory data based on joystick operation data; and determine the input features of the game input device based on the joystick timing trajectory data; wherein the input features are used to indicate the joystick spatial trajectory features and / or the joystick timing operation features.
[0073] Furthermore, the aforementioned joystick operation data includes joystick movement coordinates; the input features include joystick spatial trajectory features, which include joystick motion trajectory features and / or joystick movement coordinate spatial distribution features; based on this, the aforementioned feature determination module 51 is further configured to: draw a trajectory diagram based on the joystick timing trajectory data, and / or draw a scatter plot based on the joystick operation data; wherein, the trajectory diagram is used to indicate the joystick motion trajectory, and the scatter plot is used to indicate the joystick movement coordinate spatial distribution; and the input features of the game input device are determined based on the trajectory diagram and / or the scatter plot.
[0074] Furthermore, the above-mentioned device also includes a quantity determination module, used to: determine the number of joystick movement coordinates contained in the joystick operation data before constructing joystick timing trajectory data based on joystick operation data; if the number of coordinates is greater than or equal to a preset quantity threshold, perform the step of drawing a trajectory diagram or scatter plot.
[0075] Furthermore, the aforementioned input features include joystick timing operation features; the joystick timing operation features include joystick return accuracy, propulsion speed, and acceleration changes; based on this, the aforementioned device determination module 52 is used to: determine the game input device as a converter if the input features are manifested as joystick instantaneous return to zero, regular return hot spot, propulsion speed greater than a preset speed threshold, or acceleration change exceeding a preset change threshold.
[0076] Furthermore, the aforementioned feature determination module 51 is also used to: obtain statistical distribution features based on the statistical directional vector distribution, propulsion distance, or spatial distribution thermal features of the joystick operation data; and determine the statistical distribution features as the input features of the game input device.
[0077] Furthermore, the aforementioned device also includes a preliminary screening module, used for: monitoring the input stream of the game input device at a preset frequency before acquiring input data for the game input device; detecting, based on the trigger input data in the input stream, whether there is a trigger depth detection anomaly within a specified time window where the trigger is continuously triggered but lacks intermediate analog values; detecting, based on the joystick operation data in the input stream, whether there is a joystick return-to-center detection anomaly where the centering coordinates are completely consistent multiple times; and controlling the execution of the step of acquiring input data for the game input device if the cumulative number of trigger depth detection anomalies and / or joystick return-to-center detection anomalies reaches a preset number threshold.
[0078] Furthermore, the aforementioned input data also includes trigger input data; based on this, the aforementioned feature determination module 51 is further configured to: determine the trigger depth feature of the game input device based on the trigger input data; wherein, the trigger depth feature is used to indicate the continuous distribution state of the trigger press stroke value; based on this, the aforementioned device determination module 52 is configured to: determine the game input device as a converter if the trigger depth feature shows a direct jump from zero value to an extreme value and lacks intermediate analog values.
[0079] Furthermore, the aforementioned device determination module 52 is also used to: obtain a score value based on input characteristics; wherein the score value is used to indicate the probability that the game input device is a converter; if the score value is greater than or equal to a preset score threshold, determine that the game input device is a converter; if the score value is less than the preset score threshold, determine that the game input device is a game controller.
[0080] Furthermore, the above-mentioned device also includes a data storage module, used to: record the input data of the game input device at specified intervals before acquiring the input data for the game input device, serialize the recorded input data of the game input device into a preset file, and store the preset file corresponding to the game input device in a preset location.
[0081] Furthermore, the aforementioned device also includes a message preprocessing module, used for: after storing the preset file corresponding to the game input device to a preset location, writing the data storage event of the game input device into the distributed message processing system; obtaining the sensitivity of the game input device, determining whether the sensitivity is less than a first sensitivity threshold; if it is not less than, performing deduplication filtering on the data storage event of the game input device in the distributed consumption processing system to obtain the deduplicated target event, and writing the target event into a preset queue; if it is less than, not writing the data storage event of the game input device into the preset queue.
[0082] Furthermore, the aforementioned data acquisition module 50 is used to: acquire the target event corresponding to the game input device from the preset queue; and acquire the input data corresponding to the game input device from the preset position according to the target event.
[0083] Furthermore, the aforementioned input data also includes sensitivity; based on this, the aforementioned device further includes a sensitivity determination module, used to: determine whether the sensitivity in the input data is less than a second sensitivity threshold before determining the input characteristics of the game input device based on the input data; if it is not less than a second sensitivity threshold, perform the step of determining the input characteristics of the game input device based on the input data.
[0084] The detection device for game input devices provided in this embodiment has the same implementation principle and technical effect as the aforementioned method embodiment. For the sake of brevity, any parts not mentioned in the device embodiment can be referred to the corresponding content in the aforementioned method embodiment.
[0085] This disclosure also provides an electronic device, such as... Figure 6 As shown, the electronic device includes a processor and a memory. The memory stores machine-executable instructions that can be executed by the processor. The processor executes the machine-executable instructions to implement the aforementioned method for detecting game input devices.
[0086] Specifically, the above-mentioned method for detecting game input devices includes: acquiring input data for the game input device; wherein the input data includes at least joystick operation data; determining the input characteristics of the game input device based on the input data; and determining whether the game input device is a converter or a game controller based on the input characteristics; wherein the input characteristics of the converter are different from those of the game controller, and the converter is used to simulate the joystick input of the game controller as an external input signal.
[0087] The aforementioned method for detecting game input devices determines the input characteristics of the game input device through its input data, and then identifies the device type based on these characteristics. Compared to identifying device types through hardware information, this method improves the accuracy of device type identification.
[0088] In an optional embodiment, the step of determining the input characteristics of the game input device based on input data includes: constructing joystick timing trajectory data based on joystick operation data; determining the input characteristics of the game input device based on the joystick timing trajectory data; wherein the input characteristics are used to indicate the joystick spatial trajectory characteristics and / or the joystick timing operation characteristics.
[0089] In an optional embodiment, the joystick operation data includes joystick movement coordinates; the input features include joystick spatial trajectory features, which include joystick motion trajectory features and / or joystick movement coordinate spatial distribution features; based on this, the step of determining the input features of the game input device based on the joystick timing trajectory data includes: drawing a trajectory diagram based on the joystick timing trajectory data, and / or drawing a scatter plot based on the joystick operation data; wherein the trajectory diagram is used to indicate the joystick motion trajectory, and the scatter plot is used to indicate the spatial distribution of the joystick movement coordinates; the input features of the game input device are determined based on the trajectory diagram and / or the scatter plot.
[0090] In an optional embodiment, before the step of constructing joystick timing trajectory data based on joystick operation data, the method further includes: determining the number of joystick movement coordinates contained in the joystick operation data; if the number of coordinates is greater than or equal to a preset number threshold, performing the step of drawing a trajectory diagram or scatter plot.
[0091] In an optional embodiment, the above-mentioned input features include joystick timing operation features; the joystick timing operation features include joystick return accuracy, propulsion speed, and acceleration change; based on this, the above-mentioned step of determining whether the game input device is a converter or a game controller based on the input features includes: if the input features are manifested as joystick return instantaneous zeroing, regular return hot spot, propulsion speed greater than a preset speed threshold, or acceleration change exceeding a preset change threshold, then the game input device is determined to be a converter.
[0092] In an optional embodiment, the step of determining the input characteristics of the game input device based on input data includes: obtaining statistical distribution characteristics by statistically analyzing the directional vector distribution, propulsion distance, or spatial distribution thermal characteristics of the joystick operation data; and determining the statistical distribution characteristics as the input characteristics of the game input device.
[0093] In an optional embodiment, before the step of acquiring input data for the game input device, the method further includes: monitoring the input stream of the game input device at a preset frequency; detecting, based on the trigger input data in the input stream, whether there is a trigger depth detection anomaly within a specified time window where the trigger is continuously triggered but lacks intermediate analog values; detecting, based on the joystick operation data in the input stream, whether there is a joystick return-to-center detection anomaly where the centering coordinates are completely consistent multiple times; and controlling the execution of the step of acquiring input data for the game input device before proceeding.
[0094] In an optional embodiment, the input data further includes trigger input data; based on this, the step of determining the input characteristics of the game input device based on the input data includes: determining the trigger depth characteristics of the game input device according to the trigger input data; wherein, the trigger depth characteristics are used to indicate the continuous distribution state of the trigger press stroke value; the step of determining whether the game input device is a converter or a game controller based on the input characteristics includes: if the trigger depth characteristics show a direct jump from zero value to an extreme value and lack intermediate analog values, the game input device is determined to be a converter.
[0095] In an optional embodiment, the step of determining whether the game input device is a converter or a game controller based on input features includes: obtaining a score value based on the input features; wherein the score value is used to indicate the probability that the game input device is a converter; if the score value is greater than or equal to a preset score threshold, determining that the game input device is a converter; if the score value is less than the preset score threshold, determining that the game input device is a game controller.
[0096] In an optional embodiment, before acquiring input data for the game input device, the method further includes: recording the input data of the game input device every specified time interval, serializing the recorded input data of the game input device into a preset file, and storing the preset file corresponding to the game input device in a preset location.
[0097] In an optional embodiment, after storing the preset file corresponding to the game input device to a preset location, the method further includes: writing the data storage event of the game input device into a distributed message processing system; obtaining the sensitivity of the game input device and determining whether the sensitivity is less than a first sensitivity threshold; if it is not less than a first sensitivity threshold, performing deduplication filtering on the data storage event of the game input device in the distributed consumption processing system to obtain the deduplicated target event, and writing the target event into a preset queue; if it is less than a first sensitivity threshold, the data storage event of the game input device cannot be written into the preset queue.
[0098] In an optional embodiment, the step of obtaining input data for a game input device includes: obtaining a target event corresponding to the game input device from a preset queue; and obtaining input data corresponding to the game input device from a preset position based on the target event.
[0099] In an optional embodiment, the input data further includes sensitivity; therefore, before the step of determining the input characteristics of the game input device based on the input data, the method further includes: determining whether the sensitivity in the input data is less than a second sensitivity threshold; if not, performing the step of determining the input characteristics of the game input device based on the input data.
[0100] Furthermore, Figure 6 The electronic device shown also includes a bus 102 and a communication interface 103, with the processor 101, the communication interface 103 and the memory 100 connected via the bus 102.
[0101] The memory 100 may include high-speed random access memory (RAM) and may also include non-volatile memory, such as at least one disk storage device. Communication between this system network element and at least one other network element is achieved through at least one communication interface 103 (which can be wired or wireless), such as the Internet, wide area network, local area network, metropolitan area network, etc. The bus 102 may be an ISA bus, PCI bus, or EISA bus, etc. The bus can be divided into address bus, data bus, control bus, etc. For ease of representation, Figure 6 The symbol is represented by a single double-headed arrow, but this does not mean that there is only one bus or one type of bus.
[0102] Processor 101 may be an integrated circuit chip with signal processing capabilities. In implementation, each step of the above method can be completed by the integrated logic circuitry in the hardware of processor 101 or by instructions in software form. The processor 101 may be a general-purpose processor, including a Central Processing Unit (CPU), a Network Processor (NP), etc.; it may also be a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field-Programmable Gate Array (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, or discrete hardware components. It can implement or execute the methods, steps, and logic block diagrams disclosed in the embodiments of this disclosure. The general-purpose processor may be a microprocessor or any conventional processor. The steps of the methods disclosed in the embodiments of this disclosure can be directly manifested as execution by a hardware decoding processor, or execution by a combination of hardware and software modules in the decoding processor. The software module can reside in a readily available storage medium in the art, such as random access memory, flash memory, read-only memory, programmable read-only memory, electrically erasable programmable memory, or registers. This storage medium is located in memory 100, and processor 101 reads information from memory 100 and, in conjunction with its hardware, completes the steps of the method described in the foregoing embodiments.
[0103] This disclosure also provides a computer-readable storage medium storing computer-executable instructions that, when invoked and executed by a processor, cause the processor to implement the aforementioned method for detecting a game input device.
[0104] Specifically, the above-mentioned method for detecting game input devices includes: acquiring input data for the game input device; wherein the input data includes at least joystick operation data; determining the input characteristics of the game input device based on the input data; and determining whether the game input device is a converter or a game controller based on the input characteristics; wherein the input characteristics of the converter are different from those of the game controller, and the converter is used to simulate the joystick input of the game controller as an external input signal.
[0105] The aforementioned method for detecting game input devices determines the input characteristics of the game input device through its input data, and then identifies the device type based on these characteristics. Compared to identifying device types through hardware information, this method improves the accuracy of device type identification.
[0106] In an optional embodiment, the step of determining the input characteristics of the game input device based on input data includes: constructing joystick timing trajectory data based on joystick operation data; determining the input characteristics of the game input device based on the joystick timing trajectory data; wherein the input characteristics are used to indicate the joystick spatial trajectory characteristics and / or the joystick timing operation characteristics.
[0107] In an optional embodiment, the joystick operation data includes joystick movement coordinates; the input features include joystick spatial trajectory features, which include joystick motion trajectory features and / or joystick movement coordinate spatial distribution features; based on this, the step of determining the input features of the game input device based on the joystick timing trajectory data includes: drawing a trajectory diagram based on the joystick timing trajectory data, and / or drawing a scatter plot based on the joystick operation data; wherein the trajectory diagram is used to indicate the joystick motion trajectory, and the scatter plot is used to indicate the spatial distribution of the joystick movement coordinates; the input features of the game input device are determined based on the trajectory diagram and / or the scatter plot.
[0108] In an optional embodiment, before the step of constructing joystick timing trajectory data based on joystick operation data, the method further includes: determining the number of joystick movement coordinates contained in the joystick operation data; if the number of coordinates is greater than or equal to a preset number threshold, performing the step of drawing a trajectory diagram or scatter plot.
[0109] In an optional embodiment, the above-mentioned input features include joystick timing operation features; the joystick timing operation features include joystick return accuracy, propulsion speed, and acceleration change; based on this, the above-mentioned step of determining whether the game input device is a converter or a game controller based on the input features includes: if the input features are manifested as joystick return instantaneous zeroing, regular return hot spot, propulsion speed greater than a preset speed threshold, or acceleration change exceeding a preset change threshold, then the game input device is determined to be a converter.
[0110] In an optional embodiment, the step of determining the input characteristics of the game input device based on input data includes: obtaining statistical distribution characteristics by statistically analyzing the directional vector distribution, propulsion distance, or spatial distribution thermal characteristics of the joystick operation data; and determining the statistical distribution characteristics as the input characteristics of the game input device.
[0111] In an optional embodiment, before the step of acquiring input data for the game input device, the method further includes: monitoring the input stream of the game input device at a preset frequency; detecting, based on the trigger input data in the input stream, whether there is a trigger depth detection anomaly within a specified time window where the trigger is continuously triggered but lacks intermediate analog values; detecting, based on the joystick operation data in the input stream, whether there is a joystick return-to-center detection anomaly where the centering coordinates are completely consistent multiple times; and controlling the execution of the step of acquiring input data for the game input device before proceeding.
[0112] In an optional embodiment, the input data further includes trigger input data; based on this, the step of determining the input characteristics of the game input device based on the input data includes: determining the trigger depth characteristics of the game input device according to the trigger input data; wherein, the trigger depth characteristics are used to indicate the continuous distribution state of the trigger press stroke value; the step of determining whether the game input device is a converter or a game controller based on the input characteristics includes: if the trigger depth characteristics show a direct jump from zero value to an extreme value and lack intermediate analog values, the game input device is determined to be a converter.
[0113] In an optional embodiment, the step of determining whether the game input device is a converter or a game controller based on input features includes: obtaining a score value based on the input features; wherein the score value is used to indicate the probability that the game input device is a converter; if the score value is greater than or equal to a preset score threshold, determining that the game input device is a converter; if the score value is less than the preset score threshold, determining that the game input device is a game controller.
[0114] In an optional embodiment, before acquiring input data for the game input device, the method further includes: recording the input data of the game input device every specified time interval, serializing the recorded input data of the game input device into a preset file, and storing the preset file corresponding to the game input device in a preset location.
[0115] In an optional embodiment, after storing the preset file corresponding to the game input device to a preset location, the method further includes: writing the data storage event of the game input device into a distributed message processing system; obtaining the sensitivity of the game input device and determining whether the sensitivity is less than a first sensitivity threshold; if it is not less than a first sensitivity threshold, performing deduplication filtering on the data storage event of the game input device in the distributed consumption processing system to obtain the deduplicated target event, and writing the target event into a preset queue; if it is less than a first sensitivity threshold, the data storage event of the game input device cannot be written into the preset queue.
[0116] In an optional embodiment, the step of obtaining input data for a game input device includes: obtaining a target event corresponding to the game input device from a preset queue; and obtaining input data corresponding to the game input device from a preset position based on the target event.
[0117] In an optional embodiment, the input data further includes sensitivity; therefore, before the step of determining the input characteristics of the game input device based on the input data, the method further includes: determining whether the sensitivity in the input data is less than a second sensitivity threshold; if not, performing the step of determining the input characteristics of the game input device based on the input data.
[0118] If the aforementioned functions are implemented as software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this disclosure, in essence, or the part that contributes to the prior art, or a portion of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, a terminal device, or a network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of this disclosure. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.
[0119] In the description of this disclosure, it should be noted that the terms "center," "upper," "lower," "left," "right," "vertical," "horizontal," "inner," and "outer," etc., indicate the orientation or positional relationship based on the orientation or positional relationship shown in the accompanying drawings, and are only for the convenience of describing this disclosure and simplifying the description, and do not indicate or imply that the device or element referred to must have a specific orientation, or be constructed and operated in a specific orientation, and therefore should not be construed as a limitation of this disclosure. Furthermore, the terms "first," "second," and "third" are used for descriptive purposes only and should not be construed as indicating or implying relative importance.
[0120] Finally, it should be noted that the above-described embodiments are merely specific implementations of this disclosure, used to illustrate the technical solutions of this disclosure, and not to limit it. The protection scope of this disclosure is not limited thereto. Although this disclosure has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that any person skilled in the art can still modify or easily conceive of changes to the technical solutions described in the foregoing embodiments, or make equivalent substitutions for some of the technical features, within the scope of the technology disclosed in this disclosure. Such modifications, changes, or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of this disclosure, and should all be covered within the protection scope of this disclosure. Therefore, the protection scope of this disclosure should be determined by the protection scope of the claims.
Claims
1. A method for detecting a game input device, characterized in that, The method includes: Acquire input data for the game input device; wherein the input data includes at least joystick operation data; The input characteristics of the game input device are determined based on the input data; The game input device is determined to be a converter or a game controller based on the input characteristics; wherein the input characteristics of the converter are different from those of the game controller, and the converter is used to simulate the joystick input of the game controller as an external input signal.
2. The method according to claim 1, characterized in that, The step of determining the input features of the game input device based on the input data includes: Construct joystick timing trajectory data based on the joystick operation data; Based on the joystick timing trajectory data, the input characteristics of the game input device are determined; wherein, the input characteristics are used to indicate the joystick spatial trajectory characteristics and / or the joystick timing operation characteristics.
3. The method according to claim 2, characterized in that, The joystick operation data includes joystick movement coordinates; the input features include joystick spatial trajectory features, which include joystick motion trajectory features and / or joystick movement coordinate spatial distribution features. The step of determining the input characteristics of the game input device based on the joystick timing trajectory data includes: A trajectory diagram is plotted based on the joystick timing trajectory data, and / or a scatter plot is plotted based on the joystick operation data; wherein the trajectory diagram is used to indicate the joystick movement trajectory, and the scatter plot is used to indicate the spatial distribution of the joystick movement coordinates; The input characteristics of the game input device are determined based on the trajectory plot and / or the scatter plot.
4. The method according to claim 3, characterized in that, Before the step of constructing joystick timing trajectory data based on the joystick operation data, the method further includes: Determine the number of joystick movement coordinates included in the joystick operation data; If the number of coordinates is greater than or equal to a preset threshold, the step of drawing the trajectory graph or the scatter plot is executed.
5. The method according to claim 2, characterized in that, The input features include joystick timing operation features; the joystick timing operation features include joystick return accuracy, propulsion speed, and acceleration changes; The step of determining whether the game input device is a converter or a game controller based on the input features includes: If the input characteristics are manifested as the joystick returning to zero instantaneously upon returning to center, a hot spot during regular return to center, the propulsion speed exceeding a preset speed threshold, or the acceleration change exceeding a preset change threshold, then the game input device is determined to be the converter.
6. The method according to claim 1, characterized in that, The step of determining the input features of the game input device based on the input data includes: Based on the joystick operation data, the statistical distribution characteristics are obtained by statistically analyzing the directional vector distribution, propulsion distance, or spatial thermal distribution. The statistical distribution characteristics are determined as the input characteristics of the game input device.
7. The method according to claim 1, characterized in that, Prior to the step of acquiring input data for the game input device, the method further includes: Monitor the input stream of the game input device at a preset frequency; Based on the trigger input data in the input stream, detect whether there is a trigger depth detection anomaly within a specified time window where the trigger is continuously fired but lacks intermediate analog values; Based on the joystick operation data in the input stream, detect whether there is a joystick return-to-center anomaly where the centering coordinates are completely consistent multiple times in a row. If the cumulative number of trigger depth detection errors and / or joystick return-to-center detection errors reaches a preset threshold, then the step of acquiring input data for the game input device is executed.
8. The method according to claim 1, characterized in that, The input data also includes trigger input data; the step of determining the input characteristics of the game input device based on the input data includes: Based on the trigger input data, the trigger depth characteristics of the game input device are determined; wherein, the trigger depth characteristics are used to indicate the continuous distribution of the trigger press stroke value; The step of determining whether the game input device is a converter or a game controller based on the input features includes: If the trigger depth feature exhibits a direct jump from zero to an extreme value with no intermediate analog values, then the game input device is identified as the converter.
9. The method according to claim 1, characterized in that, The step of determining whether the game input device is a converter or a game controller based on the input features includes: A score is obtained based on the input features; wherein the score indicates the probability that the game input device is the converter; If the score value is greater than or equal to a preset score threshold, the game input device is determined to be the converter; If the score is less than the preset score threshold, the game input device is determined to be the game controller.
10. The method according to claim 1, characterized in that, Prior to the step of acquiring input data for the game input device, the method further includes: Every specified time interval, the input data of the game input device is recorded, and the recorded input data of the game input device is serialized into a preset file. The preset file corresponding to the game input device is then stored in a preset location.
11. The method according to claim 10, characterized in that, After the step of storing the preset file corresponding to the game input device to a preset location, the method further includes: Write the data storage events of the game input device into the distributed message processing system; The sensitivity of the game input device is obtained, and it is determined whether the sensitivity is less than a first sensitivity threshold. If the number of events is not less than the target event, the data storage events of the game input device in the distributed consumption processing system are deduplicated and filtered to obtain the target event, and the target event is written into a preset queue. If the value is less than the preset queue, the data storage event of the game input device cannot be written into the preset queue.
12. The method according to claim 11, characterized in that, The step of acquiring input data for the game input device includes: Obtain the target event corresponding to the game input device from the preset queue; The game input device corresponding to the target event is obtained from the preset location.
13. The method according to claim 1, characterized in that, The input data also includes sensitivity; Prior to the step of determining the input characteristics of the game input device based on the input data, the method further includes: Determine whether the sensitivity in the input data is less than a second sensitivity threshold. If it is not less than a second sensitivity threshold, execute the step of determining the input characteristics of the game input device based on the input data.
14. A detection device for a game input device, characterized in that, The device includes: A data acquisition module is used to acquire input data for a game input device; wherein the input data includes at least joystick operation data; The feature determination module is used to determine the input features of the game input device based on the input data; The device determination module is used to determine whether the game input device is a converter or a game controller based on the input characteristics; wherein the input characteristics of the converter are different from those of the game controller, and the converter is used to simulate the joystick input of the game controller as an external input signal.
15. An electronic device, characterized in that, The electronic device includes a processor and a memory, the memory storing machine-executable instructions that can be executed by the processor, the processor executing the machine-executable instructions to implement the game input device detection method according to any one of claims 1 to 13.
16. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores computer-executable instructions, which, when invoked and executed by a processor, cause the processor to implement the game input device detection method according to any one of claims 1 to 13.
