Vehicle Log Collection and Upload Method and Related Devices

The logs of the vehicle's intelligent operating system are obtained and uploaded on demand through the IVI system, which solves the problem of large amount of data and thread occupation caused by undifferentiated upload of vehicle logs, and realizes efficient and real-time upload of logs.

CN116248719BActive Publication Date: 2025-07-29VOYAH AUTOMOBILE TECH CO LTD
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202310099819.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-02-02
Publication Date
2025-07-29
Estimated Expiration
2043-02-02

AI Technical Summary

Technical Problem

In the prior art, the undifferentiated upload of vehicle logs leads to a huge amount of data, occupies a lot of threads, and the inability to upload specific logs in time, affecting the real-time and effectiveness of log processing.

Method used

The log of the vehicle's intelligent operating system is obtained through the IVI system, and upload it to the cloud as needed after receiving user instructions, including preset log storage, sleep state management, important level judgment and subcontract transmission and other technical means.

Benefits of technology

It realizes centralized collection and on-demand upload of vehicle logs, solves the problem of log uploading that the vehicle does not have the ability to access the Internet, saves traffic, ensures timely uploading of important logs, and improves the real-time and effectiveness of log processing.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116248719B_ABST
    Figure CN116248719B_ABST
Patent Text Reader

Abstract

The present invention discloses a method for collecting and uploading vehicle logs and related devices, which relates to the field of vehicle data transmission, and mainly solves the problem of large data volume and thread occupation caused by the undifferentiated upload of vehicle logs. The method includes: the IVI system obtains the logs of the vehicle intelligent operating system; when the IVI system receives a retrieval instruction from a user, the target logs of the vehicle intelligent operating system corresponding to the retrieval instruction are uploaded to the cloud. The present invention is used in the process of collecting and uploading vehicle logs.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of vehicle data transmission, and particularly to a method for collecting and uploading vehicle logs and related devices. Background Art

[0002] Logs are information recording the hardware, software and system operation process in the system, and can also monitor events occurring in the system. These specific information can not only be used for the operation performance analysis of the program at the current stage, but also be used to check the cause of errors, or find the traces left by attackers when being attacked. With the continuous development of vehicle intelligent technologies, uploading the logs of each vehicle system to the cloud server uniformly, and having the server perform big data analysis and processing, more intelligent and accurate analysis results can be obtained, thereby providing strong support for vehicle function development and problem analysis.

[0003] However, the current technology only uploads vehicle logs without discrimination in full volume, which will lead to a significant increase in vehicle-end traffic consumption and upload duration. Logs with certain specific requirements will be affected by logs without requirements and are difficult to be uploaded to the cloud server in time, reducing the real-time performance and effectiveness of log processing and increasing vehicle traffic costs. Summary of the Invention

[0004] In view of the above problems, the present invention provides a method for collecting and uploading vehicle logs and related devices, mainly aiming to solve the problem of large data volume and occupied threads caused by uploading vehicle logs without discrimination.

[0005] To solve the above at least one technical problem, in a first aspect, the present invention provides a method for collecting and uploading vehicle logs, the method comprising:

[0006] The IVI system obtains the logs of the vehicle intelligent operating system;

[0007] When the above IVI system receives a retrieval instruction from the user, upload the target logs of the vehicle intelligent operating system corresponding to the above retrieval instruction to the cloud.

[0008] Optionally, the above vehicle intelligent operating system includes an autonomous driving system, a vehicle control system and a TBOX system,

[0009] The above IVI system obtaining the logs of the vehicle intelligent operating system includes:

[0010] The above IVI system obtains the logs of the above autonomous driving system, the above vehicle control system and the above TBOX system.

[0011] Optionally, the above IVI system obtaining the logs of the vehicle intelligent operating system includes:

[0012] When the log of the above vehicle intelligent operation system reaches the preset storage size, the above IVI system obtains the log of the vehicle intelligent operation system, where the log of the vehicle intelligent operation system is obtained by printing all when the vehicle is powered on;

[0013] When the above IVI system obtains the log of the vehicle intelligent operation system, the above vehicle is prohibited from entering the sleep state.

[0014] Optionally, the above retrieval instruction of the user includes a retrieval system instruction and a retrieval time period instruction.

[0015] When the above IVI system receives the retrieval instruction of the user, uploading the target log of the above vehicle intelligent operation system corresponding to the retrieval instruction to the cloud includes:

[0016] When the above IVI system receives the retrieval system instruction and the retrieval time period instruction of the user, uploading the target log of the above vehicle intelligent operation system corresponding to the retrieval system and the retrieval time period to the cloud for the user to obtain.

[0017] Optionally, the above uploading the target log of the above vehicle intelligent operation system corresponding to the retrieval instruction to the cloud includes:

[0018] Packing the above target log into a total data packet;

[0019] When the length of the above total data packet is greater than the preset length, dividing the above total data packet into at least two equal - part data packets according to the number of transmission channels;

[0020] Simultaneously uploading the above at least two equal - part data packets in ascending order;

[0021] When there is a first equal - part data packet that has completed uploading and the transmission channel of the first equal - part data packet is vacant, obtaining the remaining transmission amounts of all the data packets that have not completed transmission;

[0022] Based on the end of the second data packet with the largest remaining transmission amount, transmitting the second data packet in reverse order until it meets the forward transmission of the second data packet.

[0023] Optionally, the above method further includes:

[0024] When the vehicle is powered off, retaining the working state of the log acquisition interface of the above IVI system;

[0025] When the above IVI system obtains all the logs of the vehicle intelligent operation system, releasing the working state of the log acquisition interface of the above IVI system, where the above all the logs of the vehicle intelligent operation system represent the logs of the vehicle intelligent operation system as of the moment before the vehicle is powered off.

[0026] Optionally, the above method further includes:

[0027] Obtaining the importance level of the above target log;

[0028] In the case where the above target log is uploaded to the cloud and the importance level of the above target log is lower than the preset importance level, deleting the log of the vehicle intelligent operating system,

[0029] In the case where the above target log is uploaded to the cloud and the importance level of the above target log is equal to or higher than the above preset importance level, retaining the log of the vehicle intelligent operating system.

[0030] In a second aspect, an embodiment of the present invention further provides a vehicle log collection and upload device, including:

[0031] An obtaining unit, configured to obtain the log of the vehicle intelligent operating system by the IVI system;

[0032] An upload unit, configured to upload the target log of the vehicle intelligent operating system corresponding to the above retrieval instruction to the cloud when the above IVI system receives the user's retrieval instruction.

[0033] To achieve the above object, according to a third aspect of the present invention, there is provided a computer-readable storage medium, where the computer-readable storage medium includes a stored program, and when the program is executed by a processor, the steps of the above vehicle log collection and upload method are implemented.

[0034] To achieve the above object, according to a fourth aspect of the present invention, there is provided an electronic device, including at least one processor and at least one memory connected to the above processor; wherein, the above processor is used to call the program instructions in the above memory and execute the steps of the above vehicle log collection and upload method.

[0035] By means of the above technical solution, the vehicle log collection and upload method and related devices provided by the present invention obtain the log of the vehicle intelligent operating system through the IVI system; when the above IVI system receives the user's retrieval instruction, the target log of the vehicle intelligent operating system corresponding to the above retrieval instruction is uploaded to the cloud. In the above solution, through the centralized collection and on-demand upload of the logs of each vehicle-end system, the problems of log upload for vehicle systems without Internet access capabilities, the significant increase in traffic and duration consumption caused by full-volume log upload, and the problem of untimely upload of specific logs are solved.

[0036] Correspondingly, the vehicle log collection and upload device, device, and computer-readable storage medium provided by the embodiments of the present invention also have the above technical effects.

[0037] The above description is only an overview of the technical solution of the present invention. In order to more clearly understand the technical means of the present invention, it can be implemented in accordance with the contents of the specification. In order to make the above and other purposes, features and advantages of the present invention more obvious and easy to understand, the specific implementation methods of the present invention are specifically listed below. BRIEF DESCRIPTION OF THE DRAWINGS

[0038] Various other advantages and benefits will become apparent to those skilled in the art upon reading the detailed description of the preferred embodiment below. The accompanying drawings are for illustration purposes only and are not to be considered as limiting the present invention. The same reference symbols are used throughout the drawings to represent the same components. In the drawings:

[0039] Figure 1 A schematic diagram showing a process of a vehicle log collection and uploading method provided by an embodiment of the present invention;

[0040] Figure 2 A schematic block diagram of a vehicle log collection and upload device provided by an embodiment of the present invention is shown;

[0041] Figure 3 A schematic block diagram of the composition of an electronic device for collecting and uploading vehicle logs provided by an embodiment of the present invention is shown. DETAILED DESCRIPTION

[0042] Exemplary embodiments of the present invention will be described in more detail below with reference to the accompanying drawings. Although exemplary embodiments of the present invention are shown in the accompanying drawings, it should be understood that the present invention can be implemented in various forms and should not be limited by the embodiments set forth herein. Rather, these embodiments are provided to enable a more thorough understanding of the present invention and to fully convey the scope of the present invention to those skilled in the art.

[0043] In order to solve the problem of huge data volume and thread occupation caused by indiscriminate uploading of vehicle logs, an embodiment of the present invention provides a vehicle log collection and uploading method, such as Figure 1 As shown, the method includes:

[0044] S101, the IVI system obtains the log of the vehicle intelligent operating system;

[0045] For example, IVI (In-Vehicle Infotainment), also known as a dedicated vehicle central processing unit (CPU), is an integrated vehicle information processing system based on the vehicle's overall system and internet services. This system coordinates and controls the entire vehicle's electronically controlled infotainment equipment through a dedicated vehicle processor and operating system. The entire system plays a vital role in improving vehicle comfort, safety, intelligence, and functionality, and plays a crucial role in the future development of the entire automotive industry. Using a dedicated vehicle CPU, the integrated vehicle information processing system is based on the vehicle's bus system and internet services. Therefore, the IVI system can capture logs from all intelligent operating systems on the vehicle.

[0046] S102. When the IVI system receives a call instruction from the user, it uploads the target log of the vehicle intelligent operating system corresponding to the call instruction to the cloud.

[0047] For example, upon receiving a retrieval instruction from the user, the corresponding target log is uploaded to the cloud, thereby providing the system with the ability to upload logs for vehicles that do not have Internet access, saving traffic for uploading the entire log, and ensuring that more important specific logs can be uploaded in a timely manner and will not be squeezed out by unimportant logs.

[0048] Through the above technical solution, the vehicle log collection and upload method provided by the present invention obtains the logs of the vehicle's intelligent operating system through the IVI system. When the IVI system receives a user's access command, it uploads the target log of the vehicle's intelligent operating system corresponding to the access command to the cloud. In this solution, by centrally collecting and uploading the logs of various vehicle-side systems on demand, it solves the problems of uploading logs from systems without internet access, the significant increase in traffic and time consumption caused by uploading all logs, and the problem of delayed upload of specific logs.

[0049] In one embodiment, the vehicle intelligent operating system includes an automatic driving system, a vehicle control system and a TBOX system.

[0050] The above-mentioned IVI system obtains the logs of the vehicle intelligent operating system, including:

[0051] The IVI system obtains logs of the autonomous driving system, the vehicle control system, and the TBOX system.

[0052] Exemplarily, the autonomous driving system adopts advanced communication, computer, network, and control technologies to achieve real-time and continuous control of the vehicle. By using modern communication means and directly facing the vehicle, two-way data communication between the vehicle and the ground can be realized, with a fast transmission rate and a large amount of information. The subsequent tracking vehicle and the control center can timely obtain the exact position of the vehicle ahead. Therefore, the log printing and uploading of the autonomous driving system are very important.

[0053] Exemplarily, the vehicle control system is generally stored in the S32G chip. The above TBOX system (Telematic BOX, remote communication terminal) is a product integrating body network and wireless communication functions. Both the above TBOX system and the vehicle control system are important parts of the vehicle intelligent operating system. Therefore, the above IVI system needs to obtain the logs of the above autonomous driving system, the above vehicle control system, and the above TBOX system.

[0054] In one embodiment, the above IVI system obtains the logs of the vehicle intelligent operating system, including:

[0055] When the log of the above vehicle intelligent operating system reaches the preset storage size, the above IVI system obtains the log of the vehicle intelligent operating system. Among them, the log of the vehicle intelligent operating system is obtained by printing all when the vehicle is powered on.

[0056] When the above IVI system obtains the log of the vehicle intelligent operating system, the above vehicle is prohibited from entering the sleep state.

[0057] Exemplarily, after the vehicle is powered on and started, each system enters the operating state from the sleep state, and the system log starts to be printed. When the system log is printed to the preset storage size, the log management module controls and calls the system interface to maintain the system working state, keep the system communication normal, and prohibit the vehicle from entering the sleep state. The log management module packs and compresses the local log and names the compressed package according to the packing time. The log management module calls the system interface to upload the log to the IVI system through Ethernet according to the established interaction and transmission rules. If the log upload fails, it will be uploaded again. If the log upload is successful, the vehicle is allowed to sleep.

[0058] In one embodiment, the above user's retrieval instruction includes a retrieval system instruction and a retrieval time period instruction.

[0059] When the above IVI system receives the user's retrieval instruction, uploading the target log of the above vehicle intelligent operating system corresponding to the retrieval instruction to the cloud includes:

[0060] When the above IVI system receives the user's retrieval system instruction and retrieval time period instruction, uploading the target log of the above vehicle intelligent operating system corresponding to the retrieval system and retrieval time period to the cloud for the user to obtain.

[0061] Exemplarily, by transmitting the corresponding target logs of the vehicle intelligent operating system to the user based on the user's retrieval system instruction and retrieval time period instruction, it is convenient to upload on demand, ensuring that the user obtains while saving threads.

[0062] In one embodiment, uploading the target logs of the vehicle intelligent operating system corresponding to the above retrieval instruction to the cloud includes:

[0063] Packaging the above target logs into a total data packet;

[0064] When the length of the above total data packet is greater than the preset length, dividing the above total data packet into at least two equal - part data packets according to the number of transmission channels;

[0065] Simultaneously uploading the above at least two equal - part data packets in ascending order;

[0066] When there is a situation where the first equal - part data packet is completely uploaded and the transmission channel of the first equal - part data packet is vacant, obtaining the remaining transmission amounts of all the data packets that have not completed transmission;

[0067] Based on the end of the second data packet with the largest remaining transmission amount, transmitting the second data packet in reverse order until it meets the forward transmission of the second data packet.

[0068] Exemplarily, by splitting the total data packet greater than the preset length and uploading it through multiple channels simultaneously, the efficiency of transmitting data is improved. When a channel is transmitted in advance, transmitting other data packets that have not completed transmission in reverse order, sharing the single - transmission pressure for other data packets that have not completed transmission, and stopping uploading when the forward transmission and reverse transmission meet, preventing repeated data upload, thereby ensuring that the target logs of the vehicle intelligent operating system are uploaded to the cloud at the optimal rate for the user to obtain, improving the efficiency of uploading data, and ensuring the real - time nature of the uploaded data.

[0069] In one embodiment, the above method further includes:

[0070] When the vehicle is powered off, retaining the working state of the log acquisition interface of the IVI system;

[0071] When the IVI system obtains all the logs of the vehicle intelligent operating system, releasing the working state of the log acquisition interface of the IVI system, where all the logs of the vehicle intelligent operating system refer to the logs of the vehicle intelligent operating system as of the moment before the vehicle is powered off.

[0072] Exemplarily, after the vehicle is powered on and started, each system enters the operating state from the sleep state, the system log starts to be printed, the log management module monitors that the vehicle is powered off, the log management module controls and calls the system interface to maintain the system working state, keep the system communication normal, prohibit the vehicle from entering the sleep state, the log management module packs and compresses the local log and names the compressed package according to the packing time, the log management module calls the system interface to upload the log to the IVI system via Ethernet according to the established interaction and transmission rules. If the log upload fails, it will be uploaded again. If the log upload is successful, each system deletes the local log, and the log management module calls the system interface to release the system working state and allows the vehicle to enter the sleep state.

[0073] In one embodiment, the above method further includes:

[0074] Obtain the importance level of the above target log;

[0075] In the case where the above target log is uploaded to the cloud and the importance level of the above target log is lower than the preset importance level, delete the log of the vehicle intelligent operating system.

[0076] In the case where the above target log is uploaded to the cloud and the importance level of the above target log is equal to or higher than the preset importance level, retain the log of the vehicle intelligent operating system.

[0077] Exemplarily, different importance levels are assigned to different intelligent operating systems. This importance level can be customized by the vehicle manufacturer or adjusted according to the actual situation. If the importance level of the target log obtained by the user is lower than the preset importance level, then when the above target log is transmitted to the user, delete the log of the vehicle intelligent operating system, thereby releasing the local space of the vehicle. If the importance level of the target log obtained by the user is equal to or higher than the preset importance level, then when the above target log is transmitted to the user, still retain the log of the vehicle intelligent operating system, ensuring the multi-party storage of the log and preventing the loss of important log data.

[0078] Further, the relevant steps for the IVI system to obtain the log of the vehicle intelligent operating system are as follows:

[0079] 1) After the vehicle is powered on, each system enters the operating state from the sleep state, and the system log starts to be printed.

[0080] 2) The IVI receives the log collection instruction sent from the cloud page, recognizes that it is necessary to upload the vehicle-end log that is currently being printed, and issues a log retrieval instruction to each system via Ethernet.

[0081] 3) The log management module of each system receives the IVI log retrieval instruction.

[0082] 4) The log management module controls the calling of system interfaces to keep the system working, maintain normal system communication, and prohibit the vehicle from entering a dormant state.

[0083] 5) The log management module packages and compresses the local logs and names the compressed packages according to the packaging time.

[0084] 6) The log management module calls the system interface to upload the log to the IVI system via Ethernet according to the established interaction and transmission rules.

[0085] 7) If the log upload fails, re-upload it.

[0086] 8) After the log is uploaded successfully, the local log will be deleted based on its importance level.

[0087] 9) The log management module calls the system interface to release the system working state and allow the vehicle to sleep.

[0088] Furthermore, the steps for the IVI system to upload the log of the vehicle intelligent operating system according to the user's call instruction are as follows:

[0089] 1) System startup.

[0090] 2) The server broadcasts a startup notification to the client.

[0091] 3) The client initiates registration with the server.

[0092] 4) The server responds with a registration response.

[0093] 5) The client initiates a log upload request.

[0094] 6) The server sends the log upload configuration, which includes the type of logs to be uploaded, namely historical logs, current logs, and all logs (historical logs refer to the logs that have been packaged, and current logs refer to the logs that have not been compressed and packaged).

[0095] 7) The client replies with a log upload configuration response, which includes the MD5 value of the log file to verify the integrity of the data packet, and the space required for upload, that is, the log file size.

[0096] 8) The server checks whether the storage space meets the requirements. If not, it deletes some of the oldest stored files in chronological order to meet the storage space requirements. If the storage space meets the requirements, it directly executes the next step.

[0097] 9) The server sends the start upload command.

[0098] 10) Start TFTP file transfer.

[0099] 11) The server verifies the integrity of the log file based on the MD5 value and sends the transmission result to the client.

[0100] 12) The client determines whether retransmission is needed based on the transmission result. If the transmission fails, retransmission is initiated; if the transmission is successful, the transmission ends.

[0101] 13) After the transmission ends, it is determined whether to delete the local log based on the importance level.

[0102] Exemplarily, the IVI system serves as a log collection server, and separately reserves fixed-size storage spaces for the autonomous driving system, the S32G system, the TBOX system, and the IVI system itself to store logs. The autonomous driving system, the S32G system, and the TBOX system serve as log collection clients. After startup, they need to register with the server first. When the system is running normally, if the client wants to upload logs, it needs to first initiate a log upload request. The server issues a log upload configuration, and the client initiates a file upload interaction based on TFTP according to the configuration information; the server can actively request the client to upload logs, and only needs to issue a log upload configuration, and the client uploads logs according to the configuration information. After the upload ends, the server notifies the client of the upload result and determines whether to delete the local log based on the importance level.

[0103] Further, as an implementation of the above Figure 1 shown method, an embodiment of the present invention also provides a vehicle log collection and upload device for implementing the above Figure 1 shown method. The device embodiment corresponds to the foregoing method embodiment. For ease of reading, the details in the foregoing method embodiment will not be described one by one in this device embodiment, but it should be clear that the device in this embodiment can correspondingly implement all the contents in the foregoing method embodiment. As Figure 2 shown, the device includes: an acquisition unit 21 and an upload unit 22, where

[0104] The acquisition unit 21 is used for the IVI system to acquire the logs of the vehicle intelligent operating system;

[0105] The upload unit 22 is used to upload the target logs of the vehicle intelligent operating system corresponding to the retrieval instruction to the cloud when the above IVI system receives the user's retrieval instruction.

[0106] Exemplarily, the above vehicle intelligent operating system includes an autonomous driving system, a vehicle control system, and a TBOX system,

[0107] The above IVI system acquires the logs of the vehicle intelligent operating system, including:

[0108] The above IVI system acquires the logs of the above autonomous driving system, the above vehicle control system, and the above TBOX system.

[0109] Exemplarily, the above IVI system obtains the logs of the vehicle intelligent operating system, including:

[0110] When the logs of the above vehicle intelligent operating system reach the preset storage size, the above IVI system obtains the logs of the vehicle intelligent operating system, where the logs of the vehicle intelligent operating system are all printed and obtained when the vehicle is powered on;

[0111] When the above IVI system obtains the logs of the vehicle intelligent operating system, the above vehicle is prohibited from entering the sleep state.

[0112] Exemplarily, the above retrieval instruction of the user includes a retrieval system instruction and a retrieval time period instruction.

[0113] When the above IVI system receives the retrieval instruction of the user, uploading the target logs of the above vehicle intelligent operating system corresponding to the retrieval instruction to the cloud, including:

[0114] When the above IVI system receives the retrieval system instruction and the retrieval time period instruction of the user, uploading the target logs of the above vehicle intelligent operating system corresponding to the retrieval system and the retrieval time period to the cloud for the user to obtain.

[0115] Exemplarily, the above uploading the target logs of the above vehicle intelligent operating system corresponding to the retrieval instruction to the cloud includes:

[0116] Packaging the above target logs into a total data packet;

[0117] When the length of the above total data packet is greater than the preset length, dividing the above total data packet into at least two equal sub - data packets according to the number of transmission channels;

[0118] Simultaneously uploading the above at least two equal sub - data packets in ascending order;

[0119] When there is a first equal sub - data packet that has completed uploading and the transmission channel of the first equal sub - data packet is vacant, obtaining the remaining transmission amounts of all the data packets that have not completed transmission;

[0120] Based on the end of the second data packet with the largest remaining transmission amount, transmitting the second data packet in reverse order until it meets the forward transmission of the second data packet.

[0121] Exemplarily, the above unit is further used for:

[0122] When the vehicle is powered off, retaining the working state of the log acquisition interface of the above IVI system;

[0123] When the IVI system obtains all the logs of the vehicle intelligent operation system, release the working state of the log acquisition interface of the IVI system, where all the logs of the vehicle intelligent operation system represent the logs of the vehicle intelligent operation system as of the moment immediately before the vehicle is powered off.

[0124] Exemplarily, the above unit is further configured to:

[0125] Obtain the importance level of the above target log;

[0126] When the above target log is uploaded to the cloud and the importance level of the above target log is lower than the preset importance level, delete the logs of the vehicle intelligent operation system.

[0127] When the above target log is uploaded to the cloud and the importance level of the above target log is equal to or higher than the preset importance level, retain the logs of the vehicle intelligent operation system.

[0128] By means of the above technical solution, the vehicle log collection and upload device provided by the present invention obtains the logs of the vehicle intelligent operation system through the IVI system; when the IVI system receives a retrieval instruction from a user, uploads the target log of the vehicle intelligent operation system corresponding to the retrieval instruction to the cloud. In the above solution, through the centralized collection and on-demand upload of the logs of each vehicle system, the problems of log upload for vehicle systems without Internet access capabilities, the significant increase in traffic and duration consumption caused by full-volume log upload, and the problem of failure to upload specific logs in a timely manner are solved.

[0129] The processor contains a kernel, and the kernel retrieves the corresponding program unit from the memory. One or more kernels can be set, and by adjusting the kernel parameters, a vehicle log collection and upload method can be implemented, which can solve the problems of huge data volume and occupied threads caused by undifferentiated upload of vehicle logs.

[0130] An embodiment of the present invention provides a computer-readable storage medium, where the computer-readable storage medium includes a stored program, and when the program is executed by a processor, the above vehicle log collection and upload method is implemented.

[0131] An embodiment of the present invention provides a processor, where the processor is used to run a program, and when the program runs, the above vehicle log collection and upload method is executed.

[0132] An embodiment of the present invention provides an electronic device, where the electronic device includes at least one processor and at least one memory connected to the processor; wherein, the processor is used to call program instructions in the memory and execute the vehicle log collection and upload method as described above.

[0133] An embodiment of the present invention provides an electronic device 30, such as Figure 3 As shown, the electronic device includes at least one processor 301, and at least one memory 302 and a bus 303 connected to the processor; wherein the processor 301 and the memory 302 communicate with each other through the bus 303; the processor 301 is used to call the program instructions in the memory to execute the above-mentioned vehicle log collection and uploading method.

[0134] The intelligent electronic devices in this article can be PCs, PADs, mobile phones, etc.

[0135] The present application also provides a computer program product, which, when executed on a process management electronic device, is adapted to execute a program for initializing the following method steps:

[0136] The IVI system obtains the logs of the vehicle's intelligent operating system;

[0137] When the IVI system receives a call instruction from the user, the target log of the vehicle intelligent operating system corresponding to the call instruction is uploaded to the cloud.

[0138] Furthermore, the above-mentioned vehicle intelligent operating system includes an automatic driving system, a vehicle control system and a TBOX system.

[0139] The above-mentioned IVI system obtains the logs of the vehicle intelligent operating system, including:

[0140] The IVI system obtains logs of the autonomous driving system, the vehicle control system, and the TBOX system.

[0141] Furthermore, the IVI system obtains the logs of the vehicle intelligent operating system, including:

[0142] When the log of the vehicle intelligent operating system reaches a preset storage size, the IVI system obtains the log of the vehicle intelligent operating system, wherein the log of the vehicle intelligent operating system is printed and obtained in full when the vehicle is powered on;

[0143] In the case where the IVI system obtains the log of the vehicle intelligent operating system, the vehicle is prohibited from entering the dormant state.

[0144] Furthermore, the above-mentioned user's call instructions include calling system instructions and calling time period instructions.

[0145] When the IVI system receives a call instruction from the user, uploading the target log of the vehicle intelligent operating system corresponding to the call instruction to the cloud includes:

[0146] When the above IVI system receives the system retrieval instruction and the retrieval time period instruction from the user, upload the target log of the vehicle intelligent operation system corresponding to the above retrieval system and retrieval time period to the cloud for the user to obtain.

[0147] Further, uploading the target log of the vehicle intelligent operation system corresponding to the above retrieval instruction to the cloud includes:

[0148] Pack the above target log into a total data packet;

[0149] When the length of the above total data packet is greater than the preset length, divide the above total data packet into at least two equal - sized data packets according to the number of transmission channels;

[0150] Simultaneously upload the above at least two equal - sized data packets in ascending order;

[0151] When there is a situation where the first equal - sized data packet has completed uploading and the transmission channel of the first equal - sized data packet is vacant, obtain the remaining transmission amounts of all the data packets that have not completed transmission;

[0152] Based on the end of the second data packet with the largest remaining transmission amount, transmit the second data packet in reverse order until it meets the forward transmission of the second data packet.

[0153] Further, the above method further includes:

[0154] When the vehicle is powered off, retain the working state of the log acquisition interface of the above IVI system;

[0155] When the above IVI system obtains the logs of all vehicle intelligent operation systems, release the working state of the log acquisition interface of the above IVI system, where the above logs of all vehicle intelligent operation systems refer to the logs of the vehicle intelligent operation system up to the moment before the vehicle is powered off.

[0156] Further, the above method further includes:

[0157] Obtain the importance level of the above target log;

[0158] When uploading the above target log to the cloud and the importance level of the above target log is lower than the preset importance level, delete the log of the vehicle intelligent operation system.

[0159] When uploading the above target log to the cloud and the importance level of the above target log is equal to or higher than the preset importance level, retain the log of the vehicle intelligent operation system.

[0160] It should be noted that in the above embodiments, the descriptions of the respective embodiments have their own emphases. For parts not described in detail in a certain embodiment, reference may be made to the relevant descriptions of other embodiments.

[0161] Those skilled in the art should understand that the embodiments of the present application can be provided as methods, systems, or computer program products. Therefore, the present application can take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware aspects. Moreover, the present application can take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0162] The present application is described with reference to the flowcharts and / or block diagrams of methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each flow and / or block in the flowchart and / or block diagram can be implemented by computer program instructions, and the combination of the flows and / or blocks in the flowchart and / or block diagram can also be implemented. These computer program instructions can be provided to the processor of a general-purpose computer, a special-purpose computer, an embedded computer, or other programmable data processing devices to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing devices generate a device for implementing the functions specified in Figure 1 one or more of the processes or multiple processes and / or blocks Figure 1 one or more of the blocks or multiple blocks.

[0163] These computer program instructions can also be stored in a computer-readable memory that can direct a computer or other programmable data processing device to work in a specific manner, so that the instructions stored in the computer-readable memory generate a manufactured article including an instruction device, and the instruction device implements the functions specified in Figure 1 one or more of the processes or multiple processes and / or blocks Figure 1 one or more of the blocks or multiple blocks.

[0164] These computer program instructions can also be loaded onto a computer or other programmable data processing device, so that a series of operation steps are executed on the computer or other programmable device to generate a computer-implemented process. Thus, the instructions executed on the computer or other programmable device provide steps for implementing the functions specified in Figure 1 one or more of the processes or multiple processes and / or blocks Figure 1 one or more of the blocks or multiple blocks.

[0165] The embodiments of the present application also provide a computer program product, which includes computer software instructions. When the computer software instructions run on a processing device, the processing device is caused to execute as Figure 1The process for controlling the memory in the corresponding embodiment.

[0166] A computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the processes or functions according to the embodiments of the present application are wholly or partially generated. The computer may be a general-purpose computer, a special-purpose computer, a computer network, or other programmable devices. The computer instructions may be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another. For example, the computer instructions may be transmitted from a website, computer, server, or data center to another website, computer, server, or data center in a wired manner (such as coaxial cable, optical fiber, digital subscriber line (DSL)) or a wireless manner (such as infrared, wireless, microwave, etc.). The computer-readable storage medium may be any available medium that can be stored by a computer or a data storage device such as a server or data center that integrates one or more available media. The available medium may be a magnetic medium (for example, a floppy disk, a hard disk, a magnetic tape), an optical medium (for example, a DVD), or a semiconductor medium (for example, a solid state disk (SSD)), etc.

[0167] Those skilled in the art can clearly understand that for the convenience and brevity of description, the specific working processes of the above-described systems, devices, and units can refer to the corresponding processes in the foregoing method embodiments and will not be elaborated herein.

[0168] In several embodiments provided in the present application, it should be understood that the disclosed systems, devices, and methods can be implemented in other ways. For example, the device embodiments described above are merely illustrative. For example, the division of units is only a logical function division, and there may be other division methods in actual implementation. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Another point is that the displayed or discussed couplings or direct couplings or communication connections to each other may be indirect couplings or communication connections through some interfaces, devices, or units, and may be in electrical, mechanical, or other forms.

[0169] The units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place or distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0170] In addition, in each embodiment of the present application, each functional unit can be integrated into one processing unit, or each unit can exist physically alone, or two or more units can be integrated into one unit. The above-mentioned integrated unit can be implemented in the form of hardware or in the form of a software functional unit.

[0171] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application, in essence, or the part that contributes to the prior art, or all or part of this technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions for causing a computer device (which can be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods in each embodiment of the present application. The aforementioned storage medium includes: various media that can store program codes such as USB flash drives, mobile hard disks, read-only memories (ROMs), random access memories (RAMs), magnetic disks, or optical discs.

[0172] The above, the above embodiments are only used to illustrate the technical solutions of the present application and are not intended to limit them; although the present application has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that they can still modify the technical solutions recorded in the foregoing embodiments, or perform equivalent replacements for some of the technical features; and these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of each embodiment of the present application.

Claims

1. A method for collecting and uploading vehicle logs, characterized in that, Including: The IVI system obtains the logs of the vehicle intelligent operating system; When the IVI system receives a retrieval instruction from the user, the target log of the vehicle intelligent operating system corresponding to the retrieval instruction is uploaded to the cloud, and the user's retrieval instruction includes a retrieval system instruction and a retrieval time period instruction; The uploading of the target log of the vehicle intelligent operating system corresponding to the retrieval instruction to the cloud includes: Packaging the target log into a total data packet; When the length of the total data packet is greater than the preset length, dividing the total data packet into at least two equal sub - data packets according to the number of transmission channels; Simultaneously uploading the at least two equal sub - data packets in ascending order; When there is a first equal sub - data packet that has completed uploading and the transmission channel of the first equal sub - data packet is vacant, obtaining the remaining transmission amounts of all the data packets that have not completed transmission; Starting from the end of the second data packet with the largest remaining transmission amount, transmitting the second data packet in reverse order until it meets the forward transmission of the second data packet.

2. The method according to claim 1, wherein The vehicle intelligent operating system includes an autonomous driving system, a vehicle control system, and a TBOX system. The IVI system obtaining the logs of the vehicle intelligent operating system includes: The IVI system obtains the logs of the autonomous driving system, the vehicle control system, and the TBOX system.

3. The method according to claim 1, wherein The IVI system obtaining the logs of the vehicle intelligent operating system includes: When the logs of the vehicle intelligent operating system reach the preset storage size, the IVI system obtains the logs of the vehicle intelligent operating system, where the logs of the vehicle intelligent operating system are all printed and obtained when the vehicle is powered on; When the IVI system obtains the logs of the vehicle intelligent operating system, the vehicle is prohibited from entering the sleep state.

4. The method according to claim 1, wherein When the IVI system receives a retrieval instruction from the user, the uploading of the target log of the vehicle intelligent operating system corresponding to the retrieval instruction to the cloud includes: When the IVI system receives a retrieval system instruction and a retrieval time period instruction from the user, the target log of the vehicle intelligent operating system corresponding to the retrieval system and the retrieval time period is uploaded to the cloud for the user to obtain.

5. The method according to claim 1, wherein It further includes: When the vehicle is powered off, maintaining the working state of the log acquisition interface of the IVI system; When the IVI system obtains all the logs of the vehicle intelligent operating system, releasing the working state of the log acquisition interface of the IVI system, where all the logs of the vehicle intelligent operating system refer to the logs of the vehicle intelligent operating system as of the moment before the vehicle is powered off.

6. The method according to claim 1, wherein It further includes: Obtaining the importance level of the target log; When the target log is uploaded to the cloud and the importance level of the target log is lower than the preset importance level, deleting the logs of the vehicle intelligent operating system; When the target log is uploaded to the cloud and the importance level of the target log is equal to or higher than the preset importance level, retaining the logs of the vehicle intelligent operating system.

7. A vehicle log collection and upload device, characterized in that, Including: An acquisition unit for an IVI system to acquire the logs of the vehicle intelligent operating system; An upload unit for uploading the target logs of the vehicle intelligent operating system corresponding to the retrieval instruction to the cloud when the IVI system receives the retrieval instruction from the user, where the retrieval instruction from the user includes a retrieval system instruction and a retrieval time period instruction; The uploading the target logs of the vehicle intelligent operating system corresponding to the retrieval instruction to the cloud includes: Packaging the target logs into a total data packet; When the length of the total data packet is greater than a preset length, dividing the total data packet into at least two equal sub-packets according to the number of transmission channels; Simultaneously uploading the at least two equal sub-packets in ascending order; When there is a first sub-packet that has completed uploading and the transmission channel of the first sub-packet is vacant, obtaining the remaining transmission amounts of all the data packets that have not completed transmission; Starting from the end of the second data packet with the largest remaining transmission amount, transmitting the second data packet in descending order until it meets the ascending transmission of the second data packet.

8. A computer-readable storage medium, characterized in that, The computer-readable storage medium includes a stored program, wherein when the program is executed by a processor, the steps of the vehicle log collection and upload method according to any one of claims 1 to 6 are implemented.

9. An electronic device, characterized in that, The electronic device includes at least one processor and at least one memory connected to the processor; wherein the processor is used to call the program instructions in the memory and execute the steps of the vehicle log collection and upload method according to any one of claims 1 to 6.

Citation Information

Patent Citations

  • Log transmission method and system of vehicle machine system, vehicle and storage medium

    CN112199266A

  • Client log processing method and device and computer equipment

    CN113687974A

  • Automobile log uploading method and device, computer equipment and automobile

    CN115223269A

  • Vehicle log remote monitoring method and device, electronic equipment and storage medium

    CN115225629A