CN112350844B - Method and device for data transmission - Google Patents

Method and device for data transmission Download PDF

Info

Publication number
CN112350844B
CN112350844B CN201910736136.1A CN201910736136A CN112350844B CN 112350844 B CN112350844 B CN 112350844B CN 201910736136 A CN201910736136 A CN 201910736136A CN 112350844 B CN112350844 B CN 112350844B
Authority
CN
China
Prior art keywords
information
message
network device
network equipment
function
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.)
Active
Application number
CN201910736136.1A
Other languages
Chinese (zh)
Other versions
CN112350844A (en
Inventor
李伟华
田太徐
林丽冰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN201910736136.1A priority Critical patent/CN112350844B/en
Priority to PCT/CN2020/099391 priority patent/WO2021027420A1/en
Publication of CN112350844A publication Critical patent/CN112350844A/en
Application granted granted Critical
Publication of CN112350844B publication Critical patent/CN112350844B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/06Management of faults, events, alarms or notifications
    • H04L41/0631Management of faults, events, alarms or notifications using root cause analysis; using analysis of correlation between notifications, alarms or events based on decision criteria, e.g. hierarchy, tree or time analysis
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/06Management of faults, events, alarms or notifications
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/06Management of faults, events, alarms or notifications
    • H04L41/0677Localisation of faults

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The application provides a method for data transmission. The method comprises the following steps: the network equipment obtains a first message; the network equipment determines first information corresponding to the first message, wherein the first information indicates a first stage of processing the first message by the network equipment; the network equipment stores the first information after determining the first information; after the network equipment determines the first information, the network equipment processes the first message according to the first information; after the network device processes the first message, the network device avoids sending the first message to the outside of the network device. The technical scheme provided by the application can improve the performance of fault diagnosis of the network equipment.

Description

Method and device for data transmission
Technical Field
The present application relates to the field of communications technology, and more particularly, to a method and apparatus for data transmission.
Background
In the existing network monitoring method, network equipment acquires a message, and loads data of each network element on a transmission path through which the message passes into the message, and finally carries the data to the tail end of the path, so that end-to-end network performance data is acquired, and the method can be used for measuring and evaluating network delay and network congestion conditions. However, since the packet carries a large amount of data, the data bandwidth required in the service packet is expanded, and the consumption of network bandwidth is relatively large. Meanwhile, in the end-to-end service analysis process, it is difficult to accurately locate the network equipment fault without affecting the normal service, and the performance of network equipment fault diagnosis is reduced.
Therefore, how to improve the performance of fault diagnosis of network devices is a problem to be solved.
Disclosure of Invention
The application provides a method and a device for data transmission, which can improve the performance of network equipment fault diagnosis.
In a first aspect, there is provided a method for data transmission, the method comprising: the network equipment obtains a first message; the network equipment determines first information corresponding to the first message, wherein the first information indicates a first stage of processing the first message by the network equipment; after the network equipment determines the first information, the first information is stored; after the network equipment determines the first information, the first message is processed according to the first information; after the network device processes the first message, the network device avoids sending the first message to the outside of the network device.
In the above technical solution, after determining the first information corresponding to the first message, the network device performs the first information on the obtained first message and stores the first information, so that when the network device fails, the failure can be accurately located according to the first information. In addition, the network device processes the first message according to the first information, and after the first message is processed, the first message is prevented from being sent to the outside of the network device, so that the expansion of data bandwidth is prevented, the link bandwidth is saved, and the performance of fault diagnosis of the network device is improved.
Optionally, the first message may be obtained by the network device through an ethernet interface, where the first message includes an original data message and diagnostic control information.
Optionally, the first message may also be an imaginary data message and diagnostic control information, which are configured by the central processing unit CPU and are consistent with the original data message.
Optionally, the network device may include a ternary content addressable memory, the central processing unit CPU configures the ternary content addressable memory, the configured ternary content addressable memory includes identification information consistent with an original data message and diagnostic control information, the network device obtains the original data message, the original data message passes through the ternary content addressable memory, and if the identification information of the original data message is successfully matched with the original data message, the ternary content addressable memory outputs a first message, where the first message includes the original data message and the diagnostic control information.
With reference to the first aspect, in certain possible implementation manners of the first aspect, the method further includes: the network equipment determines second information corresponding to the first message, wherein the second information indicates a second stage of processing the first message by the network equipment, and the second stage is later than the first stage; after determining the second information, the network device stores the second information; the network equipment stores third information, wherein the third information indicates that the stage corresponding to the second information is later than the stage corresponding to the first information; the network device processes the first message according to the first information, including: the network device processes the first message according to the first information and the second information.
The first information and the second information may be information pre-stored in the network device.
As an example, the first information and the second information may be information included in a computer program stored in the network device, or may be information included in a non-computer program (e.g., a forwarding table) stored in the network device, where the network device may be a router or a switch, and the forwarding table may be a router or a Medium Access Control (MAC) table.
With reference to the first aspect, in some possible implementation manners of the first aspect, the processing, by the network device, the first packet according to the first information and the second information includes: the network device determining a first action by looking up at least two tables, the at least two tables comprising a first table and a second table, the second table being a next table to the first table; and the network device executes the first action on the first message; the first information is an identifier of the first table, the second information is an identifier of the second table, and the third information is used for indicating that the second table corresponding to the second information is a next table of the first table corresponding to the first information.
With reference to the first aspect, in some possible implementation manners of the first aspect, the processing, by the network device, the first packet according to the first information and the second information includes: the network device determining a first action by executing at least two functions, the at least two functions including a first function and a second function, the second function being a next function to the first function; and the network device executes the first action on the first message; the first information is an identifier of the first function, the second information is an identifier of the second function, and the third information is used for indicating that the second function corresponding to the second information is a next function of the first function corresponding to the first information.
With reference to the first aspect, in certain possible implementation manners of the first aspect, before determining the first action by the network device by looking up at least two tables, the method further includes: the network device determines a second table according to the search result of the first table and the first message.
After the network device obtains the first message, the network device processes the data message in the first message, performs table lookup processing on the data message, obtains table entry return information, further processes the information through at least two functions, obtains a function output result, performs sampling processing on the output result according to the diagnosis control information in the first message to obtain first information, and stores the first information.
Alternatively, the first information may include identification information of at least two tables searched by the data message and input parameters of the processed function. Wherein, the identification information of the table can know the forwarding path of the data message. When the network equipment fails, the failure can be accurately positioned according to the identification information of the table in the first information and the input parameters of the function, so that the failure diagnosis performance of the network equipment is improved.
With reference to the first aspect, in some possible implementations of the first aspect, the first packet includes an identification of a port, a first type, and a first packet header; the network device processes the first message, including: the network equipment determines a computer program corresponding to the port according to the identification of the port; the network equipment processes the first message header by executing a computer program corresponding to the port, and a plurality of pieces of information are obtained by processing the first message header, wherein the pieces of information comprise the first information; the network device stores the first information according to the first type, wherein the first information belongs to the first type.
The data message in the first message is subjected to table lookup and function processing, the processed data message is processed according to the diagnosis control information in the first message to obtain corresponding first information, and the first information is stored in a memory.
With reference to the first aspect, in some possible implementation manners of the first aspect, the first packet further includes first indication information, where the first indication information is used to instruct the network device to determine, according to an identifier of a port, a computer program corresponding to the port; the first indication information is also used for indicating the network equipment to store the first information according to the first type.
With reference to the first aspect, in some possible implementation manners of the first aspect, the first indication information is further used to instruct the network device to avoid sending the first packet to an outside of the network device.
After determining the first information corresponding to the first message, the network device stores the first information and processes the first message according to the first information. At the exit of the network device, it is necessary to determine whether to send the data packet to the outside of the network device. If the data message is an original data message, discarding diagnosis control information by the first message, and sending the original data message to the outside of the network equipment; if the data message is a fictitious data message, the first message cannot be sent to the outside of the network device. Thereby avoiding causing expansion of data bandwidth and saving link bandwidth.
In a second aspect, there is provided an apparatus for data transmission, the apparatus comprising: the acquisition unit is used for acquiring a first message; the processing unit is used for determining first information corresponding to the first message, wherein the first information indicates a first stage of processing the first message by the network equipment; the processing unit is further used for storing the first information after determining the first information; the processing unit is further used for processing the first message according to the first information after the first information is determined; the processing unit is further configured to avoid sending the first message to the outside of the network device after processing the first message.
With reference to the second aspect, in some possible implementations of the second aspect, the processing unit is further configured to: determining second information corresponding to the first message, wherein the second information indicates a second stage of processing the first message by the network equipment, and the second stage is later than the first stage; after determining the second information, saving the second information; storing third information, wherein the third information indicates that the stage corresponding to the second information is later than the stage corresponding to the first information; the processing unit is specifically used for: and processing the first message according to the first information and the second information.
With reference to the second aspect, in certain possible implementations of the second aspect, the processing unit is specifically configured to: determining a first action by looking up at least two tables, the at least two tables comprising a first table and a second table, the second table being a next table to the first table; and executing the first action on the first message; the first information is an identifier of the first table, the second information is an identifier of the second table, and the third information is used for indicating that the second table corresponding to the second information is a next table of the first table corresponding to the first information.
With reference to the second aspect, in certain possible implementations of the second aspect, the processing unit is specifically configured to: determining a first action by executing at least two functions, the at least two functions including a first function and a second function, the second function being a next function to the first function; and executing the first action on the first message; the first information is an identifier of the first function, the second information is an identifier of the second function, and the third information is used for indicating that the second function corresponding to the second information is a next function of the first function corresponding to the first information.
With reference to the second aspect, in some possible implementations of the second aspect, the processing unit is further configured to: and determining the second table according to the searching result of the first table and the first message.
With reference to the second aspect, in some possible implementations of the second aspect, the processing unit is further configured to: and determining a second table according to the search result of the first table and the first message.
With reference to the second aspect, in some possible implementations of the second aspect, the first packet includes an identification of a port, a first type, and a first header; the processing unit is specifically used for: determining a computer program corresponding to the port according to the identification of the port; processing the first message header by executing a computer program corresponding to the port, wherein a plurality of pieces of information are obtained by processing the first message header, and the plurality of pieces of information comprise the first information; according to the first type, the first information is stored, and the first information belongs to the first type.
With reference to the second aspect, in some possible implementation manners of the second aspect, the first packet further includes first indication information, where the first indication information is used to instruct the network device to determine, according to an identifier of a port, a computer program corresponding to the port; the first indication information is also used for indicating the network equipment to store the first information according to the first type.
With reference to the second aspect, in some possible implementations of the second aspect, the first indication information is further used to instruct the network device to avoid sending the first packet to an outside of the network device.
In a third aspect, a network device is provided that includes a processor and a memory. The memory is for storing a computer program and the processor is for calling and running the computer program stored in the memory for causing the network device to perform the method of the first aspect or any of the possible implementation manners of the first aspect.
Optionally, the network device further comprises a transceiver. Further optionally, the processor is one or more. The memory is one or more.
Alternatively, the memory may be integrated with the processor or separate from the processor.
The transceiver may include a receiver and/or a transmitter.
In a fourth aspect, the present application provides a system for data transmission, the system comprising a network device according to the third aspect.
In a fifth aspect, the present application provides a computer readable medium storing a computer program comprising instructions for performing the method of the first aspect or any possible implementation of the first aspect.
In a sixth aspect, there is provided a chip having instructions stored therein which, when run on a receiving device, cause the chip to perform the method of the first aspect or any of the possible implementations of the first aspect.
Optionally, the chip further comprises a memory, and the memory is connected with the processor through a circuit or a wire.
Further optionally, the chip further comprises a communication interface.
In a seventh aspect, there is provided a computer program product comprising: computer program code which, when run by a communication unit or communication interface, and a processing unit or processor of a receiving apparatus, causes the transmitting apparatus to perform the method of the first aspect or any of the possible implementations of the first aspect.
Drawings
FIG. 1 shows a forwarding schematic of INT/IOAM;
FIG. 2 illustrates a architecture diagram suitable for use in embodiments of the present application;
fig. 3 is a schematic flow chart of a method for data transmission provided by an embodiment of the present application;
FIG. 4 is a schematic diagram of a format of a first message;
FIG. 5 shows a schematic block diagram of obtaining first information provided by an embodiment of the present application;
FIG. 6 illustrates another architecture diagram suitable for use with embodiments of the present application;
FIG. 7 illustrates yet another architecture diagram suitable for use with embodiments of the present application;
FIG. 8 is a schematic block diagram of an apparatus for data transmission of the present application;
fig. 9 is a schematic block diagram of a network device for data transmission of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly described below with reference to the drawings in the embodiments of the present application. It will be apparent that the embodiments described are some, but not all, of the embodiments of the present application. Based on the embodiments herein, other embodiments may be made by those of ordinary skill in the art without undue burden.
Typical related art currently used for network device monitoring is intranet telemetry/in-band operation management maintenance (intranet telemetry/in-band in-band operation, administration and maintenace, INT/IOAM). FIG. 1 shows a forwarding schematic of INT/IOAM. As shown in fig. 1, the initial message is composed of a transport header (transport header) and a payload (payload). In the process of traffic stream transmission, the INT/IOAM loads the data of each node on all the paths passing through in an initial message, and sends the data to the next node until the data of the end nodes of the paths are loaded in the initial message. For example, in fig. 1, the transmission path of the initial message is node a-node B-node E. After the initial message passes through the node A, the data 0 of the node A is loaded in the initial message to form a new message, and the generated new message is transmitted to the node B. Data 1 of the node B is carried in a message received by the node B and transmitted to the node E. The data 2 of node E is carried in this message. Node E is the end node. And the node E sends a new message carrying the data of the node A, the node B and the node E to the INT/IOAM system for data processing.
The initial message carries the data of the path traversed. In particular, it may be data of nodes on the path. When the nodes of the path are more or the size of the data is too large, the size of the message transmitted on the path is larger. Larger size messages require larger data bandwidth. The bandwidth consumption is increased. In addition, in the process of traffic flow transmission, when a network fails, the failure needs to be accurately positioned. The prior art provides a means to obtain forwarding behavior in a single step run. The single-step operation is based on a mechanism of instruction operation to gradually collect forwarding data and perform service positioning. At single step operation, normal traffic may be rendered unmanageable. Thereby causing a normal service interruption.
In view of this, the embodiments of the present application provide a method for data transmission, which can improve the performance of fault diagnosis of network devices.
Fig. 2 shows a schematic diagram suitable for use in embodiments of the present application. As shown in fig. 2, the trigger source triggers diagnosis for a specific service, generates diagnosis control information capable of controlling the network device to process a service to be diagnosed, and transmits the control information to be diagnosed to a subsequent processing unit. Each stage of processing unit includes a diagnostic module for identifying the diagnostic indication. And when the service is normally performed, data acquisition is performed on the service to be diagnosed through a data bus bypass according to the diagnosis control information. The data acquired at each stage is stored in a diagnostic data store. And carrying out fault analysis according to the collected service data to be diagnosed. By collecting data in the data bus bypass, the influence on the normal service caused by interruption can be reduced at the same time of fault diagnosis.
Fig. 3 is a schematic flow chart of a method 300 for data transmission provided in an embodiment of the present application. The method 300 is applicable to an architecture as shown in fig. 2. The method 300 includes steps S310 to S350, and each step in the method 300 will be described in detail below.
S310, the network device obtains a first message.
Before performing fault diagnosis on the network device, the network device obtains a first message, where the network device may be a router, a network switch, a firewall, a load balancer, and the embodiment of the present application is not limited to this.
In one possible implementation, the first message is composed of two parts, an original data message and diagnostic control information. As shown in fig. 2, the external port of the network device receives the original data message. The original data message received by the external port enters a trigger source, and the trigger source generates diagnosis control information aiming at specific service, so that the first message is obtained after the original data message passes through the trigger source.
It should be noted that the trigger source is a component in the network device, which may be a ternary content addressable memory (ternary content addressable memory, TCAM) mentioned below, or a program solidified in the central processing unit (central processing unit, CPU) for initiating the monitoring, and triggering the sending of the message by the user.
Fig. 4 shows the format of the first message. As shown in fig. 4, the first packet includes four parts, namely an Ethernet (ETH) header, a control header (control header), a packet header (packet header), and a packet payload (packet payload), where the control header and the packet header are parts that must be carried, and the ETH header and the packet payload (packet payload) are optional.
For example, when the first message is sent to the network device through the ETH link, the first message needs to carry the ETH header in front of the control header. It will be appreciated that when the first message does not need to be sent to the network device over the ETH link, the first message does not need to carry the ETH header.
The control header includes diagnostic control information for controlling a diagnostic module in the network device to process the data message in the first message. The diagnosis control information comprises diagnosis indication information and is used for identifying data to be diagnosed by the network equipment and starting data acquisition processing of service to be diagnosed. For example, when the diagnosis instruction information is 1, the data collection processing for the service to be diagnosed is started, and when the diagnosis instruction information is 0, the data collection processing for the service to be diagnosed is not started.
It should be understood that the above method for starting the data acquisition processing of the first message according to the diagnostic indication information is only for convenience of description, and other manners of indicating the diagnostic information are also possible, so long as whether to start the data acquisition processing of the first message can be accurately indicated, which is not limited in the embodiment of the present application.
Optionally, the control header of the first packet further includes first indication information, that is, forwarding base information, for the network device to perform service classification. For example, the first indication information may include information of a source port, a forwarding domain, and the like.
Optionally, the control header of the first message further includes a first type, i.e. a data type, for indicating what data the network device collects. Wherein, different data types correspond to different collected data information. For example, the data types in the first message are classified into entry class forwarding data, processing data 1 and processing data 2. When the data type is 1, the data is forwarded by the collection table item class, when the data type is 2, the collection processing data is 1, when the data type is 3, the collection processing data is 2, or when the data type is 0, the collection of all types of data in the first message is shown.
It should be noted that the method for indicating the network device to collect the corresponding type of data by using the data type information is only for convenience of description, and other indicating manners are also possible, so long as it is able to clearly indicate what type of data is collected, which is not limited in the embodiment of the present application.
S320, the network device determines first information corresponding to the first message, where the first information indicates a first stage of processing the first message by the network device.
The first stage of processing the first message by the network device may be understood as a first processing of the first message by the network device, for example, the first message searches the first table, etc.
Optionally, the network device determines the first information according to port information of the received first message. For example, the network device determines a computer program corresponding to the first message according to the port information included in the first message, where the computer program includes the first information.
Or, the network device determines the first information according to the field in the first message. For example, the network device searches the routing table according to the destination IP address in the first message, and obtains a table entry matched with the destination IP address, where the matching table entry includes the first information.
And S330, after the network equipment determines the first information, the network equipment stores the first information.
After the network device determines the first information corresponding to the first message, the first information is stored in the memory.
S340, the network device processes the first message according to the first information after determining the first information.
As shown in fig. 2, the network device comprises at least one inlet duct inside, e.g. inlet duct 1, inlet duct 2. And after the network equipment obtains the first message, processing the original data message in the first message according to the determined first information.
In addition, the network device determines second information corresponding to the first message, wherein the second information indicates a second stage of processing the first message by the network device, and the second stage is later than the first stage. The network device stores the second information after determining the second information.
The first information and the second information may be information pre-stored in the network device.
As an example, the first information and the second information may be information included in a computer program stored in the network device, or may be information included in a non-computer program (e.g., a forwarding table) stored in the network device, where the network device may be a router or a switch, and the forwarding table may be a router or a Medium Access Control (MAC) table.
Optionally, the network device may further store third information, where the third information indicates that a stage corresponding to the second information is later than a stage corresponding to the first information, which is not limited in the embodiment of the present application.
For example, after the original data packet enters the network device, at least two tables are searched, where the at least two tables include a first table and a second table, and the second table is the next table of the first table, and determines the first action. And executing a first action on the original data message. The first action may include deleting a header in the first message, deleting at least one field in the first header in the first message, calculating a checksum (checksum) of the first message, subtracting one from a Time To Live (TTL) value of the first message, adding a header in the first message, or determining a physical output port or a logical output port of the first message. The first information is an identification of the first table, the second information is an identification of the second table, and the third information is used for indicating that the second table corresponding to the second information is a next table of the first table corresponding to the first information.
Optionally, after the network device obtains the first message, determining a first table searched by the first message according to the port identification information included in the first message, obtaining the table entry data after the first table is searched, and determining a second table searched by the first message according to the table entry data returned by the first table and the entry information of the first message by the network device.
Assuming that the chip includes four tables A, B, C, D, when the network device receives the first message, the network device needs to determine the forwarding paths of the first message in the four tables, that is, whether the forwarding paths of the first message in the chip are a-B-C-D or a-C-B-D. The network equipment firstly determines a first table searched by the first message as a table A according to port identification information included in the first message, then determines the next table of the table A as a table B according to the table item data returned after the first message is searched by the first message (namely the table A) and the port identification information of the first message, and so on, the next table of the table B is a table C, and the next table of the table C is a table D, so that the table searching sequence of the first message in a chip is determined to be A-B-C-D. The network device stores the identification information (i.e., the first information and the second information) of the table of the first message lookup table in the table lookup process, so as to indicate the path of the network device for processing the first message. When the chip fails, the forwarding path of the first message in the chip can be clearly known according to the stored first information, so that the accurate positioning of the failure is realized.
Optionally, after the original data packet returns the table entry information through table lookup, the table entry data is further processed through at least two functions to obtain the execution results of the at least two functions. The network device determines a first action by executing at least two functions, the at least two functions including a first function and a second function, the second function being a next function to the first function; the network equipment executes the first action on the first message; the first information is an identifier of the first function, the second information is an identifier of the second function, and the third information is used for indicating that the second function corresponding to the second information is a next function of the first function corresponding to the first information.
After the processed original data message is obtained, in order not to influence the normal transmission of the data message, the processed original data message is transmitted between each stage of inlet pipelines in the network equipment through a data bus, and meanwhile, the diagnosis module of the network equipment processes the processed data message according to the diagnosis control information in the first message to obtain first information, namely, the diagnosis module is suspended on each stage of data bus, the network equipment collects data of the service to be diagnosed according to the diagnosis control information, and the processing process of normal service data is monitored by additionally adding a part of processing while not occupying the processing bandwidth of the normal service data, so that fault diagnosis is realized while normal service is not influenced.
Fig. 5 shows a schematic block diagram of obtaining first information provided by an embodiment of the present application. As shown in fig. 5, the data type of the processed original data packet includes entry return data, machining data 1 to machining data n (n is a positive integer greater than or equal to 1), the diagnostic control information includes data type information (i.e., a first type) and acquisition indication information, where the acquisition indication information indicates whether data acquisition is performed, for example, when the acquisition indication information flag bit is 1, it indicates that data acquisition is required; when the acquisition indication information flag bit is 0, the data acquisition is not needed.
When the acquisition indication information flag bit in the diagnosis control information is 1, the network equipment acquires corresponding data in the processed original data message according to the data type in the diagnosis control information. For example, a data type 1 entry returns data, a data type 2 entry returns data (e.g., data processed by a function), or a data type 0 entry returns all types of data.
And the network equipment acquires the first information after the data acquisition according to the diagnosis control information is completed. The first information comprises a collected data type, and indicates which type of data is currently collected; when the network device comprises a multi-stage diagnosis module, the first information also comprises an acquisition address, which is used for indicating which stage of diagnosis module the currently acquired data is acquired.
Alternatively, when the diagnostic module has only one stage, the acquisition address may not be included in the first information.
In the above technical solution, the type, the length, the value (TLV) of the collected data type are defined in the diagnostic control information, and when the network device performs data collection on the processed original data message according to the diagnostic control information, when all data of the service to be diagnosed need to be analyzed, different types of data can be collected each time in an iterative manner until all the types of data are collected, thereby reducing consumption of a memory and reducing implementation cost of fault diagnosis.
In order to avoid influencing normal business processing during fault analysis, the data acquisition can be performed on the processed original data message through a data bus bypass.
Optionally, in some possible implementations, the first information may include an identifier of the first table, and the second information includes an identifier of the second table, so that when the network device fails, it is easy to clearly know which tables the first message passes through in the forwarding process, which is beneficial to fault location.
For example, the network device uses a first field in the first message as a lookup key, and looks up whether an entry matching the first field exists in the lookup table. If the table searched by the network device has an entry matched with the first field in the first message, the first information includes an identifier of the first entry, where the first entry is an entry matched with the first field in the first message. If the table searched by the network device does not have the table item matched with the first field in the first message, the first information comprises the identification of the lookup table. When the network equipment fails, accurate fault positioning can be performed according to the identification of the first table item in the first information or the identification of the lookup table, so that the performance of fault diagnosis of the network equipment is improved.
Optionally, in some possible implementations, when the network device stores the lookup table and the verification table for verifying the lookup table, the content of the verification table is consistent with the content of the lookup table. When the memory storing the lookup table fails, the contents of the lookup table stored on the memory may change. For example, the matching field of the unchanged first entry may not be equal to the matching field of the changed first entry. Taking the first table entry as an example, when the network device determines that the changed table entry matches the first field, the network device may use the verification table to verify whether the first table entry is changed. If the first table item changes as a result of verification, the memory can be determined to be faulty, and at this time, the first information can also include the identification of the first table item and information for indicating that the memory is faulty. When the network equipment fails, the memory can be determined to fail and the failure can be accurately positioned according to the identification of the first table item in the first information and the information indicating the failure of the memory, so that the performance of the network equipment failure diagnosis is improved.
Optionally, in some possible implementations, the first packet further includes first indication information, where the first indication information is used to instruct the network device to determine, according to the port identifier, a computer program corresponding to the port.
For example: the network equipment is instructed to acquire a destination medium access control (media access control, MAC) address from the Ethernet frame header, the network equipment is instructed to search a matched table entry in the MAC table by taking the destination MAC address as a search key, and information of a port or information of a next hop is instructed to be acquired from the matched table entry.
When the computer program for processing the ethernet frame may include a computer program for processing an IP packet, the first indication information is further used to instruct the network device to obtain a destination IP address from the IP header, instruct the network device to search for a matching table entry in the routing table with the destination IP address as a search key, and obtain information of the port or information of a next hop from the matching table entry.
Optionally, in some possible implementations, the first information may further include an input parameter. For example, when the network device performs at least two functions, wherein the at least two functions comprise a first function and a second function, wherein the first parameter is obtained by the network device performing the first function, the first parameter is an input parameter used by the network device performing the second function. The input parameters of each function are stored in the first information, and when the network equipment fails, whether the function is executed correctly or not can be judged according to the input parameters, so that the failure is accurately positioned, and the failure diagnosis performance of the network equipment is improved.
The network device may be, for example, a router. The router includes a network processor and a memory. The memory stores a computer program. The network processor may process the original data message by executing the computer program. In particular, the computer program comprises the first function and the second function. In one possible design, the original data message is an ethernet frame. The ethernet frame and frame check sequence (frame check sequence, FCS) field is received by the router. The first function is used for calculating an FCS number according to the Ethernet frame. The first parameter is FCS number. The second function is used for determining whether the Ethernet frame is in error in the transmission process according to the number contained in the FCS domain and the FCS number calculated according to the first function. When the number contained in the FCS field is equal to the FCS number calculated according to the first function, it is determined that the ethernet frame has no error. And when the number contained in the FCS domain is not equal to the FCS number calculated according to the first function, determining that the Ethernet frame is in error.
S350, after the network equipment processes the first message, the network equipment avoids sending the first message to the outside of the network equipment.
After the network device processes the original data message in the first message, in order to avoid causing expansion of the data bandwidth and save the link bandwidth, the network device may instruct the network device to avoid sending the diagnostic control information in the first message to the outside of the network device according to the first instruction information before the exit pipeline of the terminal device.
Optionally, a 1-bit (bit) field is reserved in the control header of the first packet to indicate whether the data packet in the first packet is a real data packet or an imaginary data packet. For example, when the first indication information flag bit is 1, it indicates that the original data packet is a real data packet, and the network device needs to forward the original data packet to an external interface through an egress pipe; when the first indication information flag bit is 0, the data message is an imaginary data message, and the network device does not need to send the imaginary data message to the outside of the network device.
Fig. 6 illustrates another architecture diagram suitable for use in embodiments of the present application. As shown in fig. 6, the trigger source may be a data message consistent with the original data message, constructed by a controller (e.g., central processing unit (central processing unit, CPU)) and directly plugged into the chip. At this time, S310 may be configured by the controller for the first packet, where the first packet includes the imaginary data packet and the diagnostic control information configured by the controller to be consistent with the original data packet.
In the data message format diagram shown in fig. 4, the header of the fictitious data message is consistent with the header of the original data message, for example, the fictitious data message has the same MAC information, the same internet protocol (internet protocol, IP) quintuple information, and the like as the original data message.
The first message constructed by the controller enters the network device for processing, and the specific processing procedure can refer to steps S320 to S350, which are not repeated here.
It should be noted that, in the architecture diagram shown in fig. 6, the data packet in the first packet is a fictitious data packet, so that the fictitious data packet and the diagnostic control information need to be discarded at the exit of the network device, for example, the network device deletes the fictitious data packet and the diagnostic control information and does not need to be sent to the outside of the network device, thereby avoiding causing expansion of data bandwidth and saving link bandwidth.
Fig. 7 illustrates yet another architecture diagram suitable for use with embodiments of the present application. As shown in fig. 7, the trigger source may be a ternary content addressable memory (ternary content addressable memory, TCAM) disposed on an ingress data channel of the network device. The TCAM may be configured by a CPU, for example, which configures identification information (IP, MAC, etc.) consistent with the original data message and diagnostic control information to the TCAM.
At this time, S310 may be that, when the data packet enters the TCAM, if the data packet is successfully matched with the identification information of the data packet in the TCAM, the data packet and the diagnostic control information form a first packet, and the first packet enters the network device for processing. The specific processing procedure can be seen in steps S320 to S350, and will not be described here again.
It should be noted that, in the embodiment of the present application, the form of the trigger source is merely illustrative, and the embodiment of the present application is not limited thereto, as long as the trigger source can trigger diagnosis for a specific service and generate satisfactory diagnosis control information.
The method for data transmission according to the embodiment of the present application is described in detail above with reference to fig. 1 to 7. Hereinafter, an apparatus for data transmission according to an embodiment of the present application will be described in detail with reference to fig. 8.
As shown in fig. 8, the apparatus 800 includes an acquisition unit 810 and a processing unit 820.
The obtaining unit 810 is configured to obtain a first message.
Optionally, the first message includes three different forms of the first message shown in fig. 2, fig. 6, and fig. 7 in the embodiment of the present application.
The processing unit 820 is configured to determine first information corresponding to the first packet, where the first information indicates a first stage in processing the first packet by the network device;
The processing unit 820 is further configured to save the first information after determining the first information;
the processing unit 820 is further configured to process the first message according to the first information after determining the first information;
the processing unit 820 is further configured to avoid sending the first message to the outside of the network device after processing the first message.
Optionally, the processing unit 820 is further configured to determine second information corresponding to the first packet, where the second information indicates a second stage of processing the first packet by the network device, and the second stage is later than the first stage;
optionally, the processing unit 820 is further configured to save the second information after determining the second information;
the first information and the second information may be information pre-stored in the network device.
As an example, the first information and the second information may be information included in a computer program stored in the network device, or may be information included in a non-computer program (e.g., a forwarding table) stored in the network device, where the network device may be a router or a switch, and the forwarding table may be a router or a Medium Access Control (MAC) table.
Optionally, the processing unit 820 is further configured to store third information, where the third information indicates that a phase corresponding to the second information is later than a phase corresponding to the first information;
Optionally, the processing unit 820 is further specifically configured to process the first message according to the first information and the second information.
Optionally, the processing unit 820 is specifically configured to find at least two tables, and determine the first action, where the at least two tables include a first table and a second table, and the second table is a table next to the first table; executing the first action on the first message; the first information is an identifier of the first table, the second information is an identifier of the second table, and the third information is used for indicating that the second table corresponding to the second information is a next table of the first table corresponding to the first information.
For example, processing unit 820 may be a network processor. The at least two tables are stored in a memory coupled to the network processor. In one possible design, the original data message may be an Ethernet frame. The original data message includes an ethernet frame header and a payload. The ethernet frame header includes an ethernet type (EtherType) field. The first table is used to determine whether the payload contains an internet protocol fourth version (Internet Protocol version, ipv 4) message. The matching field of the first table includes 0x0800. The action field of the first table includes an identification of the second table. The identification of the second table may be a memory address of the second table. The second table is used to determine the next hop of the IPv4 message. The matching field of the second table includes an IPv4 prefix and the action field of the second table includes the address of the next hop. The network processor takes the value of the EtherType field in the Ethernet frame header as a search key, and determines an item matched with the Ethernet frame in the first table. When the value of the EtherType field is 0x0800, the network processor determines that the payload contains an IPv4 message. And the network processor determines the next table as the second table according to the first table. Further, the network processor obtains a destination IP address from the payload. And searching a table item matched with the IPv4 message in the second table by taking the destination IP address as a searching keyword. When the destination IP address matches the IPv4 prefix, the network processor determines a next hop corresponding to the IPv4 message.
Optionally, the processing unit 820 is further specifically configured to determine the first action by executing at least two functions, including a first function and a second function, the second function being a function next to the first function; and executing the first action on the first message; the first information is an identifier of the first function, the second information is an identifier of the second function, and the third information is used for indicating that the second function corresponding to the second information is a next function of the first function corresponding to the first information.
Optionally, the processing unit is further configured to: and determining the second table according to the search result of the first table and the first message.
Optionally, after the network device obtains the first message, determining a first table searched by the first message according to the port identification information included in the first message, obtaining the table entry data after the first table is searched, and determining a second table searched by the first message according to the table entry data returned by the first table and the entry information of the first message by the network device.
Assuming that the chip includes four tables A, B, C, D, when the network device receives the first message, the network device needs to determine the forwarding paths of the first message in the four tables, that is, whether the forwarding paths of the first message in the chip are a-B-C-D or a-C-B-D. The network equipment firstly determines a first table searched by the first message as a table A according to port identification information included in the first message, then determines the next table of the table A as a table B according to the table item data returned after the first message is searched by the first message (namely the table A) and the port identification information of the first message, and so on, the next table of the table B is a table C, and the next table of the table C is a table D, so that the table searching sequence of the first message in a chip is determined to be A-B-C-D. The network device stores the identification information (i.e., the first information and the second information) of the table of the first message lookup table in the table lookup process, so as to indicate the path of the network device for processing the first message. When the chip fails, the forwarding path of the first message in the chip can be clearly known according to the stored first information, so that the accurate positioning of the failure is realized.
Optionally, the first message includes an identification of the port, a first type, and a first header. The processing unit 820 is further specifically configured to determine, according to the identification of the port, a computer program corresponding to the port; processing the first message header by executing a computer program corresponding to the port, wherein a plurality of pieces of information are obtained by processing the first message header, and the plurality of pieces of information comprise the first information; according to the first type, the first information is stored, and the first information belongs to the first type.
Optionally, the first message further includes first indication information, where the first indication information is used to instruct the network device to determine, according to the identifier of the port, a computer program corresponding to the port; the first indication information is also used for indicating the network equipment to store the first information according to the first type.
Optionally, the first indication information is further used to instruct the network device to avoid sending the first message to the outside of the network device.
It will be clearly understood by those skilled in the art that, for convenience and brevity of description, the specific working procedures of the apparatus and units described above may refer to the corresponding procedures in the foregoing method embodiments, and are not repeated herein.
According to the device of the embodiment of the application, after the first information corresponding to the first message is determined, the network equipment stores the first information and processes the first message according to the first information. The first information is used for analyzing network equipment faults. In addition, after the network equipment processes the first message, the expansion of the data bandwidth is avoided, the link bandwidth is saved, and the performance of fault diagnosis of the network equipment is improved.
Fig. 9 is a schematic diagram of a network device according to the present application. As shown in fig. 9, the network device 900 includes a memory 901, a transceiver 903, and a processor 902. Wherein the transceiver 903, the processor 902 and the memory 901 are connected through the bus system 905, the memory 901 is configured to store instructions, and the processor 902 is configured to execute the instructions stored in the memory 901, so as to control the transceiver 903 to receive or transmit signals.
It will be clearly understood by those skilled in the art that, for convenience and brevity of description, the specific working procedures of the apparatus and units described above may refer to the corresponding procedures in the foregoing method embodiments, and are not repeated herein.
The present application also provides a computer readable storage medium having instructions stored therein which, when executed on a computer, cause the computer to perform the steps performed by the network device in the method described above and illustrated in fig. 3.
The present application also provides a computer program product comprising instructions which, when run on a computer, cause the computer to perform the steps performed by a network device in a method as shown in fig. 3.
The application also provides a chip comprising a processor. The processor is configured to read and execute the computer program stored in the memory to perform the corresponding operations and/or procedures performed by the terminal device in the communication method provided in the present application. Optionally, the chip further comprises a memory, the memory is connected with the processor through a circuit or a wire, and the processor is used for reading and executing the computer program in the memory. Further optionally, the chip further comprises a communication interface, and the processor is connected to the communication interface. The communication interface is used for receiving data and/or information to be processed, and the processor acquires the data and/or information from the communication interface and processes the data and/or information. The communication interface may be an input-output interface.
It should be understood that, in various embodiments of the present application, the sequence numbers of the foregoing processes do not mean the order of execution, and the order of execution of the processes should be determined by the functions and internal logic thereof, and should not constitute any limitation on the implementation process of the embodiments of the present application.
In the above embodiments, the processor may be a central processing unit (central processing unit, CPU), a microprocessor, an application-specific integrated circuit (ASIC), or one or more integrated circuits for controlling the execution of the program in the present application. For example, the processor may be a digital signal processor device, a microprocessor device, an analog to digital converter, a digital to analog converter, or the like. The processor may allocate the functions of control and signal processing of the terminal device or the network device among the devices according to the respective functions of the devices. Further, the processor may have the function of operating one or more software programs, which may be stored in the memory. The functions of the processor may be implemented by hardware, or may be implemented by hardware executing corresponding software. The hardware or software includes one or more modules corresponding to the functions described above.
The memory may be read-only memory (ROM), other types of static storage devices that can store static information and instructions, random access memory (random access memory, RAM) or other types of dynamic storage devices that can store information and instructions, electrically erasable programmable read-only memory (electrically erasable programmable read-only memory, EEPROM), compact disc read-only memory (compact disc read-only memory) or other optical disk storage, optical disk storage (including compact disc, laser disc, optical disc, digital versatile disc, blu-ray disc, etc.), magnetic disk storage media, or any other magnetic storage device that can be used to carry or store desired program code in the form of instructions or data structures and that can be accessed by a computer, etc.
Alternatively, the memories referred to in the above embodiments may be physically separate units, or the memories may be integrated with the processor.
In the embodiments of the present application, "at least one" means one or more, and "a plurality" means two or more. "and/or", describes an association relation of association objects, and indicates that there may be three kinds of relations, for example, a and/or B, and may indicate that a alone exists, a and B together, and B alone exists. Wherein A, B may be singular or plural. The character "/" generally indicates that the context-dependent object is an "or" relationship. "at least one of the following" and the like means any combination of these items, including any combination of single or plural items. For example, at least one of a, b and c may represent: a, b, c, a-b, a-c, b-c, or a-b-c, wherein a, b, c may be single or plural.
Those of ordinary skill in the art will appreciate that the various elements and algorithm steps described in the embodiments disclosed herein can be implemented as a combination of electronic hardware, computer software, and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
It will be clear to those skilled in the art that, for convenience and brevity of description, specific working procedures of the above-described systems, apparatuses and units may refer to corresponding procedures in the foregoing method embodiments, and are not repeated herein.
In several embodiments provided in the present application, the disclosed systems, apparatuses, and methods may be implemented in other manners. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of units is merely a logical function division, and other manners of division may be implemented in practice. For example, multiple units or components may be combined or may be integrated into another system, or some features may be omitted, or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed with each other may be an indirect coupling or communication connection via some interfaces, devices or units, which may be in electrical, mechanical or other form.
The units described as separate units may not be physically separate, and units shown as units may not be physical units, may be located in one place, or may be distributed over a plurality of network units. Some or all units in the system can be selected according to actual needs to achieve the purpose of the technical scheme.
In addition, each functional unit in each embodiment of the present application may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit.
The functions, if implemented in the form of software functional units and sold or used as a stand-alone product, may be stored in a computer-readable storage medium. Based on such understanding, the technical solution of the present application may be embodied essentially or in a part contributing to the prior art or in a part of the technical solution, in the form of a software product stored in a storage medium, including several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the methods described in the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a read-only memory (ROM), a random access memory (random access memory, RAM), a magnetic disk, or an optical disk, or other various media capable of storing program codes.
The foregoing is merely specific embodiments of the present application, and any person skilled in the art may easily conceive of changes or substitutions within the technical scope of the present application, which should be covered by the protection scope of the present application. The protection scope of the present application shall be subject to the protection scope of the claims.

Claims (16)

1. A method for data transmission, comprising:
the network equipment obtains a first message;
the network equipment determines first information corresponding to the first message, wherein the first information indicates a first stage of processing the first message by the network equipment;
after the network equipment determines the first information, the first information is stored;
after the network equipment determines the first information, the network equipment processes the first message according to the first information;
after the network equipment processes the first message, the network equipment avoids sending the first message to the outside of the network equipment;
the method further comprises the steps of:
the network equipment determines second information corresponding to the first message, wherein the second information indicates a second stage of processing the first message by the network equipment, and the second stage is later than the first stage;
after the network equipment determines the second information, the second information is stored;
the network equipment stores third information, wherein the third information indicates that the stage corresponding to the second information is later than the stage corresponding to the first information;
The network device processes the first message according to the first information, including:
and the network equipment processes the first message according to the first information and the second information.
2. The method of claim 1, wherein the network device processing the first message according to the first information and the second information comprises:
the network device determines a first action by looking up at least two tables, the at least two tables including a first table and a second table, the second table being a next table to the first table; and
the network equipment executes the first action on the first message; wherein,
the first information is an identifier of the first table, the second information is an identifier of the second table, and the third information is used for indicating that the second table corresponding to the second information is a next table of the first table corresponding to the first information.
3. The method of claim 1, wherein the network device processing the first message according to the first information and the second information comprises:
the network device determining a first action by executing at least two functions, the at least two functions including a first function and a second function, the second function being a next function to the first function; and
The network equipment executes the first action on the first message; wherein,
the first information is an identification of the first function, the second information is an identification of the second function, and the third information is used for indicating that the second function corresponding to the second information is a next function of the first function corresponding to the first information.
4. The method of claim 2, wherein the network device determines the first action by looking up at least two tables, the method further comprising:
and the network equipment determines the second table according to the search result of the first table and the first message.
5. The method according to any one of claims 1 to 4, wherein the first message comprises an identification of a port, a first type and a first header;
the network device processes the first message according to the first information, including:
the network equipment determines a computer program corresponding to the port according to the identification of the port;
the network equipment processes the first message header by executing a computer program corresponding to the port, and a plurality of pieces of information are obtained by processing the first message header, wherein the pieces of information comprise the first information;
And the network equipment stores the first information according to the first type, wherein the first information belongs to the first type.
6. The method of claim 5, wherein the first message further includes first indication information, the first indication information being used to instruct the network device to determine a computer program corresponding to the port according to the identification of the port;
the first indication information is further used for indicating the network equipment to store the first information according to the first type.
7. The method of claim 6, wherein the first indication information is further used to instruct the network device to avoid sending the first message to an outside of the network device.
8. An apparatus for data transmission, comprising:
the acquisition unit is used for acquiring a first message;
the processing unit is used for determining first information corresponding to a first message, and the first information indicates a first stage of processing the first message by the network equipment;
the processing unit is further used for storing the first information after determining the first information;
the processing unit is further used for processing the first message according to the first information after the first information is determined;
The processing unit is further configured to avoid sending the first message to the outside of the network device after processing the first message;
the processing unit is further configured to:
determining second information corresponding to the first message, wherein the second information indicates a second stage of processing the first message by the network equipment, and the second stage is later than the first stage;
after the second information is determined, the second information is stored;
third information is stored, and the third information indicates that the stage corresponding to the second information is later than the stage corresponding to the first information;
the processing unit is specifically configured to:
and processing the first message according to the first information and the second information.
9. The apparatus according to claim 8, wherein the processing unit is specifically configured to:
determining a first action by looking up at least two tables, the at least two tables comprising a first table and a second table, the second table being a next table to the first table; and
executing the first action on the first message; wherein,
the first information is an identifier of the first table, the second information is an identifier of the second table, and the third information is used for indicating that the second table corresponding to the second information is a next table of the first table corresponding to the first information.
10. The apparatus according to claim 8, wherein the processing unit is specifically configured to:
determining a first action by executing at least two functions, the at least two functions comprising a first function and a second function, the second function being a next function to the first function; and
executing the first action on the first message; wherein,
the first information is an identification of the first function, the second information is an identification of the second function, and the third information is used for indicating that the second function corresponding to the second information is a next function of the first function corresponding to the first information.
11. The apparatus of claim 9, wherein the processing unit is further configured to:
and determining the second table according to the search result of the first table and the first message.
12. The apparatus according to any one of claims 8 to 11, wherein the first message comprises an identification of a port, a first type and a first header;
the processing unit is specifically configured to:
determining a computer program corresponding to the port according to the identification of the port;
processing the first message header by executing a computer program corresponding to the port, wherein a plurality of pieces of information are obtained by processing the first message header, and the plurality of pieces of information comprise the first information;
And storing the first information according to the first type, wherein the first information belongs to the first type.
13. The apparatus of claim 12, wherein the first message further includes first indication information, the first indication information being used to instruct the network device to determine a computer program corresponding to the port according to the identification of the port;
the first indication information is further used for indicating the network equipment to store the first information according to the first type.
14. The apparatus of claim 13, wherein the first indication information is further used to instruct the network device to refrain from sending the first message outside of the network device.
15. A network device, comprising:
a memory for storing a computer program;
a processor for executing a computer program stored in the memory to cause the network device to perform the method for data transmission according to any one of claims 1 to 7.
16. A computer readable storage medium comprising a computer program which, when run on a computer, causes the computer to perform the method for data transmission of any one of claims 1 to 7.
CN201910736136.1A 2019-08-09 2019-08-09 Method and device for data transmission Active CN112350844B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201910736136.1A CN112350844B (en) 2019-08-09 2019-08-09 Method and device for data transmission
PCT/CN2020/099391 WO2021027420A1 (en) 2019-08-09 2020-06-30 Method and device used for transmitting data

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910736136.1A CN112350844B (en) 2019-08-09 2019-08-09 Method and device for data transmission

Publications (2)

Publication Number Publication Date
CN112350844A CN112350844A (en) 2021-02-09
CN112350844B true CN112350844B (en) 2024-03-29

Family

ID=74367028

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910736136.1A Active CN112350844B (en) 2019-08-09 2019-08-09 Method and device for data transmission

Country Status (2)

Country Link
CN (1) CN112350844B (en)
WO (1) WO2021027420A1 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113364778B (en) * 2021-06-07 2022-07-29 新华三技术有限公司 Message processing method and device
CN115550153A (en) * 2021-06-29 2022-12-30 中兴通讯股份有限公司 Message processing method, network processor and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2018032897A1 (en) * 2016-08-16 2018-02-22 深圳市中兴微电子技术有限公司 Method and device for evaluating packet forwarding performance and computer storage medium
CN108111432A (en) * 2017-12-27 2018-06-01 新华三技术有限公司 Message forwarding method and device
CN108449228A (en) * 2018-03-05 2018-08-24 新华三技术有限公司 Message processing method and the network equipment
CN108521371A (en) * 2018-03-09 2018-09-11 新华三技术有限公司 Message forwarding method and device

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10574513B2 (en) * 2017-06-16 2020-02-25 Cisco Technology, Inc. Handling controller and node failure scenarios during data collection
CN109309605B (en) * 2018-11-26 2020-08-25 北京邮电大学 In-band network telemetry system and method
CN109743340B (en) * 2019-04-04 2019-07-30 华为技术有限公司 The method and network equipment of Message processing

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2018032897A1 (en) * 2016-08-16 2018-02-22 深圳市中兴微电子技术有限公司 Method and device for evaluating packet forwarding performance and computer storage medium
CN108111432A (en) * 2017-12-27 2018-06-01 新华三技术有限公司 Message forwarding method and device
CN108449228A (en) * 2018-03-05 2018-08-24 新华三技术有限公司 Message processing method and the network equipment
CN108521371A (en) * 2018-03-09 2018-09-11 新华三技术有限公司 Message forwarding method and device

Also Published As

Publication number Publication date
WO2021027420A1 (en) 2021-02-18
CN112350844A (en) 2021-02-09

Similar Documents

Publication Publication Date Title
US11038744B2 (en) Triggered in-band operations, administration, and maintenance in a network environment
US11863435B2 (en) Segment routing network signaling and packet processing
US11228515B2 (en) Data packet detection method, device, and system
JP4774357B2 (en) Statistical information collection system and statistical information collection device
US7881221B2 (en) Hardware implementation of network testing and performance monitoring in a network device
CN107171883B (en) Method, device and equipment for detecting forwarding table
EP2081321A2 (en) Sampling apparatus distinguishing a failure in a network even by using a single sampling and a method therefor
US9680720B1 (en) Operations, administration, and maintenance (OAM) engine
CN110557342B (en) Apparatus for analyzing and mitigating dropped packets
US8213325B2 (en) Packet analysis method, packet analysis apparatus, recording medium storing packet analysis program
CN112350844B (en) Method and device for data transmission
CN114584485B (en) Method, apparatus, device and computer readable storage medium for detecting edge network quality
US20130329572A1 (en) Misdirected packet statistics collection and analysis
US20100094994A1 (en) Network structure information acquiring method and device
CN108259335B (en) Path detection method and device
CN112787843B (en) Method for detecting fault node, storage medium and electronic device
US11909650B2 (en) Internet protocol operations and management option
CN110855566A (en) Method and device for dragging upstream flow
US11356351B2 (en) Method and coordinating node for providing current analysis result relating to a link
CN117176557A (en) Method, apparatus, device and storage medium for link failure localization
CN114629838A (en) Error code information acquisition method and device
KR100450417B1 (en) Network device operation state management method and sytsem using multi-thread
CN115380510A (en) Method for monitoring data flow between controllers of a motor vehicle and correspondingly equipped motor vehicle

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