Bluetooth communication system and method, electronic equipment and storage medium
Through chain BLE networking technology, a chain-structured network topology is built, which solves the limitations of existing Bluetooth technology in multi-device connection and communication, and realizes efficient and stable communication between multiple Bluetooth devices, meeting the interconnection needs of the Internet of Things and smart homes.
Patent Information
- Application Number
- CN202311380274.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-10-23
- Publication Date
- 2025-04-25
AI Technical Summary
Existing Bluetooth technology has limitations in multi-device connection and communication, and it is difficult to meet the interconnection needs between multiple devices in fields such as the Internet of Things and smart home.
Using chain BLE networking technology, efficient communication and writing between multiple Bluetooth devices is achieved by building a chain structure network topology. The specific method includes the first device sending BLE chain networking information, the second device and the third device join the networking according to the information, and generate a network mapping relationship.
It realizes efficient and stable communication and collaboration between multiple Bluetooth devices, meets the interconnection needs between multiple devices in the fields of Internet of Things and smart homes, and improves the stability and efficiency of data transmission.
Smart Images

Figure CN119893479A_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of communication technology, and in particular to a Bluetooth communication system, method, electronic device and storage medium. Background Art
[0002] With the rapid development of smart devices and IoT technology, people's demand for interconnection between multiple devices is growing. As a short-range wireless communication technology, Bluetooth technology is widely used in many consumer electronics products and IoT devices such as mobile phones, smart watches, headphones, and smart home devices. However, as the number of devices increases, the existing Bluetooth technology has gradually shown some limitations in multi-device connection and communication. Summary of the invention
[0003] In order to overcome the problems existing in the related art, the present disclosure provides a Bluetooth communication system, method, electronic device and storage medium.
[0004] According to a first aspect of an embodiment of the present disclosure, there is provided a Bluetooth communication system, including: a first device, a second device and a third device;
[0005] The first device is used to send low-power Bluetooth BLE chain networking information to the second device, and the BLE chain networking information is used to instruct the second device and the third device to join the BLE chain networking;
[0006] The second device is used to join the BLE chain networking according to the BLE chain networking information, and send the BLE chain networking information to the third device;
[0007] The third device is used to join the BLE chain networking according to the BLE chain networking information;
[0008] The first device is also used to generate a networking mapping relationship in response to determining that the second device and the third device join the BLE chain network, and send the networking mapping relationship to the second device and the third device through the BLE chain network, wherein the networking mapping relationship includes a one-to-one correspondence between multiple device IDs and multiple BLE networking addresses.
[0009] Optionally, the system further comprises a fourth device;
[0010] The first device is further used to send link adding information to the second device, wherein the link adding information is used to instruct the second device to add the fourth device to the BLE chain networking;
[0011] The second device is further configured to establish a BLE communication connection with the fourth device in response to receiving the link addition information;
[0012] The fourth device is configured to establish the BLE communication connection with the third device in response to establishing the BLE communication connection;
[0013] The third device is further configured to disconnect the communication connection with the second device in response to establishing the BLE communication connection with the fourth device.
[0014] Optionally, the first device is also used to update the networking mapping relationship in response to determining that the fourth device joins the BLE chain network according to the position of the fourth device in the BLE chain network; and send the updated networking mapping relationship to the second device, the third device and the fourth device.
[0015] Optionally, the first device is further configured to establish a BLE communication connection with the third device according to the networking mapping relationship in response to the second device disconnecting the communication connection with the first device and the third device;
[0016] In response to establishing the BLE communication connection with the third device, updating the networking mapping relationship.
[0017] Optionally, the first device is further used to send control information to the second device according to the BLE chain networking, and the control information is used to control the third device;
[0018] The second device is further configured to send the received control information to the third device according to the networking mapping relationship;
[0019] The third device is further used to execute corresponding control actions according to the control information.
[0020] According to a second aspect of an embodiment of the present disclosure, a Bluetooth communication method is provided, which is applied to a Bluetooth communication system, wherein the system includes: a first device, a second device, and a third device, and the method includes:
[0021] The first device sends low-power Bluetooth BLE chain networking information to the second device, where the BLE chain networking information is used to instruct the second device and the third device to join the BLE chain networking;
[0022] The second device joins the BLE chain networking according to the BLE chain networking information, and sends the BLE chain networking information to the third device;
[0023] The third device joins the BLE chain networking according to the BLE chain networking information;
[0024] The first device generates a BLE chain networking table in response to the second device and the third device joining the BLE chain networking, and sends the BLE chain networking table to the second device and the third device through the BLE chain networking, wherein the BLE chain networking table includes a one-to-one correspondence between multiple device IDs and multiple BLE networking addresses.
[0025] Optionally, the system further includes a fourth device, and the method further includes:
[0026] The first device sends link adding information to the second device, where the link adding information is used to instruct the second device to add the fourth device to the BLE chain networking;
[0027] In response to receiving the link adding information, the second device establishes a BLE communication connection with the fourth device;
[0028] In response to establishing the BLE communication connection, the fourth device establishes the BLE communication connection with the third device;
[0029] In response to establishing the BLE communication connection with the fourth device, the third device disconnects the communication connection with the second device.
[0030] According to a third aspect of an embodiment of the present disclosure, a Bluetooth communication method is provided, which is applied to a first device in a Bluetooth communication system, and the method includes:
[0031] Sending low-power Bluetooth BLE chain networking information to a second device in the Bluetooth communication system, wherein the BLE chain networking information is used to instruct the second device to send the BLE chain networking information to a third device in the Bluetooth communication system, and to instruct the second device and the third device to join the BLE chain networking;
[0032] In response to determining that the second device and the third device join the BLE chain networking, generating a networking mapping relationship;
[0033] The networking mapping relationship is sent to the second device and the third device through the BLE chain networking, wherein the networking mapping relationship includes a one-to-one correspondence between multiple device IDs and multiple BLE networking addresses.
[0034] According to a fourth aspect of an embodiment of the present disclosure, there is provided an electronic device, including:
[0035] processor;
[0036] a memory for storing processor-executable instructions;
[0037] The processor is configured to execute the executable instructions to implement the steps of any one of the Bluetooth communication methods in the second aspect of the present disclosure.
[0038] According to a fifth aspect of an embodiment of the present disclosure, a computer-readable storage medium is provided, on which computer program instructions are stored, and when the program instructions are executed by a processor, the steps of any one of the methods described in the second aspect of the present disclosure are implemented.
[0039] The technical solution provided by the embodiments of the present disclosure may have the following beneficial effects:
[0040] Through the above method, the first device is used to send low-power Bluetooth BLE chain networking information to the second device, the BLE chain networking information is used to instruct the second device and the third device to join the BLE chain networking, the second device is used to join the BLE chain networking according to the BLE chain networking information, and send the BLE chain networking information to the third device, the third device is used to join the BLE chain networking according to the BLE chain networking information, the first device is also used to respond to the determination that the second device and the third device join the BLE chain networking, generate a networking mapping relationship, and send the networking mapping relationship to the second device and the third device through the BLE chain networking, and the networking mapping relationship includes a one-to-one correspondence between multiple device IDs and multiple BLE networking addresses. Thus, by constructing a network topology with a chain structure, efficient communication and writing between multiple Bluetooth devices can be achieved to meet the interconnection needs between multiple devices in the fields of the Internet of Things and smart homes.
[0041] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS
[0042] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and, together with the description, serve to explain the principles of the present disclosure.
[0043] Figure 1 The diagram is a schematic diagram of a Bluetooth communication system according to an exemplary embodiment.
[0044] Figure 2 It is a structural diagram of a BLE chain networking according to an exemplary embodiment.
[0045] Figure 3 The figure is a schematic diagram showing dynamic addition of a BLE chain network according to an exemplary embodiment.
[0046] Figure 4 The figure is a schematic diagram of deleting a node in a BLE chain networking according to an exemplary embodiment.
[0047] Figure 5 The figure is a flow chart of a Bluetooth communication method according to an exemplary embodiment.
[0048] Figure 6 The figure is a flow chart of a Bluetooth communication method according to an exemplary embodiment.
[0049] Figure 7 It is a block diagram of an electronic device according to an exemplary embodiment. DETAILED DESCRIPTION
[0050] Exemplary embodiments will be described in detail herein, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, the same numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present disclosure. Instead, they are merely examples of devices and methods consistent with some aspects of the present disclosure as detailed in the appended claims.
[0051] It should be noted that all actions of acquiring signals, information or data in the present disclosure are carried out in compliance with the relevant data protection laws and policies of the country where the device is located and with the authorization given by the owner of the corresponding device.
[0052] In related technologies, the BLE (Bluetooth Low Energy) connection method uses a point-to-point connection method, that is, an independent connection needs to be established between two devices that need to communicate and interact, which makes the connection between devices cumbersome, and the number of other devices that can be connected to the same device based on BLE connection is limited, which makes it difficult to meet the needs of multi-device interconnection. In complex scenarios such as smart homes, users usually need to connect to multiple smart devices at the same time based on mobile terminals, such as smart bulbs, thermostats, cameras, etc., and traditional BLE connection methods make it difficult to achieve such many-to-many connections.
[0053] Secondly, BLE connection in related technologies has certain challenges in data transmission efficiency between devices. BLE may experience data packet loss or delay during data transmission, especially in the case of high-density device connections, which will cause communication congestion and reduce the stability and efficiency of data transmission.
[0054] In view of the above limitations and challenges of BLE technology, and the requirements for multi-device interconnection and communication, the present disclosure proposes a chained BLE networking technology. By adopting a linked list structure of BLE networking, multiple smart devices are connected to solve the problems of multi-device connection stability and data transmission efficiency in BLE technology, and achieve more efficient and stable multi-device communication and collaboration.
[0055] Figure 1 is a schematic diagram of a Bluetooth communication system according to an exemplary embodiment. Figure 1 As shown, the system includes: a first device, a second device and a third device.
[0056] The first device is used to send low-power Bluetooth BLE chain networking information to the second device, where the BLE chain networking information is used to instruct the second device and the third device to join the BLE chain networking;
[0057] The second device is used to join the BLE chain networking according to the BLE chain networking information, and send the BLE chain networking information to the third device;
[0058] A third device is used to join the BLE chain networking according to the BLE chain networking information;
[0059] The first device is also used to generate a networking mapping relationship in response to determining that the second device and the third device join the BLE chain network, and send the networking mapping relationship to the second device and the third device through the BLE chain network, wherein the networking mapping relationship includes a one-to-one correspondence between multiple device IDs and multiple BLE networking addresses.
[0060] For example, in this embodiment, a BLE chain network is formed based on the first device, the second device and the third device, and the chain communication between the devices is realized through the BLE chain network. In the BLE chain network, a chain connection is made between the devices, that is, the first device and the second device communicate with each other via Bluetooth via BLE, and the second device communicates with the third device via Bluetooth. Among them, the first device is the main device, and the control instructions are sent to other devices based on the BLE chain network through the main device. Before establishing the BLE chain network, the first device sends the BLE chain networking information to the second device, wherein the first device and the second device establish a wireless communication connection through BLE Bluetooth communication.
[0061] It is worth mentioning that the embodiments of the present disclosure are applicable to usage scenarios in which multiple smart devices exist, such as usage scenarios of smart home appliances. The first device is a master control device, which can be a user's mobile terminal, a master control platform, a central control terminal, etc. In this usage scenario, the user can control other smart devices in the scenario by operating the master control device. In this usage scenario, the first device can search for multiple other smart devices based on BLE technology. The first device numbers the multiple other smart devices based on the user's selection, determines the second device and the third device, and establishes a BLE communication connection with the second device, and then sends BLE chain networking information to the second device.
[0062] Based on the BLE communication between the second device and the first device, after receiving the BLE chain networking information, the second device joins the BLE chain networking and sends the BLE chain networking information to the third device. The second device may include one or more intelligent devices. When there is one second device, the BLE chain networking constructed by the current first device, the second device and the third device is three devices connected by a single line; when there are multiple second devices, the networking mode between the second devices is also a single-line connection, in which the head device receives the BLE chain networking information sent by the first device, and gradually transmits the information to other devices through the single-line networking, and then transmits it to the third device by the tail device. For example, the BLE chain networking information includes a BLE chain networking sequence. After the second device receives the BLE chain networking information, it searches for other smart devices in the current usage environment based on BLE Bluetooth communication by consulting the BLE chain networking sequence, determines the third device in the BLE chain networking from multiple searched smart devices, and after establishing a BLE communication connection with the third device, sends the BLE chain networking information to the third device.
[0063] The third device joins the BLE chain networking based on the received BLE chain networking information, and sends feedback information to the first device based on the BLE chain networking when determining that the current device is the end device of the BLE chain networking based on the BLE chain networking information. For example, the third device sends feedback information to the second device through the BLE chain networking, and the second device sends information on successful device joining to the first device based on the received feedback information, so as to prompt the first device that other devices in the BLE chain networking have joined the BLE chain networking. When the first device determines that the second device and the third device have both joined the BLE chain networking based on the BLE chain networking, the first device generates a network mapping relationship, wherein the network mapping relationship includes the device ID information of each device and the address information of each device in the BLE chain networking. The first device sends the networking mapping relationship to the first device and the second device through the BLE chain networking, so that other devices in the BLE chain networking can determine the position of each device in the network, as well as the upstream and downstream devices of the current device in the BLE chain networking based on the networking mapping relationship. Through the BLE chain networking method, each device in the network can establish a BLE communication connection with at most two other devices, avoiding the connection stability problems and data transmission efficiency problems caused by one device connecting to multiple devices, and realizing efficient and stable multi-device communication and collaboration.
[0064] For example, Figure 2 is a schematic diagram of a BLE chain networking structure according to an exemplary embodiment. Figure 2 As shown, the BLE chain network includes device A, device B, device C and device D.
[0065] In the BLE chain networking, device A is connected to device B, device B is connected to device C, and device C is connected to device D. In this way, BLE communication connection is performed, and based on the connected devices A, B, C, and D, a BLE chain networking is formed.
[0066] Optionally, in some embodiments, the system further comprises: a fourth device;
[0067] The first device is further used to send link adding information to the second device, where the link adding information is used to instruct the second device to add the fourth device to the BLE chain networking;
[0068] The second device is further configured to establish a BLE communication connection with a fourth device in response to receiving the link adding information;
[0069] a fourth device, configured to establish a BLE communication connection with a third device in response to establishing the BLE communication connection;
[0070] The third device is further configured to disconnect the communication connection with the second device in response to establishing a BLE communication connection with the fourth device.
[0071] For example, in this embodiment, the fourth device is a device that needs to be newly added to the BLE chain networking. When the user determines that the fourth device needs to be newly added to the BLE chain networking, the link addition information is sent to the second device through the BLE chain networking. For example, the link addition information includes the device ID information of the fourth device, and the link addition information is used to instruct the second device to add the fourth device to the BLE chain networking. After receiving the link addition information, the second device searches for the fourth device from the current use environment based on the device ID of the fourth device in the link addition information and based on BLE communication, and after searching for the fourth device, establishes a BLE communication connection with the fourth device. After the fourth device establishes a BLE communication connection with the second device, it can obtain the network mapping relationship corresponding to the current BLE chain networking, determine the relevant information of the third device, which is the downstream device of the second device, and then search for the third device from the current environment based on the device ID of the third device in the network mapping relationship, based on BLE communication, and establish a BLE communication connection between the fourth device and the third device. After the third device establishes a BLE communication connection with the fourth device, it disconnects the communication connection with the second device. Based on the above method, a fourth device is added to the BLE chain network, thereby realizing the extension demand of the BLE chain network.
[0072] Optionally, in some embodiments, the first device is also used to update the networking mapping relationship in response to determining that the fourth device joins the BLE chain network according to the position of the fourth device in the BLE chain network; and send the updated networking mapping relationship to the second device, the third device and the fourth device.
[0073] For example, in this embodiment, when the fourth device joins the BLE chain network, it is necessary to update the network mapping relationship in each device based on the newly established BLE chain network. For example, based on the position of the fourth device in the BLE chain network, the fourth device and other downstream devices after the fourth device are reallocated addresses, and the network mapping relationship in each device is updated based on the newly allocated address.
[0074] For example, Figure 3 is a schematic diagram of a BLE chain networking dynamic addition according to an exemplary embodiment, such as Figure 3 As shown, add a new device to the BLE chain network in the following way.
[0075] (1) In the existing BLE chain network (device A connects to device B, and device B connects to device D), device A sends link addition information to device B, so that device B is connected to device C;
[0076] (2) Device C connects to device D again, and then disconnects the connection between device B and device D. Based on the newly connected BLE chain network, it notifies other devices in the chain network to update the network mapping relationship.
[0077] Optionally, in some embodiments, the first device is further configured to establish a BLE communication connection with the third device according to the networking mapping relationship in response to the second device disconnecting the communication connection with the first device and the third device;
[0078] In response to establishing a BLE communication connection with a third device, the networking mapping relationship is updated.
[0079] For example, in this embodiment, the first device monitors the connection status of other devices in the network based on the BLE chain networking. When it is determined that the second device disconnects the communication connection between the first device and the third device, the third device, which is the downstream device of the second device, is searched for in the current usage scenario according to the networking mapping relationship, and a BLE communication connection is established between the third devices. After establishing the BLE communication connection with the third device, update information is sent to other devices in the newly constructed BLE chain networking, so that other devices update the networking mapping relationship.
[0080] For example, Figure 4 is a schematic diagram of deleting a node in a BLE chain networking according to an exemplary embodiment. Figure 4 shown.
[0081] In the currently established BLE chain network (device A is connected to device B, device B is connected to device C, and device C is connected to device D), the node of device C needs to be deleted.
[0082] (1) Device C notifies the upstream and downstream devices in the BLE chain network and disconnects from devices B and D. Then device B notifies the remaining nodes to update the network mapping relationship.
[0083] (2) Disconnect the connection between device C and device D first, and then disconnect the connection between device B and device C. Device D then turns on BLE broadcasting and searches for device B in the current usage environment. Device B then connects to device D based on the ID information of device D in the network mapping relationship, thus forming a new BLE chain network.
[0084] Optionally, in some embodiments, the first device is further used to send control information to the second device according to the BLE chain networking, and the control information is used to control the third device;
[0085] The second device is further configured to send the received control information to the third device according to the networking mapping relationship;
[0086] The third device is further used to execute corresponding control actions according to the control information.
[0087] For example, in this embodiment, the first device sends control information to other devices based on BLE chain networking. For example, the first device needs to control the third device based on BLE chain networking. The control information is first sent to the second device through BLE chain networking. It is worth mentioning that the control information includes the device ID corresponding to the third device. After receiving the control information, when the second device determines that the control information is not the control information of the second device based on the device ID, the control information is transmitted to the downstream third device based on the BLE chain networking. When the third device determines that the control information is the control information of the third device based on the device ID, it executes the control information to complete the corresponding control action.
[0088] Through the above method, the first device is used to send low-power Bluetooth BLE chain networking information to the second device, the BLE chain networking information is used to instruct the second device and the third device to join the BLE chain networking, the second device is used to join the BLE chain networking according to the BLE chain networking information, and send the BLE chain networking information to the third device, the third device is used to join the BLE chain networking according to the BLE chain networking information, the first device is also used to respond to the determination that the second device and the third device join the BLE chain networking, generate a networking mapping relationship, and send the networking mapping relationship to the second device and the third device through the BLE chain networking, and the networking mapping relationship includes a one-to-one correspondence between multiple device IDs and multiple BLE networking addresses. Thus, by constructing a network topology with a chain structure, efficient communication and writing between multiple Bluetooth devices can be achieved to meet the interconnection needs between multiple devices in the fields of the Internet of Things and smart homes.
[0089] Figure 5 is a flowchart of a Bluetooth communication method according to an exemplary embodiment, which is applied to a Bluetooth communication system, wherein the Bluetooth communication system includes a first device, a second device and a third device, such as Figure 5 As shown, the method includes the following steps.
[0090] In step S101, the first device sends Bluetooth low energy consumption (BLE) chain networking information to the second device, where the BLE chain networking information is used to instruct the second device and the third device to join the BLE chain networking.
[0091] In step S102, the second device joins the BLE chain networking according to the BLE chain networking information, and sends the BLE chain networking information to the third device.
[0092] In step S103, the third device joins the BLE chain networking according to the BLE chain networking information.
[0093] In step S104, the first device generates a BLE chain networking table in response to the second device and the third device joining the BLE chain networking, and sends the BLE chain networking table to the second device and the third device through the BLE chain networking, wherein the BLE chain networking table includes a one-to-one correspondence between multiple device IDs and multiple BLE networking addresses.
[0094] For example, the Bluetooth communication method in this embodiment is the same as the Bluetooth communication method in the above embodiment, and reference may be made to the above embodiment, which will not be described in detail here.
[0095] Optionally, in some implementations, the system further includes a fourth device, and the method further includes:
[0096] The first device sends link adding information to the second device, where the link adding information is used to instruct the second device to add the fourth device to the BLE chain networking;
[0097] In response to receiving the link adding information, the second device establishes a BLE communication connection with the fourth device;
[0098] In response to establishing the BLE communication connection, the fourth device establishes a BLE communication connection with the third device;
[0099] In response to establishing a BLE communication connection with the fourth device, the third device disconnects the communication connection with the second device.
[0100] In the above manner, the first device sends low-power Bluetooth BLE chain networking information to the second device, and the BLE chain networking information is used to instruct the second device and the third device to join the BLE chain networking. The second device joins the BLE chain networking according to the BLE chain networking information, and sends the BLE chain networking information to the third device. The third device joins the BLE chain networking according to the BLE chain networking information. The first device generates a network mapping relationship in response to determining that the second device and the third device join the BLE chain networking, and sends the network mapping relationship to the second device and the third device through the BLE chain networking. The network mapping relationship includes a one-to-one correspondence between multiple device IDs and multiple BLE network addresses. Thus, by constructing a network topology with a chain structure, efficient communication and writing between multiple Bluetooth devices can be achieved to meet the interconnection needs between multiple devices in the fields of the Internet of Things and smart homes.
[0101] Figure 6 is a flowchart of a Bluetooth communication method according to an exemplary embodiment, which is applied to a first device in a Bluetooth communication system, such as Figure 6 As shown, the method includes the following steps.
[0102] In step S201, low-power Bluetooth BLE chain networking information is sent to the second device in the Bluetooth communication system. The BLE chain networking information is used to instruct the second device to send the BLE chain networking information to the third device in the Bluetooth communication system, and to instruct the second device and the third device to join the BLE chain networking.
[0103] In step S202, in response to determining that the second device and the third device join the BLE chain networking, a networking mapping relationship is generated.
[0104] In step S203, the networking mapping relationship is sent to the second device and the third device through the BLE chain networking, and the networking mapping relationship includes a one-to-one correspondence between multiple device IDs and multiple BLE networking addresses.
[0105] Through the above method, low-power Bluetooth BLE chain networking information is sent to the second device in the Bluetooth communication system. The BLE chain networking information is used to instruct the second device to send the BLE chain networking information to the third device in the Bluetooth communication system, and to instruct the second device and the third device to join the BLE chain networking. In response to determining that the second device and the third device join the BLE chain networking, a network mapping relationship is generated, and the network mapping relationship is sent to the second device and the third device through the BLE chain networking. The network mapping relationship includes a one-to-one correspondence between multiple device IDs and multiple BLE networking addresses. Thus, by constructing a chain-structured network topology, efficient communication and writing between multiple Bluetooth devices can be achieved to meet the interconnection needs between multiple devices in the fields of the Internet of Things and smart homes.
[0106] The present disclosure also provides a computer-readable storage medium on which computer program instructions are stored. When the program instructions are executed by a processor, the steps of the Bluetooth communication method provided by the present disclosure are implemented.
[0107] Figure 7 7 is a block diagram of an electronic device according to an exemplary embodiment. For example, the electronic device 700 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, a fitness device, a personal digital assistant, etc.
[0108] Reference Figure 7 , the electronic device 700 may include one or more of the following components: a processing component 702 , a memory 704 , a power component 706 , a multimedia component 707 , an audio component 710 , an input / output interface 712 , a sensor component 714 , and a communication component 716 .
[0109] The processing component 702 generally controls the overall operation of the electronic device 700, such as operations associated with display, phone calls, data communications, camera operations, and recording operations. The processing component 702 may include one or more processors 720 to execute instructions to complete all or part of the steps of the above-mentioned Bluetooth communication method. In addition, the processing component 702 may include one or more modules to facilitate the interaction between the processing component 702 and other components. For example, the processing component 702 may include a multimedia module to facilitate the interaction between the multimedia component 707 and the processing component 702.
[0110] The memory 704 is configured to store various types of data to support operations on the electronic device 700. Examples of such data include instructions for any application or method operating on the electronic device 700, contact data, phone book data, messages, pictures, videos, etc. The memory 704 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk or optical disk.
[0111] The power supply component 706 provides power to the various components of the electronic device 700. The power supply component 706 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power to the electronic device 700.
[0112] The multimedia component 707 includes a screen that provides an output interface between the electronic device 700 and the user. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from the user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundaries of the touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 707 includes a front camera and / or a rear camera. When the electronic device 700 is in an operating mode, such as a shooting mode or a video mode, the front camera and / or the rear camera may receive external multimedia data. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
[0113] The audio component 710 is configured to output and / or input audio signals. For example, the audio component 710 includes a microphone (MIC), and when the electronic device 700 is in an operating mode, such as a call mode, a recording mode, and a voice recognition mode, the microphone is configured to receive an external audio signal. The received audio signal can be further stored in the memory 704 or sent via the communication component 716. In some embodiments, the audio component 710 also includes a speaker for outputting audio signals.
[0114] The input / output interface 712 provides an interface between the processing component 702 and the peripheral interface modules, which may be keyboards, click wheels, buttons, etc. These buttons may include but are not limited to: a home button, a volume button, a start button, and a lock button.
[0115] The sensor assembly 714 includes one or more sensors for providing various aspects of status assessment for the electronic device 700. For example, the sensor assembly 714 can detect the open / closed state of the electronic device 700, the relative positioning of components, such as the display and keypad of the electronic device 700, and the sensor assembly 714 can also detect the position change of the electronic device 700 or a component of the electronic device 700, the presence or absence of user contact with the electronic device 700, the orientation or acceleration / deceleration of the electronic device 700, and the temperature change of the electronic device 700. The sensor assembly 714 may include a proximity sensor configured to detect the presence of nearby objects without any physical contact. The sensor assembly 714 may also include an optical sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 714 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
[0116] The communication component 716 is configured to facilitate wired or wireless communication between the electronic device 700 and other devices. The electronic device 700 can access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof. In an exemplary embodiment, the communication component 716 receives a broadcast signal or broadcast-related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 716 also includes a near field communication (NFC) module to facilitate short-range communication. For example, the NFC module can be implemented based on radio frequency identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology and other technologies.
[0117] In an exemplary embodiment, the electronic device 700 may be implemented by one or more application-specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable gate arrays (FPGAs), controllers, microcontrollers, microprocessors or other electronic components to perform the above-mentioned Bluetooth communication method.
[0118] In an exemplary embodiment, a non-transitory computer-readable storage medium including instructions is also provided, such as a memory 704 including instructions, and the instructions can be executed by a processor 720 of an electronic device 700 to perform the above-mentioned Bluetooth communication method. For example, the non-transitory computer-readable storage medium can be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, etc.
[0119] In addition to being an independent electronic device, the above-mentioned device can also be a part of an independent electronic device. For example, in one embodiment, the device can be an integrated circuit (IC) or a chip, wherein the integrated circuit can be an IC or a collection of multiple ICs; the chip can include but is not limited to the following types: GPU (Graphics Processing Unit), CPU (Central Processing Unit), FPGA (Field Programmable Gate Array), DSP (Digital Signal Processor), ASIC (Application Specific Integrated Circuit), SOC (System on Chip, SoC), etc. The above-mentioned integrated circuit or chip can be used to execute executable instructions (or codes) to implement the above-mentioned Bluetooth communication method. The executable instructions can be stored in the integrated circuit or chip, or can be obtained from other devices or equipment, such as the integrated circuit or chip including a processor, a memory, and an interface for communicating with other devices. The executable instruction may be stored in the memory, and when the executable instruction is executed by the processor, the above-mentioned Bluetooth communication method may be implemented; alternatively, the integrated circuit or chip may receive the executable instruction through the interface and transmit it to the processor for execution, so as to implement the above-mentioned Bluetooth communication method.
[0120] In another exemplary embodiment, a computer program product is further provided. The computer program product includes a computer program executable by a programmable device, and the computer program has a code portion for executing the above Bluetooth communication method when executed by the programmable device.
[0121] Those skilled in the art will readily appreciate other embodiments of the present disclosure after considering the specification and practicing the present disclosure. The present disclosure is intended to cover any variations, uses or adaptations of the present disclosure that follow the general principles of the present disclosure and include common knowledge or customary techniques in the art that are not disclosed in the present disclosure. The description and examples are to be considered as exemplary only, and the true scope and spirit of the present disclosure are indicated by the following claims.
[0122] It should be understood that the present disclosure is not limited to the exact structures that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.
Claims
1. A Bluetooth communication system, characterized in that: include: a first device, a second device, and a third device; The first device is used to send low-power Bluetooth BLE chain networking information to the second device, and the BLE chain networking information is used to instruct the second device and the third device to join the BLE chain networking; The second device is used to join the BLE chain networking according to the BLE chain networking information, and send the BLE chain networking information to the third device; The third device is used to join the BLE chain networking according to the BLE chain networking information; The first device is also used to generate a networking mapping relationship in response to determining that the second device and the third device join the BLE chain network, and send the networking mapping relationship to the second device and the third device through the BLE chain network, wherein the networking mapping relationship includes a one-to-one correspondence between multiple device IDs and multiple BLE networking addresses.
2. The system according to claim 1, characterized in that The system further includes a fourth device; The first device is further used to send link adding information to the second device, wherein the link adding information is used to instruct the second device to add the fourth device to the BLE chain networking; The second device is further configured to establish a BLE communication connection with the fourth device in response to receiving the link addition information; The fourth device is configured to establish the BLE communication connection with the third device in response to establishing the BLE communication connection; The third device is further configured to disconnect the communication connection with the second device in response to establishing the BLE communication connection with the fourth device.
3. The system according to claim 2, characterized in that The first device is also used to update the networking mapping relationship in response to determining that the fourth device joins the BLE chain network according to the position of the fourth device in the BLE chain network; and send the updated networking mapping relationship to the second device, the third device and the fourth device.
4. The system according to claim 1, characterized in that The first device is further configured to establish a BLE communication connection with the third device according to the networking mapping relationship in response to the second device disconnecting the communication connection with the first device and the third device; In response to establishing the BLE communication connection with the third device, updating the networking mapping relationship.
5. The system according to claim 1, characterized in that The first device is further used to send control information to the second device according to the BLE chain networking, wherein the control information is used to control the third device; The second device is further configured to send the received control information to the third device according to the networking mapping relationship; The third device is further used to execute corresponding control actions according to the control information.
6. A Bluetooth communication method, characterized in that: Applied to a Bluetooth communication system, the system includes: a first device, a second device and a third device, and the method includes: The first device sends low-power Bluetooth BLE chain networking information to the second device, where the BLE chain networking information is used to instruct the second device and the third device to join the BLE chain networking; The second device joins the BLE chain networking according to the BLE chain networking information, and sends the BLE chain networking information to the third device; The third device joins the BLE chain networking according to the BLE chain networking information; The first device generates a BLE chain networking table in response to the second device and the third device joining the BLE chain networking, and sends the BLE chain networking table to the second device and the third device through the BLE chain networking, wherein the BLE chain networking table includes a one-to-one correspondence between multiple device IDs and multiple BLE networking addresses.
7. The method according to claim 6, characterized in that The system further includes a fourth device, and the method further includes: The first device sends link adding information to the second device, where the link adding information is used to instruct the second device to add the fourth device to the BLE chain networking; In response to receiving the link adding information, the second device establishes a BLE communication connection with the fourth device; In response to establishing the BLE communication connection, the fourth device establishes the BLE communication connection with the third device; In response to establishing the BLE communication connection with the fourth device, the third device disconnects the communication connection with the second device.
8. A Bluetooth communication method, characterized in that: Applied to a first device in a Bluetooth communication system, the method comprising: Sending low-power Bluetooth BLE chain networking information to a second device in the Bluetooth communication system, wherein the BLE chain networking information is used to instruct the second device to send the BLE chain networking information to a third device in the Bluetooth communication system, and to instruct the second device and the third device to join the BLE chain networking; In response to determining that the second device and the third device join the BLE chain networking, generating a networking mapping relationship; The networking mapping relationship is sent to the second device and the third device through the BLE chain networking, wherein the networking mapping relationship includes a one-to-one correspondence between multiple device IDs and multiple BLE networking addresses.
9. An electronic device, characterized in that: include: processor; a memory for storing processor-executable instructions; The processor is configured to execute the executable instructions to implement the steps of the Bluetooth communication method according to any one of claims 6 to 7.
10. A computer-readable storage medium having computer program instructions stored thereon, characterized in that: When the program instructions are executed by a processor, the steps of the method described in any one of claims 6 to 7 are implemented.
Citation Information
Cited By
Networking method and device, electronic equipment, chip and medium
CN121357640A