A vehicle log information processing method, system and vehicle terminal

By using intranet penetration and reverse proxy technology, the log information of the vehicle terminal can be accessed directly on the user terminal, which solves the problem of low log management efficiency, enables rapid acquisition and processing of abnormal information of the vehicle controller, and reduces server load and cost.

CN117009312BActive Publication Date: 2025-11-21CHONGQING CHANGAN TECH CO LTD
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202310970574.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-08-02
Publication Date
2025-11-21
Estimated Expiration
2043-08-02

AI Technical Summary

Technical Problem

Existing technologies suffer from inefficient log management, making it impossible to obtain timely and effective log information. This leads to difficulties in locating problems during the R&D process and excessive server load.

Method used

By employing intranet penetration and reverse proxy technologies, remote and local log collection is achieved. User terminals directly access the reverse proxy server of the vehicle terminal, avoiding the intermediate link of the cloud server. Combined with log management services, critical logs are packaged and uploaded.

Benefits of technology

It improved the efficiency of log acquisition, reduced server load and costs, saved network resources, and enabled the rapid location and resolution of vehicle controller anomalies.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117009312B_ABST
    Figure CN117009312B_ABST
Patent Text Reader

Abstract

The application discloses a kind of processing method, system and vehicle terminal of vehicle log information, and the service port of each vehicle terminal controller is mapped to the server proxy port of cloud server or the local proxy port of computer by intranet penetration, reverse proxy etc., remote log acquisition is realized: through computer access cloud server, log acquisition instruction is issued to vehicle terminal by remote instruction, vehicle terminal starts intranet penetration client link service end, and the log acquisition function of controller is realized by intranet penetration, local log acquisition: computer and vehicle terminal are in the same local area network, computer connects reverse proxy port, i.e. access vehicle terminal controller, realize key log upload: when vehicle controller detects that exception occurs, key log is uploaded to server by log management service.The application uses intranet penetration technology and reverse proxy technology to realize log processing, accelerates problem processing efficiency in the process of research and development after sale, effectively relieves server storage pressure.
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 log processing, in particular to a vehicle log information processing method and system, a vehicle and a computer readable storage medium. BACKGROUND

[0002] During the driving process of the automobile, some abnormal conditions (including faults) may occur to the controller, and the sensor can collect the automobile operating parameters at the time of the abnormal condition and a period of time before and after the abnormal condition, generate an automobile log file, and store the automobile log file on the local storage.

[0003] With the rapid development of the current automobile industry, functions are iteratively replaced, to meet market demand, functions are becoming more and more complex, controllers are becoming more and more numerous, and the difficulty of problem tracking and troubleshooting in the R&D process and after-sales is increasing, which also brings great labor costs to major car manufacturers. The main reason why problems cannot be quickly located and solved is that effective log information cannot be obtained in a timely manner after the problem occurs. To solve the current problem, let the R&D quickly and efficiently locate and solve the problem, the unified management of logs is imperative.

[0004] In the current log acquisition method, the logs to be reported in the compressed cache queue need to be compressed when uploading the logs, and the compressed log data is uploaded to the cloud server. The logs need to be stored in the cloud server, which increases the burden of the cloud server and makes the log management efficiency low.

[0005] Therefore, the prior art still needs to be improved and developed. SUMMARY

[0006] The main purpose of the present application is to provide a vehicle log information processing method and system, a vehicle and a computer readable storage medium, which aims to solve the problem of low log management efficiency and the inability to obtain effective log information in a timely manner in the prior art.

[0007] The first aspect embodiment of the present application provides a vehicle log information processing method, comprising the following steps:

[0008] Receiving an internal network penetration connection instruction sent by a server, starting an internal network penetration client module and establishing a connection with an internal network penetration server module of the server; obtaining a target controller name sent by the server, downloading a corresponding log file in a controller log file storage directory according to the target controller name, and sending and saving the log file to a user terminal.

[0009] According to the technical means, the computer can access the cloud server to issue a log collection remote instruction to the vehicle terminal, the vehicle terminal starts the intranet penetration client to connect the server according to the instruction, the log collection function of the controller is realized through the intranet penetration technology, the user can directly obtain the log information on the vehicle terminal through the terminal device, the problem processing efficiency in the R&D and after-sales process can be accelerated, and the storage pressure of the server is solved.

[0010] Optionally, before receiving the intranet penetration connection instruction sent by the server, the method further includes the following steps: receiving a vehicle network connection state judgment instruction sent by the server, wherein the vehicle network connection state judgment instruction is obtained by the server according to the VIN code of the vehicle whose log is to be obtained input by the user terminal; obtaining the network connection state of the current vehicle according to the vehicle network connection state judgment instruction, and sending the network connection state to the server; if the network connection state obtained by the server is online, receiving a penetration connection state judgment instruction sent by the server, obtaining the current intranet penetration connection state according to the penetration connection state judgment instruction, and sending the intranet penetration connection state to the server.

[0011] According to the technical means, the network connection state of the vehicle whose log is to be obtained is obtained by inputting the VIN code of the vehicle whose log is to be obtained on the user terminal, the intranet penetration client is started according to the network connection state, the intranet penetration client is connected, the connection of the intranet penetration is established, and the connection state is fed back to the vehicle management system, the network connection state and the intranet penetration connection state of the current vehicle are obtained in real time, and the corresponding state information is updated and fed back in time, so that the whole log obtaining process is orderly.

[0012] Optionally, in an embodiment of the application, the target controller name sent by the server is obtained, and specifically includes the following steps:

[0013] The target controller name sent by the vehicle management system of the receiving server is received, and the controller log file storage directory in the current vehicle is obtained through intranet penetration mapping.

[0014] According to the technical means, the target controller name sent by the vehicle management system of the receiving server is received, and the controller log file storage directory in the current vehicle is obtained through intranet penetration mapping.

[0015] The second aspect embodiment of the application provides a vehicle log information processing method, including the following steps:

[0016] According to a connection request of the user terminal, a connection between the reverse proxy server and the user terminal is established; a target controller name sent by the user terminal is acquired, a controller in the reverse proxy server is accessed, a corresponding log file is downloaded from a log file storage directory of the controller in the reverse proxy server according to the target controller name sent by the user terminal, and the log file is sent and saved to the user terminal.

[0017] According to the technical means, the user terminal and the vehicle terminal are in the same local area network through the local connection, the user terminal connects a reverse proxy server port of the vehicle terminal, the vehicle controller is accessed, log collection is realized, the cloud server is not needed in the whole process, and the connection with the vehicle controller also does not need to be established again. Only the reverse proxy server needs to be set for the vehicle controller, the vehicle controller is accessed through the reverse proxy server, and log collection is facilitated.

[0018] Optionally, in an embodiment of the present application, the reverse proxy server is a proxy server of the vehicle terminal, and is used for acquiring a log file storage directory from the vehicle controller.

[0019] According to the technical means, the reverse proxy server of the embodiment of the present application is a proxy server of the vehicle terminal, that is, the reverse proxy server is located between the user terminal and the vehicle terminal. For the user, the reverse proxy server is equivalent to the vehicle terminal, and the user can obtain the resource of the vehicle terminal by directly accessing the reverse proxy server.

[0020] Optionally, in an embodiment of the present application, the controller in the reverse proxy server is accessed, the log file storage directory of the controller is acquired from the vehicle controller through internal network penetration mapping, the corresponding log file is downloaded from the log file storage directory according to the target controller name sent by the user terminal, and the corresponding log file is saved.

[0021] According to the technical means, in the embodiment of the present application, the log file of the target controller is acquired by accessing the log file storage directory of the corresponding controller in the reverse proxy server, so that the log file resource of the vehicle controller is obtained, the user does not need to know the address of the vehicle terminal, and does not need to make any setting on the user terminal. The network and server load can be effectively reduced, and the access efficiency is improved.

[0022] The third aspect embodiment of the present application provides a vehicle log information processing method, including the following steps:

[0023] When the abnormal information of the vehicle controller is detected, the key log related to the abnormal information is stored in a file directory of the controller, and the key log in the file directory is uploaded to a log management service; if the intranet penetration client module is connected with the intranet penetration server module of the server, the key log is packaged through the log management service and then uploaded to the intranet penetration server module of the server, and the server is controlled to send the key log to the developer.

[0024] According to the above technical means, when the abnormal information of the vehicle controller is detected, the key log is packaged through the log management service and then uploaded to the intranet penetration server module of the server, and the key log is sent to the developer through the intranet penetration technology, without using the public network IP address and without mapping the port in the router, so that the cost is saved and the security of the server is greatly improved.

[0025] Optionally, in an embodiment of the present application, when the abnormal information of the vehicle controller is detected, the key log related to the abnormal information is stored in a file directory of the controller, and the key log in the file directory is uploaded to a log management service, specifically including: when the abnormal information of the vehicle controller is detected, the key log related to the abnormal information is stored in a file directory of the controller, and the key log in the file directory is uploaded to a log management service through an Ethernet local area network.

[0026] According to the above technical means, when the abnormal information of the vehicle controller is detected, the key log related to the abnormal information is stored in a file directory of the controller, and the key log in the file directory is uploaded to a log management service, specifically including: when the abnormal information of the vehicle controller is detected, the key log related to the abnormal information is stored in a file directory of the controller, and the key log in the file directory is uploaded to a log management service through an Ethernet local area network.

[0027] Optionally, in an embodiment of the present application, the key log is packaged through the log management service and then uploaded to the intranet penetration server module of the server, and the server is controlled to send the key log to the developer, specifically including: the log management service packages the key log, uploads the packaged key log to the intranet penetration server module of the server through a traffic channel, and controls the server to send the key log to the developer; wherein the key log includes a plurality of abnormal information, and the abnormal information includes abnormal occurrence time, abnormal duration, abnormal type and abnormal code.

[0028] According to the technical means, the key log is packed in the embodiment of the application, and the packed key log is uploaded to the internal network penetration server module of the server through internal network penetration technology and a traffic channel. The key log is uploaded without port mapping, so that the time required for the whole log uploading process is reduced, and the server sends various abnormal information contained in the key log to the developer. The developer can arrange appropriate workers to handle the abnormality according to the specific abnormal information, so that the developer can quickly and efficiently locate and solve the problem, and the log management efficiency is improved.

[0029] The fourth aspect embodiment of the application provides a vehicle log information processing system, which comprises an internal network penetration establishment module configured to receive an internal network penetration connection instruction sent by a server, start an internal network penetration client module, and establish a connection with an internal network penetration server module of the server; and a log file acquisition module configured to acquire a target controller name sent by the server, download a corresponding log file in a controller log file storage directory according to the target controller name, and send and save the log file to a user terminal.

[0030] Optionally, in an embodiment of the application, the internal network penetration establishment module comprises an internal network penetration instruction receiving unit configured to receive an internal network penetration connection instruction sent by a server; and an internal network penetration connection unit configured to start an internal network penetration client module and establish a connection with an internal network penetration server module of the server.

[0031] Optionally, in an embodiment of the application, the log file acquisition module comprises a target controller acquisition unit configured to acquire a target controller name sent by the server; and a log file acquisition unit configured to download a corresponding log file in a controller log file storage directory according to the target controller name, and send and save the log file to a user terminal.

[0032] Optionally, in an embodiment of the present application, the system of the embodiment of the present application further comprises: a network connection state judgment instruction receiving unit configured to receive a vehicle network connection state judgment instruction sent by the server, wherein the vehicle network connection state judgment instruction is obtained by the server according to a VIN code of a vehicle for which logs are to be acquired input by the user terminal; a network connection state acquisition sending unit configured to acquire a network connection state of the current vehicle according to the vehicle network connection state judgment instruction, and send the network connection state to the server; a penetration connection state judgment instruction receiving unit configured to receive a penetration connection state judgment instruction sent by the server if the network connection state obtained by the server is online; and a penetration connection state acquisition sending unit configured to acquire a current intranet penetration connection state according to the penetration connection state judgment instruction, and send the intranet penetration connection state to the server.

[0033] The fifth aspect embodiment of the present application provides a vehicle log information processing system, which comprises: a reverse proxy establishment module configured to establish a connection between a reverse proxy server and a user terminal according to a connection request of the user terminal; and a log file acquisition module configured to acquire a target controller name sent by the user terminal, access a controller in the reverse proxy server, download a corresponding log file in a log file storage directory of the proxy controller according to the target controller name sent by the user terminal, and send and save the log file to the user terminal.

[0034] Optionally, in an embodiment of the present application, the reverse proxy establishment module comprises a reverse proxy establishment unit configured to establish a connection between a reverse proxy server and a user terminal according to a connection request of the user terminal.

[0035] Optionally, in an embodiment of the present application, the log file acquisition module comprises: a target controller acquisition unit configured to acquire a target controller name sent by the user terminal; a controller access unit configured to access a controller in the reverse proxy server; and a log file acquisition unit configured to download a corresponding log file in a log file storage directory of the proxy controller according to the target controller name sent by the user terminal, and send and save the log file to the user terminal.

[0036] The sixth aspect of the present application provides a vehicle log information processing system, the vehicle log information processing system comprising: an abnormal information monitoring module, configured to store key logs related to abnormal information into a file directory of a controller when detecting that the controller has abnormal information, and upload the key logs in the file directory to a log management service; and a key log reporting module, configured to, if an internal network penetration client module is connected with an internal network penetration server module of a server, pack the key logs through the log management service and upload the key logs to the internal network penetration server module of the server, and control the server to send the key logs to a developer.

[0037] Optionally, in an embodiment of the present application, the abnormal information monitoring module comprises: an abnormal information monitoring unit, configured to store key logs related to abnormal information into a file directory of a controller when detecting that the controller has abnormal information; and a key log uploading unit, configured to upload the key logs in the file directory to a log management service.

[0038] Optionally, in an embodiment of the present application, the key log reporting module comprises: an internal network penetration detection unit, configured to detect whether an internal network penetration client module is connected with an internal network penetration server module of a server; and a key log reporting unit, configured to, if the internal network penetration client module is connected with the internal network penetration server module of the server, pack the key logs through the log management service and upload the key logs to the internal network penetration server module of the server, and control the server to send the key logs to a developer.

[0039] The seventh aspect of the present application provides a vehicle terminal, the vehicle terminal comprising: a memory, a processor, and a vehicle log information processing program stored in the memory and executable on the processor, the vehicle log information processing program being used to implement the steps of the vehicle log information processing method according to the above embodiments when executed by the processor.

[0040] The eighth aspect of the present application provides a computer readable storage medium, the computer readable storage medium storing a vehicle log information processing program, the vehicle log information processing program being used to implement the steps of the vehicle log information processing method according to the above embodiments when executed by a processor.

[0041] The present application has the following beneficial effects:

[0042] (1) The embodiment of the present application can access the cloud server on the computer to issue a log collection remote instruction to the vehicle terminal, and the vehicle terminal starts the intranet penetration client to connect the server according to the instruction, and realizes the log collection function of the controller through the intranet penetration technology, so that the user can directly obtain the log information on the vehicle terminal through the terminal device, can speed up the problem processing efficiency in the R&D and after-sales process, and also solves the server storage pressure.

[0043] (2) The embodiment of the present application can place the user terminal and the vehicle terminal in the same local area network through the local connection mode, the user terminal connects the reverse proxy server port of the vehicle terminal, that is, the vehicle controller can be accessed to realize log collection, the whole process does not need to perform cloud server, and does not need to establish connection with the vehicle controller again, only needs to set the reverse proxy server for the vehicle controller, and the vehicle controller can be accessed through the reverse proxy server, so that the log collection is facilitated.

[0044] (3) In the embodiment of the present application, when the abnormal information of the vehicle controller is detected, the key log is packaged through the log management service and uploaded to the intranet penetration server module of the server, the key log is sent to the developer through the intranet penetration technology, without using the public network ip address, without mapping the port in the router, saving the cost and greatly improving the security of the server.

[0045] (4) In the embodiment of the present application, the log file of the target controller is obtained, the log file resource of the vehicle controller can be obtained by accessing the log file storage directory of the corresponding controller in the reverse proxy server, the user does not need to know the address of the vehicle terminal, and does not need to make any setting in the user terminal, which can effectively reduce the load of the network and the server and improve the access efficiency.

[0046] The additional aspects and advantages of the present application will be partially given in the following description, partially will become obvious from the following description, or will be understood by the practice of the present application. BRIEF DESCRIPTION OF DRAWINGS

[0047] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the following will briefly introduce the drawings needed to be used in the embodiments or the prior art description. Obviously, the drawings in the following description are only some embodiments of the present application, and those skilled in the art can also obtain other drawings according to these drawings without creative labor.

[0048] Figure 1 is the flow chart of the first preferred embodiment of the vehicle log information processing method of the present application;

[0049] Figure 2is a system architecture diagram of a vehicle log information processing method of the present application;

[0050] Figure 3 is a remote log collection flowchart of a vehicle log information processing method of the present application;

[0051] Figure 4 is a flowchart of a second preferred embodiment of a vehicle log information processing method of the present application;

[0052] Figure 5 is a local log collection flowchart of a vehicle log information processing method of the present application;

[0053] Figure 6 is a flowchart of a third preferred embodiment of a vehicle log information processing method of the present application;

[0054] Figure 7 is a key log reporting flowchart of a vehicle log information processing method of the present application;

[0055] Figure 8 is a structural schematic diagram of a first preferred embodiment of a vehicle log information processing system of the present application;

[0056] Figure 9 is a structural schematic diagram of a second preferred embodiment of a vehicle log information processing system of the present application;

[0057] Figure 10 is a structural schematic diagram of a third preferred embodiment of a vehicle log information processing system of the present application;

[0058] Figure 11 is a structural schematic diagram of a preferred embodiment of a vehicle terminal of the present application.

[0059] Wherein, 10-vehicle log information processing system; 100-intranet penetration establishment module, 200-log file acquisition module, 300-reverse proxy establishment module, 400-log file acquisition module, 500-exception information monitoring module and 600-key log reporting module; 501-memory, 502-processor and 503-communication interface. DETAILED DESCRIPTION

[0060] Embodiments of the present application are described in detail below, examples of which are shown in the accompanying drawings, wherein the same or similar reference numerals represent the same or similar elements or elements having the same or similar functions throughout. The embodiments described below by reference to the accompanying drawings are exemplary and are intended to explain the present application, and cannot be understood as limiting the present application.

[0061] A vehicle log information processing method, system, vehicle terminal and computer readable storage medium are described below with reference to the accompanying drawings. In view of the low log management efficiency and the inability to obtain effective log information in a timely manner in the related art, the present application provides a vehicle log information processing method. In the method, the service port of each vehicle terminal controller is mapped to the server proxy port of the cloud server or the local proxy port of the computer through technologies such as internal network penetration and reverse proxy, and remote log collection is achieved. The computer accesses the cloud server through a remote instruction to issue a log collection instruction to the vehicle terminal, the vehicle terminal starts an internal network penetration client to link the service end, and the internal network penetration is used to realize the log collection function of the controller. The computer and the vehicle terminal are in the same local area network, the computer is connected to the reverse proxy port, the vehicle terminal controller can be accessed, log collection and key log uploading are realized, and the vehicle controller detects an abnormality and uploads key logs to the server through the log management service. The internal network penetration technology is used to realize log management, which accelerates the problem processing efficiency in the R&D and after-sales process and effectively relieves the server storage pressure. Thus, the problem of low log management efficiency and the inability to obtain effective log information in a timely manner in the related art is solved.

[0062] Specifically, Figure 1 A flowchart of a first preferred embodiment of a vehicle log information processing method provided by the present application is shown in FIG. 1.

[0063] As Figure 1 shown, the vehicle log information processing method includes the following steps:

[0064] In step S101, the internal network penetration connection instruction sent by the service end is received, the internal network penetration client module is started, and the connection with the internal network penetration service end module of the service end is established.

[0065] As Figure 2 shown, the vehicle terminal, the service end and the user terminal are connected in pairs, and the vehicle terminal has a plurality of controllers (such as a driving controller and a VIU controller); the remote control service receives the internal network penetration connection instruction sent by the service end, starts the internal network penetration client module according to the internal network penetration connection instruction, and establishes the connection with the internal network penetration service end module of the service end.

[0066] Further, before receiving the intranet penetration connection instruction sent by the service end, the method further comprises: receiving a vehicle network connection state judgment instruction sent by the service end, wherein the vehicle network connection state judgment instruction is obtained by the service end according to a VIN code of a vehicle for which logs are to be acquired input by the user terminal; obtaining a network connection state of the current vehicle according to the vehicle network connection state judgment instruction, and sending the network connection state to the service end; if the network connection state obtained by the service end is online, receiving an intranet penetration connection state judgment instruction sent by the service end, obtaining a current intranet penetration connection state according to the intranet penetration connection state judgment instruction, and sending the intranet penetration connection state to the service end.

[0067] It can be seen that the application can obtain the network connection state of the vehicle for which logs are to be acquired by inputting the VIN code of the vehicle for which logs are to be acquired by the user terminal, start the intranet penetration client according to the network connection state, connect the intranet penetration client, establish the intranet penetration connection, and feed back the connection state to the vehicle management system, so as to obtain the network connection state and the intranet penetration connection state of the current vehicle in real time, and update and feed back the corresponding state information in time, so that the entire log acquisition process is orderly.

[0068] Intranet penetration (NAT penetration) is performed in order to correctly route data packets with a certain specific source IP address and source port number to an intranet host without being shielded by a NAT device. The essence of intranet penetration is to utilize the NAT system on a router. NAT is a conversion technology for converting private (reserved) addresses into legal IP addresses, and is widely applied to various types of Internet access methods and various types of networks.

[0069] In step S102, the target controller name sent by the service end is obtained, a corresponding log file is downloaded in the controller log file storage directory according to the target controller name, and the log file is sent and saved to the user terminal.

[0070] Specifically, after starting the intranet penetration client module and establishing the connection with the intranet penetration service end module of the service end, when the user enters the vehicle control interface of the vehicle management system to select the target controller name to be acquired, the vehicle management system sends the target controller name to the vehicle terminal. The vehicle terminal receives the target controller name sent by the vehicle management system of the service end, obtains the controller log file storage directory in the current vehicle through intranet penetration mapping, and downloads a corresponding log file in the controller log file storage directory according to the target controller name, and sends and saves the log file to the user terminal.

[0071] That is, through the internal network penetration contact between the client and the server established in the foregoing, the user can obtain the controller log file storage directory in the current vehicle through the internal network penetration mapping after logging in the vehicle management system in the terminal, which can accelerate the problem processing efficiency and also relieve the pressure of the server.

[0072] The whole implementation process is further introduced below according to the steps of executing the vehicle lane change warning method of the present application, as shown in the following figure: Figure 3

[0073] Step S1, start;

[0074] Step S2, the user logs in the vehicle management system of the server through the user terminal;

[0075] Step S3, according to the VIN code, check whether the network connection state of the target vehicle is online, if the network connection state is online, continue to execute step S4, if the network connection state is not online, execute step S10;

[0076] Step S4, judge whether the internal network penetration of the current client and the server is connected, if the internal network penetration of the current client and the server is not connected, continue to execute step S5, if the internal network penetration of the current client and the server is connected, execute step S8;

[0077] Step S5, the vehicle management system sends an internal network penetration connection instruction to the remote service module;

[0078] Step S6, the remote service module receives the internal network penetration connection instruction;

[0079] Step S7, the internal network penetration client module is started, and the connection with the internal network penetration server module of the server is established;

[0080] Step S8, the user enters the vehicle debugging interface of the vehicle management system, and selects the log file of the target controller to be pulled;

[0081] Step S9, close the internal network penetration connection between the client and the server;

[0082] Step S10, end.

[0083] Further, Figure 4 The flow chart of a second preferred embodiment of the vehicle log information processing method provided by the embodiment of the present application.

[0084] As shown in the following figure: Figure 2 In step S201, according to the connection request of the user terminal, the reverse proxy server is connected with the user terminal.

[0085] ​Reverse Proxy, the reverse proxy server is located between the user and the target server, for the user, the reverse proxy server is equivalent to the target server, that is, the user directly accesses the reverse proxy server to obtain the resources of the target server; at the same time, the user does not need to know the address of the target server, and does not need to make any settings on the user side; the reverse proxy server can usually be used as Web acceleration, that is, using the reverse proxy as the front-end machine of the Web server to reduce the load of the network and the server, and improve the access efficiency.

[0086] It can be understood that in the embodiment of the application, the reverse proxy server is a proxy server of the vehicle terminal, used to obtain the log file storage directory from the vehicle controller.

[0087] That is, the reverse proxy server in the embodiment of the application is located between the user terminal and the vehicle terminal, for the user, the reverse proxy server is equivalent to the vehicle terminal, that is, the user directly accesses the reverse proxy server to obtain the resources of the vehicle terminal.

[0088] In step S202, the target controller name sent by the user terminal is obtained, the controller in the reverse proxy server is accessed, the corresponding log file is downloaded from the log file storage directory of the controller in the reverse proxy server according to the target controller name sent by the user terminal, and the log file is sent and saved to the user terminal.

[0089] Specifically, after establishing the connection between the reverse proxy server and the user terminal, the target controller name sent by the user terminal is obtained, the controller in the reverse proxy server is accessed, the controller obtains the log file storage directory from the vehicle controller through the internal network penetration mapping; the corresponding log file is downloaded from the log file storage directory according to the target controller name sent by the user terminal and saved, and the log file is sent and saved to the user terminal.

[0090] That is, in the embodiment of the application, the reverse proxy server is equivalent to the vehicle terminal by combining the reverse proxy technology with the internal network penetration technology, that is, the user directly accesses the reverse proxy server to obtain the resources of the vehicle terminal, at the same time, the vehicle terminal and the reverse proxy server are connected through internal network penetration to realize data mapping, realize log collection, the whole process does not need a cloud server, does not need to establish a connection with the vehicle controller again, and does not need to map the port on the router, only needs to set the reverse proxy server for the vehicle controller, and the vehicle controller can be accessed by accessing the reverse proxy server, which is convenient for log collection.

[0091] The whole implementation process will be further introduced according to the steps of executing the vehicle lane changing warning method of the application as follows:Figure 5 As shown:

[0092] Step S11, Begin;

[0093] Step S12: Connect the user terminal (PC, mobile phone, etc.) to the local area network where the vehicle terminal is located via WIFI;

[0094] Step S13: The user terminal accesses and connects to the reverse proxy server of the vehicle terminal through a browser.

[0095] Step S14: Access the controller in the reverse proxy server;

[0096] Step S15: Download the corresponding log file from the log file storage directory of the controller in the reverse proxy server according to the target controller name sent by the user terminal.

[0097] Step S16, End.

[0098] Furthermore, Figure 6 This is a flowchart of a third preferred embodiment of a vehicle log information processing method provided in this application.

[0099] like Figure 2 As shown, in step S301, when an abnormal information is detected in the vehicle controller, the key logs related to the abnormal information are stored in the controller's file directory, and the key logs in the file directory are uploaded to the log management service.

[0100] Understandably, when an abnormality is detected in the vehicle controller, the key logs related to the abnormality are stored in the controller's file directory. The vehicle controller then uploads the key logs in the file directory to the log management service via Ethernet LAN.

[0101] As can be seen, when an abnormal information is detected in the vehicle controller, the key logs related to the abnormal information will first be uploaded to the log management service via Ethernet LAN for unified management, which facilitates the subsequent intranet penetration mapping. By setting up the log management service to save the abnormal log files of the controller in advance, the efficiency of log management is improved, and the reporting speed of abnormal information of the vehicle controller is accelerated.

[0102] In step S302, if the intranet penetration client module is connected to the intranet penetration server module of the server, the key logs are packaged through the log management service and uploaded to the intranet penetration server module of the server, and the server is controlled to send the key logs to the developers.

[0103] Specifically, the log management service packs the key log, uploads the packed key log to the intranet penetration server module of the server through a traffic channel, and controls the server to send the key log to the developer.

[0104] The key log includes a plurality of pieces of abnormal information, and the abnormal information includes abnormal occurrence time, abnormal duration, abnormal type, abnormal code, and the like (various information associated with the abnormality, which is only an example and is not limited).

[0105] That is, after detecting abnormal information of the vehicle controller, the log management service packs the key log, uploads the key log to the intranet penetration server module of the server, and sends the key log to the developer through the intranet penetration technology, without using a public IP address and without mapping a port on the router, thereby saving cost and greatly improving the security of the server.

[0106] The entire implementation process will be further introduced according to the steps of executing the vehicle lane changing warning method of the present application, as shown in the following steps. Figure 7

[0107] Step S21, start;

[0108] Step S22, detect that the controller has an abnormality;

[0109] Step S23, store the key log related to the abnormal information in the file directory of the controller, and forward the key log in the file directory to the log management service

[0110] Step S24, the log management service packs the key log;

[0111] Step S25, determine whether the intranet penetration client module is connected with the intranet penetration server module of the server, if the intranet penetration client module is not connected with the intranet penetration server module of the server, continue to execute step S26, if the intranet penetration client module is connected with the intranet penetration server module of the server, execute step S27;

[0112] Step S26, establish the connection between the intranet penetration client module and the intranet penetration server module of the server;

[0113] Step S27, upload the key log information to the log management service;

[0114] Step S28, the server stores the key log and sends it to the developer through an email;

[0115] Step S29, the server feeds back to the intranet penetration client module of the vehicle terminal that the uploading of the key log is completed; ​

[0116] Step S30, after the key log uploading is completed, the connection between the intranet penetration client module and the intranet penetration server module of the server is closed.

[0117] Step S31, the end.

[0118] In summary, the embodiment of the application can access the cloud server on the computer to issue a log collection remote instruction to the vehicle terminal, and the vehicle terminal starts the intranet penetration client to connect the server according to the instruction, and realizes the log collection function of the controller through the intranet penetration technology, so that the user can directly obtain the log information on the vehicle terminal through the terminal device, and can speed up the problem processing efficiency in the R&D and after-sales process, and also solves the server storage pressure.

[0119] Next, a vehicle log information processing system according to an embodiment of the application is described with reference to the accompanying drawings.

[0120] Figure 8 is a block schematic diagram of a first preferred embodiment of a vehicle log information processing system according to an embodiment of the application.

[0121] As shown in Figure 8 , the vehicle log information processing system 10 includes an intranet penetration establishment module 100 and a log file acquisition module 200.

[0122] Specifically, the intranet penetration establishment module 100 is configured to receive an intranet penetration connection instruction sent by a server, start an intranet penetration client module, and establish a connection with an intranet penetration server module of the server.

[0123] The log file acquisition module 200 is configured to acquire a target controller name sent by the server, download a corresponding log file in a controller log file storage directory according to the target controller name, and send and save the log file to a user terminal.

[0124] Optionally, in an embodiment of the application, the intranet penetration establishment module 100 includes an intranet penetration instruction receiving unit and an intranet penetration connection unit.

[0125] The intranet penetration instruction receiving unit is configured to receive an intranet penetration connection instruction sent by a server.

[0126] The intranet penetration connection unit is configured to start an intranet penetration client module and establish a connection with an intranet penetration server module of the server.

[0127] Optionally, in an embodiment of the application, the log file acquisition module 200 includes an intranet penetration instruction receiving unit and an intranet penetration connection unit.

[0128] The target controller acquisition unit is configured to acquire the target controller name sent by the server.

[0129] The log file acquisition unit is configured to download the corresponding log file in the controller log file storage directory according to the target controller name, and send and save the log file to the user terminal.

[0130] Optionally, in an embodiment of the present application, the system of the embodiment of the present application further comprises a network connection state judgment instruction receiving unit, a network connection state acquisition and sending unit, a penetration connection state judgment instruction receiving unit and a penetration connection state acquisition and sending unit.

[0131] The network connection state judgment instruction receiving unit is configured to receive the vehicle network connection state judgment instruction sent by the server, wherein the vehicle network connection state judgment instruction is obtained by the server according to the VIN code of the vehicle for which the log is to be acquired input by the user terminal.

[0132] The network connection state acquisition and sending unit is configured to acquire the network connection state of the current vehicle according to the vehicle network connection state judgment instruction, and send the network connection state to the server.

[0133] The penetration connection state judgment instruction receiving unit is configured to receive the penetration connection state judgment instruction sent by the server if the network connection state obtained by the server is online.

[0134] The penetration connection state acquisition and sending unit is configured to acquire the current internal network penetration connection state according to the penetration connection state judgment instruction, and send the internal network penetration connection state to the server.

[0135] It should be noted that the foregoing explanation and description of the first preferred embodiment of the vehicle log information processing method also apply to the vehicle log information processing system of this embodiment, which will not be described here again.

[0136] Figure 9 is a block schematic diagram of a second preferred embodiment of a vehicle log information processing system of the embodiment of the present application.

[0137] Specifically, the reverse proxy establishment module 300 is configured to establish the connection between the reverse proxy server and the user terminal according to the connection request of the user terminal.

[0138] The log file acquisition module 400 is configured to acquire the target controller name sent by the user terminal, access the controller in the reverse proxy server, download the corresponding log file in the log file storage directory of the proxy controller according to the target controller name sent by the user terminal, and send and save the log file to the user terminal.

[0139] Optionally, in an embodiment of the present application, the reverse proxy establishing module 300 comprises a reverse proxy establishing unit.

[0140] The reverse proxy establishing unit is configured to establish a connection between the reverse proxy server and the user terminal according to a connection request of the user terminal.

[0141] Optionally, in an embodiment of the present application, the log file obtaining module 400 comprises a target controller obtaining unit, a controller accessing unit and a log file obtaining unit.

[0142] The target controller obtaining unit is configured to obtain a target controller name sent by the user terminal.

[0143] The controller accessing unit is configured to access a controller in the reverse proxy server.

[0144] The log file obtaining unit is configured to download a corresponding log file from a log file storage directory of the proxy controller according to the target controller name sent by the user terminal, and send and save the log file to the user terminal.

[0145] It should be noted that the above description of the second preferred embodiment of the vehicle log information processing method is also applicable to the vehicle log information processing system of this embodiment, which will not be described here.

[0146] Figure 10 is a block schematic diagram of a third preferred embodiment of a vehicle log information processing system of an embodiment of the present application.

[0147] Specifically, the abnormal information monitoring module 500 is configured to store key logs related to abnormal information into a file directory of a controller when detecting the abnormal information of the vehicle controller, and upload the key logs in the file directory to a log management service.

[0148] The key log reporting module 600 is configured to, if the intranet penetration client module is connected with the intranet penetration server module of the server, pack the key logs through the log management service and upload the key logs to the intranet penetration server module of the server, so as to control the server to send the key logs to a developer.

[0149] Optionally, in an embodiment of the present application, the abnormal information monitoring module 500 comprises an abnormal information monitoring unit and a key log uploading unit.

[0150] The abnormal information monitoring unit is configured to store key logs related to abnormal information into a file directory of a controller when detecting the abnormal information of the vehicle controller.

[0151] A key log uploading unit is configured to upload the key log in the file directory to a log management service.

[0152] Optionally, in an embodiment of the present application, the key log reporting module 600 comprises a memory penetration detection unit and a key log reporting unit.

[0153] The memory penetration detection unit is configured to detect whether the intranet penetration client module is connected to the intranet penetration server module of the server.

[0154] The key log reporting unit is configured to, if the intranet penetration client module is connected to the intranet penetration server module of the server, pack the key log through the log management service and upload the key log to the intranet penetration server module of the server, and control the server to send the key log to the developer.

[0155] It should be noted that the foregoing description of the third preferred embodiment of the method for processing vehicle log information is also applicable to the system for processing vehicle log information of this embodiment, and thus will not be described again.

[0156] The system for processing vehicle log information according to the embodiments of the present application can access the cloud server on a computer to issue a log collection remote instruction to the vehicle terminal, the vehicle terminal starts the intranet penetration client to connect to the server according to the instruction, and the log collection function of the controller is realized through the intranet penetration technology, so that the user can directly obtain the log information on the vehicle terminal through the terminal device, the problem processing efficiency can be accelerated in the R&D and after-sales process, and the server storage pressure is also solved; the user terminal and the vehicle terminal can be placed in the same local area network through the local connection, the user terminal connects the reverse proxy server port of the vehicle terminal, the vehicle controller can be accessed, the log collection is realized, the whole process does not need to perform the cloud server, and the connection with the vehicle controller does not need to be established again, only the reverse proxy server needs to be set for the vehicle controller, the vehicle controller can be accessed by accessing the reverse proxy server, and the log collection is facilitated.

[0157] Therefore, the technical problem of low log management efficiency and inability to obtain effective log information in a timely manner in the related art is solved.

[0158] Figure 11 A structure diagram of the vehicle terminal is provided for the embodiments of the present application. The vehicle terminal can comprise:

[0159] The memory 501, the processor 502, and the computer program stored in the memory 501 and executable on the processor 502.

[0160] The processor 502 implements the vehicle log information processing method provided in the above embodiments when executing the program.

[0161] Further, the vehicle further comprises:

[0162] The communication interface 503 is configured to communicate between the memory 501 and the processor 502.

[0163] The memory 501 is configured to store a computer program executable on the processor 502.

[0164] The memory 501 can include a high-speed RAM memory, and can also include a non-volatile memory, for example, at least one disk memory.

[0165] If the memory 501, the processor 502 and the communication interface 503 are implemented independently, the communication interface 503, the memory 501 and the processor 502 can be connected to each other through a bus and complete communication between each other. The bus can be an Industry Standard Architecture (ISA) bus, a Peripheral Component (PCI) bus or an Extended Industry Standard Architecture (EIS) bus, etc. The bus can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Figure 11 Only one thick line is used in the figure, but it does not mean that there is only one bus or only one type of bus.

[0166] Optionally, in a specific implementation, if the memory 501, the processor 502 and the communication interface 503 are integrated on a chip, the memory 501, the processor 502 and the communication interface 503 can complete communication between each other through an internal interface.

[0167] The processor 502 can be a Central Processing Unit (CPU), or an Application Specific Integrated Circuit (ASIC), or one or more integrated circuits configured to implement the embodiments of the present application.

[0168] The embodiments also provide a computer readable storage medium, having stored thereon a computer program, which, when executed by a processor, implements the vehicle log information processing method as above.

[0169] In the description of the application, reference to "one embodiment", "some embodiments", "an example", "a specific example", or "some examples" means that a particular feature, structure, material, or characteristic being described is included in at least one embodiment or example of the application. The appearances of the phrase in various places in the specification are not necessarily all referring to the same embodiment or example. Furthermore, the described specific features, structures, materials, or characteristics can be combined in any suitable manner in one or more embodiments or examples. In addition, the usage of "N" means at least two, for example, two, three or the like, unless explicitly stated otherwise.

[0170] Furthermore, the terms "first", "second", or the like, are used merely as a designation of certain elements or features of the application, and do not imply or connote relative importance or a specific order of precedence. Thus, features defined with "first", "second", etc. can include at least one of the features, either explicitly or implicitly.

[0171] Any process or method descriptions or blocks in flow charts or otherwise described herein represent embodiments of modules, segments, or portions of code which include one or more executable instructions for implementing specific logic functions or steps, and alternate implementations are possible. In some embodiments, the processes or methods described in flow charts or otherwise described herein are intended to be implemented by computer-executable instructions, such as program modules or functional processes, being executed by a computer. Generally, these processes or methods can be implemented as program modules or functional processes including routines, programs, objects, components, data structures, etc. that perform particular tasks or implement particular abstract data types. Moreover, those skilled in the art will appreciate that the functions or steps described in the processes or methods described herein can be performed by one or more computer-executable programs or functional processes.

[0172] The logic and / or steps represented in flow diagrams or otherwise described herein, for example, can be considered as a sequence of instructions to implement logic functions, and can be embodied in any computer-readable storage medium for use by an instruction execution system, apparatus, or device, such as a computer-based system, processor- containing system, or other system that can fetch the instructions from the instruction execution system, apparatus, or device and execute the instructions. In the context of this specification, a "computer-readable storage medium" can be any means that can contain, store, communicate, propagate or transport the program for use by or in connection with the instruction execution system, apparatus, or device. The computer-readable storage medium can be a computer- readable storage medium that can be any media that can be used to store the desired program instructions in a form readable by a computer. More specific examples (a non-exhaustive list) of the computer-readable storage medium include the following: an electrical connection having one or more wires (electrical connections), a portable computer diskette (magnetic), a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or Flash memory), an optical fiber, and a portable compact disc read-only memory (CD-ROM). In addition, the computer-readable storage medium can even be paper or another suitable medium upon which the program is printed, as the program can be electronically captured, via, for example, optical scanning of the paper or other medium, then compiled, interpreted, or otherwise processed in a suitable manner, if necessary, and then stored in a computer memory.

[0173] It should be understood that aspects of the application can be implemented in hardware, software, firmware or combinations thereof. In the above embodiments, the N steps or methods can be implemented in software or firmware stored in a memory and executed by a suitable instruction execution system. As such, if implemented in hardware, and in another embodiment, any of the following technologies, known in the art, or their combinations can be used: discrete logic circuitry having logic gates for implementing logic functions on data signals, application specific integrated circuits having appropriate combinational logic gates, programmable gate arrays (PGA), field programmable gate arrays (FPGA), and the like.

[0174] Those skilled in the art of the present technology can understand that all or part of the steps carried out by the above-mentioned embodiment methods can be completed by programs instructing related hardware, and the programs can be stored in a computer-readable storage medium. When the program is executed, it includes one of the steps of the method embodiment or a combination thereof.

[0175] In addition, each function unit in each embodiment of the present application can be integrated in one processing module, or each unit can exist independently in physical, or two or more units can be integrated in one module. The integrated module can be realized in the form of hardware, or in the form of software function module. When the integrated module is realized in the form of software function module and sold or used as an independent product, it can also be stored in a computer readable storage medium.

[0176] The storage medium mentioned above can be a read-only memory, a magnetic disk or an optical disk, etc. Although the embodiments of the present application have been shown and described above, it should be understood that the above embodiments are exemplary and should not be construed as limiting the present application, and those skilled in the art can make changes, modifications, replacements and variations to the above embodiments within the scope of the present application.

[0177] It should be understood that the application of the present application is not limited to the above examples, and those skilled in the art can improve or change according to the above description, and all these improvements and changes shall fall within the protection scope of the claims of the present application.

Claims

1. A method for processing vehicle log information, characterized in that, The method for processing vehicle log information includes: The system receives a vehicle network connection status judgment instruction sent by the server, wherein the vehicle network connection status judgment instruction is obtained by the server based on the VIN code of the vehicle whose logs are to be obtained, which is input by the user terminal. The current network connection status of the vehicle is obtained according to the vehicle network connection status judgment instruction, and the network connection status is sent to the server. If the network connection status obtained by the server is online, then the server receives the penetration connection status judgment instruction sent by the server, obtains the current intranet penetration connection status according to the penetration connection status judgment instruction, and sends the intranet penetration connection status to the server. Receive the intranet penetration connection command sent by the server, start the intranet penetration client module and establish a connection with the intranet penetration server module of the server; Obtain the target controller name sent by the server, download the corresponding log file in the controller log file storage directory according to the target controller name, and send and save the log file to the user terminal.

2. The method for processing vehicle log information according to claim 1, characterized in that, The step of obtaining the target controller name sent by the server specifically includes: Receive the target controller name sent by the vehicle management system on the server, and obtain the storage directory of the controller log file in the current vehicle through intranet penetration mapping.

3. A method for processing vehicle log information, characterized in that, The method for processing vehicle log information includes: Based on the connection request from the user terminal, establish a connection between the reverse proxy server and the user terminal; Obtain the target controller name sent by the user terminal, access the controller in the reverse proxy server, download the corresponding log file from the log file storage directory of the controller in the reverse proxy server according to the target controller name sent by the user terminal, and send and save the log file to the user terminal. The aforementioned access to the controller in the reverse proxy server, and downloading the corresponding log file from the log file storage directory of the proxy controller based on the target controller name sent by the user terminal, specifically includes: Access the controller in the reverse proxy server, and the controller obtains the log file storage directory from the vehicle controller through intranet penetration mapping; Based on the target controller name sent by the user terminal, the corresponding log file is downloaded from the log file storage directory and saved.

4. The method for processing vehicle log information according to claim 3, characterized in that, The reverse proxy server is a proxy server for the vehicle terminal, used to obtain the log file storage directory from the vehicle controller.

5. A method for processing vehicle log information, characterized in that, The method for processing vehicle log information includes: When an abnormality is detected in the vehicle controller, the key logs related to the abnormality are stored in the controller's file directory, and the key logs in the file directory are uploaded to the log management service. If the intranet penetration client module is connected to the intranet penetration server module on the server side, the key logs are packaged through the log management service and uploaded to the intranet penetration server module on the server side, and the server side is controlled to send the key logs to the developers. When an anomaly is detected in the vehicle controller, key logs related to the anomaly are stored in the controller's file directory, and these key logs are then uploaded to the log management service. Specifically, this includes: When an anomaly is detected in the vehicle controller, the key logs related to the anomaly are stored in the controller's file directory. The vehicle controller then uploads the key logs in the file directory to the log management service via Ethernet LAN.

6. The method for processing vehicle log information according to claim 5, characterized in that, The step of packaging the critical logs through the log management service and uploading them to the intranet penetration server module on the server side, and controlling the server to send the critical logs to the developers, specifically includes: The log management service packages the critical logs and uploads the packaged critical logs to the intranet penetration server module on the server side through the traffic channel, and controls the server side to send the critical logs to the developers. The critical log includes several abnormal information entries, which include the time of occurrence of the abnormality, the duration of the abnormality, the type of abnormality, and the abnormality code.

7. A vehicle log information processing system, characterized in that, The vehicle log information processing system is applied to the vehicle log information processing method according to any one of claims 1-2, and the vehicle log information processing system includes: The intranet penetration establishment module is used to receive the intranet penetration connection command sent by the server, start the intranet penetration client module and establish a connection with the intranet penetration server module of the server. The log file acquisition module is used to acquire the target controller name sent by the server, download the corresponding log file in the controller log file storage directory according to the target controller name, and send and save the log file to the user terminal.

8. A system for processing vehicle log information, characterized in that, The vehicle log information processing system is applied to the vehicle log information processing method according to any one of claims 3-4, and the vehicle log information processing system includes: The reverse proxy establishment module is used to establish a connection between the reverse proxy server and the user terminal based on the connection request from the user terminal. The log file acquisition module is used to acquire the target controller name sent by the user terminal, access the controller in the reverse proxy server, download the corresponding log file in the log file storage directory of the proxy controller according to the target controller name sent by the user terminal, and send and save the log file to the user terminal.

9. A vehicle log information processing system, characterized in that, The vehicle log information processing system is applied to the vehicle log information processing method according to any one of claims 5-6, and the vehicle log information processing system includes: The abnormal information monitoring module is used to store key logs related to the abnormal information in the controller's file directory when an abnormal information is detected in the vehicle controller, and to upload the key logs in the file directory to the log management service. The critical log reporting module is used to package the critical logs through the log management service and upload them to the intranet penetration server module on the server side if the intranet penetration client module is connected to the intranet penetration server module on the server side, and control the server to send the critical logs to the developers.

10. A vehicle terminal, characterized in that, The vehicle terminal includes: a memory, a processor, and a vehicle log information processing program stored in the memory and executable on the processor. When the vehicle log information processing program is executed by the processor, it implements the steps of the vehicle log information processing method as described in any one of claims 1-2, 3-4, or 5-6.

11. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a vehicle log information processing program, which, when executed by a processor, implements the steps of the vehicle log information processing method as described in any one of claims 1-2, 3-4, or 5-6.

Citation Information

Patent Citations

  • Running log query method and system, server and storage medium

    CN111581172A

  • Parking lot remote debugging system

    CN113660419A

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

    CN115223269A