CN114827020A - Data packet transmission path customization method, system and readable storage medium - Google Patents

Data packet transmission path customization method, system and readable storage medium Download PDF

Info

Publication number
CN114827020A
CN114827020A CN202210744952.9A CN202210744952A CN114827020A CN 114827020 A CN114827020 A CN 114827020A CN 202210744952 A CN202210744952 A CN 202210744952A CN 114827020 A CN114827020 A CN 114827020A
Authority
CN
China
Prior art keywords
transmission path
transmission
bandwidth
data packet
data
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.)
Granted
Application number
CN202210744952.9A
Other languages
Chinese (zh)
Other versions
CN114827020B (en
Inventor
张雄国
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Yueyou Information Technology Co ltd
Original Assignee
Beijing Yueyou Information 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 Beijing Yueyou Information Technology Co ltd filed Critical Beijing Yueyou Information Technology Co ltd
Priority to CN202210744952.9A priority Critical patent/CN114827020B/en
Publication of CN114827020A publication Critical patent/CN114827020A/en
Application granted granted Critical
Publication of CN114827020B publication Critical patent/CN114827020B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

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/30Routing of multiclass traffic
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/28Routing or path finding of packets in data switching networks using route fault recovery
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/10Flow control; Congestion control
    • H04L47/24Traffic characterised by specific attributes, e.g. priority or QoS
    • H04L47/2425Traffic characterised by specific attributes, e.g. priority or QoS for supporting services specification, e.g. SLA
    • H04L47/2433Allocation of priorities to traffic types
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W40/00Communication routing or communication path finding
    • H04W40/02Communication route or path selection, e.g. power-based or shortest path routing

Abstract

The invention discloses a method and a system for customizing a data packet transmission path and a readable storage medium, relates to the technical field of network communication, and aims to solve the problem of resource waste caused by unreasonable distribution mode of the existing network channel. In addition, the substitute transmission node and the general transmission path are collected, and when the transmission path of the data packet is interrupted, the substitute transmission node or the general transmission path is selected preferentially, so that the time for the data packet to be matched with the transmission path again is saved.

Description

Data packet transmission path customization method, system and readable storage medium
Technical Field
The present application relates to the field of network communication technologies, and in particular, to a method, a system, and a readable storage medium for customizing a packet transmission path.
Background
With the popularization of networks, the activities of people are more closely related to the networks, and the activities are frequently and closely connected with computer networks in life and work. From a traditional wired network to a current wireless network, from a single-channel network to a multi-radio-frequency multi-channel technology, the cost is saved by technical iteration, the networking mode is facilitated, and the network coverage is more comprehensive. Chinese invention patent CN109716818B discloses a user equipment, a broker node, a method and a computer program. The user equipment includes a network control domain and a user domain and is operable to receive and transmit data via a plurality of communication paths. But the channel allocation mode is not reasonable, which causes the waste of resources.
Therefore, the prior art has defects and needs to be improved.
Disclosure of Invention
In view of the above problems, it is an object of the present invention to provide a packet transmission path customizing method, system and readable storage medium, which can control the transmission path of a packet more efficiently according to the user's needs.
A first aspect of the present invention provides a method for customizing a packet transmission path, including:
acquiring data packet transmission information;
classifying the data packets according to the bandwidth size to obtain the priority of the data packets;
obtaining a transmission path corresponding to the data packet according to the priority of the data packet;
and transmitting the data packet according to the corresponding transmission path and displaying the data packet at the terminal.
In this scheme, still include:
acquiring n information of the number of data interfaces of a transmission node;
and associating the number n of the data interfaces of the transmission node with the transmission path of the data packet transmitted simultaneously.
In this scheme, still include:
obtaining data packet sending bandwidth of source node
Figure 59916DEST_PATH_IMAGE001
Packet reception bandwidth with destination node
Figure 807293DEST_PATH_IMAGE002
Information;
transmitting bandwidth according to the data packet of the source node
Figure 96323DEST_PATH_IMAGE001
Packet reception bandwidth with destination node
Figure 245544DEST_PATH_IMAGE002
Information, get the minimum value
Figure 607999DEST_PATH_IMAGE003
Information;
the data packet is divided into the bandwidth value
Figure 452458DEST_PATH_IMAGE003
And carrying out data transmission.
In this scheme, still include:
obtaining available bandwidth for a transmitting node
Figure 404234DEST_PATH_IMAGE004
Information;
determining available bandwidth of the transmission node
Figure 142383DEST_PATH_IMAGE004
With corresponding transmission path bandwidth
Figure 646045DEST_PATH_IMAGE005
Whether the ratio of (a) is greater than or equal to 2, if not, obtaining the bandwidth value of the transmission path as
Figure 102434DEST_PATH_IMAGE006
Difference in bandwidth of the transmission path
Figure 998846DEST_PATH_IMAGE007
Sending the bandwidth value of the transmission path to a terminal for displaying, and sending the bandwidth difference value of the transmission path to the terminal for displaying
Figure 748758DEST_PATH_IMAGE007
And filling the data into other data packet transmission paths.
In this scheme, still include:
dividing the transmission path according to the number of transmission nodes to obtain a key transmission path and a general transmission path;
and sending the key transmission path and the general transmission path to a preset transmission path library for storage.
In this scheme, still include:
acquiring transmission node interruption information in a transmission path;
and judging whether the transmission node has the substitute node information or not, if not, selecting the optimal transmission path in the common transmission paths to transmit the data packet.
A second aspect of the present invention provides a packet transmission path customizing system, including a memory and a processor, where the memory stores a packet transmission path customizing method program, and the packet transmission path customizing method program, when executed by the processor, implements the following steps:
acquiring data packet transmission information;
classifying the data packets according to the bandwidth size to obtain the priority of the data packets;
obtaining a transmission path corresponding to the data packet according to the priority of the data packet;
and transmitting the data packet according to the corresponding transmission path and displaying the data packet at the terminal.
In this scheme, still include:
acquiring n information of the number of data interfaces of a transmission node;
and associating the number n of the data interfaces of the transmission node with the transmission path of the data packet transmitted simultaneously.
In this scheme, still include:
obtaining data packet sending bandwidth of source node
Figure 970792DEST_PATH_IMAGE001
Packet reception bandwidth with destination node
Figure 304691DEST_PATH_IMAGE002
Information;
according to the number of the source nodesPacket transmission bandwidth
Figure 598269DEST_PATH_IMAGE001
Packet reception bandwidth with destination node
Figure 451955DEST_PATH_IMAGE002
Information, get the minimum value
Figure 321255DEST_PATH_IMAGE003
Information;
the data packet is divided into the bandwidth value
Figure 17815DEST_PATH_IMAGE003
And carrying out data transmission.
In this scheme, still include:
obtaining available bandwidth for a transmitting node
Figure 256030DEST_PATH_IMAGE004
Information;
determining available bandwidth of the transmission node
Figure 213490DEST_PATH_IMAGE004
With corresponding transmission path bandwidth
Figure 511747DEST_PATH_IMAGE005
Whether the ratio of (a) is greater than or equal to 2, if not, obtaining the bandwidth value of the transmission path as
Figure 711916DEST_PATH_IMAGE006
Difference in bandwidth of the transmission path
Figure 347296DEST_PATH_IMAGE007
Sending the bandwidth value of the transmission path to a terminal for displaying, and sending the bandwidth difference value of the transmission path to the terminal for displaying
Figure 909996DEST_PATH_IMAGE007
And filling the data into other data packet transmission paths.
In this scheme, still include:
dividing the transmission path according to the number of transmission nodes to obtain a key transmission path and a general transmission path;
and sending the key transmission path and the general transmission path to a preset transmission path library for storage.
In this scheme, still include:
acquiring transmission node interruption information in a transmission path;
and judging whether the transmission node has the substitute node information or not, if not, selecting the optimal transmission path in the common transmission paths to transmit the data packet.
A third aspect of the present invention provides a computer-readable storage medium in which a packet transmission path customizing method program is stored, the packet transmission path customizing method program, when executed by a processor, implementing the steps of a packet transmission path customizing method as described in any one of the above.
The invention discloses a data packet transmission path customization method, a data packet transmission path customization system and a readable storage medium. In addition, the substitute transmission node and the general transmission path are collected, and when the transmission path of the data packet is interrupted, the substitute transmission node or the general transmission path is selected preferentially, so that the time for the data packet to be matched with the transmission path again is saved.
Drawings
FIG. 1 is a flow chart illustrating a method for customizing a transmission path of a data packet according to the present invention;
fig. 2 is a block diagram of a packet transmission path customization system according to the present invention.
Detailed Description
In order that the above objects, features and advantages of the present invention can be more clearly understood, a more particular description of the invention will be rendered by reference to the appended drawings. It should be noted that the embodiments and features of the embodiments of the present application may be combined with each other without conflict.
In the following description, numerous specific details are set forth in order to provide a thorough understanding of the present invention, however, the present invention may be practiced in other ways than those specifically described herein, and therefore the scope of the present invention is not limited by the specific embodiments disclosed below.
FIG. 1 is a flow chart illustrating a method for customizing a transmission path of a data packet according to the present invention;
as shown in fig. 1, the present invention discloses a method for customizing a data packet transmission path, comprising:
s102, acquiring data packet transmission information;
s104, classifying the data packets according to the bandwidth size to obtain the priority of the data packets;
s106, obtaining a transmission path corresponding to the data packet according to the priority of the data packet;
and S108, transmitting the data packet according to the corresponding transmission path and displaying the data packet at the terminal.
It should be noted that, the priority of the data packets is classified according to the bandwidth size, the larger the bandwidth is, the higher the priority level of the data packets is, the shorter the transmission path matched with the data packets is, and the lower the delay is, the bandwidth size is the bandwidth value that the data packets can actually reach, for example, the network bandwidth of user a is 8M, only one data packet a1 is sent, the network bandwidth of user b is 10M, two data packets are sent simultaneously, which are respectively a2 and a3, where the bandwidth that a2 divides is 7M, the bandwidth that a3 divides is 3M, if a1 and a2 need to pass through the transmission node a at the same time, the a1 data packet is preferentially transmitted under the condition that only one data packet transmission can be satisfied. The data packet transmission of the institution unit or the institution unit is the highest priority, and the transmission time of the data packet is determined according to the bandwidth size and the data packet size.
According to the embodiment of the invention, the method further comprises the following steps:
acquiring n information of the number of data interfaces of a transmission node;
and associating the number n of the data interfaces of the transmission node with the transmission path of the data packet transmitted simultaneously.
It should be noted that the transmission node has a plurality of data interfaces, each data interface includes a data receiving and data sending device, so as to prevent a phenomenon that data in a data packet is mutually serialized between the plurality of data interfaces, for example, if the number of the data interfaces of the transmission node is 4, the transmission node can simultaneously provide for 4 transmission paths to transmit the data packet.
According to the embodiment of the invention, the method further comprises the following steps:
obtaining data packet sending bandwidth of source node
Figure 503788DEST_PATH_IMAGE001
Packet reception bandwidth with destination node
Figure 266952DEST_PATH_IMAGE002
Information;
transmitting bandwidth according to the data packet of the source node
Figure 971602DEST_PATH_IMAGE001
Packet reception bandwidth with destination node
Figure 388808DEST_PATH_IMAGE002
Information, get the minimum value
Figure 887923DEST_PATH_IMAGE003
Information;
the data packet is divided into the bandwidth value
Figure 639847DEST_PATH_IMAGE003
And carrying out data transmission.
It should be noted that the source node and the destination node are special transmission nodes, the bandwidth of the transmission node is divided into n sub-bandwidths, and the coefficient of the sub-bandwidths is
Figure 617030DEST_PATH_IMAGE008
Figure 154322DEST_PATH_IMAGE009
And is
Figure 824338DEST_PATH_IMAGE010
Wherein
Figure 565023DEST_PATH_IMAGE011
Figure 345897DEST_PATH_IMAGE012
And
Figure 737695DEST_PATH_IMAGE013
the initial sub-bandwidth coefficients which can be allocated to the corresponding data interfaces are represented, if the data packets transmitted at the same time are greater than or equal to the data interface n, the sub-bandwidths of the data interfaces are allocated according to the initial sub-bandwidth coefficients, if the data packets transmitted at the same time are less than n, the sub-bandwidth coefficients corresponding to the data interfaces which do not transmit the data packets are enhanced to the data interface with the highest priority, for example, the number of data ports of one transmission node is 4, the initial coefficients of the sub-bandwidths are (0.1, 0.2, 0.3, 0.4), if the number of the data packets which need to be transmitted at the same time is 5, the data packets with the lowest priority cannot be transmitted through the transmission node, only the transmission of 4 data packets can be simultaneously satisfied, and the sub-bandwidth coefficients corresponding to the sub-bandwidths are matched according to the priorities, the width coefficients obtained by the higher matching are larger, and if the number of the data packets transmitted at the same time is 3, the spare data interface coefficients are enhanced to the data interface with the highest priority, the sub-bandwidth coefficients are (0.2, 0.3, 0.5), the data packet transmission bandwidth is obtained through the sub-bandwidth coefficients and the maximum bandwidth value of the transmission node, if the maximum bandwidth values of the source node and the destination node are both 10M, the source node B sends 1 data packet, the destination node C receives 2 data packets at the same time, and the data packet sent by the source node B has priority, the data packet is obtained
Figure 578612DEST_PATH_IMAGE014
Figure 305129DEST_PATH_IMAGE015
To obtain a sourceThe data packet sent by the node B is transmitted according to the speed with the bandwidth of 7M.
According to the embodiment of the invention, the method further comprises the following steps:
obtaining available bandwidth for a transmitting node
Figure 624115DEST_PATH_IMAGE004
Information;
determining available bandwidth of the transmission node
Figure 870419DEST_PATH_IMAGE004
With corresponding transmission path bandwidth
Figure 882238DEST_PATH_IMAGE005
Whether the ratio of (a) is greater than or equal to 2, if not, obtaining the bandwidth value of the transmission path as
Figure 440258DEST_PATH_IMAGE006
Difference in bandwidth of the transmission path
Figure 457542DEST_PATH_IMAGE007
Sending the bandwidth value of the transmission path to a terminal for displaying, and sending the bandwidth difference value of the transmission path to the terminal for displaying
Figure 682987DEST_PATH_IMAGE007
And filling the data into other data packet transmission paths.
It should be noted that, since the transmitting node needs to receive and send out the data packet, if the available bandwidth of the transmitting node is equal to
Figure 741073DEST_PATH_IMAGE004
When the data packet transmission bandwidth of the transmission node is as
Figure 317548DEST_PATH_IMAGE006
Bandwidth of transmission path
Figure 102970DEST_PATH_IMAGE016
N is represented byCorresponding data interface if
Figure 182922DEST_PATH_IMAGE017
Then the transmission path bandwidth is as follows
Figure 677488DEST_PATH_IMAGE005
Transmit the data packet if
Figure 475680DEST_PATH_IMAGE018
The data packet is according to the bandwidth
Figure 566258DEST_PATH_IMAGE006
Transmitting while differentiating the bandwidth
Figure 766295DEST_PATH_IMAGE007
And distributing to other data interfaces according to the priority.
According to the embodiment of the invention, the method further comprises the following steps:
dividing the transmission path according to the number of transmission nodes to obtain a key transmission path and a general transmission path;
and sending the key transmission path and the general transmission path to a preset transmission path library for storage.
It should be noted that, when a source node initiates transmission of a data packet, the source node broadcasts transmission information of the data packet between network transmission nodes until the transmission information of the initiated data packet is transmitted to a destination node, where the transmission information of the data packet is recorded by each transmission node, a shortest transmission path is calculated and set as a key transmission path, the time delay of the key transmission path is small, and other transmission paths are general transmission paths, the data packet is transmitted according to the key transmission path, and the general transmission path is sent to a transmission path library for storage, and the general transmission path may be occupied due to transmission of other data packets, so that the general transmission path in the transmission path library is updated and replaced according to a preset time period.
According to the embodiment of the invention, the method further comprises the following steps:
acquiring transmission node interruption information in a transmission path;
and judging whether the transmission node has the substitute node information or not, if not, selecting the optimal transmission path in the common transmission paths to transmit the data packet.
It should be noted that, when a transmission node interruption occurs in a transmission path of a packet, it is considered preferentially whether a substitute node replaces the interrupted transmission node, and if not, an optimal transmission path is selected from a general transmission path in the transmission path library for transmission path replacement.
According to the embodiment of the invention, the method further comprises the following steps:
the unused transmission nodes are in a sleep standby state;
if the transmission node is interrupted and no alternative transmission path is substituted, activating the sleep state transmission node to transmit data;
and if the transmission path corresponding to the second priority data packet is busy, activating the sleep state transmission node to perform data transmission.
It should be noted that the unused transfer node is in a sleep state to save resources, the transfer node can respond to the data packet transmission information in the sleep state, and if there is no alternative transmission path substitution condition when the transfer node is interrupted or a transmission path busy condition corresponding to the second priority data packet occurs, the transfer node in the sleep state in the transmission path is confirmed and activated to perform data transmission.
According to the embodiment of the invention, the method further comprises the following steps:
judging whether other data packet transmission path information exists in a transmission node, if so, setting the transmission node as a load node;
and judging whether the number of load nodes in the data packet transmission route is greater than a first preset threshold value, if so, obtaining the information of the data packet transmission route to be replaced.
It should be noted that, if multiple transmission paths exist in a transmission node at the same time, the probability of mutual interference existing in data transmission between data interfaces of the transmission node is greater, and if the number of load nodes in the transmission path is greater than a first preset threshold, it is indicated that the probability of data transmission error of the transmission path is too great, and a transmission path of a data packet needs to be replaced, for example, 11 load nodes appear in the transmission path of the data packet, and the first preset threshold is 10, a general transmission path is preferentially selected from a transmission path library for replacement.
According to the embodiment of the invention, the method further comprises the following steps:
acquiring new transmission path information;
judging whether the new transmission path is superior to a working transmission path, if so, obtaining grade information of the new transmission path;
and replacing the new transmission path with the original data packet transmission path according to the corresponding grade.
It should be noted that after the transmission path of the data packet is determined, the server continuously searches for a new transmission path before the transmission of the data packet is completed, if the transmission path is not better than the transmission path in operation, the new transmission path is sent to the transmission path library for storage, and if the transmission path is better than the transmission path in operation, the new transmission path is replaced with the original transmission path of the data packet according to the corresponding grade, and the method for determining the transmission path better than the transmission path in operation includes: with greater bandwidth or shorter transmission paths, e.g.
Figure 290817DEST_PATH_IMAGE019
Wherein
Figure 186092DEST_PATH_IMAGE020
For the bandwidth value of the new transmission path,
Figure 719842DEST_PATH_IMAGE005
and D represents a bandwidth value of the corresponding transmission path, and D represents a bandwidth replacement threshold of the transmission path, and if the difference between the bandwidth value of the new transmission path and the bandwidth value of the corresponding transmission path is less than D, the transmission path is not replaced.
According to the embodiment of the invention, the method further comprises the following steps:
establishing intimate association between the bandwidth value and the transmission node;
and establishing a differential protection mechanism and a coexistence mechanism for the transmission nodes in the transmission path.
It should be noted that, a bandwidth value and a transmission node are connected in close proximity, the greater the bandwidth value, the greater the close proximity value, for example, the bandwidth value of the transmission path b is 5.5M, the bandwidth value of the transmission path c is 5M, meanwhile, the bandwidth value of the transmission node d passing through the transmission node d is 10M, the closeness of the transmission path b and the transmission node d is greater than that of the transmission path c, the transmission path b can transmit normally, the transmission path c obtains information of replacing the transmission node d, or the bandwidth value of the transmission path c is reduced, and data transmission is performed at a speed of the bandwidth value of 4.5M. When the transmission path c passes the transmission point d before the transmission path b, the transmission path c obtains a difference protection mechanism, judges whether the bandwidth difference between the transmission path c and the transmission path b is greater than or equal to the difference protection mechanism threshold, if the difference protection mechanism threshold is 1M, the bandwidth difference between the transmission path b and the transmission path c is less than the threshold, the transmission path c obtains the priority of the transmission node d, the transmission path b obtains the information of the replacement transmission node d, or the bandwidth value of the transmission path b is reduced to 5M, and the transmission node d is shared by the transmission path b, if the threshold value of the differential protection mechanism is 0.5M, the differential protection mechanism of the transmission path c is broken by the transmission path b, the transmission path b obtains the priority of the transmission node d, the transmission path c obtains the information of the replacement transmission node d, or reducing the bandwidth value of the transmission path c and using the transmission node d information together with the transmission path b.
Fig. 2 is a block diagram of a packet transmission path customization system according to the present invention.
As shown in fig. 2, a second aspect of the present invention provides a packet transmission path customizing system 2, which includes a memory 21 and a processor 22, wherein the memory stores a packet transmission path customizing method program, and the packet transmission path customizing method program implements the following steps when executed by the processor:
acquiring data packet transmission information;
classifying the data packets according to the bandwidth size to obtain the priority of the data packets;
obtaining a transmission path corresponding to the data packet according to the priority of the data packet;
and transmitting the data packet according to the corresponding transmission path and displaying the data packet at the terminal.
It should be noted that, the priority of the data packets is classified according to the bandwidth size, the larger the bandwidth is, the higher the priority level of the data packets is, the shorter the transmission path matched with the data packets is, and the lower the delay is, the bandwidth size is the bandwidth value that the data packets can actually reach, for example, the network bandwidth of user a is 8M, only one data packet a1 is sent, the network bandwidth of user b is 10M, two data packets are sent simultaneously, which are respectively a2 and a3, where the bandwidth that a2 divides is 7M, the bandwidth that a3 divides is 3M, if a1 and a2 need to pass through the transmission node a at the same time, the a1 data packet is preferentially transmitted under the condition that only one data packet transmission can be satisfied. The data packet transmission of the business unit or the institution unit is the highest priority, and the transmission time of the data packet is determined according to the bandwidth size and the data packet size.
According to the embodiment of the invention, the method further comprises the following steps:
acquiring n information of the number of data interfaces of a transmission node;
and associating the number n of the data interfaces of the transmission node with the transmission path of the data packet transmitted simultaneously.
It should be noted that the transmission node has a plurality of data interfaces, each data interface includes a data receiving and data sending device, so as to prevent a phenomenon that data in a data packet is mutually serialized between the plurality of data interfaces, for example, if the number of the data interfaces of the transmission node is 4, the transmission node can simultaneously provide for 4 transmission paths to transmit the data packet.
According to the embodiment of the invention, the method further comprises the following steps:
obtaining data packet sending bandwidth of source node
Figure 899019DEST_PATH_IMAGE001
Packet reception bandwidth with destination node
Figure 328864DEST_PATH_IMAGE002
Information;
transmitting bandwidth according to the data packet of the source node
Figure 977014DEST_PATH_IMAGE001
Packet reception bandwidth with destination node
Figure 48875DEST_PATH_IMAGE002
Information, get the minimum value
Figure 692346DEST_PATH_IMAGE003
Information;
the data packet is divided into the bandwidth value
Figure 447419DEST_PATH_IMAGE003
And carrying out data transmission.
It should be noted that the source node and the destination node are special transmission nodes, and the bandwidth of the transmission node is divided into n sub-bandwidths and coefficients of the sub-bandwidths
Figure 441920DEST_PATH_IMAGE008
Figure 192838DEST_PATH_IMAGE009
And is
Figure 956395DEST_PATH_IMAGE010
Wherein
Figure 118255DEST_PATH_IMAGE011
Figure 865631DEST_PATH_IMAGE012
And
Figure 154661DEST_PATH_IMAGE013
the initial sub-bandwidth coefficients that can be allocated to corresponding data interfaces are represented, if a data packet transmitted at the same time is greater than or equal to n, the sub-bandwidth of each data interface is allocated according to the initial sub-bandwidth coefficients, and if the data packet transmitted at the same time is less than n, the sub-bandwidth coefficients corresponding to the data interfaces that do not transmit data packets are enhanced to the highest priority data interface, for example, 4 data ports of one transmission node are provided, where the initial sub-bandwidth coefficients are (0.1, 0.2, 0.3, 0)And 4), if the number of the data packets needing to be transmitted is 5, the data packet with the lowest priority cannot be transmitted through the transmission node, only the transmission of the 4 data packets can be met simultaneously, the corresponding sub-bandwidth coefficients are matched according to the priority, the sub-bandwidth coefficient obtained by matching the higher priority is larger, if the number of the data packets transmitted simultaneously is 3, the spare data interface coefficient is strengthened to the data interface with the highest priority, the sub-bandwidth coefficients are (0.2, 0.3 and 0.5), the data packet transmission bandwidth is obtained through the sub-bandwidth coefficients and the maximum bandwidth value of the transmission node, if the maximum bandwidth values of the source node and the destination node are 10M, the source node B transmits 1 data packet, the destination node C receives 2 data packets simultaneously, and the data packet transmitted by the source node B has the priority, the data packet transmission bandwidth is obtained
Figure 772724DEST_PATH_IMAGE014
Figure 980851DEST_PATH_IMAGE015
And transmitting the data packet sent by the source node B according to the speed with the bandwidth of 7M.
According to the embodiment of the invention, the method further comprises the following steps:
obtaining available bandwidth for a transmitting node
Figure 841622DEST_PATH_IMAGE004
Information;
determining available bandwidth of the transmission node
Figure 934343DEST_PATH_IMAGE004
With corresponding transmission path bandwidth
Figure 672492DEST_PATH_IMAGE005
Whether the ratio of (a) is greater than or equal to 2, if not, obtaining the bandwidth value of the transmission path as
Figure 51521DEST_PATH_IMAGE006
Difference in bandwidth of the transmission path
Figure 632544DEST_PATH_IMAGE021
Sending the bandwidth value of the transmission path to a terminal for displaying, and sending the bandwidth difference value of the transmission path to the terminal for displaying
Figure 388010DEST_PATH_IMAGE021
And filling the data into other data packet transmission paths.
It should be noted that, since the transmitting node needs to receive and send out the data packet, if the available bandwidth of the transmitting node is equal to
Figure 121611DEST_PATH_IMAGE004
When the data packet transmission bandwidth of the transmission node is as
Figure 671541DEST_PATH_IMAGE006
Bandwidth of transmission path
Figure 990394DEST_PATH_IMAGE016
N denotes the corresponding data interface if
Figure 549551DEST_PATH_IMAGE017
Then the transmission path bandwidth is as follows
Figure 137659DEST_PATH_IMAGE005
Transmit the data packet if
Figure 858490DEST_PATH_IMAGE018
The data packet is according to the bandwidth
Figure 289471DEST_PATH_IMAGE006
Transmitting while differentiating the bandwidth
Figure 511374DEST_PATH_IMAGE021
And distributing to other data interfaces according to the priority.
According to the embodiment of the invention, the method further comprises the following steps:
dividing the transmission path according to the number of transmission nodes to obtain a key transmission path and a general transmission path;
and sending the key transmission path and the general transmission path to a preset transmission path library for storage.
It should be noted that, when a source node initiates transmission of a data packet, the source node broadcasts transmission information of the data packet between network transmission nodes until the transmission information of the initiated data packet is transmitted to a destination node, where the transmission information of the data packet is recorded by each transmission node, a shortest transmission path is calculated and set as a key transmission path, the time delay of the key transmission path is small, and other transmission paths are general transmission paths, the data packet is transmitted according to the key transmission path, and the general transmission path is sent to a transmission path library for storage, and the general transmission path may be occupied due to transmission of other data packets, so that the general transmission path in the transmission path library is updated and replaced according to a preset time period.
According to the embodiment of the invention, the method further comprises the following steps:
acquiring transmission node interruption information in a transmission path;
and judging whether the transmission node has the substitute node information or not, if not, selecting the optimal transmission path in the common transmission paths to transmit the data packet.
It should be noted that, when a transmission node interruption occurs in a transmission path of a packet, it is considered preferentially whether a substitute node replaces the interrupted transmission node, and if not, an optimal transmission path is selected from a general transmission path in the transmission path library for transmission path replacement.
According to the embodiment of the invention, the method further comprises the following steps:
the unused transmission node is in a sleep standby state;
if the transmission node is interrupted and no alternative transmission path is substituted, activating the sleep state transmission node to transmit data;
and if the transmission path corresponding to the second priority data packet is busy, activating the sleep state transmission node to perform data transmission.
It should be noted that the unused transfer node is in a sleep state to save resources, the transfer node can respond to the data packet transmission information in the sleep state, and if there is no alternative transmission path substitution condition when the transfer node is interrupted or a transmission path busy condition corresponding to the second priority data packet occurs, the transfer node in the sleep state in the transmission path is confirmed and activated to perform data transmission.
According to the embodiment of the invention, the method further comprises the following steps:
judging whether other data packet transmission path information exists in a transmission node, if so, setting the transmission node as a load node;
and judging whether the number of load nodes in the data packet transmission route is greater than a first preset threshold value, if so, obtaining the information of the data packet transmission route to be replaced.
It should be noted that, if multiple transmission paths exist in a transmission node at the same time, the probability of mutual interference existing in data transmission between data interfaces of the transmission node is greater, and if the number of load nodes in the transmission path is greater than a first preset threshold, it is indicated that the probability of data transmission error of the transmission path is too great, and a transmission path of a data packet needs to be replaced, for example, 11 load nodes appear in the transmission path of the data packet, and the first preset threshold is 10, a general transmission path is preferentially selected from a transmission path library for replacement.
According to the embodiment of the invention, the method further comprises the following steps:
acquiring new transmission path information;
judging whether the new transmission path is superior to the transmission path in work, if so, obtaining the grade information of the new transmission path;
and replacing the new transmission path with the original data packet transmission path according to the corresponding grade.
It should be noted that after the transmission path of the data packet is determined, the server continuously searches for a new transmission path before the transmission of the data packet is completed, and if the transmission path is not better than the transmission path in operation, the new transmission path is sent to the transmission path library for storage, and if the transmission path is better than the transmission path in operation, the new transmission path is replaced with the original transmission path of the data packet according to the corresponding gradeThe transmission path judgment method superior to the working method comprises the following steps: with greater bandwidth or shorter transmission paths, e.g.
Figure 16305DEST_PATH_IMAGE019
Wherein
Figure 534136DEST_PATH_IMAGE020
For the bandwidth value of the new transmission path,
Figure 186834DEST_PATH_IMAGE005
and D represents a bandwidth value of the corresponding transmission path, and D represents a bandwidth replacement threshold of the transmission path, and if the difference between the bandwidth value of the new transmission path and the bandwidth value of the corresponding transmission path is less than D, the transmission path is not replaced.
According to the embodiment of the invention, the method further comprises the following steps:
establishing intimate association between the bandwidth value and the transmission node;
and establishing a difference protection mechanism and a coexistence mechanism for the transmission nodes in the transmission path.
It should be noted that, a bandwidth value and a transmission node are connected in close proximity, the greater the bandwidth value, the greater the close proximity value, for example, the bandwidth value of the transmission path b is 5.5M, the bandwidth value of the transmission path c is 5M, meanwhile, the bandwidth value of the transmission node d passing through the transmission node d is 10M, the closeness of the transmission path b and the transmission node d is greater than that of the transmission path c, the transmission path b can transmit normally, the transmission path c obtains information of replacing the transmission node d, or the bandwidth value of the transmission path c is reduced, and data transmission is performed at a speed of the bandwidth value of 4.5M. When the transmission path c passes the transmission point d before the transmission path b, the transmission path c obtains a difference protection mechanism, judges whether the bandwidth difference between the transmission path c and the transmission path b is greater than or equal to the difference protection mechanism threshold, if the difference protection mechanism threshold is 1M, the bandwidth difference between the transmission path b and the transmission path c is less than the threshold, the transmission path c obtains the priority of the transmission node d, the transmission path b obtains the information of the replacement transmission node d, or the bandwidth value of the transmission path b is reduced to 5M, and the transmission node d is shared by the transmission path b, if the threshold value of the differential protection mechanism is 0.5M, the differential protection mechanism of the transmission path c is broken through by the transmission path b, the transmission path b obtains the priority of the transmission node d, the transmission path c obtains the information of the replacement transmission node d, or reducing the bandwidth value of the transmission path c and using the transmission node d information together with the transmission path b.
A third aspect of the present invention provides a computer-readable storage medium in which a packet transmission path customizing method program is stored, the packet transmission path customizing method program, when executed by a processor, implementing the steps of a packet transmission path customizing method as described in any one of the above.
The invention discloses a data packet transmission path customization method, a data packet transmission path customization system and a readable storage medium. In addition, the substitute transmission node and the general transmission path are collected, and when the transmission path of the data packet is interrupted, the substitute transmission node or the general transmission path is selected preferentially, so that the time for the data packet to be matched with the transmission path again is saved.
In the several embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. The above-described device embodiments are merely illustrative, for example, the division of the unit is only a logical functional division, and there may be other division ways in actual implementation, such as: multiple units or components may be combined, or may be integrated into another system, or some features may be omitted, or not implemented. In addition, the coupling, direct coupling or communication connection between the components shown or discussed may be through some interfaces, and the indirect coupling or communication connection between the devices or units may be electrical, mechanical or other forms.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units; can be located in one place or distributed on a plurality of network units; some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, all the functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may be separately regarded as one unit, or two or more units may be integrated into one unit; the integrated unit can be realized in a form of hardware, or in a form of hardware plus a software functional unit.
Those of ordinary skill in the art will understand that: all or part of the steps for realizing the method embodiments can be completed by hardware related to program instructions, the program can be stored in a computer readable storage medium, and the program executes the steps comprising the method embodiments when executed; and the aforementioned storage medium includes: a mobile storage device, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
Alternatively, the integrated unit of the present invention may be stored in a computer-readable storage medium if it is implemented in the form of a software functional module and sold or used as a separate product. Based on such understanding, the technical solutions of the embodiments of the present invention may be essentially implemented or a part contributing to the prior art may be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the methods described in the embodiments of the present invention. And the aforementioned storage medium includes: a removable storage device, a ROM, a RAM, a magnetic or optical disk, or various other media that can store program code.

Claims (9)

1. A method for customizing a packet transmission path, comprising:
acquiring data packet transmission information;
classifying the data packets according to the bandwidth size to obtain the priority of the data packets;
obtaining a transmission path corresponding to the data packet according to the priority of the data packet;
carrying out data transmission on the data packet according to the corresponding transmission path and displaying the data packet at the terminal; further comprising:
acquiring n information of the number of data interfaces of a transmission node;
and associating the number n of the data interfaces of the transmission nodes with the transmission paths of the data packets transmitted simultaneously.
2. The method for customizing a data packet transmission path according to claim 1, further comprising:
obtaining data packet sending bandwidth of source node
Figure 697805DEST_PATH_IMAGE001
Packet reception bandwidth with destination node
Figure 519130DEST_PATH_IMAGE002
Information;
transmitting bandwidth according to the data packet of the source node
Figure 727258DEST_PATH_IMAGE001
Packet reception bandwidth with destination node
Figure 758668DEST_PATH_IMAGE002
Information, get the minimum value
Figure 648126DEST_PATH_IMAGE003
Information;
the data packet is divided into the bandwidth value
Figure 464904DEST_PATH_IMAGE003
And carrying out data transmission.
3. The method for customizing a data packet transmission path according to claim 1, further comprising:
obtaining available bandwidth for a transmitting node
Figure 47195DEST_PATH_IMAGE004
Information;
determining available bandwidth of the transmission node
Figure 565901DEST_PATH_IMAGE004
With corresponding transmission path bandwidth
Figure 836214DEST_PATH_IMAGE005
Whether the ratio of (a) is greater than or equal to 2, if not, obtaining the bandwidth value of the transmission path as
Figure 366553DEST_PATH_IMAGE006
Difference in bandwidth of the transmission path
Figure 244379DEST_PATH_IMAGE007
Sending the bandwidth value of the transmission path to a terminal for displaying, and sending the bandwidth difference value of the transmission path to the terminal for displaying
Figure 125747DEST_PATH_IMAGE007
And filling the data into other data packet transmission paths.
4. The method for customizing a data packet transmission path according to claim 1, further comprising:
dividing the transmission path according to the number of transmission nodes to obtain a key transmission path and a general transmission path;
and sending the key transmission path and the general transmission path to a preset transmission path library for storage.
5. The method for customizing a data packet transmission path according to claim 4, further comprising:
acquiring transmission node interruption information in a transmission path;
and judging whether the transmission node has the substitute node information or not, if not, selecting the optimal transmission path in the common transmission paths to transmit the data packet.
6. A packet transmission path customizing system, comprising a memory and a processor, wherein the memory stores a packet transmission path customizing method program, and the processor executes the packet transmission path customizing method program to implement the steps of:
acquiring data packet transmission information;
classifying the data packets according to the bandwidth size to obtain the priority of the data packets;
obtaining a transmission path corresponding to the data packet according to the priority of the data packet;
carrying out data transmission on the data packet according to the corresponding transmission path and displaying the data packet at the terminal; further comprising:
acquiring the number n information of data interfaces of a transmission node;
and associating the number n of the data interfaces of the transmission node with the transmission path of the data packet transmitted simultaneously.
7. The system for customizing a transmission path of a data packet according to claim 6, further comprising:
obtaining data packet sending bandwidth of source node
Figure 419325DEST_PATH_IMAGE001
Packet reception bandwidth with destination node
Figure 945116DEST_PATH_IMAGE002
Information;
transmitting bandwidth according to the data packet of the source node
Figure 338051DEST_PATH_IMAGE001
Packet reception bandwidth with destination node
Figure 503453DEST_PATH_IMAGE002
Information, get the minimum value
Figure 663039DEST_PATH_IMAGE003
Information;
the data packet is divided into the bandwidth value
Figure 167969DEST_PATH_IMAGE003
And carrying out data transmission.
8. The system for customizing a transmission path of a data packet according to claim 6, further comprising:
obtaining available bandwidth for a transmitting node
Figure 371287DEST_PATH_IMAGE004
Information;
determining available bandwidth of the transmission node
Figure 227247DEST_PATH_IMAGE004
With corresponding transmission path bandwidth
Figure 862628DEST_PATH_IMAGE005
Whether the ratio of (a) is greater than or equal to 2, if not, obtaining the bandwidth value of the transmission path as
Figure 346699DEST_PATH_IMAGE006
Difference in bandwidth of the transmission path
Figure 347016DEST_PATH_IMAGE007
Sending the bandwidth value of the transmission path to a terminal for displaying, and sending the bandwidth difference of the transmission path to the terminalValue of
Figure 300059DEST_PATH_IMAGE007
And filling the data into other data packet transmission paths.
9. A computer-readable storage medium, in which a packet transmission path customizing method program is stored, and when the packet transmission path customizing method program is executed by a processor, the steps of a packet transmission path customizing method according to any one of claims 1 to 5 are implemented.
CN202210744952.9A 2022-06-29 2022-06-29 Data packet transmission path customization method, system and readable storage medium Active CN114827020B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210744952.9A CN114827020B (en) 2022-06-29 2022-06-29 Data packet transmission path customization method, system and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210744952.9A CN114827020B (en) 2022-06-29 2022-06-29 Data packet transmission path customization method, system and readable storage medium

Publications (2)

Publication Number Publication Date
CN114827020A true CN114827020A (en) 2022-07-29
CN114827020B CN114827020B (en) 2022-09-16

Family

ID=82522658

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210744952.9A Active CN114827020B (en) 2022-06-29 2022-06-29 Data packet transmission path customization method, system and readable storage medium

Country Status (1)

Country Link
CN (1) CN114827020B (en)

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101662414A (en) * 2008-08-30 2010-03-03 成都市华为赛门铁克科技有限公司 Method, system and device for processing data access
EP2456140A1 (en) * 2010-11-17 2012-05-23 Thomson Licensing Method and device for determining communication path(s) between items of communication equipment with multiple communication interfaces
CN103024825A (en) * 2011-09-26 2013-04-03 中国移动通信集团公司 Method and device of distributing network source among multiple applications of terminal
US9455927B1 (en) * 2012-10-25 2016-09-27 Sonus Networks, Inc. Methods and apparatus for bandwidth management in a telecommunications system
CN106453139A (en) * 2016-09-26 2017-02-22 东软集团股份有限公司 Method and device of data packet scheduling
CN109246082A (en) * 2018-08-09 2019-01-18 北京金山安全软件有限公司 Data transmission method and device, electronic equipment and storage medium
CN109309629A (en) * 2017-07-26 2019-02-05 腾讯科技(深圳)有限公司 Data transmission method, data transmission device and computer readable storage medium
CN110912735A (en) * 2019-11-13 2020-03-24 中国联合网络通信集团有限公司 Simulation method and device for data packet transmission network
CN111901247A (en) * 2020-07-15 2020-11-06 广东电网有限责任公司 Data transmission method and device

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101662414A (en) * 2008-08-30 2010-03-03 成都市华为赛门铁克科技有限公司 Method, system and device for processing data access
EP2456140A1 (en) * 2010-11-17 2012-05-23 Thomson Licensing Method and device for determining communication path(s) between items of communication equipment with multiple communication interfaces
CN103024825A (en) * 2011-09-26 2013-04-03 中国移动通信集团公司 Method and device of distributing network source among multiple applications of terminal
US9455927B1 (en) * 2012-10-25 2016-09-27 Sonus Networks, Inc. Methods and apparatus for bandwidth management in a telecommunications system
CN106453139A (en) * 2016-09-26 2017-02-22 东软集团股份有限公司 Method and device of data packet scheduling
CN109309629A (en) * 2017-07-26 2019-02-05 腾讯科技(深圳)有限公司 Data transmission method, data transmission device and computer readable storage medium
CN109246082A (en) * 2018-08-09 2019-01-18 北京金山安全软件有限公司 Data transmission method and device, electronic equipment and storage medium
CN110912735A (en) * 2019-11-13 2020-03-24 中国联合网络通信集团有限公司 Simulation method and device for data packet transmission network
CN111901247A (en) * 2020-07-15 2020-11-06 广东电网有限责任公司 Data transmission method and device

Also Published As

Publication number Publication date
CN114827020B (en) 2022-09-16

Similar Documents

Publication Publication Date Title
US5884043A (en) Conversion technique for routing frames in a source route bridge network
JP3974590B2 (en) System and method for path MTU discovery in ad hoc networks
CN111405684A (en) Method for connecting to network access device, terminal and computer readable storage medium
US20030229674A1 (en) Internet scaling in a PUB/SUB ENS
CN101491035A (en) Method and system for fault-tolerant quality of service
CN104125559B (en) The method, apparatus and system of a kind of data transfer
EP3637705A1 (en) Data flow processing method and device
CN1839591B (en) Method for discarding all segments corresponding to same packet in buffer
CN107005834A (en) The method and apparatus of data processing
US7561883B2 (en) System and method for management of the resources of a broadband mobile network having prolonged fixed accesses by wireless local area network access terminals
CN101141380B (en) Method and system of transmitting packet
CN101997772B (en) Flow control method, device, system and network equipment
CN106656807A (en) Message forwarding method and SDN switch
US6694369B1 (en) Tag echo discovery protocol to detect reachability of clients
CN114827020B (en) Data packet transmission path customization method, system and readable storage medium
CN101491134A (en) Methods and apparatus for transitioning between states
JP2022503762A (en) Cellular telecommunications network
WO2019165855A1 (en) Message transmission method and device
JP2007221522A (en) Polling device, terminal device, polling method and program
CN113259986B (en) Transmission method and network equipment
EP2966927B1 (en) Combined voice and data communications in a distributed hybrid allocation and reservation multiple access mobile wireless network
CN100477597C (en) Process for implementing strategy determination and resource reservation in WiMAX network
CN115996188A (en) Service scheduling method, device, equipment and computer readable storage medium
Aissa et al. Dynamic spectrum hole management in cognitive radio
CN110247808A (en) Method for sending information, device, equipment and readable storage medium storing program for executing

Legal Events

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