CN116827847A - Network node route construction method and system - Google Patents

Network node route construction method and system Download PDF

Info

Publication number
CN116827847A
CN116827847A CN202310624825.XA CN202310624825A CN116827847A CN 116827847 A CN116827847 A CN 116827847A CN 202310624825 A CN202310624825 A CN 202310624825A CN 116827847 A CN116827847 A CN 116827847A
Authority
CN
China
Prior art keywords
network
receiving
route
sending
domain
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
CN202310624825.XA
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.)
China Standard Intelligent Security Technology Co Ltd
Original Assignee
China Standard Intelligent Security 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 China Standard Intelligent Security Technology Co Ltd filed Critical China Standard Intelligent Security Technology Co Ltd
Priority to CN202310624825.XA priority Critical patent/CN116827847A/en
Publication of CN116827847A publication Critical patent/CN116827847A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/02Topology update or discovery
    • H04L45/04Interdomain routing, e.g. hierarchical routing

Abstract

The invention provides a network node route construction method and a system, which respectively determine a sending network domain and a receiving network domain according to network positions of a sending end and a receiving end, respectively form a sending route and a receiving route corresponding to the sending end and the receiving end according to working states of network nodes contained in the sending network domain and the receiving network domain, and carry out small-range network node connection screening on the sending end and the receiving end so that the sending end and the receiving end can preferentially obtain connection authority of the network node with higher data transmission performance, and data sending efficiency of the sending end and data receiving efficiency of the receiving end are improved; and the sending network domain and the receiving network domain are used as references to directly connect the two network domains, so that stable connection of the sending route and the receiving route is realized, all communication nodes of the communication network do not need to be screened one by one, and the workload of connection route construction is reduced.

Description

Network node route construction method and system
Technical Field
The present invention relates to the field of network transmission technologies, and in particular, to a method and a system for constructing a network node route.
Background
Different communication nodes are arranged in the communication network, and each communication node serves as a data transmission relay point and can transmit received data to other communication nodes. In actual communication work, the sending end and the receiving end are both connected to a communication network, and a plurality of communication nodes in the communication network are selected to form a communication route together, so that point-to-point communication between the sending end and the receiving end is realized. In order to ensure the communication speed between the sending end and the receiving end, the communication nodes are selected based on the principle of constructing the shortest communication route, and although the sending end can be ensured to rapidly transmit data to the receiving end, the actual data transmission state of each communication node is not considered, so that the constructed shortest communication route has the problems of data transmission blockage or serious time delay, and the efficiency and the fidelity of data transmission are reduced.
Disclosure of Invention
Aiming at the defects existing in the prior art, the invention provides a network node route construction method and a system, which respectively determine a sending network domain and a receiving network domain according to the network positions of a sending end and a receiving end, respectively form a sending route and a receiving route corresponding to the sending end and the receiving end according to the working states of network nodes contained in the sending network domain and the receiving network domain, and carry out small-range network node connection screening on the sending end and the receiving end, so that the sending end and the receiving end can preferentially obtain the connection authority of the network node with higher data transmission performance, and the data sending efficiency of the sending end and the data receiving efficiency of the receiving end are improved; and constructing a point-to-point connection route of a transmitting end and a receiving end according to the connection state between the transmitting network domain and the receiving network domain, and directly connecting the two network domains by taking the transmitting network domain and the receiving network domain as references, so that the stable connection of the transmitting route and the receiving route is realized, all communication nodes of a communication network do not need to be screened one by one, the workload of connection route construction is reduced, the connection route is constructed in a sectional mode, the section is independently changed when a section of the subsequent connection route is blocked, and the flexibility of communication connection adjustment is ensured.
The invention provides a network node route construction method, which comprises the following steps:
step S1, determining a transmitting network domain corresponding to a transmitting end according to the network position of the transmitting end, and acquiring the working state information of each network node in the transmitting network domain; determining at least one network node matched with the transmitting end according to the working state information, so as to form a transmitting route;
step S2, according to the network position of the receiving end, determining a receiving network domain corresponding to the sending network domain, and acquiring the working state of each network node in the receiving network domain; according to the working state, determining at least one network node matched with the receiving end so as to form a receiving route;
and step S3, constructing a point-to-point connection route of the sending end and the receiving end according to the connection state between the sending network domain and the receiving network domain, wherein the sending route and the receiving route are the same.
Further, in the step S1, according to the network position of the transmitting end, a transmitting network domain corresponding to the transmitting end is determined, and the working state information of each network node in the transmitting network domain is obtained; according to the working state information, determining at least one network node matched with the transmitting end so as to form a transmitting route, and comprising the following steps:
Determining a plurality of network nodes which meet the first preset node distance condition with the gateway address according to the gateway address of the network node where the transmitting end is located, and forming a transmitting network domain corresponding to the transmitting end by using the network areas where all the determined network nodes are located; the first preset node distance condition means that the node distance between the network node where the sending end is located and the determined network node is smaller than or equal to a first preset distance threshold value;
acquiring respective real-time data transmission load information of all network nodes in the transmitting network domain, and determining the network nodes which are not in full data transmission load as network nodes matched with the transmitting end according to the data transmission load information;
and selecting at least one network node from all the matched network nodes to form a transmission route with the minimum time delay with the transmitting end.
Further, in the step S2, according to the network location of the receiving end, a receiving network domain corresponding to the sending network domain is determined, and a working state of each network node in the receiving network domain is obtained; according to the working state, determining at least one network node matched with the receiving end so as to form a receiving route, and the method comprises the following steps:
Determining a plurality of network nodes which meet the second preset node distance condition with the gateway address according to the gateway address of the network node where the receiving end is located, wherein the determined network nodes do not exist in the sending network domain; the second predetermined node distance condition means that the node distance between the network node where the receiving end is located and the determined network node is smaller than or equal to a second predetermined distance threshold, and the node distances between the determined network node and all network nodes included in the sending network domain are all within a predetermined distance range;
then forming a receiving network domain corresponding to the receiving end by using the network areas where all the determined network nodes are located;
acquiring respective real-time data transmission load information of all network nodes in the receiving network domain, and determining the network nodes which are not in full data transmission load as network nodes matched with the transmitting end according to the data transmission load information;
and selecting at least one network node from all the matched network nodes to form a receiving route with the minimum time delay with the receiving end.
Further, in the step S3, according to the connection state between the sending network domain and the receiving network domain, the sending route and the receiving route construct a point-to-point connection route between the sending end and the receiving end, including:
According to the respective route length of all the inter-domain routes allowing connection between the sending network domain and the receiving network domain, taking the inter-domain route with the minimum route length as the network domain connection route between the sending network domain and the receiving network domain;
and connecting the network domain connection route with the sending route and the receiving route according to the data transmission direction of the network domain connection route, and constructing a point-to-point connection route of the sending end and the receiving end.
Further, in the step S3, the method further includes:
before transmitting data, the transmitting end controls the repeated transmission times of the data to be transmitted according to the data quantity of the data to be transmitted;
according to the total number of the nodes contained in the constructed point-to-point connection route, data encryption and marking are carried out on the data to be sent;
and after the receiving end receives the transmitted data, carrying out marker point analysis and data decryption on the received data.
The invention also provides a network node route construction system, which comprises:
a sending network domain determining module, configured to determine a sending network domain corresponding to a sending end according to a network location where the sending end is located;
A transmission route forming module, configured to obtain working state information of each network node in the transmission network domain; determining at least one network node matched with the transmitting end according to the working state information, so as to form a transmitting route;
a receiving network domain determining module, configured to determine a receiving network domain corresponding to the sending network domain according to the network location of the receiving end;
a receiving route forming module, configured to obtain a working state of each network node in the receiving network domain; according to the working state, determining at least one network node matched with the receiving end so as to form a receiving route;
and the point-to-point connection route construction module is used for constructing the point-to-point connection route of the sending end and the receiving end according to the connection state between the sending network domain and the receiving network domain.
Further, the sending network domain determining module is configured to determine, according to a network location where a sending end is located, a sending network domain corresponding to the sending end, where the sending network domain determining module includes:
determining a plurality of network nodes which meet the first preset node distance condition with the gateway address according to the gateway address of the network node where the transmitting end is located, and forming a transmitting network domain corresponding to the transmitting end by using the network areas where all the determined network nodes are located; the first preset node distance condition means that the node distance between the network node where the sending end is located and the determined network node is smaller than or equal to a first preset distance threshold value;
The sending route forming module is used for obtaining the working state information of each network node in the sending network domain; according to the working state information, determining at least one network node matched with the transmitting end so as to form a transmitting route, and comprising the following steps:
acquiring respective real-time data transmission load information of all network nodes in the transmitting network domain, and determining the network nodes which are not in full data transmission load as network nodes matched with the transmitting end according to the data transmission load information;
and selecting at least one network node from all the matched network nodes to form a transmission route with the minimum time delay with the transmitting end.
Further, the receiving network domain determining module is configured to determine, according to the network location of the receiving end, a receiving network domain corresponding to the sending network domain, where the determining module includes:
determining a plurality of network nodes which meet the second preset node distance condition with the gateway address according to the gateway address of the network node where the receiving end is located, wherein the determined network nodes do not exist in the sending network domain; the second predetermined node distance condition means that the node distance between the network node where the receiving end is located and the determined network node is smaller than or equal to a second predetermined distance threshold, and the node distances between the determined network node and all network nodes included in the sending network domain are all within a predetermined distance range;
Then forming a receiving network domain corresponding to the receiving end by using the network areas where all the determined network nodes are located;
the receiving route forming module is used for obtaining the working state of each network node in the receiving network domain; according to the working state, determining at least one network node matched with the receiving end so as to form a receiving route, and the method comprises the following steps:
acquiring respective real-time data transmission load information of all network nodes in the receiving network domain, and determining the network nodes which are not in full data transmission load as network nodes matched with the transmitting end according to the data transmission load information;
and selecting at least one network node from all the matched network nodes to form a receiving route with the minimum time delay with the receiving end.
Further, the point-to-point connection route construction module is configured to construct a point-to-point connection route between the sending end and the receiving end according to a connection state between the sending network domain and the receiving network domain, where the point-to-point connection route comprises:
according to the respective route length of all the inter-domain routes allowing connection between the sending network domain and the receiving network domain, taking the inter-domain route with the minimum route length as the network domain connection route between the sending network domain and the receiving network domain;
And connecting the network domain connection route with the sending route and the receiving route according to the data transmission direction of the network domain connection route, and constructing a point-to-point connection route of the sending end and the receiving end.
Compared with the prior art, the network node route construction method and the system respectively determine the sending network domain and the receiving network domain according to the network positions of the sending end and the receiving end, respectively form the sending route and the receiving route corresponding to the sending end and the receiving end according to the working states of the network nodes contained in the sending network domain and the receiving network domain, and perform small-range network node connection screening on the sending end and the receiving end, so that the sending end and the receiving end can preferentially obtain the connection authority of the network node with higher data transmission performance, and the data sending efficiency of the sending end and the data receiving efficiency of the receiving end are improved; and constructing a point-to-point connection route of a transmitting end and a receiving end according to the connection state between the transmitting network domain and the receiving network domain, and directly connecting the two network domains by taking the transmitting network domain and the receiving network domain as references, so that the stable connection of the transmitting route and the receiving route is realized, all communication nodes of a communication network do not need to be screened one by one, the workload of connection route construction is reduced, the connection route is constructed in a sectional mode, the section is independently changed when a section of the subsequent connection route is blocked, and the flexibility of communication connection adjustment is ensured.
Additional features and advantages of the invention will be set forth in the description which follows, and in part will be obvious from the description, or may be learned by practice of the invention. The objectives and other advantages of the invention will be realized and attained by the structure particularly pointed out in the written description and claims thereof as well as the appended drawings.
The technical scheme of the invention is further described in detail through the drawings and the embodiments.
Drawings
In order to more clearly illustrate the embodiments of the invention or the technical solutions in the prior art, the drawings that are required in the embodiments or the description of the prior art will be briefly described, it being obvious that the drawings in the following description are only some embodiments of the invention, and that other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
Fig. 1 is a schematic flow chart of a network node route construction method provided by the invention.
Fig. 2 is a schematic structural diagram of a network node route construction system provided by the present invention.
Detailed Description
The following description of the embodiments of the present invention will be made clearly and completely with reference to the accompanying drawings, in which it is apparent that the embodiments described are only some embodiments of the present invention, but not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
Referring to fig. 1, a flow chart of a network node route construction method according to an embodiment of the present invention is shown. The network node route construction method comprises the following steps:
step S1, determining a transmitting network domain corresponding to a transmitting end according to the network position of the transmitting end, and acquiring the working state information of each network node in the transmitting network domain; determining at least one network node matched with the transmitting end according to the working state information, so as to form a transmitting route;
step S2, according to the network position of the receiving end, determining a receiving network domain corresponding to the sending network domain, and acquiring the working state of each network node in the receiving network domain; according to the working state, determining at least one network node matched with the receiving end so as to form a receiving route;
and step S3, constructing a point-to-point connection route of the sending end and the receiving end according to the connection state between the sending network domain and the receiving network domain, and the sending route and the receiving route.
The beneficial effects of the technical scheme are as follows: according to the network node route construction method, a sending network domain and a receiving network domain are respectively determined according to network positions of a sending end and a receiving end, sending routes and receiving routes corresponding to the sending end and the receiving end are respectively formed according to working states of network nodes contained in the sending network domain and the receiving network domain, and small-range network node connection screening is carried out on the sending end and the receiving end, so that the sending end and the receiving end can preferentially obtain connection authority of the network node with higher data transmission performance, and data sending efficiency of the sending end and data receiving efficiency of the receiving end are improved; and constructing a point-to-point connection route of a transmitting end and a receiving end according to the connection state between the transmitting network domain and the receiving network domain, and directly connecting the two network domains by taking the transmitting network domain and the receiving network domain as references, so that the stable connection of the transmitting route and the receiving route is realized, all communication nodes of a communication network do not need to be screened one by one, the workload of connection route construction is reduced, the connection route is constructed in a sectional mode, the section is independently changed when a section of the subsequent connection route is blocked, and the flexibility of communication connection adjustment is ensured.
Preferably, in the step S1, according to the network location of the transmitting end, a transmitting network domain corresponding to the transmitting end is determined, and the working state information of each network node in the transmitting network domain is obtained; according to the working state information, determining at least one network node matched with the transmitting end so as to form a transmitting route, and comprising the following steps:
determining a plurality of network nodes which meet the first preset node distance condition with the gateway address according to the gateway address of the network node where the transmitting end is located, and forming a transmitting network domain corresponding to the transmitting end by the network areas where all the determined network nodes are located; the first preset node distance condition means that the node distance between the network node where the sending end is located and the determined network node is smaller than or equal to a first preset distance threshold value;
acquiring respective real-time data transmission load information of all network nodes in the transmitting network domain, and determining the network node which is not in full data transmission load as the network node matched with the transmitting end according to the data transmission load information;
and selecting at least one network node from all the matched network nodes to form a transmission route with the minimum time delay with the transmitting end.
The beneficial effects of the technical scheme are as follows: the gateway address of a network node of a sending end such as a smart phone held by a sender, which is accessed to a communication network, is taken as a reference, the network node with the node distance smaller than or equal to a first preset distance threshold value is selected from the communication network as the network node associated with the sending end, and the network segment of each associated network node in the communication network is determined, so that a sending network domain corresponding to the sending end is formed, thus the network domain associated with the sending end only can be defined in the communication network, the sending end can have the connection authority to any network node in the sending network domain, and the sending route can be formed by utilizing any network node in the sending network domain, thereby improving the flexibility of the construction of the sending route. The data transmission loads of different network nodes in a transmitting network domain are different, the larger the data transmission load is, the more the corresponding network node is easy to generate data transmission blocking, in order to ensure the data transmission efficiency of a constructed transmitting path, only the network node which is not in full load of data transmission is used as the network node matched with the transmitting end, and then at least one network node is selected from all the matched network nodes to form a corresponding transmitting route with the transmitting end according to the principle that the time delay of the transmitting route is minimum.
Preferably, in the step S2, according to the network location of the receiving end, a receiving network domain corresponding to the sending network domain is determined, and a working state of each network node in the receiving network domain is obtained; according to the working state, determining at least one network node matched with the receiving end so as to form a receiving route, and comprising the following steps:
determining a plurality of network nodes meeting the second preset node distance condition with the gateway address according to the gateway address of the network node where the receiving end is located, wherein the determined network nodes do not exist in the sending network domain; the second predetermined node distance condition means that the node distance between the network node where the receiving end is located and the determined network node is smaller than or equal to a second predetermined distance threshold, and the node distances between the determined network node and all network nodes included in the sending network domain are all within a predetermined distance range;
then forming a receiving network domain corresponding to the receiving end by the network areas where all the determined network nodes are located;
acquiring respective real-time data transmission load information of all network nodes in the receiving network domain, and determining the network node which is not in full data transmission load as the network node matched with the transmitting end according to the data transmission load information;
At least one network node from all the matched network nodes is selected to form a receiving route with minimum time delay with the receiving end.
The beneficial effects of the technical scheme are as follows: the network nodes with node distances smaller than or equal to a second preset distance threshold and within a preset distance range with all network nodes contained in a sending network domain are selected from the communication network by taking gateway addresses of network nodes accessed to the communication network by receiving ends such as smart phones held by receiving ends as references, network segments of each associated network node in the communication network are determined, and accordingly receiving network domains corresponding to the receiving ends are formed, network nodes contained in the receiving network domains and the network nodes of the receiving ends and the sending network domains keep the nearest node distances, so that the network domains only associated with the receiving ends can be defined in the communication network, the receiving ends can have connection authority for any network node in the receiving network domain, and then any network node in the receiving network domain can be utilized to form a receiving route, and the flexibility of receiving route construction is improved. The data transmission loads of different network nodes in the receiving network domain are different, the larger the data transmission load is, the more the corresponding network node is easy to generate data transmission blocking, in order to ensure the data transmission efficiency of the constructed receiving route, only the network node which is not in full load of data transmission is used as the network node matched with the receiving end, and then at least one network node is selected from all the matched network nodes according to the principle that the time delay of the receiving route is minimum to form a corresponding receiving route with the receiving end.
Preferably, in the step S3, constructing a point-to-point connection route between the transmitting end and the receiving end according to the connection state between the transmitting network domain and the receiving network domain, including:
taking the inter-domain route with the minimum routing length as the network domain connection route between the sending network domain and the receiving network domain according to the respective routing lengths of all the inter-domain routes allowing connection between the sending network domain and the receiving network domain;
and connecting the network domain connection route with the sending route and the receiving route according to the data transmission direction of the network domain connection route, and constructing a point-to-point connection route of the sending end and the receiving end.
The beneficial effects of the technical scheme are as follows: and selecting the inter-domain route with the minimum route length as the network domain connection route between the sending network domain and the receiving network domain by taking the route length of each inter-domain route allowing connection between the sending network domain and the receiving network domain as a reference, so that the high-efficiency and rapid data transmission between the receiving network domain and the sending network domain can be ensured. And according to the data transmission direction of the network domain connection route, connecting the data inlet end and the data outlet end of the network domain connection route with the sending route and the receiving route respectively, so as to realize point-to-point data transmission between the sending end and the receiving end.
Preferably, in this step S3, further comprising:
before transmitting data, the transmitting end controls the repeated transmission times of the data to be transmitted according to the data quantity of the data to be transmitted by utilizing the following formula (1);
in the above formula (1), N represents the number of repeated transmissions of data to be transmitted; r is R 2 A binary form representing data to be transmitted; d represents a preset standard data bit number; len () represents the total number of bits of data to find the binary number in brackets;representing a downward rounding; />Representing an upward rounding;
using the following formula (2), encrypting and marking data to be transmitted according to the total number of nodes included in the constructed point-to-point connection route;
the above-mentioned maleFormula (2), r 2 (i) Representing the binary number on the ith bit after data encryption is carried out on the data to be transmitted; rb (r) 2 Representing binary form data after data encryption and marking of data to be transmitted; r is R 2 (i) Representing a binary number on an ith bit in a binary form of data to be transmitted; %2 represents the remainder of 2; m represents the total number of nodes contained in the constructed point-to-point connection route;representing exclusive OR; />Indicating a cyclic right shift;<<representing a left shift; r is (r) 2 Representing binary form data after data encryption is carried out on data to be transmitted; () 2 A numerical value representing the conversion of the number in brackets into a binary form;
after the receiving end receives the transmitted data, the receiving end performs marker point analysis and data decryption on the received data using the following formula (3).
In the above formula (3), F represents an analysis value obtained by performing marker point analysis on the received data, if f=1, continuing the decryption step on the data, and if f=0, not decrypting the data;>>representing a right shift;representing a cyclic shift left; j (J) 2 A binary form representing the received data; j (J) 2 (a) Representing the binary number on bit a in the binary form of the received data; jz 2 Representing binary form data after marker point analysis and complete data decryption of the received data; j (j) 2 (a) Representing the binary number on bit a in the binary form after one decryption of the received data; j (j) 2 Representing the incoming dataThe line is decrypted once in binary form.
The beneficial effects of the technical scheme are as follows: before transmitting data, the transmitting end controls the repeated transmission times of the data to be transmitted according to the data quantity of the data to be transmitted by utilizing the formula (1), so that the repeated transmission times of the data are controlled to be multiple times when the data quantity is large, and the reliability and the accuracy of data transmission are ensured; the formula (2) is utilized, the total number of the nodes is included according to the constructed point-to-point connection route, data encryption and marking are carried out on the data to be transmitted, the subsequent decryption operation can be facilitated by encrypting the number of the nodes, and the encryption reliability can be ensured through a complex formula; finally, by utilizing the formula (3), after the receiving end receives the transmitted data, the receiving end performs marker point analysis and data decryption on the received data, and the automatic analysis and decryption embody the intelligent and automatic characteristics of the system.
Referring to fig. 2, a schematic structural diagram of a network node route construction system according to an embodiment of the present invention is provided. The network node route construction system comprises:
the sending network domain determining module is used for determining a sending network domain corresponding to the sending end according to the network position of the sending end;
a transmission route forming module, configured to obtain working state information of each network node in the transmission network domain; determining at least one network node matched with the transmitting end according to the working state information, so as to form a transmitting route;
a receiving network domain determining module, configured to determine a receiving network domain corresponding to the sending network domain according to the network location of the receiving end;
a receiving route forming module, configured to obtain a working state of each network node in the receiving network domain; according to the working state, determining at least one network node matched with the receiving end so as to form a receiving route;
and the point-to-point connection route construction module is used for constructing the point-to-point connection route of the sending end and the receiving end according to the connection state between the sending network domain and the receiving network domain.
The beneficial effects of the technical scheme are as follows: the network node route construction system respectively determines a sending network domain and a receiving network domain according to the network positions of a sending end and a receiving end, respectively forms a sending route and a receiving route corresponding to the sending end and the receiving end according to the working states of network nodes contained in the sending network domain and the receiving network domain, and performs small-range network node connection screening on the sending end and the receiving end, so that the sending end and the receiving end can preferentially obtain the connection authority of the network node with higher data transmission performance, and the data sending efficiency of the sending end and the data receiving efficiency of the receiving end are improved; and constructing a point-to-point connection route of a transmitting end and a receiving end according to the connection state between the transmitting network domain and the receiving network domain, and directly connecting the two network domains by taking the transmitting network domain and the receiving network domain as references, so that the stable connection of the transmitting route and the receiving route is realized, all communication nodes of a communication network do not need to be screened one by one, the workload of connection route construction is reduced, the connection route is constructed in a sectional mode, the section is independently changed when a section of the subsequent connection route is blocked, and the flexibility of communication connection adjustment is ensured.
Preferably, the sending network domain determining module is configured to determine, according to a network location where a sending end is located, a sending network domain corresponding to the sending end, including:
determining a plurality of network nodes which meet the first preset node distance condition with the gateway address according to the gateway address of the network node where the transmitting end is located, and forming a transmitting network domain corresponding to the transmitting end by the network areas where all the determined network nodes are located; the first preset node distance condition means that the node distance between the network node where the sending end is located and the determined network node is smaller than or equal to a first preset distance threshold value;
the sending route forming module is used for obtaining the working state information of each network node in the sending network domain; according to the working state information, determining at least one network node matched with the transmitting end so as to form a transmitting route, and comprising the following steps:
acquiring respective real-time data transmission load information of all network nodes in the transmitting network domain, and determining the network node which is not in full data transmission load as the network node matched with the transmitting end according to the data transmission load information;
and selecting at least one network node from all the matched network nodes to form a transmission route with the minimum time delay with the transmitting end.
The beneficial effects of the technical scheme are as follows: the gateway address of a network node of a sending end such as a smart phone held by a sender, which is accessed to a communication network, is taken as a reference, the network node with the node distance smaller than or equal to a first preset distance threshold value is selected from the communication network as the network node associated with the sending end, and the network segment of each associated network node in the communication network is determined, so that a sending network domain corresponding to the sending end is formed, thus the network domain associated with the sending end only can be defined in the communication network, the sending end can have the connection authority to any network node in the sending network domain, and the sending route can be formed by utilizing any network node in the sending network domain, thereby improving the flexibility of the construction of the sending route. The data transmission loads of different network nodes in a sending network domain are different, the larger the data transmission load is, the more the corresponding network node is easy to generate data transmission blocking, in order to ensure the data transmission efficiency of a constructed sending route, only the network node which is not in full load of data transmission is used as the network node matched with the sending end, and then at least one network node is selected from all the matched network nodes to form a corresponding sending route with the sending end according to the principle that the time delay of the sending route is minimum.
Preferably, the receiving network domain determining module is configured to determine, according to the network location of the receiving end, a receiving network domain corresponding to the sending network domain, and includes:
determining a plurality of network nodes meeting the second preset node distance condition with the gateway address according to the gateway address of the network node where the receiving end is located, wherein the determined network nodes do not exist in the sending network domain; the second predetermined node distance condition means that the node distance between the network node where the receiving end is located and the determined network node is smaller than or equal to a second predetermined distance threshold, and the node distances between the determined network node and all network nodes included in the sending network domain are all within a predetermined distance range;
then forming a receiving network domain corresponding to the receiving end by the network areas where all the determined network nodes are located;
the receiving route forming module is used for obtaining the working state of each network node in the receiving network domain; according to the working state, determining at least one network node matched with the receiving end so as to form a receiving route, and comprising the following steps:
acquiring respective real-time data transmission load information of all network nodes in the receiving network domain, and determining the network node which is not in full data transmission load as the network node matched with the transmitting end according to the data transmission load information;
At least one network node from all the matched network nodes is selected to form a receiving route with minimum time delay with the receiving end.
The beneficial effects of the technical scheme are as follows: the network nodes with node distances smaller than or equal to a second preset distance threshold and within a preset distance range with all network nodes contained in a sending network domain are selected from the communication network by taking gateway addresses of network nodes accessed to the communication network by receiving ends such as smart phones held by receiving ends as references, network segments of each associated network node in the communication network are determined, and accordingly receiving network domains corresponding to the receiving ends are formed, network nodes contained in the receiving network domains and the network nodes of the receiving ends and the sending network domains keep the nearest node distances, so that the network domains only associated with the receiving ends can be defined in the communication network, the receiving ends can have connection authority for any network node in the receiving network domain, and then any network node in the receiving network domain can be utilized to form a receiving route, and the flexibility of receiving route construction is improved. The data transmission loads of different network nodes in the receiving network domain are different, the larger the data transmission load is, the more the corresponding network node is easy to generate data transmission blocking, in order to ensure the data transmission efficiency of the constructed receiving route, only the network node which is not in full load of data transmission is used as the network node matched with the receiving end, and then at least one network node is selected from all the matched network nodes according to the principle that the time delay of the receiving route is minimum to form a corresponding receiving route with the receiving end.
Preferably, the point-to-point connection route construction module is configured to construct a point-to-point connection route between the transmitting end and the receiving end according to a connection state between the transmitting network domain and the receiving network domain, where the point-to-point connection route comprises:
taking the inter-domain route with the minimum routing length as the network domain connection route between the sending network domain and the receiving network domain according to the respective routing lengths of all the inter-domain routes allowing connection between the sending network domain and the receiving network domain;
and connecting the network domain connection route with the sending route and the receiving route according to the data transmission direction of the network domain connection route, and constructing a point-to-point connection route of the sending end and the receiving end.
The beneficial effects of the technical scheme are as follows: and selecting the inter-domain route with the minimum route length as the network domain connection route between the sending network domain and the receiving network domain by taking the route length of each inter-domain route allowing connection between the sending network domain and the receiving network domain as a reference, so that the high-efficiency and rapid data transmission between the receiving network domain and the sending network domain can be ensured. And according to the data transmission direction of the network domain connection route, connecting the data inlet end and the data outlet end of the network domain connection route with the sending route and the receiving route respectively, so as to realize point-to-point data transmission between the sending end and the receiving end.
As can be seen from the foregoing embodiments, the network node route construction method and system respectively determine a sending network domain and a receiving network domain according to network positions of a sending end and a receiving end, respectively form a sending route and a receiving route corresponding to the sending end and the receiving end according to working states of network nodes included in the sending network domain and the receiving network domain, and perform small-range network node connection screening on the sending end and the receiving end, so that the sending end and the receiving end can preferentially obtain connection authority of a network node with higher data transmission performance, and data sending efficiency of the sending end and data receiving efficiency of the receiving end are improved; and constructing a point-to-point connection route of a transmitting end and a receiving end according to the connection state between the transmitting network domain and the receiving network domain, and directly connecting the two network domains by taking the transmitting network domain and the receiving network domain as references, so that the stable connection of the transmitting route and the receiving route is realized, all communication nodes of a communication network do not need to be screened one by one, the workload of connection route construction is reduced, the connection route is constructed in a sectional mode, the section is independently changed when a section of the subsequent connection route is blocked, and the flexibility of communication connection adjustment is ensured.
It will be apparent to those skilled in the art that various modifications and variations can be made to the present invention without departing from the spirit or scope of the invention. Thus, it is intended that the present invention also include such modifications and alterations insofar as they come within the scope of the appended claims or the equivalents thereof.

Claims (9)

1. The network node route construction method is characterized by comprising the following steps:
step S1, determining a transmitting network domain corresponding to a transmitting end according to the network position of the transmitting end, and acquiring the working state information of each network node in the transmitting network domain; determining at least one network node matched with the transmitting end according to the working state information, so as to form a transmitting route;
step S2, according to the network position of the receiving end, determining a receiving network domain corresponding to the sending network domain, and acquiring the working state of each network node in the receiving network domain; according to the working state, determining at least one network node matched with the receiving end so as to form a receiving route;
and step S3, constructing a point-to-point connection route of the sending end and the receiving end according to the connection state between the sending network domain and the receiving network domain, wherein the sending route and the receiving route are the same.
2. The network node route construction method of claim 1, wherein:
in the step S1, according to the network position of the transmitting end, determining a transmitting network domain corresponding to the transmitting end, and acquiring the working state information of each network node in the transmitting network domain; according to the working state information, determining at least one network node matched with the transmitting end so as to form a transmitting route, and comprising the following steps:
determining a plurality of network nodes which meet the first preset node distance condition with the gateway address according to the gateway address of the network node where the transmitting end is located, and forming a transmitting network domain corresponding to the transmitting end by using the network areas where all the determined network nodes are located; the first preset node distance condition means that the node distance between the network node where the sending end is located and the determined network node is smaller than or equal to a first preset distance threshold value;
acquiring respective real-time data transmission load information of all network nodes in the transmitting network domain, and determining the network nodes which are not in full data transmission load as network nodes matched with the transmitting end according to the data transmission load information;
And selecting at least one network node from all the matched network nodes to form a transmission route with the minimum time delay with the transmitting end.
3. The network node route construction method of claim 1, wherein:
in the step S2, according to the network position of the receiving end, a receiving network domain corresponding to the transmitting network domain is determined, and the working state of each network node in the receiving network domain is obtained; according to the working state, determining at least one network node matched with the receiving end so as to form a receiving route, and the method comprises the following steps:
determining a plurality of network nodes which meet the second preset node distance condition with the gateway address according to the gateway address of the network node where the receiving end is located, wherein the determined network nodes do not exist in the sending network domain; the second predetermined node distance condition means that the node distance between the network node where the receiving end is located and the determined network node is smaller than or equal to a second predetermined distance threshold, and the node distances between the determined network node and all network nodes included in the sending network domain are all within a predetermined distance range;
Then forming a receiving network domain corresponding to the receiving end by using the network areas where all the determined network nodes are located;
acquiring respective real-time data transmission load information of all network nodes in the receiving network domain, and determining the network nodes which are not in full data transmission load as network nodes matched with the transmitting end according to the data transmission load information;
and selecting at least one network node from all the matched network nodes to form a receiving route with the minimum time delay with the receiving end.
4. The network node route construction method of claim 1, wherein:
in the step S3, according to the connection state between the sending network domain and the receiving network domain, the sending route and the receiving route construct a point-to-point connection route between the sending end and the receiving end, including:
according to the respective route length of all the inter-domain routes allowing connection between the sending network domain and the receiving network domain, taking the inter-domain route with the minimum route length as the network domain connection route between the sending network domain and the receiving network domain;
and connecting the network domain connection route with the sending route and the receiving route according to the data transmission direction of the network domain connection route, and constructing a point-to-point connection route of the sending end and the receiving end.
5. The network node route construction method of claim 1, wherein:
in the step S3, further includes:
before transmitting data, the transmitting end controls the repeated transmission times of the data to be transmitted according to the data quantity of the data to be transmitted;
according to the total number of the nodes contained in the constructed point-to-point connection route, data encryption and marking are carried out on the data to be sent;
and after the receiving end receives the transmitted data, carrying out marker point analysis and data decryption on the received data.
6. A network node route construction system, comprising:
a sending network domain determining module, configured to determine a sending network domain corresponding to a sending end according to a network location where the sending end is located;
a transmission route forming module, configured to obtain working state information of each network node in the transmission network domain; determining at least one network node matched with the transmitting end according to the working state information, so as to form a transmitting route;
a receiving network domain determining module, configured to determine a receiving network domain corresponding to the sending network domain according to the network location of the receiving end;
a receiving route forming module, configured to obtain a working state of each network node in the receiving network domain; according to the working state, determining at least one network node matched with the receiving end so as to form a receiving route;
And the point-to-point connection route construction module is used for constructing the point-to-point connection route of the sending end and the receiving end according to the connection state between the sending network domain and the receiving network domain.
7. The network node route construction system of claim 6, wherein:
the sending network domain determining module is configured to determine, according to a network location where a sending end is located, a sending network domain corresponding to the sending end, where the sending network domain determining module includes:
determining a plurality of network nodes which meet the first preset node distance condition with the gateway address according to the gateway address of the network node where the transmitting end is located, and forming a transmitting network domain corresponding to the transmitting end by using the network areas where all the determined network nodes are located; the first preset node distance condition means that the node distance between the network node where the sending end is located and the determined network node is smaller than or equal to a first preset distance threshold value;
the sending route forming module is used for obtaining the working state information of each network node in the sending network domain; according to the working state information, determining at least one network node matched with the transmitting end so as to form a transmitting route, and comprising the following steps:
Acquiring respective real-time data transmission load information of all network nodes in the transmitting network domain, and determining the network nodes which are not in full data transmission load as network nodes matched with the transmitting end according to the data transmission load information;
and selecting at least one network node from all the matched network nodes to form a transmission route with the minimum time delay with the transmitting end.
8. The network node route construction system of claim 6, wherein:
the receiving network domain determining module is configured to determine, according to the network location of the receiving end, a receiving network domain corresponding to the sending network domain, and includes:
determining a plurality of network nodes which meet the second preset node distance condition with the gateway address according to the gateway address of the network node where the receiving end is located, wherein the determined network nodes do not exist in the sending network domain; the second predetermined node distance condition means that the node distance between the network node where the receiving end is located and the determined network node is smaller than or equal to a second predetermined distance threshold, and the node distances between the determined network node and all network nodes included in the sending network domain are all within a predetermined distance range;
Then forming a receiving network domain corresponding to the receiving end by using the network areas where all the determined network nodes are located;
the receiving route forming module is used for obtaining the working state of each network node in the receiving network domain; according to the working state, determining at least one network node matched with the receiving end so as to form a receiving route, and the method comprises the following steps:
acquiring respective real-time data transmission load information of all network nodes in the receiving network domain, and determining the network nodes which are not in full data transmission load as network nodes matched with the transmitting end according to the data transmission load information;
and selecting at least one network node from all the matched network nodes to form a receiving route with the minimum time delay with the receiving end.
9. The network node route construction system of claim 6, wherein:
the point-to-point connection route construction module is configured to construct a point-to-point connection route between the sending end and the receiving end according to a connection state between the sending network domain and the receiving network domain, where the point-to-point connection route comprises:
according to the respective route length of all the inter-domain routes allowing connection between the sending network domain and the receiving network domain, taking the inter-domain route with the minimum route length as the network domain connection route between the sending network domain and the receiving network domain;
And connecting the network domain connection route with the sending route and the receiving route according to the data transmission direction of the network domain connection route, and constructing a point-to-point connection route of the sending end and the receiving end.
CN202310624825.XA 2023-05-30 2023-05-30 Network node route construction method and system Pending CN116827847A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310624825.XA CN116827847A (en) 2023-05-30 2023-05-30 Network node route construction method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310624825.XA CN116827847A (en) 2023-05-30 2023-05-30 Network node route construction method and system

Publications (1)

Publication Number Publication Date
CN116827847A true CN116827847A (en) 2023-09-29

Family

ID=88123219

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310624825.XA Pending CN116827847A (en) 2023-05-30 2023-05-30 Network node route construction method and system

Country Status (1)

Country Link
CN (1) CN116827847A (en)

Similar Documents

Publication Publication Date Title
CA2100541C (en) Distributed processing of route selection across networks and subnetworks
CN101043428B (en) Routing retransmitting method and system
CN101485156B (en) System and method for switching traffic through a network
CN100555992C (en) Based on network routing scheme
US5600794A (en) Method and apparatus for managing exchange of metrics in a computer network by exchanging only metrics used by a node in the network
EP1757026B1 (en) Method and apparatus for forwarding data in a data communications network
US20070030811A1 (en) Method and apparatus for maximizing data transmission capacity of a mesh network
CN1798068B (en) Method and apparatus for providing a hop limited protection pathway in a network
JP2001503578A (en) Multi-protocol wireless communication transfer optimization.
JP5812282B2 (en) Traffic monitoring device
US8908526B2 (en) Controlled interconnection of networks using virtual nodes
CN103891217A (en) Service assurance using network measurement triggers
CN107770085A (en) A kind of network load balancing method, equipment and system
US8719414B2 (en) Multi-source broadband aggregation router
CN106658644A (en) Communication network routing method and device
CN105610707A (en) Implementation method of AntNet routing algorithm in two-dimensional mesh topology network-on-chip
CN101325560B (en) Method and apparatus for generating link
CN116827847A (en) Network node route construction method and system
RU2305374C1 (en) Method for hybrid commutation and adaptive routing and device for realization of the method
CN106105282A (en) Link buffer zone state is utilized to carry out the system and method for traffic engineering
CN100574311C (en) Adjust the method and the implement device thereof of data stream transmission link
CN105814850A (en) Method for routing data packet, node and communication system
EP1730865A1 (en) Automatic update of squelch tables for optical network applications
AU659254B2 (en) Asynchronous time-division multiplexing for transmission of call data
CN111464441A (en) Communication method and device

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