Vehicle machine log tracking method and system and storage medium

By collecting, packaging, and uploading logs to the cloud under the management of a vehicle-side timer, the problem of vehicle-side log information loss is solved, and full backup and reliable bug analysis support are achieved.

CN120743701APending Publication Date: 2025-10-03CHINA FAW CO LTD +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510782508.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-06-12
Publication Date
2025-10-03

AI Technical Summary

Technical Problem

During vehicle computer testing, log information is easily lost or overwritten, resulting in developers being unable to obtain effective bug analysis data.

Method used

By starting a timer on the vehicle side to collect, package and upload logs to the cloud, we ensure full log backup, use lossless compression technology to reduce data volume, and combine cloud commands to manage the collection, packaging and uploading process.

Benefits of technology

It achieves full and reliable backup of vehicle-side log information, avoids log loss, saves tester operations, and provides reliable bug analysis support.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120743701A_ABST
    Figure CN120743701A_ABST
Patent Text Reader

Abstract

The invention discloses an in-vehicle infotainment log tracking method and system and a storage medium, and relates to the technical field of in-vehicle infotainment software test.The method comprises the steps that after a log tracking starting instruction is received, a timer is started, and log collection of a vehicle end is started; after the time of the timer is up, packaging the collected log information; and uploading the packaged log information to a cloud end in the form of a packaged file. According to the in-vehicle log tracking method and the system-level storage medium disclosed by the invention, full-amount and reliable cloud backup of the in-vehicle logs can be ensured, and reliable information support is provided for subsequent bug analysis.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of vehicle computer software testing, and in particular to a vehicle computer log tracking method, a vehicle computer log tracking system, and a storage medium. Background Art

[0002] When a tester is testing the vehicle computer and a bug occurs, he or she will generally need to record the time and description of the bug, export the log of the problem using a USB flash drive, and then send the bug information and log to the developer for further analysis. However, the following may occur:

[0003] ① If the tester forgets to export the log when the bug occurs, and exports the vehicle computer log afterwards, the log at the time of the problem may be overwritten (the current vehicle computer log storage space is limited. If the log storage space is full, the new log will overwrite the old log);

[0004] ② If the tester loses the USB drive and wants to retrieve the log from the vehicle computer, the log on the vehicle computer may have been overwritten;

[0005] ③When the tester exports the log, the log export may fail due to problems with the tester's operation, or the exported log may not be from the time when the bug occurred.

[0006] The above situation will result in developers being unable to obtain effective logs for further bug analysis.

[0007] Therefore, the pain point encountered is that developers obtain useful logs through the information provided by testers. Summary of the Invention

[0008] The purpose of the present invention is to provide a vehicle-side log tracking method, system and storage medium, which can ensure full and reliable cloud backup of vehicle-side logs and provide reliable information support for subsequent bug analysis.

[0009] The present invention provides the following solutions:

[0010] According to one aspect of the present invention, a vehicle computer log tracking method is provided, the vehicle computer log tracking method comprising:

[0011] After receiving the log tracking start command, the timer is started and log collection on the vehicle side begins;

[0012] When the timer reaches the preset timing parameters, the collected log information is packaged;

[0013] Upload the packaged log information to the cloud in the form of a packaged file.

[0014] Optionally, also include:

[0015] After receiving the log tracking enable command sent by the cloud, the log tracking enable command is parsed to obtain the time interval parameter;

[0016] Set the timing parameters of the timer according to the obtained time interval parameters.

[0017] Optionally, also include:

[0018] After receiving the log tracking start command from the cloud, the log collection function on the vehicle side is enabled;

[0019] Determine whether the log collection function has been enabled normally;

[0020] If the log collection function fails to start normally, the failure to start the log collection function normally will be reported to the cloud as abnormal information.

[0021] Optionally, also include:

[0022] Receive vehicle status query instructions sent from the cloud;

[0023] Return the vehicle status to the cloud;

[0024] The vehicle computer status includes: the status of the vehicle computer log tracking function being turned on, or the status of the vehicle computer log tracking function being turned off.

[0025] Optionally, the log collection performed by the vehicle side includes: full collection and collection of specific types of logs.

[0026] Optionally, specific types of log collection can be achieved by setting log information filters.

[0027] Optionally, upload the packaged log information to the cloud in the form of a packaged file, including:

[0028] Upload the packaged file to the cloud;

[0029] After the upload process of the packaged file is completed, the file information is synchronized to the cloud.

[0030] Optionally, also include:

[0031] Receive the log tracking shutdown instruction from the cloud;

[0032] Disable the locally started log tracking function;

[0033] Report the vehicle computer status after the shutdown operation to the cloud.

[0034] According to two aspects of the present invention, a vehicle log tracking system is provided, the vehicle log tracking system comprising:

[0035] The collection module is used to start the timer and start vehicle-side log collection after receiving the log tracking start instruction;

[0036] The packaging module is used to package the collected log information after the timer has finished timing under the preset timing parameters;

[0037] The upload module is used to upload the packaged log information to the cloud in the form of packaged files.

[0038] According to three aspects of the present invention, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the vehicle log tracking method as described above is implemented.

[0039] Through the above solution, the following beneficial technical effects are achieved:

[0040] The technical solution of the present application starts a timer after receiving a log tracking start instruction issued by the cloud, and begins to collect log information from the vehicle side at regular intervals. Whenever the timer expires, the log information collected from the vehicle side is packaged and the packaged file is uploaded to the cloud, thereby ensuring that the full amount of log information from the vehicle side is uploaded at regular intervals, saving the tester the operation of exporting the vehicle computer log and ensuring that the log will not be lost. BRIEF DESCRIPTION OF THE DRAWINGS

[0041] Figure 1 is a flow chart of a vehicle log tracking method provided by one or more embodiments of the present invention;

[0042] Figure 2 is a flow chart of a vehicle log tracking method provided by one or more embodiments of the present invention;

[0043] Figure 3 is a flow chart of a vehicle log tracking method provided by one or more embodiments of the present invention;

[0044] Figure 4 is a flow chart of a vehicle log tracking method provided by one or more embodiments of the present invention;

[0045] Figure 5 This is a flowchart of an upload operation in a vehicle log tracking method provided by one or more embodiments of the present invention;

[0046] Figure 6 is a flow chart of a vehicle log tracking method provided by one or more embodiments of the present invention;

[0047] Figure 7 is a flow chart of a vehicle log tracking method provided by one or more embodiments of the present invention;

[0048] Figure 8 is a schematic diagram of functions implemented for testers by a cloud platform provided by one or more embodiments of the present invention;

[0049] Figure 9 is a schematic diagram of functions implemented for developers by a cloud platform provided by one or more embodiments of the present invention;

[0050] Figure 10 1 is a structural diagram of a vehicle log tracking system provided by one or more embodiments of the present invention. DETAILED DESCRIPTION

[0051] The technical solution of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the embodiments described are only some embodiments of the present invention, not all embodiments. All other embodiments obtained by ordinary technicians in this field based on the embodiments of the present invention without making any creative efforts shall fall within the scope of protection of the present invention.

[0052] Figure 1 This is a flow chart of a vehicle log tracking method provided by one or more embodiments of the present invention. Figure 1 The vehicle log tracking method includes the following steps:

[0053] S11, after receiving the log tracking start instruction, start the timer and start the log collection on the vehicle side.

[0054] S12: When the timer finishes timing under the preset timing parameters, the collected log information is packaged.

[0055] S13, uploading the packaged log information to the cloud in the form of a packaged file.

[0056] The problem to be solved by this embodiment is that the vehicle computer does not collect all the logs on the vehicle side during operation, or the collected logs are not fully backed up to the cloud, resulting in that when a problem occurs, especially after the problem is discovered, valid log data cannot be obtained during the cause investigation process, resulting in insufficient log data to support the problem investigation.

[0057] The means by which this embodiment solves the above-mentioned problem is that, when the vehicle computer is running, any log data generated locally is fully collected and then fully uploaded to the cloud, that is, the full log remote backup. At the same time, in order to solve the problem of large amount of transmitted data when uploading the full log, this embodiment packages all collected logs before uploading the full log. The so-called packaging can be simply understood as the compression of the data volume. At the same time, it should be noted that the compression mentioned here is a lossless compression. In other words, after the transmission operation, the other end of the communication, that is, the cloud, can fully restore the original data, and the restored data does not contain any discrepancies compared to the data before the packaging operation.

[0058] After the packaging operation, the actual amount of data transmitted will be much smaller than the original data without the packaging operation.

[0059] The packaging operation can use classic data compression algorithms. The packaged files can be in zip format, 7z format, or other typical compression file formats.

[0060] It should be noted that the above-mentioned series of operations of collection, packaging, and uploading are managed by a timer. In other words, when to start log collection and when to stop log collection is determined by the status of a timer. Typically, if the timer is in the timing state, the log collection operation is turned on. In other words, the vehicle side, that is, the vehicle computer, is performing local log collection operations. If the timing operation of the timer stops, the log collection operation will also stop. Moreover, when the timer stops timing, the collected log information needs to be packaged and uploaded. Simply put, when the timer is turned on, log collection is performed, and when the timer is turned off, the collected logs are packaged and uploaded.

[0061] Log collection is a comprehensive operation, collecting all log data, regardless of its type or source. This operation can include writing log data to a designated log file or a designated NoSQL database. When needed, these files are packaged, or the data written to the database is exported and then packaged.

[0062] Once a timer is started, its single running time is usually fixed. In other words, the timer is usually started and stopped at a fixed time interval.

[0063] This fixed interval is determined by the timer's own parameter settings. For example, if the start and stop intervals in the timer are set to 3 seconds, the vehicle will collect, package, and upload local logs every 3 seconds. Furthermore, if the timer interval setting remains unchanged, this collection, packaging, and upload process will continue in a fixed, repetitive cycle, with each cycle lasting 3 seconds.

[0064] Of course, this does not rule out the possibility that testers or developers can change this interval setting under certain circumstances. However, it is important to note that once this setting is changed, it is a global change. It will not cause some collection, packaging, and upload operations to run at one interval while others run at a different interval.

[0065] After the aforementioned timer-managed log tracking operation, all vehicle-side log information will be regularly packaged and uploaded to the cloud. This way, if a problem occurs, all vehicle-side log information is backed up in the cloud. This means that the log data used for troubleshooting is comprehensive, eliminating the problem of having no data to back up.

[0066] In addition to full log collection, local log collection can also be performed by other collection methods, such as type and time period. Specific collection methods can be implemented by adding different types of text filters to the full log collection process.

[0067] A typical text filter can be a regular expression or a group of regular expressions. If a match is found between the regular expression or any of the regular expressions in the group, the log information is collected. If a match fails, the log information is discarded and not collected.

[0068] Figure 2 This is a flow chart of a vehicle log tracking method provided by one or more embodiments of the present invention. Figure 2 The vehicle log tracking method includes the following steps:

[0069] S21, after receiving the log tracking start instruction sent by the cloud, the log tracking start instruction is parsed to obtain the time interval parameter therein.

[0070] S22: Setting the timing of the timer according to the acquired time interval parameter.

[0071] S23, start the timer and start collecting logs on the vehicle side.

[0072] S24, when the timer finishes timing under the preset timing parameters, the collected log information is packaged.

[0073] S25, uploading the packaged log information to the cloud in the form of a packaged file.

[0074] The above embodiments of the present invention have described the operating principle of the timer. This embodiment aims to solve the problem of setting the time interval parameters of the timer.

[0075] In this embodiment, the time interval parameter is set based on a command issued by the cloud. Furthermore, this command is the log tracking enable command issued when the log tracking function is initially enabled. In other words, the log tracking enable command issued by the cloud not only instructs the vehicle to collect logs regularly, but also instructs the vehicle on how often this log collection, packaging, and uploading should be performed.

[0076] For example, the log tracking start instruction instructs the vehicle side to perform log collection, packaging, and uploading operations with 1 minute as a time unit, that is, the log tracking function. Then the vehicle side will perform the log tracking operations from log collection to packaging and uploading every 1 minute.

[0077] It should be understood that the log tracking enable instruction sends the above-mentioned time interval parameter in the form of a built-in parameter. For example, the log tracking enable instruction may contain two fields: an on-off field and a timespan field. The on-off field is a boolean type field that indicates whether the log tracking function should be turned on or off. The timespan field is an integer field, in which the integer indicates the number of seconds the timer interval parameter should be set to.

[0078] After receiving the above-mentioned log tracking start instruction, the vehicle side needs to parse the received instruction, parse the specific value of the timespan field, and set the timer time interval parameter according to the parsed timespan value.

[0079] It should be understood that once the timer interval is set, it will not be changed during operation. This ensures that the log collection, packaging, and upload operations are performed at a fixed rhythm, ensuring the smooth operation of the log tracking function.

[0080] Figure 3 This is a flow chart of a vehicle log tracking method provided by one or more embodiments of the present invention. Figure 3 The vehicle log tracking method includes the following steps:

[0081] S31, after receiving the log tracking start instruction sent by the cloud, the log collection function on the vehicle side is turned on.

[0082] S32, determining whether the log collection function has been normally enabled.

[0083] S33: If the log collection function fails to start normally, the abnormal information will be reported to the cloud.

[0084] S34, start the timer and start collecting logs on the vehicle side.

[0085] S35, when the timer finishes timing under the preset timing parameters, the collected log information is packaged.

[0086] S36, uploading the packaged log information to the cloud in the form of a packaged file.

[0087] As described in the aforementioned embodiments of the present invention, the local log collection, packaging, and upload operations on the vehicle are initiated based on the log tracking enable command issued by the cloud. However, in engineering practice, after receiving the aforementioned log tracking enable command, the vehicle is not always able to complete the local activation of the log tracking function. To address the possibility that the local service may not be reliably activated, a service startup check item is set up on the vehicle to verify whether the local service on the vehicle has been reliably activated after receiving the log tracking enable command issued by the cloud.

[0088] After the above local service startup check, if the vehicle's local service has successfully started, the subsequent normal operations of log collection, packaging, and uploading should be carried out logically. If it is found that the vehicle's local service has not started normally as expected, the vehicle should quickly transmit the corresponding abnormal information back to the cloud for further troubleshooting and resolution.

[0089] This feedback of exception information is crucial for the proper functioning of the entire log tracking function. It can effectively prevent the terrible situation where a serious problem has occurred but the cloud is completely unaware of it.

[0090] After the cloud receives the above-mentioned abnormal information, the administrator may perform the fault handling and emergency troubleshooting measures he deems appropriate based on the time when the abnormal information was reported and the network conditions at the time.

[0091] As for the question of how to check whether the local service on the vehicle side has been started normally, you can first check whether the local service setting item on the vehicle side is already in the turned-on state.

[0092] You can also check the locally collected log files to see if there have been any changes in content since the last time the timer was stopped. Note that only if there has been an increase in content can the local service be considered to have started successfully. If the content of the locally stored log files has not changed, or even if the content has decreased since the last time, it cannot be considered that the local service has started successfully.

[0093] Through the above-mentioned local five-factor startup check mechanism, the vehicle side can determine whether the local log tracking service on the vehicle side has been started normally after receiving the log tracking startup instruction sent by the cloud each time, ensuring the normal operation of the log tracking service on the vehicle side and increasing the reliability of the system operation.

[0094] Figure 4 This is a flow chart of a vehicle log tracking method provided by one or more embodiments of the present invention. Figure 4 The vehicle log tracking method includes the following steps:

[0095] S41, receiving the vehicle status query instruction sent from the cloud.

[0096] S42, returning the vehicle computer status to the cloud, where the vehicle computer status includes: whether the log tracking function is enabled or not.

[0097] S43, after receiving the log tracking start instruction, start the timer and start the log collection on the vehicle side.

[0098] S44, when the timer finishes timing under the preset timing parameters, the collected log information is packaged.

[0099] S45, uploading the packaged log information to the cloud in the form of a packaged file.

[0100] In this embodiment, before the cloud sends a log tracking start instruction to the vehicle, it first sends a status query instruction to the vehicle.

[0101] The purpose of sending the status query instruction first is to avoid repeated operations.

[0102] In this case, the vehicle is already in the process of collecting, packaging, and uploading logs to the vehicle computer, and the cloud sends a log tracking start command to the vehicle. Obviously, such a start command is completely redundant and cannot effectively control the log tracking function.

[0103] To prevent these invalid operations, the cloud first sends a status query command to the vehicle before sending the log tracking start command. After receiving this status query command, the vehicle transmits its current status back to the cloud. The status returned can be either: the Purple Sun tracking function is enabled or the log tracking function is disabled.

[0104] The cloud will only send the vehicle a command to enable log tracking after confirming that the vehicle is not currently using it. If the vehicle is already using it, the cloud does not need to send a command to enable it. The cloud only needs to wait for the vehicle to upload the collected log information.

[0105] After being processed by the above-mentioned vehicle-side status confirmation mechanism, the repeated and invalid issuance of cloud-side startup instructions can be effectively avoided, saving network bandwidth resources.

[0106] Figure 5 This is a flowchart of the upload operation in the vehicle log tracking method provided by one or more embodiments of the present invention. Figure 5 , upload the packaged log information to the cloud in the form of a packaged file, including the following steps:

[0107] S51, upload the packaged file to the cloud.

[0108] S52, after the upload process of the packaged file is completed, the file information is synchronized to the cloud.

[0109] The purpose of this embodiment is to illustrate the file information synchronization mechanism during the package file upload process.

[0110] It should be understood that the packaged log information, that is, the process of uploading the packaged files, also requires uploading some file information.

[0111] File information, here is the overview of the uploaded package file. For example, it contains the number of log entries, the number of log categories it can be divided into, and the number of log entries in each category.

[0112] Also, when was the start and end time of this file upload? Was there any network anomaly during the file upload process that caused the upload to be interrupted? If there was an interruption, when was the interruption? Will the upload need to be resumed in the future? And so on.

[0113] After uploading the packaged file, uploading this summary information also makes the uploaded file more reliable. Developers and testers can use this information to get a general overview of the uploaded packaged file. If problems arise, they can also use this information to infer the cause of the problem.

[0114] In short, the packaged file upload operation provided by this embodiment is not just a simple upload of the packaged file, but also includes the upload of the corresponding file information. In this way, not only is the overview of the packaged file clear at a glance, but the information record of the packaged file is more comprehensive, providing richer information support.

[0115] Figure 6 This is a flow chart of a vehicle log tracking method provided by one or more embodiments of the present invention. Figure 6 The vehicle log tracking method includes the following steps:

[0116] S61, after receiving the log tracking start instruction, start the timer and start the log collection on the vehicle side.

[0117] S62: When the timer finishes timing under the preset timing parameters, the collected log information is packaged.

[0118] S63: Upload the packaged log information to the cloud in the form of a packaged file.

[0119] S64: Receive a log tracking shutdown instruction from the cloud.

[0120] S65: Disable the locally enabled log tracking function.

[0121] S66: Report the vehicle computer status after the shutdown operation to the cloud.

[0122] This embodiment focuses on the shutdown process of the log tracking service.

[0123] It should be understood that if a service can be turned on, it should also be able to be turned off.

[0124] Typical scenarios where the log tracking service needs to be disabled include when network bandwidth is scarce and needs to be provided to other more important applications, or when the log collection function fails and needs to be temporarily disabled for debugging purposes.

[0125] Similar to the enable command, the log tracking disable command is also issued from the cloud and is transmitted to the vehicle end.

[0126] After receiving the above shutdown command, the vehicle will shut down the local log collection, packaging, and upload services. After the shutdown operation is executed, no log collection, packaging, or upload operations will be run locally on the vehicle.

[0127] Furthermore, after executing the above-mentioned shutdown operation, the vehicle side synchronizes its own status to the cloud to complete the execution of the shutdown command.

[0128] Figure 7 This is a flow chart of a vehicle log tracking method provided by one or more embodiments of the present invention. Figure 7 The vehicle log tracking method includes the following steps:

[0129] S701, start log tracking.

[0130] S702, the cloud queries the vehicle side for the vehicle computer status.

[0131] S703, the vehicle side returns the vehicle computer status to the cloud.

[0132] S704: The cloud determines whether log tracking is enabled.

[0133] S705: If log tracking is not enabled, the cloud sends an enable command.

[0134] S706: The message channel sends a log tracking start instruction.

[0135] S707, the vehicle receives a log tracking start instruction.

[0136] S708: If the log tracking enable instruction fails to execute, the execution is stopped.

[0137] S709: The log tracking enable command is executed successfully, and the vehicle reports the switch enable status to the cloud.

[0138] S710: Start to execute log tracking.

[0139] S711, the vehicle uploads tracking information to the cloud.

[0140] S712, the vehicle side starts the timer.

[0141] S713: The vehicle collects logs.

[0142] S714: The vehicle side packages the logs.

[0143] S715, the vehicle side executes log upload.

[0144] S716, the vehicle uploads logs to the cloud.

[0145] S717, the vehicle-side log upload is completed.

[0146] S718, the vehicle side reports the file information.

[0147] S719, the cloud log tracking function is disabled.

[0148] S720: The cloud sends a log tracking shutdown instruction.

[0149] S721: The cloud sends a log tracking shutdown command to the vehicle.

[0150] S722, the vehicle receives a log tracking closing instruction.

[0151] S723, the vehicle reports the shutdown status to the cloud.

[0152] S724, the vehicle terminates the log upload service.

[0153] See also Figure 8 By executing the above process on the log tracking platform, the tester can use the platform to view the status of the vehicle's current log switch, turn the log tracking switch on or off, view the log tracking status, and view the uploaded log files.

[0154] After the log tracking function is enabled, the vehicle will upload the vehicle log to the cloud at a certain time interval. The log files uploaded by the vehicle are named with a timestamp, which saves the tester the trouble of exporting the vehicle log and ensures that the vehicle log is not lost.

[0155] See also Figure 9 For developers, the log tracking platform can be used to view the current log switch status of the vehicle, turn the log tracking switch on or off, view the log tracking status, view uploaded log files, and download uploaded log files from the platform.

[0156] It should be noted that the log tracking switch is open to both testers and developers. The advantage of this is that both developers and testers can turn the log tracking function on or off according to their needs, making the log tracking function more open.

[0157] Figure 10 This is a structural diagram of the vehicle log tracking system provided by one or more embodiments of the present invention. Figure 10 The vehicle log tracking system includes: a collection module 1008 , a packaging module 1009 , and an upload module 1010 .

[0158] The collection module 1008 is used to start the timer and start vehicle-side log collection after receiving the log tracking start instruction.

[0159] The packaging module 1009 is used to package the collected log information when the timer has finished timing under the preset timing parameters.

[0160] The upload module 1010 is used to upload the packaged log information to the cloud in the form of a packaged file.

[0161] Optionally, also include:

[0162] The interval parameter acquisition module 1001 is used to parse the log tracking enable instruction sent by the cloud and obtain the time interval parameter therein after receiving the log tracking enable instruction.

[0163] The time setting module 1002 is used to set the timing parameters of the timer according to the acquired time interval parameters.

[0164] Optionally, also include:

[0165] The enabling module 1003 is used to enable the log collection function of the vehicle side after receiving the log tracking enabling instruction sent by the cloud.

[0166] The determination module 1004 is used to determine whether the log collection function has been normally enabled.

[0167] The reporting module 1005 is used to report the failure of the log collection function to be normally started as abnormal information to the cloud if the log collection function fails to be normally started.

[0168] Optionally, also include:

[0169] The query instruction receiving module 1006 is used to receive the vehicle status query instruction sent by the cloud.

[0170] The status return module 1007 returns the vehicle status to the cloud.

[0171] The vehicle computer status includes: the status of the vehicle computer log tracking function being turned on, or the status of the vehicle computer log tracking function being turned off.

[0172] Optionally, the log collection performed by the vehicle side includes: full collection and collection of specific types of logs.

[0173] Optionally, specific types of log collection can be achieved by setting log information filters.

[0174] Optionally, the upload module 1010 includes:

[0175] The upload unit is used to upload the packaged files to the cloud.

[0176] The file information synchronization unit is used to synchronize file information to the cloud after the upload process of the packaged file is completed.

[0177] Optionally, also include:

[0178] The shutdown instruction receiving module 1011 is used to receive the log tracking shutdown instruction sent by the cloud.

[0179] The closing module 1012 closes the locally started log tracking function.

[0180] The status reporting module 1013 reports the vehicle computer status after the shutdown operation is performed to the cloud.

[0181] It is worth noting that although only some basic functional modules are disclosed in the embodiment of the present invention, it does not mean that the composition of the present system is limited to the above basic functional modules. On the contrary, what this embodiment wants to express is that on the basis of the above basic functional modules, those skilled in the art can arbitrarily add one or more functional modules in combination with the existing technology to form an infinite number of embodiments or technical solutions. In other words, this system is open rather than closed. Just because this embodiment only discloses individual basic functional modules, it cannot be considered that the scope of protection of the claims of the present invention is limited to the disclosed basic functional modules. At the same time, for the convenience of description, the above devices are described in terms of functions, which are divided into various units and modules. Of course, when implementing the present invention, the functions of each unit and module can be implemented in the same or one or more software and / or hardware.

[0182] The present invention also provides a computer-readable storage medium, comprising: a computer program that can be executed by a vehicle is stored therein, and when the computer program is run on the vehicle, the vehicle executes the steps of the vehicle log tracking method.

[0183] Specifically, the computer storage medium of the embodiment of the present invention can adopt any combination of one or more computer-readable media. The computer-readable medium can be a computer-readable signal medium or a computer-readable storage medium. The computer-readable storage medium can be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or component, or any combination of the above. More specific examples of computer-readable storage media (a non-exhaustive list) include: 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 of the above. In this embodiment, the computer-readable storage medium can be any tangible medium that contains or stores a program, which can be used by or in combination with an instruction execution system, device or device.

[0184] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the above embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the above embodiments, or replace some or all of the technical features therein with equivalents. However, these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present invention.

Claims

1. A vehicle log tracking method, characterized in that: The vehicle log tracking method includes: After receiving the log tracking start command, the timer is started and log collection on the vehicle side begins; When the timer reaches the preset timing parameters, the collected log information is packaged; Upload the packaged log information to the cloud in the form of a packaged file.

2. The method according to claim 1, characterized in that Also includes: After receiving the log tracking enable command sent by the cloud, the log tracking enable command is parsed to obtain the time interval parameter; Set the timing parameters of the timer according to the obtained time interval parameters.

3. The method according to claim 1, characterized in that Also includes: After receiving the log tracking start command from the cloud, the log collection function on the vehicle side is enabled; Determine whether the log collection function has been enabled normally; If the log collection function fails to start normally, the failure to start the log collection function normally will be reported to the cloud as abnormal information.

4. The method according to claim 1, wherein Also includes: Receive vehicle status query instructions sent from the cloud; Return the vehicle status to the cloud; The vehicle computer status includes: the status of the vehicle computer log tracking function being turned on, or the status of the vehicle computer log tracking function being turned off.

5. The method according to claim 1, wherein Log collection performed by the vehicle side includes: full collection and collection of specific types of logs.

6. The method according to claim 5, characterized in that Specific types of log collection are achieved by setting log information filters.

7. The method according to claim 1, characterized in that Upload the packaged log information to the cloud in the form of a packaged file, including: Upload the packaged file to the cloud; After the upload process of the packaged file is completed, the file information is synchronized to the cloud.

8. The method according to claim 1, characterized in that Also includes: Receive the log tracking shutdown instruction from the cloud; Disable the locally started log tracking function; Report the vehicle computer status after the shutdown operation to the cloud.

9. A vehicle log tracking system, characterized in that: The vehicle log tracking system includes: The collection module is used to start the timer and start vehicle-side log collection after receiving the log tracking start instruction; The packaging module is used to package the collected log information after the timer has finished timing under the preset timing parameters; The upload module is used to upload the packaged log information to the cloud in the form of packaged files.

10. A computer-readable storage medium, characterized in that The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the vehicle log tracking method according to any one of claims 1 to 8 is implemented.