CN109254791A - Develop management method, computer readable storage medium and the terminal device of data - Google Patents
Develop management method, computer readable storage medium and the terminal device of data Download PDFInfo
- Publication number
- CN109254791A CN109254791A CN201811017094.8A CN201811017094A CN109254791A CN 109254791 A CN109254791 A CN 109254791A CN 201811017094 A CN201811017094 A CN 201811017094A CN 109254791 A CN109254791 A CN 109254791A
- Authority
- CN
- China
- Prior art keywords
- exploitation
- code
- developer
- file
- amount
- 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
- 238000007726 management method Methods 0.000 title claims abstract description 20
- 238000013507 mapping Methods 0.000 claims abstract description 18
- 238000000034 method Methods 0.000 claims abstract description 12
- 230000005856 abnormality Effects 0.000 claims description 19
- 238000004590 computer program Methods 0.000 claims description 15
- 238000013523 data management Methods 0.000 claims description 4
- 230000006870 function Effects 0.000 description 4
- 238000012217 deletion Methods 0.000 description 3
- 230000037430 deletion Effects 0.000 description 3
- 238000012545 processing Methods 0.000 description 3
- 238000010586 diagram Methods 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000010485 coping Effects 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 238000009434 installation Methods 0.000 description 1
- 238000010030 laminating Methods 0.000 description 1
- 238000012163 sequencing technique Methods 0.000 description 1
- 238000012795 verification Methods 0.000 description 1
- 238000005303 weighing Methods 0.000 description 1
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
- G06F8/71—Version control; Configuration 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/06—Resources, workflows, human or project management; Enterprise or organisation planning; Enterprise or organisation modelling
- G06Q10/063—Operations research, analysis or management
Abstract
The invention belongs to technical field of data administration more particularly to a kind of management method, computer readable storage medium and terminal devices for developing data.The method include that obtaining the address information of version control system;According to the address information, the title for submitting all developers of code within a preset period of time is obtained;Obtain the exploitation amount that all developers submit code;For any developer in all developers, unique mapping relations are established for the exploitation amount of the developer and the title of the developer.A kind of management method, computer readable storage medium and terminal device for developing data provided by the invention, can count convenient for project administrator and check the exploitation amount of each developer.
Description
Technical field
The present invention relates to data management field more particularly to a kind of management methods for developing data, computer-readable storage
Medium and terminal device.
Background technique
In the industry of existing exploitation data, for the tool of the statistics codes of code development, git editions are usually only counted
This control system or the history of svn version control system submit record, record opening for the code for counting developer according to submitting
Hair amount, but for the project simultaneously using the two version control systems of git and svn, the pipe of existing exploitation data
Reason method can not write the exploitation amount of code while be counted to developer, cause project administrator can not convenient geo-statistic each open
The exploitation amount of originator.
Summary of the invention
The embodiment of the invention provides a kind of management method, computer readable storage medium and terminals for developing data to set
It is standby, it can count convenient for project administrator and check each developer exploitation amount.
The embodiment of the present invention in a first aspect, provide it is a kind of develop data management method, may include:
Obtain the address information of version control system;
According to the address information, the title for submitting all developers of code within a preset period of time is obtained;
Obtain the exploitation amount that all developers submit code;
It is the exploitation amount of the developer and the name of the developer for any developer in all developers
Title establishes unique mapping relations.
The second aspect of the embodiment of the present invention, provides a kind of computer readable storage medium, described computer-readable to deposit
Storage media is stored with computer program, and the computer program realizes following steps when being executed by processor:
Obtain the address information of version control system;
According to the address information, the title for submitting all developers of code within a preset period of time is obtained;
Obtain the exploitation amount that all developers submit code;
It is the exploitation amount of the developer and the name of the developer for any developer in all developers
Title establishes unique mapping relations.
The third aspect of the embodiment of the present invention, provides a kind of terminal device, including memory, processor and is stored in
In the memory and the computer program that can run on the processor, when the processor executes the computer program
Realize following steps:
Obtain the address information of version control system;
According to the address information, the title for submitting all developers of code within a preset period of time is obtained;
Obtain the exploitation amount that all developers submit code;
It is the exploitation amount of the developer and the name of the developer for any developer in all developers
Title establishes unique mapping relations.
Existing beneficial effect is the embodiment of the present invention compared with prior art: the embodiment of the present invention obtains version control first
The address information of system processed, convenient for obtaining all developers for submitting code within a preset period of time according to the address information
Title, then the exploitation amount of codes is submitted by counting all developers, by any exploitation in all developers
The title of person and the corresponding exploitation amount establish unique mapping relations, are stored, check each open convenient for project administrator
The workload of originator.Compared with prior art, can be used for using the two version controls of git and svn simultaneously in present invention implementation
The project of system processed, by obtaining the address information of version control system, statistics submits all of code within a preset period of time
Developer submits the exploitation amount of code, and by the title of any developer in all developers and the corresponding exploitation
Amount establishes unique mapping relations, is stored, the exploitation amount of each developer is counted and checked convenient for project administrator.
Detailed description of the invention
It to describe the technical solutions in the embodiments of the present invention more clearly, below will be to embodiment or description of the prior art
Needed in attached drawing be briefly described, it should be apparent that, the accompanying drawings in the following description is only of the invention some
Embodiment for those of ordinary skill in the art without any creative labor, can also be according to these
Attached drawing obtains other attached drawings.
Fig. 1 is a kind of one embodiment flow chart for the management method for developing data in the embodiment of the present invention;
Fig. 2 is that the embodiment of the present invention obtains the signal stream for submitting the title of all developers of code within a preset period of time
Cheng Tu;
Fig. 3 is a kind of another embodiment flow chart for the management method for developing data in the embodiment of the present invention;
Fig. 4 is a kind of one embodiment structure chart for the managing device for developing data in the embodiment of the present invention;
Fig. 5 is a kind of schematic block diagram of terminal device in the embodiment of the present invention.
Specific embodiment
In order to make the invention's purpose, features and advantages of the invention more obvious and easy to understand, below in conjunction with the present invention
Attached drawing in embodiment, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that disclosed below
Embodiment be only a part of the embodiment of the present invention, and not all embodiment.Based on the embodiments of the present invention, this field
Those of ordinary skill's all other embodiment obtained without making creative work, belongs to protection of the present invention
Range.
Referring to Fig. 1, a kind of one embodiment of management method for developing data may include: in the embodiment of the present invention
Step S101 obtains the address information of version control system.
In the present embodiment, the address information may include the unique identification and the unique identification of version control system
The path of the corresponding access version control system, the unique identification of the version control system can be the Version Control
The version number of system determines version control system used in developer by the version number of acquisition version control system, described
Version control system can be git version control system or svn version control system, further according to the corresponding institute of the path access
Version control system is stated, convenient for developing the system that the project administrator of data carries out the exploitation amount of code to the developer of exploitation data
Meter.
Step S102 obtains the name for submitting all developers of code within a preset period of time according to the address information
Claim.
In the present embodiment, according in the address information the unique identification and path, it is available corresponding to be told
Exploitation file in version control system obtains all exploitations for submitting code within a preset period of time from the exploitation file
The title of person.
Preferably, as shown in Fig. 2, it is described according to the address information, obtain the institute for submitting code within a preset period of time
There is the title of developer, may comprise steps of:
Step S201 determines the path by the unique identification;
Step S202 obtains the exploitation file of the version control system by the path;
Step S203 obtains code from the exploitation file and submits record, and judges whether have within a preset period of time
Developer submits code;
Step S204 is obtained if there is developer to submit code within a preset period of time and is submitted generation within a preset period of time
The title of the developer of code, wherein it includes the title of developer, the time for submitting code, developer that the code, which submits record,
Use the unique identification of version control system.
In the present embodiment, by the unique identification in the address information, version belonging to the unique identification is determined
This control system, the unique identification can be git version number or svn version number, wherein the corresponding version of the git version number
This control system is git version control system, and the corresponding version control system of the svn version number is svn version control system,
According to the corresponding version control system of the version number, the path for accessing the version control system is determined.
The exploitation file of the version control system is obtained by the path, is stored with developer in the exploitation file
The code submitted when developing data (writing code) submits record, and the code submits record to include the title of developer, submit
The time of code, developer use the unique identification of version control system.Wherein, the developer uses version control system
Unique identification for project administrator statistics developer code exploitation amount when and current statistic version control system version
This number is checked, and judges whether the version control system for accessing and counting is consistent with the version control system that developer uses,
If inconsistent, which is labeled as problem developer, and the code that described problem developer submits is stored to default
In question file folder, is checked again convenient for project administrator with corresponding described problem developer, determine that described problem is opened
Whether originator uses wrong version control system.Described problem developer can be one or more.
According to the time for submitting code, whether judgement has developer to submit code within a preset period of time, if pre-
If there is developer to submit code in the period, then submits to obtain in record from the code and submit code within a preset period of time
The title of developer.
Preferably, in the present embodiment, described to open if the unique identification of the version control system is git version number
Fat file includes that main exploitation file and at least one branch develop file, wherein from the exploitation text in the step S203
Code is obtained in part and submits record, may include:
According to the path, the main exploitation file is obtained, it is every in main exploitation file from successively being obtained in main exploitation file
A branch develops file;According to the first preset order, successively obtain each developer's from each branch's exploitation file
Code submits record.
In the present embodiment, the exploitation file in the corresponding git version control system of the git version number includes that master opens
Fat file and at least one branch develop file, wherein can store project administrator statistics exploitation in the main exploitation file
The code that person submits within a preset period of time, it is each under available main exploitation file by obtaining the main exploitation file
Branch develops file, can store the generation that one or more developers submit within a preset period of time in each branch's exploitation file
Code and code submit record.According to the first preset order, each developer successively is obtained from each branch's exploitation file
Code submit record, wherein first preset order can for each branch develop file title it is corresponding number it is suitable
Sequence, for example, branch exploitation file name be A1, A2, A3 ..., AN, then A1, A2, A3 ..., the corresponding number order of AN be 1,2,
3 ..., N, according to the number order, the code that each developer is successively obtained from each branch's exploitation file is submitted
Record, wherein code distribution can be submitted to multiple branches and opened by each developer according to the project demands of exploitation data
In fat file, therefore, the code stored in multiple branch's exploitation files can be submitted by the same developer.
Step S103 obtains the exploitation amount that all developers submit code.
In the present embodiment, the exploitation amount of code is submitted to count all developers, wherein the described of statistics all opens
The exploitation amount that originator is submitted it is corresponding can will to develop the same developer in file to carry out superimposed exploitation amount of the same name
Exploitation amount is overlapped and stores superimposed exploitation amount into default file, and all developers obtained here submit code
Exploitation amount can be superimposed exploitation amount of the same name.
If version control system is git version control system, united by obtaining the project administrator in main exploitation file
The code that all developers submit is counted, the code that all developers submit is stored into the folder of the first default file into default file
In, and the branch code in each branch's exploitation file is obtained, the branch code is one or more developers when default
Between the code submitted in section, if be in some or certain branches exploitation file it is empty, i.e., without code, then illustrate that no developer exists
Code is submitted in some or certain branches the exploitation file.
During obtaining the branch code in each branch's exploitation file, will first it be stored in the first default file folder
Main exploitation file in code deletion in the code in first branch's exploitation file and generation, are obtained according to the number order
Code, which is submitted, to be recorded and stored into first default file folder, and project administrator submits record to first branch according to code
The exploitation amount of code in exploitation file is counted, and the exploitation amount is stored into the first default file folder, and by first
Code deletion in a branch's exploitation file, the code and code obtained in second branch's exploitation file submits record, with this
Analogize, the exploitation amount that all developers in all branch's exploitation files submit code has successively been counted according to the first preset order.
The exploitation amount may include at least one of following: write or modify number of files, line number, number of characters of code building etc..
For example, started to query from branch exploitation file A1, and the code obtained in branch exploitation file A1 submits record, if
Branch develops to submit in file A1 without code and record, then illustrates that no developer submitted code in branch exploitation file A1,
Therefore, it is necessary to inquire next branch's exploitation file, next branch's exploitation file is that branch develops file A2, and obtains here
The code that branch develops in file A2 submits record, and so on, it is mentioned until inquiring to have in branch's exploitation file by developer
The code record handed over, for example, being obtained in branch exploitation file A2 if thering is code to submit record in branch exploitation file A2
All developer's titles, and branch is developed into developer's title all in file A2 and generates developer's list, and to described
Developer's list is numbered, as developer's list A2, according to developer list A2, successively obtains every in developer's list A2
The code that a developer submits, and the exploitation amount for the code that developer each in developer's list A2 submits is counted, it will
All corresponding exploitation amount of developer and developer's title are stored into the first default file folder in branch exploitation file A2, will
Each developer's title and corresponding exploitation measure to form one-to-one relationship, and the branch in the first default file folder is developed text
Code and code in part A2 submit record deletion, continue to inquire next branch's exploitation file, here next branch's exploitation
File is that branch develops file A3, and so on, file is developed until having inquired all branches.
If version control system is svn version control system, described opened from the svn version control system is corresponding
The code and code that all developers' submissions are obtained in fat file submit record, and the svn version control system is corresponding described
It can store the different time sections of the same developer according to project demands or within a preset period of time in exploitation file to mention
Code is answered in friendship, submits the sequencing of the time of the submission code in record to compile each developer according to the code
Number, for example, developer B1, developer B2 ..., developer BM, wherein the same developer corresponds to the same number, if different
Developer have submitted code in the same time, then by the title of developer in the exploitation file volume often that occurs
It is number forward, it is merged according to the code that the number of each developer is submitted, completes to own described in the svn version control system
Developer submits the statistics of the exploitation amount of code.
Step S104 is the exploitation amount of the developer and described for any developer in all developers
The title of developer establishes unique mapping relations.
In the present embodiment, for any developer in all developers, by the title of the developer with it is described
The exploitation of developer measures to form one-to-one relationship, i.e. the corresponding exploitation amount of the title of developer carries the name of the developer
The identifier of title can understand convenient for project administrator according to unique mapping relations of foundation and check that all developers mention
Hand over the exploitation amount (workload for writing code) of code.
Preferably, for git version control system, the management method for developing data may include:
According to first preset order, successively obtains each developer in each branch's exploitation file and submit opening for code
Hair amount, and by the title and the corresponding exploitation amount for submitting code of each developer in each branch exploitation file store to
In first default file folder;Judge that each developer submits whether the exploitation amount of code is greater than in each branch's exploitation file
First default exploitation amount;It, will be described if some or certain developers submit the exploitation amount of code to be greater than the first default exploitation amount
The title of some or certain developers generate inquiry list.
It specifically, can also be according to statistics during obtaining the exploitation amount of all developer's submission codes
The exploitation amount, the determination developer to be inquired, can specifically include: the comparison of the exploitation amount is can be by comparing exploitation
The number of characters of code in amount.
It is obtained in first branch's exploitation file for git version control system according to first preset order
Each developer submits the exploitation amount of code, and by the title of each developer in described first branch's exploitation file and
The corresponding exploitation amount for submitting code is stored into the first default file folder.Judge in described first branch's exploitation file
Whether the number of characters that each developer submits is greater than the first preset characters number, if certain in first branch's exploitation file
The number of characters that a or certain developers submit is greater than the first preset characters number, then will be in described first branch's exploitation file
The title of some or certain developers generate inquiry list, and obtain next branch's exploitation file, judge described next
Whether the title of corresponding developer is in the inquiry list in a branch's exploitation file.
If the title of some or certain developers is not in the inquiry list in next branch's exploitation file
In, then whether the number of characters for judging that some in next branch's exploitation file or certain developers are submitted is greater than first
Preset characters number, and the title that the number of characters of submission is greater than the developer of the first preset characters number is stored in the inquiry list
In, and obtain next branch's exploitation file.And so on, file is developed until having inquired all branches, to all
Branch exploitation file in all developers submit code exploitation amount count, all developers' of statistics opens
Hair amount can be to carry out superimposed exploitation amount of the same name, i.e., by the corresponding exploitation of developer same in all branches exploitation file
Amount is overlapped and stores superimposed exploitation amount into default file.
It more preferably, will be pre- not in the corresponding superimposed exploitation amount of each developer stated in inquiry list and third
If exploitation amount compares, if there are some or certain developers are corresponding folded in all developers for stating in inquiry list
Exploitation amount after adding is greater than third and presets exploitation amount, then will be not in the name for stating some the or certain developers inquired in list
Title is stored into the inquiry list.The first default exploitation amount is less than third and presets exploitation amount.
Optionally, if the unique identification of the version control system is svn version number, that is, it is directed to svn version control system,
It is described exploitation data management method, can also include:
According to the second preset order, the exploitation amount that each developer in the exploitation file submits code is obtained, and by institute
The title of each developer and the corresponding exploitation amount for submitting code in exploitation file is stated to store into the second default file folder;From
Obtain the title of identical developer in second default file folder, and by identical developer described in the exploitation file
It submits the exploitation amount of code to be overlapped, obtains the exploitation amount that each developer in the exploitation file submits code;Judge institute
Whether the exploitation amount for stating the submission code of some or certain developers in exploitation file is greater than the second default exploitation amount;If described open
Some in fat file or certain developers submit the exploitation amount of code to be greater than the second default exploitation amount, then will be in the exploitation file
The title of some or certain developers generate the inquiry list.
In the present embodiment, by submitting the exploitation amount of code to fold identical developer described in the exploitation file
Add, judge whether superimposed exploitation amount is greater than the second default exploitation amount, if some in the exploitation file or certain developers
It submits the exploitation amount of code to be greater than the second default exploitation amount, then illustrates what some in the exploitation file or certain developers were submitted
Code there may be problem and will likely the code submitted of developer of problems check, of problems opened described
The title of some or certain developers generate inquiry list, the generation submitted according to query name single pair in originator, that is, exploitation file
Code is checked.
Preferably, referring to Fig. 3, another embodiment of the management method of the exploitation data can also include following step
It is rapid:
Step S301 is generated according to the inquiry list with the name nominating of each developer in the inquiry list
File;
Step S302 obtains the code that each developer submits in the inquiry list, and corresponding store to described is looked into
It askes in list in the file of the name nominating of each developer;
Step S303, according to the generation in the inquiry list in the file of the name nominating of each developer
Code, judges whether there is the code of abnormality;
Step S304, the code of abnormality, then delete the code of the abnormality if it exists, obtains with the inquiry
In list in the file of the name nominating of each developer residue code exploitation amount, and by unique mapping relations,
The exploitation amount of the residue code is updated storage respectively.
In the present embodiment, by the inquiry list, the code that each developer submits in the inquiry list is obtained, and
It is corresponding to store into the inquiry list in the file of the name nominating of each developer, according to every in the inquiry list
The code that a developer submits, judges whether there is the code of abnormality, the code of the abnormality can be developer
The code automatically generated when writing code, the code being not belonging in the corresponding exploration project of developer's exploitation, it is described automatic
The code of generation cannot be as the exploitation amount of developer.After finding the code of abnormality, by the code of abnormality from
It is corresponding to count exploitation amount again to delete in the file of developer's name nominating, the exploitation amount counted again update is arrived
It is formed in mapping relations with the title of corresponding developer, the final exploitation amount as each developer in inquiry list.Pass through
List is inquired, can connect whether task distribution is unbalanced, whether there is phenomena such as personnel's redundancy in order to project administrator.
Wherein, in the management method of the exploitation data, project administrator can preset inquiry list, according to preparatory
All developers in the inquiry list of setting, with the exploitation file of acquisition are compared one by one, will be in pre-set inquiry
All developers in list carry out the verification again of workload, that is, obtain each developer in pre-set inquiry list
The code of submission judges whether there is the code of abnormality, if it exists the code of abnormality, then deletes the abnormality
Code is obtained so that residue code is opened in the file of the name nominating of each developer in the pre-set inquiry list
Hair amount, and by unique mapping relations, the exploitation amount of the residue code is updated storage respectively.
In conclusion the embodiment of the present invention obtains the address information of version control system first, convenient for according to the address
Information obtains the title for submitting all developers of code within a preset period of time, then is mentioned by counting all developers
The exploitation amount for handing over code is established the title of any developer in all developers and the corresponding exploitation amount unique
Mapping relations are stored, and the workload of each developer is checked convenient for project administrator, by according to pre-set inquiry
The inquiry list established during list or statistics exploitation amount, spot-check some or certain developers convenient for project administrator
The code of exploitation, and the code removal of abnormality will be present, each developer corresponding to the code there are abnormality mentions
The exploitation amount of the code of friendship counts again.Compared with prior art, can be used for using git and svn simultaneously in present invention implementation
The project of the two version control systems, by obtaining the address information of version control system, statistics mentions within a preset period of time
All developers for handing over code submit the exploitation amount of code, and by the title of any developer in all developers and right
The exploitation amount answered establishes unique mapping relations, is stored, and facilitates convenient for project administrator and counts and check each exploitation
The exploitation amount of person, it is whether uneven convenient for project administrator connection task distribution by spot-check the code of some or certain developers
Weighing apparatus whether there is phenomena such as personnel's redundancy.
It should be understood that the size of the serial number of each step is not meant that the order of the execution order in above-described embodiment, each process
Execution sequence should be determined by its function and internal logic, the implementation process without coping with the embodiment of the present invention constitutes any limit
It is fixed.
Corresponding to a kind of management method of exploitation data described in foregoing embodiments, Fig. 4 shows the embodiment of the present invention and mentions
A kind of one embodiment structure chart of the managing device of the exploitation data supplied.
In the present embodiment, it is a kind of develop data managing device may include:
Address information obtains module 401, for obtaining the address information of version control system;
The name acquiring module 402 of developer, for according to the address information, generation to be submitted in acquisition within a preset period of time
The title of all developers of code;
Exploitation amount obtains module 403, and the exploitation amount of code is submitted for obtaining all developers;
Mapping relations establish module 404, for being the developer for any developer in all developers
Exploitation amount and the title of the developer establish unique mapping relations.
Further, the address information includes that the unique identification of the version control system and the unique identification correspond to
The access version control system path, the name acquiring module 402 of the developer may include: path determine it is single
Member, for determining the path by the unique identification;
File obtaining unit is developed, for obtaining the exploitation file of the version control system by the path;
Code submits record acquiring unit, submits record for obtaining code from the exploitation file, and judge pre-
If whether there is developer to submit code in the period;
The name acquiring unit of developer when for there is developer to submit code within a preset period of time, is obtained default
The title of the developer of code is submitted in period, wherein the code submits record to include the title of developer, submit code
Time, developer use version control system unique identification.
Preferably, the unique identification of the version control system is git version number, and the exploitation file includes main exploitation text
Part and at least one branch develop file, and the code submits record acquiring unit that can be specifically used for: according to the path, obtaining
The main exploitation file is taken, develops file from each branch in main exploitation file is successively obtained in main exploitation file;According to first
Preset order, the code that each developer is successively obtained from each branch's exploitation file submit record.
For git version control system, the managing device of the exploitation data can also include: the first acquisition module, use
According to first preset order, the exploitation amount of each developer's submission code in each branch's exploitation file is successively obtained,
And the title and the corresponding exploitation amount for submitting code of each developer in each branch's exploitation file are stored to first
In default file folder;
First judgment module, for judging the exploitation amount of each developer's submission code in each branch's exploitation file
Whether the first default exploitation amount is greater than;
First inquiry list generation module, it is pre- for being greater than first in the exploitation amount of some or certain developers submission code
If when exploitation amount, the title of some or certain developers are generated inquiry list.
For svn version control system, the managing device of the exploitation data can also include: the second acquisition module, use
In the exploitation amount for according to the second preset order, obtaining each developer in the exploitation file and submitting code, and by the exploitation
The title of each developer and the corresponding exploitation amount for submitting code are stored into the second default file folder in file;
Laminating module for obtaining the title of identical developer from second default file folder, and is opened described
Identical developer described in fat file submits the exploitation amount of code to be overlapped, and obtains each developer in the exploitation file
Submit the exploitation amount of code;
Second judgment module, the exploitation amount of the submission code for judging some in the exploitation file or certain developers
Whether the second default exploitation amount is greater than;
Second inquiry list generation module, in the exploitation file some or certain developers submit opening for code
When hair amount is greater than the second default exploitation amount, the title of some or certain developers in the exploitation file are generated into the query name
It is single.
Preferably, the managing device of the exploitation data, can also include: file generation module, for according to
List is inquired, is generated with the file of the name nominating of each developer in the inquiry list;
Third obtains module, for obtaining the code that each developer submits in the inquiry list, and it is corresponding store to
It is inquired in list in the file of the name nominating of each developer with described;
The code judgment module of abnormality, for according to the title life with each developer in the inquiry list
Code in the file of name, judges whether there is the code of abnormality;
Exploitation amount update module, for there are the code of the abnormality when code of abnormality, is deleted, obtain with
In the inquiry list in the file of the name nominating of each developer residue code exploitation amount, and uniquely reflected by described
Relationship is penetrated, the exploitation amount of the residue code is updated storage respectively.
The schematic block diagram that Fig. 5 shows a kind of terminal device provided in an embodiment of the present invention is only shown for ease of description
Part related to the embodiment of the present invention.
In the present embodiment, the terminal device 5 includes: processor 50, memory 51 and is stored in the memory
In 51 and the computer program 52 that can be run on the processor 50, such as execute the management method of above-mentioned exploitation data
Computer program.The processor 50 realizes that the management method of above-mentioned each exploitation data is real when executing the computer program 52
Apply the step in example, such as step S101 to S104 shown in FIG. 1.Alternatively, the processor 50 executes the computer program
The function of each module/unit in above-mentioned each Installation practice, such as the function of module 401 to 404 shown in Fig. 4 are realized when 52.
Illustratively, the computer program 52 can be divided into one or more module/units, it is one or
Multiple module/units are stored in the memory 51, and are executed by the processor 50, to complete the present invention.Described one
A or multiple module/units can be the series of computation machine program instruction section that can complete specific function, which is used for
Implementation procedure of the computer program 52 in the terminal device 5 is described.
The terminal device 5 can be the calculating such as desktop PC, notebook, palm PC and cloud server and set
It is standby.The terminal device may include, but be not limited only to, processor 50, memory 51.It will be understood by those skilled in the art that Fig. 5
The only example of terminal device 5 does not constitute the restriction to terminal device 5, may include than illustrating more or fewer portions
Part perhaps combines certain components or different components, such as the terminal device can also include input-output equipment, net
Network access device, bus etc..
The processor 50 can be central processing unit (Central Processing Unit, CPU), can also be
Other general processors, digital signal processor (Digital Signal Processor, DSP), specific integrated circuit
(Application Specific Integrated Circuit, ASIC), ready-made programmable gate array (Field-
Programmable Gate Array, FPGA) either other programmable logic device, discrete gate or transistor logic,
Discrete hardware components etc..General processor can be microprocessor or the processor is also possible to any conventional processor
Deng.
The memory 51 can be the internal storage unit of the terminal device 5, such as the hard disk or interior of terminal device 5
It deposits.The memory 51 is also possible to the External memory equipment of the terminal device 5, such as be equipped on the terminal device 5
Plug-in type hard disk, intelligent memory card (Smart Media Card, SMC), secure digital (Secure Digital, SD) card dodge
Deposit card (Flash Card) etc..Further, the memory 51 can also both include the storage inside list of the terminal device 5
Member also includes External memory equipment.The memory 51 is for storing needed for the computer program and the terminal device
Other programs and data.The memory 51 can be also used for temporarily storing the data that has exported or will export.
It, can also be in addition, the functional units in various embodiments of the present invention may be integrated into one processing unit
It is that each unit physically exists alone, can also be integrated in one unit with two or more units.Above-mentioned integrated list
Member both can take the form of hardware realization, can also realize in the form of software functional units.
If the integrated unit is realized in the form of SFU software functional unit and sells or use as independent product
When, it can store in a computer readable storage medium.Based on this understanding, technical solution of the present invention is substantially
The all or part of the part that contributes to existing technology or the technical solution can be in the form of software products in other words
It embodies, which is stored in a storage medium, including some instructions are used so that a computer
Equipment (can be personal computer, server or the network equipment etc.) executes the complete of each embodiment the method for the present invention
Portion or part steps.And storage medium above-mentioned includes: USB flash disk, mobile hard disk, read-only memory (ROM, Read-Only
Memory), random access memory (RAM, Random Access Memory), magnetic or disk etc. are various can store journey
The medium of sequence code.
The above, the above embodiments are merely illustrative of the technical solutions of the present invention, rather than its limitations;Although referring to before
Stating embodiment, invention is explained in detail, those skilled in the art should understand that: it still can be to preceding
Technical solution documented by each embodiment is stated to modify or equivalent replacement of some of the technical features;And these
It modifies or replaces, the spirit and scope for technical solution of various embodiments of the present invention that it does not separate the essence of the corresponding technical solution.
Claims (10)
1. a kind of management method for developing data characterized by comprising
Obtain the address information of version control system;
According to the address information, the title for submitting all developers of code within a preset period of time is obtained;
Obtain the exploitation amount that all developers submit code;
For any developer in all developers, built for the exploitation amount of the developer and the title of the developer
Found unique mapping relations.
2. the management method of exploitation data according to claim 1, which is characterized in that the address information includes the version
The path of the unique identification of this control system and the corresponding access version control system of the unique identification, it is described according to institute
Address information is stated, the title for submitting all developers of code within a preset period of time is obtained, comprising:
The path is determined by the unique identification;
By the path, the exploitation file of the version control system is obtained;
Code is obtained from the exploitation file and submits record, and judges whether have developer to submit generation within a preset period of time
Code;
If there is developer to submit code within a preset period of time, the name for submitting the developer of code within a preset period of time is obtained
Claim, wherein it includes that the title of developer, the time for submitting code, developer use Version Control system that the code, which submits record,
The unique identification of system.
3. it is according to claim 2 exploitation data management method, which is characterized in that the version control system it is unique
It is identified as git version number, the exploitation file includes main exploitation file and at least one branch develops file, described to open from described
Code is obtained in fat file submits record, comprising:
According to the path, the main exploitation file is obtained, is each divided from successively being obtained in main exploitation file in main exploitation file
Get out fat file;
According to the first preset order, the code that each developer is successively obtained from each branch's exploitation file submits note
Record.
4. the management method of exploitation data according to claim 3, which is characterized in that further include:
According to first preset order, the exploitation that each developer in each branch's exploitation file submits code is successively obtained
Amount, and the title and the corresponding exploitation amount for submitting code of each developer in each branch exploitation file are stored to the
In one default file folder;
Judge that each developer submits whether the exploitation amount of code is greater than the first default exploitation in each branch's exploitation file
Amount;
If some or certain developers submit the exploitation amount of code to be greater than the first default exploitation amount, by it is described some or certain open
The title of originator generates inquiry list.
5. the management method of exploitation data according to claim 2, which is characterized in that if the version control system is only
One is identified as svn version number, the method also includes:
According to the second preset order, obtains each developer in the exploitation file and submit the exploitation amount of code, and opened described
The title of each developer and the corresponding exploitation amount for submitting code are stored into the second default file folder in fat file;
The title of identical developer is obtained from second default file folder, and will be identical described in the exploitation file
Developer submits the exploitation amount of code to be overlapped, and obtains the exploitation amount that each developer in the exploitation file submits code;
Judge whether the exploitation amount of the submission code of some or certain developers in the exploitation file is greater than the second default exploitation
Amount;
If some in the exploitation file or certain developers submit the exploitation amount of code to be greater than the second default exploitation amount, by institute
It states the title of some or certain developers in exploitation file and generates the inquiry list.
6. according to the management method of the described in any item exploitation data of claim 4 or 5, which is characterized in that further include:
According to the inquiry list, generate with the file of the name nominating of each developer in the inquiry list;
The code that each developer submits in the inquiry list is obtained, and corresponding store into the inquiry list is each opened
In the file of the name nominating of originator;
According to the code in the inquiry list in the file of the name nominating of each developer, judge whether there is
The code of abnormality;
The code of abnormality if it exists then deletes the code of the abnormality, obtains each to open in the inquiry list
The exploitation amount of residue code in the file of the name nominating of originator, and by unique mapping relations, by the remaining generation
The exploitation amount of code is updated storage respectively.
7. a kind of computer readable storage medium, the computer-readable recording medium storage has computer program, and feature exists
In the manager of data is developed in realization as described in any one of claims 1 to 6 when the computer program is executed by processor
The step of method.
8. a kind of terminal device, including memory, processor and storage are in the memory and can be on the processor
The computer program of operation, which is characterized in that the processor realizes following steps when executing the computer program:
Obtain the address information of version control system;
According to the address information, the title for submitting all developers of code within a preset period of time is obtained;
Obtain the exploitation amount that all developers submit code;
For any developer in all developers, built for the exploitation amount of the developer and the title of the developer
Found unique mapping relations.
9. terminal device according to claim 8, which is characterized in that the address information includes the version control system
Unique identification and the unique identification corresponding access version control system path, it is described to be believed according to the address
Breath obtains the title for submitting all developers of code within a preset period of time, comprising:
The path is determined by the unique identification;
By the path, the exploitation file of the version control system is obtained;
Code is obtained from the exploitation file and submits record, and judges whether have developer to submit generation within a preset period of time
Code;
If there is developer to submit code within a preset period of time, the name for submitting the developer of code within a preset period of time is obtained
Claim, wherein it includes that the title of developer, the time for submitting code, developer use Version Control system that the code, which submits record,
The unique identification of system.
10. terminal device according to claim 9, which is characterized in that the unique identification of the version control system is git
Version number, the exploitation file includes main exploitation file and at least one branch develops file, described from the exploitation file
It obtains code and submits record, comprising:
According to the path, the main exploitation file is obtained, is each divided from successively being obtained in main exploitation file in main exploitation file
Get out fat file;
According to the first preset order, the code that each developer is successively obtained from each branch's exploitation file submits note
Record.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811017094.8A CN109254791A (en) | 2018-09-03 | 2018-09-03 | Develop management method, computer readable storage medium and the terminal device of data |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811017094.8A CN109254791A (en) | 2018-09-03 | 2018-09-03 | Develop management method, computer readable storage medium and the terminal device of data |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109254791A true CN109254791A (en) | 2019-01-22 |
Family
ID=65050461
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811017094.8A Pending CN109254791A (en) | 2018-09-03 | 2018-09-03 | Develop management method, computer readable storage medium and the terminal device of data |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109254791A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110427177A (en) * | 2019-06-18 | 2019-11-08 | 平安科技(深圳)有限公司 | Code optimization method, apparatus, computer installation and storage medium |
CN110990427A (en) * | 2019-12-16 | 2020-04-10 | 北京智游网安科技有限公司 | Statistical method, system and storage medium for application program affiliated area |
CN112241254A (en) * | 2019-07-16 | 2021-01-19 | 北京车和家信息技术有限公司 | Code statistical method and device for Internet of vehicles multi-terminal system |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2007041242A2 (en) * | 2005-10-03 | 2007-04-12 | Teamstudio, Inc. | Systems and methods for monitoring software application quality |
US20110055799A1 (en) * | 2009-09-01 | 2011-03-03 | Accenture Global Services Limited | Collection and processing of code development information |
US20160162263A1 (en) * | 2014-12-08 | 2016-06-09 | Frank Brunswig | Visual and interaction design integrated development infrastructure |
CN107203370A (en) * | 2016-03-16 | 2017-09-26 | 阿里巴巴集团控股有限公司 | Quantify the method and apparatus of developer's code quality |
-
2018
- 2018-09-03 CN CN201811017094.8A patent/CN109254791A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2007041242A2 (en) * | 2005-10-03 | 2007-04-12 | Teamstudio, Inc. | Systems and methods for monitoring software application quality |
US20110055799A1 (en) * | 2009-09-01 | 2011-03-03 | Accenture Global Services Limited | Collection and processing of code development information |
US20160162263A1 (en) * | 2014-12-08 | 2016-06-09 | Frank Brunswig | Visual and interaction design integrated development infrastructure |
CN107203370A (en) * | 2016-03-16 | 2017-09-26 | 阿里巴巴集团控股有限公司 | Quantify the method and apparatus of developer's code quality |
Non-Patent Citations (1)
Title |
---|
王丽娜等: "闪存数据管理中闪存转换层映射策略研究", 《中国新通信》, vol. 20, no. 13, pages 129 - 130 * |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110427177A (en) * | 2019-06-18 | 2019-11-08 | 平安科技(深圳)有限公司 | Code optimization method, apparatus, computer installation and storage medium |
CN112241254A (en) * | 2019-07-16 | 2021-01-19 | 北京车和家信息技术有限公司 | Code statistical method and device for Internet of vehicles multi-terminal system |
CN112241254B (en) * | 2019-07-16 | 2024-02-02 | 北京车和家信息技术有限公司 | Code statistics method and device for Internet of vehicles multi-terminal system |
CN110990427A (en) * | 2019-12-16 | 2020-04-10 | 北京智游网安科技有限公司 | Statistical method, system and storage medium for application program affiliated area |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109003078B (en) | Intelligent contract calling method and device based on block chain and electronic equipment | |
CN108389129B (en) | Transaction execution method and device based on block chain and electronic equipment | |
CN106484606A (en) | Method and apparatus submitted to by a kind of code | |
CN107315814B (en) | Method and system for verifying data consistency after data migration of KDB (KDB) database | |
CN111221726A (en) | Test data generation method and device, storage medium and intelligent equipment | |
CN109254791A (en) | Develop management method, computer readable storage medium and the terminal device of data | |
US20130198477A1 (en) | Managing remote data replication | |
CN110968437A (en) | Method, device, equipment and medium for parallel execution of single contract based on Java intelligent contract | |
CN112257733B (en) | Model iteration method, second electronic equipment and storage medium | |
CN109446208A (en) | A kind of date storage method, computer readable storage medium and server | |
CN110830234A (en) | User traffic distribution method and device | |
CN109213681A (en) | Test macro, method, equipment and readable storage medium storing program for executing | |
JP3382080B2 (en) | Method and system for collating instruction execution order consistency | |
CN107621963A (en) | A kind of software deployment method, software deployment system and electronic equipment | |
CN110569154A (en) | Chip interface function testing method, system, terminal and storage medium | |
CN114116801A (en) | Data list checking method and device | |
CN109522897A (en) | Customs inspection system, method, apparatus, equipment and readable storage medium storing program for executing | |
CN108459960A (en) | Method of automatic configuration, device, equipment and the storage medium of test environment | |
CN112256672A (en) | Database change approval method and device | |
WO2021053422A1 (en) | Correspondence of external operations to containers and mutation events | |
CN112182089A (en) | Report generation method, device and equipment based on data warehouse model | |
CN105469287A (en) | Engineering bidding quotation electronic data introduction system and method | |
CN110058995A (en) | A kind of the data library test method and system of the interference of avoidable type of database | |
CN115167896A (en) | Method and device for updating software version, storage medium and electronic equipment | |
CN113806309A (en) | Metadata deleting method, system, terminal and storage medium based on distributed lock |
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 |