Intelligent tracking system and operation method thereof
Patent Information
- Application Number
- TW113142289
- Authority / Receiving Office
- TW · TW
- Patent Type
- Patents
- Current Assignee / Owner
- Filing Date
- 2024-11-05
- Publication Date
- 2026-08-11
- Estimated Expiration
- 2044-11-04
AI Technical Summary
Existing telemetry systems require modifications to their system specifications to support tracking and custom data, lacking automation for accessing both without changing system specifications.
An intelligent tracking system that includes a processor and storage device, utilizing modules to parse service and telemetry content, add logs to generate span data, and store data in a database, allowing simultaneous access to tracking and custom data without altering system specifications.
Enables the intelligent tracking system to collect and store both tracking and custom data without modifying system specifications, enhancing ease of use, development speed, and reducing implementation costs.
Smart Images

Figure TWG2TB001905455_001 
Figure TWG2TB001905455_002 
Figure TWG2TB001905455_003
Abstract
Description
Technical Field
[0001] This invention relates to a tracking system, and more particularly to an intelligent tracking system and its operating method. Prior 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. Through data collection and monitoring, telemetry systems, with their "tracking mechanisms," help developers and operations teams monitor application flow, errors, and various other key indicators in real time, thereby ensuring reliable system operation. Their rich data and insights help us monitor various applications in different environments.
[0003] However, existing telemetry systems require modifications to their system specifications to support tracking custom data, and they also lack automation. Therefore, finding a way to access both tracking and custom data without changing 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 tracking data and custom data information without changing the system specifications, thereby increasing the convenience of use.
[0005] This invention provides an intelligent tracking system, including a processor and a storage device. The processor accesses and executes a service content parsing module, a telemetry content parsing module, a span module, and a telemetry storage module stored in the storage device. The processor performs the following: Parses service data using the service content parsing module to obtain general content and telemetry content. Parses 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 analyze service data through a service content parsing module to obtain general content and telemetry content. A telemetry content parsing module analyzes 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, thereby increasing ease of use. Simple Explanation of the Diagram
[0008] Figure 1 is a schematic diagram of an intelligent tracking system according to one embodiment of the present invention. Figure 2 is a schematic diagram of an intelligent tracking system according to another embodiment of the present invention. Figure 3 is a flowchart of the operation method of an intelligent tracking system according to one embodiment of the present invention. Figure 4 is a flowchart of an operation method of an intelligent tracking system according to another embodiment of the present invention. Figure 5 is a detailed flowchart of step S304 in Figure 3 or Figure 4. Figure 6 is a detailed flowchart of step S404 in Figure 4. Implementation
[0009] In the embodiments listed below, the same or similar elements or components will be represented by the same reference numerals.
[0010] Figure 1 is a schematic diagram of an intelligent tracking system according to one embodiment of the present invention. Referring 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 laptop computer, a desktop computer, a smart monitor, a smart monitoring device, or an electronic device including computing and storage functions.
[0011] Processor 110 may be coupled to storage device 120. Processor 110 may 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.
[0012] 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.
[0013] In some embodiments, the storage device 120 may include read-only memory, flash memory, floppy disk, hard disk, optical disk, USB flash drive, magnetic tape, or other suitable storage media, 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 by 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 circuitry or chips with specific functions, each independent of the storage device 120.
[0014] 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.
[0015] In this embodiment, the telemetry content may include data such as a trace ID used to connect the traces of upstream and downstream services. The general content may include the transmission protocol used by the downstream service and the input parameters received when the downstream service is triggered, but the embodiments of the present invention are not limited to this.
[0016] Furthermore, the aforementioned transmission protocol can be Hypertext Transfer Protocol (HTTP) or Hypertext Transfer Protocol Secure (HTTPS), but the embodiments of the present invention are 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 / HTTP responses, but the embodiments of the present invention are not limited to these.
[0017] 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 the pre-designed custom specifications, and store it in a "key:value" format. In addition, to ensure that the custom data does not affect other data, the naming of the "key" will be designed in a unique and unmodifiable way. Furthermore, each "key:value" can represent a piece of custom data. In addition, if multiple sets of custom data are needed in the original data, multiple different "key:value" sets need to be designed to transmit them. 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 each application system does not need to change its own system architecture.
[0018] 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.
[0019] For example, this downstream service is itself a skill application 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.
[0020] 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 from 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.
[0021] 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.
[0022] 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 transfer application 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 in this embodiment of the invention, the service content can record other information, such as the application represented by the downstream service, the application name, and the application version number.
[0023] In other words, through the span module 150, information beyond that of the service content parsing module 130 can be added to enhance the richness of the service content span, allowing the intelligent tracking system 100 to record logs of more different field information. Furthermore, the span module 150 can also use the custom data successfully read and stored through the telemetry content parsing module 140 to update the field information of the service content span, achieving the goal of successfully using externally transmitted custom data.
[0024] 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 RabbitMQ technology supported by an event bus, allowing data to be written sequentially to the Elasticsearch platform on a queue, avoiding the possibility that the recording module may be overloaded by excessive data volume. However, 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.
[0025] Figure 2 is a schematic diagram of an intelligent tracking system according to one embodiment of the present invention. Referring 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 laptop computer, a desktop computer, a smart monitor, a smart monitoring device, or an electronic device including computing and storage functions.
[0026] 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 unit, a microprocessor, a digital signal processor, a field-programmable gate array, an application-specific integrated circuit, or logic circuit, but the embodiments of the present invention are not limited thereto.
[0027] In some embodiments, the storage device 220 may include read-only memory, flash memory, floppy disk, hard disk, optical disk, USB flash drive, magnetic tape, or other suitable storage media, but the embodiments of the present invention are not limited thereto. In some embodiments, the 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 may be implemented by software. In some embodiments, the 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 may be implemented by hardware circuitry or chips with specific functions, each independent of the storage device 220.
[0028] In this embodiment, the service content parsing module 130, telemetry content parsing module 140, span module 150, and telemetry storage module 160 are the same as or similar to the service content parsing module 130, telemetry content parsing module 140, span module 150, and telemetry storage module 160 in Figure 1. Please refer to the description of the embodiment in Figure 1, and therefore, they will not be repeated here.
[0029] Processor 210 can add event logs within the span of the span data through span log module 230. That is, after span data is generated by span module 150, 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 value once. Furthermore, the event logs can be stored in an array to record an unlimited number of logs from 1 to N, and each log can contain multiple fields containing information; however, this embodiment of the invention is not limited to this.
[0030] Processor 210 can share tracking data through 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. Downstream services can then access this data through their existing API technology without needing to adjust their existing call handling methods. Therefore, existing systems already in operation can be used without changing system specifications, effectively improving development speed and significantly reducing implementation costs.
[0031] 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 through the telemetry content recording module 240 based on the sharing setting value. 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.
[0032] 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.
[0033] 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, in a RESTful API call between an upstream service and a downstream service, 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 automatically transmit it when the request is sent.
[0034] When it is confirmed that custom data from 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. In other words, 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 from 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 retrieved 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).
[0035] Figure 3 is a flowchart of the operation method of an intelligent tracking system according to one embodiment of the present invention. In this embodiment, the operation method of the intelligent tracking system can be applied to the intelligent tracking system 100 in Figure 1. In step S302, the service data is parsed through the service content parsing module to obtain general content and telemetry content.
[0036] 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 a database to form tracking data.
[0037] Figure 4 is a flowchart of the 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 can be applied to the intelligent tracking system 200 in Figure 2. In addition, in this embodiment, steps S302 to S308 are the same as or similar to steps S302 to S308 in Figure 3, and can be referred to the description of the embodiment in Figure 3, so they will not be repeated here.
[0038] 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.
[0039] Figure 5 is a detailed flowchart of step S304 in Figure 3 or 4. 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.
[0040] Figure 6 is a detailed flowchart of step S404 in Figure 4. 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, and do not share the tracking data. If it is confirmed that the tracking data will be shared, proceed to step S606, and confirm whether to share the custom data in the tracking data.
[0041] If it is confirmed that custom data in the tracking data will not be shared, proceed to step S608 and provide the span data, general content, and telemetry content from the tracking data. If it is confirmed that custom data in the tracking data will be shared, proceed to step S610 and provide the span data, general content, telemetry content, and custom data from the tracking data.
[0042] 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 of 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 implementation costs.
[0043] Although the present invention has been disclosed above with reference to embodiments, it is not intended to limit the scope of the invention. Anyone skilled in the art can make some modifications and refinements without departing from the spirit and scope of the invention. Therefore, the scope of protection of the present invention shall be determined by the appended claims.
[0044] 100, 200: Intelligent Tracking System 110,210: Processor 120, 220: Storage devices 130: Service Content Analysis Module 140: Telemetry Content Analysis Module 150: Span Module 160: Telemetry Storage Module 230: Span Log Module 240: Telemetry Content Recording Module S302~S308, S402~S404, S502~S506, S602~S610: Steps
Claims
1. An intelligent tracking system, comprising: One processor; The processor also includes a storage device for accessing a service content parsing module, a telemetry content parsing module, a span module, and a telemetry storage module stored in the storage device, and for executing the service content parsing module, the telemetry content parsing module, the span module, and the telemetry storage module. The processor performs the following actions: parsing service data using the service content parsing module to obtain general content and telemetry content; disassembling the telemetry content according to a pre-designed custom specification using the telemetry content parsing module to obtain custom data, wherein the custom data includes a device identifier, a platform call skill service serial number identifier, a session identifier, a skill-specific identifier, and a user identifier; adding at least one log to the service data using the span module to generate span data; and storing the span data, the general content, the telemetry content, and the custom data in a database using the telemetry storage module to form tracking data.
2. The intelligent tracking system as described in claim 1, wherein the storage device further includes a span log module, and the processor further performs: adding an event log within the span of the span data through the span log module.
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 following: sharing the tracking data through the 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 confirms that the tracking data is to be shared, the processor confirms whether to share the custom data in the tracking data; when it confirms that the custom data in the tracking data is not to be shared, the processor provides the span data, the general content, and the telemetry content in the tracking data; when it confirms that the custom data in the tracking data is to 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, through the telemetry content parsing module, determines whether to disassemble the telemetry content according to the pre-designed custom specifications based on an intelligent tracking setting value; when it is determined that the telemetry content is not disassembled according to the pre-designed custom specifications, the processor stores the general content and the telemetry content; when it is determined that the telemetry content is disassembled according to the pre-designed custom specifications, the processor disassembles the telemetry content according to the pre-designed custom specifications 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: A service content parsing module is used to parse service data to obtain general content and telemetry content. A telemetry content parsing module is used to disassemble the telemetry content according to a pre-designed custom specification to obtain custom data, which includes a device identifier, a platform call skill service serial number identifier, a session identifier, a skill-specific identifier, and a user identifier; a span module is used to add at least one log to the service data to generate span data; and a telemetry storage module is used to store the span data, the general content, the telemetry content, and the custom data in a database to form tracking data.
7. The method of operating the intelligent tracking system as described in claim 6 further includes: A span log module is used to add an event log within the span of the data.
8. The method of operating the intelligent tracking system as described in claim 6 further includes: The tracking data is shared through a telemetry data recording module.
9. The method of operating 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 a sharing setting, confirm whether to share the tracking data; if it is confirmed that the tracking data is to be shared, confirm whether to share the custom data in the tracking data; if it is confirmed that the custom data in the tracking data is not to be shared, provide the span data, the general content, and the telemetry content in the tracking data; and if it is confirmed that the custom data in the tracking data is to be shared, provide the span data, the general content, the telemetry content, and the custom data in the tracking data.
10. The method of operating the intelligent tracking system as described in claim 6, wherein the step of obtaining the customized data by disassembling the telemetry content according to the pre-designed customized specifications through the telemetry content parsing module includes: Based on a smart tracking setting, confirm whether the telemetry data should be disassembled according to the pre-designed custom specifications; When it is confirmed that the telemetry content is not disassembled according to the pre-designed custom specification, the general content and the telemetry content are stored; and when it is confirmed that the telemetry content is parsed, the telemetry content is disassembled according to the pre-designed custom specification to obtain the custom data, and the custom data, the general content and the telemetry content are stored.
Citation Information
Patent Citations
Dynamic telemetry message profiling and adjustment
CN107111540A
Open-to-play telemetry for rich client application runtime framework
CN116157781A
Integrated visual monitoring method and system for observable data of distributed system
CN118733395A
Self-healing machine learning system for transformed data
TWI755778B
Interactive detection of system anomalies
US20170192872A1