Local area network control system and method based on bluetooth and user datagram protocol
The local area network control system uses Bluetooth and UDP to facilitate centralized control of multiple devices within a network, addressing inefficiencies and cost issues associated with existing systems by eliminating the need for cloud services.
Patent Information
- Application Number
- JP2024184483
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-12-01
- Filing Date
- 2024-10-18
- Publication Date
- 2025-06-12
- Estimated Expiration
- 2044-10-18
AI Technical Summary
Existing local area network control systems are inconvenient and inefficient due to the need to switch between different interfaces to control multiple devices, and centralized control solutions that rely on cloud services are costly.
A local area network control system based on Bluetooth and User Datagram Protocol (UDP) that includes multiple Bluetooth devices and gateways, allowing for centralized control without cloud service access through the exchange of gateway information and routing data.
Enables convenient and efficient centralized control of multiple Bluetooth devices within a local area network without the need for cloud services, reducing costs and expanding application possibilities.
Smart Images

Figure 2025089257000001_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to a local area network control system, and more particularly to a local area network control system based on Bluetooth (registered trademark) and User Datagram Protocol. The present invention further relates to a local area network control system.
Background Art
[0002] In a local area network environment such as a home, office, or campus, users usually need to control multiple devices such as lighting fixtures, speakers, and televisions. However, since users usually need to use different applications or remote controls to control the above devices, they may need to switch between different interfaces. Such a control method is not only extremely inconvenient to use, but also very inefficient.
[0003] To solve this problem, solutions with centralized control functions have also emerged. With these solutions, convenience and efficiency have been greatly improved, and users can more easily control various devices within a local area network such as a home or office. However, in these solutions with centralized control functions, the use of cloud services is usually required, which significantly increases the cost of these solutions.
[0004] Both the specification of Chinese Patent Application Publication No. 116074398 and the specification of Chinese Patent Application Publication No. 116266905 disclose technical means related to control functions, but still cannot effectively solve the problems of the prior art.
Prior Art Documents
Patent Documents
[0005]
Patent Document 1
Patent Document 1
Summary of the Invention
Problems to be Solved by the Invention
[0006] An object of the present invention is to provide a local area network control system and method based on Bluetooth (registered trademark) and User Datagram Protocol.
Means for Solving the Problems
[0007] The present invention provides a local area network control system based on Bluetooth (registered trademark) and User Datagram Protocol, including a plurality of first Bluetooth devices, a first gateway, a plurality of second Bluetooth devices, a second gateway, and a control device. The first gateway manages a plurality of first Bluetooth devices. The second gateway manages a plurality of second Bluetooth devices. The first gateway broadcasts an information exchange request message based on the User Datagram Protocol. The second gateway receives and analyzes the information exchange request message to obtain the gateway information of the first gateway, and returns an information message based on the User Datagram Protocol to the first gateway. The first gateway receives and analyzes the information message to obtain the gateway information of the second gateway. The control device controls one or more of the plurality of first Bluetooth devices and the plurality of second Bluetooth devices via the first gateway or the second gateway.
[0008] As an improvement of the present invention, the gateway information of the first gateway includes the Internet address of the first gateway and the routing information of a plurality of first Bluetooth devices.
[0009] As an improvement of the present invention, the local area network control system further comprises a second local database. The second gateway stores the routing information of a plurality of first Bluetooth devices in the second local database, and transmits an information message to the first gateway based on the unicast mode of the User Datagram Protocol according to the Internet address of the first gateway.
[0010] As an improvement of the present invention, the gateway information of the second gateway includes the Internet address of the second gateway and the routing information of a plurality of second Bluetooth devices.
[0011] As an improvement of the present invention, the local area network control system further comprises a first local database. The first gateway stores the routing information of a plurality of second Bluetooth devices in the first local database, and transmits an information message to the second gateway based on the unicast mode of the User Datagram Protocol according to the Internet address of the second gateway.
[0012] The present invention provides a local area network control method based on Bluetooth (registered trademark) and the User Datagram Protocol, comprising the steps of broadcasting an information exchange request message based on the User Datagram Protocol through a first gateway for managing a plurality of first Bluetooth devices; receiving and analyzing the information exchange request message through a second gateway for managing a plurality of second Bluetooth devices, obtaining the gateway information of the first gateway, and returning an information message based on the User Datagram Protocol to the first gateway; receiving and analyzing the information message through the first gateway, and obtaining the gateway information of the second gateway; and the control device controlling one or more of the plurality of first Bluetooth devices and the plurality of second Bluetooth devices through the first gateway or the second gateway.
[0013] As an improvement of the present invention, the gateway information of the first gateway includes the Internet address of the first gateway and the routing information of a plurality of first Bluetooth devices.
[0014] As an improvement of the present invention, the process of receiving and analyzing an information exchange request message via a second gateway for managing the plurality of second Bluetooth devices, obtaining the gateway information of the first gateway, and returning an information message based on the User Datagram Protocol to the first gateway is as follows: further including storing the routing information of the plurality of first Bluetooth devices from the second gateway in a second local database, and returning an information message to the first gateway based on the unicast mode of the User Datagram Protocol according to the Internet address of the first gateway via the second gateway.
[0015] As an improvement of the present invention, the gateway information of the second gateway includes the Internet address of the second gateway and the routing information of a plurality of second Bluetooth devices.
[0016] As an improvement of the present invention, the local area network control method further includes storing the routing information of a plurality of second Bluetooth devices in a first local database via a first gateway, and returning a confirmation message to the second gateway based on the unicast mode of the User Datagram Protocol according to the Internet address of the second gateway via the first gateway.
Advantages of the Invention
[0017] Based on the above, the local area network control system and method based on Bluetooth (registered trademark) and User Datagram Protocol of the present invention can have one or more of the following advantages. (1) According to the disclosure of the present invention, a local area network control system includes a plurality of first Bluetooth devices, a first gateway, a plurality of second Bluetooth devices, a second gateway, and a control device. The first gateway manages the plurality of first Bluetooth devices. The second gateway manages the plurality of second Bluetooth devices. The first gateway broadcasts an information exchange request message based on the User Datagram Protocol. The second gateway receives and analyzes the information exchange request message to obtain the gateway information of the first gateway, and returns an information message based on the User Datagram Protocol to the first gateway. The first gateway receives and analyzes the information message to obtain the gateway information of the second gateway. The control device controls one or more of the plurality of first Bluetooth devices and the plurality of second Bluetooth devices via the first gateway or the second gateway. Through the above control mechanism, all gateways of the local area network can obtain the routing information of all Bluetooth (registered trademark) devices in the local area network, and the control device can control all Bluetooth (registered trademark) devices in the local area network via any gateway. Therefore, the control device can realize the centralized control function, which is more convenient in use and can achieve higher efficiency. (2) According to the disclosure of the present invention, the local area network control system can effectively integrate the Bluetooth (registered trademark) mesh network and the User Datagram Protocol, and can control all Bluetooth (registered trademark) devices in the local area network via any gateway without the need for the control device to access the cloud service, thereby realizing the centralized control function. Therefore, the cost of the local area network control system can be significantly reduced, the application of the local area network control system can be further expanded, and the requirements of different applications can be met. (3) According to the disclosure of the present invention, the local area network control system can effectively integrate the Bluetooth (registered trademark) mesh network and the User Datagram Protocol, so it has more flexibility in application and is more convenient to manage. Therefore, the local area network control system can more appropriately meet the needs of actual applications. (4) According to the disclosure of the present invention, the local area network control system can effectively integrate the Bluetooth (registered trademark) mesh network and the User Datagram Protocol, and can provide a special control mechanism. Therefore, in a situation where the WiFi signal is good, the control device can obtain the route information of all Bluetooth (registered trademark) devices in the local area network through any gateway based on the User Datagram Protocol, and in a situation where the WiFi signal is not good, the control device can obtain the route information of all Bluetooth (registered trademark) devices in the local area network through any gateway based on the Bluetooth (registered trademark) communication protocol. In this way, the control device can control all Bluetooth (registered trademark) devices in the local area network. Therefore, the local area network control system can achieve higher practicality and reliability. (5) According to the disclosure of the present invention, the local area network control system can effectively provide a centralized control function, so it can meet the requirements of most users and can be applied to various different intelligent applications. Therefore, the local area network control system can conform to the future development trend.
Brief Description of the Drawings
[0018]
Figure 1
Figure 2
Figure 3
Figure 4
Figure 5
Figure 6
Modes for Carrying Out the Invention
[0019] In the following embodiments, the detailed features and advantages of the present invention will be described. The content is sufficient for those skilled in the art to understand the technical content of the present invention and to enable its implementation accordingly. Moreover, through the disclosure content, claims, and drawings of this specification, those skilled in the art can easily understand the objectives and advantages of the present invention.
[0020] Hereinafter, with reference to the accompanying drawings, embodiments of a local area network control system and method based on Bluetooth (registered trademark) and User Datagram Protocol of the present invention will be described. However, for the sake of easy understanding and easy explanation in the drawings, each member in the drawings may be shown with exaggerated or reduced dimensions and ratios. In the following description and / or claims, when a member is described as being "connected" or "coupled" to another member, it may be directly connected or coupled to the other member, or there may be an intervening member. When a member is described as being "directly connected" or "directly coupled" to another member, there is no intervening member, and the same should be interpreted for other terms used to explain the relationship between members or layers. For easy understanding, the same members in the following embodiments will be described with the same reference numerals.
[0021] FIG. 1 is an explanatory diagram of a local area network control system based on Bluetooth (registered trademark) and User Datagram Protocol according to a first embodiment of the present invention. As shown in the figure, the local area network control system 1 includes a plurality of first Bluetooth devices 11A, a first gateway 12A, a first local database 13A, a plurality of second Bluetooth devices 11B, a second gateway 12B, a second local database 13B, and a control device 14. The number of the above gateways and Bluetooth (registered trademark) devices is merely an example and can be adjusted according to actual needs, and the present invention is not limited thereto.
[0022] The first gateway 12A is a Bluetooth (registered trademark) mesh network gateway and manages a plurality of first Bluetooth devices 11A. In one embodiment, the plurality of first Bluetooth devices 11A may be televisions, fans, speakers, computers, lighting fixtures, or various similar devices.
[0023] The first local database 13A is connected to the first gateway 12A. In one embodiment, the first local database 13A is a SQLite database. In another embodiment, the first local database 13A may be a MySQL (registered trademark) database, a PostgreSQL database, or an H2 database.
[0024] The second gateway 12B manages a plurality of second Bluetooth devices 11B and is a Bluetooth (registered trademark) mesh network gateway for managing the plurality of second Bluetooth devices 11B. In one embodiment, the plurality of second Bluetooth devices 11B may be a television, a fan, a speaker, a computer, a lighting fixture, or various similar devices.
[0025] The second local database 13B is connected to the second gateway 12B. In one embodiment, the second local database 13B is a SQLite database. In another embodiment, the first local database 13A may be a MySQL (registered trademark) database, a PostgreSQL database, or an H2 database.
[0026] The control device 14 can communicate with the first gateway 12A and the second gateway 12B. In one embodiment, the control device 14 is a smartphone. In another embodiment, the control device 14 is a tablet, a smartwatch, a laptop, or other similar device.
[0027] Of course, this embodiment is only used for illustrative explanation and does not limit the scope of the present invention. Equivalent modifications or changes made based on the Bluetooth (registered trademark) and user datagram protocol-based local area network control system of this embodiment should still be included in the protection scope of the present invention.
[0028] FIG. 2 is an explanatory diagram of a first operating state of a local area network control system based on Bluetooth (registered trademark) and User Datagram Protocol according to the first embodiment of the present invention. As shown in the figure, first, the first gateway 12A broadcasts an information exchange request message based on the User Datagram Protocol (UDP). Since the first gateway 12A does not have information about other gateways within the local area network, the first gateway 12A described above needs to broadcast an information exchange request message M1 based on the User Datagram Protocol. The information exchange request message M1 includes the gateway information of the first gateway. The gateway information of the first gateway includes the Internet (IP) address of the first gateway 12A and the routing information (topology information) of the plurality of first Bluetooth devices 11A.
[0029] Of course, this embodiment is only used for illustrative explanation and does not limit the scope of the present invention. Equivalent modifications or changes made based on the local area network control system based on Bluetooth (registered trademark) and User Datagram Protocol of this embodiment should still be included in the protection scope of the present invention.
[0030] FIG. 3 is an explanatory diagram of a second operating state of a local area network control system based on Bluetooth (registered trademark) and User Datagram Protocol according to the first embodiment of the present invention. As shown in the figure, the second gateway 12B receives the information exchange request message M1, analyzes the information exchange request message M1, and acquires the gateway information of the first gateway (including the Internet address of the first gateway 12A and the routing information of the plurality of first Bluetooth devices 11A). Thereafter, the second gateway 12B stores the routing information of the plurality of first Bluetooth devices 11A in the first local database 13A. In this way, the second gateway 12B can acquire the routing information of all Bluetooth (registered trademark) devices in the local area network (that is, the plurality of first Bluetooth devices 11A and the plurality of second Bluetooth devices 11B). Next, the second gateway 12B returns an information message M2 to the first gateway 12A based on the UDP unicast method according to the Internet address of the first gateway 12A. The information message M2 includes the gateway information of the second gateway 12B. The gateway information of the second gateway 12B includes the Internet address of the second gateway 12B and the routing information (topology information) of the plurality of second Bluetooth devices 11B.
[0031] Since the second gateway 12B has acquired the Internet address of the first gateway 12A, the second gateway 12B can directly return the information message M2 to the first gateway 12A based on the UDP unicast method, and can reduce the bandwidth occupied by this local area network.
[0032] Of course, this embodiment is only used for illustrative explanation and does not limit the scope of the present invention. Equivalent modifications or changes made based on the local area network control system based on Bluetooth (registered trademark) and User Datagram Protocol of this embodiment should still be included in the protection scope of the present invention.
[0033] FIG. 4 is an explanatory diagram of a third operating state of a local area network control system based on Bluetooth (registered trademark) and User Datagram Protocol according to the first embodiment of the present invention. As shown in the figure, the first gateway 12A receives the information message M2, analyzes the information message M2, and acquires gateway information of the second gateway 12B (including the Internet address of the second gateway 12B and the route information of the plurality of second Bluetooth devices 11B). Then, the first gateway 12A stores the route information of the plurality of second Bluetooth devices 11B in the second local database 13B. In this way, the first gateway 12A can acquire the route information of all Bluetooth (registered trademark) devices in the local area network (that is, the plurality of first Bluetooth devices 11A and the plurality of second Bluetooth devices 11B). Next, the first gateway 12A returns a confirmation message M3 to the second gateway 12B based on UDP unicast according to the Internet address of the second gateway 12B.
[0034] Similarly, since the first gateway 12A has acquired the Internet address of the second gateway 12B, the first gateway 12A can directly return the confirmation message M3 to the second gateway 12B based on the UDP unicast method, and reduce the bandwidth occupied by this local area network.
[0035] When the second gateway 12B has not received the confirmation message M3 from the first gateway 12A, the second gateway 12B periodically transmits the information message M2 to the first gateway 12A based on UDP unicast. Until the confirmation message M3 is received from the first gateway 12A, the second gateway 12B stops periodically transmitting the information message M2 to the first gateway 12A.
[0036] Through the above mechanism, all gateways within this local area network can obtain the routing information of all Bluetooth (registered trademark) devices within this local area network. Therefore, the control device 14 can control all Bluetooth (registered trademark) devices within this local area network via any gateway, and realize the centralized control function.
[0037] Of course, this embodiment is only used for illustrative explanation and does not limit the scope of the present invention. Equivalent modifications or changes made based on the Bluetooth (registered trademark) and local area network control system based on the User Datagram Protocol of this embodiment should still be included in the protection scope of the present invention.
[0038] FIG. 5 is an explanatory diagram of the fourth operating state of the local area network control system based on Bluetooth (registered trademark) and User Datagram Protocol according to the first embodiment of the present invention. As shown in the figure, the control device 14 transmits the control signal Cs to the first gateway 12A (or the second gateway 12B) to obtain the routing information of all Bluetooth (registered trademark) devices within this local area network (that is, the plurality of first Bluetooth devices 11A and the plurality of second Bluetooth devices 11B described above), and controls any Bluetooth (registered trademark) device within this local area network to realize the centralized control function.
[0039] If the WiFi signal is good, the control device 14 transmits the control signal Cs to the first gateway 12A (or the second gateway 12B) based on the User Datagram Protocol. If the WiFi signal is not good, the control device 14 transmits the control signal Cs to the first gateway 12A (or the second gateway 12B) based on the Bluetooth (registered trademark) communication protocol. In this way, the control device 14 can control all Bluetooth (registered trademark) devices within the local area network. Therefore, the local area network control system 1 can realize higher practicality and reliability.
[0040] When a third gateway (with a third local database connected to the third gateway) for managing a plurality of Bluetooth (registered trademark) devices is added to the local area network control system 1, this third gateway can execute the same operation mechanism as the above-described first gateway 12A. For example, the third gateway broadcasts an information exchange request message based on the User Datagram Protocol. The information exchange request message includes the gateway information of the third gateway. The gateway information of the third gateway includes the Internet address of the third gateway and the route information (topology information) of the plurality of Bluetooth (registered trademark) devices described above.
[0041] Thereafter, the first gateway 12A receives and analyzes the information exchange request message, obtains the gateway information of the third gateway (including the Internet address of the third gateway and the route information of the plurality of Bluetooth (registered trademark) devices), and stores the route information of the plurality of Bluetooth (registered trademark) devices in the first local database 13A. Similarly, the second gateway 12B receives and analyzes the information exchange request message, obtains the gateway information of the third gateway (including the Internet address of the third gateway and the route information of the plurality of Bluetooth (registered trademark) devices), and stores the route information of the plurality of Bluetooth (registered trademark) devices in the second local database 13B.
[0042] Next, since the first gateway 12A and the second gateway 12B have already obtained the Internet address of the third gateway, the first gateway 12A and the second gateway 12B return an information message to the third gateway based on the UDP unicast method.
[0043] The third gateway receives and analyzes the information message to obtain the gateway information of the first gateway 12A (including the Internet address of the first gateway 12A and the routing information of the plurality of first Bluetooth devices 11A) and the gateway information of the second gateway 12B (including the Internet address of the second gateway 12B and the routing information of the plurality of second Bluetooth devices 11B).
[0044] Finally, the third gateway stores the routing information of the plurality of first Bluetooth devices 11B and the routing information of the plurality of second Bluetooth devices 11B in the third local database, and returns a confirmation message to the first gateway 12A and the second gateway 12B.
[0045] From the above, through the above control mechanism, all gateways in the local area network can obtain the routing information of all Bluetooth (registered trademark) devices in the local area network. Therefore, it can be seen that the control device 14 can control all Bluetooth (registered trademark) devices in the local area network through any gateway. Therefore, the control device 14 can realize a centralized control function, which is more convenient in use and can achieve higher efficiency.
[0046] Also, in this embodiment, the local area network control system 1 can effectively integrate the Bluetooth (registered trademark) mesh network and the User Datagram Protocol, and can control all Bluetooth (registered trademark) devices in the local area network through any gateway without the need for the control device 14 to access the cloud service, and can realize a centralized control function. Therefore, the cost of the local area network control system 1 can be greatly reduced, the application of the local area network control system 1 can be further expanded, and the requirements of different applications can be met.
[0047] In addition, in this embodiment, the local area network control system 1 can effectively integrate the Bluetooth (registered trademark) mesh network and the User Datagram Protocol, making it more flexible in application and more convenient to manage. Therefore, the local area network control system 1 can more appropriately meet the requirements of actual applications.
[0048] Of course, this embodiment is only used for illustrative purposes and does not limit the scope of the present invention. Equivalent modifications or changes made based on the local area network control system according to the Bluetooth (registered trademark) and User Datagram Protocol of this embodiment should still be included in the protection scope of the present invention.
[0049] In the solutions with the conventional centralized control function, usually, the use of cloud services is required, and the costs of these solutions increase significantly. In contrast, according to the first embodiment of the present invention, the local area network control system includes a plurality of first Bluetooth devices, a first gateway, a plurality of second Bluetooth devices, a second gateway, and a control device. The first gateway manages the plurality of first Bluetooth devices. The second gateway manages the plurality of second Bluetooth devices. The first gateway broadcasts an information exchange request message based on the User Datagram Protocol. The second gateway receives and analyzes the information exchange request message to obtain the gateway information of the first gateway, and returns an information message based on the User Datagram Protocol to the first gateway. The first gateway receives and analyzes the information message to obtain the gateway information of the second gateway. The control device controls one or more of the plurality of first Bluetooth devices and the plurality of second Bluetooth devices via the first gateway or the second gateway. Through the above control mechanism, all gateways in the local area network can obtain the routing information of all Bluetooth (registered trademark) devices in the local area network, and the control device can control all Bluetooth (registered trademark) devices in the local area network via any gateway. Therefore, the control device can realize the centralized control function, which is more convenient in use and can achieve higher efficiency.
[0050] Also, according to the first embodiment of the present invention, the local area network control system can effectively integrate the Bluetooth (registered trademark) mesh network and the User Datagram Protocol, and can control all Bluetooth (registered trademark) devices in the local area network via any gateway without the need for the control device to go through the cloud service, thereby realizing the centralized control function. Therefore, the cost of the local area network control system can be significantly reduced, the application of the local area network control system can be further expanded, and the requirements of different applications can be satisfied.
[0051] Also, according to the first embodiment of the present invention, since the local area network control system can effectively integrate the Bluetooth (registered trademark) mesh network and the User Datagram Protocol, it has more flexibility in application and is more convenient to manage. Therefore, the local area network control system can more appropriately meet the needs of actual applications.
[0052] Also, according to the first embodiment of the present invention, the local area network control system effectively integrates the Bluetooth (registered trademark) mesh network and the User Datagram Protocol, and can provide a special control mechanism. Therefore, in a situation where the WiFi signal is good, the control device can obtain the routing information of all Bluetooth (registered trademark) devices in the local area network via any gateway based on the User Datagram Protocol, and in a situation where the WiFi signal is not good, the control device can obtain the routing information of all Bluetooth (registered trademark) devices in the local area network via any gateway based on the Bluetooth (registered trademark) communication protocol. In this way, the control device can control all Bluetooth (registered trademark) devices in the local area network. Therefore, the local area network control system can achieve higher practicality and reliability.
[0053] Furthermore, according to the first embodiment of the present invention, since the local area network control system can effectively provide a centralized control function, it can meet the requirements of most users and can be applied to various different intelligent applications. Therefore, the local area network control system can conform to the trend of future development. From the above, it can be seen that the Bluetooth (registered trademark) and user datagram protocol-based local area network control system according to the embodiment of the present invention can surely achieve excellent technical results.
[0054] FIG. 6 is a flowchart of a local area network control method based on Bluetooth (registered trademark) and user datagram protocol according to the second embodiment of the present invention. As shown in the figure, the local area network control method of this embodiment includes the following steps. Step S61: Broadcast an information exchange request message based on the user datagram protocol via a first gateway for managing a plurality of first Bluetooth devices. Step S62: Receive and analyze the information exchange request message via a second gateway for managing a plurality of second Bluetooth devices, obtain the gateway information of the first gateway, and the gateway information of the first gateway includes the Internet address of the first gateway and the routing information of the plurality of first Bluetooth devices. Step S63: The second gateway stores the routing information of the plurality of first Bluetooth devices in a second local database. Step S64: The second gateway returns an information message to the first gateway based on the user datagram protocol unicast method according to the Internet address of the first gateway. Step S65: Receive and analyze the information message via the first gateway, obtain the gateway information of the second gateway, and the gateway information of the second gateway includes the Internet address of the second gateway and the routing information of the plurality of second Bluetooth devices. Step S66: The first gateway stores the route information of a plurality of second Bluetooth devices in the first local database. Step S67: The first gateway returns a confirmation message to the second gateway based on the User Datagram Protocol unicast method according to the Internet address of the second gateway. Step S68: The control device controls one or more of the plurality of first Bluetooth devices and the plurality of second Bluetooth devices via the first gateway or the second gateway.
[0055] Of course, this embodiment is only used for illustrative purposes and does not limit the scope of the present invention. Equivalent modifications or changes made based on the Bluetooth (registered trademark) and the local area network control method based on the User Datagram Protocol of this embodiment should still be included in the protection scope of the present invention.
[0056] The steps of the method described in the present invention are shown and described in a specific order, but the order of operations of each method may be changed. Some steps may be executed in reverse order or simultaneously with other steps. In another embodiment, different steps may be performed intermittently and / or alternately.
[0057] In summary, according to the first and second embodiments of the present invention, the local area network control system includes a plurality of first Bluetooth devices, a first gateway, a plurality of second Bluetooth devices, a second gateway, and a control device. The first gateway manages the plurality of first Bluetooth devices. The second gateway manages the plurality of second Bluetooth devices. The first gateway broadcasts an information exchange request message based on the User Datagram Protocol. The second gateway receives and analyzes the information exchange request message to obtain the gateway information of the first gateway, and returns an information message based on the User Datagram Protocol to the first gateway. The first gateway receives and analyzes the information message to obtain the gateway information of the second gateway. The control device controls one or more of the plurality of first Bluetooth devices and the plurality of second Bluetooth devices via the first gateway or the second gateway. Through the above control mechanism, all gateways in the local area network can obtain the routing information of all Bluetooth (registered trademark) devices in the local area network, and the control device can control all Bluetooth (registered trademark) devices in the local area network via any gateway. Therefore, the control device can realize the centralized control function, which is more convenient in use and can achieve higher efficiency.
[0058] Also, according to the first embodiment of the present invention, the local area network control system can effectively integrate the Bluetooth (registered trademark) mesh network and the User Datagram Protocol, and can control all Bluetooth (registered trademark) devices in the local area network via any gateway without the need for the control device to access the cloud service, thereby realizing the centralized control function. Therefore, the cost of the local area network control system can be significantly reduced, the application of the local area network control system can be further expanded, and the requirements of different applications can be met.
[0059] In addition, according to the first embodiment of the present invention, since the local area network control system can effectively integrate the Bluetooth (registered trademark) mesh network and the User Datagram Protocol, it has greater flexibility in application and more convenient management. Therefore, the local area network control system can more appropriately meet the requirements of actual applications.
[0060] In addition, according to the first embodiment of the present invention, the local area network control system can effectively integrate the Bluetooth (registered trademark) mesh network and the User Datagram Protocol, and can provide a special control mechanism. Therefore, in a situation where the WiFi signal is good, the control device can obtain the routing information of all Bluetooth (registered trademark) devices in the local area network through any gateway based on the User Datagram Protocol, and in a situation where the WiFi signal is not good, it can obtain the routing information of all Bluetooth (registered trademark) devices in the local area network through any gateway based on the Bluetooth (registered trademark) communication protocol. In this way, the control device can control all Bluetooth (registered trademark) devices in the local area network. Therefore, the local area network control system can achieve higher practicality and reliability.
[0061] Furthermore, according to the first embodiment of the present invention, since the local area network control system can effectively provide a centralized control function, it can meet the requirements of most users and can be applied to various different intelligent applications. Therefore, the local area network control system can conform to the trend of future development.
[0062] Although the above embodiments have been described in this specification, it should be noted that they do not limit the scope of the claims of the present invention. Therefore, any changes and modifications to the embodiments described in this specification based on the innovative concept of the present invention, or substitutions of equivalent structures or equivalent processes made using the content of the specification and drawings of the present invention, and the direct or indirect application of the above technical solutions to other related technical fields are all included in the scope of the claims of the present invention.
Explanation of Reference Numerals
[0063] 1 Local Area Network Control System 11A A plurality of first Bluetooth devices 12A First Gateway 13A First Local Database 11B A plurality of second Bluetooth devices 12B Second Gateway 13B Second Local Database 14 Control Device M1 Information Exchange Request Message M2 Information Message M3 Confirmation Message Cs Control Signal S61 Step S62 Step S63 Step S64 Step S65 Step S66 Step S67 Step S68 Step
Claims
1. a plurality of first Bluetooth devices; a first gateway for managing the plurality of first Bluetooth devices; a plurality of second Bluetooth devices; a second gateway for managing the plurality of second Bluetooth devices; A control device; Equipped with A local area network control system based on Bluetooth and User Datagram Protocol, characterized in that the first gateway is used to broadcast an information exchange request message based on a User Datagram Protocol, the second gateway is used to receive and analyze the information exchange request message to obtain gateway information of the first gateway and to send an information message based on a User Datagram Protocol to the first gateway, the first gateway receives and analyzes the information message to obtain gateway information of the second gateway, and the control device controls one or more of the first plurality of Bluetooth devices and the second plurality of Bluetooth devices via the first gateway or the second gateway.
2. 2. The local area network control system based on Bluetooth and User Datagram Protocol as claimed in claim 1, wherein the gateway information of the first gateway includes an Internet address of the first gateway and route information of the plurality of first Bluetooth devices.
3. The local area network control system based on Bluetooth and User Datagram Protocol as claimed in claim 2, further comprising: a second local database, wherein the second gateway stores route information of the first plurality of Bluetooth devices in the second local database, and sends the information message to the first gateway according to the Internet address of the first gateway based on the unicast method of User Datagram Protocol, so that the second gateway has the route information of the first plurality of Bluetooth devices and the route information of the second plurality of Bluetooth devices.
4. 2. The local area network control system based on Bluetooth and User Datagram Protocol as claimed in claim 1, wherein the gateway information of the second gateway includes an internet address of the second gateway and route information of the second plurality of Bluetooth devices.
5. The local area network control system based on Bluetooth and User Datagram Protocol as claimed in claim 4, further comprising: a first local database; the first gateway stores route information of the second Bluetooth devices in the first local database; and sends the information message to the second gateway according to the Internet address of the second gateway based on the unicast method of User Datagram Protocol, so that the first gateway has the route information of the first Bluetooth devices and the route information of the second Bluetooth devices.
6. broadcasting an information exchange request message based on a User Datagram Protocol via a first gateway for managing a plurality of first Bluetooth devices; receiving and analyzing an information exchange request message via a second gateway for managing a plurality of second Bluetooth devices, obtaining gateway information of the first gateway, and returning an information message based on a user datagram protocol to the first gateway; receiving and analyzing the information message via the first gateway to obtain gateway information of the second gateway; a control device controlling one or more of the first plurality of Bluetooth devices and the second plurality of Bluetooth devices via the first gateway or the second gateway; 11. A method for controlling a local area network based on Bluetooth and User Datagram Protocol, comprising:
7. 7. The method of claim 6, wherein the gateway information of the first gateway includes an internet address of the first gateway and route information of the first plurality of Bluetooth devices.
8. receiving and analyzing the information exchange request message via the second gateway for managing the second plurality of Bluetooth devices, obtaining gateway information of the first gateway, and returning the information message based on a User Datagram Protocol to the first gateway; storing route information of the first plurality of Bluetooth devices from the second gateway in a second local database; returning the information message to the first gateway according to an internet address of the first gateway via the second gateway based on a unicast method of a User Datagram Protocol, so that the second gateway has route information of the first plurality of Bluetooth devices and route information of the second plurality of Bluetooth devices; 8. The method for controlling a local area network based on Bluetooth and User Datagram Protocol as claimed in claim 7, further comprising:
9. 7. The local area network control information based on Bluetooth and User Datagram Protocol as claimed in claim 6, wherein the gateway information of the second gateway includes an internet address of the second gateway and route information of the plurality of second Bluetooth devices.
10. storing route information of the plurality of second Bluetooth devices through the first gateway in a first local database; 10. The method for controlling a local area network based on Bluetooth and User Datagram Protocol as claimed in claim 9, further comprising: returning a confirmation message to the second gateway according to a unicast method of User Datagram Protocol via the first gateway according to the internet address of the second gateway, so as to let the first gateway have route information of the first plurality of Bluetooth devices and route information of the second plurality of Bluetooth devices.
Citation Information
Patent Citations
Method and device for supporting selective forwarding of messages in a network of communicatively coupled communication devices
JP2021536711A
Bluetooth and WiFi multi-protocol wireless communication system based on home interior
CN116074398A
Data processing method
CN116266905A