Method for implementing dynamic switching of multiple communication target links and electronic device
By analyzing motion signals and input contact events on the smart ring, seamless switching of the smart ring in a multi-device environment is achieved, solving the cumbersome problem of manual operation in existing technologies and improving the efficiency and stability of device switching.
Patent Information
- Application Number
- CN202511135740.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2025-08-14
- Publication Date
- 2025-11-21
- Estimated Expiration
- 2045-08-14
AI Technical Summary
Existing ultra-small devices such as smart rings cannot connect to multiple devices simultaneously, and device switching requires manual disconnection and reconnection, making seamless multi-device switching impossible.
By collecting and analyzing motion signals detected by the multi-dimensional physical state acquisition module, and combining them with input contact event information, the system intelligently determines the user's switching intention, generates communication target switching instructions, and dynamically adjusts the communication link to achieve seamless switching between multiple devices.
It simplifies the user interaction process, improves the response speed and connection stability of device switching, reduces power consumption, optimizes device battery life, and ensures connection reliability and flexibility in multi-device environments.
Smart Images

Figure CN120640436B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the technical field of intelligent device communication, and in particular to a control method for realizing dynamic switching of multiple communication target links and an electronic device. BACKGROUND
[0002] With the development of miniaturization of electronic devices, smart rings, as a kind of wearable devices, gradually become an important interactive medium. Wearers can control the smart rings without induction and provide convenient interactive experience. However, the existing smart rings can only connect to one master device such as a mobile phone, and cannot be connected to multiple devices at the same time. If the device needs to be switched, the user must manually disconnect the Bluetooth connection of the current device and reconnect to other devices. This limitation is mainly due to the ultra-small and ultra-thin design of the smart ring, which cannot set multiple keys or gears like traditional mice to realize Bluetooth device switching.
[0003] Therefore, how to realize multiple device connection on ultra-small devices such as smart rings and switch through simple interaction has become a technical problem to be solved in the current technical field. SUMMARY
[0004] One of the technical problems to be solved by the embodiments of the present application is how to realize efficient connection of multiple Bluetooth devices in ultra-small wearable devices and realize seamless switching between devices through simple interaction.
[0005] In order to cope with the above-mentioned scenarios, in a first aspect, the embodiments of the present application provide a control method for realizing dynamic switching of multiple communication target links, comprising:
[0006] Starting an input intent determination process in response to a user applying input contact event information to a set area of an electronic device;
[0007] During the duration of the input contact event information, collecting and analyzing the motion signal detected by the multi-dimensional physical state collection module;
[0008] Determining the characteristic information of the motion signal;
[0009] Generating a communication target switching instruction if the characteristic information of the motion signal is a first set condition;
[0010] According to the communication target switching instruction acting on the current communication link, dynamically switching the communication target according to the preset connection state sequence.
[0011] In combination with the first aspect, in some embodiments, after determining the characteristic information of the motion signal, the method further comprises:
[0012] If the characteristic information of the motion signal meets a second set condition, the following operations are performed:
[0013] Open a connection request so that other communication devices access;
[0014] If the new communication device and the electronic device are successfully connected, delete the oldest connection device identifier in the communication link set; add the newly connected communication device identifier to the communication link set, and update it to the latest connection device;
[0015] If no new communication device is successfully accessed within a preset period, restore connection to the initial communication target or close the communication link.
[0016] In combination with the first aspect, in some embodiments, after the communication target switching instruction is applied to the current communication link, it further includes:
[0017] Determine the signal strength of multiple communication targets to be switched;
[0018] Switch the communication target according to the signal strength of the communication target to be switched.
[0019] In combination with the first aspect, in some embodiments, the collection and analysis of the motion signal detected by the multi-dimensional physical state collection module includes:
[0020] Collect 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;
[0021] Analyze the acceleration or angular velocity change in at least one degree of freedom to generate a motion signal.
[0022] In combination with the first aspect, in some embodiments, after determining the characteristic information of the motion signal, it further includes:
[0023] If the characteristic information of the motion signal is a short-period mutation of twice acceleration or angular velocity threshold conditions, it is determined as a first set condition;
[0024] If the characteristic information of the motion signal is a short-period mutation of three times acceleration or angular velocity threshold conditions, it is determined as a second set condition;
[0025] If the characteristic information of the motion signal is a short-period mutation of once acceleration or angular velocity threshold conditions, it is determined as a third set condition.
[0026] In combination with the first aspect, in some embodiments, the dynamic switching of the communication target according to the preset connection state sequence includes:
[0027] When a communication target connection fails in the preset connection state sequence, another communication target connection attempt is started, wherein the another communication target connection attempt has a set maximum waiting period, and if the maximum waiting period is exceeded, the another communication target connection attempt is actively interrupted and the connection attempt of the next communication target is promoted.
[0028] In combination with the first aspect, in some embodiments, the dynamic switching of the communication target according to the preset connection state sequence further comprises: when the connection attempts of all the communication targets to be connected in all the preset connection state sequences fail, the connection to the initial communication target is restored.
[0029] In combination with the first aspect, in some embodiments, if the communication link is Bluetooth communication, the method further comprises:
[0030] If the characteristic information of the motion signal is the first set condition, the current Bluetooth communication link is terminated according to the communication target switching instruction, and the pairing connection with the next Bluetooth communication target is loaded and attempted to be reestablished in sequence according to the Bluetooth communication target sequence stored in the connection state storage of the Bluetooth communication.
[0031] If the multiple attempts all fail to establish an effective Bluetooth communication link, the current Bluetooth communication link is restored.
[0032] In combination with the first aspect, in some embodiments, if the communication link is Bluetooth communication, the method further comprises:
[0033] If the characteristic information of the motion signal is the second set condition, the device broadcast state is started in the second time window to accept a new Bluetooth communication device for pairing;
[0034] If a new Bluetooth communication connection is not established beyond the second time window, the original state of the communication link set is restored or the electronic device is kept disconnected.
[0035] In combination with the first aspect, in some embodiments, the method further comprises: if the characteristic information of the motion signal is the third set condition, the electronic device is kept connected and all output instructions of the electronic device are closed.
[0036] The second aspect, the embodiments of the present application provide a control device for realizing dynamic switching of multiple communication target links, comprising:
[0037] An input contact module is configured to start an input intention determination process in response to input contact event information applied by a user to a set area of an electronic device;
[0038] A multi-dimensional physical state acquisition module is connected to the input contact module and is 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;
[0039] The processing module is connected with the multi-dimensional physical state acquisition module, and is configured to judge 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;
[0040] The communication module is connected with the processing module, and is configured to act on a current communication link according to the communication target switching instruction, and dynamically switch a communication target according to a preset connection state sequence.
[0041] In combination with the second aspect, in some embodiments, the method further comprises:
[0042] The processing module is further configured to perform the following operation if the characteristic information of the motion signal meets a second set condition: open a connection request so as to enable other communication devices to access; if a new communication device is successfully connected with the electronic device, delete an identifier of a communication device that is earliest connected in the communication link set; add an identifier of the newly connected communication device to the communication link set, and update the newly connected device; if no new communication device is detected to successfully access within a preset period, restore connection to an initial communication target or close the communication link.
[0043] In a third aspect, embodiments of the present application provide an electronic device, comprising:
[0044] The control device for realizing dynamic switching of multiple communication target links as described in any of the above embodiments is configured to perform the control method for realizing dynamic switching of multiple communication target links as described in any of the above embodiments.
[0045] In a third aspect, embodiments of the present application provide a computer readable storage medium, wherein a computer program is stored in the computer readable storage medium, and the computer program is configured to realize the control method for realizing dynamic switching of multiple communication target links as described in any of the above embodiments when executed by a processor.
[0046] The control method for realizing dynamic switching of multiple communication target links and the electronic device provided by the embodiments of the present application have the following beneficial effects compared with the prior art:
[0047] (1) By analyzing motion signals such as acceleration and angular velocity, the device can be switched according to the user's actions, without relying on traditional physical buttons or manual operation, thereby greatly simplifying the user's interaction process. At the same time, the system intelligently judges the switching opportunity according to different set conditions of the motion signal (such as twice or three times of sudden acceleration / angular velocity), avoiding errors caused by false triggering.
[0048] (2) In the device switching process, the priority of device connection is managed according to the Bluetooth target index table, and the device pairing is carried out in the short period broadcast mode, which greatly improves the response speed of device switching. Through the preset maximum waiting period and timeout mechanism, the efficiency and stability of the connection can be ensured, and even if some devices cannot be connected, the initial connection state or reconnection attempt will be restored to avoid system abnormalities after connection failure.
[0049] (3) Multiple timeout protection mechanisms are introduced to ensure that the connection can be restored in time when the device connection fails, avoiding the connection state confusion caused by device switching failure; if multiple connection attempts fail, the device will automatically return to the original connection device to ensure the stability of the device in various environments.
[0050] (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 performance 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.
[0051] The technical solutions of the present application will be described in further detail below with the help of the accompanying drawings and examples. DETAILED DESCRIPTION
[0052] The accompanying drawings, which form a part of the specification, illustrate embodiments of the present application and, together with the description, serve to explain the principles of the present application.
[0053] Referring to the drawings, the present application can be more clearly understood in light of the following detailed description, in which:
[0054] Figure 1 A flowchart of a control method for realizing dynamic switching of multiple communication target links according to an embodiment of the present application is shown.
[0055] Figure 2 A flowchart of a control method for realizing dynamic switching of multiple communication target links according to another embodiment of the present application is shown.
[0056] Figure 3 A flowchart of a control method for realizing dynamic switching of multiple communication target links according to another embodiment of the present application is shown.
[0057] Figure 4 A flowchart of a control method for realizing dynamic switching of multiple communication target links according to another embodiment of the present application is shown.
[0058] Figure 5 A flowchart of a control method for realizing dynamic switching of multiple communication target links according to another embodiment of the present application is shown.
[0059] Figure 6A structure block diagram of a control device for implementing dynamic switching of multiple communication target links according to an embodiment of the present application.
[0060] Figure 7 A structure diagram of a user control intelligent ring according to an embodiment of the present application.
[0061] Figure 8 A structure block diagram of an electronic device according to an embodiment of the present application. DETAILED DESCRIPTION
[0062] The present application will be further described by examples in conjunction with the accompanying drawings. It is understood that the illustrative embodiments described herein include, but are not limited to, related methods, devices and systems. The specific examples described herein are intended to be illustrative only and not limiting of the present application. Furthermore, for the purpose of explanation, only the parts of the structure or process that are necessary to understand the present application are shown in the drawings.
[0063] The specific embodiments of the present application will be described in detail below with specific reference being made to the drawings. While the description below is intended to be illustrative of the present application, it is not intended to be limiting thereof. Rather, the description is intended to cover all alternatives, modifications and equivalents of the specific embodiments of the present application falling within the scope of the claims herein. In order to provide a thorough understanding of the present application, numerous specific details about the preferred embodiments are described below. The present application can be practiced without these specific details. In other instances, well-known methods, procedures and components have not been described in detail so as not to unnecessarily obscure aspects of the present application. Further, for ease of understanding, some of the specific details have been omitted from the description below. It is to be understood that the embodiments and features of the present application can be combined with each other, if not inconsistent, unless otherwise indicated.
[0064] In addition, 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 to imply that these operations are necessarily order dependent. In particular, these operations need not be performed in the order of presentation.
[0065] The terms "comprise", "have" and "include" are synonymous, unless the context clearly dictates otherwise.
[0066] The term "and / or", merely describes association between associated objects, and means that there can be three cases, for example, A and / or B, means that there are three cases: A alone, A and B together, B alone. In addition, the character " / " herein generally means that the front and rear associated objects are a "or" relationship. The phrase "A / B" means "A or B".
[0067] In the present application, "at least one" means one or more, and "multiple" means two or more. "At least one of the following" or similar expressions means any combination of the items, including any combination of single or multiple items. For example, at least one of a, b, or c can represent a, b, c, a-b, a-c, b-c, or a-b-c, where a, b, and c can be single or multiple.
[0068] In various embodiments of the present application, the size of the sequence number of the above-mentioned processes does not mean the order of execution, and the execution order of the processes should be determined by their functions and inherent logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.
[0069] Traditional Bluetooth devices rely on physical buttons to switch, but in ultra-small devices such as rings, multiple buttons cannot be configured due to space limitations. The prior art requires manual disconnection of the current connection and re-pairing, while the present application realizes automatic and fast switching between devices by combining input contact events with motion signals, avoiding cumbersome operations. Second, the device switching of the prior art relies on cumbersome manual steps, while the present application intelligently determines when to switch devices by using data from inertial sensors and user intent determination, reducing the number of operation steps and improving convenience. In addition, to address the space limitation problem of ultra-small devices, the present application provides a seamless device switching mechanism to ensure the realization of multi-device dynamic connection.
[0070] Figure 1 A flowchart of a control method for realizing dynamic switching of multiple communication target links according to an embodiment of the present application is shown in FIG. 1, which includes the following steps: Figure 1
[0071] Step 101: Start the input intent determination process in response to the user applying input contact event information to the designated area of the electronic device.
[0072] Specifically, the input contact event information can be touch, press, or other interaction methods, and the input intent can be communication object switching or communication method switching, communication object switching, etc. For example, the user can trigger the communication method connection switching process of the device by sensing the input contact event, and the user can start to determine whether to perform the next operation to determine the user input intent by simply pressing the device.
[0073] Specifically, the designated area of the electronic device can be the surface area, internal area, side area, etc. of the electronic device, and those skilled in the art can understand that as long as the input contact event information detection can be realized.
[0074] Step 103, during the input contact event information input duration, the motion signal detected by the multi-dimensional physical state acquisition module is collected and analyzed. Specifically, the action state of the user is monitored in real time by the multi-dimensional physical state acquisition module, and the action information of the user includes hand motion similar to tapping, acceleration, angular velocity, etc.
[0075] In one embodiment, the end of the motion can also be determined by releasing the "input contact event", that is, when the motion signal is collected and analyzed, the user immediately releases the touch piece or the key of the electronic device set area after inputting the motion signal, and it is determined that the motion is ended. The electronic device immediately determines the characteristic information of the motion signal and immediately starts the corresponding communication target switching instruction without detecting the motion state of the user and waiting for the next action.
[0076] Step 105, determining the characteristic information of the motion signal.
[0077] Step 107, generating a communication target switching instruction if the characteristic information of the motion signal is the first set condition.
[0078] Specifically, based on the detected characteristic of the motion signal of the user, it is determined whether the first set condition is met. For example, the trigger condition of the first set condition can be that the user taps an object twice or waves his hand twice, or a specific gesture, or continuously performs an air action such as drawing a circle or a square, or writing a certain number, or the user taps the device with other fingers. Once the trigger condition is met, the device generates a communication target switching instruction and attempts to switch the device to the next communication device.
[0079] Step 109, according to the communication target switching instruction acting on the current communication link, dynamically switching the communication target according to the preset connection state sequence.
[0080] Specifically, once the communication target switching instruction is generated, the device will disconnect the current communication connection, and will attempt to establish a connection with other devices according to the preset connection state sequence, such as device priority or user's custom settings. This process can ensure the order and accuracy of the connection, and avoid chaotic connection or incorrect pairing. Those skilled in the art can understand that the communication connection can be various types of connections, including but not limited to: low-power Bluetooth data transmission connection, NFC connection, Zigbee, Thread, Infrared, Ultrasound (ultrasound) connection, etc.
[0081] The control method for realizing dynamic switching of multiple communication target links according to the embodiment of the application can complete device switching without manual operation of multiple buttons through simple touch and motion signals, thereby improving user experience; automatically identifies user intention, avoids cumbersome steps, and simplifies device control process; enhances multi-task capability of small devices, supports multiple device connection and switching, and expands device functions; and the device switching process is orderly, thereby avoiding connection failure or incorrect matching.
[0082] In one embodiment, after the current communication link is affected according to the communication target switching instruction, the method further includes:
[0083] (1) judging signal strength of multiple communication targets to be switched; specifically, measurement of signal strength (such as RSSI value) can help the system to understand the physical distance and signal quality of each device and target device, thereby ensuring the reliability of connection.
[0084] (2) switching the communication target according to the signal strength of the communication target to be switched; specifically, a device with stronger signal strength will be preferentially accessed, and a device with weaker signal strength can be temporarily ignored or reevaluated according to preset conditions.
[0085] For example, after receiving the signal of the smart phone, the smart ring sends a switching request to measure the signal strength of the smart phone, and the RSSI value is assumed to be -40 dBm. This means that the smart ring is close to the smart phone, and the signal strength is strong. If another Bluetooth device also sends a switching request, the smart ring will measure the signal strength thereof, and the RSSI value is assumed to be -75 dBm, which means that the Bluetooth device is far away from the smart ring, and the signal is weak. According to the RSSI value, the smart ring will preferentially select the smart phone (the smart phone with an RSSI of -40 dBm) with stronger signal strength to switch connection.
[0086] The embodiment of the application solves the problems of signal interference and unstable connection that can occur when multiple devices are accessed; by preferentially switching to a device with stronger signal strength to establish connection, the system can effectively avoid connection failure 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.
[0087] Figure 2 A flowchart of a control method for realizing dynamic switching of multiple communication target links according to another embodiment of the application is shown in FIG. 2. Figure 2 As shown in FIG. 2, after the characteristic information of the motion signal is determined, the method further includes:
[0088] Step 201, if the characteristic information of the motion signal meets the second set condition, open the connection request for other communication devices to access. Specifically, the connection request can be opened under a new broadcast address for other student devices to access; through technical verification, it can not necessarily use a new address, and it can be to first remove the original pairing. The specific operation is to first disconnect the connection, and then erase or hide the pairing information of the device, when the host initiates connection again, it is found that the pairing key is lost, and the original record is deleted.
[0089] Step 202, if the new communication device and the electronic device are successfully connected, delete the communication link set of the earliest connection of the communication device identifier; add the new connection communication device identifier to the communication link set, and update to the latest connection device.
[0090] Step 203, if no new communication device is successfully accessed within the preset period, restore the connection to the initial communication target or close the communication link.
[0091] Specifically, the device determines the characteristics of the motion signal, and if it meets the second set condition (for example, the user holds the device and performs three tapping actions, or a specific gesture or action), the device triggers the management operation of the device set, and sends a connection request to the external device. New devices can access. If the new device cannot be successfully connected within a set timeout time, such as 10 seconds, 15 seconds or 20 seconds, the system will give up the device reconnection operation, and restore to the original communication device set structure, and retain the devices that have been paired and connected before. At this time, the device continues to use the original connection object or closes the communication link, avoiding the risk of losing the original connection during the connection attempt, and through the timeout protection mechanism, the stability and reliability of the device are ensured. When the connection fails, the device can effectively fall back to a stable state, avoiding the abnormal state of the device caused by connection timeout, and the user does not need to worry that the device will be unable to recover the connection due to the failure of the new device connection, thereby ensuring the long-term stable use of the device.
[0092] After the new device pairing is successful, the new communication device connection is considered as the current effective connection, and the device management system will update the state of the device and continue the subsequent operation. The device deletes the device identifier of the earliest connection in the paired device set, which can ensure that the device can maintain the priority connection of the latest or most commonly used device in a multi-device environment. Deleting the earliest connection device record avoids the confusion of device priority management, ensures that the access of new devices will not affect the currently connected devices, thereby improving the flexibility and efficiency of device management.
[0093] The method for connecting a new device in the control method for realizing dynamic switching of multiple communication target links provided by the embodiment of the application 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 a multiple device application scenario.
[0094] In one embodiment, the determining the characteristic information of the motion signal further comprises:
[0095] If the characteristic information of the motion signal meets the second set condition, at least one of the following operations is performed:
[0096] Operation mode one: open a connection request to enable other communication devices to access;
[0097] Operation mode two: generate a new broadcast address and start a device discovery mode with the new address, so that the target host device identifies it as a new device and initiates a pairing connection;
[0098] Operation mode three: clear the locally stored pairing key information, so that the target host device detects the loss of pairing information, automatically deletes the original device record and reinitiates the pairing process;
[0099] If the new communication device is successfully connected to the electronic device, the identification of the communication device that has been connected for the longest time in the communication link set is deleted, the identification of the newly connected communication device is added to the communication link set, and the newly connected device is updated;
[0100] If no new communication device is detected to be successfully connected within a preset period, the connection to the initial communication target is resumed or the communication link is closed.
[0101] In one embodiment, when a new communication device needs to be admitted, the following two technical solutions can be used to realize device connection:
[0102] Solution one: dynamic broadcast address switching solution
[0103] After the device receives the motion signal of the second set condition, the following broadcast address switching operation is performed:
[0104] (1) a new random or preset broadcast address is generated, which is different from the current device address;
[0105] (2) actively disconnect all established communication connections;
[0106] (3) update the broadcast address of the communication module to the newly generated address;
[0107] (4) start a device discovery mode with the new broadcast address and broadcast device connection information to the surrounding environment;
[0108] (5) The target host device detects the new device address and identifies it as a new device and initiates a pairing connection request;
[0109] (6) The pairing handshake process with the target host device is completed, and a new communication link is established.
[0110] Through dynamic broadcast address switching, the system can bypass the known device list restrictions of the host device, and realize fast device identification and connection establishment.
[0111] The beneficial effects of the first scheme (dynamic broadcast address switching) of the application include:
[0112] 1. High identification efficiency: the new address can be quickly identified by the host as a new device;
[0113] 2. Good compatibility: suitable for most communication protocols supporting address change;
[0114] 3. Fast connection speed: avoids complex pairing information processing process;
[0115] 4. Simple implementation: mainly relies on address change mechanism.
[0116] Scheme two: pairing information clearing scheme
[0117] After the device receives the motion signal of the second setting condition, the following pairing reset operation is performed:
[0118] (1) actively disconnect all established communication connections;
[0119] (2) clear or hide the locally stored pairing key information, including but not limited to Bluetooth pairing key, device identifier and authentication credentials;
[0120] (3) reset the device state to a pairable mode, keeping the original broadcast address unchanged;
[0121] (4) When the target host device attempts to connect, since the local pairing key information has been cleared, the host device will detect the pairing key loss or mismatch state;
[0122] (5) The host device automatically deletes its locally stored original device record according to the protocol specification, and reinitiates the pairing process;
[0123] (6) The device and the host complete a new pairing handshake process and establish a new secure connection.
[0124] The beneficial effects of the second scheme (pairing information clearing) include:
[0125] 1. Hardware compatibility: No need to change the device hardware address, suitable for address fixed devices;
[0126] 2. Protocol standardization: Strictly follow the standard pairing process of the communication protocol;
[0127] 3. Security assurance: Ensure the safe disconnection of old connections through key clearance;
[0128] 4. Cost-effective: No additional address management hardware resources are required.
[0129] For the selection strategy of the two schemes, the system can select the appropriate connection scheme according to the actual application environment and device capability: (1) For devices that support address variability, prefer to use scheme one (dynamic broadcast address switching), which can achieve faster device identification; (2) For devices with fixed addresses or limited address changes, use scheme two (pairing information clearance) to ensure device switching in a fixed address environment; (3) The system can also combine the two schemes, first try address switching, if it fails, automatically switch to pairing information clearance mode.
[0130] In addition, to ensure system stability, both schemes have a fault recovery protection mechanism: if a new pairing connection is not successfully established within a preset time window (such as 30 seconds), the device will automatically recover to the original connection state, including restoring the original broadcast address (scheme one) or restoring the backup pairing information (scheme two), and reconnecting to the original device.
[0131] The overall benefits of using the selection strategy of the two schemes include:
[0132] 1. Scheme complementarity: The two schemes complement each other and adapt to different device and environmental needs;
[0133] 2. Reliability improvement: Provides multiple pairing failure recovery mechanisms;
[0134] 3. Strong practicality: Especially suitable for frequent switching needs in a multi-device environment;
[0135] 4. High flexibility: The system can automatically select the optimal scheme according to actual conditions.
[0136] Figure 3 A flowchart of a control method for implementing dynamic switching of multiple communication target links according to another embodiment of the present application is shown in FIG. 4. Figure 3 As shown in FIG. 4, in one embodiment, collecting and analyzing the motion signals detected by the multi-dimensional physical state acquisition module includes:
[0137] Step 301: Collecting the acceleration or angular velocity changes of the multi-dimensional physical state acquisition module in at least one degree of freedom within a first preset time window.
[0138] Specifically, the first preset time window can be a 3-5S time window, and specifically can be 4S. The multi-dimensional physical state acquisition module of the device continuously acquires acceleration or angular velocity data in at least one degree of freedom (for example, X axis or Y axis or Z axis). Through the acquisition of these sensor data, the system can accurately monitor the motion characteristics of the user, such as the tapping, moving, rotating or other operation behaviors of the fingers. For example: assuming that an IMU sensor combined with a three-axis accelerometer and a gyroscope is used, the device will acquire motion data in X, Y and Z directions. Assuming that the user taps the desktop or other objects with the finger wearing a smart ring, the device can detect the acceleration change in the X or Y direction through the accelerometer, or obtain the angular velocity data of the Z axis through the gyroscope. According to these data, the system can determine the sliding direction, speed and motion amplitude of the finger.
[0139] Step 302, analyzing the acceleration or angular velocity change in the at least one degree of freedom to generate a motion signal. Specifically, the acquired acceleration or angular velocity data is processed to generate a motion signal through a set algorithm. The motion signal is a key indication of the user's intention, and the device will determine whether to perform device switching or other operations according to the signal.
[0140] In one specific embodiment, the generation process can be as follows: the acceleration or angular velocity signals from multiple degrees of freedom are fused, noise is removed through a filtering algorithm, and valid data such as valid data of one degree of freedom are retained. For example, Kalman filtering can be used to process noise data to ensure that only valid motion signals are used for decision-making. According to a set threshold, it is determined whether the motion signal meets the triggering condition. For example, when the value of the acceleration vector exceeds a certain threshold, it indicates that the user has performed an effective operation, and the system generates a "motion trigger signal". The signal is used for subsequent device switching operations.
[0141] 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 generates a motion signal. If two valid motion signals are continuously detected within 0.5S, it indicates that the user intends to perform a device switching operation, and the device starts the Bluetooth device switching operation or the communication device switching according to the preset logic.
[0142] In one embodiment, the characteristics of the motion signal are determined, including: if the motion signal is analyzed to meet the short-period mutation of twice acceleration or angular velocity threshold condition, it is determined as a first set condition; if the motion signal is analyzed to meet the short-period mutation of three times acceleration or angular velocity threshold condition, it is determined as a second set condition.
[0143] In one embodiment, the determination of the characteristic information of the motion signal includes:
[0144] (1) If the characteristic information of the motion signal is a short-period mutation of twice acceleration or angular velocity threshold condition, it is judged as the first setting condition;
[0145] (2) If the characteristic information of the motion signal is a short-period mutation of thrice acceleration or angular velocity threshold condition, it is judged as the second setting condition;
[0146] (3) If the characteristic information of the motion signal is a short-period mutation of once acceleration or angular velocity threshold condition, it is judged as the third setting condition.
[0147] In one embodiment, after generating the communication target switching instruction, it further comprises: starting a subsequent connection attempt when each target connection fails, the connection attempt having a set maximum waiting period, if the maximum waiting period is exceeded, actively interrupting and advancing to the next target.
[0148] Specifically, the characteristic information of the motion signal is analyzed by the changes of acceleration and angular velocity to determine the user's operation. For example, when the device detects twice acceleration mutation exceeding the set threshold (such as 0.5 m / s²), the system will determine whether it meets the "first setting condition" according to the set condition (such as time interval). Assuming that the acceleration data are a_x=0.7 m / s² and a_y=0.6 m / s² respectively, when the system determines that the acceleration of the two data points exceeds 0.5 m / s², it generates a motion signal to trigger device switching. When the system detects thrice continuous acceleration or angular velocity mutation, it indicates that the user intentionally performs a larger amplitude action (such as rapid rotation or sliding), and the system will judge it as "the second setting condition". For example, when the thrice acceleration values are a_x=1.2 m / s², a_y=1.0 m / s² and a_z=1.1 m / s² in turn, the system will confirm whether it meets the triggering condition through the following calculation method: if it meets the condition, the system will try to connect the next Bluetooth device according to the device priority order, and follow the setting of the maximum waiting period, such as 3 seconds timeout without successful connection, then the system will automatically try to connect the next device. This method can ensure that the user's input action is accurately responded and automatically triggers device switching, optimizing the interactive experience of the device.
[0149] In one embodiment, the initial link state is restored when all preset link objects fail. When the device performs a communication device switching, if all preset link objects (i.e. paired devices) cannot be successfully connected, the system will restore to the initial link state. This technical solution ensures that the device can run stably in a multi-device environment and will not cause the system to lose response or connection confusion when encountering connection failure. Specifically, when the system attempts to connect to multiple target devices, if all attempts are unsuccessful, the device will automatically fallback to the original device connection state, thereby ensuring that the user's operation will not be affected. For example, assuming that the current connection sequence of the device is device 1, device 2, and device 3. If the device fails to connect to device 1, device 2, and device 3, the system will perform the following recovery operation: device connection attempt: the system first attempts to connect to device 1, if the connection of device 1 times out (e.g. more than 3 seconds), it attempts to connect to device 2, and then to device 3. Failure recovery mechanism: if device 1, 2, and 3 cannot be connected, the system will automatically perform a recovery operation to connect back to the original device (e.g. device 1). At this time, the device will restore the Bluetooth connection of device 1 and perform subsequent operations.
[0150] Figure 4 A flow chart of a control method for implementing dynamic switching of a multi-communication target link according to another embodiment of the present application is shown in FIG. 4. As shown in FIG. 4, when the current communication link is a Bluetooth communication link, the method further comprises the following steps: Figure 4
[0151] In step 401, if the characteristic information of the motion signal is the first set condition, the current Bluetooth communication link is terminated according to the communication target switching instruction, and the pairing connection with the next Bluetooth communication target is awakened and attempted to be reestablished in sequence according to the Bluetooth communication target sequence stored in the connection state storage. The device analyzes the collected motion signal and matches it with the first set condition. For example, if a certain fast sliding or rotating motion of the user's hand is detected, such as exceeding the set acceleration threshold and changing twice within a certain time, it is considered that the user intends to switch the device. At this time, the device triggers the Bluetooth connection switching process. When it is determined that the user intends to switch the device, the communication target switching instruction will terminate the current Bluetooth communication link, and attempt to establish a connection 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 awaken and attempt to reestablish the pairing connection in sequence from device 1. If a device fails to connect successfully, the system will continue to attempt to connect to the next device.
[0152] The technical solution of the present application can intelligently perceive the user's intention through the judgment based on the motion signal, without the need for additional physical buttons or manual operation, simplifying the user's operation process and improving the naturalness and convenience of interaction. In addition, this motion-based input method avoids misoperation and ensures that the system only starts the device switching when the user has a clear switching intention. By attempting connection according to the internally recorded Bluetooth target index table, the system can ensure the sequentiality and orderliness of device switching, avoiding chaotic connection order and ensuring the accuracy of connection operation. At the same time, this sequential connection attempt method avoids priority confusion between devices, ensuring that the user is always connected to the device with higher priority.
[0153] Step 403: If multiple attempts have not established an effective Bluetooth communication link, return to the current Bluetooth communication link. If the device has tried multiple target devices in turn, but still fails to establish an effective 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, avoiding disconnection or invalid operation due to the failure of device switching. A fallback mechanism is provided when the connection fails, ensuring that the device can always maintain a stable connection state. Even if all new device connection attempts fail, the system will immediately recover to the current connection device, avoiding the state of device disconnection or no connection caused by switching failure. The method of the present application enhances the reliability and fault tolerance of the system, ensuring that the device can always maintain an effective working state.
[0154] Figure 5 A flowchart of a control method for implementing dynamic switching of multiple communication target links according to another embodiment of the present application is shown in FIG. 5, which includes the following steps: Figure 5 As shown in FIG. 5, the method further includes:
[0155] Step 501: If the characteristic information of the motion signal is the second set condition, remove the device identifier with the earliest communication record in the communication link set. Specifically, the device analyzes and parses the motion signal. If the motion signal meets the second set condition (for example, continuous acceleration or angular velocity mutation for multiple times, indicating that the user wants to switch devices), the adjustment of the device connection priority is triggered. The system removes the device identifier with the earliest 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 re-adjust the connection order of the devices. 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. This avoids sticking to the earliest connected device, ensuring that the user can flexibly connect to the device currently needed or recently used. This dynamic management mechanism improves the adaptability and interaction experience of the device.
[0156] Step 503, the device broadcast state is turned on in the second time window to admit new Bluetooth communication devices for pairing. Specifically, the device enters the broadcast mode and turns on the broadcast state in the set second time window. In this stage, the device will allow new devices around to pair and establish Bluetooth connection. 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 new Bluetooth devices, while avoiding unnecessary power waste caused by too long broadcast time. The broadcast mode in the short time window allows the device to efficiently admit new Bluetooth devices. Even in the case of multiple connected devices, the device can timely accept new device connection requests, improving the flexibility of the device in a multi-device environment. In addition, this short-time broadcast mode can effectively control the power consumption of the device, avoiding meaningless long-time broadcast and prolonging the battery life of the device.
[0157] 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 will re-arrange the device index according to the original connection order and priority, avoiding connection state confusion or device state loss caused by timeout, and ensuring system stability when new connection cannot be successfully established through this timeout recovery mechanism. Even if the connection timeout occurs during device switching, the system will return to the original state, avoiding incorrect device switching and connection problems, strengthening the reliability and fault tolerance of the system, and ensuring that the device can always be in a stable working state.
[0158] 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 application is shown in FIG. 6. The control device 600 for implementing dynamic switching of multiple communication target links includes: Figure 6
[0159] The input contact module 601 is used to start the input intent determination process in response to the input contact event information applied by the user to the setting area of the electronic device. Specifically, the input contact module 601 can use a capacitive touch sensor, a physical button, an optical sensor, or a pressure sensor to sense the input operation of the user.
[0160] The multi-dimensional physical state acquisition module 602 is connected to the input contact module 601 and is used to collect and analyze the 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 can include an IMU sensor such as a three-axis accelerometer, a six-axis accelerometer, a gyroscope, or a nine-axis sensor.
[0161] The processing module 603 is connected with the multi-dimensional physical state acquisition module 602, and is configured to judge the 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. Specifically, the processing module 603 can be a main control MCU responsible for processing sensor data and executing corresponding control logic to ensure smooth switching operation of the device.
[0162] The communication module 604 is connected with the processing module 603, and is configured 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. Specifically, the communication module can be a Bluetooth module supporting multiple device pairing storage and performing connection switching between devices according to the instruction of the main control MCU.
[0163] In one embodiment, the processing module 603 is further configured to perform the following operation if the characteristic information of the motion signal meets a second set condition: open a connection request to enable other communication devices to access; if a new communication device is successfully connected with the electronic device, delete the identification of the communication device with the earliest connection record in the communication link set; add the identification of the newly connected communication device to the communication link set and update it to the latest connection device; and if no new communication device is detected to successfully access within a preset period, restore the connection to the initial communication target or close the communication link.
[0164] The processing module 603 is further configured to delete the identification of the communication device with the earliest connection record in the communication link set if it is determined that the characteristic information of the motion signal meets the second set condition.
[0165] The communication module 604 is further configured to open a connection request to enable other communication devices to access in a short-period broadcast mode.
[0166] The processing module 603 is further configured to replace the deleted identification of the communication device with the earliest connection record if other communication devices are successfully connected with the electronic device; and restore the communication target structure of the original communication link set if no other communication device is detected to successfully access within a preset period.
[0167] It should be noted that the device part provided by the embodiment of the present application closely cooperates with each step of the above-mentioned method to effectively realize the dynamic switching of the multi-device Bluetooth connection. The specific functions of the device part including a plurality of key modules correspond to the operation steps in the method, which will not be described here again. The specific functions can be referred to the method part.
[0168] In one embodiment, the present application provides a computer readable storage medium, characterized in that the computer readable storage medium stores a computer program, and the computer program is executed by a processor to realize the control method for realizing the dynamic switching of the multiple communication target links according to any one of the above.
[0169] In one embodiment, the present application provides an electronic device comprising the control device for implementing dynamic switching of multiple communication target links as described above, for performing the control method for implementing dynamic switching of multiple communication target links as described above.
[0170] In one embodiment, the electronic device can be a smart interactive terminal such as a smart ring, a smart bracelet, a smart mouse, etc. Taking a smart ring as an example, since the volume of a smart ring is much smaller than a mobile phone and a mouse, if a very convenient interactive ring is to be provided, how to realize interaction in such a super-small space of a ring, Figure 7 A structure diagram of a user controlling a smart ring is shown in one embodiment of the present application, the smart ring comprising a control device for implementing dynamic switching of multiple communication target links, and the present application designs the following interactive scheme:
[0171] The internal configuration of the smart ring: a sensor capable of detecting touch or pressing (touch control, a key or a photosensitive sensor or a pressure sensor, etc.), a master control MCU, an IMU (a three-axis acceleration sensor, or an acceleration plus gyroscope six-axis sensor, or a nine-axis sensor), through touch control plus tapping, such a combination can ensure that the user intentionally triggers.
[0172] Bluetooth switching mode: touch one or more touch control areas on the outer surface of the ring with the hand, or press a key with the finger, at this time, tap twice on the desktop with the hand. The device will disconnect the currently connected device and search for the next paired Bluetooth device. The search connection mode is as follows: the sequence is Bluetooth device 1-3 search, if Bluetooth device 1 is connected first, after tapping twice, the connection with device 1 is disconnected, and then Bluetooth device 2 is actively paired, if it is not connected within a timeout (such as 3 seconds), search for devices and connect Bluetooth device 3, if all are timed out, connect Bluetooth device 1 again. In this way, when the user taps to connect the next device (the user does not know who is next to Bluetooth device 2 and Bluetooth device 3), it can ensure that the connection is accurate according to the sequence of Bluetooth device 1-3, and it can also ensure that the next device is connected in the case that the device cannot be found, rather than who is connected first, so that the connection sequence is chaotic.
[0173] Specifically, if the touch control area is pressed and tapped once, the input of the device is closed, which can be achieved by closing the gyroscope, photosensitive sensor, etc. chips, or detecting the gyroscope, photosensitive sensor event, but not reporting, realizing the closing of the input event. In this way, the user can be prevented from triggering the input by mistake. Pressing and tapping again can open the input. At this time, the cursor can be slightly shaken to prompt the user that the input has been opened.
[0174] Specifically, if it is a press touch area plus three times of continuous tapping, the Bluetooth can be reset, at this time, the earliest connected device (such as device 3) among the 1-3 devices can be reset, and be opened to the new device connection. If there is a new device connected, the earliest unused device is deleted, and if there is no new device connected (to avoid user's mis-triggering three times), the original connected device information is still retained.
[0175] In the interactive scheme design, the device switching and input control are realized by three main mechanisms. The user triggers the device switching by touch or press combined with double-click action, and the system searches and connects the devices according to the device priority order (device 1-3), and reconnects device 1 after the connection timeout. The input control mechanism: the user can control the input switch state of the device by touch or press combined with single-click action, the system realizes the input function switch by closing the sensor or shielding the event report, and the input is turned on by the cursor jitter to prompt the state change. The user triggers the device reset by three times of tapping, the system clears the information of the earliest paired device, allows the new device to access, and restores the original connection if no new device is connected within the timeout.
[0176] By combining the composite interaction mode of touch and IMU, the system can realize multi-device control without increasing physical buttons, and the interaction mode is natural and intuitive. In terms of reliability, the combination of touch and tapping effectively reduces the probability of mis-triggering, the orderly device search mechanism ensures the stability of the connection, and the timeout protection mechanism avoids the abnormality of the connection state. In terms of practicality, it not only meets the design needs of small devices such as rings, but also supports fast switching of multiple devices, and provides input control function, enhancing the convenience of device use.
[0177] 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 the 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 tapping detection algorithm intelligently judges the user's tapping action by setting the acceleration threshold and time interval, ensuring that the device switches according to the predetermined logic. The Bluetooth connection management algorithm disconnects the current connection and searches the paired devices in order, and reconnects the original device when the device connection fails to ensure the stability of the system.
[0178] In order to optimize the power consumption, the system designs the IMU low-power mode configuration, the sleep strategy of the touch module, and the state-based sampling rate adjustment. In addition, the Bluetooth connection is also optimized, using search timeout mechanism, connection parameter optimization and disconnection mechanism optimization, further reducing power consumption and prolonging device use time.
[0179] Figure 8A structural block diagram of an electronic device according to an embodiment of the present application is shown. The electronic device 800 can be a host server, a personal computer (PC), or a portable computer or terminal, etc. with computing capability. Embodiments of the present application do not limit the specific implementation of the computing node.
[0180] 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.
[0181] The communications interface 820 is configured to communicate with network elements, such as a virtual machine management center, a shared storage, etc.
[0182] The processor 810 is configured to execute programs. The processor 810 can be a central processing unit (CPU), or an application specific integrated circuit (ASIC), or one or more integrated circuits configured to implement embodiments of the present application.
[0183] The memory array 830 is configured to store programs and / or data. The memory array 830 can include a high-speed RAM memory, and can further include a non-volatile memory, such as at least one disk memory. The memory array 830 can also be a memory array. The memory array 830 can be further divided into blocks, and the blocks can be combined into virtual volumes according to certain rules.
[0184] In a possible implementation, the above program can be a program code including computer operation instructions. The program can be specifically configured to: start an input intention determination process in response to a user inputting contact event information on a setting area of the electronic device; collect and analyze motion signals detected by a multi-dimensional physical state collection 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 is a first setting condition; and dynamically switch a communication target according to a preset connection state sequence based on the communication target switching instruction acting on a current communication link.
[0185] In a possible implementation, the program can be specifically configured to, after determining the characteristic information of the motion signals, further include:
[0186] If the characteristic information of the motion signals meets a second setting condition, the following operations are performed:
[0187] Open connection request to access other communication devices;
[0188] If the new communication device is successfully connected with the electronic device, the identification of the communication device that is connected earliest in the communication link set is deleted; the identification of the newly connected communication device is added to the communication link set, and the latest connected device is updated;
[0189] If no new communication device is successfully accessed within a preset period, the connection to the initial communication target is resumed or the communication link is closed.
[0190] In a possible implementation, the program can be specifically used for, after the communication target switching instruction is applied to the current communication link, further comprising:
[0191] Judging the signal strength of the plurality of communication targets to be switched;
[0192] Switching the communication target according to the signal strength of the communication target to be switched.
[0193] In a possible implementation, the program can be specifically used for, 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;
[0194] Generating a motion signal by analyzing the acceleration or angular velocity change in the at least one degree of freedom.
[0195] In a possible implementation, the program can be specifically used for, if the characteristic information of the motion signal is a short-period mutation of twice acceleration or angular velocity threshold conditions, determining that it is a first set condition;
[0196] If the characteristic information of the motion signal is a short-period mutation of three times acceleration or angular velocity threshold conditions, it is determined to be a second set condition;
[0197] If the characteristic information of the motion signal is a short-period mutation of once acceleration or angular velocity threshold conditions, it is determined to be a third set condition.
[0198] In a possible implementation, the program can be specifically used for, when a communication target in the preset connection state sequence fails to connect, starting another communication target connection attempt, wherein the another communication target connection attempt has a set maximum waiting period, and if the maximum waiting period is exceeded, the another communication target connection attempt is actively interrupted and the connection attempt of the next communication target is promoted.
[0199] In a possible implementation, the program can be specifically used for, when all connection attempts of all communication targets to be connected in all preset connection state sequences fail, resuming connection to the initial communication target.
[0200] In a possible implementation, the program can be specifically used for further comprising:
[0201] If the characteristic information of the motion signal is the first set condition, terminating the current Bluetooth communication link according to the communication target switching instruction, and loading and trying to reestablish the pairing connection with the next Bluetooth communication target in sequence according to the Bluetooth communication target sequence stored in the connection state storage of the Bluetooth communication;
[0202] If the multiple attempts are all failed to establish an effective Bluetooth communication link, returning to the original state of the communication link set or keeping the electronic device disconnected.
[0203] In a possible implementation, the program can be specifically used for further comprising:
[0204] If the characteristic information of the motion signal is the second set condition, starting the device broadcast state in the second time window to accept the new Bluetooth communication device for pairing;
[0205] If the new Bluetooth communication connection is not established within the second time window, resuming the original state of the communication link set or keeping the electronic device disconnected.
[0206] In a possible implementation, the program can be specifically used for, if the characteristic information of the motion signal is the third set condition, keeping the electronic device connected and closing all output instructions of the electronic device.
[0207] In the above embodiments, all or part of the embodiments can be implemented by software, hardware, firmware or any combination thereof. When implemented by software, all or part of the embodiments can be implemented 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, all or part of the processes or functions described in the embodiments of the present application are generated. The computer can be a general-purpose computer, a special-purpose computer, a computer network or other programmable devices. The computer instructions can be stored in a computer readable storage medium or transmitted from one computer readable storage medium to another, for example, the computer instructions can be transmitted from one website, computer, server or data center to another website, computer, server or data center through wired (such as coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (such as infrared, wireless, microwave, etc.) mode. The computer readable storage medium can be any available medium that can be accessed by a computer or a data storage device such as a server, data center, etc. integrated with one or more available media. The available media can be magnetic media (for example, floppy disk, hard disk, magnetic tape), optical media (for example, DVD), or semiconductor media (for example, solid state disk (SSD)) and the like.
[0208] The various illustrative logical blocks, modules, circuits, and algorithm operations described in connection with the embodiments disclosed herein can be implemented as electronic hardware, computer software, or combinations of both. The various illustrative components, blocks, modules, circuits, and operations described above can be implemented or performed with a general purpose processor, a digital signal processor (DSP), an application specific integrated circuit (ASIC), a field
[0209] The steps of a method or algorithm described in connection with the embodiments disclosed herein can be embodied directly in hardware, in a software module executed by a processor, or in a combination of the two. A software module can reside in RAM memory, flash memory, ROM memory, EPROM memory, EEPROM memory, registers, hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art. An exemplary storage medium can be coupled to the processor, such that the processor can read information from, and write information to, the storage medium. In the alternative, the storage medium can be integral to the processor. The processor and the storage medium can reside in an ASIC.
[0210] The computer program instructions can also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart block or blocks. Figure 1 The computer program instructions can also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart block or blocks. Figure 1 The computer program instructions can also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart block or blocks.
[0211] Each of the embodiments described in this specification has at least one advancement, no matter how insignificant, over prior art. The described embodiments expressly exclude any equivalent arrangements that do not require the same elements to achieve substantially the same results. Each embodiment is described in terms of its essential elements, and the various embodiments can be combined to provide further embodiments. The various embodiments can be combined in any order, unless the order is important.
[0212] The methods and systems of the present application can be implemented in a number of ways. For example, the methods and systems of the present application can be implemented via software, hardware, firmware, or any combination of software, hardware, and firmware. The above described order of steps for the methods is merely illustrative and the steps of the methods of the present application are not limited to the order specifically described above unless otherwise specifically stated. Furthermore, in some embodiments, the present application can also be implemented as a program recorded on a recording medium, which includes machine readable instructions for implementing the methods according to the present application. Thus, the present application also covers recording media storing programs for executing the methods according to the present application.
[0213] The description of the present application is given for the sake of exemplification and description and is not intended to limit the application to the form specifically disclosed. Many modifications and variations are possible in light of the above teachings. The implementation and description of the embodiments are intended solely for purposes of exemplification and description and are not intended to limit the scope of the application. Those skilled in the art will recognize that many modifications and variations are possible in light of the above teachings.
Claims
1. A control method for dynamically switching multiple communication target links, characterized in that, include: The input intent determination process is initiated in response to input touch event information applied by the user to a designated area of the electronic device, wherein the input touch event includes events of touching or pressing the designated area of the electronic device; During the duration of the input contact event information, motion signals detected by the multi-dimensional physical state acquisition module are collected and analyzed. Specifically, within a first preset time window, the acceleration or angular velocity changes of the multi-dimensional physical state acquisition module in at least one degree of freedom are collected; and the acceleration or angular velocity changes in the at least one degree of freedom are analyzed to generate motion signals. Determine the characteristic information of the motion signal; If the characteristic information of the motion signal is the first set condition, a communication target switching command is generated. If the characteristic information of the motion signal is a short-period change of two acceleration or angular velocity threshold conditions, it is determined to be the first set condition. The communication target is dynamically switched according to a preset connection state sequence by applying the communication target switching instruction to the current communication link.
2. The method according to claim 1, characterized in that, After determining the feature information of the motion signal, the method further includes: If the feature information of the motion signal matches the second preset condition, perform the following operations: Open a connection request to allow other communication devices to access the network; If a new communication device successfully connects to an electronic device, delete the earliest communication device identifier that established a connection from the communication link set; add the identifier of the newly connected communication device to the communication link set and update it to the latest connected device; If no new communication device is successfully connected within the preset period, the connection to the initial communication target will be restored or the communication link will be 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 process further includes: Determine the signal strength of multiple communication targets to be switched; The communication target is switched based on the signal strength of the target to be switched.
4. The method according to claim 1, characterized in that, After determining the feature information of the motion signal, the method further includes: If the characteristic information of the motion signal is a short-period abrupt change in three accelerations or angular velocity threshold conditions, it is judged as the second set case; and / or If the characteristic information of the motion signal is a short-period abrupt change in acceleration or angular velocity threshold conditions, it is judged as the third set case.
5. The method according to claim 1, characterized in that, The dynamic switching of communication targets according to a preset connection state sequence includes: When a communication target connection fails within the preset connection state sequence, another communication target connection attempt is initiated. The other communication target connection attempt has a set maximum waiting period. If the maximum waiting period is exceeded, the other communication target connection attempt is actively interrupted and the connection attempt for the next communication target is initiated.
6. The method according to claim 5, characterized in that, The dynamic switching of communication targets according to a preset connection state sequence also includes: If all attempts to connect to the target communication device fail in all preset connection state sequences, the connection is restored to the initial target communication device.
7. The method according to claim 1, characterized in that, If the communication link is Bluetooth, it also includes: If the characteristic information of the motion signal is the first set condition, the current Bluetooth communication link is terminated according to the communication target switching instruction, and the Bluetooth communication target sequence stored in the Bluetooth communication connection state memory is loaded in sequence and an attempt is made to rebuild the pairing connection with the next Bluetooth communication target. If multiple attempts fail to establish a valid Bluetooth communication link, the system will revert to the current Bluetooth communication link.
8. The method according to claim 4, characterized in that, If the communication link is Bluetooth, it also includes: If the characteristic information of the motion signal is the second set condition, the device broadcast state is turned on within the second time window to accept new Bluetooth communication devices for pairing. If a new Bluetooth communication connection is not established within the second time window period, the original state of the communication link set is restored or the electronic device remains disconnected. and / or The method further includes: if the characteristic information of the motion signal is a third preset condition, maintaining the connection state of the electronic device and turning off all output commands of the electronic device.
9. A control device for dynamically switching multiple communication target links, characterized in that, include: An input contact module is used to initiate an input intent determination process in response to input contact event information applied by a user to a designated area of an electronic device, wherein the input contact event includes events of touching or pressing the designated area of the electronic device; A multi-dimensional physical state acquisition module, connected to the input contact module, is used to acquire and analyze motion signals detected by the multi-dimensional physical state acquisition module during the duration of the input contact event information. Specifically, within a first preset time window, the module acquires the acceleration or angular velocity changes of the multi-dimensional physical state acquisition module in at least one degree of freedom; and analyzes the acceleration or angular velocity changes in the at least one degree of freedom to generate motion signals. The processing module is connected to the multi-dimensional physical state acquisition module and is used to determine the feature information of the motion signal. If the feature information of the motion signal is a first set condition, a communication target switching command is generated. If the feature information of the motion signal is a short-period change of two acceleration or angular velocity threshold conditions, it is determined to be the first set condition. A communication module, connected to the processing module, is used to dynamically switch communication targets according to a preset connection state sequence by acting on the current communication link according to the communication target switching instruction.
10. The apparatus according to claim 9, characterized in that, Also includes: The processing module is also configured to perform the following operations if the feature information of the motion signal matches a second preset condition: Open a connection request to allow other communication devices to access the network; If a new communication device successfully connects to an electronic device, delete the earliest communication device identifier that established a connection from the communication link set; add the identifier of the newly connected communication device to the communication link set and update it to the latest connected device; If no new communication device is successfully connected within the preset period, the connection to the initial communication target will be restored or the communication link will be closed.
11. An electronic device, characterized in that, include: The control device for dynamically switching multiple communication target links as described in any one of claims 9 to 10 is used to execute the control method for dynamically switching multiple communication target links as described in any one of claims 1 to 8.
12. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program, which, when executed by a processor, implements the control method for dynamically switching multiple communication target links as described in any one of claims 1 to 8.
Citation Information
Patent Citations
Input device and input method
US20120004740A1