CN111552499A - AIC version replacement tool based on Shell language - Google Patents
AIC version replacement tool based on Shell language Download PDFInfo
- Publication number
- CN111552499A CN111552499A CN202010502427.7A CN202010502427A CN111552499A CN 111552499 A CN111552499 A CN 111552499A CN 202010502427 A CN202010502427 A CN 202010502427A CN 111552499 A CN111552499 A CN 111552499A
- Authority
- CN
- China
- Prior art keywords
- version
- aic
- script
- changing
- processor
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000000034 method Methods 0.000 claims abstract description 38
- 230000015654 memory Effects 0.000 claims description 21
- 230000008569 process Effects 0.000 claims description 6
- 238000012545 processing Methods 0.000 claims description 5
- 230000008439 repair process Effects 0.000 claims description 3
- 238000004590 computer program Methods 0.000 description 5
- 230000002159 abnormal effect Effects 0.000 description 2
- 230000008859 change Effects 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 238000007726 management method Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000003287 optical effect Effects 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000005540 biological transmission Effects 0.000 description 1
- 238000004891 communication Methods 0.000 description 1
- 238000013500 data storage Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 230000003993 interaction Effects 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
- 238000013403 standard screening design Methods 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/60—Software deployment
- G06F8/65—Updates
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Computer Security & Cryptography (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Stored Programmes (AREA)
Abstract
The application discloses an AIC version replacing method, equipment and a storage medium, wherein the method comprises the following steps: preparing a version list file needing to be updated; checking a version list file; uploading the program package to a server according to the version list; copying the version-changing script and the version list file to an appointed directory; and executing the plate changing script. The automatic version changing work can be carried out based on the configuration file, and the program name and the corresponding version number which need to be changed are written into the configuration file only according to the rule of the configuration file, and the program name and the corresponding version number and the version changing tool are arranged in the same folder to be executed.
Description
Technical Field
The present application relates to the field of computer technologies, and in particular, to an AIC version replacement method, device, and storage medium.
Background
With the development of computer technology, the application of AIC system in financial institutions such as banks is more and more extensive. Within a certain period, the AIC system will be version changed according to the bank functional requirements and necessary system iterations. The existing version replacing program is complex and needs too much manual operation, so that the method is complex and is easy to make mistakes. Therefore, it is necessary to develop an AIC version exchange tool for performing an automatic version exchange work based on a configuration file.
Disclosure of Invention
The application provides an AIC version replacing method, device and storage medium, which are used for solving the problems that the existing version replacing program is complex and needs too many manual operations.
In a first aspect of the embodiments of the present application, an AIC version replacement method is provided, including:
preparing a version list file needing to be updated;
checking a version list file;
uploading the program package to a server according to the version list;
copying the version-changing script and the version list file to an appointed directory;
and executing the plate changing script.
In some embodiments of the present application, based on the above scheme, when the version manifest file is checked, if the version manifest file is incorrect, the execution is cancelled; if the result is correct, the next step is carried out.
In some embodiments of the present application, based on the above scheme, the version manifest file has a module name, a version number, and a process name that need to be updated.
In some embodiments of the present application, based on the above scheme, when checking the version manifest file, the module name, the version number, and the process name that need to be updated are checked.
In some embodiments of the present application, based on the above scheme, when the version-change script is executed, if the version-change script fails, the version-change script is repaired according to the exception repair processing scheme.
In some embodiments of the present application, based on the above scheme, the reprint script is a script developed by Shell language.
In some embodiments of the present application, based on the above scheme, the AIC version exchange method is applied to a bank for version exchange.
In a second aspect of the embodiments of the present application, there is provided an apparatus, including: at least one processor and memory; the memory stores computer-executable instructions; the at least one processor executes computer-executable instructions stored in the memory, so that the at least one processor performs the AIC version replacement method provided by any of the embodiments of the first aspect.
In a third aspect of the embodiments of the present application, a readable storage medium is provided, where a computer-executable instruction is stored in the readable storage medium, and when a processor executes the computer-executable instruction, the AIC version replacement method provided in any embodiment of the first aspect is implemented.
The beneficial effect of this application is as follows:
based on the requirements, the AIC version replacement tool is developed based on the Shell language, and automatic version replacement can be performed based on the configuration file. The program name and the corresponding version number which need to be replaced are written into the configuration file according to the rule of the configuration file, and the program name and the corresponding version number can be executed by placing the program name and the corresponding version number into the same folder.
Drawings
The accompanying drawings, which are included to provide a further understanding of the application and are incorporated in and constitute a part of this application, illustrate embodiment(s) of the application and together with the description serve to explain the application and not to limit the application. In the drawings:
fig. 1 is a flowchart illustrating an AIC version replacement method according to an embodiment of the present disclosure.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the technical solutions of the present application will be described in detail and completely with reference to the following specific embodiments of the present application and the accompanying drawings. It should be apparent that the described embodiments are only some of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
In the current technical scheme, when the bank AIC system carries out version replacement, the replacement procedure is complex and needs too many manual operations, which is not only tedious but also easy to make mistakes.
Based on the above, the embodiment of the present application provides an AIC version replacement method for performing automatic version replacement work based on a configuration file.
As shown in fig. 1, fig. 1 is a flowchart illustrating an AIC version replacement method. The AIC version changing method is developed based on Shell language and can be applied to financial institutions such as banks and the like to change versions of AIC systems.
In step S100, a version manifest file that needs to be updated is prepared.
In an example embodiment, the first column of the version manifest file is the name of the module that needs to be updated, the second column is the version number that needs to be updated, and the third column is the name of the process that needs to be updated.
In step S200, the version manifest file is checked. If the error occurs, the execution is cancelled; if so, go to step S300.
In an example embodiment, the check rule includes a module name that needs to be updated in the first column, a version number that needs to be updated in the second column, and a process name that needs to be updated in the third column.
In step S300, the package is uploaded to the server according to the version list.
In step S400, the version-change script and the version manifest file are copied to the designated directory.
In step S500, a version-change script is executed. If successful, the version update is completed. And if the abnormal data fails, repairing according to the abnormal repairing processing scheme.
Based on the above, an embodiment of the present application provides an apparatus, which may include: a processor and a memory.
Optionally, the device may further comprise a bus. Wherein the bus is used to enable connections between further elements.
The memory is used for storing computer programs and data, and the processor calls the computer programs stored in the memory to execute the technical scheme of the AIC version replacing method provided by the embodiment of the method.
Wherein the memory and the processor are electrically connected, directly or indirectly, to enable transmission or interaction of data. For example, the components may be electrically connected to each other via one or more communication buses or signal lines, such as a bus. The memory stores computer-executable instructions for implementing the data access control method, and includes at least one software functional module which can be stored in the memory in the form of software or firmware, and the processor executes the AIC version change by running the computer program and the module stored in the memory.
The Memory may be, but is not limited to, a Random Access Memory (RAM), a Read Only Memory (ROM), a Programmable Read-Only Memory (PROM), an Erasable Read-Only Memory (EPROM), an electrically Erasable Read-Only Memory (EEPROM), and the like. The memory is used for storing programs, and the processor executes the programs after receiving the execution instructions. Further, the software programs and modules within the aforementioned memories may also include an operating system, which may include various software components and/or drivers for managing system tasks (e.g., memory management, storage device control, power management, etc.), and may communicate with various hardware or software components to provide an operating environment for other software components.
The processor may be an integrated circuit chip having signal processing capabilities. The processor may be a general-purpose processor, and includes a Central Processing Unit (CPU), a Network Processor (NP), and the like. The methods, steps disclosed in the embodiments of the present application may be implemented or performed. A general purpose processor may be a microprocessor or any conventional processor or the like.
Based on the above, embodiments of the present application further provide a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the AIC version replacement method provided by the above method embodiments can be implemented.
The computer-readable storage medium in this embodiment may be any available medium that can be accessed by a computer or a data storage device such as a server, a data center, etc. that is integrated with one or more available media, and the available media may be magnetic media (e.g., floppy disks, hard disks, magnetic tapes), optical media (e.g., DVDs), or semiconductor media (e.g., SSDs), etc.
Those of ordinary skill in the art will understand that: all or a portion of the steps of implementing the above-described method embodiments may be performed by hardware associated with program instructions. The program may be stored in a computer-readable storage medium. When executed, performs steps comprising the method embodiments described above; and the aforementioned storage medium includes: various media that can store program codes, such as ROM, RAM, magnetic or optical disks.
The above description is only an example of the present application and is not intended to limit the present application. Various modifications and changes may occur to those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included in the scope of the claims of the present application.
Claims (9)
1. An AIC version exchange method, comprising:
preparing a version list file needing to be updated;
checking a version list file;
uploading the program package to a server according to the version list;
copying the version-changing script and the version list file to an appointed directory;
and executing the plate changing script.
2. The AIC version-change method of claim 1, wherein, when the version-manifest file is checked, if it is wrong, execution is cancelled; if the result is correct, the next step is carried out.
3. The AIC version changing method of claim 1, wherein the version manifest file has a module name, a version number, and a process name that need to be updated.
4. The AIC version changing method of claim 1, wherein when the version manifest file is checked, a module name, a version number, and a process name that need to be updated are checked.
5. The AIC version-change method of claim 1, wherein when the version-change script is executed, if the version-change script fails, the repair is performed according to an exception repair processing scheme.
6. The AIC version exchange method of claim 1, wherein the versioning script is a script developed in Shell language.
7. The AIC version exchange method according to claim 1, wherein the AIC version exchange method is applied to a bank for version exchange.
8. An apparatus, comprising:
at least one processor and memory;
the memory stores computer-executable instructions;
the at least one processor executing the computer-executable instructions stored by the memory causes the at least one processor to perform the AIC version replacement method of any of claims 1-7.
9. A readable storage medium having stored thereon computer executable instructions which, when executed by a processor, implement the AIC version replacement method as claimed in any one of claims 1 to 7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010502427.7A CN111552499A (en) | 2020-06-03 | 2020-06-03 | AIC version replacement tool based on Shell language |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010502427.7A CN111552499A (en) | 2020-06-03 | 2020-06-03 | AIC version replacement tool based on Shell language |
Publications (1)
Publication Number | Publication Date |
---|---|
CN111552499A true CN111552499A (en) | 2020-08-18 |
Family
ID=71999328
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010502427.7A Pending CN111552499A (en) | 2020-06-03 | 2020-06-03 | AIC version replacement tool based on Shell language |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111552499A (en) |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20130104115A1 (en) * | 2011-10-21 | 2013-04-25 | International Business Machines Corporation | Systems and methods for upgrading a version of software |
US20130332916A1 (en) * | 2012-06-08 | 2013-12-12 | Apple Inc. | System and method for updating application archive files |
CN109445832A (en) * | 2018-10-09 | 2019-03-08 | 深圳点猫科技有限公司 | Language carries out the method and electronic equipment of hot update to application program based on programming |
CN109857423A (en) * | 2018-12-20 | 2019-06-07 | Oppo广东移动通信有限公司 | Program version update method, device, server and readable storage medium storing program for executing |
CN110874231A (en) * | 2018-09-04 | 2020-03-10 | 中兴通讯股份有限公司 | Method, device and storage medium for updating terminal version |
CN111008030A (en) * | 2019-12-10 | 2020-04-14 | 厦门中控智慧信息技术有限公司 | Software online updating system and method based on xml file list and related device |
-
2020
- 2020-06-03 CN CN202010502427.7A patent/CN111552499A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20130104115A1 (en) * | 2011-10-21 | 2013-04-25 | International Business Machines Corporation | Systems and methods for upgrading a version of software |
US20130332916A1 (en) * | 2012-06-08 | 2013-12-12 | Apple Inc. | System and method for updating application archive files |
CN110874231A (en) * | 2018-09-04 | 2020-03-10 | 中兴通讯股份有限公司 | Method, device and storage medium for updating terminal version |
CN109445832A (en) * | 2018-10-09 | 2019-03-08 | 深圳点猫科技有限公司 | Language carries out the method and electronic equipment of hot update to application program based on programming |
CN109857423A (en) * | 2018-12-20 | 2019-06-07 | Oppo广东移动通信有限公司 | Program version update method, device, server and readable storage medium storing program for executing |
CN111008030A (en) * | 2019-12-10 | 2020-04-14 | 厦门中控智慧信息技术有限公司 | Software online updating system and method based on xml file list and related device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10409587B2 (en) | Method for programming vehicle electronic control modules | |
US20180359144A1 (en) | Launch multiple devices firmware update operation from another application with device list context | |
US20130227542A1 (en) | Version conflict checking to installable unit | |
CN102426531A (en) | Intelligent terminal and application program updating system and method | |
CN111414391A (en) | Method and system for accessing multiple data sources | |
CN105320553A (en) | Method and system for updating network card firmware based on domestic processor platform | |
KR102106449B1 (en) | Method, device and server for checking a defective function | |
CN111427582B (en) | RTL code management method, device, equipment and computer readable storage medium | |
CN111552499A (en) | AIC version replacement tool based on Shell language | |
CN111984307A (en) | Processing method and device for automatically repairing baseline version | |
CN116028084A (en) | Cross-version hot upgrading method, system and terminal based on OpenStack cloud platform | |
US11620076B2 (en) | Accelerated non-volatile memory device inspection and forensics | |
CN104636574A (en) | Terminal device upgrade method and terminal device | |
CN113986263A (en) | Code automation test method, device, electronic equipment and storage medium | |
CN113918162A (en) | Front-end code automatic checking method based on centralized management mode | |
JP6907760B2 (en) | Check device, check program and program check method | |
CN109002287B (en) | Management method and device for software in cloud data system | |
CN115421761A (en) | Method, device, system, equipment and medium for upgrading micro-control unit application program | |
JP2018018273A (en) | Information processing system, information processing apparatus, update control apparatus, and update control program | |
CN117331539A (en) | Method and device for continuous integration, electronic equipment and readable storage medium | |
CN116954664A (en) | Firmware upgrading method, device, equipment and medium | |
CN115640277A (en) | Cloud native database change rollback and version management method | |
CN117055932A (en) | Program online upgrading method based on nonvolatile memory tag | |
CN115827013A (en) | System upgrading method, computing device and readable storage medium | |
CN114610735A (en) | Data consistency checking method, device, equipment and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20200818 |
|
RJ01 | Rejection of invention patent application after publication |