System upgrade verification method and device, equipment, medium and program product

By performing functional verification and consistency verification after the system is upgraded, the upgraded system performance is ensured, and poor performance problems caused by the lack of verification in the existing technology are solved, and higher system stability and user experience are achieved.

CN119065969APending Publication Date: 2024-12-03CHINA ELECTRONICS CLOUD DIGITAL INTELLIGENCE TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411099974.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-12
Publication Date
2024-12-03

AI Technical Summary

Technical Problem

The existing system upgrade plan lacks a verification process, resulting in poor system performance and unsatisfactory user experience after the upgrade.

Method used

Provide a system upgrade verification method, including obtaining the data to be detected, performing functional verification and consistency verification, ensuring that the upgraded system is run only after the verification results are passed, and implementing this process through the data acquisition module, information verification module and result feedback module .

Benefits of technology

Improve the accuracy and stability of the system after upgrading, thereby improving the system performance and user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119065969A_ABST
    Figure CN119065969A_ABST
Patent Text Reader

Abstract

The invention relates to a system upgrade verification method and device, equipment, a medium and a program product. The system upgrade verification method comprises the steps that in response to system upgrade completion, to-be-detected data are acquired, and the to-be-detected data comprise identification information corresponding to to-be-detected resources and / or to-be-detected storage data; performing function verification on the to-be-detected resource, and / or performing consistency verification on the to-be-detected storage data to obtain a verification result; when it is determined that the verification result is passed, the verification result is fed back, and the upgraded system is operated, so that after the system upgrading is completed in response, function verification and / or consistency verification can be performed on the to-be-detected data, and the upgraded system is operated when the verification is passed, the correctness and stability of the operation of the upgraded system are improved, and the user experience is improved. And the use performance of the system and the user experience are improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of cloud storage technology, and in particular to a system upgrade verification method, device, equipment, medium and program product. Background Art

[0002] At present, with the development and progress of science and technology, system upgrades are involved in various industries and fields, including hardware and software upgrades, such as cloud storage system upgrades, automated industrial equipment system upgrades, computing power and computing system upgrades, etc., in order to improve the iteration efficiency and quality of the system. However, in the existing system upgrade solutions, there is a lack of system upgrade verification, which in turn affects the performance of the upgraded system and leads to poor user experience. Summary of the invention

[0003] In order to solve the above technical problems, the present disclosure provides a system upgrade verification method, device, equipment, medium and program product.

[0004] A first aspect of an embodiment of the present disclosure provides a system upgrade verification method, including:

[0005] In response to the completion of the system upgrade, obtaining data to be detected, where the data to be detected includes identification information corresponding to the resources to be detected and / or stored data to be detected;

[0006] Performing functional verification on the resources to be tested, and / or performing consistency verification on the stored data to be tested, to obtain verification results;

[0007] When it is determined that the verification result is passed, the verification result is fed back and the upgraded system is operated.

[0008] A second aspect of an embodiment of the present disclosure provides a system upgrade verification device, including:

[0009] A data acquisition module, configured to acquire data to be detected in response to completion of the system upgrade, wherein the data to be detected includes identification information corresponding to the resources to be detected and / or stored data to be detected;

[0010] An information verification module is used to perform functional verification on the resources to be tested and / or to perform consistency verification on the stored data to be tested to obtain verification results;

[0011] The result feedback module is used to feedback the verification result when it is determined that the verification result is passed, and run the upgraded system.

[0012] A third aspect of the embodiments of the present disclosure provides an electronic device, including:

[0013] processor;

[0014] A memory for storing executable instructions;

[0015] The processor is used to read executable instructions from the memory and execute the executable instructions to implement the system upgrade verification method provided in the first aspect above.

[0016] A fourth aspect of an embodiment of the present disclosure provides a computer-readable storage medium, which stores a computer program. When the computer program is executed by a processor, the processor implements the system upgrade verification method provided by the first aspect.

[0017] A fifth aspect of an embodiment of the present disclosure provides a computer program product, which includes a computer program or instructions, and when the computer program or instructions are executed by a processor, the system upgrade verification method as described in the first aspect above is implemented.

[0018] Compared with the prior art, the technical solution provided by the embodiments of the present disclosure has the following advantages:

[0019] The system upgrade verification method, device, equipment, medium and program product provided by the embodiments of the present disclosure can obtain the data to be detected in response to the completion of the system upgrade, the data to be detected includes the identification information corresponding to the resources to be detected and / or the storage data to be detected, perform functional verification on the resources to be detected, and / or perform consistency verification on the storage data to be detected to obtain the verification result; when it is determined that the verification result is passed, the verification result is fed back and the upgraded system is run. As a result, in response to the completion of the system upgrade, the data to be detected can be functionally verified and / or consistency verified, and the upgraded system can be run when the verification passes, thereby improving the correctness and stability of the operation of the upgraded system, thereby improving the system's performance and user experience. BRIEF DESCRIPTION OF THE DRAWINGS

[0020] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and, together with the description, serve to explain the principles of the present disclosure.

[0021] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.

[0022] Figure 1 is a flow chart of a system upgrade verification method provided by an embodiment of the present disclosure;

[0023] Figure 2 is a schematic diagram of an environment detection interface provided by an embodiment of the present disclosure;

[0024] Figure 3is a schematic diagram of an environment detection result interface provided by an embodiment of the present disclosure;

[0025] Figure 4 is a schematic diagram of another environment detection result interface provided by an embodiment of the present disclosure;

[0026] Figure 5 is a schematic diagram of a system upgrade interface provided by an embodiment of the present disclosure;

[0027] Figure 6 It is a structural diagram of a system upgrade verification device provided by an embodiment of the present disclosure;

[0028] Figure 7 It is a structural schematic diagram of an electronic device provided by an embodiment of the present disclosure. DETAILED DESCRIPTION

[0029] In order to more clearly understand the above-mentioned objectives, features and advantages of the present disclosure, the scheme of the present disclosure will be further described below. It should be noted that the embodiments of the present disclosure and the features in the embodiments can be combined with each other without conflict.

[0030] In the following description, many specific details are set forth to facilitate a full understanding of the present disclosure, but the present disclosure may also be implemented in other ways different from those described herein; it is obvious that the embodiments in the specification are only part of the embodiments of the present disclosure, rather than all of the embodiments.

[0031] It should be understood that the various steps described in the method embodiments of the present disclosure may be performed in different orders and / or in parallel. In addition, the method embodiments may include additional steps and / or omit the steps shown. The scope of the present disclosure is not limited in this respect.

[0032] It should be noted that, in this article, relational terms such as "first" and "second" are only used 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 terms "include", "comprise" or any other variants thereof are 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 also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the existence of other identical elements in the process, method, article or device including the elements.

[0033] It should be noted that the modifications of "one" and "plurality" mentioned in the present disclosure are illustrative rather than restrictive, and those skilled in the art should understand that unless otherwise clearly indicated in the context, it should be understood as "one or more".

[0034] Generally, in the existing system upgrade solution, there is a lack of system upgrade verification, which in turn affects the performance of the upgraded system and leads to poor user experience. To address this problem, the present disclosure provides a system upgrade verification method, which is described below in conjunction with a specific embodiment.

[0035] Figure 1 It is a flowchart of a system upgrade verification method provided by an embodiment of the present disclosure. The method can be executed by a system upgrade verification device. The system upgrade verification device can be implemented in software and / or hardware. The system upgrade verification device can be configured in an electronic device, such as a server or a terminal, wherein the terminal specifically includes a mobile phone, a computer or a tablet computer, etc.

[0036] like Figure 1 As shown, the system upgrade verification method provided in this embodiment includes the following steps.

[0037] S110 . In response to the completion of the system upgrade, obtain data to be detected, where the data to be detected includes identification information corresponding to resources to be detected and / or storage data to be detected.

[0038] In the embodiment of the present disclosure, the electronic device obtains the data to be detected in response to the completion of the system upgrade.

[0039] The system may be any system that needs to be upgraded, including hardware and software upgrades. For example, the system may be a cloud storage system, an automated industrial equipment system upgrade, a computing power and calculation system, and the like.

[0040] The data to be tested can be understood as data that needs to be functionally verified and / or consistently verified after the system is upgraded.

[0041] Resources can be any resource in the system, including storage resources, network resources, computing resources, software resources, and the like. For example, when the system is a cloud storage system, storage resources can be the infrastructure used to store and manage data in the cloud storage system, including hardware devices (such as disk arrays, tape libraries, etc.) and software systems (such as distributed file systems, object storage systems, etc.). Network resources can be the infrastructure responsible for data transmission and communication in the cloud storage system, including network devices (such as switches, routers, etc.) and network protocols (such as TCP / IP, HTTP, etc.). Computing resources are used to process operations such as data access, backup, and recovery, as well as to support the normal operation and management of the cloud storage system. The cloud storage system also requires various software resources to support the realization of its functions, such as data management systems, security management systems, monitoring and logging systems, etc.

[0042] The identification information corresponding to the resource to be detected may include at least one of the ID information of the resource to be detected and the name of the resource to be detected, and may also include network ID information related to the resource to be detected, cloud host IP information, etc.

[0043] The stored data to be detected may include at least one of data uploaded by users and stored in the system, data related to system settings made by users and stored in the system, personalized setting data of various resources, and the like.

[0044] Specifically, in response to the completion of the system upgrade, the electronic device obtains the data to be detected from the upgraded system based on a preset upgrade verification rule and / or storage path.

[0045] S120: Perform functional verification on the resources to be tested, and / or perform consistency verification on the stored data to be tested, to obtain verification results.

[0046] In some embodiments of the present disclosure, the data to be detected includes identification information of the resources to be detected. After acquiring the data to be detected, the electronic device determines the resources to be detected based on the identification information of the resources to be detected in the data to be detected, and performs functional verification on the resources to be detected to determine whether the resources to be detected are operating normally, and obtain a verification result.

[0047] In some other embodiments of the present disclosure, the data to be detected includes stored data to be detected. After acquiring the data to be detected, the electronic device determines the stored data to be detected, and obtains first data corresponding to the stored data to be detected in the system before the upgrade, performs consistency verification on the stored data to be detected based on the first data, determines the consistency of the data to be detected in the system before and after the upgrade, and obtains a verification result.

[0048] In some other embodiments of the present disclosure, the data to be detected includes identification information of the resources to be detected and the stored data to be detected. After obtaining the data to be detected, the electronic device performs functional verification on the resources to be detected, and simultaneously obtains first data corresponding to the stored data to be detected in the system before the upgrade, and performs consistency verification on the stored data to be detected based on the first data to obtain a verification result.

[0049] S130: When it is determined that the verification result is passed, the verification result is fed back and the upgraded system is operated.

[0050] Specifically, after obtaining the verification result, the electronic device determines whether the verification result is passed. When it is determined that the verification result is passed, the electronic device feeds back the verification result to the user and runs the upgraded system.

[0051] In the disclosed embodiment, in response to the completion of the system upgrade, the data to be detected can be obtained, the data to be detected includes identification information corresponding to the resources to be detected and / or the stored data to be detected, and the function verification of the resources to be detected and / or the consistency verification of the stored data to be detected can be performed to obtain the verification result; when it is determined that the verification result is passed, the verification result is fed back and the upgraded system is run. Thus, in response to the completion of the system upgrade, the function verification and / or consistency verification of the data to be detected can be performed, and the upgraded system can be run when the verification passes, thereby improving the correctness and stability of the operation of the upgraded system, thereby improving the system's performance and user experience.

[0052] Based on the above-mentioned embodiments of the present disclosure, in response to the completion of the system upgrade and before obtaining the data to be detected, the system upgrade verification method may also include: creating a target file based on a preset data pre-embedded mechanism, the target file being used to store the pre-embedded data, and the pre-embedded data being data corresponding to the data to be detected before the system upgrade.

[0053] Among them, the pre-embedded data can be understood as relevant data or configuration information that are pre-loaded and / or set in order to optimize system performance or meet specific business requirements or ensure the security and stability of the system. Exemplarily, the pre-embedded data may include data corresponding to the data to be detected in the system before the upgrade, such as identification information corresponding to the resources to be detected in the system before the upgrade, data and storage paths corresponding to the stored data to be detected in the system before the upgrade, etc.

[0054] Specifically, before the system is upgraded, the electronic device determines the embedded data based on the preset data embedding mechanism and writes the embedded data into the target file, so that after the system is upgraded, the upgraded system is functionally verified and data consistency verified based on the embedded data in the target file.

[0055] In the embodiment of the present disclosure, the data to be detected can be written into the target file in the form of key-value pairs to facilitate the tracking and verification of subsequent data. For example, the target file can be a JSON file.

[0056] Furthermore, performing functional verification on the resources to be detected and / or performing consistency verification on the stored data to be detected to obtain verification results may specifically include: reading a target file and obtaining embedded data from the target file; performing functional verification on the resources to be detected based on the embedded data and / or performing consistency verification on the stored data to obtain verification results.

[0057] In the embodiments of the present disclosure, pre-embedded data is written into a target file before the system is upgraded, and after the system upgrade is completed, the data to be detected in the upgraded system is obtained, and consistency verification and / or functional verification is performed on the data and / or resources before and after the system upgrade based on the pre-embedded data, thereby improving the efficiency of the system upgrade verification and further improving the correctness and stability of the upgraded system.

[0058] In an embodiment of the present disclosure, in response to the completion of the system upgrade and before obtaining the data to be tested, the system upgrade verification method may also include: receiving a system upgrade instruction; calling a preset environment detection tool based on a preset interface, so that the preset environment detection tool performs an environment detection on the system before the upgrade to obtain an environment detection result; when the environment detection result is passed, executing the system upgrade instruction to upgrade the system.

[0059] The system upgrade instruction may be an instruction for performing a system upgrade generated based on a target operation of the user, wherein the target operation may be a click operation on an upgrade button in the interface.

[0060] The environment detection tool may be a tool for detecting the operating environment of the system.

[0061] Environmental testing may include testing of the system operating environment, including software and hardware environment; and may also include compatibility testing of the upgrade package with the system operating environment.

[0062] Specifically, the electronic device can receive system upgrade instructions in real time. After receiving the system upgrade instructions, it calls a preset environment detection tool based on a preset interface, so that the preset environment detection tool performs an environment detection on the system before the upgrade, and then obtains the environment detection result. After the environment detection result passes, the system upgrade instruction is executed, and the upgrade package corresponding to the system upgrade instruction is determined to upgrade the system. When the environment detection result fails, a cause analysis is performed based on the environment detection result, and the cause analysis and the environment detection result are returned to the user.

[0063] Figure 2is a schematic diagram of an environment detection interface provided by an embodiment of the present disclosure, such as Figure 2 As shown, environmental detection can be Figure 2 The health inspection shown in the figure is to detect whether the system operating environment can operate normally. The health inspection includes inspection tasks. The inspection tasks can be inspection tasks created by relevant system maintenance personnel, or inspection tasks automatically triggered in response to system upgrade instructions.

[0064] The inspection task includes a search bar. The search bar is used to search for tasks based on the name or ID of the inspection task. Specifically, it includes the inspection task name / inspection task ID, inspection scenario, task mode, execution strategy, creator, creation date, inspection item, status, operation and other items. You can also view specific inspection items by clicking the View button in the inspection item.

[0065] Among them, inspection scenarios can include daily inspection, real-time inspection, inspection before system upgrade, etc. Task modes can include periodic tasks, real-time tasks, temporary tasks, etc.

[0066] Figure 3 is a schematic diagram of an environment detection result interface provided by an embodiment of the present disclosure, such as Figure 3 As shown, the inspection result includes the inspection task name / inspection task ID, start time, end time, task mode, creator, status, progress, pass rate, inspection score, and operation options for the inspection result, etc.

[0067] Specifically, Figure 4 is another schematic diagram of an environment detection result interface provided by an embodiment of the present disclosure. The schematic diagram of the interface of the inspection result corresponding to each inspection task is as follows Figure 4 As shown, the final inspection score for a certain inspection task and the overall overview of the inspection task are displayed in the upper column. Specifically, it includes the current software version, inspection result ID, inspection status, inspection scene, trigger mode, start time, and end time corresponding to the inspection task. Other information can also be included according to specific settings, which is not limited here.

[0068] The second column includes the specific detection information corresponding to the inspection task, such as the area corresponding to the inspection task, the inspection classification, i.e. the resources targeted by the inspection task, the inspection items, the deduction situation, the inspection results, i.e. the different types of results during the inspection process, the operations for each inspection item (including viewing details, exception handling suggestions, etc.), and can also include the inspection group, etc., where the inspection group refers to the equipment corresponding to the specific resource.

[0069] It should be noted that Figures 2 to 4The interface diagram is only used to explain the environment detection process, not to limit it. The specific interface display content can be set according to user needs.

[0070] In the disclosed embodiments, the system environment detection can be performed by calling a preset environment detection task before the system is upgraded, thereby ensuring the security, stability and compatibility of the system environment and improving the accuracy and stability of the upgraded system.

[0071] In an embodiment of the present disclosure, executing a system upgrade instruction may specifically include: determining a system upgrade operation corresponding to the system upgrade instruction; executing the system upgrade operation, and starting a monitoring process so that the monitoring process monitors the system upgrade operation, and storing log records corresponding to the system upgrade operation.

[0072] System upgrade operations may include data backup operations, system software and hardware upgrades, configuration file updates, system restarts, and other operations.

[0073] In the embodiment of the present disclosure, the specific implementation of performing the system upgrade operation is similar to the specific implementation of the existing system upgrade, and will not be described in detail here.

[0074] Figure 5 is a schematic diagram of a system upgrade interface provided by an embodiment of the present disclosure, such as Figure 5 As shown, the system upgrade interface is for software upgrades, including the current version, version number, upgrade content, and related information of historical versions. The system upgrade interface can clearly show the detailed content of each system upgrade to users, providing convenience for users to view.

[0075] It should be noted that Figure 5 The interface diagram is only used to explain the system upgrade process, not to limit it. The specific interface display content can be set according to user needs.

[0076] In the disclosed embodiments, the system upgrade process can be monitored to ensure that problems in the system upgrade process are discovered in a timely manner and corresponding measures are taken, thereby improving the security of the system upgrade process. At the same time, log records corresponding to system upgrade operations are stored to facilitate problem analysis and tracking and locating when problems arise during the system upgrade process, thereby improving the efficiency of problem detection and tracking and locating.

[0077] In the embodiment of the present disclosure, after executing the system upgrade instruction, the system upgrade verification method may further include: determining new resources and / or updated resources in the upgraded system; and performing functional testing on the new resources and / or updated resources.

[0078] Among them, newly added resources refer to the resources newly added during this system upgrade to optimize system performance; updated resources refer to the existing resources that have been updated during this system upgrade.

[0079] Specifically, after executing the system upgrade instruction, the electronic device determines the newly added resources and / or updated resources in the upgraded system, calls a preset performance test tool to perform a functional test on the newly added resources and / or updated resources, and obtains a functional test result.

[0080] The specific implementation method of performing functional testing on newly added resources and / or updated resources is similar to the existing method of performing functional testing on resources, and will not be described in detail here.

[0081] In the disclosed embodiments, by performing functional testing on newly added resources and / or updated resources, it is ensured that the newly added resources and / or updated resources can work properly and be seamlessly integrated with the existing system, thereby improving the performance and stability of the upgraded system.

[0082] Figure 6 It is a structural diagram of a system upgrade verification device provided by an embodiment of the present disclosure.

[0083] In the disclosed embodiment, the system upgrade verification device can be set in an electronic device, which is understood as a part of the functional modules in the above electronic device. Specifically, the electronic device can be a server or a terminal, wherein the terminal specifically includes a mobile phone, a computer or a tablet computer, etc., which is not limited here.

[0084] like Figure 6 As shown, the system upgrade verification device 600 may include a data acquisition module 610 , an information verification module 620 and a result feedback module 630 .

[0085] The data acquisition module 610 may be used to acquire the data to be detected in response to the completion of the system upgrade, where the data to be detected includes identification information corresponding to the resources to be detected and / or storage data to be detected.

[0086] The information verification module 620 may be used to perform functional verification on the resources to be detected and / or perform consistency verification on the stored data to be detected to obtain verification results.

[0087] The result feedback module 630 may be used to feedback the verification result when it is determined that the verification result is passed, and to run the upgraded system.

[0088] In the disclosed embodiment, in response to the completion of the system upgrade, the data to be detected can be obtained, the data to be detected includes identification information corresponding to the resources to be detected and / or the stored data to be detected, and the function verification of the resources to be detected and / or the consistency verification of the stored data to be detected can be performed to obtain the verification result; when it is determined that the verification result is passed, the verification result is fed back and the upgraded system is run. Thus, in response to the completion of the system upgrade, the function verification and / or consistency verification of the data to be detected can be performed, and the upgraded system can be run when the verification passes, thereby improving the correctness and stability of the operation of the upgraded system, thereby improving the system's performance and user experience.

[0089] In some embodiments of the present disclosure, the system upgrade verification device 600 may further include a data pre-embedding module.

[0090] The data pre-embedding module can be used to create a target file based on a preset data pre-embedding mechanism in response to the completion of the system upgrade and before obtaining the data to be detected. The target file is used to store the pre-embedded data, which is the data corresponding to the data to be detected before the system upgrade.

[0091] The information verification module 620 can be specifically used to read the target file, obtain the embedded data from the target file, perform functional verification on the resources to be detected based on the embedded data, and / or perform consistency verification on the stored data to be detected to obtain a verification result.

[0092] In some embodiments of the present disclosure, the data to be detected is stored in the target file in the form of key-value pairs.

[0093] In some embodiments of the present disclosure, the system upgrade verification device 600 may further include an instruction acquisition module, an environment detection module and a system upgrade module.

[0094] The instruction acquisition module may be used to receive a system upgrade instruction in response to the completion of the system upgrade and before acquiring the data to be detected.

[0095] The environment detection module can be used to call a preset environment detection tool based on a preset interface, so that the preset environment detection tool performs an environment detection on the system before the upgrade to obtain an environment detection result.

[0096] The system upgrade module can be used to execute the system upgrade instruction to upgrade the system when the environmental detection result is passed.

[0097] In some embodiments of the present disclosure, the system upgrade module can be specifically used to determine the system upgrade operation corresponding to the system upgrade instruction; execute the system upgrade operation, and start the monitoring process so that the monitoring process monitors the system upgrade operation, and store the log records corresponding to the system upgrade operation.

[0098] In some embodiments of the present disclosure, the system upgrade verification device 600 may further include a performance testing module.

[0099] The performance test module can be used to determine the newly added resources and / or updated resources in the upgraded system after executing the system upgrade instruction; and perform functional tests on the newly added resources and / or updated resources.

[0100] It should be noted that Figure 6 The system upgrade verification device 600 shown can execute each step in the above method embodiment and realize each process and effect in the above method embodiment, which will not be described in detail here.

[0101] Figure 7 It is a structural schematic diagram of an electronic device provided by an embodiment of the present disclosure.

[0102] In the disclosed embodiment, Figure 7 The electronic device shown may be a server or a terminal, wherein the terminal specifically includes a mobile phone, a computer or a tablet computer, etc., which is not limited here.

[0103] like Figure 7 As shown, the electronic device may include a processor 710 and a memory 720 storing computer program instructions.

[0104] Specifically, the processor 710 may include a central processing unit (CPU), or an application specific integrated circuit (ASIC), or may be configured to implement one or more integrated circuits of the embodiments of the present disclosure.

[0105] The memory 720 may include a large capacity memory for information or instructions. By way of example and not limitation, the memory 720 may include a hard disk drive (HDD), a floppy disk drive, a flash memory, an optical disk, a magneto-optical disk, a tape, or a universal serial bus (USB) drive or a combination of two or more of these. Where appropriate, the memory 720 may include a removable or non-removable (or fixed) medium. Where appropriate, the memory 720 may be inside or outside the integrated gateway device. In a particular embodiment, the memory 720 is a non-volatile solid-state memory. In a particular embodiment, the memory 720 includes a read-only memory (ROM). Where appropriate, the ROM may be a mask-programmed ROM, a programmable ROM (PROM), an erasable PROM (EPROM), an electrically erasable PROM (Electrically Erasable Programmable ROM, EEPROM), an electrically rewritable ROM (EAROM) or a flash memory, or a combination of two or more of these.

[0106] The processor 710 reads and executes the computer program instructions stored in the memory 720 to perform the steps of the system upgrade verification method provided in the embodiment of the present disclosure.

[0107] In one example, the electronic device may further include a transceiver 730 and a bus 740. Figure 7 As shown, the processor 710, the memory 720 and the transceiver 730 are connected via a bus 740 and communicate with each other.

[0108] The bus 740 includes hardware, software, or both. For example, but not limitation, the bus may include an Accelerated Graphics Port (AGP) or other graphics bus, an Extended Industry Standard Architecture (EISA) bus, a Front Side Bus (FSB), a Hyper Transport (HT) interconnect, an Industrial Standard Architecture (ISA) bus, an InfiniBand interconnect, a Low Pin Count (LPC) bus, a Memory bus, a MicroChannel Architecture (MCA) bus, a Peripheral Component Interconnect (PCI) bus, a PCI-Express (PCI-X) bus, a Serial Advanced Technology Attachment (SATA) bus, a Video Electronics Standards Association Local Bus (VLB) bus, or other suitable buses or a combination of two or more of these. Where appropriate, the bus 740 may include one or more buses.

[0109] The embodiment of the present disclosure further provides a computer-readable storage medium, which may store a computer program. When the computer program is executed by a processor, the processor implements the system upgrade verification method provided by the embodiment of the present disclosure.

[0110] The above-mentioned storage medium may, for example, include a memory 720 of computer program instructions, and the above-mentioned instructions may be executed by the processor 710 of the electronic device to complete the system upgrade verification method provided by the embodiment of the present disclosure. Optionally, the storage medium may be a non-temporary computer-readable storage medium, for example, the non-temporary computer-readable storage medium may be a ROM, a random access memory (Random Access Memory, RAM), a compact disc read-only memory (Compact Disc ROM, CD-ROM), a magnetic tape, a floppy disk, and an optical data storage device, etc.

[0111] The embodiments of the present disclosure also provide a computer program product, which includes a computer program or instructions. When the computer program or instructions are executed by a processor, the system upgrade verification method provided by the embodiments of the present disclosure is implemented, and the various processes and effects in the above-mentioned embodiments of the present disclosure can be implemented, which will not be repeated here.

[0112] The above description is only a specific embodiment of the present disclosure, so that those skilled in the art can understand or implement the present disclosure. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present disclosure. Therefore, the present disclosure will not be limited to the embodiments described herein, but will conform to the widest scope consistent with the principles and novel features disclosed herein.

Claims

1. A system upgrade verification method, characterized in that: include: In response to the completion of the system upgrade, obtaining data to be detected, wherein the data to be detected includes identification information corresponding to the resources to be detected and / or storage data to be detected; Performing functional verification on the resource to be detected, and / or performing consistency verification on the stored data to be detected to obtain a verification result; When it is determined that the verification result is passed, the verification result is fed back and the upgraded system is operated.

2. The method according to claim 1, characterized in that Before obtaining the data to be detected in response to the completion of the system upgrade, the method further includes: Creating a target file based on a preset data pre-embedded mechanism, the target file is used to store pre-embedded data, the pre-embedded data being data corresponding to the data to be detected before the system is upgraded; The performing functional verification on the resource to be detected and / or the performing consistency verification on the stored data to be detected to obtain a verification result includes: Reading the target file, and acquiring the embedded data from the target file; Function verification is performed on the resource to be detected based on the pre-embedded data, and / or consistency verification is performed on the stored data to be detected to obtain the verification result.

3. The method according to claim 2, characterized in that The target file stores the data to be detected in the form of key-value pairs.

4. The method according to claim 1, characterized in that: Before obtaining the data to be detected in response to the completion of the system upgrade, the method further includes: Receive system upgrade instructions; Calling a preset environment detection tool based on a preset interface, so that the preset environment detection tool performs an environment detection on the system before the upgrade to obtain an environment detection result; When the environmental detection result is passed, the system upgrade instruction is executed to upgrade the system.

5. The method according to claim 4, characterized in that The executing the system upgrade instruction includes: Determine the system upgrade operation corresponding to the system upgrade instruction; The system upgrade operation is executed, and a monitoring process is started, so that the monitoring process monitors the system upgrade operation and stores log records corresponding to the system upgrade operation.

6. The method according to claim 4, characterized in that After executing the system upgrade instruction, the method further includes: Identify new and / or updated resources in the upgraded system; Perform functional testing on the newly added resources and / or the updated resources.

7. A system upgrade verification device, characterized in that: include: A data acquisition module, configured to acquire data to be detected in response to completion of the system upgrade, wherein the data to be detected includes identification information corresponding to the resources to be detected and / or stored data to be detected; An information verification module is used to perform functional verification on the resource to be detected and / or to perform consistency verification on the stored data to be detected to obtain a verification result; The result feedback module is used to feedback the verification result when it is determined that the verification result is passed, and to run the upgraded system.

8. An electronic device, characterized in that: include: processor; A memory for storing executable instructions; The processor is used to read the executable instructions from the memory and execute the executable instructions to implement the system upgrade verification method described in any one of claims 1 to 6.

9. A computer-readable storage medium, characterized in that: The storage medium stores a computer program, and when the computer program is executed by the processor, the processor implements the system upgrade verification method described in any one of claims 1 to 6.

10. A computer program product, comprising a computer program or instructions, characterized in that: When the computer program or instruction is executed by a processor, the system upgrade verification method according to any one of claims 1 to 6 is implemented.