CN110490483A - Operation method, apparatus, equipment and storage medium - Google Patents

Operation method, apparatus, equipment and storage medium Download PDF

Info

Publication number
CN110490483A
CN110490483A CN201910792546.8A CN201910792546A CN110490483A CN 110490483 A CN110490483 A CN 110490483A CN 201910792546 A CN201910792546 A CN 201910792546A CN 110490483 A CN110490483 A CN 110490483A
Authority
CN
China
Prior art keywords
candidate
gone
target
pipeline
building product
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
CN201910792546.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.)
China Construction Bank Corp
Original Assignee
China Construction Bank Corp
CCB Finetech Co Ltd
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 China Construction Bank Corp, CCB Finetech Co Ltd filed Critical China Construction Bank Corp
Priority to CN201910792546.8A priority Critical patent/CN110490483A/en
Publication of CN110490483A publication Critical patent/CN110490483A/en
Priority to PCT/CN2020/106567 priority patent/WO2021036697A1/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • 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/0637Strategic management or analysis, e.g. setting a goal or target of an organisation; Planning actions based on goals; Analysis or evaluation of effectiveness of goals
    • 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/0637Strategic management or analysis, e.g. setting a goal or target of an organisation; Planning actions based on goals; Analysis or evaluation of effectiveness of goals
    • G06Q10/06375Prediction of business process outcome or impact based on a proposed change

Landscapes

  • Business, Economics & Management (AREA)
  • Engineering & Computer Science (AREA)
  • Human Resources & Organizations (AREA)
  • Strategic Management (AREA)
  • Educational Administration (AREA)
  • Theoretical Computer Science (AREA)
  • Economics (AREA)
  • Entrepreneurship & Innovation (AREA)
  • General Physics & Mathematics (AREA)
  • Physics & Mathematics (AREA)
  • Marketing (AREA)
  • Operations Research (AREA)
  • Quality & Reliability (AREA)
  • Tourism & Hospitality (AREA)
  • General Business, Economics & Management (AREA)
  • Game Theory and Decision Science (AREA)
  • Development Economics (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • General Factory Administration (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The embodiment of the invention discloses a kind of operation method, apparatus, equipment and storage mediums.This method comprises: determining target pipeline according to code engineering to be gone into operation and at least one candidate operation pipeline template;According to the target pipeline, the quality inspection report of at least one candidate's building product and candidate building product of the code engineering to be gone into operation is generated;The quality inspection report of at least one candidate's building product and candidate building product according to the code engineering to be gone into operation, go into operation to the code engineering to be gone into operation online.The embodiment of the present invention is by seamless being connected in series assembly line and going into operation, based on the quality check process in assembly line, manual intervention is not only avoided, and ensures that the operation version packet for operation is the aforementioned building product by quality inspection, operation risk is reduced, operation quality and efficiency are improved.

Description

Operation method, apparatus, equipment and storage medium
Technical field
The present embodiments relate to software and network technique field more particularly to a kind of operation method, apparatus, equipment and deposit Storage media.
Background technique
Publication of going into operation is an important link of software or website engineering, for generating operation version, examines operation version, And operation version is published to production environment.
Currently, code engineering can be generated executable program by hand by software developer, based on manually to code Correctness and operation version enterprise-level require verified, finally by executable program go into operation issue.Alternatively, can be with Code engineering is generated into executable program, the structure that executable program is generated as assembly line automatically by customized assembly line Product is built, building product is verified by developer, building product is finally subjected to online deployment.
However, existing tender budget is stronger not only for artificial dependence, and be difficult to building product to generation into Detection is advised in the conjunction of row enterprise-level, and assembly line and operation link tomography are larger, is unable to ensure operation version and is not tampered etc. at maliciously Reason, and then operation risk is larger and operation quality is lower.
Summary of the invention
The embodiment of the invention provides a kind of operation method, apparatus, equipment and storage mediums, can reduce operation risk, Improve operation quality and efficiency.
In a first aspect, the embodiment of the invention provides a kind of operation methods, comprising:
According to code engineering to be gone into operation and at least one candidate operation pipeline template, target pipeline is determined;
According to the target pipeline, at least one candidate's building product and time of the code engineering to be gone into operation are generated The quality inspection report of choosing building product;
According at least one candidate's building product of the code engineering to be gone into operation and the quality inspection report of candidate building product It accuses, the code engineering to be gone into operation go into operation online.
Second aspect, the embodiment of the invention provides a kind of operation devices, comprising:
Assembly line creation module, for according to code engineering to be gone into operation and at least one candidate operation pipeline template, Determine target pipeline;
Assembly line execution module, for generating at least the one of the code engineering to be gone into operation according to the target pipeline The quality inspection report of a candidate building product and candidate building product;
Operation module, for according at least one candidate's building product of the code engineering to be gone into operation and candidate building The quality inspection of product is reported, go into operation to the code engineering to be gone into operation online.
The third aspect, the embodiment of the invention provides a kind of equipment, comprising:
One or more processors;
Memory, for storing one or more programs;
When one or more of programs are executed by one or more of processors, so that one or more of processing Device realizes operation method described in any embodiment of that present invention.
Fourth aspect, the embodiment of the invention provides a kind of computer readable storage mediums, are stored thereon with computer journey Sequence realizes operation method described in any embodiment of that present invention when the program is executed by processor.
The operation pipeline template that the embodiment of the present invention is constructed by code engineering to be gone into operation and in advance creates target stream Waterline, performance objective assembly line generate at least one candidate's building product and its quality inspection report of code engineering to be gone into operation, thus Go into operation based on candidate's building product and its quality inspection report selection target building product online.The embodiment of the present invention will be by that will flow Waterline with go into operation it is seamless be connected in series, based on the quality check process in assembly line, not only avoid manual intervention, and ensure use It is the aforementioned building product by quality inspection in the operation version packet of operation, reduces operation risk, improve operation quality and efficiency.
Detailed description of the invention
Fig. 1 is a kind of flow chart for operation method that the embodiment of the present invention one provides;
Fig. 2 is the exemplary diagram for the formulation operation pipeline template that the embodiment of the present invention one provides;
Fig. 3 is a kind of flow chart of operation method provided by Embodiment 2 of the present invention;
Fig. 4 is operation exemplary diagram provided by Embodiment 2 of the present invention;
Fig. 5 is a kind of structural schematic diagram for operation device that the embodiment of the present invention three provides;
Fig. 6 is a kind of structural schematic diagram for equipment that the embodiment of the present invention four provides.
Specific embodiment
The embodiment of the present invention is described in further detail with reference to the accompanying drawings and examples.It is understood that this Locate described specific embodiment and is used only for explaining the embodiment of the present invention, rather than limitation of the invention.It further needs exist for Bright, only parts related to embodiments of the present invention are shown for ease of description, in attached drawing rather than entire infrastructure.
It also should be noted that illustrate only part relevant to the application for ease of description, in attached drawing rather than Full content.It should be mentioned that some exemplary embodiments are described before exemplary embodiment is discussed in greater detail At the processing or method described as flow chart.Although operations (or step) are described as the processing of sequence by flow chart, It is that many of these operations can be implemented concurrently, concomitantly or simultaneously.In addition, the sequence of operations can be by again It arranges.The processing can be terminated when its operations are completed, it is also possible to have the additional step being not included in attached drawing. The processing can correspond to method, function, regulation, subroutine, subprogram etc..
Embodiment one
Fig. 1 is a kind of flow chart for operation method that the embodiment of the present invention one provides, and the present embodiment is applicable to treat throwing It produces code engineering and carries out the case where issuing of going into operation, this method can be executed by a kind of operation device, which can use software And/or the mode of hardware is realized, is preferably arranged in electronic equipment, such as computer.This method specifically includes as follows:
Step 110, foundation code engineering to be gone into operation and at least one candidate operation pipeline template, determine target flowing water Line.
In the specific embodiment of the invention, code engineering refers to the assembler language that developer uses developing instrument to be supported The source code for writing out with high-level language, source code can be by the two of computer Direct Recognition by compiler generation Carry system code is object code, and the executable file formed after object code is connected is executable code.Code work to be gone into operation Journey refers to the source code for publication of going into operation.Therefore, code requirement of engineering to be gone into operation is by reading, verifying, compile and survey After the link processings such as examination, executable code publication could be used as to be deployed to production in an appropriate form code engineering to be gone into operation In environment, with the publication, update or upgrading etc. for realizing software version.
In the present embodiment, assembly line can refer to automatically can by the generation of code engineering based on certain flow line flow path The treatment process of file is executed, correspondingly, building product of the executable file as assembly line, can be each subtask building Generated war packet or jar packet etc. after success, and preserve corresponding source code engineering information, assembly line information etc..It goes into operation Pipeline template refers to the template for having cured flow line flow path, a set of assembly line setting reused for a plurality of assembly line. It may include constructing the product process of product, including for example obtain code, code static scanning, code compilation in flow line flow path And filing finished product and etc.;It may include constructing the quality inspection process of product, including for example detect generation stream in flow line flow path It is each in journey generate the execution state of link, unit testing coverage rate, unit testing run succeeded rate, interface testing coverage rate, Interface testing runs succeeded rate, vulnerability scanning result etc..
It may include various template in assembly line in the present embodiment, the template of every kind of purposes may include one or more. One of which is candidate operation pipeline template, is made of a series of software operating procedures that can be executed automatically, by executing this A little steps can be put into operation with output software operation version for constructing generation and the quality inspection of product.Optionally, in foundation Code engineering to be gone into operation and at least one candidate operation pipeline template, before determining target pipeline, further includes: according to generation The development language and Development Framework of code engineering, determine the product process and quality inspection process of building product;Life according to building product At process and quality inspection process, at least one candidate operation pipeline template is constructed.Wherein, development language can be C language, Java The assembler languages such as language, Python or high-level language, Development Framework can be Spring frame, Django frame etc..According to According to the development language and Development Framework of code engineering, determine for construct product generate and each step of quality inspection and step it Between execute sequence, the product process and quality inspection process of composition building product are formulated candidate operation pipeline template and are selected for user Select use.
Illustratively, Fig. 2 is the exemplary diagram for formulating operation pipeline template.As shown in Fig. 2, user can be with customized flowing water Line step, configuration assembly line information.It is the simple case of an operation pipeline template of Maven code engineering, step in Fig. 2 Suddenly it is provided with and obtains code (getCode), code static scanning (Fortify scanning), code compilation (Compile) and filing Finished product can be completed by above step to the most basic authentication function of code.In addition, more inspections can also be arranged in user Test step, such as quasi- unit testing, production environment deployment, interface testing etc..
It, can basis based at least one the candidate operation pipeline template being provided previously in assembly line in the present embodiment Code engineering to be gone into operation therefrom selects a candidate operation pipeline template to create target pipeline.Target pipeline is used for will Code engineering to be gone into operation generates building product.Wherein, when creating target pipeline, based on being solidified in operation pipeline template Processing step, selected operation pipeline template can be carried out customized again, such as flow line flow path be walked Rapid additions and deletions such as change at the operation.The target pipeline of code engineering to be gone into operation can be to be one or more, in multiple target pipelines The operation pipeline template of use can be same or different.Correspondingly, the building product of the code engineering to be gone into operation generated can Thinking one or more, preferentially being chosen when for going into operation.
Specifically, development language and Development Framework according to code engineering to be gone into operation, from least one candidate operation flowing water Selection target operation pipeline template in line template.According to target operation pipeline template, user can at least configure assembly line Parameter, such as the reading malfeasance of code engineering to be gone into operation, can also reconfigure flow line flow path, to create target pipeline. It in one preferred embodiment, can be according to current operation version requirement, enterprise-level demand etc., prespecified flowing water The essential processing step of at least one in line process.For example, it is assumed that the quality testing standard for currently needing regulation enterprise-level unified, Then the prespecified enterprise-level quality inspection step is to preset essential processing step.Correspondingly, being mentioned for the assembly line created Submission function has been supplied, has been submitted by target pipeline, processing step each in target pipeline has been traversed, it can be based on pass Keyword checks the flow line flow path in target pipeline, with check in target pipeline whether include it is default must can not Few processing step.If checking in flow line flow path comprising presetting essential processing step, it is determined that target pipeline It submits successfully, i.e., target pipeline creates successfully, can carry out the execution of assembly line.
Step 120, foundation target pipeline generate at least one candidate's building product and time of code engineering to be gone into operation The quality inspection report of choosing building product.
In the specific embodiment of the invention, performance objective assembly line, the target operation assembly line mould according to target pipeline Product process in plate generates the candidate building product of code engineering to be gone into operation.Building product refers to code engineering base to be gone into operation In pipeline automation executable program generated, code engineering to be gone into operation based on different assembly lines or same assembly line not With opportunity building product generated is executed, as the candidate building product of code engineering to be gone into operation.Correspondingly, candidate building Product is attached with assembly line information and code engineering information to be gone into operation etc., can also be attached with building number information to produce to building Object carries out unique identification, is also based on certain mark rule, identifies associated assembly line letter by constructing number information Breath and code engineering information to be gone into operation etc..
In the present embodiment, performance objective assembly line, according to the quality inspection in the target operation pipeline template of target pipeline Process verifies each generation link and generation result of candidate building product, generates the quality inspection of candidate building product Report.In view of may include quality inspection process in flow line flow path, correspondingly, quality inspection report refer to based on assembly line to building product into The report generated of row automatic Verification.Quality inspection report in may include institute by quality inspection construct product identification information, such as Encoded information, assembly line information, building time etc. are constructed, includes for every matter in quality inspection process in the text of quality inspection report Examine step listed by test value and reference value, by comparisons between test value and reference value list items quality inspection as a result, And the final quality inspection result of building product is provided according to every quality inspection result.Optionally, result is equal only between all By when building product final quality inspection result be just success, expression quality inspection passes through.Illustratively, table 1 is that example is reported in quality inspection Table.User, which can be bred, by quality inspection report checks the quality inspection of building product as a result, convenient for referring to when going into operation.
Sample table is reported in 1 quality inspection of table
Step 130, the matter that product is constructed according at least one candidate's building product of code engineering to be gone into operation and candidate Inspection report, treat operation code engineering go into operation it is online.
In the specific embodiment of the invention, operation refers to that the publication of software version is online.Since assembly line and operation being gone here and there It picks up and, therefore when being gone into operation, user can directly take code to be gone into operation out of after determining code engineering to be gone into operation The quality inspection report of at least one associated candidate's building product of engineering and each candidate building product.I.e. by assembly line and throwing Production organically combines, and avoids used building product when independently causing to go into operation between pipelined process and operation process Departing from assembly line treatment process and give operation bring risk.Building to be taken out of based on code engineering to be gone into operation is produced Object and quality inspection report, the quality inspection based on quality inspection report is as a result, from least one candidate's building product of code engineering to be gone into operation Select suitably to construct product as target and construct product, come create target operation task go into operation it is online.
Specifically, automatic Display waits for operation code engineering in response to user for the selection operation of code engineering to be gone into operation Based at least one candidate's building product that operation pipeline template generates, and the stream of assembly line belonging to candidate building product Waterline process, building state and quality inspection report.Flow line flow path, building state according to assembly line belonging to candidate building product It is reported with quality inspection, from least one candidate's building product, flow line flow path is selected to meet current operation version requirement, building shape The candidate building product that state success and quality inspection result pass through constructs product as target, to create target operation task.It executes Target building product is added in operation version packet, operation version packet go into operation online by target operation task.
The technical solution of the present embodiment, the operation pipeline template constructed by code engineering to be gone into operation and in advance, wound Target pipeline is built, performance objective assembly line generates at least one candidate's building product and its quality inspection report of code engineering to be gone into operation It accuses, so that it is online go into operation based on candidate building product and its quality inspection report selection target building product.The embodiment of the present invention By by assembly line with go into operation it is seamless be connected in series, based on the quality check process in assembly line, not only avoid manual intervention, and It ensures that the operation version packet for operation is the aforementioned building product by quality inspection, reduces operation risk, improve operation quality And efficiency.
Embodiment two
The present embodiment on the basis of the above embodiment 1, provides a preferred embodiment of operation method, can Steps necessary inspection is carried out to flow line flow path, and enterprise-level is carried out based on assembly line and closes rule quality inspection.Fig. 3 is that the present invention is implemented Example two provide a kind of operation method flow chart, as shown in figure 3, this method specifically include it is as follows:
Step 310, development language and Development Framework according to code engineering to be gone into operation, from least one candidate operation flowing water Selection target operation pipeline template in line template.
In the specific embodiment of the invention, can by the development language and Development Framework of code engineering to be gone into operation, respectively with Development language belonging to candidate operation pipeline template and Development Framework are compared, by development language and Development Framework homogeneous The candidate operation pipeline template matched is used as target operation pipeline template for creation assembly line.
Wherein, according to code engineering to be gone into operation and at least one candidate operation pipeline template, target stream is determined Before waterline, according to the development language and Development Framework of code engineering, it can be determined by calling pipeline template to create interface Construct the product process and quality inspection process of product;According to the product process and quality inspection process of building product, at least one time is constructed Select operation pipeline template.Illustratively, pipeline template creation Interface design is as shown in table 2, which can be CreatePipelineTemple, the interface need to input flowing water for creating pipeline template in pipeline template creation Line template title, pipeline template type and pipeline step etc., the creation of final output pipeline template as a result, for example at Function.
The design of 2 pipeline template of table creation interface
In the present embodiment, during creating assembly line, by user for the selection operation of code engineering to be gone into operation, The identification that operation code engineering carries out development language and Development Framework can be treated automatically, thus based on candidate operation assembly line mould Development language belonging to plate and Development Framework carry out Auto-matching according to recognition result, recommend the candidate throwing to match to user Pipeline template is produced as target operation pipeline template.
Illustratively, the data model of pipeline template is as shown in table 3.Some critical fielies are only listed in table 3, In, first row indicates major class field title in template, and secondary series indicates the second level field name under major class field, and third column indicate Field type, the 4th is classified as the description information of field.Field temple_type indicates that in pipeline template may include a variety of moulds Operation pipeline template used by plate, such as the present embodiment operation and day processing pipeline template and common assembly line mould Plate etc..
The data model of 3 pipeline template of table
Step 320, foundation target operation pipeline template, configure flow line flow path and pipeline parameter, to create target Assembly line.
It has been had cured in advance in the specific embodiment of the invention, in operation pipeline template each in flow line flow path Processing step, user can configure pipeline parameter, such as the reading address of code to be gone into operation etc. based on operation pipeline template, To directly adopt operation pipeline template creation target pipeline.In addition, user can also go into operation when creating assembly line It is customized that further flow line flow path is carried out on the basis of pipeline template, for example, increase, be deleted or modified some or it is certain Processing step, and corresponding pipeline parameter is configured, the target pipeline created.
Illustratively, the data model of assembly line is as shown in table 4.First row indicates assembly line title, and secondary series indicates word Segment type, third are classified as the description information of field.
The data model of 4 assembly line of table
Step 330 submits target pipeline, to check the flow line flow path in target pipeline.
In the specific embodiment of the invention, the submission of target pipeline for the flow line flow path in target pipeline into Row checks whether include default operation pipeline step in the flow line flow path to determine target pipeline.Wherein, it presets and goes into operation Pipeline step refers to according to current operation version requirement, enterprise-level demand etc., in prespecified flow line flow path extremely A few essential processing step.For example, it is assumed that the quality testing standard for currently needing regulation enterprise-level unified, then prespecified The enterprise-level quality inspection step is default operation pipeline step;For another example assuming that current operation version needs to meet certain life Environment deployment is produced, then the production environment deploying step is preset into operation pipeline step in advance.
Specifically, after user completes target pipeline creation by configurations such as flow line flow path and pipeline parameters, Target pipeline can be submitted.It by target pipeline submits, processing step each in target pipeline is carried out Traversal, can check the flow line flow path in target pipeline based on keyword, be to check in target pipeline No includes default operation pipeline step.
If step 340 checks in flow line flow path comprising default operation pipeline step, it is determined that target pipeline mentions It hands over successfully.
Step 350, performance objective assembly line, according to the generation stream in the target operation pipeline template of target pipeline Journey generates the candidate building product of code engineering to be gone into operation.
Step 360, according to target pipeline target operation pipeline template in quality inspection process, to candidate construct product Each generation link and generate result and verified, generate the quality inspection report of candidate building product.
Wherein, target pipeline, which is successfully submitted, indicates that target pipeline creates successfully, meets current operation version requirement, into And it can be by performance objective assembly line, according to the product process in the target operation pipeline template of target pipeline, automatically Metaplasia constructs product at the candidate of code engineering to be gone into operation, according to the quality inspection in the target operation pipeline template of target pipeline Process automatically verifies each generation link and generation result of candidate building product, and generates candidate building The quality inspection of product is reported.
Illustratively, the data model of assembly line execution details is as shown in table 5.Wherein, first row indicates in operation task Major class field title, secondary series indicate the second level field name under major class field, and third column indicate field type, and the 4th is classified as word The description information of section.
The data model of 5 assembly line of table execution details
Title Field type Description
pipeline_id varchar Assembly line number
build_num varchar Assembly line building number
code_package varchar Construct the version packet of output
step_build_info_list Step execution information
step_name varchar Step title
step_type varchar Step type
step_result varchar Step implementing result
Wherein, illustratively, interface can be obtained by calling assembly line to execute details, is executed in detail to obtain assembly line Feelings.Its assembly line execution details acquisition Interface design is as shown in table 6, which can be GetPipelineBuildInfo, the interface execute details for obtaining assembly line, execute when details obtain and need in assembly line The building number of assembly line number and building product is inputted, final output constructs the version packet of product, step execution information etc..
6 assembly line of table executes the design that details obtain interface
The present embodiment can generate the building product of operation version by the target pipeline based on operation pipeline template, And compliance inspection is carried out to operation version building product, automatically generate the building product quality inspection report of operation version.Wherein go into operation According to software development language, the difference of Development Framework, prefabricated different operation quality inspection step in pipeline template.This is applied to Version under all softwares of enterprise-level is gone into operation, and normalizable enterprise-level operation process guarantees software version quality, improves enterprise-level The automatization level of operation publication.
Assembly line and quality inspection report belonging to step 370, at least one candidate's building product according to code engineering to be gone into operation It accuses, determines that the target of code engineering to be gone into operation constructs product, to create target operation task.
In the specific embodiment of the invention, the target pipeline based on operation pipeline template can only be selected when issuing by going into operation The building product of generation is added to operation version packet.Due to being connected in series assembly line and operation, when being gone into operation, use Family can directly take at least one associated candidate's building of code engineering to be gone into operation out of after determining code engineering to be gone into operation The quality inspection report of product and each candidate building product.Building product to be taken out of based on code engineering to be gone into operation and Quality inspection report, the quality inspection based on quality inspection report from least one candidate's building product of code engineering to be gone into operation as a result, select Suitable building product as target building product, come create target operation task go into operation it is online.
In a preferred embodiment, the selection operation of code engineering to be gone into operation is shown wait go into operation in response to user At least one candidate's building product that code engineering is generated based on operation pipeline template, and stream belonging to candidate building product Flow line flow path, building state and the quality inspection report of waterline;The flow line flow path of assembly line belonging to the candidate building product of foundation, Building state and quality inspection report determine that the target of code engineering to be gone into operation constructs product.
Illustratively, Fig. 4 is operation exemplary diagram.As shown in figure 4, being produced when user goes into operation without addition building manually Object, but directly select code engineering to be gone into operation.Correspondingly, assembly line information all under the code engineering to be gone into operation, Branch information, the building number information for constructing product and building status information, all can automatically show user.Wherein, divide Branch information refers to that different user enjoys source code corresponding to different functions.Assembly line information, constructs product at branch information Constructing between number information and building status information has coupled relation, once that is, user has switched one of information, then Remaining information is also accordingly changed.And then it is selected after code engineering of going into operation in user, the automatic Display code engineering pair The assembly line answered, and show the building number that the assembly line runs succeeded, some building number is chosen, automatic Display building produces Object, the detailed executive condition of operation pipeline template and quality inspection report, select the target of code engineering to be gone into operation to construct convenient for user Product.Optionally, from least one candidate's building product, flow line flow path is selected to meet current operation version requirement, building The candidate building product that state success and quality inspection result pass through constructs product as target.
Illustratively, the data model of operation task is as shown in table 7, corresponding with operation version package informatin in Fig. 4.Its In, first row indicates major class field title in operation task, and secondary series indicates the second level field name under major class field, third column Indicate field type, the 4th is classified as the description information of field.
The data model of 7 operation task of table
Title Field type Description
deliver_id varchar Template number, major key
list Version the package list (single operation task supports multi version packet)
code_proj varchar Code engineering name
pipeline_id int Assembly line number
code_branch varchar Code branch
build_num int Building number
Target building product is added in operation version packet by step 380, performance objective operation task, and will go into operation version This packet go into operation online.
In the specific embodiment of the invention, operation version packet refers to a series of codes or executable text online for version The file set of the files such as part, configuration file.It wherein may include the building product of different code engineering under the version.Execute wound Each building product is attached by the target operation task built, and forms the operation version packet of executable file form, online portion It affixes one's name in production environment.
The technical solution of the present embodiment, according to the development language and Development Framework of code engineering to be gone into operation, from least one Selection target operation pipeline template in candidate operation pipeline template configures flow line flow path and pipeline parameter to create mesh Assembly line is marked, the flow line flow path in target pipeline is checked by the submission of target pipeline, if checking flowing water Include default operation pipeline step in line process, it is determined that target pipeline is submitted successfully, the generation of performance objective assembly line to The candidate building product of operation code engineering and its quality inspection report, can only finally select the target stream based on operation pipeline template Waterline generate building product be added to operation version packet go into operation it is online.The embodiment of the present invention is in operation pipeline template Solidify generations of enterprise software version, quality inspection, compliance are examined, by the way that assembly line and operation seamless have been concatenated Come, publication of going into operation obtains the building product and quality inspection report that publication assembly line runs succeeded of going into operation, and automatically generates final operation version This is gone into operation, and manual intervention is not only avoided, and ensures that the operation version packet for operation is aforementioned by quality inspection Product is constructed, operation risk is reduced, improves operation quality and efficiency.
Embodiment three
Fig. 4 is the structural schematic diagram of a kind of operation device that the embodiment of the present invention three provides, and the present embodiment is applicable to pair Code engineering to be gone into operation carries out the case where issuing of going into operation, which can realize operation method described in any embodiment of that present invention. The device specifically includes as follows:
Assembly line creation module 510, for according to code engineering to be gone into operation and at least one candidate operation assembly line mould Plate determines target pipeline;
Assembly line execution module 520, for generating the code engineering to be gone into operation at least according to the target pipeline The quality inspection report of one candidate building product and candidate building product;
Operation module 530, for according at least one candidate's building product of the code engineering to be gone into operation and candidate The quality inspection report for constructing product, go into operation to the code engineering to be gone into operation online.
Further, described device further includes that template formulates module 540, is specifically used for:
In foundation code engineering to be gone into operation and at least one candidate operation pipeline template, target pipeline is determined Before, according to the development language and Development Framework of code engineering, the product process and quality inspection process of building product are determined;
According to the product process and quality inspection process of the building product, at least one candidate operation pipeline template is constructed.
Optionally, the assembly line creation module 510 is specifically used for:
According to the development language and Development Framework of the code engineering to be gone into operation, from least one described candidate operation flowing water Selection target operation pipeline template in line template;
According to the target operation pipeline template, flow line flow path and pipeline parameter are configured, to create the target Assembly line;
The target pipeline is submitted, to check the flow line flow path in the target pipeline;
If checking in the flow line flow path comprising default operation pipeline step, it is determined that the target pipeline mentions It hands over successfully.
Optionally, the assembly line execution module 520 is specifically used for:
The target pipeline is executed, according to the generation stream in the target operation pipeline template of the target pipeline Journey generates the candidate building product of the code engineering to be gone into operation;
According to the quality inspection process in the target operation pipeline template of the target pipeline, to the candidate building product Each generation link and generate result and verified, generate the quality inspection report of the candidate building product.
Optionally, the operation module 530 includes:
Operation task creation unit 5301, at least one candidate's building product according to the code engineering to be gone into operation Affiliated assembly line and quality inspection report determine that the target of the code engineering to be gone into operation constructs product, are appointed with creating target and going into operation Business;
The target is constructed product and is added to throwing by online unit 5302 of going into operation for executing the target operation task It produces in version packet, the operation version packet go into operation online.
Optionally, the operation task creation unit 5301 is specifically used for:
In response to user for the selection operation of code engineering to be gone into operation, show that the code engineering to be gone into operation is based on going into operation At least one candidate's building product that pipeline template generates, and the pipeline flow of assembly line belonging to candidate building product Journey, building state and quality inspection report;
According to the flow line flow path of assembly line belonging to candidate building product, building state and quality inspection report, determine described in The target of code engineering to be gone into operation constructs product.
Optionally, the operation task creation unit 5301 is specifically used for:
From at least one described candidate's building product, flow line flow path is selected to meet current operation version requirement, building The candidate building product that state success and quality inspection result pass through constructs product as target.
The technical solution of the present embodiment realizes operation assembly line mould by the mutual cooperation between each functional module The formulation of plate, the selection of target operation pipeline template, the creation of assembly line, the submission of assembly line and inspection construct product It generates and quality inspection, the generation that quality inspection is reported, the creation of operation task, the selection of target building product, the generation of operation version packet And the functions such as online publication of operation version packet.The embodiment of the present invention solidifies enterprise software version in operation pipeline template This generation, quality inspection, compliance examine and etc., by by assembly line and go into operation it is seamless be connected in series, go into operation publication acquisition The building product and quality inspection report that operation publication assembly line runs succeeded, automatically generate final operation version and go into operation, not only Manual intervention is avoided, and ensures that the operation version packet for operation is the aforementioned building product by quality inspection, reduces and throws Wind-producing danger, improves operation quality and efficiency.
Example IV
Fig. 6 is a kind of structural schematic diagram for equipment that the embodiment of the present invention four provides.As shown in fig. 6, the equipment is specifically wrapped It includes: one or more processors 610, in Fig. 6 by taking a processor 610 as an example;Memory 620, for storing one or more Program, when one or more programs are executed by one or more processors 610, so that one or more processors 610 realize this Operation method described in invention any embodiment.Processor 610 can be connect with memory 620 by bus or other modes, In Fig. 6 for being connected by bus.
It is executable to can be used for storing software program, computer as a kind of computer readable storage medium for memory 620 Program and module, if the corresponding program instruction of operation method in the embodiment of the present invention is (for example, the generation and matter of building product Inspection and the selection of target building product and publication of going into operation).The software that processor 610 is stored in memory 620 by operation Program, instruction and module realize above-mentioned operation side thereby executing the various function application and data processing of equipment Method.
Memory 620 can mainly include storing program area and storage data area, wherein storing program area can store operation system Application program needed for system, at least one function;Storage data area, which can be stored, uses created data etc. according to equipment.This Outside, memory 620 may include high-speed random access memory, can also include nonvolatile memory, for example, at least one Disk memory, flush memory device or other non-volatile solid state memory parts.In some instances, memory 620 can be into one Step includes the memory remotely located relative to processor 610, these remote memories can pass through network connection to equipment.On The example for stating network includes but is not limited to internet, intranet, local area network, mobile radio communication and combinations thereof.
Embodiment five
The embodiment of the present invention five also provides a kind of computer readable storage medium, be stored thereon with computer program (or For computer executable instructions), for executing a kind of operation method when which is executed by processor, this method comprises:
According to code engineering to be gone into operation and at least one candidate operation pipeline template, target pipeline is determined;
According to the target pipeline, at least one candidate's building product and time of the code engineering to be gone into operation are generated The quality inspection report of choosing building product;
According at least one candidate's building product of the code engineering to be gone into operation and the quality inspection report of candidate building product It accuses, the code engineering to be gone into operation go into operation online.
Certainly, a kind of computer readable storage medium provided by the embodiment of the present invention, computer executable instructions are not It is limited to method operation as described above, the related behaviour in operation method provided by any embodiment of the invention can also be performed Make.
By the description above with respect to embodiment, it is apparent to those skilled in the art that, the present invention Embodiment can be realized by software and required common hardware, naturally it is also possible to by hardware realization, but in many cases before Person is more preferably embodiment.Based on this understanding, the technical solution of the embodiment of the present invention is substantially in other words to existing skill The part that art contributes can be embodied in the form of software products, which can store in computer Floppy disk, read-only memory (Read-Only Memory, ROM), random access memory in readable storage medium storing program for executing, such as computer (Random Access Memory, RAM), flash memory (FLASH), hard disk or CD etc., including some instructions are used so that one Computer equipment (can be personal computer, server or the network equipment etc.) executes described in each embodiment of the present invention Method.
It is worth noting that, included each unit and module are only patrolled according to function in the embodiment of above-mentioned apparatus It volume is divided, but is not limited to the above division, as long as corresponding functions can be realized;In addition, each function list The specific name of member is also only for convenience of distinguishing each other, the protection scope being not intended to restrict the invention.
Note that the above is only a better embodiment of the present invention and the applied technical principle.It will be appreciated by those skilled in the art that The invention is not limited to the specific embodiments described herein, be able to carry out for a person skilled in the art it is various it is apparent variation, It readjusts and substitutes without departing from protection scope of the present invention.Therefore, although being implemented by above embodiments to the present invention Example is described in further detail, but the embodiment of the present invention is not limited only to above embodiments, is not departing from structure of the present invention It can also include more other equivalent embodiments in the case where think of, and the scope of the present invention is determined by scope of the appended claims It is fixed.

Claims (10)

1. a kind of operation method characterized by comprising
According to code engineering to be gone into operation and at least one candidate operation pipeline template, target pipeline is determined;
According to the target pipeline, at least one candidate's building product and candidate structure of the code engineering to be gone into operation are generated Build the quality inspection report of product;
The quality inspection report of at least one candidate's building product and candidate building product according to the code engineering to be gone into operation, it is right The code engineering to be gone into operation go into operation online.
2. the method according to claim 1, wherein foundation code engineering to be gone into operation and at least one Candidate operation pipeline template, before determining target pipeline, further includes:
According to the development language and Development Framework of code engineering, the product process and quality inspection process of building product are determined;
According to the product process and quality inspection process of the building product, at least one candidate operation pipeline template is constructed.
3. the method according to claim 1, wherein foundation code engineering to be gone into operation and at least one time Operation pipeline template is selected, determines target pipeline, comprising:
According to the development language and Development Framework of the code engineering to be gone into operation, from least one described candidate operation assembly line mould Selection target operation pipeline template in plate;
According to the target operation pipeline template, flow line flow path and pipeline parameter are configured, to create the target flowing water Line;
The target pipeline is submitted, to check the flow line flow path in the target pipeline;
If checking in the flow line flow path comprising default operation pipeline step, it is determined that the target pipeline submit at Function.
4. generation is described wait throw the method according to claim 1, wherein described according to the target pipeline Produce the quality inspection report of at least one candidate's building product and candidate building product of code engineering, comprising:
The target pipeline is executed, it is raw according to the product process in the target operation pipeline template of the target pipeline At the candidate building product of the code engineering to be gone into operation;
According to the quality inspection process in the target operation pipeline template of the target pipeline, to each of the candidate building product A generation link and generation result are verified, and the quality inspection report of the candidate building product is generated.
5. the method according to claim 1, wherein at least one of code engineering to be gone into operation described in the foundation The quality inspection report of candidate's building product and candidate building product, go into operation to the code engineering to be gone into operation online, comprising:
Assembly line and quality inspection report belonging at least one candidate's building product according to the code engineering to be gone into operation, determine institute The target building product of code engineering to be gone into operation is stated, to create target operation task;
The target operation task is executed, target building product is added in operation version packet, by the operation version This packet go into operation online.
6. according to the method described in claim 5, it is characterized in that, code engineering to be gone into operation described in the foundation at least one Assembly line belonging to candidate's building product and quality inspection report determine that the target of the code engineering to be gone into operation constructs product, comprising:
In response to user for the selection operation of code engineering to be gone into operation, show that the code engineering to be gone into operation is based on operation flowing water At least one candidate's building product that line template generates, and flow line flow path, the structure of assembly line belonging to candidate building product Build state and quality inspection report;
According to the flow line flow path of assembly line belonging to candidate building product, building state and quality inspection report, determine described wait throw The target for producing code engineering constructs product.
7. according to the method described in claim 6, it is characterized in that, the stream according to assembly line belonging to candidate building product Waterline process, building state and quality inspection report determine that the target of the code engineering to be gone into operation constructs product, comprising:
From at least one described candidate's building product, flow line flow path is selected to meet current operation version requirement, building state The candidate building product that success and quality inspection result pass through constructs product as target.
8. a kind of operation device characterized by comprising
Assembly line creation module, for determining according to code engineering to be gone into operation and at least one candidate operation pipeline template Target pipeline;
Assembly line execution module, for generating at least one time of the code engineering to be gone into operation according to the target pipeline The quality inspection report of choosing building product and candidate building product;
Operation module, at least one candidate's building product and candidate building product according to the code engineering to be gone into operation Quality inspection report, the code engineering to be gone into operation go into operation online.
9. a kind of equipment characterized by comprising
One or more processors;
Memory, for storing one or more programs;
When one or more of programs are executed by one or more of processors, so that one or more of processors are real Now such as operation method of any of claims 1-7.
10. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the program is by processor Such as operation method of any of claims 1-7 is realized when execution.
CN201910792546.8A 2019-08-26 2019-08-26 Operation method, apparatus, equipment and storage medium Pending CN110490483A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201910792546.8A CN110490483A (en) 2019-08-26 2019-08-26 Operation method, apparatus, equipment and storage medium
PCT/CN2020/106567 WO2021036697A1 (en) 2019-08-26 2020-08-03 Commissioning method and apparatus, device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910792546.8A CN110490483A (en) 2019-08-26 2019-08-26 Operation method, apparatus, equipment and storage medium

Publications (1)

Publication Number Publication Date
CN110490483A true CN110490483A (en) 2019-11-22

Family

ID=68554241

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910792546.8A Pending CN110490483A (en) 2019-08-26 2019-08-26 Operation method, apparatus, equipment and storage medium

Country Status (2)

Country Link
CN (1) CN110490483A (en)
WO (1) WO2021036697A1 (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2021036697A1 (en) * 2019-08-26 2021-03-04 中国建设银行股份有限公司 Commissioning method and apparatus, device and storage medium
CN112581099A (en) * 2020-12-25 2021-03-30 中国建设银行股份有限公司 Production scheme obtaining method and device and electronic equipment
CN112633823A (en) * 2020-12-15 2021-04-09 中国建设银行股份有限公司 Real-time tracking method of production progress, storage medium and computer equipment
CN113052707A (en) * 2021-04-30 2021-06-29 中国工商银行股份有限公司 Application production method and device, computer equipment and storage medium
CN115421775A (en) * 2022-09-06 2022-12-02 中国建设银行股份有限公司 Data processing method and device, electronic equipment and storage medium

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105144092A (en) * 2013-03-14 2015-12-09 微软技术许可有限责任公司 Software release workflow management
CN106325883A (en) * 2016-08-31 2017-01-11 中国建设银行股份有限公司 Development method and system for industry business area information system
CN107621963A (en) * 2017-09-21 2018-01-23 深圳市买买提乐购金融服务有限公司 A kind of software deployment method, software deployment system and electronic equipment
CN107621944A (en) * 2017-09-22 2018-01-23 天翼电子商务有限公司 Continuous integrating pipeline system and its method based on automation O&M
CN109710524A (en) * 2018-12-19 2019-05-03 上海华兴数字科技有限公司 A kind of automatic test approach, system and computer storage medium
CN109800016A (en) * 2018-12-13 2019-05-24 平安普惠企业管理有限公司 Engineering automatic deployment method, device, computer equipment and storage medium
CN110018964A (en) * 2019-04-12 2019-07-16 广东电网有限责任公司信息中心 One kind researching and developing test assembly line construction method towards power industry
US20190243742A1 (en) * 2018-02-02 2019-08-08 Bank Of America Corporation Smart tool for enterprise-wide software integration and deployment

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100235807A1 (en) * 2009-03-16 2010-09-16 Hitachi Data Systems Corporation Method and system for feature automation
IN2013CH04617A (en) * 2013-10-14 2015-04-24 Cognizant Technology Solutions India Pvt Ltd
CN104267938B (en) * 2014-09-16 2018-02-23 福建新大陆软件工程有限公司 A kind of method and device of the quick development deployment of the application of streaming computing
CN110490483A (en) * 2019-08-26 2019-11-22 中国建设银行股份有限公司 Operation method, apparatus, equipment and storage medium

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105144092A (en) * 2013-03-14 2015-12-09 微软技术许可有限责任公司 Software release workflow management
CN106325883A (en) * 2016-08-31 2017-01-11 中国建设银行股份有限公司 Development method and system for industry business area information system
CN107621963A (en) * 2017-09-21 2018-01-23 深圳市买买提乐购金融服务有限公司 A kind of software deployment method, software deployment system and electronic equipment
CN107621944A (en) * 2017-09-22 2018-01-23 天翼电子商务有限公司 Continuous integrating pipeline system and its method based on automation O&M
US20190243742A1 (en) * 2018-02-02 2019-08-08 Bank Of America Corporation Smart tool for enterprise-wide software integration and deployment
CN109800016A (en) * 2018-12-13 2019-05-24 平安普惠企业管理有限公司 Engineering automatic deployment method, device, computer equipment and storage medium
CN109710524A (en) * 2018-12-19 2019-05-03 上海华兴数字科技有限公司 A kind of automatic test approach, system and computer storage medium
CN110018964A (en) * 2019-04-12 2019-07-16 广东电网有限责任公司信息中心 One kind researching and developing test assembly line construction method towards power industry

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2021036697A1 (en) * 2019-08-26 2021-03-04 中国建设银行股份有限公司 Commissioning method and apparatus, device and storage medium
CN112633823A (en) * 2020-12-15 2021-04-09 中国建设银行股份有限公司 Real-time tracking method of production progress, storage medium and computer equipment
CN112581099A (en) * 2020-12-25 2021-03-30 中国建设银行股份有限公司 Production scheme obtaining method and device and electronic equipment
CN113052707A (en) * 2021-04-30 2021-06-29 中国工商银行股份有限公司 Application production method and device, computer equipment and storage medium
CN115421775A (en) * 2022-09-06 2022-12-02 中国建设银行股份有限公司 Data processing method and device, electronic equipment and storage medium

Also Published As

Publication number Publication date
WO2021036697A1 (en) 2021-03-04

Similar Documents

Publication Publication Date Title
CN110490483A (en) Operation method, apparatus, equipment and storage medium
US10565095B2 (en) Hybrid testing automation engine
US11561772B2 (en) Low-code development platform
US7761786B2 (en) Reusable XPath validation expressions
US7886284B2 (en) Using a backend simulator to test and develop xforms templates before linking the xforms templates to backend data processing systems
US8949772B1 (en) Dynamic model based software application development
US8601433B2 (en) Method and apparatus for generating virtual software platform based on component model and validating software platform architecture using the platform
CN108108162A (en) Application programming interface generation method and device
US9026986B2 (en) Process for development of monitoring tools
JP2011060277A (en) Integration environment generator
US20080276221A1 (en) Method and apparatus for relations planning and validation
WO2007001108A1 (en) System for providing feature-oriented software product line engineering environment
TW200836033A (en) Intelligent production station and production method
CN109324799A (en) A kind of code compiling method, computer installation and computer readable storage medium
CN106843878B (en) A kind of model generating method and system
Fursin Collective knowledge: organizing research projects as a database of reusable components and portable workflows with common interfaces
US7519947B2 (en) Orchestration designer
CN100483429C (en) Verification operation supporting system and method of the same
Popoola et al. EMG: A domain-specific transformation language for synthetic model generation
Fursin et al. A collective knowledge workflow for collaborative research into multi-objective autotuning and machine learning techniques
JP2010267023A (en) Test data generation method, device and program
Perrouin et al. Composing models for detecting inconsistencies: A requirements engineering perspective
Franců et al. Automated generation of implementation from textual system requirements
JP2008305079A (en) Requirement specification automatic verification method
US9003358B2 (en) Method of taking a computer architecture respresentation and generating manufacturing methods capable of manufacturing a computer systems contained in a specification

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
TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20220921

Address after: 25 Financial Street, Xicheng District, Beijing 100033

Applicant after: CHINA CONSTRUCTION BANK Corp.

Address before: 25 Financial Street, Xicheng District, Beijing 100033

Applicant before: CHINA CONSTRUCTION BANK Corp.

Applicant before: Jianxin Financial Science and Technology Co.,Ltd.

RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20191122