DSP online upgrade processing method, system and medium based on CAN communication

By obtaining equipment performance and communication monitoring information and using preset upgrade prediction models to process data, the problems of unstable communication and low success rate in CAN communication DSP upgrade are solved, and more accurate prediction of upgrade success rate and system stability are achieved.

CN118860449BActive Publication Date: 2024-12-17SHENZHEN JUST MOTION CONTROL ELECTROMECHANICS CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411314788.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-09-20
Publication Date
2024-12-17
Estimated Expiration
2044-09-20

AI Technical Summary

Technical Problem

During the DSP upgrade process based on CAN communication, there are problems of instability in communication and low upgrade success rate. This is mainly due to the limitation of the number of axes that affects communication efficiency, and there is a lack of effective methods to automatically judge the upgrade environment and conditions.

Method used

By obtaining equipment performance information and communication monitoring information for the preset time period, extracting system usage data and data transmission data, using the preset upgrade prediction model to obtain the upgrade success rate index, and correct it with the historical upgrade success rate index to judge Whether the online upgrade was successful.

Benefits of technology

This method can comprehensively evaluate the current status of the device and communication environment, reduce subjective judgment errors, combine historical and real-time data to improve the accuracy of upgrade success rate prediction, and enhance system stability and reliability.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118860449B_ABST
    Figure CN118860449B_ABST
Patent Text Reader

Abstract

The present application provides a DSP online upgrade processing method, system and medium based on CAN communication, which belongs to the field of CAN communication and big data technology. The method includes: obtaining the device performance information of a preset time period and processing it to obtain an online upgrade instruction, obtaining the upgrade verification information and processing it to obtain an upgrade file data packet, obtaining the communication monitoring information of the preset time period and processing it to obtain an upgrade success rate index, correcting it according to the historical upgrade success rate average index to obtain an upgrade success rate correction index, and comparing it with the preset success rate index threshold to determine whether the online upgrade is successful. The present application reduces manual intervention in upgrades, can automatically determine the upgrade conditions, and predicts the upgrade success rate by monitoring and processing the data of the communication process, thereby improving the efficiency and success rate of DSP online upgrades and optimizing user experience and operation and maintenance efficiency.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of CAN communication and big data technology, and more specifically, to a DSP online upgrade processing method, system and medium based on CAN communication. Background Art

[0002] With the rapid development of communication technology, CAN communication technology can be applied to many scenarios such as automotive electronic systems, industrial automation, aerospace and medical equipment due to its high reliability, real-time and anti-interference capabilities. Among them, the DSP upgrade process based on CAN communication still has problems such as unstable communication and low upgrade success rate.

[0003] The current CAN communication DSP upgrade technology generally has shortcomings. The limitation of the number of axes affects the communication efficiency, resulting in poor upgrade success rate and upgrade effect. There is a lack of an effective method to automatically judge the upgrade environment and conditions and improve the upgrade success rate by monitoring the communication data of the upgrade process.

[0004] In view of the above problems, effective technical solutions are currently awaited. Summary of the invention

[0005] The purpose of the present application is to provide a DSP online upgrade processing method, system and medium based on CAN communication, which can obtain the device performance information of a preset time period, extract the system usage data and process it, obtain the online upgrade instruction, obtain the upgrade verification information according to the online upgrade instruction and process it, obtain the upgrade file data packet, obtain the communication monitoring information of the preset time period and extract the data transmission data, process it through a preset upgrade prediction model, obtain the upgrade success rate index, obtain multiple historical upgrade success rate indices of the same time as the preset time period and process them to obtain the average upgrade success rate index, correct the upgrade success rate index according to the average upgrade success rate index to obtain the corrected upgrade success rate index, compare the corrected upgrade success rate index with the preset success rate index threshold, and judge whether the online upgrade is successful.

[0006] The present application provides a DSP online upgrade processing method based on CAN communication, comprising the following steps:

[0007] Obtain equipment performance information for a preset time period, extract system usage data, process it, and obtain online upgrade instructions;

[0008] Obtaining and processing upgrade verification information according to the online upgrade instruction to obtain an upgrade file data package;

[0009] Acquire the communication monitoring information of the preset time period and extract the data transmission data, process it through the preset upgrade prediction model, and obtain the upgrade success rate index;

[0010] Acquire multiple historical upgrade success rate indexes of the same time period as the preset time period and process them to obtain an average upgrade success rate index, and perform correction processing on the upgrade success rate index according to the average upgrade success rate index to obtain a corrected upgrade success rate index;

[0011] The upgrade success rate correction index is compared with a preset success rate index threshold to determine whether the online upgrade is successful.

[0012] Among them, in the DSP online upgrade processing method based on CAN communication described in the present application, the device performance information of the preset time period is obtained to extract the system usage rate data and process it to obtain the online upgrade instruction, specifically:

[0013] Obtain equipment performance information for a preset time period to extract system usage data;

[0014] Comparing the system usage data with a preset system usage threshold;

[0015] If the system usage data is less than the system usage threshold, the system is marked as idle to obtain system idle information;

[0016] Performing timing processing according to the system idle information to obtain idle time data;

[0017] Determine whether the idle time data is greater than a preset idle time threshold;

[0018] If the idle time data is greater than or equal to the idle time threshold, an online upgrade instruction is obtained.

[0019] Among them, in the DSP online upgrade processing method based on CAN communication described in this application, the upgrade verification information is obtained and processed according to the online upgrade instruction to obtain the upgrade file data packet, specifically:

[0020] Acquire upgrade verification information according to the online upgrade instruction;

[0021] Extracting upgrade file integrity data according to the upgrade verification information;

[0022] Comparing the upgrade file integrity data with a preset file integrity threshold;

[0023] If the upgrade file integrity data is greater than or equal to the file integrity threshold, then the upgrade file data package is obtained;

[0024] If the upgrade file integrity data is less than the file integrity threshold, the upgrade file is incomplete.

[0025] Among them, in the DSP online upgrade processing method based on CAN communication described in the present application, the communication monitoring information of the preset time period is obtained and the data transmission data is extracted, and the upgrade success rate index is obtained by processing through a preset upgrade prediction model, specifically:

[0026] Acquire the communication monitoring information of the preset time period and extract the data transmission data;

[0027] Extracting signal strength data, bit error rate data, packet loss rate data and delay time data according to the data transmission data;

[0028] The signal strength data, the bit error rate data, the packet loss rate data and the delay time data are processed by a preset upgrade prediction model to obtain an upgrade success rate index.

[0029] Among them, in the DSP online upgrade processing method based on CAN communication described in the present application, the multiple historical upgrade success rate indexes of the same time as the preset time period are obtained and processed to obtain the average upgrade success rate index, and the upgrade success rate index is corrected according to the average upgrade success rate index to obtain the upgrade success rate correction index, specifically:

[0030] Acquire and process multiple historical upgrade success rate indexes of the same time period as the preset time period to obtain an average upgrade success rate index;

[0031] The upgrade success rate index is corrected according to the upgrade success rate average index by using a preset upgrade correction model to obtain an upgrade success rate correction index.

[0032] Among them, in the DSP online upgrade processing method based on CAN communication described in the present application, the upgrade success rate correction index is compared with the preset success rate index threshold to determine whether the online upgrade is successful, specifically:

[0033] Comparing the upgrade success rate correction index with a preset success rate index threshold;

[0034] If the upgrade success rate correction index is greater than or equal to the success rate index threshold, the online upgrade is considered successful;

[0035] If the upgrade success rate correction index is less than the success rate index threshold, it is determined that the online upgrade has failed.

[0036] In a second aspect, the present application provides a DSP online upgrade processing system based on CAN communication, the system comprising: a memory and a processor, the memory comprising a program of a DSP online upgrade processing method based on CAN communication, and the program of the DSP online upgrade processing method based on CAN communication is executed by the processor to implement the following steps:

[0037] Obtain equipment performance information for a preset time period, extract system usage data, process it, and obtain online upgrade instructions;

[0038] Obtaining and processing upgrade verification information according to the online upgrade instruction to obtain an upgrade file data package;

[0039] Acquire the communication monitoring information of the preset time period and extract the data transmission data, process it through the preset upgrade prediction model, and obtain the upgrade success rate index;

[0040] Acquire multiple historical upgrade success rate indexes of the same time period as the preset time period and process them to obtain an average upgrade success rate index, and perform correction processing on the upgrade success rate index according to the average upgrade success rate index to obtain a corrected upgrade success rate index;

[0041] The upgrade success rate correction index is compared with a preset success rate index threshold to determine whether the online upgrade is successful.

[0042] Among them, in the DSP online upgrade processing system based on CAN communication described in the present application, the device performance information of the preset time period is obtained to extract the system usage rate data and process it to obtain the online upgrade instruction, specifically:

[0043] Obtain equipment performance information for a preset time period to extract system usage data;

[0044] Comparing the system usage data with a preset system usage threshold;

[0045] If the system usage data is less than the system usage threshold, the system is marked as idle to obtain system idle information;

[0046] Performing timing processing according to the system idle information to obtain idle time data;

[0047] Determine whether the idle time data is greater than a preset idle time threshold;

[0048] If the idle time data is greater than or equal to the idle time threshold, an online upgrade instruction is obtained.

[0049] Among them, in the DSP online upgrade processing system based on CAN communication described in the present application, the upgrade verification information is obtained and processed according to the online upgrade instruction to obtain the upgrade file data packet, specifically:

[0050] Acquire upgrade verification information according to the online upgrade instruction;

[0051] Extracting upgrade file integrity data according to the upgrade verification information;

[0052] Comparing the upgrade file integrity data with a preset file integrity threshold;

[0053] If the upgrade file integrity data is greater than or equal to the file integrity threshold, then the upgrade file data package is obtained;

[0054] If the upgrade file integrity data is less than the file integrity threshold, the upgrade file is incomplete.

[0055] In the third aspect, the present application also provides a computer-readable storage medium, which includes a DSP online upgrade processing method program based on CAN communication. When the DSP online upgrade processing method program based on CAN communication is executed by a processor, the steps of the DSP online upgrade processing method based on CAN communication as described in any one of the above items are implemented.

[0056] As can be seen from the above, the DSP online upgrade processing method, system and medium based on CAN communication provided by the embodiment of the present application, by obtaining the device performance information of the preset time period, extracting the system usage rate data and processing it, obtaining the online upgrade instruction, obtaining the upgrade verification information according to the online upgrade instruction and processing it, obtaining the upgrade file data packet, obtaining the communication monitoring information of the preset time period and extracting the data transmission data, processing it through the preset upgrade prediction model, obtaining the upgrade success rate index, obtaining multiple historical upgrade success rate indexes of the same time as the preset time period and processing them to obtain the average upgrade success rate index, correcting the upgrade success rate index according to the average upgrade success rate index, obtaining the upgrade success rate correction index, comparing the upgrade success rate correction index with the preset success rate index threshold, and judging whether the online upgrade is successful. By obtaining the device performance information and communication monitoring information of the preset time period, the present application can comprehensively evaluate the current status and communication environment of the device, provide an objective and accurate basis for the decision-making of online upgrades, and reduce the error of subjective judgment. The collected data is processed using a preset upgrade prediction model to obtain an upgrade success rate index. This method combines historical data with real-time data and can more accurately predict the upgrade success rate. By comparing and correcting the historical average upgrade success rate index, the prediction accuracy is further improved, and the system stability and reliability are enhanced, as well as continuous optimization and improvement.

[0057] Other features and advantages of the present application will be described in the following description, and partly become apparent from the description, or understood by practicing the embodiments of the present application. The purpose and other advantages of the present application can be realized and obtained by the structures specifically pointed out in the written description and the drawings. BRIEF DESCRIPTION OF THE DRAWINGS

[0058] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the embodiments of the present application will be briefly introduced below. It should be understood that the following drawings only show certain embodiments of the present application and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without paying creative work.

[0059] Figure 1 A flowchart of a DSP online upgrade processing method based on CAN communication provided in an embodiment of the present application;

[0060] Figure 2 A flowchart of obtaining online upgrade instructions for a DSP online upgrade processing method based on CAN communication provided in an embodiment of the present application;

[0061] Figure 3 A flowchart of obtaining an upgrade file data packet of a DSP online upgrade processing method based on CAN communication provided in an embodiment of the present application;

[0062] Figure 4 A flowchart of obtaining an upgrade success rate index of a DSP online upgrade processing method based on CAN communication provided in an embodiment of the present application;

[0063] Figure 5 A flowchart of obtaining an upgrade success rate correction index for a DSP online upgrade processing method based on CAN communication provided in an embodiment of the present application. DETAILED DESCRIPTION

[0064] The technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only a part of the embodiments of the present application, rather than all of the embodiments. The components of the embodiments of the present application described and shown in the drawings here can be arranged and designed in various different configurations. Therefore, the following detailed description of the embodiments of the present application provided in the drawings is not intended to limit the scope of the application claimed for protection, but merely represents the selected embodiments of the present application. Based on the embodiments of the present application, all other embodiments obtained by those skilled in the art without making creative work belong to the scope of protection of the present application.

[0065] It should be noted that similar numbers and letters represent similar items in the following figures, so once an item is defined in one figure, it does not need to be further defined and explained in subsequent figures. At the same time, in the description of this application, the terms "first", "second", etc. are only used to distinguish the description and cannot be understood as indicating or implying relative importance. It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data need to comply with relevant laws, regulations and standards of relevant countries and regions.

[0066] Please refer to Figure 1 , Figure 1 Flow chart of a DSP online upgrade processing method based on CAN communication in some embodiments of the present application. The DSP online upgrade processing method based on CAN communication is used in terminal equipment, such as computers, mobile phone terminals, etc. The DSP online upgrade processing method based on CAN communication includes the following steps:

[0067] S101, obtaining device performance information for a preset time period, extracting system usage data, and processing the data to obtain an online upgrade instruction;

[0068] S102, acquiring and processing upgrade verification information according to the online upgrade instruction to obtain an upgrade file data package;

[0069] S103, acquiring the communication monitoring information of the preset time period and extracting the data transmission data, processing the data through a preset upgrade prediction model, and obtaining an upgrade success rate index;

[0070] S104, obtaining a plurality of historical upgrade success rate indexes of the same time period as the preset time period and processing them to obtain an average upgrade success rate index, and correcting the upgrade success rate index according to the average upgrade success rate index to obtain a corrected upgrade success rate index;

[0071] S105: Compare the upgrade success rate correction index with a preset success rate index threshold to determine whether the online upgrade is successful.

[0072] Among them, the present application obtains the device performance information of the preset time period to extract the system usage rate data and processes it, obtains the online upgrade instruction, obtains the upgrade verification information according to the online upgrade instruction and processes it, obtains the upgrade file data packet, obtains the communication monitoring information of the preset time period and extracts the data transmission data, processes it through the preset upgrade prediction model, obtains the upgrade success rate index, obtains multiple historical upgrade success rate indexes of the same time as the preset time period and processes them to obtain the average index of the upgrade success rate, corrects the upgrade success rate index according to the average index of the upgrade success rate, obtains the upgrade success rate correction index, compares the upgrade success rate correction index with the preset success rate index threshold, and judges whether the online upgrade is successful. The present application can comprehensively evaluate the current status and communication environment of the device by obtaining the device performance information and communication monitoring information of the preset time period, provides an objective and accurate basis for the decision-making of the online upgrade, and reduces the error of subjective judgment. The collected data is processed using the preset upgrade prediction model to obtain the upgrade success rate index. This method combines historical data with real-time data, can more accurately predict the success rate of the upgrade, and further improves the accuracy of the prediction by comparing and correcting with the historical average index of the upgrade success rate, enhancing the system stability and reliability, and continuous optimization and improvement.

[0073] Please refer to Figure 2 , Figure 2 The flowchart of the method for obtaining online upgrade instructions of the DSP online upgrade processing method based on CAN communication in some embodiments of the present application is as follows. According to the embodiment of the present invention, the device performance information of the preset time period is obtained, the system usage rate data is extracted and processed, and the online upgrade instruction is obtained, specifically:

[0074] S201, obtaining equipment performance information for a preset time period to extract system usage data;

[0075] S202, comparing the system usage data with a preset system usage threshold;

[0076] S203, if the system usage data is less than the system usage threshold, the system is marked as idle to obtain system idle information;

[0077] S204, performing timing processing according to the system idle information to obtain idle time data;

[0078] S205, determining whether the idle time data is greater than a preset idle time threshold;

[0079] S206: If the idle time data is greater than or equal to the idle time threshold, an online upgrade instruction is obtained.

[0080] Among them, in order to realize automatic online upgrade without affecting normal user use, the device performance information of the preset time period is obtained to extract the system usage data, including the utilization of CPU, memory and key resources, and the system usage data is compared with the preset system usage threshold. If the system usage data is less than the system usage threshold, the system is marked as idle to obtain the system idle information. For example, the system usage data is 5% and the system usage threshold is 8%. Timing processing is performed according to the system idle information to obtain idle time data, and it is determined whether the idle time data is greater than the preset idle time threshold. If the idle time data is greater than or equal to the idle time threshold, an online upgrade instruction is obtained. For example, the idle time data is 5 minutes and the idle time threshold is 5 minutes.

[0081] Please refer to Figure 3 , Figure 3 The flowchart of the method for obtaining an upgrade file data packet of a DSP online upgrade processing method based on CAN communication in some embodiments of the present application is as follows. According to an embodiment of the present invention, the upgrade verification information is obtained and processed according to the online upgrade instruction to obtain the upgrade file data packet, specifically:

[0082] S301, obtaining upgrade verification information according to the online upgrade instruction;

[0083] S302, extracting upgrade file integrity data according to the upgrade verification information;

[0084] S303, comparing the upgrade file integrity data with a preset file integrity threshold;

[0085] S304: If the upgrade file integrity data is greater than or equal to the file integrity threshold, then obtain an upgrade file data package;

[0086] S305: If the upgrade file integrity data is less than the file integrity threshold, the upgrade file is incomplete.

[0087] Among them, in order to improve the success rate of online upgrades, upgrade verification information is obtained according to the online upgrade instructions, and the upgrade file integrity data is extracted, including the file's hash value, digital signature, file size and other data. The upgrade file integrity data is compared with the preset file integrity threshold. If the upgrade file integrity data is greater than or equal to the file integrity threshold, the upgrade file data packet is obtained. If the upgrade file integrity data is less than the file integrity threshold, the upgrade file is incomplete.

[0088] Please refer to Figure 4 , Figure 4The flowchart of the method for obtaining the upgrade success rate index of the DSP online upgrade processing method based on CAN communication in some embodiments of the present application. According to the embodiment of the present invention, the communication monitoring information of the preset time period is obtained and the data transmission data is extracted, and the upgrade success rate index is obtained by processing through the preset upgrade prediction model, specifically:

[0089] S401, obtaining the communication monitoring information of the preset time period and extracting the data transmission data;

[0090] S402, extracting signal strength data, bit error rate data, packet loss rate data and delay time data according to the data transmission data;

[0091] S403: Processing the signal strength data, the bit error rate data, the packet loss rate data and the delay time data through a preset upgrade prediction model to obtain an upgrade success rate index.

[0092] Among them, in order to understand the impact of communication quality on the DSP upgrade effect, the communication monitoring information of the preset time period is obtained and the data transmission data is extracted, and the signal strength data, bit error rate data, packet loss rate data and delay time data are extracted. The signal strength data reflects the strength of the signal reception. The bit error rate data refers to the ratio of the number of error bits to the total number of bits in the data transmission, reflecting the accuracy of the data transmission. The packet loss rate data refers to the ratio of the number of lost data packets to the total number of data packets, reflecting the integrity of the data transmission. The delay time data refers to the time required for the data packet to be sent to be received, reflecting the real-time nature of the data transmission. The upgrade success rate index is obtained through processing with the preset upgrade prediction model;

[0093] The calculation formula of the upgrade prediction model is:

[0094] ;

[0095] in, is the upgrade success rate index, They are signal strength data, bit error rate data, packet loss rate data and delay time data. It is the preset characteristic coefficient (the characteristic coefficient is obtained by querying the preset DSP upgrade database).

[0096] Please refer to Figure 5 , Figure 5 It is a flowchart of obtaining an upgrade success rate correction index of a DSP online upgrade processing method based on CAN communication in some embodiments of the present application. According to an embodiment of the present invention, the acquisition of multiple historical upgrade success rate indexes of the same time as the preset time period and processing to obtain an average upgrade success rate index, and the correction processing of the upgrade success rate index according to the average upgrade success rate index to obtain the upgrade success rate correction index are specifically as follows:

[0097] S501, obtaining and processing a plurality of historical upgrade success rate indexes of the same time period as the preset time period to obtain an average upgrade success rate index;

[0098] S502: Correct the upgrade success rate index according to the upgrade success rate average index by using a preset upgrade correction model to obtain an upgrade success rate correction index.

[0099] In order to further accurately reflect the DSP upgrade success rate, multiple historical upgrade success rate indexes of the same time as the preset time period are obtained and processed to obtain an average upgrade success rate index, and the upgrade success rate index is corrected by a preset upgrade correction model to obtain an upgrade success rate correction index;

[0100] The calculation formula of the upgrade correction model is:

[0101] ;

[0102] in, The upgrade success rate correction index. is the upgrade success rate index, is the average index of the upgrade success rate, It is the preset characteristic coefficient (the characteristic coefficient is obtained by querying the preset DSP upgrade database).

[0103] According to an embodiment of the present invention, comparing the upgrade success rate correction index with a preset success rate index threshold to determine whether the online upgrade is successful is specifically as follows:

[0104] Comparing the upgrade success rate correction index with a preset success rate index threshold;

[0105] If the upgrade success rate correction index is greater than or equal to the success rate index threshold, the online upgrade is considered successful;

[0106] If the upgrade success rate correction index is less than the success rate index threshold, it is determined that the online upgrade has failed.

[0107] Among them, in order to improve the success rate of DSP online upgrade and avoid resource waste caused by upgrade failure, the upgrade success rate correction index is compared with the preset success rate index threshold. If the upgrade success rate correction index is greater than or equal to the success rate index threshold, the online upgrade is judged to be successful. If the upgrade success rate correction index is less than the success rate index threshold, the online upgrade is judged to have failed.

[0108] According to an embodiment of the present invention, it also includes:

[0109] Extracting equipment operation monitoring data according to the equipment performance information;

[0110] Extracting equipment temperature variation amplitude data according to the equipment operation monitoring data;

[0111] Comparing the device temperature change amplitude data with a preset temperature change amplitude threshold to obtain a temperature change amplitude deviation rate;

[0112] If the temperature variation amplitude deviation rate is greater than or equal to the preset temperature variation amplitude deviation rate threshold, the device operating temperature variation is abnormal;

[0113] If the temperature variation amplitude deviation rate is less than the preset temperature variation amplitude deviation rate threshold, the device operating temperature variation is within the normal range.

[0114] Among them, in order to improve the working stability of the equipment and reduce the performance degradation of the equipment caused by sudden temperature changes, the equipment operation monitoring data is extracted according to the equipment performance information, and the equipment temperature change amplitude data is extracted to indicate how fast the equipment temperature changes over time, revealing the responsiveness or stability of the equipment under extreme conditions. The equipment temperature change amplitude data is compared with the preset temperature change amplitude threshold to obtain the temperature change amplitude deviation rate. If the temperature change amplitude deviation rate is greater than or equal to the preset temperature change amplitude deviation rate threshold, the equipment operating temperature change is abnormal, which will affect the normal operation of the equipment. If the temperature change amplitude deviation rate is less than the preset temperature change amplitude deviation rate threshold, the equipment operating temperature change is within the normal range. By analyzing the temperature change amplitude data of the equipment, abnormal equipment temperature can be discovered in time, so as to carry out fault warning and preventive maintenance.

[0115] The present invention also discloses a DSP online upgrade processing system based on CAN communication, comprising a memory and a processor, wherein the memory comprises a DSP online upgrade processing method program based on CAN communication, and when the DSP online upgrade processing method program based on CAN communication is executed by the processor, the following steps are implemented:

[0116] Obtain equipment performance information for a preset time period, extract system usage data, process it, and obtain online upgrade instructions;

[0117] Obtaining and processing upgrade verification information according to the online upgrade instruction to obtain an upgrade file data package;

[0118] Acquire the communication monitoring information of the preset time period and extract the data transmission data, process it through the preset upgrade prediction model, and obtain the upgrade success rate index;

[0119] Acquire multiple historical upgrade success rate indexes of the same time period as the preset time period and process them to obtain an average upgrade success rate index, and perform correction processing on the upgrade success rate index according to the average upgrade success rate index to obtain a corrected upgrade success rate index;

[0120] The upgrade success rate correction index is compared with a preset success rate index threshold to determine whether the online upgrade is successful.

[0121] Among them, the present application obtains the device performance information of the preset time period to extract the system usage rate data and processes it, obtains the online upgrade instruction, obtains the upgrade verification information according to the online upgrade instruction and processes it, obtains the upgrade file data packet, obtains the communication monitoring information of the preset time period and extracts the data transmission data, processes it through the preset upgrade prediction model, obtains the upgrade success rate index, obtains multiple historical upgrade success rate indexes of the same time as the preset time period and processes them to obtain the average index of the upgrade success rate, corrects the upgrade success rate index according to the average index of the upgrade success rate, obtains the upgrade success rate correction index, compares the upgrade success rate correction index with the preset success rate index threshold, and judges whether the online upgrade is successful. The present application can comprehensively evaluate the current status and communication environment of the device by obtaining the device performance information and communication monitoring information of the preset time period, provides an objective and accurate basis for the decision-making of the online upgrade, and reduces the error of subjective judgment. The collected data is processed using the preset upgrade prediction model to obtain the upgrade success rate index. This method combines historical data with real-time data, can more accurately predict the success rate of the upgrade, and further improves the accuracy of the prediction by comparing and correcting with the historical average index of the upgrade success rate, enhancing the system stability and reliability, and continuous optimization and improvement.

[0122] According to an embodiment of the present invention, the acquisition of device performance information for a preset time period extracts system usage data and processes it to obtain an online upgrade instruction, specifically:

[0123] Obtain equipment performance information for a preset time period to extract system usage data;

[0124] Comparing the system usage data with a preset system usage threshold;

[0125] If the system usage data is less than the system usage threshold, the system is marked as idle to obtain system idle information;

[0126] Performing timing processing according to the system idle information to obtain idle time data;

[0127] Determine whether the idle time data is greater than a preset idle time threshold;

[0128] If the idle time data is greater than or equal to the idle time threshold, an online upgrade instruction is obtained.

[0129] Among them, in order to realize automatic online upgrade without affecting normal user use, the device performance information of the preset time period is obtained to extract the system usage data, including the utilization of CPU, memory and key resources, and the system usage data is compared with the preset system usage threshold. If the system usage data is less than the system usage threshold, the system is marked as idle to obtain the system idle information. For example, the system usage data is 5% and the system usage threshold is 8%. Timing processing is performed according to the system idle information to obtain idle time data, and it is determined whether the idle time data is greater than the preset idle time threshold. If the idle time data is greater than or equal to the idle time threshold, an online upgrade instruction is obtained. For example, the idle time data is 5 minutes and the idle time threshold is 5 minutes.

[0130] According to an embodiment of the present invention, the upgrade verification information is acquired and processed according to the online upgrade instruction to obtain the upgrade file data packet, specifically:

[0131] Acquire upgrade verification information according to the online upgrade instruction;

[0132] Extracting upgrade file integrity data according to the upgrade verification information;

[0133] Comparing the upgrade file integrity data with a preset file integrity threshold;

[0134] If the upgrade file integrity data is greater than or equal to the file integrity threshold, then the upgrade file data package is obtained;

[0135] If the upgrade file integrity data is less than the file integrity threshold, the upgrade file is incomplete.

[0136] Among them, in order to improve the success rate of online upgrades, upgrade verification information is obtained according to the online upgrade instructions, and the upgrade file integrity data is extracted, including the file's hash value, digital signature, file size and other data. The upgrade file integrity data is compared with the preset file integrity threshold. If the upgrade file integrity data is greater than or equal to the file integrity threshold, the upgrade file data packet is obtained. If the upgrade file integrity data is less than the file integrity threshold, the upgrade file is incomplete.

[0137] According to an embodiment of the present invention, the communication monitoring information of the preset time period is obtained and the data transmission data is extracted, and the data is processed by a preset upgrade prediction model to obtain the upgrade success rate index, specifically:

[0138] Acquire the communication monitoring information of the preset time period and extract the data transmission data;

[0139] Extracting signal strength data, bit error rate data, packet loss rate data and delay time data according to the data transmission data;

[0140] The signal strength data, the bit error rate data, the packet loss rate data and the delay time data are processed by a preset upgrade prediction model to obtain an upgrade success rate index.

[0141] Among them, in order to understand the impact of communication quality on the DSP upgrade effect, the communication monitoring information of the preset time period is obtained and the data transmission data is extracted, and the signal strength data, bit error rate data, packet loss rate data and delay time data are extracted. The signal strength data reflects the strength of the signal reception. The bit error rate data refers to the ratio of the number of error bits to the total number of bits in the data transmission, reflecting the accuracy of the data transmission. The packet loss rate data refers to the ratio of the number of lost data packets to the total number of data packets, reflecting the integrity of the data transmission. The delay time data refers to the time required for the data packet to be sent to be received, reflecting the real-time nature of the data transmission. The upgrade success rate index is obtained through processing with the preset upgrade prediction model;

[0142] The calculation formula of the upgrade prediction model is:

[0143] ;

[0144] in, is the upgrade success rate index, They are signal strength data, bit error rate data, packet loss rate data and delay time data. It is the preset characteristic coefficient (the characteristic coefficient is obtained by querying the preset DSP upgrade database).

[0145] According to an embodiment of the present invention, the step of obtaining a plurality of historical upgrade success rate indexes of the same time period as the preset time period and processing them to obtain an average upgrade success rate index, and correcting the upgrade success rate index according to the average upgrade success rate index to obtain a corrected upgrade success rate index, is specifically as follows:

[0146] Acquire and process multiple historical upgrade success rate indexes of the same time period as the preset time period to obtain an average upgrade success rate index;

[0147] The upgrade success rate index is corrected according to the upgrade success rate average index by using a preset upgrade correction model to obtain an upgrade success rate correction index.

[0148] In order to further accurately reflect the DSP upgrade success rate, multiple historical upgrade success rate indexes of the same time as the preset time period are obtained and processed to obtain an average upgrade success rate index, and the upgrade success rate index is corrected by a preset upgrade correction model to obtain an upgrade success rate correction index;

[0149] The calculation formula of the upgrade correction model is:

[0150] ;

[0151] in, The upgrade success rate correction index. is the upgrade success rate index, is the average index of the upgrade success rate, It is the preset characteristic coefficient (the characteristic coefficient is obtained by querying the preset DSP upgrade database).

[0152] According to an embodiment of the present invention, comparing the upgrade success rate correction index with a preset success rate index threshold to determine whether the online upgrade is successful is specifically as follows:

[0153] Comparing the upgrade success rate correction index with a preset success rate index threshold;

[0154] If the upgrade success rate correction index is greater than or equal to the success rate index threshold, the online upgrade is considered successful;

[0155] If the upgrade success rate correction index is less than the success rate index threshold, it is determined that the online upgrade has failed.

[0156] Among them, in order to improve the success rate of DSP online upgrade and avoid resource waste caused by upgrade failure, the upgrade success rate correction index is compared with the preset success rate index threshold. If the upgrade success rate correction index is greater than or equal to the success rate index threshold, the online upgrade is judged to be successful. If the upgrade success rate correction index is less than the success rate index threshold, the online upgrade is judged to have failed.

[0157] According to an embodiment of the present invention, it also includes:

[0158] Extracting equipment operation monitoring data according to the equipment performance information;

[0159] Extracting equipment temperature variation amplitude data according to the equipment operation monitoring data;

[0160] Comparing the device temperature change amplitude data with a preset temperature change amplitude threshold to obtain a temperature change amplitude deviation rate;

[0161] If the temperature variation amplitude deviation rate is greater than or equal to the preset temperature variation amplitude deviation rate threshold, the device operating temperature variation is abnormal;

[0162] If the temperature variation amplitude deviation rate is less than the preset temperature variation amplitude deviation rate threshold, the device operating temperature variation is within the normal range.

[0163] Among them, in order to improve the working stability of the equipment and reduce the performance degradation of the equipment caused by sudden temperature changes, the equipment operation monitoring data is extracted according to the equipment performance information, and the equipment temperature change amplitude data is extracted to indicate how fast the equipment temperature changes over time, revealing the responsiveness or stability of the equipment under extreme conditions. The equipment temperature change amplitude data is compared with the preset temperature change amplitude threshold to obtain the temperature change amplitude deviation rate. If the temperature change amplitude deviation rate is greater than or equal to the preset temperature change amplitude deviation rate threshold, the equipment operating temperature change is abnormal, which will affect the normal operation of the equipment. If the temperature change amplitude deviation rate is less than the preset temperature change amplitude deviation rate threshold, the equipment operating temperature change is within the normal range. By analyzing the temperature change amplitude data of the equipment, abnormal equipment temperature can be discovered in time, so as to carry out fault warning and preventive maintenance.

[0164] The third aspect of the present invention provides a computer-readable storage medium, which includes a DSP online upgrade processing method program based on CAN communication. When the DSP online upgrade processing method program based on CAN communication is executed by a processor, the steps of the DSP online upgrade processing method based on CAN communication as described in any one of the above items are implemented.

[0165] The DSP online upgrade processing method, system and medium based on CAN communication disclosed in the present invention extract system usage data and process it by acquiring device performance information of a preset time period, obtain online upgrade instructions, obtain upgrade verification information and process it according to the online upgrade instructions, obtain upgrade file data packets, obtain communication monitoring information of the preset time period and extract data transmission data, process it through a preset upgrade prediction model, obtain an upgrade success rate index, obtain multiple historical upgrade success rate indexes of the same time as the preset time period and process them to obtain an average upgrade success rate index, correct the upgrade success rate index according to the average upgrade success rate index, obtain an upgrade success rate correction index, compare the upgrade success rate correction index with a preset success rate index threshold, and judge whether the online upgrade is successful. By acquiring device performance information and communication monitoring information of a preset time period, the present application can comprehensively evaluate the current status and communication environment of the device, provide an objective and accurate basis for online upgrade decision-making, and reduce the error of subjective judgment. The collected data is processed using a preset upgrade prediction model to obtain an upgrade success rate index. This method combines historical data with real-time data and can more accurately predict the upgrade success rate. By comparing and correcting the historical average upgrade success rate index, the prediction accuracy is further improved, and the system stability and reliability are enhanced, as well as continuous optimization and improvement.

[0166] In the several embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. The device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation, such as: multiple units or components can be combined, or can be integrated into another system, or some features can be ignored or not executed. In addition, the coupling, direct coupling, or communication connection between the components shown or discussed can be through some interfaces, and the indirect coupling or communication connection of the devices or units can be electrical, mechanical or other forms.

[0167] The units described above as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units; they may be located in one place or distributed on multiple network units; some or all of the units may be selected according to actual needs to achieve the purpose of the present embodiment.

[0168] In addition, all functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may be separately used as a unit, or two or more units may be integrated into one unit; the above-mentioned integrated units may be implemented in the form of hardware or in the form of hardware plus software functional units.

[0169] A person of ordinary skill in the art can understand that: all or part of the steps of implementing the above-mentioned method embodiment can be completed by hardware related to program instructions, and the aforementioned program can be stored in a readable storage medium, which, when executed, executes the steps of the above-mentioned method embodiment; and the aforementioned storage medium includes: mobile storage devices, read-only memories, random access memories, magnetic disks or optical disks, and other media that can store program codes.

[0170] Alternatively, if the above-mentioned integrated unit of the present invention is implemented in the form of a software function module and sold or used as an independent product, it can also be stored in a readable storage medium. Based on this understanding, the technical solution of the embodiment of the present invention can be essentially or partly reflected in the form of a software product that contributes to the prior art. The software product is stored in a storage medium and includes several instructions for a computer device (which can be a personal computer, server, or network device, etc.) to execute all or part of the methods described in each embodiment of the present invention. The aforementioned storage medium includes: various media that can store program codes, such as mobile storage devices, ROM, RAM, magnetic disks or optical disks.

Claims

1. A DSP online upgrade processing method based on CAN communication, characterized in that: The following steps are involved: Obtain equipment performance information for a preset time period, extract system usage data, process it, and obtain online upgrade instructions; Obtaining and processing upgrade verification information according to the online upgrade instruction to obtain an upgrade file data package; Acquire the communication monitoring information of the preset time period and extract the data transmission data, process it through the preset upgrade prediction model, and obtain the upgrade success rate index; Acquire multiple historical upgrade success rate indexes of the same time period as the preset time period and process them to obtain an average upgrade success rate index, and perform correction processing on the upgrade success rate index according to the average upgrade success rate index to obtain a corrected upgrade success rate index; Comparing the upgrade success rate correction index with a preset success rate index threshold to determine whether the online upgrade is successful; The device performance information of the preset time period is obtained, the system usage rate data is extracted and processed to obtain the online upgrade instruction, specifically: Obtain equipment performance information for a preset time period to extract system usage data; Comparing the system usage data with a preset system usage threshold; If the system usage data is less than the system usage threshold, the system is marked as idle to obtain system idle information; Performing timing processing according to the system idle information to obtain idle time data; Determine whether the idle time data is greater than a preset idle time threshold; If the idle time data is greater than or equal to the idle time threshold, an online upgrade instruction is obtained; The step of obtaining and processing the upgrade verification information according to the online upgrade instruction to obtain the upgrade file data package is specifically as follows: Acquire upgrade verification information according to the online upgrade instruction; Extracting upgrade file integrity data according to the upgrade verification information; Comparing the upgrade file integrity data with a preset file integrity threshold; If the upgrade file integrity data is greater than or equal to the file integrity threshold, then the upgrade file data package is obtained; If the upgrade file integrity data is less than the file integrity threshold, the upgrade file is incomplete; The communication monitoring information of the preset time period is obtained and the data transmission data is extracted, and the data transmission data is processed by a preset upgrade prediction model to obtain an upgrade success rate index, specifically: Acquire the communication monitoring information of the preset time period and extract the data transmission data; Extracting signal strength data, bit error rate data, packet loss rate data and delay time data according to the data transmission data; The signal strength data, the bit error rate data, the packet loss rate data and the delay time data are processed by a preset upgrade prediction model to obtain an upgrade success rate index; The calculation formula of the upgrade prediction model is: ; in, is the upgrade success rate index, They are signal strength data, bit error rate data, packet loss rate data and delay time data. is the preset characteristic coefficient.

2. The DSP online upgrade processing method based on CAN communication according to claim 1 is characterized in that: The acquiring of multiple historical upgrade success rate indexes of the same time period as the preset time period and processing to obtain an average upgrade success rate index, and correcting the upgrade success rate index according to the average upgrade success rate index to obtain a corrected upgrade success rate index, is specifically: Acquire and process multiple historical upgrade success rate indexes of the same time period as the preset time period to obtain an average upgrade success rate index; The upgrade success rate index is corrected according to the upgrade success rate average index by using a preset upgrade correction model to obtain an upgrade success rate correction index.

3. The DSP online upgrade processing method based on CAN communication according to claim 2 is characterized in that: The upgrade success rate correction index is compared with a preset success rate index threshold to determine whether the online upgrade is successful, specifically: Comparing the upgrade success rate correction index with a preset success rate index threshold; If the upgrade success rate correction index is greater than or equal to the success rate index threshold, the online upgrade is considered successful; If the upgrade success rate correction index is less than the success rate index threshold, it is determined that the online upgrade has failed.

4. The DSP online upgrade processing system based on CAN communication is characterized by: It comprises a memory and a processor, wherein the memory comprises a DSP online upgrade processing method program based on CAN communication, and when the DSP online upgrade processing method program based on CAN communication is executed by the processor, the steps of the DSP online upgrade processing method based on CAN communication as described in any one of claims 1 to 3 are implemented.

5. A computer-readable storage medium, characterized in that: The computer-readable storage medium includes a DSP online upgrade processing method program based on CAN communication. When the DSP online upgrade processing method program based on CAN communication is executed by a processor, the steps of the DSP online upgrade processing method based on CAN communication as described in any one of claims 1 to 3 are implemented.