CN113220516A - System, method and device for realizing remote assistance debugging for intelligent cabin, processor and computer readable storage medium thereof - Google Patents

System, method and device for realizing remote assistance debugging for intelligent cabin, processor and computer readable storage medium thereof Download PDF

Info

Publication number
CN113220516A
CN113220516A CN202110583208.0A CN202110583208A CN113220516A CN 113220516 A CN113220516 A CN 113220516A CN 202110583208 A CN202110583208 A CN 202110583208A CN 113220516 A CN113220516 A CN 113220516A
Authority
CN
China
Prior art keywords
debugging
vehicle
module
log
ivi
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202110583208.0A
Other languages
Chinese (zh)
Inventor
钱燕
刘生昌
牛壮
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Dongfeng Electronic Technology Co ltd
Original Assignee
Dongfeng Electronic Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Dongfeng Electronic Technology Co ltd filed Critical Dongfeng Electronic Technology Co ltd
Priority to CN202110583208.0A priority Critical patent/CN113220516A/en
Publication of CN113220516A publication Critical patent/CN113220516A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/22Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
    • G06F11/2294Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing by remote test
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/22Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
    • G06F11/2205Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing using arrangements specific to the hardware being tested

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Debugging And Monitoring (AREA)

Abstract

The invention relates to a system for realizing remote assistance debugging aiming at an intelligent cabin, wherein the system comprises: the communication interaction function module is used for executing the preset operation of the system to realize the communication with the vehicle-mounted system; the log management function module is connected with the communication interaction function module and used for collecting and storing log files in the vehicle-mounted system and uploading the log files to the server; and the file updating function module is connected with the log management function module and used for making a corresponding debugging package to backup and cover the file according to the analyzed problems in the log file. The invention also relates to a corresponding method, device, processor and computer readable storage medium thereof. By adopting the system, the method, the device, the processor and the computer readable storage medium thereof, the problem that abnormal conditions of the vehicle-mounted entertainment system IVI and the instrument system IC cannot be debugged on site can be effectively solved.

Description

System, method and device for realizing remote assistance debugging for intelligent cabin, processor and computer readable storage medium thereof
Technical Field
The invention relates to the technical field of vehicle-mounted systems, in particular to the technical field of vehicle-mounted equipment communication technology, log management and vehicle-mounted packaging encryption, and specifically relates to a system, a method, a device, a processor and a computer readable storage medium for realizing remote assistance debugging for an intelligent cabin.
Background
Along with the fire heat of the intelligent cabin, the safety, the comfort, the entertainment, the individuation, the intellectualization and the convenience of traveling become the pursuing targets of various car manufacturers, more energy is provided for the vehicles, meanwhile, more problems are inevitably caused, no matter the production line problem or the after-sale problem, a specially-assigned person is sent to process at present, time and labor are consumed, the current problem scene cannot be reproduced more possibly, and therefore the restraint is not planned, and the remote assistance debugging is just for solving the problems.
Disclosure of Invention
The invention aims to overcome the defects of the prior art and provide a time-saving, efficient and intelligent system, method, device, processor and computer-readable storage medium for realizing remote assistance debugging of an intelligent cabin.
In order to achieve the above object, the system, method, apparatus, processor and computer readable storage medium for implementing remote assisted debugging for intelligent cockpit of the present invention are as follows:
the system for realizing remote assistance debugging aiming at the intelligent cabin is mainly characterized by comprising the following steps:
the communication interaction function module is used for executing the preset operation of the system to realize the communication with the vehicle-mounted system;
the log management function module is connected with the communication interaction function module and used for collecting and storing log files in the vehicle-mounted system and uploading the log files to the server; and
and the file updating function module is connected with the log management function module and used for making a corresponding debugging package to backup and cover the file according to the analyzed problems in the log file.
Preferably, the preset operations executed by the communication interaction function module sequentially include:
(a) uploading a log file;
(b) uploading a collection instruction;
(c) and downloading the debugging package.
Preferably, the vehicle-mounted system specifically includes: the vehicle-mounted entertainment system IVI and the instrument system IC are in data communication through the USB, and the vehicle-mounted entertainment system IVI supports one or more of WIFI communication, 4G communication and modem communication.
Preferably, the log management function module is configured to collect log files of the in-vehicle entertainment system IVI and log files of the meter system IC.
Preferably, the in-vehicle entertainment system IVI specifically includes:
the Channel module is used for carrying out data communication with a remote server and an instrument system IC;
the ProcessCore module is connected with the Channel module and is used for carrying out all logic processing;
the LogManager module is connected with the ProcessCore module and used for capturing log files of the vehicle-mounted entertainment system IVI or the instrument system IC or the whole system; and
and the Update module is connected with the LogManager module and used for updating the debugged program into the vehicle-mounted entertainment system IVI.
Preferably, the meter system IC specifically includes:
the MtkProxy module is connected with the Channel module and is used for carrying out socket or ftp communication with the vehicle-mounted entertainment system IVI;
the LogCache module is used for storing the log file into the EMMC module in real time for being extracted by the LogManager module; and
and the UpdateIC module is connected with the Mtkproxy module and used for updating the debugging program of the instrument system IC.
Preferably, the communication interaction function module specifically performs the following operations:
and uploading a log collection instruction, entering a system debugging instruction, uploading a log file to a server, downloading a debugging package, and performing Socket communication with the instrument system IC.
Preferably, the file updating function module downloads the corresponding log file for problem analysis based on the debug packet making rule of each log file, and is used for covering and updating the log file.
The method for realizing the remote assistance debugging of the intelligent cabin based on the system is mainly characterized by comprising the following steps:
(1) the method comprises the steps that a vehicle-mounted entertainment system IVI at a vehicle end needing assistance sends a command to be fed back to a remote server, and the remote server executes a command for collecting vehicle logs to carry out communication interaction;
(2) the vehicle-mounted entertainment system IVI receives a corresponding instruction, calls the log management function module to export a log file according to instruction parameters, and uploads the log file to the remote server through the communication interaction function module;
(3) after the log file is successfully uploaded, the manager downloads the corresponding log file, performs problem analysis, makes a debugging upgrade package and uploads the debugging upgrade package to the terminal;
(4) the remote server sends a remote assistance debugging command to the vehicle-mounted entertainment system IVI;
(5) and the vehicle-mounted entertainment system IVI receives the remote assistance debugging instruction and downloads the debugging upgrading package to realize remote debugging.
Preferably, the step (1) is an assistance procedure, and specifically includes the following steps:
(1.1) after offline receiving feedback that the vehicle-mounted entertainment system IVI at the vehicle end needs assistance, selecting a vehicle to be assisted by the system;
(1.2) the vehicle entertainment system IVI sends the equipment version number to the remote server;
and (1.3) the remote server actively initiates a command for collecting the vehicle log, the background of the remote server processes the request in real time through the operation of a manager, and a unique operationid is allocated to each assistance process.
Preferably, the step (2) specifically comprises the following steps:
(2.1) the Channel module starts a service to monitor a port of a remote server, analyzes the collected command data and uploads the analyzed command data to the ProcessCore module;
(2.2) the ProcessCore module captures the log file by calling the log management function module, and uploads the captured log file to the remote server through the communication interaction function module.
Preferably, the uploading the captured log file to the remote server through the communication interaction function module specifically includes the following steps:
(2.2.1) the log management function module acquires a log device id to be captured according to a detail field in the log instruction;
(2.2.2) sequentially executing the following steps by calling the API of the LogManager module:
(i) obtaining a vehicle log file of an in-vehicle entertainment system IVI, wherein the device id obtained by the detail field is ALL or IVI, and the step further comprises:
a. starting system service, and reading out data in logcat buffer in real time;
b. in the debugging process, a machine may be restarted, so that the part of the log can be well obtained, and an Android attribute variable value is adopted to control whether the log is adopted or not during starting;
c. configuring the size and the number of log files, when the size of the log files exceeds the configuration size, additionally establishing files for storage, and when the data of the files exceeds the configuration number, deleting the earliest files in time sequence, wherein the names of the files are named by Android _ timestamp and txt;
d. placing the storage path of the Log file under a/data/Log/ivi file;
(ii) calling ftpclient in a Channel module of the instrument system IC to obtain an instrument log, wherein the device id obtained by the detail field is ALL or IC, and the step further comprises the following steps:
e. the instrument system IC is based on a Linux system, and log files are stored in a root/log file in real time;
f. the ftpclient downloads the instrument Log to a corresponding vehicle-mounted entertainment system IVI in an ftp mode, and stores the instrument Log in a/data/Log/cluster;
(iii) packaging the saved Log folder (/ data/Log) into a tar file;
(iv) and uploading the log to a server through the Channel module.
Preferably, the step (3) specifically includes the following steps:
(3.1) after the log file is uploaded successfully, background management personnel download the log file and send the corresponding log file to corresponding development;
(3.2) the system configures a config.xml file to start to manufacture the debugging upgrading packet;
(3.3) after the debugging upgrading packet is manufactured, uploading the debugging upgrading packet through the human-computer interface of the server, and binding the debugging upgrading packet with the operationid of the corresponding assisting vehicle.
Preferably, the configuring the config.xml file in the step (3.2) specifically includes:
configuring data information in the config.xml file, wherein the data information specifically comprises: the name value is the file name in the compressed package, the path value is the absolute path of the file in the system, and the debugging package name is named by vin + operationid + timestamp.
Preferably, the step (5) specifically comprises the following steps:
(5.1) the system analyzes the download address of the debugging upgrading packet in the auxiliary debugging command and downloads the debugging upgrading packet through the Channel module;
(5.2) the Update module decompresses the debugging upgrade package, judges whether an instrument debugging package, namely IC.tar, exists in the decompressed folder, if so, informs the instrument system IC to Update the debugging package, and executes the following step (5.3), otherwise, enters the step (5.4);
(5.3) calling ftpclient in the Channel module and uploading said meter debug packet IC. tar to said instrumentation IC, and then waking up the UpdateIC module of said instrumentation IC by the ChannelClient in said Channel module, said step (5.3) further comprising:
(5.3.1) the channeliClient is an API which is specially used in a Channel module to perform socket communication with an instrument system IC, and the protocol format of the channeliClient is as follows:
packet header, packet type, packet number, packet id extension field, data type, data length, data, packet trailer, i.e., CRC check bits,
the maximum length of the communication between the meter and the socket at the instrument end is 10 multiplied by 1024 bytes, and if the maximum length exceeds the length, the packet processing is carried out;
(5.3.2) after the transmission is finished, the message is replied by waiting for ACK, and overtime processing is carried out when the ACK is overtime;
(5.4) after the ChannelClient receives the updating result of the instrument system IC, if the updating fails, uploading the updating result to a remote server, searching the reason of the failure of the updating by the remote server, ending remote assistance debugging or restarting, and if the instrument system IC is updated successfully and contains the instrument debugging package IVI.tar, continuously updating the vehicle debugging package IVI of the vehicle entertainment system, namely IVI.tar;
(5.5) the Update module of the vehicle-mounted entertainment system IVI decompresses the vehicle-mounted debugging package IVI.tar, backups the log file according to config.xml in the log file, covers the original log file of the system, cannot be interrupted in the process, and restarts the machine after the log file of the system is updated;
(5.6) the system has abnormal problems, and the background management personnel selects to return to the step (2) for continuous debugging or quits in any one mode of actively quitting the current test mode and the remote server quitting the current test mode by the user selection;
and (5.7) uploading the debugging result by the system to finish remote assistance debugging.
This a device for realizing intelligent passenger cabin realizes remote assistance debugging, its key feature is, the device include:
a processor configured to execute computer-executable instructions;
and the memory stores one or more computer-executable instructions, and when the computer-executable instructions are executed by the processor, the memory realizes the steps of the method for realizing the remote assistance debugging by the intelligent cabin.
The processor for realizing the remote assistance debugging of the intelligent cockpit is mainly characterized in that the processor is configured to execute computer executable instructions, and when the computer executable instructions are executed by the processor, the steps of the method for realizing the remote assistance debugging of the intelligent cockpit are realized.
The computer readable storage medium is mainly characterized in that a computer program is stored thereon, and the computer program can be executed by a processor to realize the steps of the method for realizing remote assistance debugging by the intelligent cockpit.
By adopting the system, the method, the device, the processor and the computer readable storage medium for realizing remote assistance debugging for the intelligent cabin, the defect that the abnormal conditions of the vehicle-mounted entertainment system IVI and the instrument system IC cannot be debugged on site in time can be effectively overcome by formulating the remote debugging assistance package, and by means of the technical means of remote assistance debugging, the problem scene can be rapidly reappeared on the premise of not consuming time and labor, the abnormal conditions of the current vehicle can be solved by depending on a remote terminal, and the system, the method, the device, the processor and the computer readable storage medium have the advantages of high timeliness, strong convenience and more intellectualization.
Drawings
Fig. 1 is a schematic structural diagram of a vehicle-mounted system of the system for implementing remote assistance debugging for an intelligent cabin according to the present invention.
Fig. 2 is a flow chart of the remote operation of the present invention.
FIG. 3 is a schematic diagram of the compression of the file system based debug package according to the present invention.
FIG. 4 is a diagram illustrating the capture of logs according to the present invention.
FIG. 5 is a flowchart illustrating remote assistance debugging according to the present invention.
Detailed Description
In order to more clearly describe the technical contents of the present invention, the following further description is given in conjunction with specific embodiments.
Before describing in detail embodiments that are in accordance with the present invention, it should be noted that the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus.
The system for realizing remote assistance debugging aiming at the intelligent cabin comprises:
the communication interaction function module is used for executing the preset operation of the system to realize the communication with the vehicle-mounted system;
the log management function module is connected with the communication interaction function module and used for collecting and storing log files in the vehicle-mounted system and uploading the log files to the server; and
and the file updating function module is connected with the log management function module and used for making a corresponding debugging package to backup and cover the file according to the analyzed problems in the log file.
As a preferred embodiment of the present invention, the preset operations executed by the communication interaction function module sequentially include:
(a) uploading a log file;
(b) uploading a collection instruction;
(c) and downloading the debugging package.
As a preferred embodiment of the present invention, the vehicle-mounted system specifically includes: the vehicle-mounted entertainment system IVI and the instrument system IC are in data communication through the USB, and the vehicle-mounted entertainment system IVI supports one or more of WIFI communication, 4G communication and modem communication.
As a preferred embodiment of the present invention, the log management function module is configured to collect log files of the in-vehicle entertainment system IVI and log files of the meter system IC.
As a preferred embodiment of the present invention, the in-vehicle entertainment system IVI specifically includes:
the Channel module is used for carrying out data communication with a remote server and an instrument system IC;
the ProcessCore module is connected with the Channel module and is used for carrying out all logic processing;
the LogManager module is connected with the ProcessCore module and used for capturing log files of the vehicle-mounted entertainment system IVI or the instrument system IC or the whole system; and
and the Update module is connected with the LogManager module and used for updating the debugged program into the vehicle-mounted entertainment system IVI.
As a preferred embodiment of the present invention, the meter system IC specifically includes:
the MtkProxy module is connected with the Channel module and is used for carrying out socket or ftp communication with the vehicle-mounted entertainment system IVI;
the LogCache module is used for storing the log file into the EMMC module in real time for being extracted by the LogManager module; and
and the UpdateIC module is connected with the Mtkproxy module and used for updating the debugging program of the instrument system IC.
As a preferred embodiment of the present invention, the communication interaction function module specifically performs the following operations:
and uploading a log collection instruction, entering a system debugging instruction, uploading a log file to a server, downloading a debugging package, and performing Socket communication with the instrument system IC.
As a preferred embodiment of the present invention, the file update function module downloads a corresponding log file based on the debug packet creation rule of each log file to perform problem analysis, and is configured to overwrite and update the log file.
Referring to fig. 2, the method for implementing remote assistance debugging of the intelligent cabin based on the system includes the following steps:
(1) the method comprises the steps that a vehicle-mounted entertainment system IVI at a vehicle end needing assistance sends a command to be fed back to a remote server, and the remote server executes a command for collecting vehicle logs to carry out communication interaction;
(2) the vehicle-mounted entertainment system IVI receives a corresponding instruction, calls the log management function module to export a log file according to instruction parameters, and uploads the log file to the remote server through the communication interaction function module;
(3) after the log file is successfully uploaded, the manager downloads the corresponding log file, performs problem analysis, makes a debugging upgrade package and uploads the debugging upgrade package to the remote server;
(4) the remote server sends a remote assistance debugging command to the vehicle-mounted entertainment system IVI;
(5) and the vehicle-mounted entertainment system IVI receives the remote assistance debugging instruction and downloads the debugging upgrading package to realize remote debugging.
As a preferred embodiment of the present invention, the step (1) is an assistance procedure, and specifically includes the following steps:
(1.1) after offline receiving feedback that the vehicle-mounted entertainment system IVI at the vehicle end needs assistance, selecting a vehicle to be assisted by the system;
(1.2) the vehicle entertainment system IVI sends the equipment version number to the remote server;
and (1.3) the remote server actively initiates a command for collecting the vehicle log, the background of the remote server processes the request in real time through the operation of a manager, and a unique operationid is allocated to each assistance process.
As a preferred embodiment of the present invention, the step (2) specifically comprises the following steps:
(2.1) the Channel module starts a service to monitor a port of a remote server, analyzes the collected command data and uploads the analyzed command data to the ProcessCore module;
(2.2) the ProcessCore module captures the log file by calling the log management function module, and uploads the captured log file to the remote server through the communication interaction function module.
Referring to fig. 4, as a preferred embodiment of the present invention, the uploading the captured log file to the remote server through the communication interaction function module specifically includes the following steps:
(2.2.1) the log management function module acquires a log device id to be captured according to a detail field in the log instruction;
(2.2.2) sequentially executing the following steps by calling the API of the LogManager module:
(i) obtaining a vehicle log file of an in-vehicle entertainment system IVI, wherein the device id obtained by the detail field is ALL or IVI, and the step further comprises:
a. starting system service, and reading out data in logcat buffer in real time;
b. in the debugging process, a machine may be restarted, so that the part of the log can be well obtained, and an Android attribute variable value is adopted to control whether the log is adopted or not during starting;
c. configuring the size and the number of log files, when the size of the log files exceeds the configuration size, additionally establishing files for storage, and when the data of the files exceeds the configuration number, deleting the earliest files in time sequence, wherein the names of the files are named by Android _ timestamp and txt;
d. placing the storage path of the Log file under a/data/Log/ivi file;
(ii) calling ftpclient in a Channel module of the instrument system IC to obtain an instrument log, wherein the device id obtained by the detail field is ALL or IC, and the step further comprises the following steps:
e. the instrument system IC is based on a Linux system, and log files are stored in a root/log file in real time;
f. the ftpclient downloads the instrument Log to a corresponding vehicle-mounted entertainment system IVI in an ftp mode, and stores the instrument Log in a/data/Log/cluster;
(iii) packaging the saved Log folder (/ data/Log) into a tar file;
(iv) and uploading the log to a server through the Channel module.
As a preferred embodiment of the present invention, the step (3) specifically comprises the following steps:
(3.1) after the log file is uploaded successfully, background management personnel download the log file and send the corresponding log file to corresponding development;
(3.2) the system configures a config.xml file to start to manufacture the debugging upgrading packet;
(3.3) after the debugging upgrading packet is manufactured, uploading the debugging upgrading packet through the human-computer interface of the server, and binding the debugging upgrading packet with the operationid of the corresponding assisting vehicle.
As a preferred embodiment of the present invention, the configuring of the config.xml file in step (3.2) specifically includes:
configuring data information in the config.xml file, wherein the data information specifically comprises: the name value is the file name in the compressed package, the path value is the absolute path of the file in the system, and the debugging package name is named by vin + operationid + timestamp.
As a preferred embodiment of the present invention, the step (5) specifically comprises the following steps:
(5.1) the system analyzes the download address of the debugging upgrading packet in the auxiliary debugging command, downloads the debugging upgrading packet through the Channel module, supports breakpoint transmission and carries out integrity check on the debugging packet after downloading;
(5.2) the Update module decompresses the debugging upgrade package, judges whether an instrument debugging package, namely IC.tar, exists in the decompressed folder, if so, informs the instrument system IC to Update the debugging package, and executes the following step (5.3), otherwise, enters the step (5.4);
(5.3) calling ftpclient in the Channel module and uploading said meter debug packet IC. tar to said instrumentation IC, and then waking up the UpdateIC module of said instrumentation IC by the ChannelClient in said Channel module, said step (5.3) further comprising:
(5.3.1) the channeliClient is an API which is specially used in a Channel module to perform socket communication with an instrument system IC, and the protocol format of the channeliClient is as follows:
packet header, packet type, packet number, packet id extension field, data type, data length, data, packet trailer, i.e., CRC check bits,
the maximum length of the communication between the meter and the socket at the instrument end is 10 multiplied by 1024 bytes, and if the maximum length exceeds the length, the packet processing is carried out;
(5.3.2) after the transmission is finished, the message is replied by waiting for ACK, and overtime processing is carried out when the ACK is overtime;
(5.4) after the ChannelClient receives the updating result of the instrument system IC, if the updating fails, uploading the updating result to a remote server, searching the reason of the failure of the updating by the remote server, ending remote assistance debugging or restarting, and if the instrument system IC is updated successfully and contains the instrument debugging package IVI.tar, continuously updating the vehicle debugging package IVI of the vehicle entertainment system, namely IVI.tar;
(5.5) the Update module of the vehicle-mounted entertainment system IVI decompresses the vehicle-mounted debugging package IVI.tar, backups the log file according to config.xml in the log file, covers the original log file of the system, cannot be interrupted in the process, and restarts the machine after the log file of the system is updated;
(5.6) the system has abnormal problems, and the background management personnel selects to return to the step (2) for continuous debugging or quits in any one mode of actively quitting the current test mode and the remote server quitting the current test mode by the user selection;
and (5.7) uploading the debugging result by the system to finish remote assistance debugging.
The device for realizing remote assistance debugging of the intelligent cabin comprises:
a processor configured to execute computer-executable instructions;
and the memory stores one or more computer-executable instructions, and when the computer-executable instructions are executed by the processor, the memory realizes the steps of the method for realizing the remote assistance debugging by the intelligent cabin.
The processor for realizing remote assistance debugging of the intelligent cockpit is configured to execute computer executable instructions, and when the computer executable instructions are executed by the processor, the steps of the method for realizing remote assistance debugging of the intelligent cockpit are realized.
The computer readable storage medium has a computer program stored thereon, and the computer program can be executed by a processor to implement the steps of the method for realizing remote assistance debugging by the intelligent cockpit.
In one embodiment of the present invention, the main modules of the technology of the present invention are as follows:
1) the communication interaction function module is communicated with a far end and an IC end, and mainly has the functions of log collection and uploading instructions, entering a system debugging instruction, uploading a log file to a server, downloading a debugging packet and performing Socket communication with the instrument;
2) the log management function module is used for collecting the IVI log and the instrument IC log;
3) and the file updating function module adopts a file-based updating strategy.
The detailed steps are as follows:
the method comprises the steps that a log collection instruction is issued at a remote end, parameters of the instruction comprise a vehicle VIN code and a system module (IC, IVI or ALL) of a log to be collected, but the method is not limited to the above, and a vehicle end can also actively apply for a remote assistance request (for explaining a fault phenomenon and automatically acquiring the vehicle VIN code and an equipment version number) in an operable process;
after the IVI receives the instruction, the log management module is called according to the instruction parameters to export all logs, and then log files are uploaded to a remote end through the communication module;
remote personnel download the log file and analyze the problem, and write and compile corresponding codes;
according to the new file generated by compiling and the file path, making a debugging package (encryption and compression), wherein the debugging package comprises the file to be replaced and a related configuration description;
after the debugging package is manufactured, uploading the debugging package to a remote end, and sending a command for entering a remote debugging mode to an IVI end, wherein the command comprises a downloading address of the debugging package;
after receiving the remote debugging instruction, the IVI downloads the debugging package, enters a debugging mode, performs file backup and file coverage according to the configuration file in the debugging package, and the operation cannot be interrupted;
and then reproducing the problems, if the problems are the problems which need to be reproduced, directly judging whether the debugging result is finished, and if the problems are the problems which need to be reproduced, repeating the steps for many times to continue debugging.
Referring to fig. 1, in an embodiment of the present invention, the present invention is implemented in an architecture of a vehicle entertainment IVI + instrument IC dual system, where the IVI system supports WIFI and 4G modem, can establish communication with a remote end, and is connected to an IC data channel through a USB hard wire. The Channel module in the IVI is responsible for communicating with a server and an Mtkproxy of the IVI, the LogManager is responsible for capturing the IVI or the IC or all logs, the logs are stored in the EMMC in real time through the LogCache in the instrument and are extracted by the LogManager, the Update is responsible for updating the debugged program to the system IVI, the UpdateIC is an updating IC, and all logic processing is completed in the ProcessCore.
The remote end is deployed in a server Docker container inside an enterprise and is forwarded to the outside through gateway mapping, a human-computer interaction interface is provided, an operator can select a machine to be remotely assisted (identified by a VIN code), and the remote end operation process is as shown in FIG. 2.
step 1: in the implementation, after the feedback from the vehicle end is received on line (the version number of the equipment needs to be informed to the far end), the far end can actively initiate a command for collecting the vehicle log, the far end has a special background manager to process the request in real time, and each assisting process has a unique operationid.
Step2 and step7 communicate with the IVI end through a socket, and the command data structure is as follows (JAVA implementation):
Figure BDA0003086921550000111
step 3: the Channel module in fig. 1 starts a service to monitor an 8081 port of a server all the time, receives and analyzes data and transmits the data to a ProcessCore module, and processes a step of capturing a log in the ProcessCore, as shown in fig. 4, a log device id to be captured is obtained according to a detail field in the data, wherein S401, S402, and S403 call api of LogManager to execute, and the log is captured and packaged into a tar file and then calls the Channel to upload to a server.
step 4: after the logs are uploaded successfully, the background management personnel can download the logs to corresponding development, step1, step2 and step3 are not limited to operation by the background management personnel, and can also be operation by the development personnel.
step5 is the flow of the developer's normal analysis to solve the problem, and if the problem can be solved directly from the log, without confirmation and timely solution, the solution can be directly considered to end the assistance.
To accomplish this function, the present invention defines a rule for making a file-based debug package, the content of the debug package is shown in fig. 3, the content in the debug package is an update file and a configuration description of the system to be debugged, and the implementation only includes IVI and meters, but is not limited thereto. Xml file is described as follows, the name value in data is the file name in the compressed package, the path value is the absolute path of the file in the system, and the debug package name is named with vin + operation + timestamp.
<config version="1.0">
< | A! -sign of whether to restore the system after solving the problem >
<rollback value="true">
<data name="file1"path=""/>
<data name="file2"path=""/>
......
</config>
After the debugging package is manufactured, the debugging package can be uploaded through a human-computer interface of the server, and the operationid corresponding to the debugging package is bound.
step 7: an entry assist debug command is sent.
step8, after the vehicle end receives the debugging assisting command, the vehicle end can enter the debugging mode to prompt the user that the vehicle can not run when the vehicle speed is equal to 0, the specific steps are as shown in figure 5, after the download address of the debugging package in the detail in the debugging assisting command is analyzed, the debugging package is downloaded, after decompression, the IC or IVI is respectively subjected to Update operation according to the package content, the UpdateIC is backed up and the IC end is updated in step S504, in order to ensure that the system can be rolled back to the previous system, backup can be carried out in the UpdateIC, S505 is the debugging package for updating the IVI, step S507 is the user to carry out reproduction operation on the vehicle until the problem can not be reproduced or the subsequent solution is solved, the debugging mode S508 can be exited, meanwhile, the debugging result is uploaded to the far end, if the problem is reproduced in S507 and the remote analysis is desired to continue to be remotely analyzed, the remote end personnel continue to execute step S2 to capture the log and analyze the self, in addition, in step S508, except the corresponding change of the interface, xml determines whether to restore the system (including restoring the data backed up in S504 and S505, deleting the downloaded debug package of S501 and the log file packaged in S403).
All functions in the implementation are independently made into a system app, wherein a LogManager, a Channel module is a lib library, an Update is an executable program with a root, a LogCache, an MtkProxy and an UpdateIC at an instrument end are executable programs, the portability is high, only one system can be debugged, other debugged systems or ECUs can be added, and the flexibility is high. The system in the implementation adopts socket communication, certainly, the communication modes between the systems are different, such as serial communication, and the system can be used by slightly modifying, thereby being double with half the effort for a platform project, greatly reducing business trip cost and time, and simultaneously improving the working efficiency.
In a specific embodiment of the invention, the service end sends an instruction to the car end, the car end analyzes data, captures a log file and uploads the log file to the service end, a debugging packet is made and sent to a car machine, the car machine downloads and updates the debugging packet, the problem is reproduced, and the result is uploaded to the service end.
In a specific embodiment of the invention, the server can remotely control the car machine end to capture the log, but the function is not limited to this, as long as the car machine does not crash, the log can be remotely captured, so that the situation that the car machine large screen touch screen has problems or the user version does not have a debugging port can be prevented.
In an embodiment of the present invention, a file-based debug package is created, and the debug is encrypted, and more configuration items can be added to the configuration file.
In a specific embodiment of the present invention, before updating the debug packet, the system needs to be backed up first to avoid the occurrence of system abnormality, and after the debugging is finished, whether to perform a system recovery operation can be selected according to the configuration data, and the cache data is cleared at the same time.
In one embodiment of the invention, the server has detailed records for each remote assistance and can check statistics at any time.
It should be particularly noted that the present technical solution is applied to intelligent cockpit projects, but is not limited to be applied only to the technical field, wherein fields similar to the technical field or having the same technology can be applied to the technical solution of the present invention, and the related technical points that are the same or similar are not described again in detail.
Any process or method descriptions in flow charts or otherwise described herein may be understood as representing modules, segments, or portions of code which include one or more executable instructions for implementing specific logical functions or steps of the process, and alternate implementations are included within the scope of the preferred embodiment of the present invention in which functions may be executed out of order from that shown or discussed, including substantially concurrently or in reverse order, depending on the functionality involved, as would be understood by those reasonably skilled in the art of the present invention.
It should be understood that portions of the present invention may be implemented in hardware, software, firmware, or a combination thereof. In the above embodiments, the various steps or methods may be implemented in software or firmware stored in memory and executed by suitable instruction execution devices.
It will be understood by those skilled in the art that all or part of the steps carried by the method for implementing the above embodiments may be implemented by hardware related to instructions of a program, and the program may be stored in a computer readable storage medium, and when executed, the program includes one or a combination of the steps of the method embodiments.
In addition, functional units in the embodiments of the present invention may be integrated into one processing module, or each unit may exist alone physically, or two or more units are integrated into one module. The integrated module can be realized in a hardware mode, and can also be realized in a software functional module mode. The integrated module, if implemented in the form of a software functional module and sold or used as a separate product, may also be stored in a computer readable storage medium.
The storage medium mentioned above may be a read-only memory, a magnetic or optical disk, etc.
In the description herein, references to the description of the term "an embodiment," "some embodiments," "an example," "a specific example," "an implementation" or "an embodiment," etc., mean that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the invention. In this specification, the schematic representations of the terms used above do not necessarily refer to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples.
Although embodiments of the present invention have been shown and described above, it is understood that the above embodiments are exemplary and should not be construed as limiting the present invention, and that variations, modifications, substitutions and alterations can be made to the above embodiments by those of ordinary skill in the art within the scope of the present invention.
By adopting the system, the method, the device, the processor and the computer readable storage medium for realizing remote assistance debugging for the intelligent cabin, the defect that the abnormal conditions of the vehicle-mounted entertainment system IVI and the instrument system IC cannot be debugged on site in time can be effectively overcome by formulating the remote debugging assistance package, and by means of the technical means of remote assistance debugging, the problem scene can be rapidly reappeared on the premise of not consuming time and labor, the abnormal conditions of the current vehicle can be solved by depending on a remote terminal, and the system, the method, the device, the processor and the computer readable storage medium have the advantages of high timeliness, strong convenience and more intellectualization.
In this specification, the invention has been described with reference to specific embodiments thereof. It will, however, be evident that various modifications and changes may be made thereto without departing from the broader spirit and scope of the invention. The specification and drawings are, accordingly, to be regarded in an illustrative rather than a restrictive sense.

Claims (18)

1. A system for realizing remote assistance debugging aiming at an intelligent cabin is characterized by comprising:
the communication interaction function module is used for executing the preset operation of the system to realize the communication with the vehicle-mounted system;
the log management function module is connected with the communication interaction function module and used for collecting and storing log files in the vehicle-mounted system and uploading the log files to the server; and
and the file updating function module is connected with the log management function module and used for making a corresponding debugging package to backup and cover the file according to the analyzed problems in the log file.
2. The system for implementing remote assistance debugging on the intelligent cabin according to claim 1, wherein the preset operations executed by the communication interaction function module sequentially comprise:
(a) uploading a log file;
(b) uploading a collection instruction;
(c) and downloading the debugging package.
3. The system for realizing remote assistance debugging aiming at the intelligent cabin according to claim 1, wherein the vehicle-mounted system specifically comprises: the vehicle-mounted entertainment system IVI and the instrument system IC are in data communication through the USB, and the vehicle-mounted entertainment system IVI supports one or more of WIFI communication, 4G communication and modem communication.
4. The system for realizing remote assistance debugging of the intelligent cabin according to claim 3, wherein the log management function module is used for collecting log files of the vehicle entertainment system IVI and the meter system IC.
5. The system for realizing remote assistance debugging of an intelligent cabin according to claim 4, wherein the in-vehicle entertainment system IVI specifically comprises:
the Channel module is used for carrying out data communication with a remote server and an instrument system IC;
the ProcessCore module is connected with the Channel module and is used for carrying out all logic processing;
the LogManager module is connected with the ProcessCore module and used for capturing log files of the vehicle-mounted entertainment system IVI or the instrument system IC or the whole system; and
and the Update module is connected with the LogManager module and used for updating the debugged program into the vehicle-mounted entertainment system IVI.
6. The system for realizing remote assistance debugging aiming at the intelligent cabin according to claim 5, wherein the instrumentation system IC specifically comprises:
the MtkProxy module is connected with the Channel module and is used for carrying out socket or ftp communication with the vehicle-mounted entertainment system IVI;
the LogCache module is used for storing the log file into the EMMC module in real time for being extracted by the LogManager module; and
and the UpdateIC module is connected with the Mtkproxy module and used for updating the debugging program of the instrument system IC.
7. The system for realizing remote assistance debugging aiming at the intelligent cabin according to claim 6, wherein the communication interaction function module specifically performs the following operations:
and uploading a log collection instruction, entering a system debugging instruction, uploading a log file to a server, downloading a debugging package, and performing Socket communication with the instrument system IC.
8. The system for realizing remote assistance debugging of the intelligent cockpit according to claim 7, wherein the file update function module downloads the corresponding log file for problem analysis based on the debugging package making rule of each log file, and is used for covering and updating the log file.
9. A method for realizing intelligent cockpit remote assistance debugging based on the system of claim 8, wherein the method comprises the following steps:
(1) the method comprises the steps that a vehicle-mounted entertainment system IVI at a vehicle end needing assistance sends a command to be fed back to a remote server, and the remote server executes a command for collecting vehicle logs to carry out communication interaction;
(2) the vehicle-mounted entertainment system IVI receives a corresponding instruction, calls the log management function module to export a log file according to instruction parameters, and uploads the log file to the remote server through the communication interaction function module;
(3) after the log file is successfully uploaded, the manager downloads the corresponding log file, performs problem analysis, makes a debugging upgrade package and uploads the debugging upgrade package to the remote server;
(4) the remote server sends a remote assistance debugging command to the vehicle-mounted entertainment system IVI;
(5) and the vehicle-mounted entertainment system IVI receives the remote assistance debugging instruction and downloads the debugging upgrading package to realize remote debugging.
10. The method for realizing remote assistance debugging of the intelligent cabin according to claim 9, wherein the step (1) is an assistance process, and specifically comprises the following steps:
(1.1) after offline receiving feedback that the vehicle-mounted entertainment system IVI at the vehicle end needs assistance, selecting a vehicle to be assisted by the system;
(1.2) the vehicle entertainment system IVI sends the equipment version number to the remote server;
and (1.3) the remote server actively initiates a command for collecting the vehicle log, the background of the remote server processes the request in real time through the operation of a manager, and a unique operationid is allocated to each assistance process.
11. The method for realizing remote assistance debugging of the intelligent cockpit according to claim 10, wherein the step (2) specifically comprises the following steps:
(2.1) the Channel module starts a service to monitor a port of a remote server, analyzes the collected command data and uploads the analyzed command data to the ProcessCore module;
(2.2) the ProcessCore module captures the log file by calling the log management function module, and uploads the captured log file to the remote server through the communication interaction function module.
12. The method for realizing intelligent cockpit remote assistance debugging according to claim 11, wherein the uploading the captured log file to the remote server through the communication interaction function module specifically includes the following steps:
(2.2.1) the log management function module acquires a log device id to be captured according to a detail field in the log instruction;
(2.2.2) executing the operations of acquiring, configuring, storing and uploading the log file by calling the API of the LogManager module.
13. The method for realizing remote assistance debugging of the intelligent cockpit according to claim 12, wherein the step (3) specifically comprises the following steps:
(3.1) after the log file is uploaded successfully, background management personnel download the log file and send the corresponding log file to corresponding development;
(3.2) the system configures a config.xml file to start to manufacture the debugging upgrading packet;
(3.3) after the debugging upgrading packet is manufactured, uploading the debugging upgrading packet through the human-computer interface of the server, and binding the debugging upgrading packet with the operationid of the corresponding assisting vehicle.
14. The method for realizing intelligent cockpit remote assistance debugging of claim 13, wherein the step (3.2) of configuring the config.xml file specifically comprises:
configuring data information in the config.xml file, wherein the data information specifically comprises: the name value is the file name in the compressed package, the path value is the absolute path of the file in the system, and the debugging package name is named by vin + operationid + timestamp.
15. The method for realizing remote assistance debugging of the intelligent cockpit according to claim 14, wherein the step (5) specifically comprises the following steps:
(5.1) the system analyzes the download address of the debugging upgrading packet in the assisting debugging command, downloads the debugging upgrading packet through the Channel module, and carries out integrity check on the debugging upgrading packet after the downloading is finished;
(5.2) the Update module decompresses the debugging upgrade package, judges whether an instrument debugging package exists in the decompressed folder, if so, informs the instrument system IC to Update the debugging package and executes the following step (5.3), otherwise, enters the step (5.4);
(5.3) calling ftpclient in the Channel module, uploading the instrument debugging packet IC.tar to the instrument system IC, and awakening an UpdateIC module of the instrument system IC through a ChannelClient in the Channel module;
(5.4) after the ChannelClient receives the updating result of the instrument system IC, if the updating fails, uploading the updating result to a remote server, searching the reason of the failure of the updating by the remote server, ending remote assistance debugging or restarting, and if the instrument system IC is updated successfully and contains the instrument debugging package IVI.tar, continuously updating the vehicle-mounted debugging package of the vehicle-mounted entertainment system IVI;
(5.5) the Update module of the vehicle-mounted entertainment system IVI decompresses the vehicle-mounted debugging package IVI.tar, backups log files according to config.xml in the vehicle-mounted debugging package IVI.tar, covers original log files of the system at the same time, and restarts the machine after the log files of the system are updated;
(5.6) the system has abnormal problems, and the background management personnel selects to return to the step (2) for continuous debugging or quits in any one mode of actively quitting the current test mode and the remote server quitting the current test mode by the user selection;
and (5.7) uploading the debugging result by the system to finish remote assistance debugging.
16. A device for realizing remote assistance debugging of an intelligent cabin is characterized by comprising:
a processor configured to execute computer-executable instructions;
a memory storing one or more computer-executable instructions that, when executed by the processor, perform the steps of the method for intelligent cockpit to implement remote assistance commissioning of any of claims 9 to 15.
17. A processor for realizing remote assistance debugging of an intelligent cockpit, wherein the processor is configured to execute computer executable instructions, and when the computer executable instructions are executed by the processor, the steps of the method for realizing remote assistance debugging of the intelligent cockpit according to any one of claims 9 to 15 are realized.
18. A computer-readable storage medium, on which a computer program is stored, the computer program being executable by a processor to implement the steps of the method for intelligent cockpit implementation of remote assistance commissioning according to any one of claims 9 to 15.
CN202110583208.0A 2021-05-27 2021-05-27 System, method and device for realizing remote assistance debugging for intelligent cabin, processor and computer readable storage medium thereof Pending CN113220516A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110583208.0A CN113220516A (en) 2021-05-27 2021-05-27 System, method and device for realizing remote assistance debugging for intelligent cabin, processor and computer readable storage medium thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110583208.0A CN113220516A (en) 2021-05-27 2021-05-27 System, method and device for realizing remote assistance debugging for intelligent cabin, processor and computer readable storage medium thereof

Publications (1)

Publication Number Publication Date
CN113220516A true CN113220516A (en) 2021-08-06

Family

ID=77098719

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110583208.0A Pending CN113220516A (en) 2021-05-27 2021-05-27 System, method and device for realizing remote assistance debugging for intelligent cabin, processor and computer readable storage medium thereof

Country Status (1)

Country Link
CN (1) CN113220516A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115022297A (en) * 2022-05-31 2022-09-06 重庆长安汽车股份有限公司 Remote debugging method, device and system for vehicle-end controller and vehicle
CN116701335A (en) * 2023-05-17 2023-09-05 中国第一汽车股份有限公司 Cross-system log data processing method for vehicle-mounted cabin domain controller

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070050105A1 (en) * 2005-08-31 2007-03-01 Spx Corporation Remote diagnostic data collections for automotive scan tools
EP2680534A1 (en) * 2012-06-28 2014-01-01 Harman Becker Automotive Systems GmbH Logging for telematic systems
CN105978979A (en) * 2016-05-17 2016-09-28 扬州航盛科技有限公司 Abnormality diagnosis system and method for linux vehicle-mounted system
US20200334125A1 (en) * 2017-03-31 2020-10-22 Commvault Systems, Inc. Managing data from internet of things devices in a vehicle

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070050105A1 (en) * 2005-08-31 2007-03-01 Spx Corporation Remote diagnostic data collections for automotive scan tools
EP2680534A1 (en) * 2012-06-28 2014-01-01 Harman Becker Automotive Systems GmbH Logging for telematic systems
CN105978979A (en) * 2016-05-17 2016-09-28 扬州航盛科技有限公司 Abnormality diagnosis system and method for linux vehicle-mounted system
US20200334125A1 (en) * 2017-03-31 2020-10-22 Commvault Systems, Inc. Managing data from internet of things devices in a vehicle

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115022297A (en) * 2022-05-31 2022-09-06 重庆长安汽车股份有限公司 Remote debugging method, device and system for vehicle-end controller and vehicle
CN115022297B (en) * 2022-05-31 2023-08-04 重庆长安汽车股份有限公司 Remote debugging method, device and system of vehicle-end controller and vehicle
CN116701335A (en) * 2023-05-17 2023-09-05 中国第一汽车股份有限公司 Cross-system log data processing method for vehicle-mounted cabin domain controller

Similar Documents

Publication Publication Date Title
JP6760813B2 (en) Software update device, software update method, software update system
CN113946358B (en) Automatic driving vehicle software remote upgrading method based on vehicle management system
CN102609326B (en) Data downloading processing method and data downloading processing device
CN113220516A (en) System, method and device for realizing remote assistance debugging for intelligent cabin, processor and computer readable storage medium thereof
JP6216730B2 (en) Software update device and software update method
US9471300B2 (en) Wireless firmware upgrades to an alarm security panel
US20220156057A1 (en) In-vehicle update device, update processing program, and program update method
CN108334331B (en) Safe electric vehicle battery management system software upgrading method
CN111416821A (en) Internet of things equipment information acquisition method, system and device
CN111158718A (en) Local communication server, OTA (over the air) upgrading method thereof and cloud server
CN110096290B (en) Method for upgrading software of main control board of battery simulator
CN112363742A (en) Firmware system upgrading method, device, equipment and medium
CN112152846A (en) Metering instrument remote upgrading method based on Internet of things
CN112407326A (en) Unmanned aerial vehicle system fault diagnosis method and device, electronic equipment and storage medium
JP5029004B2 (en) Analyzer control system
CN115268976A (en) Automatic upgrading method and system for multi-data center collection Agent version
CN113568878A (en) Method and device for collecting and exporting system logs and vehicle
CN114356855A (en) File management method, file management device, electronic device and readable storage medium
CN106095474A (en) For the method and apparatus updating the software in means of transport
CN115129574A (en) Code testing method and device
JP2020201986A (en) Software update device and software update method
US10073675B2 (en) Control unit for a motor vehicle, programming unit, and programming system
CN116483660A (en) Method, device and equipment for acquiring vehicle-end log and readable storage medium
CN115118577A (en) Method and device for determining remote upgrade abnormal reason, electronic equipment and storage medium
JP7484791B2 (en) OTA master, update control method, and update control program

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20210806