CN114007193B - Communication method and system for distributed network nodes - Google Patents

Communication method and system for distributed network nodes Download PDF

Info

Publication number
CN114007193B
CN114007193B CN202111652909.1A CN202111652909A CN114007193B CN 114007193 B CN114007193 B CN 114007193B CN 202111652909 A CN202111652909 A CN 202111652909A CN 114007193 B CN114007193 B CN 114007193B
Authority
CN
China
Prior art keywords
node
private network
public network
network controller
network
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202111652909.1A
Other languages
Chinese (zh)
Other versions
CN114007193A (en
Inventor
王争荣
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Yici Netlink Hangzhou Technology Co ltd
Original Assignee
Yici Netlink Hangzhou Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Yici Netlink Hangzhou Technology Co ltd filed Critical Yici Netlink Hangzhou Technology Co ltd
Priority to CN202111652909.1A priority Critical patent/CN114007193B/en
Publication of CN114007193A publication Critical patent/CN114007193A/en
Application granted granted Critical
Publication of CN114007193B publication Critical patent/CN114007193B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/06Selective distribution of broadcast services, e.g. multimedia broadcast multicast service [MBMS]; Services to user groups; One-way selective calling services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W60/00Affiliation to network, e.g. registration; Terminating affiliation with the network, e.g. de-registration
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/12Setup of transport tunnels

Abstract

The application relates to a communication method and a system of distributed network nodes, wherein the method comprises the following steps: when the node roams into a first private network, searching a private network controller in the first private network by sending a broadcast message, wherein the private network controller is taken as a node in the first private network; after receiving a reply response sent by a private network controller, completing private network node information registration in the private network controller, wherein the private network node information comprises a node IP and a node port; and private network node information registered by each node is acquired from the private network controller, a private network channel is established according to the private network node information, and communication is carried out by utilizing network service in the first private network. By the method and the device, the technical problems of poor reliability and safety of the node communication method in the related technology are solved, and the reliability and safety are improved.

Description

Communication method and system for distributed network nodes
Technical Field
The present application relates to the field of communication node management technologies, and in particular, to a communication method and system for distributed network nodes.
Background
Currently, in the field of mobile communications, individual terminal devices are distributed as nodes in a network. In the distributed network, after node information transfer is carried out between each terminal through the base station, connection can be established.
In the related art, when a terminal (node) first enters a private network environment in a new region, the terminal (node) acquires node information of a terminal to be connected by sending a request to a public network controller; and further, establishing connection and communication with other terminals through the node information. However, this method is limited to the public network environment, and therefore, when the network environment is poor, the reliability is low, and in addition, because this communication method needs to enter the public network, the security is also low.
At present, no effective solution is provided for the problem of low reliability and safety of a node communication method in the related technology.
Disclosure of Invention
The embodiment of the application provides a communication method and a communication system of distributed network nodes, which are used for at least solving the problems of low reliability and safety of a node communication method in the related technology.
In a first aspect, an embodiment of the present application provides a communication method for a distributed network node, where the method includes:
when a node roams into a first private network, searching a private network controller in the first private network by sending a broadcast message, wherein the private network controller is dualized by the node in the first private network;
after receiving a reply response sent by the private network controller, completing private network node information registration in the private network controller, wherein the private network node information comprises a node IP and a node port;
and private network node information registered by each node is acquired from the private network controller, a private network channel between the nodes is established according to the private network node information, and the communication is carried out by utilizing the network service in the first private network.
Through the embodiment, the nodes roaming into the private network can communicate by utilizing the existing high-quality network under the private network based on the private network controller, so that the conditions of frame loss/transmission errors and the like caused by poor network conditions of the public network can be avoided, and the stability and the reliability can be improved compared with the existing scheme.
In some embodiments, after searching for a private network controller in the first private network by sending a broadcast packet, the method further includes:
and under the condition that the private network controller is not found, determining a target node in all nodes of the first private network based on a preset rule, and enabling the target node to double as the private network controller.
Through the embodiment, the nodes in the private network can be used as the private network controller, and the private network controller does not need to be deployed by using specific equipment under the private network environment, so that the method is more flexible, convenient and lower in cost.
In some embodiments, the determining a target node among all nodes of the first private network based on a preset rule comprises:
determining a target node set composed of non-portable communication equipment in all nodes of the first private network;
in the target node set, obtaining expected values of the nodes according to bandwidth conditions and hardware performance of the nodes, wherein the expected values reflect matching degrees of the nodes serving as the private network controller;
and selecting the node with the highest expected value as the target node.
Through the embodiment, the node device which is most suitable for being used as the private network controller can be selected from all the nodes according to the comprehensive condition of each node, so that the reliability of the private network controller can be further improved.
In some embodiments, after the node roams into a first private network, the method further comprises:
the node completes public network node information registration in a public network controller, wherein the public network controller is deployed in a public network environment;
the public network node outside the first private network acquires public network node information registered by the node from the public network controller;
and according to the public network node information, the public network node establishes a public network channel with the node in the first private network, and utilizes public network service for communication.
Through the embodiment, the technical scheme of the application can support the simultaneous registration of node dual controllers (public network/private network), and can realize the communication with the public network node while obtaining the performance of the private network by walking the private network channel through the private network controller when communicating with the node in the private network and the public network channel through the public network controller when communicating with other public network nodes.
In some embodiments, after the node completes the public network node information registration in the public network controller, the method further includes:
the node in the second private network acquires public network node information registered by the node from the public network controller;
and according to the public network node information, the nodes in the second private network and the nodes in the first private network establish a public network channel, and communicate by using the public network service.
Through the embodiment, the node registration information of the other party can be acquired between the nodes entering different private networks through the public network controller, and a public network channel is further established based on the node registration information and communication is carried out.
In some embodiments, before the node roams into the first private network, the method further comprises:
the node completes public network node information registration in a public network controller, wherein the public network controller is deployed in a public network environment, and the node is located in the public network environment;
and public network node information registered by each public network node is obtained from the public network controller, a public network channel is established with each public network node according to the public network node information, and public network services are utilized for communication.
Through the embodiment, before the nodes roam into the private network, the nodes distributed in different regions can communicate on the public network through the public network controller.
In a second aspect, an embodiment of the present application provides a communication system of a distributed network node, where the system includes: a node and a private network controller, wherein;
the node is used for searching a private network controller in a first private network by sending a broadcast message when the node roams into the first private network;
the private network controller is configured to send a reply response to the node when receiving the broadcast packet, where the private network controller is located in the first private network and is also referred to by the node in the first private network;
the node is further configured to complete private network node information registration in the private network controller after receiving the reply response;
the private network controller is also used for learning and recording private network node information registered by each node in the first private network;
the nodes are also used for acquiring private network node information registered by each node from the private network controller, establishing a private network channel between the nodes according to the private network node information, and carrying out communication by utilizing the network service in the first private network.
In some of these embodiments, the system further comprises a determination unit, wherein the determination unit is configured to:
and under the condition that the private network controller is not found, determining a target node in all nodes of the first private network based on a preset rule, wherein the target node doubles as the private network controller.
In a third aspect, an embodiment of the present application provides a computer device, which includes a memory, a processor, and a computer program stored on the memory and executable on the processor, and the processor, when executing the computer program, implements the communication method of the distributed network node according to the first aspect.
In a fourth aspect, the present application provides a computer-readable storage medium, on which a computer program is stored, which when executed by a processor, implements a communication method of a distributed network node as described in the first aspect above.
Drawings
The accompanying drawings, which are included to provide a further understanding of the application and are incorporated in and constitute a part of this application, illustrate embodiment(s) of the application and together with the description serve to explain the application and not to limit the application. In the drawings:
fig. 1 is a schematic application environment diagram of a communication method of a distributed network node according to an embodiment of the present application;
fig. 2 is a flowchart of a communication method of a distributed network node according to an embodiment of the present application;
fig. 3 is a flowchart for determining a private network controller according to an embodiment of the present application;
fig. 4 is a schematic diagram of a node communication manner according to an embodiment of the present application;
FIG. 5 is a schematic diagram of another node communication method according to an embodiment of the present application;
FIG. 6 is a schematic diagram of another node communication method according to an embodiment of the present application;
FIG. 7 is a block diagram of a communication system of a distributed network node according to an embodiment of the present application;
fig. 8 is an internal structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application will be described and illustrated below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments provided in the present application without any inventive step are within the scope of protection of the present application.
It is obvious that the drawings in the following description are only examples or embodiments of the present application, and that it is also possible for a person skilled in the art to apply the present application to other similar contexts on the basis of these drawings without inventive effort. Moreover, it should be appreciated that in the development of any such actual implementation, as in any engineering or design project, numerous implementation-specific decisions must be made to achieve the developers' specific goals, such as compliance with system-related and business-related constraints, which may vary from one implementation to another.
Reference in the specification to "an embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment can be included in at least one embodiment of the specification. The appearances of the phrase in various places in the specification are not necessarily all referring to the same embodiment, nor are separate or alternative embodiments mutually exclusive of other embodiments. Those of ordinary skill in the art will explicitly and implicitly appreciate that the embodiments described herein may be combined with other embodiments without conflict.
The communication method of the distributed network node provided in the embodiment of the present application may be applied to an application environment shown in fig. 1, where fig. 1 is an application environment schematic diagram of the communication method of the distributed network node according to the embodiment of the present application.
As shown in fig. 1, a node 10 and a controller 11 are a communication device and a proxy server in a communication scenario, respectively, in which the node 10 registers its own node information with the controller 11, the controller 11 records and manages the node information, and provides an information inquiry service to other nodes. The controller 10 and a plurality of nodes 10 dispersed in each area together constitute a distributed communication network. In the communication network, the number of nodes may be many, but the controller 10 has only one public network controller and a number of temporary private network controllers. Further, after any node a queries the node information of the target node B through the controller 11, a direct connection channel can be established with the target node B according to the node information, and then communication can be performed without depending on the controller 11.
Further, the node 10 may be various portable mobile communication devices, such as wireless communication devices like mobile phones and tablet computers; or a fixed wired communication device such as a desktop computer and a fixed telephone. Further, the controller 11 may be a public network controller disposed in a public network, such as a communication base station; or a private network controller arranged in a private network environment. It should be noted that, the private network controller in this application is not implemented by an application-specific device (such as a router, a switch, etc.), but is used for managing node information registered by a node and providing an inquiry service, etc. by using the node in a private network environment to also serve as the private network controller.
Fig. 2 is a flowchart of a communication method of a distributed network node according to an embodiment of the present application, where the flowchart includes the following steps, as shown in fig. 2:
s201, when a node roams into a first private network, searching a private network controller in the first private network by sending a broadcast message, wherein the private network controller is dualized by the node in the first private network;
node roaming refers to a process in which a mobile communication device leaves its service area (registered area), enters a new area, and continues to be used in the new area.
For example, node a is a user's smartphone that initially registers as a public network node for area a and acquires and uploads data over the public network. After the user enters the coverage area of the local area network in the area B with the smartphone, the user obtains and uploads data through the internal network of the local area network, that is, a specific node roaming process.
In this embodiment, the first private network is an internal network of various hierarchies, which may be but not limited to a home local area network, a company intranet, or a WIFI network provided by a shop/campus. Further, the private network controller is configured to manage node information of each node in the first private network, and provide a node information query service to each node in the private network.
It should be noted that, in the present application, a private network controller does not need to be deployed in advance by using a special gateway device. The private network controller may be taken by any existing node within the first private network or a new node roaming in. Optionally, when selecting a node which doubles as a private network controller, a node device with good network conditions and high hardware performance is preferentially considered.
S202, after receiving a reply response sent by a private network controller, completing private network node information registration in the private network controller, wherein the private network node information comprises a node IP and a node port;
in step S201, the roaming node queries whether a private network controller exists in the first private network by sending a broadcast message, and correspondingly, in this step, when receiving a reply response from the private network controller, the roaming node indicates that a target has been queried, and may further execute a registration procedure.
When the node registers with the private network controller, the private network controller synchronously learns the node information. Further, the private network controller records the IP information and the port information corresponding to each node, and each node may send a request to the private network controller to query the IP information and the port information of other nodes.
It should be noted that the node applies some preset communication policies, thereby supporting automatic discovery of the private network server, and realizing registration of node information and node connection without user's own perception or manual configuration. Optionally, the preset communication policy applied by the node may be deployed in a mobile phone APP (Application) corresponding to the personal private cloud product.
S203, obtaining the private network node information registered by each node from the private network controller, establishing a private network channel between the nodes according to the private network node information, and communicating by using the network service in the first private network.
For example, after the node a roams into the first private network and completes its node information registration, if the existing node B in the current network needs to connect to the node a, it only needs to acquire the IP and port of the node a from the private network controller, and then it can establish a private network channel with the node a and perform communication. Meanwhile, if the node A needs to communicate with other nodes in the private network, the IP and the port of the node to be connected can be obtained through the private network controller, and a private network channel is established with other nodes for communication based on the IP and the port.
It should be noted that, in the first private network, the connection and communication process between the nodes directly utilizes the high-quality network conditions and mature network services in the first private network, and does not need to be forwarded by the public network controller, so that the stability and security of node communication can be improved.
Through the steps S201 to S203, compared with the method in the related art that the connection of the nodes in the private network needs to be realized through the public network controller, the private network controller is introduced in the embodiment of the present application, and the private network controller with the nodes being concurrently responsible for the registration and query of the node information in the private network. Through the private network controller, nodes in the private network can establish connection and communicate by applying network conditions under the private network without passing through a public network environment. The technical problem that the node communication method in the related technology is poor in reliability and safety is solved, and reliability and safety are improved.
In some embodiments, after the node sends the broadcast packet, if the private network controller is not found in the first private network, an election process of the private network controller is performed, where the election process is to determine, based on a preset rule, a target node that is most suitable as the private network controller among all nodes.
In some embodiments, fig. 3 is a flowchart of determining a private network controller according to an embodiment of the present application, and as shown in fig. 3, the flowchart specifically includes the following steps:
s301, determining a target node set composed of non-portable communication equipment in all nodes of a first private network;
due to the easy mobility of the portable communication device, the portable communication device may move out of the network coverage of the first private network, so when determining the target node, the non-portable communication device should be preferably excluded, and a target node set consisting of fixed communication devices should be acquired.
S302, in a target node set, obtaining expected values of all nodes according to bandwidth conditions and hardware performance of all nodes, wherein the expected values reflect matching degrees of the nodes serving as private network controllers;
further, it is considered that the node serving as the private network controller must have high stability, and at the same time, the node registration and query service requirements of most devices must be satisfied. Therefore, the bandwidth situation and the hardware performance of the node device need to be comprehensively considered in the election. Alternatively, an expected value may be calculated based on network bandwidth conditions, hardware performance, and other weights of the node devices, where the expected value reflects a matching degree of the node doubling as the private controller.
S303, selecting a node with the highest expected value as a target node.
And finally, selecting a node with the highest expected value, namely the most suitable node, as a target node, and enabling the target node to be used as a private network controller, so that the node information security and the node communication stability can be further improved.
In some embodiments, the communication between the node and the public network node is not affected while the communication between the node and the public network node is satisfied. After the node roams into a first private network, the node synchronously registers public network node information in a public network controller while registering the information in the private network controller, wherein the public network controller is deployed in a public network environment;
then, the public network node outside the first private network can obtain the public network node information registered by the node from the public network controller; and a public network channel can be established with the node in the first private network according to the public network node information, and communication is carried out by utilizing public network service.
Fig. 4 is a schematic diagram of a node communication method according to an embodiment of the present application, and as shown in fig. 4, a node 2 is a roaming node, a node 1 is a current node in a region 1, and a node 5 is a public network node in the region 5. In this embodiment, the process of implementing communication between the node and the private network while not affecting communication between the roaming node and the public network node includes the following steps:
step 1, when a node 2 outside the region 1 roams into the region 1 where the node 1 is located and is in the same private network as the node 1, the node 2 inquires whether a private network controller exists in the current private network or not by sending a broadcast message;
step 2, if the node 1 is also used as a private network controller, the node 1 replies to the node 2 after receiving the broadcast message sent by the node 2 and declares that the node is the private network controller; if the node 1 is not also used as a private network controller and the node 2 does not find the private network controller, the private network controller can be selected from the node 1 and the node 2 in a competition manner;
step 3, the node 1 and the node 2 register node information to the private network controller, and the private network controller learns the private network information of the nodes; in addition, the node 2 also synchronously registers node information to the public network controller;
step 4, when the node 1 needs to communicate with the node 2, the node 1 sends first requests to the private network controller and the public network controller respectively so as to obtain the information of the node 2; when the node 1 needs to communicate with the node 5, the node 1 sends a second request to the public network controller to acquire information of the node 5;
and 5: when the private network controller and the public network controller receive the first request, respectively replying the node 2 information to the node 1; when the public network controller receives the second request, the public network controller replies the information of the node 5 to the node 1;
step 6: the node 1 preferentially uses the private network information returned by the private network controller to establish a private network channel with the node 2 for communication; in addition, the node 1 establishes a public network channel with the node 5 and communicates with the node 5 by using the information of the node 5 returned by the public network controller.
In some embodiments, the communication with the private network nodes in other regions is not influenced while the communication of the nodes in the private network is satisfied. After the node completes the registration of the public network node information in the public network controller, the private network node located in the second private network can obtain the public network node information registered by the node from the public network controller; and then, according to the public network node information, a public network channel can be established with the node in the first private network, and communication is carried out by utilizing public network service.
Fig. 5 is a schematic view of another node communication manner according to an embodiment of the present application, and fig. 5 is a schematic view further describing a communication method of nodes in two different private networks on the basis of fig. 4, where the node in the second private network may be an existing node thereof, or may be a node roaming from a public network environment.
As shown in fig. 5, the node 3 and the node 4 are nodes in the private network environment in the region 3, and the process of implementing the node communication across the private network includes the following steps:
step 1: the node 1 and the node 3 roam to different private networks of different regions respectively, and the two nodes need to communicate through a public network controller;
step 2: when the node 1 needs to communicate with the node 3, the information of the node 3 is requested to a controller of the private network 1 and a public network controller;
and step 3: the private network 1 controller can not return effective node 3 information, and the public network controller returns the public network information of the node 3;
and 4, step 4: and the node 1 receives the public network information of the node 3 returned by the public network controller, and establishes a public network channel with the node 3 for communication.
In some embodiments, the node performs connection and communication through a public network before roaming into the first private network. The method specifically comprises the following steps: and the node completes the public network node information registration in a public network controller, wherein the public network controller is deployed in a public network environment, and the node is also positioned in the public network environment. Further, the node acquires public network node information registered by each public network node from the public network controller, establishes a public network channel between the public network nodes according to the public network node information, and communicates by using public network services.
Fig. 6 is a schematic diagram of another node communication manner according to an embodiment of the present application, and as shown in fig. 6, the node 1, the node 2, and the node 5 are public network nodes in a public network environment, and a process of implementing public network communication includes the following steps:
step 1: nodes 1, 2 and 3 distributed in different regions are registered with a public network controller, and the public network controller learns public network information of each node;
and 2, step: when the node 1 needs to communicate with the node 2 or the node 5, the node 1 requests public network information of the node 2 or the node 5 from a public network controller;
and step 3: after receiving the request, the public network controller replies the public network information of the node 2 or the node 5 to the node 1;
and 4, step 4: the node 1 receives the public network information of the node 2 or the node 5 from the public network controller, and establishes a public network channel with the node 2 or the node 5 for communication.
It should be noted that the steps illustrated in the above-described flow diagrams or in the flow diagrams of the figures may be performed in a computer system, such as a set of computer-executable instructions, and that, although a logical order is illustrated in the flow diagrams, in some cases, the steps illustrated or described may be performed in an order different than here.
The present embodiment further provides a communication system of a distributed network node, where the system is used to implement the foregoing embodiments and preferred embodiments, and details of which have been already described are omitted. As used hereinafter, the terms "module," "unit," "subunit," and the like may implement a combination of software and/or hardware for a predetermined function. Although the means described in the embodiments below are preferably implemented in software, an implementation in hardware or a combination of software and hardware is also possible and contemplated.
Fig. 7 is a block diagram of a communication system of a distributed network node according to an embodiment of the present application, and as shown in fig. 7, the system includes: a node 70, a private network controller 71 and a determination unit 72, wherein;
the node 70 is configured to search a private network controller 71 in a first private network by sending a broadcast message when roaming into the first private network;
the private network controller 71 is configured to send a reply response to the node 70 when receiving the broadcast message, where the private network controller 71 is located in the first private network and is also served by the node 70 in the first private network;
the node 70 is further configured to complete the registration of the private network node information in the private network controller 71 after receiving the reply response;
the private network controller 71 is further configured to learn and record private network node information registered by each node 70 in the first private network;
the node 70 is further configured to obtain, from the private network controller 71, private network node information registered by each node 70, establish a private network channel between nodes according to the private network node 70 information, and communicate by using a network service in the first private network;
the determining unit 72 is configured to, in a case where the private network controller 71 is not found, determine a target node among all nodes of the first private network based on a preset rule, and the target node doubles as the private network controller 71.
In one embodiment, a computer device is provided, which may be a terminal. The computer device includes a processor, a memory, a network interface, a display screen, and an input device connected by a system bus. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device comprises a nonvolatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of an operating system and computer programs in the non-volatile storage medium. The network interface of the computer device is used for communicating with an external terminal through a network connection. The computer program is executed by a processor to implement a method of communication for a distributed network node. The display screen of the computer equipment can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer equipment can be a touch layer covered on the display screen, a key, a track ball or a touch pad arranged on the shell of the computer equipment, an external keyboard, a touch pad or a mouse and the like.
In an embodiment, fig. 8 is a schematic internal structure diagram of an electronic device according to an embodiment of the present application, and as shown in fig. 8, there is provided an electronic device, which may be a server, and its internal structure diagram may be as shown in fig. 8. The electronic device comprises a processor, a network interface, an internal memory and a non-volatile memory connected by an internal bus, wherein the non-volatile memory stores an operating system, a computer program and a database. The processor is used for providing calculation and control capability, the network interface is used for communicating with an external terminal through network connection, the internal memory is used for providing an environment for an operating system and the running of a computer program, the computer program is executed by the processor to realize a communication method of the distributed network node, and the database is used for storing data.
Those skilled in the art will appreciate that the structure shown in fig. 8 is a block diagram of only a portion of the structure relevant to the present disclosure, and does not constitute a limitation on the electronic device to which the present disclosure may be applied, and that a particular electronic device may include more or less components than those shown, or combine certain components, or have a different arrangement of components.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by hardware instructions of a computer program, which can be stored in a non-volatile computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. Any reference to memory, storage, database, or other medium used in the embodiments provided herein may include non-volatile and/or volatile memory, among others. 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. By way of illustration and not limitation, RAM is available in a variety of forms such as Static RAM (SRAM), Dynamic RAM (DRAM), Synchronous DRAM (SDRAM), Double Data Rate SDRAM (DDRSDRAM), Enhanced SDRAM (ESDRAM), Synchronous Link DRAM (SLDRAM), Rambus Direct RAM (RDRAM), direct bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
It should be understood by those skilled in the art that various features of the above embodiments can be combined arbitrarily, and for the sake of brevity, all possible combinations of the features in the above embodiments are not described, but should be considered as within the scope of the present disclosure as long as there is no contradiction between the combinations of the features.
The above examples only express several embodiments of the present application, and the description thereof is more specific and detailed, but not construed as limiting the scope of the invention. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the concept of the present application, which falls within the scope of protection of the present application. Therefore, the protection scope of the present patent shall be subject to the appended claims.

Claims (10)

1. A method of communication of a distributed network node, the method comprising:
when a node roams into a first private network, searching a private network controller in the first private network by sending a broadcast message, wherein the private network controller is dualized by the node in the first private network;
after receiving a reply response sent by the private network controller, completing private network node information registration in the private network controller, wherein the private network node information comprises a node IP and a node port;
and private network node information registered by each node is acquired from the private network controller, a private network channel between the nodes is established according to the private network node information, and the communication is carried out by utilizing the network service in the first private network.
2. The method of claim 1, wherein after said searching for a private network controller within said first private network by sending a broadcast message, said method further comprises:
and under the condition that the private network controller is not found, determining a target node in all nodes of the first private network based on a preset rule, and enabling the target node to be used as the private network controller.
3. The method of claim 2, wherein said determining a target node among all nodes of the first private network based on a preset rule comprises:
determining a target node set composed of non-portable communication equipment in all nodes of the first private network;
in the target node set, obtaining expected values of the nodes according to bandwidth conditions and hardware performance of the nodes, wherein the expected values reflect matching degrees of the nodes serving as the private network controller;
and selecting the node with the highest expected value as the target node.
4. The method of claim 1, wherein after the node roams into a first private network, the method further comprises:
the node completes public network node information registration in a public network controller, wherein the public network controller is deployed in a public network environment;
the public network node outside the first private network acquires public network node information registered by the node from the public network controller;
and according to the public network node information, the public network node establishes a public network channel with the node in the first private network, and utilizes public network service for communication.
5. The method according to claim 4, wherein after the node completes registration of public network node information in a public network controller, the method further comprises:
the node in the second private network acquires public network node information registered by the node from the public network controller;
and according to the public network node information, the nodes in the second private network and the nodes in the first private network establish a public network channel, and communicate by using the public network service.
6. The method of claim 1, wherein before the node roams into a first private network, the method further comprises:
the node completes public network node information registration in a public network controller, wherein the public network controller is deployed in a public network environment, and the node is located in the public network environment;
and public network node information registered by each public network node is obtained from the public network controller, a public network channel is established with each public network node according to the public network node information, and public network services are utilized for communication.
7. A communication system of distributed network nodes, the system comprising: a node and a private network controller, wherein;
the node is used for searching a private network controller in a first private network by sending a broadcast message when the node roams into the first private network;
the private network controller is configured to send a reply response to the node when receiving the broadcast packet, where the private network controller is located in the first private network and is also referred to by the node in the first private network;
the node is further configured to complete private network node information registration in the private network controller after receiving the reply response;
the private network controller is also used for learning and recording the private network node information registered by each node in the first private network;
the nodes are also used for acquiring private network node information registered by each node from the private network controller, establishing a private network channel between the nodes according to the private network node information, and carrying out communication by utilizing the network service in the first private network.
8. The system according to claim 7, characterized in that the system further comprises a determination unit, wherein the determination unit is configured to:
and under the condition that the private network controller is not found, determining a target node in all nodes of the first private network based on a preset rule, wherein the target node doubles as the private network controller.
9. A computer arrangement comprising a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the processor implements a method of communication of a distributed network node according to any of claims 1 to 6 when executing the computer program.
10. A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out a method of communication of a distributed network node according to any one of claims 1 to 6.
CN202111652909.1A 2021-12-31 2021-12-31 Communication method and system for distributed network nodes Active CN114007193B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111652909.1A CN114007193B (en) 2021-12-31 2021-12-31 Communication method and system for distributed network nodes

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111652909.1A CN114007193B (en) 2021-12-31 2021-12-31 Communication method and system for distributed network nodes

Publications (2)

Publication Number Publication Date
CN114007193A CN114007193A (en) 2022-02-01
CN114007193B true CN114007193B (en) 2022-05-13

Family

ID=79932402

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111652909.1A Active CN114007193B (en) 2021-12-31 2021-12-31 Communication method and system for distributed network nodes

Country Status (1)

Country Link
CN (1) CN114007193B (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1764172A (en) * 2004-10-18 2006-04-26 北京万林克网络技术有限公司 Multimedia communication proxy system and method capable of crossing network address conversion and firewall
CN101043659A (en) * 2007-03-14 2007-09-26 中兴通讯股份有限公司 Energy-saving method for multi-mode handset
CN101478493A (en) * 2009-02-10 2009-07-08 杭州华三通信技术有限公司 Method and device for NAT through communication
CN101483657A (en) * 2009-03-06 2009-07-15 中兴通讯股份有限公司 Implementation method and system for same side private network device access by private user
CN101834874A (en) * 2010-05-21 2010-09-15 四川长虹电器股份有限公司 Multimedia network communication method capable of penetrating firewall
CN102055816A (en) * 2010-12-28 2011-05-11 华为技术有限公司 Communication method, business server, intermediate equipment, terminal and communication system
CN104410570A (en) * 2014-12-16 2015-03-11 北京东土科技股份有限公司 VRRP (virtual router redundancy protocol) based data transmission method and device
CN105721625A (en) * 2016-02-03 2016-06-29 迈普通信技术股份有限公司 Method for implementing communication between private network devices, private network devices and center end device

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2936785A1 (en) * 2012-12-24 2015-10-28 Telefonaktiebolaget L M Ericsson (PUBL) Enabling external access to multiple services on a local server
US11546302B2 (en) * 2019-12-17 2023-01-03 Fortinet, Inc. Automatic establishment of network tunnels by an SDWAN controller based on group and role assignments of network devices

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1764172A (en) * 2004-10-18 2006-04-26 北京万林克网络技术有限公司 Multimedia communication proxy system and method capable of crossing network address conversion and firewall
CN101043659A (en) * 2007-03-14 2007-09-26 中兴通讯股份有限公司 Energy-saving method for multi-mode handset
CN101478493A (en) * 2009-02-10 2009-07-08 杭州华三通信技术有限公司 Method and device for NAT through communication
CN101483657A (en) * 2009-03-06 2009-07-15 中兴通讯股份有限公司 Implementation method and system for same side private network device access by private user
CN101834874A (en) * 2010-05-21 2010-09-15 四川长虹电器股份有限公司 Multimedia network communication method capable of penetrating firewall
CN102055816A (en) * 2010-12-28 2011-05-11 华为技术有限公司 Communication method, business server, intermediate equipment, terminal and communication system
CN104410570A (en) * 2014-12-16 2015-03-11 北京东土科技股份有限公司 VRRP (virtual router redundancy protocol) based data transmission method and device
CN105721625A (en) * 2016-02-03 2016-06-29 迈普通信技术股份有限公司 Method for implementing communication between private network devices, private network devices and center end device

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
纯P2P在私网中的应用;盛明超等;《计算机时代》;20080502(第05期);全文 *

Also Published As

Publication number Publication date
CN114007193A (en) 2022-02-01

Similar Documents

Publication Publication Date Title
US10313997B2 (en) User equipment registration method for network slice selection and network controller and network communication system using the same
US9445348B2 (en) Delivery of Internet based service to user equipment
US20200178323A1 (en) Core Network Control Plane Device Selection Method And Apparatus
CN110475316B (en) Caching network discovery responses in a wireless network
WO2019129154A1 (en) Service request processing method and device
US20220217611A1 (en) Service Configuration Method, Communication Apparatus, and Communication System
US20220191776A1 (en) Method and device for managing identifier of ue in edge computing service
CN112437456A (en) Communication method and device in non-public network
CN106375987A (en) Method and system for selecting network slice
US9781579B2 (en) Method and device for realizing terminal WIFI talkback
KR20200115155A (en) Method and apparatus for enabling connectivity for edge computing service to device
US9713176B2 (en) Telecommunication method and telecommunication system
US11638138B2 (en) Device-to-device content providing method
JP7467669B2 (en) Connection establishment method, communication device, and system
CN109644335B (en) Identification information processing method, database control system and related equipment
US10863555B2 (en) Access method, apparatus, device, and system
US11632738B2 (en) System and method of access point name (APN) dynamic mapping
CN108810092B (en) Network access method and device, electronic equipment and computer readable storage medium
CN114007193B (en) Communication method and system for distributed network nodes
CN109327517B (en) Method and equipment for acquiring network state of wireless access point
KR20130013272A (en) Apparatus and method for determining ping period of push service
CN107484223B (en) Method and device for terminal roaming switching
CN116489731B (en) Slice information mapping method, apparatus, computer device and storage medium
CN116600250B (en) Network access mode determining method, device, equipment, medium and product
CN117439819B (en) PDU cabinet safety monitoring method

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant