CN-122028218-A - Ad hoc network system and ad hoc network method
Abstract
The application discloses an ad hoc network system and an ad hoc network method, and belongs to the technical field of equipment networking. The self-networking system comprises a first device and a second device, wherein the first device and the second device are both configured to scan a plurality of target channels under the condition that a networking device identification set recorded by the first device and a system full device identification set are unequal, the first device is further configured to send a networking response signal to the second device when receiving a networking request signal sent by the second device on a certain target channel, the device identification of the second device is added into the networking device identification set, networking is carried out with the second device by determining a working channel, and the networking response signal comprises the device identification of the first device.
Inventors
- Lin Songsong
- ZHOU DAWEN
Assignees
- 上海思格数字技术有限公司
Dates
- Publication Date
- 20260512
- Application Date
- 20260113
Claims (13)
- 1. An ad hoc network system, comprising a first device and a second device, wherein the first device and the second device are configured to scan a plurality of target channels when a self-recorded set of networking device identifiers and a system full device identifier set are not equal; The first device is further configured to send a networking response signal to the second device when receiving a networking request signal sent by the second device on a certain target channel, add the device identifier of the second device into the networking device identifier set, and perform networking with the second device by determining a working channel, where the networking response signal includes the device identifier of the first device.
- 2. The ad hoc network system of claim 1, wherein said ad hoc network system comprises a first subsystem comprising a plurality of devices interconnected on a first channel, at least one of said devices in said first subsystem being said first device; The first device is further configured to notify other devices in the first subsystem to network with the second device based on the working channel through the first channel after transmitting the networking response signal.
- 3. The ad hoc network system according to claim 2, wherein said ad hoc network system comprises a second subsystem comprising a plurality of devices interconnected on a second channel, at least one of said devices in said second subsystem being said second device; The first device is further configured to add, when scanning to the second channel, a device identifier of each device in the second subsystem to the set of networked device identifiers according to the networking request signal, and to network the first channel or the second channel with the second subsystem as the working channel.
- 4. The ad hoc network system of any one of claims 1-3, wherein said first device is further configured to network a current channel as said working channel with said second device.
- 5. An ad hoc network system according to any one of claims 1-3, further comprising a routing device, wherein said first device and said second device are further configured to scan a plurality of target channels if a current working channel is disconnected from said routing device, and to network a current channel as said working channel with said routing device when said routing device is detected on a certain one of said target channels.
- 6. The ad hoc network system of claim 5, wherein said ad hoc network system comprises a first subsystem comprising a plurality of devices interconnected on a first channel, at least one of said devices in said first subsystem being said first device, said first device further configured to, after networking with said routing device, inform other of said devices in said first subsystem via said first channel to switch to said working channel to said networking with said routing device, and/or, The ad hoc network system comprises a second subsystem, the second subsystem comprises a plurality of devices mutually networking on a second channel, at least one device in the second subsystem is used as the second device, and the second device is further configured to inform other devices in the second subsystem to switch to the working channel to be networked with the routing device through the second channel after being networked with the routing device.
- 7. An ad hoc network system, comprising a first device and a second device, wherein the first device and the second device are configured to scan a plurality of target channels when a self-recorded set of networking device identifiers and a system full device identifier set are not equal; The second device is further configured to send a networking request signal on the target channel, receive a networking response signal fed back by the first device in response to the networking request signal, add the device identifier of the first device into the networking device identifier set, and perform networking with the first device by determining a working channel, where the networking request signal includes the device identifier of the second device.
- 8. The ad hoc network system of claim 7, wherein said ad hoc network system comprises a second subsystem comprising a plurality of devices interconnected on a second channel, at least one of said devices in said second subsystem being said second device; The second device is further configured to notify other devices in the second subsystem to network with the first device based on the working channel through the second channel after receiving the networking response signal.
- 9. The ad hoc network system of claim 8, wherein said ad hoc network system comprises a first subsystem comprising a plurality of devices interconnected on a first channel, at least one of said devices in said first subsystem being said first device; the second device is further configured to add, when scanning to the first channel, a device identifier of each device in the first subsystem to the set of networked device identifiers according to the networking response signal, and to network the first channel or the second channel with the first subsystem as the working channel.
- 10. An ad hoc network method, applied to an ad hoc network system, the ad hoc network system including a first device and a second device, the ad hoc network method comprising: the first equipment sends networking request signals on a plurality of target channels under the condition that a networking equipment identification set recorded by the first equipment is unequal to a system full equipment identification set, wherein the networking request signals comprise equipment identifications of the first equipment; The second device sends a networking response signal to the first device when the networking request signal is received on a certain target channel and the networking device identifier set recorded by the second device is not equal to the system full device identifier set, and the networking response signal comprises the second device identifier of the second device; the first device receives the networking response signal, adds the device identifier of the second device into the networking device identifier set, and determines a working channel with the second device to perform networking.
- 11. The ad hoc network method according to claim 10, further comprising: After the first device sends the networking response signal, the first device informs other devices which are networking in the networking device identification set to networking with the second device based on the working channel through the original working channel, and/or, And after receiving the networking response signal, the second device informs other networking devices in the networking device identification set of networking through an original working channel, and networking is performed with the first device based on the working channel.
- 12. The ad hoc network method according to claim 10 or 11, wherein the ad hoc network system further comprises a routing device, the ad hoc network method further comprising: the first device and/or the second device scans a plurality of target channels under the condition that a current working channel is disconnected with the routing device; And when the first device and/or the second device detect the routing device on a certain target channel, networking with the routing device based on a current channel.
- 13. The ad hoc network method according to claim 12, further comprising: When the first device and/or the second device detects the routing device on a certain target channel, the first device and/or the second device informs other devices which are already networked in the networking device identification set to switch to the current channel for networking with the routing device through an original working channel.
Description
Ad hoc network system and ad hoc network method Technical Field The application belongs to the technical field of equipment networking, and particularly relates to an ad hoc network system and an ad hoc network method. Background The equipment in the networking system may change the working channel due to abnormal conditions or operation requirements and other factors, so that the situation that the working channel has difference among the equipment in the networking system occurs. The inconsistent channel can cause the remarkable reduction of communication quality, the great increase of data packet loss rate, and the interruption of communication between devices when serious, which finally causes that the device cannot be successfully accessed into a networking system, and the stability and reliability of the whole networking system are affected. Disclosure of Invention The present invention aims to solve at least one of the technical problems existing in the prior art. Therefore, the invention provides an ad hoc network system and an ad hoc network method, which can realize automatic channel switching to ensure the channel consistency of all devices in the system, and can also automatically switch channels along with the channel switching of the routing device. In a first aspect, the present application provides an ad hoc network system, including a first device and a second device, where the first device and the second device are configured to scan a plurality of target channels when a self-recorded set of network-established device identifiers and a system-wide set of device identifiers are not equal; The first device is further configured to send a networking response signal to the second device when receiving a networking request signal sent by the second device on a certain target channel, add the device identifier of the second device to the networking device identifier set, and determine a working channel with the second device to perform networking, wherein the networking response signal includes the device identifier of the first device. According to one embodiment of the present application, an ad hoc network system includes a first subsystem including a plurality of devices mutually networked in a first channel, at least one device in the first subsystem being a first device; The first device is further configured to notify other devices in the first subsystem to network with the second device based on the working channel through the first channel after transmitting the networking response signal. According to one embodiment of the present application, the ad hoc network system includes a second subsystem including a plurality of devices mutually networked in a second channel, at least one device in the second subsystem being a second device; the first device is further configured to add device identifiers of devices in the second subsystem to the set of networked device identifiers according to the networking request signal when scanning to the second channel, and to networking the first channel or the second channel with the second subsystem as a working channel. According to one embodiment of the application, the first device is further configured to network the current channel as an operating channel with the second device. According to one embodiment of the present application, the ad hoc network system further includes a routing device, and the first device and the second device are further configured to scan a plurality of target channels in case that the current working channel is disconnected from the routing device, and to network the current channel as the working channel with the routing device when the routing device is detected on a certain target channel. According to one embodiment of the application, an ad hoc network system includes a first subsystem including a plurality of devices interconnected in a first channel, at least one of the devices in the first subsystem being a first device, the first device further configured to, after networking with a routing device, notify other devices in the first subsystem to switch over to an operating channel to be networked with the routing device via the first channel, and/or, The ad hoc network system comprises a second subsystem, the second subsystem comprises a plurality of devices mutually networking in a second channel, at least one device in the second subsystem is used as a second device, and the second device is further configured to inform other devices in the second subsystem to switch to a working channel to be networked with the routing device through the second channel after networking with the routing device. In a second aspect, the present application provides an ad hoc network system, including a first device and a second device, where the first device and the second device are configured to scan a plurality of target channels when a self-recorded set of network-established device identifiers and a system-wide set of de