Intelligent tracking system and operation method thereof
By using the processor and storage device of the intelligent tracking system to parse and store the data of the telemetry system, the problem of telemetry system specification changes is solved, and the automated tracking of custom data is realized, improving the convenience and development efficiency of the system.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- QUANTA COMPUTER INC
- Filing Date
- 2024-11-19
- Publication Date
- 2026-05-08
AI Technical Summary
Existing telemetry systems require changes to system specifications when tracking custom data, and lack automation.
An intelligent tracking system is provided, including a processor and a storage device. Through a service content parsing module, a telemetry content parsing module, a span module, and a telemetry storage module, it parses and stores general content, telemetry content, and custom data to form tracking data.
It enables data tracking and customization without changing system specifications, increasing ease of use, accelerating development, and reducing costs.
Smart Images

Figure CN121996493A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to a tracking system, and more particularly to an intelligent tracking system and its operating method. Background Technology
[0002] With the rapid increase in the number of application systems, telemetry systems have become an indispensable part of modern software development and operation. Responsible for data collection and monitoring, telemetry systems use their "tracking mechanisms" to help developers and operations teams monitor application flow, errors, and various other key metrics in real time, thereby ensuring reliable system operation. Their rich data and insights help us monitor various applications in different environments.
[0003] However, because existing telemetry systems require modifications to their specifications to support tracking custom data, they also lack automation. Therefore, finding a way to simultaneously access both tracking and custom data without altering system specifications is a crucial current challenge. Summary of the Invention
[0004] This invention provides an intelligent tracking system and its operating method, which enables the intelligent tracking system to have both tracking data and custom data information without changing system specifications, thereby increasing ease of use.
[0005] This invention provides an intelligent tracking system, including a processor and a storage device. The processor accesses and executes the service content parsing module, telemetry content parsing module, span module, and telemetry storage module stored in the storage device. The processor performs the following: Parses the service data using the service content parsing module to obtain general content and telemetry content. Parses the telemetry content using the telemetry content parsing module to obtain custom data. Adds at least one log to the service data using the span module to generate span data. Stores the span data, general content, telemetry content, and custom data in a database using the telemetry storage module to form tracking data.
[0006] This invention provides an operating method for an intelligent tracking system, comprising the following steps: First, a service content parsing module parses service data to obtain general content and telemetry content. Second, a telemetry content parsing module parses the telemetry content to obtain custom data. Third, a span module adds at least one log to the service data to generate span data. Fourth, a telemetry storage module stores the span data, general content, telemetry content, and custom data in a database to form tracking data.
[0007] The intelligent tracking system and its operating method disclosed in this invention parse service data through a service content parsing module to obtain general content and telemetry content. A telemetry content parsing module parses the telemetry content to obtain custom data. A span module adds at least one log to the service data to generate span data. A telemetry storage module stores the span data, general content, telemetry content, and custom data in a database to form tracking data. In this way, the intelligent tracking system can simultaneously possess tracking data and custom data without changing system specifications, increasing ease of use. Attached Figure Description
[0008] Figure 1 This is a schematic diagram of an intelligent tracking system according to an embodiment of the present invention.
[0009] Figure 2 This is a schematic diagram of an intelligent tracking system according to another embodiment of the present invention.
[0010] Figure 3 This is a flowchart of an operation method of an intelligent tracking system according to an embodiment of the present invention.
[0011] Figure 4 This is a flowchart of an operation method of an intelligent tracking system according to another embodiment of the present invention.
[0012] Figure 5 for Figure 3 or Figure 4 The detailed flowchart of step S304.
[0013] Figure 6 for Figure 4 The detailed flowchart of step S404.
[0014] [Symbol Explanation]
[0015] 100, 200: Intelligent Tracking System
[0016] 110, 210: Processors
[0017] 120, 220: Storage devices
[0018] 130: Service Content Analysis Module
[0019] 140: Telemetry Content Analysis Module
[0020] 150: Span Module
[0021] 160: Telemetry Storage Module
[0022] 230: Span Log Module
[0023] 240: Telemetry Content Recording Module
[0024] S302~S308, S402~S404, S502~S506, S602~S610: Steps Detailed Implementation
[0025] In the embodiments listed below, the same or similar elements or components will be represented by the same reference numerals.
[0026] Figure 1 This is a schematic diagram of an intelligent tracking system according to an embodiment of the present invention. Please refer to... Figure 1 The intelligent tracking system 100 may include a processor 110 and a storage device 120. In some embodiments, the intelligent tracking system 100 may be a server, a notebook computer, a desktop computer, a smart monitor, a smart monitoring device, or an electronic device that includes computing and storage functions.
[0027] Processor 110 can be coupled to storage device 120. Processor 110 can be used to access programs stored in storage device 120 to perform the functions of service content parsing module 130, telemetry content (payload) parsing module 140, span module 150 and telemetry storage module 160.
[0028] In some embodiments, the processor 110 may include a micro control unit (MCU), a microprocessor, a digital signal processor (DSP), a field programmable gate array (FPGA), an application-specific integrated circuit (ASIC), or a logic circuit, but the embodiments of the present invention are not limited thereto.
[0029] In some embodiments, the storage device 120 may include a read-only memory, flash memory, floppy disk, hard disk, optical disk, USB flash drive, magnetic tape, or other suitable storage medium, but the embodiments of the present invention are not limited thereto. In some embodiments, the service content parsing module 130, the telemetry content parsing module 140, the span module 150, and the telemetry storage module 160 may be implemented in software. In some embodiments, the service content parsing module 130, the telemetry content parsing module 140, the span module 150, and the telemetry storage module 160 may be implemented by hardware circuits or chips with specific functions that are independent of the storage device 120.
[0030] Processor 110 can parse service data through service content parsing module 130 to obtain general content and telemetry content. For example, when processor 110 receives a call from an upstream service (e.g., an external service) to a downstream service, processor 110 can immediately activate the intelligent tracking mechanism. Then, processor 110 can parse the service content provided by this downstream service through service content parsing module 130 to obtain general content and telemetry content. In other words, processor 110 can completely record the service content provided by this downstream service through service content parsing module 130.
[0031] In this embodiment, the telemetry content may include data such as a trace ID used to connect upstream and downstream services. Generally, the content may include the transmission protocol used by the downstream service and the input parameters received when the downstream service is triggered, but this embodiment of the invention is not limited to this.
[0032] Furthermore, the aforementioned transmission protocol can be Hypertext Transfer Protocol (HTTP) or Hypertext Transfer Protocol Secure (HTTPS), but this embodiment of the invention is not limited to these. Additionally, the aforementioned downstream service can be a Representational State Transfer (RESTful) application programming interface (API), and the aforementioned input parameters can be data related to HTTP requests / responses, but this embodiment of the invention is not limited to these.
[0033] Next, the processor 110 can parse the telemetry content through the telemetry content parsing module 140 to obtain custom data. For example, the telemetry content parsing module 140 can extract the custom data that has been pre-added to the original data according to a pre-designed custom specification, and store it in a "key:value" format. Furthermore, to ensure that the custom data does not affect other data, the naming of the "key" is designed to be unique and unmodifiable. In addition, each "key:value" can represent a piece of custom data. Furthermore, if multiple sets of custom data are needed within the original data, multiple different "key:value" sets need to be designed for transmission. In this way, custom data can be attached to the original data, thereby reducing the threshold for various systems to read and write data through the intelligent tracking system 100, and requiring each application system to modify its own system architecture.
[0034] In some embodiments, the custom data may include a device identifier (AqDeviceId), a platform call skill service serial number identifier (AqSequence), a session identifier (AqSessionId), a skill-specific identifier (AqSaasEventId), and a user identifier (CampUserId), etc., but the embodiments of the present invention are not limited thereto. In other embodiments, users can adjust the content of the custom data according to their needs; that is, in addition to the aforementioned identifiers, the custom data may also include other suitable identifiers.
[0035] For example, this downstream service is a skill application programming interface (API), which is only called by external platforms. These platforms are triggered by sessions generated by front-end users (CampUser). Therefore, this downstream service generally cannot obtain the session identifier (AqSessionId) and user identifier (CampUserId). Only with the assistance of the telemetry content parsing module 140 in this embodiment of the invention can the purpose of automatically transmitting and recording custom data be achieved.
[0036] Furthermore, in some embodiments, when the processor 110 receives general content and telemetry content provided by the service content parsing module 130, the processor 110 can use the telemetry content parsing module 140 to determine whether to parse the telemetry content based on the smart tracking setting value. That is, the telemetry content parsing module 140 determines, based on the smart tracking setting value, whether to disassemble the complete data transmitted by the service content module according to a pre-designed custom specification for subsequent reading of custom data. In some embodiments, when the smart tracking setting value is set to "Y", it indicates that the parsing function of the telemetry content parsing module 140 should be enabled. When the smart tracking setting value is set to "N", it indicates that the parsing function of the telemetry content parsing module 140 should not be enabled.
[0037] When it is confirmed that telemetry content will not be parsed (e.g., the smart tracking setting is set to "N"), the processor 110 can store the general content and telemetry content through the telemetry content parsing module 140. When it is confirmed that telemetry content will be parsed (e.g., the smart tracking setting is set to "Y"), the processor 110 can parse the telemetry content through the telemetry content parsing module 140 to obtain custom data, and store the custom data, general content, and telemetry content.
[0038] Subsequently, processor 110 can add at least one log to the service data through span module 150 to generate span data. In some embodiments, the downstream service itself is a presentation layer state transition application programming interface (RESTful API), and when processor 110 executes service content parsing module 130, service content parsing module 130 can only record information related to Hypertext Transfer Protocol (HTTP) operations. By adding at least one log to the service data through span module 150 of this embodiment, the service content can record other information, such as the application represented by the downstream service, the application name, and the application version number.
[0039] In other words, the span module 150 can add information beyond that of the service content parsing module 130 to enhance the richness of the service content's span, allowing the intelligent tracking system 100 to record logs with more diverse field information. Furthermore, the span module 150 can also use custom data successfully read and stored by the telemetry content parsing module 140 to update the span field information of the service content, thus successfully utilizing externally transmitted custom data.
[0040] Subsequently, the processor 110 can store span data, general content, telemetry content, and custom data to a database via the telemetry storage module 160 to form tracking data. In some embodiments, the database is, for example, an Elasticsearch platform database, and the transfer of data to the database uses, for example, RabbitMQ technology supported by an event bus, allowing data to be written sequentially to the Elasticsearch platform on a queue. This avoids the possibility that the recording module might be overwhelmed by excessive data volume, but the embodiments of the present invention are not limited to this. In this way, the intelligent tracking system 100 can complete the task of recording tracking data without changing system specifications and simultaneously possessing information on both tracking data and custom data.
[0041] Figure 2 This is a schematic diagram of an intelligent tracking system according to an embodiment of the present invention. Please refer to... Figure 2 The intelligent tracking system 200 may include a processor 210 and a storage device 220. In some embodiments, the intelligent tracking system 200 may be a server, a notebook computer, a desktop computer, a smart monitor, a smart monitoring device, or an electronic device that includes computing and storage functions.
[0042] Processor 210 may be coupled to storage device 220. Processor 210 may be used to access programs stored in storage device 220 to execute the functions of service content parsing module 130, telemetry content parsing module 140, span module 150, telemetry storage module 160, span log module 230, and telemetry content recording module 240. In some embodiments, processor 210 may include a microcontroller, microprocessor, digital signal processor, field-programmable gate array, application-specific integrated circuit, or logic circuit, but the embodiments of the present invention are not limited thereto.
[0043] In some embodiments, the storage device 220 may include a read-only memory, flash memory, floppy disk, hard disk, optical disk, USB flash drive, magnetic tape, or other suitable storage medium, but the embodiments of the present invention are not limited thereto. In some embodiments, the service content parsing module 130, the telemetry content parsing module 140, the span module 150, the telemetry storage module 160, the span log module 230, and the telemetry content recording module 240 may be implemented by software. In some embodiments, the service content parsing module 130, the telemetry content parsing module 140, the span module 150, the telemetry storage module 160, the span log module 230, and the telemetry content recording module 240 may be implemented by hardware circuits or chips with specific functions that are independent of the storage device 220.
[0044] In this embodiment, the service content parsing module 130, the telemetry content parsing module 140, the span module 150, and the telemetry storage module 160 are connected with... Figure 1 The service content parsing module 130, telemetry content parsing module 140, span module 150, and telemetry storage module 160 are the same or similar, and can be referenced. Figure 1 The embodiments are described in detail here, so they will not be repeated here.
[0045] Processor 210 can add event logs within the span to the span data through span log module 230. That is, after span module 150 generates span data, processor 210 can add one or more event logs recorded within the time axis spanned by the span, representing the occurrence of various attributes within a single time span, thus overcoming the limitation that each attribute in span module 150 can only record a single value. Furthermore, the event logs can be stored in an array to record 1 to N logs of unlimited quantity, and each log can contain multiple fields of information; however, this embodiment of the invention is not limited to this.
[0046] Processor 210 can share tracking data via telemetry content recording module 240. In some embodiments, telemetry content recording module 240 can use the same technology as telemetry content parsing module 140. For example, using a currently supported RESTful API, telemetry content recording module 240 can store custom data wrapped in "key:value" format via HTTP headers to share tracking data with downstream services, allowing downstream services to access it through their existing API technology without needing to adjust their original call handling practices. Therefore, existing systems already in operation can use this technology without changing system specifications, effectively improving development speed and significantly reducing implementation costs.
[0047] Furthermore, in some embodiments, when the processor 210 receives tracking data provided by the telemetry storage module 160, the processor 210 can determine whether to share the tracking data based on the sharing setting value through the telemetry content recording module 240. In some embodiments, when the sharing setting value is set to "Y", it indicates that the data sharing function of the telemetry content recording module 240 should be enabled. When the sharing setting value is set to "N", it indicates that the data sharing function of the telemetry content recording module 240 should not be enabled.
[0048] When it is confirmed that the tracking data will not be shared (e.g., the sharing setting is set to "N"), the processor 210 will not share the tracking data through the telemetry content recording module 240. When it is confirmed that the tracking data will be shared (e.g., the sharing setting is set to "Y"), the processor 210 can determine whether to share custom data in the tracking data.
[0049] When it is confirmed that custom data in the tracking data will not be shared, the processor 210 can provide the span data, general content, and telemetry content from the tracking data. In other words, the telemetry content recording module 240 can read the tracking information (i.e., span data, general content, and telemetry content) and then set it into the original call content. For example, when an upstream service calls a downstream service's presentation layer state transition application programming interface (RESTful API), the telemetry content recording module 240 can include information such as the trace ID from the telemetry content of the tracking data in the HTTP headers and have it automatically transmitted when the request is sent.
[0050] When it is confirmed that custom data in the tracking data will be shared, the processor 210 can provide the span data, general content, telemetry content, and custom data from the tracking data. That is, the telemetry content recording module 240 can read the tracking information (i.e., span data, general content, telemetry content, and custom data) and then set it into the original call content. For example, when an upstream service calls a downstream service's presentation layer state transition application interface, the telemetry content recording module 240 can include information such as the trajectory identifier of the telemetry content in the tracking data, as well as the custom data, in the Hypertext Transfer Protocol header file and automatically transmit it when the request is sent. Then, the original operation of calling the downstream service can continue, and all custom information will be extracted again by the telemetry content parsing module 140 in the next loop. In this way, the intelligent tracking system 200 can achieve the effect of dynamically and automatically transmitting custom data without modifying the presentation layer state transition application interface specification (Spec).
[0051] Figure 3 This is a flowchart illustrating an operation method of an intelligent tracking system according to an embodiment of the present invention. In this embodiment, the operation method of the intelligent tracking system is applicable to... Figure 1 The intelligent tracking system 100. In step S302, the service data is parsed by the service content parsing module to obtain general content and telemetry content.
[0052] In step S304, the telemetry content parsing module parses the telemetry content to obtain custom data. In step S306, the span module adds at least one log to the service data to generate span data. In step S308, the telemetry storage module stores the span data, general content, telemetry content, and custom data in the database to form tracking data.
[0053] Figure 4 This is a flowchart illustrating an operation method of an intelligent tracking system according to another embodiment of the present invention. In this embodiment, the operation method of the intelligent tracking system is applicable to... Figure 2 The intelligent tracking system 200. Furthermore, in this embodiment, steps S302 to S308 are... Figure 3 Steps S302 to S308 are the same or similar, and can be referred to. Figure 3 The embodiments are described in detail here, so they will not be repeated here.
[0054] In step S402, the span log module adds event logs within the span data. In step S404, the telemetry content recording module shares the tracking data.
[0055] Figure 5 for Figure 3 or Figure 4The detailed flowchart for step S304 is as follows. In step S502, based on the intelligent tracking setting value, it is confirmed whether to parse the telemetry content. If it is confirmed that the telemetry content will not be parsed, proceed to step S504 to store the general content and the telemetry content. If it is confirmed that the telemetry content will be parsed, proceed to step S506 to parse the telemetry content to obtain custom data, and store the custom data, general content, and telemetry content.
[0056] Figure 6 for Figure 4 The detailed flowchart for step S404 is as follows. In step S602, based on the sharing settings, it is confirmed whether to share the tracking data. If it is confirmed that the tracking data will not be shared, proceed to step S604, where the tracking data is not shared. If it is confirmed that the tracking data will be shared, proceed to step S606, where it is confirmed whether to share the custom data within the tracking data.
[0057] If it is confirmed that custom data in the tracking data will not be shared, proceed to step S608, where the span data, general content, and telemetry content in the tracking data are provided. If it is confirmed that custom data in the tracking data will be shared, proceed to step S610, where the span data, general content, telemetry content, and custom data in the tracking data are provided.
[0058] In summary, the intelligent tracking system and its operating method disclosed in this invention parse service data through a service content parsing module to obtain general content and telemetry content. A telemetry content parsing module parses the telemetry content to obtain custom data. A span module adds at least one log to the service data to generate span data. A telemetry storage module stores the span data, general content, telemetry content, and custom data in a database to form tracking data. In this way, the intelligent tracking system can simultaneously possess tracking data and custom data information without changing system specifications, increasing ease of use. Furthermore, the intelligent tracking system in this embodiment further includes adding event logs within the span of the span data through a span log module and sharing the tracking data through a telemetry content recording module. This increases the richness of the span data, and the intelligent tracking system can achieve dynamic and automated transmission of custom data without modifying the presentation layer state transition application interface specifications. The intelligent tracking system can be used without changing system specifications, effectively improving development speed and significantly reducing import costs.
[0059] Although the present invention has been disclosed above with reference to embodiments, it is not intended to limit the scope of the present invention. Those skilled in the art can make some modifications and refinements without departing from the spirit and scope of the present invention. Therefore, the scope of protection of the present invention shall be determined by the scope defined in the appended claims.
Claims
1. An intelligent tracking system, comprising: processor; as well as The processor is configured to access the service content parsing module, telemetry content parsing module, span module, and telemetry storage module stored in the storage device, and to execute the service content parsing module, the telemetry content parsing module, the span module, and the telemetry storage module, wherein the processor executes: The service content parsing module is used to parse the service data to obtain general content and telemetry content. The telemetry content parsing module is used to parse the telemetry content in order to obtain custom data. This span module adds at least one log to the service data to generate span data; as well as The telemetry storage module stores the span data, general content, telemetry content, and custom data in a database to form tracking data.
2. The intelligent tracking system of claim 1, wherein the storage device further includes a span log module, and the processor further performs: This span log module adds event logs within the span of the data.
3. The intelligent tracking system as described in claim 1, wherein the storage device further includes a telemetry content recording module, and the processor further performs: The tracking data can be shared through this telemetry content recording module.
4. The intelligent tracking system as described in claim 3, wherein the processor confirms whether to share the tracking data through the telemetry content recording module; when it is confirmed that the tracking data will be shared, the processor confirms whether to share the custom data in the tracking data; when it is confirmed that the custom data in the tracking data will not be shared, the processor provides the span data, the general content, and the telemetry content in the tracking data; when it is confirmed that the custom data in the tracking data will be shared, the processor provides the span data, the general content, the telemetry content, and the custom data in the tracking data.
5. The intelligent tracking system as described in claim 1, wherein the processor determines whether to parse the telemetry content based on the intelligent tracking setting value through the telemetry content parsing module; when it is determined that the telemetry content should not be parsed, the processor stores the general content and the telemetry content; when it is determined that the telemetry content should be parsed, the processor parses the telemetry content to obtain the custom data, and stores the custom data, the general content, and the telemetry content.
6. A method for operating an intelligent tracking system, comprising: The service content parsing module parses the service data to obtain general content and telemetry content. The telemetry content parsing module is used to parse the telemetry content in order to obtain custom data. Using the span module, add at least one log to the service data to generate span data; as well as The telemetry storage module stores the span data, general content, telemetry content, and custom data in the database to form tracking data.
7. The method of operating the intelligent tracking system as described in claim 6 further includes: The span log module adds event logs within the span of the data.
8. The method of operating the intelligent tracking system as described in claim 6, further comprising: The tracking data is shared through the telemetry content recording module.
9. The operation method of the intelligent tracking system as described in claim 8, wherein the step of sharing the tracking data through the telemetry content recording module includes: Based on the sharing settings, confirm whether to share the tracking data; When confirming the sharing of this tracking data, confirm whether to share the custom data within this tracking data; When it is confirmed that the custom data in the tracking data will not be shared, the span data, the general content and the telemetry content in the tracking data are provided; as well as When it is confirmed that the custom data in the tracking data will be shared, the span data, the general content, the telemetry content and the custom data in the tracking data will be provided.
10. The operation method of the intelligent tracking system as described in claim 6, wherein the step of parsing the telemetry content through the telemetry content parsing module to obtain the custom data includes: Based on the intelligent tracking settings, determine whether to parse the telemetry data; When it is confirmed that the telemetry content will not be parsed, the general content and the telemetry content are stored together. as well as When it is confirmed that the telemetry content will be parsed, the telemetry content will be parsed to obtain the custom data, and the custom data, the general content, and the telemetry content will be stored.