CN107016094A - A kind of project shared file multi-person synergy development approach, apparatus and system - Google Patents
A kind of project shared file multi-person synergy development approach, apparatus and system Download PDFInfo
- Publication number
- CN107016094A CN107016094A CN201710219982.7A CN201710219982A CN107016094A CN 107016094 A CN107016094 A CN 107016094A CN 201710219982 A CN201710219982 A CN 201710219982A CN 107016094 A CN107016094 A CN 107016094A
- Authority
- CN
- China
- Prior art keywords
- configuration file
- unit
- file
- project
- task
- 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.)
- Granted
Links
- 238000011161 development Methods 0.000 title claims abstract description 54
- 238000013459 approach Methods 0.000 title claims abstract description 24
- 238000000034 method Methods 0.000 claims abstract description 24
- 238000012217 deletion Methods 0.000 claims description 6
- 230000037430 deletion Effects 0.000 claims description 6
- 238000012986 modification Methods 0.000 claims description 6
- 230000004048 modification Effects 0.000 claims description 6
- 230000015572 biosynthetic process Effects 0.000 claims description 4
- 238000003786 synthesis reaction Methods 0.000 claims description 4
- 238000004080 punching Methods 0.000 claims description 2
- 238000012827 research and development Methods 0.000 abstract description 6
- 230000018109 developmental process Effects 0.000 description 48
- 238000010586 diagram Methods 0.000 description 8
- 238000007596 consolidation process Methods 0.000 description 4
- 235000013399 edible fruits Nutrition 0.000 description 2
- 238000011160 research Methods 0.000 description 2
- 230000003796 beauty Effects 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 230000006870 function Effects 0.000 description 1
- 230000000977 initiatory effect Effects 0.000 description 1
- 238000004321 preservation Methods 0.000 description 1
- 230000001360 synchronised effect Effects 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/10—File systems; File servers
- G06F16/17—Details of further file system functions
- G06F16/176—Support for shared access to files; File sharing support
- G06F16/1767—Concurrency control, e.g. optimistic or pessimistic approaches
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Data Mining & Analysis (AREA)
- Databases & Information Systems (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Stored Programmes (AREA)
Abstract
The invention discloses a kind of project shared file multi-person synergy development approach, apparatus and system, this method includes:The project is divided into multiple tasks unit according to the first preset rules, is the newly-built unique configuration file of each task unit;Record the operation note of each configuration file;The operation note is analyzed and processed, conflict number when each configuration file updates is counted;If the conflict number is more than preset times threshold value, then it is more than the task unit corresponding to the configuration file of preset times threshold value to the conflict number and is divided into subtask unit according to the second preset rules, and distinguishes newly-built corresponding configuration file for the subtask unit.The situation that necessarily shared file is developed according to branch is split into multiple tasks unit by the present invention, one and only one configuration file of each task unit, task unit by configuration file can be prevented effectively from other people and the collision problem of oneself, improve efficiency of research and development.
Description
Technical field
The present invention relates to Version Control technical field, more particularly to a kind of project shared file multi-person synergy development approach,
Apparatus and system.
Background technology
Version Control realizes multiple person cooperational editor and file-sharing, similar with other shared resources, in Version Control,
How to ensure that the content that each member of team edits will not be covered or changed by other people, become presently most prominent ask
Topic.In order to solve this problem, different version control systems has used different strategies, and the strategy used at present mainly includes
Locking-modification-unblock strategy and copy-two kinds of modification-consolidation strategy.
Current project is typically larger, and the enterprise of project management is carried out increasingly using copy-modification-consolidation strategy
It is many.The core concept of copy-modification-consolidation strategy is:Many people's synchronous developments, first update and submit again, once conflict, artificial solution
Certainly.Copy-modification-consolidation strategy concurrent development, the time is short, stable, in the case where exchanging abundance, and conflict is seldom,
But, it is impossible to conflict is avoided completely, once clashing, can only artificially be solved, and higher is required to Team Member, and exchange cost
It is higher.
The content of the invention
The present invention provides a kind of project shared file multi-person synergy development approach, apparatus and system, reduces configuration file
Update inconsistency, improves efficiency of research and development.
The present invention uses following technical scheme:
In a first aspect, the present invention provides a kind of project shared file multi-person synergy development approach, including:
The project is divided into multiple tasks unit according to the first preset rules, is that each task unit is newly-built only
One configuration file;
Record the operation note of each configuration file;
The operation note is analyzed and processed, conflict number when each configuration file updates is counted;
If the conflict number is more than preset times threshold value, preset times threshold value is more than to the conflict number
Task unit corresponding to configuration file is divided into subtask unit according to the second preset rules, and is the subtask unit point
Not newly-built corresponding configuration file.
Exemplarily, the operation note includes increase, deletion, modification and the inquiry of configuration file, and operating personnel identify,
Operating time and conflict number.
Alternatively, the corresponding configuration file of each task unit is right by the corresponding subtask unit institute of the TU task unit
The configuration file synthesis answered.
Further, after the newly-built corresponding configuration file for subtask unit difference, in addition to:
Submission configuration file instruction is received, judges whether the configuration file submitted has been present, if the configuration submitted
File has been present, then covers original configuration file;If the configuration file submitted is not present, new configuration text is generated
Part.
Further, if the configuration file of the submission is not present, after generating new configuration file, in addition to:
Compiling instruction is received, the corresponding configuration file of current all task units, automatic code generating is read.
Alternatively, the configuration file uses ProtocolBuffer files.
Further, it is described to receive compiling instruction, the corresponding configuration file of current all task units is read, it is automatic raw
Into after code, in addition to:
The code automatically generated is committed to version control server backup.
Second aspect, the present invention provides a kind of project shared file multi-person synergy development device, including:
Configuration file sets up unit, for the project to be divided into multiple tasks unit according to the first preset rules, is
Each newly-built unique configuration file of task unit;
Operation note recording unit, the operation note for recording each configuration file;
Conflict number statistic unit, for being analyzed and processed to the operation note, counts each configuration text
Conflict number when part updates;
Configuration file split cells, if be more than preset times threshold value for the conflict number, to the conflict
The task unit that number of times is more than corresponding to the configuration file of preset times threshold value is divided into subtask list according to the second preset rules
Position, and distinguish newly-built corresponding configuration file for the subtask unit.
Further, in addition to:
Configuration file submits unit, submits configuration file instruction for receiving, whether to judge the configuration file submitted
Through existing, if the configuration file submitted has been present, original configuration file is covered;If the configuration file submitted is not deposited
Then generating new configuration file;
Configuration file compilation unit, for receiving compiling instruction, reads the newly-built configuration text of current all task units
Part, automatic code generating;
Code submits unit, for the code automatically generated to be committed into version control server backup.
The operation note includes increase, deletion, modification and the inquiry of configuration file, operating personnel's mark, operating time
And conflict number;
Each the corresponding configuration file of the task unit is as matching somebody with somebody corresponding to the corresponding subtask unit of the TU task unit
Put file synthesis.
The third aspect, the present invention provides a kind of project shared file multi-person synergy development system, including configuration file management
Server and client side, the configuration file management server is configured with project shared file multi-person synergy exploitation described above
Device,
The project is divided into multiple tasks unit by configuration file management server according to the first preset rules, is each
The newly-built unique configuration file of task unit;
The corresponding configuration file of client-side editing, adds attribute in configuration file, judges whether every attribute is legal, such as
Fruit attribute is legal, then the attribute is added into the configuration file, and the configuration file for editing completion is committed into configuration file
Management server;
Configuration file management server judges whether the configuration file submitted has been present, if the configuration file submitted is
Through existing, then original configuration file is covered;If the configuration file submitted is not present, new configuration file is generated;Record
The operation note of each configuration file, is analyzed and processed to the operation note, is counted each configuration file and is updated
When conflict number;If the conflict number is more than preset times threshold value, preset times are more than to the conflict number
Task unit corresponding to the configuration file of threshold value is divided into subtask unit according to the second preset rules, and is the subtask
Unit distinguishes newly-built corresponding configuration file.
The technical scheme that the present invention is provided brings following beneficial effect:
By further being divided to there is the corresponding task unit of the configuration file of update inconsistency, task is more refined,
Relevance between task unit and task unit is smaller, and the collision problem even avoided in branch's exploitation is reduced as far as possible,
So as to reduce or even avoid must artificially to solve the situation of conflict in current version control system, by necessarily shared file according to
The situation of branch's exploitation splits into multiple tasks unit, and one and only one configuration file of each task unit, task unit leads to
Crossing configuration file can be prevented effectively from and other people and the collision problem of oneself.
Brief description of the drawings
Technical scheme in order to illustrate the embodiments of the present invention more clearly, institute in being described below to the embodiment of the present invention
The accompanying drawing needed to use is briefly described, it should be apparent that, drawings in the following description are only some implementations of the present invention
Example, for those of ordinary skill in the art, on the premise of not paying creative work, can also be according to present invention implementation
The content and these accompanying drawings of example obtain other accompanying drawings.
Fig. 1 is the method for project shared file multi-person synergy development approach one embodiment provided in an embodiment of the present invention
Flow chart.
Fig. 2 is the method for second embodiment of project shared file multi-person synergy development approach provided in an embodiment of the present invention
Flow chart.
Fig. 3 is the method for the 3rd embodiment of project shared file multi-person synergy development approach provided in an embodiment of the present invention
Flow chart.
Fig. 4 is the method for the 4th embodiment of project shared file multi-person synergy development approach provided in an embodiment of the present invention
Flow chart.
Fig. 5 is the structure of project shared file multi-person synergy development device one embodiment provided in an embodiment of the present invention
Block diagram.
Fig. 6 is the structure of second embodiment of project shared file multi-person synergy development device provided in an embodiment of the present invention
Block diagram.
Fig. 7 is the structure of the 3rd embodiment of project shared file multi-person synergy development device provided in an embodiment of the present invention
Block diagram.
Fig. 8 is the structure of the 4th embodiment of project shared file multi-person synergy development device provided in an embodiment of the present invention
Block diagram.
Fig. 9 is the system schematic of project shared file multi-person synergy development system provided in an embodiment of the present invention.
Embodiment
For make present invention solves the technical problem that, the technical scheme that uses and the technique effect that reaches it is clearer, below
The technical scheme of the embodiment of the present invention will be described in further detail with reference to accompanying drawing, it is clear that described embodiment is only
It is a part of embodiment of the invention, rather than whole embodiments.Based on the embodiment in the present invention, those skilled in the art exist
The every other embodiment obtained under the premise of creative work is not made, the scope of protection of the invention is belonged to.
Fig. 1 is the method for project shared file multi-person synergy development approach one embodiment provided in an embodiment of the present invention
Flow chart.The project shared file multi-person synergy development approach runs on configuration file management server, and it is based on a kind of preferable
Branch's development process of change, the Documents Comparison for needing many people to edit during Version Control is few;Necessarily shared for these
The problem of editing files solve to merge conflict using the present embodiment technical scheme.The project shared file multi-person synergy exploitation side
Method, including:
S101, the project according to the first preset rules is divided into multiple tasks unit, is each task unit
Newly-built unique configuration file.
In the present embodiment, the first preset rules can be divided or according to project according to participation unit
Functional module is divided, and specific dividing mode can be determined according to project characteristic, be not particularly limited here.Such as,
Project is divided into multiple tasks unit according to functional module, each task unit is responsible for by independent One function work unit,
Unique configuration file so is set up for each task unit, i.e., each work unit one configuration file of unique correspondence.
The form of configuration file and rule also can customized, and same project is typically all specific programming language,
Configuration file includes common-mode and custom model.Specifically, when configuration file selects common-mode, configuration file can be used
The ProtocolBuffer files of Go language.Go language is that the second item of the issue of Google 2009 is increased income programming language.Go language
Programming specifically designed for multicomputer system application program is optimized, and the program compiled using Go can match in excellence or beauty C or C++ generations
The speed of code, and safer, support concurrent process.ProtocolBuffer is a kind of lattice of google data exchange
Formula, it is independently of language, independently of platform.Google provides the realization of three kinds of language:Java, c++ and python, each
Realize the compiler and library file for all containing corresponding language.Because it is a kind of binary form, than being carried out using xml
Data exchange is many soon.
The custom model of configuration file can select interpreted language as script, can be by the influence to other branches
It is preferably minimized.If the division of branch's exploitation is more reasonable, the structure of shared file is all more structuring or even standardized, this
The individual further difficulty for reducing custom configuration file compiling.
The name of each configuration file can be named according to work unit, or work out a set of naming rule, with unique true
Determine the corresponding configuration file of work unit.
S102, the operation note for recording each configuration file.
The operation note can include increase, deletion, modification and the inquiry of configuration file, operating personnel's mark, operation
Time and conflict number.
Specifically, it is configuration file storage allocation when increasing configuration file;When deleting configuration file, reclaim this and match somebody with somebody
Put the internal memory of file.
The corresponding configuration file of each work unit may have multiple research staff to be operated, then in editor's configuration text
The mark of log-on operation personnel is accomplished by during part, to determine being who has carried out the editor of this configuration file, operating personnel's mark
Can be name, identification card number or job number, because name generally there is a situation where to bear the same name, the preferential work from operating personnel
Number.
S103, the operation note is analyzed and processed, count the conflict time when each configuration file updates
Number.
Every time submit configuration file when, can the original configuration file corresponding to the configuration file be compared, such as
There is conflict in fruit, then conflict number adds 1.
If S104, the conflict number are more than preset times threshold value, preset times are more than to the conflict number
Task unit corresponding to the configuration file of threshold value is divided into subtask unit according to the second preset rules, and is the subtask
Unit distinguishes newly-built corresponding configuration file.
Preset times can be 3 times, or 5 times, be not particularly limited here.If some configuration file is rushed
It is prominent, then illustrate that the corresponding task unit of the configuration file divides not reasonable, then according to the second preset rules to the task unit
Further divided, the task unit is divided into by multiple subtask units according to specific conflict content, and to appoint per height
Business unit sets up corresponding configuration file respectively, and the corresponding configuration file of task unit is used as subtask unit correspondence configuration file
Upper file.
Specifically, the corresponding configuration file of each task unit is right by the corresponding subtask unit institute of the TU task unit
The configuration file synthesis answered.
So, task division can also be carried out again according to conflict number for subtask unit, so after division
The corresponding configuration file of each task essentially eliminate the situation of conflict when submitting, task unit is relatively independent.
Historical experience Preliminary division is then used when being divided for project initiating task unit, it is further right in actual process
Task unit is segmented.
To sum up, project shared file multi-person synergy development approach provided in an embodiment of the present invention by the project according to first
Preset rules are divided into multiple tasks unit, are the newly-built unique configuration file of each task unit, each configuration of record
The operation note of file, is analyzed and processed to the operation note, counts conflict when each configuration file updates
Number of times, if the conflict number is more than preset times threshold value, matches somebody with somebody to the conflict number more than preset times threshold value
Put the task unit corresponding to file and be divided into subtask unit according to the second preset rules, and be subtask unit difference
Newly-built corresponding configuration file, by further being divided to there is the corresponding task unit of the configuration file of update inconsistency, will appoint
Business is more refined, and the relevance between task unit and task unit is smaller, reduces even avoid in branch's exploitation as far as possible
Collision problem, will necessarily altogether so as to reduce or even avoid must artificially to solve the situation of conflict in current version control system
The situation that the file enjoyed is developed according to branch splits into multiple tasks unit, one and only one configuration text of each task unit
Part, task unit can be prevented effectively from and other people and the collision problem of oneself by configuration file.
Fig. 2 is the method for second embodiment of project shared file multi-person synergy development approach provided in an embodiment of the present invention
Flow chart.The project shared file multi-person synergy development approach is further comprised based on method shown in Fig. 1:
S205, receive submission configuration file instruction, judge submit configuration file whether existed, if submission
Configuration file has been present, then covers original configuration file;If the configuration file submitted is not present, new configuration is generated
File.
All configuration files use same set of naming rule, after user has edited configuration file, when submitting configuration file,
The title of the configuration file of submission is matched with the title of all configuration files, if matching the configuration text of same names
Part is then directly covered;Conversely, then generating new configuration file.
To sum up, project shared file multi-person synergy development approach provided in an embodiment of the present invention is using the configuration submitted every time
File covers its corresponding original configuration file, it is ensured that each task unit only has a configuration file, from width and range
The possibility of conflict is all avoided, is conducive to improving efficiency of research and development.
Fig. 3 is the method for the 3rd embodiment of project shared file multi-person synergy development approach provided in an embodiment of the present invention
Flow chart.The project shared file multi-person synergy development approach is further comprised based on method shown in Fig. 2:
S306, compiling instruction is received, read the corresponding configuration file of current all task units, automatic code generating.
In the present embodiment, configuration file uses the ProtocolBuffer files of Go language.Google provides three kinds of languages
The realization of speech:Java, c++ and python, each realizes the compiler and library file for all containing corresponding language.Using existing
Some file formats, it is not necessary to research and develop corresponding compiler again, the volume of configuration file can be just realized using its supporting compiler
Translate generation code.
To sum up, project shared file multi-person synergy development approach provided in an embodiment of the present invention is carried out to all configuration files
Compiling generation code, because conflict is not present in all configuration files, therefore, the code of generation does not conflict, to configuration text
Part Uniform compilation is packed, and improves treatment effeciency.
Fig. 4 is the method for the 4th embodiment of project shared file multi-person synergy development approach provided in an embodiment of the present invention
Flow chart.The project shared file multi-person synergy development approach is further comprised based on method shown in Fig. 3:
S407, the code automatically generated is committed to version control server backup.
In the present embodiment, using SVN (Subversion, SVN) version control system, the code automatically generated is uploaded to
SVN version control systems carry out the preservation of the version, are easy to search problem during subsequent development, and the version before returning back to.
To sum up, the code that project shared file multi-person synergy development approach provided in an embodiment of the present invention is automatically generated is solution
Determine the code of conflict, therefore, be not in conflict situations when being committed to version control server, it is to avoid artificial solution
Certainly conflict is wasted time and energy, and improves efficiency of research and development.
Fig. 5 is the structure of project shared file multi-person synergy development device one embodiment provided in an embodiment of the present invention
Block diagram.The project shared file multi-person synergy development device is used to perform the method shown in Fig. 1.With reference to shown in Fig. 5, the project
Shared file multi-person synergy development device includes:
Configuration file sets up unit 100, for the project to be divided into multiple tasks unit according to the first preset rules,
For each newly-built unique configuration file of task unit;
Operation note recording unit 101, the operation note for recording each configuration file;The operation note includes matching somebody with somebody
Put increase, deletion, modification and the inquiry of file, operating personnel's mark, operating time and conflict number;
Conflict number statistic unit 102, for being analyzed and processed to the operation note, counts each configuration
Conflict number when file updates;
Configuration file split cells 103, if be more than preset times threshold value for the conflict number, to the punching
The task unit that prominent number of times is more than corresponding to the configuration file of preset times threshold value is divided into subtask according to the second preset rules
Unit, and distinguish newly-built corresponding configuration file for the subtask unit;The corresponding configuration file of each task unit
Synthesized by the configuration file corresponding to the corresponding subtask unit of the TU task unit.
To sum up, project shared file multi-person synergy development device provided in an embodiment of the present invention by the project according to first
Preset rules are divided into multiple tasks unit, are the newly-built unique configuration file of each task unit, each configuration of record
The operation note of file, is analyzed and processed to the operation note, counts conflict when each configuration file updates
Number of times, if the conflict number is more than preset times threshold value, matches somebody with somebody to the conflict number more than preset times threshold value
Put the task unit corresponding to file and be divided into subtask unit according to the second preset rules, and be subtask unit difference
Newly-built corresponding configuration file, by further being divided to there is the corresponding task unit of the configuration file of update inconsistency, will appoint
Business is more refined, and the relevance between task unit and task unit is smaller, reduces even avoid in branch's exploitation as far as possible
Collision problem, will necessarily altogether so as to reduce or even avoid must artificially to solve the situation of conflict in current version control system
The situation that the file enjoyed is developed according to branch splits into multiple tasks unit, one and only one configuration text of each task unit
Part, task unit can be prevented effectively from and other people and the collision problem of oneself by configuration file.
Fig. 6 is the structure of second embodiment of project shared file multi-person synergy development device provided in an embodiment of the present invention
Block diagram.The device is based on the device shown in Fig. 5, with reference to shown in Fig. 6, and the project shared file multi-person synergy development device enters one
Step also includes:
Configuration file submit unit 104, for receive submit configuration file instruction, judge submission configuration file whether
It has been existed that, if the configuration file submitted has been present, cover original configuration file;If the configuration file submitted is not
In the presence of then generating new configuration file.
To sum up, project shared file multi-person synergy development device provided in an embodiment of the present invention is using the configuration submitted every time
File covers its corresponding original configuration file, it is ensured that each task unit only has a configuration file, from width and range
The possibility of conflict is all avoided, is conducive to improving efficiency of research and development.
Fig. 7 is the structure of the 3rd embodiment of project shared file multi-person synergy development device provided in an embodiment of the present invention
Block diagram.The device is based on the device shown in Fig. 6, with reference to shown in Fig. 7, and the project shared file multi-person synergy development device enters one
Step also includes:
Configuration file compilation unit 105, for receiving compiling instruction, reads the newly-built configuration of current all task units
File, automatic code generating.
To sum up, project shared file multi-person synergy development device provided in an embodiment of the present invention is carried out to all configuration files
Compiling generation code, because conflict is not present in all configuration files, therefore, the code of generation does not conflict, to configuration text
Part Uniform compilation is packed, and improves treatment effeciency.
Fig. 8 is the structure of the 4th embodiment of project shared file multi-person synergy development device provided in an embodiment of the present invention
Block diagram.The device is based on the device shown in Fig. 7, with reference to shown in Fig. 8, and the project shared file multi-person synergy development device enters one
Step also includes:
Code submits unit 106, for the code automatically generated to be committed into version control server backup.
To sum up, the code that project shared file multi-person synergy development approach provided in an embodiment of the present invention is automatically generated is solution
Determine the code of conflict, therefore, be not in conflict situations when being committed to version control server, it is to avoid artificial solution
Certainly conflict is wasted time and energy, and improves efficiency of research and development.
Fig. 9 is the system schematic of project shared file multi-person synergy development system provided in an embodiment of the present invention.With reference to
Shown in Fig. 9, the project shared file multi-person synergy development system includes configuration file management server 1 and client 2, described to match somebody with somebody
Put document management server 1 and be configured with project shared file multi-person synergy development device 10 described above,
The project is divided into multiple tasks unit by configuration file management server 1 according to the first preset rules, is every
The individual newly-built unique configuration file of the task unit;
Client 2 edits corresponding configuration file, and attribute is added in configuration file, judges whether every attribute is legal,
If attribute is legal, the attribute is added into the configuration file, the configuration file for editing completion is committed to configuration text
Part management server 1;
Configuration file management server 1 judges whether the configuration file submitted has been present, if the configuration file submitted
It has been existed that, then cover original configuration file;If the configuration file submitted is not present, new configuration file is generated;Note
The operation note of each configuration file is recorded, the operation note is analyzed and processed, each configuration file is counted more
Conflict number when new;If the conflict number is more than preset times threshold value, the conflict number is more than default time
Task unit corresponding to the configuration file of number threshold value is divided into subtask unit according to the second preset rules, and appoints for the son
Unit of being engaged in distinguishes newly-built corresponding configuration file.
To sum up, project shared file multi-person synergy development system provided in an embodiment of the present invention passes through to there is update inconsistency
The corresponding task unit of configuration file further divide, task is more refined, the pass between task unit and task unit
Connection property is smaller, the collision problem even avoided in branch's exploitation is reduced as far as possible, so as to reduce or even avoid current version control
The situation of conflict must be artificially solved in system processed, the situation that necessarily shared file is developed according to branch splits into multiple
Business unit, one and only one configuration file of each task unit, task unit can be prevented effectively from and other people by configuration file
With the collision problem of oneself.
Above content is only presently preferred embodiments of the present invention, for one of ordinary skill in the art, according to the present invention's
Thought, will change in specific embodiments and applications, and this specification content should not be construed as to the present invention
Limitation.
Claims (10)
1. a kind of project shared file multi-person synergy development approach, it is characterised in that including:
The project is divided into multiple tasks unit according to the first preset rules, is that each task unit is newly-built unique
Configuration file;
Record the operation note of each configuration file;
The operation note is analyzed and processed, conflict number when each configuration file updates is counted;
If the conflict number is more than preset times threshold value, the configuration of preset times threshold value is more than to the conflict number
Task unit corresponding to file is divided into subtask unit according to the second preset rules, and distinguishes new for the subtask unit
Build corresponding configuration file.
2. according to the method described in claim 1, it is characterised in that the operation note include the increase of configuration file, deletion,
Modification and inquiry, operating personnel's mark, operating time and conflict number.
3. according to the method described in claim 1, it is characterised in that each the corresponding configuration file of the task unit is by this
The configuration file synthesis being engaged in corresponding to the corresponding subtask unit of unit.
4. method according to claim 3, it is characterised in that described to distinguish newly-built corresponding match somebody with somebody for the subtask unit
File is put, is also included afterwards:
Submission configuration file instruction is received, judges whether the configuration file submitted has been present, if the configuration file submitted
It has been existed that, then cover original configuration file;If the configuration file submitted is not present, new configuration file is generated.
5. method according to claim 4, it is characterised in that if the configuration file of the submission is not present, generate
After new configuration file, in addition to:
Compiling instruction is received, the corresponding configuration file of current all task units, automatic code generating is read.
6. according to the method described in claim 1, it is characterised in that the configuration file uses ProtocolBuffer files.
7. method according to claim 5, it is characterised in that described to receive compiling instruction, reads current all tasks
After the corresponding configuration file of unit, automatic code generating, in addition to:
The code automatically generated is committed to version control server backup.
8. a kind of project shared file multi-person synergy development device, it is characterised in that including:
Configuration file sets up unit, is each for the project to be divided into multiple tasks unit according to the first preset rules
The newly-built unique configuration file of task unit;
Operation note recording unit, the operation note for recording each configuration file;
Conflict number statistic unit, for being analyzed and processed to the operation note, counts each configuration file more
Conflict number when new;
Configuration file split cells, if be more than preset times threshold value for the conflict number, to the conflict number
Subtask unit is divided into according to the second preset rules more than the task unit corresponding to the configuration file of preset times threshold value, and
Distinguish newly-built corresponding configuration file for the subtask unit.
9. project shared file multi-person synergy development device according to claim 8, it is characterised in that also include:
Configuration file submits unit, submits configuration file instruction for receiving, judges whether the configuration file submitted has been deposited
If the configuration file submitted has been present, original configuration file is being covered;If the configuration file submitted is not present,
Then generate new configuration file;
Configuration file compilation unit, for receiving compiling instruction, reads the newly-built configuration file of current all task units, from
Dynamic generation code;
Code submits unit, for the code automatically generated to be committed into version control server backup.
The operation note includes increase, deletion, modification and the inquiry of configuration file, operating personnel's mark, operating time and punching
Prominent number of times;
Each the corresponding configuration file of the task unit is as the configuration text corresponding to the corresponding subtask unit of the TU task unit
Part is synthesized.
10. a kind of project shared file multi-person synergy development system, it is characterised in that including configuration file management server and visitor
Family end, the configuration file management server is configured with project shared file multi-person synergy exploitation as claimed in claim 8 or 9
Device,
The project is divided into multiple tasks unit by configuration file management server according to the first preset rules, is each described
The newly-built unique configuration file of task unit;
The corresponding configuration file of client-side editing, adds attribute in configuration file, judges whether every attribute is legal, if category
Property it is legal, then the attribute is added into the configuration file, by edit complete configuration file be committed to configuration file management
Server;
Configuration file management server judges whether the configuration file submitted has been present, if the configuration file submitted has been deposited
Then covering original configuration file;If the configuration file submitted is not present, new configuration file is generated;Record is each
The operation note of configuration file, is analyzed and processed to the operation note, is counted when each configuration file updates
Conflict number;If the conflict number is more than preset times threshold value, preset times threshold value is more than to the conflict number
Configuration file corresponding to task unit be divided into subtask unit according to the second preset rules, and be the subtask unit
The newly-built corresponding configuration file of difference.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710219982.7A CN107016094B (en) | 2017-04-06 | 2017-04-06 | Project shared file multi-person collaborative development method, device and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710219982.7A CN107016094B (en) | 2017-04-06 | 2017-04-06 | Project shared file multi-person collaborative development method, device and system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107016094A true CN107016094A (en) | 2017-08-04 |
CN107016094B CN107016094B (en) | 2020-11-17 |
Family
ID=59445377
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710219982.7A Expired - Fee Related CN107016094B (en) | 2017-04-06 | 2017-04-06 | Project shared file multi-person collaborative development method, device and system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107016094B (en) |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107341646A (en) * | 2017-05-31 | 2017-11-10 | 北京广利核系统工程有限公司 | Configuration software coordination management system and method |
CN109120707A (en) * | 2018-08-30 | 2019-01-01 | 徐州瑞晨矿业科技发展有限公司 | A kind of method of vector graphics remote data sharing and real-time collaborative reference |
CN110633250A (en) * | 2019-07-19 | 2019-12-31 | 完美世界(北京)软件科技发展有限公司 | Resource management system and method |
CN110795100A (en) * | 2019-09-12 | 2020-02-14 | 连连银通电子支付有限公司 | Branch merging method and device |
CN111475479A (en) * | 2020-04-08 | 2020-07-31 | 中交水运规划设计院有限公司 | Project file management method and device |
CN112422605A (en) * | 2019-08-21 | 2021-02-26 | 株式会社日立制作所 | Monitoring control system and method for constructing monitoring control system |
CN112765102A (en) * | 2021-01-26 | 2021-05-07 | 建信金融科技有限责任公司 | File system management method and device |
CN115629746A (en) * | 2022-12-22 | 2023-01-20 | 西安葡萄城软件有限公司 | Method and system for multi-person collaborative development of low-code platform |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101387953A (en) * | 2007-09-14 | 2009-03-18 | 环达电脑(上海)有限公司 | Collaboration software development system and method |
CN101959311A (en) * | 2009-07-17 | 2011-01-26 | 富士通株式会社 | Wireless communication device and wireless communication method |
US20140012492A1 (en) * | 2012-07-09 | 2014-01-09 | Elwha Llc | Systems and methods for cooperative collision detection |
CN104298825A (en) * | 2014-10-10 | 2015-01-21 | 中国科学院合肥物质科学研究院 | Fault tree collaborative analysis system based on authority management and model decomposition |
CN105760519A (en) * | 2016-02-26 | 2016-07-13 | 北京鲸鲨软件科技有限公司 | Cluster file system and file lock allocation method thereof |
CN105912740A (en) * | 2015-12-15 | 2016-08-31 | 大连理工大学 | CAE distributed cooperative work method based on cloud calculation |
US9483259B1 (en) * | 2012-05-07 | 2016-11-01 | Google Inc. | System and method for providing real-time execution of source code in a collaborative online software development environment |
-
2017
- 2017-04-06 CN CN201710219982.7A patent/CN107016094B/en not_active Expired - Fee Related
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101387953A (en) * | 2007-09-14 | 2009-03-18 | 环达电脑(上海)有限公司 | Collaboration software development system and method |
CN101959311A (en) * | 2009-07-17 | 2011-01-26 | 富士通株式会社 | Wireless communication device and wireless communication method |
US9483259B1 (en) * | 2012-05-07 | 2016-11-01 | Google Inc. | System and method for providing real-time execution of source code in a collaborative online software development environment |
US20140012492A1 (en) * | 2012-07-09 | 2014-01-09 | Elwha Llc | Systems and methods for cooperative collision detection |
CN104298825A (en) * | 2014-10-10 | 2015-01-21 | 中国科学院合肥物质科学研究院 | Fault tree collaborative analysis system based on authority management and model decomposition |
CN105912740A (en) * | 2015-12-15 | 2016-08-31 | 大连理工大学 | CAE distributed cooperative work method based on cloud calculation |
CN105760519A (en) * | 2016-02-26 | 2016-07-13 | 北京鲸鲨软件科技有限公司 | Cluster file system and file lock allocation method thereof |
Non-Patent Citations (2)
Title |
---|
CAIMAO SU: "Research on Task Planning for Collaborative Development of Stamping Die", 《IEEE》 * |
赵群力等: "面向网络化协同设计的任务分解研究", 《网络安全技术与应用》 * |
Cited By (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107341646A (en) * | 2017-05-31 | 2017-11-10 | 北京广利核系统工程有限公司 | Configuration software coordination management system and method |
CN109120707A (en) * | 2018-08-30 | 2019-01-01 | 徐州瑞晨矿业科技发展有限公司 | A kind of method of vector graphics remote data sharing and real-time collaborative reference |
CN109120707B (en) * | 2018-08-30 | 2021-06-25 | 徐州瑞晨矿业科技发展有限公司 | Method for remote sharing and real-time collaborative reference of vector graphical data |
CN110633250A (en) * | 2019-07-19 | 2019-12-31 | 完美世界(北京)软件科技发展有限公司 | Resource management system and method |
CN110633250B (en) * | 2019-07-19 | 2023-05-09 | 完美世界(北京)软件科技发展有限公司 | Resource management system and method |
CN112422605A (en) * | 2019-08-21 | 2021-02-26 | 株式会社日立制作所 | Monitoring control system and method for constructing monitoring control system |
CN110795100A (en) * | 2019-09-12 | 2020-02-14 | 连连银通电子支付有限公司 | Branch merging method and device |
CN110795100B (en) * | 2019-09-12 | 2023-11-03 | 连连银通电子支付有限公司 | Branch merging method and device |
CN111475479A (en) * | 2020-04-08 | 2020-07-31 | 中交水运规划设计院有限公司 | Project file management method and device |
CN111475479B (en) * | 2020-04-08 | 2023-06-02 | 中交水运规划设计院有限公司 | Project file management method and device |
CN112765102A (en) * | 2021-01-26 | 2021-05-07 | 建信金融科技有限责任公司 | File system management method and device |
CN115629746A (en) * | 2022-12-22 | 2023-01-20 | 西安葡萄城软件有限公司 | Method and system for multi-person collaborative development of low-code platform |
Also Published As
Publication number | Publication date |
---|---|
CN107016094B (en) | 2020-11-17 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107016094A (en) | A kind of project shared file multi-person synergy development approach, apparatus and system | |
Park et al. | Web-based collaborative big data analytics on big data as a service platform | |
CN102739770B (en) | Method and system for scheduling resource based on cloud computing | |
CN110968325B (en) | Applet conversion method and device | |
AU2015331025A1 (en) | Emulating manual system of filing using electronic document and electronic file | |
US7818293B2 (en) | Method and system to synchronize updated versions of a document edited on a collaborative site that are under document management control | |
CN103530407B (en) | Method and device for generating rich text document | |
CN103309904A (en) | Method and device for generating data warehouse ETL (Extraction, Transformation and Loading) codes | |
CN101488086A (en) | Software generation method and apparatus based on field model | |
CN102110102A (en) | Data processing method and device, and file identifying method and tool | |
AU2015331030A1 (en) | System generator module for electronic document and electronic file | |
US20190147029A1 (en) | Method and system for generating conversational user interface | |
CN104008441A (en) | Task management system and method for automatically submitting files into version library | |
CN107656737A (en) | A kind of incremental compilation method, apparatus, equipment and storage medium based on Git instruments | |
CN106681698A (en) | Dynamic list generating method and device | |
CN109783802A (en) | A kind of business rule processing method, server and computer readable storage medium | |
CN109902114A (en) | ES company-data multiplexing method, system, computer installation and storage medium | |
CN109857875A (en) | A kind of electronic record group volume method and system | |
CN105912324A (en) | Method and device for generating Web page | |
CN111290813B (en) | Software interface field data standardization method, device, equipment and medium | |
CN106802928B (en) | Power grid historical data management method and system | |
CN112541692B (en) | Scientific data management plan generation method and device | |
CN110297904B (en) | Event name generation method and device, electronic equipment and storage medium | |
US20130198181A1 (en) | Summarising a Set of Articles | |
WO2016206395A1 (en) | Weekly report information processing method and device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20201117 |