Unlock instant, AI-driven research and patent intelligence for your innovation.

Client log collection method

A client and log technology, applied in the field of data processing, can solve problems such as the inability to guarantee the stability and timeliness of initial log uploads, and achieve the effect of avoiding log loss

Inactive Publication Date: 2022-01-28
SHANGHAI XINGRONG AUTOMOBILE TECH CO LTD
View PDF1 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, there are still some defects in this method: (1) Screening the initial log makes the application of this method have certain limitations
For example: Take the log generated by the client operation of the relevant data of the vehicle remote diagnostic equipment as an example. The log does not include the log with the error level, the debug log, and the upload log, so it is impossible to filter the initial log; (2) According to the data transmission speed and the preset token bucket algorithm, the upload rate of the log to be uploaded after the current limit is determined, which can prevent the excessive network usage from affecting other edge computing services, but cannot guarantee the original log itself. Upload stability and timeliness

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Client log collection method
  • Client log collection method
  • Client log collection method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0051] For vehicle remote diagnostic equipment, the diagnostic operation records and diagnostic data of vehicle remote diagnostic equipment need to be sent to the background as complete and real-time as possible, so that the background can perform management operations such as statistical data and troubleshooting according to technicians, and complete relevant Diagnosis of vehicle faults. However, in the edge computing scenario, because the network of the edge computing scenario is usually unstable, when a large amount of log data is uploaded using the traditional log upload method, the problem of log loss will occur, and the stability of log upload is poor.

[0052] For the above problems, such as figure 1 As shown, this embodiment proposes a client log collection method, including:

[0053] Log the behavior log of the client and upload it in real time through the interface;

[0054] When the upload fails, cache the failed upload log locally and wait for retransmission;

...

Embodiment 2

[0067] It is basically the same as Example 1. In the process of uploading log files in the form of compressed packages, since the network in edge computing scenarios is usually unstable, it is necessary to consider how to complete the transmission of log files with maximum efficiency and ensure that the log compressed packages are Upload stability. On the basis of the above idea, considering that sufficient network bandwidth is the basis for log transmission optimization, and different network types of the upload network also determine the efficiency of log transmission, the client log collection method in this embodiment also includes:

[0068] Evaluate the network transmission quality of the current log upload network;

[0069] According to the evaluation result of the network transmission quality of the current log upload network, the network transmission quality of the current log upload network is scored.

[0070] Among them, the methods for evaluating the network trans...

Embodiment 3

[0086] It is basically the same as Example 2. As described in the above embodiment, when considering the operation log upload of the client, even if the log files in the form of a single compressed package are divided before uploading through the two dimensions of time and quantity, on the one hand, the long-term and low-value ones are discarded. Logs, on the one hand, ensure the uniform length of the log information in a single compressed package; but in the actual application process, it is still impossible to avoid the influence of the instability of the upload network itself on the log upload. For example: when the upload network is not good, and the length of the log information in a single compressed package is still large, there will still be transmission errors, and retransmission is still required; and when the upload network quality is good, if the log information in a single compressed package If the length of log information is small, it is not conducive to the eff...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses a client log collection method, and belongs to the field of data processing. The method comprises the following steps of carrying out log recording on the behavior logs of a client and uploading the behavior logs in real time in an interface mode; when uploading fails, caching the logs which fail to be uploaded to the local and waiting for supplementary upload; and when the uploading is successful, reading the cache information in the local cache and judging whether a log waiting for supplementary upload exists or not, and if the log waiting for supplementary upload exists, carrying out supplementary upload on the log waiting for supplementary upload in a compressed packet mode. According to the method, under the condition that a uploading network is unstable, the time and the number of the uploaded logs and the network quality of the uploading network are comprehensively considered by integrating a plurality of factors, and the mode, the number and the like of log uploading are dynamically adjusted, so that the logs can be stably, safely and more quickly uploaded to a server.

Description

technical field [0001] The invention belongs to the technical field of data processing, and more specifically relates to a client log collection method. Background technique [0002] At present, the diagnostic operation records and diagnostic data of vehicle remote diagnostic equipment need to be transmitted to the background server, which is convenient for background technicians to perform management operations such as statistical data and troubleshooting, and is conducive to improving the quality of products and after-sales services. The relevant data of the vehicle remote diagnosis equipment generates a log through the operation of the client, and uploads the log to the background server when there is a network connection; but when the client cannot upload the log to the background server due to various factors, the technician cannot obtain the log. The diagnostic data and operation records of the time period affect the statistics of the data. [0003] In the edge comput...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): G06F16/18G06F16/14
CPCG06F16/1815G06F16/148
Inventor 刘义雷于龙
Owner SHANGHAI XINGRONG AUTOMOBILE TECH CO LTD
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More