Checking method and device for host upgrading closed program

By recording and scanning the host's transactions and scanning the database, filtering the transaction codes to obtain a closed program list, it solves the problem that it is difficult to quickly and automatically check the host's online program call relationship in the existing technology, and realizes the host's non-down version upgrade processing, ensuring business transaction continuity and improving work efficiency.

CN119759381APending Publication Date: 2025-04-04INDUSTRIAL AND COMMERCIAL BANK OF CHINA
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311267547.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-09-27
Publication Date
2025-04-04

AI Technical Summary

Technical Problem

It is difficult to quickly and automatically check the call relationship of the host online program, which leads to the possibility of multiple host online programs to be put into production in the production transaction call chain when the host version is upgraded, causing production risks.

Method used

By recording and processing the transaction on the host, obtaining transaction recording and playback information, and saving it into the database, scanning the database to obtain the transaction code corresponding to the host upgrade program, filtering the transaction code according to the transaction type and the number of production calls, and obtaining a closed program list, thereby realizing the host's non-down version upgrade processing.

Benefits of technology

It quickly determines the scope of host programs that need to be closed, avoids the host version upgrade affecting business transaction continuity, and makes the data more authentic and trustworthy, saves human resources and improves work efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119759381A_ABST
    Figure CN119759381A_ABST
Patent Text Reader

Abstract

The invention provides a checking method and device for a host upgrading closed program, relates to the field of intelligent operation and maintenance, and can be used in the financial field or other fields. The method comprises the following steps: performing transaction recording processing on a host, sending a script obtained by the transaction recording processing to a destination address for transaction playback processing to obtain transaction record playback information, and storing the transaction record playback information into a database; scanning the database to obtain a transaction code corresponding to the host upgrading program; and determining a transaction type and a production calling number corresponding to the transaction code by using the transaction code, and screening the transaction code according to the transaction type and the production calling number to obtain a closed program list. According to the method, the corresponding transaction codes are obtained by storing the transaction record-playback information and scanning the database, and the closed program list is obtained after the transaction codes are screened, so that non-shutdown version upgrading processing of the host is realized, and the effects that the data are more real and credible, human resources are saved and the working efficiency is improved are achieved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of intelligent operation and maintenance, and in particular to a method and device for checking a closed program of a host upgrade. Background Art

[0002] At present, the calling relationships of various host online programs can only be discovered through active judgment by R&D personnel based on experience and code writing logic, or through multiple rounds of production drills containing full business data, and arranging full bank business verification in a shorter production drill window. There is a lack of active and rapid automated inspection.

[0003] During the monthly non-stop commissioning of the host, the host online transaction program A was installed first and the program B was installed later. During the commissioning time difference (5 minutes) of the host program library being updated item by item, when A was the old version and B was the new version, during this period, transactions that needed to be called from both sides (personal card issuer accounting processing) occurred, and program A was successfully executed, but program B failed, resulting in the transaction being credited to the merchant account but not deducted from the customer account. In summary, if there are more than two host online programs to be commissioned in a program chain called by a production transaction, production risks may occur. Summary of the invention

[0004] In view of the problems existing in the prior art, the main purpose of the embodiments of the present invention is to provide a method and device for checking the closed program of the host upgrade, so as to quickly determine the scope of the host program that needs to be closed and avoid the host version upgrade affecting the continuity of business transactions.

[0005] In order to achieve the above object, an embodiment of the present invention provides a method for checking a closed program of a host upgrade, the method comprising:

[0006] Perform transaction recording processing on the host, send the script obtained by the transaction recording processing to the destination address for transaction playback processing, obtain transaction recording and playback information, and store the transaction recording and playback information in the database;

[0007] Scan the database to obtain the transaction code corresponding to the host upgrade program;

[0008] The transaction code is used to determine its corresponding transaction type and number of production calls, and the transaction code is screened according to the transaction type and number of production calls to obtain a closed program list.

[0009] Optionally, in an embodiment of the present invention, performing transaction recording processing on the host includes: using a transaction recording tool to obtain network information from the gateway to the host, and using the network information to obtain the script.

[0010] Optionally, in an embodiment of the present invention, scanning the database to obtain the transaction code corresponding to the host upgrade program includes:

[0011] The online program information of the current version of the host is obtained, and the database is scanned using the online program information to obtain the transaction code corresponding to the host upgrade program.

[0012] Optionally, in an embodiment of the present invention, the database is scanned using the online program information to obtain the transaction code corresponding to the host upgrade program, including:

[0013] The program version and program timestamp in the online program information are compared with the program version and program timestamp in the production operation information. If they are consistent, the database is scanned to obtain the transaction code corresponding to the host upgrade program.

[0014] Optionally, in one embodiment of the present invention, the transaction code includes a plurality of program names;

[0015] Among them, according to the transaction type and the number of production calls, the transaction code is screened, and the closed program list is obtained, including:

[0016] According to the transaction type, the transaction code of the preset transaction type is used as the first screening result;

[0017] The number of production calls is compared with a preset threshold, the transaction codes that meet the preset threshold are used as the second screening result, and the program names of the transaction codes in the first screening result and the second screening result are used as the closed program list.

[0018] Optionally, in an embodiment of the present invention, according to the transaction type, taking the transaction code of the preset transaction type as the first screening result includes:

[0019] Obtain a transaction keyword dictionary and determine the transaction keyword corresponding to the transaction code;

[0020] The transaction keyword is compared with the transaction keyword dictionary to determine the transaction code belonging to the preset transaction type and use it as the first screening result.

[0021] Optionally, in an embodiment of the present invention, the method further includes: utilizing a closed program list to perform a non-downtime version upgrade process on the host.

[0022] The embodiment of the present invention further provides a host upgrade closed program inspection device, the device comprising:

[0023] A transaction recording and playback module is used to perform transaction recording processing on the host, send the script obtained by the transaction recording processing to the destination address for transaction playback processing, obtain transaction recording and playback information, and store the transaction recording and playback information in the database;

[0024] The transaction code module is used to scan the database and obtain the transaction code corresponding to the host upgrade program;

[0025] The closed program module is used to use the transaction code to determine the corresponding transaction type and the number of production calls, and to screen the transaction code according to the transaction type and the number of production calls to obtain a closed program list.

[0026] Optionally, in one embodiment of the present invention, the transaction recording and playback module is further used to: obtain network information from the gateway to the host using a transaction recording tool, and obtain the script using the network information.

[0027] Optionally, in one embodiment of the present invention, the transaction code module is also used to obtain online program information of the current version of the host, and use the online program information to scan the database to obtain the transaction code corresponding to the host upgrade program.

[0028] Optionally, in one embodiment of the present invention, the transaction code module is also used to compare the program version and program timestamp in the online program information with the program version and program timestamp in the production operation information, respectively. If they are consistent, the database is scanned to obtain the transaction code corresponding to the host upgrade program.

[0029] Optionally, in one embodiment of the present invention, the transaction code includes a plurality of program names;

[0030] Among them, the closed program modules include:

[0031] A transaction type screening unit, configured to use a transaction code of a preset transaction type as a first screening result according to the transaction type;

[0032] The production call screening unit is used to compare the number of production calls with a preset threshold, take the transaction code that meets the preset threshold as the second screening result, and take the program name of the transaction code in the first screening result and the second screening result as the closed program list.

[0033] Optionally, in one embodiment of the present invention, the transaction type screening unit includes:

[0034] A transaction keyword subunit is used to obtain a transaction keyword dictionary and determine the transaction keyword corresponding to the transaction code;

[0035] The screening result subunit is used to compare the transaction keyword with the transaction keyword dictionary, determine the transaction code belonging to the preset transaction type, and use it as the first screening result.

[0036] Optionally, in one embodiment of the present invention, the device further includes: a version upgrade module, which is used to perform non-stop version upgrade processing on the host using a closed program list.

[0037] The present invention also provides an electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the above method is implemented when the processor executes the program.

[0038] The present invention also provides a computer-readable storage medium, which stores a computer program for executing the above method by a computer.

[0039] The present invention also provides a computer program product, comprising a computer program / instruction, which implements the steps of the above method when the computer program / instruction is executed by a processor.

[0040] The present invention obtains transaction recording and playback information by recording and playing transactions on the host, obtains corresponding transaction codes by storing the transaction recording and playback information and scanning the database, and obtains a closed program list after screening the transaction codes, thereby realizing non-stop version upgrade processing of the host, achieving the effect of more authentic and reliable data, saving human resources, and improving work efficiency. BRIEF DESCRIPTION OF THE DRAWINGS

[0041] 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 description of the embodiments will be briefly introduced below. 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 paying creative work.

[0042] Figure 1 A flowchart of a method for checking a closed program for host upgrade according to an embodiment of the present invention;

[0043] Figure 2 A flowchart of obtaining a closed program list in an embodiment of the present invention;

[0044] Figure 3 A flow chart of obtaining a first screening result in an embodiment of the present invention;

[0045] Figure 4 It is a flowchart of host upgrade closed program checking in a specific embodiment of the present invention;

[0046] Figure 5 A schematic diagram of the structure of a host upgrade closed program inspection device according to an embodiment of the present invention;

[0047] Figure 6 A schematic diagram of the structure of a closed program module in an embodiment of the present invention;

[0048] Figure 7 This is a schematic diagram of the structure of a transaction type screening unit in an embodiment of the present invention;

[0049] Figure 8 It is a structural schematic diagram of a host upgrade closed program inspection device in another embodiment of the present invention;

[0050] Fig. 9 A schematic diagram of the structure of an electronic device provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0051] The embodiments of the present invention provide a method and device for checking a closed program for a host upgrade, which can be used in the financial field and other fields. It should be noted that the method and device for checking a closed program for a host upgrade of the present invention can be used in the financial field, and can also be used in any field except the financial field. The application field of the method and device for checking a closed program for a host upgrade of the present invention is not limited.

[0052] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions 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 are within the scope of protection of the present invention.

[0053] like Figure 1 The flowchart of a method for checking a closed program for a host upgrade according to an embodiment of the present invention is shown. The execution subject of the method for checking a closed program for a host upgrade provided by the embodiment of the present invention includes but is not limited to a computer. The present invention obtains transaction recording and playback information by recording and playing transactions on the host, obtains corresponding transaction codes by storing the transaction recording and playback information and scanning the database, and obtains a closed program list after screening the transaction codes, thereby realizing the non-stop version upgrade processing of the host, achieving the effect of making the data more authentic and reliable, saving human resources, and improving work efficiency. The method shown in the figure includes:

[0054] Step S1, perform transaction recording processing on the host, send the script obtained by the transaction recording processing to the destination address for transaction playback processing, obtain transaction recording and playback information, and store the transaction recording and playback information in the database.

[0055] The present invention relates to online transaction functions in a large mainframe system, such as a mainframe online CICS transaction processing mechanism, etc. Specifically, a mainframe transaction recording and playback tool is used to obtain network information from a gateway to a mainframe to implement transaction recording.

[0056] Furthermore, after recording is completed, the recorded TRACE is formatted into a script, and the data is sent to the destination address through the host transaction recording and playback tool to complete the playback of the transaction. At the same time, the transaction operation information (i.e. transaction recording and playback information) is written to the RCAP database. The RCAP database is different from the normal system business database. This database is specifically used to store transaction recording and playback information and has no association with business data. To ensure business continuity, it is stored in a separate database.

[0057] Step S2, scanning the database to obtain the transaction code corresponding to the host upgrade program.

[0058] The SQL query production playback transaction RCAP database scan is used to obtain the transaction code that may call multiple upgrade programs. Specifically, the transaction code includes multiple program names.

[0059] Step S3, using the transaction code to determine the corresponding transaction type and the number of production calls, and screening the transaction code according to the transaction type and the number of production calls to obtain a closed program list.

[0060] Among them, a preset transaction keyword dictionary is obtained, and the transaction keyword in the transaction code is determined. For example, if the transaction keyword is counter, then the transaction type of the transaction code is counter transaction. After the transaction type corresponding to the transaction code is determined by the transaction keyword dictionary, the transaction code of the preset transaction type is screened out, and the corresponding program is used as the program entering the closed program list. Among them, the transaction keyword can be obtained from the transaction code by using a conventional keyword extraction method, which will not be repeated here.

[0061] Furthermore, the number of production calls of the transaction code is obtained by querying, and the number of production calls is compared with the preset threshold to further screen the transaction code. Specifically, the preset threshold can be set according to actual needs, and the transaction codes that do not meet the preset threshold requirements are eliminated, and the programs corresponding to the transaction codes that meet the preset threshold are used as the programs entering the closed program list. Thus, the final closed program list is obtained. In addition, the number of production calls of the transaction code can be queried and obtained in a conventional manner, which will not be repeated here.

[0062] As an embodiment of the present invention, performing transaction recording processing on a host includes: using a transaction recording tool to obtain network information from a gateway to the host, and using the network information to obtain a script.

[0063] The host transaction recording and playback tool, such as workload simulator (WSIM), is used to obtain the network information from the gateway to the host, so as to realize transaction recording and obtain the script. The script can be obtained from the network information in a conventional manner, which will not be described in detail here.

[0064] As an embodiment of the present invention, scanning the database to obtain the transaction code corresponding to the host upgrade program includes: obtaining online program information of the current version of the host, and scanning the database using the online program information to obtain the transaction code corresponding to the host upgrade program.

[0065] The online program information corresponding to the current version is obtained from the host through query and other methods. The database is scanned in combination with the online program information. Specifically, for example, the online program information may indicate which online programs may be involved in the host upgrade, and thus the relevant programs are scanned in the database to obtain the transaction code including the program.

[0066] In this embodiment, the database is scanned using the online program information to obtain the transaction code corresponding to the host upgrade program, including: comparing the program version and program timestamp in the online program information with the program version and program timestamp in the production operation information, respectively; if they are consistent, the database is scanned to obtain the transaction code corresponding to the host upgrade program.

[0067] Among them, the corresponding online program information and production operation information are obtained from the host in a conventional manner, and the host online transaction version information is extracted, including the program name, program version number such as V1.4.3, program timestamp 2023082398473, etc. It is compared with the production operation information (same program name and version number, etc.) to determine whether it is consistent, and then the database is scanned to obtain the transaction code corresponding to the host upgrade program, thereby improving the accuracy of the obtained transaction code.

[0068] As a result, the data used is more authentic and reliable than the previous reliance on program code developers. This data is used to compare the production environment program with the current version of the program to be upgraded to ensure that they are the same batch of content, which improves work efficiency.

[0069] As an embodiment of the present invention, the transaction code includes a plurality of program names.

[0070] Specifically, the transaction code can be expressed as: TRAN1 PROG1 PROG2 PROG3... (PROG is the version modification program).

[0071] In this embodiment, if Figure 2 As shown in the figure, according to the transaction type and the number of production calls, the transaction code is filtered to obtain the closed program list including:

[0072] Step S31, according to the transaction type, taking the transaction code of the preset transaction type as the first screening result;

[0073] Step S32, compare the number of production calls with a preset threshold, take the transaction code that meets the preset threshold as the second screening result, and take the program name of the transaction code in the first screening result and the second screening result as the closed program list.

[0074] Among them, after determining the transaction type corresponding to the transaction code using the transaction keyword dictionary, the transaction code of the preset transaction type is screened out as the first screening result, and the corresponding program is used as the program entering the closed program list.

[0075] Furthermore, the number of production calls of the transaction code is obtained by querying, and the number of production calls is compared with the preset threshold to further screen the transaction code. Specifically, the preset threshold can be set according to actual needs, and the transaction codes that do not meet the preset threshold requirements are eliminated, and the programs corresponding to the transaction codes that meet the preset threshold are used as the programs entering the closed program list, that is, the second screening result. Thus, the final closed program list is obtained, which includes the first screening result and the second screening result.

[0076] In this embodiment, if Figure 3 As shown, according to the transaction type, the transaction code of the preset transaction type is used as the first screening result including:

[0077] Step S311, obtaining a transaction keyword dictionary and determining the transaction keyword corresponding to the transaction code;

[0078] Step S312, comparing the transaction keyword with the transaction keyword dictionary, determining the transaction code belonging to the preset transaction type, and taking it as the first screening result.

[0079] Herein, a preset transaction keyword dictionary is obtained, and the transaction keyword in the transaction code is determined. For example, if the transaction keyword is counter, it can be known from the transaction keyword dictionary that the transaction type of the transaction code is counter transaction.

[0080] Furthermore, after determining the transaction type corresponding to the transaction code using the transaction keyword dictionary, the transaction code of the preset transaction type is screened out as the first screening result, and the corresponding program is used as the program entering the closed program list.

[0081] As an embodiment of the present invention, the method further includes: using the closed program list to perform a non-stop version upgrade process on the host.

[0082] Among them, the closed program list can be obtained by using the transaction agent that is finally screened out, thereby realizing the non-stop version upgrade of the host. Specifically, in the process of obtaining the program list by the transaction agent, for example, the screened transaction code is 3700, and the programs involved in the full-link call of the transaction are AI001, AI002, AI003, and AI005, and AI002 and AI005 are to be upgraded in this version, so it is determined that during the non-stop version upgrade of the host, the host transaction range that needs to be specially closed is AI001, AI002, AI003, and AI005.

[0083] The present invention is applied in a large mainframe system to automatically evaluate the possible business impact during the mainframe version upgrade, and compare it with the scope of the host online program modification of the current version. Through rapid automated inspection, the scope of the host program that needs to be closed is determined in the fastest time, so that all related programs are required to run on the basis of the same version, or are prohibited from running, so as to avoid the mainframe version upgrade affecting the continuity of business transactions.

[0084] In a specific embodiment of the present invention, Figure 4 The figure shows the flow chart of the closed program check for host upgrade, which can obtain the corresponding version information and actual production operation information from the host, and then automatically check the version content according to specific inspection elements and output the inspection results. It is divided into the following five steps:

[0085] 1) Use the mainframe transaction recording and playback tool workload simulator (WSIM) developed by IBM to obtain the network information from the gateway to the host to record the transaction by opening VTAMTRACE or TCPIP TRACE. After recording, format the recorded TRACE into a script, send the data to the destination address through the tool to complete the transaction playback, and write the transaction operation information into the RCAP database. The RCAP database is different from the normal system business database. This database is specifically used to store transaction recording and playback information and has no association with business data. To ensure business continuity, it is stored in a separate database.

[0086] 2) Scan the RCAP database of production playback transactions through SQL query to obtain the transaction code that may call multiple upgrade programs. The structure is as follows:

[0087] TRAN1 PROG1 PROG2 PROG3...(PROG are all version modification programs).

[0088] For example: 3700 deposit account opening transaction program PROG1: AI41583 (query interface for ticket package processing) - program PROG2: AI62139 (query interface for clearing code and clearing member sub-account comparison table) - program PROG3: AI42119 (query interface for reply content query).

[0089] 3) Use the "transaction category" of the transaction code (specifically, the SEAS transaction code) and the obtained transaction Chinese keyword dictionary to filter the preset transaction type, such as eliminating counter transactions and filtering out financial transactions in the transaction code. The reason why the transaction code is used instead of the program name obtained by previous query is that the system program name and the transaction code are not the same name. For example, the counter transaction 3700 is an account opening transaction. When the teller executes the 3700 transaction, the program name may be AI41070 or other such program names.

[0090] 4) Query the number of production calls of the above transaction codes, customize the threshold, and do further screening. The setting of the threshold needs to be manually evaluated according to the importance of the business. For example, for overseas card acquiring with high frequency transactions 24 hours a day, the threshold should be set relatively high, so that the transaction is included in the closed list to reduce the impact on card consumption customers. However, low-frequency merchant liquidations are not included in the closed list because they have less impact on customers and allow a certain degree of fault tolerance.

[0091] 5) Use the final filtered transaction list to obtain the closed program list. For example, the filtered transaction code is 3700, and the programs involved in the full-link call of this transaction are AI001, AI002, AI003, and AI005, and AI002 and AI005 are to be upgraded in this version. Therefore, during the non-stop host version upgrade, the host transaction range that needs to be specially closed is AI001, AI002, AI003, and AI005.

[0092] The present invention accurately extracts the basic information of the test, specifically, it can extract the host online transaction version information (including program name, program version number such as V1.4.3, program timestamp 2023082398473, etc.), and compare it with the production operation information (same program name and version number, etc.), compared with the original reliance on program code developers, the adopted data is more authentic and reliable. These data are used to compare the production environment program with the current version to be upgraded to ensure that they are the same batch of content. In addition, the present invention improves the amount of human resource savings and solves the problem that it is impossible to accurately sort and collect by manual means, and it is more prone to errors and omissions.

[0093] In addition, the present invention improves work efficiency, describes the calculation method of the improvement, and the calculation method of work efficiency and efficiency improvement is as follows: Because it was originally impossible to check the entire online program, it could only rely on manual identification. At the same time, it is impossible to automatically observe the actual operation of the production program, resulting in a high time-consuming judgment of the closed program and the result cannot be guaranteed to be accurate. Specifically, after using the tool, it takes 20 minutes to check once, 3 times for each version, a total of 60 minutes; the original work efficiency = 1 / 900, the current work efficiency = 1 / 60, and the work efficiency improvement = 15 times.

[0094] like Figure 5 The figure shows a schematic diagram of the structure of a host upgrade closed program inspection device according to an embodiment of the present invention. The device shown in the figure includes:

[0095] The transaction recording and playback module 10 is used to perform transaction recording processing on the host, send the script obtained by the transaction recording processing to the destination address for transaction playback processing, obtain transaction recording and playback information, and store the transaction recording and playback information in the database;

[0096] The transaction code module 20 is used to scan the database to obtain the transaction code corresponding to the host upgrade program;

[0097] The closed program module 30 is used to use the transaction code to determine the corresponding transaction type and the number of production calls, and screen the transaction code according to the transaction type and the number of production calls to obtain a closed program list.

[0098] As an embodiment of the present invention, the transaction recording and playback module 10 is further used to obtain network information from the gateway to the host using a transaction recording tool, and obtain a script using the network information.

[0099] As an embodiment of the present invention, the transaction code module 20 is further used to obtain the online program information of the current version of the host, and use the online program information to scan the database to obtain the transaction code corresponding to the host upgrade program.

[0100] In this embodiment, the transaction code module 20 is also used to compare the program version and program timestamp in the online program information with the program version and program timestamp in the production operation information. If they are consistent, the database is scanned to obtain the transaction code corresponding to the host upgrade program.

[0101] As an embodiment of the present invention, the transaction code includes a plurality of program names.

[0102] In this embodiment, if Figure 6 As shown, the closed program module 30 includes:

[0103] A transaction type screening unit 31, configured to use a transaction code of a preset transaction type as a first screening result according to the transaction type;

[0104] The production call screening unit 32 is used to compare the number of production calls with a preset threshold, take the transaction code that meets the preset threshold as the second screening result, and take the program name of the transaction code in the first screening result and the second screening result as the closed program list.

[0105] In this embodiment, if Figure 7 As shown, the transaction type screening unit 31 includes:

[0106] The transaction keyword subunit 311 is used to obtain a transaction keyword dictionary and determine the transaction keyword corresponding to the transaction code;

[0107] The screening result subunit 312 is used to compare the transaction keyword with the transaction keyword dictionary, determine the transaction code belonging to the preset transaction type, and use it as the first screening result.

[0108] As an embodiment of the present invention, Figure 8 As shown, the device also includes: a version upgrade module 40, which is used to use the closed program list to perform non-stop version upgrade processing on the host.

[0109] Based on the same application concept as the above-mentioned host upgrade closed program inspection method, the present invention also provides the above-mentioned host upgrade closed program inspection device. Since the principle of solving the problem by the host upgrade closed program inspection device is similar to that of the host upgrade closed program inspection method, the implementation of the host upgrade closed program inspection device can refer to the implementation of the host upgrade closed program inspection method, and the repeated parts will not be repeated.

[0110] The present invention obtains transaction recording and playback information by recording and playing transactions on the host, obtains corresponding transaction codes by storing the transaction recording and playback information and scanning the database, and obtains a closed program list after screening the transaction codes, thereby realizing non-stop version upgrade processing of the host, achieving the effect of more authentic and reliable data, saving human resources, and improving work efficiency.

[0111] The present invention also provides an electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the above method is implemented when the processor executes the program.

[0112] The present invention also provides a computer program product, comprising a computer program / instruction, which implements the steps of the above method when the computer program / instruction is executed by a processor.

[0113] The present invention also provides a computer-readable storage medium, which stores a computer program for executing the above method by a computer.

[0114] like Fig. 9 As shown, the electronic device 600 may further include: a communication module 110, an input unit 120, an audio processor 130, a display 160, and a power supply 170. It is worth noting that the electronic device 600 does not necessarily have to include Fig. 9 In addition, the electronic device 600 may also include Fig. 9 For components not shown, reference may be made to the prior art.

[0115] like Fig. 9 As shown, the central processor 100 is sometimes also referred to as a controller or an operation control, and may include a microprocessor or other processor devices and / or logic devices. The central processor 100 receives inputs and controls the operations of various components of the electronic device 600.

[0116] The memory 140 may be, for example, one or more of a cache, a flash memory, a hard drive, a removable medium, a volatile memory, a non-volatile memory or other suitable devices. The above-mentioned information related to the failure may be stored, and a program for executing the relevant information may also be stored. The CPU 100 may execute the program stored in the memory 140 to implement information storage or processing.

[0117] The input unit 120 provides input to the CPU 100. The input unit 120 is, for example, a key or a touch input device. The power supply 170 is used to provide power to the electronic device 600. The display 160 is used to display display objects such as images and text. The display may be, for example, an LCD display, but is not limited thereto.

[0118] The memory 140 may be a solid-state memory, such as a read-only memory (ROM), a random access memory (RAM), a SIM card, etc. It may also be a memory that saves information even when the power is off, can be selectively erased, and is provided with more data, examples of which are sometimes referred to as EPROMs, etc. The memory 140 may also be some other type of device. The memory 140 includes a buffer memory 141 (sometimes referred to as a buffer). The memory 140 may include an application / function storage unit 142, which is used to store application programs and function programs or processes for executing the operation of the electronic device 600 through the central processor 100.

[0119] The memory 140 may also include a data storage unit 143 for storing data, such as contacts, digital data, pictures, sounds, and / or any other data used by the electronic device. The driver storage unit 144 of the memory 140 may include various drivers for communication functions of the electronic device and / or for executing other functions of the electronic device (such as messaging applications, address book applications, etc.).

[0120] The communication module 110 is a transmitter / receiver 110 that transmits and receives signals via an antenna 111. The communication module (transmitter / receiver) 110 is coupled to the central processor 100 to provide input signals and receive output signals, which may be the same as the case of a conventional mobile communication terminal.

[0121] Based on different communication technologies, multiple communication modules 110 may be provided in the same electronic device, such as a cellular network module, a Bluetooth module and / or a wireless LAN module. The communication module (transmitter / receiver) 110 is also coupled to a speaker 131 and a microphone 132 via an audio processor 130 to provide an audio output via the speaker 131 and receive an audio input from the microphone 132, thereby realizing a common telecommunication function. The audio processor 130 may include any suitable buffer, decoder, amplifier, etc. In addition, the audio processor 130 is also coupled to the central processor 100, so that the sound can be recorded on the local machine through the microphone 132, and the sound stored on the local machine can be played through the speaker 131.

[0122] Those skilled in the art will appreciate that embodiments of the present invention may be provided as methods, systems, or computer program products. Therefore, the present invention may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the present invention may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0123] The present invention is described with reference to flowcharts and / or block diagrams of methods, devices (systems), and computer program products according to embodiments of the present invention. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1A device that provides the functions specified in a block or multiple blocks.

[0124] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0125] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 A step that specifies a function in one or more boxes.

[0126] The present invention uses specific embodiments to illustrate the principles and implementation methods of the present invention. The description of the above embodiments is only used to help understand the method of the present invention and its core idea. At the same time, for those skilled in the art, according to the idea of ​​the present invention, there will be changes in the specific implementation methods and application scope. In summary, the content of this specification should not be understood as a limitation on the present invention.

Claims

1. A method for checking a closed program for host upgrade, characterized in that: The method comprises: Performing transaction recording processing on the host, sending the script obtained by the transaction recording processing to the destination address for transaction playback processing, obtaining transaction recording and playback information, and storing the transaction recording and playback information in the database; Scan the database to obtain a transaction code corresponding to the host upgrade program; The transaction code is used to determine the corresponding transaction type and the number of production calls, and the transaction code is screened according to the transaction type and the number of production calls to obtain a closed program list.

2. The method according to claim 1, characterized in that The transaction recording process for the host includes: using a transaction recording tool to obtain network information from the gateway to the host, and using the network information to obtain the script.

3. The method according to claim 1, characterized in that Scan the database to obtain the transaction code corresponding to the host upgrade program, including: The online program information of the current version of the host is obtained, and the database is scanned using the online program information to obtain the transaction code corresponding to the host upgrade program.

4. The method according to claim 3, characterized in that The database is scanned using the online program information to obtain the transaction code corresponding to the host upgrade program, including: The program version and program timestamp in the online program information are compared with the program version and program timestamp in the production operation information respectively. If they are consistent, the database is scanned to obtain the transaction code corresponding to the host upgrade program.

5. The method according to claim 1, characterized in that The transaction code includes a plurality of program names; Among them, according to the transaction type and the number of production calls, the transaction code is screened to obtain a closed program list including: According to the transaction type, a transaction code of a preset transaction type is used as a first screening result; The number of production calls is compared with a preset threshold, the transaction codes that meet the preset threshold are used as the second screening result, and the program names of the transaction codes in the first screening result and the second screening result are used as the closed program list.

6. The method according to claim 5, characterized in that According to the transaction type, taking the transaction code of the preset transaction type as the first screening result includes: Obtaining a transaction keyword dictionary and determining the transaction keyword corresponding to the transaction code; The transaction keyword is compared with the transaction keyword dictionary to determine a transaction code belonging to a preset transaction type and use it as a first screening result.

7. The method according to claim 1, characterized in that The method further includes: utilizing the closed program list to perform a non-stop version upgrade process on the host.

8. A host upgrade closed program inspection device, characterized in that: The device comprises: A transaction recording and playback module is used to perform transaction recording processing on the host, send the script obtained by the transaction recording processing to the destination address for transaction playback processing, obtain transaction recording and playback information, and store the transaction recording and playback information in the database; A transaction code module, used to scan the database to obtain a transaction code corresponding to the host upgrade program; The closed program module is used to use the transaction code to determine the corresponding transaction type and the number of production calls, and screen the transaction code according to the transaction type and the number of production calls to obtain a closed program list.

9. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the method according to any one of claims 1 to 7 is implemented.

10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program for causing a computer to execute the method according to any one of claims 1 to 7.