Search

CN-116132960-B - Service connection method, device and system

CN116132960BCN 116132960 BCN116132960 BCN 116132960BCN-116132960-B

Abstract

The application provides a service connection method, a device and a system, wherein the service connection method applied to a first node comprises the steps of receiving first configuration information sent by first equipment and sending the first configuration information to a mesh node except the first node in an ad hoc network so that a second node sends the first configuration information to second equipment, receiving second configuration information sent by the second node and sending the second configuration information to the first equipment so that the first equipment and the second equipment can carry out service communication. The service connection method applied to the first node provided by the application has the advantages that the first equipment can automatically send the first configuration information to the first node, the first node sends the first configuration information to the mesh nodes except the first node in the ad hoc network, then the second node sends the first configuration information to the second equipment, and the second configuration information can be sent to the first equipment, so that the first equipment and the second equipment can carry out service communication.

Inventors

  • WANG BING
  • ZHANG ZHIHUA

Assignees

  • 海能达通信股份有限公司

Dates

Publication Date
20260508
Application Date
20211112

Claims (10)

  1. 1. The service connection method is characterized by being applied to a first node, wherein the first node is any mesh node in an ad hoc network; The service connection method comprises the following steps: Receiving first configuration information sent by first equipment, wherein the first equipment is external equipment connected with the first node in the ad hoc network; Sending the first configuration information to a mesh node except the first node in the ad hoc network so that a second node sends the first configuration information to second equipment, wherein the second node is a node which is externally connected with the second equipment in the mesh node except the first node in the ad hoc network; And receiving second configuration information sent by the second node, and sending the second configuration information to the first device so that the first device and the second device can carry out service communication, wherein the second configuration information is the configuration information sent by the second device to the second node.
  2. 2. The service connection method according to claim 1, wherein the first configuration information and/or the second configuration information includes one or more of IP address, device type, and identity information.
  3. 3. The service connection method according to claim 1, further comprising: determining whether the first device is offline or not based on heartbeat information sent by the first device; If the first device is offline, sending first notification information to mesh nodes in the ad hoc network except the first node, so that the second node notifies the second device to delete the first configuration information, wherein the first notification information is used for notifying the first device to offline.
  4. 4. A service connection method according to claim 3, further comprising: Receiving second notification information sent by the second node, wherein the second notification information is information sent by the second node to the first node and used for notifying the second equipment to be offline; And notifying the first equipment to delete the second configuration information.
  5. 5. The service connection method is characterized by being applied to first equipment, wherein the first equipment is any external equipment connected with a first node in an ad hoc network; The service connection method comprises the following steps: Sending the first configuration information of the second node to a first node, so that after the first node sends the first configuration information to a mesh node except the first node in the ad hoc network, a second node sends the first configuration information to a second device, wherein the second node is a node externally connected with the second device in the mesh node except the first node in the ad hoc network; And receiving second configuration information sent by the first node so as to carry out service communication with the second device, wherein the second configuration information is the configuration information sent by the second device through the second node.
  6. 6. The service connection method according to claim 5, further comprising: heartbeat information is sent to the first node so that the first node determines whether the first device is offline based on the heartbeat information.
  7. 7. The service connection method according to claim 6, further comprising: Receiving second notification information sent by the first node, wherein the second notification information is information sent by the second node to the first node and used for notifying the second equipment to be offline; and deleting the second configuration information stored by the user.
  8. 8. The service connection system is characterized by comprising first equipment, second equipment and at least two mesh nodes, wherein the at least two mesh nodes comprise a first node and a second node, the first node is any mesh node in an ad hoc network, the second node is a node which is externally connected with the second equipment in the mesh nodes except the first node in the ad hoc network, and the first equipment is external equipment which is connected with the first node in the ad hoc network; the first device is configured to send first configuration information of the first device to the first node; the first node is configured to receive the first configuration information and send the first configuration information to a mesh node in the ad hoc network except for the first node; The second node is configured to receive the first configuration information and send the first configuration information to the second device; The second device is configured to receive the first configuration information and send second configuration information of the second device to the second node; the second node is further configured to receive the second configuration information, and send the second configuration information to a mesh node in the ad hoc network except for the second node; The first node is further configured to receive the second configuration information, and send the second configuration information to the first device, so that the first device and the second device perform service communication.
  9. 9. The service connection device is characterized by being applied to a first node, wherein the first node is any mesh node in an ad hoc network; the service connection device comprises a first receiving module, a first sending module and a second receiving module; The first receiving module is configured to receive first configuration information sent by a first device, where the first device is an external device connected to the first node in the ad hoc network; the first sending module is configured to send the first configuration information to a mesh node in the ad hoc network except the first node, so that a second node sends the first configuration information to a second device, where the second node is a node in the ad hoc network except the first node, which is externally connected with the second device; The second receiving module is configured to receive second configuration information sent by the second node, and send the second configuration information to the first device, so that the first device and the second device perform service communication, where the second configuration information is configuration information sent by the second device to the second node.
  10. 10. The service connecting device is characterized by being applied to first equipment, wherein the first equipment is any external equipment connected with a first node in an ad hoc network; The service connection device comprises a second sending module and a third receiving module; The second sending module is configured to send the first configuration information of the second sending module to a first node, so that after the first node sends the first configuration information to a mesh node in the ad hoc network except the first node, a second node sends the first configuration information to a second device, where the second node is a node in the ad hoc network except the first node, which is externally connected with the second device; The third receiving module is configured to receive second configuration information sent by the first node so as to perform service communication with the second device, where the second configuration information is configuration information sent by the second device to the first node through the second node.

Description

Service connection method, device and system Technical Field The present application relates to the field of ad hoc networks, and in particular, to a service connection method, device, and system. Background The ad hoc network consists of Mesh nodes and external devices, and can realize scheduling command of specific scenes, such as emergency scenes. At present, after the ad hoc network is established, configuration information of external devices needs to be manually set by a user, and then service communication, such as audio and video service communication, can be performed between the external devices. However, the manual configuration mode is low in efficiency, configuration information is changed, and usability is poor for emergency communication. Disclosure of Invention In view of this, the application provides a service connection method, device and system, so as to solve the problem that the configuration information of the external equipment in the ad hoc network in the prior art needs to be manually set, and the technical scheme is as follows: The service connection method is characterized by being applied to a first node, wherein the first node is any mesh node in an ad hoc network; the service connection method comprises the following steps: Receiving first configuration information sent by first equipment; Sending the first configuration information to a mesh node except the first node in the ad hoc network so that a second node sends the first configuration information to second equipment, wherein the second node is a node externally connected with the second equipment in the mesh node except the first node in the ad hoc network; and receiving second configuration information sent by the second node, and sending the second configuration information to the first device so that the first device and the second device can carry out service communication, wherein the second configuration information is the configuration information sent to the second node by the second device. Optionally, the first configuration information and/or the second configuration information comprises one or more of an IP address, a device type and identity information. Optionally, the method further comprises: Determining whether the first device is offline or not based on heartbeat information sent by the first device; if the first device is offline, the first notification information is sent to a mesh node except the first node in the ad hoc network, so that the second node notifies the second device to delete the first configuration information, wherein the first notification information is used for notifying the first device to offline. Optionally, the method further comprises: receiving second notification information sent by a second node, wherein the second notification information is information sent by the second node to the first node and used for notifying the second equipment to be offline; The first device is notified to delete the second configuration information. A service connection method is applied to a first device, wherein the first device is any device in an ad hoc network; the service connection method comprises the following steps: The first configuration information of the second node is sent to the first node, so that after the first node sends the first configuration information to a mesh node except the first node in the ad hoc network, the second node sends the first configuration information to the second device, wherein the second node is a node externally connected with the second device in the mesh node except the first node in the ad hoc network; and receiving second configuration information sent by the first node so as to carry out service communication with second equipment, wherein the second configuration information is the configuration information sent to the first node by the second equipment through the second node. Optionally, the method further comprises: The heartbeat information is transmitted to the first node so that the first node determines whether the first device is offline based on the heartbeat information. Optionally, the method further comprises: Receiving second notification information sent by the first node, wherein the second notification information is information sent by the second node to the first node and used for notifying the second equipment to be offline; And deleting the second configuration information stored by the user. The service connection system comprises a first device, a second device and at least two mesh nodes, wherein the at least two mesh nodes comprise a first node and a second node, the first node is any mesh node in the ad hoc network, and the second node is a mesh node except the first node in the ad hoc network; The first device is used for sending the first configuration information of the first device to the first node; The first node is used for receiving the first configuration information and sending the first configuration infor