CN107908420A - A kind of code process method, apparatus and system - Google Patents
A kind of code process method, apparatus and system Download PDFInfo
- Publication number
- CN107908420A CN107908420A CN201711138289.3A CN201711138289A CN107908420A CN 107908420 A CN107908420 A CN 107908420A CN 201711138289 A CN201711138289 A CN 201711138289A CN 107908420 A CN107908420 A CN 107908420A
- Authority
- CN
- China
- Prior art keywords
- code
- demand
- major key
- review
- submission
- 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/70—Software maintenance or management
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q10/00—Administration; Management
- G06Q10/10—Office automation; Time management
- G06Q10/103—Workflow collaboration or project management
Abstract
The embodiment of the present application provides a kind of code process method, apparatus and system, the described method includes:Reception demand request to create, creates demand object, and demand major key corresponding with the demand object is distributed for the demand object;The demand major key is used for demand object described in unique mark;When monitoring that code submits event, demand object corresponding with the demand major key is determined according to the corresponding demand major key of the code of submission, associates the demand object and the code of submission;Create code review object;The review result evaluated to the code is received, the review result is handled;The code is tested, obtains test result;If test result shows that test passes through, the code is issued.The embodiment of the present application can realize that demand creates, code is submitted, the unified management of code review, download multiple software tools without user, reduce the troublesome operation of user, improve code process efficiency.
Description
Technical field
The invention relates to field of computer technology, and in particular to a kind of code process method, apparatus and system.
Background technology
Existing software development management relates generally to demand management, code administration, code review, code tester, code hair
The content of cloth etc..How effectively the links of software development effectively to be managed, to the quality of software development and
Efficiency is most important.In traditional management tool, single management content is often only related to, it is impossible to software development overall flow
Carry out unification, effectively manage.For example, user when carrying out code release management using instrument A, adopted in code review
It is instrument B, using instrument C during test.User needs to download multiple instruments and the hand-off process between multiple instruments,
There are operating efficiency it is low the defects of.
The content of the invention
The embodiment of the present application provides a kind of code process method and device, it is intended to solves at code existing in the prior art
Manage the low technical problem of efficiency.
For this reason, the embodiment of the present application provides following technical solution:
The first aspect of the embodiment of the present application discloses a kind of code process method, including:
Reception demand request to create, creates demand object, is distributed for the demand object corresponding with the demand object
Demand major key;The demand major key is used for demand object described in unique mark;
When monitoring that code submits event, determined and the demand major key according to the corresponding demand major key of the code of submission
Corresponding demand object, associates the demand object and the code of submission;
Create code review object;
The review result evaluated to the code is received, the review result is handled.
Alternatively, it is described when monitor code submit event when, according to the corresponding demand major key of the code of submission determine with
The corresponding demand object of the demand major key, associating the code of the demand object and submission includes:
When monitoring to submit information there are new code, determine that there are code to submit event;
Parse the code and submit information, obtain the demand major key that the code submits information to include;
Demand object corresponding with the demand major key is determined according to the demand major key that the code submits information to include, is closed
Join the code submitted and the demand object.
Alternatively, further included before code review object is created:
Judge that whether the code is submitted in information comprising operation mark;
If the code is submitted in information comprising operation mark, judge that the operation marks whether to be used to indicate to perform code
Evaluation is handled;
The establishment code review object includes:
If judge that the operation mark is used to indicate to perform code review processing, create corresponding with the demand major key
Code review object.
Alternatively, it is described to receive the review result evaluated to the code, at the review result
Reason includes:
The code review comprising demand major key is received as a result, being associated according to the corresponding demand major key of the review result corresponding
Demand object, code and review result, update the status attribute of the code review object.
Alternatively, receiving the review result evaluated to the code, the review result is being handled
Afterwards, the method further includes:
The code is tested, obtains test result;
If test result shows that test passes through, the code is issued;
If test result shows test not by sending test crash information.
Alternatively, the method further includes:
Receive demand modification request, request modification demand object is changed according to the demand.
The second aspect of the embodiment of the present application, discloses a kind of code processing apparatus, including:
Demand creating unit, for receiving demand request to create, creates demand object, for demand object distribution and institute
State the corresponding demand major key of demand object;The demand major key is used for demand object described in unique mark;
Associated codes unit, for when monitor code submit event when, according to the corresponding demand major key of the code of submission
Determine demand object corresponding with the demand major key, associate the demand object and the code of submission;
Creating unit is evaluated, for creating code review object;
Review result processing unit, for receiving the review result evaluated to the code, to the evaluation
As a result handled.
The third aspect of the embodiment of the present application, discloses a kind of code process system, the system comprises code process mould
Block, code submit module, management of appraising module, wherein:
The codeword processing module is used to receive demand request to create, creates demand object, is distributed for the demand object
Demand major key corresponding with the demand object;The demand major key is used for demand object described in unique mark;
The code submits module to be used to receiving code and submits request, the code submit request comprising the code submitted with
And the corresponding demand major key of the code;
The codeword processing module is additionally operable to when monitoring that code submits event, according to the corresponding demand of the code of submission
Major key determines demand object corresponding with the demand major key, associates the demand object and the code of submission;Create code
Evaluate object;
The management of appraising module is used for after the codeword processing module creates code review object, and mould is submitted to code
The code that block is submitted is evaluated, and obtains review result, and review result is sent to codeword processing module;
The codeword processing module is additionally operable to receive the review result for evaluating the code, to the evaluation
As a result handled.
The fourth aspect of the embodiment of the present application, discloses a kind of code processing apparatus, includes memory, and one or
The more than one program of person, one of them either more than one program storage in memory and be configured to by one or
More than one processor performs the code process method described in one or more in the embodiment of the present application first aspect.
5th aspect of the embodiment of the present application, discloses a kind of machine readable media, is stored thereon with instruction, when by one
Or multiple processors are when performing so that device performs the code process described in one or more in the embodiment of the present application first aspect
Method.
Code process method and device provided by the embodiments of the present application, can pass through demand major key joint demand object, generation
Code and code review as a result, realize demand create, code submit, the unified management of code review, without user download it is multiple
Software tool, reduces the troublesome operation of user, improves code process efficiency.
Brief description of the drawings
In order to illustrate the technical solutions in the embodiments of the present application or in the prior art more clearly, 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 described in application, for those of ordinary skill in the art, without creative efforts,
Other attached drawings can also be obtained according to these attached drawings.
Fig. 1 is one application scenarios schematic diagram of the embodiment of the present application;
Fig. 2 is a kind of code process method flow diagram provided by the embodiments of the present application;
Fig. 3 is a kind of code process method flow diagram that another embodiment of the application provides;
Fig. 4 is a kind of code process method flow diagram that the application another embodiment provides
Fig. 5 is a kind of code process system schematic provided by the embodiments of the present application;
Fig. 6 is a kind of code processing apparatus schematic diagram provided by the embodiments of the present application;
Fig. 7 is a kind of block diagram for code processing apparatus according to an exemplary embodiment.
Embodiment
In order to make those skilled in the art more fully understand the present invention program, below in conjunction with the embodiment of the present invention
Attached drawing, is clearly and completely described the technical solution in the embodiment of the present invention, it is clear that described embodiment is only this
Invention part of the embodiment, instead of all the embodiments.Based on the embodiments of the present invention, those of ordinary skill in the art exist
All other embodiments obtained under the premise of creative work are not made, belong to the scope of protection of the invention.
The term used in the embodiment of the present application is only merely for the purpose of description specific embodiment, and is not intended to be limiting
The application.In the embodiment of the present application and " one kind " of singulative used in the attached claims, " described " and "the"
It is also intended to including most forms, unless context clearly shows that other implications.It is also understood that term used herein
"and/or" refers to and any or all may be combined comprising the associated list items purpose of one or more.
The application scenarios shown in the application exemplary embodiment are introduced below in conjunction with attached drawing
Referring to Fig. 1, for the exemplary application scene of the embodiment of the present application.Certainly, the embodiment of the present application is also applied to
In other scenes, it is not limited herein.
As shown in Figure 1, the method for the embodiment of the present application is applied in terminal 101, code process dress is configured with terminal 101
Put and be used for realization code process method provided by the embodiments of the present application.As shown in Figure 1, code processing apparatus creates demand object,
Developer writes corresponding code for demand object, and submits code;When monitoring that code submits event, according to submission
The corresponding demand major key of code determine demand object corresponding with the demand major key, associate the demand object and submission
Code;After submitting code, code processing apparatus can create evaluation object according to the evaluation operation mark submitted in code, right
Code is evaluated, and submits review result;After evaluation, code is tested, if test passes through, generation can be issued
Code;If not by sending test crash information, developer is accordingly changed according to failure information.
Wherein, terminal 101 refers to the terminal device towards developer, it includes but not limited to:Desktop computer, notes
The equipment such as this computer, tablet.
Understand the application it should be noted that above application scene is for only for ease of and show, the embodiment party of the application
Formula is unrestricted in this regard.On the contrary, presently filed embodiment can be applied to applicable any scene.
Based on above application scene, below the embodiment of the present application a kind of code process method is provided, referring to Fig. 2, Fig. 2 is this
Apply for a kind of code process method flow diagram that embodiment provides, the method is applied to terminal, and this method includes:
S201, receives demand request to create, creates demand object, for demand object distribution and the demand object pair
The demand major key answered;The demand major key is used for demand object described in unique mark.
Terminal distributes different demand major keys for each different demand object created, and its object is to unique mark to need
Object is sought, distinguishes different demand objects.Such as developer while Items in order A and project B, then terminal can be respectively soft
The corresponding demand objects of part A distribute the first demand major key, and the corresponding demand objects of software B distribute the second demand major key, in order to
Distinguish two different project demands.Wherein, the first demand major key and the second demand major key are only used for representing without other implications
Two demand major keys are different.
Meanwhile demand major key is included in the code of submission, in order to which corresponding need can be associated with when submitting code
Object is sought, and when being evaluated to code, review result, code, demand object can be associated, easy to exploit person
Member fast and efficiently understands the relevant information corresponding to some demand object.
S202, when monitoring that code submits event, determines and the demand according to the corresponding demand major key of the code of submission
The corresponding demand object of major key, associates the demand object and the code of submission.
In some embodiments, when monitoring that code submits event, according to the corresponding demand major key of the code of submission
Determine demand object corresponding with the demand major key, associating the code of the demand object and submission includes:When monitoring
When submitting information there are new code, determine that there are code to submit event, and parse the code and submit information, obtain the generation
Code submits the demand major key that information includes, and the demand major key for submitting information to include further according to the code determines and the demand master
The corresponding demand object of key, associates the code of submission and the demand object.
When terminal monitoring is to code submission event, parsing code submits information, obtains demand major key, and pass through demand major key
Demand object can be directly linked, it is not necessary to which developer searches corresponding demand object from multiple demand objects, and saving is looked into
Look for the time, improve software development efficiency.Meanwhile terminal is associated the code of submission with demand object by demand major key,
When the code that terminal-pair is submitted is evaluated, directly code can be compared with demand object, check whether code is full
Sufficient demand object, more efficiently carries out code review.
In addition, in some embodiments, developer may write multistage code with reality for a demand object
The now target of the demand object, therefore, by the method for the embodiment of the present application, between multistage code can by demand major key into
Row association, forms a complete code, avoids when terminal monitoring to multiple codes submits information, None- identified each generation
The problem of between code with the presence or absence of associating, and cannot quickly search corresponding demand object.
S203, creates code review object.
In some embodiments, further included before code review object is created:Judge that the code is submitted in information
Whether operation mark is included;If the code is submitted in information comprising operation mark, judge that the operation marks whether to be used to refer to
Show and perform code review processing;If judge that the operation mark is used to indicate to perform code review processing, create and the need
Seek the corresponding code review object of major key.Wherein, operation mark is used to indicate the operation performed in next step, such as evaluation operation mark
Note etc..
After step S202, code has been associated with demand object, is operated when terminal judges that code is submitted in information
During labeled as evaluation operation mark, rapidly the demand major key in information can be submitted to create corresponding code review according to code
Object, and code is effectively evaluated, improve evaluation efficiency.
S204, receives the review result evaluated to the code, and the review result is handled.
In some embodiments, the review result evaluated to the code is received, to the review result
Carrying out processing includes:The code review comprising demand major key is received as a result, being closed according to the corresponding demand major key of the review result
Join corresponding demand object, code and review result, update the status attribute of the code review object.Wherein code review
The status attribute of object can be not evaluate, carrying out, be turned off etc..Moreover, when state is to be turned off, can carry out
Subsequent testing operation.
After above-mentioned sequence of operations, demand object, code, review result all include demand major key, therefore, can be with
Three is associated by demand major key, as developer it should be understood that during the relevant information of certain demand object, demand can be passed through
Major key is directly viewable the corresponding code of demand object and review result, it is not necessary to is switched between multiple instruments so that
Related link involved by software development flow is more smooth efficiently.
In actual software development process, it is necessary to test code, Validation Code after completing to the evaluation of code
Whether meet demand, to ensure that code can be issued smoothly.Developer is needed manually to trigger test operation in conventional art, and
And the test needs to carry out in other testing tool, that is, needs into corresponding testing tool to complete code migrating
Test job so that testing efficiency is relatively low.However, the embodiment of the present application provides a kind of test method, when terminal receives evaluation
As a result after, the operation of automatic trigger code tester, reduces the troublesome operation of user, improves testing efficiency.
Therefore, after the review result evaluated to the code is received, the review result is handled,
Method further includes:The code is tested, obtains test result;If test result shows that test passes through, the generation is issued
Code;If test result shows test not by sending test crash information.
In some embodiments, code process method further includes:Receive demand modification request, changed according to the demand
Ask modification demand object.
After the completion of test, terminal can carry out different processing operations for different test results, when test passes through,
Terminal can be issued into line code automatically;When test crash, terminal sends test crash information, and developer can be according to mistake
Lose information and carry out code revision, or can also modify to demand object.
Using code process method provided by the embodiments of the present application, demand major key joint demand object, code can be passed through
And code review is as a result, it is possible to achieve demand establishment, code submission, the unified management of code review, are downloaded more without user
A software tool, reduces the troublesome operation of user, improves code process efficiency.Meanwhile evaluation post code is carried out in time
Test, ensure that code can be issued smoothly.
Presently filed embodiment is more clearly understood that for the ease of those skilled in the art, with reference to shown in Fig. 1
The application implementation is introduced in application scenarios.It should be noted that the specific example is only so that people in the art
Member more clearly understands the application, but presently filed embodiment is not limited to the specific example.
It is a kind of another flow diagram of code process method provided by the embodiments of the present application referring to Fig. 3.As shown in figure 3,
This method includes:
S301, codeword processing module receive demand request to create, create demand object, for demand object distribution and institute
State the corresponding demand major key of demand object;The demand major key is used for demand object described in unique mark.
In order to make it easy to understand, from the angle of developer, the introduction to the embodiment of the present application method.Referring to Fig. 1, exploitation
Personnel create operation in the interface internal trigger demand that terminal is provided, after codeword processing module receives demand request to create, wound
Build demand object.For corresponding demand object, developer carries out code development, and triggers code and submit operation.
S302, code submit module to receive code and submit request, the code submit request comprising the code submitted and
The corresponding demand major key of the code.
After code submits module to receive code submission request, the code received and the corresponding demand master of code are submitted
Key.
S303, it is true according to the corresponding demand major key of the code of submission when codeword processing module monitors that code submits event
Fixed demand object corresponding with the demand major key, associates the demand object and the code of submission;Create code review pair
As.
When codeword processing module monitors to submit information there are new code, determine that there are code to submit event, and solve
Analyse code and submit information, obtain the demand major key that code submits information to include, meanwhile, the demand included according to code submission information
Major key determines demand object corresponding with demand major key, associates the code and demand object of submission.
Before evaluation object is created, codeword processing module judges that whether code is submitted in information comprising operation mark, institute
Operation mark is stated to be used to indicate that the operation performed in next step, such as evaluation operation mark are used to indicate to perform code review processing.
If code submits the operation mark included in information to be used to indicate to perform code review processing, codeword processing module, which is created in, to be needed
Seek the corresponding code review object of major key.
S304, the code that management of appraising module submits module to submit code are evaluated, and review result are obtained, to code
Processing module sends review result.
After codeword processing module creates code review object, management of appraising module evaluates code.
S305, codeword processing module receives the review result evaluated to the code, to the review result
Handled.
Codeword processing module receives the code review comprising demand major key as a result, according to the corresponding demand major key of review result
Corresponding demand object, code and review result are associated, updates the status attribute of code review object.Wherein, code review
The status attribute of object can be not evaluate, carrying out, be turned off etc..Moreover, when status attribute for be turned off when, just into
The follow-up test operation of row.
Using code process method provided by the embodiments of the present application, demand major key joint demand object, code can be passed through
And code review is as a result, it is possible to achieve demand establishment, code submission, the unified management of code review, are downloaded more without user
A software tool, reduces the troublesome operation of user, improves code process efficiency.
It is further detailed to the application with reference to Fig. 4 in order to make the features described above of the application, advantage more obvious understandable
Explanation.
It is a kind of another flow diagram of code process method provided by the embodiments of the present application referring to Fig. 4, this method bag
Include:
S401, terminal receives demand request to create, and creates demand object and be demand object distribution requirements major key.
S402, terminal monitoring to code submit event, and parsing code submits information, obtain demand major key and operation mark
Note.
Code is submitted to terminal by developer, wherein, submit information in can include corresponding demand major key and into
The operation mark of row next step.
Code and demand object are associated by S403, terminal by demand major key.
S404, terminal judge that operation marks whether for evaluation operation mark, if so, carrying out step S405;If not, into
Row step S402.
S405, terminal create code review object corresponding with demand major key according to evaluation operation mark.
Wherein, code is submitted in information and marked comprising operation, and the operation is marked labeled as evaluation operation, at this time, eventually
End is according to submitting the demand major key in information to create code review object, so as to which the code of submission is compared and is evaluated.
S406, terminal major key synchronisation requirement information and code modification information according to demand.
Terminal is synchronized the modification information in the demand information and code in demand object by demand major key, with
It is convenient for step S407.
S407, terminal combination demand information are compared and evaluate to code.
Information compares whether code meets corresponding demand to terminal according to demand, and code is commented according to comparison result
Examine, obtain review result.
S408, terminal check evaluation terminates, and closes evaluation.
S409, terminal major key synchronization review information, and the state of code review object is set to evaluation and is terminated according to demand.
S410, terminal automatic trigger integrated platform test code, obtain test result.
S411, judges test result, if test passes through, enters step S410;If not, enter step S411.
S412, automatic release code are reached the standard grade.
S413, terminal send test crash information to developer.
Code process method provided by the embodiments of the present application, passes through demand major key joint demand object, code and code
Review result, it is possible to achieve demand creates, code is submitted, the unified management of code review, and multiple software works are downloaded without user
Tool, reduces the troublesome operation of user, improves code process efficiency.
Above is the application embodiment of the method, below provides the embodiment of the present application the corresponding system of method and is introduced.
Referring to Fig. 5, Fig. 5 is a kind of code process system schematic provided by the embodiments of the present application, which includes:
Codeword processing module 501, for receiving demand request to create, creates demand object, is distributed for the demand object
Demand major key corresponding with the demand object;The demand major key is used for demand object described in unique mark.Code submits mould
Block 502, submits request, the code submits request to include the code and the corresponding need of the code submitted for receiving code
Seek major key.
Codeword processing module 501, is additionally operable to when monitoring that code submits event, according to the corresponding demand of the code of submission
Major key determines demand object corresponding with the demand major key, associates the demand object and the code of submission;Create code
Evaluate object.
Management of appraising module 503, for after the codeword processing module creates code review object, mould to be submitted to code
The code that block is submitted is evaluated, and obtains review result, and review result is sent to codeword processing module.
Codeword processing module 501, is additionally operable to receive the review result for evaluating the code, to the evaluation
As a result handled.
Wherein, in the embodiment of the present application the specific implementation of each module be referred to embodiment of the method shown in Fig. 2 to Fig. 4 and reality
It is existing.
The corresponding equipment of method provided by the embodiments of the present application is introduced below.
It is code processing apparatus schematic diagram provided by the embodiments of the present application referring to Fig. 6, described device includes:
Demand creating unit 601, for receiving demand request to create, creates demand object, is distributed for the demand object
Demand major key corresponding with the demand object;The demand major key is used for demand object described in unique mark.
Associated codes unit 602, for when monitor code submit event when, according to the corresponding demand master of the code of submission
Key determines demand object corresponding with the demand major key, associates the demand object and the code of submission.
The associated codes unit can also carry out following divide:
Monitoring unit, submits information for monitoring new code, determines that there are code to submit event.
Resolution unit, submits information for parsing the code, obtains the demand major key that the code submits information to include.
Associative cell, the demand major key for submitting information to include according to the code determine corresponding with the demand major key
Demand object, associate the code of submission and the demand object.
Creating unit 603 is evaluated, for creating code review object.
The evaluation creating unit is specifically used for:Judge that whether the code is submitted in information comprising operation mark;If institute
State code to submit in information comprising operation mark, judge that the operation marks whether to be used to indicate to perform code review processing;If
When judging that the operation mark is used to indicate to perform code review processing, code review pair corresponding with the demand major key is created
As.
Review result processing unit 604, for receiving the review result evaluated to the code, to institute's commentary
Fruit of concluding is handled.
The review result processing unit is specifically used for:The code review comprising demand major key is received as a result, according to described
Review result corresponding demand major key association corresponding demand object, code and review result, update the code review pair
The status attribute of elephant.
In some embodiments, the code processing apparatus can also include test cell 505, after to evaluation
Code is tested, and obtains test result.
The test cell is specifically used for:If test result shows that test passes through, the code is issued;If test result table
Bright test is not by sending test crash information;And receive demand modification request, request modification need are changed according to the demand
Seek object.
Wherein, the specific implementation of unit is referred to the implementation of method shown in Fig. 2 to Fig. 4 in the embodiment of the present application device
Example and realize, details are not described herein.
It is the block diagram for the code processing apparatus that another embodiment of the application provides referring to Fig. 7.Including:At least one processing
Device 701 (such as CPU), memory 702 and at least one communication bus 703, the connection communication being used for realization between these devices.
Processor 701 is used to perform the executable module stored in memory 702, such as computer program.Memory 702 may include
High-speed random access memory (RAM:Random Access Memory), it is also possible to further include non-labile memory
(non-volatile memory), for example, at least a magnetic disk storage.
The processor 701 is specifically used for performing a kind of operation of code process method, specifically includes:
Reception demand request to create, creates demand object, is distributed for the demand object corresponding with the demand object
Demand major key;The demand major key is used for demand object described in unique mark;
When monitoring that code submits event, determined and the demand major key according to the corresponding demand major key of the code of submission
Corresponding demand object, associates the demand object and the code of submission;
Create code review object;
The review result evaluated to the code is received, the review result is handled.
In some embodiments, when the execution of processor 701 monitors that code submits event, according to the code of submission
Corresponding demand major key determines demand object corresponding with the demand major key, associates the demand object and the code of submission
Including:
When monitoring to submit information there are new code, determine that there are code to submit event;The code is parsed to submit
Information, obtains the demand major key that the code submits information to include;It is true according to the demand major key that the code submits information to include
Fixed demand object corresponding with the demand major key, associates the code of submission and the demand object.
In some embodiments, residing processor 701 specifically is additionally operable to perform following operational order:
Further included before code review object is created:Judge that whether the code is submitted in information comprising operation mark;
If the code is submitted in information comprising operation mark, judge that the operation marks whether to be used to indicate to perform at code review
Reason.
The establishment code review object includes:If judging, the operation mark is used to indicate to perform code review processing
When, create code review object corresponding with the demand major key.
In some embodiments, processor 701 performs the review result for receiving and being evaluated to the code, right
The review result, which carries out processing, to be included:The code review comprising demand major key is received as a result, being corresponded to according to the review result
Demand major key association corresponding demand object, code and review result, update the status attribute of the code review object.
In some embodiments, processor 701 specifically is additionally operable to perform following operational order:
The code is tested, obtains test result;If test result shows that test passes through, the code is issued;
If test result shows test not by sending test crash information.
In some embodiments, processor 701 specifically is additionally operable to perform following operational order:
Receive demand modification request, request modification demand object is changed according to the demand.
Wherein, the realization of the embodiment of the present application each unit or module be referred to embodiment of the method shown in Fig. 2 to Fig. 4 and reality
It is existing.
Those skilled in the art will readily occur to the application its after considering specification and putting into practice invention disclosed herein
Its embodiment.This application is intended to cover any variations, uses, or adaptations of the application, these modifications, purposes or
Person's adaptive change follows the general principle of the application and including undocumented common knowledge or usual in the art
Technological means.Description and embodiments are considered only as exemplary, and the true scope and spirit of the application will by following right
Ask and point out.
It should be appreciated that the precision architecture that the application is not limited to be described above and is shown in the drawings, and
And various modifications and changes may be made without departing from the scope thereof.Scope of the present application is only limited by appended claim
It should be noted that herein, relational terms such as first and second and the like are used merely to a reality
Body or operation are distinguished with another entity or operation, are deposited without necessarily requiring or implying between these entities or operation
In any this actual relation or order.Moreover, term " comprising ", "comprising" or its any other variant are intended to
Non-exclusive inclusion, so that process, method, article or equipment including a series of elements not only will including those
Element, but also including other elements that are not explicitly listed, or further include as this process, method, article or equipment
Intrinsic key element.In the absence of more restrictions, the key element limited by sentence "including a ...", it is not excluded that
Also there are other identical element in process, method, article or equipment including the key element.The application can be by calculating
Described in the general context for the computer executable instructions that machine performs, such as program module.Usually, program module includes holding
Row particular task realizes the routine of particular abstract data type, program, object, component, data structure etc..It can also divide
Put into practice the application in cloth computing environment, in these distributed computing environment, by by communication network and connected long-range
Processing equipment performs task.In a distributed computing environment, program module can be located at the local including storage device
In remote computer storage medium.
Each embodiment in this specification is described by the way of progressive, identical similar portion between each embodiment
Divide mutually referring to what each embodiment stressed is the difference with other embodiment.It is real especially for device
For applying example, since it is substantially similar to embodiment of the method, so describing fairly simple, related part is referring to embodiment of the method
Part explanation.Device embodiment described above is only schematical, wherein described be used as separating component explanation
Unit may or may not be physically separate, may or may not be as the component that unit is shown
Physical location, you can with positioned at a place, or can also be distributed in multiple network unit.Can be according to the actual needs
Some or all of module therein is selected to realize the purpose of this embodiment scheme.Those of ordinary skill in the art are not paying
In the case of creative work, you can to understand and implement.The above is only the embodiment of the application, should be referred to
Go out, for those skilled in the art, on the premise of the application principle is not departed from, can also make some
Improvements and modifications, these improvements and modifications also should be regarded as the protection domain of the application.
Claims (10)
- A kind of 1. code process method, it is characterised in that including:Reception demand request to create, creates demand object, and demand corresponding with the demand object is distributed for the demand object Major key;The demand major key is used for demand object described in unique mark;When monitoring that code submits event, determined according to the corresponding demand major key of the code of submission corresponding with the demand major key Demand object, associate the demand object and the code of submission;Create code review object;The review result evaluated to the code is received, the review result is handled.
- 2. according to the method described in claim 1, it is characterized in that, it is described when monitor code submit event when, according to submission The corresponding demand major key of code determine demand object corresponding with the demand major key, associate the demand object and submission Code include:When monitoring to submit information there are new code, determine that there are code to submit event;Parse the code and submit information, obtain the demand major key that the code submits information to include;Demand object corresponding with the demand major key is determined according to the demand major key that the code submits information to include, association carries The code of friendship and the demand object.
- 3. according to the method described in claim 1, it is characterized in that, further included before code review object is created:Judge that whether the code is submitted in information comprising operation mark;If the code is submitted in information comprising operation mark, judge that the operation marks whether to be used to indicate to perform code review Processing;The establishment code review object includes:If judge that the operation mark is used to indicate to perform code review processing, code corresponding with the demand major key is created Evaluate object.
- 4. according to the method described in claim 1, it is characterized in that, described receive the evaluation evaluated to the code As a result, carrying out processing to the review result includes:The code review comprising demand major key is received as a result, associating corresponding need according to the corresponding demand major key of the review result Object, code and review result are asked, updates the status attribute of the code review object.
- 5. the according to the method described in claim 1, it is characterized in that, evaluation knot evaluated in reception to the code Fruit, after handling the review result, the method further includes:The code is tested, obtains test result;If test result shows that test passes through, the code is issued;If test result shows test not by sending test crash information.
- 6. according to the method described in claim 5, it is characterized in that, the method further includes:Receive demand modification request, request modification demand object is changed according to the demand.
- A kind of 7. code processing apparatus, it is characterised in that including:Demand creating unit, for receiving demand request to create, creates demand object, for demand object distribution and the need Seek the corresponding demand major key of object;The demand major key is used for demand object described in unique mark;Associated codes unit, for when monitoring that code submits event, being determined according to the corresponding demand major key of the code of submission Demand object corresponding with the demand major key, associates the demand object and the code of submission;Creating unit is evaluated, for creating code review object;Review result processing unit, for receiving the review result evaluated to the code, to the review result Handled.
- A kind of 8. code process system, it is characterised in that module, management of appraising module are submitted including codeword processing module, code, Wherein:The codeword processing module is used to receive demand request to create, creates demand object, for demand object distribution and institute State the corresponding demand major key of demand object;The demand major key is used for demand object described in unique mark;The code submits module to be used to receive code submission request, and the code submits code of the request comprising submission and institute State the corresponding demand major key of code;The codeword processing module is additionally operable to when monitoring that code submits event, according to the corresponding demand major key of the code of submission Determine demand object corresponding with the demand major key, associate the demand object and the code of submission;Create code review Object;The management of appraising module is used for after the codeword processing module creates code review object, submits module to carry code The code of friendship is evaluated, and obtains review result, and review result is sent to codeword processing module;The codeword processing module is additionally operable to receive the review result for evaluating the code, to the review result Handled.
- 9. a kind of device for code process, it is characterised in that include memory, and one or more than one journey Sequence, either more than one program storage in memory and is configured to by one or more than one processor for one of them Perform the code process method as described in one or more in claim 1 to 6.
- 10. a kind of machine readable media, is stored thereon with instruction, when executed by one or more processors so that device is held Code process method of the row as described in one or more in claim 1 to 6.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711138289.3A CN107908420A (en) | 2017-11-16 | 2017-11-16 | A kind of code process method, apparatus and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711138289.3A CN107908420A (en) | 2017-11-16 | 2017-11-16 | A kind of code process method, apparatus and system |
Publications (1)
Publication Number | Publication Date |
---|---|
CN107908420A true CN107908420A (en) | 2018-04-13 |
Family
ID=61844445
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201711138289.3A Pending CN107908420A (en) | 2017-11-16 | 2017-11-16 | A kind of code process method, apparatus and system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107908420A (en) |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109783505A (en) * | 2019-01-25 | 2019-05-21 | 上海创景信息科技有限公司 | The method and system and medium evaluated offline are realized using visual control |
CN109992519A (en) * | 2019-04-11 | 2019-07-09 | 睿驰达新能源汽车科技(北京)有限公司 | A kind of methods, devices and systems that information is shown |
CN110852701A (en) * | 2019-10-18 | 2020-02-28 | 京东数字科技控股有限公司 | Product demand management method, device and system |
CN111679851A (en) * | 2020-06-11 | 2020-09-18 | 深圳前海微众银行股份有限公司 | Demand code management method, apparatus, system and computer readable storage medium |
CN112346735A (en) * | 2020-12-01 | 2021-02-09 | 成都精灵云科技有限公司 | Code processing method based on requirement |
CN112748950A (en) * | 2021-01-15 | 2021-05-04 | 国能日新科技股份有限公司 | Software code examination method and device |
Citations (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20060059455A1 (en) * | 2004-09-14 | 2006-03-16 | Roth Steven T | Software development with review enforcement |
CN101403964A (en) * | 2008-11-18 | 2009-04-08 | 四川赛文纳克软件有限公司 | Integration type software configuration management method based on transaction management |
CN101689111A (en) * | 2007-04-03 | 2010-03-31 | Ldra技术公司 | The automatic management of software requirements verification |
CN103645893A (en) * | 2013-11-29 | 2014-03-19 | 广州视源电子科技股份有限公司 | Software requirement checking method and requirement checking system |
CN104090776A (en) * | 2014-07-24 | 2014-10-08 | 北京全路通信信号研究设计院有限公司 | Software development method and system |
US20160062738A1 (en) * | 2014-08-31 | 2016-03-03 | Anthony Mai | Methods and Apparatuses for Interactive Computer Programming |
CN105867895A (en) * | 2015-11-20 | 2016-08-17 | 乐视致新电子科技(天津)有限公司 | Method for realizing code management and need management information synchronization and device thereof |
CN106484606A (en) * | 2015-09-01 | 2017-03-08 | 阿里巴巴集团控股有限公司 | Method and apparatus submitted to by a kind of code |
CN106547545A (en) * | 2016-10-17 | 2017-03-29 | 桐城市闲产网络服务有限公司 | A kind of computer software development approach |
CN107015911A (en) * | 2017-04-07 | 2017-08-04 | 广东亿迅科技有限公司 | The code review method and device of continuous integrating |
CN107153531A (en) * | 2016-03-03 | 2017-09-12 | 四川丰玮网络科技有限公司 | A kind of method and system for software development |
-
2017
- 2017-11-16 CN CN201711138289.3A patent/CN107908420A/en active Pending
Patent Citations (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20060059455A1 (en) * | 2004-09-14 | 2006-03-16 | Roth Steven T | Software development with review enforcement |
CN101689111A (en) * | 2007-04-03 | 2010-03-31 | Ldra技术公司 | The automatic management of software requirements verification |
CN101403964A (en) * | 2008-11-18 | 2009-04-08 | 四川赛文纳克软件有限公司 | Integration type software configuration management method based on transaction management |
CN103645893A (en) * | 2013-11-29 | 2014-03-19 | 广州视源电子科技股份有限公司 | Software requirement checking method and requirement checking system |
CN104090776A (en) * | 2014-07-24 | 2014-10-08 | 北京全路通信信号研究设计院有限公司 | Software development method and system |
US20160062738A1 (en) * | 2014-08-31 | 2016-03-03 | Anthony Mai | Methods and Apparatuses for Interactive Computer Programming |
CN106484606A (en) * | 2015-09-01 | 2017-03-08 | 阿里巴巴集团控股有限公司 | Method and apparatus submitted to by a kind of code |
CN105867895A (en) * | 2015-11-20 | 2016-08-17 | 乐视致新电子科技(天津)有限公司 | Method for realizing code management and need management information synchronization and device thereof |
CN107153531A (en) * | 2016-03-03 | 2017-09-12 | 四川丰玮网络科技有限公司 | A kind of method and system for software development |
CN106547545A (en) * | 2016-10-17 | 2017-03-29 | 桐城市闲产网络服务有限公司 | A kind of computer software development approach |
CN107015911A (en) * | 2017-04-07 | 2017-08-04 | 广东亿迅科技有限公司 | The code review method and device of continuous integrating |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109783505A (en) * | 2019-01-25 | 2019-05-21 | 上海创景信息科技有限公司 | The method and system and medium evaluated offline are realized using visual control |
CN109992519A (en) * | 2019-04-11 | 2019-07-09 | 睿驰达新能源汽车科技(北京)有限公司 | A kind of methods, devices and systems that information is shown |
CN110852701A (en) * | 2019-10-18 | 2020-02-28 | 京东数字科技控股有限公司 | Product demand management method, device and system |
CN111679851A (en) * | 2020-06-11 | 2020-09-18 | 深圳前海微众银行股份有限公司 | Demand code management method, apparatus, system and computer readable storage medium |
CN111679851B (en) * | 2020-06-11 | 2023-05-12 | 深圳前海微众银行股份有限公司 | Demand code management method, device, system and computer readable storage medium |
CN112346735A (en) * | 2020-12-01 | 2021-02-09 | 成都精灵云科技有限公司 | Code processing method based on requirement |
CN112748950A (en) * | 2021-01-15 | 2021-05-04 | 国能日新科技股份有限公司 | Software code examination method and device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107908420A (en) | A kind of code process method, apparatus and system | |
CN106030546B (en) | The method of computer program | |
CN110659018B (en) | Method and device for realizing flow engine | |
US11709756B2 (en) | Dynamic distributed tracing instrumentation in a microservice architecture | |
CN110659206A (en) | Simulation architecture establishing method, device, medium and electronic equipment based on microservice | |
CN109977012B (en) | Joint debugging test method, device, equipment and computer readable storage medium of system | |
CN109101431A (en) | A kind of testing case management, computer readable storage medium and terminal device | |
CN109376341A (en) | A kind of preservation of long list and method of calibration, apparatus and system | |
CN106033422A (en) | A database operation control method, device and system | |
US8219376B2 (en) | Verification using directives having local variables | |
CN106201865A (en) | A kind of application programming interface API method of testing, device and terminal unit | |
CN106802865A (en) | For the response analogue means and method of software test | |
CN109254791A (en) | Develop management method, computer readable storage medium and the terminal device of data | |
CN110209565A (en) | A kind of metadata schema adjustment method and its device | |
CN107908565A (en) | A kind of test method and equipment | |
CN112016256A (en) | Integrated circuit development platform, method, storage medium and equipment | |
US9619608B1 (en) | Concurrent design process | |
CN109597828A (en) | A kind of off-line data checking method, device and server | |
CN110276443A (en) | Model conversion consistency checking and analysis method, device and storage medium | |
CN113495723B (en) | Method, device and storage medium for calling functional component | |
CN105703964A (en) | Online application system test method and equipment | |
CN109144563A (en) | Application component constructs packaging method, device and computer storage medium | |
US20130019157A1 (en) | Defect form quality indication | |
CN107145436A (en) | Software function verification method and device | |
CN109003031A (en) | A kind of method, equipment and the storage medium of scheduling and planning product |
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: 20180413 |
|
RJ01 | Rejection of invention patent application after publication |