Method and system for acquiring LOG based on cloud

The cloud-based system addresses inefficiencies in traditional log acquisition by remotely compressing and encrypting vehicle logs, allowing batch processing and secure transmission.

CN119106442AInactive Publication Date: 2024-12-10RIVOTEK TECH (JIANGSU) CO LTD
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
CN202411366356.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-09-29
Publication Date
2024-12-10
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

Traditional methods for obtaining vehicle computer logs require physical presence and are inefficient for batch acquisition.

Method used

A cloud-based method and system using wireless communication and encryption to remotely acquire and compress vehicle logs, enabling batch acquisition through a cloud server.

Benefits of technology

Enables convenient and efficient acquisition of multiple vehicle logs without on-site presence, enhancing efficiency and security through encryption and desensitization.

✦ Generated by Eureka AI based on patent content.
Patent Text Reader

Abstract

The invention discloses a method and a system for acquiring a LOG log based on a cloud, and the method comprises the following steps: manually clicking a button, and issuing a LOG request by a log request theme of an MQTTClient on a cloud server; after receiving the LOG acquisition request, the 8050 chip in the cabin sends a cluster log request to the 8035 chip; after the 8035 chip receives the cluster log request, the currently received log of the single-chip microcomputer and the LOG of the 8035 chip are sent to the 8050 chip in a compressed package mode; after the 8050 chip receives the LOG packet sent by the 8035 chip, the LOG of the 8050 chip is packaged; the 8050 chip enables the 8035 chip, the single chip microcomputer and the LOG of the 8050 chip to download themes together through the LOG and publish the themes; and the cloud server forwards the LOG to a cloud server MQTTClient subscribing to the LOG downloading theme, and when the cloud server completes uploading, the process is ended. According to the LOG log acquisition method and system provided by the invention, the LOG log of the vehicle-mounted terminal is acquired through the cloud server, and an operator does not need to go to the site of the vehicle-mounted terminal personally, so that the working convenience and the working efficiency are greatly improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of vehicle computer LOG transmission technology, and in particular to a method and system for obtaining LOG based on the cloud. Background Art

[0002] Nowadays, more and more vehicles are equipped with some intelligent systems (commonly known as car computers), which will record the work logs related to some control modules or software inside the car, so that the staff can understand the working conditions of various modules and software inside the car through the logs.

[0003] In traditional LOG acquisition, LOG logs can be obtained through forms such as USB flash drives and car diagnosis. However, these traditional acquisition methods require operators to be present at the vehicle computer to operate, and it is difficult to obtain the LOGs of multiple vehicle computers in batches. This results in traditional acquisition methods reducing the efficiency of vehicle computer LOG log transmission under certain scenario requirements.

[0004] To this end, we have designed a cloud-based method and system for obtaining LOG logs to solve the above problems. Summary of the invention

[0005] The purpose of the present invention is to solve the shortcomings of the prior art, and to propose a method and system for obtaining LOG logs based on the cloud. The LOG logs are obtained through a cloud server (server), and multiple vehicle LOG logs can be obtained in batches by adjusting the communication process and system, thereby improving the inconvenience of obtaining LOG logs in the traditional technology using a U disk or car diagnosis.

[0006] In order to achieve the above object, the present invention adopts the following technical solutions: A method for obtaining LOG logs based on the cloud, the method comprising the following steps: Step S101: manually click the command button on the vehicle screen to trigger the LOG request, and the LOG request topic of the MQTT_Client on the cloud server sends the LOG request; Step S102: After receiving the LOG request, the 8050 chip in the cockpit with the subscription function sends a cluster log request to the 8035 chip; In step S103, the 8035 chip receives the cluster log request and sends the currently received MCU LOG and 8035 chip LOG to the 8050 chip in the form of a compressed package; Step S104: After receiving the LOG compression package sent by the 8035 chip, the 8050 chip packages the LOG of the 8050 chip to form a compressed package. In step S105, the 8050 chip compresses the LOG log packages of the 8035 chip, the MCU and the 8050 chip and publishes them together through the LOG download topic; In step S106, the cloud server forwards the LOG to the cloud server MQTT_Client that subscribes to the LOG download topic. When the cloud server completes the upload, the process ends.

[0007] Furthermore, the 8050 chip and the 8035 chip are connected to each other through a wireless network to achieve signal data transmission.

[0008] Furthermore, the cloud server uses the SOME / IP communication method to send a read instruction through the protocol to obtain the LOG log and attaches the server IP address, MAC address and port number that need to obtain the LOG log.

[0009] Furthermore, after receiving the message, the 8050 chip packages the LOG log and replies to the cloud server. After receiving the response, the cloud server sends the upload result through the SOME / IP communication method. After the 8050 chip replies with the start upload response, it uploads the LOG log through the http post method and records the progress in real time.

[0010] Furthermore, the LOG log is compressed into a compressed package using the tar–xzf command.

[0011] Furthermore, when the LOG logs are transmitted to the cloud server, an encryption protocol is used to desensitize the sensitive information in the LOG logs.

[0012] Furthermore, sensitive information in the LOG log is desensitized and the following measures are taken: Data classification and identification: classify and identify the data in the LOG log; Data desensitization: Use any of the masking, hashing, encryption or data perturbation algorithms to desensitize sensitive data after classification and identification.

[0013] A system for obtaining LOG logs based on the cloud, comprising: The vehicle computer is equipped with 8050 chip and 8035 chip, which is used to receive and store the LOG information sent by the vehicle operating system on the vehicle computer, receive the LOG reading instruction sent by the cloud server, and return a response to the cloud server after receiving the LOG reading instruction, and upload the LOG information according to the reading instruction; The cloud server is used to receive and store the LOG information sent by the vehicle terminal, receive the LOG reading instruction sent by the vehicle terminal or the mobile terminal, and transmit the LOG information to the vehicle terminal and / or the mobile terminal according to the instruction.

[0014] Furthermore, the vehicle computer includes: A receiving module, configured to receive a read instruction, wherein the read instruction carries at least an asynchronous operation instruction for obtaining a LOG log, and the LOG log in the vehicle-mounted operating system includes at least a LOG log in a pre-installed application program; A compression module is used to compress the LOG log in the application to be captured according to the asynchronous operation instruction of obtaining the LOG log file to obtain the log file to be captured in the vehicle operating system; The upload module is used to upload the LOG logs to be captured in the vehicle operating system in real time.

[0015] Furthermore, the reading instruction includes the specified vehicle-side application that needs to read the LOG log, as well as the reading LOG log level and reading time.

[0016] A timer is provided in the receiving module, and the timer is used to control the reading duration of the LOG log reading instruction.

[0017] Compared with the prior art, the beneficial effects of the present invention are as follows: the LOG log acquisition method and system proposed in the present invention can realize the acquisition of the vehicle computer LOG log through the cloud server, without the need for the operator to be present at the vehicle computer site, and only needs to initiate a request through the cloud server, which greatly improves the convenience and efficiency of work. By acquiring the LOG log through the cloud server, multiple vehicle computer LOG logs can be acquired in batches, which improves the inconvenience and low efficiency of acquiring the LOG log in the traditional technology using a USB flash drive or car diagnosis. DETAILED DESCRIPTION

[0018] The technical solutions in the embodiments of the present invention will be clearly and completely described below in combination with the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, rather than all the embodiments.

[0019] A method for obtaining LOG logs based on the cloud, the method comprising the following steps: In step S101, by manually clicking the command button on the vehicle screen, the LOG request topic (Log Request Topic) of the MQTT_Client on the cloud server will send a LOG request (Log Request).

[0020] ‌MQTT_Client‌ is a cloud server library based on the MQTT protocol, which allows the vehicle or application to communicate with the cloud server through the MQTT protocol. The cloud server in this embodiment uses the SOME / IP communication method, and sends the Get LOG command through the protocol with the server IP address, MAC address and port number of the log to be obtained.

[0021] In step S102, after receiving the LOG log request, the 8050 chip in the cockpit that subscribes to this function sends a cluster log request to the 8035 chip.

[0022] In step S103, after receiving the cluster log request, the 8035 chip sends the currently received LOG log of the single-chip microcomputer (MCU) and the LOG log of the 8035 chip to the 8050 chip in the form of a compressed package.

[0023] In step S104, after receiving the LOG compressed package sent by the 8035 chip, the 8050 chip packages the LOG of the 8050 chip to form a compressed package. In this embodiment, the LOG is preferably compressed by the tar-xzf command to form a compressed package.

[0024] In step S105, the 8050 chip compresses the LOG log packages of the 8035 chip, the MCU and the 8050 chip and publishes them together through the LOG download topic; In step S106, the cloud server forwards the LOG to the cloud server MQTT_Client that subscribes to the LOG download topic. When the cloud server completes the upload, the process ends.

[0025] It should be noted that the 8050 chip and the 8035 chip are connected through a wireless network (4G / 5G network) to realize signal data transmission; after the 8050 chip receives the message (LOG request), it starts to pack the LOG file and reply to the cloud server. After the cloud server receives the reply, it sends the upload result through the SOME / IP communication method. After the 8050 chip replies with the start upload response, it uploads the LOG file to the cloud server through the http post method and records the progress in real time.

[0026] When uploading LOG logs to cloud servers, encryption protocols (such as HTTPS and TLS) are required to protect the security of data during transmission, prevent data from being intercepted or tampered with during transmission, and ensure that only authorized users and services can access log data. This can be achieved through identity authentication and authorization mechanisms, such as using certificate authentication, API keys, or access tokens; sensitive information can also be avoided from being recorded in LOG logs, or sensitive information in LOG logs can be desensitized to protect user privacy. For example, personal information of users can be not recorded, or sensitive information such as IP addresses and mobile phone numbers can be blurred.

[0027] In this embodiment, the sensitive information in the LOG log is desensitized, and the following measures can be taken: Data classification and identification: Classify and identify the data in the LOG log files; clarify which data in the LOG log files are sensitive information, such as location information, personal identity information, driving habits, etc.

[0028] Data desensitization: Use any of the following algorithms, such as masking, hashing, encryption, or data perturbation, to desensitize the classified and identified sensitive information. For example, license plate numbers and faces can be blurred, or personal information can be replaced with pseudo information.

[0029] In addition, during the decryption process, it is best to add the following work, such as algorithm optimization: optimize the above desensitization algorithm according to the characteristics of the vehicle system to adapt to the different data types and formats of the LOG log. For example, Lianyou Technology's VMS image desensitization system uses a self-developed AI visual image processing algorithm to quickly desensitize real-time video streams, videos, and graphics, and it is irreversible. Secure storage: Safely store the desensitized data and take appropriate encryption measures to ensure the security of the data during storage. Access control: Implement strict access control policies to ensure that only authorized users and systems can access sensitive data. Compliance compliance: Follow relevant data protection regulations and standards, such as GDPR, CCPA, etc., to ensure that the desensitization process meets legal requirements. Regular audit: Regularly audit the desensitization strategy and implementation results to ensure the effectiveness of the desensitization measures and adjust them as needed. User right to know: Ensure that users understand how their data is collected, used and protected, and how to exercise their data rights.

[0030] In this embodiment, a system for obtaining LOG logs based on the cloud is also proposed, and the system includes a vehicle computer and a cloud server. The vehicle computer is equipped with 8050 chip and 8035 chip, which are used to receive and store the LOG information sent by the vehicle operating system on the vehicle computer, receive the LOG reading instruction sent by the cloud server, and return a response to the cloud server after receiving the LOG reading instruction, and upload the LOG information according to the reading instruction.

[0031] The cloud server is used to receive and store the LOG information sent by the vehicle terminal, receive the LOG reading instruction sent by the vehicle terminal or the mobile terminal, and transmit the LOG information to the vehicle terminal and / or the mobile terminal according to the instruction.

[0032] Furthermore, the vehicle computer also includes: a receiving module, a compression module and an uploading module. The receiving module is used to receive a read instruction, which carries at least an asynchronous operation instruction for obtaining a LOG log file. The LOG log file in the vehicle operating system includes at least a LOG log file in a pre-installed application. The read instruction includes the vehicle-side application that specifies the LOG log file to be read, as well as the level and duration of the LOG log file to be read.

[0033] The compression module is used to compress the LOG log file in the application to be captured according to the asynchronous operation instruction of obtaining the LOG log file to obtain the log file to be captured in the vehicle operating system; a timer is set in the receiving module, and the timer is used to control the reading time of the LOG log file reading instruction.

[0034] The upload module is used to upload the LOG files to be captured in the vehicle operating system in real time.

[0035] In this embodiment, a readable storage medium is provided, on which a vehicle-machine application is stored. When the vehicle-machine application is executed by the vehicle-machine operating system, the steps of the above-mentioned cloud-based LOG log acquisition method are implemented.

[0036] A person of ordinary skill in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be implemented by instructing the relevant hardware through a vehicle-mounted application. The vehicle-mounted application can be stored in a readable storage medium on the vehicle-mounted end. When the vehicle-mounted application is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, database or other media used in the embodiments provided in this application may include non-volatile and / or volatile memory. Non-volatile memory may include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory. Volatile memory may include random access memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in many forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM), etc.

[0037] The LOG log acquisition method and system proposed in the present invention can obtain the vehicle computer LOG log through the cloud server. The operator does not need to be present at the vehicle computer site in person, but only needs to initiate a request through the cloud server, which greatly improves the convenience and efficiency of work. By acquiring the LOG log through the cloud server, multiple vehicle computer LOG logs can be acquired in batches, which improves the inconvenience of obtaining the LOG log by using a USB flash drive or car diagnosis in traditional technologies.

[0038] The above description is only a preferred specific implementation manner of the present invention, but the protection scope of the present invention is not limited thereto. Any technician familiar with the technical field can make equivalent replacements or changes according to the technical scheme and inventive concept of the present invention within the technical scope disclosed by the present invention, which should be covered by the protection scope of the present invention.

Claims

1. A method for obtaining LOG logs based on the cloud, characterized in that: The method comprises the following steps: Step S101: manually click the command button on the vehicle screen to trigger the LOG request, and the LOG request topic of the MQTT_Client on the cloud server sends the LOG request; Step S102: After receiving the LOG request, the 8050 chip in the cockpit with the subscription function sends a cluster log request to the 8035 chip; In step S103, the 8035 chip receives the cluster log request and sends the currently received MCU LOG and 8035 chip LOG to the 8050 chip in the form of a compressed package; Step S104: After receiving the LOG compression package sent by the 8035 chip, the 8050 chip packages the LOG of the 8050 chip to form a compressed package. In step S105, the 8050 chip compresses the LOG log packages of the 8035 chip, the MCU and the 8050 chip and publishes them together through the LOG download topic; In step S106, the cloud server forwards the LOG to the cloud server MQTT_Client that subscribes to the LOG download topic. When the cloud server completes the upload, the process ends.

2. According to the method for obtaining LOG logs based on the cloud according to claim 1, it is characterized in that: The 8050 chip and the 8035 chip communicate with each other through a wireless network to achieve signal data transmission.

3. The method for obtaining LOG logs based on the cloud according to claim 1, characterized in that: The cloud server uses the SOME / IP communication method to send a read instruction through the protocol to obtain the LOG log and attach the server IP address, MAC address and port number that need to obtain the LOG log.

4. The method for obtaining LOG logs based on the cloud according to claim 1, characterized in that: After receiving the message, the 8050 chip packages the LOG and replies to the cloud server. After receiving the reply, the cloud server sends the upload result through SOME / IP communication. After the 8050 chip replies with the start upload reply, it uploads the LOG through http post and records the progress in real time.

5. The method for obtaining LOG logs based on the cloud according to claim 1, characterized in that: The LOG log is compressed into a compressed package using the tar–xzf command.

6. The method for obtaining LOG logs based on the cloud according to claim 1, characterized in that: An encryption protocol is used when LOG logs are transmitted to the cloud server, and sensitive information in the LOG logs is desensitized.

7. The method for obtaining LOG logs based on the cloud according to claim 6, characterized in that: Sensitive information in the LOG log is desensitized and the following measures are taken: Data classification and identification: classify and identify the data in the LOG log; Data desensitization: Use any of the masking, hashing, encryption or data perturbation algorithms to desensitize sensitive data after classification and identification.

8. A system applied to the cloud-based LOG acquisition method according to any one of claims 1 to 7, characterized in that: include: The vehicle computer is equipped with 8050 chip and 8035 chip, which is used to receive and store the LOG information sent by the vehicle operating system on the vehicle computer, receive the LOG reading instruction sent by the cloud server, and return a response to the cloud server after receiving the LOG reading instruction, and upload the LOG information according to the reading instruction; The cloud server is used to receive and store the LOG information sent by the vehicle terminal, receive the LOG reading instruction sent by the vehicle terminal or the mobile terminal, and transmit the LOG information to the vehicle terminal and / or the mobile terminal according to the instruction.

9. The system for obtaining LOG logs based on the cloud according to claim 8, characterized in that: The vehicle computer comprises: A receiving module, configured to receive a read instruction, wherein the read instruction carries at least an asynchronous operation instruction for obtaining a LOG log, and the LOG log in the vehicle-mounted operating system includes at least a LOG log in a pre-installed application program; A compression module is used to compress the LOG log in the application to be captured according to the asynchronous operation instruction of obtaining the LOG log file to obtain the log file to be captured in the vehicle operating system; The upload module is used to upload the LOG logs to be captured in the vehicle operating system in real time.

10. The system for obtaining LOG logs based on the cloud according to claim 9, characterized in that: The read instruction includes the vehicle-side application that specifies the LOG log to be read, as well as the LOG log level and reading time; A timer is provided in the receiving module, and the timer is used to control the reading duration of the LOG log reading instruction.

Citation Information

Patent Citations

  • Method for transmitting in-vehicle infotainment system log through wireless terminal

    CN113873000A

  • Log collection method and log collection device

    CN115037736A

  • Log file storage method and device, equipment and storage medium

    CN116094908A

  • Method for upgrading vehicle-mounted chip by using USB flash disk

    CN116610347A

  • Vehicle information processing apparatus, user terminal, information processing method, and program

    US20210337387A1