Networking method and system of star topology network, medium and computer
By setting up the main antenna and the secondary antenna on the central node, the edge node automatically judges and selects the central node with the best communication effect, solving the problem of communication interference and high maintenance costs caused by overlapping frequency bands in the star topological network, and achieving automated network connection and load balancing.
Patent Information
- Application Number
- CN202411931553.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-26
- Publication Date
- 2025-03-28
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
The existing star topology networks have problems such as overlapping frequency bands in the wireless narrowband ISM band, causing communication interference, and manual division of gateway bands, resulting in high maintenance costs.
By setting the main antenna and the secondary antenna on the central node, the edge node listens to the current state of the secondary antenna broadcast of the central node, sorts the central node according to the predetermined sorting rules, and the edge node establishes a communication connection with the main antenna of the sorted first central node.
It realizes automatic selection of the central node with the best communication effect for communication connection, avoids communication interference caused by frequency band overlap, and reduces maintenance costs.
Smart Images

Figure CN119729896A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of wireless communication technology, and more specifically, to a networking method, system, medium and computer for a star topology network. Background Art
[0002] In the wireless narrowband ISM frequency band, most existing wireless networking solutions use star or mesh networking.
[0003] Among them, the Mesh network is a multi-point to multi-point network structure. Each node in the network can send and receive signals, and can also forward data from other nodes as a router. This structure provides high redundancy and stability. The advantages of the Mesh network include rapid deployment, non-line-of-sight transmission (NLOS), robustness, flexible structure, and high bandwidth. The disadvantages are higher latency, because data packets may need to be forwarded by multiple nodes, and network capacity limitations, because too many node forwarding may reduce network performance. Although the mesh network can allow some sub-nodes to serve as intermediate routing points, data can be routed to the gateway or target node through multiple hops. However, in narrowband frequency bands, the data throughput is generally not high, and the intermediate sub-nodes of the mesh network have to take on data routing, consuming the originally limited data bandwidth. At the same time, the data transmission process of the mesh network requires a large amount of CSMA / CA technology, which results in a large amount of network bandwidth and time dissipation.
[0004] In a star network, all nodes are directly connected to a central node (such as a hub or switch), which is responsible for managing and controlling network traffic. This structure is easy to monitor and manage, simple to diagnose faults, and easy to expand the network. The advantages of a star network include simple structure, centralized management, simple control, easy network construction, short network delay time, and small transmission error. The wireless narrowband star topology has a simple network structure, and because it adopts master-slave communication to avoid a large number of wireless collisions, the network dissipation is also reduced a lot. However, wireless networks with a single gateway often cannot cover enough areas, resulting in limited communication, and the simple introduction of multiple gateways will cause communication interference caused by overlapping frequency bands between gateways, reducing the communication success rate between nodes and gateways; the general solution is to manually divide the frequency bands of the gateways so that the networks of each gateway can coexist at the same time, but this also brings the disadvantage of high maintenance costs. Summary of the invention
[0005] In view of the shortcomings of the prior art, the purpose of the present invention is to provide a networking method, system, medium and computer for a star topology network, so as to overcome the shortcomings of the star topology network in the prior art, such as frequency band overlap causing communication interference and manual division of gateway frequency bands causing high maintenance costs.
[0006] The above technical objectives of the present invention are achieved through the following technical solutions: a networking method of a star topology network, applied to a star topology network, the star topology network includes at least one edge node and several central nodes that can establish communication connections with the edge nodes, and the several central nodes are each provided with a main antenna for communicating with the edge node, and a secondary antenna for broadcasting the current state of the central node;
[0007] The networking method specifically includes:
[0008] Control the edge node to listen to the current status broadcasted by the secondary antennas of all central nodes;
[0009] According to a predetermined sorting rule, all central nodes are sorted based on the current status of the central nodes to generate a central node sequence;
[0010] The edge node is controlled to establish a communication connection with a main antenna of a first central node in the central node sequence.
[0011] Optionally, the current state specifically includes: the number of edge nodes that have established communication connections with the main antenna of the central node.
[0012] Optionally, the method of sorting all central nodes according to a predetermined sorting rule based on the current status of the central node to generate a central node sequence specifically includes: sorting all central nodes in order from few to many according to the number of edge nodes connected to the main antenna of each central node to generate a central node sequence.
[0013] Optionally, the current state also includes: a communication frequency band in which the main antenna of the central node has been occupied; establishing a communication connection with the main antenna of the first central node in the central node sequence also includes: randomly selecting a communication frequency band in which the main antenna of a central node has not been occupied, and controlling the edge node to establish a communication connection with the main antenna.
[0014] Optionally, the controlling of the edge node to establish a communication connection with the main antenna of the first central node in the central node sequence specifically includes: using communication time slots to constrain the communication connection, and the communication time slots include: a communication cycle start time slot, a central node initiation time slot, an edge node initiation time slot and a silent time slot.
[0015] Optionally, the communication cycle start time slot is broadcasted by the secondary antenna of the central node, and is used to inform the edge nodes that are about to establish a communication connection with the central node; the central node initiation time slot is broadcasted by the main antenna of the central node, and is used to send commands and data to the edge nodes to which the communication connection is to be established; the edge node initiation time slot is issued by the edge node, and is used to apply to the main antenna of the central node to establish a communication connection; the silent time slot is used to control all edge nodes to enter the listening state.
[0016] Optionally, after establishing a communication connection with the central node, the method further includes: determining whether the current central node is faulty, and if so, selecting a central node different from the current central node and re-establishing the communication connection.
[0017] A star topology network system, comprising:
[0018] Listening module: used to control the edge node to listen to the current status broadcast by the secondary antennas of all central nodes;
[0019] Sorting module: used to sort all central nodes according to the predetermined sorting rules and based on the current status of the central nodes to generate a central node sequence;
[0020] Communication connection module: used to control the edge node to establish a communication connection with the main antenna of the first central node in the central node sequence.
[0021] A computer-readable storage medium stores a computer program, which implements the steps of the above method when executed by a processor.
[0022] A computer device comprises a memory and a processor, wherein the memory stores a computer program, and the processor implements the steps of the above method when executing the computer program.
[0023] In summary, the present invention has the following beneficial effects: a networking method for a star topology network, comprising: controlling the edge node to listen to the current status broadcast by the secondary antennas of all central nodes; sorting all central nodes based on the current status of the central node according to a predetermined sorting rule to generate a central node sequence; controlling the edge node to establish a communication connection with the main antenna of the first central node in the central node sequence; adopting the method of the present application, by setting a main antenna for communication and a secondary antenna for broadcasting the current working status of the central node on the central node, each edge node to be connected can automatically determine whether to connect to the central node, without the need to control the edge node to select the central node by manually dividing the frequency band, effectively avoiding communication interference caused by frequency band overlap, and can also automatically select the central node with the best communication effect for communication connection. BRIEF DESCRIPTION OF THE DRAWINGS
[0024] Figure 1 A flow chart of a method for networking a star topology network according to the present invention;
[0025] Figure 2 A network system structure diagram of a star topology network of the present invention;
[0026] Figure 3 is an internal structure diagram of a computer device in an embodiment of the present invention;
[0027] Figure 4 This is a schematic diagram of the structure of a central node and an edge node in an embodiment of the present invention;
[0028] Figure 5 Schematic diagram of the composition of the time slot in an embodiment of the present invention.
[0029] In the figure: 1. Listening module; 2. Sorting module; 3. Communication connection module. DETAILED DESCRIPTION
[0030] In order to make the purpose, features and advantages of the present invention more obvious and easy to understand, the specific implementation methods of the present invention are described in detail below in conjunction with the accompanying drawings. Several embodiments of the present invention are shown in the accompanying drawings. However, the present invention can be implemented in many different forms and is not limited to the embodiments described herein.
[0031] In the present invention, unless otherwise clearly specified and limited, the terms "installed", "connected", "connected", "fixed" and the like should be understood in a broad sense. For example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection, or it can be indirectly connected through an intermediate medium, or it can be the internal connection of two elements. For ordinary technicians in this field, the specific meanings of the above terms in the present invention can be understood according to the specific circumstances. The terms "first" and "second" are used for descriptive purposes only and cannot be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Therefore, the features defined as "first" and "second" may explicitly or implicitly include one or more of the features.
[0032] In the present invention, unless otherwise clearly specified and limited, the first feature being "above" or "below" the second feature may include the first and second features being in direct contact, or may include the first and second features being in contact not directly but through another feature between them. Moreover, the first feature being "above", "above" and "above" the second feature includes the first feature being directly above and obliquely above the second feature, or simply indicates that the first feature is higher in level than the second feature. The first feature being "below", "below" and "below" the second feature includes the first feature being directly below and obliquely below the second feature, or simply indicates that the first feature is lower in level than the second feature. The terms "vertical", "horizontal", "left", "right", "above", "below" and similar expressions are for illustrative purposes only, and do not indicate or imply that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore should not be understood as limiting the present invention.
[0033] The present invention is described in detail below in conjunction with the accompanying drawings and embodiments.
[0034] The present invention provides a method for forming a star topology network, such as Figure 1 As shown, it is applied to a star topology network, the star topology network includes at least one edge node and several central nodes that can establish communication connections with the edge nodes, and the several central nodes are each provided with a main antenna for communicating with the edge node, and a secondary antenna for broadcasting the current state of the central node; the networking method specifically includes:
[0035] S1. Control the edge node to listen to the current status broadcasted by the secondary antennas of all central nodes;
[0036] S2. Sort all central nodes according to a predetermined sorting rule and based on the current status of the central node to generate a central node sequence;
[0037] S3. Control the edge node to establish a communication connection with the main antenna of the first central node in the central node sequence.
[0038] In actual applications, two antennas are set on the central node, namely the main antenna and the sub-antenna. The main antenna is used to communicate with the edge node to receive or send business data, and the sub-antenna is used to broadcast the current status of the central node so that nearby edge nodes that can connect to the central node can judge the working status of the central node by receiving the signal broadcast by the sub-antenna to determine whether the central node is suitable for communication connection. The edge node can also receive messages broadcast by the sub-antennas of multiple central nodes. By sorting the received central nodes, it can ensure that nodes with lower communication load are selected to optimize the use of network resources.
[0039] To summarize, the present application sets a main antenna and a secondary antenna on the central node, so that when the edge node establishes a communication connection, it can first determine whether the current working state of the central node is suitable for establishing a connection, and can enable the edge node to automatically select the central node through the message broadcast by the central node, thereby avoiding the problem of too many edge nodes connected to a central node, causing the communication frequency bands between the edge nodes to overlap and cause communication interference.
[0040] Furthermore, the current state specifically includes: the number of edge nodes that have established communication connections with the main antenna of the central node.
[0041] In practical applications, edge nodes count the number of edge nodes that have established connections with the central node and sort the central nodes, which helps to achieve load balancing and avoid overloading of a central node. It can also help edge nodes select the central node with the best status to establish communication connections.
[0042] Furthermore, the method of sorting all central nodes according to a predetermined sorting rule based on the current status of the central node to generate a central node sequence specifically includes: sorting all central nodes in order from few to many according to the number of edge nodes connected to the main antenna of each central node to generate a central node sequence.
[0043] In practical applications, the number of connections is sorted from small to large, and nodes with lower loads are connected first to improve communication efficiency. Avoid multiple edge nodes connecting to the same central node at the same time to reduce communication conflicts and interference.
[0044] Furthermore, the current state also includes: a communication frequency band in which the main antenna of the central node has been occupied; establishing a communication connection with the main antenna of the first central node in the central node sequence also includes: randomly selecting a communication frequency band in which the main antenna of a central node has not been occupied, and controlling the edge node to establish a communication connection with the main antenna.
[0045] In practical applications, unoccupied communication frequency bands can be dynamically selected to avoid frequency band conflicts, improve communication quality and reliability, and effectively utilize spectrum resources to reduce the risk of interference and signal collision.
[0046] Furthermore, the controlling of the edge node to establish a communication connection with the main antenna of the first central node in the central node sequence specifically includes: using communication time slots to constrain the communication connection, and the communication time slots include: a communication cycle start time slot, a central node initiation time slot, an edge node initiation time slot and a silent time slot.
[0047] In practical applications, time slot management can ensure that the communication process is orderly, reduce interference and conflicts, improve communication efficiency, reduce waiting time, and ensure the timeliness and accuracy of data transmission.
[0048] Furthermore, the communication cycle start time slot is broadcasted by the secondary antenna of the central node, and is used to inform the edge nodes that are about to establish a communication connection with the central node; the central node initiation time slot is broadcasted by the main antenna of the central node, and is used to send commands and data to the edge nodes to establish a communication connection; the edge node initiation time slot is issued by the edge node, and is used to apply to the main antenna of the central node to establish a communication connection; the silent time slot is used to control all edge nodes to enter the listening state.
[0049] In actual applications, the pre-announcement function: the start time slot announces the node information that will be connected to improve the efficiency of communication preparation. Command and data transmission: the initiation time slot is used for command and data transmission to ensure efficient and accurate communication process. Silent listening: the silent time slot controls all edge nodes to enter the listening state to ensure network synchronization and coordination
[0050] In the communication time slot, the present application adds the following functions by adding a silent time slot: Reduce interference: During the silent time slot, all sub-devices enter the listening state and do not send any signals. This can reduce signal interference between multiple devices in the same network, especially in the case of shared channels. Synchronization and coordination: The silent time slot helps synchronize devices in the network. For example, the network coordinator can send a synchronization signal during the silent time slot to ensure that all devices work on the same time base. Energy saving: In a network of some low-power devices, the silent time slot can be used to save energy. The device can enter a low-power mode during the silent time slot and wake up only during the necessary time period to listen for signals. Channel listening: The silent time slot can be used for the device to listen to the channel to determine whether the channel is idle or whether there is an interference source. In this way, the device can communicate when the channel is idle, thereby improving the reliability and efficiency of communication. Data acquisition: During the silent time slot, the sub-device can listen to instructions or data requests from the master device or network coordinator to prepare to send data in the next time slot. These functions can be combined and adjusted according to specific needs in actual applications to optimize network performance and device energy efficiency.
[0051] Furthermore, after establishing a communication connection with the central node, it also includes: determining whether the current central node is faulty, and if so, selecting a central node different from the current central node and re-establishing the communication connection.
[0052] In practical applications, if the current device fails, such as being unable to connect to the network, the information can be broadcast through the secondary antenna so that the edge node can cut off the communication connection with the central node in time to ensure the stability of the edge node's operation.
[0053] Furthermore, in order to avoid the situation where another better central node appears after the edge node is connected to a certain central node, causing the edge node to repeatedly disconnect and connect, thus affecting the normal operation of the device, after the edge node establishes a connection with the central node, a state threshold for limiting the edge node to replace the central node needs to be set. Only when the state of a new central node exceeds the state threshold compared to the state of the currently connected central node, the central node can be replaced with the better central node to establish a new communication connection. For example, 25 edge node devices are connected to the current central node, and one of the edge nodes receives the broadcast information of the secondary antenna and finds that there is a central node that receives 23 edge node devices. Therefore, theoretically, replacing the edge node with a new central node will make the device's communication effect better and the load more balanced. However, when the state difference between the central nodes is not large enough, the edge node will repeatedly establish and disconnect with the central node, making the communication of the edge node unsustainable. Therefore, by setting a threshold, for example, it is limited that only when the difference in the number of connected devices is more than 10, the edge node that has established a connection is allowed to replace the central node. That is to say, only when the central node with less than 15 connected devices is searched, the edge node can be separated from the current central node and then establish a communication connection with the new central node. By setting the status threshold, the edge node can avoid frequent replacement of the central node. This can improve the stability of the connection between the edge node and the central node and ensure the continuity and reliability of communication. Frequent connection and disconnection of the edge node to the central node will cause signal interference and network instability. By setting the threshold, unnecessary connection operations can be reduced, signal interference can be reduced, and the communication quality of the overall network can be improved. The setting of the status threshold helps to distribute the network load more reasonably. Only when the status of the new central node is significantly better than the current node, the connection replacement will be triggered, thereby optimizing the utilization of network resources and achieving the effect of load balancing. Frequent connection switching will consume system resources and time and reduce the response speed of the system. By limiting the connection replacement frequency of edge nodes, the response speed and processing efficiency of the system can be improved, and the user experience can be improved. Frequent switching of edge nodes will increase power and resource consumption. Setting thresholds can reduce unnecessary switching operations, thereby saving power and resources of the device and extending the service life of the device. Frequent connection switching increases the complexity of network management and maintenance costs. By setting thresholds, connection management can be simplified, maintenance costs can be reduced, and the manageability of the network can be improved. Under certain circumstances, a central node may experience temporary load fluctuations. If edge nodes switch frequently, the network will be unstable. Setting thresholds can enhance the fault tolerance of the system and make the network more adaptable to temporary fluctuations. Frequent connection and disconnection operations increase signal overhead and consume bandwidth resources. By limiting connection changes, signal overhead can be reduced and bandwidth utilization can be improved.
[0054] Furthermore, in actual use, there may be multiple edge nodes communicating with the central node at the same time. In order to avoid signal conflicts, the edge nodes use the carrier sense multiple access / collision avoidance method to communicate with the gateway. In a certain period of time, there may be multiple sub-devices (such as sensors, smart home devices, etc.) that need to communicate with the gateway (send data or receive instructions). CSMA / CA method: Carrier Sense: Before sending data, each sub-device will first listen to the wireless channel (that is, check whether the channel is idle). If the channel is idle (no other device is sending data), the sub-device can start sending data. Collision Avoidance: If the channel is not idle (other devices are sending data), the sub-device will wait for a random period of time and then check the channel again. This random waiting time reduces the probability of collision caused by multiple devices sending data at the same time. Once a sub-device finds that the channel is idle and successfully obtains the channel through the CSMA / CA method, it will start data communication with the gateway. Other sub-devices continue to wait and repeat the CSMA / CA process until they can also successfully communicate with the gateway.
[0055] like Figure 2 As shown, the present invention also provides a star topology network networking system, including:
[0056] Listening module 1: used to control the edge node to listen to the current status broadcasted by the secondary antennas of all central nodes;
[0057] Sorting module 2: used to sort all central nodes according to the predetermined sorting rules and based on the current status of the central nodes to generate a central node sequence;
[0058] Communication connection module 3: used to control the edge node to establish a communication connection with the main antenna of the first central node in the central node sequence.
[0059] For the specific definition of a networking system of a star topology network, please refer to the definition of a networking method of a star topology network in the above text, which will not be repeated here. Each module in the above-mentioned networking system of a star topology network can be implemented in whole or in part by software, hardware and a combination thereof. The above-mentioned modules can be embedded in or independent of the processor in the computer device in the form of hardware, or can be stored in the memory of the computer device in the form of software, so that the processor can call and execute the operations corresponding to the above modules.
[0060] In one embodiment, a computer device is provided. The computer device may be a server, and its internal structure diagram may be as follows: Figure 3As shown. The computer device includes a processor, a memory, a network interface and a database connected through a system bus. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program and a database. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. When the computer program is executed by the processor, a networking method of a star topology network is implemented.
[0061] Those skilled in the art will understand that Figure 3 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.
[0062] In one embodiment, a computer device is provided, including a memory and a processor, wherein a computer program is stored in the memory, and the processor implements the following steps when executing the computer program: applied to a star topology network, the star topology network includes at least one edge node and several central nodes that can establish a communication connection with the edge node, and each of the several central nodes is provided with a main antenna for communicating with the edge node, and a secondary antenna for broadcasting the current state of the central node; the networking method specifically includes: controlling the edge node to listen to the current state broadcasted by the secondary antennas of all central nodes; sorting all central nodes based on the current state of the central node according to a predetermined sorting rule to generate a central node sequence; controlling the edge node to establish a communication connection with the main antenna of the first central node in the central node sequence.
[0063] In one embodiment, the current state specifically includes: the number of edge nodes that have established communication connections with the main antenna of the central node.
[0064] In one embodiment, the method of sorting all central nodes according to a predetermined sorting rule based on the current status of the central node to generate a central node sequence specifically includes: sorting all central nodes in order from few to many according to the number of edge nodes connected to the main antenna of each central node to generate a central node sequence.
[0065] In one embodiment, the current state also includes: a communication frequency band in which the main antenna of the central node has been occupied; establishing a communication connection with the main antenna of the first central node in the central node sequence also includes: randomly selecting a communication frequency band in which the main antenna of a central node has not been occupied, and controlling the edge node to establish a communication connection with the main antenna.
[0066] In one embodiment, the controlling of the edge node to establish a communication connection with the main antenna of the first central node in the central node sequence specifically includes: using communication time slots to constrain the communication connection, and the communication time slots include: a communication cycle start time slot, a central node initiation time slot, an edge node initiation time slot, and a silent time slot.
[0067] In one embodiment, the communication cycle start time slot is broadcasted by the secondary antenna of the central node, and is used to inform the edge nodes that are about to establish a communication connection with the central node; the central node initiation time slot is broadcasted by the main antenna of the central node, and is used to send commands and data to the edge nodes to establish a communication connection; the edge node initiation time slot is issued by the edge node, and is used to apply to the main antenna of the central node to establish a communication connection; the silent time slot is used to control all edge nodes to enter the listening state.
[0068] In one embodiment, after establishing a communication connection with the central node, the method further includes: determining whether the current central node is faulty, and if so, selecting a central node different from the current central node and re-establishing the communication connection.
[0069] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, database or other media used in the embodiments provided in this application can include non-volatile and / or volatile memory. Non-volatile memory can include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory. Volatile memory can include random access memory (RAM) or external cache memory. As an illustration and not limitation, RAM is available in many forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
[0070] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0071] The above is only a preferred embodiment of the present invention, and the protection scope of the present invention is not limited to the above embodiments. All technical solutions under the concept of the present invention belong to the protection scope of the present invention. It should be pointed out that for ordinary technicians in this technical field, some improvements and modifications without departing from the principle of the present invention should also be regarded as the protection scope of the present invention.
Claims
1. A method for networking a star topology network, characterized in that: Applied to a star topology network, the star topology network includes at least one edge node and a number of central nodes capable of establishing communication connections with the edge node, each of the central nodes is provided with a main antenna for communicating with the edge node, and a secondary antenna for broadcasting the current status of the central node; The networking method specifically includes: Control the edge node to listen to the current status broadcasted by the secondary antennas of all central nodes; According to a predetermined sorting rule, all central nodes are sorted based on the current status of the central nodes to generate a central node sequence; The edge node is controlled to establish a communication connection with a main antenna of a first central node in the central node sequence.
2. A method for forming a star topology network according to claim 1, characterized in that: The current status specifically includes: The number of edge nodes that have established communication connections with the main antenna of the central node.
3. A method for forming a star topology network according to claim 2, characterized in that: The step of sorting all central nodes according to a predetermined sorting rule and based on the current status of the central node to generate a central node sequence specifically includes: According to the number of edge nodes connected to the main antenna of each central node, all central nodes are sorted in order from few to many to generate a central node sequence.
4. A method for forming a star topology network according to claim 3, characterized in that: The current state also includes: the communication frequency band occupied by the main antenna of the central node; The establishing of a communication connection with a main antenna of a first central node in the central node sequence further includes: A communication frequency band of a main antenna of a central node that has not been occupied is randomly selected, and the edge node is controlled to establish a communication connection with the main antenna.
5. The method for forming a star topology network according to claim 1, characterized in that: The controlling of the edge node to establish a communication connection with the main antenna of the first central node in the central node sequence specifically includes: using communication time slots to constrain the communication connection, and the communication time slots include: a communication cycle start time slot, a central node initiation time slot, an edge node initiation time slot and a silent time slot.
6. A method for forming a star topology network according to claim 5, characterized in that: The communication cycle start time slot is broadcasted by the secondary antenna of the central node and is used to inform the edge nodes that are about to establish a communication connection with the central node; The central node initiation time slot is broadcasted by the main antenna of the central node and is used to send commands and data to the edge node to which the communication connection is to be established; The edge node initiation time slot is sent by the edge node and is used to apply to the main antenna of the central node to establish a communication connection; The silent time slot is used to control all edge nodes to enter a listening state.
7. The method for forming a star topology network according to claim 1, characterized in that: After establishing a communication connection with the central node, it also includes: Determine whether the current central node is faulty. If so, select a central node different from the current central node and re-establish the communication connection.
8. A star topology network system, characterized in that: include: Listening module: used to control the edge node to listen to the current status broadcast by the secondary antennas of all central nodes; Sorting module: used to sort all central nodes according to the predetermined sorting rules and based on the current status of the central nodes to generate a central node sequence; Communication connection module: used to control the edge node to establish a communication connection with the main antenna of the first central node in the central node sequence.
9. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 7 are implemented.
10. A computer device comprising a memory and a processor, wherein the memory stores a computer program, characterized in that: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 7 are implemented.