Software remote upgrading method and system for intelligent instruments and meters
Through the remote software upgrade system of intelligent instruments and instruments, the problem of time-consuming and labor-consuming traditional upgrade methods is solved, rational upgrade management and upgrade package integrity verification are achieved, and the feasibility and security of upgrades are improved.
Patent Information
- Application Number
- CN202510575332.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-05-06
- Publication Date
- 2025-07-22
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
The traditional intelligent instrument software upgrade method consumes a lot of manpower and time, making it difficult to arrange reasonable upgrade tasks based on the version status of the target object, and the integrity of the upgrade package is difficult to supervise, resulting in an increase in the risk of upgrade failure.
Design a software remote upgrade system for intelligent instruments, including the software upgrade management center and remote server. Through preliminary analysis units, upgrade conditions units, pre-upgrade verification units and upgrade management units, version upgrade requirements analysis, memory and network quality evaluation, upgrade package integrity verification, upgrade tracking and verification are carried out to ensure the feasibility and security of the upgrade.
A rational upgrade plan management is realized, ensuring the integrity of the upgrade package, improving the feasibility and security of the upgrade, and promptly detecting and handling upgrade errors, improving the upgrade success rate.
Smart Images

Figure CN120353485A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of software remote upgrading, and in particular to a method and system for remote upgrading software of intelligent instruments and meters. Background Art
[0002] As an important device for data collection, processing and display in many fields such as industrial production, energy management and environmental monitoring, the continuous optimization and updating of software functions of intelligent instruments are crucial to improving instrument performance and meeting new business needs.
[0003] Traditional upgrade methods mostly use local upgrades, which requires technical personnel to go to the site to update the software through external storage devices or connecting dedicated debugging equipment. This method not only consumes a lot of manpower and time costs, but also is difficult to implement for widely distributed smart meters. However, in the existing remote upgrade technology, it is difficult to reasonably arrange the upgrade tasks according to the version status of the target object, and it is difficult to supervise the upgrade conditions of the target object, which leads to an increased risk of software upgrade failure of the target object, and it is difficult to analyze the integrity of the upgrade package, resulting in an increased risk of unavailability of the upgrade package, which is not conducive to the stable and safe upgrade of the target object.
[0004] In view of the above technical defects, a solution is now proposed. Summary of the invention
[0005] The purpose of the present invention is to provide a method and system for remote software upgrade of intelligent instruments and meters to solve the technical defects mentioned above. The present invention initially analyzes the version upgrade requirements from the perspective of the software version of the target object to determine whether the target object needs to be upgraded and whether the target object has the upgrade conditions. It further analyzes from the two points of memory and network quality in an information progressive manner to determine whether the upgrade conditions of the current target object meet the requirements. It gradually analyzes from the perspective of the upgrade package size and content fixed value to ensure the integrity of the downloaded upgrade package. At the same time, it deeply analyzes the collected upgrade defect information to intuitively understand whether the current target object has been successfully upgraded.
[0006] The object of the present invention can be achieved by the following technical solutions: A software remote upgrade system for intelligent instruments and meters, comprising a software upgrade management center and a remote server, wherein the software upgrade management center is provided with a preliminary analysis unit, an upgrade condition unit, a pre-upgrade verification unit, an upgrade evaluation unit and an upgrade management unit;
[0007] The software upgrade management center is used to retrieve the software version information of the target object, and send the software version information to the preliminary analysis unit for version upgrade requirement analysis to obtain a normal signal or a signal to be upgraded. When a signal to be upgraded is generated, the working state information of the target object is analyzed to obtain a postponement signal or an upgrade signal;
[0008] When an upgrade signal is generated, the upgrade condition unit is used to perform an upgrade condition evaluation and feedback analysis on the collected remaining memory value of the target object's device to obtain a stable signal or a loading risk signal. When a stable signal is generated, the pre-upgrade verification unit is used to perform a pre-upgrade integrity verification evaluation analysis on the collected integrity information of the target object's upgrade package to obtain a consistent signal or an inconsistent signal;
[0009] When a consistent signal is generated, the upgrade evaluation unit is used to perform an upgrade tracking and operation verification analysis on the collected upgrade defect information to obtain an interruption signal or a monitoring signal. When a monitoring signal is generated, the obtained upgrade self-check quality value is judged and processed to obtain an upgrade standard signal or an upgrade defect signal.
[0010] Preferably, the version upgrade requirement analysis process is as follows:
[0011] Set the intelligent instrument as the target object. The software upgrade management center sends a version query request to the target object, and then obtains the software version information of the target object. The software version information includes the version code and the upgrade package file name. At the same time, the latest software version information of the current target object is obtained, and the software version information is compared and analyzed one by one with the latest software version information to obtain a normal signal or a signal to be upgraded.
[0012] Preferably, when a signal to be upgraded is generated, the working state information of the target object is obtained. The working state information includes the working state and the non-working state, and the working state information of the target object is judged and processed. If the working state information of the target object is the working state, a postponement signal is generated. If the working state information of the target object is the non-working state, an upgrade signal is generated.
[0013] Preferably, the upgrade condition evaluation feedback analysis process is as follows:
[0014] Obtain the remaining memory value of the target object's device during the monitoring period. At the same time, obtain the occupied storage size of the target object's upgrade package. Set the ratio between the value obtained by subtracting the occupied storage size from the remaining memory value and the total memory value of the device as the running occupancy ratio, and perform a discriminant process on the running occupancy ratio: If the running occupancy ratio is less than the preset running occupancy ratio threshold, a cleaning signal is generated. When a cleaning signal is generated, if the running occupancy ratio is greater than or equal to the preset running occupancy ratio threshold, a feedback signal is generated.
[0015] Preferably, when generating a feedback signal, network status information of the target object within the monitoring period is obtained. The network status information includes network transmission rate and signal strength. Based on the time series, a network transmission rate characteristic curve and a signal strength characteristic curve are constructed. The difference between the maximum peak value and the minimum valley value is obtained based on the network transmission rate characteristic curve and the signal strength characteristic curve, and the differences between the maximum peak value and the minimum valley value are respectively set as the rate floating span and the strength floating span. The rate floating span and the strength floating span are subjected to discrimination processing to obtain a response stable signal or a loading risk signal.
[0016] Preferably, the process of evaluating and analyzing the integrity of the upgrade package before upgrade is as follows:
[0017] The integrity information of the upgrade package of the target object before downloading is obtained. The integrity information includes the number of data packets and the size of the upgrade package, and character extraction is performed on the number of data packets and the size of the upgrade package. The string formed by character extraction of the number of data packets and the size of the upgrade package is set as the first verification string;
[0018] The CRC checksum and MD5 of the upgrade package of the target object before downloading are obtained. Character extraction is performed on the CRC checksum and MD5 of the upgrade package of the target object, and the string formed by character extraction of the CRC checksum and MD5 of the upgrade package of the target object is set as the second verification string.
[0019] Preferably, the integrity information of the upgrade package of the target object after downloading is obtained. Based on the integrity information of the upgrade package of the target object, the first verification string after downloading is obtained. At the same time, the second verification string after downloading is obtained, and the first verification string after downloading and the second verification string after downloading are respectively set as the actual first verification string and the actual second verification string;
[0020] The first verification string is compared and analyzed with the actual first verification string: If the first verification string and the actual first verification string correspond one by one, an available signal is generated. If the first verification string and the actual first verification string do not correspond one by one, an unavailable signal is generated;
[0021] When an available signal is generated, the second verification string is compared and analyzed with the actual second verification string to obtain a consistent signal or an inconsistent signal.
[0022] Preferably, the process of upgrade tracking and operation verification analysis is as follows:
[0023] The upgrade period of the target object is obtained, and the number of upgrade defect information of the target object within the upgrade period is obtained in real time. The upgrade performance information includes file decompression failure and configuration error, and the number of upgrade defect information of the target object is subjected to discrimination processing to obtain a monitoring signal or an interruption signal;
[0024] When generating a monitoring signal, the upgrade self-check information after the target object is upgraded is obtained, and at the same time, the self-check output result of the upgrade self-check information after the target object is upgraded is obtained. The self-check output result includes qualified and unqualified. The number of qualified ones in the self-check output result of the upgrade self-check information is obtained, and the number of qualified ones in the self-check output result of the upgrade self-check information is set as the upgrade self-check quality value, and the upgrade self-check quality value is judged to obtain an upgrade standard signal or an upgrade defect signal.
[0025] The beneficial effects of the present invention are as follows:
[0026] (1) The present invention initially analyzes the version upgrade requirements from the perspective of the software version of the target object, judges whether the target object needs to be upgraded, and at the same time analyzes whether the target object has the upgrade conditions, so as to rationally postpone the management of the target object upgrade plan. And through the way of information progression, it further analyzes from two points of memory and network quality to judge whether the current upgrade conditions of the target object meet the requirements, so as to perform targeted processing based on the feedback information, thereby ensuring the feasibility of the target object upgrade;
[0027] (2) The present invention gradually analyzes from the perspectives of the upgrade package size and the content fixed value to ensure the integrity of the downloaded upgrade package, thereby improving the security and reliability of the subsequent target object upgrade. At the same time, it deeply analyzes the collected upgrade defect information. On the one hand, it understands whether there are errors during the upgrade period of the target object, so as to interrupt the upgrade in time. On the other hand, it helps to analyze the upgrade quality after the target object is upgraded, so as to intuitively understand whether the current target object is upgraded successfully. Description of the Drawings
[0028] The following further describes the present invention with reference to the drawings;
[0029] Figure 1 is the system flowchart of the present invention;
[0030] Figure 2 is the method reference diagram of the third embodiment of the present invention;
[0031] Figure 3 is the partial analysis reference diagram of the present invention. Detailed Embodiments
[0032] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the drawings in the embodiments of the present invention. Obviously, the described embodiments are only a part of the embodiments of the present invention, rather than all the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of the present invention.
[0033] References to "embodiments" in this specification mean that the specific features, structures, or characteristics described in connection with the embodiments can be included in at least one embodiment of the invention. The phrase appears in various places in the specification and does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment mutually exclusive with other embodiments. It is explicitly and implicitly understood by those skilled in the art that the embodiments described herein can be combined with other embodiments;
[0034] Embodiment 1:
[0035] Please refer to Figures 1 to 3 As shown, the present invention is a software remote upgrade system for intelligent instruments and meters, including a software upgrade management center and a remote server. A preliminary analysis unit, an upgrade condition unit, a pre-upgrade verification unit, an upgrade evaluation unit, and an upgrade management unit are provided in the software upgrade management center. The preliminary analysis unit is in one-way communication connection with both the upgrade condition unit and the upgrade management unit. The upgrade condition unit is in one-way communication connection with both the pre-upgrade verification unit and the upgrade management unit. The pre-upgrade verification unit is in one-way communication connection with both the upgrade evaluation unit and the upgrade management unit. The upgrade evaluation unit is in one-way communication connection with the upgrade management unit;
[0036] The software upgrade management center is used to retrieve the software version information of the target object and send the software version information to the preliminary analysis unit for version upgrade requirement analysis, so as to initially analyze from the perspective of the software version of the target object, determine whether the target object needs to be upgraded, and at the same time analyze whether the target object has the upgrade conditions, so as to rationally postpone the management of the upgrade plan for the target object. The specific version upgrade requirement analysis process is as follows:
[0037] Set the intelligent instrument and meter as the target object. The software upgrade management center sends a version query request to the target object, and then obtains the software version information of the target object. The software version information includes version code, upgrade package file name, etc. At the same time, obtain the latest software version information of the current target object, and compare and analyze the software version information with the latest software version information one by one:
[0038] If the software version information corresponds one by one to the latest software version information, a normal signal is generated;
[0039] If the software version information does not correspond one by one to the latest software version information, a signal to be upgraded is generated;
[0040] When generating the signal to be upgraded, the working status information of the target object is obtained. The working status information includes the working state and the non-working state, and the working status information of the target object is judged and processed. If the working status information of the target object is the working state, a postponement signal is generated. If the working status information of the target object is the non-working state, an upgrade signal is generated. The upgrade management unit is used to respond to the postponement signal or the upgrade signal and immediately perform the preset warning operation corresponding to the postponement signal or the upgrade signal, that is, send the preset warning text corresponding to the postponement signal or the upgrade signal to the remote server, so as to intuitively understand whether the current target object meets the upgrade conditions, so as to rationally postpone the management of the upgrade plan of the target object;
[0041] When generating the upgrade signal, the upgrade condition unit is used to perform an upgrade condition evaluation and feedback analysis on the remaining memory value of the device of the target object collected, so as to analyze from two points of memory and network quality, and judge whether the upgrade conditions of the current target object meet the requirements, so as to perform targeted processing based on the feedback information, thereby ensuring the feasibility of the upgrade of the target object. The specific upgrade condition evaluation and feedback analysis process is as follows:
[0042] The remaining memory value of the device of the target object during the monitoring period is obtained, and at the same time, the occupied storage size of the upgrade package of the target object is obtained. The ratio between the value obtained by subtracting the occupied storage size from the remaining memory value of the device and the total memory value of the device is set as the running occupancy ratio, and the running occupancy ratio is judged and processed: If the running occupancy ratio is less than the preset running occupancy ratio threshold, a cleaning signal is generated. When the cleaning signal is generated, the upgrade management unit is used to clean the signal and release the storage space of the target object. For example: delete some expired historical data or temporary files. If the running occupancy ratio is greater than or equal to the preset running occupancy ratio threshold, a feedback signal is generated;
[0043] When generating the feedback signal, the network status information of the target object during the monitoring period is obtained. The network status information includes the network transmission rate and the signal strength. Based on the time series, a network transmission rate characteristic curve and a signal strength characteristic curve are constructed. Based on the network transmission rate characteristic curve and the signal strength characteristic curve, the difference between the maximum wave peak value and the minimum wave trough value is obtained, and the difference between the maximum wave peak value and the minimum wave trough value is respectively set as the rate fluctuation span and the intensity fluctuation span, and the rate fluctuation span and the intensity fluctuation span are judged and processed:
[0044] If the rate fluctuation span is less than the preset rate fluctuation span threshold and the intensity fluctuation span is less than the preset intensity fluctuation span threshold, a stable signal is generated;
[0045] If the rate floating span is greater than or equal to the preset rate floating span threshold, or the intensity floating span is greater than or equal to the preset intensity floating span threshold, a loading risk signal is generated. The upgrade management unit is used to respond to the stability signal or the loading risk signal and immediately perform the preset warning operation corresponding to the stability signal or the loading risk signal, that is, send the preset warning text corresponding to the stability signal or the loading risk signal to the remote server, so as to perform targeted processing based on the feedback information, thereby ensuring the feasibility of the target object upgrade.
[0046] Embodiment 2:
[0047] When a stability signal is generated, the pre-upgrade verification unit is used to perform a pre-upgrade package integrity verification and evaluation analysis on the integrity information of the target object upgrade package collected, that is, perform a step-by-step analysis from the perspectives of the upgrade package size and the content fixed value, so as to ensure the integrity of the downloaded upgrade package, thereby improving the security and reliability of the subsequent target object upgrade. The specific pre-upgrade package integrity verification and evaluation analysis process is as follows:
[0048] Obtain the integrity information of the target object upgrade package before downloading. The integrity information includes the number of data packets and the upgrade package size, and perform character extraction on the number of data packets and the upgrade package size. The string formed by performing character extraction on the number of data packets and the upgrade package size is set as the first verification string;
[0049] Obtain the CRC checksum and MD5 of the target object upgrade package before downloading. Perform character extraction on the CRC checksum and MD5 of the target object upgrade package. The string formed by performing character extraction on the CRC checksum and MD5 of the target object upgrade package is set as the second verification string;
[0050] MD5 is a widely used hash function that can convert input data of any length into a hash value of a fixed length (128 bits, usually represented as a 32-bit hexadecimal number);
[0051] CRC, that is, cyclic redundancy check, is a fast algorithm for generating a short fixed-bit check code according to data such as network data packets or computer files, mainly used to detect or check possible errors after data transmission or storage;
[0052] Obtain the integrity information of the target object upgrade package after downloading. Based on the integrity information of the target object upgrade package, obtain the first verification string after downloading, and at the same time obtain the second verification string after downloading, and set the first verification string after downloading and the second verification string after downloading as the actual first verification string and the actual second verification string respectively;
[0053] Compare and analyze the first verification string with the actual first verification string:
[0054] If the first verification string and the actual first verification string correspond one by one, an available signal is generated;
[0055] If the first verification string and the actual first verification string do not correspond one by one, an unavailable signal is generated;
[0056] When an available signal is generated, further analyze whether the upgrade package is damaged during the download process, and compare and analyze the second verification string with the actual second verification string.
[0057] If the second verification string and the actual second verification string correspond one by one, a consistent signal is generated;
[0058] If the second verification string and the actual second verification string do not correspond one by one, an inconsistent signal is generated. The upgrade management unit is used to respond to the consistent signal or the inconsistent signal and immediately perform the preset warning operation corresponding to the consistent signal or the inconsistent signal, that is, send the preset warning text corresponding to the consistent signal or the inconsistent signal to the remote server, so as to intuitively understand whether the upgrade package of the target object is complete, which helps to improve the security and reliability of the subsequent upgrade of the target object;
[0059] When a consistent signal is generated, the upgrade evaluation unit is used to perform upgrade tracking and running verification analysis on the collected upgrade defect information. On the one hand, it can understand whether there are errors during the upgrade period of the target object, so as to interrupt the upgrade in time. On the other hand, it helps to analyze the upgrade quality after the upgrade of the target object, so as to intuitively understand whether the current target object has been upgraded successfully. The specific upgrade tracking and running verification analysis process is as follows:
[0060] Obtain the upgrade period of the target object, and obtain the number of upgrade defect information of the target object in real time during the upgrade period. The upgrade performance information includes file decompression failure, configuration error, etc., and perform discrimination processing on the number of upgrade defect information of the target object: if the number of upgrade defect information of the target object is equal to zero, a monitoring signal is generated; if the number of upgrade defect information of the target object is not equal to zero, an interrupt signal is generated. The upgrade management unit is used to respond to the interrupt signal and immediately try to automatically repair the error according to the upgrade log. If it cannot be automatically repaired, send the preset warning text corresponding to the interrupt signal to the remote server, thereby reminding the operation and management personnel to perform manual processing;
[0061] When a monitoring signal is generated, obtain the post-upgrade self-check information of the target object after the upgrade is completed. The post-upgrade self-check information includes software self-check, communication self-check, etc. At the same time, obtain the self-check output result of the post-upgrade self-check information of the target object after the upgrade is completed. The self-check output result includes qualified and unqualified. Obtain the number of qualified in the self-check output result of the post-upgrade self-check information, and set the number of qualified in the self-check output result of the post-upgrade self-check information as the post-upgrade self-check quality value, and perform discrimination processing on the post-upgrade self-check quality value:
[0062] If the upgraded self-check quality value is equal to the preset upgraded self-check quality value threshold, an upgrade standard signal is generated;
[0063] If the upgraded self-check quality value is not equal to the preset upgraded self-check quality value threshold, an upgrade defect signal is generated. The upgrade management unit is used to respond to the upgrade standard signal or the upgrade defect signal and immediately send the preset warning text corresponding to the upgrade standard signal or the upgrade defect signal to the remote server, so as to intuitively understand whether the current target object has been upgraded successfully, and to carry out reasonable management based on the feedback information. For example, if the upgrade is successful, the relevant software version information is stored; if the upgrade is not successful, it is restored to the software version before the upgrade, and the self-check items corresponding to the unqualified items in the upgraded self-check information are displayed for further analysis and processing to improve the upgrade efficiency of the target object;
[0064] Among them, software self-check includes data collection, processing, display, etc., and communication self-check includes transmission, connection, etc.
[0065] Embodiment 3:
[0066] A software remote upgrade method for intelligent instruments and meters, including the following steps:
[0067] Step 1: Initially analyze the version upgrade requirements from the perspective of the software version of the target object, compare and analyze the obtained software version information with the latest software version information one by one to obtain a normal signal or a signal to be upgraded;
[0068] Step 2: The upgrade condition evaluation and analysis process based on the signal to be upgraded, that is, analyze the working state information of the target object and output and feedback the obtained delay signal or upgrade signal;
[0069] Step 3: The upgrade condition evaluation and feedback analysis process based on the information progressive method, that is, further conduct upgrade condition evaluation and feedback analysis from two points of the memory and network quality of the target object, and output and feedback the obtained stable signal or loading risk signal;
[0070] Step 4: The pre-upgrade integrity verification and evaluation analysis process of the integrity information based on the stable signal, that is, gradually analyze from the perspectives of the upgrade package size and the content fixed value of the target object to determine whether the upgrade package download of the target object is complete;
[0071] Step 5: Conduct upgrade tracking and operation verification analysis on the target object in an in-depth manner, that is, conduct upgrade tracking and operation verification analysis on the collected upgrade defect information to determine whether the current target object has been upgraded successfully;
[0072] In summary, the present invention initially conducts an analysis of version upgrade requirements from the perspective of the software version of the target object, determines whether the target object needs to be upgraded, and simultaneously analyzes whether the target object meets the upgrade conditions, so as to rationally postpone the management of the upgrade plan for the target object. Further analysis is carried out from two aspects of memory and network quality in the way of information progression to determine whether the current upgrade conditions of the target object meet the requirements, so as to conduct targeted processing based on the feedback information, thereby ensuring the feasibility of the target object upgrade. By gradually analyzing from the perspectives of the upgrade package size and the content fixed value, the integrity of the downloaded upgrade package is ensured, thereby improving the security and reliability of the subsequent target object upgrade. At the same time, in-depth analysis is carried out on the collected upgrade defect information. On the one hand, it is understood whether errors occur during the upgrade period of the target object, so as to interrupt the upgrade in a timely manner. On the other hand, it helps to analyze the upgrade quality after the target object is upgraded, so as to intuitively understand whether the current target object is successfully upgraded.
[0073] The setting of the threshold value is for the convenience of comparison. Regarding the size of the threshold value, it depends on the amount of sample data and the number of base values set by those skilled in the art for each group of sample data; as long as the proportional relationship between the parameter and the quantified value is not affected.
[0074] The above are only the preferred specific embodiments of the present invention, but the protection scope of the present invention is not limited thereto. Any person skilled in the art within the technical scope disclosed by the present invention, according to the technical solution and inventive concept of the present invention, makes equivalent substitutions or changes, and all should be covered within the protection scope of the present invention.
Claims
1. A software remote upgrade system for intelligent instruments and meters, characterized in that It includes a software upgrade management center and a remote server. Inside the software upgrade management center, there are a preliminary analysis unit, an upgrade condition unit, a pre-upgrade verification unit, an upgrade evaluation unit, and an upgrade management unit; The software upgrade management center is used to retrieve the software version information of the target object and send the software version information to the preliminary analysis unit for version upgrade requirement analysis to obtain a normal signal or a signal to be upgraded. When a signal to be upgraded is generated, the working status information of the target object is analyzed to obtain a deferral signal or an upgrade signal; When an upgrade signal is generated, the upgrade condition unit is used to conduct an upgrade condition evaluation feedback analysis on the collected remaining memory value of the target object's device to obtain a stable signal or a loading risk signal. When a stable signal is generated, the pre-upgrade verification unit is used to conduct a pre-upgrade upgrade package integrity verification evaluation analysis on the collected integrity information of the target object's upgrade package to obtain a consistent signal or an inconsistent signal; When a consistent signal is generated, the upgrade evaluation unit is used to conduct an upgrade tracking and operation verification analysis on the collected upgrade defect information to obtain an interruption signal or a monitoring signal. When a monitoring signal is generated, the obtained upgrade self-check quality value is judged and processed to obtain an upgrade standard signal or an upgrade defect signal.
2. The software remote upgrade system of an intelligent instrument according to claim 1, characterized in that, The process of version upgrade requirement analysis is as follows: Set the intelligent instrument as the target object. The software upgrade management center sends a version query request to the target object, and then obtains the software version information of the target object. The software version information includes the version code and the upgrade package file name. At the same time, the latest software version information of the current target object is obtained, and the software version information is compared and analyzed one by one with the latest software version information to obtain a normal signal or a signal to be upgraded.
3. The software remote upgrade system of an intelligent instrument according to claim 2, characterized in that, When a signal to be upgraded is generated, the working status information of the target object is obtained. The working status information includes the working state and the non-working state, and the working status information of the target object is judged and processed. If the working status information of the target object is the working state, a deferral signal is generated. If the working status information of the target object is the non-working state, an upgrade signal is generated.
4. The software remote upgrade system of an intelligent instrument according to claim 1, characterized in that, The process of upgrade condition evaluation feedback analysis is as follows: Obtain the remaining memory value of the target object's device during the monitoring period. At the same time, obtain the occupied storage size of the target object's upgrade package. Set the ratio between the value obtained by subtracting the occupied storage size from the remaining memory value and the total memory value of the device as the running occupancy ratio, and conduct a judgment and processing on the running occupancy ratio: If the running occupancy ratio is less than the preset running occupancy ratio threshold, a cleaning signal is generated. When a cleaning signal is generated, if the running occupancy ratio is greater than or equal to the preset running occupancy ratio threshold, a feedback signal is generated.
5. The software remote upgrade system of an intelligent instrument according to claim 4, characterized in that, When generating a feedback signal, the network status information of the target object within the monitoring period is obtained. The network status information includes the network transmission rate and signal strength. Based on the time series, a network transmission rate characteristic curve and a signal strength characteristic curve are constructed. The difference between the maximum peak value and the minimum valley value is obtained based on the network transmission rate characteristic curve and the signal strength characteristic curve, and the difference between the maximum peak value and the minimum valley value is respectively set as the rate floating span and the intensity floating span. The rate floating span and the intensity floating span are processed for discrimination to obtain a response stable signal or a loading risk signal.
6. The software remote upgrade system of an intelligent instrument according to claim 1, characterized in that, The process of evaluating and analyzing the integrity verification of the upgrade package before upgrade is as follows: The integrity information of the upgrade package of the target object before download is obtained. The integrity information includes the number of data packets and the size of the upgrade package, and character extraction is performed on the number of data packets and the size of the upgrade package. The string formed by the character extraction of the number of data packets and the size of the upgrade package is set as the first verification string; The CRC checksum and MD5 of the upgrade package of the target object before download are obtained, and character extraction is performed on the CRC checksum and MD5 of the upgrade package of the target object. The string formed by the character extraction of the CRC checksum and MD5 of the upgrade package of the target object is set as the second verification string.
7. The software remote upgrade system of an intelligent instrument according to claim 6, characterized in that, The integrity information of the upgrade package of the target object after download is obtained. Based on the integrity information of the upgrade package of the target object, the first verification string after download is obtained. At the same time, the second verification string after download is obtained, and the first verification string after download and the second verification string after download are respectively set as the actual first verification string and the actual second verification string; The first verification string is compared and analyzed with the actual first verification string: if the first verification string and the actual first verification string are in one-to-one correspondence, an available signal is generated; if the first verification string and the actual first verification string are not in one-to-one correspondence, an unavailable signal is generated; When an available signal is generated, the second verification string is compared and analyzed with the actual second verification string to obtain a consistent signal or an inconsistent signal.
8. The software remote upgrade system of an intelligent instrument according to claim 1, characterized in that, The process of upgrade tracking and operation verification analysis is as follows: The upgrade period of the target object is obtained, and the number of upgrade defect information of the target object within the upgrade period is obtained in real time. The upgrade performance information includes file decompression failure and configuration error, and the number of upgrade defect information of the target object is processed for discrimination to obtain a monitoring signal or an interruption signal; When a monitoring signal is generated, the post-upgrade self-check information of the target object after the upgrade is completed is obtained. At the same time, the self-check output result of the post-upgrade self-check information of the target object after the upgrade is completed is obtained. The self-check output result includes qualified and unqualified. The number of qualified in the self-check output result of the post-upgrade self-check information is obtained, and the number of qualified in the self-check output result of the post-upgrade self-check information is set as the post-upgrade self-check quality value, and the post-upgrade self-check quality value is processed for discrimination to obtain an upgrade standard signal or an upgrade defect signal.
9. A software remote upgrade method for an intelligent instrument and meter, which is applied to the software remote upgrade system of an intelligent instrument and meter according to any one of claims 1-8, and is characterized in that, It includes the following steps: Step 1: Initially analyze the version upgrade requirements from the perspective of the software version of the target object; Step 2: The process of evaluating and analyzing the upgrade conditions based on the premise of the upgrade signal to be sent; Step 3: The process of evaluating and feedback analyzing the upgrade conditions in the way of information progression; Step 4: The pre-upgrade integrity verification and evaluation analysis process of the integrity information based on the stable signal; Step 5: Conduct upgrade tracking and running verification analysis on the target object in an in-depth manner.
Citation Information
Patent Citations
Software version confirmation method, device and system
CN105389177A
Intelligent remote transmission table embedded software remote upgrading method
CN113590165A
Software online upgrading method and system for scanning and reading pen
CN117270906A
Vehicle OTA upgrading method and device, electronic equipment and storage medium
CN117707574A
Automatic detection method based on set top box equipment system upgrading
CN118945315A