Software information updating method and device, storage medium and electronic equipment
By automating the comparison and updating of benchmark file verification information, the problem of untimely synchronization of changes to competitor files was resolved, improving the user download experience and trust.
Patent Information
- Application Number
- CN202511585722.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-10-31
- Publication Date
- 2026-01-23
AI Technical Summary
The software file changes corresponding to the download address provided by the competitor were not synchronized with the promoter in a timely manner. This caused the software market to fail to verify the downloaded file and the displayed information when it was verified according to the original information, resulting in download failures. Furthermore, the lack of a real-time monitoring mechanism led to a delay in fault detection, which affected user experience and trust.
By reading the baseline information of the target software from the preset software information document, including the software identifier, baseline download address and baseline file verification information, an automated network request is initiated to download the target software, the actual file verification information is determined and a consistency comparison is performed. If there is a discrepancy, the baseline file verification information is updated by overwriting the actual file verification information.
Ensure that the benchmark file verification information reflects the latest status of the software files in a timely manner, avoid mismatch between the downloaded files and the displayed information, and improve the user's download experience and trust.
Smart Images

Figure CN121387334A_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the technical field of software testing, in particular to a software information updating method and device, a storage medium and an electronic device. BACKGROUND
[0002] Under the background of the vigorous development of digital software ecology, software promotion and cooperation modes are increasingly diversified. Many enterprises promote the software packages of partners or access external products to realize resource sharing, complementary advantages, and provide users with more abundant software choices.
[0003] In this cooperative promotion mode, the partner usually only provides the software download address, and the promoter (such as the software market application operator) undertakes the important responsibility of displaying software information in the software mall and ensuring that the user can successfully download the software. Specifically, the software market application will display the corresponding software name, hash value, file size and other key information in the mall. The program of the software market application will strictly verify the downloaded software, and only when the downloaded software information completely matches the data displayed in the mall, the download process can be successfully completed; if they do not match, the download will directly fail.
[0004] However, in the actual software promotion and download process, the software file corresponding to the download address provided by the partner is not immutable. However, such changes are often not synchronized to the promoter in a timely manner, resulting in a situation where the downloaded file does not match the displayed information when the software market application verifies according to the original information, thereby causing the download to fail. Moreover, due to the lack of effective real-time monitoring mechanism, the download failure situation often cannot be discovered in a timely manner, and this lagging fault discovery mechanism seriously affects the user's download experience and trust. SUMMARY
[0005] Therefore, the present application provides a software information updating method and device, a storage medium and an electronic device, which mainly aims to solve the technical problem that the software file corresponding to the download address provided by the partner is not immutable. However, such changes are often not synchronized to the promoter in a timely manner, resulting in a situation where the downloaded file does not match the displayed information when the software market application verifies according to the original information, thereby causing the download to fail. Moreover, due to the lack of effective real-time monitoring mechanism, the download failure situation often cannot be discovered in a timely manner, and this lagging fault discovery mechanism seriously affects the user's download experience and trust.
[0006] According to a first aspect of the present application, a software information updating method is provided, which comprises: Step 1: reading the reference information of the target software from the preset software information document, wherein the reference information at least includes software identification information, reference download address and reference file verification information; Step 2: According to the reference download address, initiate an automated network request to download the target software, and determine the actual file check information of the target software; Step 3: Compare the actual file check information with the reference file check information for consistency, and if the comparison result is inconsistent, update the reference file check information by using the actual file check information.
[0007] According to a second aspect of the present application, a software information updating device is provided, which comprises: a reading module configured to read reference information of a target software from a preset software information document, the reference information comprising at least software identification information, a reference download address, and reference file check information; a determining module configured to initiate an automated network request to download the target software according to the reference download address, and determine the actual file check information of the target software; a comparison module configured to compare the actual file check information with the reference file check information for consistency, and if the comparison result is inconsistent, update the reference file check information by using the actual file check information.
[0008] According to a third aspect of the present application, a non-transitory computer readable storage medium storing computer instructions is provided, wherein the computer instructions are used to make a computer execute the method of the first aspect.
[0009] According to a fourth aspect of the present application, an electronic device is provided, which comprises at least one processor, and a memory connected to the at least one processor in communication; wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to execute the method of the first aspect.
[0010] The software information updating method, device, storage medium and electronic equipment provided by the application can first read reference information of target software from a preset software information document, the reference information at least including software identification information, a reference download address and reference file verification information; initiate an automatic network request to download the target software according to the reference download address, and determine actual file verification information of the target software; compare the actual file verification information with the reference file verification information for consistency, and if the comparison result is inconsistent, update the reference file verification information by using the actual file verification information. In the scheme of the application, the actual file verification information is compared with the reference file verification information for consistency. If the comparison result is inconsistent, it indicates that the software file corresponding to the download address has been changed, and at this time, the reference file verification information is updated by using the actual file verification information. This mechanism ensures that the reference file verification information can timely reflect the latest state of the software file, avoids the problem that the software file change is not synchronized to the promoter, resulting in that the downloaded file and the display information are not matched, the download fails when the original information is verified, and improves the download experience and trust of the user.
[0011] It should be understood that the content described in this part is not intended to identify key or important features of the embodiments of the application, nor is it used to limit the scope of the application. Other features of the application will become apparent from the following description. BRIEF DESCRIPTION OF DRAWINGS
[0012] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the application and serve to explain the principles of the application together with the description.
[0013] In order to more clearly illustrate the technical solutions in the embodiments of the application or the prior art, the accompanying drawings needed to be used in the embodiments or prior art description will be briefly introduced. Obviously, for those skilled in the art, other drawings can also be obtained from these drawings without creative labor.
[0014] Figure 1 A flowchart of a software information updating method provided by the embodiments of the application; Figure 2 A flowchart of another software information updating method provided by the embodiments of the application; Figure 3 A structural diagram of a software information updating device provided by the embodiments of the application. DETAILED DESCRIPTION
[0015] Exemplary embodiments of the present application are described herein with reference to the accompanying drawings, which are cited by way of example only. The various details of the embodiments of the application can be understood with reference to the figures, which are intended to illustrate the application for purposes of clarity and understanding. Therefore, persons of ordinary skill in the art will recognize that various changes and modifications of the embodiments described herein can be made without departing from the scope and spirit of the application. Also, descriptions of well-known functions and constructions are omitted for clarity and conciseness. It should be noted that the embodiments of the present application and features in the embodiments can be combined with each other without conflict.
[0016] The software information updating method, device, storage medium and electronic equipment of the embodiments of the present application are described below with reference to the accompanying drawings.
[0017] To solve the technical problem that the software files corresponding to the download addresses provided by the competitors are not fixed. However, such changes are often not synchronized to the promotion party in time, resulting in a situation that the download files do not match the display information when the software market application is verified according to the original information, and further causing download failure. Moreover, due to the lack of effective real-time monitoring mechanism, the download failure situation often cannot be discovered in time. Such delayed fault discovery mechanism seriously affects the user's download experience and trust degree. The embodiments of the present application provide a software information updating method, as shown in the method, the method comprises: Figure 1 Step 101, reading the reference information of the target software from the preset software information document, the reference information at least including software identification information, reference download address, reference file verification information.
[0018] In the embodiment, as shown in the embodiment, the maintenance personnel can create a preset software information document in advance, wherein the preset software information document can be an Excel document, which can be used to centrally manage the reference information of all to-be-monitored software. In the Excel document, each row can represent a software, and each column can represent an information attribute. Figure 2
[0019] Specifically, the automatic script (for example, written in Python language) can read the Excel document by using the pandas library in Python when starting. The script can traverse each row in the Excel document to obtain the reference information of the target software. The reference information at least includes: software identification information, reference download address, reference file verification information.
[0020] The software identification information can be information for uniquely identifying and positioning the software, for example, the software name; The reference download address can be the source of the automatic script to download the file; The reference file verification information can be information for verifying the integrity and consistency of the file, and can include a reference file hash value (such as an MD5 value) and / or a reference file size (such as 85,123,456 bytes).
[0021] In addition, the Excel document can also include a column of "synchronization status", which can be used to record whether the reference information of the software is the latest.
[0022] Step 102, according to the reference download address, initiating an automated network request to download the target software, and determining the actual file verification information of the target software.
[0023] The actual file verification information includes an actual file hash value and / or an actual file size.
[0024] For the embodiments of the present disclosure, as shown in the following table, for each target software read in step 101, the automated script can perform the following operations: Figure 2 First, the automated script can use the requests library to initiate an automated network request (such as an HTTP GET request) to the reference download address to request to download the installation package file of the target software. In order to improve efficiency, the file can usually be downloaded to a temporary directory.
[0025] Due to the complexity of the network environment, the download may fail due to network fluctuations, temporary unavailability of the server, etc. Therefore, the present embodiment sets a preset retry mechanism.
[0026] Specifically, when initiating an automated network request to download the target software, if the target software fails to download, a re-download operation is performed on the target software based on the preset retry mechanism. If the target software still fails to download after the preset maximum number of retries, the download failure information is recorded and fed back.
[0027] In the present embodiment, if an exception occurs during the download process (such as connection timeout, HTTP 5xx error, etc.), the automated script will not terminate immediately, but will wait for a preset short period of time (such as 5 seconds) before reinitiating the download request.
[0028] The automated script has a preset maximum number of retries (for example, 3 times) built-in. If the number of retries reaches the preset maximum number of retries, the target software still fails to download, the automated script will stop processing the target software, record an error log containing the software name, download address and failure reason, and can feed back to the maintenance personnel through email or other means, and then continue to process the next target software.
[0029] When the target software is successfully downloaded, the automated script can immediately calculate the verification information for the temporary file downloaded to the local. When the target software is successfully downloaded, the automated script can immediately calculate the verification information for the temporary file downloaded to the local.
[0030] The built-in hashlib library in Python can be used to calculate the MD5 hash value of a temporary file in a block-by-block reading manner, thereby obtaining the actual file hash value.
[0031] You can use the getsize() function from the os.path module to get the number of bytes in the temporary file and thus the actual file size.
[0032] At this point, the automated script has obtained the latest actual file verification information for the target software.
[0033] Step 103: Compare the actual file verification information with the baseline file verification information. If the comparison results are inconsistent, use the actual file verification information to overwrite and update the baseline file verification information.
[0034] In this embodiment of the disclosure, the actual file verification information is compared with the baseline file verification information. If the comparison results are inconsistent, the baseline file verification information is updated by overwriting the actual file verification information. Specifically, this may include: Step 1: If the comparison result between the baseline file hash value and the actual file hash value is inconsistent, and / or the comparison result between the baseline file size and the actual file size is inconsistent, then locate the corresponding software information configuration page based on the software identification information, wherein the software identification information includes at least the software name; Specifically, locating the corresponding software information configuration page based on the software identification information may include: Initialize and start the web browser instance; Access the target software's management backend through a web browser instance and load login credentials to complete the login process; In the search interface of the target software's management backend, search by software name and locate the target software's software information configuration page; Step 2: On the software information configuration page, locate the input boxes for the baseline file hash value and the baseline file size, and enter the corresponding actual file hash value and actual file size in the input boxes respectively. Then, trigger the save or confirm button to use the actual file verification information to overwrite and update the baseline file verification information.
[0035] In this embodiment, as Figure 2 As shown, the automated script can compare the actual file hash value and actual file size calculated in step 102 with the baseline file hash value and baseline file size read from the Excel document in step 101.
[0036] If the comparison result of the benchmark file hash value and the actual file hash value is exactly the same, and / or the comparison result of the benchmark file size and the actual file size is exactly the same, it indicates that the friend company has not updated the software file, and the benchmark information is still valid. The automation script marks the synchronization state of the target software in the Excel document as synchronized, and skips the subsequent update step, and directly processes the next target software.
[0037] If the comparison result of the benchmark file hash value and the actual file hash value is different, and / or the comparison result of the benchmark file size and the actual file size is different, it is determined that the friend company has updated the software file, and the automation update process needs to be performed.
[0038] Specifically, when the comparison result is inconsistent, the automation script can start a Web automation process to update the configuration information of the management background. The embodiment can use a Selenium-based Web automation processing method, which specifically includes the following sub-steps: First, initialize and start a Web browser instance: the init_driver() function can be called to create an instance of a Chrome browser without a user interface, so that operations can be performed in the background without affecting the normal use of the computer by maintenance personnel.
[0039] Second, access and log in to the management background: the open_website() function can be called to access the login page of the management background of the software market. Then, the load_cookies() function can be called to load the pre-saved login credentials (Cookies), so as to automatically complete the login and enter the main interface of the management background.
[0040] Third, locate the configuration page of the target software: in the search interface of the management background, the automation script can use the "software identification information" (such as the software name) as the keyword, automatically fill in the search box and click the search button. In the search result list, the automation script locates the entry of the target software by matching the software name, and simulates mouse clicks to enter the detail editing page (i.e., the software information configuration page) thereof.
[0041] Next, update the file verification information: in the software information configuration page, the automation script can accurately find the input boxes for inputting "file MD5" and "file size" through the ID, Name, or XPath of the HTML element locator. Then, the automation script can automatically fill in the "actual file hash value" and "actual file size" calculated in step 102 into the corresponding input boxes, overwriting the original content.
[0042] Next, save the changes: finally, the automation script can simulate the clicking of the "Save" or "Confirm" button on the page to submit the update. After the system background receives the request, the benchmark information of the software is successfully updated.
[0043] Finally, close the browser: After the update is completed, the close_driver() function can be called to close the browser instance and release resources.
[0044] After successfully updating the background configuration, to ensure the eventual consistency of the data source, the automation script can also perform the following operations: Mark the baseline file hash value and / or the baseline file size in the baseline file verification information as synchronized, and generate and send a change notification email, the email content of which at least includes the software name, the changed file verification information, and the change time.
[0045] Specifically, the automation script can use the pandas library to write the actual file hash value and the actual file size just filled into the background back to the Excel document, overwriting the old baseline file verification information. At the same time, the synchronization state of the target software is marked as synchronized.
[0046] Secondly, the automation script can automatically generate a change notification email, and the email content of the change notification email can clearly record the detailed information of this change, such as the software name (e.g., XX browser), the change time (e.g., 2025-10-31 10:30:15), the change content (e.g., the file size is updated from 85,123,456 bytes to 86,543,210 bytes), and automatically send the change notification email to the preset maintenance personnel's mailbox, providing complete operation records, which is convenient for tracing and auditing.
[0047] To enhance the robustness of the process, the present embodiment also sets a preset waiting time for key operation steps (such as network request, page element loading, file calculation, etc.). When executing any step, first, the waiting time of each operation step in steps 101-103 can be determined; if the waiting time exceeds the preset waiting time and the corresponding operation step is still not completed, the automation script can try to re-execute the corresponding operation step, and if the waiting time of re-execution still exceeds the preset waiting time, it is determined as a serious exception, and the automation script can terminate the processing process of the current software, record and feedback the operation timeout information, and then continue to process the next target software in the list, avoiding the interruption of the entire automation task due to the problem of a single software.
[0048] In summary, compared with the prior art, the software information updating method provided in the application can first read reference information of target software from a preset software information document, the reference information at least including software identification information, a reference download address, and reference file verification information; initiate an automatic network request to download the target software according to the reference download address, and determine actual file verification information of the target software; perform consistency comparison between the actual file verification information and the reference file verification information, and if the comparison result is inconsistent, update the reference file verification information by using the actual file verification information. In the scheme of the application, the actual file verification information and the reference file verification information are compared for consistency. If the comparison result is inconsistent, it indicates that the software file corresponding to the download address has been changed, and at this time, the reference file verification information is updated by using the actual file verification information. This mechanism ensures that the reference file verification information can timely reflect the latest state of the software file, avoids the problem that the software file change is not synchronized to the promoter, resulting in that the downloaded file and the display information are not matched, the download fails, and improves the download experience and trust of the user.
[0049] Based on the above Figure 1 The embodiment provides a software information updating device, as shown in the method, the device comprises a reading module 31, a determination module 32 and a comparison module 33. Figure 3 The reading module 31 is used for reading reference information of target software from a preset software information document, and the reference information at least includes software identification information, a reference download address and reference file verification information. The determination module 32 is used for initiating an automatic network request to download the target software according to the reference download address, and determining actual file verification information of the target software. The comparison module 33 is used for performing consistency comparison between the actual file verification information and the reference file verification information, and if the comparison result is inconsistent, updating the reference file verification information by using the actual file verification information. In a specific application scenario, the reference file verification information includes a reference file hash value and / or a reference file size, the actual file verification information includes an actual file hash value and / or an actual file size, and the comparison module 33 can be used for locating a corresponding software information configuration page according to the software identification information if the comparison result of the reference file hash value and the actual file hash value is inconsistent and / or the comparison result of the reference file size and the actual file size is inconsistent, wherein the software identification information at least includes a software name.
[0050] In the software information configuration page, locate the input boxes of the reference file hash value and the reference file size, and fill in the corresponding actual file hash value and actual file size in the input boxes respectively, and trigger the save or confirm button to update the reference file verification information with the actual file verification information.
[0051] In a specific application scenario, the comparison module 33 can be used to initialize and start a Web browser instance, access the management background of the target software through the Web browser instance, and load login credentials to complete the login state. In the search interface of the management background of the target software, the software information configuration page of the target software is searched and located through the software name.
[0052] In a specific application scenario, as shown in Figure 3 The device further includes a generation module 34. The generation module 34 is configured to mark the reference file hash value and / or the reference file size in the reference file verification information as a synchronized state, and generate and send a change notification email. The email content of the change notification email at least includes the software name, the changed file verification information, and the change time.
[0053] In a specific application scenario, as shown in Figure 3 The device further includes a first retry module 35. The first retry module 35 is configured to, when initiating an automated network request to download the target software, if the downloading of the target software fails, perform a re-downloading operation on the target software based on a preset retry mechanism. If the number of retries reaches a preset maximum number of retries and the downloading of the target software still fails, record and feed back the downloading failure information.
[0054] In a specific application scenario, as shown in Figure 3 The device further includes a second retry module 36. The second retry module 36 is configured to determine the waiting time of each operation step in steps 1-3. If the waiting time exceeds a preset waiting time and the corresponding operation step is still not completed, the corresponding operation step is re-executed. If the re-executed waiting time still exceeds the preset waiting time, the current process is terminated and an operation timeout information is fed back.
[0055] It should be noted that other corresponding descriptions of the functions of the software information updating device provided in this embodiment can be referred to the corresponding descriptions in Figure 1 , which will not be repeated here.
[0056] Based on the above, as shown in Figure 1The method, accordingly, the embodiment also provides a computer readable storage medium, which stores a computer program, and the computer program is executed by a processor to implement the above-mentioned method. Figure 1 The method.
[0057] Based on such understanding, the technical scheme of the present application can be embodied in the form of a software product, which can be stored in a non-volatile storage medium (which can be a CD-ROM, a U disk, a mobile hard disk, etc.), and includes a plurality of instructions for causing a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the method of each implementation scenario of the present application.
[0058] The method, accordingly, the embodiment also provides a computer readable storage medium, which stores a computer program, and the computer program is executed by a processor to implement the above-mentioned method. Figure 1 The method, accordingly, the embodiment also provides a computer readable storage medium, which stores a computer program, and the computer program is executed by a processor to implement the above-mentioned method. Figure 3 The virtual device embodiment, in order to achieve the above-mentioned purpose, the embodiment of the present application also provides an electronic device, the device includes a storage medium and a processor; the storage medium is used to store a computer program; the processor is used to execute the computer program to realize the above-mentioned method. Figure 1 The method.
[0059] Optionally, the above-mentioned entity device can also include a user interface, a network interface, a camera, a radio frequency (Radio Frequency, RF) circuit, a sensor, an audio circuit, a WI-FI module, etc. The user interface can include a display screen (Display), an input unit such as a keyboard (Keyboard), etc. The optional user interface can also include a USB interface, a card reader interface, etc. The network interface can optionally include a standard wired interface, a wireless interface (such as a WI-FI interface), etc.
[0060] Those skilled in the art can understand that the above-mentioned entity device structure provided by the embodiment does not constitute a limitation on the entity device, and can include more or fewer components, or combine certain components, or different component arrangements.
[0061] The storage medium can also include an operating system, a network communication module. The operating system is a program that manages the hardware and software resources of the above-mentioned entity device, supports the running of information processing programs and other software and / or programs. The network communication module is used to realize the communication between the components inside the storage medium, and the communication with other hardware and software in the information processing entity device.
[0062] Through the description of the above embodiments, those skilled in the art can clearly understand that the present application can be realized by means of software and necessary general hardware platforms, or by hardware. The present application can first read the reference information of the target software from the preset software information document, and the reference information at least includes software identification information, reference download address, reference file verification information; according to the reference download address, an automatic network request is initiated to download the target software, and the actual file verification information of the target software is determined; the actual file verification information is compared with the reference file verification information for consistency, and if the comparison result is inconsistent, the reference file verification information is updated by using the actual file verification information. In the scheme of the present application, the actual file verification information is compared with the reference file verification information for consistency. If the comparison result is inconsistent, it means that the software file corresponding to the download address has been changed, and at this time, the reference file verification information is updated by using the actual file verification information. This mechanism ensures that the reference file verification information can timely reflect the latest state of the software file, avoids the problem that the download file does not match the display information or the download fails when the software file is changed and not synchronized to the promoter, and improves the download experience and trust of the user.
[0063] It should be noted that, in this document, the terms such as "first" and "second" are used only to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the term "comprising" or any other variant thereof is intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed or inherent to such a process, method, article or device. Without more limitations, the element defined by the statement "comprising a" does not exclude the presence of another identical element in the process, method, article or device including the element.
[0064] The above is only a specific embodiment of the present application, which enables those skilled in the art to understand or implement the present application. Various modifications of these embodiments will be apparent to those skilled in the art, and the general principles defined herein can be implemented in other embodiments without departing from the spirit or scope of the present application. Therefore, the present application will not be limited to these embodiments herein, but will conform to the widest scope consistent with the principles and novel features applied herein.
Claims
1. A software information update method, characterized in that, include: Step 1: Read the baseline information of the target software from the preset software information document. The baseline information includes at least the software identification information, the baseline download address, and the baseline file verification information. Step 2: Based on the baseline download address, initiate an automated network request to download the target software, and determine the actual file verification information of the target software; Step 3: Compare the actual file verification information with the benchmark file verification information. If the comparison results are inconsistent, update the benchmark file verification information using the actual file verification information.
2. The method according to claim 1, characterized in that, The baseline file verification information includes the baseline file hash value and / or the baseline file size, and the actual file verification information includes the actual file hash value and / or the actual file size.
3. The method according to claim 2, characterized in that, The step of comparing the actual file verification information with the benchmark file verification information, and if the comparison results are inconsistent, then using the actual file verification information to overwrite and update the benchmark file verification information, includes: If the comparison result between the reference file hash value and the actual file hash value is inconsistent, and / or the comparison result between the reference file size and the actual file size is inconsistent, then the corresponding software information configuration page is located according to the software identification information, wherein the software identification information includes at least the software name; On the software information configuration page, locate the input boxes for the baseline file hash value and the baseline file size, and enter the corresponding actual file hash value and actual file size in the input boxes respectively. Then, trigger the save or confirm button to use the actual file verification information to overwrite and update the baseline file verification information.
4. The method according to claim 3, characterized in that, The step of locating the corresponding software information configuration page based on the software identification information includes: Initialize and start the web browser instance; Access the management backend of the target software through the web browser instance and load login credentials to complete the login process; In the search interface of the management backend of the target software, the software information configuration page of the target software can be located by searching for the software name.
5. The method according to claim 4, characterized in that, After updating the baseline file verification information using the actual file verification information, the method further includes: The baseline file hash value and / or baseline file size in the baseline file verification information are marked as synchronized, and a change notification email is generated and sent. The content of the change notification email includes at least the software name, the changed file verification information, and the change time.
6. The method according to claim 1, characterized in that, The method further includes: When initiating an automated network request to download the target software, if the download of the target software fails, the target software will be re-downloaded based on a preset retry mechanism. If the target software still fails to download after the preset maximum number of retries, the download failure information will be recorded and reported.
7. The method according to claim 1, characterized in that, The method further includes: Determine the waiting time for each operation step in steps 1-3; If the waiting time exceeds the preset waiting time and the corresponding operation steps are not completed, the corresponding operation steps will be re-executed. If the waiting time for the re-execution still exceeds the preset waiting time, the current process will be terminated and an operation timeout message will be returned.
8. A software information updating device, characterized in that, include: The reading module is used to read the benchmark information of the target software from a preset software information document. The benchmark information includes at least software identification information, benchmark download address, and benchmark file verification information. The determination module is used to initiate an automated network request to download the target software based on the benchmark download address, and to determine the actual file verification information of the target software; The comparison module is used to compare the actual file verification information with the benchmark file verification information. If the comparison results are inconsistent, the benchmark file verification information is updated by overwriting the actual file verification information.
9. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by a processor, it implements the method of any one of claims 1 to 7.
10. An electronic device comprising a storage medium, a processor, and a computer program stored on the storage medium and executable on the processor, characterized in that, When the processor executes the computer program, it implements the method of any one of claims 1 to 7.
Citation Information
Patent Citations
Method and device for updating data block checking information
CN101848188A
Automatic software upgrading method, updating client and updating server
CN113342387A