Cooperative command and control method based on heterogeneous network nodes

By installing daemons on network nodes, dynamic adaptation and ad hoc networking are achieved when the central node is lost, the problem of waste resources and low efficiency of collaborative accusation after the central node is damaged, and the flexibility of network management is improved and security.

CN119052048APending Publication Date: 2024-11-29NO 30 INST OF CHINA ELECTRONIC TECH GRP CORP
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411079567.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-07
Publication Date
2024-11-29

AI Technical Summary

Technical Problem

In special extreme scenarios, when the central node is physically damaged, the existing technology cannot quickly reorganize and coordinate the accusation of network nodes, resulting in inefficient resource waste and coordinated charges, and traditional election strategies cannot be synchronized.

Method used

By installing daemons on all network nodes, the initial center node regularly issues alternative center node addresses and collaborative commands. The alternative center node acts as a new center node when the center node is out of contact, and continues to issue instructions. The network node selects new ones by itself. Central node to achieve dynamic adaptation.

Benefits of technology

Effectively solve the problem of idle resource and low efficiency of collaborative accusation when the central node is lost, realize dynamic adaptation and ad hoc networking of network nodes, avoid the need to manually update the management address, and improve the flexibility and security of network management. sex.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119052048A_ABST
    Figure CN119052048A_ABST
Patent Text Reader

Abstract

The invention provides a collaborative command and control method based on heterogeneous network nodes, and belongs to the technical field of network security, and the collaborative command and control method comprises the following steps: all network nodes are provided with a daemon, and are connected with an initial center node based on the daemon; the initial center node regularly issues an alternative center node address and a cooperative command and control instruction to the network node; the network node receives and executes a collaborative command and control instruction issued by the initial center node; wherein when the initial center node loses communication and fails, the alternative center node with the preset condition serves as a new center node, and the new center node continues to issue the alternative center node address and the cooperative command and control instruction regularly. According to the method, the problem of cooperative command and control on heterogeneous network nodes when a traditional center node is lost and fails can be solved. Particularly, in a special scene, when a large-area network cannot be intercommunicated, namely when a Leader node of a traditional consensus algorithm loses a heartbeat packet due to a network reason, the heterogeneous nodes are cooperatively commanded and controlled.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of network security technology, and in particular to a collaborative charging method based on heterogeneous network nodes. Background Art

[0002] In the Internet and other dedicated information networks, especially in large networks involving multiple network node resources, due to the need for network supervision, most of them adopt a centralized approach, using central command nodes for command issuance and coordination. However, under special extreme scenario conditions, for example, traditional central command nodes may be attacked by network attacks or physically damaged, resulting in the problem of uncontrolled disposal of all network nodes. For the superior command side, network node resources cannot be effectively utilized, resource coordination scheduling is difficult, or status tracking and feedback are difficult.

[0003] When dealing with network security incidents in extreme scenarios when the central node is disconnected or fails, existing technologies mostly perform single-point passive defense at the central node, or set up multiple central nodes to enhance system redundancy. They are unable to effectively update the coordination strategy when the central network node has been physically damaged in special extreme scenarios. Existing technologies are unable to coordinate scheduling and command and control heterogeneous network nodes, resulting in a waste of network node resources, which poses a challenge to traditional network defense.

[0004] Therefore, the prior art has the following technical problems:

[0005] 1. When the central node is physically damaged, it is impossible to quickly reorganize and coordinate the network nodes, resulting in a certain waste of network node resources;

[0006] 2. When the network structure changes after the central node is physically damaged, the network node resources cannot update the new central node according to the strategy, resulting in a decrease in the efficiency of collaborative control of surviving network resources.

[0007] 3. Under special circumstances, the central node and network node resources cannot be interconnected, resulting in the inability to synchronize traditional election strategies. Summary of the invention

[0008] The technical problem to be solved by the present invention is to solve the problem of idle resource waste in unified charge of heterogeneous network nodes and low efficiency of collaborative charge of surviving network nodes in the prior art when the central node loses connection or fails. The present invention proposes a collaborative charge method based on heterogeneous network nodes.

[0009] A collaborative charge method based on heterogeneous network nodes according to an embodiment of the present invention includes:

[0010] A100, all network nodes install the daemon program and connect to the initial central node based on the daemon program;

[0011] A200, the initial central node sends the candidate central node address and the coordinated charge instruction to the network node at a regular interval;

[0012] A300, the network node receives and executes the coordinated charge instruction issued by the initial central node;

[0013] Among them, when the initial central node loses connection or fails, an alternative central node that meets preset conditions acts as a new central node, the network node is connected to the new central node, and the new central node continues to send the alternative central node address and collaborative charge instructions regularly.

[0014] According to some embodiments of the present invention, the method further comprises:

[0015] A400, the network node receives and executes the coordinated charge instruction issued by the new central node.

[0016] In some embodiments of the present invention, the method further comprises:

[0017] A500, when the network node cannot connect to the initial central node and the candidate central node, the network node completes the instruction by itself according to the built-in strategy.

[0018] According to some embodiments of the present invention, in step A100, all network nodes deploy an installation environment in advance, and automatically select a daemon suitable for their own heterogeneous platform and operating system version for installation based on the installation environment.

[0019] In some embodiments of the present invention, in step A100, the initial central node address is written into the daemon in a hard-coded form, and all network nodes connect to the initial central node address when they are connected for the first time.

[0020] According to some embodiments of the present invention, in step A200, the initial central node selects an alternative central node address according to the alternative central node strategy, and sends it to the network node.

[0021] In some embodiments of the present invention, the preset conditions of the candidate central node include: having a public IP address and being network accessible, and the network transmission speed of the candidate central node is faster than that of other network nodes.

[0022] According to some embodiments of the present invention, a method for measuring the delay of a public network IP address file selects to use the PING, TRACEROUTE, TRACERT, FPING, and MTR commands provided by the operating system, and confirms the alternative central node by sorting the network delays of different IP addresses from small to large.

[0023] In some embodiments of the present invention, the candidate central node is configured according to 10% of the number of network nodes, and the node with the smallest average delay time Avg is selected as the new central node:

[0024]

[0025] Where N is the number of sorting tests; a i is the bandwidth value measured for the ith time, which is implemented by the erf command; b i is the delay time of the ith measurement, which is implemented by the ping command; c i It is the packet loss rate measured for the ith time, which is implemented by the mtr command.

[0026] According to some embodiments of the present invention, the network nodes include: a Windows host, a Windows server, a Linux host, a Linux server, an Android terminal, and a preset Internet of Things terminal;

[0027] The installation method of the daemon program includes: downloading a network installation package, downloading a Docker image program, Gitclone, or Apt-get.

[0028] Compared with the prior art, the present invention has the following beneficial effects:

[0029] 1. The present invention solves the problem that under special extreme scenarios, for example, when the traditional central control node may be attacked by the network or physically damaged, the management end may lose control of all network nodes, which may lead to the ineffective utilization of network node resources, difficulty in resource coordination scheduling, and difficulty in status tracking and feedback. The present invention effectively solves the technical problems of the central node's automatic selection and address distribution of candidate central nodes, enabling network nodes to achieve dynamic and adaptive network scenarios.

[0030] Second, in the traditional "cloud-management-end" scenario, the extreme special problem of cloud center nodes being out of control and out of connection is not taken into account. If the core node is physically damaged, all network nodes will be out of control. At this time, the management end address can only be updated through a manual update program on the network node. The present invention solves the problem in the "cloud-management-end" scenario. When the original central node fails, each node can select a new central node by itself through the node network delay selection strategy, realizing the collaborative management of distributed network nodes, and having the characteristics of dynamic adaptability for the entire network node.

[0031] 3. The present invention proposes a central node selection strategy, which can enable network nodes to self-organize and reversely connect to the central node, and better solves the practical problem of one-way access and manual networking settings required in traditional network management.

[0032] Fourth, the present invention can be used in the real world of IoT terminal management, terminal management of other dedicated information networks, distributed network node resource management and other scenarios, and has a certain degree of general applicability. In key technologies such as node authentication, instruction transmission, and address distribution, the method of the present invention can be used and the application can be transformed to ensure the security of network node connection and transmission. BRIEF DESCRIPTION OF THE DRAWINGS

[0033] Figure 1 A flowchart of a collaborative charge method based on heterogeneous network nodes according to an embodiment of the present invention;

[0034] Figure 2 A specific networking collaboration diagram of a collaborative charge method based on heterogeneous network nodes according to an embodiment of the present invention;

[0035] Figure 3 A schematic diagram of a data structure of addresses and instructions of normalized numbers used in a collaborative charge method based on heterogeneous network nodes according to an embodiment of the present invention;

[0036] Figure 4 A schematic diagram of dynamic adaptation of central node selection based on a collaborative charge and control method of heterogeneous network nodes according to an embodiment of the present invention;

[0037] Figure 5 The diagram is a schematic diagram of each node executing an optimal strategy when the network is unavailable according to the collaborative charge method based on heterogeneous network nodes according to an embodiment of the present invention. DETAILED DESCRIPTION

[0038] In order to further explain the technical means and effects adopted by the present invention to achieve the predetermined purpose, the present invention is described in detail below in conjunction with the accompanying drawings and preferred embodiments.

[0039] The description of the method flow in the specification of the present invention and the steps of the flowchart in the drawings of the specification of the present invention do not have to be strictly executed according to the step numbers, and the method steps can be executed in a different order. Moreover, some steps can be omitted, multiple steps can be combined into one step, and / or one step can be decomposed into multiple steps.

[0040] Traditional consensus algorithms can solve the fault tolerance of distributed networks, and famous consensus algorithms include Paxos, Raft, Pow, etc. However, traditional consensus algorithms are consensus election methods based on the interconnection and intercommunication of network nodes, which have certain limitations. Traditional consensus algorithms cannot solve certain special scenarios, including but not limited to: when large-scale networks cannot communicate with each other, when central nodes lose connection and cannot be synchronized, and when network backbone nodes are physically paralyzed and temporarily unable to forward.

[0041] The present invention provides a collaborative charge method based on heterogeneous network nodes, which can solve the problem of collaborative charge of heterogeneous network nodes when the traditional central node is disconnected or invalid. In particular, when the large-area network cannot communicate with each other in special scenarios, that is, when the leader node of the traditional consensus algorithm loses the heartbeat packet due to network reasons, the problem of collaborative charge of heterogeneous nodes can be solved.

[0042] like Figure 1 As shown, the collaborative charge method based on heterogeneous network nodes according to the present invention includes the following steps:

[0043] S1, all network nodes install the daemon adapted to the heterogeneous platform;

[0044] S2, the central node sends the candidate central node address and coordinated charge instructions regularly;

[0045] S3, all network nodes select the central node, connect to the central node in reverse, and execute the instructions issued by the central node;

[0046] S4: When the central node loses connection or fails, a qualified alternative central node acts as the central node and continues to send the alternative central node address and coordinated command instructions regularly; when both the central node and the alternative central node lose connection, all nodes complete the instructions according to the optimal strategy.

[0047] S5, when the network is connected, other networks connect to the new central node and execute the instructions issued by the new central node; when the network cannot be interconnected, all network nodes complete the instructions according to the built-in strategy.

[0048] According to some embodiments of the present invention, step S1 specifically includes:

[0049] S11, all network nodes are deployed in advance to install the environment:

[0050] All heterogeneous network nodes can include Windows hosts and servers, Linux hosts and servers, Android terminals, other IoT terminals, etc.; various network nodes need to be connected to the network, have administrator privileges, and have the privileges to install, read and write programs, etc.; all network nodes need to install client daemons through the Internet or other dedicated information networks;

[0051] S12, all network nodes install the daemon adapted to the heterogeneous platform:

[0052] All network nodes can automatically select the daemon suitable for their own platform and operating system version through the installation environment for installation. The installation method can be downloaded from the network installation package, downloaded from the Docker image program, Git clone, Apt-get and other installation methods.

[0053] In some embodiments of the present invention, step S2 specifically includes:

[0054] S21, confirm the central node address. The initial central node address is hard-coded into the daemon of the heterogeneous platform. All network nodes will connect to the central node address when they are connected for the first time.

[0055] S22, the central node sends the candidate central node address regularly. The central node will select the candidate central node address according to the candidate central node strategy based on the received network node request and send it to the network node. The data sending format is as follows: Figure 3 As shown. Depending on the different collaborative tasks of network nodes, the timing period can be selected to be hourly, daily, weekly, etc.

[0056] The candidate central node strategy includes: having a public IP address and being reachable on the network, and the network transmission speed of the candidate central node is faster than other nodes. The method of measuring the delay of the public IP address file can choose to use the PING, TRACEROUTE, TRACERT, FPING, MTR and other commands that come with the operating system, and confirm the candidate central node by sorting the network delays of different IP addresses from small to large. The candidate central node can be configured according to 10% of the number of network nodes. The candidate central node is selected by the central node. The central node address instruction uses a standardized data structure, and the addresses are arranged in a linked list.

[0057] S23, the central node sends out coordinated accusation instructions regularly. The central node sends out coordinated accusation instructions to the terminals connected to the central node regularly. The accusation instructions use a standardized data structure and specify the network behaviors that may be involved in the accusation instructions according to the content. The network behaviors include but are not limited to sending specific network messages.

[0058] According to some embodiments of the present invention, step S3 specifically includes:

[0059] S31, all network nodes select a central node. All network nodes select the address written into the daemon program in hard-coded form as the central node by default; when the central node is disconnected or fails, all network nodes receive the alternative central node address in step S22 as the central node.

[0060] S32, all network nodes connect to the central node in reverse. All network nodes actively connect to the central node.

[0061] S33, all network nodes execute the instructions issued by the central node. Executing the instructions issued by the central node is the original behavior of the network node collaboration.

[0062] In some embodiments of the present invention, step S4 specifically includes:

[0063] S41, when the central node is disconnected or fails, it means that the central node cannot communicate with the network and issue commands due to network reasons. This scenario is mostly used when the central node is offline, the system is reset, or it is attacked by the network, and the central node cannot issue coordinated commands.

[0064] S42, a qualified candidate central node acts as a central node. A qualified candidate central node is a network node that complies with the candidate central node strategy. The candidate central node strategy includes: having a public network IP address and being reachable on the network, and the network transmission speed of the candidate central node is faster than other nodes. The method for measuring the delay of a public network IP address file can be to use the PING, TRACEROUTE, TRACERT, FPING, MTR and other commands provided by the operating system, and to confirm the candidate central node by sorting the network delays of different IP addresses from small to large. The candidate central node can be configured according to 10% of the number of network nodes.

[0065] The central node selection sorting algorithm is as follows:

[0066] Where Avg is the average delay time. N is the number of sorting tests; is the bandwidth value measured in the ith time, which is implemented by the erf command; is the delay time measured in the ith time, which is implemented by the ping command; is the packet loss rate measured in the ith time, which is implemented by the mtr command. The total sorting time is:

[0067] The selection of the central node, selects the node with the smallest Avg as the central node.

[0068] S43, the candidate central node continues to send the candidate central node address and coordinated charge instructions regularly. After the candidate central node is selected, the charge relationship of the network has changed. The candidate central node has become the new central node. The new central node continues to screen and reserve candidate central nodes according to the strategy. The central node continues to send the candidate central node address and coordinated charge instructions regularly.

[0069] S44, when the central node and the candidate central node are both disconnected, all nodes complete the instructions according to the optimal strategy. When all nodes cannot obtain the addresses of the central node and the candidate central node through broadcasting, public channels, etc., the built-in optimal strategy is executed. The optimal strategy includes built-in operations such as regularly publishing its own address to a specific address in a broadcasting manner, regularly requesting the central node address to a specific address, and regularly obtaining an upgrade package from a specific address.

[0070] According to some embodiments of the present invention, step S5 specifically includes:

[0071] S51, other network nodes connect to the new central node. The implementation details are the same as step S32. Network nodes that only have an intranet address can also connect to other new central nodes using the new central node as a relay.

[0072] S52, other network nodes execute the instructions sent by the new central node.

[0073] Compared with the prior art, the present invention has the following beneficial effects:

[0074] 1. The present invention solves the problem that under special extreme scenarios, for example, when the traditional central control node may be attacked by the network or physically damaged, the management end may lose control of all network nodes, which may lead to the ineffective utilization of network node resources, difficulty in resource coordination scheduling, and difficulty in status tracking and feedback. The present invention effectively solves the technical problems of the central node's automatic selection and address distribution of candidate central nodes, enabling network nodes to achieve dynamic and adaptive network scenarios.

[0075] Second, in the traditional "cloud-management-end" scenario, the extreme special problem of cloud center nodes being out of control and out of connection is not taken into account. If the core node is physically damaged, all network nodes will be out of control. At this time, the management end address can only be updated through a manual update program on the network node. The present invention solves the problem in the "cloud-management-end" scenario. When the original central node fails, each node can select a new central node by itself through the node network delay selection strategy, realizing the collaborative management of distributed network nodes, and having the characteristics of dynamic adaptability for the entire network node.

[0076] 3. The present invention proposes a central node selection strategy, which can enable network nodes to self-organize and reversely connect to the central node, and better solves the practical problem of one-way access and manual networking settings required in traditional network management.

[0077] Fourth, the present invention can be used in the real world of IoT terminal management, terminal management of other dedicated information networks, distributed network node resource management and other scenarios, and has a certain degree of general applicability. In key technologies such as node authentication, instruction transmission, and address distribution, the method of the present invention can be used and the application can be transformed to ensure the security of network node connection and transmission.

[0078] In order to make the purpose, features and advantages of the present invention more obvious and easy to understand, the technical scheme in the embodiment of the present invention will be clearly and completely described below in conjunction with the accompanying drawings of the embodiment of the present invention. Obviously, the embodiment described below is only a part of the embodiment of the present invention, not all of the embodiments. Based on the embodiment of the present invention, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present invention.

[0079] The specific steps of the present invention are as follows:

[0080] All network nodes must be deployed and installed in advance. All heterogeneous network nodes can include Windows hosts and servers, Linux hosts and servers, Android terminals, other IoT terminals, etc. All network nodes need to be connected to the network, have administrator privileges, and have the privileges to install, read and write programs, etc. All network nodes need to install client daemons through the Internet or other dedicated information networks;

[0081] All network nodes install a daemon that is compatible with the heterogeneous platform. The daemon is named agent. To implement the heterogeneous platform features, the daemon is available in the following forms: agent_x86.exe, agent_x64.exe, agent_arm.exe, agent.sh, agent.elf, agent.apk, agent.go, agent.c, etc., depending on the platform. All network nodes can automatically select the daemon that is suitable for their own platform and operating system version through the installation environment and install it. The installation method can be downloaded and executed through the network installation package, Docker pull, Git clone, Apt-get, etc.

[0082] Confirm the central node address. The initial central node address is hard-coded into the daemon of the heterogeneous platform. Here we take Address: 199.199.199.199 as an example. All network nodes will connect to the central node address when they are first connected. The central node is represented by C2. The central node address may not be unique. During the development process, the central node address uses a standardized data structure, and the address is arranged in a linked list. The specific form is as follows: Figure 3 shown.

[0083] The central node sends the address of the candidate central node regularly. The central node will select the address of the candidate central node according to the candidate central node strategy based on the received network node request, and send it to the network node. According to the different collaborative tasks of the network nodes, the timing period can be selected to be hourly, daily, weekly, etc. The candidate central node strategy includes: having a public IP address and being reachable on the network, and the network transmission speed of the candidate central node is faster than other nodes. The method for calculating the network transmission speed can be judged by the network test program built into the terminal node. The network test program includes but is not limited to Ping, Erf, Mtr, etc. The above commands are used to sort the data transmission delay from small to large. Select the node with faster speed, that is, shorter delay as the candidate central node. The candidate central node can be configured according to 10% of the number of network nodes. The candidate central node is selected by the central node. The central node address instruction uses a standardized data structure, and the addresses are arranged in the form of a linked list. The specific form is as follows Figure 3 shown.

[0084] The central node sends out coordinated accusation instructions at regular intervals. The central node sends out coordinated accusation instructions to the terminals connected to the central node at regular intervals. The accusation instructions use a standardized data structure and specify the network behaviors that the accusation instructions may involve according to the content. The network behaviors include but are not limited to sending specific network messages, etc. The accusation instructions can be customized according to the usage method, and the agent program of each terminal is responsible for receiving and executing the accusation instructions. The accusation instructions may include but are not limited to: updating the C2 address, updating the agent program, sending a specific protocol data packet to a specific address, making a transit connection to a specific address, updating the key information, self-deletion, etc.

[0085] All network nodes select the central node. All network nodes select the address written into the daemon program in hard-coded form as the central node by default; when the central node is disconnected or fails, all network nodes receive the alternative central node address in step S22 as the central node. In the development process, this function is implemented by the agent program.

[0086] All network nodes connect to the central node in reverse. All network nodes actively connect to the central node. During the development process, the central node needs to have an IP address accessible from the public network, open a designated port for network monitoring, and wait for actively connected network nodes.

[0087] All network nodes execute the instructions issued by the central node. Executing the instructions issued by the central node is the original behavior of network node collaboration.

[0088] When the central node is disconnected or fails, it means that the central node cannot communicate with the network and issue commands due to network reasons. This scenario is often used when the central node is offline, the system is reset, or it is attacked by the network, and the central node cannot issue coordinated commands.

[0089] The qualified candidate central node acts as the central node. The qualified candidate central node is a network node that meets the candidate central node strategy. The candidate central node continues to send the candidate central node address and coordinated charge instructions regularly. After the candidate central node is selected, the charge relationship of the network has changed. Figure 4 As shown in the figure, the candidate central node has become the new central node. The new central node continues to screen and reserve candidate central nodes according to the strategy. The central node continues to issue the candidate central node address and coordinated charge instructions regularly. In the actual development process, the new central node and the candidate central node are added to the address value and instruction list according to the standardized data structure.

[0090] Other network nodes connect to the new central node. The implementation details are consistent with step S32. Network nodes that only have intranet addresses can also be connected to other new central nodes based on the new central node as a relay. In the development process, network nodes that only have intranet addresses can also be connected through the central node as a relay to achieve connection between intranet node resources and address and instruction data transmission between intranet nodes. Other network nodes execute instructions issued by the new central node.

[0091] The above is only an embodiment of the present application and is not intended to limit the present application. For those skilled in the art, the present application may have various changes and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included in the scope of the claims of the present application.

[0092] The present invention can solve the problem of collaborative management of network nodes under heterogeneous platforms, especially when traditional central nodes are disconnected or fail. In the scenario of dynamically adaptable network nodes, the present invention can better solve the practical difficulties of traditional network management that requires one-way access and manual networking settings.

[0093] The above are only representative embodiments of the present invention in many specific application scopes, and do not constitute any limitation on the protection scope of the present invention. Any technical solutions formed by transformation or equivalent replacement fall within the protection scope of the present invention.

[0094] Through the description of the specific implementation methods, a deeper and more specific understanding of the technical means and effects adopted by the present invention to achieve the predetermined purpose should be obtained. However, the accompanying drawings are only for reference and illustration purposes and are not intended to limit the present invention.

Claims

1. A collaborative charge method based on heterogeneous network nodes, characterized in that: include: A100, all network nodes install the daemon program and connect to the initial central node based on the daemon program; A200, the initial central node sends the candidate central node address and the coordinated charge instruction to the network node at a regular interval; A300, the network node receives and executes the coordinated charge instruction issued by the initial central node; Among them, when the initial central node loses connection or fails, an alternative central node that meets preset conditions acts as a new central node, the network node is connected to the new central node, and the new central node continues to send the alternative central node address and collaborative charge instructions regularly.

2. The collaborative charge method based on heterogeneous network nodes according to claim 1 is characterized in that: The method further comprises: A400, the network node receives and executes the coordinated charge instruction issued by the new central node.

3. The collaborative charge method based on heterogeneous network nodes according to claim 1 is characterized in that: The method further comprises: A500, when the network node cannot connect to the initial central node and the candidate central node, the network node completes the instruction by itself according to the built-in strategy.

4. The collaborative charge method based on heterogeneous network nodes according to claim 1 is characterized in that: In step A100, all network nodes deploy an installation environment in advance, and automatically select a daemon program suitable for their own heterogeneous platform and operating system version for installation based on the installation environment.

5. The collaborative charge method based on heterogeneous network nodes according to claim 1 is characterized in that: In step A100, the initial central node address is written into the daemon in a hard-coded form, and all network nodes connect to the initial central node address when they are connected for the first time.

6. The collaborative charge method based on heterogeneous network nodes according to claim 1 is characterized in that: In step A200, the initial central node selects the address of the candidate central node according to the candidate central node strategy, and sends it to the network node.

7. The collaborative charge method based on heterogeneous network nodes according to claim 1 is characterized in that: The preset conditions for the candidate central node include: having a public IP address and being reachable on the network, and the network transmission speed of the candidate central node is faster than that of other network nodes.

8. The collaborative charge method based on heterogeneous network nodes according to claim 7 is characterized in that: The method for measuring the file delay of the public IP address is to use the PING, TRACEROUTE, TRACERT, FPING, and MTR commands that come with the operating system, and sort the network delays of different IP addresses from small to large to confirm the alternative central node.

9. The collaborative charge method based on heterogeneous network nodes according to claim 1 is characterized in that: The candidate central node is configured based on 10% of the number of network nodes, and the node with the smallest average delay time Avg is selected as the new central node: Where N is the number of sorting tests; a i is the bandwidth value measured for the ith time, which is implemented by the erf command; b i is the delay time of the ith measurement, which is implemented by the ping command; c i It is the packet loss rate measured for the ith time, which is implemented by the mtr command.

10. The collaborative charge method based on heterogeneous network nodes according to any one of claims 1 to 9, characterized in that: The network nodes include: Windows host, Windows server, Linux host, Linux server, Android terminal and preset IoT terminal; The installation method of the daemon program includes: downloading a network installation package, downloading a Docker image program, Gitclone, or Apt-get.