CN116137094A - Bluetooth device management method and device, storage medium and terminal device - Google Patents

Bluetooth device management method and device, storage medium and terminal device Download PDF

Info

Publication number
CN116137094A
CN116137094A CN202111372304.7A CN202111372304A CN116137094A CN 116137094 A CN116137094 A CN 116137094A CN 202111372304 A CN202111372304 A CN 202111372304A CN 116137094 A CN116137094 A CN 116137094A
Authority
CN
China
Prior art keywords
bluetooth
information
authority
bluetooth device
control
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202111372304.7A
Other languages
Chinese (zh)
Inventor
徐旻
许梅
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
ZTE Corp
Original Assignee
ZTE Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by ZTE Corp filed Critical ZTE Corp
Priority to CN202111372304.7A priority Critical patent/CN116137094A/en
Priority to PCT/CN2022/119114 priority patent/WO2023087880A1/en
Publication of CN116137094A publication Critical patent/CN116137094A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G08SIGNALLING
    • G08CTRANSMISSION SYSTEMS FOR MEASURED VALUES, CONTROL OR SIMILAR SIGNALS
    • G08C17/00Arrangements for transmitting signals characterised by the use of a wireless electrical link
    • G08C17/02Arrangements for transmitting signals characterised by the use of a wireless electrical link using a radio link
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/06Authentication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/80Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The invention provides a management method and device of Bluetooth equipment, a storage medium and terminal equipment. The management method of the Bluetooth equipment comprises the following steps: receiving control request information sent by a first Bluetooth device connected with terminal equipment in equipment groups; and processing the control request information according to the authority information of the first Bluetooth device in the device group, wherein the authority information is used for representing the control authority of the first Bluetooth device to the terminal device and/or the second Bluetooth device. The invention sets the authority information for the first Bluetooth device in advance, so that the control request information can be executed after determining whether the first Bluetooth device has the control authority to the terminal device and the second Bluetooth device, thereby avoiding the terminal device executing the control request information sent by all Bluetooth devices and effectively solving the problems that control conflict and confusion among devices occur or the difficulty of managing a plurality of devices is increased when a plurality of Bluetooth devices work cooperatively.

Description

Bluetooth device management method and device, storage medium and terminal device
Technical Field
The embodiment of the invention relates to the technical field of communication, but is not limited to, in particular to a management method and device of Bluetooth equipment, a storage medium and terminal equipment.
Background
Bluetooth 4.0 introduces a low-power module, and breaks the gate of the Internet of things. Bluetooth 5.2 provides a new -tooth low-power Audio (Bluetooth Low Energy Audio) technology based on bluetooth low energy, which adds a new Multi-Stream Audio (Multi-Stream Audio) function, and realizes multiple and independent Audio Stream transmission between a single Audio source device (source device) and one or more Audio receiving devices.
However, when a plurality of devices are operated in cooperation, control conflicts and confusion between the devices are easily caused or difficulty in managing the plurality of devices is increased. For example: in a connection-based synchronization group (Connected Isochronous Group, CIG), the user of one device wants to switch to the next audio data, while the user of another device wants to maintain the status quo, causing confusion in the control of the device; or in the environment of a full-surrounding stereo, the user as a master hopes that the sound volumes of all the equipment are kept synchronous, and does not hope that the sound volumes of all the equipment can be adjusted at will to cause control conflict of the equipment; in addition, or in a home audio-visual environment, users do not want to give all devices permission to answer, hang up and microphone, which increases the difficulty of managing multiple devices.
Disclosure of Invention
The following is a summary of the subject matter described in detail herein. This summary is not intended to limit the scope of the claims.
The embodiment of the invention provides a management method and device of Bluetooth equipment, a storage medium and terminal equipment, which can prevent control conflict and confusion among the equipment or increase the difficulty of managing the equipment under the condition of cooperative work of a plurality of Bluetooth equipment.
In a first aspect, an embodiment of the present invention provides a method for managing bluetooth devices, which is applied to a terminal device, where the terminal device is simultaneously connected to a plurality of bluetooth devices in at least one device group, and the method for managing bluetooth devices includes:
receiving control request information sent by a first Bluetooth device connected with the terminal device in the device group;
and processing the control request information according to the authority information of the first Bluetooth device in the device group, wherein the authority information is used for representing the control authority of the first Bluetooth device on the terminal device and/or the control authority of a second Bluetooth device connected with the terminal device in the same device group.
In a second aspect, an embodiment of the present invention further provides a management apparatus for a bluetooth device, where the management apparatus for a bluetooth device is applied to a terminal device, and the terminal device is connected to a plurality of bluetooth devices in at least one device group at the same time, and the management apparatus for a bluetooth device includes:
the data receiving module is used for receiving control request information sent by a first Bluetooth device connected with the terminal device in the device group;
the request processing module is used for processing the control request information according to the authority information of the first Bluetooth device in the device group, wherein the authority information is used for representing the control authority of the first Bluetooth device on the terminal device and/or the control authority of a second Bluetooth device connected with the terminal device in the same device group.
In a third aspect, an embodiment of the present invention further provides a computer-readable storage medium storing computer-executable instructions for performing a method for managing a bluetooth device as described above.
In a fourth aspect, an embodiment of the present invention further provides a network processing device, including: the system comprises a memory, a processor and a computer program stored on the memory and capable of running on the processor, wherein the processor realizes the management method of the Bluetooth device when executing the computer program.
The embodiment of the invention comprises the following steps: receiving control request information sent by a first Bluetooth device connected with terminal devices in the device group, wherein the terminal devices are simultaneously connected with a plurality of Bluetooth devices in at least one device group; and processing the control request information according to the authority information of the first Bluetooth device in the device group, wherein the authority information is used for representing the control authority of the first Bluetooth device to the terminal device and/or a second Bluetooth device connected with the terminal device in the same device group. Because the authority information is set for the first Bluetooth device in advance, after the terminal device receives the control request information, whether the first Bluetooth device has the control authority to the terminal device and the second Bluetooth device or not can be determined, and then the control request information can be executed after the first Bluetooth device is determined to have the control authority to the terminal device and the second Bluetooth device, so that the control to the terminal device and the second Bluetooth device is completed, the control request information sent by all Bluetooth devices can be prevented from being executed by the terminal device, and the problems that control conflict, confusion, difficulty in managing a plurality of devices and the like among the devices can occur when the plurality of Bluetooth devices work cooperatively are effectively solved.
Additional features and advantages of the invention will be set forth in the description which follows, and in part will be obvious from the description, or may be learned by practice of the invention. The objectives and other advantages of the invention will be realized and attained by the structure particularly pointed out in the written description and claims hereof as well as the appended drawings.
Drawings
The accompanying drawings are included to provide a further understanding of the invention and are incorporated in and constitute a part of this specification, illustrate and do not limit the invention.
Fig. 1 is a functional block diagram of an architecture platform for performing a management method of a bluetooth device according to an embodiment of the present invention;
fig. 2 is a flowchart of a method for managing bluetooth devices according to an embodiment of the present invention;
FIG. 3 is a flow chart of generating rights information provided by one embodiment of the invention;
fig. 4 is a functional block diagram of a management system of a bluetooth device according to an embodiment of the present invention.
Detailed Description
The present invention will be described in further detail with reference to the drawings and examples, in order to make the objects, technical solutions and advantages of the present invention more apparent. It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the scope of the invention.
It should be noted that although a logical order is illustrated in the flowchart, in some cases, the steps illustrated or described may be performed in an order different from that in the flowchart. The terms first, second and the like in the description and in the claims and in the above-described figures, are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order.
The embodiment of the invention provides a management method, a device, a storage medium and a terminal device of Bluetooth equipment, wherein before the terminal device executes control request information sent by the first Bluetooth equipment, authority information is preset in the terminal device for the first Bluetooth equipment, so that after the terminal device receives the control request information, whether the first Bluetooth equipment has control authority to the terminal device and the second Bluetooth equipment or not can be determined, the control request information can be executed after the first Bluetooth equipment is determined to have the control authority to the terminal device and the second Bluetooth equipment, the control to the terminal device and the second Bluetooth equipment is completed, and the problems that control conflict and confusion among the equipment or difficulty in managing a plurality of equipment are caused when the terminal device works cooperatively are solved effectively.
In order to facilitate the explanation of the management method, the device, the storage medium and the terminal equipment of the application, one embodiment of the application provides an architecture platform for the management method of the Bluetooth equipment. The architecture platform can be applied to terminal devices. As shown in fig. 1, the architecture platform includes a bluetooth module 110, a setup module 120, and a storage module 130. The bluetooth module 110 is configured to establish a bluetooth low energy protocol (Bluetooth Low Energy, BLE/LE) connection and a generic attribute protocol (Generic Attribute Profile, GATT) connection with a plurality of bluetooth devices in each device group, so as to control the plurality of bluetooth devices and receive control request information sent by the plurality of bluetooth devices. The storage module 130 is configured to store permission information, where the permission information characterizes control permissions of the first bluetooth device on the terminal device and the second bluetooth device in the device group. The setting module 120 is configured to receive the control request information sent by the first bluetooth device, process the control request information according to the permission information, and the setting module 120 may be further configured to modify the permission information in the storage module 130.
The architecture platform described in the embodiments of the present application is for more clearly describing the technical solution of the embodiments of the present application, and does not constitute a limitation to the technical solution provided in the embodiments of the present application, and as a person skilled in the art can know that, with the evolution of bluetooth technology and the appearance of a new application scenario, the technical solution provided in the embodiments of the present application is also applicable to similar technical problems.
In the above architecture platform, the modules may cooperate with each other to perform a method for managing bluetooth devices.
Based on the architecture platform and the structural relation of each module and device in the architecture platform, each embodiment of the management method of the Bluetooth device is provided. Embodiments of the present invention will be further described below with reference to the accompanying drawings.
Fig. 2 is a flowchart of a method for managing bluetooth devices according to an embodiment of the present invention, as shown in fig. 2.
As shown in fig. 2, the management method of the bluetooth device includes: comprising a step S110 and a step S120, the management method of the Bluetooth device is applied to a terminal device, the terminal device is simultaneously connected with a plurality of Bluetooth devices in at least one device group,
step S110: receiving control request information sent by a first Bluetooth device connected with terminal equipment in equipment groups;
step S120: and processing the control request information according to the authority information of the first Bluetooth device in the device group, wherein the authority information is used for representing the control authority of the first Bluetooth device on the terminal device and/or the control authority of a second Bluetooth device connected with the terminal device in the same device group.
In this embodiment, authority information is pre-configured for the first bluetooth device, and the authority information is stored in the storage module 130, where the authority information includes control authority of the first bluetooth device on the terminal device and the second bluetooth device. After the terminal device receives the control request information sent by the first bluetooth device, the access storage module 130 accesses the authority information corresponding to the first bluetooth device, and then the control request information can be executed after the first bluetooth device is determined to have the control authority to the terminal device and the second bluetooth device, so that the control to the terminal device and the second bluetooth device is completed, the control request information sent by all bluetooth devices by the terminal device can be prevented from being executed, and the problems that control conflict and confusion among devices occur or the difficulty of managing a plurality of devices is increased when the plurality of bluetooth devices work cooperatively are effectively solved. It should be noted that, when the first bluetooth device does not have control rights to the terminal device and the second bluetooth device, the terminal device directly ignores the control request information sent by the first bluetooth device. It should be noted that, the control authority in the authority information may be set according to the actual use requirement, and only the control authority corresponding to the terminal device may be set, or only the control authority corresponding to the second bluetooth device may be set, or the control authorities corresponding to the terminal device and the second bluetooth device may be set at the same time.
Specifically, at least one device group is provided, a plurality of bluetooth devices in each device group establish a bluetooth low energy protocol (Bluetooth Low Energy, BLE/LE) connection and a generic attribute protocol (Generic Attribute Profile, GATT) connection with the bluetooth module 110, the bluetooth module 110 informs the setting module 120 of the current connection status with the bluetooth devices, and the setting module 120 automatically groups according to a broadcast-based synchronization group (Broadcast Isochronous Group, BIG) or a connection-based synchronization group (Connected Isochronous Group, CIG). After the grouping is automatically completed, bluetooth devices in each device group may be increased or decreased by the setting module 120, and authority information may be set for the first bluetooth device by the setting module 120, and the authority information may be stored in the storage module 130. After the bluetooth module 110 receives the control request information sent by the first bluetooth device, the setting module 120 determines whether the first bluetooth device has permission information, and if the first bluetooth device has permission information, the control on the terminal device and the second bluetooth device by the first bluetooth device in the permission information and the control permission corresponding to the control request information are performed on the second bluetooth device. When there are a plurality of first bluetooth devices, the terminal device may complete control on all bluetooth devices except for the first bluetooth device in the device group when executing the control request information sent by any one of the first bluetooth devices, or other bluetooth devices may be understood as the second bluetooth device when executing the control request information sent by any one of the first bluetooth devices.
In one embodiment of the present invention, processing control request information according to authority information of a first bluetooth device in a device group includes:
if the authority information indicates that the first Bluetooth device has control authority to the terminal device and/or the second Bluetooth device, the working state of the terminal device and/or the second Bluetooth device is adjusted according to the control request information.
When the first Bluetooth device has control rights to the terminal device and the second Bluetooth device, the terminal device can process data of the control request information after receiving the control request information, and control the terminal device according to the control request information or generate a corresponding control instruction according to the control request information and send the corresponding control instruction to the corresponding second Bluetooth device so as to complete the control request.
As shown in fig. 3, fig. 3 is a flowchart of generating rights information provided in one embodiment of the present invention.
As shown in fig. 3, the rights information is obtained by:
acquiring authority setting information input by a user, wherein the authority setting information comprises equipment information of first Bluetooth equipment and control authority of the first Bluetooth equipment to terminal equipment and/or second Bluetooth equipment;
and determining the authority information of the first Bluetooth device according to the authority setting information.
The authority information of the first Bluetooth device can be set according to the authority setting information, and the authority information is set by inputting the authority setting information by a user, so that the modification can be conveniently carried out when the authority information is required to be modified. It should be noted that, the authority setting information is input to the setting module 120 by the user, so that the user can set and modify according to the use requirements in different scenarios.
In some embodiments of the present invention, the method for managing bluetooth devices further includes step S130 and step S140:
step S130: acquiring permission request information sent by a first Bluetooth device, wherein the permission request information is a permission request for the first Bluetooth device to control terminal equipment and/or a second Bluetooth device;
step S140: and determining the authority information of the first Bluetooth device according to the authority request information.
The first bluetooth device may actively apply for permission information by sending permission request information to the terminal device, and after the user checks the received permission request information through the terminal device, the user may pass or fail the permission request according to the requirement, and the passed permission request may be stored in the storage module 130 in the form of permission information. It should be noted that, the permission information is obtained by actively sending permission request information, so that a user on one side of the bluetooth device can actively apply according to requirements, and the use experience of the user is improved.
In some embodiments of the present invention, determining rights information for a first bluetooth device according to rights setting information includes:
acquiring operation permission item information corresponding to each first Bluetooth device, wherein the operation permission item information comprises all supported control rights of the first Bluetooth devices;
and obtaining the authority information of the device group where the first Bluetooth device is located according to the operation permission item information and the authority setting information.
The implementation of each control authority needs corresponding hardware to support, and different Bluetooth devices have different operation capabilities because of different hardware. The terminal equipment can communicate with the first Bluetooth equipment to determine all control authorities that the first Bluetooth equipment can support, and then when authority information is generated by using the authority setting information subsequently, the unrealized control authorities do not appear in the authority information of the first Bluetooth equipment, and confusion is avoided. It should be noted that these control rights may be implemented by a generic attribute protocol (Generic Attribute Profile, GATT). The generic attribute protocol consists of services (Service), feature values (feature), and different control rights belong to different services, for example: the volume control belongs to one service and the microphone control belongs to another service, and their values are stored in the corresponding characteristic values.
In some embodiments of the invention, the determination of the operational permission item information is based on:
if the first Bluetooth device does not have an interactive interface, the operation permission item information comprises operation permission of the terminal device and control permission of simultaneously operating a plurality of second Bluetooth devices;
or,
if the first Bluetooth device has an interactive interface, the operation permission item information comprises the operation permission of the terminal device, the control permission of simultaneously operating a plurality of second Bluetooth devices and the control permission of operating a single second Bluetooth device.
Bluetooth devices are classified according to operation modes, and can be roughly classified into two types, i.e., an interactive interface and a non-interactive interface. For the first bluetooth device without the interactive interface, because a specific operation situation cannot be seen, the control authority for operating the single second bluetooth device cannot be conveniently set, and the control authority for simultaneously operating a plurality of bluetooth devices in the device group is selected as much as possible to be more fit with the actual use requirement. For the first Bluetooth device with the interactive interface, because the parameter information of each second Bluetooth device can be acquired through communication with the terminal device and displayed, the base of adjusting the working state of the single second Bluetooth device through the first Bluetooth device is provided, and therefore, when the first Bluetooth device is set, the control authority for operating the single second Bluetooth device can be set.
In one embodiment of the present invention, processing control request information according to authority information of a first bluetooth device in a device group includes:
and if the permission information indicates that the first Bluetooth device does not have the control permission to the terminal device and/or the second Bluetooth device, ignoring the control request information sent by the first Bluetooth device.
When the first Bluetooth device does not have control rights to the terminal device and the second Bluetooth device, the terminal device does not execute the control request information sent by the first Bluetooth device and directly ignores the control request information, so that collision between the Bluetooth device without the right information and the Bluetooth device with the right information can be directly avoided. Here, in actual use, if the control request information is ignored, the processing result is returned to the first bluetooth device that sent the control request information.
In an embodiment of the present invention, if the permission information indicates that the first bluetooth device does not have control permission to the terminal device and/or the second bluetooth device, the processing of the control request information according to the permission information of the first bluetooth device in the device group further includes:
the control request information is displayed, and the name of the first bluetooth device that transmitted the control request information.
After the control request information is ignored, the ignored control request information and the name of the first Bluetooth device sending the control request information are displayed in the terminal device, so that a user controlling the terminal device can decide whether to actively modify the control authority according to actual requirements.
In order to more clearly illustrate the processing flow of the management method of the bluetooth device provided by the embodiment of the present invention, a specific example is described below.
The management method of the Bluetooth device comprises the following steps:
the plurality of bluetooth devices establishes bluetooth low energy protocol connections and generic attribute protocol connections with bluetooth module 110;
the bluetooth module 110 informs the setting module 120 of the current connection status with the bluetooth device;
the setting module 120 may automatically group based on the broadcasted synchronization group or the connection-based synchronization group;
after the grouping is automatically completed, the Bluetooth devices in each device group are increased or decreased through the setting module 120 so as to form at least one device group required by a user; there may be multiple device groups and the same bluetooth device may be present in multiple device groups;
the setting module 120 determines the first bluetooth device according to the authority setting information input by the user, and then determines whether the first bluetooth device has an interactive interface, so as to determine operation permission item information of the first bluetooth device, namely obtain an optional authority list of the first bluetooth device, wherein the authority list of the first bluetooth device without the interactive interface comprises control authorities such as switching, answering, hanging up, volume adjusting, inputting (microphone) and the like, and the authority list of the bluetooth device with the interactive interface comprises control authorities such as switching, answering, hanging up, volume adjusting, inputting (microphone) and the like, and further comprises control authorities such as increasing code rate control, microphone function independent control, volume independent control and the like; in one embodiment of the invention, the rights list is shown in Table 1;
TABLE 1 rights list
Figure BDA0003362763000000061
After the first bluetooth device is determined, the setting module 120 completes the setting of the control authority of the first bluetooth device to the terminal device and/or the second bluetooth device according to the authority setting information, so as to form final authority information; rights information is stored in the memory module 130 for subsequent access and modification;
after receiving the control request information sent by the first Bluetooth device, the terminal device executes the control request information according to the authority information corresponding to the first Bluetooth device, otherwise, if the Bluetooth device sending the control request information does not have the authority information, the control request information is ignored, a processing result is returned, and the processing result is displayed on the terminal device, so that the terminal device can determine whether to actively open the authority for the Bluetooth device sending the control request information according to actual requirements;
after the Bluetooth device receives the processing result returned by the terminal device, if the Bluetooth device has an interactive interface, the permission application can be directly initiated by using the interactive interface.
In addition, all bluetooth devices in the device group can actively apply for control authority by sending authority request information to the terminal device, and after the terminal device passes the authority application, corresponding authority information is generated and stored in the storage module 130; here, the permission request information is usually submitted by bluetooth devices having an interactive interface, and the user may input the permission request on the interactive interface of these bluetooth devices.
In addition, as shown in fig. 4, fig. 4 is a functional block diagram of a management apparatus for a bluetooth device according to an embodiment of the present invention.
As shown in fig. 4, the management apparatus of a bluetooth device can implement the management method of a bluetooth device in the embodiment shown in fig. 2, where the management apparatus of a bluetooth device is applied to a terminal device, and the terminal device is simultaneously connected to a plurality of bluetooth devices in at least one device group, and the network processor includes: a data receiving module 210, a request processing module 220,
a data receiving module 210, configured to receive control request information sent by a first bluetooth device connected to a terminal device in a device packet;
the request processing module 220 is configured to process the control request information according to authority information of the first bluetooth device in the device group, where the authority information is used to characterize control authority of the first bluetooth device on the terminal device and/or control authority of a second bluetooth device connected to the terminal device in the same device group.
In this embodiment, the permission information is constructed for the first bluetooth device, where the permission information includes the control permission of the first bluetooth device to the terminal device and/or the second bluetooth device, and the permission information is stored in the 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 confirms the authority information of the first bluetooth device, so that the control request information can be executed after the first bluetooth device is determined to have the control authority to the terminal device and the second bluetooth device, and the control to the terminal device and the second bluetooth device is completed, thereby avoiding the control request information sent by all bluetooth devices from being executed by the terminal device, and effectively solving the problems that control conflict and confusion among devices occur or the difficulty of managing a plurality of devices is increased when a plurality of bluetooth devices work cooperatively. It should be noted that, when the first bluetooth device does not have control rights to the terminal device and the second bluetooth device, the terminal device directly ignores the control request information sent by the first bluetooth device. It should be noted that, the control authority in the authority information may be set according to the actual use requirement, and only the control authority corresponding to the terminal device may be set, or only the control authority corresponding to the second bluetooth device may be set, or the control authorities corresponding to the terminal device and the second bluetooth device may be set at the same time.
Specifically, at least one device group is provided, a plurality of bluetooth devices in each device group establish a bluetooth low energy protocol (Bluetooth Low Energy, BLE/LE) connection and a generic attribute protocol (Generic Attribute Profile, GATT) connection with the bluetooth module 110, the bluetooth module 110 informs the setting module 120 of the current connection status with the bluetooth devices, and the setting module 120 automatically groups according to a broadcast-based synchronization group (Broadcast Isochronous Group, BIG) or a connection-based synchronization group (Connected Isochronous Group, CIG). After the grouping is automatically completed, bluetooth devices in each device group may be increased or decreased by the setting module 120, and authority information may be set for the first bluetooth device by the setting module 120, and the authority information may be stored in the 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 determines whether the first bluetooth device has permission information, and if the first bluetooth device has permission information, the control module completes control on the terminal device and the second bluetooth device according to the control permissions of the first bluetooth device on the terminal device and the second bluetooth device in the permission information and the control permissions corresponding to the control request information. When there are a plurality of first bluetooth devices, the terminal device may complete control on all bluetooth devices except for the first bluetooth device in the device group when executing the control request information sent by any one of the first bluetooth devices, or other bluetooth devices may be understood as the second bluetooth device when executing the control request information sent by any one of the first bluetooth devices.
As shown in fig. 4, the management apparatus of the bluetooth device further includes: a right setting information acquisition module 230, a right information generation module 240,
the permission setting information obtaining module 230 is configured to obtain permission setting information input by a user, where the permission request information is a permission request that the first bluetooth device controls the terminal device and/or the second bluetooth device;
the permission information generating module 240 is configured to determine permission information of the first bluetooth device according to the permission setting information.
The rights setting information obtaining module 230 may obtain rights setting information input by the user, and then the rights information generating module 240 may complete setting of the rights information of the first bluetooth device according to the rights setting information. The mode of generating the authority information by acquiring the authority setting information input by the user can be convenient for completing modification when the authority information needs to be modified. It should be noted that, the authority setting information is input to the setting module 120 by the user, so the user can set and modify the authority information according to the use requirements in different scenarios.
In one embodiment of the present invention, the rights information generation module 240 includes: an operation permission information acquisition module, a weight generation module,
the operation permission information acquisition module is used for acquiring operation permission item information corresponding to each first Bluetooth device, wherein the operation permission item information comprises all supported control rights of the first Bluetooth devices;
and the right item generating module is used for obtaining the right information of the device group where the first Bluetooth device is located according to the operation permission item information and the right setting information.
The implementation of each control authority needs corresponding hardware to support, and different Bluetooth devices have different operation capabilities because of different hardware. The operation permission information acquisition module acquires the operation permission item information of the first Bluetooth device to determine all control rights which can be supported by the first Bluetooth device, so that the rights item generation module can avoid the subsequent operation confusion caused by adding rights control rights which cannot be operated in the rights information when generating the rights information. The implementation of these control rights may be implemented by the generic attribute protocol (Generic Attribute Profile, GATT). The generic attribute protocol consists of services (Service), feature values (feature), and different control rights belong to different services, for example: the volume control belongs to one service and the microphone control belongs to another service, and their values are stored in the corresponding characteristic values.
Here, the determination of the operation permission item information is based on: if the first Bluetooth device does not have an interactive interface, the operation permission item information comprises control rights for simultaneously operating a plurality of second Bluetooth devices; if the first Bluetooth device has an interactive interface, the operation permission item information comprises control rights for simultaneously operating a plurality of second Bluetooth devices and control rights for operating a single second Bluetooth device.
Bluetooth devices are classified according to operation modes, and can be roughly classified into two types, i.e., an interactive interface and a non-interactive interface. For the first bluetooth device without the interactive interface, because a specific operation situation cannot be seen, the control authority for operating the single second bluetooth device cannot be conveniently set, and the control authority for simultaneously operating a plurality of bluetooth devices in the device group is selected as much as possible to be more fit with the actual use requirement. For the first Bluetooth device with the interactive interface, because the parameter information of each second Bluetooth device can be acquired through communication with the terminal device and displayed, the base of adjusting the working state of the single second Bluetooth device through the first Bluetooth device is provided, and therefore, when the first Bluetooth device is set, the control authority for operating the single second Bluetooth device can be set.
As shown in fig. 4, the management apparatus of the bluetooth device further includes a visualization module 250, where the visualization module 250 is configured to display the control request information and the name of the first bluetooth device that sends the control request information.
When the right information characterizes that the first bluetooth device does not have control rights to the terminal device and the second bluetooth device, the request processing module 220 ignores the control request information sent by the first bluetooth device, so that collision between the bluetooth device without the right information and the bluetooth device with the right information can be directly avoided. After the request processing module 220 ignores the control request information, the ignored control request information and the name of the first bluetooth device that sends the control request information are displayed through the visualization module 250, so that the user who controls the terminal device can determine whether to actively modify the control authority according to the actual requirement.
In addition, an embodiment of the present invention also provides a network processor, including: the message processing method comprises a memory, a processor and a computer program stored in the memory and capable of running on the processor, wherein the processor realizes the message processing method when executing the computer program.
The non-transitory software programs and instructions required to implement the message handling methods of the above embodiments are stored in the memory and when executed by the processor, perform the message handling methods of the above embodiments, e.g., perform the methods of fig. 2, 3 described above.
In addition, an embodiment of the present invention further provides a computer readable storage medium, where computer executable instructions are stored, where the computer executable instructions are configured to perform a method for processing a packet as described above, for example, by one processor in an embodiment of the network processor, where the processor is configured to perform a method for processing an information in the embodiment described above, for example, perform a method in fig. 2 and a method in fig. 3 described above.
Those of ordinary skill in the art will appreciate that all or some of the steps, systems, and methods disclosed above may be implemented as software, firmware, hardware, and suitable combinations thereof. Some or all of the physical components may 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 may be distributed on computer readable media, which may include computer storage media (or non-transitory media) and communication media (or transitory media). The term computer storage media includes both volatile and nonvolatile, removable and non-removable media implemented in any method or technology for storage of information such as computer readable instructions, data structures, program modules or other data, as known to those skilled in the art. Computer storage media includes, but is not limited to, RAM, ROM, EEPROM, flash memory or other storage element technology, CD-ROM, digital Versatile Disks (DVD) or other optical disk storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices, or any other medium which can be used to store the desired information and which can be accessed by a computer. Furthermore, as is well known to those of ordinary skill in the art, communication media typically embodies computer readable instructions, data structures, program modules or other data in a modulated data signal such as a carrier wave or other transport mechanism and includes any information delivery media.
While the preferred embodiment of the present invention has been described in detail, the present invention is not limited to the above embodiment, and various equivalent modifications and substitutions can be made by those skilled in the art without departing from the spirit of the present invention, and these equivalent modifications and substitutions are intended to be included in the scope of the present invention as defined in the appended claims.

Claims (14)

1. A management method of bluetooth devices, applied to a terminal device, the terminal device being simultaneously connected with a plurality of bluetooth devices in at least one device group, the management method of bluetooth devices comprising:
receiving control request information sent by a first Bluetooth device connected with the terminal device in the device group;
and processing the control request information according to the authority information of the first Bluetooth device in the device group, wherein the authority information is used for representing the control authority of the first Bluetooth device on the terminal device and/or the control authority of the first Bluetooth device on a second Bluetooth device connected with the terminal device in the same device group.
2. The method for managing bluetooth devices according to claim 1, wherein the processing the control request information according to the authority information of the first bluetooth device within the device group comprises:
and if the authority information characterizes that the first Bluetooth device has control authority to the terminal device and/or the second Bluetooth device, adjusting the working state of the terminal device and/or the second Bluetooth device according to the control request information.
3. The method of managing bluetooth devices according to claim 1, wherein the rights information is obtained by:
acquiring authority setting information input by a user, wherein the authority setting information comprises equipment information of the first Bluetooth equipment and control authority of the first Bluetooth equipment to the terminal equipment and/or the second Bluetooth equipment;
and determining the authority information of the first Bluetooth device according to the authority setting information.
4. A method of managing a bluetooth device according to claim 1 or 3, further comprising:
acquiring permission request information sent by the first Bluetooth device, wherein the permission request information is a permission request for the first Bluetooth device to control the terminal device and/or the second Bluetooth device;
and determining the authority information of the first Bluetooth device according to the authority request information.
5. A method of managing bluetooth devices according to claim 3, wherein the determining the authority information of the first bluetooth device according to the authority setting information includes:
acquiring operation permission item information corresponding to each first Bluetooth device, wherein the operation permission item information comprises all supported control rights of the first Bluetooth device;
and obtaining the permission information of the device group where the first Bluetooth device is located according to the operation permission item information and the permission setting information.
6. The method for managing bluetooth devices according to claim 5, wherein the operation permission item information is determined based on:
if the first Bluetooth device does not have an interactive interface, the operation permission item information comprises operation permission of the terminal device and control permission of simultaneously operating a plurality of second Bluetooth devices;
or,
and if the first Bluetooth device has an interactive interface, the operation permission item information comprises operation permission of the terminal device, control permission of simultaneously operating a plurality of second Bluetooth devices and control permission of operating a single second Bluetooth device.
7. The method for managing bluetooth devices according to claim 1, wherein the processing the control request information according to the authority information of the first bluetooth device within the device group comprises:
and if the authority information characterizes that the first Bluetooth device does not have control authority to the terminal device and/or the second Bluetooth device, ignoring the control request information sent by the first Bluetooth device.
8. The method according to claim 7, wherein if the authority information characterizes that the first bluetooth device does not have control authority over the terminal device and/or the second bluetooth device, the processing the control request information according to the authority information of the first bluetooth device in the device group further includes:
and displaying the control request information and the name of the first Bluetooth device sending the control request information.
9. A management apparatus of a bluetooth device, wherein the management apparatus of a bluetooth device is applied to a terminal device, the terminal device is simultaneously connected with a plurality of bluetooth devices in at least one device group, and the management apparatus of a bluetooth device comprises:
the data receiving module is used for receiving control request information sent by a first Bluetooth device connected with the terminal device in the device group;
the request processing module is used for processing the control request information according to the authority information of the first Bluetooth device in the device group, wherein the authority information is used for representing the control authority of the first Bluetooth device on the terminal device and/or the control authority of a second Bluetooth device connected with the terminal device in the same device group.
10. The apparatus according to claim 9, wherein the apparatus further comprises:
the permission setting information acquisition module is used for acquiring permission setting information input by a user, wherein the permission request information is a permission request for controlling the terminal equipment and/or the second Bluetooth equipment by the first Bluetooth equipment;
and the permission information generation module is used for determining the permission information of the first Bluetooth device according to the permission setting information.
11. The apparatus according to claim 10, wherein the authority information generation module includes:
an operation permission information acquisition module, configured to acquire operation permission item information corresponding to each first bluetooth device, where the operation permission item information includes control rights supported by all the first bluetooth devices;
and the right item generating module is used for obtaining the right information of the equipment group where the first Bluetooth equipment is located according to the operation permission item information and the right setting information.
12. The apparatus according to claim 9, wherein the apparatus further comprises:
and the visualization module is used for displaying the control request information and the name of the first Bluetooth device sending the control request information.
13. A computer-readable storage medium storing computer-executable instructions for performing the method of managing a bluetooth device according to any one of claims 1 to 8.
14. A terminal device, comprising: memory, processor, communication module and computer program stored on the memory and executable on the processor, characterized in that the processor implements the method for managing bluetooth devices according to any of the claims 1 to 8 when executing the computer program.
CN202111372304.7A 2021-11-18 2021-11-18 Bluetooth device management method and device, storage medium and terminal device Pending CN116137094A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202111372304.7A CN116137094A (en) 2021-11-18 2021-11-18 Bluetooth device management method and device, storage medium and terminal device
PCT/CN2022/119114 WO2023087880A1 (en) 2021-11-18 2022-09-15 Bluetooth device management method and apparatus, storage medium and terminal device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111372304.7A CN116137094A (en) 2021-11-18 2021-11-18 Bluetooth device management method and device, storage medium and terminal device

Publications (1)

Publication Number Publication Date
CN116137094A true CN116137094A (en) 2023-05-19

Family

ID=86334308

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111372304.7A Pending CN116137094A (en) 2021-11-18 2021-11-18 Bluetooth device management method and device, storage medium and terminal device

Country Status (2)

Country Link
CN (1) CN116137094A (en)
WO (1) WO2023087880A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117255332B (en) * 2023-11-17 2024-03-19 Tcl通讯科技(成都)有限公司 Bluetooth connection control method and device, storage medium and electronic equipment

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10057370B2 (en) * 2012-09-06 2018-08-21 Unisys Corporation Team processing using dynamic licenses
CN105578386A (en) * 2015-11-26 2016-05-11 小米科技有限责任公司 Bluetooth device management method and device
CN106603716A (en) * 2016-12-30 2017-04-26 Tcl集团股份有限公司 Synchronization method of intelligent device state, intelligent device and control terminal thereof
CN110753334A (en) * 2019-10-25 2020-02-04 华为技术有限公司 Bluetooth communication method, device and equipment with Bluetooth communication function
CN111049709B (en) * 2019-11-19 2022-03-04 广东好太太智能家居有限公司 Bluetooth-based interconnected loudspeaker box control method, equipment and storage medium
CN113194450B (en) * 2021-05-06 2023-08-04 维沃移动通信有限公司 Bluetooth equipment management method and device

Also Published As

Publication number Publication date
WO2023087880A1 (en) 2023-05-25

Similar Documents

Publication Publication Date Title
CN105335112B (en) Multi-screen display information processing and main control end content sending method and device
EP3926917A1 (en) Data transmission method, device and computer storage medium
EP3169086A1 (en) Connection method for multimedia playing device, master device, control terminal, and system
CN110765744A (en) Multi-person collaborative document editing method and system
EP2945337A2 (en) Method, system and server for service switching
US11489686B2 (en) Virtual meetings in ad-hoc networks
WO2020024775A1 (en) Data transmission control method and related apparatus
US10038664B2 (en) Terminal status subscription method, apparatus, and system
CN111629371B (en) Screen projection method and system
WO2016101545A1 (en) Device management method, apparatus, and system
CN111988660A (en) DLNA equipment screen projection method, gateway, terminal and system
CN110890094A (en) Voice control method of Internet of things equipment and voice server
CN107197077B (en) Method, device and system for communication between devices
CN113037616A (en) Interactive method and device for cooperatively controlling multiple robots
CN112436986A (en) Network distribution method and device, network distribution equipment and computer readable storage medium
CN116137094A (en) Bluetooth device management method and device, storage medium and terminal device
CN111131746A (en) Terminal service control method and device
CN114221985A (en) Device control method, device, electronic device and computer-readable storage medium
US10455195B2 (en) Method and system for controlling multiple auxiliary streams, control device, and node
US10764268B2 (en) Security controller (SC) restoration method and apparatus
CN109729402B (en) Media content synchronization method, device and storage medium
CN108668151B (en) Audio and video interaction method and device
CN112333190B (en) Session control method, session control device, and computer-readable storage medium
CN105812910B (en) A kind of many-one is wirelessly the same as the method and apparatus of screen session establishment
WO2017148104A1 (en) Method and apparatus for collectively managing bandwidth of passive optical network terminal

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination