Automatic switching method for Mesh talkback and 5G data network talkback

By introducing the method of automatically switching to 5G data network in Bluetooth Mesh intercom technology, the problem of voice data loss when nodes are disconnected is solved, real-time and coherent integrity of voice data transmission is achieved, and the Bluetooth intercom equipment is improved User experience.

CN119485559APending Publication Date: 2025-02-18SHENZHEN AIQISHI INTELLIGENT TECHNOLOGY CO LTD

Patent Information

Application Number
CN202411588682.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-11-08
Publication Date
2025-02-18

AI Technical Summary

Technical Problem

The existing Bluetooth Mesh intercom technology loses voice data when the node is disconnected, resulting in the real-time and coherent integrity of voice data transmission, and the coherent communication function cannot be realized.

Method used

Using the automatic switching method of Mesh intercom and 5G data network intercom, create a Mesh network through Bluetooth devices, and automatically switch to the data network mode when the node is offline, and use the cloud to transmit and process voice data to ensure the voice of the lost node. Data transmission and reception.

Benefits of technology

It realizes real-time and coherent integrity of voice data transmission when the device node is offline, ensures the stability and integrity of voice data, and improves the user experience of Bluetooth intercom devices.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119485559A_ABST
    Figure CN119485559A_ABST
Patent Text Reader

Abstract

The invention relates to an automatic switching method for Mesh talkback and 5G data network talkback, which comprises the following steps: a Bluetooth device creates a Mesh network and performs Mesh networking; one node is used as a main node, and an online group is created on the APP through the main node; all Bluetooth devices communicate with the APP through a bidirectional dynamic heartbeat data mode, and information synchronization is carried out on a virtual network formed by cloud mapping nodes; voice data among the online nodes are communicated in a Mesh mode; and when the node of the Bluetooth equipment is offline or reconnected, the node equipment is automatically switched to the data network mode through the APP, and networking communication is carried out by using the data network mode through the cloud. According to the automatic switching method of the Mesh talkback and the 5G data network talkback, the online condition of the equipment is monitored in real time, and when the equipment / node is offline, the cloud network is automatically switched to transmit voice data, so that normal voice data transmission and receiving of disconnected nodes are ensured, and the real-time performance and coherence integrity of voice data transmission are ensured.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention application relates to the relevant technical field of wireless communication, and in particular to an automatic switching method between Mesh intercom and 5G data network intercom. Background Art

[0002] Among the related technologies, Bluetooth intercom technology is widely used in various fields, such as security intercom, off-road vehicle calls, and small-scale communication fields such as outdoor engineering command. Intercom equipment uses the mesh mechanism to form a voice network to realize real-time intercom function. Voice data can be transmitted within the coverage range of the Bluetooth signal.

[0003] The advantages of Bluetooth device communication are its short-range wireless connection, low power consumption, easy pairing and setup, small size and low cost, but its transmission distance is limited, the data transmission rate is relatively low, the connection stability may be affected by interference, and the compatibility issues between devices affect the normal communication between devices. Due to the obstruction of buildings or large and small hillsides and other obstacles in the use site, as well as the interference of signals in their respective bands, the strength and reception sensitivity of Bluetooth signals will be affected by different usage scenarios, and intermittent situations often occur, affecting the real-time and coherent integrity of voice data transmission. In the existing mesh voice network, when a node is disconnected, the voice data of other nodes is lost, and voice can only be maintained in each sub-mesh network. The lost node cannot receive or send the uplink and downlink voice data of the node, which affects the voice data transmission of all other nodes and the lost node, thereby affecting the user experience of Bluetooth intercom devices and failing to achieve coherent communication functions.

[0004] The advantages of data network communication are its wide coverage, high data transmission rate, support for multiple devices and services, and ability to achieve long-distance communication. Bluetooth is more efficient than data networks in short-distance communications, thus creating a complementary scenario logic mode between Bluetooth Mesh networks and data networks, reducing data packet loss. Summary of the invention

[0005] In order to overcome the problems existing in the related art, the present invention provides an automatic switching method between Mesh intercom and 5G data network intercom, which integrates Bluetooth data communication and data network to effectively break the environmental and distance barriers, reduce the loss of data packets, and maintain the real-time and coherent integrity of voice data transmission.

[0006] The present invention application provides a method for automatically switching between Mesh intercom and 5G data network intercom, comprising:

[0007] S1, the Bluetooth device creates a Mesh network and performs Mesh networking. The Mesh networking marks the device_id of all Bluetooth devices and the node information; generates a group identifier mesh_group_id. The mesh_group_id of Bluetooth devices in the same Mesh networking is the same;

[0008] S2, one of the nodes is used as the master node, and an online group is created on the APP through the master node; all Bluetooth devices join the online group through the APP, report their node information to the cloud, and map the nodes on the cloud to form a virtual network; all Bluetooth devices in the cloud group have the same network_group_id;

[0009] S3, all Bluetooth devices communicate with the APP through a two-way dynamic heartbeat data mode, synchronize the status of the Bluetooth device with the virtual network formed by the cloud mapping node in real time, and realize the synchronous marking of the signal strength and online status of the Bluetooth device;

[0010] S4, in the communication within the network, the Mesh mode has a higher priority than the data network mode; the voice data between online nodes is communicated through the Mesh mode first;

[0011] S5, the node of the Bluetooth device is offline, and the node device automatically switches to the data network mode through the APP, and uses the data network mode to communicate through the cloud;

[0012] S6, when the device node is detected to be offline, the offline node information is reported and the current node voice data is uploaded; the cloud receives the node voice data, processes the node and voice data, and determines whether there is cloud data voice. If there is cloud data voice, the node voice data is mixed with the cloud data voice and then the voice data is played; if there is no data voice, the received node voice data is played directly;

[0013] S7, when it is detected that the device node is offline and there are multiple Mesh networks, the current node voice data is uploaded, the cloud receives the node voice data, processes the node and voice data, and determines whether there is cloud data voice. If there is cloud data voice, the node voice data is mixed with the cloud data voice and then the voice data is played; if there is no data voice, the received node voice data is played directly.

[0014] In the above-mentioned automatic switching method between Mesh intercom and 5G data network intercom, in S2, all Bluetooth devices in the virtual networking are in the same network_group_id, the same Mesh node is assigned the same mesh_group_id in the cloud, the network_group_id is equivalent to the parent of the mesh_group_id in the cloud, and the devices with the same network_group_id communicate in data network mode through the cloud.

[0015] In the above-mentioned automatic switching method between Mesh intercom and 5G data network intercom, in S3, after the cloud receives the data information, when it finds that a device Mesh is offline, it will send the offline device to all devices in the same network_group_id. At this time, when all devices send voice information, they need to send the Mesh voice data packet at the same time and send it to the cloud through the APP, and then the cloud will send it to the offline device.

[0016] In the above-mentioned automatic switching method between Mesh intercom and 5G data network intercom, when there are offline nodes, if multiple nodes send voice at the same time, the cloud will mix the voice data and send the mixed voice data to the offline devices in the same network_group_id.

[0017] In the above-mentioned automatic switching method between Mesh intercom and 5G data network intercom, when there are offline nodes, all Mesh online devices receive Mesh device voice data and cloud voice data at the same time, and mix the Mesh device voice data and cloud voice data through the APP and then play them.

[0018] In the above-mentioned automatic switching method between Mesh intercom and 5G data network intercom, when the device Mesh node is offline and the cloud heartbeat data of the node is offline, the node is judged to be off-team, and the cloud heartbeat data mode is used to inform the remaining online nodes of the off-team node; the off-team node is judged as non-existent, and voice data does not need to be sent to the off-team node.

[0019] In the above automatic switching method between Mesh intercom and 5G data network intercom, the offline Mesh is reconnected, and the cloud heartbeat data is automatically reconnected to determine whether the node is online. When the node reconnects to the Mesh or the cloud heartbeat data is reconnected, the cloud determines and sends a message to the node whether the node device needs to upload voice data.

[0020] In the above-mentioned automatic switching method between Mesh intercom and 5G data network intercom, in S4, S41, in the same mesh_group_id network, if the voice data does not contain the voice of the offline device, the device only plays the Mesh voice data; S42, in the same mesh_group_id network, Mesh online nodes transmit data through the Mesh network. If there is an offline device, the node sending voice data also sends the voice data through the APP; S43, in the same network_group_id, data between different mesh_group_ids are sent and received in the form of a cloud network.

[0021] In the above-mentioned automatic switching method between Mesh intercom and 5G data network intercom, the data nodes are marked with authority levels through the APP. The authority level of the master node is higher than that of the ordinary node, and it has the highest authority to operate the network, allowing the master node to control data communications of all Mesh nodes.

[0022] In the above-mentioned automatic switching method between Mesh intercom and 5G data network intercom, the master node sets whether to allow the addition of external device users; and specifies the device to set the listening mode, that is, only allowing the reception of voice data but not sending.

[0023] The technical solution provided by the present invention application may include the following beneficial effects: This automatic switching method between Mesh intercom and 5G data network intercom, by real-time monitoring of the online status of the device, automatically switches to the cloud network to transmit voice data when the device / node is offline, so as to ensure normal voice data transmission and reception of the lost node, and ensure the real-time and coherent integrity of voice data transmission. The online nodes continue to use the Mesh network to transmit voice data, and use the cloud network transmission as a backup channel when the node is lost. The channel is enabled in time to ensure the stability and integrity of voice data transmission. By uploading the device information and voice data to the cloud through the APP, the cloud forwards the voice data of each node according to the loss of connection of the Mesh network node, which ensures the normal transmission of voice data when the node is lost, and achieves the effect of all nodes transmitting voice data online in real time and uninterruptedly.

[0024] 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 invention. BRIEF DESCRIPTION OF THE DRAWINGS

[0025] The above and other objects, features and advantages of the present invention will become more apparent by describing in more detail the exemplary embodiments of the present invention in conjunction with the accompanying drawings, wherein the same reference numerals generally represent the same components in the exemplary embodiments of the present invention.

[0026] Figure 1It is a flowchart of an automatic switching method between Mesh intercom and 5G data network intercom shown in an embodiment of the present invention;

[0027] Figure 2 It is a flowchart of a single node voice processing in a Mesh intercom of an automatic switching method between a Mesh intercom and a 5G data network intercom shown in an embodiment of the present invention;

[0028] Figure 3 It is an application example of complete Mesh internal communication in the automatic switching method between Mesh intercom and 5G data network intercom shown in the embodiment of the present invention, when the same Mesh network is fully online;

[0029] Figure 4 It is an example of the communication method between devices in the same Mesh network when some devices are offline in the automatic switching method between Mesh intercom and 5G data network intercom shown in the embodiment of the present invention;

[0030] Figure 5 It is an example of the communication method between devices in the case where some devices in the same Mesh network leave the team in the automatic switching method between Mesh intercom and 5G data network intercom shown in the embodiment of the present invention;

[0031] Figure 6 It is an example of the communication mode of all devices when all Mesh networks are online in the automatic switching method of Mesh intercom and 5G data network intercom shown in the embodiment of the present invention;

[0032] Figure 7 It is an example of the automatic switching method between Mesh intercom and 5G data network intercom shown in the embodiment of the present invention, in which different Mesh networks have some devices offline and all devices communicate in a manner;

[0033] Figure 8 It is an example of the communication mode of all devices when some devices leave the team in different Mesh networks of the automatic switching method between Mesh intercom and 5G data network intercom shown in the embodiment of the present invention;

[0034] Fig. 9 This is an application example of the automatic switching method between Mesh intercom and 5G data network intercom shown in the embodiment of the present invention, in which the same Mesh network is fully online and completely communicated within the Mesh. DETAILED DESCRIPTION

[0035] The preferred embodiments of the present invention will be described in more detail below with reference to the accompanying drawings. Although the preferred embodiments of the present invention are shown in the accompanying drawings, it should be understood that the present invention can be implemented in various forms and should not be limited by the embodiments described herein. On the contrary, these embodiments are provided to make the present invention more thorough and complete, and to fully convey the scope of the present invention to those skilled in the art.

[0036] The terms used in this application are only for the purpose of describing specific embodiments and are not intended to limit this application. The singular forms of "a", "said" and "the" used in this application and the appended claims are also intended to include plural forms unless the context clearly indicates other meanings. It should also be understood that the term "and / or" used herein refers to and includes any or all possible combinations of one or more associated listed items.

[0037] It should be understood that although the terms "first", "second", "third", etc. may be used to describe various information in the present application, this information should not be limited to these terms. These terms are only used to distinguish the same type of information from each other. For example, without departing from the scope of the present application, the first information may also be referred to as the second information, and similarly, the second information may also be referred to as the first information. Thus, the features defined as "first" and "second" may explicitly or implicitly include one or more of the features. In the description of the present application, the meaning of "plurality" is two or more, unless otherwise clearly and specifically defined.

[0038] The technical solutions of the embodiments of the present invention are described in detail below with reference to the accompanying drawings.

[0039] See also Figures 1 to 8 The present invention provides an automatic switching method between Mesh intercom and 5G data network intercom, including:

[0040] S1, the Bluetooth device creates a Mesh network and performs Mesh networking. The Mesh networking marks the device_id of all Bluetooth devices and the node information; generates a group identifier mesh_group_id, and the mesh_group_id of the Bluetooth devices in the same Mesh networking is the same.

[0041] S2, one of the nodes is used as the master node, and an online group is created on the APP through the master node; all Bluetooth devices join the online group through the APP, report their node information to the cloud, and map the nodes on the cloud to form a virtual network; all Bluetooth devices in the cloud group have the same network_group_id.

[0042] In S2, further comprising, S21, all Bluetooth devices in the virtual network are in the same network_group_id. S22, the same Mesh node is assigned the same mesh_group_id in the cloud, the network_group_id is equivalent to the parent of the mesh_group_id in the cloud, and the devices with the same network_group_id communicate in data network mode through the cloud.

[0043] S3, all Bluetooth devices communicate with the APP through a two-way dynamic heartbeat data mode, and synchronize the status of the Bluetooth device with the virtual network formed by the cloud mapping node in real time, so as to synchronize the signal strength and online status of the Bluetooth device. That is, all devices communicate with the APP through Bluetooth, and continuously report the current device Mesh online status and the surrounding Mesh device node status to the cloud in the heartbeat data mode. After receiving the data, the cloud processes the received data and sends the status information of the remaining devices in the same Mesh network in the same heartbeat data mode, so as to synchronize the status of online and offline devices.

[0044] In S3, it further includes:

[0045] S31, after the Bluetooth device passes the APP, it continuously sends the collected data to the cloud through the heartbeat data mode, including the device's current Mesh networking status information, device information, communication status, acquired surrounding node status, etc., and the cloud processes the basic information of the device status.

[0046] S32, after the cloud receives the data information, when it finds that a device Mesh is offline, it will send the node of the offline device to all devices in the same network_group_id. At this time, when all online devices send voice information, they need to send Mesh voice data packets at the same time and send them to the cloud through the APP, and then the cloud will send them to the offline devices.

[0047] S33, when there are offline nodes, if multiple nodes send voice at the same time, the cloud will mix the voice data and send the mixed voice data to the offline devices in the same network_group_id.

[0048] S34, when there are offline nodes, all Mesh online devices receive the Mesh device voice data and the cloud voice data at the same time, and mix the Mesh device voice data and the cloud voice data through the APP and then play them.

[0049] S35, when the device Mesh node is offline and the cloud heartbeat data of the node is offline, the node is judged to be off-line. For the off-line node, the cloud heartbeat data mode is used to inform the other online nodes; the off-line node is judged as non-existent, and the voice data does not need to be sent to the off-line node.

[0050] S36, offline Mesh reconnection, cloud heartbeat data automatically reconnects, and determines that the node is online.

[0051] S4, in the communication within the network, the Mesh mode has a higher priority than the data network mode; the voice data between online nodes is communicated through the Mesh mode first;

[0052] In S4, S41, within the same mesh_group_id network, if the voice data does not contain the voice of the offline device, the device only plays the Mesh voice data. S42, within the same mesh_group_id network, Mesh online nodes transmit data through the Mesh network. If there is an offline device, the node sending voice data also sends voice data through the APP. S43, within the same network_group_id, data between different mesh_group_ids is sent and received in the form of a cloud network. That is, all Mesh nodes in different sub-networks must perform the operation of step S42 when sending voice data.

[0053] S5, the node of the Bluetooth device is offline, the node device automatically switches to the data network mode through the APP, and uses the data network mode for networking communication through the cloud. That is, when the device monitors that the Mesh is offline, the node device automatically switches to the data network through the APP and communicates through the cloud.

[0054] S6, when the device node is detected to be offline, the Bluetooth device reports the offline node information and uploads the current node voice data; the cloud receives the node voice data, processes the node and voice data, and determines whether there is cloud data voice. If there is cloud data voice, the node voice data is mixed with the cloud data voice and then the voice data is played; if there is no data voice, the received node voice data is played directly;

[0055] S7, when the device node is detected to be offline, if there are multiple Mesh networks, the current node voice data is uploaded, the cloud receives the node voice data, processes the node and voice data, and determines whether there is cloud data voice. If there is cloud data voice, the node voice data is mixed with the cloud data voice and then the voice data is played; if there is no data voice, the received node voice data is played directly.

[0056] The data nodes are marked with authority levels through the APP. The authority level of the master node is higher than that of the ordinary node, and it has the highest authority to operate the network, allowing the master node to control the data of all Mesh node communications. Specific operations include setting whether the master node allows the addition of external device users; setting the listening mode of the specified device, that is, only allowing the reception of voice data but not sending.

[0057] Figure 2 This is a flowchart of the voice processing of a single node in Mesh intercom. Figure 2 :

[0058] Create / join Mesh network. The device creates or joins Mesh network to form mesh_group_id, making it a device with Mesh network and capable of Bluetooth intercom. At the same time, the device is identified with device_id and the node is identified, so that the device has a unique node name and device name.

[0059] Connect to the APP. The Bluetooth device that has been equipped with the Mesh network is connected to the dedicated Bluetooth APP, so that the Bluetooth device can transmit data and communicate with the APP. The Bluetooth device can transmit the data it collects to the APP and wait for the APP to process it after receiving the data.

[0060] The heartbeat data server sends data, and data is transmitted between the Bluetooth device and the APP, and between the APP and the cloud through the two-way heartbeat data mode. The Bluetooth device communicates with the APP, exchanges data, and synchronizes information in real time. At the same time, the APP communicates with the cloud, exchanges data, and synchronizes information in real time, so that the data between the device, the APP, and the cloud are synchronized.

[0061] Create / join a network group on the cloud, and create / join a Mesh mirror group. Create or join a network group on the cloud to form a network_group_id. Create or join a virtual network mapped on the cloud.

[0062] Determine whether all nodes are online. After the Bluetooth device network is established, start monitoring all nodes and the status of all nodes. If it is determined that all nodes are normal and online, then determine whether there are multiple Mesh networks. If there is only one Mesh network, you can directly conduct Mesh network intercom to form the voice data of this node.

[0063] If a node is detected to be offline, the device will report the node information of the offline node and upload the voice data of the offline node. After the cloud receives the node information and the node voice data, it processes the node information and the node voice data, and determines whether there is cloud data voice. If there is cloud data voice, the node voice data is mixed with the cloud data voice and the mixed voice data is played to form the voice data of this node; if there is no cloud data voice, the Mesh voice data is played directly to form the voice data of this node.

[0064] When all nodes are online, but there are multiple Mesh networks, the device needs to upload the current node voice data to the cloud. After the cloud receives the node information and the node voice data, it processes the node information and the node voice data, and determines whether there is cloud data voice. If there is cloud data voice, the node voice data is mixed with the cloud data voice and the mixed voice data is played; if there is no cloud data voice, the Mesh voice data is played directly to form the voice data of this node.

[0065] Figure 3 This is an application example of full Mesh internal communication in the same Mesh network, all online. After the Bluetooth device creates or joins the Mesh network, it identifies the device, and multiple Bluetooth devices form a Mesh network. As shown in the figure, devices device_1, device_2, device_3, device_4, and device_5 form the Mesh network mesh_group_id_1. Devices device_1, device_2, device_3, device_4, and device_5 in the same Mesh network mesh_group_id_1 communicate in Mesh mode. Devices device_1, device_2, device_3, device_4, and device_5 are connected to APP respectively, and the devices and APP communicate through the two-way heartbeat data mode. APP and the cloud communicate in the form of data network through the two-way heartbeat data mode, and multiple APPs are added to the same cloud. In addition, nodes are mapped on the cloud to form a virtual network, that is, device device_1, device device_2, device device_3, device device_4, device device_5, and Mesh network mesh_group_id_1 are mapped to the cloud to form a virtual network.

[0066] Figure 4This is an example of how devices communicate with each other in the same Mesh network when some devices are offline. After a Bluetooth device creates or joins a Mesh network, it identifies the device and multiple Bluetooth devices form a Mesh network. As shown in the figure, devices device_1, device_2, device_3, device_4, and device_5 form Mesh network mesh_group_id_1. However, device device_5 in Mesh network mesh_group_id_1 is offline. In Mesh network mesh_group_id_1, all online devices device_1, device_2, device_3, and device_4 communicate using Mesh mode. The offline device device_5 communicates with mesh_group_id_1 and its online devices device_1, device_2, device_3, and device_4 using data network mode. Online devices device_1, device_2, device_3, and device_4 also communicate with APP using the two-way heartbeat data mode. APP communicates with the cloud through the two-way heartbeat data mode in the form of a data network. Multiple APPs are added to the same cloud. Offline device device_5 also communicates with APP using the two-way heartbeat data mode. APP communicates with the cloud through the two-way heartbeat data mode in the form of a data network. The virtual network maps the same situation. Devices device_1, device_2, device_3, and device_4 are online, and device_5 is offline. The device status and device information are synchronized.

[0067] Figure 5This is an example of the communication method between devices in the same Mesh network when some devices leave the team. After the Bluetooth device creates or joins the Mesh network, it identifies the device, and multiple Bluetooth devices form a Mesh network. As shown in the figure, devices device_1, device_2, device_3, device_4, and device_5 form the Mesh network mesh_group_id_1. However, device_5 in the Mesh network mesh_group_id_1 is offline. In the Mesh network mesh_group_id_1, all online devices device_1, device_2, device_3, and device_4 communicate using the Mesh mode. The online devices device_1, device_2, device_3, and device_4 also communicate with the APP using the two-way heartbeat data mode. The APP communicates with the cloud in the data network mode through the two-way heartbeat data mode, and multiple APPs are added to the same cloud. The offline device device_5 and the APP also use the two-way heartbeat data mode for communication, but the APP cannot communicate with the cloud. In this case, the device device_5 is judged to have left the team. The virtual network maps the same situation. The devices device_1, device_2, device_3, and device_4 are online, and the device device_5 has left the team. The device status and device information are synchronized. Other online devices and the cloud will no longer send information to the device that has left the team.

[0068] Figure 6An example of how all devices communicate in different Mesh networks when all are online. After a Bluetooth device creates or joins a Mesh network, it identifies the device, and multiple Bluetooth devices form a Mesh network. As shown in the figure, devices device_1, device_2, and device_3 form Mesh network mesh_group_id_1, and devices device_4 and device_5 form Mesh network mesh_group_id_2. Devices device_1, device_2, and device_3 in mesh_group_id_1 communicate using Mesh mode, and devices device_4 and device_5 in mesh network mesh_group_id_2 communicate using Mesh mode. mesh_group_id_1 and mesh_group_id_2 are in the same network_group_id_1, and mesh_group_id_1 and mesh_group_id_2 communicate using data network. Devices device_1, device_2, device_3, device_4, and device_5 also communicate with APP using the two-way heartbeat data mode. APP and the cloud communicate with each other in a data network through the two-way heartbeat data mode. Multiple APPs are added to the same cloud, but APP needs to send voice data packets to the cloud at the same time. The virtual network maps the same situation. Devices device_1, device_2, and device_3 form Mesh network mesh_group_id_1, and devices device_4 and device_5 form Mesh network mesh_group_id_2. The device status and device information are synchronized.

[0069] Figure 7An example of how all devices communicate in different Mesh networks when some devices are offline. After a Bluetooth device creates or joins a Mesh network, it identifies the device and multiple Bluetooth devices form a Mesh network. As shown in the figure, devices device_1, device_2, and device_3 form Mesh network mesh_group_id_1, and devices device_4 and device_5 form Mesh network mesh_group_id_2. All devices device_1, device_2, and device_3 in mesh_group_id_1 are online, and they communicate in Mesh mode. Device device_4 in Mesh network mesh_group_id_2 is online, and device device_5 is offline, so device_4 and device_5 cannot communicate. mesh_group_id_1 and mesh_group_id_2 are in the same network_group_id_1, and mesh_group_id_1 and mesh_group_id_2 communicate using the data network. Devices device_1, device_2, device_3, device_4, and device_5 also communicate with APP using the two-way heartbeat data mode. APP communicates with the cloud in a data network through the two-way heartbeat data mode. Multiple APPs are added to the same cloud, but APP needs to send voice data packets to the cloud at the same time. The virtual network maps the same situation. Devices device_1, device_2, and device_3 form Mesh network mesh_group_id_1. Devices device_4 and device_5 form Mesh network mesh_group_id_2. Device device_5 in network mesh_group_id_2 is offline. Mesh_group_id_1 and mesh_group_id_2 are in the same network_group_id_1. The device status and device information are synchronized.

[0070] Figure 8An example of how all devices communicate in different Mesh networks when some devices leave the team. After a Bluetooth device creates or joins a Mesh network, it identifies the device and multiple Bluetooth devices form a Mesh network. As shown in the figure, devices device_1, device_2, and device_3 form Mesh network mesh_group_id_1, and devices device_4 and device_5 form Mesh network mesh_group_id_2. All devices device_1, device_2, and device_3 in mesh_group_id_1 are online, and they communicate in Mesh mode. Device device_4 and device_5 in Mesh network mesh_group_id_2 are offline, and the entire Mesh network mesh_group_id_2 is offline. Devices device_4 and device_5 can communicate with the APP in a two-way heartbeat data mode, but the heartbeat data between the APP and the cloud is offline. In this case, devices device_4 and device_5 are in a state of leaving the team.

[0071] Fig. 9 It is the same Mesh network, and all are online, and the communication is completely within the Mesh. After the Bluetooth device creates or joins the Mesh network, it identifies the device, and multiple Bluetooth devices form a Mesh network. As shown in the figure, devices device_1, device_2, device_3, device_4, and device_5 form the Mesh network mesh_group_id_1. Device device_1 is the master node, device device_4 is the listening node, and device device_5 is the excluded node. Device device_1, device device_2, and device device_3 are online and communicate through the Mesh mode. Device device_4 is a listening node and does not interact with data. Device device_5 is an excluded node and does not interact with data. Devices device_1, device_2, device_3, device_4, and device_5 also communicate with APP using the two-way heartbeat data mode. APP and the cloud communicate via the two-way heartbeat data mode in a data network. Multiple APPs are added to the same cloud, but the APP of the excluded device_5 cannot communicate with the cloud. Through this mode, communication with non-essential nodes can be controlled and non-essential messy information in communication can be reduced. For example, when a node sends a voice communication, the node makes it impossible for other nodes receiving voice to judge important information.

[0072] This automatic switching method between Mesh intercom and 5G data network intercom monitors the online status of the device in real time. When the device / node is offline, it automatically switches to the cloud network to transmit voice data to ensure normal voice data transmission and reception of the lost node, and to ensure the real-time and coherent integrity of voice data transmission. The online nodes continue to use the Mesh network to transmit voice data, and use the cloud network transmission as a backup channel when the node is lost. The channel is enabled in time to ensure the stability and integrity of voice data transmission. By uploading the device information and voice data to the cloud through the APP, the cloud forwards the voice data of each node according to the loss of connection of the Mesh network node, ensuring the normal transmission of voice data when the node is lost, and achieving the effect of all nodes transmitting voice data online in real time and uninterruptedly.

[0073] The embodiments of the present invention have been described above, and the above description is exemplary, not exhaustive, and is not limited to the disclosed embodiments. Many modifications and changes will be apparent to those of ordinary skill in the art without departing from the scope and spirit of the described embodiments. The selection of terms used herein is intended to best explain the principles of the embodiments, practical applications, or improvements to the technology in the market, or to enable other persons of ordinary skill in the art to understand the embodiments disclosed herein.

Claims

1. A method for automatically switching between Mesh intercom and 5G data network intercom, characterized in that: include: S1, the Bluetooth device creates a Mesh network and performs Mesh networking. The Mesh networking marks the device_id of all Bluetooth devices and marks the node information; Generate a group identifier mesh_group_id. The mesh_group_id of Bluetooth devices in the same Mesh network is the same. S2, one of the nodes is used as the master node, and an online group is created on the APP through the master node; all Bluetooth devices join the online group through the APP, report their node information to the cloud, and map the nodes on the cloud to form a virtual network; All Bluetooth devices have the same network_group_id in the cloud group; S3, all Bluetooth devices communicate with the APP through a two-way dynamic heartbeat data mode, synchronize the status of the Bluetooth device with the virtual network formed by the cloud mapping node in real time, and realize the synchronous marking of the signal strength and online status of the Bluetooth device; S4, in the communication within the network, the Mesh mode has a higher priority than the data network mode; the voice data between online nodes is communicated through the Mesh mode first; S5, the node of the Bluetooth device is offline, and the node device automatically switches to the data network mode through the APP, and uses the data network mode for networking communication through the cloud; S6, when the device node is detected to be offline, the offline node information is reported and the current node voice data is uploaded; the cloud receives the node voice data, processes the node and voice data, and determines whether there is cloud data voice. If there is cloud data voice, the node voice data is mixed with the cloud data voice and then the voice data is played; if there is no data voice, the received node voice data is played directly; S7, when it is detected that the device node is offline and there are multiple Mesh networks, the current node voice data is uploaded, the cloud receives the node voice data, processes the node and voice data, and determines whether there is cloud data voice. If there is cloud data voice, the node voice data is mixed with the cloud data voice and then the voice data is played; if there is no data voice, the received node voice data is played directly.

2. The automatic switching method between Mesh intercom and 5G data network intercom according to claim 1 is characterized in that: In S2, all Bluetooth devices in the virtual network are in the same network_group_id, the same Mesh node is assigned the same mesh_group_id in the cloud, the network_group_id is equivalent to the parent of the mesh_group_id in the cloud, and the devices with the same network_group_id communicate in data network mode through the cloud.

3. The automatic switching method between Mesh intercom and 5G data network intercom according to claim 1, characterized in that: In S3, after the cloud receives the data information, if it finds that a device Mesh is offline, it will send the offline device to all devices in the same network_group_id. At this time, when all devices send voice information, they need to send the Mesh voice data packet at the same time and send it to the cloud through the APP, and then the cloud will send it to the offline device.

4. The automatic switching method between Mesh intercom and 5G data network intercom according to claim 3 is characterized in that: In the case of offline nodes, if multiple nodes send voice at the same time, the cloud will mix the voice data and send the mixed voice data to the offline devices in the same network_group_id.

5. The automatic switching method between Mesh intercom and 5G data network intercom according to claim 4 is characterized in that: In the case of offline nodes, all Mesh online devices receive the voice data of the Mesh device and the cloud voice data at the same time, and mix the voice data of the Mesh device and the cloud voice data through the APP and then play them.

6. The automatic switching method between Mesh intercom and 5G data network intercom according to claim 5, characterized in that: When the device Mesh node is offline and the remote heartbeat data of the node is offline, the node is judged to be off-line. For the off-line node, the cloud heartbeat data mode is used to inform the other online nodes. The off-line node is judged as non-existent, and the voice data does not need to be sent to the off-line node.

7. The automatic switching method between Mesh intercom and 5G data network intercom according to claim 6, characterized in that: Offline Mesh reconnection, cloud heartbeat data automatically reconnects, and determines that the node is online.

8. The automatic switching method between Mesh intercom and 5G data network intercom according to claim 1, characterized in that: In S4, S41, within the same mesh_group_id network, if the voice data does not contain the voice of the offline device, the device only plays the Mesh voice data; S42, within the same mesh_group_id network, the Mesh online nodes transmit data through the Mesh network. If there is an offline device, the node sending the voice data also sends the voice data through the APP; S43, within the same network_group_id, the data between different mesh_group_ids is sent and received in the form of a cloud network.

9. The automatic switching method between Mesh intercom and 5G data network intercom according to claim 1, characterized in that: The data nodes are marked with authority levels through the APP. The authority level of the master node is higher than that of the ordinary node, and it has the highest authority to operate the network, allowing the master node to control the data communication of all Mesh nodes.

10. The automatic switching method between Mesh intercom and 5G data network intercom according to claim 9, characterized in that: The master node sets whether to allow adding external device users; the designated device sets the listening mode, that is, only allows receiving voice data but not sending.

Citation Information

Patent Citations

  • Data processing method and device

    CN104967617A

  • Method and system for realizing group intercom through Bluetooth

    CN107493563A

  • Riding communication system and control method thereof

    CN109327826A

  • Bluetooth mesh network system with control right sharing mechanism and control method thereof

    CN113411789A

  • Self-adaptive switching and fusion method based on Bluetooth talkback and cloud talkback

    CN116437407A

Cited By

  • Multi-scene adaptive talkback communication method and system based on radio Mesh

    CN122054085A