Method, device and equipment for repairing diagnostic software and storage medium
By generating and sending the target software upgrade package of the diagnostic software in the cloud, missing files are automatically copied to repair the car diagnostic software, the problems of low repair efficiency and high cost in the existing technology are solved, and user experience and repair efficiency are improved.
Patent Information
- Application Number
- CN202411192436.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-28
- Publication Date
- 2024-12-20
AI Technical Summary
The existing automotive diagnostic software repair methods have problems such as easy loss of user data, poor user experience and high after-sales cost. Especially when files are deleted by mistake or antivirus software are removed, traditional reinstallation or remote copy repair methods are inefficient.
By generating and sending target software upgrade packages for diagnostic software in the cloud, including repair files, and automatically copying missing files with scripts to repair software, improving user experience and repair efficiency, and reducing after-sales costs.
It realizes automatic repair of diagnostic software, improves user experience and repair efficiency, reduces after-sales costs, and solves the software operation problem when files are missing.
Smart Images

Figure CN119166401A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of automobile diagnostic technology, and in particular to a repair method, device, equipment and storage medium for diagnostic software. Background Art
[0002] With the continuous development of automotive electronics, automotive diagnostic software has become more and more complex, and the corresponding software packages contain more and more files. These files are responsible for different functions in the diagnostic software and are often indispensable. However, in actual situations, some files are cleared by computer anti-virus software or deleted by users' mistakes, resulting in the diagnostic software being unusable. There are two common ways to deal with this problem: 1. The user uninstalls the original diagnostic software and reinstalls it; 2. After-sales personnel send the missing files to the user via the network, and the user copies the missing files to the specified directory according to the instructions to ensure the normal execution of the diagnostic software.
[0003] However, the above two diagnostic software repair methods have the following problems: 1. Frequent reinstallation of software is prone to loss of original user data and is not user-friendly; 2. The cost of after-sales personnel remotely assisting users in software repair is too high, and there is a repair threshold, and the efficiency of after-sales is relatively low.
[0004] The above contents are only used to assist in understanding the technical solution of the present application and do not constitute an admission that the above contents are prior art. Summary of the invention
[0005] The main purpose of this application is to provide a method, device, equipment and storage medium for repairing diagnostic software, aiming to solve the technical problem that the vehicle's diagnostic software cannot run normally when files are missing.
[0006] To achieve the above objectives, the present application proposes a method for repairing diagnostic software, which is applied in the cloud and includes:
[0007] receiving a missing information message of the diagnostic software sent by the diagnostic device;
[0008] Based on the missing information message, a target software upgrade package of the diagnostic software is generated, wherein a repair file of the diagnostic software is stored in a designated directory of the target software upgrade package;
[0009] The target software upgrade package is sent to the diagnostic device, and the diagnostic device performs software repair on the diagnostic software according to the repair file in the directory specified by the target software upgrade package.
[0010] In one embodiment, the step of generating a target software upgrade package of the diagnostic software based on the missing information message includes:
[0011] Statistically analyzing the missing information message to obtain missing file information contained in the missing information message;
[0012] Based on the missing file information, generating a repair file for the diagnostic software;
[0013] The repair file is saved in the specified directory of the initial software upgrade package generated in the cloud to synthesize the target software upgrade package of the diagnostic software.
[0014] In one embodiment, the method further comprises:
[0015] When the target software upgrade package is updated, statistical analysis is performed again on the received missing information messages to obtain statistical analysis results;
[0016] The repair file is updated according to the statistical analysis result to obtain an updated repair file.
[0017] In one embodiment, the diagnostic software repair method is applied to a diagnostic device, and the method includes:
[0018] Sending a missing information message to the cloud, so that the cloud generates a target software upgrade package of the diagnostic software based on the missing information message, wherein a repair file of the diagnostic software is stored in a designated directory of the target software upgrade package;
[0019] Receive the target software upgrade package sent by the cloud, and perform software repair on the diagnostic software through the repair file in the directory specified by the target software upgrade package.
[0020] In one embodiment, the step of receiving the target software upgrade package sent by the cloud and performing software repair on the diagnostic software using the repair file in the specified directory of the target software upgrade package includes:
[0021] Receiving the target software upgrade package sent by the cloud, performing software upgrade on the local initial diagnostic software through the target software upgrade package to obtain the target diagnostic software, wherein a repair file is stored in a designated directory of the target diagnostic software;
[0022] When the target diagnostic software has missing files, the repair file is copied to the target folder where the missing files occur through a preset script, and the target diagnostic software is repaired through the copied repair file.
[0023] In one embodiment, the method further comprises:
[0024] When a file is missing in the target diagnostic software, a missing information message is generated according to the file missing in the target diagnostic software, and the missing information message is sent to the cloud.
[0025] In one embodiment, the method further comprises:
[0026] When a file is missing in the target diagnostic software, a file missing prompt message is provided to the target user through the display interface of the target diagnostic software.
[0027] In addition, to achieve the above-mentioned purpose, the present application also proposes a diagnostic software repair device, the diagnostic software repair device comprising:
[0028] A message receiving module, used for receiving a missing information message of the diagnostic software sent by the diagnostic device;
[0029] A file generation module, used to generate a target software upgrade package of the diagnostic software based on the missing information message, wherein a repair file of the diagnostic software is stored in a designated directory of the target software upgrade package;
[0030] The software repair module is used to send the target software upgrade package to the diagnostic device, and the diagnostic device performs software repair on the diagnostic software according to the repair file in the specified directory of the target software upgrade package.
[0031] In addition, to achieve the above-mentioned purpose, the present application also proposes a diagnostic software repair device, which includes: a memory, a processor, and a computer program stored in the memory and executable on the processor, and the computer program is configured to implement the steps of the diagnostic software repair method as described above.
[0032] In addition, to achieve the above-mentioned purpose, the present application also proposes a storage medium, which is a computer-readable storage medium, and a computer program is stored on the storage medium. When the computer program is executed by the processor, the steps of the diagnostic software repair method described above are implemented.
[0033] One or more technical solutions proposed in this application have at least the following technical effects:
[0034] The present application embodiment proposes a method, device, equipment and storage medium for repairing diagnostic software, which are applied to the cloud: receiving a missing information message of the diagnostic software sent by the diagnostic device; generating a target software upgrade package for the diagnostic software according to the missing information message, wherein the repair file of the diagnostic software is stored in a designated directory of the target software upgrade package; sending the target software upgrade package to the diagnostic device, and the diagnostic device repairs the diagnostic software according to the repair file in the designated directory of the target software upgrade package. By storing the repair software of the diagnostic software in the target software upgrade package and sending it to the diagnostic software together, when the diagnostic software has missing files, the corresponding missing files can be copied through a script to automatically repair the diagnostic software, which greatly improves the user experience and the efficiency of diagnostic software repair and reduces after-sales costs. BRIEF DESCRIPTION OF THE DRAWINGS
[0035] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.
[0036] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.
[0037] Figure 1 A flowchart of a first embodiment of a method for repairing diagnostic software of the present application is provided;
[0038] Figure 2 A flowchart diagram of a fourth embodiment of a method for repairing diagnostic software of the present application is provided;
[0039] Figure 3 This is a schematic diagram of the overall brief process of the repair method of the diagnostic software of this application;
[0040] Figure 4 A schematic diagram of a target software upgrade package in a specific application scenario of the repair method for the diagnostic software of this application;
[0041] Figure 5 A schematic diagram of a folder directory under an initial software upgrade package in a specific application scenario of the repair method of the diagnostic software of this application;
[0042] Figure 6 A schematic diagram of a folder directory where a repaired file is located in a specific application scenario of the repair method of the diagnostic software of this application;
[0043] Figure 7 A schematic diagram of a subdirectory in a folder directory where a repair file is located in a specific application scenario of the repair method of the diagnostic software of the present application;
[0044] Figure 8 A schematic diagram of the module structure of a repair device for diagnostic software according to an embodiment of the present application;
[0045] Fig. 9 A schematic diagram of the device structure of the hardware operating environment involved in the repair method of the diagnostic software in the embodiment of the present application.
[0046] The purpose, features and advantages of this application will be further described in conjunction with the embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION
[0047] It should be understood that the specific embodiments described herein are only used to explain the technical solutions of the present application and are not used to limit the present application.
[0048] In order to better understand the technical solution of the present application, a detailed description will be given below in conjunction with the accompanying drawings and specific implementation methods.
[0049] The main solution of the embodiment of the present application is: applying the repair method of the diagnostic software to the cloud: receiving the missing information message of the diagnostic software sent by the diagnostic device; generating the target software upgrade package of the diagnostic software according to the missing information message, and the repair file of the diagnostic software is stored in the designated directory of the target software upgrade package; sending the target software upgrade package to the diagnostic device, and the diagnostic device performs software repair on the diagnostic software according to the repair file in the designated directory of the target software upgrade package. Applying the repair method of the diagnostic software to the diagnostic software: sending the missing information message to the cloud, so that the cloud generates the target software upgrade package of the diagnostic software based on the missing information message, and the repair software of the diagnostic software is stored in the designated directory of the target software upgrade package; receiving the target software upgrade package sent by the cloud, and performing software repair on the diagnostic software through the repair file in the designated directory of the target software upgrade package. The present invention stores the repair software of the diagnostic software in the target software upgrade package and sends it to the diagnostic software together. When the diagnostic software has a file missing, the corresponding missing file can be copied by a script to automatically repair the diagnostic software, which greatly improves the user experience and the efficiency of the diagnostic software repair, and reduces the after-sales cost.
[0050] With the continuous development of automotive electronics, automotive diagnostic software has become more and more complex, and the corresponding software packages contain more and more files. These files are responsible for different functions in the diagnostic software and are often indispensable. However, in actual situations, some files are cleared by computer anti-virus software or deleted by users' mistakes, resulting in the diagnostic software being unusable. There are two common ways to deal with this problem: 1. The user uninstalls the original diagnostic software and reinstalls it; 2. After-sales personnel send the missing files to the user via the network, and the user copies the missing files to the specified directory according to the instructions to ensure the normal execution of the diagnostic software.
[0051] However, the above two diagnostic software repair methods have the following problems: 1. Frequent reinstallation of software is prone to loss of original user data and is not user-friendly; 2. The cost of after-sales personnel remotely assisting users in software repair is too high, and there is a repair threshold, and the efficiency of after-sales is relatively low.
[0052] This application stores the repair software of the diagnostic software in the target software upgrade package and sends it to the diagnostic software. When files are missing in the diagnostic software, the corresponding missing files can be copied through a script to automatically repair the diagnostic software, which greatly improves the user experience and diagnostic software repair efficiency and reduces after-sales costs.
[0053] It should be noted that the execution subject of this embodiment may be a computing service device with data processing, network communication and program running functions, such as a tablet computer, a personal computer, a mobile phone, etc., or an electronic device capable of realizing the above functions, a repair device for diagnostic software, etc. The following takes the repair device for diagnostic software as an example to illustrate this embodiment and the following embodiments.
[0054] Based on this, the present application embodiment provides a method for repairing diagnostic software, referring to Figure 1 , Figure 1 This is a flowchart of a first embodiment of a method for repairing diagnostic software of the present application. The method for repairing diagnostic software is applied in the cloud and includes the following steps S10 to S30:
[0055] Step S10, receiving a missing information message of the diagnostic software sent by the diagnostic device.
[0056] It should be noted that the diagnostic equipment refers to an electronic device specifically used for automobile fault diagnosis. In a feasible embodiment, the diagnostic equipment refers to an automobile fault diagnostic instrument, which can read, analyze and process the fault information in the automobile electronic control unit ECU (Electronic Control Unit) by connecting to the automobile's on-board diagnostic system interface, and help maintenance personnel quickly locate and solve automobile faults.
[0057] In addition, it should be noted that the diagnostic software is usually called automobile diagnostic software or on-board diagnostic software, which is a type of software designed specifically for automobile fault diagnosis. This type of software can obtain various data and status information of the vehicle by connecting to components such as sensors, control units and communication networks inside the vehicle, and then perform fault diagnosis, performance analysis and troubleshooting on the vehicle. Fault diagnosis means that when a vehicle fails, the diagnostic software can read the vehicle's fault codes (DTCs) and convert them into an easy-to-understand form to help technicians quickly and accurately locate the problem. In addition, the software can also predict potential faults by monitoring the status of key components of the vehicle, such as engine temperature, fuel consumption, tire pressure, etc.; performance analysis means that during the operation of the vehicle, the diagnostic software can collect and analyze driving data such as vehicle speed, acceleration, and rotation speed, so as to evaluate the vehicle's performance indicators, such as fuel efficiency and emissions. These data provide car owners and technicians with a basis for optimizing vehicle performance; troubleshooting means that for some common vehicle faults, the diagnostic software can provide troubleshooting suggestions or methods by referring to the vehicle database and experience data, which helps car owners or technicians to quickly solve some simple problems without the need for professional equipment; the diagnostic software also has data sharing and remote diagnosis functions. By connecting to the Internet or other vehicles, the software can realize real-time sharing of vehicle data, allowing remote technicians to remotely diagnose and provide maintenance guidance for the vehicle.
[0058] In addition, it should be noted that the missing information message refers to a message with missing file information, and the missing file information includes the name of the missing file and the path directory information where the missing file is located.
[0059] Specifically, the cloud receives missing information messages about diagnostic software sent by the diagnostic device, performs statistical analysis on the missing information messages received from all users, obtains missing files with a large number of missing times as repair files, and obtains the file name and path directory of the repair file.
[0060] Step S20: generating a target software upgrade package of the diagnostic software based on the missing information message, wherein a repair file of the diagnostic software is stored in a designated directory of the target software upgrade package.
[0061] It should be noted that the target software upgrade package refers to a diagnostic software upgrade package with repair files. The software upgrade package is a collection of a series of files and data used to update and upgrade the automotive diagnostic software. These upgrade packages are usually released by device software suppliers or related technology providers.
[0062] In addition, it should be noted that the repair file refers to a file used to fill in the missing files when the diagnostic software has missing files. When the repair file is called, the normal operation of the diagnostic software can be guaranteed.
[0063] Specifically, a statistical analysis is performed on the information of the missing files contained in the missing information message to determine the missing files that occur more frequently, and the missing files that occur more frequently are determined as repair files. On the basis of the software upgrade package of ordinary vehicle diagnostic software, a folder directory of the same level is added to store the repair files of the diagnostic software.
[0064] Step S30, sending the target software upgrade package to the diagnostic device, and the diagnostic device repairing the diagnostic software according to the repair file in the directory specified by the target software upgrade package.
[0065] Specifically, when the user upgrades the diagnostic software, the cloud sends the target software upgrade package to the diagnostic device. After the user downloads the target software upgrade package through the diagnostic device, the user updates and upgrades the locally installed diagnostic software. The updated and upgraded diagnostic software contains repair files. When common file missing problems occur in the updated and upgraded diagnostic software, the diagnostic device repairs the diagnostic software according to the repair files in the specified directory.
[0066] This embodiment adopts the above scheme, specifically by storing the repair software of the diagnostic software in the target software upgrade package and sending it to the diagnostic device together. When files are missing from the diagnostic software, the diagnostic software can be automatically repaired through the repair file, which greatly improves the user experience and diagnostic software repair efficiency and reduces after-sales costs.
[0067] Based on the first embodiment, a second embodiment of the present application is proposed. The difference between the second embodiment of the present application and the first embodiment is that:
[0068] In this embodiment, the generating of the target software upgrade package of the diagnostic software based on the missing information message includes steps S21 to S23:
[0069] Step S21, statistically analyzing the missing information message to obtain the missing file information contained in the missing information message.
[0070] Step S22: generating a repair file for the diagnostic software based on the missing file information.
[0071] Step S23, saving the repair file to the designated directory of the initial software upgrade package generated in the cloud, and synthesizing the target software upgrade package of the diagnostic software.
[0072] It should be noted that the missing file information refers to the file name and path directory of the missing file when a file is missing in the diagnostic software, which is used to uniquely identify the missing file.
[0073] In addition, it should be noted that the initial software upgrade package refers to a software upgrade package of the automobile diagnostic software without a repair file, that is, a common software upgrade package, which is a collection of a series of files and data for updating and upgrading the automobile diagnostic software.
[0074] Specifically, a statistical analysis is performed on the information of the missing files contained in the missing information message to determine the missing files that appear more frequently. The method for determining the missing files that appear more frequently in the repair file can be to determine the missing files in the repair file by the number of occurrences, or to determine the missing files in the repair file by the proportion. When making an upgrade package for the vehicle diagnostic software, on the basis of a normal initial software upgrade package, a folder is saved in a folder directory at the same level, in which the repair files obtained by statistical analysis of the cloud server are stored according to the directory hierarchy of the vehicle diagnostic software, so as to synthesize the target software upgrade package of the diagnostic software.
[0075] Based on the second embodiment, a third embodiment of the present application is proposed. The difference between the third embodiment of the present application and the second embodiment is that:
[0076] In this embodiment, the repair of the diagnostic software is applied to the cloud, and further includes the following steps S40-S50:
[0077] Step S40: when updating the target software upgrade package, statistical analysis is performed again on the received missing information messages to obtain statistical analysis results.
[0078] Step S50, updating the repair file according to the statistical analysis result to obtain an updated repair file.
[0079] It should be noted that the statistical analysis result refers to the cloud receiving the missing information message sent by the diagnostic device, performing statistical analysis on the information of the missing files contained in the missing information message, and determining the missing files with more occurrences. The method of determining the missing files with more occurrences in the repair file can be to determine the missing files in the repair file by the number of occurrences, or to determine the missing files in the repair file by the proportion. For example, the missing files are determined by the number of occurrences. First, the missing information messages sent by all users through the diagnostic device are received through the cloud, and the missing file information contained in the message is statistically analyzed. When the number of occurrences of the missing file is greater than the preset number threshold, the missing file is included in the repair file range. When making the upgrade package of the vehicle diagnostic software, on the basis of the normal software upgrade package, a folder is saved in the folder directory of the same level, and the repair files obtained by the statistical analysis of the cloud server are stored in it according to the directory hierarchy of the vehicle diagnostic software. For example, if the missing file A is located in the B folder in the diagnostic software, then the A file is also stored in the B' folder in the same directory hierarchy in the target software upgrade package as a repair file.
[0080] Specifically, when the target software upgrade package needs to be updated, the missing file information contained in the received missing information message is statistically analyzed again, and the missing file information that needs to be added to the repair file is re-determined to obtain the statistical analysis results. The missing files in the repair file are updated according to the statistical analysis results to obtain the updated repair file. The updated repair file directory is stored in the designated folder of the updated primary software upgrade package to synthesize the target software upgrade package.
[0081] Reference Figure 2 , Figure 2 FIG. 4 is a flow chart of a fourth exemplary embodiment of a method for repairing diagnostic software according to the present invention.
[0082] Based on the third embodiment, a fourth embodiment of the present application is proposed. The difference between the fourth embodiment of the present application and the third embodiment is that:
[0083] In this embodiment, the diagnostic software repair method is applied to a diagnostic device, and the diagnostic software repair method includes steps S60 to S70:
[0084] Step S60, sending a missing information message to the cloud, so that the cloud generates a target software upgrade package of the diagnostic software based on the missing information message, and the repair file of the diagnostic software is stored in a designated directory of the target software upgrade package.
[0085] Step S70, receiving the target software upgrade package sent by the cloud, and performing software repair on the diagnostic software through the repair file in the specified directory of the target software upgrade package.
[0086] It should be noted that the cloud refers to a remote data center or server, which receives diagnostic data sent by diagnostic equipment through an Internet connection and performs statistical analysis on the diagnostic data, wherein the diagnostic data includes missing information messages.
[0087] Specifically, a problem uploading function is provided on the diagnostic software of the diagnostic device. When a file is missing in the diagnostic software, a missing information message containing specific information about the file missing problem in the diagnostic software can be automatically uploaded to the cloud through a preset script. The cloud receives the missing information messages sent by all users, performs statistical analysis on the missing file information in all messages, determines the missing files that need to be added to the target software upgrade package as repair files, saves the repair files to a designated directory of the target software upgrade package, and the cloud sends the target software upgrade package to the diagnostic device. After the diagnostic device receives the target software upgrade package, it updates and upgrades the locally installed diagnostic software, and the repair files are saved in the designated directory of the updated and upgraded diagnostic software. When a file is missing in the diagnostic software, the repair files are copied to the target folder where the file is missing through a preset script, and the target diagnostic software is repaired through the copied repair files.
[0088] Based on the fourth embodiment, a fifth embodiment of the present application is proposed. The difference between the fifth embodiment of the present application and the fourth embodiment is that:
[0089] In this embodiment, the receiving of the target software upgrade package sent by the cloud and the software repair of the diagnostic software using the repair file in the specified directory of the target software upgrade package include steps S71 to S72:
[0090] Step S71, receiving the target software upgrade package sent by the cloud, performing software upgrade on the local initial diagnostic software through the target software upgrade package to obtain the target diagnostic software, wherein the repair file is stored in a designated directory of the target diagnostic software.
[0091] Step S72, when a file is missing in the target diagnostic software, the repair file is copied to the target folder where the file is missing through a preset script, and the target diagnostic software is repaired using the copied repair file.
[0092] It should be noted that the initial diagnostic software refers to the vehicle diagnostic software currently installed locally that needs to be updated and upgraded.
[0093] In addition, it should be noted that the target diagnostic software refers to the vehicle diagnostic software that has been updated and upgraded after receiving the target software upgrade package through the diagnostic device.
[0094] Additionally, it should be noted that the target folder refers to the folder where files are missing in the vehicle diagnostic software.
[0095] In addition, it should be noted that the preset script refers to a script that can find the repair file from the specified directory according to the missing file name and file save path of the target folder and copy the repair file to the target folder. A script generally refers to a series of instructions or codes used to automate or control computer programs, software applications, web pages, animations, video games or other system operations. Scripts can be written in a variety of programming languages, such as Bash (for Linux / Unix systems), Python, Perl, JavaScript (commonly used in web pages), Ruby, etc. Scripts are powerful tools in scenarios such as automated tasks, data analysis, and web page interaction. According to specific needs, a suitable programming language can be selected to write scripts.
[0096] Specifically, after the diagnostic device receives the target software upgrade package, it updates and upgrades the locally installed diagnostic software, and the repair file is saved in the designated directory of the updated and upgraded diagnostic software; when a file is missing in the diagnostic software, a preset script will generate a missing information message based on the specific information of the missing file, and the missing information message will be sent to the cloud. At the same time, the preset script will also search for the repair file in the designated directory. If the search is successful, the repair file will be copied to the target folder where the file is missing. When the vehicle's diagnostic software is running, the copied repair file is called, and the software can run normally, completing the repair of the target diagnostic software; if the search is unsuccessful, a prompt message is provided to the target user through the display interface of the target diagnostic software, indicating that the file is missing, the search and repair are unsuccessful, and the software cannot be repaired.
[0097] Based on the fifth embodiment, a sixth embodiment of the present application is proposed. The difference between the sixth embodiment of the present application and the fifth embodiment is that:
[0098] In this embodiment, the method further includes:
[0099] Step S80, when a file is missing in the target diagnostic software, a missing information message is generated according to the file missing in the target diagnostic software, and the missing information message is sent to the cloud.
[0100] Specifically, when a file is missing from the target diagnostic software, a missing information message is generated based on the specific information of the file missing from the target diagnostic software, such as the file name and the file save directory path where the file is missing. The missing information message is sent to the cloud through a preset script, and the cloud determines the repair file after performing statistical analysis on the missing information message.
[0101] Based on the sixth embodiment, a seventh embodiment of the present application is proposed. The difference between the seventh embodiment of the present application and the sixth embodiment is that:
[0102] In this embodiment, the method further includes:
[0103] Step 90: When a file is missing in the target diagnostic software, a file missing prompt message is provided to the target user through the display interface of the target diagnostic software.
[0104] Specifically, when files are missing in the target diagnostic software, a prompt message of missing files is provided to the target user through the display interface of the target diagnostic software, reminding the target user that files are missing in the target diagnostic software, and prompting the file name of the missing file and the file save path.
[0105] For easier understanding, please refer to Figure 3 , Figure 3 The overall simplified process diagram of the repair method of the diagnostic software of this application. When a file is missing in the diagnostic software of the diagnostic device, the specific information of the missing file is sent to the cloud through a missing information message, and the cloud performs statistical analysis on the collected missing information messages, determines the repair file based on the results of the statistical analysis, stores the repair file in the specified directory of the target software upgrade package, and sends the target software upgrade package to the diagnostic device; after receiving the target software upgrade package, the diagnostic device updates and upgrades the locally installed initial diagnostic software to obtain the target diagnostic software. When a file is missing in the target diagnostic software, the preset script is called to send the specific information of the missing file to the cloud through a missing information message, and the repair file is automatically searched at the same time. If the search is successful, the repair file is copied to the target folder where the file is missing, and the copied repair file software can be called to run normally, completing the repair of the target diagnostic software.
[0106] For example, in order to help understand the implementation process of the repair method of the diagnostic software in this embodiment, this embodiment provides a specific scenario-based description of this solution:
[0107] 1. The repair method of the diagnostic software is applied in the cloud:
[0108] (1) Receive the missing information message of the diagnostic software sent by the diagnostic device.
[0109] The cloud receives missing information messages about the diagnostic software sent by the diagnostic device, performs statistical analysis on the missing information messages received from all users, obtains missing files with more missing times as repair files, and obtains the file name and path directory of the repair file.
[0110] (2) Based on the missing information message, a target software upgrade package of the diagnostic software is generated, and a repair file of the diagnostic software is stored in a designated directory of the target software upgrade package.
[0111] First, the cloud performs statistical analysis on the information of the missing files contained in the missing information message to determine the missing files that appear more frequently, and determines the missing files that appear more frequently as repair files. Then, based on the software upgrade package of the ordinary vehicle diagnostic software, a folder directory of the same level is added to save the repair files of the diagnostic software, thereby synthesizing the target software upgrade package.
[0112] For easier understanding, please refer to Figure 4 , Figure 4 This is a schematic diagram of an embodiment of synthesizing a target software upgrade package in the repair method of the diagnostic software of the present application. Figure 4 The "update" compressed package is the target software upgrade package, which contains two folders. One is the "Dignose" folder, which is the folder directory of the initial software upgrade package, and the other is the "BackupFiles" folder, which is the folder directory for storing repair files in the target software upgrade package. The folder directories inside are set up hierarchically according to the directory of the "Dignose" folder.
[0113] For easier understanding, please refer to Figure 5 and Figure 6 , Figure 5 A schematic diagram of a folder directory under an initial software upgrade package in a specific application scenario of the repair method of the diagnostic software of this application is provided. Figure 5 There are three folders in the first-level directory of the initial software upgrade package: "config", "other", and "vehicle". Figure 6 A schematic diagram of a folder directory for storing repair files in a specific application scenario of the repair method of the diagnostic software of this application is shown below. Figure 6 The first-level directory of the folder where the repair file is saved is the "Dignose" folder, and the second-level folder under the next level contains three folders: "config", "other", and "vehic le", which are consistent with the folder directory hierarchy of the initial software upgrade package.
[0114] For easier understanding, please refer to Figure 7 , Figure 7This is a schematic diagram of a subfolder under the root folder for storing repair files in the repair method of the diagnostic software of the present application, wherein files that are easily missing under the folder of this path in the primary software upgrade package are stored, and in the directory of the path "BackupFiles / Dignose / vehicle / V11.25", four files "Dignose.exe", "OnLineCa l cd ll", "Pub licSpeFunc.dll", and "WebserviceAddress.ini" are stored. These four files are easily missing in the initial software upgrade package, so they are copied and stored in the dynamic backup package to facilitate the search and repair of the diagnostic software, wherein the dynamic backup package is used to store repair files according to the directory hierarchy of the primary software upgrade package. Figure 6 The "BackupFiles" folder is in the folder.
[0115] (3) The target software upgrade package is sent to a diagnostic device, and the diagnostic device performs software repair on the diagnostic software according to a repair file in a directory specified by the target software upgrade package.
[0116] When the user receives the target software upgrade package sent from the cloud through the diagnostic device, the user downloads the target software upgrade package through the diagnostic device and updates the locally installed diagnostic software. The updated and upgraded diagnostic software contains repair files. When common file missing problems occur in the updated and upgraded diagnostic software, the diagnostic device repairs the diagnostic software according to the repair files in the specified directory.
[0117] 2. The diagnostic software repair method is applied to diagnostic equipment:
[0118] (1) Sending a missing information message to the cloud, so that the cloud generates a target software upgrade package of the diagnostic software based on the missing information message, wherein a repair file of the diagnostic software is stored in a designated directory of the target software upgrade package.
[0119] First, a problem uploading function is set on the diagnostic software of the diagnostic device. When a file is missing in the diagnostic software, a missing information message containing specific information about the file missing problem in the diagnostic software can be automatically uploaded to the cloud through a preset script; then the cloud receives the missing information messages sent by all users, performs statistical analysis on the missing file information in all messages, and determines the missing files that need to be added to the target software upgrade package as repair files; finally, the repair file is saved in the specified directory of the target software upgrade package, and the cloud sends the target software upgrade package to the diagnostic device.
[0120] (2) receiving the target software upgrade package sent by the cloud, and performing software repair on the diagnostic software using the repair file in the directory specified by the target software upgrade package.
[0121] First, after receiving the target software upgrade package, the diagnostic device updates and upgrades the locally installed diagnostic software, and a repair file is saved in a designated directory of the updated and upgraded diagnostic software; then, when files are missing from the diagnostic software, the repair file is copied to the target folder where the files are missing through a preset script, and the target diagnostic software is repaired using the copied repair file.
[0122] It should be noted that the above examples are only used to understand the present application and do not constitute a limitation on the repair method of the diagnostic software of the present application. More simple transformations based on this technical concept are all within the scope of protection of the present application.
[0123] This application also provides a repair device for diagnostic software, please refer to Figure 8 , the repair device of the diagnostic software comprises:
[0124] The message receiving module 801 is used to receive the missing information message of the diagnostic software sent by the diagnostic device;
[0125] A file generation module 802 is used to generate a target software upgrade package of the diagnostic software based on the missing information message, wherein a repair file of the diagnostic software is stored in a designated directory of the target software upgrade package;
[0126] The software repair module 803 is used to send the target software upgrade package to the diagnostic device, and the diagnostic device performs software repair on the diagnostic software according to the repair file in the specified directory of the target software upgrade package.
[0127] The diagnostic software repair device provided in the present application adopts the diagnostic software repair method in the above embodiment, which can solve the technical problem that the vehicle diagnostic software cannot run normally when files are missing. Compared with the prior art, the beneficial effects of the diagnostic software repair device provided in the present application are the same as the beneficial effects of the diagnostic software repair method provided in the above embodiment, and other technical features in the diagnostic software repair device are the same as the features disclosed in the above embodiment method, which will not be repeated here.
[0128] The present application provides a diagnostic software repair device, the diagnostic software repair device includes: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the diagnostic software repair method in the above-mentioned embodiment one.
[0129] Reference below Fig. 9 , which shows a schematic diagram of the structure of a repair device suitable for implementing the diagnostic software of the embodiment of the present application. The repair device of the diagnostic software in the embodiment of the present application may include but is not limited to mobile terminals such as mobile phones, laptop computers, digital broadcast receivers, PDAs (Personal Digital Assistants), PADs (Portable Application Descriptions), PMPs (Portable Media Players), vehicle-mounted terminals (such as vehicle-mounted navigation terminals), etc., and fixed terminals such as digital TVs, desktop computers, etc. Fig. 9 The repair device of the diagnostic software shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present application.
[0130] like Fig. 9 As shown, the repair device of the diagnostic software may include a processing device 1001 (e.g., a central processing unit, a graphics processor, etc.), which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM: Read On ly Memory) 1002 or a program loaded from a storage device 1003 to a random access memory (RAM: Random Access Memory) 1004. In RAM1004, various programs and data required for the operation of the repair device of the diagnostic software are also stored. The processing device 1001, ROM1002, and RAM1004 are connected to each other via a bus 1005. An input / output (I / O) interface 1006 is also connected to the bus. Typically, the following systems may be connected to the I / O interface 1006: input devices 1007 including, for example, a touch screen, a touchpad, a keyboard, a mouse, an image sensor, a microphone, an accelerometer, a gyroscope, etc.; output devices 1008 including, for example, a liquid crystal display (LCD), a speaker, a vibrator, etc.; storage devices 1003 including, for example, a magnetic tape, a hard disk, etc.; and communication devices 1009. The communication device 1009 may allow the repair device of the diagnostic software to communicate wirelessly or wired with other devices to exchange data. Although the figure shows a repair device of the diagnostic software with various systems, it should be understood that it is not required to implement or have all the systems shown. More or fewer systems may be implemented or have instead.
[0131] In particular, according to the embodiments disclosed in the present application, the process described above with reference to the flowchart can be implemented as a computer software program. For example, the embodiments disclosed in the present application include a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program includes a program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from a network through a communication device, or installed from a storage device 1003, or installed from a ROM 1002. When the computer program is executed by the processing device 1001, the above-mentioned functions defined in the method of the embodiment disclosed in the present application are executed.
[0132] The diagnostic software repair device provided by the present application adopts the diagnostic software repair method in the above embodiment, which can solve the technical problem that the vehicle diagnostic software cannot run normally when files are missing. Compared with the prior art, the beneficial effects of the diagnostic software repair device provided by the present application are the same as the beneficial effects of the diagnostic software repair method provided by the above embodiment, and other technical features in the diagnostic software repair device are the same as the features disclosed in the method of the previous embodiment, which will not be repeated here.
[0133] It should be understood that the various parts disclosed in this application can be implemented by hardware, software, firmware or a combination thereof. In the description of the above embodiments, specific features, structures, materials or characteristics can be combined in any one or more embodiments or examples in a suitable manner.
[0134] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art who is familiar with the present technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.
[0135] The present application provides a computer-readable storage medium having computer-readable program instructions (ie, computer programs) stored thereon, and the computer-readable program instructions are used to execute the repair method of the diagnostic software in the above-mentioned embodiment.
[0136] The computer-readable storage medium provided in the present application may be, for example, a USB flash drive, but is not limited to electrical, magnetic, optical, electromagnetic, infrared, or semiconductor systems, systems or devices, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM: Random Access Memory), a read-only memory (ROM: Read On ly Memory), an erasable programmable read-only memory (EPROM: Erasable Programmab le Read On ly Memory or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM: CD-Read On ly Memory), an optical storage device, a magnetic storage device, or any suitable combination of the above. In this embodiment, the computer-readable storage medium may be any tangible medium containing or storing a program, which may be used by or in combination with an instruction execution system, system or device. The program code contained on the computer-readable storage medium may be transmitted using any appropriate medium, including but not limited to: wires, optical cables, RF (Radio Frequency: Radio Frequency), etc., or any suitable combination of the above.
[0137] The computer-readable storage medium may be included in the repair device of the diagnostic software; or may exist independently without being assembled into the repair device of the diagnostic software.
[0138] The above-mentioned computer-readable storage medium carries one or more programs. When the above-mentioned one or more programs are executed by the repair device of the diagnostic software, the repair device of the diagnostic software: receives the missing information message of the diagnostic software sent by the diagnostic device; generates a target software upgrade package of the diagnostic software based on the missing information message, and the repair file of the diagnostic software is stored in the designated directory of the target software upgrade package; generates a target software upgrade package of the diagnostic software based on the missing information message, and the repair file of the diagnostic software is stored in the designated directory of the target software upgrade package.
[0139] The computer program code for performing the operation of the present application can be written in one or more programming languages or a combination thereof, including object-oriented programming languages, such as Java, Smalltalk, C++, and conventional procedural programming languages, such as "C" language or similar programming languages. The program code can be executed entirely on the user's computer, partially on the user's computer, as an independent software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In the case of a remote computer, the remote computer can be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or can be connected to an external computer (for example, using an Internet service provider to connect through the Internet).
[0140] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present application. In this regard, each square box in the flow chart or block diagram can represent a module, a program segment or a part of a code, and the module, the program segment or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the square box can also occur in a sequence different from that marked in the accompanying drawings. For example, two square boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each square box in the block diagram and / or flow chart, and the combination of the square boxes in the block diagram and / or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.
[0141] The modules involved in the embodiments described in this application may be implemented by software or hardware, wherein the name of the module does not constitute a limitation on the unit itself in some cases.
[0142] The readable storage medium provided by the present application is a computer-readable storage medium, which stores computer-readable program instructions (i.e., computer programs) for executing the above-mentioned diagnostic software repair method, and can solve the technical problem that the vehicle diagnostic software cannot run normally when files are missing. Compared with the prior art, the beneficial effects of the computer-readable storage medium provided by the present application are the same as the beneficial effects of the diagnostic software repair method provided by the above-mentioned embodiment, and will not be repeated here.
[0143] The present application also provides a computer program product, including a computer program, which implements the steps of the above-mentioned diagnostic software repair method when executed by a processor.
[0144] The computer program product provided by the present application can solve the technical problem that the vehicle diagnostic software cannot run normally when files are missing. Compared with the prior art, the beneficial effects of the computer program product provided by the present application are the same as the beneficial effects of the diagnostic software repair method provided by the above embodiment, which will not be repeated here.
[0145] The above descriptions are only some embodiments of the present application, and are not intended to limit the patent scope of the present application. All equivalent structural changes made using the contents of the present application specification and drawings under the technical concept of the present application, or direct / indirect applications in other related technical fields are included in the patent protection scope of the present application.
Claims
1. A method for repairing diagnostic software, characterized in that: The diagnostic software repair method is applied to the cloud, and the method includes: receiving a missing information message of the diagnostic software sent by the diagnostic device; Based on the missing information message, a target software upgrade package of the diagnostic software is generated, wherein a repair file of the diagnostic software is stored in a designated directory of the target software upgrade package; The target software upgrade package is sent to the diagnostic device, and the diagnostic device performs software repair on the diagnostic software according to the repair file in the directory specified by the target software upgrade package.
2. The method according to claim 1, characterized in that The step of generating a target software upgrade package of the diagnostic software based on the missing information message comprises: Statistically analyzing the missing information message to obtain missing file information contained in the missing information message; Based on the missing file information, generating a repair file for the diagnostic software; The repair file is saved in the specified directory of the initial software upgrade package generated in the cloud to synthesize the target software upgrade package of the diagnostic software.
3. The method according to claim 1, characterized in that The method further comprises: When the target software upgrade package is updated, statistical analysis is performed again on the received missing information messages to obtain statistical analysis results; The repair file is updated according to the statistical analysis result to obtain an updated repair file.
4. A method for repairing diagnostic software, characterized in that: The repair method of the diagnostic software is applied to a diagnostic device, and the method comprises: Sending a missing information message to the cloud, so that the cloud generates a target software upgrade package of the diagnostic software based on the missing information message, wherein a repair file of the diagnostic software is stored in a designated directory of the target software upgrade package; Receive the target software upgrade package sent by the cloud, and perform software repair on the diagnostic software through the repair file in the directory specified by the target software upgrade package.
5. The method according to claim 4, characterized in that The step of receiving the target software upgrade package sent by the cloud and performing software repair on the diagnostic software using the repair file in the specified directory of the target software upgrade package includes: Receiving the target software upgrade package sent by the cloud, performing software upgrade on the local initial diagnostic software through the target software upgrade package to obtain the target diagnostic software, wherein a repair file is stored in a designated directory of the target diagnostic software; When the target diagnostic software has missing files, the repair file is copied to the target folder where the missing files occur through a preset script, and the target diagnostic software is repaired using the copied repair file.
6. The method according to claim 4, characterized in that The method further comprises: When a file is missing in the target diagnostic software, a missing information message is generated according to the file missing in the target diagnostic software, and the missing information message is sent to the cloud.
7. The method according to claim 4, characterized in that The method further comprises: When a file is missing in the target diagnostic software, a file missing prompt message is provided to the target user through the display interface of the target diagnostic software.
8. A repair device for diagnostic software, characterized in that: The device comprises: A message receiving module, used for receiving a missing information message of the diagnostic software sent by the diagnostic device; A file generation module, used to generate a target software upgrade package of the diagnostic software based on the missing information message, wherein a repair file of the diagnostic software is stored in a designated directory of the target software upgrade package; The software repair module is used to send the target software upgrade package to the diagnostic device, and the diagnostic device performs software repair on the diagnostic software according to the repair file in the specified directory of the target software upgrade package.
9. A diagnostic software repair device, characterized in that: The device comprises: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the computer program is configured to implement the steps of the repair method of the diagnostic software according to any one of claims 1 to 7.
10. A storage medium, characterized in that: The storage medium is a computer-readable storage medium, and a computer program is stored on the storage medium. When the computer program is executed by a processor, the steps of the repair method of the diagnostic software as described in any one of claims 1 to 7 are implemented.
Citation Information
Cited By
Information processing method in vehicle and vehicle
CN119861684A
Vehicle diagnosis method, device, equipment and medium
CN119937523A
