Electronic control module software refresh method and system
By acquiring and analyzing cloud data to automatically refresh the electronic control module software, it solves the problems of cumbersome operations and data loss in traditional methods, and achieves an efficient and reliable software update process.
Patent Information
- Application Number
- CN202410986171.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-23
- Publication Date
- 2024-10-29
- Estimated Expiration
- 2044-07-23
AI Technical Summary
The existing electronic control module software refresh method relies on traditional physical media transmission and manual operation, resulting in cumbersome operations, update failures, and data loss, which affects the efficiency and reliability of software refresh.
By obtaining the latest version information of the target electronic control module software, obtaining the latest version data from the cloud server, performing filtering and analysis to be refreshed, system backup, version refresh, status monitoring, parameter optimization and exception rollback, realizing automated and intelligent software refresh process.
It improves the security, stability and performance of software refresh, ensures the accuracy and efficiency of updates, reduces data loss and waste of network resources, and improves the success rate and overall performance of software updates.
Smart Images

Figure CN118550557B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of computer processing technology, and in particular to a method and system for refreshing software in an electronic control module. Background Technology
[0002] In recent years, with the development of cloud computing and remote control technologies, some new methods for updating electronic control module software have begun to attract attention. These methods, mainly based on network communication and remote control technologies, enable remote online updates of vehicle software without manual intervention, thus achieving automation and intelligence in software updates. In automotive and other electronic control systems, due to continuous vehicle updates and functional expansions, software upgrades have become a crucial means of ensuring vehicle performance and safety. However, existing electronic control module software updates primarily rely on traditional physical media transmission and manual operation. This often requires storing update files on physical media and then manually updating via the vehicle's OBD interface or dedicated equipment. This method is not only cumbersome but also prone to update failures and data loss, thus affecting the efficiency and reliability of software updates. Summary of the Invention
[0003] Therefore, the present invention needs to provide an electronic control module software refresh method and system to solve at least one of the above-mentioned technical problems.
[0004] To achieve the above objectives, an electronic control module software refresh method includes the following steps:
[0005] Step S1: Obtain the target electronic control module software, and obtain the latest version information data of the target electronic control module software by retrieving the latest version information data of the target module software from the cloud server; based on the latest version information data of the target module software, perform a filter analysis on the target electronic control module software to be refreshed, and obtain the electronic control module software to be refreshed;
[0006] Step S2: Perform a system backup of the electronic control module software to be refreshed to obtain the backup software of the electronic control module to be refreshed; refresh the software version of the electronic control module software to be refreshed based on the latest version information data of the target module software and record it to generate the target electronic control module software version refresh process; monitor the refresh status anomaly of the target electronic control module software version refresh process to obtain the normal process and the abnormal process of the module software version refresh.
[0007] Step S3: When the target electronic control module software version refresh process is determined to be a normal process, a version refresh impact analysis is performed on the normal process to obtain the influencing factors of the network status of the module software version refresh. Based on the influencing factors of the network status of the module software version refresh, the refresh parameters of the normal process are adjusted and optimized to generate a set of optimized parameters for the module software version refresh, so as to execute the corresponding electronic control module software refresh process.
[0008] Step S4: If the target electronic control module software version refresh process is determined to be an abnormal process, then the abnormal process is rolled back and restored based on the backup software to be refreshed of the electronic control module to generate the electronic control module to be refreshed rollback software; the electronic control module to be refreshed rollback software is iteratively refreshed and anomaly monitored again until it is determined to be a normal process of module software version refresh.
[0009] This invention first obtains the target electronic control module software, providing a foundational software source for subsequent software updates. Second, by establishing remote communication with a cloud server and retrieving the latest version information of the target electronic control module software, subsequent processing can stay informed of the software's latest developments. This crucial step ensures the target electronic control module receives the latest software version in real time, thereby improving the security, stability, and performance of subsequent processing and providing fundamental data support for the continuous operation of subsequent version change processes. Simultaneously, by analyzing and filtering the target electronic control module software based on its latest version information, it can specifically identify which modules need updating, improving the accuracy and efficiency of updates. This helps avoid unnecessary update operations, saving system administrators time and effort, while ensuring the accuracy and effectiveness of update operations, thus guaranteeing the stability and security of the target electronic control module. Secondly, by performing a system backup of the electronic control module software to be updated, the current state and data of the software are completely backed up. This ensures a rapid restoration to the original state during the update process, preventing data loss or system damage. The importance of this step lies in providing a secure and reliable data foundation for subsequent version updates, thereby guaranteeing the stability and availability of the target electronic control module software during the update process. The software version of the electronic control module software to be updated is then updated based on the latest version information of the target module software, and the update process is recorded in real time, generating a detailed update log. This step helps ensure the effectiveness and integrity of the update process, while reducing data transmission volume and time costs, improving the efficiency and reliability of the target electronic control module software update. Finally, by monitoring the update status for anomalies during the update process, the degree of anomalies is quantified. Based on whether the degree of anomaly exceeds a set threshold, the normal progress of the update process is determined. This step helps automate the detection and handling of anomalies during the update process, improving the efficiency and reliability of the target electronic control module software update management, thereby ensuring the smooth completion of the update process and stable software version updates. Then, if the target electronic control module software version refresh process is determined to be a normal refresh process, performing a version refresh impact analysis on this normal process helps identify the factors influencing the network status. This analysis helps understand the relationship between the network status and the refresh process, providing targets and directions for subsequent optimization. By identifying these influencing factors, refresh strategies can be adjusted in a targeted manner to improve refresh efficiency and success rate.By adjusting and optimizing refresh parameters based on factors influencing network conditions during the normal refresh process of the module software version, an optimized parameter set suitable for the current network state is generated. The purpose of this step is to adjust refresh parameters in real time according to changes in network conditions to maximize the efficiency and success rate of the refresh process. A corresponding refresh control strategy is then generated based on the optimized parameter set. This step aims to formulate specific control strategies for the refresh process based on the optimized parameter set to achieve the best refresh effect. Execution of the refresh control strategy allows for real-time adjustments to the refresh process's behavior according to network conditions, ensuring smooth software version refresh and minimizing network resource waste and refresh failure rates, thereby improving the success rate of software updates. Finally, if the target electronic control module software version refresh process is determined to be an abnormal process, a software rollback recovery is performed. The key to this step is to roll back the abnormal software to a matching backup state, thereby restoring the software version to a normal state and ensuring the stability and reliability of the refreshed module software. By iteratively refreshing and monitoring the electronic control module software to be refreshed and rolled back, the purpose of this step is to confirm that the module software version refresh has returned to the normal process after multiple iterations and anomaly monitoring, thereby ensuring the stable operation of the target electronic control module software. In this way, through continuous iteration and monitoring, the normality and reliability of the software version refresh process can be ensured, and the overall performance of the target electronic control module software can also be improved, thereby avoiding the loss of software data.
[0010] Preferably, the present invention also provides an electronic control module software refresh system for executing the electronic control module software refresh method described above, the electronic control module software refresh system comprising:
[0011] The software refresh screening and analysis module is used to acquire the target electronic control module software and obtain the latest version information data of the target electronic control module software by retrieving the latest version information data of the target electronic control module software from the cloud server; based on the latest version information data of the target electronic control module software, the refresh screening and analysis of the target electronic control module software is performed to obtain the electronic control module software to be refreshed;
[0012] The software version refresh status anomaly monitoring module is used to perform system backup of the electronic control module software to be refreshed, so as to obtain the backup software of the electronic control module to be refreshed; to refresh the software version of the electronic control module software to be refreshed based on the latest version information data of the target module software and record it, so as to generate the target electronic control module software version refresh process; and to monitor the refresh status anomaly of the target electronic control module software version refresh process, so as to obtain the normal process and the abnormal process of the module software version refresh.
[0013] The software version normal refresh processing module is used to determine that when the software version refresh process of the target electronic control module is a normal software version refresh process, it performs a version refresh impact analysis on the normal software version refresh process to obtain the influencing factors of the network status of the software version refresh; based on the influencing factors of the network status of the software version refresh, it adjusts and optimizes the refresh parameters of the normal software version refresh process to generate a set of optimized software version refresh parameters for executing the corresponding electronic control module software refresh process.
[0014] The software version abnormal refresh and rollback monitoring module is used to determine that when the software version refresh process of the target electronic control module is an abnormal process, it performs software rollback and recovery based on the backup software of the electronic control module to be refreshed to generate the electronic control module to be refreshed rollback software; it then iteratively refreshes and monitors the electronic control module to be refreshed rollback software again until it is determined to be a normal process of software version refresh.
[0015] In summary, this invention provides an electronic control module software refresh system. This system comprises a software refreshable screening and analysis module, a software version refresh status anomaly monitoring module, a normal software version refresh processing module, and a software version abnormal refresh rollback monitoring module. It can implement any of the electronic control module software refresh methods described in this invention. It combines the operations of computer programs running on various modules to achieve an electronic control module software refresh method. The internal structure of the system cooperates with each other, which greatly reduces repetitive work and manpower input, and can quickly and effectively provide a more accurate and efficient electronic control module software refresh process, thereby simplifying the operation flow of the electronic control module software refresh system. Attached Figure Description
[0016] Other features, objects, and advantages of the invention will become more apparent from the following detailed description of non-limiting embodiments with reference to the accompanying drawings:
[0017] Figure 1 This is a flowchart illustrating the steps of the electronic control module software refresh method of the present invention;
[0018] Figure 2 for Figure 1 A detailed flowchart of step S1;
[0019] Figure 3 for Figure 2 A detailed flowchart of step S13. Detailed Implementation
[0020] The technical method of the present invention will now be clearly and completely described with reference to the accompanying drawings. Obviously, the described embodiments are only some, not all, of the embodiments of the present invention. All other embodiments obtained by those skilled in the art based on the embodiments of the present invention without inventive effort are within the scope of protection of the present invention.
[0021] Furthermore, the accompanying drawings are merely illustrative of the invention and are not necessarily drawn to scale. The same reference numerals in the drawings denote the same or similar parts, and therefore repeated descriptions of them will be omitted. Some block diagrams shown in the drawings are functional entities and do not necessarily correspond to physically or logically independent entities. These functional entities can be implemented in software, in one or more hardware modules or integrated circuits, or in different network and / or processor methods and / or microcontroller methods.
[0022] It should be understood that although the terms "first," "second," etc., may be used herein to describe various units, these units should not be limited by these terms. These terms are used merely to distinguish one unit from another. For example, without departing from the scope of the exemplary embodiments, a first unit may be referred to as a second unit, and similarly, a second unit may be referred to as a first unit. The term "and / or" as used herein includes any and all combinations of one or more of the associated listed items.
[0023] To achieve the above objectives, please refer to Figures 1 to 3 This invention provides a method for refreshing the software of an electronic control module, the method comprising the following steps:
[0024] Step S1: Obtain the target electronic control module software, and obtain the latest version information data of the target electronic control module software by retrieving the latest version information data of the target module software from the cloud server; based on the latest version information data of the target module software, perform a filter analysis on the target electronic control module software to be refreshed, and obtain the electronic control module software to be refreshed;
[0025] Step S2: Perform a system backup of the electronic control module software to be refreshed to obtain the backup software of the electronic control module to be refreshed; refresh the software version of the electronic control module software to be refreshed based on the latest version information data of the target module software and record it to generate the target electronic control module software version refresh process; monitor the refresh status anomaly of the target electronic control module software version refresh process to obtain the normal process and the abnormal process of the module software version refresh.
[0026] Step S3: When the target electronic control module software version refresh process is determined to be a normal process, a version refresh impact analysis is performed on the normal process to obtain the influencing factors of the network status of the module software version refresh. Based on the influencing factors of the network status of the module software version refresh, the refresh parameters of the normal process are adjusted and optimized to generate a set of optimized parameters for the module software version refresh, so as to execute the corresponding electronic control module software refresh process.
[0027] Step S4: If the target electronic control module software version refresh process is determined to be an abnormal process, then the abnormal process is rolled back and restored based on the backup software to be refreshed of the electronic control module to generate the electronic control module to be refreshed rollback software; the electronic control module to be refreshed rollback software is iteratively refreshed and anomaly monitored again until it is determined to be a normal process of module software version refresh.
[0028] In the embodiments of this invention, please refer to Figure 1 The diagram shown is a flowchart illustrating the steps of the electronic control module software refresh method of the present invention. In this example, the electronic control module software refresh method includes the following steps:
[0029] Step S1: Obtain the target electronic control module software, and obtain the latest version information data of the target electronic control module software by retrieving the latest version information data of the target module software from the cloud server; based on the latest version information data of the target module software, perform a filter analysis on the target electronic control module software to be refreshed, and obtain the electronic control module software to be refreshed;
[0030] This invention provides embodiments of the method for obtaining target electronic control module software by downloading, copying, or requesting copies of the corresponding module software from internal software repositories, external suppliers, cloud servers, or other sources. Simultaneously, the electronic control module sends a connection establishment request to the cloud server using appropriate communication protocols and security mechanisms to establish remote communication between the electronic control module and the cloud server. By using this remote communication, the latest version information of the target electronic control module software, including the latest version number, release date, and update content, is obtained from the cloud server, thus yielding the latest version information data of the target module software. Secondly, by combining the latest version information of the target module software with the obtained data, a comparative analysis is performed on the current version information of the corresponding target electronic control module software. This includes comparing version numbers, checking update content, and evaluating functional differences to determine whether the corresponding target electronic control module software needs to be changed. An impact assessment algorithm is then used to analyze the stability, security, and performance of the corresponding version-changed software to evaluate the degree of impact of the new version change on system stability, security, and performance. Next, a risk assessment algorithm is used to evaluate the corresponding version-changed software based on the analyzed impact factors, comprehensively considering the impact of the new version on system stability, security, and performance to assess the overall risk of the version change on the module software. Finally, a preset change risk threshold is used to compare the quantitatively calculated version change risk assessment value. If the value is greater than or equal to the preset change risk threshold, it indicates that the corresponding module software change has a significant impact on the electronic control module software, and a refresh is required. Otherwise, the impact is small or no refresh is needed. This process filters out version-changed software that is greater than or equal to the preset change risk threshold, ultimately resulting in the electronic control module software to be refreshed.
[0031] Step S2: Perform a system backup of the electronic control module software to be refreshed to obtain the backup software of the electronic control module to be refreshed; refresh the software version of the electronic control module software to be refreshed based on the latest version information data of the target module software and record it to generate the target electronic control module software version refresh process; monitor the refresh status anomaly of the target electronic control module software version refresh process to obtain the normal process and the abnormal process of the module software version refresh.
[0032] This invention utilizes appropriate backup methods and tools within a computer system to back up the corresponding electronic control module software to be updated. This copies and stores all relevant files, configuration information, and system status of the software to be updated, ensuring a rapid restoration to its original state during the update process and preventing data loss or system damage. This results in a backup of the electronic control module software to be updated. Simultaneously, by combining the latest version information of the target module software obtained through analysis with the built-in software version information of the corresponding electronic control module software to be updated, changes are identified. Incremental update packages are generated based on these changes and applied to the software to complete the update. The update process is recorded in real time, generating a detailed record of the update process, thus generating the target electronic control module software version update process. Then, the corresponding target electronic control module software version refresh process is monitored in real time using monitoring software to monitor the status information and progress indicators during the software refresh process, such as the percentage of refresh completion, refresh speed, and whether errors occur. The corresponding target electronic control module software version refresh process is analyzed using an anomaly evaluation algorithm to analyze and compare the status and progress during the refresh process according to predefined anomaly indicators and rules, identify the occurrence of anomalies, and quantify the corresponding anomaly degree. Furthermore, based on the quantified anomaly degree, the corresponding target electronic control module software version refresh process is classified as a normal software version refresh process (when the anomaly degree is less than a preset threshold) or an abnormal software version refresh process (when the anomaly degree is greater than or equal to a preset threshold).
[0033] Step S3: When the target electronic control module software version refresh process is determined to be a normal process, a version refresh impact analysis is performed on the normal process to obtain the influencing factors of the network status of the module software version refresh. Based on the influencing factors of the network status of the module software version refresh, the refresh parameters of the normal process are adjusted and optimized to generate a set of optimized parameters for the module software version refresh, so as to execute the corresponding electronic control module software refresh process.
[0034] In this embodiment of the invention, if the software version refresh process of the target electronic control module is determined to be a normal software version refresh process, network load data during the software version refresh process is collected, including indicators such as network bandwidth utilization and data transmission rate. Network congestion data during the software version refresh process is also collected, including indicators such as network latency, packet loss rate, and queuing delay. At the same time, the network load and network congestion conditions are combined with the analysis results and an impact assessment algorithm is used to evaluate and analyze the corresponding normal software version refresh process to find the correlation and degree of influence between them. The key influencing factors of network status on the software version refresh process are identified, including network bandwidth, latency, and stability, thereby obtaining the network status influencing factors of the software version refresh. Then, by analyzing the factors affecting network conditions (including network bandwidth, latency, stability, etc.) based on changes in network conditions, the parameters in the software version refresh process, such as refresh speed and refresh frequency, are adjusted. This allows for the analysis of refresh control strategies for the normal refresh process of the corresponding module software version, determining a refresh control strategy suitable for the current system state, and adjusting the refresh process behavior in real time according to network conditions to ensure the smooth progress of software version refresh. Finally, a module software version refresh control strategy is generated, which includes executing the corresponding module software refresh process under the control of refresh optimization speed and refresh optimization frequency.
[0035] Step S4: If the target electronic control module software version refresh process is determined to be an abnormal process, then the abnormal process is rolled back and restored based on the backup software to be refreshed of the electronic control module to generate the electronic control module to be refreshed rollback software; the electronic control module to be refreshed rollback software is iteratively refreshed and anomaly monitored again until it is determined to be a normal process of module software version refresh.
[0036] If the software version refresh process of the target electronic control module is determined to be an abnormal process, detailed information about the software refresh anomaly is collected, including the specific circumstances of the anomaly, possible causes, and related logs or error codes. Specialized software tools or analysis methods are used to locate the abnormal module software during the refresh process, accurately identifying the software component causing the anomaly. Simultaneously, a backup software matching the function of the anomaly-located software is found, and the corresponding anomaly-located software is rolled back and restored using the matched backup software. The backup software is then loaded into the target electronic control module to replace the anomaly-located software, restoring the module software system to a normal state. Then, the electronic control module software obtained after the rollback and restoration is iteratively refreshed again to update the latest version of the corresponding software, ensuring normal loading and operation of the software. Anomaly monitoring is performed again during the refresh process to monitor the software refresh operation in real time and ensure that no further anomalies occur. If anomalies occur, they need to be handled promptly and a recovery operation is performed again. This iterative refresh and anomaly monitoring continues until the process is determined to be a normal software version refresh process.
[0037] This invention first obtains the target electronic control module software, providing a foundational software source for subsequent software updates. Second, by establishing remote communication with a cloud server and retrieving the latest version information of the target electronic control module software, subsequent processing can stay informed of the software's latest developments. This crucial step ensures the target electronic control module receives the latest software version in real time, thereby improving the security, stability, and performance of subsequent processing and providing fundamental data support for the continuous operation of subsequent version change processes. Simultaneously, by analyzing and filtering the target electronic control module software based on its latest version information, it can specifically identify which modules need updating, improving the accuracy and efficiency of updates. This helps avoid unnecessary update operations, saving system administrators time and effort, while ensuring the accuracy and effectiveness of update operations, thus guaranteeing the stability and security of the target electronic control module. Secondly, by performing a system backup of the electronic control module software to be updated, the current state and data of the software are completely backed up. This ensures a rapid restoration to the original state during the update process, preventing data loss or system damage. The importance of this step lies in providing a secure and reliable data foundation for subsequent version updates, thereby guaranteeing the stability and availability of the target electronic control module software during the update process. The software version of the electronic control module software to be updated is then updated based on the latest version information of the target module software, and the update process is recorded in real time, generating a detailed update log. This step helps ensure the effectiveness and integrity of the update process, while reducing data transmission volume and time costs, improving the efficiency and reliability of the target electronic control module software update. Finally, by monitoring the update status for anomalies during the update process, the degree of anomalies is quantified. Based on whether the degree of anomaly exceeds a set threshold, the normal progress of the update process is determined. This step helps automate the detection and handling of anomalies during the update process, improving the efficiency and reliability of the target electronic control module software update management, thereby ensuring the smooth completion of the update process and stable software version updates. Then, if the target electronic control module software version refresh process is determined to be a normal refresh process, performing a version refresh impact analysis on this normal process helps identify the factors influencing the network status. This analysis helps understand the relationship between the network status and the refresh process, providing targets and directions for subsequent optimization. By identifying these influencing factors, refresh strategies can be adjusted in a targeted manner to improve refresh efficiency and success rate.By adjusting and optimizing refresh parameters based on factors influencing network conditions during the normal refresh process of the module software version, an optimized parameter set suitable for the current network state is generated. The purpose of this step is to adjust refresh parameters in real time according to changes in network conditions to maximize the efficiency and success rate of the refresh process. A corresponding refresh control strategy is then generated based on the optimized parameter set. This step aims to formulate specific control strategies for the refresh process based on the optimized parameter set to achieve the best refresh effect. Execution of the refresh control strategy allows for real-time adjustments to the refresh process's behavior according to network conditions, ensuring smooth software version refresh and minimizing network resource waste and refresh failure rates, thereby improving the success rate of software updates. Finally, if the target electronic control module software version refresh process is determined to be an abnormal process, a software rollback recovery is performed. The key to this step is to roll back the abnormal software to a matching backup state, thereby restoring the software version to a normal state and ensuring the stability and reliability of the refreshed module software. By iteratively refreshing and monitoring the electronic control module software to be refreshed and rolled back, the purpose of this step is to confirm that the module software version refresh has returned to the normal process after multiple iterations and anomaly monitoring, thereby ensuring the stable operation of the target electronic control module software. In this way, through continuous iteration and monitoring, the normality and reliability of the software version refresh process can be ensured, and the overall performance of the target electronic control module software can also be improved, thereby avoiding the loss of software data.
[0038] Preferably, step S1 includes the following steps:
[0039] Step S11: Obtain the target electronic control module software;
[0040] Step S12: Establish remote communication with the cloud server and obtain the latest version information data of the target electronic control module software from the cloud server through remote communication to obtain the latest version information data of the target module software;
[0041] Step S13: Based on the latest version information data of the target module software, perform version comparison and change analysis on the target electronic control module software to obtain the target electronic control module version change software;
[0042] Step S14: Based on the latest version information data of the target module software, conduct a version change risk assessment analysis on the target electronic control module software to obtain the target module software version change risk assessment value;
[0043] Step S15: Based on the risk assessment value of the target module software version change, perform a screening analysis on the target electronic control module version change software to be refreshed, and obtain the electronic control module software to be refreshed.
[0044] As an embodiment of the present invention, reference Figure 2 As shown, Figure 1 A detailed flowchart of step S1 is shown below. In this embodiment, step S1 includes the following steps:
[0045] Step S11: Obtain the target electronic control module software;
[0046] In this embodiment of the invention, the target electronic control module software is obtained by downloading, copying, or requesting a copy of the corresponding module software from an internal software repository, an external supplier, a cloud server, or other sources.
[0047] Step S12: Establish remote communication with the cloud server and obtain the latest version information data of the target electronic control module software from the cloud server through remote communication to obtain the latest version information data of the target module software;
[0048] In this embodiment of the invention, the electronic control module sends a connection establishment request to the cloud server using the corresponding communication protocol and security mechanism to establish remote communication between the electronic control module and the cloud server. By using remote communication, the latest version information of the target electronic control module software is obtained from the cloud server, including the latest version number, release date, update content, etc., and finally the latest version information data of the target module software is obtained.
[0049] Step S13: Based on the latest version information data of the target module software, perform version comparison and change analysis on the target electronic control module software to obtain the target electronic control module version change software;
[0050] This invention embodiment compares and analyzes the current version information of the target electronic control module software by combining the latest version information data of the target module software obtained, including comparing version numbers, checking update content, and evaluating functional differences, in order to determine whether the corresponding target electronic control module software needs to be changed, and finally obtains the target electronic control module version change software.
[0051] Step S14: Based on the latest version information data of the target module software, conduct a version change risk assessment analysis on the target electronic control module software to obtain the target module software version change risk assessment value;
[0052] This invention collects information related to the latest version of software, including but not limited to version number, release notes, and change logs. Data mining algorithms are used to analyze this information in detail to identify changes that significantly impact system stability, security, and performance. Simultaneously, an impact assessment algorithm is used to evaluate the stability, security, and performance of the corresponding target electronic control module software version change. This assesses the degree of impact of the new version change on system stability, security, and performance, evaluating its impact factors. Then, by combining the obtained impact factors, a risk assessment algorithm is used to evaluate the corresponding target electronic control module software version change. This comprehensively considers the impact of the new version on system stability, security, and performance, assessing the overall risk of the version change on the module software, and ultimately obtaining the target module software version change risk assessment value.
[0053] Step S15: Based on the risk assessment value of the target module software version change, perform a screening analysis on the target electronic control module version change software to be refreshed, and obtain the electronic control module software to be refreshed.
[0054] In this embodiment of the invention, a preset change risk assessment threshold is used to compare and judge the quantitatively calculated change risk assessment value of the target module software version. If it is greater than or equal to the preset change risk assessment threshold, it means that the corresponding module software change has a significant impact on the electronic control module software, and it needs to be refreshed. Otherwise, the impact is small or no refresh is needed. This is to filter out the target electronic control module version change software that is greater than or equal to the preset change risk assessment threshold, and finally obtain the electronic control module software to be refreshed.
[0055] This invention first obtains the target electronic control module software, providing a foundational software source for subsequent software updates. Second, by establishing remote communication with a cloud server and retrieving the latest version information of the target electronic control module software, subsequent processing can stay informed of the software's latest developments. This crucial step ensures the target electronic control module receives the latest software version in real time, thereby improving the security, stability, and performance of subsequent processing and providing fundamental data support for the continuous operation of subsequent version change processes. Third, by performing version comparison and change analysis on the target electronic control module software based on the latest version information, module system administrators can comprehensively understand the differences and changes between software versions, better assessing the necessity and impact of software updates. This helps reduce risks during the software update process and ensures smooth updates, thus improving the reliability and stability of subsequent processing. Next, by conducting a version change risk assessment analysis on the target electronic control module software, a comprehensive evaluation of the risks and impacts of software updates can be achieved. This includes compatibility issues, stability problems, security issues, and performance degradation caused by the changes. This helps system administrators make informed decisions when updating software, minimizing problems during the update process and ensuring the stable operation of the target electronic control module. Finally, by performing a refresh screening analysis on the target electronic control module software version change risk assessment value, it is possible to specifically identify which modules need updating, thereby improving the accuracy and efficiency of updates. This helps avoid unnecessary update operations, saving system administrators time and effort, while ensuring the accuracy and effectiveness of update operations, thus providing a guarantee for the stability and security of the target electronic control module.
[0056] Preferably, step S13 includes the following steps:
[0057] Step S131: Extract version information from the target electronic control module software to obtain the original version information data of the target module software;
[0058] Step S132: Perform software matching analysis on the original version information data and the latest version information data of the target module software to obtain the original version information data and the latest matching version information data corresponding to each target module software;
[0059] Step S133: Perform version comparison and difference quantification calculation on the original version information data and the latest matching version information data corresponding to each target module software to obtain the difference score coefficient between the original version and the latest version of each target module software.
[0060] Step S134: Based on the difference scoring coefficient between the original version and the latest version of each target module software, the target electronic control module software is screened for version changes to obtain the target electronic control module version change software.
[0061] As an embodiment of the present invention, reference is made to... Figure 3 As shown, Figure 2 A detailed flowchart of step S13 is shown in this embodiment. Step S13 includes the following steps:
[0062] Step S131: Extract version information from the target electronic control module software to obtain the original version information data of the target module software;
[0063] This invention provides an embodiment of the invention that extracts the original version information data of the target electronic control module software from a software repository or version management system. This data includes information such as version number, release date, and update content, and finally obtains the original version information data of the target module software.
[0064] Step S132: Perform software matching analysis on the original version information data and the latest version information data of the target module software to obtain the original version information data and the latest matching version information data corresponding to each target module software;
[0065] This invention uses an information matching method to match the original version information data and the latest version information data of the target module software. This matching method includes comparing version numbers and release dates to determine the original version information and the latest matched version information of each target module software. Finally, the original version information data and the latest matched version information data of each target module software are obtained.
[0066] Step S133: Perform version comparison and difference quantification calculation on the original version information data and the latest matching version information data corresponding to each target module software to obtain the difference score coefficient between the original version and the latest version of each target module software.
[0067] This invention uses a difference quantification statistical method to quantify and calculate the original version information data and the latest matched version information data of each target module software obtained through matching analysis. This allows for a detailed analysis of the differences between the two versions, including changes in new features, fixed bugs, performance optimizations, etc., and quantifies the degree of difference between the original version and the latest version of the target module software. Finally, a difference score coefficient between the original version and the latest version of each target module software is obtained.
[0068] Step S134: Based on the difference scoring coefficient between the original version and the latest version of each target module software, the target electronic control module software is screened for version changes to obtain the target electronic control module version change software.
[0069] In this embodiment of the invention, the difference score coefficient between the original version and the latest version of each target module software obtained by quantitative calculation is compared with the parameter zero. If the difference score coefficient is greater than zero, it indicates that the corresponding module software version has been changed; otherwise, there is no change. The target electronic control module software is screened based on the difference score coefficient obtained by quantitative calculation to determine which module software needs to be changed, and finally the target electronic control module version change software is obtained.
[0070] This invention first extracts version information from the target electronic control module software. This allows for a detailed analysis of the current version information, including version number, release date, and functional characteristics, which is then integrated into structured data. This step facilitates a comprehensive understanding of the software versions currently used by the system, providing a foundation for subsequent software update and change analysis. Extracting the original version information ensures that software change analysis and comparison are based on accurate data, thus improving the accuracy and reliability of subsequent analysis. Secondly, by performing software matching analysis between the original and latest version information of the target module software, the correspondence between the original and latest versions of each target module software can be accurately determined. This step ensures that version change comparisons are based on correct data, avoiding data confusion or mismatches, and improving the accuracy and reliability of subsequent analysis. Accurately matching the original and latest version data allows for a more precise assessment of the changes and impacts brought about by software updates. Then, by comparing and quantifying the differences between the original and latest matching versions of each target module software, a detailed analysis of the differences between the two versions is performed. This includes changes in new features, bug fixes, performance optimizations, etc., and these differences are quantified into scoring coefficients. This step helps to comprehensively understand the degree of difference between versions, providing a quantitative basis for subsequent version change screening and risk assessment. Quantitative evaluation of differences allows for a more objective assessment of the necessity and impact of version changes. Finally, by screening the target electronic control module software for version changes based on the scoring coefficients between the original and latest versions of each target module software, it is possible to specifically identify which modules need updating and prioritize updates. This step facilitates more efficient version change screening, avoids unnecessary update operations, and saves time and resource costs. Precise screening ensures the accuracy and effectiveness of update operations, guaranteeing the stability and security of the target electronic control module.
[0071] Preferably, step S14 includes the following steps:
[0072] Step S141: Perform key function change mining analysis on the latest version information data of the target module software to obtain key function change information data of the latest version of the software;
[0073] This invention collects relevant information about the latest version of the software, including but not limited to version number, release notes, and change logs. This information can be obtained from the software development team, version control system, or release documents. Data mining algorithms are used to analyze this information in detail, with particular attention to changes in functionality. These changes involve the introduction of new functions, the modification or deletion of existing functions, and often have a significant impact on the stability, security, and performance of the system. Ultimately, the invention obtains key functional change information data for the latest version of the software.
[0074] Step S142: Based on the key function change information data of the latest version of the software, conduct a stability impact assessment analysis on the target electronic control module version change software to obtain the stability impact factor of the version change software system;
[0075] This invention uses an impact assessment algorithm to analyze the stability of the corresponding target electronic control module software version change by combining the key function change information data of the latest version of the software obtained through analysis. This is to assess the degree of impact of the new version change on system stability and determine the assessment indicators (including system crash rate, error rate, frequency of abnormal situations, etc.) to evaluate its impact factors on system stability, including system hardware environment, external dependencies, concurrency, software system availability, reliability, performance, etc., and finally obtain the impact factor of the version change software system stability.
[0076] Step S143: Based on the key function change information data of the latest version of the software, conduct a security impact assessment analysis on the target electronic control module version change software to obtain the system security impact factor of the version change software.
[0077] Similarly, this invention uses an impact assessment algorithm to evaluate the security of the corresponding target electronic control module version change software by combining the key function change information data of the latest version of the software obtained through analysis. This is to assess the degree of impact of the new version change on system security, including analyzing potential vulnerabilities, security vulnerability repairs, and security measure enhancements to identify key function changes related to system security, and evaluating the impact factors of these changes on system security, including security vulnerability repairs and the introduction of security enhancement functions, and finally obtaining the system security impact factor of the version change software.
[0078] Step S144: Based on the key function change information data of the latest version of the software, conduct a performance impact assessment analysis on the target electronic control module version change software to obtain the performance impact factor of the version change software;
[0079] Similarly, this invention uses an impact assessment algorithm to evaluate the performance of the corresponding target electronic control module version change software by combining the key function change information data of the latest version of the software obtained through analysis. This is to assess the degree of impact of the new version change on the software performance and determine the evaluation indicators (including indicators such as the response time, throughput, and resource utilization of the system) to evaluate and analyze its impact factors on the software performance, including performance improvement, performance degradation, or performance stability, and finally obtain the performance impact factor of the version change software.
[0080] Step S145: Based on the stability impact factor, security impact factor, and performance impact factor of the version-changed software system, conduct a version change risk assessment analysis on the target electronic control module software to obtain the target module software version change risk assessment value.
[0081] This invention combines the impact factors of version change software system stability, security, and performance obtained from analysis with a risk assessment algorithm to evaluate and analyze the version change software of the corresponding target electronic control module. This comprehensively considers the impact of the new version on system stability, security, and performance to assess the degree of impact of the version change on the overall risk of the module software, and finally obtains the risk assessment value of the target module software version change.
[0082] This invention first analyzes the key functional changes in the latest version of the target module software, enabling in-depth research into the changes and their impact on the module's functionality and performance. This step facilitates a comprehensive understanding of the major functional changes in the software update, including new features, functional improvements, and fixes for existing functional defects. Mining key functional change information provides detailed data support for subsequent version change impact assessments and risk assessments, offering a scientific basis for decision-making. Secondly, it conducts a stability impact assessment analysis of the target electronic control module software based on the key functional change information of the latest version. This assessment aims to determine the degree of impact of the version change on system stability, including introduced stability issues and known stability improvements. By evaluating the system's stability impact factors, a better understanding of the version change's impact on overall system stability can be achieved, allowing for appropriate measures to mitigate potential risks. Finally, it conducts a security impact assessment analysis of the target electronic control module software based on the key functional change information of the latest version. This assessment aims to determine the degree of impact of the version change on system security, including potential security vulnerability fixes and the introduction of security enhancement features. By assessing the security impact factors of the module software system, we can better understand the impact of version changes on the overall system security, and thus take necessary measures to ensure the security of the electronic control module software. Next, we conduct a performance impact assessment analysis of the target electronic control module software based on the key functional changes in the latest version. This assessment aims to determine the degree of impact of the version change on system performance, including performance improvements, degradations, and stability issues. By assessing the system's performance impact factors, we can better understand the impact of version changes on the overall system performance, and thus take necessary measures to optimize the module software's performance. Finally, we conduct a version change risk assessment analysis of the target electronic control module software based on the version change software system stability impact factor, version change software system security impact factor, and version change software performance impact factor. This assessment comprehensively considers the impact factors of stability, security, and performance to evaluate the degree of impact of version changes on the overall risk of the module software. Through version change risk assessment, we can gain a more comprehensive understanding of the potential risks of version changes and take corresponding measures to mitigate these risks, thereby ensuring the stability, security, and performance of the electronic control module software.
[0083] Preferably, step S142 includes the following steps:
[0084] Statistical analysis of the key function change information data of the latest version of the software is performed to obtain the set of key function change parameters of the latest version of the software.
[0085] This invention collects and organizes information on functional changes in the latest version of the software, including added, modified, and deleted functions. Statistical analysis is then performed on this information to identify key functional change parameters. These parameters are typically closely related to software performance and stability, and include parameters such as change type, scope of impact, and scale of change. The final result is a set of key functional change parameters for the latest version of the software.
[0086] Preferably, the correlation coefficient of the system stability of the target electronic control module version change software is statistically calculated based on the key function change parameter set of the latest version of the software, so as to obtain the change correlation coefficient between each key function change parameter and system stability;
[0087] This invention, through combining the analysis of the key function change parameter set of the latest software version, uses the correlation coefficient statistical method to statistically calculate the system stability of the corresponding target electronic control module version change software. This is done to calculate the correlation coefficient between each key function change parameter and system stability, reflecting the degree of impact of function changes on system stability and ensuring that the impact of function changes on system stability can be quantitatively assessed. Finally, the change correlation coefficient between each key function change parameter and system stability is obtained.
[0088] Preferably, the key function change parameter set of the latest version of the software is screened based on the change correlation coefficient between each key function change parameter and system stability to obtain the set of function change stability related parameters of the latest version of the software.
[0089] This invention embodiment judges and filters the correlation coefficients between the quantitatively calculated key function change parameters and system stability based on a preset correlation coefficient threshold. This allows for the selection of function change parameters that are highly correlated with the system stability of the target electronic control module version change software from the set of key function change parameters of the latest software version. It also helps to focus on function change parameters that have a significant impact on system stability, ultimately obtaining a set of parameters related to the stability of function changes in the latest software version.
[0090] Preferably, an impact assessment analysis is performed on the set of stability-related parameters for the latest version of the software to determine the magnitude of the impact of the changes on the stability-related parameters.
[0091] This invention uses an impact range statistical method to evaluate and analyze the impact range of specific parameters within the set of parameters related to the stability of the latest version of the software, in order to determine the degree and scope of the impact of the parameter change on system stability. At the same time, it comprehensively understands the impact of each function change parameter, and finally obtains the scope of the impact of the function change stability-related parameter change.
[0092] Preferably, the stability impact analysis of the target electronic control module version change software is conducted based on the magnitude of the impact range of the change in stability-related parameters of the functional change, and the stability impact factor of the version change software system is obtained.
[0093] This invention, through combining the impact range of functional change-related parameters obtained from analysis, uses an impact assessment algorithm to evaluate the system stability of the corresponding target electronic control module version change software. It comprehensively considers the impact range and weight of each functional change parameter to assess the overall system stability impact factor, including system hardware environment, external dependencies, concurrency, software system availability, reliability, and performance. This helps to fully understand the degree of impact of software version changes on system stability, ultimately yielding the version change software system stability impact factor.
[0094] This invention first performs statistical analysis of key function change parameters on the latest version of the software. This allows for detailed parameter statistics on changes to each key function within the target electronic control module software, including change type, scope of impact, and scale. This step aims to provide foundational data for subsequent stability assessments, ensuring a comprehensive consideration of the impact of version changes. Statistical analysis of key function change parameters provides a comprehensive understanding of the nature and scale of version changes, offering reliable data support for subsequent correlation analysis. Secondly, by calculating the correlation coefficients between the key function change parameters of the latest version of the software and the system stability of the target electronic control module, this invention quantifies the impact of different changes on system stability. This analysis helps identify which functional changes have a significant impact on system stability, providing a basis for subsequent parameter selection and impact assessment. Then, after calculating the correlation coefficients between each key function change parameter and system stability, the key function change parameter set of the latest version of the software undergoes relevant parameter screening. This process identifies parameters with high correlation to system stability and integrates them to obtain a set of stability-related parameters for the latest version of the software, enabling targeted subsequent stability impact assessments. Next, an impact assessment analysis is conducted on the stability-related parameter set of the latest software version's functional changes. This analysis aims to determine the magnitude of the impact of each functional change on system stability, including the affected modules and the interrelationships between functional modules. By assessing the impact range of functional changes, the overall impact of version changes on system stability can be more accurately grasped. Finally, a stability impact assessment analysis is performed on the target electronic control module software version change based on the magnitude of the impact range of the functional change stability-related parameters. By comprehensively considering the degree and scope of the impact of each functional change on system stability, an impact factor on the system stability of the version-changed software can be obtained. This assessment helps to more comprehensively understand the impact of version changes on the system stability within the target electronic control module software, thereby enabling the adoption of necessary measures to maintain the stability of the target electronic control module software.
[0095] Preferably, step S2 includes the following steps:
[0096] Step S21: Perform a system backup of the electronic control module software to be refreshed to obtain the backup software of the electronic control module to be refreshed;
[0097] This invention uses a suitable backup method and tools within a computer system to back up the corresponding electronic control module software to be refreshed. This copies and stores all relevant files, configuration information, and system status of the software to be refreshed, ensuring that it can be quickly restored to its original state during the refresh process and avoiding data loss or system damage. The result is a backup of the electronic control module software to be refreshed.
[0098] Step S22: Based on the latest version information data of the target module software, perform software version matching processing on the electronic control module software to be refreshed to obtain the latest version information data of the module software to be refreshed;
[0099] This invention compares and matches the software version information of the corresponding electronic control module software to be updated with the latest version information data of the target module software obtained by analysis, so as to identify the differences and compatibility between the software to be updated and the latest version, and ensure that the software version that is compatible with the target module and has the latest functions is selected, and finally obtains the latest version information data of the module software to be updated.
[0100] Step S23: Based on the latest version information of the software of the electronic control module to be refreshed, use an incremental update algorithm to refresh the software version of the electronic control module to be refreshed and record it to generate the target electronic control module software version refresh process;
[0101] This invention uses an incremental update algorithm to match and update the electronic control module software with the latest version change information corresponding to the latest version information data of the software to be updated. This identifies the changed parts in the electronic control module software and generates an incremental update package based on these changes. The package is then applied to the software to be updated to complete the version update, and the update process is recorded in real time to generate a detailed record of the update process. Finally, the update process of the target electronic control module software is generated.
[0102] Step S24: Monitor the refresh status and progress of the target electronic control module software version refresh process to obtain the refresh status and progress of the target module software version.
[0103] This invention uses monitoring software to monitor the software version update process of the corresponding target electronic control module in real time, in order to monitor the status information and progress indicators during the software update process, such as the percentage of update completion, update speed, whether errors occur, etc., to track the update status and progress in real time, and finally obtain the update status and progress of the target module software version.
[0104] Step S25: Based on the target module software version refresh status and the target module software version refresh progress, perform anomaly assessment and analysis on the target electronic control module software version refresh process to obtain the anomaly degree coefficient of the target module software refresh process;
[0105] This invention combines the monitored target module software version refresh status and progress with an anomaly assessment algorithm to analyze the corresponding target electronic control module software version refresh process. Based on predefined anomaly indicators and rules, the status and progress during the refresh process are analyzed and compared, and the occurrence of anomalies is identified and the corresponding degree of anomaly is quantified. Finally, the anomaly degree coefficient of the target module software refresh process is obtained.
[0106] Step S26: Compare and judge the abnormality coefficient of the target module software refresh process according to the preset abnormality threshold. When the abnormality coefficient of the target module software refresh process is less than the preset abnormality threshold, the corresponding target electronic control module software version refresh process is judged as a normal module software version refresh process; when the abnormality coefficient of the target module software refresh process is greater than or equal to the preset abnormality threshold, the corresponding target electronic control module software version refresh process is judged as an abnormal module software version refresh process.
[0107] In this embodiment of the invention, an anomaly degree coefficient of the target module software refresh process obtained by quantitative calculation is compared and judged by using a pre-set anomaly threshold. If the anomaly degree coefficient of the target module software refresh process is less than the preset anomaly threshold, it indicates that there is no anomaly in the target electronic control module software version refresh process corresponding to the anomaly degree coefficient, and the corresponding target electronic control module software version refresh process is judged as a normal module software version refresh process. If the anomaly degree coefficient of the target module software refresh process is greater than or equal to the preset anomaly threshold, it indicates that there is an anomaly in the target electronic control module software version refresh process corresponding to the anomaly degree coefficient, and the corresponding target electronic control module software version refresh process is judged as an abnormal module software version refresh process.
[0108] This invention first performs a system backup of the electronic control module software to be updated. This completes the backup of the current state and data of the software, ensuring a rapid restoration to its original state during the update process and preventing data loss or system damage. This step is crucial for providing a secure and reliable data foundation for subsequent version updates, thus guaranteeing the stability and availability of the target electronic control module software during the update process. Secondly, by performing software version matching processing on the target electronic control module software based on the latest version information, this ensures the selection of a software version compatible with the target module and possessing the latest functionalities. This step aims to ensure that the updated software is compatible with the target module and has the latest features, thereby improving the performance and functionality of the target electronic control module software. Simultaneously, by using an incremental update algorithm based on the latest version information of the target electronic control module software, the software version is updated, and the update process is recorded in real time, generating a detailed update log. This step helps ensure the effectiveness and completeness of the update process, while reducing data transmission volume and time costs, improving the efficiency and reliability of the target electronic control module software update. Then, by monitoring the refresh status and progress of the target electronic control module software version refresh process, the status and progress of the refresh process can be monitored in real time and timely feedback can be given to the operators. This step helps to ensure the smooth progress of the refresh process and allows for timely handling of any abnormalities, ensuring the stability and reliability of the target electronic control module software refresh. Next, anomaly assessment and analysis of the target electronic control module software version refresh process is performed based on the refresh status and progress of the target module software to quantify the degree of abnormality in the refresh process. This step helps to promptly detect and identify abnormalities in the refresh process, providing a basis and reference for subsequent anomaly handling, thereby ensuring the smooth progress of the target electronic control module software refresh. Finally, by comparing the anomaly degree coefficient according to a preset anomaly threshold, it can be determined whether the refresh process is proceeding normally based on whether the anomaly degree coefficient exceeds the set threshold. This step helps to automate the anomaly detection and handling of the refresh process, improving the efficiency and reliability of the target electronic control module software refresh management, thereby ensuring the smooth completion of the refresh process and the stable update of the software version.
[0109] Preferably, step S3 includes the following steps:
[0110] Step S31: When it is determined that the software version refresh process of the target electronic control module is a normal software version refresh process, a refresh network load analysis is performed on the normal software version refresh process to obtain network load status data of the software version refresh process.
[0111] If the software version refresh process of the target electronic control module is determined to be a normal software version refresh process, network load data during the software version refresh process is collected, including indicators such as network bandwidth utilization and data transmission rate. The average, maximum, minimum, and fluctuation values of the network load are calculated using statistical methods to understand the consumption of network resources during the normal software version refresh process, and finally, network load status data during the software version refresh process is obtained.
[0112] Step S32: Perform a refresh network congestion assessment and analysis on the normal process of software version refresh to obtain network congestion data during the software version refresh process;
[0113] This invention collects network congestion data during the software version update process, including indicators such as network latency, packet loss rate, and queuing delay. By analyzing this data, the occurrence time, frequency, and duration of network congestion can be identified, ultimately yielding network congestion data for the software version update process.
[0114] Step S33: Based on the network load data and network congestion data during the software version refresh process, perform a version refresh impact analysis on the normal process of module software version refresh to obtain the factors affecting the network status of module software version refresh.
[0115] This invention combines network load data and network congestion data obtained during the software version refresh process with an impact assessment algorithm to evaluate and analyze the normal process of the corresponding module software version refresh, in order to find the correlation and degree of influence between them, and identify the key influencing factors of network status on the software version refresh process, including network bandwidth, latency, stability, etc., and finally obtain the influencing factors of network status for module software version refresh.
[0116] Step S34: Based on the factors affecting the network status of module software version refresh, adjust and optimize the refresh parameters of the normal process of module software version refresh to generate a set of optimized parameters for module software version refresh.
[0117] This invention adjusts parameters during the software version refresh process, such as refresh speed and refresh frequency, by analyzing the network status influencing factors (including network bandwidth, latency, stability, etc.) obtained from changes in network status. This optimizes system performance and resource utilization, enabling the module software system to remain stable and efficient under different network environments, and ultimately generates a set of optimized parameters for module software version refresh.
[0118] Step S35: Analyze the normal process of module software version refresh based on the module software version refresh optimization parameter set, generate a module software version refresh control strategy, and execute the corresponding electronic control module software refresh process.
[0119] This invention analyzes the normal refresh control strategy for the corresponding module software version refresh process by comprehensively considering the module software version refresh optimization parameter set (including refresh optimization speed, refresh optimization frequency, etc.) to determine the refresh control strategy suitable for the current system state. It also adjusts the behavior of the refresh process in real time according to the network state to ensure the smooth progress of software version refresh. Finally, it generates a module software version refresh control strategy, which includes executing the corresponding module software refresh process controlled by refresh optimization speed and refresh optimization frequency.
[0120] This invention first determines that if the software version refresh process of the target electronic control module is a normal process, then by performing a refresh network load analysis on this normal process, a detailed understanding of the network load during the software version refresh can be obtained. This analysis helps to identify network load trends, peak periods, and potential load bottlenecks, providing data support for subsequent optimization. The obtained network load data during the software version refresh process allows for accurate assessment of network resource usage, providing a reference for optimizing the refresh process. Secondly, by performing a refresh network congestion assessment analysis on the normal software version refresh process, a comprehensive understanding of potential network congestion can be obtained. This step, through analysis of network congestion data, can identify potential causes of network congestion, such as insufficient network bandwidth or data transmission blockages, thus providing a basis for optimizing network performance. The results of this step help software refresh administrators better plan network resources and ensure the smooth progress of the refresh process. Then, by analyzing the network load and congestion data during the software version refresh process, an impact analysis is performed on the normal software version refresh process. This helps identify the factors influencing the refresh process based on network load and congestion data, providing goals and directions for subsequent optimization. By identifying these influencing factors, refresh strategies can be adjusted in a targeted manner to improve refresh efficiency and success rate. Next, refresh parameters are adjusted and optimized based on the network status influencing factors during the normal software version refresh process to generate an optimized parameter set suitable for the current network status. This step aims to adjust refresh parameters in real time according to changes in network status to maximize the efficiency and success rate of the refresh process. The generation of the optimized parameter set allows for automatic adjustment of the refresh strategy under different network environments, ensuring the stability and efficiency of the refresh process. Finally, a control strategy analysis is performed on the refresh process based on the optimized parameter set to generate a corresponding refresh control strategy. This step aims to formulate a specific control strategy for the refresh process based on the optimized parameter set to achieve the best refresh effect. By implementing refresh control strategies, the behavior of the refresh process can be adjusted in real time according to network conditions, ensuring the smooth progress of software version refresh and thus minimizing network resource waste and refresh failure rate.
[0121] Preferably, step S34 includes the following steps:
[0122] Step S341: Perform statistical analysis on the refresh speed and frequency of the normal process of module software version refresh to obtain module software version refresh speed parameters and module software version refresh frequency parameters.
[0123] This invention collects data during the software version refresh process, including refresh start time, end time, refresh duration, refresh count, and other relevant information. Statistical methods are then used to analyze this data, including calculating average refresh rate, refresh frequency, and standard deviation, to comprehensively understand the characteristics and patterns of the refresh process parameters. Ultimately, the module software version refresh rate parameters and module software version refresh frequency parameters are obtained.
[0124] Step S342: Based on the factors affecting the network status of module software version refresh, design a parameter adjustment strategy for the module software version refresh speed parameter and the module software version refresh frequency parameter to generate a module software version refresh parameter adjustment scheme.
[0125] This invention combines the analysis of factors affecting the network status of module software version refresh (including network bandwidth, latency, stability, etc.) to adjust the corresponding module software version refresh speed parameters and module software version refresh frequency parameters, in order to design corresponding parameter adjustment strategies to adapt to the version refresh requirements under different network conditions. These strategies include dynamically adjusting the refresh speed based on network bandwidth and optimizing the refresh frequency based on latency, ultimately generating a module software version refresh parameter adjustment scheme.
[0126] Step S343: Adjust and optimize the module software version refresh speed parameter and module software version refresh frequency parameter according to the module software version refresh parameter adjustment scheme to generate a module software version refresh optimization parameter set.
[0127] This invention embodiment adjusts and optimizes the corresponding module software version refresh speed parameters and module software version refresh frequency parameters according to the designed generation module software version refresh parameter adjustment scheme, so as to simulate or experimentally verify the impact of the adjusted parameters on the refresh process, including changes in performance improvement, resource utilization, etc., and further optimizes the parameters based on the verification results until the best effect is achieved, and finally generates a module software version refresh optimization parameter set.
[0128] This invention first performs statistical analysis on the refresh speed and frequency of the normal software version refresh process. This analysis provides a comprehensive understanding of the speed and frequency performance during the refresh process, helping to determine the execution time and frequency, thus providing foundational data for subsequent parameter optimization. The obtained software version refresh speed and frequency parameters reflect the execution efficiency and frequency distribution of the refresh process, providing a basis for subsequent parameter optimization. Next, a parameter adjustment strategy is designed for the software version refresh speed and frequency parameters based on factors influencing network conditions. This aims to adjust the refresh parameters in real time according to network conditions to maximize refresh efficiency. The purpose of this step is to formulate corresponding adjustment strategies based on changes in network conditions, enabling the refresh process to adapt to changes in different network environments and improving refresh success rate and efficiency. The generated parameter adjustment scheme will consider factors such as network load and congestion, providing guidance for parameter optimization. Finally, the refresh parameters are adjusted and optimized according to the software version refresh parameter adjustment scheme to generate a refresh optimization parameter set. The purpose of this step is to optimize the refresh parameters according to the adjustment scheme, improving the execution efficiency and success rate of the refresh process. By optimizing the parameter set, the refresh speed and frequency can be dynamically adjusted according to the actual situation to adapt to changes in network status, ensuring the stability and efficiency of the refresh process. The generated optimized parameter set will provide important support for the implementation of refresh control strategies.
[0129] Preferably, step S4 includes the following steps:
[0130] Step S41: When it is determined that the software version refresh process of the target electronic control module is an abnormal process of module software version refresh, then perform abnormal software location processing on the abnormal process of module software version refresh to obtain the version refresh abnormal location software.
[0131] If the software version refresh process of the target electronic control module is determined to be an abnormal process, the present invention collects detailed information about the software refresh anomaly, including the specific circumstances of the anomaly, possible causes, and related logs or error codes. The module software with anomalies during the refresh process is located by using specialized software tools or analysis methods to accurately locate and identify the software part that caused the anomaly, and find the specific software module that caused the refresh anomaly, thus obtaining the software for locating the version refresh anomaly.
[0132] Step S42: Based on the backup software of the electronic control module to be refreshed, perform software matching processing on the version refresh anomaly location software to obtain the backup software for the electronic control module anomaly matching.
[0133] In this embodiment of the invention, the abnormal version update location software is identified by combining the previously backed-up backup software of the electronic control module to be refreshed with the software matching, including matching the version and detecting compatibility, so as to find the backup software that matches the function of the abnormal location software, and finally obtain the electronic control module abnormal matching backup software.
[0134] Step S43: Based on the abnormal matching backup software of the electronic control module, perform software rollback and recovery on the version refresh abnormal location software to generate the electronic control module to be refreshed and rolled back software;
[0135] This invention relates to an embodiment of the invention that rolls back and restores the corresponding version refresh anomaly location software by matching and filtering the abnormal matching backup software of the electronic control module. The abnormal matching backup software is then loaded into the target electronic control module to replace the anomaly location software, and the module software system is restored to a normal state. This involves operations such as file replacement and configuration reset, thereby restoring the module software system to the state before the anomaly occurred, ensuring the stability and normal operation of the module software system, and finally generating the electronic control module to be refreshed and rolled back software.
[0136] Step S44: Iterate and monitor for anomalies in the electronic control module software to be refreshed and rolled back until it is determined that the module software version refresh is normal.
[0137] This invention embodiment performs iterative refresh operations on the electronic control module software to be refreshed after rollback recovery to refresh the latest version of the corresponding software again, ensuring normal loading and operation of the software. At the same time, it performs anomaly monitoring during the refresh process to monitor the software refresh operation in real time and ensure that no anomalies occur again during the software refresh process. If anomalies occur, they need to be handled in time and the recovery operation needs to be performed again. Through continuous iterative refresh and anomaly monitoring, it is determined that the module software version refresh process is normal.
[0138] This invention first determines that if the software version refresh process of the target electronic control module is an abnormal process, then it performs abnormal software localization processing. This step aims to accurately locate and identify the software component causing the abnormality. Through this step, the abnormal situation can be analyzed in depth, and the specific software module causing the refresh anomaly can be identified, providing a foundation for subsequent processing. Secondly, software matching processing is performed on the software located for the abnormal refresh process based on the backup software of the electronic control module to be refreshed. This aims to find a backup software that matches the located abnormal software. The purpose of this step is to find a backup software corresponding to the abnormal software function through backup software matching, providing support for subsequent recovery processing. Then, software rollback and recovery is performed on the software located for the abnormal refresh process based on the backup software matched to the electronic control module anomaly. The key to this step is to roll back the located abnormal software to the state of the matching backup software, thereby restoring it to a normal software version state and ensuring the stability and reliability of the refresh-abnormal module software. Finally, by iteratively refreshing and monitoring the rollback software of the electronic control module, the purpose of this step is to confirm that the module software version refresh has returned to normal after multiple iterations and anomaly monitoring, thereby ensuring the stable operation of the target electronic control module software. In this way, through continuous iteration and monitoring, the normality and reliability of the software version refresh process can be ensured, thereby improving the overall performance of the target electronic control module software.
[0139] Preferably, the present invention also provides an electronic control module software refresh system for executing the electronic control module software refresh method described above, the electronic control module software refresh system comprising:
[0140] The software refresh screening and analysis module is used to acquire the target electronic control module software and obtain the latest version information data of the target electronic control module software by retrieving the latest version information data of the target electronic control module software from the cloud server; based on the latest version information data of the target electronic control module software, the refresh screening and analysis of the target electronic control module software is performed to obtain the electronic control module software to be refreshed;
[0141] The software version refresh status anomaly monitoring module is used to perform system backup of the electronic control module software to be refreshed, so as to obtain the backup software of the electronic control module to be refreshed; to refresh the software version of the electronic control module software to be refreshed based on the latest version information data of the target module software and record it, so as to generate the target electronic control module software version refresh process; and to monitor the refresh status anomaly of the target electronic control module software version refresh process, so as to obtain the normal process and the abnormal process of the module software version refresh.
[0142] The software version normal refresh processing module is used to determine that when the software version refresh process of the target electronic control module is a normal software version refresh process, it performs a version refresh impact analysis on the normal software version refresh process to obtain the influencing factors of the network status of the software version refresh; based on the influencing factors of the network status of the software version refresh, it adjusts and optimizes the refresh parameters of the normal software version refresh process to generate a set of optimized software version refresh parameters for executing the corresponding electronic control module software refresh process.
[0143] The software version abnormal refresh and rollback monitoring module is used to determine that when the software version refresh process of the target electronic control module is an abnormal process, it performs software rollback and recovery based on the backup software of the electronic control module to be refreshed to generate the electronic control module to be refreshed rollback software; it then iteratively refreshes and monitors the electronic control module to be refreshed rollback software again until it is determined to be a normal process of software version refresh.
[0144] In summary, this invention provides an electronic control module software refresh system. This system comprises a software refreshable screening and analysis module, a software version refresh status anomaly monitoring module, a normal software version refresh processing module, and a software version abnormal refresh rollback monitoring module. It can implement any of the electronic control module software refresh methods described in this invention. It combines the operations of computer programs running on various modules to achieve an electronic control module software refresh method. The internal structure of the system cooperates with each other, which greatly reduces repetitive work and manpower input, and can quickly and effectively provide a more accurate and efficient electronic control module software refresh process, thereby simplifying the operation flow of the electronic control module software refresh system.
[0145] Therefore, the embodiments should be considered as exemplary and non-limiting in all respects, and the scope of the invention is defined by the appended claims rather than the foregoing description. Thus, all variations falling within the meaning and scope of the equivalents of the application are intended to be included within the invention.
[0146] The above description is merely a specific embodiment of the present invention, enabling those skilled in the art to understand or implement the invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the invention. Therefore, the present invention is not to be limited to the embodiments shown herein, but is to be accorded the widest scope consistent with the principles and novel features of the invention herein.
Claims
1. A method for refreshing software of an electronic control module, characterized in that: The following steps are involved: Step S1: Obtain the target electronic control module software, and obtain the latest version information data of the target electronic control module software from the cloud server to obtain the latest version information data of the target module software; perform a screening analysis on the target electronic control module software to be refreshed based on the latest version information data of the target module software to obtain the electronic control module software to be refreshed; wherein step S1 includes the following steps: Step S11: Obtain target electronic control module software; Step S12: establishing remote communication with a cloud server, and acquiring the latest version information data of the target electronic control module software from the cloud server through remote communication, so as to obtain the latest version information data of the target module software; Step S13: performing version comparison and change analysis on the target electronic control module software based on the latest version information data of the target module software to obtain the target electronic control module version change software; wherein step S13 includes the following steps: Step S131: extracting version information of the target electronic control module software to obtain original version information data of the target module software; Step S132: performing software matching analysis on the original version information data of the target module software and the latest version information data of the target module software to obtain the original version information data and the latest matching version information data corresponding to each target module software; Step S133: performing version comparison and difference quantification calculation on the original version information data and the latest matching version information data corresponding to each target module software, so as to obtain the difference score coefficient between the original version and the latest version of each target module software; Step S134: performing version change screening processing on the target electronic control module software according to the difference score coefficient between the original version and the latest version of each target module software to obtain the target electronic control module version change software; Step S14: performing version change risk assessment analysis on the target electronic control module version change software based on the target module software latest version information data to obtain the target module software version change risk assessment value; wherein step S14 includes the following steps: Step S141: performing key function change mining and analysis on the latest version information data of the target module software to obtain the key function change information data of the latest version of the software; Step S142: performing stability impact assessment analysis on the target electronic control module version change software according to the key function change information data of the latest version of the software, and obtaining a stability impact factor of the version change software system; wherein step S142 includes the following steps: Perform function change parameter statistical analysis on the key function change information data of the latest version of the software to obtain the key function change parameter set of the latest version of the software; Based on the key function change parameter set of the latest version of the software, the system stability of the target electronic control module version change software is statistically calculated to obtain the change correlation coefficient between each key function change parameter and the system stability; According to the change correlation coefficient between each key function change parameter and system stability, the key function change parameter set of the latest version of the software is screened for relevant parameters to obtain the function change stability-related parameter set of the latest version of the software; Evaluate and analyze the impact range of changes to the parameter set related to the stability of the function changes of the latest version of the software to obtain the impact range of the parameter change related to the stability of the function changes; Based on the impact range of function change stability-related parameter changes, the stability impact assessment analysis of the target electronic control module version change software is performed to obtain the version change software system stability impact factor; Step S143: performing a security impact assessment analysis on the target electronic control module version change software according to the key function change information data of the latest version of the software, and obtaining a system security impact factor of the version change software; Step S144: performing a performance impact assessment analysis on the target electronic control module version change software according to the key function change information data of the latest version of the software to obtain a performance impact factor of the version change software; Step S145: performing version change risk assessment analysis on the target electronic control module version change software based on the version change software system stability impact factor, the version change software system security impact factor and the version change software performance impact factor to obtain a target module software version change risk assessment value; Step S15: performing a screening analysis on the target electronic control module version change software to be refreshed according to the target module software version change risk assessment value to obtain the electronic control module software to be refreshed; Step S2: perform a system backup of the electronic control module software to be refreshed to obtain the backup software to be refreshed of the electronic control module; perform a software version refresh of the electronic control module software to be refreshed based on the latest version information data of the target module software and record it to generate a target electronic control module software version refresh process; perform refresh state abnormality monitoring on the target electronic control module software version refresh process to obtain a module software version refresh normal process and a module software version refresh abnormal process; wherein step S2 includes the following steps: Step S21: performing a system backup on the electronic control module software to be refreshed to obtain the electronic control module backup software to be refreshed; Step S22: performing software version matching processing on the electronic control module software to be refreshed based on the target module software latest version information data, and obtaining the module software latest version information data; Step S23: based on the latest version information data of the module object software to be refreshed, the software version of the electronic control module object software to be refreshed is refreshed and recorded using an incremental update algorithm to generate a target electronic control module software version refresh process; Step S24: performing a refresh status and progress monitoring process on the target electronic control module software version refresh process to obtain the target module software version refresh status and the target module software version refresh progress; Step S25: performing abnormal evaluation analysis on the target electronic control module software version refresh process based on the target module software version refresh state and the target module software version refresh progress to obtain the target module software version refresh process abnormality degree coefficient; Step S26: comparing and judging the abnormality degree coefficient of the target module software refresh process according to the preset abnormality threshold value, when the abnormality degree coefficient of the target module software refresh process is less than the preset abnormality threshold value, the corresponding target electronic control module software version refresh process is judged as a normal module software version refresh process; when the abnormality degree coefficient of the target module software refresh process is greater than or equal to the preset abnormality threshold value, the corresponding target electronic control module software version refresh process is judged as an abnormal module software version refresh process; Step S3: when it is determined that the target electronic control module software version refresh process is a normal module software version refresh process, a version refresh impact analysis is performed on the normal module software version refresh process to obtain module software version refresh network status influencing factors; based on the module software version refresh network status influencing factors, a refresh parameter adjustment optimization is performed on the normal module software version refresh process to generate a module software version refresh optimization parameter set to execute the corresponding electronic control module software refresh process; wherein, step S3 includes the following steps: Step S31: when it is determined that the target electronic control module software version refresh process is a normal module software version refresh process, a refresh network load analysis is performed on the normal module software version refresh process to obtain network load status data of the software version refresh process; Step S32: Perform refresh network congestion evaluation and analysis on the normal process of module software version refresh to collect network congestion data during the software version refresh process, including network delay, data packet loss rate, and queuing delay, and analyze the network congestion data to identify the occurrence period, frequency, and duration of network congestion, and obtain network congestion status data during the software version refresh process; Step S33: Based on the network load status data of the software version refresh process and the network congestion status data of the software version refresh process, an impact assessment algorithm is used to evaluate and analyze the normal process of the module software version refresh to find out the correlation and impact degree between them, and identify the key influencing factors of the network status on the software version refresh process, including network bandwidth, delay, and stability, and obtain the influencing factors of the module software version refresh network status; Step S34: Based on the module software version refresh network status influencing factors, the module software version refresh normal process is adjusted and optimized to generate a module software version refresh optimization parameter set; wherein step S34 includes the following steps: Step S341: Performing statistical analysis on the refresh speed and frequency of the normal process of module software version refresh to obtain module software version refresh speed parameters and module software version refresh frequency parameters; Step S342: Based on the module software version refresh network status influencing factors, the corresponding module software version refresh speed parameters and module software version refresh frequency parameters are adjusted and analyzed to design corresponding parameter adjustment strategies to adapt to the version refresh requirements under different network states, including dynamically adjusting the refresh speed according to the network bandwidth and optimizing the refresh frequency according to the delay to generate a module software version refresh parameter adjustment plan; Step S343: According to the module software version refresh parameter adjustment scheme, the module software version refresh speed parameter and the module software version refresh frequency parameter are adjusted and optimized to simulate or experimentally verify the influence of the adjusted parameters on the refresh process, including performance improvement and changes in resource utilization, and further optimize the parameters according to the verification results until the best effect is achieved to generate a module software version refresh optimization parameter set; Step S35: performing a refresh control strategy analysis on the normal process of module software version refresh according to the module software version refresh optimization parameter set, generating a module software version refresh control strategy to execute the corresponding electronic control module software refresh process; Step S4: When it is determined that the target electronic control module software version refresh process is a module software version refresh abnormal process, a software rollback recovery is performed on the module software version refresh abnormal process based on the electronic control module backup software to be refreshed to generate the electronic control module rollback software to be refreshed; the electronic control module rollback software to be refreshed is iteratively refreshed and abnormal monitoring is performed again until it is determined to be a module software version refresh normal process.
2. The electronic control module software refresh method according to claim 1, characterized in that: Step S4 includes the following steps: Step S41: when it is determined that the target electronic control module software version refresh process is a module software version refresh abnormal process, abnormal software location processing is performed on the module software version refresh abnormal process to obtain version refresh abnormal location software; Step S42: performing software matching processing on the version refresh abnormality positioning software based on the backup software to be refreshed of the electronic control module to obtain the abnormal matching backup software of the electronic control module; Step S43: performing software rollback recovery on the version refresh abnormality positioning software according to the abnormal matching backup software of the electronic control module to generate the rollback software to be refreshed for the electronic control module; Step S44: re-iteratively refresh and monitor the rollback software of the electronic control module until it is determined that the module software version refresh is a normal process.
3. An electronic control module software refresh system, characterized in that: Used to execute the electronic control module software refresh method as claimed in claim 1, the electronic control module software refresh system comprises: The software to-be-refreshed screening and analysis module is used to obtain the target electronic control module software, and obtain the latest version information data of the target module software from the cloud server to obtain the latest version information data of the target module software; based on the latest version information data of the target module software, the target electronic control module software is screened and analyzed to be refreshed, so as to obtain the electronic control module software to be refreshed; The software version refresh state abnormality monitoring module is used to perform a system backup of the electronic control module object software to be refreshed to obtain the electronic control module backup software to be refreshed; based on the target module software latest version information data, the software version of the electronic control module object software to be refreshed is refreshed and recorded to generate a target electronic control module software version refresh process; the target electronic control module software version refresh process is refreshed The state abnormality monitoring is performed to obtain the module software version refresh normal process and the module software version refresh abnormal process; The software version normal refresh processing module is used to determine that the target electronic control module software version refresh process is a module software version normal refresh process, then perform version refresh impact analysis on the module software version normal refresh process to obtain module software version refresh network status influencing factors; based on the module software version refresh network status influencing factors, perform refresh parameter adjustment optimization on the module software version normal refresh process to generate a module software version refresh optimization parameter set to execute the corresponding electronic control module software refresh process; The software version abnormal refresh rollback monitoring module is used to determine that when the target electronic control module software version refresh process is a module software version abnormal refresh process, the module software version abnormal refresh process is software rolled back and recovered based on the electronic control module backup software to be refreshed to generate the electronic control module rollback software to be refreshed; the electronic control module rollback software to be refreshed is iteratively refreshed and monitored again until it is determined to be a normal module software version refresh process.
Citation Information
Patent Citations
Method for analyzing influence factors of defect distribution of software based on complex network
CN108345544A
OTA security upgrading system and upgrading method thereof
CN111562935A
Version updating monitoring method, device and equipment and computer storage medium
CN111736875A
Vehicle-mounted OTA parallel upgrading method and system for multiple subnets and multiple ECUs
CN116860300A
Equipment version updating risk assessment method and device based on large model, electronic equipment, storage medium and computer program product
CN117952426A
