CN118317009A - Message transmission method and device, storage medium and electronic device - Google Patents
Message transmission method and device, storage medium and electronic device Download PDFInfo
- Publication number
- CN118317009A CN118317009A CN202410429501.5A CN202410429501A CN118317009A CN 118317009 A CN118317009 A CN 118317009A CN 202410429501 A CN202410429501 A CN 202410429501A CN 118317009 A CN118317009 A CN 118317009A
- Authority
- CN
- China
- Prior art keywords
- target
- message
- field
- segment
- telemetry
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 230000005540 biological transmission Effects 0.000 title claims abstract description 160
- 238000000034 method Methods 0.000 title claims abstract description 54
- 238000005259 measurement Methods 0.000 claims description 15
- 238000012545 processing Methods 0.000 claims description 13
- 238000004590 computer program Methods 0.000 claims description 12
- 238000001514 detection method Methods 0.000 claims description 4
- 238000005516 engineering process Methods 0.000 abstract description 8
- 238000010586 diagram Methods 0.000 description 20
- 230000008569 process Effects 0.000 description 8
- 238000004891 communication Methods 0.000 description 7
- 238000004458 analytical method Methods 0.000 description 6
- 230000006870 function Effects 0.000 description 6
- 238000003672 processing method Methods 0.000 description 4
- 238000004808 supercritical fluid chromatography Methods 0.000 description 4
- 239000008186 active pharmaceutical agent Substances 0.000 description 3
- 230000000694 effects Effects 0.000 description 3
- 238000005538 encapsulation Methods 0.000 description 3
- 238000012544 monitoring process Methods 0.000 description 3
- 235000008694 Humulus lupulus Nutrition 0.000 description 2
- 230000003287 optical effect Effects 0.000 description 2
- 230000009467 reduction Effects 0.000 description 2
- 230000006978 adaptation Effects 0.000 description 1
- 238000003745 diagnosis Methods 0.000 description 1
- 238000011835 investigation Methods 0.000 description 1
- 238000000691 measurement method Methods 0.000 description 1
- 238000010295 mobile communication Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000006855 networking Effects 0.000 description 1
- 238000005457 optimization Methods 0.000 description 1
- 230000004044 response Effects 0.000 description 1
- 238000012546 transfer Methods 0.000 description 1
Landscapes
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The application discloses a message transmission method and device, a storage medium and an electronic device, comprising the following steps: detecting whether a data part of a reference message carries a telemetry data segment according to a first field in a target message header of a target message segment in the reference message to be transmitted; under the condition that the data part is detected to carry a target telemetry data segment, adding target operation information of target switching equipment into the target telemetry data segment to obtain a target message; and transmitting the target message in the target topology network according to the target transmission path information. By adopting the technical scheme, the problems of low message forwarding efficiency and the like in the related technology are solved.
Description
Technical Field
The present application relates to the field of communications, and in particular, to a method and apparatus for transmitting a message, a storage medium, and an electronic device.
Background
When a network application executes a Service, a Service packet generally needs to pass through a series of Service nodes (SFCs, service Function Chain) to meet a safe and reliable network Service requirement, and a Service chain (SFC, service Function Chain) connects services on the Service nodes on a logic level to form an ordered Service combination. The SFC acquires the operation parameters of the switch in the transmission process by adding an NSH message and an INT message into a target message to be transmitted, wherein the NSH message is used for guiding the transmission paths of the message transmitted in a plurality of switching devices, and the INT message is used for acquiring the operation parameters of the switching devices through which the message is transmitted. At present, an NSH message is generally added before a three-layer header of a target message, and an INT message is added after a four-layer header of the target message, so that when data of a switching device is acquired, the switch must execute operation of analyzing the three-layer header and the four-layer header, the operation is complex, and the forwarding efficiency of the message is reduced.
Aiming at the problems of low message forwarding efficiency and the like in the related technology, no effective solution has been proposed yet.
Disclosure of Invention
The embodiment of the application provides a message transmission method and device, a storage medium and an electronic device, which are used for at least solving the problems of low message forwarding efficiency and the like in the related technology.
According to an embodiment of the present application, there is provided a method for transmitting a packet, a data transmission system including a target controller and a plurality of switching devices, the plurality of switching devices having a target topology network therebetween, the target controller being connected to the target topology network, the method being applied to a target switching device of the plurality of switching devices, the method including:
Detecting whether a data part of a reference message carries a telemetry data segment according to a first field in a target message header of a target message segment in the reference message to be transmitted, wherein the target message segment is a message segment for indicating target transmission path information of the reference message transmitted in the target topology network, the first field is used for indicating a data type of data carried by the data part of the target message segment, and the data part is used for carrying contents to be transmitted between switching devices included in a transmission path;
Under the condition that the data part carries a target telemetry data segment, adding target operation information of the target switching equipment into the target telemetry data segment to obtain a target message, wherein the target telemetry data segment is used for collecting operation information of the switching equipment receiving the reference message, and the target operation information is used for indicating the operation state of the target switching equipment responding to the reference message;
and transmitting the target message in the target topology network according to the target transmission path information, wherein the target controller is used for updating the transmission path of the message in the target topology network according to the operation information of the switching equipment carried in the telemetry data segment on the message transmitted in the target topology network.
In an exemplary embodiment, the adding the target operation information of the target switching device to the target telemetry data segment includes:
Determining a field position of a remote measurement message header in the target message segment according to a second field carried in the target message header, wherein the second field is used for indicating the offset of the remote measurement data in the message segment;
analyzing a telemetry field carried in the telemetry message header, wherein the telemetry field is a field for indicating the type of the operation information to be acquired;
And adding a telemetry data stack to the target operation information corresponding to the telemetry field in the operation information of the target switching equipment, wherein the telemetry data stack is used for storing the acquired operation information of the switching equipment, and the telemetry data segment comprises the telemetry message head and the telemetry data stack.
In an exemplary embodiment, the transmitting the target packet in the target topology network according to the target transmission path information includes:
Detecting a field value of a third field in the target message header, wherein the third field is a field for indicating the node position of the current switching equipment in a transmission path;
Extracting a telemetry data stack carried in the telemetry data segment of the target message under the condition that the field value of the third field is used for indicating that the target switching device is a termination node on a transmission path of the target message, wherein the telemetry data stack stores operation information of switching devices through which the target message passes, and the target transmission path information comprises the third field;
transmitting the telemetry data stack to the target controller.
In an exemplary embodiment, the extracting the telemetry stack carried in the telemetry data segment of the target packet includes:
Determining the position of a remote measurement message header in the target message segment according to a fourth field carried in the target message header, wherein the fourth field is used for indicating the offset of the remote measurement message header in the target message segment;
Analyzing the telemetry message header to obtain a fifth field carried in the telemetry message header, wherein the fifth field is used for indicating the target field position of the telemetry data stack;
And extracting a target message field corresponding to the target field position in the target message, wherein the telemetry data stack comprises the target message field.
In an exemplary embodiment, after said detecting a field value of a third field in said target header, said method further comprises:
Determining that the transmission sequence of the target message is located behind the target switching device according to the third field and the sixth field in the target message header under the condition that the field value of the third field is used for indicating that the target switching device is an intermediate node on the transmission path of the target message, wherein the third field is used for indicating the target position of the current switching device in the transmission path, the sixth field is used for indicating the target path identifier of the transmission path to which the target message belongs, and the target transmission path information comprises the third field and the sixth field;
And transmitting the target message to the reference switching equipment.
In an exemplary embodiment, the determining, according to the third field and the sixth field in the target packet header, that the transmission order of the target packet is located in the reference switching device after the target switching device includes:
searching the reference switching equipment corresponding to the target path identifier and the target position from a message forwarding table stored on the target switching equipment, wherein the path identifier is recorded in the message forwarding table, and the position of the current switching equipment in a transmission path and the corresponding relation of the switching equipment to be transmitted are recorded in the message forwarding table.
In an exemplary embodiment, the method further comprises:
under the condition that a message transmission request is received, inserting an initial message segment into an initial message, wherein the message transmission request is used for requesting to transmit the initial message in the target topology network, and the initial message segment is used for indicating the initial transmission path information of the message transmitted in the target topology network;
Inserting the telemetry data segment matched with the data transmission system operating information acquisition requirement of the switching equipment into the data part of the initial message segment;
setting a field value of a target field in a header of the initial message segment as a target field value, wherein the target field value is used for indicating that the data part carries the telemetry data segment;
Updating the telemetry data segment carried by the data part according to the target operation information of the target switching equipment to obtain a candidate message;
And carrying out transmission processing on the candidate message according to the initial transmission path information.
According to another embodiment of the present application, there is further provided a device for transmitting a message, including:
The detection module is used for detecting whether a data part of a reference message carries a telemetry data segment according to a first field in a target message header of a target message segment in the reference message to be transmitted, wherein the target message segment is a message segment used for indicating target transmission path information transmitted by the reference message in the target topology network, the first field is used for indicating the data type of data carried by the data part of the target message segment, and the data part is used for carrying contents which need to be transmitted among switching devices included in a transmission path;
The adding module is used for adding target operation information of the target switching equipment to the target telemetry data segment to obtain a target message under the condition that the data part is detected to carry the target telemetry data segment, wherein the target telemetry data segment is used for collecting the operation information of the switching equipment which receives the reference message, and the target operation information is used for indicating the operation state of the target switching equipment responding to the reference message;
The transmission module is used for transmitting the target message in the target topology network according to the target transmission path information, wherein the target controller is used for updating the transmission path of the message in the target topology network according to the operation information of the switching equipment carried in the telemetry data segment on the message transmitted in the target topology network.
According to yet another aspect of the embodiments of the present application, there is also provided a computer-readable storage medium having a computer program stored therein, wherein the computer program is configured to perform the above-mentioned method of transmitting a message when executed.
According to still another aspect of the embodiments of the present application, there is further provided an electronic device including a memory, a processor, and a computer program stored on the memory and executable on the processor, where the processor executes the method for transmitting the message through the computer program.
In the embodiment of the application, whether the data part of the reference message carries a telemetry data segment is detected according to the first field in the target message header of the target message segment in the reference message to be transmitted, and the target operation information of the target switching equipment is added to the target telemetry data segment under the condition that the data part carries the target telemetry data segment is detected to obtain the target message, and then the target message is transmitted in the target topology network according to the target transmission path information. The first field for indicating the data type of the data carried by the data transmission part of the message is arranged in the message header of the message, so that whether the data part of the reference message carries the telemetry data section can be known according to the first field of the target message header, whether the message contains the telemetry data section content can be known without analyzing multiple sections of unnecessary messages, then the target operation information is added into the target telemetry data section to form the target message, and then the target message is transmitted according to the target transmission path information. By adopting the technical scheme, the problems of low message forwarding efficiency and the like in the related technology are solved, and the technical effect of improving the message forwarding efficiency is realized.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the application and together with the description, serve to explain the principles of the application.
In order to more clearly illustrate the embodiments of the application or the technical solutions of the prior art, the drawings which are used in the description of the embodiments or the prior art will be briefly described, and it will be obvious to a person skilled in the art that other drawings can be obtained from these drawings without inventive effort.
FIG. 1 is a schematic diagram of a hardware environment of a message transmission method according to an embodiment of the present application;
FIG. 2 is a flow chart of a method of transmitting a message according to an embodiment of the present application;
FIG. 3 is a schematic diagram of an alternative message encapsulation format in accordance with the present application;
fig. 4 is a schematic diagram of an NSH header according to the present application;
FIG. 5 is a schematic diagram of an NSH Base Header according to the present application;
fig. 6 is a schematic diagram of a NSH SERVICE PATH HEADER header according to the present application;
FIG. 7 is a schematic representation of an INT header in accordance with the present application;
fig. 8 is a schematic diagram of a method for transmitting a message according to an embodiment of the present application;
FIG. 9 is a schematic diagram of an alternative SC & INT Source node message processing method in accordance with the present application;
FIG. 10 is a schematic diagram of an alternative SFF & INT TRANSIT node message handling method in accordance with the present application;
FIG. 11 is a schematic diagram of an alternative SFF & INT Sink node message processing method in accordance with the present application;
Fig. 12 is a block diagram of a message transmission apparatus according to an embodiment of the present application.
Detailed Description
In order that those skilled in the art will better understand the present application, a technical solution in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings in which it is apparent that the described embodiments are only some embodiments of the present application, not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the present application without making any inventive effort, shall fall within the scope of the present application.
It should be noted that the terms "first," "second," and the like in the description and the claims of the present application and the above figures are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used may be interchanged where appropriate such that the embodiments of the application described herein may be implemented in sequences other than those illustrated or otherwise described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
The method embodiments provided by the embodiments of the present application may be performed in a computer terminal, a device terminal, or a similar computing apparatus. Taking a computer terminal as an example, fig. 1 is a schematic diagram of a hardware environment of a method for transmitting a message according to an embodiment of the present application. As shown in fig. 1, the computer terminal may include one or more (only one is shown in fig. 1) processors 102 (the processor 102 may include, but is not limited to, a microprocessor MCU or a processing device such as a programmable logic device FPGA) and a memory 104 for storing data, and in one exemplary embodiment, may also include a transmission device 106 for communication functions and an input-output device 108. It will be appreciated by those skilled in the art that the configuration shown in fig. 1 is merely illustrative and is not intended to limit the configuration of the computer terminal described above. For example, a computer terminal may also include more or fewer components than shown in FIG. 1, or have a different configuration than the equivalent functions shown in FIG. 1 or more than the functions shown in FIG. 1.
The memory 104 may be used to store a computer program, for example, a software program of application software and a module, such as a computer program corresponding to a method for sending message push in an embodiment of the present invention, and the processor 102 executes the computer program stored in the memory 104, thereby performing various functional applications and data processing, that is, implementing the method described above. Memory 104 may include high-speed random access memory, and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, the memory 104 may further include memory remotely located relative to the processor 102, which may be connected to the computer terminal via a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The transmission device 106 is used to receive or transmit data via a network. Specific examples of the network described above may include a wireless network provided by a communication provider of a computer terminal. In one example, the transmission device 106 includes a network adapter (Network Interface Controller, simply referred to as a NIC) that can connect to other network devices through a base station to communicate with the internet. In one example, the transmission device 106 may be a Radio Frequency (RF) module, which is configured to communicate with the internet wirelessly.
In this embodiment, a method for transmitting a message is provided and applied to the computer terminal, and fig. 2 is a flowchart of a method for transmitting a message according to an embodiment of the present application, where the flowchart includes the following steps:
Step S202, detecting whether a data part of a reference message carries a telemetry data segment according to a first field in a target message header of a target message segment in the reference message to be transmitted, wherein the target message segment is a message segment for indicating target transmission path information of the reference message transmitted in the target topology network, the first field is used for indicating a data type of data carried by the data part of the target message segment, and the data part is used for carrying contents to be transmitted between switching devices included in a transmission path;
Step S204, when the data part is detected to carry a target telemetry data segment, adding target operation information of the target switching device to the target telemetry data segment to obtain a target message, wherein the target telemetry data segment is used for collecting operation information of the switching device which receives the reference message, and the target operation information is used for indicating the operation state of the target switching device responding to the reference message;
Step S206, transmitting the target packet in the target topology network according to the target transmission path information, where the target controller is configured to update a transmission path of the packet in the target topology network according to the operation information of the switching device carried in the telemetry data segment on the packet transmitted in the target topology network.
Through the steps, namely, the first field for indicating the data type of the data carried by the data transmission part of the message is arranged in the message header of the message, whether the data part of the reference message carries the telemetry data section or not can be obtained according to the first field of the target message header, whether the telemetry data section content is contained in the message or not can be obtained without analyzing multiple sections of unnecessary messages, then the target operation information is added into the target telemetry data section to form the target message, and then the target message is transmitted according to the target transmission path information. By adopting the technical scheme, the problems of low message forwarding efficiency and the like in the related technology are solved, and the technical effect of improving the message forwarding efficiency is realized.
In the technical solution provided in step S202, the message (message) refers to a basic unit of data transmission in computer communication. The message may contain various types of information such as text, images, audio, video, etc. In network communications, messages typically include data exchanged between a sender and a receiver to enable the transfer and communication of information. The message may be transmitted via various protocols (e.g., HTTP, SMTP, FTP, etc.) to meet different communication requirements. The header refers to part of information used to describe and control data in data transmission. The header typically includes metadata such as the length of the data, the type of data, the encoding scheme of the data, etc., and control information such as a checksum, a sequence number, etc., that is used to identify and verify the data. The message header is used for ensuring the correctness, the integrity and the sequence of the data and helping the receiver to correctly analyze and process the data in the data transmission process.
Optionally, in the present embodiment, the target data segment includes, but is not limited to, an NSH data segment. NSH (Network SERVICE HEADER ) is a standard format for Network packets to add additional information to the packet for more efficient routing and processing. NSH is commonly used in Software Defined Networking (SDN) and Network Function Virtualization (NFV) technologies to help network administrators better manage and control network traffic.
Optionally, in this embodiment, the telemetry data segment includes, but is not limited to, a segment that records in-band telemetry data. In-band telemetry (INT, inband Network Telemetry) is a network measurement technique that monitors and collects network performance data in real time by embedding measurement information in data packets. The technology can help a network administrator to better know indexes such as network flow, delay, packet loss rate and the like, so that network optimization and fault investigation are performed. In the embodiment of the application, the telemetry data segment is used for collecting the processing condition of the message data when the message data is processed by the switching equipment when the message data is received, and the processing condition can be but is not limited to delay, packet loss rate, load pressure parameters and the like.
By means of the technical scheme recorded in the step S202, whether the telemetry data segment exists or not can be directly obtained according to the first field by recording whether the telemetry data segment is carried in the data portion of the reference message in the first field of the target message header of the target message segment, the situation that the telemetry data segment exists only after some irrelevant data are needed to be analyzed is avoided, and the forwarding analysis efficiency of the message is improved.
In the technical solution provided in step S204, the target switching device includes, but is not limited to, a router that needs to pass through on a transmission path in the message forwarding process, and the target operation information of the target switching device includes, but is not limited to, real-time monitoring data of delay, port utilization, temperature, pressure, humidity, voltage, current, position, and the like of the present hop router device.
In the solution provided in step S206, the topology network refers to a structure and a layout manner of connections between nodes (such as computers, printers, servers, etc.) in the computer network. A topology network defines the manner in which physical or logical connections between nodes are made, as well as the paths along which data is transmitted in the network.
Optionally, in this embodiment, the updating, by the target controller, the transmission path of the message in the target topology network according to the operation information of the switching device carried in the telemetry data segment on the message transmitted in the target topology network includes, but is not limited to, disabling the switching device, replacing the switching device, or modifying the transmission path of the current message without changing the device.
Optionally, in this embodiment, fig. 3 is a schematic diagram of an alternative packet encapsulation format according to the present application. As shown in fig. 3, a message encapsulation format of an INT over NSH is implemented, where the NSH header is placed behind the two-layer header, and the INT header is placed behind the NSH header as a payload of the NSH. The next-protocol field of the NSH header is set to 0x6 to indicate that the payload of the NSH is an INT message, and the device only needs to parse the NSH header to obtain service chain information, and at the same time, recognizes the INT load according to the next-protocol. The INT head contains the operation parameters of the service chain network to be monitored, including information such as time delay, port utilization rate and the like.
Optionally, in this embodiment, the target header includes, but is not limited to, an NSH header. Fig. 4 is a schematic diagram of an NSH header according to the present application. As shown in fig. 4, the NSH header includes three parts: base Header, SERVICE PATH HEADER, and Context Header. Fig. 5 is a schematic diagram of an NSH Base Header according to the present application. As shown in fig. 5, the NSH Base Header length is 4 bytes, where Ver has 2 bits (bits) representing the NSH version; the O bit 1 represents an OAM message; u bit is an undefined field; the TTL field has 6 bits and indicates the hop count of the maximum SFF (Small Form Factor, small device) on an SFP (Small Form-factor Pluggable, small pluggable module); the Length field is 6 bits, indicating the total Length of the NSH header; the MD Type field has 4 bits, indicating the Type of ContextHeader; the Next Protocol field has 8 bits, indicating the payload message type. In this embodiment, a value of 0x6 in the Next Protocol field indicates that payload is INT. Fig. 6 is a schematic diagram of a NSH SERVICE PATH HEADER header according to the present application. As shown in fig. 6, NSH SERVICE PATH HEADER header length is 4 bytes. Wherein SERVICE PATH IDENTIFIER (SPI) occupies 24 bits for uniquely indicating SFP for SFP selection; service Index (SI), indicating the location in the SFP, can be used for fault diagnosis and reporting SFP information.
Optionally, in this embodiment, the first field includes, but is not limited to, a Next Protocol field, and detecting, according to the first field in the target Header of the target packet segment in the reference packet to be transmitted, whether the data portion of the reference packet carries the telemetry data segment includes, but is not limited to, detecting a value condition of the Next Protocol field in the NSH Base Header in the NSH packet Header.
As an alternative embodiment, the adding the target operation information of the target switching device to the target telemetry data segment includes:
Determining a field position of a remote measurement message header in the target message segment according to a second field carried in the target message header, wherein the second field is used for indicating the offset of the remote measurement data in the message segment;
analyzing a telemetry field carried in the telemetry message header, wherein the telemetry field is a field for indicating the type of the operation information to be acquired;
And adding a telemetry data stack to the target operation information corresponding to the telemetry field in the operation information of the target switching equipment, wherein the telemetry data stack is used for storing the acquired operation information of the switching equipment, and the telemetry data segment comprises the telemetry message head and the telemetry data stack.
Optionally, in this embodiment, the telemetry field includes, but is not limited to, instruction Bitmap, and adding, to the telemetry data stack, the target operation information corresponding to the telemetry field in the operation information of the target switching device includes, but is not limited to, identifying Instruction Bitmap, and inserting the parameter value of the corresponding telemetry parameter into the INT metadata of the INT telemetry packet.
Alternatively, in this embodiment, fig. 7 is a schematic view of an INT header according to the present application. As shown in fig. 7, the INT header includes version number Ver, ver=2 in this embodiment; hopML, length of Metadata inserted per Hop (4 Byte-WORD units); remaining hops (RemainingHopCnt), hops to which Metadata can be added; the instruction bitmap (Instruction Bitmap), 16 bits Instruction Bitmap, indicates which type of metadata (metadata) is carried, and the subsequent device can identify Instruction Bitmap which parameters values of the corresponding telemetry parameters are inserted into the INT metadata of the INT telemetry data packet. The INT header may also include a specific ID (Domain SPECIFIC ID), DS instructions (DSInstruction), DS Flags (DS Flags), INT metadata stack (INT METADATA STACK).
As an optional embodiment, the transmitting the target packet in the target topology network according to the target transmission path information includes:
Detecting a field value of a third field in the target message header, wherein the third field is a field for indicating the node position of the current switching equipment in a transmission path;
Extracting a telemetry data stack carried in the telemetry data segment of the target message under the condition that the field value of the third field is used for indicating that the target switching device is a termination node on a transmission path of the target message, wherein the telemetry data stack stores operation information of switching devices through which the target message passes, and the target transmission path information comprises the third field;
transmitting the telemetry data stack to the target controller.
Optionally, in this embodiment, the node location where the current switching device is located in the transmission path includes, but is not limited to, an end location, an intermediate location, and a start location.
Through the steps, when the message transmission reaches the termination node, a telemetry data stack is extracted, the operation information of the switching equipment through which the target message passes is stored on the telemetry data stack, the telemetry data stack is transmitted to the target controller, namely, after one message transmission, the target controller can learn the operation conditions of all nodes passing through in the whole transmission process according to the telemetry data stack, and can adjust the transmission path of the message in the topology network according to the operation conditions presented by the operation information, so that the efficiency of message forwarding is further improved from another angle.
As an optional embodiment, the extracting the telemetry data stack carried in the telemetry data segment of the target packet includes:
Determining the position of a remote measurement message header in the target message segment according to a fourth field carried in the target message header, wherein the fourth field is used for indicating the offset of the remote measurement message header in the target message segment;
Analyzing the telemetry message header to obtain a fifth field carried in the telemetry message header, wherein the fifth field is used for indicating the target field position of the telemetry data stack;
And extracting a target message field corresponding to the target field position in the target message, wherein the telemetry data stack comprises the target message field.
Optionally, in this embodiment, the target packet field is a field in which an operation state of each switching device on the transmission link in response to the reference packet is recorded.
As an optional embodiment, after the detecting the field value of the third field in the target packet header, the method further includes:
Determining that the transmission sequence of the target message is located behind the target switching device according to the third field and the sixth field in the target message header under the condition that the field value of the third field is used for indicating that the target switching device is an intermediate node on the transmission path of the target message, wherein the third field is used for indicating the target position of the current switching device in the transmission path, the sixth field is used for indicating the target path identifier of the transmission path to which the target message belongs, and the target transmission path information comprises the third field and the sixth field;
And transmitting the target message to the reference switching equipment.
Optionally, in this embodiment, after the target switching device is identified to the third field and the sixth field, the field value of the sixth field may be identified first, so as to find a target transmission path corresponding to the sixth field, and further find, according to the third field, a position of the target switching device in the target transmission path, and further find a switching device located behind the target switching device in the target transmission path.
As an optional embodiment, the determining, according to the third field and the sixth field in the target packet header, that the transmission order of the target packet is located in the reference switching device after the target switching device includes:
searching the reference switching equipment corresponding to the target path identifier and the target position from a message forwarding table stored on the target switching equipment, wherein the path identifier is recorded in the message forwarding table, and the position of the current switching equipment in a transmission path and the corresponding relation of the switching equipment to be transmitted are recorded in the message forwarding table.
As an optional embodiment, under the condition of receiving a message transmission request, inserting an initial message segment into an initial message, where the message transmission request is used to request to transmit an initial message in the target topology network, and the initial message segment is a message segment used to indicate initial transmission path information of the message transmitted in the target topology network;
Inserting the telemetry data segment matched with the data transmission system operating information acquisition requirement of the switching equipment into the data part of the initial message segment;
setting a field value of a target field in a header of the initial message segment as a target field value, wherein the target field value is used for indicating that the data part carries the telemetry data segment;
Updating the telemetry data segment carried by the data part according to the target operation information of the target switching equipment to obtain a candidate message;
And carrying out transmission processing on the candidate message according to the initial transmission path information.
Optionally, in this embodiment, each switching device in the data transmission system may be used as a starting node of the message transmission, an intermediate transmission node of the message transmission and a termination node of the message transmission, when the switching device is used as the starting node of the message transmission, it is required to construct the message data to be transmitted, when the switching device is used as the intermediate data transmission node, it is required to identify that the message updates its operation information into the telemetry data segment and sends the operation information to other switching devices, and when the switching device is used as the termination node, it is required to add its operation state information into the telemetry data segment and extract the telemetry data segment to a target controller configured in the data transmission system.
By the steps, under the condition that a message transmission request is received, a message segment indicating the initial transmission path information of the message transmitted in the target topology network is inserted into the initial message segment as the initial message segment, a telemetry data segment matched with the operation information acquisition requirement of the data transmission system on the switching equipment is inserted into the initial message segment, and the field value of the target field is set to be a target field value for indicating that the data part carries the telemetry data segment, so that the telemetry data segment is inserted into the initial message segment before the message starts to be transmitted, the existence of the telemetry data segment can be known according to the field value condition of the target field, unnecessary message analysis process is avoided in the message transmission process, and the message transmission efficiency is improved.
In order to better understand the above process, the following description of the above process is provided with reference to an alternative embodiment, but is not limited to the technical solution of the embodiment of the present application.
In this embodiment, a method for transmitting a message is provided, and fig. 8 is a schematic diagram of a method for transmitting a message according to an embodiment of the present application, as shown in fig. 8, a tenant server accesses a server through a service chain network, and in a forwarding process of the accessed message, the method includes the following stages:
S1, NSH and INT are packaged. SW1 is used as equipment of tenant access service chain, and is both SC equipment of service chain and source node of INT. SW1 receives the service request message sent by the tenant, matches the five-tuple information of the message according to the ACL strategy issued by the controller, designates SPI and SI for the message, introduces the message into a specific service chain, and adds an INT header according to the requirement of an administrator. The switch SW1 adds INT and NSH to the message according to the INT over NSH format, wherein the NSH header carries service chain information and the INT carries telemetry information. The service chain information carried by NSH includes SPI, SI and Context header (Context header) of user's required application, in which SPI is used for identifying specific service chain, SI is the position of service node in service chain, context is used for executing specific service after SF is identified. The INT carries the number of the service chain forwarding device (SwitchId), the instruction bitmap of the INT telemetry parameter set, and a specific telemetry parameter metadata stack.
S2, updating NSH SI by SF 1. After the NSH message passes through the SF1 node and the SFP and the SI are identified, the corresponding service is completed according to the context information, and the SI is subjected to the 1 reduction operation and is sent to the SW2.
S3, SW2 is used as SFF and INT TRANSIT nodes simultaneously. After receiving the NSH message, the SW2 firstly analyzes the NSH header of the message to obtain the next protocol field of the NSH header, the length of the NSH header, SPI, SI and other information. Then, according to the next protocol field of the NSH header being 0x6, the NSH payload is determined to be INT, and the INT header can be analyzed after the length of the NSH header is shifted, so as to obtain the instruction bitmap of the INT telemetry parameter set and the length of the INT header. SW2 obtains SF2 (FW 2) as the next hop according to SPI and NSH forwarding table issued by SI inquiry controller. And simultaneously, identifying a telemetry parameter command bitmap of the INT head, adding the telemetry parameter of the hop to the stack top of a telemetry parameter metadata stack according to the command bitmap, and forwarding the message to the next hop.
S4, updating NSH SI by SF 2. After the NSH message passes through the SF2 node and the SFP and the SI are identified, the corresponding service is completed according to the context information, and the SI is subjected to the 1 reduction operation and is sent to the SW3.
S5, SW3 is used as a termination point SFF of SFC and is a sink node of INT. The NSH header and the INT header are stripped off and the original message is sent to a designated server, and meanwhile, the information of INT telemetry parameters, SPI of service chains and the like of all the previous devices and the current hop are reported to the collector.
And S6, collecting information reported by the forwarding surface by the collector, and delivering the information to the analyzer for analysis. The controller establishes a network performance dynamic database based on the service chain according to the analysis result of the analyzer, reasonably plans the service chain logic network by utilizing an intelligent algorithm, and completes service chain deployment by the same issuing configuration.
Alternatively, fig. 9 is a schematic diagram of an alternative SC & INT Source node message processing method according to the present application. As shown in fig. 9, for the switch SW1 appearing in fig. 8, it is the SC node of the traffic chain, the source node of INT. And the switch obtains the editing information of NSH and INT through ACL policy matching flow. The NSH editing information is an NSH message header shown in FIG. 4, wherein an SPI marks a service chain, an SI marks a target SF, a Next Protocol field is used for indicating an NSH payload type, and can be 0x6 for indicating that the NSH payload is INT; the Length field indicates the Length of the NSH header. The edit information of the INT includes an INT header, INT monitoring information metadata, and an INT data segment offset as shown in fig. 7. Wherein the INT head is a fixed length; metadata may increase hop-by-hop; the INT data segment offset can be calculated according to the Length field of the NSH message header, the fixed header is inserted behind the NSH header, and the INT data segment offset is inserted behind the INT fixed header according to the INT monitoring information metadata. After editing, looking up NSH forwarding table according to SPI and SI information of NSH to obtain forwarding outlet, and forwarding from corresponding outlet. Wherein, NSH forwarding table is issued by the controller.
Alternatively, fig. 10 is a schematic diagram of an alternative method for processing an SFF & INT TRANSIT node message according to the present application. As shown in fig. 10, for the switch SW2 appearing in fig. 8, it is the forwarding SFF node of the traffic chain, the intermediate transit node of INT. As SFF, SW2 analyzes NSH message head, recognizes SPI and SI fields, searches NSH forwarding table to obtain NSH updating operation and forwarding destination outlet; meanwhile, the INT over NSH message is identified according to NSH Nexthop Protocol, and the INT head after analysis is judged to be needed; and then, calculating the offset of the INT header in the message according to the length field of the NSH message header, and analyzing the INT. As an intermediate transit node of the INT, SW2 analyzes the INT header according to the offset of the INT header in the message, identifies the instruction bitmap of the INT telemetry parameter set and the length of the INT header, and edits the INT telemetry parameter metadata of the present hop to the top of the INT metadata stack according to the standard format according to the instruction bitmap of the INT telemetry parameter set. And after the editing is completed, forwarding the message to a corresponding outlet according to the search result of the NSH forwarding table.
Alternatively, fig. 11 is a schematic diagram of an alternative SFF & INT Sink node message processing method according to the present application. As shown in fig. 11, for the switch SW3 appearing in fig. 8, it is the intermediate sink node of the terminating SFF node, INT, of the traffic chain. As SFF, SW2 analyzes NSH message head, recognizes SPI and SI fields, searches NSH forwarding table to obtain operation of stripping NSH head and forwarding destination outlet; meanwhile, the INT over NSH message is identified according to NSH Nexthop Protocol, and the INT head after analysis is judged to be needed; and then, calculating the offset of the INT header in the message according to the length field of the NSH message header, and analyzing the INT. As sink node of INT, mirror image processing and INT header stripping processing are respectively carried out to service message added with INT information through intermediate transit node, and service message for INT report (report) and original service message for transmitting with INT data segment are respectively obtained. For a service message used as an INT report (report), according to the offset of the INT header in the message, analyzing the INT header, identifying the instruction bitmap of the INT telemetry parameter group and the length of the INT header, editing the INT telemetry parameter metadata of the hop to the top of an INT metadata stack according to the instruction bitmap of the INT telemetry parameter group, and simultaneously adding a report message header minor to a collector. And stripping the NSH header and the INT header of the original service message for forwarding, and forwarding the message to a corresponding outlet according to the search result of the NSH forwarding table.
From the description of the above embodiments, it will be clear to a person skilled in the art that the method according to the above embodiments may be implemented by means of software and a necessary general hardware platform, but of course also by means of hardware, but in many cases the former is a preferred embodiment. Based on such understanding, the technical solution of the present application may be embodied essentially or in a part contributing to the prior art in the form of a software product stored in a storage medium (e.g. ROM/RAM, magnetic disk, optical disk) comprising several instructions for causing a terminal device (which may be a mobile phone, a computer, a server, or a network device, etc.) to perform the method of the various embodiments of the present application.
Fig. 12 is a block diagram of a message transmission device according to an embodiment of the present application; as shown in fig. 10, includes:
A detection module 1202, configured to detect, according to a first field in a target header of a target packet segment in a reference packet to be transmitted, whether a data portion of the reference packet carries a telemetry data segment, where the target packet segment is a packet segment for indicating target transmission path information of the reference packet transmitted in the target topology network, the first field is used to indicate a data type of data carried by a data portion of the target packet segment, and the data portion is used to carry contents that need to be transmitted between switching devices included in a transmission path;
An adding module 1204, configured to, when it is detected that the data portion carries a target telemetry data segment, add target operation information of the target switching device to the target telemetry data segment to obtain a target packet, where the target telemetry data segment is configured to collect operation information of a switching device that receives the reference packet, and the target operation information is configured to instruct the target switching device to respond to an operation state of the reference packet;
And a transmission module 1206, configured to transmit the target packet in the target topology network according to the target transmission path information, where the target controller is configured to update a transmission path of the packet in the target topology network according to operation information of the switching device carried in the telemetry data segment on the packet transmitted in the target topology network.
By the above embodiment, whether the data portion of the reference message carries a telemetry data segment is detected according to the first field in the target message header of the target message segment in the reference message to be transmitted, and when the data portion is detected to carry the target telemetry data segment, the target operation information of the target switching device is added to the target telemetry data segment to obtain the target message, and then the target message is transmitted in the target topology network according to the target transmission path information. Namely, whether the data part of the reference message carries the telemetry data section or not can be known according to the first field of the target message header, whether the message contains the telemetry data section or not can be known without analyzing a plurality of sections of unnecessary messages, then the target operation information is added into the target telemetry data section to form the target message, and then the target message is transmitted according to the target transmission path information. By adopting the technical scheme, the problems of low message forwarding efficiency and the like in the related technology are solved, and the technical effect of improving the message forwarding efficiency is realized.
In one exemplary embodiment, the adding module includes:
A first determining unit, configured to determine a field position of a telemetry message header in the target message segment according to a second field carried in the target message header, where the second field is used to indicate an offset of the telemetry data in the message segment;
The analyzing unit is used for analyzing the telemetry field carried in the telemetry message head, wherein the telemetry field is a field for indicating the type of the operation information to be acquired;
And the adding unit is used for adding a telemetry data stack to the target operation information corresponding to the telemetry field in the operation information of the target switching equipment, wherein the telemetry data stack is used for storing the acquired operation information of the switching equipment, and the telemetry data segment comprises the telemetry message head and the telemetry data stack.
In an exemplary embodiment, the transmission module includes:
the detection unit is used for detecting a field value of a third field in the target message header, wherein the third field is a field for indicating the node position of the current switching equipment in a transmission path;
An extracting unit, configured to extract a telemetry data stack carried in the telemetry data segment of the target packet, where a field value of the third field is used to indicate that the target switching device is a termination node on a transmission path of the target packet, and the telemetry data stack stores operation information of a switching device through which the target packet passes, where the target transmission path information includes the third field;
And the first transmission unit is used for transmitting the telemetry data stack to the target controller.
Optionally, the extracting unit is further configured to:
Determining the position of a remote measurement message header in the target message segment according to a fourth field carried in the target message header, wherein the fourth field is used for indicating the offset of the remote measurement message header in the target message segment;
Analyzing the telemetry message header to obtain a fifth field carried in the telemetry message header, wherein the fifth field is used for indicating the target field position of the telemetry data stack;
And extracting a target message field corresponding to the target field position in the target message, wherein the telemetry data stack comprises the target message field.
As an alternative embodiment, the transmission module further includes:
A second determining unit, configured to determine, according to the third field and a sixth field in the target packet header, that a transmission sequence of the target packet is located in a reference switching device after the target switching device, where the third field is used to indicate a target location where the current switching device is located in a transmission path, and the sixth field is used to indicate a target path identifier of the transmission path to which the target packet belongs, where the target transmission path information includes the third field and the sixth field, where the field value of the third field is used to indicate that the target switching device is an intermediate node on the transmission path of the target packet;
and the second transmission unit is used for transmitting the target message to the reference switching equipment.
Optionally, the second determining unit is further configured to:
searching the reference switching equipment corresponding to the target path identifier and the target position from a message forwarding table stored on the target switching equipment, wherein the path identifier is recorded in the message forwarding table, and the position of the current switching equipment in a transmission path and the corresponding relation of the switching equipment to be transmitted are recorded in the message forwarding table.
As an alternative embodiment, the apparatus further comprises:
The first inserting module is used for inserting an initial message segment into an initial message under the condition of receiving a message transmission request, wherein the message transmission request is used for requesting to transmit the initial message in the target topology network, and the initial message segment is used for indicating the initial transmission path information of the message transmitted in the target topology network;
The second inserting module is used for inserting the telemetry data segment matched with the operation information acquisition requirement of the data transmission system on the switching equipment into the data part of the initial message segment;
a setting module, configured to set a field value of a target field in a header of the initial packet segment to a target field value, where the target field value is used to indicate that the data portion carries the telemetry data segment;
the updating module is used for updating the telemetry data segment carried by the data part according to the target operation information of the target switching equipment to obtain a candidate message;
and the processing module is used for carrying out transmission processing on the candidate message according to the initial transmission path information.
The embodiment of the application also provides a storage medium, which comprises a stored program, wherein the program executes the transmission method of any message.
Alternatively, in the present embodiment, the above-described storage medium may be configured to store program code for performing the steps of:
s1, detecting whether a data part of a reference message carries a telemetry data segment according to a first field in a target message header of a target message segment in the reference message to be transmitted, wherein the target message segment is a message segment for indicating target transmission path information of the reference message transmitted in the target topology network, the first field is used for indicating a data type of data carried by the data part of the target message segment, and the data part is used for carrying contents to be transmitted between switching devices included in a transmission path;
S2, under the condition that the data part carries a target telemetry data segment, adding target operation information of the target switching equipment into the target telemetry data segment to obtain a target message, wherein the target telemetry data segment is used for collecting operation information of the switching equipment receiving the reference message, and the target operation information is used for indicating the operation state of the target switching equipment responding to the reference message;
And S3, transmitting the target message in the target topology network according to the target transmission path information, wherein the target controller is used for updating the transmission path of the message in the target topology network according to the operation information of the switching equipment carried in the telemetry data segment on the message transmitted in the target topology network.
An embodiment of the application also provides an electronic device comprising a memory, in which a computer program is stored, and a processor arranged to run the computer program to perform the steps of the method embodiment of transmitting any of the messages described above.
Optionally, the electronic apparatus may further include a transmission device and an input/output device, where the transmission device is connected to the processor, and the input/output device is connected to the processor.
Alternatively, in the present embodiment, the above-described processor may be configured to execute the following steps by a computer program:
s1, detecting whether a data part of a reference message carries a telemetry data segment according to a first field in a target message header of a target message segment in the reference message to be transmitted, wherein the target message segment is a message segment for indicating target transmission path information of the reference message transmitted in the target topology network, the first field is used for indicating a data type of data carried by the data part of the target message segment, and the data part is used for carrying contents to be transmitted between switching devices included in a transmission path;
S2, under the condition that the data part carries a target telemetry data segment, adding target operation information of the target switching equipment into the target telemetry data segment to obtain a target message, wherein the target telemetry data segment is used for collecting operation information of the switching equipment receiving the reference message, and the target operation information is used for indicating the operation state of the target switching equipment responding to the reference message;
And S3, transmitting the target message in the target topology network according to the target transmission path information, wherein the target controller is used for updating the transmission path of the message in the target topology network according to the operation information of the switching equipment carried in the telemetry data segment on the message transmitted in the target topology network.
Alternatively, in the present embodiment, the storage medium may include, but is not limited to: a U-disk, a Read-Only Memory (ROM), a random access Memory (Random Access Memory RAM), a removable hard disk, a magnetic disk, or an optical disk, etc., which can store program codes.
Alternatively, specific examples in this embodiment may refer to examples described in the foregoing embodiments and optional implementations, and this embodiment is not described herein.
It will be appreciated by those skilled in the art that the modules or steps of the application described above may be implemented in a general purpose computing device, they may be concentrated on a single computing device, or distributed across a network of computing devices, they may alternatively be implemented in program code executable by computing devices, so that they may be stored in a memory device for execution by computing devices, and in some cases, the steps shown or described may be performed in a different order than that shown or described, or they may be separately fabricated into individual integrated circuit modules, or multiple modules or steps within them may be fabricated into a single integrated circuit module for implementation. Thus, the present application is not limited to any specific combination of hardware and software.
The foregoing is merely a preferred embodiment of the present application and it should be noted that modifications and adaptations to those skilled in the art may be made without departing from the principles of the present application, which are intended to be comprehended within the scope of the present application.
Claims (10)
1. A method for transmitting a message, wherein a data transmission system includes a target controller and a plurality of switching devices, the plurality of switching devices having a target topology network therebetween, the target controller being connected to the target topology network, the method being applied to a target switching device of the plurality of switching devices, the method comprising:
Detecting whether a data part of a reference message carries a telemetry data segment according to a first field in a target message header of a target message segment in the reference message to be transmitted, wherein the target message segment is a message segment for indicating target transmission path information of the reference message transmitted in the target topology network, the first field is used for indicating a data type of data carried by the data part of the target message segment, and the data part is used for carrying contents to be transmitted between switching devices included in a transmission path;
Under the condition that the data part carries a target telemetry data segment, adding target operation information of the target switching equipment into the target telemetry data segment to obtain a target message, wherein the target telemetry data segment is used for collecting operation information of the switching equipment receiving the reference message, and the target operation information is used for indicating the operation state of the target switching equipment responding to the reference message;
and transmitting the target message in the target topology network according to the target transmission path information, wherein the target controller is used for updating the transmission path of the message in the target topology network according to the operation information of the switching equipment carried in the telemetry data segment on the message transmitted in the target.
2. The method of claim 1, wherein adding the target operational information of the target switching device to the target telemetry data segment comprises:
Determining a field position of a remote measurement message header in the target message segment according to a second field carried in the target message header, wherein the second field is used for indicating the offset of the remote measurement data in the message segment;
analyzing a telemetry field carried in the telemetry message header, wherein the telemetry field is a field for indicating the type of the operation information to be acquired;
And adding a telemetry data stack to the target operation information corresponding to the telemetry field in the operation information of the target switching equipment, wherein the telemetry data stack is used for storing the acquired operation information of the switching equipment, and the telemetry data segment comprises the telemetry message head and the telemetry data stack.
3. The method of claim 1, wherein transmitting the target message in the target topology network according to the target transmission path information comprises:
Detecting a field value of a third field in the target message header, wherein the third field is a field for indicating the node position of the current switching equipment in a transmission path;
Extracting a telemetry data stack carried in the telemetry data segment of the target message under the condition that the field value of the third field is used for indicating that the target switching device is a termination node on a transmission path of the target message, wherein the telemetry data stack stores operation information of switching devices through which the target message passes, and the target transmission path information comprises the third field;
transmitting the telemetry data stack to the target controller.
4. A method according to claim 3, wherein said extracting the telemetry stack carried in the telemetry segment of the target message comprises:
Determining the position of a remote measurement message header in the target message segment according to a fourth field carried in the target message header, wherein the fourth field is used for indicating the offset of the remote measurement message header in the target message segment;
Analyzing the telemetry message header to obtain a fifth field carried in the telemetry message header, wherein the fifth field is used for indicating the target field position of the telemetry data stack;
And extracting a target message field corresponding to the target field position in the target message, wherein the telemetry data stack comprises the target message field.
5. A method according to claim 3, wherein after said detecting a field value of a third field in said target header, said method further comprises:
Determining that the transmission sequence of the target message is located behind the target switching device according to the third field and the sixth field in the target message header under the condition that the field value of the third field is used for indicating that the target switching device is an intermediate node on the transmission path of the target message, wherein the third field is used for indicating the target position of the current switching device in the transmission path, the sixth field is used for indicating the target path identifier of the transmission path to which the target message belongs, and the target transmission path information comprises the third field and the sixth field;
And transmitting the target message to the reference switching equipment.
6. The method according to claim 5, wherein the determining, according to the third field and the sixth field in the target packet header, a reference switching device having a transmission order for the target packet located after the target switching device includes:
searching the reference switching equipment corresponding to the target path identifier and the target position from a message forwarding table stored on the target switching equipment, wherein the path identifier is recorded in the message forwarding table, and the position of the current switching equipment in a transmission path and the corresponding relation of the switching equipment to be transmitted are recorded in the message forwarding table.
7. The method according to claim 1, wherein the method further comprises:
under the condition that a message transmission request is received, inserting an initial message segment into an initial message, wherein the message transmission request is used for requesting to transmit the initial message in the target topology network, and the initial message segment is used for indicating the initial transmission path information of the message transmitted in the target topology network;
Inserting the telemetry data segment matched with the data transmission system operating information acquisition requirement of the switching equipment into the data part of the initial message segment;
setting a field value of a target field in a header of the initial message segment as a target field value, wherein the target field value is used for indicating that the data part carries the telemetry data segment;
Updating the telemetry data segment carried by the data part according to the target operation information of the target switching equipment to obtain a candidate message;
And carrying out transmission processing on the candidate message according to the initial transmission path information.
8. A message transmission device, comprising:
The detection module is used for detecting whether a data part of a reference message carries a telemetry data segment according to a first field in a target message header of a target message segment in the reference message to be transmitted, wherein the target message segment is a message segment used for indicating target transmission path information transmitted by the reference message in the target topology network, the first field is used for indicating the data type of data carried by the data part of the target message segment, and the data part is used for carrying contents which need to be transmitted among switching devices included in a transmission path;
The adding module is used for adding target operation information of the target switching equipment to the target telemetry data segment to obtain a target message under the condition that the data part is detected to carry the target telemetry data segment, wherein the target telemetry data segment is used for collecting the operation information of the switching equipment which receives the reference message, and the target operation information is used for indicating the operation state of the target switching equipment responding to the reference message;
The transmission module is used for transmitting the target message in the target topology network according to the target transmission path information, wherein the target controller is used for updating the transmission path of the message in the target topology network according to the operation information of the switching equipment carried in the telemetry data segment on the message transmitted in the target topology network.
9. A computer-readable storage medium, characterized in that the computer-readable storage medium comprises a stored program, wherein the program when run performs the method of any one of claims 1to 7.
10. An electronic device comprising a memory and a processor, characterized in that the memory has stored therein a computer program, the processor being arranged to execute the method according to any of claims 1 to 7 by means of the computer program.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202410429501.5A CN118317009A (en) | 2024-04-10 | 2024-04-10 | Message transmission method and device, storage medium and electronic device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202410429501.5A CN118317009A (en) | 2024-04-10 | 2024-04-10 | Message transmission method and device, storage medium and electronic device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN118317009A true CN118317009A (en) | 2024-07-09 |
Family
ID=91729652
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202410429501.5A Pending CN118317009A (en) | 2024-04-10 | 2024-04-10 | Message transmission method and device, storage medium and electronic device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN118317009A (en) |
-
2024
- 2024-04-10 CN CN202410429501.5A patent/CN118317009A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
KR102569305B1 (en) | Data message detection method, device and system | |
CN110535782B (en) | Message processing method, device and system for realizing QoS guarantee | |
JP4774357B2 (en) | Statistical information collection system and statistical information collection device | |
EP2632091A1 (en) | Communication system, control apparatus, configuration method for processing rules, and program | |
CN112751733B (en) | Link detection method, device, equipment, system and switch | |
US10623278B2 (en) | Reactive mechanism for in-situ operation, administration, and maintenance traffic | |
KR100957827B1 (en) | Method for protocol recongnition and analysis in data networks | |
CN112203172B (en) | Special line opening method and device | |
CN105553876B (en) | The method and network node of Message processing | |
US20230327983A1 (en) | Performance measurement in a segment routing network | |
CN118317009A (en) | Message transmission method and device, storage medium and electronic device | |
CN116781574A (en) | In-band network telemetry method, in-band network telemetry device, in-band network telemetry equipment and storage medium | |
CN115883444A (en) | Network data transmission method, system, medium and device based on optimal path | |
CN116319468B (en) | Network telemetry method, device, switch, network, electronic equipment and medium | |
WO2023093227A1 (en) | Information collection method and apparatus, and storage medium and electronic apparatus | |
CN116016391B (en) | Message forwarding method and system based on NAT gateway | |
CN117176839B (en) | Remote measurement message transmission method, device, communication equipment and storage medium | |
CN116455994A (en) | Method and device for analyzing data packet, storage medium and electronic device | |
US6977936B1 (en) | Service detail records for layered communications protocols | |
CN118233330A (en) | Service quality detection method, device, node equipment and storage medium | |
JP3834157B2 (en) | Service attribute assignment method and network device | |
CN115720210A (en) | Method and device for encapsulating MPLS message, storage medium and electronic device | |
CN115842717A (en) | Service fault positioning method and related equipment | |
CN116016391A (en) | Message forwarding method and system based on NAT gateway | |
CN116708243A (en) | Message flow detection method and device, storage medium and electronic device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination |