CN107967147A - Program version label management method, device, storage medium and equipment - Google Patents

Program version label management method, device, storage medium and equipment Download PDF

Info

Publication number
CN107967147A
CN107967147A CN201711146340.5A CN201711146340A CN107967147A CN 107967147 A CN107967147 A CN 107967147A CN 201711146340 A CN201711146340 A CN 201711146340A CN 107967147 A CN107967147 A CN 107967147A
Authority
CN
China
Prior art keywords
version
program
tag
tag control
label
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
CN201711146340.5A
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.)
Bank of China Ltd
Original Assignee
Bank of China 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 Bank of China Ltd filed Critical Bank of China Ltd
Priority to CN201711146340.5A priority Critical patent/CN107967147A/en
Publication of CN107967147A publication Critical patent/CN107967147A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/70Software maintenance or management
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/70Software maintenance or management
    • G06F8/71Version control; Configuration management

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Security & Cryptography (AREA)
  • Stored Programmes (AREA)

Abstract

The present invention provides a kind of program version label management method, device, storage medium and equipment.This method includes:The tag command of multiple program versions is generated according to program version inventory, label information and control command, program version inventory includes the program name and Program path of multiple program versions, and control command meets Version Management Software specification;According to the tag command build version program tag administration order perform script of parameter preset and multiple program versions;Version program tag control order perform script is performed, one by one by the tag operational content transmission of program version to version server, and controls the Version Management Software on version server to realize and tag control operation is carried out to corresponding program version.The present invention is by realizing automatic management label, it is possible to increase efficiency simultaneously reduces error rate.

Description

Program version label management method, device, storage medium and equipment
Technical field
The present invention relates to field of computer technology, more particularly to a kind of program version label management method, device, storage Jie Matter and equipment.
Background technology
Large scale computer (MAINFRAME) uses dedicated instruction set, operating system and application software, its main representative product example If any the Z series of IBM.I/O abilities, non-numerical computations ability, stability, the security of large scale computer are respectively provided with compared with microcomputer Greater advantage, its commercial field more concentrated mainly for the treatment of computing, such as bank, telecommunications etc..
In mainframe software development process, often need to utilize the ClearCase (configuration managements of RATIONAL companies exploitation Instrument, can support the different platform such as Z/OS, UNIX, WINDOWS) management development personnel submit source program version.Wherein, It is an essential operation link during version management to label.For same source program, submit or update every time It is required to enclose corresponding label.It is also required to be identified according to corresponding label when searching a certain old version in version repository.
During the version of mainframe software exploitation is submitted, version manager is needed according to the inventory for having been filed on program, Tagged for each program manually, the index to enter version repository as program uses.The process of labelling needs version pipe Reason person inputs a corresponding order for each program and completes, and is a time-consuming and laborious job, operates redundancy and cumbersome. When submitting program version on a large scale, the operation that labels would generally consume a large amount of manpower and materials, while mistake also easily occurs.
Conventional method is using the text edit tool batch edit commands such as ULTRA EDIT.The instrument can be to a certain degree It is upper to improve human-edited's efficiency of text, but can not realize that one key of full automation generates.When performing order, since host is put down The weary corresponding handling implement of platform scarce, currently without the method for automation, it is still desirable to input one by one by hand.Check and tie performing When fruit counts, still need to rely on manual mode at present.
The content of the invention
The present invention provides a kind of program version label management method, device, storage medium and equipment, to improve what is labelled Efficiency simultaneously reduces error rate.
The embodiment of the present invention provides a kind of program version label management method, including:Believed according to program version inventory, label Breath and control command generate the tag command of multiple program versions, program version inventory include multiple program versions program name and Program path, control command meet Version Management Software specification;Given birth to according to the tag command of parameter preset and multiple program versions Into version program tag control order perform script;Version program tag control order perform script is performed, one by one by program version This tag operational content transmission controls the Version Management Software on version server to realize to corresponding to version server Program version carries out tag control operation.
In one embodiment, this method further includes:Tag control result is back to version program tag control order to hold This is traveled far and wide, and judges whether tag control fails using the sentence that judges in version program tag control order perform script;If Failure, interrupts and performs version program tag control order perform script, and interrupting information is returned to user.
In one embodiment, this method further includes:The program version sequence number that user inputs according to interrupting information is received, is redirected Version program tag control order perform script is performed, corresponding program version is carried out backward since the program version sequence number Tag control.
In one embodiment, this method further includes:The tag control result of each version program is back to version program mark Administration order perform script is signed, and utilizes the counting sentence statistics version program in version program tag control order perform script Submit sum, tag control success sum and tag control failure sum.
In one embodiment, multiple program versions are being generated according to program version inventory, label information and control command Before tag command, further include:Syntactic verification is carried out to program version inventory.
In one embodiment, the Version Management Software on version server is controlled to realize to corresponding program version into rower Label management, including:Version Management Software on control version server is realized carries out the operation that labels to corresponding program version, Or the Version Management Software on control version server is realized and carries out deletion tag operational to corresponding program version.
In one embodiment, which is Excel text formattings, which performs Script is vba scripts.
The embodiment of the present invention also provides a kind of program version tag control device, including:Tag command generation unit, is used In:The tag command of multiple program versions, program version inventory are generated according to program version inventory, label information and control command Program name and Program path including multiple program versions, control command meet Version Management Software specification;Perform script generates Unit, is used for:Foot is performed according to the tag command build version program tag administration order of parameter preset and multiple program versions This;Tag control execution unit, is used for:Version program tag control order perform script is performed, one by one by the mark of program version Label operation content is transmitted to version server, and controls the Version Management Software on version server to realize to corresponding program version This progress tag control operation.
The embodiment of the present invention also provides a kind of computer-readable recording medium, is stored thereon with computer program, the program The step of the various embodiments described above the method is realized when being executed by processor.
The embodiment of the present invention also provides a kind of computer equipment, including memory, processor and storage are on a memory simultaneously The computer program that can be run on a processor, the processor realize the various embodiments described above the method when performing described program The step of.
Program version label management method, device, storage medium and the equipment of the present invention, by according to program version inventory Tag command is generated, tag control order perform script is generated further according to tag command, finally can be by performing tag control Order perform script realizes the tag control carried out automatically.User is concerned only with implementing result, without automatic place more than paying close attention to Reason process.With this, tag control efficiency can be greatly improved, tag control error rate is greatly reduced.
Brief description of the drawings
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing There is attached drawing needed in technology description to be briefly described, it should be apparent that, drawings in the following description are only this Some embodiments of invention, for those of ordinary skill in the art, without creative efforts, can be with Other attached drawings are obtained according to these attached drawings.In the accompanying drawings:
Fig. 1 is the flow diagram of the program version label management method of one embodiment of the invention;
Fig. 2 is the flow diagram of the program version label management method of another embodiment of the present invention;
Fig. 3 is the flow diagram of the program version label management method of further embodiment of this invention;
Fig. 4 is the flow diagram of the program version label management method of yet another embodiment of the invention;
Fig. 5 is the flow diagram of the program version label management method of further embodiment of this invention;
Fig. 6 is that the program version of one embodiment of the invention labels the flow diagram of management method;
Fig. 7 is that the program version of another embodiment of the present invention labels the flow diagram of management method;
Fig. 8 is that the version of the prior art submits flow diagram;
Fig. 9 is to submit flow diagram using the version of present invention method;
Figure 10 is original program listing schematic diagram in one embodiment of the invention;
Figure 11 is version program inventory schematic diagram in one embodiment of the invention;
Figure 12 is the interface schematic diagram that systematic parameter is set in one embodiment of the invention;
Figure 13 is tag command schematic diagram in one embodiment of the invention;
Figure 14 is version program tag control order perform script schematic diagram in one embodiment of the invention;
Figure 15 is the decomposition diagram of version program tag control order perform script in one embodiment of the invention;
Figure 16 is a kind of structure diagram of program version tag control device of one embodiment of the invention;
Figure 17 is the structure diagram of the program version tag control device of another embodiment of the present invention;
Figure 18 is the structure diagram of the program version tag control device of further embodiment of this invention;
Figure 19 is the structure diagram of the program version tag control device of yet another embodiment of the invention;
Figure 20 is the structure diagram of the program version tag control device of further embodiment of this invention;
Figure 21 is the structure diagram of the computer equipment of one embodiment of the invention.
Embodiment
For the purpose, technical scheme and advantage of the embodiment of the present invention are more clearly understood, below in conjunction with the accompanying drawings to this hair Bright embodiment is described in further details.Here, the schematic description and description of the present invention is used to explain the present invention, but simultaneously It is not as a limitation of the invention.
Fig. 1 is the flow diagram of the program version label management method of one embodiment of the invention.As shown in Figure 1, this reality Apply the program version label management method of example, it may include:
Step S110:The label that multiple program versions are generated according to program version inventory, label information and control command is ordered Order, program version inventory include the program name and Program path of multiple program versions, and control command meets Version Management Software rule Model;
Step S120:According to the tag command build version program tag administration order of parameter preset and multiple program versions Perform script;
Step S130:Version program tag control order perform script is performed, one by one by the tag operational of program version Appearance is transmitted to version server, and controls Version Management Software on version server to realize to corresponding program version into rower Label management operation.
In above-mentioned steps S110, program version inventory for example can be Excel texts.Label information can include management The information such as tag date, ProductName, batch.With a batch of multiple program versions, can be placed in same program version inventory, Identical label information can be used, tag control can be realized one by one by the method for the present invention.In program version inventory Each program version can correspond to a strip label order.
In above-mentioned steps S120, parameter preset can include environmental parameter, script path, User ID, starting version The parameters such as program sequence number.Parameter preset can be preset by UI interfaces.Version program tag control order perform script It can write to be formed using vba language.
In above-mentioned steps S130, version program tag control order perform script can perform in PC machine.PC machine and Communication between version server can be realized by means of communication program, such as SecureCRT.Can be according in parameter preset Environmental parameter perform version program tag control order perform script.Environmental parameter can include means of communication Program path, PC machine IP, version server log in the parameter such as domain user name and domain password.Version Management Software for example can be ClearCase. In embodiment, implementing result can be shown to user.
In the present embodiment, by generating tag command according to program version inventory, label tube is generated further according to tag command Order perform script is managed, finally can realize the tag control carried out automatically by performing tag control order perform script.With Implementing result is concerned only with after family input original program inventory, without automatically processing process more than participating in., can be very big with this Tag control efficiency is improved, tag control error rate is greatly reduced.
In embodiment, program version label management method can be the program version tag control side for applying to large scale computer Method.
In embodiment, communication between PC machine and version server can be with encrypted transmission or non-encrypted transmission, such as can be with Communicated by SSH2 encrypted transmission modes, communication process security can be improved with this.
In embodiment, in above-mentioned steps S130, the Version Management Software on version server is controlled to realize to corresponding Program version carries out tag control, it may include:The Version Management Software on version server is controlled to realize to corresponding program version This Version Management Software carried out in the operation that labels, or control version server, which is realized, deletes corresponding program version Except tag operational.In the present embodiment, label operation and delete the tag operational main distinction can be different in being selected in UI Control command.
In embodiment, which can be Excel text formattings, which performs foot Originally can be vba scripts.Program version inventory can be provided directly by programmer, or the list provided according to programmer is extracted or deleted Subtract to obtain.User can send instruction in the windows platform of PC machine, and tag control (for example, labelling) operation then can be small Completed on the LINUX of type machine or the Z/OS of large scale computer, tag control operation has cross-platform property.Also, due to not belonging to together The program of property, the method that labels are otherwise varied.Met the requirements so general procedure is more difficult.Vba forms are generated using vba main programs Version program tag control order perform script, equivalent to using another interim vba programs of vba main programs generation (i.e. temporarily Vba scripts, can also regard one section of program as), above-mentioned platform compatibility and program attribute difference problem can effectively be solved with this.
Fig. 2 is the flow diagram of the program version label management method of another embodiment of the present invention.It is as shown in Fig. 2, right A version program in program version inventory, controls the Version Management Software on version server to realize that tag control operates Afterwards, may also include:
Step S140:Tag control result is back to version program tag control order perform script, and utilizes version The sentence that judges in program tag administration order perform script judges whether tag control fails;
Step S150:If failure, interrupts and performs version program tag control order perform script, and interrupting information is returned To user.
It can be one section of program to judge sentence.During tag control failure (such as labelling unsuccessfully), interrupt and perform version journey Sequence tag control order perform script, and failure interrupting information is fed back into user, user can check error reason, and carry out Repair.Implementing result can be monitored in real time using above-mentioned steps S140 and step S150, report all mark mistakes.
In embodiment, according to error flag Error/error, and error code, whether misjudgment produces, and judges sentence Can be as follows:
Fig. 3 is the flow diagram of the program version label management method of further embodiment of this invention.As shown in figure 3, After above-mentioned steps S150, it may also include:
Step S160:The program version sequence number that user inputs according to interrupting information is received, redirects and performs version program label Administration order perform script, tag control is carried out since the program version sequence number to corresponding program version backward.
User can be by program version sequence number that UI interfaces input.By being continued pair according to the program version sequence number of input Follow-up version program carries out tag control, rather than from the beginning re-starts label tube to the version program in version program inventory Reason, so as to avoid the occurrence of the mistake that label repeats, and computing resource can be avoided with this to avoid tag control operation is repeated Waste.
In embodiment, can there are the processing of some reentry mechanism, wherein In_Rsct through each part of whole main program Record is re-executed from which bar, is re-executed i.e. from In_Rsct to In_Max (the last item).Reentry main control part source code (method of step S160) can be as follows:
MsgBox " generation script successes, file are entitled:"&VbsFile&".Breakpoint serial number " &In_Rsct& ".Shared " & In_Counter& " strip labels."
Fig. 4 is the flow diagram of the program version label management method of yet another embodiment of the invention.As shown in figure 4, After above-mentioned steps S130, it may also include:
Step S170:The tag control result of each version program is back to the order of version program tag control and performs foot This, and submit sum, label tube using the counting sentence statistics version program in version program tag control order perform script Manage successfully sum and tag control failure sum.
, can be with overview label by being counted to the tag control result of all version programs in version program inventory Administrative situation, avoids omitting to some version programs progress tag control.
In embodiment, In_Counter is counter, and for counting the bar number that runs succeeded, which simultaneously participates in result For statistics with reentrying mechanism, counting sentence can be as follows:
Fig. 5 is the flow diagram of the program version label management method of further embodiment of this invention.As shown in figure 5, Before above-mentioned steps S110, i.e., the mark of multiple program versions is being generated according to program version inventory, label information and control command Before label order, it may also include:
Step S180:Syntactic verification is carried out to program version inventory.
For example, whether can correctly be verified to the form of Program path, or school can be carried out according to business rule Test.By being verified to program version inventory, most error-prone link can be monitored, reduces the method for the present invention to the full extent Error rate during execution, so as to reduce error rate, further improves tag control efficiency.
In embodiment, syntactic verification is included among the EXCEL document of program listing, and verification sentence can be as follows:
=IF (B1<>" ", IF (LEFT (B1,2)=" N. ", " N ", " D "), " ")
=IF (C1<>" ", IF (LEFT (B1,2)=" N. ", " night/ ", " day/ "), " ")
The above two judges that this program is that (day and night program processing rule can be different, together for day-case procedure or night program Shi Cunfang paths also can be different).
=IF (C1<>" ", IF (LEFT (B1,2)=" N. ", MID (TRIM (B1), 3,999), TRIM (B1)), " ")
Above sentence removes the idle character part among inventory, generates the path of specification.
=IF (RIGHT (X1,7)=" PROCLIB ", " .PROCL ", RIGHT (X1,4))
Above sentence among inventory writing a Chinese character in simplified form part do specification (such as PROCLIB and its write a Chinese character in simplified form PROCL, then can unite One realization is handled).
The step of the various embodiments described above method, in the case where there is no conflict, can combine to obtain the scheme of various embodiments, Within protection scope of the present invention.The method of various embodiments of the present invention can be used for labelling for program version, or by journey The label of sequence version is deleted.
Fig. 6 is that the program version of one embodiment of the invention labels the flow diagram of management method.With the operation that labels Exemplified by, as shown in fig. 6, the program version label management method of the present embodiment, it may include:
Step S210:Order generation:
Inventory (source code inventory) is submitted according to version, it is automatic to calculate build version tag command, while automatically to submitting Version inventory correctness makes inspection.
Step S220:Order performs:
Interim vba scripts are generated, which can perform the order of step S210 generations one by one, realize the operation that labels, should Script supports cross-platform operation.
Step S230:Perform inspection:
Inspection is made to every command execution results, for the entry for the failure that labels, prompting can be made, and in user Possess after amendment and re-execute function.
Step S240:As a result count:
Implementing result is counted, generation submits sum, submits successfully number, the submission unsuccessfully data such as number, and can dividing Program attribute is submitted in analysis, is counted according to user demand classification.
Fig. 7 is that the program version of another embodiment of the present invention labels the flow diagram of management method.With the behaviour that labels As example, as shown in fig. 7, the program version label management method of the present embodiment, it may include:
Step S310:Scan version and submit inventory:
Version submits inventory to be generally excel document formats, includes the title and host of this submission institute source code Path, carries out correctness verification to it first, then preserves it one by one.
Step S320:Generate the order that labels:
The information preserved in step S310 is handled, generates the corresponding order that labels one by one.
Step S330:Generation automation vba scripts:
According to the order that labels generated in environmental parameter and step S320, one section of vba script is generated, which makees For the automatic running instruction to label.
Step S340:Perform and monitor:
The vba scripts generated in step S330 are performed, while implementation procedure is monitored and counted.Monitor each Whether the operation that labels runs succeeded, it is such as unsuccessful can be to be re-executed after artificial correction.Data statistics function can be to submitting journey Sequence carries out classification statistics, as program is total, successfully number, unsuccessfully number, day-case procedure quantity, night program quantity, on-line program number Amount, batch program quantity etc..User can also be customized statistical.
Fig. 8 is that the version of the prior art submits flow diagram.As shown in figure 8, programmer 401 submit version source program and Version inventory is to version manager 402, for example, have submitted 100 version programs.Then, on the one hand, version manager 402 is logical Cross PC machine 403 and version source program is directly transmitted to attached version server 404, on the other hand, version manager 402 uses version This inventory carries out complicated edit operation, and attached version is transmitted to after then stamping electronic tag on each version program one by one Server 404.According to electronic tag a whole set of required version program can be extracted to large scale computer 405 from attached version server 404 Upper execution.
Fig. 9 is to submit flow diagram using the version of present invention method.As shown in figure 9, it is different from Fig. 8, this Invention recognizer version inventory, generation manage the script of label, and then perform script labels to attached version server 404 On corresponding version program.The process that labels is manually operated without version manager.
In embodiment, when submitting program every time, developer needs preparation routine source code and source code inventory.Such as:Certain Secondary developer have submitted ten programs, and source code can regard ten files as, and inventory is Excel forms, as shown in Figure 10.
Under normal conditions, the source code inventory shown in Figure 10, can when most there may be tens of or hundreds of records Can be thousands of.Can be very time-consuming and laborious using processing by hand.In embodiment, source code can be handled, process may include:
(1) content in the source list shown in Figure 10 is extracted first, the information only remained with, such as Figure 11 institutes Show, only retain it and store path and program name, removed without exception for artificial markup information.
(2) system set-up parameters, such as IP, user name, password etc. are read.Figure 12 is that system is set in one embodiment of the invention System bound of parameter face schematic diagram, as shown in figure 12, environmental parameter can be as shown in the table of a key mark item, other Prediction Parameters can be such as Shown in the table for generating script input item, wherein, view name can be employee number, when breakpoint reentry sequence number can input interruption Program sequence number, to continue the tag control of down-stream.Current label can be inputted by user.One column of function in table can select Select and label or delete label.
(3) according to the content of step (1) step (2), by VBA scripts, complete original directive is generated, original directive is suitable In containing the electronic labeling information to every program.But original directive can not be automatically performed the operation to label.Original life Order can be as shown in figure 13.
(4) on the basis of original directive, continue to generate vba scripts, which can be achieved automatic marking.It is generated Vba scripts can be as shown in figure 14.Original tag order, parameter preset, control statement etc. can be included in script, such as Figure 15 institutes Show.
(5) script can directly be run, you can complete all operations that label.After execution, implementing result can be read Show user.
In embodiment, when reading the program listing of user, first time verification can be carried out.The process is syntactic verification, fortune With certain algorithm, determine whether the inventory that user writes is wrong by the rules for writing of program listing.Label foot in execution This when, can carry out second of verification.Because version server can return to implementing result when labelling, mistake can be errors excepted produced Error code.At this moment the error code that one section of special procedure resolution server produces is had, mistake such as, which occurs, can inform user.
In embodiment, monitoring statisticss process may include following three link:
(1) verify for i.e. above-mentioned second, by one section of special program, read the error code that version server returns, and Parsed, result is presented to user.
(2) in the event of interrupt, user after reparation problem, have special interface be used for continue to execute script (such as Need to make a call to 100 strip labels, but mistake occur when getting to 60, user when correcting mistake, can at the 60th article again after It is continuous to perform).The mechanism principle is to redirect execution from the vba scripts generated, ignores the part performed, continues to execute and connect The part got off.
(3) counter is set in implementation procedure, when whole labels have successfully been beaten, display counter is as a result, complete number Amount statistics, and prompt user.
For the scheme of the prior art, there are problems with:
(1) work efficiency is low.Each program is required to one order that labels of input, for a full-time version For administrator, the operation that labels that may be up to handle hundreds of programs in one day, such duplication of labour can consume largely Time.
(2) error rate is high.Human-edited's order is error-prone, even more so in a large amount of orders of editor.Error may cause Two as a result, either waste more time modification mistakes or directly misplay label, have an impact retrieval from now on.
(3) extra check and correction is needed.For manually labelling, it is only capable of checking every line command implementing result one by one.It is if it is desired to right Whole result is counted, or is checked with source code inventory, it is necessary to increase extra manual inspection.
The method of the embodiment of the present invention, script Core Generator and respective handling method applied to large scale computer.The instrument can The output text of inventory is submitted according to version, generates an executable script that labels.Substitute the tradition for being manually entered order Mode.It can easily be run in PC machine, control the LINUX system of small server or the Z/OS systems of large scale computer to be beaten Tag operational.Compared with prior art, the method for the embodiment of the present invention has the following advantages:
(1) work efficiency is greatly improved.Work is submitted for once large-scale version, submits program quantity to reach several Hundred even thousands of.Manually labelling the time for operating and consuming may be in or so hour.If using the invention, beat automatically Label can be completed within one minute.Efficiency enhancement effect is notable.
(2) error rate is greatly reduced.The problem of typing error inevitably occurs using manual operations.And by automatic Change script mode, it is possible to prevente effectively from mistake.
(3) integrate and check and error monitoring function.Traditional-handwork is beaten in the operation of release label, need to additionally increase artificial inspection Step is looked into, among the larger development task of workload, the step often unreachable position.And the present invention is by automating mode Processing, will check and integrates with monitoring function, by COMPUTER DETECTION problem good reliability, efficient, effectively save manpower Material resources.
(4) instrument supports the SSH2 encrypted transmission modes of mainstream, and communication process is safe.
Based on the inventive concept identical with the program version label management method shown in Fig. 1, the embodiment of the present application also provides A kind of program version tag control device, as described in example below.Since the program version tag control device solves to ask The principle of topic is similar to program version label management method, therefore the implementation of the program version tag control device may refer to journey The implementation of sequence release label management method, overlaps will not be repeated.
Figure 16 is a kind of structure diagram of program version tag control device of one embodiment of the invention.Such as Figure 16 institutes Show, a kind of program version tag control device of the present embodiment, it may include:Tag command generation unit 510, perform script generation Unit 520 and tag control execution unit 530, above-mentioned each unit are linked in sequence.
Tag command generation unit 510, is used for:Generated according to program version inventory, label information and control command multiple The tag command of program version, program version inventory include the program name and Program path of multiple program versions, control command symbol Form a version management software specification;
Perform script generation unit 520, is used for:According to the tag command build version of parameter preset and multiple program versions Program tag administration order perform script;
Tag control execution unit 530, is used for:Version program tag control order perform script is performed, one by one by program The tag operational content transmission of version controls the Version Management Software on version server to realize to corresponding to version server Program version carry out tag control operation.
Figure 17 is the structure diagram of the program version tag control device of another embodiment of the present invention.As shown in figure 17, Program version tag control device shown in Figure 16, may also include:Implementing result inspection unit 540 and implementing result returning unit 550, the two interconnection, implementing result inspection unit 540 is connected with tag control execution unit 530.
Implementing result inspection unit 540, is used for:Tag control result is back to the order of version program tag control to perform Script, and judge whether tag control fails using the sentence that judges in version program tag control order perform script;
Implementing result returning unit 550, is used for:If failure, interrupts and performs version program tag control order perform script, And interrupting information is returned into user.
Figure 18 is the structure diagram of the program version tag control device of further embodiment of this invention.As shown in figure 18, Program version tag control device shown in Figure 17, may also include:Breakpoint reentries unit 560, with implementing result returning unit 550 Connection.
Breakpoint reentries unit 560, is used for:The program version sequence number that user inputs according to interrupting information is received, redirects execution Version program tag control order perform script, backward to corresponding program version into row label since the program version sequence number Management.
Figure 19 is the structure diagram of the program version tag control device of yet another embodiment of the invention.As shown in figure 19, Program version tag control device shown in Figure 16, may also include:As a result statistic unit 570, with tag control execution unit 530 Connection.
As a result statistic unit 570, are used for:The tag control result of each version program is back to version program tag control Order perform script, and submitted always using the counting sentence statistics version program in version program tag control order perform script Number, tag control success sum and tag control failure sum.
Figure 20 is the structure diagram of the program version tag control device of further embodiment of this invention.As shown in figure 20, Program version tag control device shown in Figure 16, may also include:Inventory verification unit 580, with tag control execution unit 530 Connection.
Inventory verification unit 580, is used for:Syntactic verification is carried out to program version inventory.
In embodiment, tag control execution unit 530, it may include:Tag control execution module, is used for:Control version clothes Version Management Software on business device, which is realized, carries out corresponding program version the operation that labels, or on control version server Version Management Software is realized carries out deletion tag operational to corresponding program version.
In embodiment, which can be Excel text formattings, which performs foot Originally can be vba scripts.
The embodiment of the present invention also provides a kind of computer-readable recording medium, is stored thereon with computer program, the program The step of the various embodiments described above the method is realized when being executed by processor.
The embodiment of the present invention also provides a kind of computer equipment.As shown in figure 21, computer equipment 600 may include memory 610th, processor 620 and the computer program that can be run on memory 610 and on processor 620, the processor are stored in The step of the various embodiments described above the method being realized during 620 execution described program.
In conclusion program version label management method, device, storage medium and the equipment of the present invention, by according to journey Sequence version inventory generates tag command, and tag control order perform script is generated further according to tag command, finally can be by holding Row label administration order perform script realizes the tag control carried out automatically.User is concerned only with implementing result, without concern Process is automatically processed above.With this, tag control efficiency can be greatly improved, tag control error rate is greatly reduced.
In the description of this specification, reference term " one embodiment ", " specific embodiment ", " some implementations Example ", " such as ", the description of " example ", " specific example " or " some examples " etc. mean to combine the embodiment or example description Particular features, structures, materials, or characteristics are contained at least one embodiment of the present invention or example.In the present specification, Schematic expression of the above terms may not refer to the same embodiment or example.Moreover, the specific features of description, knot Structure, material or feature can combine in an appropriate manner in any one or more embodiments or example.Each embodiment Involved in the step of order be used for the implementation that schematically illustrates the present invention, sequence of steps therein is not construed as limiting, can be as needed Appropriately adjust.
It should be understood by those skilled in the art that, the embodiment of the present invention can be provided as method, system or computer program Product.Therefore, the present invention can use the reality in terms of complete hardware embodiment, complete software embodiment or combination software and hardware Apply the form of example.Moreover, the present invention can use the computer for wherein including computer usable program code in one or more The computer program production that usable storage medium is implemented on (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.) The form of product.
The present invention be with reference to according to the method for the embodiment of the present invention, the flow of equipment (system) and computer program product Figure and/or block diagram describe.It should be understood that it can be realized by computer program instructions every first-class in flowchart and/or the block diagram The combination of flow and/or square frame in journey and/or square frame and flowchart and/or the block diagram.These computer programs can be provided The processors of all-purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices is instructed to produce A raw machine so that the instruction performed by computer or the processor of other programmable data processing devices, which produces, to be used in fact The device for the function of being specified in present one flow of flow chart or one square frame of multiple flows and/or block diagram or multiple square frames.
These computer program instructions, which may also be stored in, can guide computer or other programmable data processing devices with spy Determine in the computer-readable memory that mode works so that the instruction being stored in the computer-readable memory, which produces, to be included referring to Make the manufacture of device, the command device realize in one flow of flow chart or multiple flows and/or one square frame of block diagram or The function of being specified in multiple square frames.
These computer program instructions can be also loaded into computer or other programmable data processing devices so that counted Series of operation steps is performed on calculation machine or other programmable devices to produce computer implemented processing, thus in computer or The instruction performed on other programmable devices is provided and is used for realization in one flow of flow chart or multiple flows and/or block diagram one The step of function of being specified in a square frame or multiple square frames.
Particular embodiments described above, has carried out the purpose of the present invention, technical solution and beneficial effect further in detail Describe in detail it is bright, it should be understood that the foregoing is merely the present invention specific embodiment, the guarantor being not intended to limit the present invention Scope is protected, within the spirit and principles of the invention, any modification, equivalent substitution, improvement and etc. done, should be included in this Within the protection domain of invention.

Claims (10)

  1. A kind of 1. program version label management method, it is characterised in that including:
    The tag command of multiple program versions is generated according to program version inventory, label information and control command, program version is clear Single program name and Program path for including multiple program versions, control command meet Version Management Software specification;
    According to the tag command build version program tag administration order perform script of parameter preset and multiple program versions;
    Version program tag control order perform script is performed, one by one takes the tag operational content transmission of program version to version Business device, and control the Version Management Software on version server to realize and tag control operation is carried out to corresponding program version.
  2. 2. program version label management method as claimed in claim 1, it is characterised in that further include:
    Tag control result is back to version program tag control order perform script, and utilizes version program tag control life The sentence that judges in perform script is made to judge whether tag control fails;
    If failure, interrupts and performs version program tag control order perform script, and interrupting information is returned to user.
  3. 3. program version label management method as claimed in claim 2, it is characterised in that further include:
    The program version sequence number that user inputs according to interrupting information is received, redirects and performs version program tag control order execution foot This, tag control is carried out since the program version sequence number to corresponding program version backward.
  4. 4. program version label management method as claimed in claim 1, it is characterised in that further include:
    The tag control result of each version program is back to version program tag control order perform script, and utilizes version journey Counting sentence statistics version program in sequence tag control order perform script submits sum, tag control success sum and label Management failure sum.
  5. 5. program version label management method as claimed in claim 1, it is characterised in that according to program version inventory, mark Before the tag command for signing information and the multiple program versions of control command generation, further include:
    Syntactic verification is carried out to program version inventory.
  6. 6. program version label management method as claimed in claim 1, it is characterised in that the version on control version server Management software, which is realized, carries out corresponding program version tag control operation, including:
    Version Management Software on control version server, which is realized, carries out corresponding program version the operation that labels, or control Version Management Software on version server is realized carries out deletion tag operational to corresponding program version.
  7. 7. program version label management method as claimed in claim 1, it is characterised in that the program version inventory is Excel Text formatting, the version program tag control order perform script are vba scripts.
  8. A kind of 8. program version tag control device, it is characterised in that including:
    Tag command generation unit, is used for:Multiple program versions are generated according to program version inventory, label information and control command Tag command, program version inventory includes the program name and Program path of multiple program versions, and control command meets version pipe Manage software specifications;
    Perform script generation unit, is used for:According to parameter preset and the tag command build version program mark of multiple program versions Sign administration order perform script;
    Tag control execution unit, is used for:Version program tag control order perform script is performed, one by one by the mark of program version Label operation content is transmitted to version server, and controls the Version Management Software on version server to realize to corresponding program version This progress tag control operation.
  9. 9. a kind of computer-readable recording medium, is stored thereon with computer program, it is characterised in that the program is held by processor The step of claim 1 to 7 the method is realized during row.
  10. 10. a kind of computer equipment, including memory, processor and storage are on a memory and the meter that can run on a processor Calculation machine program, it is characterised in that the step of processor realizes claim 1 to 7 the method when performing described program.
CN201711146340.5A 2017-11-17 2017-11-17 Program version label management method, device, storage medium and equipment Pending CN107967147A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711146340.5A CN107967147A (en) 2017-11-17 2017-11-17 Program version label management method, device, storage medium and equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711146340.5A CN107967147A (en) 2017-11-17 2017-11-17 Program version label management method, device, storage medium and equipment

Publications (1)

Publication Number Publication Date
CN107967147A true CN107967147A (en) 2018-04-27

Family

ID=62001156

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711146340.5A Pending CN107967147A (en) 2017-11-17 2017-11-17 Program version label management method, device, storage medium and equipment

Country Status (1)

Country Link
CN (1) CN107967147A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109726070A (en) * 2018-06-15 2019-05-07 平安普惠企业管理有限公司 Java applet monitoring method, device, equipment and readable storage medium storing program for executing
CN112422605A (en) * 2019-08-21 2021-02-26 株式会社日立制作所 Monitoring control system and method for constructing monitoring control system
CN112416197A (en) * 2020-11-23 2021-02-26 山东师范大学 Excel and VBA-based program single-step demonstration device and method
CN111651197B (en) * 2020-07-01 2023-04-28 中国银行股份有限公司 Automatic warehouse moving method and device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6681382B1 (en) * 2000-09-18 2004-01-20 Cisco Technology, Inc. Method and system for using virtual labels in a software configuration management system
CN201226523Y (en) * 2008-05-26 2009-04-22 北京星网锐捷网络技术有限公司 System for testing switch stability
CN102375724A (en) * 2010-08-11 2012-03-14 上海三旗通信科技有限公司 ClearQuest-based version issuing system
CN102566986A (en) * 2010-12-10 2012-07-11 上海晨兴希姆通电子科技有限公司 TD fixed wireless phone software version management system and application method of such system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6681382B1 (en) * 2000-09-18 2004-01-20 Cisco Technology, Inc. Method and system for using virtual labels in a software configuration management system
CN201226523Y (en) * 2008-05-26 2009-04-22 北京星网锐捷网络技术有限公司 System for testing switch stability
CN102375724A (en) * 2010-08-11 2012-03-14 上海三旗通信科技有限公司 ClearQuest-based version issuing system
CN102566986A (en) * 2010-12-10 2012-07-11 上海晨兴希姆通电子科技有限公司 TD fixed wireless phone software version management system and application method of such system

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
CHENSRAO: ""ClearCase批量更新源码步骤"", 《HTTP://BLOG.ITPUB.NET/7214331/VIEWSPACE-675973/》 *
SCM_NAVEEN: ""Rational Clearcase: applying label to multiple files"", 《HTTPS://IT.TOOLBOX.COM/QUESTION/RATIONAL-CLEARCASE-APPLYING-LABEL-TO-MULTIPLE-FILES-070207》 *
谭术 等: "《远程控制与攻击技术揭秘》", 31 December 2003, 家庭电脑世界杂志社 *

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109726070A (en) * 2018-06-15 2019-05-07 平安普惠企业管理有限公司 Java applet monitoring method, device, equipment and readable storage medium storing program for executing
CN112422605A (en) * 2019-08-21 2021-02-26 株式会社日立制作所 Monitoring control system and method for constructing monitoring control system
CN111651197B (en) * 2020-07-01 2023-04-28 中国银行股份有限公司 Automatic warehouse moving method and device
CN112416197A (en) * 2020-11-23 2021-02-26 山东师范大学 Excel and VBA-based program single-step demonstration device and method
CN112416197B (en) * 2020-11-23 2021-12-03 山东师范大学 Excel and VBA-based program single-step demonstration device and method

Similar Documents

Publication Publication Date Title
US7694272B2 (en) Method, a language and a system for the definition and implementation of software solutions by using a visualizable computer executable modeling language
AU2013331476B2 (en) Specifying and applying rules to data
US8117500B2 (en) Systems and methods for identifying a relationship between multiple interrelated applications in a mainframe environment
US8296734B2 (en) System and method for testing a software product
CN107967147A (en) Program version label management method, device, storage medium and equipment
US10691584B2 (en) Behavior driven development integration with test tool
US7143103B1 (en) Method and apparatus for monitoring and maintaining the consistency of distributed documents
TW201405306A (en) System and method for automatically generating software test cases
JP2013522790A (en) Code inspection execution system for ABAP source code
US9940182B1 (en) Business rule engine validation systems and related methods
US20070088740A1 (en) Information system development
CN111949607B (en) Method, system and device for monitoring UDT file
US20070169020A1 (en) Method to find a violation of a coding rule in program
CN111966587A (en) Data acquisition method, device and equipment
Edwards et al. RECAST: Reverse engineering from COBOL to SSADM specification
Li et al. SheetCopilot: Bringing Software Productivity to the Next Level through Large Language Models
CN113094625A (en) Page element positioning method and device, electronic equipment and storage medium
US20080172659A1 (en) Harmonizing a test file and test configuration in a revision control system
CN101634948A (en) Multi-language software development system and language resource data management method
Jankovsky et al. How to ADAPT
US11023359B2 (en) Automated API generation
CN114021756A (en) Fault analysis method and device and electronic equipment
CN112381509A (en) Management system for major special topic of national science and technology for creating major new drug
Chen Improving the Logging Practices in DevOps
CN111221610A (en) Page element acquisition method and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20180427

RJ01 Rejection of invention patent application after publication