CN112260968B - Method and device for processing telemetering data message - Google Patents

Method and device for processing telemetering data message Download PDF

Info

Publication number
CN112260968B
CN112260968B CN202011112860.6A CN202011112860A CN112260968B CN 112260968 B CN112260968 B CN 112260968B CN 202011112860 A CN202011112860 A CN 202011112860A CN 112260968 B CN112260968 B CN 112260968B
Authority
CN
China
Prior art keywords
information
chip
dma
data message
chip information
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
CN202011112860.6A
Other languages
Chinese (zh)
Other versions
CN112260968A (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.)
Suzhou Centec Communications Co Ltd
Original Assignee
Suzhou Centec Communications 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 Suzhou Centec Communications Co Ltd filed Critical Suzhou Centec Communications Co Ltd
Priority to CN202011112860.6A priority Critical patent/CN112260968B/en
Publication of CN112260968A publication Critical patent/CN112260968A/en
Application granted granted Critical
Publication of CN112260968B publication Critical patent/CN112260968B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L49/00Packet switching elements
    • H04L49/10Packet switching elements characterised by the switching fabric construction
    • H04L49/109Integrated on microchip, e.g. switch-on-chip
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/14Handling requests for interconnection or transfer
    • G06F13/20Handling requests for interconnection or transfer for access to input/output bus
    • G06F13/28Handling requests for interconnection or transfer for access to input/output bus using burst mode transfer, e.g. direct memory access DMA, cycle steal
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L49/00Packet switching elements
    • H04L49/90Buffering arrangements
    • H04L49/9063Intermediate storage in different physical parts of a node or terminal

Abstract

The embodiment of the invention provides a method and a device for processing a telemetering data message, wherein the method comprises the following steps: the direct memory access DMA receiving channel is used for acquiring chip information in the network switching chip and transmitting the chip information to the cache unit; the DMA packaging unit is connected with the cache unit and used for acquiring the chip information from the cache unit and packaging the chip information to obtain a telemetering data message; and the DMA sending channel is connected with the DMA packaging unit and used for acquiring the telemetering data message from the packaging unit and sending the telemetering data message to the chip scheduler. The invention solves the problem of telemetering processing of the telemetering data message in the related technology and achieves the effect of efficiently and accurately processing the telemetering data message.

Description

Method and device for processing telemetering data message
Technical Field
The embodiment of the invention relates to the field of communication, in particular to a method and a device for processing a telemetering data message.
Background
In an increasingly complicated network topology, monitoring of each node device is urgently needed. Thus, network telemetry is born. Network telemetry refers to sending state information of each node in the topology to designated monitoring equipment, and a network administrator monitors and analyzes information of each node in the monitoring equipment.
In the past, this monitoring means is often implemented on a protocol level, which is very limited by the Processing capability of a Central Processing Unit (CPU), and cannot forward the telemetry data packet at a high bandwidth and a linear speed, and the real-time monitoring precision is very low. The CPU reads the chip state information at regular time, then assembles the information into a message, and then sends the message to the remote monitoring equipment through the chip. Because the granularity of the CPU time slice is relatively coarse, the CPU time slice is difficult to achieve linear speed forwarding, the accuracy of monitoring the network state in real time is limited, and the problem cannot be found more accurately and timely. The CPU has limited processing capacity, untimely processing of high-bandwidth and large-flow information, limited speed-limiting forwarding and limited accuracy of real-time monitoring of network state.
In view of the above technical problems, no effective solution has been proposed in the related art.
Disclosure of Invention
The embodiment of the invention provides a method and a device for processing a telemetering data message, which are used for at least solving the problem of telemetering processing of the telemetering data message in the related technology.
According to an embodiment of the present invention, there is provided a device for processing a telemetry data packet, including:
a Direct Memory Access (DMA) receiving channel, configured to acquire chip information in a network switch chip and transmit the chip information to a cache unit, where the cache unit is configured to cache the chip information, and the chip information includes statistical information and state information of data in the network switch chip;
a DMA packaging unit connected with the cache unit and used for acquiring the chip information from the cache unit and packaging the chip information to obtain a telemetering data message;
and the DMA sending channel is connected with the DMA packaging unit and is used for acquiring the telemetering data message from the packaging unit and sending the telemetering data message to a chip scheduler, wherein the chip scheduler is used for executing scheduling operation on the telemetering data message.
According to another embodiment of the present invention, a method for processing a telemetry data packet is provided, including: acquiring chip information in a network exchange chip and caching the chip information, wherein the chip information comprises statistical information and state information of data in the network exchange chip; packaging the cached chip information to obtain a telemetering data message; and sending the telemetering data message to a chip scheduler, wherein the chip scheduler is used for executing scheduling operation on the telemetering data message.
According to a further embodiment of the present invention, there is also provided a computer-readable storage medium having a computer program stored thereon, wherein the computer program is arranged to perform the steps of any of the above method embodiments when executed.
According to yet another embodiment of the present invention, there is also provided an electronic device, including a memory in which a computer program is stored and a processor configured to execute the computer program to perform the steps in any of the above method embodiments.
According to the invention, as the direct memory accesses the DMA receiving channel to obtain the chip information in the network exchange chip and transmits the chip information to the cache unit; the DMA packaging unit acquires the chip information from the cache unit and packages the chip information to obtain a telemetering data message; and the DMA sending channel acquires the telemetering data message from the packaging unit and sends the telemetering data message to the chip scheduler, wherein the chip scheduler is used for executing scheduling operation on the telemetering data message. The purpose of packaging and processing the telemetering data message through the DMA unit can be realized, and the method is not limited by the processing performance of the CPU. Therefore, the problem of telemetering the telemetering data message in the related technology can be solved, and the effect of efficiently and accurately telemetering the telemetering data message is achieved.
Drawings
FIG. 1 is an overall flow diagram according to an embodiment of the invention;
FIG. 2 is a flow diagram of a method according to an embodiment of the invention;
FIG. 3 is a schematic diagram of message assembly according to an embodiment of the present invention;
FIG. 4 is a diagram illustrating original packet encapsulation according to an embodiment of the present invention;
fig. 5 is a block diagram of a hardware structure of a mobile terminal of a method for processing a telemetry data packet according to an embodiment of the present invention;
FIG. 6 is a flow diagram of a process for telemetry data message according to an embodiment of the invention.
Detailed Description
Hereinafter, embodiments of the present invention will be described in detail with reference to the accompanying drawings in conjunction with the embodiments.
It should be noted that the terms "first," "second," and the like in the description and claims of the present invention and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order.
In this embodiment, a device for processing a telemetry data packet is provided, including:
the direct memory access DMA receiving channel is used for acquiring chip information in the network switching chip and transmitting the chip information to the cache unit, wherein the cache unit is used for caching the chip information, and the chip information comprises statistical information and state information of data in the network switching chip;
the DMA packaging unit is connected with the cache unit and used for acquiring the chip information from the cache unit and packaging the chip information to obtain a telemetering data message;
and the DMA sending channel is connected with the DMA packaging unit and used for acquiring the telemetering data message from the packaging unit and sending the telemetering data message to the chip scheduler, wherein the chip scheduler is used for executing scheduling operation on the telemetering data message.
Optionally, in this embodiment, the method includes, but is not limited to, a scenario in which a message is converted into a telemetry data message, and in this scenario, the DMA reception channel, the DMA encapsulation unit, the cache unit, and the DMA transmission channel are all disposed in the DMA unit. The network switching chip has a lot of statistical information, such as Media Access Control (MAC) statistical values, packet loss statistics, etc.; there are many state information, such as Buffer usage state of the Buffer unit, Watermark identification Watermark state, etc. The embodiment is used for forwarding the statistical information and the state information to the remote device through the DMA line speed.
Optionally, in this embodiment, various information generated in the chip is collected by using the DMA unit inside the network switch chip, and is encapsulated into a message and directly sent out.
According to the invention, as the direct memory accesses the DMA receiving channel to obtain the chip information in the network exchange chip and transmits the chip information to the cache unit; the DMA packaging unit acquires the chip information from the cache unit and packages the chip information to obtain a telemetering data message; and the DMA sending channel acquires the telemetering data message from the packaging unit and sends the telemetering data message to the chip scheduler, wherein the chip scheduler is used for executing scheduling operation on the telemetering data message. The purpose of packaging and processing the telemetering data message through the DMA unit can be realized, and the method is not limited by the processing performance of the CPU. Therefore, the problem of telemetering processing of the telemetering data message in the related technology can be solved, and the effect of efficiently and accurately telemetering the telemetering data message is achieved.
In one exemplary embodiment, the apparatus further comprises:
and the DMA information collection interface is used for collecting the chip information from the network exchange chip and transmitting the chip information to the DMA receiving channel.
Optionally, the DMA information collection interface is disposed in the DMA unit and connected to the DMA reception channel. The DMA information collection interfaces comprise a plurality of interfaces, and different chip information is respectively transmitted to corresponding DMA receiving channels.
In an exemplary embodiment, the DMA encapsulation unit is further configured to encapsulate the chip information based on configuration information of the central processing unit CPU to obtain the telemetry data message.
Optionally, in this embodiment, the configuration information of the CPU has two configuration modes, that is, when the number of chip information in the cache unit meets a first preset threshold, the DMA encapsulation unit encapsulates the chip information to obtain a telemetry data message; for example, if the first predetermined threshold is 2, the information is assembled immediately whenever there is x _00 and x _01 in the buffer. The DMA packaging unit packages the chip information to obtain a telemetering data message under the condition that the sending time interval of the configuration information of the central processing unit CPU exceeds a second preset threshold value; for example, the last _ timestamp of each DMA channel is scanned periodically, compared with the current timestamp, and if the second preset threshold is exceeded, the information assembly is immediately performed.
In an exemplary embodiment, the DMA encapsulation unit is further configured to assemble configured chip information to obtain a telemetry data message, where the configured chip information includes: the CPU can configure the export information and edit information; the outlet information has programmable performance and is used for configuring a physical port corresponding to the telemetering data message; the edit information includes a fixed-length header inserted into the chip information.
Alternatively, in this embodiment, the original message of the chip information is composed of a Bridge Header + Shim Header + information entry, and the Bridge Header and the Shim Header are configurable on the CPU side, where the Bridge Header carries the egress information DestMap and the edit information NexthopPtr. The ShimHeader is the optional information with fixed length inserted in a section of the message and can be configured by a configurator at will. After assembly, the DMA transmit channel is sent to the scheduler in package P format.
In an exemplary embodiment, the DMA receive channel is further configured to transmit the chip information to a cache unit corresponding to the attribute based on the attribute of the chip information.
In an exemplary embodiment, the cache unit is configured to flush the cache of the chip information if it is determined that the telemetry data message is sent to the chip scheduler.
In summary, the overall process of this embodiment is shown in fig. 1, where reference numeral 1 is a process of normal telemetry data message in a chip; reference numeral 2 is a flow of sending information generated by each logic unit in the chip to the DMA; the label 3 is the flow of DMA collecting and assembling the information, sending the information to EPE for editing and chip outputting, and finally outputting the information is a telemetering data message; reference numeral 4 denotes a flow of the DMA data to the local CPU.
The method specifically comprises the following steps:
s101, the telemetering Data message can generate Data such as Forwarding Data Base (FDB) Learn Information, IP Data Flow Information output (IPFIX) Information, Stats statistical Information, Microburst micro-burst delay Information and the like through a network switching chip; if a packet loss event occurs, information such as a packet loss reason can be generated; if the FDB is aged, the AGING information is generated regularly; these information sources correspond to the information modules I00-Inn in fig. 2.
S102, the processing flow of the data collected by the information module in the DMA unit is shown in FIG. 2, and the processing flow comprises the following steps:
an information module I00-Inn (i.e. DMA information collection interface) is an interface for collecting statistical information and state information in a chip, and generates information at regular time or when flow passes through the interface and sends the information to a DMA receiving channel;
DMA receiving channels 0-n, which are used for storing information in a designated cache region and allowing a plurality of DMA channels to work simultaneously in a chip;
the cache unit, the same horizontal cache region can only store the data produced by the same information module, because the information length is the same, the number of information items can be converted according to the total length divided by the length of each piece of information; different longitudinal cache regions can prevent the information of different information modules;
the message assembly E0-En (namely a DMA packaging unit) assembles the information of different cache areas into a message according to the configuration condition of the CPU and sends the message to a DMA sending channel;
DMA transmit channels 0-n: and sending the assembled message to a chip scheduler, and sending the message outwards by the scheduler.
S103, the network switching chip executes an instruction whether to send telemetering data to the information of the current cache region according to the CPU configuration judgment condition for each DMA channel, and FIG. 3 is a message assembling process;
and (D) judging J: the condition is that two conditions are true, one is that the information storage length reaches the upper limit of the cache region; the other is to reach the determination condition J of the CPU configuration.
Determination condition J: the CPU configures the condition, and the condition has two configuration modes, one is a threshold value of the configuration information entry, such as: if the threshold value is 2, immediately assembling information when the cache area has x _00 and x _ 01; and the other is configuring the information sending interval, regularly scanning last _ timestamp of each DMA channel, comparing with the current timestamp, and immediately assembling the information if the current timestamp exceeds the threshold.
If the message of the buffer area is already assembled and sent to the DMA sending channel, the sent message of the buffer area is cleared.
Original message encapsulation P: this information consists of a Bridge Header + Shim Header + information entry, the Bridge Header and the ShimHeader being configurable on the CPU side, where the Bridge Header (which is the carrier that carries information between different Pipeline inside the chip) carries the export information DestMap and the edit information NexthopPtr (as shown in FIG. 4). The ShimHeader is the optional information with fixed length inserted in a section of the message and can be configured by a configurator at will. After assembly, the DMA transmit channel is sent to the scheduler in package P format.
S104: the telemetered data goes through the scheduling process after being sent out from the DMA sending channel, and is edited in the EPE direction, as shown in FIG. 4, the telemetered Telemetry information is forwarded and edited after coming out from the DMA sending channel; DestMap: determining which physical egress port the message is destined for; NexthopPtr: determining the L2/L3 Header to be added to the message; the bridge Header is stripped in the outgoing direction, and sent out with the addition of the L2/L3 Header and Cyclic Redundancy Check (CRC) fields.
The method embodiments provided in the embodiments of the present application may be executed in a mobile terminal, a computer terminal, or a similar computing device. Taking the operation on the mobile terminal as an example, fig. 5 is a hardware structure block diagram of the mobile terminal of the processing method of the telemetry data message according to the embodiment of the present invention. As shown in fig. 5, the mobile terminal may comprise one or more processors 502 (only one is shown in fig. 5) (the processor 502 may comprise, but is not limited to, a processing means such as a microprocessor MCU or a programmable logic device FPGA) and a memory 504 for storing data, wherein the mobile terminal may further comprise a transmission device 506 for communication functions and an input-output device 508. It will be understood by those skilled in the art that the structure shown in fig. 5 is only an illustration and is not intended to limit the structure of the mobile terminal. For example, the mobile terminal may also include more or fewer components than shown in FIG. 5, or have a different configuration than shown in FIG. 5.
The memory 504 may be used to store computer programs, for example, software programs and modules of application software, such as a computer program corresponding to the telemetry data message processing method in the embodiment of the present invention, and the processor 502 executes the computer programs stored in the memory 504 to execute various functional applications and data processing, that is, to implement the method described above. The memory 504 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 504 may further include memory located remotely from the processor 502, which may be connected to the mobile 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 506 is used for receiving or sending data via a network. Specific examples of the network described above may include a wireless network provided by a communication provider of the mobile terminal. In one example, the transmission device 506 includes a Network adapter (NIC), which can be connected to other Network devices through a base station so as to communicate with the internet. In one example, the transmission device 506 can be a Radio Frequency (RF) module, which is used for communicating with the internet in a wireless manner.
In this embodiment, a method for processing a telemetry data packet is provided, and fig. 6 is a flowchart of processing a telemetry data packet according to an embodiment of the present invention, where as shown in fig. 6, the flowchart includes the following steps:
step S602, obtaining chip information in the network exchange chip and caching the chip information, wherein the chip information comprises statistical information and state information of data in the network exchange chip;
step S604, packaging the cached chip information to obtain a telemetering data message;
and step S606, sending the telemetering data message to a chip scheduler, wherein the chip scheduler is used for executing scheduling operation on the telemetering data message.
The execution subject of the above steps may be a DMA unit, etc., but is not limited thereto.
Through the steps, the DMA unit acquires chip information in the network exchange chip and caches the chip information, wherein the chip information comprises statistical information and state information of data in the network exchange chip; the DMA unit packages the cached chip information to obtain a telemetering data message; and the DMA unit sends the telemetering data message to a chip scheduler, wherein the chip scheduler is used for executing scheduling operation on the telemetering data message. The problem of telemetering the telemetering data message in the related technology is solved, and the effect of high-efficiency and accurate telemetering the telemetering data message is achieved.
In an exemplary embodiment, encapsulating the cached chip information to obtain a telemetry data message includes:
and S1, packaging the chip information based on the configuration information of the CPU to obtain the telemetering data message.
In an exemplary embodiment, the step of encapsulating the cached chip information to obtain the telemetry data message includes one of the following steps:
s1, packaging the chip information to obtain a telemetering data message under the condition that the cache number of the chip information meets a first preset threshold value;
and S2, packaging the chip information to obtain the telemetering data message under the condition that the sending time interval of the configuration information of the central processing unit CPU exceeds a second preset threshold value.
In an exemplary embodiment, encapsulating the cached chip information to obtain a telemetry data message includes:
s1, assembling the configured chip information to obtain a telemetering data message, wherein the configured chip information comprises: the CPU can configure the export information and edit information; the outlet information has programmable performance and is used for configuring a physical port corresponding to the telemetering data message; the edit information includes a fixed-length header inserted into the chip information.
In an exemplary embodiment, obtaining chip information in a network switch chip and caching the chip information includes:
and S1, transmitting the chip information to a cache unit corresponding to the attribute based on the attribute of the chip information.
In an exemplary embodiment, after sending the telemetry data message to the chip scheduler, the method further comprises:
and S1, clearing the cache of the chip information.
In summary, in the embodiment, the DMA channel is used to realize the wire-speed transmission of the telemetry data message on hardware, rather than being limited by the bottleneck of the CPU; and the telemetering data message is programmable, and can be more flexibly applied to the field of network monitoring.
Through the above description of the embodiments, those skilled in the art can clearly understand that the method according to the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but the former is a better implementation mode in many cases. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (e.g., ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal device (e.g., a mobile phone, a computer, a server, or a network device) to execute the method according to the embodiments of the present invention.
It should be noted that, the above modules may be implemented by software or hardware, and for the latter, the following may be implemented, but not limited to: the modules are all positioned in the same processor; alternatively, the modules are respectively located in different processors in any combination.
Embodiments of the present invention also provide a computer-readable storage medium having a computer program stored thereon, wherein the computer program is arranged to perform the steps of any of the above-mentioned method embodiments when executed.
In an exemplary embodiment, the computer-readable storage medium may include, but is not limited to: various media capable of storing computer programs, such as a usb disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic disk, or an optical disk.
Embodiments of the present invention also provide an electronic device comprising a memory having a computer program stored therein and a processor arranged to run the computer program to perform the steps of any of the above method embodiments.
In an exemplary embodiment, the electronic apparatus may further include a transmission device and an input/output device, wherein the transmission device is connected to the processor, and the input/output device is connected to the processor.
For specific examples in this embodiment, reference may be made to the examples described in the foregoing embodiments and exemplary implementations, and details of this embodiment are not repeated herein.
It will be apparent to those skilled in the art that the various modules or steps of the invention described above may be implemented using a general purpose computing device, they may be centralized on a single computing device or distributed across a network of computing devices, and they may be implemented using program code executable by the computing devices, such that they may be stored in a memory device and executed by the computing device, and in some cases, the steps shown or described may be performed in an order different than that described herein, or they may be separately fabricated into various integrated circuit modules, or multiple ones of them may be fabricated into a single integrated circuit module. Thus, the present invention is not limited to any specific combination of hardware and software.
The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention, and various modifications and changes may be made by those skilled in the art. Any modification, equivalent replacement, or improvement made within the principle of the present invention should be included in the protection scope of the present invention.

Claims (15)

1. An apparatus for processing telemetry data messages, comprising:
a Direct Memory Access (DMA) receiving channel, configured to acquire chip information in a network switch chip and transmit the chip information to a cache unit, where the cache unit is configured to cache the chip information, and the chip information includes statistical information and state information of data in the network switch chip;
the DMA packaging unit is connected with the cache unit and used for acquiring the chip information from the cache unit and packaging the chip information to obtain a telemetry data message;
and the DMA sending channel is connected with the DMA packaging unit and used for acquiring the telemetering data message from the packaging unit and sending the telemetering data message to a chip scheduler, wherein the chip scheduler is used for executing scheduling operation on the telemetering data message.
2. The apparatus of claim 1, further comprising:
and the DMA information collection interface is used for collecting the chip information from the network exchange chip and transmitting the chip information to the DMA receiving channel.
3. The apparatus of claim 1, comprising:
and the DMA packaging unit is also used for packaging the chip information based on the configuration information of the central processing unit CPU to obtain the telemetering data message.
4. The apparatus of claim 1, comprising one of:
the DMA packaging unit is further configured to package the chip information to obtain the telemetry data message when the number of the chip information in the cache unit meets a first preset threshold;
and the DMA packaging unit is also used for packaging the chip information to obtain the telemetering data message under the condition that the sending time interval of the configuration information of the central processing unit CPU exceeds a second preset threshold value.
5. The apparatus of claim 1, comprising:
the DMA encapsulation unit is further configured to assemble configured chip information to obtain the telemetry data packet, where the configured chip information includes: the CPU can configure the export information and edit information; the outlet information has programmable performance and is used for configuring a physical port corresponding to the telemetering data message; the editing information comprises a fixed-length message header inserted into the chip information.
6. The apparatus of claim 1, comprising:
the DMA receiving channel is further used for transmitting the chip information to a cache unit corresponding to the attribute based on the attribute of the chip information.
7. The apparatus of claim 1, comprising:
and the cache unit is used for clearing the cache of the chip information under the condition that the telemetering data message is determined to be sent to the chip scheduler.
8. A method for processing a telemetry data message, comprising:
accessing a DMA receiving channel through a direct memory to obtain chip information in a network switching chip, and caching the chip information through a cache unit, wherein the chip information comprises statistical information and state information of data in the network switching chip;
packaging the cached chip information through a DMA packaging unit to obtain a telemetering data message;
and sending the telemetering data message to a chip scheduler through a DMA sending channel, wherein the chip scheduler is used for executing scheduling operation on the telemetering data message.
9. The method of claim 8, wherein encapsulating the cached chip information by a DMA encapsulation unit to obtain a telemetry data message comprises:
and packaging the chip information through the DMA packaging unit based on the configuration information of a Central Processing Unit (CPU) to obtain the telemetering data message.
10. The method of claim 8, wherein encapsulating the cached chip information by a DMA encapsulation unit to obtain a telemetry data message comprises one of:
packaging the chip information by a DMA packaging unit under the condition that the cache number of the chip information meets a first preset threshold value to obtain the telemetering data message;
and packaging the chip information by a DMA packaging unit under the condition that the sending time interval of the configuration information of the central processing unit CPU exceeds a second preset threshold value to obtain the telemetering data message.
11. The method of claim 8, wherein encapsulating the cached chip information by a DMA encapsulation unit to obtain a telemetry data message comprises:
obtaining the telemetry data message through chip information after the DMA packaging unit assembly is assembled, wherein the chip information after the configuration comprises: the CPU can configure the export information and edit information; the outlet information has programmable performance and is used for configuring a physical port corresponding to the telemetering data message; the editing information comprises a fixed-length message header inserted into the chip information.
12. The method of claim 8, wherein obtaining chip information in a network switch chip through a Direct Memory Access (DMA) receive channel and caching the chip information through a cache unit comprises:
and accessing a DMA receiving channel through the direct memory and transmitting the chip information to the cache unit corresponding to the attribute based on the attribute of the chip information.
13. The method of claim 8, wherein after sending the telemetry data message to a chip scheduler via a DMA send channel, the method further comprises:
and clearing the cache of the chip information through a DMA sending channel.
14. A computer-readable storage medium, in which a computer program is stored, wherein the computer program is arranged to perform the method of any of claims 8 to 13 when executed.
15. An electronic device comprising a memory and a processor, wherein the memory has stored therein a computer program, and wherein the processor is arranged to execute the computer program to perform the method of any of claims 8 to 13.
CN202011112860.6A 2020-10-16 2020-10-16 Method and device for processing telemetering data message Active CN112260968B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011112860.6A CN112260968B (en) 2020-10-16 2020-10-16 Method and device for processing telemetering data message

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011112860.6A CN112260968B (en) 2020-10-16 2020-10-16 Method and device for processing telemetering data message

Publications (2)

Publication Number Publication Date
CN112260968A CN112260968A (en) 2021-01-22
CN112260968B true CN112260968B (en) 2022-06-21

Family

ID=74244640

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011112860.6A Active CN112260968B (en) 2020-10-16 2020-10-16 Method and device for processing telemetering data message

Country Status (1)

Country Link
CN (1) CN112260968B (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103064807A (en) * 2012-12-17 2013-04-24 福建星网锐捷网络有限公司 Multi-channel direct memory access controller
CN206282259U (en) * 2016-11-28 2017-06-27 航天东方红卫星有限公司 A kind of spaceborne data storage device
CN110352588A (en) * 2017-03-31 2019-10-18 英特尔公司 For collecting the profile of telemetry
CN111147403A (en) * 2019-12-27 2020-05-12 盛科网络(苏州)有限公司 Message processing method and device, storage medium and electronic device
CN111262800A (en) * 2020-01-19 2020-06-09 天津芯海创科技有限公司 Service data communication method and system of Ethernet switch
CN111323675A (en) * 2019-12-11 2020-06-23 国网宁夏电力有限公司 State visual monitoring system and monitoring method of fault recording device
CN111769998A (en) * 2019-08-13 2020-10-13 北京京东尚科信息技术有限公司 Method and device for detecting network delay state

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10918870B2 (en) * 2018-03-07 2021-02-16 Medtronic, Inc. Atrial lead placement for treatment of atrial dyssynchrony
CN111224839B (en) * 2019-12-26 2022-05-31 长沙星融元数据技术有限公司 Verification method and device for in-band network remote control function, storage medium and electronic equipment
CN111464505B (en) * 2020-03-11 2022-04-15 贺雪峰 Message processing method, device, apparatus, storage medium and processor

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103064807A (en) * 2012-12-17 2013-04-24 福建星网锐捷网络有限公司 Multi-channel direct memory access controller
CN206282259U (en) * 2016-11-28 2017-06-27 航天东方红卫星有限公司 A kind of spaceborne data storage device
CN110352588A (en) * 2017-03-31 2019-10-18 英特尔公司 For collecting the profile of telemetry
CN111769998A (en) * 2019-08-13 2020-10-13 北京京东尚科信息技术有限公司 Method and device for detecting network delay state
CN111323675A (en) * 2019-12-11 2020-06-23 国网宁夏电力有限公司 State visual monitoring system and monitoring method of fault recording device
CN111147403A (en) * 2019-12-27 2020-05-12 盛科网络(苏州)有限公司 Message processing method and device, storage medium and electronic device
CN111262800A (en) * 2020-01-19 2020-06-09 天津芯海创科技有限公司 Service data communication method and system of Ethernet switch

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
北斗卫星通信技术在航标遥测遥控系统中的应用;吕英龙等;《港口科技》;20160115(第01期);全文 *

Also Published As

Publication number Publication date
CN112260968A (en) 2021-01-22

Similar Documents

Publication Publication Date Title
CN109391500B (en) Configuration management method, device and equipment
US20220210071A1 (en) Network congestion control method, node, system, and storage medium
EP3082293B1 (en) Switching device and packet loss method therefor
CN106162528B (en) LoRa signal and Bluetooth signal conversion module, conversion method and sender unit
CN111147403B (en) Message processing method and device, storage medium and electronic device
CN102223263A (en) Method and device for monitoring packet loss rate based on an FPGA (Field Programmable Gate Array)
CN111294235B (en) Data processing method, device, gateway and readable storage medium
Jayasumana et al. On the use of the IEEE 802.4 token bus in distributed real-time control systems
CN111049698B (en) Telemetering data acquisition method and device
CN111464409A (en) Data exchange device and network with CAN bus incorporated into time-sensitive network
US20220239761A1 (en) Data Subscription Method, Apparatus, and System
CN103414594A (en) IP stream information statistical method for charging and monitoring
CN109547356A (en) A kind of data transmission method of electrical energy measurement, system, equipment and computer storage medium
CN110972191A (en) Data transmission method, data transmission device, and data transmission system
JPWO2013047355A1 (en) COMMUNICATION DEVICE, COMMUNICATION METHOD, AND PROGRAM
CN112787902A (en) Message encapsulation method and device and message de-encapsulation method and device
CN112260968B (en) Method and device for processing telemetering data message
CN112787873B (en) IOAM time delay measurement performance sequencing method and system
US9438502B2 (en) Controlling generation of filtered result packets
CN109547287B (en) Bandwidth testing method and device and storage medium
CN112583839B (en) Protocol conversion device, method, equipment and medium for Autbus bus and Hart bus
CN115118663A (en) Method for acquiring network congestion information by combining in-band network telemetry
CN112583831B (en) Protocol conversion device, method, equipment and medium for Autbus bus and Ethernet bus
CN116506335B (en) Data encapsulation method, probe, acquisition method and system based on Ethernet transmission
CN108712242B (en) System and method for improving signaling processing capacity in packet equipment

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
CB02 Change of applicant information
CB02 Change of applicant information

Address after: Xinghan Street Industrial Park of Suzhou city in Jiangsu province 215021 B No. 5 Building 4 floor 13/16 unit

Applicant after: Suzhou Shengke Communication Co.,Ltd.

Address before: Xinghan Street Industrial Park of Suzhou city in Jiangsu province 215021 B No. 5 Building 4 floor 13/16 unit

Applicant before: CENTEC NETWORKS (SU ZHOU) Co.,Ltd.

GR01 Patent grant
GR01 Patent grant