CN116847432A - Subnet fusion method and device, electronic equipment and storage medium - Google Patents

Subnet fusion method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN116847432A
CN116847432A CN202210292043.6A CN202210292043A CN116847432A CN 116847432 A CN116847432 A CN 116847432A CN 202210292043 A CN202210292043 A CN 202210292043A CN 116847432 A CN116847432 A CN 116847432A
Authority
CN
China
Prior art keywords
node
fused
network
subnet
signaling message
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.)
Pending
Application number
CN202210292043.6A
Other languages
Chinese (zh)
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.)
Chenxin Technology Co ltd
Original Assignee
Chenxin 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 Chenxin Technology Co ltd filed Critical Chenxin Technology Co ltd
Priority to CN202210292043.6A priority Critical patent/CN116847432A/en
Publication of CN116847432A publication Critical patent/CN116847432A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/18Selecting a network or a communication service
    • 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
    • H04W84/00Network topologies
    • H04W84/18Self-organising networks, e.g. ad-hoc networks or sensor networks

Abstract

The invention discloses a subnet fusion method, a device, electronic equipment and a storage medium, which comprise the following steps: in the running process of the nodes to be fused, after receiving the fusion instruction about the new subnet, broadcasting a new subnet message to other nodes in the atomic network; after determining that surrounding neighbor nodes of nodes to be fused in the atomic network receive the new subnet information, leaving the atomic network and receiving the whole network node information corresponding to the new subnet; and determining a target access mode matched with the node to be fused according to the node information of the whole network, and fusing the node to a new subnet according to the target access mode. The technical scheme of the embodiment of the invention can improve the integration efficiency of the sub-network and the service recovery efficiency of the mobile self-organizing network.

Description

Subnet fusion method and device, electronic equipment and storage medium
Technical Field
The present invention relates to the field of computer technologies, and in particular, to a subnet fusion method, device, electronic apparatus, and storage medium.
Background
An ad hoc network is a network without a fixed network infrastructure similar to a base station deployed, and nodes in the ad hoc network may cause an original network to be split into two or more sub-networks due to various reasons (for example, the nodes are turned off or the nodes are moved to a remote place, etc.), so that in order to ensure the service performability and reduce the interference of communication between the sub-networks, the process of merging the sub-networks needs to be completed, and the network integrity is restored.
The subnet fusion process generally includes the following steps: (1) a node to be fused discovers a new subnet; (2) Broadcasting new subnet information and determining that the opportunity leaves the atomic network; (3) merging into the new subnet. The existing node to be fused generally adopts a layer-by-layer off-network mode: and sending the new subnet information to inform surrounding neighbor nodes and then off-network, searching the new subnet after the neighbor nodes receive the new subnet information, and sending the new subnet information to inform the surrounding neighbor nodes and then off-network after determining that the new subnet is searched. Secondly, when the existing Node to be fused accesses a new subnet, an access request needs to be sent to the accessed Node, after the access request is synchronized with the accessed Node, the Node to be fused sends a signaling message to a main control Node, the main control Node judges whether the Node can be accessed or not, if so, a Node identity (Node Identity Document, node ID) is allocated to the Node to be fused, and then the main control Node sends a signaling to the Node to be fused to inform that the Node to be fused is successful in network access.
However, the existing subnet fusion process takes longer time, which has a certain influence on the service recovery time of the mobile ad hoc network.
Disclosure of Invention
The invention provides a subnet fusion method, a device, electronic equipment and a storage medium, which can improve the fusion efficiency of a subnet and the service recovery efficiency of a mobile self-organizing network.
According to an aspect of the present invention, there is provided a subnet fusion method applied to a node to be fused, including:
in the running process of the nodes to be fused, after receiving the fusion instruction about the new subnet, broadcasting a new subnet message to other nodes in the atomic network;
after determining that surrounding neighbor nodes of nodes to be fused in the atomic network receive the new subnet information, leaving the atomic network and receiving the whole network node information corresponding to the new subnet;
and determining a target access mode matched with the node to be fused according to the node information of the whole network, and fusing the node to a new subnet according to the target access mode.
According to another aspect of the present invention, there is provided another subnet fusion method applied to a master control node in a subnet, comprising:
receiving a third signaling message sent by an accessed node, wherein the third signaling message comprises node information of the node to be fused, node information of the accessed node, an access type and a node information list corresponding to an atomic network;
distributing corresponding node identity identifiers for the nodes to be fused and other nodes in the atomic network according to the third signaling message;
generating a fourth signaling message according to the third signaling message and node identity identifiers respectively corresponding to the node to be fused and other nodes in the atomic network;
And sending the fourth signaling message to the accessed node, updating the information of the all-network node of the subnet where the main control node is located, and broadcasting the information of the all-network node.
According to another aspect of the present invention, there is provided another subnet fusion method applied to an accessed node in a subnet, comprising:
receiving a signaling message sent by a node to be fused, and identifying the signaling message;
determining a signaling processing mode according to the identification result, and determining a target signaling message according to the signaling processing mode;
and sending the target signaling message to the node to be fused so that the node to be fused determines the access condition of the new subnet according to the target signaling message.
According to another aspect of the present invention, there is provided a subnet fusion device applied to a node to be fused, the device comprising:
the message broadcasting module is used for broadcasting new subnet messages to other nodes in the atomic network after receiving the fusion instruction about the new subnet in the operation process of the nodes to be fused;
the information receiving module is used for leaving the atomic network and receiving the node information of the whole network corresponding to the new subnet after determining that the neighboring nodes around the node to be fused in the atomic network receive the new subnet information;
And the access mode determining module is used for determining a target access mode matched with the node to be fused according to the node information of the whole network and fusing the target access mode to a new subnet according to the target access mode.
According to another aspect of the present invention, there is provided an electronic apparatus including:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein, the liquid crystal display device comprises a liquid crystal display device,
the memory stores a computer program executable by the at least one processor to enable the at least one processor to perform the subnet fusion method according to any of the embodiments of the invention.
According to another aspect of the present invention, there is provided a computer readable storage medium storing computer instructions for causing a processor to implement a subnet fusion method according to any embodiment of the invention when executed.
According to another aspect of the invention, a computer program product is provided, comprising a computer program which, when executed by a processor, implements a subnet fusion method according to any of the embodiments of the invention.
According to the technical scheme provided by the embodiment of the invention, after the fusion instruction about the new subnet is received in the operation process of the node to be fused, the new subnet message is broadcast to other nodes in the atomic network; after determining that surrounding neighbor nodes of nodes to be fused in the atomic network receive the new subnet information, leaving the atomic network to receive the whole network node information corresponding to the new subnet; and determining a target access mode matched with the node to be converged according to the node information of the whole network, and converging the target access mode to a new subnet according to the technical means of the target access mode, so that the convergence efficiency of the subnet and the service recovery efficiency of the mobile self-organizing network can be improved.
It should be understood that the description in this section is not intended to identify key or critical features of the embodiments of the invention or to delineate the scope of the invention. Other features of the present invention will become apparent from the description that follows.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings required for the description of the embodiments will be briefly described below, and it is apparent that the drawings in the following description are only some embodiments of the present invention, and other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
Fig. 1 is a flowchart of a subnet fusion method according to a first embodiment of the invention;
fig. 2 is a flowchart of a subnet fusion method according to a second embodiment of the invention;
fig. 3 is a flowchart of a subnet fusion method according to a third embodiment of the invention;
fig. 4a is a flowchart of a subnet fusion method according to the fourth embodiment of the invention;
FIG. 4b is a schematic view of a sub-net according to a fourth embodiment of the present invention;
fig. 5 is a schematic structural diagram of a subnet fusion device according to a fifth embodiment of the invention;
fig. 6 is a schematic structural diagram of another subnet fusion device according to the sixth embodiment of the invention;
fig. 7 is a schematic structural diagram of another subnet fusion device according to the seventh embodiment of the invention;
fig. 8 is a schematic structural diagram of an electronic device implementing a subnet fusion method according to an embodiment of the invention.
Detailed Description
In order that those skilled in the art will better understand the present invention, a technical solution in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in which it is apparent that the described embodiments are only some embodiments of the present invention, not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the present invention without making any inventive effort, shall fall within the scope of the present invention.
It should be noted that the terms "first," "second," and the like in the description and the claims of the present invention and the above figures are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used may be interchanged where appropriate such that the embodiments of the invention described herein may be implemented in sequences other than those illustrated or otherwise described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
Example 1
Fig. 1 is a flowchart of a subnet integration method provided in the first embodiment of the present invention, where the present embodiment is applicable to a case where a node to be integrated accesses a new subnet, the method may be performed by a subnet integration device, the subnet integration device may be implemented in a form of hardware and/or software, the subnet integration device may be configured in the node to be integrated, and the node to be integrated may be an electronic device (for example, a terminal or a server) with a data processing function. As shown in fig. 1, the method includes:
Step 110, broadcasting a new subnet message to other nodes in the atomic network after receiving the fusion instruction about the new subnet in the operation process of the nodes to be fused.
In this embodiment, the node to be fused may be a network node waiting to be fused with the new subnet. In the operation process of the node to be fused, if the node to be fused receives the fusion instruction about the new subnet, a new subnet message, such as a frequency point of the new subnet, a Physical Cell Id (PCI) and the like, can be broadcast to all other nodes in the subnet (i.e., the atomic network) where the node to be fused is located.
In a specific embodiment, the fusion indication about the new subnet may be a system message of the new subnet received by the node to be fused, where the system message includes information instructing the node to be fused to access the new subnet, and the specific fusion indication may be preset according to the actual situation, which is not limited in this embodiment.
And 120, after determining that surrounding neighbor nodes of nodes to be fused in the atomic network receive the new subnet message, leaving the atomic network and receiving the full-network node information corresponding to the new subnet.
In this embodiment, after the node to be converged broadcasts a new subnet message to all other nodes in the atomic network, if acknowledgement information fed back by surrounding neighboring nodes is received, or a new subnet message broadcast by the surrounding neighboring nodes is received, it may be determined that the surrounding neighboring nodes receive the new subnet message.
After determining that the surrounding neighboring nodes receive the new subnet message, the node to be converged can leave the atomic network, try to search the new subnet, and then receive the node information of the whole network corresponding to the new subnet.
If the new subnet searched by the node to be fused is a network with the same frequency and the same PCI as the atomic network, and the node in the atomic network is searched in the new subnet, the new subnet is ignored, and other new subnets are searched next.
And 130, determining a target access mode matched with the node to be fused according to the node information of the whole network, and fusing the node to be fused to a new subnet according to the target access mode.
In this embodiment, optionally, after the node to be fused receives the node information of the whole network of the new subnet, it may be detected whether the node information of the node to be fused is included in the node information of the whole network, and if not, it is determined that the target access mode is a normal access mode; if so, determining the target access mode as a simplified access mode.
In this embodiment, if the target access mode is the normal access mode, the node to be fused may perform information interaction with the accessed node and the master control node in the new subnet, so as to complete the fusion process of the node to be fused and the new subnet. If the target access mode is a simplified access mode, the node to be fused can finish the fusion process of the node to be fused and the new subnet only by carrying out information interaction with the accessed node in the new subnet.
Compared with the prior art that the nodes to be fused adopt a layer-by-layer off-network mode, the node to be fused in the embodiment can shorten the off-network time of the nodes and improve the off-network efficiency by broadcasting new subnet messages to all other nodes in the atomic network; secondly, compared with the conventional access mode in the prior art, the method and the system provide two access modes suitable for different nodes by analyzing the node information of the whole network, so that the time consumption of the integration of the subnets can be reduced, and the integration efficiency of the subnets and the service recovery efficiency of the mobile self-organizing network are improved.
According to the technical scheme provided by the embodiment of the invention, after the fusion instruction about the new subnet is received in the operation process of the node to be fused, the new subnet message is broadcast to other nodes in the atomic network; after determining that surrounding neighbor nodes of nodes to be fused in the atomic network receive the new subnet information, leaving the atomic network and receiving the whole network node information corresponding to the new subnet; and determining a target access mode matched with the node to be converged according to the node information of the whole network, and converging the target access mode to a new subnet according to the technical means of the target access mode, so that the convergence efficiency of the subnet and the service recovery efficiency of the mobile self-organizing network can be improved.
Example two
Fig. 2 is a flowchart of a subnet fusion method according to a second embodiment of the present invention, where the relationship between the present embodiment and the above embodiment is to add technical features of an access mode of a node to be fused for a new subnet. As shown in fig. 2, the method includes:
step 201, broadcasting a new subnet message to other nodes in the atomic network after receiving a fusion instruction about the new subnet in the operation process of the nodes to be fused.
Step 202, after determining that neighboring nodes around the node to be fused in the atomic network receive the new subnet message, leaving the atomic network and receiving the full-network node information corresponding to the new subnet.
In a specific embodiment, the node information of the whole network may include information such as an internet protocol (Internet Protocol, IP) address and a product Sequence Number (SN) corresponding to each node in the new subnet, as shown in table 1.
Step 203, judging whether the node information of the whole network includes node information of nodes to be fused; if yes, go to step 204-205, if not, go to step 206-208.
In this embodiment, optionally, according to the node name of the node to be fused, whether the node information of the node to be fused is included in the whole network node information may be determined.
TABLE 1
Step 204, determining an accessed node according to the whole network node information, completing a synchronization process with the accessed node, and then sending a first signaling message to the accessed node; the first signaling message includes node information of the nodes to be fused, node information of the accessed nodes and access types.
In this embodiment, if the Node information of the Node to be fused is included in the Node information of the whole network, it may be determined that other nodes already exist in the atomic network and access to the new subnet, and the master control Node in the new subnet has allocated a Node identity Node ID to the Node to be fused.
In this case, the accessed Node may be determined according to the Node ID included in the Node information of the whole network, and a synchronization procedure (including clock synchronization, frequency synchronization, etc.) with the accessed Node is completed, and then the first signaling message is transmitted to the accessed Node. The first signaling message includes node information of the nodes to be fused, node information of the accessed nodes and access type (i.e. simplifying access mode).
Step 205, receiving a second signaling message fed back by the access node for the first signaling message, and broadcasting the node information of the whole network to other nodes in the atomic network.
In this embodiment, after receiving the first signaling message sent by the Node to be fused, the accessed Node does not need to forward the first signaling message to the master control Node, but directly feeds back a second signaling message to the Node to be fused, where the second signaling message includes a Node ID allocated by the master control Node to the Node to be fused.
After the converged node receives the second signaling message, the success of the access to the new subnet can be determined, and the whole network node information is broadcasted to other nodes in the atomic network, so that the other nodes can perform the convergence to the new subnet according to the whole network node information.
And 206, determining an accessed node according to the whole network node information, and completing the synchronization process with the accessed node.
In this embodiment, if the Node information of the Node to be fused is not included in the Node information of the whole network, the accessed Node may be determined according to the Node ID included in the Node information of the whole network, and the synchronization process (including clock synchronization, frequency synchronization, etc.) with the accessed Node may be completed
Step 207, sending a third signaling message to an accessed node, and forwarding the third signaling message to a master control node in a new subnet by the accessed node; the third signaling message comprises node information of the nodes to be fused, node information of the accessed nodes, access types and a node information list corresponding to the atomic network.
In this step, specifically, the third signaling message may include node information of the node to be fused, node information of the node to be accessed, an access type (i.e. a normal access mode), and a node information list corresponding to the atomic network, as shown in table 2.
TABLE 2
new_accessing_node_info Node letter of node to be fusedRest
accessed_node_info Node information of accessed node
access_type Access type (normal access mode)
old_subnet_node_list Atomic network node information list
Step 208, receiving the fourth signaling message sent by the accessed node, and broadcasting the node information of the whole network to other nodes in the atomic network.
In this embodiment, the fourth signaling message is generated by the master node and is sent to the accessed node, where the fourth signaling message includes a node identifier allocated by the master node to the node to be fused, node information of the node to be fused, and node information of the accessed node.
After receiving the third signaling message, the master control Node can determine whether the Node to be fused can access the new subnet, if so, the Node to be fused is allocated with a Node ID according to a preset Node ID allocation criterion, meanwhile, other nodes in the atomic network are allocated with a new Node ID, and then a fourth signaling message is generated according to the Node ID of the Node to be fused, the Node information of the Node to be fused and the Node information of the accessed Node, and is sent to the accessed Node, and the accessed Node sends the fourth signaling message to the Node to be fused. Meanwhile, the master control Node can update the Node information of the whole network according to the Node ID allocated by the Node to be fused and the Node IDs allocated by other nodes in the atomic network.
In this step, after the node to be fused receives the fourth signaling message, it can determine that the access to the new subnet is successful, and broadcast the node information of the whole network to other nodes in the atomic network, so that the other nodes fuse the new subnet according to the node information of the whole network.
Step 209, initializing the metric value of the node to be fused, so that the master control node determines the access condition of the node to be fused for the new subnet according to the change condition of the metric value.
In this embodiment, after the node to be fused is accessed to the new subnet, the meta value may be initialized, and when the master control node in the new subnet detects that the meta value of the node to be fused is changed, it may be determined that the node to be fused is successfully accessed to the new subnet. Specifically, in the initializing process of the metric value, the metric value may be set to any invalid value (for example, 255), and the specific value may be preset according to the actual situation, which is not limited in this embodiment.
According to the technical scheme provided by the embodiment of the invention, after a fusion instruction about a new subnet is received in the operation process of a node to be fused, a new subnet message is broadcast to other nodes in an atomic network, after the surrounding neighbor nodes of the node to be fused in the atomic network are determined to receive the new subnet message, the node information of the whole network corresponding to the new subnet is left from the atomic network and received, whether the node information of the node to be fused is included in the whole network is judged, if yes, an accessed node is determined according to the node information of the whole network, a synchronization process with the accessed node is completed, then a first signaling message is sent to the accessed node, a second signaling message fed back by the accessed node aiming at the first signaling message is received, and the node information of the whole network is broadcast to other nodes in the atomic network; if not, determining the accessed node according to the node information of the whole network, completing the synchronization process with the accessed node, sending a third signaling message to the accessed node, forwarding the third signaling message to a main control node in a new subnet by the accessed node, receiving a fourth signaling message sent by the accessed node, and finally initializing the metric value of the node to be fused, thereby improving the fusion efficiency of the subnet and the service recovery efficiency of the mobile ad hoc network.
Example III
Fig. 3 is a flowchart of a subnet integration method provided in the third embodiment of the present invention, where the present embodiment is applicable to a case where a node to be integrated accesses a new subnet, the method may be performed by a master node in the new subnet, and the master node may be an electronic device (for example, a terminal or a server) with a data processing function. As shown in fig. 3, the method includes:
step 310, receiving a third signaling message sent by the accessed node, where the third signaling message includes node information of the node to be fused, node information of the accessed node, an access type and a node information list corresponding to the atomic network.
And 320, distributing corresponding node identity identifiers for the nodes to be fused and other nodes in the atomic network according to the third signaling message.
And 330, generating a fourth signaling message according to the third signaling message and node identities of the nodes to be fused and other nodes in the atomic network, which correspond to each other.
Step 340, the fourth signaling message is sent to the accessed node, and the information of the all network nodes of the subnet where the main control node is located is updated, and then the information of the all network nodes is broadcasted.
In this step, node IDs allocated to the nodes to be fused and Node IDs allocated to other nodes in the atomic network may be added to the Node information of the whole network, so as to complete updating of the Node information of the whole network.
According to the technical scheme provided by the embodiment of the invention, the corresponding node identity identifiers are distributed to the node to be fused and other nodes in the atomic network according to the third signaling message by receiving the third signaling message sent by the accessed node, the fourth signaling message is generated according to the third signaling message and the node identity identifiers respectively corresponding to the node to be fused and other nodes in the atomic network, the fourth signaling message is sent to the accessed node, the information of all-network nodes of the sub-network where the main control node is located is updated, and then the information of all-network nodes is broadcasted, so that the fusion efficiency of the sub-network and the service recovery efficiency of the mobile self-organizing network can be improved.
Example IV
Fig. 4a is a flowchart of a subnet integration method according to a fourth embodiment of the present invention, where the method may be performed by an accessed node in a new subnet, where the accessed node may be an electronic device (e.g., a terminal or a server) with a data processing function. As shown in fig. 4a, the method comprises:
step 410, receiving a signaling message sent by a node to be converged, and identifying the signaling message.
In this embodiment, the recognition result of the signaling message may be determined according to specific information included in the signaling message. Specifically, if the signaling message sent by the node to be fused includes node information of the node to be fused, node information of the accessed node and an access type, the signaling message can be determined to be a first signaling message; if the signaling message sent by the node to be fused comprises node information of the node to be fused, node information of the accessed node, an access type and a node information list corresponding to the atomic network, the signaling message can be determined to be a third signaling message.
Step 420, determining a signaling processing mode according to the identification result, and determining a target signaling message according to the signaling processing mode.
And 430, sending the target signaling message to the node to be converged so that the node to be converged determines the access condition of the new subnet according to the target signaling message.
In this embodiment, if the signaling message received by the access node is the first signaling message, the corresponding second signaling message may be used as the target signaling message, and the target signaling message may be sent to the node to be fused; if the signaling message received by the access node is the third signaling message, the third signaling message may be sent to the master control node, and the fourth signaling message fed back by the master control node is used as the target signaling message, and the target signaling message is sent to the node to be fused.
According to the technical scheme provided by the embodiment of the invention, the signaling message is identified by receiving the signaling message sent by the node to be fused, the signaling processing mode is determined according to the identification result, the target signaling message is determined according to the signaling processing mode, and the target signaling message is sent to the node to be fused, so that the node to be fused determines the access condition of the new subnet according to the target signaling message, and the fusion efficiency of the subnet and the service recovery efficiency of the mobile self-organizing network can be improved.
In order to better introduce the technical solution provided by the embodiments of the present invention, the embodiments of the present invention may refer to the following embodiments:
in a specific embodiment, fig. 4B may be a schematic structural diagram of a subnet, and as shown in fig. 4B, it is assumed that the existing subnet a and the subnet B, and the node 5 in the subnet a is a master node. When node 3 in subnet B receives the convergence indication for subnet a:
step 1: the node 3 broadcasts a message of the subnet A to all other nodes in the subnet B, after the surrounding adjacent nodes (namely the node 4 and the node 5) of the node 3 are determined to be successfully received, the node 3 leaves the network and searches the subnet A, and then the whole network node information of the subnet A is received;
Step 2: after the node 3 receives the whole network node information (as shown in table 3) of the subnet A, determining that the node information of the node 3 is not included in the whole network node information, and considering the current access mode as a normal access mode;
TABLE 3 Table 3
cur_node_id 6
seq_num 2
main_node_id 5
node 1_id 5
node 1_info Node information of node 5
node 1_metric 1
node 2_id 6
node 2_info Node information of node 6
node 2_metric 0
node 3_id 7
node 3_info Node information of node 7
node 3_metric 1
Step 3: the node 3 completes the synchronization process with the node 6 (i.e., the accessed node) in the subnet a;
step 4: node 3 sends a third signaling message to node 6, and node 6 sends the third signaling message to master node 5 in subnet a, where the third signaling message may be as shown in table 4 and includes other node information in subnet B;
TABLE 4 Table 4
Step 5: the master control node (node 5) in the subnet a replies a fourth signaling message to the node 6 after receiving the third signaling message. The fourth signaling message includes the Node Id (assumed to be 8) allocated to Node 3 by the master Node. In addition, the master Node allocates Node ids (assumed to be 9 and 10) to nodes 4 and 5 in the subnet B, thereby obtaining updated Node information of the entire network, as shown in table 5;
TABLE 5
Step 6: node 6 forwards the fourth signaling message to node 3 after receiving the fourth signaling message, and considers that node 3 is successful in network access;
step 7: after receiving the fourth signaling message, the node 3 considers that network access is successful, and broadcasts the node information of the whole network after updating the metric value, as shown in table 6.
TABLE 6
cur_node_id 8
seq_num 3
main_node_id 5
node 1_id 5
node 1_info Information of node 5
node 1_metric 2
node 2_id 6
node 2_info Information of node 6
node 2_metric 1
node 3_id 7
node 3_info Information of node 7
node 3_metric 2
node 4_id 8
node 4_info Information of node 3
node 4_metric 0
node 5_id 9
node 5_info Information of node 4
node 5_metric Initial value of network access metric
node 6_id 10
node 6_info Information of node 5
node 6_metric Initial value of network access metric
In another embodiment, it is assumed that after the node 4 in the subnet B receives the full-network node information sent by the node 3, it is determined that the full-network node information includes the node information of the node 4, so that the node 4 may adopt a simplified access mode:
step 8: after the synchronization between the Node 4 and the Node 3 is completed, the Node 4 sends a first signaling message (as shown in table 7) to the Node 3, and the Node 3 replies a second signaling message (including the Node Id of the Node 4) to the Node 4;
TABLE 7
new_accessing_node_info Node information of node 4
accessed_node_info Node information of node 3
access_type Simplified access
Step 9: node 4 considers successful network access after receiving the second signaling message and broadcasts the node information of the whole network as shown in table 8;
TABLE 8
cur_node_id 9
seq_num 3
main_node_id 5
node 1_id 5
node 1_info Information of node 5
node 1_metric 3
node 2_id 6
node 2_info Information of node 6
node 2_metric 2
node 3_id 7
node 3_info Information of node 7
node 3_metric 3
node 4_id 8
node 4_info Information of node 3
node 4_metric 1
node 5_id 9
node 5_info Information of node 4
node 5_metric 0
node 6_id 10
node 6_info Information of node 5
node 6_metric Initial value of network access metric
On the basis of the above embodiment, after the node 5 in the subnet B receives the full-network node information sent by the node 3, it detects that the node information including the node 5 in the full-network node information, so that the same simplified access procedure as that of the node 4 can be initiated, and the node 5 continues to broadcast the full-network node information after determining that the network access is successful.
After receiving the information of the nodes of the whole network, the master control node in the sub-network A discovers that the metric values of the newly accessed node 3, node 4 and node 5 are all non-initial values, thereby determining that the node 3, node 4 and node 5 are successful in network access.
The method provided by the embodiment of the invention can improve the integration efficiency of the sub-network and the service recovery efficiency of the mobile self-organizing network.
Example five
Fig. 5 is a schematic structural diagram of a subnet fusion device according to a fifth embodiment of the invention, where the device may be applied to a node to be fused. As shown in fig. 5, the apparatus includes: a message broadcasting module 510, an information receiving module 520, and an access mode determining module 530.
The message broadcasting module 510 is configured to broadcast a new subnet message to other nodes in the atomic network after receiving a fusion instruction about the new subnet in an operation process of the node to be fused;
the information receiving module 520 is configured to leave the atomic network after determining that neighboring nodes around the node to be fused in the atomic network receive the new subnet message, and receive the full-network node information corresponding to the new subnet;
the access mode determining module 530 is configured to determine, according to the node information of the whole network, a target access mode that matches with a node to be converged, and to be converged to a new subnet according to the target access mode.
According to the technical scheme provided by the embodiment of the invention, after the fusion instruction about the new subnet is received in the operation process of the node to be fused, the new subnet message is broadcast to other nodes in the atomic network; after determining that surrounding neighbor nodes of nodes to be fused in the atomic network receive the new subnet information, leaving the atomic network and receiving the whole network node information corresponding to the new subnet; and determining a target access mode matched with the node to be converged according to the node information of the whole network, and converging the target access mode to a new subnet according to the technical means of the target access mode, so that the convergence efficiency of the subnet and the service recovery efficiency of the mobile self-organizing network can be improved.
Based on the above embodiment, the access manner determining module 530 includes:
the node information judging unit is used for judging whether the node information of the nodes to be fused is included in the whole network node information;
a first signaling sending unit, configured to determine an accessed node according to the node information of the whole network, complete a synchronization process with the accessed node, and then send a first signaling message to the accessed node; the first signaling message comprises node information of the nodes to be fused, node information of the accessed nodes and access types;
A second signaling receiving unit, configured to receive a second signaling message fed back by the access node for the first signaling message, and broadcast full-network node information to other nodes in the atomic network;
the second signaling message comprises node identity identifiers distributed by the main control node for the nodes to be fused;
the node synchronization unit is used for determining an accessed node according to the whole network node information when the node information of the node to be fused is not included in the whole network node information, and completing the synchronization process with the accessed node;
a third signaling sending unit, configured to send a third signaling message to the accessed node, where the accessed node forwards the third signaling message to a master control node in the new subnet; the third signaling message comprises node information of the nodes to be fused, node information of the accessed nodes, access types and a node information list corresponding to the atomic network;
a fourth signaling receiving unit, configured to receive a fourth signaling message sent by the accessed node, and broadcast full-network node information to other nodes in the atomic network;
the fourth signaling message is generated by the master control node and is sent to the accessed node, and the fourth signaling message comprises a node identity identifier distributed by the master control node for the node to be fused, node information of the node to be fused and node information of the accessed node;
And the initialization processing unit is used for initializing the meta value of the node to be fused so that the master control node can determine the access condition of the node to be fused for the new subnet according to the change condition of the meta value.
The device can execute the method provided by all the embodiments of the invention, and has the corresponding functional modules and beneficial effects of executing the method. Technical details not described in detail in the embodiments of the present invention can be found in the methods provided in all the foregoing embodiments of the present invention.
Example six
Fig. 6 is a schematic structural diagram of a subnet fusion device according to a sixth embodiment of the invention, where the device may be applied to a master control node in a subnet. As shown in fig. 6, the apparatus includes: a signaling receiving module 610, an identification assigning module 620, a signaling generating module 630 and an information updating module 640.
The signaling receiving module 610 is configured to receive a third signaling message sent by an accessed node, where the third signaling message includes node information of a node to be fused, node information of the accessed node, an access type, and a node information list corresponding to an atomic network;
the identifier allocation module 620 is configured to allocate corresponding node identifiers to the node to be fused and other nodes in the atomic network according to the third signaling message;
The signaling generation module 630 is configured to generate a fourth signaling message according to the third signaling message and node identities corresponding to the node to be fused and other nodes in the atomic network, respectively;
and the information updating module 640 is configured to send the fourth signaling message to the accessed node, update the information of the all-network node of the subnet where the master control node is located, and then broadcast the information of the all-network node.
According to the technical scheme provided by the embodiment of the invention, the corresponding node identity identifiers are distributed to the node to be fused and other nodes in the atomic network according to the third signaling message by receiving the third signaling message sent by the accessed node, the fourth signaling message is generated according to the third signaling message and the node identity identifiers respectively corresponding to the node to be fused and other nodes in the atomic network, the fourth signaling message is sent to the accessed node, the information of all-network nodes of the sub-network where the main control node is located is updated, and then the information of all-network nodes is broadcasted, so that the fusion efficiency of the sub-network and the service recovery efficiency of the mobile self-organizing network can be improved.
The device can execute the method provided by all the embodiments of the invention, and has the corresponding functional modules and beneficial effects of executing the method. Technical details not described in detail in the embodiments of the present invention can be found in the methods provided in all the foregoing embodiments of the present invention.
Example seven
Fig. 7 is a schematic structural diagram of a subnet fusion device according to a seventh embodiment of the invention, where the device may be applied to an accessed node in a subnet. As shown in fig. 7, the apparatus includes: a signaling identification module 710, a target signaling determination module 720, and a target signaling transmission module 730.
The signaling identifying module 710 is configured to receive a signaling message sent by a node to be fused, and identify the signaling message;
the target signaling determining module 720 is configured to determine a signaling processing manner according to the identification result, and determine a target signaling message according to the signaling processing manner;
and the target signaling sending module 730 is configured to send a target signaling message to the node to be fused, so that the node to be fused determines an access condition of the new subnet according to the target signaling message.
According to the technical scheme provided by the embodiment of the invention, the signaling message is identified by receiving the signaling message sent by the node to be fused, the signaling processing mode is determined according to the identification result, the target signaling message is determined according to the signaling processing mode, and the target signaling message is sent to the node to be fused, so that the node to be fused determines the access condition of the new subnet according to the target signaling message, and the fusion efficiency of the subnet and the service recovery efficiency of the mobile self-organizing network can be improved.
The device can execute the method provided by all the embodiments of the invention, and has the corresponding functional modules and beneficial effects of executing the method. Technical details not described in detail in the embodiments of the present invention can be found in the methods provided in all the foregoing embodiments of the present invention.
Example eight
Fig. 8 shows a schematic diagram of the structure of an electronic device 10 that may be used to implement an embodiment of the invention. Electronic devices are intended to represent various forms of digital computers, such as laptops, desktops, workstations, personal digital assistants, servers, blade servers, mainframes, and other appropriate computers. Electronic equipment may also represent various forms of mobile devices, such as personal digital processing, cellular telephones, smartphones, wearable devices (e.g., helmets, glasses, watches, etc.), and other similar computing devices. The components shown herein, their connections and relationships, and their functions, are meant to be exemplary only, and are not meant to limit implementations of the inventions described and/or claimed herein.
As shown in fig. 8, the electronic device 10 includes at least one processor 11, and a memory, such as a Read Only Memory (ROM) 12, a Random Access Memory (RAM) 13, etc., communicatively connected to the at least one processor 11, in which the memory stores a computer program executable by the at least one processor, and the processor 11 may perform various appropriate actions and processes according to the computer program stored in the Read Only Memory (ROM) 12 or the computer program loaded from the storage unit 18 into the Random Access Memory (RAM) 13. In the RAM 13, various programs and data required for the operation of the electronic device 10 may also be stored. The processor 11, the ROM 12 and the RAM 13 are connected to each other via a bus 14. An input/output (I/O) interface 15 is also connected to bus 14.
Various components in the electronic device 10 are connected to the I/O interface 15, including: an input unit 16 such as a keyboard, a mouse, etc.; an output unit 17 such as various types of displays, speakers, and the like; a storage unit 18 such as a magnetic disk, an optical disk, or the like; and a communication unit 19 such as a network card, modem, wireless communication transceiver, etc. The communication unit 19 allows the electronic device 10 to exchange information/data with other devices via a computer network, such as the internet, and/or various telecommunication networks.
The processor 11 may be a variety of general and/or special purpose processing components having processing and computing capabilities. Some examples of processor 11 include, but are not limited to, a Central Processing Unit (CPU), a Graphics Processing Unit (GPU), various specialized Artificial Intelligence (AI) computing chips, various processors running machine learning model algorithms, digital Signal Processors (DSPs), and any suitable processor, controller, microcontroller, etc. The processor 11 performs the various methods and processes described above, such as the subnet fusion method.
In some embodiments, the subnet fusion method may be implemented as a computer program tangibly embodied on a computer-readable storage medium, such as storage unit 18. In some embodiments, part or all of the computer program may be loaded and/or installed onto the electronic device 10 via the ROM 12 and/or the communication unit 19. When the computer program is loaded into RAM 13 and executed by processor 11, one or more steps of the subnet fusion method described above may be performed. Alternatively, in other embodiments, the processor 11 may be configured to perform the subnet fusion method in any other suitable way (e.g., by means of firmware).
Various implementations of the systems and techniques described here above may be implemented in digital electronic circuitry, integrated circuit systems, field Programmable Gate Arrays (FPGAs), application Specific Integrated Circuits (ASICs), application Specific Standard Products (ASSPs), systems On Chip (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and/or combinations thereof. These various embodiments may include: implemented in one or more computer programs, the one or more computer programs may be executed and/or interpreted on a programmable system including at least one programmable processor, which may be a special purpose or general-purpose programmable processor, that may receive data and instructions from, and transmit data and instructions to, a storage system, at least one input device, and at least one output device.
A computer program for carrying out methods of the present invention may be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a general purpose computer, special purpose computer, or other programmable data processing apparatus, such that the computer programs, when executed by the processor, cause the functions/acts specified in the flowchart and/or block diagram block or blocks to be implemented. The computer program may execute entirely on the machine, partly on the machine, as a stand-alone software package, partly on the machine and partly on a remote machine or entirely on the remote machine or server.
In the context of the present invention, a computer-readable storage medium may be a tangible medium that can contain, or store a computer program for use by or in connection with an instruction execution system, apparatus, or device. The computer readable storage medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. Alternatively, the computer readable storage medium may be a machine readable signal medium. More specific examples of a machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
To provide for interaction with a user, the systems and techniques described here can be implemented on an electronic device having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to a user; and a keyboard and a pointing device (e.g., a mouse or a trackball) through which a user can provide input to the electronic device. Other kinds of devices may also be used to provide for interaction with a user; for example, feedback provided to the user may be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form, including acoustic input, speech input, or tactile input.
The systems and techniques described here can be implemented in a computing system that includes a background component (e.g., as a data server), or that includes a middleware component (e.g., an application server), or that includes a front-end component (e.g., a user computer having a graphical user interface or a web browser through which a user can interact with an implementation of the systems and techniques described here), or any combination of such background, middleware, or front-end components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: local Area Networks (LANs), wide Area Networks (WANs), blockchain networks, and the internet.
The computing system may include clients and servers. The client and server are typically remote from each other and typically interact through a communication network. The relationship of client and server arises by virtue of computer programs running on the respective computers and having a client-server relationship to each other. The server can be a cloud server, also called a cloud computing server or a cloud host, and is a host product in a cloud computing service system, so that the defects of high management difficulty and weak service expansibility in the traditional physical hosts and VPS service are overcome.
It should be appreciated that various forms of the flows shown above may be used to reorder, add, or delete steps. For example, the steps described in the present invention may be performed in parallel, sequentially, or in a different order, so long as the desired results of the technical solution of the present invention are achieved, and the present invention is not limited herein.
The above embodiments do not limit the scope of the present invention. It will be apparent to those skilled in the art that various modifications, combinations, sub-combinations and alternatives are possible, depending on design requirements and other factors. Any modifications, equivalent substitutions and improvements made within the spirit and principles of the present invention should be included in the scope of the present invention.

Claims (10)

1. A subnet fusion method, characterized in that it is applied to nodes to be fused, the method comprising:
in the running process of the nodes to be fused, after receiving the fusion instruction about the new subnet, broadcasting a new subnet message to other nodes in the atomic network;
after determining that surrounding neighbor nodes of nodes to be fused in the atomic network receive the new subnet information, leaving the atomic network and receiving the whole network node information corresponding to the new subnet;
And determining a target access mode matched with the node to be fused according to the node information of the whole network, and fusing the node to a new subnet according to the target access mode.
2. The method of claim 1, wherein determining a target access manner matched with the node to be fused according to the node information of the whole network, and fusing the target access manner to a new subnet according to the target access manner, comprises:
judging whether the node information of the whole network includes node information of nodes to be fused;
if yes, determining an accessed node according to the whole network node information, completing the synchronization process with the accessed node, and then sending a first signaling message to the accessed node; the first signaling message comprises node information of the nodes to be fused, node information of the accessed nodes and access types;
receiving a second signaling message fed back by the access node aiming at the first signaling message, and broadcasting the node information of the whole network to other nodes in the atomic network;
the second signaling message includes a node identity allocated by the master control node for the node to be fused.
3. The method according to claim 2, further comprising, after determining whether node information of a node to be fused is included in the total network node information:
If not, determining an accessed node according to the whole network node information, and completing the synchronization process with the accessed node;
transmitting a third signaling message to an accessed node, and forwarding the third signaling message to a main control node in a new subnet by the accessed node; the third signaling message comprises node information of the nodes to be fused, node information of the accessed nodes, access types and a node information list corresponding to the atomic network;
receiving a fourth signaling message sent by an accessed node, and broadcasting the node information of the whole network to other nodes in the atomic network;
the fourth signaling message is generated by the master control node and is sent to the accessed node, and the fourth signaling message comprises a node identity identifier distributed by the master control node for the node to be fused, node information of the node to be fused and node information of the accessed node.
4. The method according to claim 2, further comprising, after fusing to a new subnet according to the target access mode:
and initializing the metric value of the node to be fused, so that the master control node determines the access condition of the node to be fused for the new subnet according to the change condition of the metric value.
5. The subnet fusion method is characterized by being applied to a main control node in a subnet, and comprises the following steps:
receiving a third signaling message sent by an accessed node, wherein the third signaling message comprises node information of the node to be fused, node information of the accessed node, an access type and a node information list corresponding to an atomic network;
distributing corresponding node identity identifiers for the nodes to be fused and other nodes in the atomic network according to the third signaling message;
generating a fourth signaling message according to the third signaling message and node identity identifiers respectively corresponding to the node to be fused and other nodes in the atomic network;
and sending the fourth signaling message to the accessed node, updating the information of the all-network node of the subnet where the main control node is located, and broadcasting the information of the all-network node.
6. The subnet fusion method is characterized by being applied to an accessed node in a subnet and comprising the following steps of:
receiving a signaling message sent by a node to be fused, and identifying the signaling message;
determining a signaling processing mode according to the identification result, and determining a target signaling message according to the signaling processing mode;
and sending the target signaling message to the node to be fused so that the node to be fused determines the access condition of the new subnet according to the target signaling message.
7. A subnet fusion device, characterized by being applied to nodes to be fused, the device comprising:
the message broadcasting module is used for broadcasting new subnet messages to other nodes in the atomic network after receiving the fusion instruction about the new subnet in the operation process of the nodes to be fused;
the information receiving module is used for leaving the atomic network and receiving the node information of the whole network corresponding to the new subnet after determining that the neighboring nodes around the node to be fused in the atomic network receive the new subnet information;
and the access mode determining module is used for determining a target access mode matched with the node to be fused according to the node information of the whole network and fusing the target access mode to a new subnet according to the target access mode.
8. An electronic device, the electronic device comprising:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein, the liquid crystal display device comprises a liquid crystal display device,
the memory stores a computer program executable by the at least one processor to enable the at least one processor to perform the subnet fusion method of any of claims 1-6.
9. A computer readable storage medium storing computer instructions for causing a processor to perform the subnet fusion method according to any one of claims 1 to 6.
10. A computer program product, characterized in that the computer program product comprises a computer program which, when executed by a processor, implements the subnet fusion method according to any of claims 1-6.
CN202210292043.6A 2022-03-23 2022-03-23 Subnet fusion method and device, electronic equipment and storage medium Pending CN116847432A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210292043.6A CN116847432A (en) 2022-03-23 2022-03-23 Subnet fusion method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210292043.6A CN116847432A (en) 2022-03-23 2022-03-23 Subnet fusion method and device, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN116847432A true CN116847432A (en) 2023-10-03

Family

ID=88171145

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210292043.6A Pending CN116847432A (en) 2022-03-23 2022-03-23 Subnet fusion method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN116847432A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117793699A (en) * 2024-02-23 2024-03-29 山东浪潮数据库技术有限公司 Distribution method of Ad hoc network node ID based on LTE synchronization signal

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117793699A (en) * 2024-02-23 2024-03-29 山东浪潮数据库技术有限公司 Distribution method of Ad hoc network node ID based on LTE synchronization signal
CN117793699B (en) * 2024-02-23 2024-05-07 山东浪潮数据库技术有限公司 Distribution method of Ad hoc network node ID based on LTE synchronization signal

Similar Documents

Publication Publication Date Title
CN115002924A (en) Uplink small data transmission method, network side DU and network side CU
CN111338806B (en) Service control method and device
CN110430116B (en) Data forwarding method and device, edge device and readable storage medium
EP2506498B1 (en) Provisioning device, and method of setting network parameter in provisioning network
CN112532408B (en) Method, device and storage medium for extracting fault propagation condition
CN116847432A (en) Subnet fusion method and device, electronic equipment and storage medium
US20130318244A1 (en) System and method for assigning server to terminal and efficiently delivering messages to the terminal
CN112165505B (en) Decentralized data processing method, electronic device and storage medium
EP1115240A2 (en) Address management apparatus and address management method
CN106973106B (en) Method, device and system for acquiring session information
US11758456B2 (en) Association redirection method and device
CN116782255A (en) Same-frequency subnet fusion method and device, communication node and storage medium
CN116016605A (en) Networking method and device for center node and terminal node of Internet of things
CN112039785B (en) Bidirectional feedback route discovery method and device suitable for power Internet of things environment
CN110109933B (en) Information maintenance method, configuration management database system and storage medium
CN114666286A (en) Data transmission method, first base station, second base station and system
CN115118654B (en) Data forwarding method, system, device and program product under virtual network
CN115174388B (en) Network updating method, device, equipment and storage medium for networking intelligent equipment
CN110932980B (en) Communication method, terminal, and computer-readable storage medium
CN115150363B (en) IP address updating method, gateway device, gateway down-hanging device and storage medium
CN114025396B (en) Data processing method, device and medium
US20220360521A1 (en) Tunnel Segmentation Method and Apparatus, and Data Transmission System
CN111654403B (en) Wireless access point configuration method and device, communication equipment and readable storage medium
CN115604306A (en) Data sending method, device, equipment and medium
CN114979156A (en) Method, system and terminal for realizing edge cloud service

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