CN116307551A - Automatic bill conversion method and device, electronic equipment and storage medium - Google Patents

Automatic bill conversion method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN116307551A
CN116307551A CN202310195750.8A CN202310195750A CN116307551A CN 116307551 A CN116307551 A CN 116307551A CN 202310195750 A CN202310195750 A CN 202310195750A CN 116307551 A CN116307551 A CN 116307551A
Authority
CN
China
Prior art keywords
target
task list
task
verification
information
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
Application number
CN202310195750.8A
Other languages
Chinese (zh)
Inventor
邵家琦
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Agricultural Bank of China
Original Assignee
Agricultural Bank of China
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Agricultural Bank of China filed Critical Agricultural Bank of China
Priority to CN202310195750.8A priority Critical patent/CN116307551A/en
Publication of CN116307551A publication Critical patent/CN116307551A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/06Resources, workflows, human or project management; Enterprise or organisation planning; Enterprise or organisation modelling
    • G06Q10/063Operations research, analysis or management
    • G06Q10/0631Resource planning, allocation, distributing or scheduling for enterprises or organisations
    • G06Q10/06311Scheduling, planning or task assignment for a person or group
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/06Resources, workflows, human or project management; Enterprise or organisation planning; Enterprise or organisation modelling
    • G06Q10/063Operations research, analysis or management
    • G06Q10/0631Resource planning, allocation, distributing or scheduling for enterprises or organisations
    • G06Q10/06313Resource planning in a project environment
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/06Resources, workflows, human or project management; Enterprise or organisation planning; Enterprise or organisation modelling
    • G06Q10/063Operations research, analysis or management
    • G06Q10/0631Resource planning, allocation, distributing or scheduling for enterprises or organisations
    • G06Q10/06315Needs-based resource requirements planning or analysis
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/06Resources, workflows, human or project management; Enterprise or organisation planning; Enterprise or organisation modelling
    • G06Q10/063Operations research, analysis or management
    • G06Q10/0631Resource planning, allocation, distributing or scheduling for enterprises or organisations
    • G06Q10/06316Sequencing of tasks or work
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/06Resources, workflows, human or project management; Enterprise or organisation planning; Enterprise or organisation modelling
    • G06Q10/063Operations research, analysis or management
    • G06Q10/0633Workflow analysis
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/10Office automation; Time management
    • G06Q10/103Workflow collaboration or project management
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/30Computing systems specially adapted for manufacturing

Abstract

The invention discloses an automatic bill conversion method, an automatic bill conversion device, electronic equipment and a storage medium, wherein the method comprises the following steps: determining task list configuration information corresponding to a target task list based on the target task list in the first operation environment; verifying the target task list based on the task list configuration information and the target verification mode; the target verification mode comprises task sheet state verification, task sheet integral verification and task sheet module verification; and if the target task list passes the verification, sending the target task list to a second running environment, and determining a target product based on the target task list so as to release resources based on the target product. Based on the technical scheme, the arrangement and implementation of the assembly line are thoroughly separated, so that the efficient progressive from the development and test environment to the production environment is ensured, the repeated labor is reduced, and the risk possibly caused by manual operation is avoided.

Description

Automatic bill conversion method and device, electronic equipment and storage medium
Technical Field
The present invention relates to the field of computer technologies, and in particular, to an automatic bill conversion method, an apparatus, an electronic device, and a storage medium.
Background
In the development operation and maintenance process of the software project, the software needs to be operated on a plurality of sets of environments, so that developers can test the software and change functions in different operation environments, and the finally obtained software can meet development requirements.
However, since development flows under different environments in the existing method are independent from each other, development flows need to be set under different environments, so that workload of developers is increased, and difference of execution logics of two environments may be generated, resulting in production problems.
Disclosure of Invention
The invention provides an automatic bill transferring method, an automatic bill transferring device, electronic equipment and a storage medium, which realize the verification of the configuration information of a target bill and the determination of a target product based on the bill passing the verification, and carry out resource release, thereby realizing the rapid bill transferring of the bill under different environments.
In a first aspect, an embodiment of the present invention provides an automated single-side conversion method, including:
determining task list configuration information corresponding to a target task list based on the target task list in a first operation environment;
verifying the target task list based on the task list configuration information and a target verification mode; the preset verification mode comprises task sheet state verification, task sheet integral verification and task sheet module verification;
And if the target task list passes the verification, the target task list is sent to a second running environment, and a target product is determined based on the target task list so as to release resources based on the target product.
In a second aspect, an embodiment of the present invention further provides an automatic bill transferring device, where the apparatus includes:
the configuration information determining module is used for determining task list configuration information corresponding to a target task list under a first operation environment based on the target task list;
the verification module is used for verifying the target task list based on the task list configuration information and a target verification mode; the preset verification mode comprises task sheet state verification, task sheet integral verification and task sheet module verification;
and the product determining module is used for sending the target task list to a second running environment if the target task list passes the verification, and determining a target product based on the target task list so as to release resources based on the target product.
In a third aspect, an embodiment of the present invention further provides an electronic device, including:
one or more processors; and
a memory communicatively coupled to the at least one processor; wherein, the liquid crystal display device comprises a liquid crystal display device,
The memory stores a computer program executable by the at least one processor to enable the at least one processor to implement an automated order conversion method according to any one of the embodiments of the present invention.
In a fourth aspect, embodiments of the present invention further provide a computer readable storage medium having stored thereon a computer program which, when executed by a processor, implements an automated order conversion method according to any of the embodiments of the present invention.
According to the technical scheme, task list configuration information corresponding to a target task list is determined based on the target task list in a first operation environment, the target task list is verified based on the task list configuration information and a target verification mode, if the target task list passes verification, the target task list is sent to a second operation environment, and a target product is determined based on the target task list, so that resource release is performed based on the target product. Based on the technical scheme, the arrangement and implementation of the assembly line are thoroughly separated, so that the efficient progressive from the development and test environment to the production environment is ensured, the repeated labor is reduced, and the risk possibly caused by manual operation is avoided.
It should be understood that the description in this section is not intended to identify key or critical features of the embodiments of the invention or to delineate the scope of the invention. Other features of the present invention will become apparent from the description that follows.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 is a schematic flow chart of an automated sheet transferring method according to an embodiment of the present invention;
FIG. 2 is a flow chart of an automated order conversion method provided by an embodiment of the present invention;
FIG. 3 is a block diagram of a task sheet module check provided by an embodiment of the present invention;
FIG. 4 is a block diagram of an automated order transfer apparatus according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of an electronic device according to an embodiment of the present invention.
Detailed Description
In order that those skilled in the art will better understand the present invention, a technical solution in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in which it is apparent that the described embodiments are only some embodiments of the present invention, not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the present invention without making any inventive effort, shall fall within the scope of the present invention.
It should be noted that the terms "first," "second," and the like in the description and the claims of the present invention and the above figures are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used may be interchanged where appropriate such that the embodiments of the invention described herein may be implemented in sequences other than those illustrated or otherwise described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
Example 1
Fig. 1 is a schematic flow chart of an automatic bill conversion method provided in an embodiment of the present invention, where the embodiment may be adapted to perform state verification according to job ticket configuration information corresponding to a job ticket in a preset operation environment, and when verification passes, send a target job ticket to a second operation environment to determine a condition of a target product based on the job ticket in the second operation environment.
As shown in fig. 1, the method includes:
s110, determining task list configuration information corresponding to a target task list based on the target task list in a first operation environment;
the first running environment may be a preset running environment for performing development test on the application program. The target task list can be understood as a task list which needs to be subjected to the list conversion processing, and can be understood as one or more target task lists, a user can select the task list as the target task list which needs to be processed according to the requirement, and the task list in all the first operation environments can be used as the target task list to be subjected to the list conversion processing. The task sheet configuration information may be configuration information corresponding to a target task sheet.
Specifically, based on the target task list in the first operation environment, task list configuration information corresponding to the target task list is determined, for example, based on the target task list selected by the user, task list identification information corresponding to the target task list is obtained, and based on the task list identification information, task list configuration information corresponding to the target task list is obtained from a preset database, or all the task lists in the first operation environment are used as target task lists, and further, corresponding task list configuration information is called from the preset database based on the identification information of the target task list.
On the basis of the above technical solution, the determining task list configuration information corresponding to the target task list based on the target task list in the first operating environment includes: acquiring a task list identification corresponding to the target task list, and acquiring task list configuration information corresponding to the task list identification from a preset database based on the task list identification.
The task sheet identifier may be understood as identification information for identifying the target task sheet. The preset database may be a preset database for storing relevant information of the task list, and may be a MySQL database or the like. The task sheet configuration information includes applicant information, task sheet titles, service directory information, task sheet type information, task sheet status information, change sheet number information, and pre-heat condition information. The applicant information may be information about the applicant corresponding to the current target job ticket. The task sheet title may be understood as title information of the current task sheet, and may be a main purpose of the current target task sheet. The service directory information may be a name of an application system corresponding to the target task sheet, for example, a name of a service platform. The task sheet type information may be a type of a current target task sheet, for example, a data change task or a program change task. The task sheet state information can be understood as a state in which the task sheet is located, and is used to represent an environment in which the current target task sheet is located. The change order number information may be an order number of a change order corresponding to the current target task order. The pre-heat condition information may be understood as an arrangement and execution status corresponding to the current target task phase.
Specifically, the task list identifier corresponding to the target task list is obtained, and further the task list configuration information corresponding to the task list identifier is obtained from a preset database based on the task list identifier, and it should be noted that the task list may be a number for marking a pipeline, the change list refers to a number for changing a function of the software system in the process of developing and operating and maintaining the software system, and contents such as change content, software system name, how to implement the change are associated, and when the change list passes the audit, the corresponding task list is further generated based on the change list, but one change list may correspond to one or more task lists, for example, one change of the software system may include data change and program change at the same time, and the pipeline may be respectively arranged by using one task list.
S120, verifying the target task list based on the task list configuration information and a target verification mode.
The target verification mode may be a specific method for verifying the task list. The target verification mode comprises task sheet state verification, task sheet integral verification and task sheet module verification. Task sheet status verification may be understood as verifying the status of the current target task sheet. The task sheet overall verification may be to verify an overall flow of the current target task sheet. The task sheet module verification may be understood as verifying a specific execution module in a current target task sheet.
Specifically, the target task list is verified according to the task list configuration information and the target verification mode, for example, the state information of the target task list can be verified based on the task list state verification, after the state information verification is passed, the whole flow of the current target task list is verified based on the whole task list verification, and when the whole flow of the task list is passed, the specific execution module in the current target task list is verified based on the task list module verification, so that the target task list is completely verified.
Based on the technical scheme, before verifying the target task sheet based on the task sheet configuration information and the target verification mode, the method comprises the following steps: determining a target change order corresponding to the target task single phase based on the task order configuration information, and acquiring change order state information corresponding to the target change single phase; and if the change table state information is matched with the preset change table state information, verifying the target task list based on the task list configuration information and a preset verification mode.
The target change order may be a change order corresponding to the change order number information. The change order status information may be understood as information for identifying the current change order status, and may be, for example, approval passing or approval failing. The preset change table state information may be a preset change table state, for example, approval.
Specifically, before verifying the target task list, the target change list corresponding to the target task list needs to be determined based on the task list configuration information of the target task list, the change list state information corresponding to the target change list is obtained, and when the change list state information of the target change list is matched with the preset change list state information, the target task list is verified based on the task list configuration information and the preset verification mode. It should be noted that, the change list may be understood as approval information corresponding to the current task list, and the relevant operation of the task list may be performed only after the approval of the change list is passed, so that before the verification of the task list, the state information of the change list needs to be verified, and after the verification of the state information of the change list is passed, the state information of the target task list may be set to be the converted list state.
On the basis of the technical scheme, the verification of the target task sheet based on the task sheet configuration information and the target verification mode comprises the following steps: if the target verification mode is task list state verification, acquiring task list state information corresponding to the target task list; and if the task list state information is matched with the preset task list state, the target task list state verification is passed.
The preset task list state information may be a preset task list state, for example, the preset task list state information may be a preset state and a converted list state.
Specifically, if the target verification mode is task list state verification, task list state information corresponding to the target task list is obtained from task list configuration information, and if the task list state information is matched with a preset task list state, that is, when the current target task list is in a prefire state or a turned list state, the state verification of the current target task list is passed. When the task list is in the pre-sent or turned list state, the task list of the production environment is in the initialization stage, the new construction or modification can be realized by turning list, and when the production task list is in the executing state, the turning list is not allowed for keeping the consistency of the two environments.
On the basis of the technical scheme, the verification of the target task sheet based on the task sheet configuration information and the target verification mode comprises the following steps: if the target verification mode is overall verification of the task list, acquiring pre-heat condition information corresponding to the target task list; and constructing topology structure information corresponding to the target task list based on the pre-heat condition information, and if the topology structure information is matched with a preset topology structure, passing the integral verification of the target task list.
The topology information may be arrangement structure information of the current target task sheet. The preset topology may be preset structural information, for example, the preset topology may be a directed acyclic graph.
Specifically, if the target verification mode is overall verification of the task list, pre-heat condition information corresponding to the target task list is obtained, topology structure information corresponding to the target task list is built based on the pre-heat condition information, and if the topology structure information is matched with a preset topology structure, the overall verification of the target task list passes, namely, overall verification is carried out on the task list, and the overall verification can also be called pipeline topology inspection. The pipeline topology inspection checks the arrangement structure of the operation steps, and because the directed graph represents the execution sequence of the operation steps, the end-to-end annular structure is not allowed to appear, and if the dead loop appears in the production environment, the dead loop causes a large risk, and the check passes when no loop exists.
On the basis of the technical scheme, the verification of the target task sheet based on the task sheet configuration information and the target verification mode comprises the following steps: if the target verification mode is the task list module verification, acquiring task list type information corresponding to the target task list; and determining a target verification step based on the task list type information, and performing task list module verification based on the target verification step and preset step information.
The target verification step may be a specific step in the target task sheet, for example, a step in which a data change and/or a program change is performed. The preset step information may be understood as step information preset for verifying the target verification step.
Specifically, if the target verification mode is task list module verification, task list type information corresponding to the target task list is obtained, then a target verification step is determined based on the task list type information, task list module verification is performed based on the target verification step and preset step information, namely program modules and data modules are verified on the task list, and module verification is performed according to personalized requirements of program and data changes. For example, in order to prevent the system from being unavailable due to a program change failure, the program change operation step must correspond to the program rollback operation step, and the data change step must include a backup before data change, a backup after data change, a data rollback operation, and the like.
And S130, if the target task list passes the verification, the target task list is sent to a second operation environment, and a target product is determined based on the target task list so as to release resources based on the target product.
Wherein the second operating environment may be a production environment. The target product may be understood as a product determined under the second operating environment according to the target task sheet, and may be a program product or a data product. The resource release may be pushing the target article.
Specifically, if the target task list passes verification, it is indicated that the current target task list meets the list transferring condition, and then the target task list can be sent to the second operation environment, and generation of target products is completed based on the target task list in the second operation environment, and resource release is performed based on the target products. It should be noted that, in order to ensure that the finally generated target product can be directly put into use, when the target task sheet is sent to the second running environment, operations such as shielding alarm, load balancing setting, and configuration validation are also required.
On the basis of the above technical solution, the sending the target task sheet to the second operating environment, and determining the target product based on the target task sheet, includes: acquiring topological structure information corresponding to the target task single phase, and determining data information to be applied based on the topological structure information; and determining a target product corresponding to the target task single phase based on the topological structure information and the data information to be applied.
The data information to be applied may be data information for generating the target product. The data information to be applied comprises database information, data path information and script information to be applied. Database information may be understood as a database corresponding to current topology information. The data path information may be path information corresponding to the data resource. The script information to be applied may be understood as script information corresponding to topology information.
Specifically, the topology structure information corresponding to the target task single phase is obtained, the data information to be applied corresponding to each operation step is determined based on the topology structure information, and then filling is carried out based on the topology structure information and the data information to be applied, so that target product information is obtained, for example, the production environment keeps the corresponding relation between the arranged puff structure information and the operation steps and the data scripts in the puff structure information, database information, data path information and the script information to be applied are automatically replaced with the content corresponding to the test development environment, and then the target product corresponding to the second operation environment is obtained. When the development test environment package is inconsistent with the production package, two resource packages are generated simultaneously and are used for publishing the development test environment and the production environment respectively. Because the development test environment and the produced resource package are mapped through the transfer list, the naming of the resource package is required to meet the specification: the products of the development test environment are stored in the abc-PREPROD library of the product library, and the package name contains the word "PREPROD". After the development test environment pipeline changes the bill, the production pipeline automatically acquires the resource package selected in the development test environment and replaces the PRPROD in the resource package and the program package name with the PROD. When in production and release, the production line releases the resource package with the PROD word downloaded from the production environment product library abc-PROD library.
According to the technical scheme, task list configuration information corresponding to a target task list is determined based on the target task list in a first operation environment, the target task list is verified based on the task list configuration information and a target verification mode, if the target task list passes verification, the target task list is sent to a second operation environment, and a target product is determined based on the target task list, so that resource release is performed based on the target product. Based on the technical scheme, the arrangement and implementation of the assembly line are thoroughly separated, so that the efficient progressive from the development and test environment to the production environment is ensured, the repeated labor is reduced, and the risk possibly caused by manual operation is avoided.
Example two
Fig. 2 is a flowchart of an automatic bill transferring method according to an embodiment of the present invention. The embodiment further optimizes the automatic bill transferring method based on the embodiment. The specific implementation manner can be seen in the technical scheme of the embodiment. Wherein, the technical terms identical to or corresponding to the above embodiments are not repeated herein.
As shown in fig. 2, the steps of the embodiment of the present invention include:
Acquiring task list configuration information: specifically, the task list configuration information of the development test environment is read, which mainly relates to basic information of the task list, including task number, applicant information, task list title, service directory (i.e. application system name), task list type, template number, task list state (pre-published development test environment, forwarded list represents that the development test environment is multiplexed), change list number and other information, pre-sent condition (describing arrangement and execution condition of the development test environment pipeline)
Checking the state of the change list and the task list: specifically, after the development test environment is passed, the pipeline task list which is available through execution verification is multiplexed, the basic information of the task list is copied in the production environment, and the task lists of the two environments are set to be converted lists. When the task list is in a prefire or turned list state, the task list of the production environment is in an initialization stage, the new construction or modification can be realized by turning the list, and when the production task list is in an executing state, the turning of the list is not allowed in order to keep the consistency of the two environments.
And (3) checking the whole task list: in particular, the overall check may also be referred to as pipeline topology checking. The pipeline topology inspection checks the arrangement structure of the operation steps, and because the directed graph represents the execution sequence of the operation steps, the end-to-end annular structure is not allowed to appear, and if the dead loop appears in the production environment, the dead loop causes a large risk, and the check passes when no loop exists.
And (3) checking a task list module: specifically, as shown in fig. 3, the program module and the data module are checked on the task sheet, and the module check is performed according to the personalized requirements of program and data change. For example, in order to prevent the system from being unavailable due to program change failure, the program change operation steps must correspond to the program rollback operation steps; the data change must be a backup before the data change, a backup after the data change, a data rollback operation, and the like.
Arranging a transfer list: specifically, multiplexing of arrangement is performed, pipeline arrangement of the development and test environment is copied to production, and operations such as shielding alarm, load balancing setting and configuration validation are added.
Determining a target product: specifically, when the development test environment package is inconsistent with the production package, two resource packages are required to be generated simultaneously and are respectively used for publishing the development test environment and the production environment. Because the development test environment and the produced resource package are mapped through the transfer list, the naming of the resource package is required to meet the specification: the products of the development test environment are stored in the abc-PREPROD library of the product library, and the package name contains the word "PREPROD". After the development test environment pipeline changes the bill, the production pipeline automatically acquires the resource package selected in the development test environment and replaces the PRPROD in the resource package and the program package name with the PROD. When in production and release, the production line releases the resource package with the PROD word downloaded from the production environment product library abc-PROD library. The production environment reserves the arranged topological graph and the corresponding relation between the operation steps and the data scripts in the topological graph, and automatically replaces the database information, the data resource packet path and the scripts filled in the operation steps with the corresponding contents of the test development environment.
The change list refers to a number for changing a function of the software system in the process of developing and operating the software system, and relates to contents such as change contents, names of the software system, how the change is implemented, and the like. The data change refers to the operation of changing application data in the database, mainly refers to the operations of adding, deleting and changing the data, and is usually completed by executing the sql script. And after the sql script file is connected with the database, the operations of adding, deleting and modifying the data are realized based on the data product. Program change refers to the operation of modifying and changing a software program, mainly refers to the mode of updating and replacing an installation package of the program, the mode of replacing a program under the cloud by using the installation package, the mode of updating a software image by using the program on the cloud, and the like. Program products refer to program installation packages which are built, compiled and packaged according to code baselines, and are generally divided into cloud lower program packages and cloud upper images. A job step represents an automated operation and a "data execution" job step represents execution of a data script on a database. The implementation steps of the data change are arranged in a dragging operation step mode, so that the visualization of the data change process is realized. Through the operation arrangement, a link relation of the directed graph is formed between the operation steps, and the operation steps and the link relation form the pipeline. The task list is a number for marking a pipeline, and generally, a change list corresponds to one or more task lists, for example, a change of a software system may include a data change and a program change at the same time, and each task list may be used for pipeline arrangement.
According to the technical scheme, task list configuration information corresponding to a target task list is determined based on the target task list in a first operation environment, the target task list is verified based on the task list configuration information and a target verification mode, if the target task list passes verification, the target task list is sent to a second operation environment, and a target product is determined based on the target task list, so that resource release is performed based on the target product. Based on the technical scheme, the arrangement and implementation of the assembly line are thoroughly separated, so that the efficient progressive from the development and test environment to the production environment is ensured, the repeated labor is reduced, and the risk possibly caused by manual operation is avoided.
Example III
Fig. 4 is a block diagram of an automated bill transferring apparatus according to an embodiment of the present invention. The device comprises: configuration information determination module 410, verification module 420, and article determination module 430.
A configuration information determining module 410, configured to determine, based on a target task sheet in a first operating environment, task sheet configuration information corresponding to the target task sheet;
the verification module 420 is configured to verify the target task sheet based on the task sheet configuration information and a target verification manner; the preset verification mode comprises task sheet state verification, task sheet integral verification and task sheet module verification;
And the product determining module 430 is configured to send the target task sheet to a second running environment if the target task sheet passes the verification, and determine a target product based on the target task sheet, so as to issue resources based on the target product.
On the basis of the technical scheme, the configuration information determining module is used for acquiring a task list identifier corresponding to the target task list and acquiring task list configuration information corresponding to the task list identifier from a preset database based on the task list identifier; the task list configuration information comprises applicant information, task list titles, service directory information, task list type information, task list state information, change list number information and pre-heat condition information.
On the basis of the technical scheme, the verification module comprises: the change list state verification unit is used for determining a target change list corresponding to the target task single phase based on the task list configuration information and acquiring change list state information corresponding to the target change single phase before verifying the target task list based on the task list configuration information and a target verification mode; and if the change table state information is matched with the preset change table state information, verifying the target task list based on the task list configuration information and a preset verification mode.
On the basis of the technical scheme, the verification module comprises: the task list state verification unit is used for acquiring task list state information corresponding to the target task list if the target verification mode is task list state verification; and if the task list state information is matched with the preset task list state, the target task list state verification is passed.
On the basis of the technical scheme, the verification module comprises: the task list integral verification unit is used for acquiring pre-heat condition information corresponding to the target task list if the target verification mode is task list integral verification; and constructing topology structure information corresponding to the target task list based on the pre-heat condition information, and if the topology structure information is matched with a preset topology structure, passing the integral verification of the target task list.
On the basis of the technical scheme, the verification module comprises: the task list module verification unit is used for acquiring task list type information corresponding to the target task list if the target verification mode is task list module verification; and determining a target verification step based on the task list type information, and performing task list module verification based on the target verification step and preset step information.
Based on the technical scheme, the product determining module is specifically used for acquiring topology structure information corresponding to the target task single phase and determining data information to be applied based on the topology structure information; the data information to be applied comprises database information, data path information and script information to be applied; and determining a target product corresponding to the target task single phase based on the topological structure information and the data information to be applied.
According to the technical scheme, task list configuration information corresponding to a target task list is determined based on the target task list in a first operation environment, the target task list is verified based on the task list configuration information and a target verification mode, if the target task list passes verification, the target task list is sent to a second operation environment, and a target product is determined based on the target task list, so that resource release is performed based on the target product. Based on the technical scheme, the arrangement and implementation of the assembly line are thoroughly separated, so that the efficient progressive from the development and test environment to the production environment is ensured, the repeated labor is reduced, and the risk possibly caused by manual operation is avoided.
The automatic bill conversion device provided by the embodiment of the invention can execute the automatic bill conversion method provided by any embodiment of the disclosure, and has the corresponding functional modules and beneficial effects of the execution method.
It should be noted that each unit and module included in the above apparatus are only divided according to the functional logic, but not limited to the above division, so long as the corresponding functions can be implemented; in addition, the specific names of the functional units are also only for convenience of distinguishing from each other, and are not used to limit the protection scope of the embodiments of the present disclosure.
Example IV
Fig. 5 shows a schematic diagram of the structure of an electronic device 10 that may be used to implement an embodiment of the invention. Electronic devices are intended to represent various forms of digital computers, such as laptops, desktops, workstations, personal digital assistants, servers, blade servers, mainframes, and other appropriate computers. Electronic equipment may also represent various forms of mobile devices, such as personal digital processing, cellular telephones, smartphones, wearable devices (e.g., helmets, glasses, watches, etc.), and other similar computing devices. The components shown herein, their connections and relationships, and their functions, are meant to be exemplary only, and are not meant to limit implementations of the inventions described and/or claimed herein.
As shown in fig. 5, the electronic device 10 includes at least one processor 11, and a memory, such as a Read Only Memory (ROM) 12, a Random Access Memory (RAM) 13, etc., communicatively connected to the at least one processor 11, in which the memory stores a computer program executable by the at least one processor, and the processor 11 may 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 into the Random Access Memory (RAM) 13. In the RAM 13, various programs and data required for the operation of the electronic device 10 may also be stored. The processor 11, the ROM 12 and the RAM 13 are connected to each other via a bus 14. An input/output (I/O) interface 15 is also connected to bus 14.
Various 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, and the like; a storage unit 18 such as a magnetic disk, an optical disk, or the like; and a communication unit 19 such as a network card, modem, wireless communication transceiver, etc. The communication unit 19 allows the electronic device 10 to exchange information/data with other devices via a computer network, such as the internet, and/or various telecommunication networks.
The processor 11 may be a variety of general and/or special purpose processing components having processing and computing capabilities. Some examples of processor 11 include, but are not limited to, a Central Processing Unit (CPU), a Graphics Processing Unit (GPU), various specialized Artificial Intelligence (AI) computing chips, various processors running machine learning model algorithms, digital Signal Processors (DSPs), and any suitable processor, controller, microcontroller, etc. The processor 11 performs the various methods and processes described above, such as an automated order transfer method.
In some embodiments, the automated singulation method may be implemented as a computer program tangibly embodied on a computer-readable storage medium, such as storage unit 18. In some embodiments, part or all of the computer program may be loaded and/or installed onto the electronic device 10 via the ROM 12 and/or the communication unit 19. When the computer program is loaded into RAM 13 and executed by processor 11, one or more steps of the automated order transfer method described above may be performed. Alternatively, in other embodiments, the processor 11 may be configured to perform the automated order transfer method in any other suitable manner (e.g., by means of firmware).
Various implementations of the systems and techniques described here above may be implemented in digital electronic circuitry, integrated circuit systems, field Programmable Gate Arrays (FPGAs), application Specific Integrated Circuits (ASICs), application Specific Standard Products (ASSPs), systems On Chip (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and/or combinations thereof. These various embodiments may include: implemented in one or more computer programs, the one or more computer programs may be executed and/or interpreted on a programmable system including at least one programmable processor, which may be a special purpose or general-purpose programmable processor, that may receive data and instructions from, and transmit data and instructions to, a storage system, at least one input device, and at least one output device.
A computer program for carrying out 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, special purpose computer, or other programmable data processing apparatus, such that the computer programs, when executed by the processor, cause the functions/acts specified in the flowchart and/or block diagram block or blocks to be implemented. The computer program may execute entirely on the machine, partly on the machine, as a stand-alone software package, partly on the machine and partly on a remote machine or entirely on the remote machine or server.
In the context of the present invention, a computer-readable storage medium may be a tangible medium that can contain, or store a computer program for use by or in connection with an instruction execution system, apparatus, or device. The computer readable storage medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. Alternatively, the computer readable storage medium may be a machine readable signal medium. More specific examples of a machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer diskette, 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 disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
To provide for interaction with a user, the systems and techniques described here can 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 a user; and a keyboard and a pointing device (e.g., a mouse or a trackball) through which a user can provide input to the electronic device. Other kinds of devices may also be used to provide for interaction with a user; for example, 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, speech input, or tactile input.
The systems and techniques described here can be implemented in a computing system that includes a background component (e.g., as a data server), or that includes a middleware component (e.g., an application server), or that includes a front-end component (e.g., a user computer having a graphical user interface or a web browser through which a user can interact with an implementation of the systems and techniques described here), or any combination of such background, middleware, or front-end components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: local Area Networks (LANs), wide Area Networks (WANs), blockchain networks, and the internet.
The computer system may include a client and a server. The client and server are typically remote from each other and typically interact through a communication network. The relationship of client and server arises by virtue of computer programs running on the respective computers and having a client-server relationship to each other. The server can be a cloud server, also called a cloud computing server or a cloud host, and is a host product in a cloud computing service system, so that the defects of high management difficulty and weak service expansibility in the traditional physical hosts and VPS service are overcome.
It should be appreciated that various forms of the flows shown above may be used to reorder, add, or delete steps. For example, the steps described in the present invention may be performed in parallel, sequentially, or in a different order, so long as the desired results of the technical solution of the present invention are achieved, and the present invention is not limited herein.
The above embodiments do not limit the scope of the present invention. It will be apparent to those skilled in the art that various modifications, combinations, sub-combinations and alternatives are possible, depending on design requirements and other factors. Any modifications, equivalent substitutions and improvements made within the spirit and principles of the present invention should be included in the scope of the present invention.

Claims (10)

1. An automated order transfer method, comprising:
determining task list configuration information corresponding to a target task list based on the target task list in a first operation environment;
verifying the target task list based on the task list configuration information and a target verification mode; the target verification mode comprises task sheet state verification, task sheet integral verification and task sheet module verification;
And if the target task list passes the verification, the target task list is sent to a second running environment, and a target product is determined based on the target task list so as to release resources based on the target product.
2. The method of claim 1, wherein the determining, based on the target task sheet in the first operating environment, task sheet configuration information corresponding to the target task sheet comprises:
acquiring a task list identification corresponding to the target task list, and acquiring task list configuration information corresponding to the task list identification from a preset database based on the task list identification;
the task list configuration information comprises applicant information, task list titles, service directory information, task list type information, task list state information, change list number information and pre-heat condition information.
3. The method of claim 1, wherein prior to validating the target task sheet based on the task sheet configuration information and a target validation method, comprising:
determining a target change order corresponding to the target task single phase based on the task order configuration information, and acquiring change order state information corresponding to the target change single phase;
And if the change order state information is matched with the preset change order state information, verifying the target task order based on the task order configuration information and a preset verification mode.
4. The method of claim 3, wherein validating the target task sheet based on the task sheet configuration information and a target validation manner comprises:
if the target verification mode is task list state verification, acquiring task list state information corresponding to the target task list;
and if the task list state information is matched with the preset task list state, the target task list state verification is passed.
5. The method of claim 3, wherein validating the target task sheet based on the task sheet configuration information and a target validation manner comprises:
if the target verification mode is overall verification of the task list, acquiring pre-heat condition information corresponding to the target task list;
and constructing topology structure information corresponding to the target task list based on the pre-heat condition information, and if the topology structure information is matched with a preset topology structure, passing the integral verification of the target task list.
6. The method of claim 3, wherein validating the target task sheet based on the task sheet configuration information and a target validation manner comprises:
if the target verification mode is the task list module verification, acquiring task list type information corresponding to the target task list;
and determining a target verification step based on the task list type information, and performing task list module verification based on the target verification step and preset step information.
7. The method of claim 1, wherein the sending the target job ticket to a second operating environment and determining a target artifact based on the target job ticket comprises:
acquiring topological structure information corresponding to the target task single phase, and determining data information to be applied based on the topological structure information; the data information to be applied comprises database information, data path information and script information to be applied;
and determining a target product corresponding to the target task single phase based on the topological structure information and the data information to be applied.
8. An automated sheet transfer apparatus, comprising:
the configuration information determining module is used for determining task list configuration information corresponding to a target task list under a first operation environment based on the target task list;
The verification module is used for verifying the target task list based on the task list configuration information and a target verification mode; the target verification mode comprises task sheet state verification, task sheet integral verification and task sheet module verification;
and the product determining module is used for sending the target task list to a second running environment if the target task list passes the verification, and determining a target product based on the target task list so as to release resources based on the target product.
9. An electronic device, the electronic device comprising:
one or more processors; and
a memory communicatively coupled to the at least one processor; wherein, the liquid crystal display device comprises a liquid crystal display device,
the memory stores a computer program executable by the at least one processor to enable the at least one processor to perform the automated singulation method of any of claims 1-7.
10. A computer readable storage medium storing computer instructions for causing a processor to perform the automated order conversion method of any of claims 1-7.
CN202310195750.8A 2023-02-28 2023-02-28 Automatic bill conversion method and device, electronic equipment and storage medium Pending CN116307551A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310195750.8A CN116307551A (en) 2023-02-28 2023-02-28 Automatic bill conversion method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310195750.8A CN116307551A (en) 2023-02-28 2023-02-28 Automatic bill conversion method and device, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN116307551A true CN116307551A (en) 2023-06-23

Family

ID=86802519

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310195750.8A Pending CN116307551A (en) 2023-02-28 2023-02-28 Automatic bill conversion method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN116307551A (en)

Similar Documents

Publication Publication Date Title
US11093232B2 (en) Microservice update system
CN111694592A (en) Management method and system for project version release
CN109901985B (en) Distributed test apparatus and method, storage medium, and electronic device
CN109814877A (en) Project dispositions method and its device based on environmental management
US11163673B1 (en) Enhanced testing by automated reuse of test metrics
CN114527996A (en) Multi-service deployment method and device, electronic equipment and storage medium
CN110688305B (en) Test environment synchronization method, device, medium and electronic equipment
CN110727575B (en) Information processing method, system, device and storage medium
CN116662039B (en) Industrial information parallel detection method, device and medium based on shared memory
CN111831567A (en) Application test environment configuration method, device, system and medium
CN115115062B (en) Machine learning model building method, related device and computer program product
CN116248526A (en) Method and device for deploying container platform and electronic equipment
CN116307551A (en) Automatic bill conversion method and device, electronic equipment and storage medium
CN113656268B (en) Performance test method and device for business service, electronic equipment and storage medium
CN111934907B (en) Application cloud method, system and device based on container cloud platform
CN109814911A (en) Method, apparatus, computer equipment and storage medium for Manage Scripts program
CN113609145B (en) Database processing method, device, electronic equipment, storage medium and product
CN110175116B (en) Test date switching method, device and system
Zhang et al. Intelligent Grid Operation and Maintenance Management and Command Platform Based on Computer Distributed Network
CN117609065A (en) Code submitting method and device based on version control tool and electronic equipment
CN115469882A (en) Software project management method and device, electronic equipment and storage medium
CN116954662A (en) Knowledge system updating method, device, equipment and medium based on building facilities
CN117608761A (en) Kubernetes cluster deployment method, device, equipment and storage medium
CN117520396A (en) Method, device, equipment and storage medium for identifying abnormal association relation
CN116301978A (en) System upgrading 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