Management method and device of bluetooth device, storage medium and terminal device

CN116137094BActive Publication Date: 2026-09-15ZTE CORP
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202111372304.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-11-18
Publication Date
2026-09-15
Estimated Expiration
2041-11-18

AI Technical Summary

Benefits of technology

[0014]This invention includes: receiving control request information sent by a first Bluetooth device connected to a terminal device within a device group, wherein the terminal device is simultaneously connected to multiple Bluetooth devices within at least one device group; processing the control request information according to the permission information of the first Bluetooth device within the device group, the permission information being used to characterize the first Bluetooth device's control permissions over the terminal device and/or a second Bluetooth device connected to the terminal device within the same device group. Since permission information is pre-set for the first Bluetooth device, after the terminal device receives the control request information, it first determines whether the first Bluetooth device has control permissions over the terminal device and the second Bluetooth device. Therefore, only after determining that the first Bluetooth device has control permissions over the terminal device and the second Bluetooth device will the control request information be executed to complete the control over the terminal device and the second Bluetooth device. This avoids the terminal device executing control request information sent by all Bluetooth devices, effectively solving problems such as control conflicts, confusion, or increased difficulty in managing multiple devices when multiple Bluetooth devices work together.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116137094B_ABST
    Figure CN116137094B_ABST
Patent Text Reader

Abstract

The application provides a Bluetooth device management method, device, storage medium and terminal device. The Bluetooth device management method comprises: receiving control request information sent by a first Bluetooth device connected with the terminal device in a device group; and processing the control request information according to permission information of the first Bluetooth device in the device group, wherein the permission information is used to represent the control permission of the first Bluetooth device to the terminal device and / or a second Bluetooth device. Since the permission information of the first Bluetooth device is set in advance, the control request information is executed only after it is determined whether the first Bluetooth device has the control permission to the terminal device and the second Bluetooth device, so that the terminal device can avoid executing all control request information sent by the Bluetooth devices, and effectively solve the problems of control conflict, confusion or increased difficulty in managing multiple devices between devices when multiple Bluetooth devices work cooperatively.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present invention relate to, but are not limited to, the field of communication technology, and particularly to a method, apparatus, storage medium, and terminal device for managing Bluetooth devices. Background Technology

[0002] Bluetooth 4.0 introduced low-power modules, opening the door to the Internet of Things (IoT). Bluetooth 5.2 introduced the new Bluetooth Low Energy Audio (BLE) technology based on Bluetooth Low Energy, which added a new multi-stream audio function, enabling simultaneous transmission of multiple and independent audio streams between a single audio source device and one or more audio receiving devices.

[0003] However, when multiple devices work together, control conflicts, confusion, or increased difficulty in managing multiple devices can easily arise. For example, in a Connected Isochronous Group (CIG), a user on one device might want to switch to the next audio data, while a user on another device might want to maintain the status quo, leading to control confusion. Or, in a surround sound environment, the user in control might want all devices to maintain synchronized volume while not allowing arbitrary volume adjustments, causing control conflicts. Furthermore, in a home theater environment, users might not want to grant all devices answering, hanging up, or microphone permissions, increasing the difficulty of managing multiple devices. Summary of the Invention

[0004] The following is an overview of the subject matter described in detail herein. This overview is not intended to limit the scope of the claims.

[0005] This invention provides a method, apparatus, storage medium, and terminal device for managing Bluetooth devices, which enables multiple Bluetooth devices to work collaboratively without causing control conflicts or confusion between devices or increasing the difficulty of managing multiple devices.

[0006] In a first aspect, embodiments of the present invention provide a method for managing Bluetooth devices, applied to a terminal device, wherein the terminal device is simultaneously connected to multiple Bluetooth devices within at least one device group, and the method for managing Bluetooth devices includes:

[0007] Receive control request information sent by the first Bluetooth device connected to the terminal device within the device group;

[0008] The control request information is processed according to the permission information of the first Bluetooth device in the device group. The permission information is used to characterize the control permission of the first Bluetooth device to the terminal device and / or the control permission of the second Bluetooth device connected to the terminal device in the same device group.

[0009] Secondly, embodiments of the present invention also provide a Bluetooth device management device, which is applied to a terminal device, the terminal device being simultaneously connected to multiple Bluetooth devices within at least one device group, the Bluetooth device management device comprising:

[0010] The data receiving module is used to receive control request information sent by the first Bluetooth device connected to the terminal device within the device group;

[0011] The request processing module is used to process the control request information according to the permission information of the first Bluetooth device in the device group, wherein the permission information is used to characterize the control permission of the first Bluetooth device to the terminal device and / or the control permission of the second Bluetooth device connected to the terminal device in the same device group.

[0012] Thirdly, embodiments of the present invention also provide a computer-readable storage medium storing computer-executable instructions for performing the Bluetooth device management method described above.

[0013] Fourthly, embodiments of the present invention also provide a network processing device, including: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement the Bluetooth device management method described above.

[0014] This invention includes: receiving control request information sent by a first Bluetooth device connected to a terminal device within a device group, wherein the terminal device is simultaneously connected to multiple Bluetooth devices within at least one device group; processing the control request information according to the permission information of the first Bluetooth device within the device group, the permission information being used to characterize the first Bluetooth device's control permissions over the terminal device and / or a second Bluetooth device connected to the terminal device within the same device group. Since permission information is pre-set for the first Bluetooth device, after the terminal device receives the control request information, it first determines whether the first Bluetooth device has control permissions over the terminal device and the second Bluetooth device. Therefore, only after determining that the first Bluetooth device has control permissions over the terminal device and the second Bluetooth device will the control request information be executed to complete the control over the terminal device and the second Bluetooth device. This avoids the terminal device executing control request information sent by all Bluetooth devices, effectively solving problems such as control conflicts, confusion, or increased difficulty in managing multiple devices when multiple Bluetooth devices work together.

[0015] Other features and advantages of the invention will be set forth in the following description, and will be apparent in part from the description, or may be learned by practicing the invention. The objects and other advantages of the invention may be realized and obtained by means of the structures particularly pointed out in the description, claims, and drawings. Attached Figure Description

[0016] The accompanying drawings are provided to further understand the technical solutions of the present invention and constitute a part of the specification. They are used together with the embodiments of the present invention to explain the technical solutions of the present invention, and do not constitute a limitation on the technical solutions of the present invention.

[0017] Figure 1 This is a functional block diagram of an architecture platform for implementing a Bluetooth device management method, provided in one embodiment of the present invention.

[0018] Figure 2 This is a flowchart of a Bluetooth device management method provided in one embodiment of the present invention;

[0019] Figure 3 This is a flowchart of generating permission information provided in one embodiment of the present invention;

[0020] Figure 4 This is a functional module block diagram of a Bluetooth device management system provided in one embodiment of the present invention. Detailed Implementation

[0021] To make the objectives, technical solutions, and advantages of this invention clearer, the invention will be further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative and not intended to limit the invention.

[0022] It should be noted that although a logical order is shown in the flowchart, in some cases, the steps shown or described may be performed in a different order than that shown in the flowchart. The terms "first," "second," etc., in the specification, claims, and the aforementioned drawings are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence.

[0023] This invention provides a method, apparatus, storage medium, and terminal device for managing Bluetooth devices. Before the terminal device executes the control request information sent by the first Bluetooth device, permission information is pre-set for the first Bluetooth device in the terminal device. Therefore, after receiving the control request information, the terminal device first determines whether the first Bluetooth device has control permissions over the terminal device and the second Bluetooth device. Only after determining that the first Bluetooth device has control permissions over the terminal device and the second Bluetooth device will the control request information be executed to complete the control over the terminal device and the second Bluetooth device. This avoids the terminal device executing control request information sent by all Bluetooth devices, effectively solving problems such as control conflicts and confusion between devices or increased difficulty in managing multiple devices when multiple Bluetooth devices work together.

[0024] To facilitate the explanation of the management method, apparatus, storage medium, and terminal device of this application, one embodiment of this application provides an architectural platform for a management method for Bluetooth devices. This architectural platform can be applied to terminal devices. Figure 1 As shown, the architecture platform includes a Bluetooth module 110, a settings module 120, and a storage module 130. The Bluetooth module 110 establishes Bluetooth Low Energy (BLE / LE) and Generic Attribute Profile (GATT) connections with multiple Bluetooth devices in each device group to control the multiple Bluetooth devices and receive control request information sent by them. The storage module 130 stores permission information, which represents the control permissions of the first Bluetooth device in the device group over the terminal device and the second Bluetooth device. The settings module 120 receives control request information sent by the first Bluetooth device and processes it according to the permission information. The settings module 120 can also modify the permission information stored in the storage module 130.

[0025] The architecture platform described in this application is for the purpose of more clearly illustrating the technical solutions of this application, and does not constitute a limitation on the technical solutions provided in this application. Those skilled in the art will know that with the evolution of Bluetooth technology and the emergence of new application scenarios, the technical solutions provided in this application are also applicable to similar technical problems.

[0026] In the aforementioned architecture platform, the various modules can cooperate with each other to execute Bluetooth device management methods.

[0027] Based on the aforementioned architecture platform and the structural relationships between its various modules and devices, various embodiments of the Bluetooth device management method of this application are proposed. The embodiments of the present invention will be further described below with reference to the accompanying drawings.

[0028] like Figure 2 As shown, Figure 2 This is a flowchart of a Bluetooth device management method provided in one embodiment of the present invention.

[0029] like Figure 2 As shown, the Bluetooth device management method includes steps S110 and S120. This Bluetooth device management method is applied to a terminal device, which simultaneously connects to multiple Bluetooth devices within at least one device group.

[0030] Step S110: Receive control request information sent by the first Bluetooth device connected to the terminal device within the device group;

[0031] Step S120: Process the control request information according to the permission information of the first Bluetooth device in the device group. The permission information is used to represent the control permission of the first Bluetooth device to the terminal device and / or the control permission of the second Bluetooth device connected to the terminal device in the same device group.

[0032] In this embodiment, permission information is pre-built for the first Bluetooth device and stored in the storage module 130. This permission information includes the first Bluetooth device's control permissions over the terminal device and the second Bluetooth device. After the terminal device receives a control request from the first Bluetooth device, it accesses the permission information corresponding to the first Bluetooth device in the storage module 130. Only after determining that the first Bluetooth device has control permissions over the terminal device and the second Bluetooth device will the control request be executed, thus completing control over the terminal device and the second Bluetooth device. This avoids the terminal device executing control requests from all Bluetooth devices, effectively solving problems such as control conflicts, confusion, or increased difficulty in managing multiple devices when multiple Bluetooth devices work together. It should be noted that if the first Bluetooth device does not have control permissions over the terminal device and the second Bluetooth device, the terminal device will directly ignore the control request sent by the first Bluetooth device. It should also be noted that the control permissions in the permission information can be set according to actual usage needs. Control permissions can be set only for the corresponding terminal device, only for the corresponding second Bluetooth device, or both.

[0033] Specifically, there is at least one device group. Within each device group, multiple Bluetooth devices establish Bluetooth Low Energy (BLE / LE) and Generic Attribute Profile (GATT) connections with Bluetooth module 110. Bluetooth module 110 notifies setting module 120 of the current connection status with the Bluetooth devices. Setting module 120 automatically groups the devices based on either a Broadcast Isochronous Group (BIG) or a Connected Isochronous Group (CIG). After automatic grouping, Bluetooth devices in each device group can be added or removed via setting module 120. Furthermore, permission information can be set for the first Bluetooth device via setting module 120 and stored in storage module 130. After Bluetooth module 110 receives a control request from the first Bluetooth device, setting module 120 first determines whether the first Bluetooth device has permission information. If the first Bluetooth device has permission information, it controls the second Bluetooth device according to the control permissions of the first Bluetooth device for the terminal device and the second Bluetooth device, as well as the control permissions corresponding to the control request information. It should be noted that when there are multiple first Bluetooth devices, when the terminal device executes the control request information sent by any of the first Bluetooth devices, it will complete the control of all Bluetooth devices in the device group except for the first Bluetooth device. In other words, when executing the control request information sent by any of the first Bluetooth devices, the other Bluetooth devices can be understood as second Bluetooth devices.

[0034] In one embodiment of the present invention, the control request information is processed according to the permission information of the first Bluetooth device within the device group, including:

[0035] If the permission information indicates that the first Bluetooth device has control permissions over the terminal device and / or the second Bluetooth device, the working state of the terminal device and / or the second Bluetooth device shall be adjusted according to the control request information.

[0036] When the first Bluetooth device has control permissions over the terminal device and the second Bluetooth device, the terminal device will process the control request information after receiving it, and then control the terminal device or generate corresponding control commands based on the control request information and send them to the corresponding second Bluetooth device to complete the control request.

[0037] like Figure 3 As shown, Figure 3 This is a flowchart of generating permission information provided in one embodiment of the present invention.

[0038] like Figure 3 As shown, the permission information is obtained through the following steps:

[0039] Obtain user-inputted permission settings information, including device information of the first Bluetooth device and the control permissions of the first Bluetooth device over the terminal device and / or the second Bluetooth device;

[0040] Determine the permission information of the first Bluetooth device based on the permission settings.

[0041] The permission settings for the first Bluetooth device can be configured based on the permission settings information. This user-input permission settings facilitate easy modification when necessary. It should be noted that the permission settings are entered by the user into the settings module 120, allowing for customization based on different usage scenarios.

[0042] In some embodiments of the present invention, the Bluetooth device management method further includes steps S130 and S140:

[0043] Step S130: Obtain permission request information sent by the first Bluetooth device. The permission request information is a permission request from the first Bluetooth device to control the terminal device and / or the second Bluetooth device.

[0044] Step S140: Determine the permission information of the first Bluetooth device based on the permission request information.

[0045] The first Bluetooth device can proactively request permission information by sending permission request messages to the terminal device. After the user views the received permission request information on the terminal device, they can approve or deny the permission request as needed. Approved permission requests will be stored in the storage module 130 as permission information. It should be noted that obtaining permission information by proactively sending permission request messages allows the user on the Bluetooth device side to actively request it as needed, thereby improving the user experience.

[0046] In some embodiments of the present invention, determining the permission information of the first Bluetooth device based on permission setting information includes:

[0047] Obtain the operation permission information corresponding to each first Bluetooth device, including all control permissions supported by the first Bluetooth device;

[0048] Based on the operation permission information and permission settings, the permission information of the first Bluetooth device in its device group is obtained.

[0049] Each control permission requires corresponding hardware support. Different Bluetooth devices have different operational capabilities due to differences in hardware. The terminal device can communicate with the first Bluetooth device to determine all the control permissions supported by the first Bluetooth device. This ensures that when generating permission information using permission settings later, the first Bluetooth device's permission information will not contain unenforceable control permissions, avoiding confusion. It should be noted that these control permissions can be implemented using a Generic Attribute Profile (GATT). A GATT consists of services and characteristics. Different control permissions belong to different services; for example, volume control belongs to one service, microphone control to another, and their values ​​are stored in their corresponding characteristics.

[0050] In some embodiments of the present invention, the determination of operation permission information is based on:

[0051] If the first Bluetooth device does not have an interactive interface, the operation permission information includes operation permissions for the terminal device and control permissions for simultaneous operation of multiple second Bluetooth devices.

[0052] or,

[0053] If the first Bluetooth device has an interactive interface, the operation permission information includes operation permissions for the terminal device, control permissions for operating multiple second Bluetooth devices simultaneously, and control permissions for operating a single second Bluetooth device.

[0054] Bluetooth devices can be broadly categorized into two types based on their operation: those with an interactive interface and those without. For Bluetooth devices without an interactive interface, since the specific operational details are not visible, it's inconvenient to configure control permissions for individual Bluetooth devices. It's more practical to configure control permissions for multiple Bluetooth devices within a group to operate simultaneously. For Bluetooth devices with an interactive interface, since they can communicate with the terminal device to obtain and display the parameter information of each individual Bluetooth device, they have the foundation to adjust the operating status of individual Bluetooth devices. Therefore, when configuring a Bluetooth device, it's possible to configure it to have control permissions for individual Bluetooth devices.

[0055] In one embodiment of the present invention, the control request information is processed according to the permission information of the first Bluetooth device within the device group, including:

[0056] If the permission information indicates that the first Bluetooth device does not have control permissions over the terminal device and / or the second Bluetooth device, the control request information sent by the first Bluetooth device is ignored.

[0057] When the first Bluetooth device does not have control permissions over the terminal device or the second Bluetooth device, the terminal device will not execute the control request information sent by the first Bluetooth device but will ignore it directly. This directly avoids conflicts between Bluetooth devices with and without authorization. It should be noted that in actual use, if the control request information is ignored, the processing result will be returned to the first Bluetooth device that sent the control request information.

[0058] In one embodiment of the present invention, if the permission information indicates that the first Bluetooth device does not have control permissions over the terminal device and / or the second Bluetooth device, processing the control request information according to the permission information of the first Bluetooth device within the device group further includes:

[0059] Displays the control request information and the name of the first Bluetooth device that sent the control request.

[0060] After ignoring the control request information, the ignored control request information and the name of the first Bluetooth device that sent the control request information will be displayed on the terminal device, allowing the user controlling the terminal device to decide whether to actively modify the control permissions according to actual needs.

[0061] To more clearly illustrate the processing flow of the Bluetooth device management method provided in the embodiments of the present invention, specific examples are given below.

[0062] The management method for this Bluetooth device includes the following steps:

[0063] Multiple Bluetooth devices establish Bluetooth Low Energy Protocol (BLE) connections and General Attribute Protocol (GA) connections with Bluetooth module 110;

[0064] Bluetooth module 110 notifies setting module 120 of the current connection status with the Bluetooth device;

[0065] The configuration module 120 will automatically group based on broadcast synchronization groups or connection-based synchronization groups;

[0066] After the grouping is completed automatically, the Bluetooth devices in each device group can be added or removed through the setting module 120 to form at least one device group required by the user; there can be multiple device groups, and the same Bluetooth devices can exist in multiple device groups;

[0067] The setting module 120 determines the first Bluetooth device based on the permission setting information input by the user, and then determines whether the first Bluetooth device has an interactive interface, thereby determining the operation permission information of the first Bluetooth device, that is, obtaining the permission list available for the first Bluetooth device. The permission list of the first Bluetooth device without an interactive interface includes control permissions such as switching, answering, hanging up, volume adjustment, and input (microphone). The permission list of the Bluetooth device with an interactive interface, in addition to control permissions such as switching, answering, hanging up, volume adjustment, and input (microphone), also includes control permissions such as adding bitrate control, separate microphone function control, and separate volume control. In one embodiment of the present invention, the permission list is shown in Table 1.

[0068] Table 1 Permission List

[0069]

[0070] After the first Bluetooth device is identified, the setting module 120 completes the setting of the control permissions of the first Bluetooth device to the terminal device and / or the second Bluetooth device according to the permission setting information, thereby forming the final permission information; the permission information will be stored in the storage module 130 for subsequent access and modification.

[0071] After receiving the control request information sent by the first Bluetooth device, the terminal device will execute the control request information according to the permission information corresponding to the first Bluetooth device. Conversely, if the Bluetooth device that sent the control request information does not have the permission information, it will ignore the control request information and return the processing result, which will be displayed on the terminal device. This allows the terminal device to determine whether to actively grant permissions to the Bluetooth device that sent the control request information based on actual needs.

[0072] After the Bluetooth device receives the processing result returned by the terminal device, if the Bluetooth device has an interactive interface, it can directly use the interactive interface to initiate a permission request.

[0073] In addition, all Bluetooth devices in the device group can actively request control permissions by sending permission request information to the terminal device. After the terminal device approves the permission request, it will generate the corresponding permission information and store it in the storage module 130. It should be noted that the permission request information is usually submitted by Bluetooth devices with interactive interfaces. Users can enter the required permission requests on the interactive interfaces of these Bluetooth devices.

[0074] In addition, such as Figure 4 As shown, Figure 4 A functional block diagram of a Bluetooth device management device provided in one embodiment of the present invention.

[0075] like Figure 4 As shown, the management device of this Bluetooth device can achieve the following: Figure 2 The Bluetooth device management method in the illustrated embodiment is applied to a terminal device. The terminal device is simultaneously connected to multiple Bluetooth devices within at least one device group. The network processor includes: a data receiving module 210 and a request processing module 220.

[0076] Data receiving module 210 is used to receive control request information sent by the first Bluetooth device connected to the terminal device within the device group;

[0077] The request processing module 220 is used to process the control request information according to the permission information of the first Bluetooth device in the device group. The permission information is used to represent the control permission of the first Bluetooth device to the terminal device and / or the control permission of the second Bluetooth device connected to the terminal device in the same device group.

[0078] In this embodiment, permission information is constructed for the first Bluetooth device. This permission information includes the first Bluetooth device's control permissions over the terminal device and / or the second Bluetooth device, and is stored in the storage module 130. After the data receiving module 210 receives the control request information sent by the first Bluetooth device, it confirms the first Bluetooth device's permission information through the request processing module 220. Only after confirming that the first Bluetooth device has control permissions over the terminal device and the second Bluetooth device will the control request information be executed, thus completing the control over the terminal device and the second Bluetooth device. This avoids the terminal device executing control request information sent by all Bluetooth devices, effectively solving problems such as control conflicts, confusion, or increased difficulty in managing multiple devices when multiple Bluetooth devices work together. It should be noted that if the first Bluetooth device does not have control permissions over the terminal device or the second Bluetooth device, the terminal device will directly ignore the control request information sent by the first Bluetooth device. It should also be noted that the control permissions in the permission information can be set according to actual usage needs. Control permissions can be set only for the corresponding terminal device, only for the corresponding second Bluetooth device, or both.

[0079] Specifically, there is at least one device group. Within each device group, multiple Bluetooth devices establish Bluetooth Low Energy (BLE / LE) and Generic Attribute Profile (GATT) connections with Bluetooth module 110. Bluetooth module 110 notifies setting module 120 of the current connection status with the Bluetooth devices. Setting module 120 automatically groups the devices based on either a Broadcast Isochronous Group (BIG) or a Connected Isochronous Group (CIG). After automatic grouping, Bluetooth devices in each device group can be added or removed via setting module 120. Furthermore, permission information can be set for the first Bluetooth device via setting module 120 and stored in storage module 130. After the data receiving module 210 receives the control request information sent by the first Bluetooth device, the request processing module 220 first determines whether the first Bluetooth device has permission information. If the first Bluetooth device has permission information, it will control the terminal device and the second Bluetooth device according to the control permissions of the first Bluetooth device over the terminal device and the second Bluetooth device in the permission information, as well as the control permissions corresponding to the control request information. It should be noted that when there are multiple first Bluetooth devices, when the terminal device executes the control request information sent by any first Bluetooth device, it will control all Bluetooth devices in the device group except for that first Bluetooth device. In other words, when executing the control request information sent by any first Bluetooth device, the other Bluetooth devices can be understood as second Bluetooth devices.

[0080] like Figure 4 As shown, the management device for the Bluetooth device also includes: a permission setting information acquisition module 230 and a permission information generation module 240.

[0081] The permission setting information acquisition module 230 is used to acquire the permission setting information input by the user. The permission request information is a permission request from the first Bluetooth device to control the terminal device and / or the second Bluetooth device.

[0082] The permission information generation module 240 is used to determine the permission information of the first Bluetooth device based on the permission setting information.

[0083] The permission setting information acquisition module 230 can acquire the permission setting information input by the user, which allows the permission information generation module 240 to set the permission information for the first Bluetooth device based on the permission setting information. Generating permission information by acquiring the user-input permission setting information facilitates modification when necessary. It should be noted that since the permission setting information is input by the user into the setting module 120, the user can set and modify the permission information according to different usage needs in different scenarios.

[0084] In one embodiment of the present invention, the permission information generation module 240 includes: an operation permission information acquisition module and a permission item generation module.

[0085] The operation permission information acquisition module is used to acquire operation permission information corresponding to each first Bluetooth device. The operation permission information includes all control permissions supported by the first Bluetooth device.

[0086] The permission generation module is used to obtain the permission information of the first Bluetooth device in its device group based on the operation permission information and permission setting information.

[0087] Each control permission requires corresponding hardware support. Different Bluetooth devices have different operational capabilities due to differences in hardware. The operation permission information acquisition module obtains the operation permission information of the first Bluetooth device to determine all control permissions that the first Bluetooth device can support. This allows the permission generation module to avoid adding inoperable control permissions to the permission information, which could cause subsequent operational confusion. These control permissions can be implemented through a Generic Attribute Profile (GATT). The GATT consists of services and characteristics. Different control permissions belong to different services; for example, volume control belongs to one service, microphone control belongs to another, and their values ​​are stored in their corresponding characteristics.

[0088] It should be noted that the operation permission information is determined as follows: if the first Bluetooth device does not have an interactive interface, the operation permission information includes control permissions for operating multiple second Bluetooth devices simultaneously; if the first Bluetooth device has an interactive interface, the operation permission information includes control permissions for operating multiple second Bluetooth devices simultaneously, as well as control permissions for operating a single second Bluetooth device.

[0089] Bluetooth devices can be broadly categorized into two types based on their operation: those with an interactive interface and those without. For Bluetooth devices without an interactive interface, since the specific operational details are not visible, it's inconvenient to configure control permissions for individual Bluetooth devices. It's more practical to configure control permissions for multiple Bluetooth devices within a group to operate simultaneously. For Bluetooth devices with an interactive interface, since they can communicate with the terminal device to obtain and display the parameter information of each individual Bluetooth device, they have the foundation to adjust the operating status of individual Bluetooth devices. Therefore, when configuring a Bluetooth device, it's possible to configure it to have control permissions for individual Bluetooth devices.

[0090] like Figure 4 As shown, the Bluetooth device management device also includes a visualization module 250, which is used to display control request information and the name of the first Bluetooth device that sent the control request information.

[0091] When the permission information indicates that the first Bluetooth device does not have control permissions over the terminal device and the second Bluetooth device, the request processing module 220 will ignore the control request information sent by the first Bluetooth device, thereby directly avoiding conflicts between Bluetooth devices with and without permission information. After ignoring the control request information, the request processing module 220 will display the ignored control request information and the name of the first Bluetooth device that sent the control request information through the visualization module 250, allowing the user controlling the terminal device to decide whether to actively modify the control permissions according to actual needs.

[0092] In addition, one embodiment of the present invention provides a network processor, which includes: a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, it implements the message processing method described above.

[0093] The non-transient software program and instructions required to implement the message processing method of the above embodiments are stored in memory. When executed by a processor, the message processing method in the above embodiments is executed, for example, the method described above. Figure 2 The methods in Figure 3 The method in the middle.

[0094] Furthermore, one embodiment of the present invention also provides a computer-readable storage medium storing computer-executable instructions for performing the message processing method described above. For example, the instructions can be executed by a processor in one of the network processor embodiments described above, causing the processor to perform the information processing method described above, for example, performing the above-described... Figure 2The methods in Figure 3 The method in the middle.

[0095] Those skilled in the art will understand that all or some of the steps and systems in the methods disclosed above can be implemented as software, firmware, hardware, and suitable combinations thereof. Some or all of the physical components can be implemented as software executed by a processor, such as a central processing unit, digital signal processor, or microprocessor, or as hardware, or as an integrated circuit, such as an application-specific integrated circuit. Such software can be distributed on a computer-readable medium, which can include computer storage media (or non-transitory media) and communication media (or transient media). As is known to those skilled in the art, the term computer storage media includes volatile and non-volatile, removable and non-removable media implemented in any method or technology for storing information (such as computer-readable instructions, data structures, program modules, or other data). Computer storage media includes, but is not limited to, RAM, ROM, EEPROM, flash memory or other storage unit technologies, CD-ROM, digital versatile disc (DVD) or other optical disc storage, magnetic cartridges, magnetic tape, disk storage or other magnetic storage devices, or any other medium that can be used to store desired information and is accessible to a computer. Furthermore, as is known to those skilled in the art, communication media typically contain computer-readable instructions, data structures, program modules, or other data in modulated data signals such as carrier waves or other transmission mechanisms, and may include any information delivery medium.

[0096] The above is a detailed description of the preferred embodiments of the present invention. However, the present invention is not limited to the above embodiments. Those skilled in the art can make various equivalent modifications or substitutions without departing from the spirit of the present invention. All such equivalent modifications or substitutions are included within the scope defined by the claims of the present invention.

Claims

1. A method for managing Bluetooth devices, applied to a terminal device, wherein the terminal device is simultaneously connected to multiple Bluetooth devices within at least one device group, the method for managing Bluetooth devices comprising: The device receives a control request information sent by a first Bluetooth device connected to the terminal device within the device group. The control request information is used to carry the operation control instructions of the first Bluetooth device to a second Bluetooth device connected to the terminal device within the same device group. The first Bluetooth device processes the control request information according to the permission information of the first Bluetooth device in the device group. The permission information is used to characterize the first Bluetooth device's operation control permission for the second Bluetooth device connected to the terminal device in the same device group. The step of processing the control request information based on the permission information of the first Bluetooth device within the device group includes: If the permission information indicates that the first Bluetooth device has the permission to operate and control the second Bluetooth device, the working state of the second Bluetooth device is adjusted according to the control request information.

2. The Bluetooth device management method according to claim 1, characterized in that, The control request information is further used to carry operation control instructions from the first Bluetooth device to the terminal device, and the permission information is further used to characterize the control permission of the first Bluetooth device to the terminal device. The step of processing the control request information according to the permission information of the first Bluetooth device within the device group further includes: If the permission information indicates that the first Bluetooth device has operation control permissions over the terminal device, the working state of the terminal device is adjusted according to the control request information.

3. The method for managing Bluetooth devices according to claim 1, characterized in that, The permission information is obtained through the following steps: Obtain permission setting information input by the user, the permission setting information including device information of the first Bluetooth device and the control permissions of the first Bluetooth device on the terminal device and / or the second Bluetooth device; The permission information of the first Bluetooth device is determined based on the permission settings information.

4. The method for managing a Bluetooth device according to claim 1 or 3, characterized in that, The method for managing the Bluetooth device further includes: Obtain permission request information sent by the first Bluetooth device, wherein the permission request information is a permission request from the first Bluetooth device to control the terminal device and / or the second Bluetooth device; The permission information of the first Bluetooth device is determined based on the permission request information.

5. The method for managing a Bluetooth device according to claim 3, characterized in that, Determining the permission information of the first Bluetooth device based on the permission setting information includes: Obtain operation permission information corresponding to each of the first Bluetooth devices, wherein the operation permission information includes all control permissions supported by the first Bluetooth device; The permission information of the first Bluetooth device in its device group is obtained based on the operation permission information and the permission setting information.

6. The method for managing a Bluetooth device according to claim 5, characterized in that, The basis for determining the permitted operation information is as follows: If the first Bluetooth device does not have an interactive interface, the operation permission information includes operation permissions for the terminal device and control permissions for simultaneous operation of multiple second Bluetooth devices. or, If the first Bluetooth device has an interactive interface, the operation permission information includes operation permissions for the terminal device, control permissions for operating multiple second Bluetooth devices simultaneously, and control permissions for operating a single second Bluetooth device.

7. The method for managing a Bluetooth device according to claim 1, characterized in that, The step of processing the control request information based on the permission information of the first Bluetooth device within the device group includes: If the permission information indicates that the first Bluetooth device does not have control permissions over the terminal device and / or the second Bluetooth device, the control request information sent by the first Bluetooth device is ignored.

8. The method for managing a Bluetooth device according to claim 7, characterized in that, If the permission information indicates that the first Bluetooth device does not have control permissions over the terminal device and / or the second Bluetooth device, the step of processing the control request information based on the permission information of the first Bluetooth device within the device group further includes: Display the control request information and the name of the first Bluetooth device that sent the control request information.

9. A management device for a Bluetooth device, characterized in that, The Bluetooth device management device is applied to a terminal device, which is simultaneously connected to multiple Bluetooth devices within at least one device group. The Bluetooth device management device includes: The data receiving module is used to receive control request information sent by a first Bluetooth device connected to the terminal device within the device group. The control request information is used to carry the operation control instructions of the first Bluetooth device to a second Bluetooth device connected to the terminal device within the same device group. The request processing module is configured to process the control request information according to the permission information of the first Bluetooth device within the device group, wherein the permission information is used to characterize the first Bluetooth device's operation control permission for a second Bluetooth device connected to the terminal device within the same device group; the step of processing the control request information according to the permission information of the first Bluetooth device within the device group includes: if the permission information characterizes that the first Bluetooth device has operation control permission for the second Bluetooth device, adjusting the working state of the second Bluetooth device according to the control request information.

10. The management device for a Bluetooth device according to claim 9, characterized in that: The control request information is also used to carry the operation control instructions of the first Bluetooth device to the terminal device, and the permission information is also used to characterize the control permission of the first Bluetooth device to the terminal device. The step of processing the control request information according to the permission information of the first Bluetooth device in the device group further includes: if the permission information indicates that the first Bluetooth device has control permission over the terminal device, adjusting the working state of the terminal device according to the control request information.

11. The management device for a Bluetooth device according to claim 9 or 10, characterized in that, The management device for the Bluetooth device also includes: The permission setting information acquisition module is used to acquire permission setting information input by the user, wherein the permission setting information is the operation control permission of the first Bluetooth device to control the terminal device and / or the second Bluetooth device; The permission information generation module is used to determine the permission information of the first Bluetooth device based on the permission setting information.

12. The management device for a Bluetooth device according to claim 11, characterized in that, The permission information generation module includes: An operation permission information acquisition module is used to acquire operation permission information corresponding to each of the first Bluetooth devices, the operation permission information including all control permissions supported by the first Bluetooth device; The permission generation module is used to obtain the permission information of the first Bluetooth device in its device group based on the operation permission information and the permission setting information.

13. The management device for a Bluetooth device according to claim 9 or 10, characterized in that, The management device for the Bluetooth device also includes: A visualization module is used to display the control request information and the name of the first Bluetooth device that sent the control request information.

14. A computer-readable storage medium storing computer-executable instructions for performing the management method of a Bluetooth device according to any one of claims 1 to 8.

15. A terminal device, comprising: A memory, a processor, a communication module, and a computer program stored in the memory and executable on the processor, characterized in that the processor, when executing the computer program, implements the management method for a Bluetooth device as described in any one of claims 1 to 8.

Citation Information

Patent Citations

  • Bluetooth connection control method and device in audio playing system, and player

    CN105682010A

  • Bluetooth device management method and device

    CN113194450A