CN108073394A - Code administration method, apparatus, code administration server and storage medium - Google Patents
Code administration method, apparatus, code administration server and storage medium Download PDFInfo
- Publication number
- CN108073394A CN108073394A CN201810162793.5A CN201810162793A CN108073394A CN 108073394 A CN108073394 A CN 108073394A CN 201810162793 A CN201810162793 A CN 201810162793A CN 108073394 A CN108073394 A CN 108073394A
- Authority
- CN
- China
- Prior art keywords
- code
- information
- pending
- evaluation
- msu message
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/30—Creation or generation of source code
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Information Transfer Between Computers (AREA)
Abstract
The present embodiments relate to technical field of internet application, provide a kind of code administration method, apparatus, code administration server and storage medium, the described method includes:Pending nuclear information is obtained, wherein, pending information includes pending code;Obtain the first msu message audited successively to pending code and multiple assisted verification information;Multiple assisted verification information are sent to monitoring control server, obtain the second msu message audited to multiple assisted verification information;Foundation the first msu message and the second msu message change the examination & verification state of pending code, complete the storage of pending code.Compared with prior art, the pending code in the embodiment of the present invention needs multiple examination & verifications and could be put in storage after examination & verification passes through per capita, ensure that the quality that code is submitted.
Description
Technical field
The present invention relates to technical field of internet application, in particular to a kind of code administration method, apparatus, code
Management server and storage medium.
Background technology
Android development teams generally carry out Version Control using the pattern of gerrit+repo+git to exploitation code,
Main flow is:Team Member uses repo&git orders or instrument by LAN connection code administration server gerrit
Code is obtained from gerrit servers, and is developed and is debugged locally, it is necessary to this after one section of work of completion and function
The fresh code upload on ground is incorporated into gerrit servers, and subsequent set obtains newest code union into personnel from gerrit servers
Into brush machine version.Therefore, the quality of the code line managed on gerrit servers directly affects the function and quality of brush machine version,
Influence the developmental achievement of R&D team.In the prior art, multiple evaluation people is specified to be audited into line code, as long as any of which is commented
Careful people performs the operation that examination & verification passes through, for example, " Verified+1 " and " Code Review+2 " is operated, just acquiescence performs generation
Code storage can not ensure the quality of code.
The content of the invention
The embodiment of the present invention is designed to provide a kind of code administration method, apparatus, code administration server and storage
Medium, to improve the above problem.
To achieve these goals, the technical solution that the embodiment of the present invention uses is as follows:
In a first aspect, an embodiment of the present invention provides a kind of code administration method, it is described applied to code administration server
Code administration server is connected with monitoring control server communication, the described method includes:Pending nuclear information is obtained, wherein, it is described
Pending information includes pending code;Obtain the first msu message for being audited successively to the pending code and multiple
Assisted verification information;The multiple assisted verification information is sent to described monitor and controls server, is obtained to the multiple
The second msu message that assisted verification information is audited;According to first msu message and second msu message, repair
Change the examination & verification state of the pending code, complete the storage of the pending code.
Second aspect, the embodiment of the present invention additionally provide a kind of code administration device, applied to code administration server, institute
It states code administration server and is connected with monitoring control server communication, described device includes the first acquisition module, the second acquisition mould
Block, the first execution module and the second execution module.Wherein, the first acquisition module is used to obtain pending nuclear information, wherein, it is described to treat
Msu message includes pending code;Second acquisition module is used to obtain audit the pending code successively first
Msu message and multiple assisted verification information;First execution module is used to the multiple assisted verification information being sent to described
Control server is monitored, obtains the second msu message audited to the multiple assisted verification information;Second execution module
For according to first msu message and second msu message, changing the examination & verification state of the pending code, completing
The storage of the pending code.
The third aspect, the embodiment of the present invention additionally provide a kind of code administration server, the code administration server with
Control server communication connection is monitored, the code administration server includes:One or more processors;Memory, for depositing
The one or more programs of storage, when one or more of programs are performed by one or more of processors so that described one
A or multiple processors realize above-mentioned code administration method.
Fourth aspect, the embodiment of the present invention additionally provide a kind of computer readable storage medium, are stored thereon with computer
Program, the computer program realize above-mentioned code administration method when being executed by processor.
Compared with the prior art, a kind of code administration method, apparatus provided in an embodiment of the present invention, code administration server and
Pending nuclear information comprising pending code is committed to code administration server by storage medium, first, developer;Then,
The first msu message that developer passes through the examination & verification of pending code is obtained, multiple evaluation people are notified based on the first msu message
Pending code is audited, and obtain it is each evaluation per capita review by multiple assisted verification information;It again will be multiple auxiliary
Msu message is helped to be sent to monitoring control server, obtain auditing multiple assisted verification information and audit pass through the
Two msu messages;Finally, after obtaining the first msu message and the second msu message, the examination & verification state for changing pending code is
By examination & verification, the storage of pending code will be completed.Compared with prior art, the pending code in the embodiment of the present invention needs
There are multiple examination & verifications that could be put in storage after examination & verification passes through per capita, ensure that the quality that code is submitted.
For the above objects, features and advantages of the present invention is enable to be clearer and more comprehensible, preferred embodiment cited below particularly, and coordinate
Appended attached drawing, is described in detail below.
Description of the drawings
It in order to illustrate the technical solution of the embodiments of the present invention more clearly, below will be to needed in the embodiment attached
Figure is briefly described, it should be understood that the following drawings illustrates only certain embodiments of the present invention, therefore is not construed as pair
The restriction of scope, for those of ordinary skill in the art, without creative efforts, can also be according to this
A little attached drawings obtain other relevant attached drawings.
Fig. 1 shows the block diagram of the code management system provided in one embodiment of the invention.
Fig. 2 shows the code administration method flow diagram provided in one embodiment of the invention.
Fig. 3 shows the code administration method partial process view provided in another embodiment of the present invention.
Fig. 4 shows the code administration method partial process view provided in one embodiment of the invention.
Fig. 5 shows the code administration method partial process view provided in one embodiment of the invention.
Fig. 6 shows the block diagram of the code administration server provided in one embodiment of the invention.
Fig. 7 shows the block diagram of the code administration device provided in one embodiment of the invention.
Icon:10- code administration servers;20- clients;30- monitors control server;101- processors;102- is deposited
Reservoir;103- buses;104- communication interfaces;200- code administration devices;The first acquisition modules of 201-;202- second obtains mould
Block;The first execution modules of 203-;The second execution modules of 204-.
Specific embodiment
Below in conjunction with attached drawing in the embodiment of the present invention, the technical solution in the embodiment of the present invention is carried out clear, complete
Ground describes, it is clear that described embodiment is only part of the embodiment of the present invention, instead of all the embodiments.Usually exist
The component of the embodiment of the present invention described and illustrated in attached drawing can configure to arrange and design with a variety of herein.Cause
This, the detailed description of the embodiment of the present invention to providing in the accompanying drawings is not intended to limit claimed invention below
Scope, but it is merely representative of the selected embodiment of the present invention.Based on the embodiment of the present invention, those skilled in the art are not doing
Go out all other embodiments obtained on the premise of creative work, belong to the scope of protection of the invention.
It should be noted that:Similar label and letter represents similar terms in following attached drawing, therefore, once a certain Xiang Yi
It is defined, then it further need not be defined and explained in subsequent attached drawing in a attached drawing.Meanwhile the present invention's
In description, term " first ", " second " etc. are only used for distinguishing description, and it is not intended that instruction or hint relative importance.
Fig. 1 is refer to, Fig. 1 shows the block diagram of code management system provided in an embodiment of the present invention.Dematron
Reason system includes code administration server 10, at least one client 20 and monitors control server 30.Code administration service
Device 10 is communicated to connect at least one client 20, and is communicated to connect with monitoring control server 30, to realize that code administration takes
The friendship being engaged between device 10 and at least one client 20 and between code administration server 10 and monitoring control server 30
Mutually.
In embodiments of the present invention, code administration server 10 may be, but not limited to, Gerrit servers, code administration
Server 10 can be used for obtaining the pending code that developer uploads, and related evaluation people is notified to carry out pending code
Evaluation.Client 20 may be, but not limited to, developer or evaluate the laptop of people, desktop computer etc., client
20, which can be used for developer, uploads pending code, the pending code of evaluation people's examination & verification and developer in pending generation
Code examination & verification confirms storage etc. after passing through.It monitors control server 30 and may be, but not limited to, Jenkins servers, monitor control
Server 30 can be used for the evaluation state for monitoring code administration server 10.
Fig. 2 is refer to, Fig. 2 shows the code administration method flow diagram provided in one embodiment of the invention.Dematron
Reason method comprises the following steps:
Step S101 obtains pending nuclear information, wherein, pending information includes pending code.
In embodiments of the present invention, pending information includes pending code and evaluation list, and evaluation list includes multiple
People's information is evaluated, evaluation people's information can be to determine the unique mark of the personal part of evaluation, such as name, mailbox, IP address etc..Make
For a kind of embodiment, pending nuclear information is that source code is modified by developer to obtain pending code, will be pending
It is submitted to after core code verification on code administration server 10, and evaluation people is specified when pending code is submitted, obtained
Evaluate list.
As a kind of embodiment, it is necessary to carry out code administration server 10 in advance before pending nuclear information is obtained
Authority configuration and the triggering configuration for monitoring control server 30.
The authority configuration process of code administration server 10 can be:
First, multiple user groups are created on code administration server 10, and corresponding people is added in each user group
Member, the plurality of user group include developer groups, reviewer groups and Super Reviewer groups, wherein, Developer groups
For developer, reviewer groups are evaluation people, and Super Reviewer groups are special approval permission group;Then, will
The authority configuration of developer groups is can perform " Verified+1 " and " Submit " operation, by the permission of reviewer groups
It is configured to that " Code Review+1 " operation can be performed, is that can perform by the authority configuration of Supper Reviewer groups
" Code Reviewer+2 " is operated, and Supper Reviewer groups can prevent the stability of interference from human factor system, for example,
The evaluation people that evaluating list is included in personnel or evaluation list without evaluating permission can not be being provided in the time limit into line code
Evaluation and execution " Code Review+1 " operation etc..
Monitoring the triggering configuration process of control server 30 can be:
First, the triggering plug-in unit (for example, Gerrit Trigger) of code administration server 10 is installed and configured, to use
Monitor the evaluation action that control server 30 monitors code administration server 10, it is necessary to be installed on control server 30 is monitored
Plug-in unit (for example, Gerrit Trigger), and monitoring of the configuration to code administration server 10 in plug-in unit is triggered are triggered, specifically
Monitoring configuration it is as shown in table 1 below;
Table 1 triggers the monitoring allocation list of plug-in unit
Then, addition automatically processes task in code administration server 10 is monitored, which touches
Device is sent out as triggering plug-in unit (for example, Gerrit Trigger), trigger condition is " Code Review " and " Verified ".
Step S102 obtains the first msu message audited successively to pending code and multiple assisted verifications letter
Breath.
In embodiments of the present invention, the first msu message can be developer carry out pending code first trial, and
The information that first trial obtains after.Assisted verification information can be that evaluation people carries out review to pending code, and lead in review
Later the information obtained.
As a kind of embodiment, after the pending code for getting developer's submission, developer logs in code
Management server 10 carries out first trial to pending code, and first trial can include, but are not limited to audit the retraction lattice of pending code
Formula with source code it is whether consistent, remove red space part, whether modification content correct, whether name significant, in annotation
Whether appearance meets the requirements.After developer's first trial is errorless, " Verified+1 " operation is performed, clicks on " Publish
Comments ", so that code administration server 10 gets the first msu message.
After getting the first msu message, according to the first msu message, multiple evaluation people information into evaluation list
Send prompt message (for example, mail notification, short massage notice etc.) so that each evaluation people logs in dematron after receiving prompt message
Server 10 is managed, review is carried out to pending code.If it is errorless to evaluate people's review, " Code Review+1 " operation is performed,
It clicks on " Publish Comments ", so that code administration server 10 gets assisted verification information;If evaluate people's review
It is wrong, then " Code Review-1 " operation is performed, is clicked on " Publish Comments ", so that code administration server 10 is logical
Know that developer modifies to pending diamante, and resubmited after the modification.That is, once there is evaluation
People carries out pending code review not by the way that then the pending code can be returned to developer and repaiied by code server
Change, until evaluation people review by, that is, only evaluation people perform " Code Review+1 " operation, click on
When " Publish Comments ", code administration server 10 can just get evaluation people review by assisted verification believe
Breath.
Multiple assisted verification information are sent to monitoring control server, obtained to multiple assisted verifications by step S103
The second msu message that information is audited.
In embodiments of the present invention, multiple evaluations are got per capita to carry out pending code review and pass through multiple auxiliary
It helps after msu message, multiple assisted verification information is sent to monitoring control server 30, so as to monitor control server
30 judge the corresponding evaluation people's information of multiple assisted verification information whether in list is evaluated, that is, evaluation list is corresponding
Whether all evaluation people have been carried out " Code Review+1 " operation, if it is, the second msu message is generated, that is,
" Code Reviewer+2 " operation is performed in code administration server 10.
As a kind of embodiment, automatically processing task and can be taken to code administration in code administration server 10 is monitored
Business device 10 is operated, and after the message of triggering plug-in unit (for example, Gerrit Trigger) is received, the task of automatically processing can be into
The following operating process of row:First, it is right that code administration 10 querying triggering plug-in units (for example, Gerrit Trigger) of server are connected
The information for the code administration server 10 answered;Then, the evaluation people's information for having performed " Code Review+1 " operation is obtained,
And with evaluation list compared, if perform " Code Review+1 " operation evaluation people information not in list is evaluated,
It is added in evaluation list;If perform evaluation people's information of " Code Review+1 " operation and commenting in evaluation list
People's information all same is examined, then performs the operation of " Code Review+2 ".
It should be noted that in case of emergency, for example, evaluation list includes the personnel without evaluating permission or comments
Examining the evaluation people in list can not be when providing to carry out code review in the time limit and perform " Code Review+1 " operation, especially
" Code Review+2 " operation can directly be performed after pending code review by auditing permission group Supper Reviewer groups,
So as to ensure that code submits being smoothed out for flow.
Step S104 according to the first msu message and the second msu message, changes the examination & verification state of pending code, completes
The storage of pending code.
In embodiments of the present invention, after getting the first msu message and the second msu message, that is, in exploit person
Member performs " Verified+1 " and after each evaluation performs " Code Reviewer+2 " operation per capita, and modification is pending
The examination & verification state of core code passes through for examination & verification, that is, the examination & verification state of pending code is revised as from " Review "
" Submit " so that developer clicks on " Submit ", completes the storage of pending code.
Compared with prior art, the embodiment of the present invention has adapted to the strategy of code administration using more people's review mechanisms are forced
With the continually changing situation of software project situation, in project key node, each code, which is submitted, needs more than two evaluation people to examine
Core after the embodiment of the present invention ensures that all evaluation people in evaluation list audit and pass through, monitors control clothes by that could be put in storage
Business device 30 can just perform " Code Review+2 " operation, and the logic that can judgement perform " Code Review+2 " operation can be
It monitors and is flexibly set by script logic in control server 30;
In addition, to prevent the stability of interference from human factor system, for example, evaluation list includes the people without evaluating permission
Member or the evaluation people evaluated in list can not carry out code review within the regulation time limit and be grasped with " Code Review+1 " is performed
Make, special approval permission group Supper Reviewer groups are with the addition of on code administration server 10.Therefore, in emergency
Under, this group of personnel can directly perform " Code Review+2 " operation after pending code review, ensure that code submits stream
Cheng Buhui is stuck in the link of " Code Review+2 ", further improves system stability and work efficiency.
Fig. 3 is refer to, Fig. 3 shows the code administration method partial process view provided in one embodiment of the invention.This
The code administration method partial process view that embodiment provides is applied in code administration server 10, comprises the following steps:
Step S1021 obtains the first msu message that developer carries out pending code first trial.
In embodiments of the present invention, the first msu message can be developer carry out pending code first trial, and
The information that first trial obtains after, first trial can include, but are not limited to audit the indertform of pending code with source code
Whether unanimously, red space part is removed, whether modification content is correct, whether name is significant, whether notes content conforms to
It asks.After developer's first trial is errorless, " Verified+1 " operation is performed, is clicked on " Publish Comments ", so that code
Management server 10 gets the first msu message.
Step S1022, according to the first msu message, multiple evaluation people information into evaluation list send prompting letter
Breath, so that each the corresponding evaluation of evaluation people's information carries out review to pending code per capita.
In embodiments of the present invention, prompt message may be, but not limited to, mail notification, short massage notice etc..
Step S1023 obtains the corresponding evaluation of each evaluation people's information and carries out the multiple of review to pending code per capita
Assisted verification information.
In embodiments of the present invention, if evaluation people's review is errorless, " Code Review+1 " operation is performed, is clicked on
" Publish Comments ", so that code administration server 10 gets assisted verification information;If it is wrong to evaluate people's review,
" Code Review-1 " operation is then performed, is clicked on " Publish Comments ", so that the notice exploitation of code administration server 10
Personnel modify to pending diamante, and are resubmited after the modification.
Fig. 4 is refer to, Fig. 4 shows the code administration method partial process view provided in one embodiment of the invention, this
The code administration method partial process view that embodiment provides is applied in code administration server 10, comprises the following steps:
Step S1031, by evaluation list synchronization to monitoring control server.
In embodiments of the present invention, evaluating list includes evaluation people's information, by evaluation list synchronization to monitoring control service
In device 30, multiple assisted verification information are audited so as to monitor control server 30, obtain the second msu message.
Multiple assisted verification information are sent to monitoring control server by step S1032, so as to monitor control server
Multiple assisted verification information are audited successively according to each evaluation people's information in evaluation list, obtain the second examination & verification letter
Breath.
In embodiments of the present invention, multiple assisted verification information are sent to after monitoring control server 30, monitored
Whether each evaluation people's information that control server 30 judges to evaluate successively in list has corresponding assisted verification information, also
It is to say, obtains the evaluation people's information for having performed " Code Review+1 " operation, and compared with evaluation list, if holds
The evaluation people information of row " Code Review+1 " operation is then added to not in list is evaluated in evaluation list;Work as judgement
When usually each evaluation people's information in list has corresponding assisted verification information, that is to say, that if performing " Code
Evaluation people's information of Review+1 " operations is then monitored control server 30 and is held with evaluating evaluation people's information all same in list
The operation of row " Code Review+2 ", so that code administration server 10 obtains the second msu message.
Compared with prior art, after all evaluation people that the embodiment of the present invention ensures in evaluation list audit and pass through, prison
Listen control server 30 that can just perform " Code Review+2 " operation, can judgement perform patrolling for " Code Review+2 " operation
Collecting can flexibly be set in control server 30 is monitored by script logic.
Fig. 5 is refer to, Fig. 5 shows the code administration method partial process view provided in one embodiment of the invention, this
The code administration method partial process view that embodiment provides is applied in code administration server 10, comprises the following steps:
Step S1041, according to the first msu message and the second msu message, the examination & verification state for changing pending code is careful
Core by, and show submission mark.
In embodiments of the present invention, perform " Verified+1 " in developer and each evaluation performs per capita
After " Code Reviewer+2 " operation, change the examination & verification state of pending code and pass through for examination & verification, that is, by pending generation
The examination & verification state of code is revised as " Submit " from " Review ", and shows submission mark " Submit ".
Step S1042 based on developer to submitting the confirmation operation identified, completes the storage of pending code.
In embodiments of the present invention, confirmation operation can be that developer clicks on submission mark " Submit ", to complete to treat
Audit the storage of code.
Compared with prior art, the storage that code is audited in the embodiment of the present invention is confirmed by developer, pending
After code examination & verification passes through, the meeting mail notification developer of code administration server 10 and all evaluation people, developer are learning
After pending code examination & verification is errorless, the code in-stockroom operation of " Submit " is performed.In this way, starting stage that code is submitted and last
Stage all carries out control by developer, improves work efficiency.
Fig. 6 is refer to, Fig. 6 shows the box signal of the code administration server 10 provided in one embodiment of the invention
Figure.Code administration server 10 includes processor 101, memory 102, bus 103 and communication interface 104, the processor
101st, memory 102 and communication interface 104 are connected by bus 103;Processor 101 is used to perform what is stored in memory 102
Executable module, such as computer program.
Wherein, memory 102 may include high-speed random access memory (RAM:Random Access Memory),
Non-labile memory (non-volatile memory), for example, at least a magnetic disk storage may be further included.By extremely
A few communication interface 104 (can be wired or wireless) is realized logical between the system network element and at least one other network element
Letter connection.
Bus 103 can be isa bus, pci bus or eisa bus etc..It is only represented in Fig. 6 with a four-headed arrow, but
It is not offered as only a bus or a type of bus.
Wherein, memory 102 is used to store program, code administration device 200 as shown in Figure 7.The code administration device
200 can be stored in the memory 102 or be solidificated in institute including at least one in the form of software or firmware (firmware)
State the software function module in the operating system of code administration server 10.The processor 101 after receiving and executing instruction,
Described program is performed to realize the code administration method of above-mentioned any one embodiment announcement of the present invention.
Processor 101 may be a kind of IC chip, have the processing capacity of signal.It is above-mentioned during realization
Each step of method can be completed by the integrated logic circuit of the hardware in processor 101 or the instruction of software form.On
The processor 101 stated can be general processor, including central processing unit (Central Processing Unit, abbreviation
CPU), network processing unit (Network Processor, abbreviation NP) etc.;It can also be digital signal processor (DSP), special
Integrated circuit (ASIC), field programmable gate array (FPGA) either other programmable logic device, discrete gate or transistor
Logical device, discrete hardware components.The storage medium is located at memory 102, and processor 101 reads the information in memory 102,
The step of above method being completed with reference to its hardware.
The present embodiment additionally provides a kind of computer readable storage medium, is stored thereon with computer program, computer journey
The code administration method of any one above-mentioned embodiment of the present invention is realized when sequence is performed by processor 101.
Fig. 7 is refer to, Fig. 7 shows the box signal of the code administration device 200 provided in one embodiment of the invention
Figure.Code administration device 200 is held including the first acquisition module 201, the second acquisition module 202, the first execution module 203 and second
Row module 204.
First acquisition module 201, for obtaining pending nuclear information, wherein, pending information includes pending code.
Second acquisition module 202, for obtaining the first msu message for being audited successively to pending code and multiple
Assisted verification information.
In embodiments of the present invention, the second acquisition module 202 is specifically used for obtaining developer to the progress of pending code
First msu message of first trial;According to the first msu message, multiple evaluation people information into evaluation list send prompting letter
Breath, so that each the corresponding evaluation of evaluation people's information carries out review to pending code per capita;Obtain each evaluation people's information pair
The evaluation answered per capita carries out pending code multiple assisted verification information of review.
First execution module 203 is monitored control server for multiple assisted verification information to be sent to, is obtained to more
The second msu message that a assisted verification information is audited.
In embodiments of the present invention, the first execution module 203 is specifically used for evaluate list synchronization to monitoring control service
Device 30;Multiple assisted verification information are sent to monitoring control server 30, so as to monitor control server 30 according to evaluation
Each evaluation people's information in list audits multiple assisted verification information successively, obtains the second msu message.
Second execution module 204, for according to the first msu message and the second msu message, changing examining for pending code
Nuclear state completes the storage of pending code.
In embodiments of the present invention, the second execution module 204 is specifically used for according to the first msu message and the second examination & verification letter
Breath is changed the examination & verification state of pending code and is passed through for examination & verification, and shows submission mark;Based on developer to submitting mark
Confirmation operation completes the storage of pending code.
In conclusion a kind of code administration method, apparatus provided in an embodiment of the present invention, code administration server and storage
Medium, the described method includes:Pending nuclear information is obtained, wherein, pending information includes pending code;It obtains to pending generation
The first msu message and multiple assisted verification information that code is audited successively;Multiple assisted verification information are sent to monitoring
Server is controlled, obtains the second msu message audited to multiple assisted verification information;According to the first msu message and the
Two msu messages change the examination & verification state of pending code, complete the storage of pending code.Compared with prior art, this hair
Pending code in bright embodiment needs multiple examination & verifications and could be put in storage after examination & verification passes through per capita, ensure that the matter that code is submitted
Amount.
In several embodiments provided herein, it should be understood that disclosed apparatus and method can also pass through
Other modes are realized.The apparatus embodiments described above are merely exemplary, for example, flow chart and block diagram in attached drawing
Show the devices of multiple embodiments according to the present invention, method and computer program product architectural framework in the cards,
Function and operation.In this regard, each box in flow chart or block diagram can represent the one of a module, program segment or code
Part, a part for the module, program segment or code include one or more and are used to implement holding for defined logic function
Row instruction.It should also be noted that at some as in the realization method replaced, the function that is marked in box can also be to be different from
The order marked in attached drawing occurs.For example, two continuous boxes can essentially perform substantially in parallel, they are sometimes
It can perform in the opposite order, this is depending on involved function.It is it is also noted that every in block diagram and/or flow chart
The combination of a box and the box in block diagram and/or flow chart can use function or the dedicated base of action as defined in performing
It realizes or can be realized with the combination of specialized hardware and computer instruction in the system of hardware.
In addition, each function module in each embodiment of the present invention can integrate to form an independent portion
Point or modules individualism, can also two or more modules be integrated to form an independent part.
If the function is realized in the form of software function module and is independent production marketing or in use, can be with
It is stored in a computer read/write memory medium.Based on such understanding, technical scheme is substantially in other words
The part contribute to the prior art or the part of the technical solution can be embodied in the form of software product, the meter
Calculation machine software product is stored in a storage medium, is used including some instructions so that a computer equipment (can be
People's computer, server or network equipment etc.) perform all or part of the steps of the method according to each embodiment of the present invention.
And foregoing storage medium includes:USB flash disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), arbitrary access are deposited
The various media that can store program code such as reservoir (RAM, Random Access Memory), magnetic disc or CD.It needs
Illustrate, herein, relational terms such as first and second and the like be used merely to by an entity or operation with
Another entity or operation distinguish, and without necessarily requiring or implying between these entities or operation, there are any this realities
The relation or order on border.Moreover, term " comprising ", "comprising" or its any other variant are intended to the bag of nonexcludability
Contain so that process, method, article or equipment including a series of elements not only include those elements, but also including
It other elements that are not explicitly listed or further includes as elements inherent to such a process, method, article, or device.
In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including the element
Process, method, also there are other identical elements in article or equipment.
The foregoing is only a preferred embodiment of the present invention, is not intended to limit the invention, for the skill of this field
For art personnel, the invention may be variously modified and varied.Within the spirit and principles of the invention, that is made any repaiies
Change, equivalent substitution, improvement etc., should all be included in the protection scope of the present invention.It should be noted that:Similar label and letter exists
Similar terms is represented in following attached drawing, therefore, once being defined in a certain Xiang Yi attached drawing, is then not required in subsequent attached drawing
It is further defined and is explained.
Claims (10)
- A kind of 1. code administration method, which is characterized in that applied to code administration server, the code administration server and prison Control server communication connection is listened, the described method includes:Pending nuclear information is obtained, wherein, the pending information includes pending code;Obtain the first msu message audited successively to the pending code and multiple assisted verification information;The multiple assisted verification information is sent to described monitor and controls server, obtains believing the multiple assisted verification Cease the second msu message audited;According to first msu message and second msu message, the examination & verification state of the pending code is changed, is completed The storage of the pending code.
- 2. the method as described in claim 1, which is characterized in that the pending nuclear information further includes evaluation list, the evaluation List includes multiple evaluation people's information;The step of obtaining the first msu message audited successively to the pending code and multiple assisted verification information, bag It includes:Obtain the first msu message that developer carries out the pending code first trial;According to first msu message, multiple evaluation people information into the evaluation list send prompt message, so that Corresponding evaluate of each evaluation people's information carries out review to the pending code per capita;The corresponding evaluation of each evaluation people's information is obtained per capita to believe multiple assisted verifications of the pending code progress review Breath.
- 3. method as claimed in claim 2, which is characterized in that it is described the multiple assisted verification information is sent to it is described The step of monitoring control server, obtaining the second msu message audited to the assisted verification information, including:The evaluation list synchronization is monitored into control server to described;By the multiple assisted verification information be sent to it is described monitor control server so that it is described monitor control server according to The multiple assisted verification information is audited successively according to each evaluation people's information in the evaluation list, obtains described the Two msu messages.
- 4. method as claimed in claim 3, which is characterized in that the control server of monitoring is according in the evaluation list The step of each evaluation people's information audits successively to the multiple assisted verification information, obtains second msu message, Including:It is corresponding auxiliary that the monitoring control server judges whether each evaluation people's information in the evaluation list has successively Help msu message;It is described to monitor control when judging that each evaluation people's information in the evaluation list has corresponding assisted verification information Server generates the second msu message.
- 5. the method as described in claim 1, which is characterized in that described to be audited according to first msu message with described second The step of information changes the examination & verification state of the pending code, completes the storage of the pending code, including:According to first msu message and second msu message, the examination & verification state of the pending code is changed as examination & verification By, and show submission mark;Based on developer to the confirmation operation for submitting mark, the storage of the completion pending code.
- 6. a kind of code administration device, which is characterized in that applied to code administration server, the code administration server and prison Control server communication connection is listened, described device includes:First acquisition module, for obtaining pending nuclear information, wherein, the pending information includes pending code;Second acquisition module, for obtaining the first msu message audited successively to the pending code and multiple auxiliary Msu message;First execution module, for by the multiple assisted verification information be sent to it is described monitor control server, obtain pair The second msu message that the multiple assisted verification information is audited;Second execution module, for according to first msu message and second msu message, changing the pending generation The examination & verification state of code completes the storage of the pending code.
- 7. device as claimed in claim 6, which is characterized in that the pending nuclear information further includes evaluation list, the evaluation List includes multiple evaluation people's information;Second acquisition module is specifically used for:Obtain the first msu message that developer carries out the pending code first trial;According to first msu message, multiple evaluation people information into the evaluation list send prompt message, so that Corresponding evaluate of each evaluation people's information carries out review to the pending code per capita;The corresponding evaluation of each evaluation people's information is obtained per capita to believe multiple assisted verifications of the pending code progress review Breath.
- 8. device as claimed in claim 7, which is characterized in that first execution module is specifically used for:The evaluation list synchronization is monitored into control server to described;By the multiple assisted verification information be sent to it is described monitor control server so that it is described monitor control server according to The multiple assisted verification information is audited successively according to each evaluation people's information in the evaluation list, obtains described the Two msu messages.
- 9. a kind of code administration server, which is characterized in that the code administration server connects with monitoring control server communication It connects, the code administration server includes:One or more processors;Memory, for storing one or more programs, when one or more of programs are by one or more of processors During execution so that one or more of processors realize the method as any one of claim 1-5.
- 10. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the computer program quilt The method as any one of claim 1-5 is realized when processor performs.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810162793.5A CN108073394A (en) | 2018-02-27 | 2018-02-27 | Code administration method, apparatus, code administration server and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810162793.5A CN108073394A (en) | 2018-02-27 | 2018-02-27 | Code administration method, apparatus, code administration server and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN108073394A true CN108073394A (en) | 2018-05-25 |
Family
ID=62155246
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810162793.5A Pending CN108073394A (en) | 2018-02-27 | 2018-02-27 | Code administration method, apparatus, code administration server and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108073394A (en) |
Cited By (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109002294A (en) * | 2018-07-16 | 2018-12-14 | 浪潮电子信息产业股份有限公司 | A kind of code inspection method, apparatus, equipment and readable storage medium storing program for executing |
CN109558318A (en) * | 2018-11-23 | 2019-04-02 | 北京车和家信息技术有限公司 | A kind of code administration method and code storage distributed system |
CN109614137A (en) * | 2018-11-30 | 2019-04-12 | 北京字节跳动网络技术有限公司 | Software version control method, device, equipment and medium |
CN109739543A (en) * | 2018-12-18 | 2019-05-10 | 杭州茂财网络技术有限公司 | A kind of code inspection method and its equipment |
CN110008258A (en) * | 2019-01-28 | 2019-07-12 | 国网山东省电力公司物资公司 | A kind of full information visualized data processing method based on business driving |
CN110134605A (en) * | 2019-05-16 | 2019-08-16 | 北京达佳互联信息技术有限公司 | Method, apparatus, computer equipment and the storage medium of Validation Code |
CN110825508A (en) * | 2019-11-01 | 2020-02-21 | 浪潮云信息技术有限公司 | Task management method based on Git |
CN111078249A (en) * | 2019-11-08 | 2020-04-28 | 泰康保险集团股份有限公司 | Software updating method, system, device and storage medium |
CN112561370A (en) * | 2020-12-23 | 2021-03-26 | 平安银行股份有限公司 | Software version management method and device, computer equipment and storage medium |
CN112860565A (en) * | 2021-02-24 | 2021-05-28 | 北京皮尔布莱尼软件有限公司 | Code evaluation method, system, computing device and storage medium |
CN113553262A (en) * | 2021-07-22 | 2021-10-26 | 网易(杭州)网络有限公司 | Code auditing method and device, electronic equipment and storage medium |
CN115374762A (en) * | 2022-10-26 | 2022-11-22 | 深圳市明源云采购科技有限公司 | VS code-based code template sharing method and device, electronic equipment and medium |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7904802B1 (en) * | 2005-08-31 | 2011-03-08 | Parasoft Corporation | System and method for software code review |
CN102480466A (en) * | 2010-11-24 | 2012-05-30 | 鸿富锦精密工业(深圳)有限公司 | Electronic pre-evaluating method for work publishment |
CN103473075A (en) * | 2013-09-23 | 2013-12-25 | 迈普通信技术股份有限公司 | Code change control system and method |
CN107622466A (en) * | 2017-07-31 | 2018-01-23 | 上海与德科技有限公司 | Signal auditing system and method |
-
2018
- 2018-02-27 CN CN201810162793.5A patent/CN108073394A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7904802B1 (en) * | 2005-08-31 | 2011-03-08 | Parasoft Corporation | System and method for software code review |
CN102480466A (en) * | 2010-11-24 | 2012-05-30 | 鸿富锦精密工业(深圳)有限公司 | Electronic pre-evaluating method for work publishment |
CN103473075A (en) * | 2013-09-23 | 2013-12-25 | 迈普通信技术股份有限公司 | Code change control system and method |
CN107622466A (en) * | 2017-07-31 | 2018-01-23 | 上海与德科技有限公司 | Signal auditing system and method |
Cited By (15)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109002294A (en) * | 2018-07-16 | 2018-12-14 | 浪潮电子信息产业股份有限公司 | A kind of code inspection method, apparatus, equipment and readable storage medium storing program for executing |
CN109558318B (en) * | 2018-11-23 | 2022-03-29 | 北京车和家信息技术有限公司 | Code management method and code warehouse distributed system |
CN109558318A (en) * | 2018-11-23 | 2019-04-02 | 北京车和家信息技术有限公司 | A kind of code administration method and code storage distributed system |
CN109614137A (en) * | 2018-11-30 | 2019-04-12 | 北京字节跳动网络技术有限公司 | Software version control method, device, equipment and medium |
CN109739543A (en) * | 2018-12-18 | 2019-05-10 | 杭州茂财网络技术有限公司 | A kind of code inspection method and its equipment |
CN110008258A (en) * | 2019-01-28 | 2019-07-12 | 国网山东省电力公司物资公司 | A kind of full information visualized data processing method based on business driving |
CN110134605A (en) * | 2019-05-16 | 2019-08-16 | 北京达佳互联信息技术有限公司 | Method, apparatus, computer equipment and the storage medium of Validation Code |
CN110825508A (en) * | 2019-11-01 | 2020-02-21 | 浪潮云信息技术有限公司 | Task management method based on Git |
CN111078249A (en) * | 2019-11-08 | 2020-04-28 | 泰康保险集团股份有限公司 | Software updating method, system, device and storage medium |
CN112561370A (en) * | 2020-12-23 | 2021-03-26 | 平安银行股份有限公司 | Software version management method and device, computer equipment and storage medium |
CN112561370B (en) * | 2020-12-23 | 2024-05-28 | 平安银行股份有限公司 | Method and device for managing software release, computer equipment and storage medium |
CN112860565A (en) * | 2021-02-24 | 2021-05-28 | 北京皮尔布莱尼软件有限公司 | Code evaluation method, system, computing device and storage medium |
CN113553262A (en) * | 2021-07-22 | 2021-10-26 | 网易(杭州)网络有限公司 | Code auditing method and device, electronic equipment and storage medium |
CN113553262B (en) * | 2021-07-22 | 2023-08-11 | 网易(杭州)网络有限公司 | Code auditing method and device, electronic equipment and storage medium |
CN115374762A (en) * | 2022-10-26 | 2022-11-22 | 深圳市明源云采购科技有限公司 | VS code-based code template sharing method and device, electronic equipment and medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108073394A (en) | Code administration method, apparatus, code administration server and storage medium | |
CN109165856B (en) | Dynamic configuration method, device and storage medium of approval chain | |
Van der Aalst et al. | Prom: The process mining toolkit | |
US10572236B2 (en) | System and method for updating or modifying an application without manual coding | |
Cataldo et al. | Factors leading to integration failures in global feature-oriented development: an empirical analysis | |
US8938648B2 (en) | Multi-entity test case execution workflow | |
CN106575253B (en) | Vision aid for the accident analysis in distributed system | |
US9082093B2 (en) | System and method for non-production environment management | |
US20190121719A1 (en) | Human-readable, language-independent stack trace summary generation | |
US20150370674A1 (en) | Tenant provisioning for testing a production multi-tenant service | |
CN104679717A (en) | Method and management system of elastic cluster deployment | |
Ohira et al. | The impact of bug management patterns on bug fixing: A case study of eclipse projects | |
CN111241157A (en) | Operation behavior backtracking method and device and electronic equipment | |
US20210397447A1 (en) | Automated compliance and testing framework for software development | |
CN112330412A (en) | Product recommendation method and device, computer equipment and storage medium | |
CN109242292A (en) | A kind of asset evaluation method, block chain node device and system | |
Issa et al. | Visual testing of graphical user interfaces: An exploratory study towards systematic definitions and approaches | |
CN109828783A (en) | Document automatic creation method, device, electronic equipment and medium based on code | |
CN108846292A (en) | Desensitization process method and device | |
Amanatidis et al. | Who is producing more technical debt? A personalized assessment of TD principal | |
Manolescu et al. | The repeatability experiment of SIGMOD 2008 | |
US9251013B1 (en) | Social log file collaboration and annotation | |
Hassan et al. | Purification of requirement engineering model for rapid application development | |
da Costa et al. | Unveiling developers contributions behind code commits: an exploratory study | |
Tyagi et al. | Adopting test automation on agile development projects: A grounded theory study of indian software organizations |
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 | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20180525 |