CN114500404A - Communication message transmission isolation method and device - Google Patents
Communication message transmission isolation method and device Download PDFInfo
- Publication number
- CN114500404A CN114500404A CN202210084856.6A CN202210084856A CN114500404A CN 114500404 A CN114500404 A CN 114500404A CN 202210084856 A CN202210084856 A CN 202210084856A CN 114500404 A CN114500404 A CN 114500404A
- Authority
- CN
- China
- Prior art keywords
- transmission
- channel
- communication
- priority
- message
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
- 230000005540 biological transmission Effects 0.000 title claims abstract description 200
- 238000004891 communication Methods 0.000 title claims abstract description 146
- 238000002955 isolation Methods 0.000 title claims abstract description 17
- 238000000034 method Methods 0.000 claims abstract description 31
- 230000002159 abnormal effect Effects 0.000 claims description 36
- 238000004590 computer program Methods 0.000 claims description 16
- 238000001514 detection method Methods 0.000 claims description 15
- 238000010276 construction Methods 0.000 claims description 7
- 238000004458 analytical method Methods 0.000 claims description 6
- 238000012216 screening Methods 0.000 claims description 4
- 238000010586 diagram Methods 0.000 description 13
- 230000006870 function Effects 0.000 description 9
- 238000012545 processing Methods 0.000 description 8
- 101150011375 Tab2 gene Proteins 0.000 description 7
- 101150100415 Tac3 gene Proteins 0.000 description 5
- 230000008569 process Effects 0.000 description 3
- 101150108167 TAC1 gene Proteins 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 2
- 230000008859 change Effects 0.000 description 2
- 230000000694 effects Effects 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 239000000463 material Substances 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 230000005856 abnormality Effects 0.000 description 1
- 230000001413 cellular effect Effects 0.000 description 1
- 238000012790 confirmation Methods 0.000 description 1
- 238000001914 filtration Methods 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 238000010295 mobile communication Methods 0.000 description 1
- 238000012544 monitoring process Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 230000000750 progressive effect Effects 0.000 description 1
- 239000007787 solid Substances 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L47/00—Traffic control in data switching networks
- H04L47/50—Queue scheduling
- H04L47/62—Queue scheduling characterised by scheduling criteria
- H04L47/6215—Individual queue per QOS, rate or priority
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L63/00—Network architectures or network communication protocols for network security
- H04L63/02—Network architectures or network communication protocols for network security for separating internal from external traffic, e.g. firewalls
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computer Hardware Design (AREA)
- Computer Security & Cryptography (AREA)
- Computing Systems (AREA)
- General Engineering & Computer Science (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The application provides a communication message transmission isolation method and a device, wherein the method comprises the following steps: acquiring communication links among nodes in a communication system, constructing a plurality of communication channels among adjacent nodes according to the communication links, and identifying channel priority for each communication channel; extracting the message type and the target node of the received message to be transmitted, and obtaining the corresponding message priority according to the message type; acquiring a communication path between a current node and a target node according to the target node, and acquiring a plurality of transmission channels between associated nodes and channel priorities of the transmission channels according to the communication path; matching the message priority with the channel priority to obtain a corresponding transmission path, and transmitting the message to be transmitted according to the transmission path.
Description
Technical Field
The present application relates to the field of data transmission, and in particular, to a method and an apparatus for isolating communication packet transmission.
Background
In the current technical environment, a message sending process passes through a plurality of nodes, for example, six communication nodes A, B, C, D, E, F are included in a communication system, wherein transmission channels are established between AB, BC, CD, DE and EF in pairs, and when any communication node receives a message to be transmitted, a message can be transmitted based on the transmission channel only by using a confirmation target node; however, with the technology changing day by day, the message transmission between the nodes becomes more frequent, so that the number is increased rapidly, and the communication pressure is higher; meanwhile, because the communication between the point and the point has only one channel, messages with various priorities are sent in a mixed mode, when the efficiency of a processing program of a message with a certain priority is reduced, the message with a high priority cannot be processed, and the stability and the transmission efficiency of a communication system are greatly influenced. Therefore, there is a need in the art for an efficient and stable message transmission scheme to effectively improve the stability and transmission efficiency of a communication system.
Disclosure of Invention
The present application aims to provide a method and an apparatus for isolating communication packet transmission, in which a plurality of transmission channels are constructed between nodes, and the transmission channels are used to complete transmission and isolation of communication packets, so as to improve the stability and transmission efficiency of a communication system.
To achieve the above object, the method for isolating communication packet transmission provided by the present application specifically includes: acquiring communication links among nodes in a communication system, constructing a plurality of communication channels among adjacent nodes according to the communication links, and identifying channel priority for each communication channel; extracting the message type and the target node of the received message to be transmitted, and obtaining the corresponding message priority according to the message type; acquiring a communication path between a current node and a target node according to the target node, and acquiring a plurality of transmission channels between associated nodes and channel priorities of the transmission channels according to the communication path; matching the message priority with the channel priority to obtain a corresponding transmission path, and transmitting the message to be transmitted according to the transmission path.
In the above method for isolating communication packet transmission, optionally, the method further includes: each node detects the communication state of a transmission channel between the current node and the adjacent node through a detection message according to a preset period; when any transmission channel is abnormal in communication, the abnormal information of the transmission channel is provided to the adjacent node.
In the above communication packet transmission isolation method, optionally, matching the packet priority with the channel priority to obtain a corresponding transmission path further includes: detecting a communication state of one or more transmission channels included in the transmission path; when any one transmission channel in the transmission path is abnormal in communication, the communication states and the corresponding channel priorities of other transmission channels between the current node and the target node are obtained; and adjusting the transmission path through a preset strategy according to the communication state and the channel priority of each transmission channel.
In the above method for isolating communication packet transmission, optionally, the method further includes: and when all transmission channels with the channel priority equal to or lower than the message priority in the transmission path are abnormal, the messages to be transmitted are sent to a plurality of transmission paths between the current node and the target node in the transmission path in a balanced manner.
In the above communication packet transmission isolation method, optionally, the obtaining of the corresponding transmission path through a preset policy screening according to the communication state and the channel priority of each transmission channel includes: and comparing the message priority with the channel priority of each transmission channel, and replacing the transmission channel with abnormal communication in the transmission path by the transmission channel with the highest channel priority when one or more channel priorities are lower than the message priority.
In the above communication packet transmission isolation method, optionally, the obtaining of the corresponding transmission path through a preset policy screening according to the communication state and the channel priority of each transmission channel includes: and comparing the message priority with the channel priority of each transmission channel, and replacing the transmission channel with abnormal communication in the transmission path by the transmission channel with the lowest channel priority when the channel priorities are higher than the message priority.
The application also provides a communication message transmission isolation device, which comprises a construction module, an analysis module, a matching module and a sending module; the construction module is used for acquiring communication links among nodes in a communication system, constructing a plurality of communication channels among adjacent nodes according to the communication links and identifying the priority of the channels for each communication channel; the analysis module is used for extracting the message type and the target node of the received message to be transmitted and obtaining the corresponding message priority according to the message type; the matching module is used for acquiring a communication path between a current node and a target node according to the target node and acquiring a plurality of transmission channels between associated nodes and channel priorities of the transmission channels according to the communication path; the sending module is used for matching the message priority with the channel priority to obtain a corresponding transmission path, and transmitting the message to be transmitted according to the transmission path.
In the communication packet transmission isolation device, optionally, the device further includes a detection module, where the detection module is disposed at each node, and is configured to detect, according to a preset period, a communication state of a transmission channel between a current node and an adjacent node through a detection packet; when any transmission channel is abnormal in communication, the abnormal information of the transmission channel is provided to the adjacent node.
In the communication packet transmission isolation apparatus, optionally, the sending module further includes an adjusting unit, where the adjusting unit is configured to detect a communication state of one or more transmission channels included in the transmission path; when any one transmission channel in the transmission path is abnormal in communication, the communication states and the corresponding channel priorities of other transmission channels between the current node and the target node are obtained; and adjusting the transmission path through a preset strategy according to the communication state and the channel priority of each transmission channel.
In the communication packet transmission isolation device, optionally, the device further includes a balancing module, connected to the detection module, and configured to, when all transmission channels in the transmission path whose channel priority is equal to or lower than the packet priority are abnormal, send the packet to be transmitted to multiple transmission paths between a current node and a target node in the transmission path in a balanced manner through the sending module.
The application also provides an electronic device, which comprises a memory, a processor and a computer program stored on the memory and capable of running on the processor, wherein the processor executes the computer program to realize the method.
The present application also provides a computer-readable storage medium storing a computer program for executing the above method.
The beneficial technical effect of this application lies in: creating a plurality of channels between two nodes, wherein each channel maintains different priorities, transmitting through a matched channel preferentially when a message is forwarded, and if the matched channel (such as interruption caused by other problems such as a network) does not exist, transmitting by using other priority channels; meanwhile, when the message is forwarded, no matter how many paths exist from the current node to the target node, the high-priority channel is preferentially used on the premise that the high-priority channel is not influenced as much as possible, so that the real-time performance of the high-priority channel is ensured; thereby improving the stability and transmission efficiency of the communication system.
In order to make the aforementioned and other objects, features and advantages of the present application more comprehensible, preferred embodiments accompanied with figures are described in detail below.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present application, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a schematic flow chart illustrating a communication packet transmission isolation method according to an embodiment of the present application;
fig. 2A is a schematic diagram illustrating an adjustment process of a transmission path according to an embodiment of the present application;
fig. 2B is a schematic diagram of a transmission principle provided in an embodiment of the present application;
fig. 3 is a schematic diagram illustrating a communication packet transmission isolation apparatus according to an embodiment of the present application;
fig. 4 is a schematic diagram illustrating an application logic of a communication packet transmission isolation device according to an embodiment of the present application;
fig. 5 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
Specific embodiments of the present application are disclosed in detail with reference to the following description and drawings, indicating the manner in which the principles of the application may be employed. It should be understood that the embodiments of the present application are not so limited in scope. The embodiments of the application include many variations, modifications and equivalents within the spirit and scope of the appended claims.
Features that are described and/or illustrated with respect to one embodiment may be used in the same way or in a similar way in one or more other embodiments, in combination with or instead of the features of the other embodiments.
It should be emphasized that the term "comprises/comprising" when used herein, is taken to specify the presence of stated features, integers, steps or components but does not preclude the presence or addition of one or more other features, integers, steps or components.
Referring to fig. 1, a method for isolating communication packet transmission provided by the present application specifically includes:
s101, acquiring communication links among nodes in a communication system, constructing a plurality of communication channels among adjacent nodes according to the communication links, and identifying channel priority of each communication channel;
s102, extracting the message type and the target node of the received message to be transmitted, and obtaining the corresponding message priority according to the message type;
s103, acquiring a communication path between a current node and a target node according to the target node, and acquiring a plurality of transmission channels between associated nodes and channel priorities of the transmission channels according to the communication path;
s104, matching the message priority with the channel priority to obtain a corresponding transmission path, and transmitting the message to be transmitted according to the transmission path.
Step S101 may be implemented by using an existing channel construction method in actual work, for example, it is determined that a communication system includes A, B, C, D four nodes, and a communication link between the nodes is a and B, C, and B, C is connected to D, then a plurality of communication channels are respectively constructed between AB, AC, BD, and CD, for example, Tab1, Tab2, and Tab3 … … Tabn may be constructed between AB, and the channel priorities corresponding to the communication channels are 1, 2, and 3 … … n; with 1 as the highest priority, the message is transmitted from Tab3 when the message is transmitted with priority 3; as for the message priority, the following method can be used for defining: the lowest level of the monitoring message is 5, the level of the automatic operation execution message is 4, the level of the software deployment message is 3, the level of the configuration comparison message is 2, and the level of the emergency switching message is 1; of course, in actual work, a corresponding priority setting scheme can be selected according to actual needs, and the application is not limited herein; therefore, different communication channels transmit transmission messages with different priorities, so that communication message isolation is realized, and the situations of high-priority message waiting and the like caused by message mixing are solved.
In an embodiment of the present application, the method may further include: each node detects the communication state of a transmission channel between the current node and the adjacent node through a detection message according to a preset period; when any transmission channel is abnormal in communication, the abnormal information of the transmission channel is provided to the adjacent node. Specifically, in actual application, in order to avoid the situation that a message cannot be effectively transmitted due to a communication channel failure, each node further identifies the transmission state of each communication channel according to a preset period by using a communication state identification method such as a detection message and notifies each node, so that each node can timely adjust a message transmission strategy.
Referring to fig. 2A, in an embodiment of the present application, matching the priority of the packet with the priority of the channel to obtain a corresponding transmission path further includes:
s201, detecting the communication state of one or more transmission channels contained in the transmission path;
s202, when any one transmission channel in the transmission path is abnormal in communication, the communication states and corresponding channel priorities of other transmission channels between the current node and the target node are obtained;
s203, the transmission path is adjusted through a preset strategy according to the communication state and the channel priority of each transmission channel.
In the above embodiment, obtaining the corresponding transmission path through the preset policy filtering according to the communication state and the channel priority of each transmission channel may include: and comparing the message priority with the channel priority of each transmission channel, and replacing the transmission channel with abnormal communication in the transmission path by the transmission channel with the highest channel priority when one or more channel priorities are lower than the message priority. Or comparing the message priority with the channel priority of each transmission channel, and replacing the transmission channel with the lowest channel priority for the transmission channel with abnormal communication in the transmission path when the channel priorities are higher than the message priority. Specifically, in actual operation, when a Tn channel fails in a transmission path, a channel with a normal state that uses Tmax (m, m > n) is preferentially used for transmission, that is, the smallest m of all m with a priority number greater than n is selected; if the channel does not exist, the channel with Tmin (m, m < n) is used for transmitting, namely, all Tm with the priority lower than Tn are selected, and the priority is the highest; where T0 has the highest priority, the larger the number, the lower the priority. For example, the determined transmission paths of the message to be transmitted, which is transmitted from the node a to the node D and has the priority of 3, are Tab3 and Tbd3, where Tab3 and Tbd3 are both channels having the priority of 3, and at this time, when Tab3 fails and a transmission channel, Tab4, exists between a and B, then Tab4 may be selected as the transmission channel to transmit, and if only 3 channels are established between a and B: tab1, Tab2 and Tab3, in which case Tab2 can be selected as the transmission channel for transmission.
In view of the fact that in actual work, the communication state is not fixed, and the condition that all transmission channels corresponding to the channel priorities of a certain node are abnormal exists; at this time, in an embodiment of the present application, the method may further include: and when all transmission channels with the channel priority equal to or lower than the message priority in the transmission path are abnormal, the messages to be transmitted are sent to a plurality of transmission paths between the current node and the target node in the transmission path in a balanced manner. Specifically, when node a is connected to node B, C and node B, C is connected to node D, path ABD and path ACD are different paths, and the path selection policy of a is actually selected according to the priority of the path; the channel selection mode of the packet sent by the node a to the node D may be as follows: for convenience of description, please refer to fig. 2B, assuming that the priority is only 1-3 at present, 3 channels are configured between AB, AC, BD, and CD, which may be named Tab1, Tab2, and Tab3, similarly to the foregoing, Tab1 has a priority 1 greater than Tab2, Tab2 has a priority 2 greater than Tab3, and so on; when the channel is normal, the message A sent to the message D is sent through the corresponding channels B and C in a balanced manner; when the Tbd2 is abnormal, the node B will notify the node a of the abnormal information, and because the Tbd3 is still normal, the transmission policy for the node a will not change, at this time, because the message with the priority level 2 is transmitted to the node B, the transmission of the message with the priority level 1 will not be affected, and only the message with the priority level 3 will be affected, so the transmission policy for the node a will not change; when the Tbd3 is abnormal, the node a sends all the messages with the priority of 3 through the Tac3, and at this time, the node B will not receive the 3-level messages from the node a, even though the Tab3 is still normal (communication is maintained, the detection messages can be sent and received), if the messages with the priority of 3 are sent to the node B, the messages with the priority of 2 will be affected, so the node a will not continue to send the 3-level messages to the node B through the Tab3, but send the 3-level messages to the node B; when Tbd2 and Tbd3 are abnormal at the same time, node a will send all messages with priority 2 and 3 through Tac2 and Tac3, at this time node B will not receive messages with priority 2 and 3 from node a, even if Tab2 and Tab3 are still normal, if continue to send, messages with priority 1 will be affected; at this time, if the Tcd2 or Tcd3 is also abnormal, the node a still maintains the policy, only one of the two channels Tcd2 and Tcd3 is abnormal, that is, the messages with the priority levels of 2 and 3 are sent to the message with the priority level of 1, which is not affected by the sending of the message with the priority level of 2 and 3, so the policy a maintains that the messages with the priority levels of 2 and 3 are all sent through Tac2 and Tac3, but when the abnormality occurs simultaneously in Tcd2 and Tcd3, the node a changes to send all the messages to the node B and the node C in a balanced manner, at this time, only the path with the priority level of 1 from a to D is still clear, and no path with other priority levels exists, so the messages of each level are sent in a balanced manner. That is, no matter how many paths exist from the current node to the target node when the packet is forwarded, the policy does not affect the high-priority channel as much as possible, preferentially uses the channel with the relatively low priority as much as possible, and ensures the real-time performance of the high-priority channel.
Referring to fig. 3, the present application further provides a communication packet transmission isolation apparatus, which includes a construction module, an analysis module, a matching module, and a sending module; the construction module is used for acquiring communication links among nodes in a communication system, constructing a plurality of communication channels among adjacent nodes according to the communication links and identifying the priority of the channels for each communication channel; the analysis module is used for extracting the message type and the target node of the received message to be transmitted and obtaining the corresponding message priority according to the message type; the matching module is used for acquiring a communication path between the current node and the target node according to the target node and acquiring a plurality of transmission channels between the associated nodes and channel priorities of the transmission channels according to the communication path; the sending module is used for matching the message priority with the channel priority to obtain a corresponding transmission path, and transmitting the message to be transmitted according to the transmission path.
Referring to fig. 4, in the above embodiment, the apparatus may further include a detection module and a balancing module, where the detection module is disposed at each node and is configured to detect, according to a preset period, a communication state of a transmission channel between a current node and an adjacent node through a detection packet; when any transmission channel is abnormal in communication, the abnormal information of the transmission channel is provided to the adjacent node. The balancing module is connected with the detection module and is used for sending the messages to be transmitted to a plurality of transmission paths between the current node and the target node in the transmission paths in a balanced manner through the sending module when all the transmission paths with the channel priorities equal to or lower than the message priorities in the transmission paths are abnormal. Further, in an embodiment of the present application, the sending module further includes an adjusting unit, where the adjusting unit is configured to detect a communication state of one or more transmission channels included in the transmission path; when any one transmission channel in the transmission path is abnormal in communication, the communication states and the corresponding channel priorities of other transmission channels between the current node and the target node are obtained; and adjusting the transmission path through a preset strategy according to the communication state and the channel priority of each transmission channel. The specific implementation logic of each module has been described in detail in the foregoing embodiments, and is not described in detail herein.
The beneficial technical effect of this application lies in: creating a plurality of channels between two nodes, wherein each channel maintains different priorities, the channels are preferentially transmitted through matched channels when the message is forwarded, and if the matched channels (such as interruption caused by other problems such as network and the like) do not exist, the channels with other priorities are used for sending; meanwhile, when the message is forwarded, no matter how many paths exist from the current node to the target node, the high-priority channel is preferentially used on the premise that the high-priority channel is not influenced as much as possible, so that the real-time performance of the high-priority channel is ensured; thereby improving the stability and transmission efficiency of the communication system.
The application also provides an electronic device, which comprises a memory, a processor and a computer program stored on the memory and capable of running on the processor, wherein the processor executes the computer program to realize the method.
The present application also provides a computer-readable storage medium storing a computer program for executing the above method.
As shown in fig. 5, the electronic device 600 may further include: communication module 110, input unit 120, audio processing unit 130, display 160, power supply 170. It is noted that the electronic device 600 does not necessarily include all of the components shown in fig. 5; furthermore, the electronic device 600 may also comprise components not shown in fig. 5, which may be referred to in the prior art.
As shown in fig. 5, the central processor 100, sometimes referred to as a controller or operational control, may include a microprocessor or other processor device and/or logic device, the central processor 100 receiving input and controlling the operation of the various components of the electronic device 600.
The memory 140 may be, for example, one or more of a buffer, a flash memory, a hard drive, a removable media, a volatile memory, a non-volatile memory, or other suitable device. The information relating to the failure may be stored, and a program for executing the information may be stored. And the central processing unit 100 may execute the program stored in the memory 140 to realize information storage or processing, etc.
The input unit 120 provides input to the cpu 100. The input unit 120 is, for example, a key or a touch input device. The power supply 170 is used to provide power to the electronic device 600. The display 160 is used to display an object to be displayed, such as an image or a character. The display may be, for example, an LCD display, but is not limited thereto.
The memory 140 may be a solid state memory such as Read Only Memory (ROM), Random Access Memory (RAM), a SIM card, or the like. There may also be a memory that holds information even when power is off, can be selectively erased, and is provided with more data, an example of which is sometimes called an EPROM or the like. The memory 140 may also be some other type of device. Memory 140 includes buffer memory 141 (sometimes referred to as a buffer). The memory 140 may include an application/function storage section 142, and the application/function storage section 142 is used to store application programs and function programs or a flow for executing the operation of the electronic device 600 by the central processing unit 100.
The memory 140 may also include a data store 143, the data store 143 for storing data, such as contacts, digital data, pictures, sounds, and/or any other data used by the electronic device. The driver storage portion 144 of the memory 140 may include various drivers of the electronic device for communication functions and/or for performing other functions of the electronic device (e.g., messaging application, address book application, etc.).
The communication module 110 is a transmitter/receiver 110 that transmits and receives signals via an antenna 111. The communication module (transmitter/receiver) 110 is coupled to the central processor 100 to provide an input signal and receive an output signal, which may be the same as in the case of a conventional mobile communication terminal.
Based on different communication technologies, a plurality of communication modules 110, such as a cellular network module, a bluetooth module, and/or a wireless local area network module, may be provided in the same electronic device.
As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
It should be noted that, in this specification, each embodiment is described in a progressive manner, and the same and similar parts between the embodiments are referred to each other, and each embodiment focuses on differences from other embodiments. Reference throughout this specification to the description of the term "one embodiment," "some embodiments," "an example," "a specific example," or "some examples," or the like, means that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of an embodiment of the specification. In this specification, the schematic representations of the terms used above are not necessarily intended to refer to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples. Furthermore, various embodiments or examples and features of different embodiments or examples described in this specification can be combined and combined by one skilled in the art without contradiction.
The above-mentioned embodiments are further described in detail for the purpose of illustrating the invention, and it should be understood that the above-mentioned embodiments are only illustrative of the present invention and are not intended to limit the scope of the present invention, and any modifications, equivalent substitutions, improvements, etc. made within the spirit and principle of the present invention should be included in the scope of the present invention.
Claims (12)
1. A method for isolating communication packet transmissions, the method comprising:
acquiring communication links among nodes in a communication system, constructing a plurality of communication channels among adjacent nodes according to the communication links, and identifying channel priority for each communication channel;
extracting the message type and the target node of the received message to be transmitted, and obtaining the corresponding message priority according to the message type;
acquiring a communication path between a current node and a target node according to the target node, and acquiring a plurality of transmission channels between associated nodes and channel priorities of the transmission channels according to the communication path;
matching the message priority with the channel priority to obtain a corresponding transmission path, and transmitting the message to be transmitted according to the transmission path.
2. The method of claim 1, further comprising:
each node detects the communication state of a transmission channel between the current node and the adjacent node through a detection message according to a preset period;
when any transmission channel is abnormal in communication, the abnormal information of the transmission channel is provided to the adjacent node.
3. The method of claim 2, wherein matching the message priority with the channel priority to obtain a corresponding transmission path further comprises:
detecting a communication state of one or more transmission channels included in the transmission path;
when any one transmission channel in the transmission path is abnormal in communication, the communication states and the corresponding channel priorities of other transmission channels between the current node and the target node are obtained;
and adjusting the transmission path through a preset strategy according to the communication state and the channel priority of each transmission channel.
4. The method of claim 3, further comprising:
and when all transmission channels with the channel priority equal to or lower than the message priority in the transmission path are abnormal, the messages to be transmitted are sent to a plurality of transmission paths between the current node and the target node in the transmission path in a balanced manner.
5. The method of claim 3, wherein the obtaining of the corresponding transmission path through a preset policy screening according to the communication status and the channel priority of each transmission channel comprises:
and comparing the message priority with the channel priority of each transmission channel, and replacing the transmission channel with abnormal communication in the transmission path by the transmission channel with the highest channel priority when one or more channel priorities are lower than the message priority.
6. The method of claim 3, wherein the obtaining the corresponding transmission paths through a preset policy screening according to the communication status and the channel priority of each transmission channel comprises:
and comparing the message priority with the channel priority of each transmission channel, and replacing the transmission channel with abnormal communication in the transmission path by the transmission channel with the lowest channel priority when the channel priorities are higher than the message priority.
7. A communication message transmission isolation device is characterized by comprising a construction module, an analysis module, a matching module and a sending module;
the construction module is used for acquiring communication links among nodes in a communication system, constructing a plurality of communication channels among adjacent nodes according to the communication links and identifying the priority of the channels for each communication channel;
the analysis module is used for extracting the message type and the target node of the received message to be transmitted and obtaining the corresponding message priority according to the message type;
the matching module is used for acquiring a communication path between the current node and the target node according to the target node and acquiring a plurality of transmission channels between the associated nodes and channel priorities of the transmission channels according to the communication path;
the sending module is used for matching the message priority with the channel priority to obtain a corresponding transmission path, and transmitting the message to be transmitted according to the transmission path.
8. The apparatus according to claim 7, further comprising a detection module, disposed at each node, for detecting a communication state of a transmission channel between the current node and the neighboring node through the detection packet according to a preset period; when any transmission channel is abnormal in communication, the abnormal information of the transmission channel is provided to the adjacent node.
9. The apparatus according to claim 8, wherein the sending module further comprises an adjusting unit, and the adjusting unit is configured to detect a communication status of one or more transmission channels included in the transmission path; when any one transmission channel in the transmission path is abnormal in communication, the communication states and the corresponding channel priorities of other transmission channels between the current node and the target node are obtained; and adjusting the transmission path through a preset strategy according to the communication state and the channel priority of each transmission channel.
10. The apparatus according to claim 9, further comprising a balancing module, connected to the detecting module, for sending the packets to be transmitted to the plurality of transmission paths between the current node and the target node in the transmission paths in a balanced manner through the sending module when all transmission paths in the transmission paths have the channel priorities equal to or lower than the packet priorities.
11. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor implements the method of any of claims 1 to 6 when executing the computer program.
12. A computer-readable storage medium, characterized in that the computer-readable storage medium stores a computer program for executing the method of any one of claims 1 to 6 by a computer.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210084856.6A CN114500404B (en) | 2022-01-25 | 2022-01-25 | Communication message transmission isolation method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210084856.6A CN114500404B (en) | 2022-01-25 | 2022-01-25 | Communication message transmission isolation method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN114500404A true CN114500404A (en) | 2022-05-13 |
CN114500404B CN114500404B (en) | 2024-02-20 |
Family
ID=81474603
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202210084856.6A Active CN114500404B (en) | 2022-01-25 | 2022-01-25 | Communication message transmission isolation method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN114500404B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2024060904A1 (en) * | 2022-09-20 | 2024-03-28 | 华为数字能源技术有限公司 | Communication method, and inverter and sub-array controller |
Citations (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101141380A (en) * | 2006-09-07 | 2008-03-12 | 华为技术有限公司 | Method and system of transmitting packet |
CN101150496A (en) * | 2006-09-22 | 2008-03-26 | 中兴通讯股份有限公司 | Method for improving important information network transmission quality |
CN101217543A (en) * | 2008-01-21 | 2008-07-09 | 中兴通讯股份有限公司 | A method of communications in sequence according to PRI in multi physical channels of the cluster |
CN104199638A (en) * | 2014-09-04 | 2014-12-10 | 浪潮集团有限公司 | Method for improving operating efficiency of parallel architecture |
CN104426855A (en) * | 2013-08-23 | 2015-03-18 | 华为技术有限公司 | Traffic switching method, equipment and system |
CN106160800A (en) * | 2016-06-22 | 2016-11-23 | 邦彦技术股份有限公司 | Data transmission method and device |
CN106685828A (en) * | 2016-12-19 | 2017-05-17 | 武汉船舶通信研究所 | Message transmitting method and apparatus |
CN107623638A (en) * | 2016-07-15 | 2018-01-23 | 中国电信股份有限公司 | The fault handling method and device of load-balancing paths |
US10708189B1 (en) * | 2016-12-09 | 2020-07-07 | Barefoot Networks, Inc. | Priority-based flow control |
US20200267761A1 (en) * | 2019-02-14 | 2020-08-20 | Lg Electronics Inc. | Method and apparatus for channel access priority classes based on message type in a wireless communication system |
CN112333093A (en) * | 2020-11-23 | 2021-02-05 | 迈普通信技术股份有限公司 | Policy routing path determining method and device, network equipment and readable storage medium |
CN112422430A (en) * | 2020-11-27 | 2021-02-26 | 迈普通信技术股份有限公司 | QoS queue scheduling method and device, electronic equipment and storage medium |
CN112600878A (en) * | 2020-11-30 | 2021-04-02 | 新华三大数据技术有限公司 | Data transmission method and device |
-
2022
- 2022-01-25 CN CN202210084856.6A patent/CN114500404B/en active Active
Patent Citations (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101141380A (en) * | 2006-09-07 | 2008-03-12 | 华为技术有限公司 | Method and system of transmitting packet |
CN101150496A (en) * | 2006-09-22 | 2008-03-26 | 中兴通讯股份有限公司 | Method for improving important information network transmission quality |
CN101217543A (en) * | 2008-01-21 | 2008-07-09 | 中兴通讯股份有限公司 | A method of communications in sequence according to PRI in multi physical channels of the cluster |
CN104426855A (en) * | 2013-08-23 | 2015-03-18 | 华为技术有限公司 | Traffic switching method, equipment and system |
CN104199638A (en) * | 2014-09-04 | 2014-12-10 | 浪潮集团有限公司 | Method for improving operating efficiency of parallel architecture |
CN106160800A (en) * | 2016-06-22 | 2016-11-23 | 邦彦技术股份有限公司 | Data transmission method and device |
CN107623638A (en) * | 2016-07-15 | 2018-01-23 | 中国电信股份有限公司 | The fault handling method and device of load-balancing paths |
US10708189B1 (en) * | 2016-12-09 | 2020-07-07 | Barefoot Networks, Inc. | Priority-based flow control |
CN106685828A (en) * | 2016-12-19 | 2017-05-17 | 武汉船舶通信研究所 | Message transmitting method and apparatus |
US20200267761A1 (en) * | 2019-02-14 | 2020-08-20 | Lg Electronics Inc. | Method and apparatus for channel access priority classes based on message type in a wireless communication system |
CN112333093A (en) * | 2020-11-23 | 2021-02-05 | 迈普通信技术股份有限公司 | Policy routing path determining method and device, network equipment and readable storage medium |
CN112422430A (en) * | 2020-11-27 | 2021-02-26 | 迈普通信技术股份有限公司 | QoS queue scheduling method and device, electronic equipment and storage medium |
CN112600878A (en) * | 2020-11-30 | 2021-04-02 | 新华三大数据技术有限公司 | Data transmission method and device |
Non-Patent Citations (1)
Title |
---|
卞东亮;张红梅;彭沙沙;赵玉亭;: "一种基于多信道统计的Ad Hoc网络MAC层协议", 《空军工程大学学报》, no. 01 * |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2024060904A1 (en) * | 2022-09-20 | 2024-03-28 | 华为数字能源技术有限公司 | Communication method, and inverter and sub-array controller |
Also Published As
Publication number | Publication date |
---|---|
CN114500404B (en) | 2024-02-20 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN111539726B (en) | Block chain consensus system and method | |
CN111372272B (en) | Abnormality recovery method and device for wireless bridging network | |
CN101753244B (en) | Method and system for transporting service in RRU loop network | |
JP5486131B2 (en) | Method and apparatus for data transmission with variable bit length | |
CN110944311B (en) | Method for distributing time slot of wireless earphone and wireless earphone adopting same | |
CN114500404A (en) | Communication message transmission isolation method and device | |
JP4573582B2 (en) | System and method for providing event hysteresis within a network management system | |
KR101625564B1 (en) | Methods and apparatuses for selectively resetting and transferring a wireless communication channel | |
CN102970172B (en) | A kind of method that communication link switches, equipment and communication system | |
CN112968811A (en) | PFC exception handling method and device for RDMA network | |
CN112134763A (en) | Method, system, equipment and medium for transmitting layered messages among cluster nodes | |
CN101478484A (en) | Method, equipment and communication system for route selection | |
CN107948000B (en) | Method, device and system for switching main channel and standby channel | |
CN112312555B (en) | Terminal capability processing method, device and equipment | |
CN102271049B (en) | Method, device and system for setting state of communication equipment | |
JP2001136172A (en) | Communication control method in communication network system and communication network system, and recording medium with communication control processing program recorded thereon | |
CN111918317B (en) | AP control method and device, wireless controller and storage medium | |
CN101908969B (en) | Optimization method, maintenance node and network system of end-to-end restoration path | |
CN113194425B (en) | LoRa communication method, system and computer readable storage medium | |
EP4167532A1 (en) | Path determination method, apparatus and device, and storage medium | |
US20230155931A1 (en) | Method and apparatus for switching length of bidirectional forwarding detection packet and storage medium | |
US20230137088A1 (en) | Inter-cell proactive co-ordination in telecommunication systems | |
CN110830308B (en) | Method for switching communication link and receiving end | |
WO2016201826A1 (en) | Method, device, and system for achieving primary cell portion (cp) migration in cell | |
JP2007325229A (en) | Load control system and load control method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |