Ad hoc networking method, electronic device and computer-readable storage medium
By dividing the interactive scheduling time of the wireless communication network into multiple time groups and time slots, the central device sends network status information and coordinates the time slot usage with the peripheral devices, solving the problem of low network efficiency of wireless communication networks, and achieving rapid joining and efficient communication of peripheral devices.
Patent Information
- Application Number
- PCT/CN2024/127335
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2024-02-06
- Filing Date
- 2024-10-25
- Publication Date
- 2025-08-14
AI Technical Summary
In the current wireless communication network, as the number of network devices increases, the time it takes for newly added peripheral devices to communicate with central devices to become longer, resulting in inefficient networking.
The interaction scheduling time between the central device and the peripheral device is divided into multiple time groups, each time group includes multiple time slots. The central device sends network status information before the first time slot in each time group. The new peripheral device selects an idle time slot based on the network status information and sends a network request response packet. The central device sends a network response confirmation packet in the idle time slot to quickly join the network and allocate a dedicated time slot for communication.
It improves the networking efficiency of wireless communication networks and ensures that newly added peripheral devices can quickly join and communicate effectively with central devices.
Smart Images

Figure CN2024127335_14082025_PF_FP_ABST
Abstract
Description
Self-organizing network method, electronic device and computer-readable storage medium
[0001] This application is based on the Chinese patent application with application number "202410173500.9" and application date of February 6, 2024, and claims the priority of the above-mentioned Chinese patent application. The entire content of the above-mentioned Chinese patent application is hereby incorporated into this application by introduction. Technical Field
[0002] The embodiments of the present invention relate to the field of wireless communication technology, and in particular to a self-organizing network method, an electronic device, and a computer-readable storage medium. Background Art
[0003] As the number of devices in current wireless communication networks increases, ensuring that newly added peripheral devices can communicate properly with the central device while not affecting existing peripheral devices' communication with the central device is leading to increasingly longer network setup times and lower network efficiency. Therefore, a new networking approach is urgently needed to improve wireless communication network efficiency. Summary of the Invention
[0004] The purpose of the embodiments of the present invention is to provide a self-organizing network method, an electronic device, and a computer-readable storage medium, which aims to improve the networking efficiency of a wireless communication network.
[0005] To solve the above technical problems, an embodiment of the present invention provides a self-organizing network method, which is applied to a central device, wherein the central device and multiple peripheral devices form a one-to-many network topology structure. In the network topology structure, the scheduling time for the central device to interact with the peripheral devices is divided into multiple time groups, and a time group includes multiple time slots. The method includes: sending network status information before the first time slot in each time group; after receiving a network access request response packet returned by a new peripheral device in an idle time slot, sending a network access response confirmation packet to the new peripheral device in the idle time slot, wherein the idle time slot is a time slot selected by the new peripheral device for interacting with the central device based on the network status information.
[0006] An embodiment of the present invention further provides an ad hoc networking method, which is applied to a new peripheral device. A central device and multiple networked peripheral devices form a one-to-many network topology. In the network topology, the scheduled time for interaction between the networked peripheral devices and the central device is divided into multiple time groups, each time group including multiple time slots. The method includes:
[0007] When receiving the network status information sent by the central device, an idle time slot is identified from the network status information; within the idle time slot, a network access request response packet is sent to the central device, and a network access response confirmation packet returned by the central device is received.
[0008] In this embodiment of the present invention, the central device sends network status information before the first time slot in each time group. A new peripheral device selects an idle time slot based on the network status information and sends a network access request response packet to the central device within the idle time slot. After receiving the network access request response packet returned by the new peripheral device within the idle time slot, the central device sends a network access response confirmation packet to the new peripheral device within the idle time slot. This allows for the rapid allocation of idle time slots for the newly added peripheral device, adding the new peripheral device to the network, and allocating a dedicated time slot for communication with the central device, thereby improving the efficiency of wireless communication network formation.
[0009] An embodiment of the present invention also provides an electronic device, comprising: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to execute the above-mentioned self-organizing network method.
[0010] An embodiment of the present invention further provides a computer-readable storage medium storing a computer program, wherein the computer program implements the above-mentioned ad hoc networking method when executed by a processor.
[0011] In addition, the network status information is included in at least one synchronization data packet whose operation code is a networking type, wherein the network status information includes the number of time slots in the current time group, the time slot time, and the idle state of each time slot.
[0012] In addition, after receiving the network access request response packet returned by the new peripheral device, a network access response confirmation packet is sent to the new peripheral device within the idle time slot, including: checking whether the time slot corresponding to the network access request response packet returned by the new peripheral device is in an idle state; when the time slot is in an idle state, sending a network access response confirmation packet to the new peripheral device.
[0013] In addition, after sending the network access response confirmation packet to the new peripheral device, the method also includes: before the first time slot in each time group, sending a synchronization data packet with an operation code of a quick roll call type; in the specific time slot corresponding to each peripheral device, after receiving the roll call response packet of the synchronization data packet of the quick roll call type returned by the corresponding peripheral device, sending a roll call response confirmation packet to the corresponding peripheral device in the specific time slot.
[0014] In addition, after sending the network access response confirmation packet to the new peripheral device, the method also includes: before the first time slot in each time group, sending a synchronization data packet with an operation code of a single-point data transmission type; within a specific time slot in each time group, after receiving a single-point transmission response packet for receiving a synchronization data packet of a single-point data transmission type returned by the corresponding peripheral device, sending a single-point transmission response confirmation packet to the corresponding peripheral device within the specific time slot.
[0015] In addition, after sending the network access response confirmation packet to the new peripheral device, the method also includes: before the first time slot in each time group, sending a synchronization data packet with an operation code of multi-point data transmission type; in multiple specific time slots in each time group, after receiving the multi-point transmission response packet with the synchronization data packet of the multi-point data transmission type returned by the corresponding peripheral device, sending a multi-point transmission response confirmation packet to the corresponding peripheral device in each specific time slot.
[0016] In addition, after sending the network access response confirmation packet to the new peripheral device, the method also includes: before the first time slot in each time group, sending a synchronization data packet with an operation code of the overall data transmission type; in each time slot in each time group, after receiving the overall transmission response packet of the synchronization data packet of the overall data transmission type returned by the corresponding peripheral device, sending an overall transmission response confirmation packet to the corresponding peripheral device in each corresponding time slot. BRIEF DESCRIPTION OF THE DRAWINGS
[0017] One or more embodiments are exemplarily illustrated by pictures in the corresponding drawings. These exemplifications do not constitute limitations on the embodiments. Elements with the same reference numerals in the drawings are represented as similar elements. Unless otherwise stated, the figures in the drawings do not constitute proportional limitations.
[0018] FIG1 is a flow chart of a networking method applied to a central device according to a first embodiment of the present invention;
[0019] 2 is a diagram of data interaction between a central device and a new peripheral device in a networking method provided according to a first embodiment of the present invention;
[0020] FIG3 is a diagram of data interaction for a quick roll call function applied to a central device according to a second embodiment of the present invention;
[0021] 4 is a data interaction diagram of a single-point data transmission function applied to a central device according to a third embodiment of the present invention;
[0022] 5 is a data interaction diagram of a multi-point data transmission function applied to a central device according to a fourth embodiment of the present invention;
[0023] 6 is a data interaction diagram of the overall data transmission function applied to a central device according to a fifth embodiment of the present invention;
[0024] 7 is a schematic flow chart of a networking method applied to new peripheral devices according to a sixth embodiment of the present invention;
[0025] FIG8 is a schematic structural diagram of an electronic device for implementing the networking method according to an embodiment of the present invention. Modes for Carrying Out the Invention
[0026] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, each embodiment of the present invention will be described in detail below with reference to the accompanying drawings. However, it will be understood by those skilled in the art that in each embodiment of the present invention, many technical details are provided to enable the reader to better understand the present application. However, even without these technical details and various changes and modifications based on the following embodiments, the technical solutions claimed in this application can be implemented. The division of the following embodiments is for convenience of description and should not constitute any limitation on the specific implementation of the present invention. The various embodiments can be combined with each other and referenced to each other under the premise that there is no contradiction.
[0027] The first embodiment of the present invention relates to a self-organizing network method, which can be applied to a central device. In a wireless communication network, the central device generally refers to a core device or a central control device in the network, which is responsible for managing and controlling the operation and data traffic of the entire network. For example, the central device can be a device such as a router, a switch or a controller. The central device and multiple peripheral devices form a one-to-many network topology structure. In the network topology structure, the scheduling time for the central device to interact with multiple peripheral devices is divided into multiple time groups, and a time group includes multiple time slots. The peripheral device refers to an auxiliary device or terminal device connected to the central device, which is used to implement a specific function or provide a specific service. For example, terminal devices such as computers and mobile phones, sensors, execution devices or storage devices. In this embodiment, the central device sends network status information before the first time slot in each time group. The new peripheral device selects an idle time slot based on the network status information and sends a network access request response packet to the central device within the idle time slot. After the central device receives the network access request response packet returned by the new peripheral device within the idle time slot, it sends a network access response confirmation packet to the new peripheral device within the idle time slot. This allows for the rapid allocation of idle time slots for the newly joined peripheral device, adding the new peripheral device to the network, and allocating a dedicated time slot for the new peripheral device to communicate with the central device, thereby improving the efficiency of wireless communication network formation. The following describes the implementation details of the networking method of this embodiment in detail. The following content is merely provided for ease of understanding and is not required for the implementation of this solution.
[0028] As shown in FIG1 , in step 101 , network status information is sent before the first time slot in each time group.
[0029] In a wireless communication network, a time group refers to the division of the scheduled time for interaction between a central device and multiple peripheral devices into different intervals, with each interval being allocated to multiple different peripheral devices for interaction with the central device. Typically, each time group includes multiple time slots, each of which is a smaller time period within the corresponding time group. Typically, a time slot is allocated to a specific peripheral device for interaction with the central device. Utilizing these time groups and time slots, different peripheral devices can interact and communicate with the central device in specific time slots within different time groups, effectively allocating communication resources in the wireless communication network and avoiding interference and collisions between other peripheral devices and the central device.
[0030] When the central device is in a state where networking is allowed, that is, when there is no data to be transmitted in the wireless communication network where the central device is located, the central device sends network status information before the first time slot in each time group. The network status information includes idle or occupied status information of each time slot in each time group of the wireless communication network where the central device is located. By sending the network status information externally, new peripheral devices that need to join the network are notified to prepare for network access, because time groups and time slots can determine the network position of a peripheral device. When a time slot is idle, it means that the network position corresponding to the idle time slot is idle, and the new peripheral device can occupy the idle network position, thereby joining the network where the central device is located.
[0031] In one example, the central device transmits the network status information using a synchronization packet. The synchronization packet specifies the current network operation function. Specifically, the central device transmits at least one synchronization packet with an operation code of the networking type within each time group (as shown in FIG. 2 ). The synchronization packet carries the network status information, including the number of time slots in the current time group, the time slot duration, and the idle state of each time slot.
[0032] In step 102, after receiving the network access request response packet returned by the new peripheral device in the idle time slot, a network access response confirmation packet is sent to the new peripheral device in the idle time slot, wherein the idle time slot is a time slot selected by the new peripheral device according to the network status information for interacting with the central device.
[0033] The network access request response packet returned by the new peripheral device and received by the central device includes a network access request message (as shown in FIG2 ). The network access request message includes the peripheral device address, a time slot number, and a specific operation code. The time slot number indicates the identifier of an idle time slot selected by the new peripheral device based on the network status information. The specific operation code indicates the operation type corresponding to the new peripheral device, such as a network access application.
[0034] In one example, the central device checks whether the time slot corresponding to the network access request response packet returned by the new peripheral device is idle. If the time slot is idle, it sends a network access response confirmation packet to the new peripheral device, thereby adding the new peripheral device to the corresponding network. Typically, the network access response confirmation packet includes the central device address and the corresponding new peripheral device address.
[0035] In this embodiment, the central device transmits network status information before the first time slot in each time group. The central device receives a network access request response packet from the new peripheral device in an idle time slot selected based on the network status information, and then sends a network access response confirmation packet to the new peripheral device in the idle time slot. This allows for the rapid allocation of idle time slots for newly added peripheral devices, allowing them to join the network and allocate dedicated time slots for communication with the central device, thereby improving the efficiency of wireless communication network construction.
[0036] In the second embodiment of the present invention, after the new peripheral device joins the wireless communication network where the central device is located, when the wireless communication network is in an idle state, that is, the central device and the peripheral device have no data transmission requirements, each of the peripheral devices may not send a response packet to the central device in the time slot corresponding to the peripheral device in order to maintain low power consumption. At this time, the peripheral device is in a stealth state. The central device can use the quick roll call function to enable all the peripheral devices in a stealth state in a certain time group to respond to the central device, so as to update the status of the wireless communication network in real time. Specifically, as shown in Figure 3, before the first time slot in each time group, the central device sends a synchronization data packet with an operation code of the quick roll call type, and in the specific time slot corresponding to each peripheral device, after receiving the roll call response packet of the synchronization data packet of the quick roll call type returned by the corresponding peripheral device, it sends a roll call response confirmation packet to the corresponding peripheral device in the specific time slot.
[0037] In a third embodiment of the present invention, after a new peripheral device joins the wireless communication network where the central device resides, the central device utilizes the unicast data transmission function to perform a data transmission to a single peripheral device via a specific time slot corresponding to the peripheral device. Specifically, as shown in FIG4 , before the first time slot in each time group, the central device transmits a synchronization data packet with an operation code of unicast data transmission type. Within a specific time slot within each time group, upon receiving a unicast response packet indicating receipt of a synchronization data packet of unicast data transmission type from the corresponding peripheral device, the central device then transmits a unicast response confirmation packet to the corresponding peripheral device within the specific time slot.
[0038] In a fourth embodiment of the present invention, after a new peripheral device joins the wireless communication network of a central device, the central device utilizes the multipoint data transmission function to perform a data transmission to multiple peripheral devices via specific time slots corresponding to each peripheral device. Specifically, as shown in FIG5 , before the first time slot in each time group, the central device transmits a synchronization data packet with an operation code of multipoint data transmission type. After receiving multipoint transmission response packets indicating receipt of synchronization data packets of multipoint data transmission type from corresponding peripheral devices within multiple specific time slots within each time group, the central device then transmits a multipoint transmission response confirmation packet to the corresponding peripheral device within each specific time slot.
[0039] In a fifth embodiment of the present invention, after a new peripheral device joins the wireless communication network where the central device resides, the central device utilizes the global data transmission function to perform a data transmission to all peripheral devices within the time group, using the specific time slot and time group corresponding to each peripheral device. Specifically, as shown in FIG6 , before the first time slot in each time group, the central device transmits a synchronization data packet with an operation code of the global data transmission type. Within each time slot within each time group, upon receiving a global transmission response packet indicating receipt of a synchronization data packet of the global data transmission type from the corresponding peripheral device, the central device then transmits a global transmission response confirmation packet to the corresponding peripheral device within each corresponding time slot.
[0040] Through the single-point data transmission function, multi-point data transmission function and overall data transmission function in the third, fourth and fifth embodiments of the present invention, diversified and rapid data interaction between the central device and the peripheral devices can be achieved.
[0041] The sixth embodiment of the present invention relates to a self-organizing network method that can be applied to new peripheral devices, wherein a central device and a plurality of networked peripheral devices form a one-to-many network topology structure, and in the network topology structure, the scheduling time for the networked peripheral devices to interact with the central device is divided into a plurality of time groups, and each time group includes a plurality of time slots. In the sixth embodiment, when the new peripheral device receives the network status information sent by the central device, it identifies an idle time slot from the network status information; within the idle time slot, it sends a network access request response packet to the central device, and receives a network access response confirmation packet returned by the central device, so that the new peripheral device can use the idle time slot to quickly join the network, thereby improving the efficiency of wireless communication network networking. The implementation details of the networking method of the sixth embodiment are described in detail below. The following content is only the implementation details provided for the convenience of understanding and is not necessary for the implementation of this solution.
[0042] As shown in FIG7 , in step 201 , when network status information sent by the central device is received, an idle time slot is identified from the network status information.
[0043] Based on the embodiment of the networking method applied to the central device, after receiving the synchronization data packet, the new peripheral device identifies the idle time slot in the current time group from the network status information carried in the synchronization data packet.
[0044] In step 202, a network access request response packet is sent to the central device in the idle time slot, and a network access response confirmation packet returned by the central device is received.
[0045] The network access request response packet returned by the new peripheral device to the central device during the idle time slot includes network access request information (as shown in FIG2 ). The network access request information includes the peripheral device address, the time slot number, and a specific operation code. The time slot number indicates the identifier of the idle time slot selected by the new peripheral device based on the network status information. The specific operation code indicates the operation type corresponding to the new peripheral device, such as a network access application.
[0046] In this embodiment of the present invention, the central device transmits network status information before the first time slot in each time group. A new peripheral device selects an idle time slot based on the network status information and sends a network access request response packet to the central device within the idle time slot. After receiving the network access request response packet returned by the new peripheral device within the idle time slot, the central device sends a network access response confirmation packet to the new peripheral device within the idle time slot. This allows for the rapid allocation of idle time slots for the newly added peripheral device, adding the new peripheral device to the network, and allocating a dedicated time slot for the new peripheral device to communicate with the central device, thereby improving the efficiency of wireless communication network formation.
[0047] The steps of the above method are divided only for the purpose of clear description. During implementation, they can be combined into one step or some steps can be split and decomposed into multiple steps. As long as they include the same logical relationship, they are all within the scope of protection of this patent. Adding insignificant modifications or introducing insignificant designs to the algorithm or process without changing the core design of the algorithm and process are all within the scope of protection of this patent.
[0048] Another embodiment of the present invention relates to an electronic device 1, as shown in Figure 8, including at least one processor 10; and a memory 11 communicatively connected to the at least one processor 10; wherein the memory 11 stores instructions that can be executed by the at least one processor 10, and the instructions are executed by the at least one processor 10 to enable the at least one processor 10 to execute the networking method as described above.
[0049] The memory and processor are connected using a bus, which can include any number of interconnected buses and bridges. The bus connects various circuits of one or more processors and memories. The bus can also connect various other circuits such as peripheral devices, voltage regulators, and power management circuits. These are all well known in the art and are therefore not described further herein. The bus interface provides an interface between the bus and the transceiver. The transceiver can be a single component or multiple components, such as multiple receivers and transmitters, providing a unit for communicating with various other devices over a transmission medium. Data processed by the processor is transmitted over a wireless medium via an antenna. Furthermore, the antenna receives data and transmits it to the processor.
[0050] The processor is responsible for managing the bus and general processing, and can also provide various functions, including timing, peripheral interfaces, voltage regulation, power management, and other control functions. Memory can be used to store data used by the processor when performing operations.
[0051] Another embodiment of the present invention relates to a computer-readable storage medium storing a computer program, which implements the above method embodiment when executed by a processor.
[0052] That is, those skilled in the art will understand that all or part of the steps in the above-mentioned embodiments can be implemented by instructing the relevant hardware through a program. The program is stored in a storage medium and includes a number of instructions for causing a device (which may be a single-chip microcomputer, chip, etc.) or a processor to execute all or part of the steps in the methods described in the various embodiments of this application. The aforementioned storage medium includes: a USB flash drive, a mobile hard drive, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk, etc., various media that can store program code.
[0053] Those skilled in the art will appreciate that the above-mentioned embodiments are specific examples for implementing the present invention, and that in actual applications, various changes may be made thereto in form and detail without departing from the spirit and scope of the present invention.
Claims
1. A self-organizing network method, applied to a central device, wherein the central device and multiple peripheral devices form a one-to-many network topology structure. In the network topology structure, the scheduled time for interaction between the central device and the peripheral devices is divided into multiple time groups, each time group including multiple time slots. The method comprises: Send network status information before the first time slot in each time group; After receiving the network access request response packet returned by the new peripheral device in the idle time slot, a network access response confirmation packet is sent to the new peripheral device in the idle time slot, wherein the idle time slot is a time slot selected by the new peripheral device according to the network status information for interacting with the central device.
2. The self-organizing network method according to claim 1, wherein: The network status information is included in at least one synchronization data packet whose operation code is a networking type, wherein the network status information includes the number of time slots in the current time group, the time slot time, and the idle state of each time slot.
3. The self-organizing network method according to claim 1, wherein: The sending of a network access response confirmation packet to the new peripheral device includes: Check whether the time slot corresponding to the network access request response packet returned by the new peripheral device is in an idle state; When the time slot is in an idle state, a network access response confirmation packet is sent to the new peripheral device.
4. The self-organizing network method according to claim 1, wherein: After sending the network access response confirmation packet to the new peripheral device, the method further includes: Before the first time slot in each time group, a synchronization data packet with an operation code of the quick roll call type is sent; In the specific time slot corresponding to each peripheral device, after receiving the roll call response packet of the synchronous data packet of the fast roll call type returned by the corresponding peripheral device, a roll call response confirmation packet is sent to the corresponding peripheral device in the specific time slot.
5. The self-organizing network method according to claim 1, wherein: After sending the network access response confirmation packet to the new peripheral device, the method further includes: Before the first time slot in each time group, a synchronization data packet with an operation code of single-point data transmission type is sent; In a specific time slot within each time group, after receiving a single-point transmission response packet returned by the corresponding peripheral device indicating that a synchronization data packet of a single-point data transmission type has been received, a single-point transmission response confirmation packet is sent to the corresponding peripheral device in the specific time slot.
6. The self-organizing network method according to claim 1, wherein: After sending the network access response confirmation packet to the new peripheral device, the method further includes: Before the first time slot in each time group, a synchronization data packet with an operation code of multipoint data transmission type is sent; In multiple specific time slots within each time group, after receiving the multipoint transmission response packets returned by the corresponding peripheral devices for receiving the synchronization data packets of the multipoint data transmission type, a multipoint transmission response confirmation packet is sent to the corresponding peripheral devices in each specific time slot.
7. The self-organizing network method according to claim 1, wherein: After sending the network access response confirmation packet to the new peripheral device, the method further includes: Before the first time slot in each time group, a synchronization data packet with an operation code of the overall data transmission type is sent; In each time slot within each time group, after receiving the overall transmission response packet returned by the corresponding peripheral device indicating receipt of the synchronous data packet of the overall data transmission type, an overall transmission response confirmation packet is sent to the corresponding peripheral device in each corresponding time slot.
8. A self-organizing network method, applied to a new peripheral device, wherein a central device and multiple existing peripheral devices form a one-to-many network topology. In the network topology, the scheduled time for interaction between the existing peripheral devices and the central device is divided into multiple time groups, each time group including multiple time slots. The method comprises: Upon receiving the network status information sent by the central device, identifying an idle time slot from the network status information; In the idle time slot, a network access request response packet is sent to the central device, and a network access response confirmation packet returned by the central device is received.
9. An electronic device comprising: at least one processor; as well as, a memory communicatively connected to the at least one processor; wherein, The memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to perform the ad hoc networking method according to any one of claims 1 to 8.
10. A computer-readable storage medium storing a computer program, wherein when the computer program is executed by a processor, the self-organizing network method according to any one of claims 1 to 8 is implemented.
Citation Information
Patent Citations
Ad hoc network communication method and device, electronic equipment and medium
CN113163505A
Terminal network access method and device and Internet of Things system
CN113938984A
Multi-label access method for TOF positioning system
CN115297547A
Big data communication scheduling method, electronic equipment and computer readable storage medium
CN118158805A
Ad hoc network method, electronic equipment and computer readable storage medium
CN118158806A