Batch verification method and device for upgrade files, equipment, medium and product

By obtaining the target information table and upgrade information table of the upgrade file and using a hash algorithm for verification, the problems of low verification efficiency and low accuracy in the existing technology are solved, and efficient and accurate batch verification of the upgrade file is achieved.

CN119691731APending Publication Date: 2025-03-25INDUSTRIAL AND COMMERCIAL BANK OF CHINA
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411771944.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-04
Publication Date
2025-03-25

AI Technical Summary

Technical Problem

The existing upgrade file verification methods are inefficient, have low accuracy and are prone to errors caused by human negligence, which affects the smooth progress of the rolling upgrade process.

Method used

By responding to the user's table export and file upload operations, the target information table and the upgrade information table are obtained, and the hash algorithm is used to process the two to generate verification results to prompt relevant personnel.

Benefits of technology

It realizes batch verification of the correctness of the upgraded files, improves the verification efficiency and accuracy, and ensures the correctness and security of the upgraded files.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119691731A_ABST
    Figure CN119691731A_ABST
Patent Text Reader

Abstract

The invention discloses a batch verification method and device for upgrade files, equipment, a medium and a product. The method comprises the steps of obtaining a target information table matched with each upgrade file in response to a table export operation of a user; in response to a file uploading operation of a user, obtaining an upgrading information table matched with the file uploading operation; and processing the target information table and the upgrade information table through a Hash algorithm to obtain a verification result to prompt related personnel. By means of the technical scheme, batch verification of the correctness of the upgrade files can be achieved, the correctness and safety of the upgrade files are guaranteed, and meanwhile the verification efficiency and verification accuracy of the upgrade files are improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of big data, and in particular to a batch verification method, device, equipment, medium and product for upgrading files. Background Art

[0002] In the scenario of rolling upgrade of containers on a large scale, technicians usually build an information summary file first. The file covers key information such as template name, old template version number, new template version number, deployment cluster, deployment environment, and application name. Among them, the combination of application name, template name, old template version number, deployment cluster, and deployment environment can uniquely identify an existing template, while application name, template name, new template version number, deployment cluster, and deployment environment indicate the target of rolling upgrade.

[0003] However, the current verification of the correctness of the old version of the template information in this file is completely dependent on manual methods. Due to the large scale of rolling upgrades, the large number of containers involved, and the high similarity between the template information, this purely manual verification mode is not only inefficient, but also prone to errors due to human negligence, resulting in the inability to detect potential errors in the rolling upgrade file in a timely manner, which in turn has an adverse impact on the smooth progress of the entire rolling upgrade process.

[0004] In summary, the existing verification method for upgrade files has the problems of wasting human resources, low verification accuracy and low verification rate. Summary of the invention

[0005] The present invention provides a batch verification method, device, equipment, medium and product for upgrade files, which can solve the problems of waste of human resources, low verification accuracy and low verification rate in the existing verification method for upgrade files.

[0006] In a first aspect, an embodiment of the present invention provides a batch verification method for upgrade files, the method comprising:

[0007] In response to the table export operation of the user, obtaining a target information table matching each upgrade file;

[0008] In response to a file upload operation by a user, obtaining an upgrade information table matching the file upload operation;

[0009] The target information table and the upgrade information table are processed by a hash algorithm to obtain a verification result to prompt relevant personnel.

[0010] In a second aspect, an embodiment of the present invention provides a batch verification device for upgrade files, the device comprising:

[0011] A first table acquisition module, configured to acquire a target information table matching each upgrade file in response to a table export operation by a user;

[0012] A second table acquisition module, configured to obtain an upgrade information table matching the file upload operation in response to a user's file upload operation;

[0013] The hash calculation module is used to process the target information table and the upgrade information table through a hash algorithm to obtain a verification result to prompt relevant personnel.

[0014] In a third aspect, an embodiment of the present invention provides an electronic device, the electronic device comprising:

[0015] at least one processor; and

[0016] a memory communicatively connected to the at least one processor; wherein,

[0017] The memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can execute a batch verification method for upgrade files described in any embodiment of the present invention.

[0018] In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium, wherein the computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to implement a batch verification method for upgrade files described in any embodiment of the present invention when executed.

[0019] In a fifth aspect, an embodiment of the present invention provides a computer program product, which includes a computer program. When the computer program is executed by a processor, it implements a batch verification method for upgrade files described in any embodiment of the present invention.

[0020] The technical solution of the embodiment of the present invention first responds to the user's table export operation to obtain a target information table matching each upgrade file, then responds to the user's file upload operation to obtain an upgrade information table matching the file upload operation, and finally processes the target information table and the upgrade information table through a hash algorithm to obtain a verification result to prompt relevant personnel, thereby solving the problems of waste of human resources, low verification accuracy and low verification rate caused by the existing verification method for upgrade files, realizing batch verification of the correctness of upgrade files, ensuring the correctness and security of the upgrade files while improving the verification efficiency and verification accuracy of the upgrade files.

[0021] It should be understood that the contents described in this section are not intended to identify the key or important features of the embodiments of the present invention, nor are they intended to limit the scope of the present invention. Other features of the present invention will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS

[0022] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.

[0023] Figure 1 is a flow chart of a batch verification method for upgrade files provided according to Embodiment 1 of the present invention;

[0024] Figure 2 is a flow chart of a batch verification method for upgrade files provided according to Embodiment 2 of the present invention;

[0025] Figure 3 2 is a schematic diagram of the structure of a batch verification device for upgrade files provided according to Embodiment 3 of the present invention;

[0026] Figure 4 The present invention is a schematic diagram of the structure of an electronic device for implementing a batch verification method for upgrade files according to an embodiment of the present invention. DETAILED DESCRIPTION

[0027] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present invention.

[0028] It should be noted that the terms "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, any variation of the terms "including" and "having" is intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0029] Embodiment 1

[0030] Figure 1 A flow chart of a method for batch verification of upgrade files provided in Embodiment 1 of the present invention. This embodiment is applicable to the case where batch verification of upgrade files is performed in a scenario where large-scale rolling upgrades are performed on containers. The method can be executed by a batch verification device for upgrade files. The batch verification device for upgrade files can be implemented in the form of hardware and / or software. The batch verification device for upgrade files can be configured in a terminal or server with a batch verification function for upgrade files.

[0031] like Figure 1 As shown, the method includes:

[0032] S110 . In response to the table export operation of the user, a target information table matching each upgrade file is obtained.

[0033] Among them, in response to the user's table export operation, a target information table matching each upgrade file is obtained, including: in response to the user's table export operation, a file information table matching each upgrade file is obtained, the file information table including at least one upgrade file information, the upgrade file information including the template version number, template name, deployment cluster, deployment environment and application name information of the upgrade file; filtering each file information according to preset filtering rules to obtain each target information; listing each target information to obtain a target information table.

[0034] Specifically, in this embodiment, when the user performs a table export operation, the system will respond quickly and start to obtain the target information table matching each upgrade file. First, the user's table export operation refers to the user's request to export table-based data to the system by clicking a specific button, selecting a related menu option, or executing a preset shortcut command in the system interface. For example, the user clicks the "Export Upgrade File Information Table" button in the software interface. In response to this operation, the system will obtain a file information table matching each upgrade file. This file information table contains at least one upgrade file information. The upgrade file information here includes: the template version number of the upgrade file (such as version identifiers such as 1.0, 2.0, etc.), template name (such as "Template A" "Template B"), deployment cluster (such as "Cluster 1" "Cluster 2"), deployment environment (such as "Development Environment" "Production Environment") and application name (such as "Application X" "Application Y") and other information. Subsequently, the system will filter and process each file information according to the pre-set filtering rules. The "preset filtering rules" can be based on specific conditions, such as only retaining the upgrade file information within a specific version range, or only selecting relevant information under a specific deployment environment, etc. This embodiment does not limit the specific content of the filtering rules. After filtering, the target information that meets the requirements is obtained. Finally, the target information is sorted and processed in a list form to form a final target information table, which is presented to the user in a clear and organized manner.

[0035] S120: In response to a file upload operation by a user, obtaining an upgrade information table matching the file upload operation.

[0036] Among them, in response to the user's file upload operation, an upgrade information table matching the file upload operation is obtained, including: in response to the user's file upload operation, obtaining at least one upgrade file to be verified uploaded by the user; obtaining the template version number, template name, deployment cluster, deployment environment and application name information of each file to be verified, and forming upgrade information matching each file to be verified; and listing each upgrade information to obtain an upgrade information table matching the file upload operation.

[0037] Specifically, in the existing technical architecture, when the system receives a file upload operation from a user, an upgrade information table adapted to the operation will be generated accordingly. The user's file upload operation refers to the action of transferring the file to the system server by selecting a locally stored file in the interface or application specified by the system, and clicking the "upload" button or executing a similar instruction. For example, the user selects several upgrade files from his computer in a web page dedicated to managing upgrade files, and then clicks "upload" to complete this operation. In response to this operation, the system first obtains at least one upgrade file to be verified uploaded by the user. Subsequently, the system extracts key information from each file to be verified, including template version number (e.g., version 1.1, version 2.5, etc., digital codes for identifying file versions), template name (such as "standard template 01" and "customized template 02"), deployment cluster (such as "cluster A" and "cluster B", representing different server groups), deployment environment (such as "test environment" and "formal environment") and application name (such as "financial management application" and "customer relationship management application"), and then forms upgrade information corresponding to each file to be verified. Next, the system will sort and arrange these upgrade information in the form of a list. In this way, each upgrade information is presented clearly and orderly, and finally an upgrade information table matching the user's file upload operation is obtained.

[0038] S130, processing the target information table and the upgrade information table by a hash algorithm to obtain a verification result to prompt relevant personnel.

[0039] Among them, the hash algorithm is also called a hash algorithm, which is an algorithm that converts input data of any length into an output value of fixed length through a specific calculation method. This fixed-length output value is usually called a hash value, hash value or message digest. The hash algorithm has the following important characteristics: Determinism: The same input data always gets the same hash value. Fast calculation: A hash value can be generated in a shorter time. One-way: It is difficult to reversely deduce the original input data from the hash value. Accordingly, in this embodiment, the hash algorithm is an algorithm that can generate a hash value based on the data in the target information table and the upgrade information table.

[0040] The technical solution of the embodiment of the present invention first responds to the user's table export operation to obtain a target information table matching each upgrade file, then responds to the user's file upload operation to obtain an upgrade information table matching the file upload operation, and finally processes the target information table and the upgrade information table through a hash algorithm to obtain a verification result to prompt relevant personnel, thereby realizing batch verification of the correctness of the upgrade files, ensuring the correctness and security of the upgrade files while improving the verification efficiency and verification accuracy of the upgrade files.

[0041] Embodiment 2

[0042] Figure 2 A flowchart of a batch verification method for upgrade files provided in Embodiment 2 of the present invention. This embodiment is refined based on the above-mentioned embodiment. In this embodiment, the method of obtaining the verification result by processing the target information table and the upgrade information table through a hash algorithm is specifically refined.

[0043] like Figure 2 As shown, the method includes:

[0044] S210: In response to the table export operation of the user, a target information table matching each upgrade file is obtained.

[0045] S220: In response to the file upload operation of the user, obtain an upgrade information table matching the file upload operation.

[0046] S230: extract and aggregate the target information in the target information table to obtain a target object set matching the target information table.

[0047] In a specific implementation of this embodiment, under the existing technical framework, it is necessary to extract and aggregate the target information in the target information table to obtain a target object set corresponding to the target information table. The target information table refers to a table containing a series of detailed data related to the upgrade file. For example, a table that records the template version number, template name and other information of different applications in different deployment environments, the target information is the various data units contained in the target information table, such as file information related to a certain upgrade file, the file information includes the template version number, template name, deployment cluster, deployment environment and application name information of the upgrade file; further, the aggregate storage is to integrate the extracted relevant target information according to certain rules and logic, and store it in a centralized and orderly manner. Through the above-mentioned extraction and aggregate storage operations, a target object set with a specific structure and logical relationship that matches the target information table is finally formed. This target object set can be used and analyzed more efficiently by subsequent processing flows.

[0048] S240: Extract and aggregate the upgrade information in the upgrade information table to obtain an upgrade object set matching the upgrade information table.

[0049] S250: Match the target object set with the upgrade object set by using a hash algorithm to obtain a matching result.

[0050] Among them, matching the target object set with the upgrade object set by a hash algorithm to obtain a matching result includes: obtaining a preset hash function, and processing each target object information in the target object set by the hash function to obtain a target hash value that matches each target object information respectively; processing each upgrade object information in the upgrade object set by the hash function to obtain an upgrade hash value that matches each upgrade object information respectively; judging whether there is at least one to-be-verified hash value in each upgrade hash value, and the to-be-verified hash value does not match each target hash value; if so, generating a first type of matching result based on each to-be-verified hash value, and the first type of matching result includes the upgrade object information that matches each to-be-verified hash value respectively; if not, generating a second type of matching result.

[0051] In a specific implementation scenario of this embodiment, the specific matching process includes: obtaining a pre-set hash function. This "hash function" is like a specific calculation formula or rule, such as a SHA-256 function, which performs complex calculation processing on the input data. The target object information in the target object set is processed by this hash function to obtain the target hash value corresponding to each target object information. Similarly, the same hash function is used to process each upgrade object information in the upgrade object set to obtain an upgrade hash value that matches each upgrade object information. Then, it is determined whether there is at least one hash value to be verified in each upgrade hash value. This "hash value to be verified" refers to a hash value in the upgrade hash value that is inconsistent with all target hash values. If there is such a hash value to be verified, a class of matching results is generated based on each hash value to be verified. This class of matching results contains upgrade object information that matches each hash value to be verified. For example, if it is found that the hash value of a certain upgrade object is different from all hash values ​​of the target object set, then the relevant information of this upgrade object is included in the first class of matching results. If there is no such hash value to be verified, then a second class of matching results is generated.

[0052] S260: Generate a verification result according to the matching result to prompt relevant personnel.

[0053] Among them, generating a verification result according to the matching result includes: when the matching result is a type-one matching result, generating a verification failure result based on the upgrade object information in the type-one matching result, and the verification failure result includes the upgrade object information and a verification failure prompt; when the matching result is a type-two matching result, generating a verification success result.

[0054] Specifically, a verification result is generated based on the matching result. When the matching result is a first-class matching result, a verification failure result is generated based on the information of each upgrade object in the first-class matching result. This "verification failure result" contains the information of each upgrade object and a clear verification failure prompt, informing the user which upgrade objects have not passed the verification. For example, the prompt "Verification of file X to be verified failed". When the matching result is a second-class matching result, a verification success result is generated, indicating that all upgrade objects have passed the verification.

[0055] The technical solution of the embodiment of the present invention first responds to the user's table export operation to obtain a target information table matching each upgrade file, then responds to the user's file upload operation to obtain an upgrade information table matching the file upload operation, and extracts and aggregates the target information in the target information table to obtain a target object set matching the target information table, then extracts and aggregates the upgrade information in the upgrade information table to obtain an upgrade object set matching the upgrade information table, then matches the target object set with the upgrade object set through a hash algorithm to obtain a matching result, and finally generates a verification result based on the matching result to prompt relevant personnel, thereby realizing batch verification of the correctness of the upgrade files, ensuring the correctness and security of the upgrade files while improving the verification efficiency and verification accuracy of the upgrade files.

[0056] Embodiment 3

[0057] Figure 3 This is a schematic diagram of the structure of a batch verification device for upgrade files provided by Embodiment 3 of the present invention. Figure 3 As shown, the device comprises:

[0058] A first table acquisition module 310, for acquiring a target information table matching each upgrade file in response to a table export operation by a user;

[0059] A second table acquisition module 320, configured to obtain an upgrade information table matching the file upload operation in response to the user's file upload operation;

[0060] The hash calculation module 330 is used to process the target information table and the upgrade information table through a hash algorithm to obtain a verification result to prompt relevant personnel.

[0061] The technical solution of the embodiment of the present invention first responds to the user's table export operation to obtain a target information table matching each upgrade file, then responds to the user's file upload operation to obtain an upgrade information table matching the file upload operation, and finally processes the target information table and the upgrade information table through a hash algorithm to obtain a verification result to prompt relevant personnel, thereby realizing batch verification of the correctness of the upgrade files, ensuring the correctness and security of the upgrade files while improving the verification efficiency and verification accuracy of the upgrade files.

[0062] Based on the above embodiment, the first table acquisition module 310 includes:

[0063] An upgrade file information acquisition unit, configured to acquire a file information table matching each upgrade file in response to a table export operation by a user, wherein the file information table includes at least one piece of upgrade file information, and the upgrade file information includes a template version number, a template name, a deployment cluster, a deployment environment, and an application name information of the upgrade file;

[0064] An information filtering unit, used to filter each file information according to a preset filtering rule to obtain each target information;

[0065] The first list processing unit is used to list each target information to obtain a target information table.

[0066] Based on the above embodiment, the second table acquisition module 320 includes:

[0067] A file acquisition unit to be verified, used for acquiring at least one upgrade file to be verified uploaded by the user in response to a file upload operation by the user;

[0068] An upgrade information generation unit, used to obtain the template version number, template name, deployment cluster, deployment environment and application name information of each file to be verified, and form upgrade information matching each file to be verified;

[0069] The second list processing unit is used to list the upgrade information to obtain an upgrade information table matching the file upload operation.

[0070] Based on the above embodiment, the hash calculation module 330 includes:

[0071] A first aggregation unit is used to extract and aggregate the target information in the target information table to obtain a target object set matching the target information table;

[0072] A second aggregation unit is used to extract and aggregate the upgrade information in the upgrade information table to obtain an upgrade object set matching the upgrade information table;

[0073] A hash matching unit, used to match the target object set with the upgrade object set through a hash algorithm to obtain a matching result;

[0074] A result generating unit is used to generate a verification result according to the matching result.

[0075] Based on the above embodiment, the hash matching unit includes:

[0076] A function acquisition unit, used to acquire a preset hash function, and process each target object information in the target object set by using the hash function to obtain a target hash value that matches each target object information;

[0077] An upgrade hash value calculation unit, used to process each upgrade object information in the upgrade object set by using the hash function to obtain an upgrade hash value that matches each upgrade object information;

[0078] A judging unit, configured to judge whether there is at least one to-be-verified hash value among the upgraded hash values, wherein the to-be-verified hash value does not match any of the target hash values;

[0079] A class matching result generating unit, configured to generate a class matching result based on each hash value to be verified, if any, wherein the class matching result includes upgrade object information respectively matching each hash value to be verified;

[0080] The second-class matching result generating unit is used to generate the second-class matching result if it does not exist.

[0081] Based on the above embodiment, the result generating unit includes:

[0082] A verification failure result generating unit, configured to generate a verification failure result based on each upgrade object information in the first class of matching results when the matching result is a first class of matching results, wherein the verification failure result includes each upgrade object information and a verification failure prompt;

[0083] The verification success result generating unit is used to generate a verification success result when the matching result is a second-class matching result.

[0084] A batch verification device for upgrade files provided by an embodiment of the present invention can execute a batch verification method for upgrade files provided by any embodiment of the present invention, and has functional modules and beneficial effects corresponding to the execution method.

[0085] Embodiment 4

[0086] Figure 4A schematic diagram of the structure of an electronic device 10 that can be used to implement an embodiment of the present invention is shown. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices (such as helmets, glasses, watches, etc.) and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present invention described and / or required herein.

[0087] like Figure 4 As shown, the electronic device 10 includes at least one processor 11, and a memory connected to the at least one processor 11, such as a read-only memory (ROM) 12, a random access memory (RAM) 13, etc., wherein the memory stores a computer program that can be executed by at least one processor, and the processor 11 can perform various appropriate actions and processes according to the computer program stored in the read-only memory (ROM) 12 or the computer program loaded from the storage unit 18 to the random access memory (RAM) 13. In the RAM 13, various programs and data required for the operation of the electronic device 10 can also be stored. The processor 11, ROM 12 and RAM 13 are connected to each other through a bus 14. An input / output (I / O) interface 15 is also connected to the bus 14.

[0088] A number of components in the electronic device 10 are connected to the I / O interface 15, including: an input unit 16, such as a keyboard, a mouse, etc.; an output unit 17, such as various types of displays, speakers, etc.; a storage unit 18, such as a disk, an optical disk, etc.; and a communication unit 19, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 19 allows the electronic device 10 to exchange information / data with other devices through a computer network such as the Internet and / or various telecommunication networks.

[0089] The processor 11 may be a variety of general and / or special processing components with processing and computing capabilities. Some examples of the processor 11 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various special artificial intelligence (AI) computing chips, various processors running machine learning model algorithms, a digital signal processor (DSP), and any appropriate processor, controller, microcontroller, etc. The processor 11 executes the various methods and processes described above, such as a batch verification method for an upgrade file.

[0090] Accordingly, the method comprises:

[0091] In response to the table export operation of the user, obtaining a target information table matching each upgrade file;

[0092] In response to a file upload operation by a user, obtaining an upgrade information table matching the file upload operation;

[0093] The target information table and the upgrade information table are processed by a hash algorithm to obtain a verification result to prompt relevant personnel.

[0094] In some embodiments, a batch verification method for an upgrade file may be implemented as a computer program, which is tangibly contained in a computer-readable storage medium, such as a storage unit 18. In some embodiments, part or all of the computer program may be loaded and / or installed on the electronic device 10 via the ROM 12 and / or the communication unit 19. When the computer program is loaded into the RAM 13 and executed by the processor 11, one or more steps of the batch verification method for an upgrade file described above may be performed. Alternatively, in other embodiments, the processor 11 may be configured to execute a batch verification method for an upgrade file in any other appropriate manner (e.g., by means of firmware).

[0095] Various implementations of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various implementations can include: being implemented in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which can be a special purpose or general purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.

[0096] Computer programs for implementing the methods of the present invention may be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device, so that when the computer program is executed by the processor, the functions / operations specified in the flow chart and / or block diagram are implemented. The computer program may be executed entirely on the machine, partially on the machine, partially on the machine and partially on a remote machine as a stand-alone software package, or entirely on a remote machine or server.

[0097] In the context of the present invention, a computer-readable storage medium may be a tangible medium that may contain or store a computer program for use by or in combination with an instruction execution system, device or equipment. A computer-readable storage medium may include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices or equipment, or any suitable combination of the foregoing. Alternatively, a computer-readable storage medium may be a machine-readable signal medium. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.

[0098] To provide interaction with a user, the systems and techniques described herein may be implemented on an electronic device having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and a pointing device (e.g., a mouse or trackball) through which the user can provide input to the electronic device. Other types of devices may also be used to provide interaction with the user; for example, the feedback provided to the user may be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form (including acoustic input, voice input, or tactile input).

[0099] The systems and techniques described herein may be implemented in a computing system that includes backend components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes frontend components (e.g., a user computer with a graphical user interface or a web browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such backend components, middleware components, or frontend components. The components of the system may be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: a local area network (LAN), a wide area network (WAN), a blockchain network, and the Internet.

[0100] A computing system may include a client and a server. The client and the server are generally remote from each other and usually interact through a communication network. The client and server relationship is generated by computer programs running on the corresponding computers and having a client-server relationship with each other. The server may be a cloud server, also known as a cloud computing server or cloud host, which is a host product in the cloud computing service system to solve the defects of difficult management and weak business scalability in traditional physical hosts and VPS services.

[0101] It should be understood that the various forms of processes shown above can be used to reorder, add or delete steps. For example, the steps described in the present invention can be executed in parallel, sequentially or in different orders, as long as the desired results of the technical solution of the present invention can be achieved, and this document does not limit this.

Claims

1. A batch verification method for upgrade files, characterized in that: include: In response to the table export operation of the user, obtaining a target information table matching each upgrade file; In response to a file upload operation by a user, obtaining an upgrade information table matching the file upload operation; The target information table and the upgrade information table are processed by a hash algorithm to obtain a verification result to prompt relevant personnel.

2. The method according to claim 1, characterized in that In response to the user's table export operation, a target information table matching each upgrade file is obtained, including: In response to the table export operation of the user, a file information table matching each upgrade file is obtained, wherein the file information table includes at least one upgrade file information, and the upgrade file information includes a template version number, a template name, a deployment cluster, a deployment environment, and an application name information of the upgrade file; Filter each file information according to the preset filtering rules to obtain each target information; List each target information to obtain a target information table.

3. The method according to claim 1, characterized in that: In response to a file upload operation by a user, an upgrade information table matching the file upload operation is obtained, including: In response to a file upload operation by a user, obtaining at least one upgrade file to be verified uploaded by the user; Obtain the template version number, template name, deployment cluster, deployment environment, and application name information of each file to be verified, and form upgrade information that matches each file to be verified; Each upgrade information is processed into a list to obtain an upgrade information table matching the file upload operation.

4. The method according to claim 1, characterized in that The target information table and the upgrade information table are processed by a hash algorithm to obtain a verification result, including: Extracting and aggregating the target information in the target information table to obtain a target object set matching the target information table; Extracting and aggregating the upgrade information in the upgrade information table to obtain an upgrade object set matching the upgrade information table; Matching the target object set with the upgrade object set by a hash algorithm to obtain a matching result; A verification result is generated according to the matching result.

5. The method according to claim 4, characterized in that The target object set and the upgrade object set are matched by a hash algorithm to obtain a matching result, including: Obtaining a preset hash function, and processing each target object information in the target object set by using the hash function to obtain a target hash value that matches each target object information; Processing each upgrade object information in the upgrade object set by the hash function to obtain an upgrade hash value that matches each upgrade object information; Determine whether there is at least one to-be-verified hash value among the upgraded hash values, and the to-be-verified hash value does not match any of the target hash values; If so, generating a class of matching results based on each hash value to be verified, wherein the class of matching results includes upgrade object information that matches each hash value to be verified; If it does not exist, a second-class matching result is generated.

6. The method according to any one of claims 4-5, characterized in that: Generating a verification result according to the matching result includes: When the matching result is a type of matching result, generating a verification failure result based on each upgrade object information in the type of matching result, the verification failure result including each upgrade object information and a verification failure prompt; When the matching result is a second-class matching result, a verification success result is generated.

7. A batch verification device for upgrade files, characterized in that: include: A first table acquisition module, configured to acquire a target information table matching each upgrade file in response to a table export operation by a user; A second table acquisition module, configured to obtain an upgrade information table matching the file upload operation in response to a user's file upload operation; The hash calculation module is used to process the target information table and the upgrade information table through a hash algorithm to obtain a verification result to prompt relevant personnel.

8. An electronic device, characterized in that: The electronic device comprises: at least one processor; and a memory communicatively connected to the at least one processor; wherein, The memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can execute a batch verification method for upgrade files according to any one of claims 1 to 6.

9. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to implement a batch verification method for upgrade files according to any one of claims 1 to 6 when executed.

10. A computer program product, characterized in that The computer program product comprises a computer program, and when the computer program is executed by a processor, the computer program implements a batch verification method for upgrade files according to any one of claims 1 to 6.