Master-slave integrated handle pairing method and system
Through Bluetooth low-power protocol, the handle is automatically identified, and the adaptive frequency hopping technology and time synchronization mechanism are adopted, combined with dynamic adjustment of the working mode and communication protocol, the problems of cumbersome handle pairing, unstable communication and high energy consumption are solved, and the problem of high efficiency is achieved. Stable handle communication and extended battery life.
Patent Information
- Application Number
- CN202510006923.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-01-03
- Publication Date
- 2025-02-07
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
The existing controller pairing technology is cumbersome and error-prone, and the communication delay and out-of-sync problems are serious, which affects the gaming experience, and at the same time, high energy consumption leads to short battery life.
Automatically search and identify left and right handles through Bluetooth low-power protocol, dynamically adjust the wireless channel by adaptive frequency hopping technology, establish a time synchronization mechanism, dynamically adjust the working mode according to the power state and game scene, and preset the optimized communication protocol and parameters. Automatically match the optimal communication solution.
It realizes automatic pairing of the controller, improves communication stability and synchronization, extends battery life, and improves gaming experience and overall performance of the controller.
Smart Images

Figure CN119386453A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of handle device communication technology, and in particular to a master-slave integrated handle pairing method and system. Background Art
[0002] With the rapid development of the gaming industry, the interaction methods of game controllers have gradually diversified. In order to provide a more flexible gaming experience, many game controllers are designed with a left and right separated structure, so that players can freely operate each handle, enhancing portability and ease of use. However, pairing the separated left and right handles into an integrated system and stably connecting them to the game console is still a technical challenge, especially in ensuring the synchronization of the handles and the stability of signal transmission. Traditional single-handed handles rarely involve pairing operations of the left and right handles, while modern handles, especially wireless controllers, require a more intelligent and efficient pairing mechanism to optimize the user experience.
[0003] Currently, most controller pairing technologies use a single master device, that is, one of the left and right controllers is used as the "master device" to transmit signals, and the other is connected to the master device as the "slave device". This design usually relies on wireless connections such as Bluetooth or Wi-Fi to achieve pairing between the left and right controllers, and then the master device communicates with the game console.
[0004] In the use scenario of wireless game controllers, the pairing and connection stability of the left and right controllers has always been a technical problem. The traditional controller pairing method requires users to manually set the master-slave relationship, which is cumbersome and error-prone. In addition, the left and right controllers are prone to communication delays and asynchrony in intense game scenes, affecting the gaming experience. At the same time, frequent data transmission and repeated signal processing will also increase the energy consumption of the controller and shorten the battery life.
[0005] How to achieve automatic pairing of left and right handles, ensure communication stability and synchronization, and reduce energy consumption have become technical problems that need to be solved urgently. Summary of the invention
[0006] In order to solve the above-mentioned technical problems, the present invention provides a master-slave integrated handle pairing method and system.
[0007] The technical solution of the present invention is achieved in this way: A master-slave integrated handle pairing method comprises the following steps: S1. According to the unique identification information of the left and right handles, the corresponding handle devices are automatically searched and identified through the Bluetooth low energy protocol to establish a pairing connection; S2, using adaptive frequency hopping technology to dynamically adjust the wireless channel according to the communication quality of the left and right handles; S3, establish a time synchronization mechanism between the left and right controllers by regularly exchanging timestamps and calibrating clocks; S4, obtaining the power information of the controller, and dynamically adjusting the working mode and parameters of the controller according to the power status and game scene; S5. According to different game types and operation requirements, multiple sets of optimized communication protocols and parameters are preset, and communication solutions are automatically matched through intelligent recognition of game scenarios and user operations.
[0008] Furthermore, in step S1, the corresponding handle device is automatically searched and identified through the Bluetooth low energy protocol according to the unique identification information of the left and right handles, and a pairing connection is established, specifically: Obtain the pre-stored unique identification information of the left and right handles as a basis for searching and identifying the handle device; Through the Bluetooth low energy protocol, it automatically searches for nearby Bluetooth devices within the range and obtains the device's identification information; Compare the searched device identification information with the pre-stored left and right handle identification information to determine whether it is the target handle device; If the comparison is successful, the corresponding left and right handles are found. The master and slave handles are distinguished according to the signal strength, and the one with a stronger signal is the master handle; Send a connection request to the target controller device to establish a Bluetooth low energy connection and complete the controller pairing process; After pairing is successful, data communication is carried out through the Bluetooth low energy protocol to obtain the operation information and status information of the handle.
[0009] Furthermore, in step S2, the adaptive frequency hopping technology is used to dynamically adjust the wireless channel according to the communication quality of the left and right handles, specifically: Obtain real-time communication quality data of the left and right controllers, including signal strength and bit error rate indicators, as input to the adaptive frequency hopping algorithm; According to the preset channel quality evaluation model, the communication quality scores of each channel are comprehensively analyzed to screen out candidate channels; Among the candidate channels, compare the signal strength and interference level and select the best channel as the frequency hopping target; If the communication quality of the current channel is lower than the preset threshold, the frequency hopping mechanism is triggered to switch the data transmission to the optimal channel; During the frequency hopping process, monitor the communication stability of the new channel to avoid communication interruption caused by frequent frequency hopping; After frequency hopping is completed, the transmission power and coding method are dynamically adjusted to improve signal quality and reliability; Establish a channel quality feedback mechanism to optimize frequency hopping strategies and parameters based on the real-time status of the communication link.
[0010] Furthermore, in step S3, a time synchronization mechanism is established between the left and right handles to ensure that the data collection and processing of the handles are consistent in time by regularly exchanging timestamps and calibrating clocks. Specifically, Get the current timestamps of the left and right controllers, and send the timestamp information to each other through the wireless communication module; After receiving the timestamp from the other controller, compare the timestamp difference between the two parties. If the difference exceeds the preset threshold, the clock calibration procedure is triggered; When calibrating the clock, the clock deviation and drift rate are estimated by analyzing the difference values of multiple consecutive timestamps using the Kalman filter algorithm to obtain the calibration parameters; Adjust the local clock according to the calibration parameters to synchronize it with the other party's clock. After calibration, exchange timestamps again to verify the synchronization effect. During the data collection process, a timestamp is added to each data packet to ensure that the time attribute of the data is consistent with the controller clock.
[0011] Furthermore, in step S4, the power information of the handle is obtained, and the working mode and parameters of the handle are dynamically adjusted according to the power status and the game scene, specifically: Get the current power information and power status of the controller to determine whether the power is lower than the preset threshold; Obtain the current game scene information and determine the required performance parameters of the controller based on the characteristics of the game scene; If the battery level is lower than the threshold, the controller operating mode is dynamically adjusted according to the game scenario, and the operating frequency and parameters of non-core functions are reduced to reduce energy consumption; Adopting machine learning algorithms, the association model between power status, game scenarios and controller parameters is established by analyzing historical data, so as to realize intelligent dynamic adjustment of the controller working mode. On the premise that the handle performance meets the game requirements, the computing resources saved in energy-saving mode are allocated to the core functional modules that affect the gaming experience.
[0012] Furthermore, in step S5, multiple sets of optimized communication protocols and parameters are preset for different game types and operation requirements, and the optimal communication solution is automatically matched by intelligently identifying game scenarios and user operations, specifically: Obtain game type information and user operation behavior data, and determine the game type and user operation characteristics through big data analysis; According to the game type and operation characteristics, a pattern matching algorithm is used to find the optimal communication solution that best suits the current game scenario among multiple preset optimized communication protocols and parameters; If the communication solution with the highest matching degree is found, the communication protocol and optimization parameters in the solution are applied to the game control data transmission process; By real-time analysis of game screen frame rate and operation response delay performance indicator data, it is determined whether the real-time and smoothness of the current communication solution meet the requirements.
[0013] Furthermore, it also includes: developing intelligent controller drivers and application software, analyzing the user's operating habits and game preferences through machine learning algorithms, and adaptively adjusting the sensitivity and response speed of the controller, specifically, obtaining the user's operating data during the game, including key frequency, duration, and strength, to form a user operation data set; A clustering algorithm is used to analyze user operation data, and users are divided into different categories according to their operation habits to obtain the classification results of user operation habits; Obtain the operation preference data of different categories of users in different game scenarios, including the value ranges of sensitivity and response speed parameters; For each user category, a mapping model between operating habits and handle parameters is established to determine the optimal handle sensitivity and response speed parameters; When the user is playing the game, a classification algorithm is used to determine the user's category based on the user's real-time operation data, and the corresponding handle parameter mapping model is called.
[0014] A master-slave integrated handle pairing system, comprising a wireless communication module, a channel quality assessment module, a power detection module and an intelligent energy-saving module; The wireless communication module is used to periodically exchange time stamp information between the left and right handles to achieve time synchronization; The channel quality assessment module detects channel indicators in real time and determines the communication quality of the current channel; The power detection module monitors the voltage and current of the battery in real time and converts the analog quantity into a digital quantity; The intelligent energy-saving module is based on machine learning technology and establishes a correlation model between power status, game scenarios and handle parameters by analyzing the user's gaming habits and operating method data.
[0015] Furthermore, the channel quality assessment module provides input for the adaptive frequency hopping technology to help select the optimal channel for data transmission. Specifically, the real-time communication quality data of the left and right handles are collected, including key indicators of signal strength and bit error rate. According to the preset channel quality assessment model, the communication quality score of each channel is comprehensively analyzed to screen out candidate channels. Among the candidate channels, the signal strength and interference level are compared to select the optimal channel as the frequency hopping target. If the communication quality of the current channel is lower than the preset threshold, the frequency hopping mechanism is triggered to switch the data transmission to the optimal channel. During the frequency hopping process, the communication stability of the new channel is monitored to avoid communication interruption caused by frequent frequency hopping. After the frequency hopping is completed, the transmission power and coding method are dynamically adjusted; According to the real-time status of the communication link, the frequency hopping strategy and parameters are optimized, the left and right handles regularly exchange channel quality information, and jointly negotiate the optimal channel to avoid communication interruptions caused by channel inconsistency.
[0016] Furthermore, the process of the intelligent energy-saving module analyzing the user's gaming habits and operation mode data and establishing an association model of power status, gaming scenes and handle parameters includes: Collect user operation data during the game, and clean, integrate, and normalize the collected data for easy analysis; Extract useful features from the processed operation data, such as calculating the frequency and duration of key presses, as model input; Use machine learning algorithms to build a correlation model between power status, game scenarios, and controller parameters; Use historical data to train the model and optimize the model parameters, then apply the trained model to real-time data to predict the optimal handle sensitivity and response speed; Calculate energy saving rate, evaluate model effect, and continuously adjust and optimize the model based on model prediction results and actual effects to adapt to changes in user habits and new game scenarios.
[0017] Compared with the prior art, the present invention has the following beneficial effects: The present invention discloses a master-slave integrated handle pairing method, which automatically searches and identifies the left and right handles through the Bluetooth low energy protocol, simplifies the pairing process, adopts the adaptive frequency hopping technology to dynamically adjust the wireless channel, improves the communication stability, establishes a time synchronization mechanism to ensure the consistency of data acquisition and processing, dynamically adjusts the working mode according to the power status and the game scene, prolongs the battery life, presets and optimizes the communication scheme for different game types, ensures the real-time control, adopts high-performance and low-power hardware, optimizes the design to improve the integration and comfort, develops an intelligent driver, analyzes user habits through machine learning, and adaptively adjusts the handle parameters; solves the problems of cumbersome pairing, unstable communication, delayed operation, short battery life, etc. of the game handle during use, and significantly improves the usability, reliability and game experience of the handle through intelligent design and adaptive optimization, can automatically adjust according to different scenes, provide users with personalized and efficient game control schemes, and effectively improves the overall performance and user experience of the game handle. BRIEF DESCRIPTION OF THE DRAWINGS
[0018] Figure 1 This is a schematic diagram of a process of pairing a master-slave integrated handle according to Example 1; Figure 2 This is a system framework diagram of a master-slave integrated handle pairing system according to Example 2. DETAILED DESCRIPTION
[0019] In order to make the purpose, features and advantages of the present invention more obvious and easy to understand, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the embodiments described below are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0020] Example 1 like Figure 1 As shown, this embodiment provides a master-slave integrated handle pairing method, comprising the following steps: S1. According to the unique identification information of the left and right handles, the corresponding handle devices are automatically searched and identified through the Bluetooth low energy protocol to establish a pairing connection; S2, using adaptive frequency hopping technology to dynamically adjust the wireless channel according to the communication quality of the left and right handles; S3, establish a time synchronization mechanism between the left and right controllers by regularly exchanging timestamps and calibrating clocks; S4, obtaining the power information of the controller, and dynamically adjusting the working mode and parameters of the controller according to the power status and game scene; S5. According to different game types and operation requirements, multiple sets of optimized communication protocols and parameters are preset, and communication solutions are automatically matched through intelligent recognition of game scenarios and user operations.
[0021] Furthermore, in step S1, the corresponding handle device is automatically searched and identified through the Bluetooth low energy protocol according to the unique identification information of the left and right handles, and a pairing connection is established, specifically: Obtain the pre-stored unique identification information of the left and right handles as a basis for searching and identifying the handle device; Through the Bluetooth low energy protocol, it automatically searches for nearby Bluetooth devices within the range and obtains the device's identification information; Compare the searched device identification information with the pre-stored left and right handle identification information to determine whether it is the target handle device; If the comparison is successful, the corresponding left and right handles are found. The master and slave handles are distinguished according to the signal strength, and the one with a stronger signal is the master handle; Send a connection request to the target controller device to establish a Bluetooth low energy connection and complete the controller pairing process; After pairing is successful, data communication is carried out through the Bluetooth low energy protocol to obtain the operation information and status information of the handle; In this step, first, the unique identification information of the left and right handles needs to be pre-stored in the firmware of the handle device, which may include MAC address, UUID, etc. These identification information are used to identify the target handle device during the Bluetooth search process; In the software of the main control device such as the game console, computer, etc., it is also necessary to save the identification information of the left and right handles as the basis for subsequent search and matching. When the handle devices are started, they will broadcast their existence through the Bluetooth low energy protocol; The broadcast data packet contains the handle's identification information, such as MAC address, UUID, etc. The Bluetooth module of the master device will receive these broadcast data packets within a certain range. The software of the master device will parse the received broadcast data packets and extract the identification information therein. Then, the extracted identification information will be compared with the pre-stored left and right handle identification information. By comparing, it can be determined whether the currently searched device is the target handle device; If the comparison is successful, the corresponding left and right handles can be found; Furthermore, it is necessary to distinguish between the master and slave handles based on the signal strength. In practical applications, the handle with a larger signal strength is considered to be the master handle, and the handle with a weaker signal is considered to be the slave handle. The master-slave relationship of the handles is automatically determined by this method without the need for manual setting by the user. After determining the identity and master-slave relationship of the handles, the master control device will send a connection request to the target handle. After the controller device receives the connection request, it will perform an authentication and encryption process to ensure the security of the connection. After the verification is passed, a Bluetooth low energy connection is established between the main control device and the controller, completing the pairing process; After pairing is successful, the main control device and the handle can perform two-way data communication through the Bluetooth low energy protocol. The handle will send operation information (such as button status, joystick position, etc.) and status information (such as battery level, connection status, etc.) to the main control device in real time. The main control device controls the game or application based on the received data to achieve interaction between the handle and the device. At the same time, the main control device can also send control commands to the handle, such as vibration feedback, LED indicator control, etc., to enhance the interactive experience of the handle; In this step, the low latency characteristics of the Bluetooth low energy protocol can be used to ensure real-time communication between the handle and the main control device, providing a smooth control experience. The Bluetooth low energy protocol automatically searches and identifies the handle device, which greatly simplifies the handle pairing process. Users do not need to manually perform complex settings. They only need to turn on the handle power and wait for a few seconds to automatically complete the pairing connection. This convenient pairing method can improve the user experience and lower the usage threshold. At the same time, the handle connection solution based on the Bluetooth low energy protocol also has the advantage of low power consumption. Compared with the traditional Bluetooth protocol, the Bluetooth low energy protocol has lower power consumption, which can extend the battery life of the handle. Users do not need to charge or replace batteries frequently, and can use the handle for a long time, which improves portability and usability. The solution of automatically searching and identifying the handle device through the Bluetooth low energy protocol can achieve fast, convenient and low-power handle pairing connection. This solution makes full use of the characteristics of the Bluetooth low energy protocol, simplifies user operations, improves user experience, and also meets the low power consumption requirements of the handle.
[0022] Furthermore, in step S2, adaptive frequency hopping technology is used to dynamically adjust the wireless channel according to the communication quality of the left and right handles, specifically: Obtain real-time communication quality data of the left and right controllers, including signal strength and bit error rate indicators, as input to the adaptive frequency hopping algorithm; According to the preset channel quality evaluation model, the communication quality scores of each channel are comprehensively analyzed to screen out candidate channels; Among the candidate channels, compare the signal strength and interference level and select the best channel as the frequency hopping target; If the communication quality of the current channel is lower than the preset threshold, the frequency hopping mechanism is triggered to switch the data transmission to the optimal channel; During the frequency hopping process, monitor the communication stability of the new channel to avoid communication interruption caused by frequent frequency hopping; After frequency hopping is completed, the transmission power and coding method are dynamically adjusted to improve signal quality and reliability; Establish a channel quality feedback mechanism to optimize frequency hopping strategies and parameters based on the real-time status of the communication link; Specifically, according to the communication quality of the current wireless channel, the optimal channel is automatically selected for data transmission, including the following process: The controller integrates a channel quality assessment module, which determines the communication quality of the current channel by real-time detection of channel indicators such as signal-to-noise ratio and packet loss rate. When the channel quality drops to a certain threshold, the controller will automatically switch to other idle channels to ensure the stability and reliability of data transmission. For example, when the controller detects that the currently used 2.4GHz frequency band channel 1 is seriously interfered, it will automatically jump to channel 6 to continue communication. At the same time, the left and right controllers will also regularly exchange channel quality information and jointly negotiate the optimal channel to avoid communication interruption caused by channel inconsistency. Furthermore, in step S3, a time synchronization mechanism is established between the left and right handles to ensure that the data collection and processing of the handles are consistent in time by regularly exchanging timestamps and calibrating clocks. Specifically, Get the current timestamps of the left and right controllers, and send the timestamp information to each other through the wireless communication module; After receiving the timestamp from the other controller, compare the timestamp difference between the two parties. If the difference exceeds the preset threshold, the clock calibration procedure is triggered; When calibrating the clock, the clock deviation and drift rate are estimated by analyzing the difference values of multiple consecutive timestamps using the Kalman filter algorithm to obtain the calibration parameters; Adjust the local clock according to the calibration parameters to synchronize it with the other party's clock. After calibration, exchange timestamps again to verify the synchronization effect. During data collection, a timestamp is added to each data packet to ensure that the time attribute of the data is consistent with the controller clock; Specifically, a time synchronization mechanism is established between the left and right handles to ensure that the data collection and processing of the handles are consistent in time by regularly exchanging timestamps and calibrating clocks. When implementing this, a synchronization solution based on the IEEE1588 Precision Time Protocol (PTP) can be used. The handle integrates a high-precision oscillator to provide a stable local clock source. The left and right handles regularly exchange PTP synchronization messages through the wireless communication module. The message contains the timestamp information of the sending time. The receiver calculates the communication delay and clock deviation based on the timestamp of the message and the local timestamp, and uses these parameters to calibrate the local clock to keep it synchronized with the main clock source. For example, the left handle can be used as the main clock node and send a synchronization message to the right handle every 10 milliseconds. After receiving the message, the right handle performs clock calibration with a calibration accuracy of sub-microseconds. During data collection, the controller will add a timestamp of the collection time to the data packet to ensure that the time attribute of the data is accurate. Through the time synchronization mechanism, the left and right controllers can collect and process data under the same time reference, avoiding data inconsistency caused by clock drift and providing a reliable time reference for subsequent data fusion and control algorithms.
[0023] Furthermore, in step S4, the power information of the handle is obtained, and the working mode and parameters of the handle are dynamically adjusted according to the power status and the game scene, specifically: Get the current power information and power status of the controller to determine whether the power is lower than the preset threshold; Obtain the current game scene information and determine the required performance parameters of the controller based on the characteristics of the game scene; If the battery level is lower than the threshold, the controller operating mode is dynamically adjusted according to the game scenario, and the operating frequency and parameters of non-core functions are reduced to reduce energy consumption; Adopting machine learning algorithms, the association model between power status, game scenarios and controller parameters is established by analyzing historical data, so as to realize intelligent dynamic adjustment of the controller working mode. On the premise that the controller performance meets the game requirements, the computing resources saved in the energy-saving mode are allocated to the core functional modules that affect the gaming experience; Specifically, it is realized through the built-in power detection module of the handle, which is composed of a power detection chip and a sampling resistor. The power detection chip can monitor the voltage and current of the battery in real time, and convert the analog quantity into a digital quantity through ADC. The main control chip of the handle can read the data of the power detection chip through communication interfaces such as I2C and SPI, so as to obtain information such as the current battery power percentage and the remaining usage time. For example, when it is detected that the power is less than 20%, the handle can automatically reduce the brightness of the LED light, turn off the vibration motor, reduce the CPU main frequency, etc., so as to extend the battery life; Dynamically adjusting the working mode and parameters of the handle according to the power status and game scene can be achieved through the handle's intelligent energy-saving algorithm. Based on machine learning technology, by analyzing the user's gaming habits, operating methods and other data, an association model of the power status, game scene and handle parameters is established. During the game, the handle will detect the power status and game scene in real time, and dynamically adjust the working parameters of each functional module according to the association model. For example, when the power is low and the game scene is an RPG game, the handle can reduce the sampling rate of the gyroscope and accelerometer, turn off the wireless communication module, and at the same time give priority to allocating the saved computing resources to core functions such as button scanning and game logic processing, so as to ensure the real-time and smoothness of game operations. For different game types and operating requirements, multiple sets of optimized communication protocols and parameters are preset.
[0024] Furthermore, in step S5, multiple sets of optimized communication protocols and parameters are preset for different game types and operation requirements, and the optimal communication solution is automatically matched by intelligently identifying game scenarios and user operations, specifically: Obtain game type information and user operation behavior data, and determine the game type and user operation characteristics through big data analysis; According to the game type and operation characteristics, a pattern matching algorithm is used to find the optimal communication solution that best suits the current game scenario among multiple preset optimized communication protocols and parameters; If the communication solution with the highest matching degree is found, the communication protocol and optimization parameters in the solution are applied to the game control data transmission process; By analyzing the game screen frame rate and operation response delay performance indicator data in real time, we can determine whether the real-time and smoothness of the current communication solution meet the requirements; Specifically, the controller can have multiple built-in wireless communication protocols, such as Bluetooth, Wi-Fi, etc. Each protocol has its specific advantages and applicable scenarios. For example, the Bluetooth protocol has the characteristics of low power consumption and low latency, and is suitable for action games; while the Wi-Fi protocol has the characteristics of high bandwidth and long distance, and is suitable for multiplayer online games. At the same time, for each game type, the controller can also preset multiple sets of optimized communication parameters, such as transmission power, data packet size, number of retransmissions, etc. These parameters can be dynamically adjusted according to the game's operating requirements and network environment to achieve the best communication performance and user experience; By intelligently identifying game scenes and user operations and automatically matching the optimal communication solution, the controller can identify the current game scene and user operation by analyzing game screen, audio and other information. For example, in shooting games, the controller can determine the user's current aiming state by analyzing the crosshair position, muzzle direction and other information in the screen; in fighting games, the controller can determine the user's current attack action by analyzing the user's key combination and rhythm; Based on the recognition results, the handle can automatically select the optimal communication protocol and parameters, such as using the low-latency Bluetooth protocol in the shooting state, and using the high-bandwidth Wi-Fi protocol in the attack state. At the same time, the handle can also adjust the communication parameters in real time according to changes in the network environment, such as increasing the transmission power when the network signal is weak, and reducing the data packet size when the network is congested, etc., to ensure the real-time and smoothness of the game control.
[0025] Furthermore, it also includes: developing intelligent controller drivers and application software, analyzing the user's operating habits and game preferences through machine learning algorithms, and adaptively adjusting the sensitivity and response speed of the controller, specifically, obtaining the user's operating data during the game, including key frequency, duration, and strength, to form a user operation data set; A clustering algorithm is used to analyze user operation data, and users are divided into different categories according to their operation habits to obtain the classification results of user operation habits; Obtain the operation preference data of different categories of users in different game scenarios, including the value ranges of sensitivity and response speed parameters; For each user category, a mapping model between operating habits and handle parameters is established to determine the optimal handle sensitivity and response speed parameters; When the user is playing the game, the classification algorithm is used to determine the user's category based on the user's real-time operation data, and the corresponding controller parameter mapping model is called; Specifically, when the user is operating the game, it is necessary to obtain the user's operation data, including key frequency, duration, force, etc. For example, the key force information can be collected through the pressure sensor built into the handle, the duration of the key can be recorded through a timer, and the number of key presses within a certain period of time can be counted to obtain the key frequency; Summarize the collected data to form a data set that reflects the user's operating habits. Use a clustering algorithm to analyze the user's operating data set. Through clustering, the patterns and rules of user operating habits can be discovered, and users with similar operating habits can be divided into the same category. For example, use the K-means clustering algorithm, set the number of categories K, randomly select K data points as the initial clustering center, and then iteratively calculate the distance from each data point to the clustering center, divide the data point into the category with the closest distance, and then update the clustering center until the clustering results converge, and finally obtain user categories reflecting different operating habits; After obtaining the classification results of user operation habits, it is necessary to further obtain the operation preference data of different categories of users in different game scenarios. The subjective evaluation and objective performance data of the handle sensitivity and response speed of different categories of users when playing different types of games can be collected to obtain the appropriate value range of sensitivity and response speed parameters. For example, for users of category A, they may prefer higher sensitivity in shooting games, with a value range of 80%~100%; and prefer lower sensitivity in fighting games, with a value range of 50%~70%. For users of category B, they may prefer faster response speeds in racing games, with a value range of 100ms~150ms. With the user categories and the corresponding operation preference data, a mapping model between operation habits and handle parameters can be established for each user category; The mapping model can be based on machine learning algorithms, such as decision trees and support vector machines. By training and learning the corresponding relationship between the user's operating habits and the optimal controller parameters, a model can be generated that can predict the optimal controller sensitivity and response speed based on the operating habits. For example, for users in category A, a decision tree model can be trained, with input features including game type, key frequency, key strength, etc., and the output is the predicted value of the optimal sensitivity. Finally, when the user is actually playing the game, the controller driver can collect the user's operating data in real time, determine which category the user belongs to through the classification algorithm, and then call the controller parameter mapping model of the corresponding category; Predict the best sensitivity and response speed based on the user's real-time operating habits, and dynamically set the prediction results to the handle hardware to achieve adaptive optimization of handle performance and provide users with a personalized gaming experience. For example, when it is detected that the user's operating habits have changed from category A to category B, it can automatically switch to the mapping model of category B, adjust the handle sensitivity from 90% to 60%, and increase the response speed from 80ms to 120ms to match the user's new operating preferences; Through the above process, the intelligent controller can adaptively adjust the controller sensitivity and response speed parameters according to the user's operating habits and game preferences to provide the best game control experience. This personalized and dynamic parameter optimization allows players of different habits and levels to get a comfortable and smooth game operation experience, effectively improving the game experience and player satisfaction. In addition, this method can also continuously accumulate user operation data, regularly update user classification and mapping models, and achieve continuous optimization and evolution of controller performance, so that the controller can continuously improve and adapt to changes in user operating habits over time.
[0026] Example 2 like Figure 2 As shown, this embodiment provides a master-slave integrated handle pairing system, including a wireless communication module, a channel quality assessment module, a power detection module and an intelligent energy-saving module; The wireless communication module is used to periodically exchange time stamp information between the left and right handles to achieve time synchronization; The channel quality assessment module detects channel indicators in real time and determines the communication quality of the current channel; The power detection module monitors the voltage and current of the battery in real time and converts the analog quantity into a digital quantity; The intelligent energy-saving module is based on machine learning technology and establishes a correlation model between power status, game scenarios and handle parameters by analyzing data such as users' gaming habits and operating methods.
[0027] Furthermore, the channel quality assessment module provides input for the adaptive frequency hopping technology to help select the optimal channel for data transmission. Specifically, the real-time communication quality data of the left and right handles are collected, including key indicators such as signal strength and bit error rate, and the communication quality scores of each channel are comprehensively analyzed according to the preset channel quality assessment model to screen out candidate channels. Among the candidate channels, the signal strength and interference level are compared to select the optimal channel as the frequency hopping target; If the communication quality of the current channel is lower than the preset threshold, the frequency hopping mechanism is triggered to switch the data transmission to the optimal channel. During the frequency hopping process, the communication stability of the new channel is monitored to avoid communication interruption caused by frequent frequency hopping. After the frequency hopping is completed, the transmission power and coding method are dynamically adjusted; According to the real-time status of the communication link, the frequency hopping strategy and parameters are optimized, and the left and right handles regularly exchange channel quality information to jointly negotiate the optimal channel to avoid communication interruption caused by inconsistent channels. Specifically, first, the communication quality of each channel is monitored in real time, including key indicators such as signal strength and bit error rate. According to the results of channel quality evaluation, the channels are divided into "good" channels and "bad" channels to form a classification table. Through the link management protocol (LMP) command, the master device and the slave device exchange channel quality information, including which channels are good and which are bad; Before data exchange begins, the sending station instructs the receiving station to perform bandwidth expansion feedback through a channel reservation request message. The receiving station performs bandwidth expansion according to the channel reservation request message and feeds back its response bandwidth. The receiving station sends a channel reservation confirmation message to the sending station, which includes response bandwidth information, and the sending station sends data based on this information; If the next channel calculated by the frequency hopping algorithm is not an available channel, the system will use the three parameters ChannelMap, Used, and numUsed to remap and select an available channel; According to the channel classification, the master device notifies the slave device which frequencies have been added or removed from the channel table by sending link management protocol commands, so as to jointly negotiate the optimal channel; Furthermore, since new communications are often established or cancelled in the piconet, the channels are constantly changing, so channel maintenance must be performed to periodically re-estimate the channels and promptly discover unusable channels.
[0028] Furthermore, the intelligent energy-saving module analyzes the user's gaming habits, operation methods and other data, and establishes a correlation model between power status, gaming scenes and handle parameters, including: Collect the user's operation data during the game, including key frequency, duration, strength, etc. These data can be collected through hardware such as the built-in pressure sensor and timer of the controller; clean, integrate and normalize the collected data for easy analysis; Extract useful features from the processed operation data, such as calculating the frequency and duration of key presses, as model input; Use machine learning algorithms to build a correlation model between power status, game scenarios, and controller parameters. The linear regression model can be used as the basic model. Take the linear regression model as an example:
[0029] Where y is the controller parameter (such as power consumption), , ,... is a feature variable (such as keystroke frequency, game type, etc.), , ,... are model parameters; Use historical data to train the model and use methods such as cross-validation to optimize model parameters. Take the gradient descent method as an example to perform parameter optimization:
[0030] in, is the current parameter, is the learning rate, is the function at the point Gradient Apply the trained model to real-time data to predict the optimal controller sensitivity and response speed; Calculate the energy saving rate to evaluate the model effect. For example, if a user's energy consumption is reduced from 1000 kWh to 800 kWh after updating the equipment, the energy saving rate is:
[0031] Based on the model's prediction results and actual effects, the model is continuously adjusted and optimized to adapt to changes in user habits and new gaming scenarios.
[0032] By analyzing the user's gaming habits, operating methods and other data, a correlation model between power status, gaming scenarios and controller parameters is established to achieve intelligent energy saving of the controller. This not only improves the battery life of the controller, but also dynamically adjusts the performance of the controller according to the user's specific needs, providing a more personalized gaming experience. Through machine learning technology, the intelligent energy-saving module can predict the optimal handle sensitivity and response speed, further optimize energy consumption and enhance user experience. This personalized and dynamic parameter optimization allows players of different habits and levels to get a comfortable and smooth gaming experience, effectively improving the gaming experience and player satisfaction. At the same time, it can continuously accumulate user operation data, regularly update user classification and mapping models, and achieve continuous optimization and evolution of handle performance, so that the handle can continuously improve and adapt to changes in user operating habits over time.
[0033] The specific embodiments of the invention are described in detail above, but they are only examples. The present invention is not limited to the specific embodiments described above. Those skilled in the art should understand that the above embodiments and descriptions are only for explaining the principles of the present invention. Without departing from the spirit and scope of the present invention, the present invention may have various changes and improvements, which fall within the scope of the present invention. The scope of protection of the present invention is defined by the attached claims and their equivalents.
Claims
1. A master-slave integrated handle pairing method, characterized in that: The following steps are involved: S1. According to the unique identification information of the left and right handles, the corresponding handle devices are automatically searched and identified through the Bluetooth low energy protocol to establish a pairing connection; S2, using adaptive frequency hopping technology to dynamically adjust the wireless channel according to the communication quality of the left and right handles; S3, establish a time synchronization mechanism between the left and right controllers by regularly exchanging timestamps and calibrating clocks; S4, obtaining the power information of the controller, and dynamically adjusting the working mode and parameters of the controller according to the power status and game scene; S5. According to different game types and operation requirements, multiple sets of optimized communication protocols and parameters are preset, and communication solutions are automatically matched through intelligent recognition of game scenarios and user operations.
2. A master-slave integrated handle pairing method according to claim 1, characterized in that: In step S1, the corresponding handle device is automatically searched and identified through the Bluetooth low energy protocol according to the unique identification information of the left and right handles, and a pairing connection is established, specifically: Obtain the pre-stored unique identification information of the left and right handles as a basis for searching and identifying the handle device; Through the Bluetooth low energy protocol, it automatically searches for nearby Bluetooth devices within the range and obtains the device's identification information; Compare the searched device identification information with the pre-stored left and right handle identification information to determine whether it is the target handle device; If the comparison is successful, the corresponding left and right handles are found. The master and slave handles are distinguished according to the signal strength, and the one with a stronger signal is the master handle; Send a connection request to the target controller device to establish a Bluetooth low energy connection and complete the controller pairing process; After pairing is successful, data communication is carried out through the Bluetooth low energy protocol to obtain the operation information and status information of the handle.
3. A master-slave integrated handle pairing method according to claim 1, characterized in that: In step S2, the adaptive frequency hopping technology is used to dynamically adjust the wireless channel according to the communication quality of the left and right handles, specifically: Obtain real-time communication quality data of the left and right controllers, including signal strength and bit error rate indicators, as input to the adaptive frequency hopping algorithm; According to the preset channel quality evaluation model, the communication quality scores of each channel are comprehensively analyzed to screen out candidate channels; Among the candidate channels, compare the signal strength and interference level and select the best channel as the frequency hopping target; If the communication quality of the current channel is lower than the preset threshold, the frequency hopping mechanism is triggered to switch the data transmission to the optimal channel; During the frequency hopping process, monitor the communication stability of the new channel to avoid communication interruption caused by frequent frequency hopping; After frequency hopping is completed, the transmission power and coding method are dynamically adjusted to improve signal quality and reliability; Establish a channel quality feedback mechanism to optimize frequency hopping strategies and parameters based on the real-time status of the communication link.
4. A master-slave integrated handle pairing method according to claim 1, characterized in that: In step S3, a time synchronization mechanism is established between the left and right handles to ensure that the data collection and processing of the handles are consistent in time by regularly exchanging timestamps and calibrating clocks. Specifically, Get the current timestamps of the left and right controllers, and send the timestamp information to each other through the wireless communication module; After receiving the timestamp from the other controller, compare the timestamp difference between the two parties. If the difference exceeds the preset threshold, the clock calibration procedure is triggered; When calibrating the clock, the clock deviation and drift rate are estimated by analyzing the difference values of multiple consecutive timestamps using the Kalman filter algorithm to obtain the calibration parameters; Adjust the local clock according to the calibration parameters to synchronize it with the other party's clock. After calibration, exchange timestamps again to verify the synchronization effect. During the data collection process, a timestamp is added to each data packet to ensure that the time attribute of the data is consistent with the controller clock.
5. A master-slave integrated handle pairing method according to claim 1, characterized in that: In step S4, the power information of the handle is obtained, and the working mode and parameters of the handle are dynamically adjusted according to the power status and the game scene, specifically: Get the current power information and power status of the controller to determine whether the power is lower than the preset threshold; Obtain the current game scene information and determine the required performance parameters of the controller based on the characteristics of the game scene; If the battery level is lower than the threshold, the controller operating mode is dynamically adjusted according to the game scenario, and the operating frequency and parameters of non-core functions are reduced to reduce energy consumption; Adopting machine learning algorithms, the association model between power status, game scenarios and controller parameters is established by analyzing historical data, so as to realize intelligent dynamic adjustment of the controller working mode. On the premise that the handle performance meets the game requirements, the computing resources saved in energy-saving mode are allocated to the core functional modules that affect the gaming experience.
6. A master-slave integrated handle pairing method according to claim 1, characterized in that: In step S5, multiple sets of optimized communication protocols and parameters are preset for different game types and operation requirements, and the optimal communication solution is automatically matched by intelligently identifying game scenarios and user operations, specifically: Obtain game type information and user operation behavior data, and determine the game type and user operation characteristics through big data analysis; According to the game type and operation characteristics, a pattern matching algorithm is used to find the optimal communication solution that best suits the current game scenario among multiple preset optimized communication protocols and parameters; If the communication solution with the highest matching degree is found, the communication protocol and optimization parameters in the solution are applied to the game control data transmission process; By real-time analysis of game screen frame rate and operation response delay performance indicator data, it is determined whether the real-time and smoothness of the current communication solution meet the requirements.
7. A master-slave integrated handle pairing method according to claim 1, characterized in that: Also includes: Develop intelligent controller drivers and application software, analyze users' operating habits and game preferences through machine learning algorithms, and adaptively adjust the sensitivity and response speed of the controller. Specifically, obtain the user's operating data during the game, including key frequency, duration, and strength, to form a user operation data set; A clustering algorithm is used to analyze user operation data, and users are divided into different categories according to their operation habits to obtain the classification results of user operation habits; Obtain the operation preference data of different categories of users in different game scenarios, including the value ranges of sensitivity and response speed parameters; For each user category, a mapping model between operating habits and handle parameters is established to determine the optimal handle sensitivity and response speed parameters; When the user is playing the game, a classification algorithm is used to determine the user's category based on the user's real-time operation data, and the corresponding handle parameter mapping model is called.
8. A master-slave integrated handle pairing system, characterized in that: It includes wireless communication module, channel quality assessment module, power detection module and intelligent energy-saving module; The wireless communication module is used to periodically exchange time stamp information between the left and right handles to achieve time synchronization; The channel quality assessment module detects channel indicators in real time and determines the communication quality of the current channel; The power detection module monitors the voltage and current of the battery in real time and converts the analog quantity into a digital quantity; The intelligent energy-saving module is based on machine learning technology and establishes a correlation model between power status, game scenarios and handle parameters by analyzing the user's gaming habits and operating method data.
9. The master-slave integrated handle pairing system according to claim 8, characterized in that: The channel quality assessment module provides input for the adaptive frequency hopping technology and helps select the optimal channel for data transmission. Specifically, it collects the real-time communication quality data of the left and right handles, comprehensively analyzes the communication quality scores of each channel according to the preset channel quality assessment model, selects candidate channels, compares the signal strength and interference level among the candidate channels, and selects the optimal channel as the frequency hopping target; If the communication quality of the current channel is lower than the preset threshold, the frequency hopping mechanism is triggered to switch the data transmission to the optimal channel. During the frequency hopping process, the communication stability of the new channel is monitored to avoid communication interruption caused by frequent frequency hopping. After the frequency hopping is completed, the transmission power and coding method are dynamically adjusted; According to the real-time status of the communication link, the frequency hopping strategy and parameters are optimized, the left and right handles regularly exchange channel quality information, and jointly negotiate the optimal channel to avoid communication interruptions caused by channel inconsistency.
10. The master-slave integrated handle pairing system according to claim 8, characterized in that: The process of the intelligent energy-saving module analyzing the user's gaming habits and operation mode data and establishing a correlation model between power status, gaming scenes and handle parameters includes: Collect user operation data during the game, and clean, integrate, and normalize the collected data for easy analysis; Extract useful features from the processed operational data as model input; Use machine learning algorithms to build a correlation model between power status, game scenarios, and controller parameters; Use historical data to train the model and optimize the model parameters, then apply the trained model to real-time data to predict the optimal handle sensitivity and response speed; Calculate energy saving rate, evaluate model effect, and continuously adjust and optimize the model based on model prediction results and actual effects to adapt to changes in user habits and new game scenarios.
Citation Information
Patent Citations
Method for automatically switching master-and-slave relation of wireless earphone, device thereof and wireless earphone
CN107708014A
Implementation device and implementation method for left-right dual game handle
CN110812839A
Connection control method and device, electronic equipment and storage medium
CN115278714A
Game running data processing method and device based on player equipment parameters
CN118576977A
Wireless game control system
US6684062B1
Cited By
Bluetooth low-power-consumption communication optimization method and system of smart watch
CN120075775A