CN-121999803-A - Method, equipment and medium for detecting key control of game handle
Abstract
The invention discloses a key control detection method, equipment and a medium of a game handle, which relate to the technical field of man-machine interaction and comprise the steps of establishing a key acoustic reference file and a key region mapping table, generating a key acoustic sampling frame set with a unified time mark based on continuous sampling of a key surface structure vibration acoustic response during user operation, comparing the key acoustic sampling frame set with the key acoustic reference file, identifying a key drop point region, polymerizing to generate a key drop point event set, analyzing an acoustic response signal corresponding to the key drop point event set, judging a target shearing direction through an energy migration track and a phase change mode of the acoustic response signal, binding the target shearing direction with the key drop point event set, and generating the key control event set. According to the invention, the overcomplete dictionary of the related key falling point area identifier is constructed based on the key acoustic reference file, so that the consistency and the instantaneity of the analysis of the complex control instruction are enhanced.
Inventors
- YANG JUN
Assignees
- 东莞市锋炎塑胶制品有限公司
Dates
- Publication Date
- 20260508
- Application Date
- 20260128
Claims (10)
- 1.A key control detection method of a game handle is characterized by comprising the steps of, Establishing a key acoustic reference file and a key region mapping table, and generating a key acoustic sampling frame set with a uniform time identifier based on continuous sampling of the key surface structure vibro-acoustic response during user operation; Comparing the key acoustic sampling frame set with the key acoustic reference file, identifying a key falling point area, and aggregating to generate a key falling point event set; analyzing an acoustic response signal corresponding to the key falling point event set, judging a target shearing direction through an energy migration track and a phase change mode of the acoustic response signal, binding the target shearing direction with the key falling point event set, and generating a key control event set; And packaging the key control event set according to a predefined semantic rule mapping table, generating a key control detection result packet which can be directly analyzed, and sending the key control detection result packet to an external game terminal.
- 2. The method for detecting key manipulation of a game pad according to claim 1, wherein the generating a key acoustic sampling frame set with a uniform time stamp is performed by, Dividing a plurality of key falling point areas for the pressable surface of each key; Assigning a plurality of key drop point areas with unique key drop point area identifiers to form a key area mapping table; recording acoustic response fingerprints of each key in different key falling point areas and different shearing directions to form a key acoustic reference file; continuously sampling the key surface structure vibroacoustic response when the user operates; And adding a uniform time mark for the continuously sampled key surface structure vibro-acoustic response to form a key acoustic sampling frame set.
- 3. The method for detecting key manipulation of a game pad according to claim 2, wherein the key acoustic reference file is formed, in particular, Collecting drop point response signal samples of each key in different key drop point areas; Collecting shear response signal samples of each key in different shear directions; Cross-correlating drop point response signal samples in different key drop point areas with shear response signal samples in different shear directions to generate fusion response signal samples; and taking the cross-correlated fusion response signal samples as acoustic response fingerprints, and archiving the acoustic response fingerprints as a key acoustic reference file.
- 4. The method for detecting key manipulation of a joystick of claim 1, wherein said generating a set of key drop events comprises, in particular, Based on acoustic response fingerprints in the key acoustic reference file, an overcomplete dictionary of associated key drop point area identifiers is built for each key; For each acoustic sampling frame in the key acoustic sampling frame set, searching sparse representation of acoustic response fingerprints on an overcomplete dictionary of the corresponding key; determining candidate key falling point area identifiers and matching consistency marks of the acoustic sampling frames according to the sparse representation result; And according to the sequence of the unified time marks, aggregating continuous acoustic sampling frames with the same candidate key falling point area marks, generating key falling point events, and summarizing to form a key falling point event set.
- 5. The method for detecting key manipulation of a game pad according to claim 4, wherein the sparse representation result is obtained by decomposing an acoustic sampling frame on an overcomplete dictionary, and reflects a reconstruction contribution degree distribution of an atomic group associated with each key drop point area identifier on the overcomplete dictionary on the reconstructed acoustic sampling frame.
- 6. The method for detecting a key manipulation of a joystick of claim 1, wherein said generating a key manipulation event set comprises, in particular, Extracting event alignment signal segments from the key acoustic sampling frame set; phase space reconstruction is carried out on the event alignment signal segment to form a dynamic attractor; carrying out principal component analysis and adjacent point vector direction analysis on the dynamic attractor, extracting an energy distribution descriptor representing an energy migration track and a phase dynamic descriptor representing a phase change mode, and combining the energy distribution descriptor and the phase dynamic descriptor into a shearing dynamic mode descriptor; Matching the shearing dynamic mode descriptor with a predefined direction characteristic template library, and judging a target shearing direction according to a matching result; Binding the target shearing direction with the key falling point event corresponding to the key falling point event set, generating a key control event, and summarizing to form a key control event set.
- 7. The method for detecting key manipulation of a game pad according to claim 6, wherein said phase-space reconstruction is performed on the event alignment signal segment to form a dynamic attractor, in particular, Analyzing the dynamic characteristics of acoustic response fingerprints through a key acoustic reference file, and determining time delay and embedding dimension required by phase space reconstruction; Using time delay and embedding dimension to perform delay embedding processing on the event alignment signal segment to generate a reconstructed state vector sequence; marking each reconstructed state vector in the reconstructed state vector sequence in Gao Weixiang space by taking the reconstructed state vector as a coordinate point, and connecting the reconstructed state vectors to form a phase space track; And removing the initial transient state in the phase space track, and taking the reserved steady-state track structure as a dynamic attractor.
- 8. The method for detecting key manipulation of a joystick according to claim 1, wherein the step of generating a directly resolvable key manipulation detection result packet is performed and transmitted to an external game terminal, specifically, Sorting and conflict resolution are carried out on the key control event sets according to the unified time identification, and an ordered and conflict-free key control event list is generated; Mapping key identifiers, key drop point area identifiers and target shearing directions in an ordered and collision-free key control event list into corresponding game instruction sequences based on a predefined semantic rule mapping table; Packaging the game instruction sequence according to a format of a standard transmission protocol to form a key control detection result packet; And sending the key control detection result packet to an external game terminal through a physical communication interface of the game handle.
- 9. A computer device comprises a memory and a processor, wherein the memory stores a computer program, and the computer program is characterized in that the processor realizes the steps of the key control detection method of the game handle according to any one of claims 1-8 when executing the computer program.
- 10. A computer readable storage medium having a computer program stored thereon, wherein the computer program when executed by a processor implements the steps of the key manipulation detection method for a game pad according to any one of claims 1 to 8.
Description
Method, equipment and medium for detecting key control of game handle Technical Field The invention relates to the technical field of man-machine interaction, in particular to a method, equipment and medium for detecting key control of a game handle. Background Under the background that the man-machine interaction technology continuously evolves towards the immersive and high-precision input direction, the game handle gradually develops from simple key trigger equipment to a multi-dimensional control input terminal, and a key surface structure, touch feedback and a user force application mode jointly participate in forming a perceptible control signal. With the popularization of acoustic sensors and structural vibration acquisition technologies in miniaturized terminals, transient vibration waveforms and acoustic responses generated during key press processes are becoming important physical carriers for characterizing user input intentions. The control recognition mechanism is constructed around the physical response signals, and the refined perception of the key falling point position, the shearing direction and the continuous control rhythm can be realized on the premise of not changing the original key circuit and the original mechanical structure, so that an input expression mode with higher resolution and lower delay is formed in the game man-machine interaction scene, and a reliable data base is provided for complex operation instructions and fine-granularity interaction behaviors. The existing gamepad key control detection technology mainly relies on key row scanning, capacitance triggering or pressure threshold value judgment to acquire an input event, and the related technology has a mature application foundation in the aspects of input triggering and time sequence stability, but has the problem that information expression is limited in the aspects of distinguishing fine-granularity control dimensions of different drop point areas on the same key surface, different shearing directions of the same key and the like, so that the distinguishing degree and the expandability of a high-order man-machine interaction instruction are affected. The existing acoustic or vibration sensing input technology has high sensitivity characteristic, but is easily influenced by signal aliasing and timing drift in a multi-region and multi-direction control identification scene. Disclosure of Invention The present invention has been made in view of the above-described problems occurring in the prior art. Therefore, the invention provides a key control detection method of a game handle, which solves the problem that information expression is limited in the aspect of distinguishing fine-granularity control dimensions of different drop point areas on the surface of the same key, different shearing directions of the same key and the like. In order to solve the technical problems, the invention provides the following technical scheme: In a first aspect, the present invention provides a method for detecting key manipulation of a game handle, including establishing a key acoustic reference file and a key region mapping table, and generating a key acoustic sampling frame set with a uniform time identifier based on continuous sampling of a key surface structure vibro-acoustic response when operated by a user; Comparing the key acoustic sampling frame set with the key acoustic reference file, identifying a key falling point area, and aggregating to generate a key falling point event set; analyzing an acoustic response signal corresponding to the key falling point event set, judging a target shearing direction through an energy migration track and a phase change mode of the acoustic response signal, binding the target shearing direction with the key falling point event set, and generating a key control event set; And packaging the key control event set according to a predefined semantic rule mapping table, generating a key control detection result packet which can be directly analyzed, and sending the key control detection result packet to an external game terminal. As a preferable scheme of the key operation detection method of the game handle, the invention generates a key acoustic sampling frame set with a uniform time mark, specifically, Dividing a plurality of key falling point areas for the pressable surface of each key; Assigning a plurality of key drop point areas with unique key drop point area identifiers to form a key area mapping table; recording acoustic response fingerprints of each key in different key falling point areas and different shearing directions to form a key acoustic reference file; continuously sampling the key surface structure vibroacoustic response when the user operates; And adding a uniform time mark for the continuously sampled key surface structure vibro-acoustic response to form a key acoustic sampling frame set. As a preferable scheme of the key control detection method of the game handle, the key