Control method for realizing dynamic switching of multiple communication target links and electronic equipment

By combining input contact events and motion signals on the smart ring, dynamic switching of multiple devices is achieved, solving the problem of the existing technology that multiple devices cannot be connected at the same time, simplifying the interaction process and improving the stability and battery life of the device.

CN120640436AActive Publication Date: 2025-09-12CHEERDOTS CO LTD
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
CN202511135740.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-08-14
Publication Date
2025-09-12
Estimated Expiration
2045-08-14

AI Technical Summary

Technical Problem

Existing ultra-small devices such as smart rings cannot connect to multiple devices at the same time, and cannot achieve seamless switching between devices through simple interaction. They need to manually disconnect the current device and reconnect other devices.

Method used

By responding to the user's input contact events in the set area, combined with the motion signals detected by the multi-dimensional physical state acquisition module, the characteristic information of the motion signals is analyzed, the communication target switching instructions are generated, the communication target is dynamically switched, and the device switching is performed according to the preset connection state sequence.

Benefits of technology

It achieves efficient connection and seamless switching of multiple devices on ultra-small devices, simplifies the user interaction process, avoids misoperation and connection failure, and improves device stability and battery life.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120640436A_ABST
    Figure CN120640436A_ABST
Patent Text Reader

Abstract

The invention discloses a control method for realizing dynamic switching of multiple communication target links and electronic equipment, and relates to the field of communication.The method comprises the steps that an input intention judgment process is started in response to input contact event information applied to a set area of the electronic equipment by a user; during the duration of inputting the contact event information, the motion signals detected by the multi-dimensional physical state acquisition module are acquired and analyzed; judging feature information of the motion signal; if the feature information of the motion signal is a first set condition, generating a communication target switching instruction; and acting on the current communication link according to the communication target switching instruction, and dynamically switching the communication target according to the preset connection state sequence, the motion signal is intelligently analyzed to trigger equipment switching, the user operation is simplified, and the switching accuracy is improved. Equipment connection management is optimized, and response speed and stability are improved. And a timeout protection and backspacing mechanism is introduced, so that the fault-tolerant capability of the system is enhanced, and the reliability of the equipment in a multi-equipment environment is ensured.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of intelligent device communication technology, and in particular to a control method and electronic equipment for realizing dynamic switching of multiple communication target links. Background Art

[0002] With the miniaturization of electronic devices, smart rings, as wearable devices, have become an important interactive medium. They allow wearers to seamlessly control their devices, providing a convenient interactive experience. However, existing smart rings can typically only connect to a single primary device, such as a mobile phone, and cannot connect to multiple devices simultaneously. To switch devices, users must manually disconnect the current device's Bluetooth connection and reconnect to the other device. This limitation stems primarily from the ultra-small and thin design of smart rings, which preclude the use of multiple buttons or positions for switching Bluetooth devices, as with traditional mice.

[0003] Therefore, how to achieve multi-device connection on ultra-small devices such as smart rings and switch them through simple interactive methods has become a technical problem that needs to be solved urgently in the current technology field. Summary of the Invention

[0004] A technical problem to be solved by the embodiments of the present invention is how to achieve efficient connection of multiple Bluetooth devices in an ultra-small wearable device and achieve seamless switching between devices through a simple interactive method.

[0005] To address the above scenarios, in a first aspect, an embodiment of the present application provides a control method for dynamically switching multiple communication target links, including: Initiating an input intention determination process in response to input contact event information applied by a user to a set area of ​​an electronic device; During the duration of the input contact event information, collecting and analyzing the motion signal detected by the multi-dimensional physical state acquisition module; determining characteristic information of the motion signal; If the characteristic information of the motion signal is the first setting condition, a communication target switching instruction is generated; The communication target switching instruction acts on the current communication link and dynamically switches the communication target according to a preset connection state sequence.

[0006] In conjunction with the first aspect, in some embodiments, after determining the characteristic information of the motion signal, the method further includes: If the characteristic information of the motion signal meets the second setting condition, the following operations are performed: Open connection request for other communication devices to access; If the new communication device is successfully connected to the electronic device, the identification of the communication device that established the earliest connection in the communication link set is deleted; the identification of the newly connected communication device is added to the communication link set and updated to the latest connected device; If no new communication device is detected to be successfully connected within the preset period, the connection to the initial communication target is restored or the communication link is closed.

[0007] In conjunction with the first aspect, in some embodiments, after the communication target switching instruction is applied to the current communication link, the method further includes: Determining the signal strength of multiple communication targets to be switched; The communication target is switched according to the signal strength of the communication target to be switched.

[0008] In conjunction with the first aspect, in some embodiments, collecting and analyzing the motion signal detected by the multi-dimensional physical state acquisition module includes: Collecting the acceleration or angular velocity change of the multi-dimensional physical state acquisition module on at least one degree of freedom within a first preset time window; The acceleration or angular velocity change in the at least one degree of freedom is analyzed to generate a motion signal.

[0009] In conjunction with the first aspect, in some embodiments, determining the characteristic information of the motion signal includes: If the characteristic information of the motion signal is two short-period mutations of the acceleration or angular velocity threshold conditions, it is determined to be the first setting situation; If the characteristic information of the motion signal is a short-period mutation of three acceleration or angular velocity threshold conditions, it is determined to be the second setting situation; If the characteristic information of the motion signal is a short-period sudden change of the acceleration or angular velocity threshold condition, it is determined to be the third setting situation.

[0010] In conjunction with the first aspect, in some implementations, dynamically switching the communication target according to a preset connection state sequence includes: When a communication target connection in the preset connection state sequence fails, another communication target connection attempt is initiated, wherein the another communication target connection attempt has a set maximum waiting period. If the maximum waiting period is exceeded, the another communication target connection attempt is actively interrupted and the next communication target connection attempt is promoted.

[0011] In combination with the first aspect, in some embodiments, dynamically switching the communication target according to the preset connection state sequence further includes: when connection attempts to all communication targets to be connected in all preset connection state sequences fail, restoring the connection to the initial communication target.

[0012] In conjunction with the first aspect, in some embodiments, if the communication link is Bluetooth communication, the method further includes: If the characteristic information of the motion signal is the first setting condition, terminating the current Bluetooth communication link according to the communication target switching instruction, and sequentially loading and attempting to reestablish a pairing connection with the next Bluetooth communication target according to the Bluetooth communication target sequence stored in the Bluetooth communication connection state memory; If a valid Bluetooth communication link is not established after multiple rounds of attempts, the current Bluetooth communication link will be restored.

[0013] In conjunction with the first aspect, in some embodiments, if the communication link is Bluetooth communication, the method further includes: If the characteristic information of the motion signal is the second setting condition, the device broadcast state is enabled within the second time window to accept a new Bluetooth communication device for pairing; If a new Bluetooth communication connection is not established within the second time window, restoring the original state of the communication link set or keeping the electronic device disconnected; In combination with the first aspect, in some embodiments, the method further includes: if the characteristic information of the motion signal is a third setting condition, maintaining the connection state of the electronic device and turning off all output instructions of the electronic device.

[0014] In a second aspect, an embodiment of the present application provides a control device for implementing dynamic switching of multiple communication target links, including: An input contact module, configured to initiate an input intention determination process in response to input contact event information applied by a user to a set area of ​​the electronic device; a multi-dimensional physical state acquisition module connected to the input contact module, configured to acquire and analyze motion signals detected by the multi-dimensional physical state acquisition module during the duration of the input contact event information; a processing module connected to the multi-dimensional physical state acquisition module, configured to determine characteristic information of the motion signal and generate a communication target switching instruction if the characteristic information of the motion signal is a first set condition; The communication module is connected to the processing module and is used to act on the current communication link according to the communication target switching instruction and dynamically switch the communication target according to a preset connection state sequence.

[0015] In conjunction with the second aspect, in some embodiments, the method further includes: The processing module is also used to perform the following operations if the characteristic information of the motion signal meets the second setting situation: open a connection request to allow other communication devices to access; if the new communication device is successfully connected to the electronic device, delete the communication device identifier that established the earliest connection in the communication link set; add the newly connected communication device identifier to the communication link set and update it to the latest connected device; if no new communication device is detected to be successfully connected within a preset period, restore the connection to the initial communication target or close the communication link.

[0016] In a third aspect, embodiments of the present application provide an electronic device, including: The control device for realizing dynamic switching of multiple communication target links as described in any one of the above is used to execute the control method for realizing dynamic switching of multiple communication target links as described in any one of the above.

[0017] In a third aspect, an embodiment of the present application provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the control method for dynamic switching of multiple communication target links as described above is implemented.

[0018] The control method and electronic device for implementing dynamic switching of multiple communication target links provided by the embodiments of the present invention have the following beneficial effects compared to the prior art: (1) By analyzing motion signals such as acceleration and angular velocity, the system can trigger device switching based on user actions without relying on traditional physical buttons or manual operations, thereby greatly simplifying the user interaction process. At the same time, the system intelligently determines the switching timing based on different settings of the motion signal (such as two or three sudden changes in acceleration / angular velocity), avoiding erroneous operations caused by false triggering.

[0019] (2) During the device switching process, the device connection priority is managed according to the Bluetooth target index table, and the short-cycle broadcast mode is used for device pairing, which greatly improves the response speed of device switching. The preset maximum waiting period and timeout mechanism can ensure the efficiency and stability of the connection. Even if some devices cannot connect, they will restore the initial connection state or retry the connection to avoid system abnormalities after the connection failure.

[0020] (3) Multiple timeout protection mechanisms have been introduced to ensure timely recovery when the device connection fails, avoiding confusion in the connection status caused by device switching failure; if multiple rounds of connection attempts fail, the device will automatically return to the original connection device, ensuring the stability of the device in various environments.

[0021] (4) When switching devices, the Bluetooth connection mode and signal broadcast time are intelligently adjusted to reduce unnecessary power consumption and optimize the battery life of the device. At the same time, the low-power strategy adopted by the device during the switching process further improves the overall energy efficiency.

[0022] The technical solution of the present invention is further described in detail below through the accompanying drawings and embodiments. BRIEF DESCRIPTION OF THE DRAWINGS

[0023] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments of the present invention and, together with the description, serve to explain the principles of the present invention.

[0024] The present invention can be more clearly understood from the following detailed description with reference to the accompanying drawings, in which: Figure 1 A flow chart illustrating a control method for dynamically switching multiple communication target links according to an embodiment of the present invention is shown; Figure 2 A flow chart illustrating a control method for dynamically switching multiple communication target links according to another embodiment of the present invention; Figure 3 A flow chart showing a control method for implementing dynamic switching of multiple communication target links according to yet another embodiment of the present invention.

[0025] Figure 4 A flow chart showing a control method for implementing dynamic switching of multiple communication target links according to another embodiment of the present invention is shown.

[0026] Figure 5 A flow chart showing a control method for implementing dynamic switching of multiple communication target links according to yet another embodiment of the present invention.

[0027] Figure 6 A structural block diagram of a control device for implementing dynamic switching of multiple communication target links according to an embodiment of the present invention is shown.

[0028] Figure 7 A schematic structural diagram of a user-controlled smart ring according to an embodiment of the present invention is shown.

[0029] Figure 8 A structural block diagram of an electronic device according to an embodiment of the present invention is shown. DETAILED DESCRIPTION

[0030] The present application is further described below with reference to specific embodiments and accompanying drawings. It should be understood that the illustrative embodiments of the present disclosure include, but are not limited to, related methods, devices, and systems, and that the specific embodiments described herein are intended solely to illustrate the present application and are not intended to limit the present application. Furthermore, for ease of description, the accompanying drawings only illustrate some, but not all, structures or processes relevant to the present application.

[0031] The following specific embodiments illustrate the implementation of the present application. Those skilled in the art can easily understand other advantages and effects of the present application from the contents disclosed in this specification. Although the description of the present application will be introduced in conjunction with the preferred embodiment, this does not mean that the features of this invention are limited to this implementation. On the contrary, the purpose of introducing the invention in conjunction with the implementation is to cover other options or modifications that may be extended based on the claims of this application. In order to provide an in-depth understanding of the present application, the following description will contain many specific details. The present application can also be implemented without using these details. In addition, in order to avoid confusion or blurring the focus of the present application, some specific details will be omitted in the description. It should be noted that the embodiments in the present application and the features in the embodiments can be combined with each other unless there is a conflict.

[0032] Furthermore, various operations will be described as multiple discrete operations in a manner that is most helpful in understanding the illustrative embodiments; however, the order of description should not be construed as implying that these operations are necessarily order dependent. In particular, these operations do not need to be performed in the order presented.

[0033] Unless the context dictates otherwise, the terms "comprising," "having," and "including" are synonymous.

[0034] The term "and / or" in this document simply describes a relationship between related objects, indicating that three possible relationships exist. For example, "A and / or B" can mean: A exists alone, A and B exist simultaneously, or B exists alone. Furthermore, the character " / " in this document generally indicates an "or" relationship between the related objects. The phrase "A / B" means "A or B."

[0035] In this application, "at least one" means one or more, and "plurality" means two or more. "At least one of the following" or similar expressions refers to any combination of these items, including any combination of single or plural items. For example, at least one of a, b, or c can mean: a, b, c, ab, ac, bc, or abc, where a, b, and c can be single or plural.

[0036] In various embodiments of the present application, the size of the serial numbers of the above-mentioned processes does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.

[0037] Traditional Bluetooth devices rely on physical button switching, but in ultra-small devices (such as rings), multiple buttons cannot be configured due to space limitations. The existing technology requires manual disconnection of the current connection and re-pairing, while the present invention achieves automatic and rapid switching between devices by combining input contact events with motion signals, avoiding cumbersome operations. Secondly, the device switching of the existing technology relies on cumbersome manual steps, while the present invention uses inertial sensor data and user intention to intelligently determine when to switch devices, reducing the number of operating steps and improving convenience. In addition, to address the problem of limited space in ultra-small devices, the present invention provides a seamless device switching mechanism to ensure the realization of dynamic connection of multiple devices.

[0038] Figure 1 A flow chart showing a control method for dynamically switching multiple communication target links according to an embodiment of the present invention is shown. Figure 1 As shown, the method includes: Step 101 : In response to input contact event information applied by a user to a set area of ​​an electronic device, an input intention determination process is initiated.

[0039] Specifically, the input contact event information can be touch, press, or other interaction methods, and the input intention can be switching communication partners, switching communication methods, switching communication partners, etc. For example, the user can trigger the device's communication method connection switching process by sensing the input contact event, and the user can determine whether the next operation is required by simply pressing the device to determine the user's input intention.

[0040] Specifically, the electronic device setting area may be a surface area, an internal area, a side area, etc. of the electronic device. It is understood in the art that as long as input contact event information detection can be achieved, it will suffice.

[0041] Step 103: While the input contact event information persists, motion signals detected by the multi-dimensional physical state acquisition module are collected and analyzed. Specifically, the multi-dimensional physical state acquisition module monitors the user's motion state in real time. The user's motion information includes hand movements such as tapping, acceleration, angular velocity, and other information.

[0042] In one embodiment, it can also be determined by releasing an "input contact event", that is, when the motion signal detected by the multi-dimensional physical state acquisition module is collected and analyzed, the user inputs the motion signal and immediately releases the touch sheet or button in the set area of ​​the electronic device. This can determine that the motion is over, and the electronic device immediately determines the characteristic information of the motion signal and immediately starts the corresponding communication target switching instruction without detecting the user's motion state and waiting for the next action.

[0043] Step 105: Determine the characteristic information of the motion signal.

[0044] Step 107 : If the characteristic information of the motion signal is a first setting condition, a communication target switching instruction is generated.

[0045] Specifically, based on the characteristics of the detected user's motion signal, a determination is made as to whether a predetermined trigger condition is met. For example, the trigger condition for the first condition could be a user tapping an object twice, waving their hand twice, performing a specific gesture, continuously performing an aerial action such as drawing a circle or writing a number, or a user tapping the device with another finger to vibrate. Once the trigger condition is met, the device generates a communication target switching instruction, initiating a switching attempt between the device and the next communication device.

[0046] Step 109 : Acting on the current communication link according to the communication target switching instruction, dynamically switching the communication target according to a preset connection state sequence.

[0047] Specifically, once a communication target switching instruction is generated, the device disconnects the current device and attempts to establish connections with other devices in sequence based on a pre-set connection status sequence, such as device priority or user-defined settings. This process ensures the order and accuracy of connections, avoiding confusing connections or incorrect pairings. Those skilled in the art will appreciate that communication connections can include various types of connections, including but not limited to: Bluetooth low energy data transmission connections, NFC connections, Zigbee, Thread, Infrared, Ultrasound connections, etc.

[0048] A control method for dynamically switching multiple communication target links in an embodiment of the present invention allows users to complete device switching through simple touch and motion signals without having to manually operate multiple buttons, thereby improving user experience; automatically identifying user intentions, avoiding tedious steps, and simplifying the device control process; enhancing the multi-tasking capabilities of small devices, supporting multi-device connection and switching, and expanding device functions; and the device switching process proceeds in an orderly manner to avoid connection failures or incorrect matching.

[0049] In one embodiment, after the communication target switching instruction is applied to the current communication link, the method further includes: (1) Determine the signal strength of multiple communication targets to be switched; specifically, the measurement of signal strength (such as RSSI value) can help the system understand the physical distance and signal quality of each device and the target device, thereby ensuring the reliability of the connection.

[0050] (2) Switch the communication target based on the signal strength of the target to be switched. Specifically, devices with stronger signal strength will be given priority, while devices with weaker signals may be temporarily ignored or re-evaluated based on preset conditions.

[0051] For example, after receiving a signal from a smartphone, the smart ring sends a handover request to measure the smartphone's signal strength. For example, if the RSSI value is -40dBm, this means the smart ring is closer to the smartphone and has a stronger signal strength. If another Bluetooth device also sends a handover request, the smart ring will measure its signal strength. For example, if the RSSI value is -75dBm, this means the Bluetooth device is farther away from the smart ring and has a weaker signal. Based on the RSSI value, the smart ring will prioritize the smartphone with the stronger signal strength (the one with the -40dBm RSSI) for handover.

[0052] The embodiments of the present invention solve the problems of signal interference and unstable connection that may occur when multiple devices are connected; by preferentially switching to devices with stronger signal strength to establish connections, the system can effectively avoid connection failures or low communication efficiency caused by poor signal quality. In addition, the system can dynamically adjust the connection strategy, optimize the communication quality between devices, and ensure the stability and efficiency of the network. Ultimately, the technical effect is reflected in improving the stability of network access, reducing unnecessary resource waste, and improving the overall network performance in a multi-device environment.

[0053] Figure 2 A flow chart showing a control method for dynamically switching multiple communication target links according to another embodiment of the present invention is shown. Figure 2 As shown, after determining the characteristic information of the motion signal, the method further includes: In step 201, if the motion signal's characteristic information meets the second set condition, a connection request is opened to allow other communication devices to access. Specifically, the connection request can be opened under a new broadcast address to allow other devices to access. Based on technical verification, this does not necessarily require a new address; the original pairing can be first terminated. Specifically, the connection is first disconnected, and then the original pairing information is erased or hidden. When the host initiates a connection again, it will find that the pairing key is missing and delete the original record.

[0054] Step 202: If the new communication device is successfully connected to the electronic device, the identification of the communication device that established the connection earliest in the communication link set is deleted; the identification of the newly connected communication device is added to the communication link set and updated to the latest connected device.

[0055] Step 203: If no new communication device is detected to be successfully connected within a preset period, the connection to the initial communication target is restored or the communication link is closed.

[0056] Specifically, the device determines the characteristics of the motion signal. If it meets the second set situation (for example, the user performs three taps, or specific gestures or actions with the handheld device), the device management operation is triggered, and the device sends a connection request to the external device, and the new device can be connected. If the new device is not successfully connected within the set timeout period, such as 10 seconds, 15 seconds or 20 seconds, the system will abandon the device reconnection operation, restore to the original communication device collection structure, and retain the previously paired and connected devices. At this time, the device continues to use the original connection object or closes the communication link, avoiding the risk of the device losing the original connection during the connection attempt. The timeout protection mechanism ensures the stability and reliability of the device. When the connection fails, the device can effectively fall back to a stable state, avoiding abnormal device status caused by connection timeout, and the user does not need to worry about the old device being unable to restore the connection due to the failure of the new device to connect, thereby ensuring the long-term stable use of the device.

[0057] After a new device is successfully paired, the new communication device connection is considered a valid connection. The device management system will update the device status and continue with subsequent operations. The device deletes the device ID of the device that established the earliest connection in the paired device set. This ensures that the device prioritizes the newest or most frequently used device in a multi-device environment. Deleting the oldest connected device record avoids confusion in device priority management and ensures that the addition of a new device does not affect currently connected devices, thereby improving the flexibility and efficiency of device management.

[0058] The method for connecting new devices to implement a control method for dynamic switching of multiple communication target links provided in an embodiment of the present invention can effectively solve problems such as device priority management confusion, connection timeout, and misoperation that may occur when switching between multiple devices, improve the connection stability, management flexibility and energy efficiency optimization of the device, and meet the actual needs of small devices in multi-device application scenarios.

[0059] In one embodiment, after determining the characteristic information of the motion signal, the method further includes: If the characteristic information of the motion signal meets the second setting condition, perform at least one of the following operations: Operation method 1: Open connection request to allow other communication devices to access; Operation method 2: Generate a new broadcast address and start device discovery mode with the new address, so that the target host device recognizes it as a new device and initiates a pairing connection; Operation method three: Clear the locally stored pairing key information, so that the target host device will automatically delete the original device record and re-initiate the pairing process after detecting that the pairing information is lost; If the new communication device is successfully connected to the electronic device, the identification of the communication device that established the earliest connection in the communication link set is deleted; the identification of the newly connected communication device is added to the communication link set and updated to the latest connected device; If no new communication device is detected to be successfully connected within the preset period, the connection to the initial communication target is restored or the communication link is closed.

[0060] In one embodiment, when a new communication device needs to be accommodated, the following two technical solutions can be used to achieve device connection: Solution 1: Dynamic broadcast address switching solution After receiving the motion signal of the second setting situation, the device performs the following broadcast address switching operations: (1) Generate a new random or preset broadcast address that is different from the device address currently in use; (2) Actively disconnect all currently established communication connections; (3) Update the broadcast address of the communication module to the newly generated address; (4) Start device discovery mode with a new broadcast address and broadcast device connectability information to the surrounding environment; (5) After the target host device detects the new device address, it identifies it as a new device and initiates a pairing connection request; (6) Complete the pairing handshake process with the target host device and establish a new communication link.

[0061] By dynamically switching the broadcast address, the system can bypass the known device list restrictions of the host device and achieve rapid device identification and connection establishment.

[0062] The beneficial effects of solution 1 (dynamic broadcast address switching) of the present invention include: 1. High recognition efficiency: The new address can be quickly recognized as a new device by the host; 2. Good compatibility: applicable to most communication protocols that support address changes; 3. Fast connection speed: avoids the complicated pairing information processing process; 4. Simple implementation: mainly relies on the address change mechanism.

[0063] Solution 2: Pairing information clearing solution After receiving the motion signal in the second setting situation, the device performs the following pairing reset operations: (1) Actively disconnect all currently established communication connections; (2) Clear or hide locally stored pairing key information, including but not limited to Bluetooth pairing keys, device identifiers, and authentication credentials; (3) Reset the device status to pairing mode, keeping the original broadcast address unchanged; (4) When the target host device attempts to connect, the host device will detect that the pairing key is missing or mismatched because the local pairing key information has been cleared; (5) The host device automatically deletes the original device record stored locally according to the protocol specifications and re-initiates the pairing process; (6) The device and host complete a new pairing handshake process and establish a new secure connection.

[0064] The benefits of Solution 2 (pairing information clearing) include: 1. Strong hardware compatibility: No need to change the device hardware address, suitable for devices with fixed addresses; 2. Protocol standardization: Strictly follow the standard pairing process of the communication protocol; 3. Security assurance: Ensure the safe disconnection of old connections through key clearing; 4. Cost-effective: No additional address management hardware resources are required.

[0065] Regarding the selection strategy of these two solutions, the system can select the appropriate connection solution according to the actual application environment and device capabilities: (1) For devices that support address variability, solution one (dynamic broadcast address switching) is preferred to achieve faster device identification; (2) For devices with fixed addresses or limited address changes, solution two (pairing information clearing) is adopted to ensure device switching in a fixed address environment; (3) the system can also combine the two solutions, first try address switching, and if it fails, automatically switch to pairing information clearing mode.

[0066] In addition, to ensure system stability, both solutions have a fault recovery protection mechanism: if a new pairing connection is not successfully established within the preset time window (such as 30 seconds), the device will automatically restore to the original connection state, including restoring the original broadcast address (Solution 1) or restoring the backed-up pairing information (Solution 2), and reconnecting to the original device.

[0067] The overall beneficial effects of adopting these two options include: 1. Solution complementarity: The two solutions complement each other and adapt to different equipment and environmental requirements; 2. Improved reliability: Provides multiple pairing failure recovery mechanisms; 3. Strong practicality: especially suitable for frequent switching needs in a multi-device environment; 4. High flexibility: The system can automatically select the optimal solution based on actual conditions.

[0068] Figure 3A flow chart showing a control method for dynamically switching multiple communication target links according to another embodiment of the present invention is shown. Figure 3 As shown, in one embodiment, collecting and analyzing the motion signal detected by the multi-dimensional physical state acquisition module includes: Step 301 : collecting the acceleration or angular velocity change of the multi-dimensional physical state collection module in at least one degree of freedom within a first preset time window.

[0069] Specifically, the first preset time window can be a 3-5 second window, specifically a 4 second window. The device's multi-dimensional physical state acquisition module continuously collects acceleration or angular velocity data along at least one degree of freedom (e.g., the X, Y, or Z axis). By collecting this sensor data, the system can accurately monitor user motion characteristics, such as finger tapping, movement, rotation, or other manipulations. For example, assuming an IMU sensor combining a three-axis accelerometer and gyroscope is used, the device will collect motion data in the X, Y, and Z directions. If a user taps a table or other object with a finger wearing a smart ring, the device can detect changes in acceleration in the X or Y directions using the accelerometer, or obtain angular velocity data on the Z axis using the gyroscope. Based on this data, the system can determine the direction, speed, and amplitude of the finger's sliding motion.

[0070] Step 302: Analyze the acceleration or angular velocity changes in the at least one degree of freedom to generate a motion signal. Specifically, the collected acceleration or angular velocity data is processed and a motion signal is generated using a predefined algorithm. The motion signal is a key indicator of user intent, and the device uses this signal to determine whether to perform a device switch or other operation.

[0071] In a specific embodiment, the generation process can be as follows: the acceleration or angular velocity signals from multiple degrees of freedom are fused, noise is eliminated through a filtering algorithm, and valid data, such as valid data for one degree of freedom, is retained. For example, a Kalman filter can be used to process the noisy data to ensure that decisions are made only based on valid motion signals. A set threshold is used to determine whether the motion signal meets the trigger condition. For example, when the value of the acceleration vector exceeds a certain threshold, it indicates that the user has performed a valid operation, and the system generates a "motion trigger signal." This signal is used for subsequent device switching operations.

[0072] In one specific embodiment, assuming that the set acceleration threshold is 0.5m / s², when the acceleration vector 0.583m / s² exceeds the threshold, the system will generate a motion signal. If two valid motion signals are detected continuously within 0.5S, it means that the user intends to perform a device switching operation. The device initiates the Bluetooth device switching operation or the communication device switching according to the preset logic.

[0073] In one embodiment, determining the characteristics of the motion signal includes: if it is analyzed that the motion signal satisfies two acceleration or angular velocity threshold conditions of a short-period mutation, determining it is a first setting situation; if it is analyzed that the motion signal satisfies three acceleration or angular velocity threshold conditions of a short-period mutation, determining it is a second setting situation.

[0074] In one embodiment, determining the characteristic information of the motion signal includes: (1) If the characteristic information of the motion signal is two short-period mutations of acceleration or angular velocity threshold conditions, it is judged as the first setting situation; (2) If the characteristic information of the motion signal is a short-period mutation of three acceleration or angular velocity threshold conditions, it is judged as the second setting situation; (3) If the characteristic information of the motion signal is a short-period mutation of the acceleration or angular velocity threshold condition, it is determined to be the third setting situation.

[0075] In one embodiment, after generating the communication target switching instruction, the method further includes: starting a subsequent connection attempt when each target connection fails, wherein the connection attempt has a set maximum waiting period, and actively interrupting and advancing to the next target if the maximum waiting period is exceeded.

[0076] Specifically, the characteristic information analysis of the motion signal determines the user's operation through changes in acceleration and angular velocity. For example, when the device detects two acceleration mutations exceeding the set threshold (such as 0.5m / s²), the system will determine whether it meets the "first set situation" based on the set conditions (such as time interval). Assuming that the acceleration data are a_x=0.7m / s² and a_y=0.6m / s², when the system determines that the acceleration of both data points exceeds 0.5m / s², a motion signal is generated to trigger device switching. When the system detects three consecutive acceleration or angular velocity mutations, it means that the user intends to perform a larger movement (such as rapid rotation or sliding), and the system will determine it as the "second set situation." For example, when the three acceleration values ​​are a_x=1.2m / s², a_y=1.0m / s², and a_z=1.1m / s², respectively, the system will use the following calculation method to confirm whether the trigger conditions are met. If the conditions are met, the system will try to connect to the next Bluetooth device according to the device priority order and follow the maximum waiting period setting. If the connection is not successful within 3 seconds, the system will automatically try to connect to the next device. This method can ensure that the user input actions are accurately responded to and automatically trigger device switching, thereby optimizing the device interaction experience.

[0077] In one embodiment, if all attempts to connect to the preset link targets fail, the system reverts to the initial link state. When a device switches between communication devices and all preset link targets (i.e., paired devices) fail to connect successfully, the system reverts to the initial link state. This technical solution ensures stable operation in a multi-device environment and prevents system responsiveness or connection confusion in the event of a connection failure. Specifically, when the system attempts to connect to multiple target devices, if all attempts fail, the device automatically reverts to the original device connection state, ensuring that user operations are not affected. For example, assume the current device connection order is device 1, device 2, and device 3. If the device attempts to connect to device 1, device 2, and device 3 unsuccessfully, the system performs the following recovery operations: Device connection attempt: The system first attempts to connect to device 1. If the connection to device 1 times out (e.g., for more than 3 seconds), it attempts to connect to device 2, and then device 3. Failure recovery mechanism: If devices 1, 2, and 3 all fail to connect, the system automatically performs a recovery operation, connecting back to the original device (e.g., device 1). At this point, the device will restore the Bluetooth connection to device 1 and proceed with subsequent operations.

[0078] Figure 4 A flow chart showing a control method for dynamically switching multiple communication target links according to another embodiment of the present invention is shown. Figure 4 As shown, when the current communication link is a Bluetooth communication link, it also includes: In step 401, if the characteristic information of the motion signal matches the first set condition, the current Bluetooth communication link is terminated according to the communication target switching instruction. The device then wakes up and attempts to re-establish a pairing connection with the next Bluetooth communication target in sequence according to the Bluetooth communication target sequence stored in the Bluetooth communication connection state memory. The device analyzes the collected motion signal and matches it with the set first set condition. For example, if a rapid sliding or rotating motion of the user's hand is detected, such as exceeding a set acceleration threshold and experiencing two acceleration changes within a certain period of time, the user is deemed to have intended to switch devices. At this point, the device triggers the Bluetooth connection switching process. If it is determined that the user intends to switch devices, the communication target switching instruction terminates the current Bluetooth communication link and attempts to establish connections with other devices in sequence according to the Bluetooth target index table. The Bluetooth target index table records the connection priority of multiple devices, for example, in the order of device 1, device 2, and device 3. The system will wake up and attempt to re-establish a pairing connection, starting with device 1. If a device fails to connect successfully, the system will continue to attempt to connect to the next device.

[0079] The technical solution of the present invention enables electronic devices to intelligently perceive user intentions through judgments based on motion signals, without the need for additional physical buttons or manual operations, thereby simplifying the user's operating process and improving the naturalness and convenience of interaction. In addition, this action-based input method avoids misoperation and ensures that the system only initiates device switching when the user has a clear intention to switch. By making connection attempts in accordance with the internally recorded Bluetooth target index table, the system can ensure the sequential and orderly nature of device switching, avoid confusing connection sequences, and ensure the accuracy of connection operations. At the same time, this method of attempting to connect in sequence avoids priority confusion between devices, ensuring that users are always connected to devices with higher priorities.

[0080] Step 403: If a valid Bluetooth communication link is not established after multiple rounds of attempts, the current Bluetooth communication link is restored. If the device has tried multiple target devices in sequence but still fails to successfully establish a valid Bluetooth connection, the system will return to the previous Bluetooth connection state. This process can ensure the stability of the device in a multi-device environment and avoid loss of connection or invalid operation due to the inability of the device to switch connections. A fallback mechanism is provided when the connection fails to ensure that the device can always maintain a stable connection state. Even if the connection attempts of all new devices fail, the system will immediately return to the currently connected device, avoiding the disconnection or disconnection of the device due to switching failure. The method of the present invention enhances the reliability and fault tolerance of the system, ensuring that the device can always maintain an effective working state.

[0081] Figure 5 A flow chart showing a control method for dynamically switching multiple communication target links according to another embodiment of the present invention is shown. Figure 5 As shown, it also includes: Step 501, if the characteristic information of the motion signal is the second setting situation, remove the device identifier that first established the communication record in the communication link set. Specifically, the device will analyze and parse the motion signal. If the motion signal meets the second setting situation (for example, multiple consecutive sudden changes in acceleration or angular velocity, indicating that the user wants to switch devices), it will trigger the adjustment of the device connection priority. The system will remove the device identifier that first established the connection record from the target index table. This means that when the user needs to switch devices, the system will give up the priority connection to the historical device and readjust the order of device connection. By dynamically adjusting the connection order of the devices, the system can optimize the priority of device connection according to the user's immediate needs. It avoids sticking to the state of the earliest connected device and ensures that the user can flexibly connect to the device currently needed or recently used. This dynamic management mechanism improves the adaptability and interactive experience of the device.

[0082] Step 503, turns on the device broadcast state within the second time window to accept new Bluetooth communication devices for pairing. Specifically, the device enters the broadcast mode and turns on the broadcast state within the set second time window. At this stage, the device will allow new devices in the surrounding area to pair and establish Bluetooth connections. The broadcast time window is set to a short time (for example, 3 to 5 seconds) to ensure that the device can efficiently discover and connect to new Bluetooth devices, while avoiding unnecessary power consumption caused by excessively long broadcast time. The broadcast mode within a short time window allows the device to efficiently accept new Bluetooth devices. Even in the case of multiple connected devices, the device can accept new device connection requests in a timely manner, thereby improving the flexibility of the device in a multi-device environment. In addition, this short-term broadcast mode can effectively control the power consumption of the device, avoid meaningless long-term broadcasts, and extend the battery life of the device.

[0083] In step 505, if a new Bluetooth communication connection is not established within the second time window, the original state of the communication link set is restored or the electronic device remains disconnected. The device re-arranges the device index according to the original connection order and priority to avoid confusion in the connection state or loss of device state due to timeouts. This timeout recovery mechanism ensures that the system remains stable even when a new connection cannot be successfully established. Even if a connection timeout occurs during a device switching process, the system will return to its original state, avoiding incorrect device switching and connection issues, strengthening the system's reliability and fault tolerance, and ensuring that the device can always be in a stable working state.

[0084] Figure 6 A structural block diagram of a control device for dynamically switching multiple communication target links according to an embodiment of the present invention is shown. Figure 6 As shown, the control device 600 for implementing dynamic switching of multiple communication target links includes: The input contact module 601 is used to initiate the input intention determination process in response to the input contact event information applied by the user to the set area of ​​the electronic device. Specifically, the input contact module 601 can use a capacitive touch sensor, physical button, optical sensor or pressure sensor to sense the user's input operation.

[0085] The multi-dimensional physical state acquisition module 602 is connected to the input contact module 601 and is configured to collect and analyze motion signals detected by the multi-dimensional physical state acquisition module during the duration of the input contact event information. Specifically, the multi-dimensional physical state acquisition module may include an IMU sensor such as a three-axis accelerometer, a six-axis accelerometer, a gyroscope, or a nine-axis sensor.

[0086] Processing module 603 is connected to multi-dimensional physical state acquisition module 602 and is configured to determine characteristic information of the motion signal and, if the characteristic information of the motion signal corresponds to a first predetermined condition, generate a communication target switching instruction. Specifically, processing module 603 may be a master MCU responsible for processing sensor data and executing corresponding control logic to ensure smooth device switching operations.

[0087] The communication module 604 is connected to the processing module 603 and is configured to act on the current communication link according to the communication target switching instruction, dynamically switching the communication target according to a preset connection state sequence. Specifically, the communication module can be a Bluetooth module that supports multi-device pairing storage and switches connections between devices according to instructions from the main control MCU.

[0088] In one embodiment, it also includes: a processing module 603, which is also used to perform the following operations if the characteristic information of the motion signal meets the second setting situation: open a connection request to allow other communication devices to access; if a new communication device is successfully connected to the electronic device, delete the communication device identifier that established the earliest connection in the communication link set; add the newly connected communication device identifier to the communication link set and update it to the latest connected device; if no new communication device is detected to be successfully connected within a preset period, restore the connection to the initial communication target or close the communication link.

[0089] The processing module 603 is further configured to delete the communication device identifier of the earliest established connection record in the communication link set when it is determined that the characteristic information of the motion signal meets the second set condition.

[0090] The communication module 604 is further configured to open a connection request in a short-cycle broadcast mode to facilitate access by other communication devices.

[0091] The processing module 603 is also used to replace the deleted communication device identifier of the earliest established connection record if other communication devices are successfully connected to the electronic device; if no other communication devices are detected to be successfully connected within a preset period, restore the communication target structure of the original communication link set.

[0092] It should be noted that the apparatus provided in this embodiment of the present invention closely cooperates with the various steps described in the above method, effectively enabling dynamic switching of Bluetooth connections between multiple devices. The apparatus comprises multiple key modules, the specific functions and structures of which correspond to the operational steps in the method and will not be further described here. For detailed information on each function, please refer to the method section.

[0093] In one embodiment, the present invention provides a computer-readable storage medium, characterized in that a computer program is stored in the computer-readable storage medium, and when the computer program is executed by a processor, it implements any of the control methods for dynamic switching of multiple communication target links as described above.

[0094] In one embodiment, the present invention provides an electronic device, comprising: the control device for implementing dynamic switching of multiple communication target links as described above, which is used to execute the control method for implementing dynamic switching of multiple communication target links as described above.

[0095] In one embodiment, the electronic device can be a smart interactive terminal such as a smart ring, smart bracelet, smart mouse, etc. Taking a smart ring as an example, since the size of a smart ring is much smaller than a mobile phone or mouse, if a very convenient interactive ring is to be provided, how to realize interaction in such a small space as a ring? Figure 7 A schematic diagram of a user-controlled smart ring according to an embodiment of the present invention is shown. The smart ring includes a control device for dynamically switching multiple communication target links. The present invention designs the following interaction scheme: The internal configuration of the smart ring: sensors that can detect touch or pressure (touch, button or light-sensitive sensor or pressure sensor, etc.), main control MCU, IMU (three-axis accelerometer, or six-axis sensor such as acceleration plus gyroscope, or nine-axis sensor). Through the combination of touch and tapping, this can ensure that the user must have deliberately triggered it.

[0096] Bluetooth switching method: Touch one or more touch areas on the outer surface of the ring with your hand, or press a button with your finger. At this time, tap twice on the desktop with your hand. The device will disconnect the currently connected device and search for the next paired Bluetooth device. The search and connection method is: search for Bluetooth devices 1-3 in order. If Bluetooth device 1 is connected first, after tapping twice, the connection with device 1 will be disconnected, and then Bluetooth device 2 will be actively paired. If it is not connected after a timeout (such as 3 seconds), the device will be searched and connected to Bluetooth device 3. If both times out, it will reconnect to Bluetooth device 1. This ensures that when the user taps to connect to the next device (the user does not know which of Bluetooth device 2 and Bluetooth device 3 is around), it can search in the order of Bluetooth devices 1-3 to ensure accurate connection, and ensure that if a device cannot be found, it will connect to the next device, rather than connecting to the one that has priority, which will cause confusion in the connection order.

[0097] Specifically, if you press a touch area and then tap to disable input, you can disable the gyroscope, light sensor, or other chips by detecting but not reporting gyroscope or light sensor events. This prevents users from accidentally triggering input. Repeating the press and tap turns input back on. At this point, you can gently shake the cursor to indicate to the user that input is enabled.

[0098] Specifically, pressing the touch area and tapping three times will reset Bluetooth. This resets the earliest connected device (e.g., device 3) among devices 1-3 and opens it up to new devices. If a new device connects, the oldest unused device is deleted. If no new device is connected within the timeout (to prevent the user from accidentally triggering the triple-tap), the previously connected device information is retained.

[0099] In terms of interactive scheme design, the present invention implements device switching and input control through three main mechanisms. The user touches or presses in combination with a double-click action, and the system searches and connects the devices in order of device priority (devices 1-3), and reconnects to device 1 after the connection times out. Input control mechanism: Through touch or presses in combination with a single-click action, the user can control the input switch state of the device. The system switches the input function on and off by turning off the sensor or shielding the event report, and the cursor jitter prompts the state change when the input is turned on. The user triggers a device reset through a triple-click action, and the system clears the earliest paired device information and allows new devices to access. If the new device is not connected after the timeout, the original connection is restored.

[0100] By combining touch and IMU interaction, the system enables multi-device control without adding physical buttons, and the interaction is natural and intuitive. In terms of reliability, the touch-and-tap combination effectively reduces the probability of false triggers, the orderly device search mechanism ensures connection stability, and the timeout protection mechanism prevents abnormal connection status. In terms of practicality, it not only meets the design requirements of small devices such as rings, but also supports rapid switching between multiple devices and provides input control functions, enhancing the device's ease of use.

[0101] In terms of hardware implementation, the touch detection module uses a capacitive touch sensor with adjustable sensitivity and supports waterproof design. The IMU sensor has a sampling rate of ≥100Hz and an acceleration range of ±2g, and meets low-power design requirements. The main control MCU supports multiple peripheral interfaces, has a low-power mode and sufficient storage space to store pairing information. In software implementation, the tap detection algorithm intelligently judges the user's tapping action by setting acceleration thresholds and time intervals to ensure that the device switches according to the predetermined logic. The Bluetooth connection management algorithm disconnects the current connection and searches for paired devices in sequence. If the device connection fails, it will reconnect to the original device to ensure system stability.

[0102] To optimize power consumption, the system features IMU low-power mode configuration, touch module sleep strategies, and state-based sampling rate adjustment. Furthermore, Bluetooth connectivity has been optimized with search timeouts, connection parameter optimization, and disconnection mechanisms to further reduce power consumption and extend device usage.

[0103] Figure 8The following is a block diagram of an electronic device according to an embodiment of the present invention. The electronic device 800 may be a host server, a personal computer (PC), or a portable computer or terminal with computing capabilities. The specific implementation of the computing node is not limited in the present embodiment.

[0104] The electronic device 800 includes a processor 810 , a communications interface 820 , a memory array 830 , and a bus 840 . The processor 810 , the communications interface 820 , and the memory array 830 communicate with each other via the bus 840 .

[0105] The communication interface 820 is used to communicate with network elements, where the network elements include, for example, a virtual machine management center, shared storage, etc.

[0106] The processor 810 is used to execute programs. The processor 810 may be a central processing unit (CPU), or an application specific integrated circuit (ASIC), or one or more integrated circuits configured to implement the embodiments of the present invention.

[0107] Memory 830 is used to store programs and / or data. Memory 830 may include high-speed RAM memory or non-volatile memory, such as at least one disk drive. Memory 830 may also be a memory array. Memory 830 may also be divided into blocks, and these blocks may be combined into virtual volumes according to certain rules.

[0108] In one possible embodiment, the program may be a program code comprising computer operating instructions. Specifically, the program may be configured to: initiate an input intention determination process in response to input contact event information applied by a user to a set area of ​​an electronic device; collect and analyze motion signals detected by a multi-dimensional physical state acquisition module during the duration of the input contact event information; determine characteristic information of the motion signals; generate a communication target switching instruction if the characteristic information of the motion signals corresponds to a first predetermined condition; and act on the current communication link according to the communication target switching instruction to dynamically switch the communication target according to a preset connection state sequence.

[0109] In a possible implementation, the program may be specifically configured to, after determining the characteristic information of the motion signal, further include: If the characteristic information of the motion signal meets the second setting condition, the following operations are performed: Open connection request for other communication devices to access; If the new communication device is successfully connected to the electronic device, the identification of the communication device that established the earliest connection in the communication link set is deleted; the identification of the newly connected communication device is added to the communication link set and updated to the latest connected device; If no new communication device is detected to be successfully connected within the preset period, the connection to the initial communication target is restored or the communication link is closed.

[0110] In a possible implementation, the program may be specifically configured to, after the communication target switching instruction is applied to the current communication link, further include: Determining the signal strength of multiple communication targets to be switched; The communication target is switched according to the signal strength of the communication target to be switched.

[0111] In a possible implementation, the program may be specifically configured to collect acceleration or angular velocity changes of the multi-dimensional physical state acquisition module on at least one degree of freedom within a first preset time window; The acceleration or angular velocity change in the at least one degree of freedom is analyzed to generate a motion signal.

[0112] In one possible implementation, the program may be specifically configured to determine that the first setting condition is met if the characteristic information of the motion signal is two short-period sudden changes of acceleration or angular velocity threshold conditions; If the characteristic information of the motion signal is a short-period mutation of three acceleration or angular velocity threshold conditions, it is determined to be the second setting situation; If the characteristic information of the motion signal is a short-period sudden change of the acceleration or angular velocity threshold condition, it is determined to be the third setting situation.

[0113] In one possible implementation, the program can be specifically used to initiate another communication target connection attempt when a communication target connection within the preset connection state sequence fails, wherein the another communication target connection attempt has a set maximum waiting period. If the maximum waiting period is exceeded, the another communication target connection attempt is actively interrupted and the next communication target connection attempt is promoted.

[0114] In a possible implementation, the program may be specifically configured to restore the connection to the initial communication target when all attempts to connect to the communication targets in all preset connection state sequences fail.

[0115] In one possible implementation, the program may be specifically configured to, if the communication link is Bluetooth communication, further include: If the characteristic information of the motion signal is the first setting condition, terminating the current Bluetooth communication link according to the communication target switching instruction, and sequentially loading and attempting to reestablish a pairing connection with the next Bluetooth communication target according to the Bluetooth communication target sequence stored in the Bluetooth communication connection state memory; If a valid Bluetooth communication link is not established after multiple rounds of attempts, the current Bluetooth communication link will be restored.

[0116] In a possible implementation, the program may be used to further include: If the characteristic information of the motion signal is the second setting condition, the device broadcast state is enabled within the second time window to accept a new Bluetooth communication device for pairing; If a new Bluetooth communication connection is not established within the second time window, the original state of the communication link set is restored or the electronic device is kept disconnected.

[0117] In a possible implementation, the program may be specifically configured to keep the electronic device connected and turn off all output instructions of the electronic device if the characteristic information of the motion signal is a third setting condition.

[0118] In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware or any combination thereof. When software is used for implementation, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the process or function described in the embodiment of the present application is generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions can be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions can be transmitted from a website, computer, server or data center to another website, computer, server or data center via a wired (e.g., coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) method. The computer-readable storage medium can be any available medium that a computer can access or a data storage device such as a server or data center that includes one or more available media integrations. The available medium can be a magnetic medium (e.g., a floppy disk, a hard disk, a tape), an optical medium (e.g., a DVD), or a semiconductor medium (e.g., a solid-state drive (SSD)).

[0119] The various illustrative logic units and circuits described in the embodiments of the present application can be implemented or operated by the design of a general-purpose processor, a digital signal processor, an application-specific integrated circuit (ASIC), a field programmable gate array (FPGA) or other programmable logic device, discrete gate or transistor logic, discrete hardware components, or any combination thereof. The general-purpose processor can be a microprocessor, alternatively, the general-purpose processor can also be any traditional processor, control device, micro or state machine. The processor can also be implemented by a combination of computing devices, such as a digital signal processor and a microprocessor, a plurality of microprocessors, one or more microprocessors in conjunction with a digital signal processor core, or any other similar configuration to implement.

[0120] The steps of the methods or algorithms described in the embodiments of the present application can be directly embedded in hardware, software units executed by a processor, or a combination of the two. The software units can be stored in RAM memory, flash memory, ROM memory, EPROM memory, EEPROM memory, registers, hard disk, removable disk, CD-ROM, or other storage media in any form known in the art. Exemplarily, the storage medium can be connected to the processor so that the processor can read information from the storage medium and write information to the storage medium. Alternatively, the storage medium can also be integrated into the processor. The processor and storage medium can be arranged in an ASIC.

[0121] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operational steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing the instructions executed on the computer or other programmable device for implementing the process. Figure 1 a process or multiple processes and / or boxes Figure 1 A step that specifies a function in one or more boxes.

[0122] Each embodiment in this specification is described in a progressive manner, with each embodiment focusing on its differences from the other embodiments. References to the same or similar parts between the various embodiments are sufficient. For system embodiments, since they largely correspond to method embodiments, their description is relatively simple. For relevant parts, references to the description of the method embodiments are sufficient.

[0123] The method and system of the present invention may be implemented in many ways. For example, the method and system of the present invention may be implemented by software, hardware, firmware, or any combination of software, hardware, and firmware. The above sequence of steps for the method is for illustration only, and the steps of the method of the present invention are not limited to the sequence specifically described above, unless otherwise specified. In addition, in some embodiments, the present invention may also be implemented as a program recorded in a recording medium, which includes machine-readable instructions for implementing the method according to the present invention. Thus, the present invention also covers recording media that store programs for executing the method according to the present invention.

[0124] The description of the present invention has been presented for purposes of illustration and description and is not intended to be exhaustive or to limit the invention to the form disclosed. Many modifications and variations will be apparent to those skilled in the art. The embodiments were chosen and described in order to better illustrate the principles of the invention and its practical application and to enable those skilled in the art to understand the invention and design various embodiments with various modifications as are suited for specific applications.

Claims

1. A control method for realizing dynamic switching of multiple communication target links, characterized in that: include: Initiating an input intention determination process in response to input contact event information applied by a user to a set area of ​​an electronic device; During the duration of the input contact event information, collecting and analyzing the motion signal detected by the multi-dimensional physical state acquisition module; determining characteristic information of the motion signal; If the characteristic information of the motion signal is the first setting condition, a communication target switching instruction is generated; The communication target switching instruction acts on the current communication link and dynamically switches the communication target according to a preset connection state sequence.

2. The method according to claim 1, characterized in that After determining the characteristic information of the motion signal, the method further includes: If the characteristic information of the motion signal meets the second setting condition, the following operations are performed: Open connection request for other communication devices to access; If the new communication device is successfully connected to the electronic device, the identification of the communication device that established the earliest connection in the communication link set is deleted; the identification of the newly connected communication device is added to the communication link set and updated to the latest connected device; If no new communication device is detected to be successfully connected within the preset period, the connection to the initial communication target is restored or the communication link is closed.

3. The method according to claim 1, characterized in that After the communication target switching instruction is applied to the current communication link, the method further includes: Determining the signal strength of multiple communication targets to be switched; The communication target is switched according to the signal strength of the communication target to be switched.

4. The method according to claim 1, wherein The acquisition and analysis of the motion signal detected by the multi-dimensional physical state acquisition module includes: Collecting the acceleration or angular velocity change of the multi-dimensional physical state acquisition module on at least one degree of freedom within a first preset time window; The acceleration or angular velocity change in the at least one degree of freedom is analyzed to generate a motion signal.

5. The method according to claim 1, characterized in that The determining of the characteristic information of the motion signal includes: If the characteristic information of the motion signal is two short-period mutations of the acceleration or angular velocity threshold conditions, it is determined to be the first setting situation; and\or If the characteristic information of the motion signal is a short-period mutation of three acceleration or angular velocity threshold conditions, it is determined to be the second setting situation; and\or If the characteristic information of the motion signal is a short-period sudden change of the acceleration or angular velocity threshold condition, it is determined to be the third setting situation.

6. The method according to claim 1, characterized in that The dynamically switching the communication target according to the preset connection state sequence includes: When a communication target connection in the preset connection state sequence fails, another communication target connection attempt is initiated, wherein the another communication target connection attempt has a set maximum waiting period. If the maximum waiting period is exceeded, the another communication target connection attempt is actively interrupted and the next communication target connection attempt is promoted.

7. The method according to claim 6, characterized in that The dynamically switching the communication target according to the preset connection state sequence also includes: When all attempts to connect to the communication targets in all the preset connection state sequences fail, the connection is restored to the initial communication target.

8. The method according to claim 5, characterized in that If the communication link is Bluetooth communication, it also includes: If the characteristic information of the motion signal is the first setting condition, terminating the current Bluetooth communication link according to the communication target switching instruction, and sequentially loading and attempting to reestablish a pairing connection with the next Bluetooth communication target according to the Bluetooth communication target sequence stored in the Bluetooth communication connection state memory; If a valid Bluetooth communication link is not established after multiple rounds of attempts, the current Bluetooth communication link will be restored.

9. The method according to claim 5, characterized in that If the communication link is Bluetooth communication, it also includes: If the characteristic information of the motion signal is the second setting condition, the device broadcast state is enabled within the second time window to accept a new Bluetooth communication device for pairing; If a new Bluetooth communication connection is not established within the second time window, restoring the original state of the communication link set or keeping the electronic device disconnected; and\or The method further includes: if the characteristic information of the motion signal is a third setting condition, maintaining the connection state of the electronic device and turning off all output instructions of the electronic device.

10. A control device for realizing dynamic switching of multiple communication target links, characterized in that: include: An input contact module, configured to initiate an input intention determination process in response to input contact event information applied by a user to a set area of ​​the electronic device; a multi-dimensional physical state acquisition module connected to the input contact module, configured to acquire and analyze motion signals detected by the multi-dimensional physical state acquisition module during the duration of the input contact event information; a processing module connected to the multi-dimensional physical state acquisition module, configured to determine characteristic information of the motion signal and generate a communication target switching instruction if the characteristic information of the motion signal is a first set condition; The communication module is connected to the processing module and is used to act on the current communication link according to the communication target switching instruction and dynamically switch the communication target according to a preset connection state sequence.

11. The device according to claim 10, characterized in that Also includes: The processing module is further configured to, if the characteristic information of the motion signal meets a second set condition, perform the following operations: Open connection request for other communication devices to access; If the new communication device is successfully connected to the electronic device, the identification of the communication device that established the earliest connection in the communication link set is deleted; the identification of the newly connected communication device is added to the communication link set and updated to the latest connected device; If no new communication device is detected to be successfully connected within the preset period, the connection to the initial communication target is restored or the communication link is closed.

12. An electronic device, characterized in that: include: The control device for realizing dynamic switching of multiple communication target links as described in any one of claims 9 to 10 is used to execute the control method for realizing dynamic switching of multiple communication target links as described in any one of claims 1 to 9.

13. A computer-readable storage medium, characterized in that The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the control method for realizing dynamic switching of multiple communication target links according to any one of claims 1 to 9 is implemented.

Citation Information

Patent Citations

  • Interactive method, interactive device and user equipment

    CN106155293A

  • Information processing method based on audio wearable equipment

    CN112135213A

  • Control method for controlling Bluetooth headset and talkback network

    CN116193317A

  • Information processing apparatus and information processing program

    JP2013175208A

  • Input device and input method

    US20120004740A1