Tracking data processing method, medium, main routing node and sub routing node

By configuring the target base address of the storage space in the main routing node and converting it into the routing protocol format, it is directly routed to the target storage space, solving the problem of low efficiency in tracking data processing in SoC design and achieving more efficient data transmission and storage.

CN120640379AActive Publication Date: 2025-09-12SANECHIPS TECH CO LTD

Patent Information

Application Number
CN202411925608.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-25
Publication Date
2025-09-12
Estimated Expiration
2044-12-25

AI Technical Summary

Technical Problem

In multi-processor, multi-cluster SoC designs, the processing efficiency of tracking data is low and there is a high risk of delay and loss, especially when the data transmission path is long in the mesh network.

Method used

After the main routing node receives the tracking data provided by the sub-routing node, it configures the target base address of the storage space, converts the data into the routing protocol format, and directly routes it to the storage space indicated by the target base address, avoiding the transfer of data in the external system.

Benefits of technology

It effectively shortens the propagation path of tracking data, reduces latency, improves overall processing efficiency, and reduces the risk of data loss.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120640379A_ABST
    Figure CN120640379A_ABST
Patent Text Reader

Abstract

The invention discloses a tracking data processing method, a medium, a main routing node and a sub routing node, relates to the technical field of communication, and discloses the tracking data processing method which is applied to the main routing node and comprises the following steps: configuring a target base address of a storage space for storing tracking data under the condition that the tracking data provided by the sub routing node is received; converting the tracking data into a routing protocol format to obtain routing tracking data; and routing the routing tracking data to a storage space indicated by the target base address. The processing efficiency of the tracking data is effectively improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of communication technology, and in particular to a tracking data processing method and storage medium, a main routing node, and a sub-routing node. Background Art

[0002] With the rapid advancement of communications technology, system-on-chip (SoC) designs are becoming increasingly complex. These designs not only incorporate multiple processor cores but also often employ multi-cluster architectures to meet the demands of high performance and energy efficiency. In these multi-processor, multi-cluster SoC designs, wireless mesh networks serve as a core component, efficiently connecting the various processing units and ensuring smooth data and command transmission. To ensure system stability and optimized performance, debugging and tracing mesh networks are crucial.

[0003] When an SoC design includes multiple processing cores and multiple clusters, the sources of trace data become diverse. Therefore, automated systems are often used to collect data from all trace sources throughout the system, including trace data from the mesh network. However, because trace data ultimately needs to be stored in system memory, which is mounted on the mesh network, a long trace data propagation path is formed. Specifically, trace data output by the mesh network is first transmitted to an external automated system, merged with information from other trace sources, and then transmitted back to the mesh network for ultimate storage in the system memory. This results in low trace data processing efficiency. Summary of the Invention

[0004] The main purpose of this application is to provide a tracking data processing method and storage medium, a main routing node, and a sub-routing node, aiming to solve the technical problem of low processing efficiency of tracking data.

[0005] To achieve the above objectives, an embodiment of the present application provides a tracking data processing method, which is applied to a master routing node and includes:

[0006] Upon receiving the tracing data provided by the child routing node, configuring a target base address of a storage space for storing the tracing data;

[0007] Converting the tracking data into a routing protocol format to obtain routing tracking data;

[0008] The route tracing data is routed to the storage space indicated by the target base address.

[0009] To achieve the above objectives, an embodiment of the present application provides a tracking data processing method, which is applied to a sub-routing node and includes:

[0010] Generate tracking data based on transaction data transmitted by mounted network devices;

[0011] Send the tracking data to the main routing node, wherein the tracking data is set to: a target base address for the main routing node to configure a storage space for storing the tracking data, convert the tracking data into a routing protocol format to obtain routing tracking data, and then route the routing tracking data to the storage space indicated by the target base address.

[0012] In addition, to achieve the above-mentioned purpose, the embodiment of the present application further proposes a tracking data processing device, which is applied to a master routing node and includes:

[0013] a configuration module configured to, upon receiving the tracing data provided by the sub-routing node, configure a target base address of a storage space for storing the tracing data;

[0014] a conversion module configured to convert the tracking data into a routing protocol format to obtain routing tracking data;

[0015] The routing module is configured to route the route tracing data to the storage space indicated by the target base address.

[0016] In addition, to achieve the above-mentioned purpose, an embodiment of the present application further provides a tracking data processing device, which is applied to a sub-routing node and includes:

[0017] a generation module configured to generate tracking data based on transaction data transmitted by the mounted network device;

[0018] The sending module is configured to send the tracking data to the main routing node, wherein the tracking data is configured as: a target base address for the main routing node to configure a storage space for storing the tracking data, and convert the tracking data into a routing protocol format to obtain routing tracking data, and then route the routing tracking data to the storage space indicated by the target base address.

[0019] To achieve the above objectives, an embodiment of the present application proposes a master routing node, which includes: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the computer program is configured to implement the steps of the tracking data processing method described above.

[0020] To achieve the above objectives, an embodiment of the present application proposes a sub-routing node, which includes: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the computer program is configured to implement the steps of the tracking data processing method described above.

[0021] In addition, to achieve the above-mentioned purpose, an embodiment of the present application further proposes a storage medium, which is a computer-readable storage medium. A computer program is stored on the storage medium, and when the computer program is executed by a processor, the steps of the tracking data processing method described above are implemented.

[0022] In addition, to achieve the above-mentioned purpose, an embodiment of the present application further proposes a computer program product, which includes a computer program. When the computer program is executed by a processor, the steps of the tracking data processing method described above are implemented.

[0023] An embodiment of the present application proposes a tracking data processing method, which is applied to a main routing node. When the tracking data provided by the sub-routing node is received, the target base address of the storage space for ultimately storing the tracking data is configured; the tracking data is then converted into a routing protocol format to obtain routing tracking data; and the tracking data after the format conversion can be directly routed to the storage space indicated by the target base address, without having to be sent to an external system and then transferred back to the storage space, thereby effectively shortening the tracking data propagation path, reducing latency, and improving overall processing efficiency. BRIEF DESCRIPTION OF THE DRAWINGS

[0024] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.

[0025] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without any creative work.

[0026] Figure 1 A flowchart of the first embodiment of the tracking data processing method of this application is provided;

[0027] Figure 2 A schematic diagram of a scenario provided for the first embodiment of the tracking data processing method of this application;

[0028] Figure 3 This is a flowchart of a relatively complete embodiment 1 of the tracking data processing method of this application;

[0029] Figure 4This is a flow chart of a relatively complete second embodiment of the tracking data processing method of this application;

[0030] Figure 5 This is a schematic diagram of the framework structure of a tracking data processing device of the present application;

[0031] Figure 6 This is a schematic diagram of the framework structure of another tracking data processing device of the present application;

[0032] Figure 7 A schematic diagram of the device structure of the hardware operating environment of the main routing node involved in the tracking data processing method in an embodiment of the present application;

[0033] Figure 8 Schematic diagram of the device structure of the hardware operating environment of the sub-routing node involved in the tracking data processing method in the embodiment of the present application.

[0034] The purpose, features and advantages of this application will be further explained in conjunction with the embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION

[0035] It should be understood that the specific embodiments described herein are merely used to explain the technical solutions of the present application and are not intended to limit the present application.

[0036] In order to better understand the technical solution of the present application, a detailed description will be given below in conjunction with the accompanying drawings and specific implementation methods.

[0037] Conventional technology requires that tracking data ultimately be stored in system memory, which is mounted on the mesh network. This creates a long tracking data propagation path: tracking data output by the mesh network is first transmitted to an external automated system, merged with information from other trace sources, and then transmitted back to the mesh network for final storage in system memory. This results in low tracking data processing efficiency. Furthermore, if the operating frequency of the automated system is lower than that of the mesh network, if the tracking data generated by the mesh network lacks back pressure, or if downstream nodes fail to process data promptly, significant delays may occur, exposing the mesh network to a greater risk of tracking data loss.

[0038] An embodiment of the present application provides a tracking data processing method, which is applied to a main routing node. When the tracking data provided by the sub-routing node is received, the target base address of the storage space for ultimately storing the tracking data is configured; the tracking data is then converted into a routing protocol format to obtain routing tracking data; and the tracking data after the format conversion can be directly routed to the storage space indicated by the target base address, without having to be sent to an external system and then transferred back to the storage space, thereby effectively shortening the tracking data propagation path, reducing latency, and improving overall processing efficiency.

[0039] Reference Figure 1 , Figure 1 This is a flow chart of the first embodiment of the tracking data processing method of the present application.

[0040] It should be noted that Mesh network, also known as mesh network or wireless mesh network, is a distributed network topology. Figure 2 In a mesh network, a master routing node 201 and multiple sub-routing nodes 202 work together to form a seamless coverage network. The tracking data processing method can be performed by the master routing node 201 in the mesh network, which is responsible for communicating with other network devices (including sub-routing nodes) and forwarding data packets. The tracking data processing method includes:

[0041] Step A10: upon receiving the tracing data provided by the child routing node, configuring a target base address of a storage space for storing the tracing data;

[0042] In one embodiment, each child routing node in a mesh network generates corresponding tracking data based on transaction data transmitted by its attached network devices and sends it to the master routing node. Upon receiving the tracking data from each child routing node, the master routing node configures a target base address for storage space for the tracking data. The storage space can be system memory where the tracking data is ultimately stored.

[0043] The base address is the starting address of a specific memory area in the storage space allocated to the trace data.

[0044] It's understandable that debugging and tracing are both essential and critical steps in chip design. The primary purpose of debugging is to locate problems that arise during the design process through a series of tools and methods. For example, simulation tools can be used to simulate chip behavior and compare it with expected results to identify discrepancies. Alternatively, debug interfaces can be used to communicate with the chip and monitor processor status and program execution in real time. Furthermore, components such as debug registers, debug control units, and debug subsystems can be used to obtain the chip's internal state, allowing for breakpoints and exception capture. Tracing, on the other hand, primarily records detailed information about the chip during operation, including instruction execution and data flow. This information is referred to as trace data.

[0045] Exemplarily, the main routing node may be provided with a debug trace controller and register resources may be added thereto, so as to configure a target base address of a storage space for the trace data when the trace data provided by the sub-routing node is received.

[0046] Step A20, converting the tracking data into a routing protocol format to obtain routing tracking data;

[0047] In one embodiment, to avoid the cumbersome transmission path of tracking data, where it is first sent to an external automated system, merged with information from other tracking data sources, and then transmitted back to the mesh network, the master routing node converts the tracking data into a routing protocol format, thereby generating routing tracking data.

[0048] The routing protocol format, that is, the routing protocol format used by the mesh network, can also be called the bus protocol format for mesh transaction transmission.

[0049] Step A30: routing the route tracing data to the storage space indicated by the target base address.

[0050] In a feasible embodiment, since the tracking data has been converted into a routing protocol format, the main routing node can directly route the routing tracking data to the storage space indicated by the target base address, without having to output it to an external automatic system through a tracking bus interface dedicated to the tracking data, merge it with information from other tracking data sources, and then transmit it back to the mesh network. Instead, it can be directly routed through the mesh network to the storage space where the tracking data ultimately needs to be stored, effectively shortening the tracking data propagation path, reducing latency, and improving overall processing efficiency.

[0051] Exemplarily, the main routing node may be provided with a debug tracing controller and have the resources of a transfer bridge module added thereto, thereby converting the tracing data into a routing protocol format, obtaining routing tracing data, and routing it to the storage space indicated by the target base address.

[0052] For example, the main routing node in the mesh network can be pre-configured to receive the trace data provided by the child routing nodes, configure the target base address, convert the trace data into the routing protocol format, and then route the routing trace data to the storage space indicated by the target base address. For example, the mesh network can be configured through the JTAG (Joint Test Action Group) interface of an external debugger. After the main routing node is configured, the JTAG interface of the external debugger can be closed to prevent users from modifying the configuration information during use.

[0053] It is understandable that in the mesh network of the embodiment of the present application, if the entire system is scanned by an external debugger, the scanned topology relationship will not include: the tracing data path from the mesh network to the automatic system, but the tracing data path still actually exists.

[0054] In this embodiment, upon receiving the tracing data provided by the sub-routing node, the target base address of the storage space for ultimately storing the tracing data is configured; the tracing data is then converted into a routing protocol format to obtain routing tracing data; and the tracing data after format conversion can be directly routed to the storage space indicated by the target base address, without having to be sent to an external system first and then transferred back to the storage space, thereby effectively shortening the tracing data propagation path, reducing latency, and improving overall processing efficiency.

[0055] Based on the first embodiment described above, a second embodiment of the tracking data processing method of the present application is proposed. In this embodiment, before step A20 of converting the tracking data into a routing protocol format, the method further includes:

[0056] Step A21: insert a timestamp into the tracking data.

[0057] In one possible embodiment, the master routing node may insert a timestamp into the tracking data, for example, adding a mark or record indicating a specific point in time.

[0058] For example, the timestamp may be SoC timer information, thereby aligning the trace event sequence in the SoC.

[0059] In this embodiment, by inserting timestamps into the tracking data, it helps to determine the sequence of the tracking data, or measure and estimate the time delay of transaction transmission and processing between these nodes, so as to ensure data consistency and improve the convenience of data tracking and auditing.

[0060] In one feasible implementation, before step A20, the step of converting the tracking data into a routing protocol format, the method further includes:

[0061] Step A22: According to a preset alignment rule, the frame header of the tracking data is identified, and the tracking data is aligned.

[0062] In one feasible embodiment, the frame header is the beginning of a data frame and contains necessary control information for data synchronization, address identification, protocol type identification, etc. The master routing node can then parse the beginning of the tracking data according to preset alignment rules to find and identify the frame header. The master routing node can then arrange and organize the data according to specific rules or formats to ensure data accuracy and efficient processing, thereby achieving data alignment.

[0063] Alignment rules refer to the rules for formatting, encoding, or arranging frame headers according to specific communication protocols or data format requirements, including the length of the frame header, the order of fields, the data type and format of the fields, etc.

[0064] Illustratively, the alignment process may include: padding additional bytes to ensure that the length of the data frame meets specific requirements, adjusting the position of fields to comply with a specific arrangement order, etc.

[0065] In this embodiment, by marking the frame header of the tracking data and performing alignment processing on the tracking data, the efficiency of tracking data processing can be improved and subsequent analysis and processing of the data can be facilitated.

[0066] In one feasible implementation, step A10, configuring a target base address of a storage space for storing tracing data, includes:

[0067] Step A11 : increment the base address of the previous route to obtain the target base address of the storage space for storing the tracking data.

[0068] In a feasible embodiment, the main routing node increments the base address used in the last routing tracing data to obtain the target base address of the storage space for storing the tracing data.

[0069] Address auto-increment means starting from a starting address and gradually increasing according to a certain step size to finally determine or access the base address.

[0070] In this embodiment, the target base address for storing the trace data is determined by address auto-increment, which effectively simplifies the complexity of memory management and improves the readability and maintainability of the code.

[0071] To assist in understanding the above technical solution, a more complete embodiment of the tracking data processing method is provided. Figure 3 , step A101, the main routing node configures its control parameters so that it can receive the tracking data provided by the sub-routing node and perform subsequent processing. Step A102, when the main routing node receives the tracking data provided by the sub-routing node, it inserts a timestamp into the tracking data, identifies the frame header of the tracking data according to the preset alignment rules, and then aligns the tracking data. Step A103, the main routing node configures the target base address of the storage space for the tracking data. Step A104, the main routing node converts the tracking data into the routing protocol format to obtain routing tracking data. Step A105, the main routing node routes the routing tracking data to the storage space indicated by the target base address. By shortening the tracking data propagation path, the delay is reduced and the overall processing efficiency is improved.

[0072] Based on the first and / or second embodiments described above, a third embodiment of the tracking data processing method of the present application is proposed. In this embodiment, the tracking data processing method is applied to a sub-routing node. The sub-routing node is an important component of the Mesh network and can communicate with the main routing node or other sub-routing nodes via wireless means. The tracking data processing method includes:

[0073] Step B10, generating tracking data based on transaction data transmitted by the mounted network device;

[0074] In one embodiment, in a mesh network, a sub-routing node can monitor and record transaction data transmitted through connected network devices (e.g., system memory, matrix, etc.). This transaction data includes, but is not limited to, the sending and receiving of data packets, network requests and responses, etc. The sub-routing node can generate corresponding tracking data based on this transaction data.

[0075] A mounted network device refers to a network device connected to a routing node.

[0076] Exemplarily, the sub-routing node is provided with a debugging and tracing module, which can monitor the transaction data transmitted by the device mounted on the routing node and generate tracing data.

[0077] Step B20, sending the tracking data to the master routing node, wherein the tracking data is set to: a target base address for the master routing node to configure a storage space for storing the tracking data, converting the tracking data into a routing protocol format to obtain routing tracking data, and then routing the routing tracking data to the storage space indicated by the target base address.

[0078] In one feasible embodiment, the sub-routing node sends the generated tracking data to the main routing node so that the main routing node can configure the target base address of the storage space for storing the tracking data, convert the tracking data into a routing protocol format, obtain routing tracking data, and then route the routing tracking data to the storage space indicated by the target base address.

[0079] In this embodiment, by monitoring the transaction data transmitted by the network devices mounted on the sub-routing node and generating corresponding tracking data, the transparency and control capabilities of the network can be enhanced, thereby helping to maintain an efficient, secure and reliable network environment.

[0080] In one feasible implementation, step B10, generating tracking data based on transaction data transmitted by the mounted network device, includes:

[0081] Step B11, acquiring transaction data transmitted by the network device according to preset monitoring parameters;

[0082] In a feasible embodiment, the sub-routing node can monitor the network device mounted on it according to pre-configured monitoring parameters, thereby obtaining transaction data transmitted by the network device, wherein the monitoring parameters may include: monitored device number, data channel number, field group number, monitoring method, etc.

[0083] Step B12: extracting the fields of interest in the transaction data according to the preset tracking data type, and generating tracking data.

[0084] In one feasible embodiment, by configuring a specific tracing data type, the sub-routing node can capture data packets related to a specific protocol, source address, destination address, port, etc., and extract the fields of interest therein to generate tracing data containing key fields, thereby reducing the interference of irrelevant data and improving the processing efficiency of tracing data.

[0085] In one feasible implementation, step B10, generating tracking data based on transaction data transmitted by the mounted network device, includes:

[0086] Step B13, determining the target data length according to the tracking data type to which the transaction data belongs;

[0087] Step B14: Convert the transaction data into target data length to obtain tracking data.

[0088] In one feasible embodiment, a different data length is pre-set for each tracing data type, and then the sub-routing node determines a target data length that matches the transaction data based on the tracing data type to which the transaction data belongs; and then converts the transaction data into the target data length to obtain tracing data.

[0089] In this embodiment, transaction data is converted into corresponding target data lengths to ensure that data of the same type has a uniform length, thereby reducing data processing overhead, optimizing storage, and improving data processing efficiency.

[0090] To assist in understanding the above technical solution, a more complete embodiment 2 of the tracking data processing method is provided, referring to Figure 4In step B101, the sub-routing node pre-configures monitoring parameters to capture data packets associated with specific protocols, source addresses, destination addresses, ports, and so on. In step B102, the sub-routing node extracts fields of interest from the captured transaction data based on the pre-configured tracing data type. In step B103, the sub-routing node determines the target data length based on the tracing data type to which the extracted fields of interest belong, and then converts the fields to the target data length to obtain tracing data. In step B104, the sub-routing node transmits the tracing data to the main routing node, so that the main routing node can configure the target base address of the storage space for storing the tracing data. The sub-routing node converts the tracing data into a routing protocol format to obtain routing tracing data, and then routes the routing tracing data to the storage space indicated by the target base address. By monitoring transaction data transmitted by the attached network devices and generating corresponding tracing data through the sub-routing node, network transparency and control capabilities can be enhanced, thereby helping to maintain an efficient, secure, and reliable network environment. By shortening the tracing data propagation path, the main routing node reduces latency and improves overall processing efficiency.

[0091] It should be noted that the above examples are only used to understand the present application and do not constitute a limitation on the tracking data processing method of the present application. More simple transformations based on this technical concept are all within the scope of protection of the present application.

[0092] The present application embodiment provides a tracking data processing device, referring to Figure 5 The device is applied to the main routing node, and the device includes:

[0093] a configuration module 11 configured to configure a target base address of a storage space for storing the tracing data upon receiving the tracing data provided by the sub-routing node;

[0094] The conversion module 12 is configured to convert the tracking data into a routing protocol format to obtain routing tracking data;

[0095] The routing module is configured to route the route tracing data to the storage space indicated by the target base address.

[0096] The tracking data processing device provided in the embodiments of the present application utilizes the tracking data processing method of the aforementioned embodiments to address the technical issue of low tracking data processing efficiency. Compared to the prior art, the tracking data processing device provided in the embodiments of the present application achieves the same beneficial effects as the tracking data processing method provided in the aforementioned embodiments. Other technical features of the tracking data processing device are the same as those disclosed in the aforementioned embodiments and are not further elaborated upon here.

[0097] The present application also provides another tracking data processing device, referring to Figure 6The device is applied to the sub-routing node, and the device includes:

[0098] a generating module 21 configured to generate tracking data based on transaction data transmitted by the mounted network device;

[0099] The sending module 22 is configured to send the tracking data to the main routing node, wherein the tracking data is set to: a target base address for the main routing node to configure a storage space for storing the tracking data, and convert the tracking data into a routing protocol format to obtain routing tracking data, and then route the routing tracking data to the storage space indicated by the target base address.

[0100] The tracking data processing device provided in the embodiments of the present application utilizes the tracking data processing method of the aforementioned embodiments to address the technical issue of low tracking data processing efficiency. Compared to the prior art, the tracking data processing device provided in the embodiments of the present application achieves the same beneficial effects as the tracking data processing method provided in the aforementioned embodiments. Other technical features of the tracking data processing device are the same as those disclosed in the aforementioned embodiments and are not further elaborated upon here.

[0101] An embodiment of the present application provides a master routing node, each of which includes: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to perform the tracking data processing method of the above-mentioned embodiment 1.

[0102] Reference below Figure 7 , respectively, show schematic structural diagrams of master routing nodes suitable for implementing embodiments of the present application. The master routing nodes in the embodiments of the present application may include, but are not limited to, mobile terminals such as mobile phones, laptop computers, digital broadcast receivers, PDAs (Personal Digital Assistants), PADs (Portable Application Descriptions), PMPs (Portable Media Players), in-vehicle terminals (e.g., in-vehicle navigation terminals), and fixed terminals such as digital TVs and desktop computers. Figure 7 The main routing node shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present application.

[0103] like Figure 7As shown, the master routing node may include a processing device 1001 (e.g., a central processing unit, a graphics processing unit, etc.), which can perform various appropriate actions and processes based on programs stored in read-only memory (ROM) 1002 or programs loaded from storage device 1003 into random access memory (RAM) 1004. RAM 1004 also stores various programs and data required for the operation of the master routing node. Processing device 1001, ROM 1002, and RAM 1004 are interconnected via bus 1005. An input / output (I / O) interface 1006 is also connected to the bus. Typically, the following systems can be connected to I / O interface 1006: input device 1007 including, for example, a touch screen, touchpad, keyboard, mouse, image sensor, microphone, accelerometer, gyroscope, etc.; output device 1008 including, for example, a liquid crystal display (LCD), speaker, vibrator, etc.; storage device 1003 including, for example, a magnetic tape, hard disk, etc.; and communication device 1009. Communication device 1009 can allow the master routing node to communicate with other devices wirelessly or wired to exchange data. Although the figure shows a master routing node with various systems, it should be understood that it is not required to implement or have all the systems shown. More or fewer systems can be implemented or have instead.

[0104] In particular, according to the embodiments disclosed in the present application, the processes described above with reference to the flowcharts can be implemented as computer software programs. For example, the embodiments disclosed in the present application include a computer program product comprising a computer program carried on a computer-readable medium, the computer program comprising program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from a network via a communication device, or installed from a storage device 1003, or installed from a ROM 1002. When the computer program is executed by the processing device 1001, the above-mentioned functions defined in the method of the embodiment disclosed in the present application are executed.

[0105] The master routing node provided in the embodiments of the present application employs the tracking data processing method of the above-described embodiments, thereby resolving the technical issue of low tracking data processing efficiency. Compared to the prior art, the beneficial effects of the master routing node provided in the embodiments of the present application are the same as those of the tracking data processing method provided in the above-described embodiments, and the other technical features of the master routing node are the same as those disclosed in the above-described embodiments, and are not further elaborated here.

[0106] It should be understood that the various parts disclosed in this application can be implemented using hardware, software, firmware, or a combination thereof. In the description of the above embodiments, specific features, structures, materials, or characteristics can be combined in any one or more embodiments or examples in a suitable manner.

[0107] The above are only specific embodiments of the present application, but the scope of protection of this application is not limited thereto. Any changes or substitutions that can be easily conceived by a person skilled in the art within the technical scope disclosed in this application should be included in the scope of protection of this application. Therefore, the scope of protection of this application should be based on the scope of protection of the claims.

[0108] An embodiment of the present application further provides a sub-routing node, each of which includes: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to perform the tracking data processing method of the above-mentioned embodiment 1.

[0109] Reference below Figure 8 , which respectively show schematic structural diagrams of sub-routing nodes suitable for implementing embodiments of the present application. The sub-routing nodes in the embodiments of the present application may include, but are not limited to, mobile terminals such as mobile phones, laptop computers, digital broadcast receivers, PDAs (Personal Digital Assistants), PADs (Portable Application Descriptions), PMPs (Portable Media Players), in-vehicle terminals (e.g., in-vehicle navigation terminals), and fixed terminals such as digital TVs and desktop computers. Figure 8 The sub-routing node shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present application.

[0110] like Figure 8As shown, a sub-routing node may include a processing device 2001 (e.g., a central processing unit, a graphics processing unit, etc.), which can perform various appropriate actions and processes based on programs stored in a read-only memory (ROM) 2002 or programs loaded from a storage device 2003 into a random access memory (RAM) 2004. RAM 2004 also stores various programs and data required for the operation of the sub-routing node. Processing device 2001, ROM 2002, and RAM 2004 are interconnected via a bus 2005. An input / output (I / O) interface 2006 is also connected to the bus. Typically, the following systems can be connected to I / O interface 2006: input devices 2007 including, for example, a touch screen, touchpad, keyboard, mouse, image sensor, microphone, accelerometer, gyroscope, etc.; output devices 2008 including, for example, a liquid crystal display (LCD), speaker, vibrator, etc.; storage devices 2003 including, for example, a magnetic tape, hard disk, etc.; and communication devices 2009. Communication device 2009 can allow the sub-routing node to communicate with other devices wirelessly or wired to exchange data. Although the figure shows a sub-routing node with various systems, it should be understood that it is not required to implement or have all of the systems shown. More or fewer systems can be implemented or have instead.

[0111] In particular, according to the embodiments disclosed in the present application, the processes described above with reference to the flowcharts can be implemented as computer software programs. For example, the embodiments disclosed in the present application include a computer program product comprising a computer program carried on a computer-readable medium, the computer program comprising program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from a network via a communication device, or installed from a storage device 2003, or installed from a ROM 2002. When the computer program is executed by the processing device 2001, the above-mentioned functions defined in the method of the embodiment disclosed in the present application are executed.

[0112] The sub-routing node provided in the embodiments of the present application employs the tracking data processing method of the above-described embodiments, thereby resolving the technical issue of low tracking data processing efficiency. Compared to the prior art, the sub-routing node provided in the embodiments of the present application achieves the same beneficial effects as the tracking data processing method provided in the above-described embodiments, and the other technical features of the sub-routing node are the same as those disclosed in the above-described embodiments, and are not further elaborated upon here.

[0113] It should be understood that the various parts disclosed in this application can be implemented using hardware, software, firmware, or a combination thereof. In the description of the above embodiments, specific features, structures, materials, or characteristics can be combined in any one or more embodiments or examples in a suitable manner.

[0114] The above are only specific embodiments of the present application, but the scope of protection of this application is not limited thereto. Any changes or substitutions that can be easily conceived by a person skilled in the art within the technical scope disclosed in this application should be included in the scope of protection of this application. Therefore, the scope of protection of this application should be based on the scope of protection of the claims.

[0115] An embodiment of the present application provides a computer-readable storage medium having computer-readable program instructions (ie, a computer program) stored thereon, wherein the computer-readable program instructions are used to execute the tracking data processing method in the above embodiment.

[0116] The computer-readable storage medium provided in the embodiments of the present application may be, for example, a USB flash drive, but is not limited to electrical, magnetic, optical, electromagnetic, infrared, or semiconductor systems, systems or devices, or any combination thereof. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination thereof. In this embodiment, the computer-readable storage medium may be any tangible medium that contains or stores a program that can be used by or in conjunction with an instruction execution system, system or device. The program code contained on the computer-readable storage medium may be transmitted using any appropriate medium, including but not limited to: wires, optical cables, RF (Radio Frequency), etc., or any suitable combination thereof.

[0117] The computer-readable storage medium may be included in the sub-routing node and / or the main routing node; or may exist independently without being assembled into the sub-routing node and / or the main routing node.

[0118] The computer-readable storage medium carries one or more programs. When the one or more programs are executed by the main routing node, the main routing node generates tracking data based on the transaction data transmitted by the mounted network device; sends the tracking data to the main routing node, wherein the tracking data is set to: a target base address of a storage space configured for the main routing node to store the tracking data, converts the tracking data into a routing protocol format to obtain routing tracking data, and then routes the routing tracking data to the storage space indicated by the target base address.

[0119] When the above one or more programs are executed by the sub-routing node, the sub-routing node: generates a configuration message when detecting access to the main routing node, wherein the configuration message carries the currently stored first virtual LAN identifier, and the first virtual LAN identifier is used for the configuration of the virtual LAN identifier; and sends the configuration message to the main routing node.

[0120] Computer program code for performing the operations of the present application may be written in one or more programming languages, or a combination thereof, including object-oriented programming languages ​​such as Java, Smalltalk, C++, and conventional procedural programming languages ​​such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a stand-alone software package, partially on the user's computer and partially on a remote computer, or entirely on the remote computer or server. In cases involving a remote computer, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., through the Internet using an Internet service provider).

[0121] The flow charts and block diagrams in the accompanying drawings illustrate the possible architecture, functions and operations of the systems, methods and computer program products according to various embodiments of the present application. In this regard, each box in the flow chart or block diagram can represent a module, program segment or a part of code, and the module, program segment or a part of code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order than that marked in the accompanying drawings. For example, two boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram and / or flow chart, and the combination of the boxes in the block diagram and / or flow chart can be implemented by a dedicated hardware-based system that performs the specified function or operation, or can be implemented by a combination of dedicated hardware and computer instructions.

[0122] The modules described in the embodiments of the present application may be implemented in software or hardware, wherein the name of a module does not necessarily limit the unit itself.

[0123] The readable storage medium provided in the embodiments of the present application is a computer-readable storage medium that stores computer-readable program instructions (i.e., a computer program) for executing the aforementioned tracking data processing method, thereby resolving the technical issue of low tracking data processing efficiency. Compared to the prior art, the beneficial effects of the computer-readable storage medium provided in the embodiments of the present application are the same as those of the tracking data processing method provided in the aforementioned embodiments, and are not further elaborated here.

[0124] The above are only some embodiments of the present application and are not intended to limit the patent scope of the present application. All equivalent structural transformations made using the contents of the present application specification and drawings under the technical concept of the present application, or direct / indirect application in other related technical fields are included in the patent protection scope of the present application.

Claims

1. A tracking data processing method, characterized in that: The method is applied to a master routing node, and the method includes: Upon receiving the tracing data provided by the child routing node, configuring a target base address of a storage space for storing the tracing data; Converting the tracking data into a routing protocol format to obtain routing tracking data; The route tracing data is routed to the storage space indicated by the target base address.

2. The method according to claim 1, wherein Before the step of converting the tracking data into a routing protocol format, the method further includes: A timestamp is inserted into the tracking data.

3. The method according to claim 1, wherein Before the step of converting the tracking data into a routing protocol format, the method further includes: According to a preset alignment rule, the frame header of the tracking data is identified, and alignment processing is performed on the tracking data.

4. The method according to claim 1, wherein The step of configuring a target base address of a storage space for storing the tracking data comprises: The base address of the last route is incremented to obtain a target base address of the storage space for storing the tracking data.

5. A tracking data processing method, characterized in that: The method is applied to a sub-routing node, and the method includes: Generate tracking data based on transaction data transmitted by mounted network devices; Send the tracking data to the main routing node, wherein the tracking data is set to: a target base address for the main routing node to configure a storage space for storing the tracking data, convert the tracking data into a routing protocol format to obtain routing tracking data, and then route the routing tracking data to the storage space indicated by the target base address.

6. The tracking data processing method according to claim 5, wherein: The step of generating tracking data based on transaction data transmitted by the mounted network device includes: Acquiring transaction data transmitted by the network device according to preset monitoring parameters; According to the preset tracking data type, the fields of interest in the transaction data are extracted and the tracking data is generated.

7. The tracking data processing method according to claim 5, wherein: The step of generating tracking data based on transaction data transmitted by the mounted network device includes: Determining a target data length according to the type of tracking data to which the transaction data belongs; The transaction data is converted into the target data length to obtain the tracking data.

8. A master routing node, characterized in that: The master routing node includes: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the computer program is configured to implement the steps of the tracking data processing method according to any one of claims 1 to 4.

9. A sub-routing node, characterized in that: The sub-routing node includes: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the computer program is configured to implement the steps of the tracing data processing method according to any one of claims 5 to 7.

10. A storage medium, characterized in that: The storage medium is a computer-readable storage medium, and a computer program is stored on the storage medium. When the computer program is executed by a processor, the steps of the tracking data processing method according to any one of claims 1 to 7 are implemented.

Citation Information

Patent Citations

  • Method and system for providing services by service bus

    CN103595695A

  • 1588 protocol-based time transmission method and 1588 protocol-based time transmission system

    CN110113127A

  • NoC tracking data generation method and related device

    CN112312396A

  • System, apparatus and method for adaptive interconnect routing

    CN113366458A

  • Data processing method, event tracking analysis method, device, equipment and medium

    CN116108091A

Cited By

  • Tracking information transmission system and method, storage medium and integrated circuit product

    CN121116765A

  • Tracking information transmission system, method, storage medium and integrated circuit product

    CN121116765B

  • Trace data processing method, medium, main routing node, and sub routing node

    WO2026138185A1