CN103761092A - Knowledge community based method and device of online collaborative analysis and sharing for source codes - Google Patents

Knowledge community based method and device of online collaborative analysis and sharing for source codes Download PDF

Info

Publication number
CN103761092A
CN103761092A CN201410025189.XA CN201410025189A CN103761092A CN 103761092 A CN103761092 A CN 103761092A CN 201410025189 A CN201410025189 A CN 201410025189A CN 103761092 A CN103761092 A CN 103761092A
Authority
CN
China
Prior art keywords
entry
source code
knowledge
community
analysis
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
Application number
CN201410025189.XA
Other languages
Chinese (zh)
Other versions
CN103761092B (en
Inventor
于佳耕
李斌
刘雪花
武延军
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Institute of Software of CAS
Original Assignee
Institute of Software of CAS
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Institute of Software of CAS filed Critical Institute of Software of CAS
Priority to CN201410025189.XA priority Critical patent/CN103761092B/en
Publication of CN103761092A publication Critical patent/CN103761092A/en
Application granted granted Critical
Publication of CN103761092B publication Critical patent/CN103761092B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention relates to a knowledge community based method and device of online collaborative analysis and sharing for source codes. The method includes the steps: 1, certificating a knowledge community and building a source code collaborative analysis platform, namely binding users of an existing open source community through a knowledge community certification interface, initializing community member permissions, building a source context environment including existing hot open source software, analyzing programming elements included in files in the software, creating corresponding knowledge base entries, and providing a source code and entry correlation mechanism; 2, performing source code online collaborative analysis, namely allowing community members to perform analysis of source codes in the related source code contexts and multi-historical-version entry editing by means of the online collaborative analysis environment; 3, integrating and sharing knowledge, namely allowing the community members to share and utilize the knowledge differentially according to contribution levels. The knowledge community based method and device of online collaborative analysis and sharing for source codes has the advantages that the knowledge communities are fully utilized to gather open source software developers and amateurs and the requirements of community members for convenient knowledge creation, knowledge innovation and fast query, sharing and utilization are met.

Description

A kind of online source code Cooperative Analysis and sharing method and device based on Knowledge Community
Technical field
The present invention relates to construction and the operation technique of online source code Cooperative Analysis environment, be particularly related to source code Cooperative Analysis and sharing method based on Knowledge Community and knowledge base, source code Cooperative Analysis and sharing method based on Knowledge Community under a kind of social networks of practicality have been proposed, and the device that adopts the method.
Background technology
Knowledge Community refers to the knowledge innovation of the spontaneous composition of employee and the group of sharing, and the strength of its cohesion is interpersonal trust or common interest.Whether community member can decide in its sole discretion will play an active part in activity, be happy to share one's experience with knowledge, spontaneously exchange views with idea, instruct mutually and learn, share outside new knowledge and from transmission of knowledge, obtain knowledge accumulation and self-promotion.Knowledge Community can bring into play the transmission of Tacit Knowledge and the innovation of knowledge, has finally formed the preciousness accumulation of relationship among persons, human resources, knowledge resource.
Along with the development of social networks, knowledge creating, knowledge dissemination and information management that the implicit knowledge community that novel social networks produces is specific area provide core operating mechanism.The theories such as " towards the collaboration type exchange of knowledge of Knowledge Community " and " Portland Pattern Repository " are also widely used in practice.Such as famous intellectual website wikipedia, Baidupedia, interactive encyclopaedia etc.Wherein the English entry on wikipedia has run up to more than 3,000 ten thousand, and content relates to nature, science, and political geography etc. field, embraces a wide spectrum of ideas.This intellectual website is definitely the outstanding person in encyclopaedical formula knowledge base field, but in open source software source code systematicness, the comprehensive knowledge of the aspect such as analysis and safety, Performance Evaluation, existing community and website are all difficult to reach.
Source code is the flesh and blood that build computer science, and its quantity is continuing to present explosive growth, is containing a large amount of implicit knowledges in its code line.How, implicit knowledge alienation wherein, the innovation that elite is extracted and realized knowledge is the glamour place of open source software with sharing always, is also difficult point place simultaneously.In open source software field, linux community, android community, the Chinese community that increases income, the cnopenlinux community that increases income, and some the question and answer type StackOverflow of community, LKML etc. have assembled developer and the fan of a lot of open source softwares.Also concentrated the discussion that source code is analyzed in various degree, the form of expression of achievement comprises technical report and problem discussion etc., is all more scattered.These communities are in default of systematized supporting tool, and can not be comprehensive, deep do and analyze annotation for specific open source software (such as linux, android, hadoop etc.), can not form knowledge generation, the innovation of system and share.
Just as learning a language, need language environment, analyzing source code needs source code context environmental.Source code is an integral body that has logic, and single algorithm and function only just have actual meaning in concrete context.Specification and analysis source code can not depart from source code, really have thorough grasp source code and need to accomplish to go deep into source code, analyze line by line, continue accumulation.Online source code Cooperative Analysis and sharing method based on Knowledge Community that the present invention proposes have made up this vacancy.The invention provides open source software analysis and sharing method based on Knowledge Community under a kind of social networks of practicality.Under the guiding of Knowledge Community, can well assemble the community member of common interest point, between member, by online collaborative mode, carry out source code analysis, analysis results is shared, propagate and recreation.
Summary of the invention
The object of the present invention is to provide a kind of online source code Cooperative Analysis and sharing method based on Knowledge Community, and install accordingly, the source code and the entry relation mechanism that utilize cooperative surroundings to provide, be correlated with source code analysis in source code context environmental and entry knowledge creating, knowledge innovation and the information management of many old versions, finally form the knowledge base of the relevant knowledges such as the functional description of popular open source software source code, performance specification, security descriptor.
Online source code Cooperative Analysis and sharing method based on Knowledge Community of the present invention, its step comprises:
1) Knowledge Community authenticates and the platform construction of source code Cooperative Analysis: by user the initialization community member authority of the existing community that increases income of Knowledge Community's authentication interface binding, by source code analytics engine, build the source code context environmental that comprises existing popular open source software, and then the programming key element comprising by analysis source code file and context thereof create corresponding knowledge base entry entrance, form online Cooperative Analysis environment, and source code and entry relation mechanism are provided;
2) online source code Cooperative Analysis: utilize described online Cooperative Analysis environment, community member be correlated with source code analysis in source code context environmental and the article editing of many old versions, constantly expand knowledge base by continuing establishment entry;
3) knowledge integrated with share: by retaining all old versions of each entry, ripe entry is carried out to integrated and locking, community member differentially shares according to percentage contribution and utilizes knowledge.
Further, in step 1), Knowledge Community authenticates with the concrete steps of source code Cooperative Analysis platform construction and comprises:
1a) user utilizes community authentication interface registered members or binds the existing account in other communities, and system is by initialization member authority, and after being verified, user enters online source code Cooperative Analysis environment;
1b) check whether have source code to be analyzed and required version, if existed, jump to 1d), otherwise jump to 1c);
While 1c) there is not source code to be analyzed and required version, user adds corresponding source code, and cooperative surroundings is resolved identifier entry entrance corresponding to automatic establishment that this source code comprises;
1d) in cooperative surroundings, carry out source code analysis or entry is checked.
Further, the concrete steps of step 2) using cooperative surroundings to carry out online source code Cooperative Analysis comprise:
2a) community member analyzes specific source code and version according to point of interest;
The context concrete analysis identifier that 2b) utilizes cooperative surroundings to provide;
2c) check whether corresponding entry exists, if there is no jump to 2d), exist and jump to 2e);
2d) create the content of this entry, jump to 2g after completing this step);
If 2e) this entry exists, judge that whether this entry is ripe locked, whether there is authority to upgrade, if renewable, jump to 2f), otherwise jump to 2b) continue analysis and improve other entries;
2f) upgrade this entry content, jump to 2g after completing this step);
2g) entry by establishment or after upgrading joins knowledge base.
Further, step 3) carries out that knowledge is integrated to be comprised with the concrete steps of sharing:
3a) community member utilizes collaborative context environmental to select the entry that need to share;
Whether this entry that 3b) system of checking provides exists, if existed, jumps to 3c), otherwise jump to 3a) select other entries;
3c) system judges whether this user gradation has the authority of sharing this entry, is to jump to 3d), otherwise jump to 3a) select other entries;
3d) member judges that whether this entry is ripe entry, if it is jumps to 3e), otherwise jump to 3a) select other entries;
3e) member is integrated and lock this entry, then carries out 3f);
3f) member sets the rank of sharing of this entry, and whole flow process finishes.
Based on same inventive concept, the present invention also provides the device of realizing said method, and this device comprises client device and Cooperative Analysis system, establishes a communications link therebetween by network;
Described client device comprises for accessing the application program of described Cooperative Analysis system;
Described Cooperative Analysis system comprises:
Internet server, for carrying out network service;
Database, the oss message, corresponding entry information and the user profile that for storing Cooperative Analysis environment, need;
Cooperative Analysis environment server, for generating the Web page of the online source code Cooperative Analysis environment based on Knowledge Community, and provides user collaborative Analysis Service and sharing service.
Specifically, described Cooperative Analysis environment server carries online source code Cooperative Analysis based on Knowledge Community and shares subjective environment, particularly, it provides the service of Knowledge Community authentication interface, source code analysis service support above-mentioned steps 1) Knowledge Community authenticates and the platform construction of source code Cooperative Analysis; Cooperative Analysis environment server passes to client together with database server and Internet server by the page and service and carry out step 2 for user) online source code Cooperative Analysis and step 3) knowledge integrated with share.
Further, described client device comprises processor, storer, network interface, display device, computer-readable storage, input equipment and optional peripherals, can be the equipment based on processor of any type, as personal computer, smart mobile phone and panel computer etc.In described client, for accessing the application program of Cooperative Analysis system, be browser, or other similar application program.
Further, database in described Cooperative Analysis system can be implemented as one or more relational database management system (RDBMS), lightweight database access agreement (LDAP) or other databases, or realizes with other database schemas.Database is mainly used in storing oss message, corresponding entry information, the user profile that Cooperative Analysis environment needs.
Further, described Cooperative Analysis environment server provides HTML (HTML (Hypertext Markup Language)), image, script (for example, JavaScript, Perl) to carry out for the browser-interpreted on client device.
The present invention includes that Knowledge Community authenticates with the environmental construction of source code Cooperative Analysis, online source code Cooperative Analysis, knowledge is integrated and share three Main Stage.By Knowledge Community, authenticate, assemble developer and the fan of open source software, build open source software source code context environmental and entry relation mechanism.By the online source code Cooperative Analysis stage, community member carries out the entry knowledge creating of many old versions, and knowledge base has obtained accumulation and abundant.By knowledge integrated with share the stage, ripe knowledge is locked and curing, knowledge base obtains core accumulation and precipitation.Community member shares existing knowledge according to authority and constantly carries out knowledge innovation and enrich, and the screw type that forms knowledge base increases.
The present invention can, by the implicit knowledge alienation in open source software field individual and source code, complete knowledge generation, knowledge innovation and share the process of utilization.The present invention overcome the existing community source code of increasing income analyze relevant knowledge scattered, depart from source code context environmental, be difficult for retrieval and inquisition and share the difficulties such as utilization, the community that turns one's knowledge to advantage has been concentrated Open Source Software person and fan, the demand of met community member knowledge creating easily, knowledge innovation, fast query, sharing and utilize.
Accompanying drawing explanation
Fig. 1 is online source code Cooperative Analysis based on Knowledge Community and the implement device Organization Chart of sharing method.
Fig. 2 is online source code Cooperative Analysis based on Knowledge Community and the illustraton of model of sharing method.
Tu3Shi Knowledge Community authenticates and source code Cooperative Analysis environmental structure process flow diagram.
Fig. 4 is online Cooperative Analysis process flow diagram.
Fig. 5 be knowledge base integrated with share process flow diagram.
Fig. 6 is exemplifying embodiment figure.
Fig. 7 is the function call figure in embodiment.
Embodiment
Below by embodiment and accompanying drawing, the present invention is further illustrated, but the scope not limiting the present invention in any way.
Fig. 1 is online source code Cooperative Analysis based on Knowledge Community of the present invention and the implement device figure of sharing method.This device comprises client and Cooperative Analysis system, connects therebetween by network.Wherein:
Client is used for accessing Cooperative Analysis system, comprises browser or for accessing the similar application program of Cooperative Analysis system.Client device comprises processor, storer, network interface, display device, computer-readable storage, input equipment and optional peripherals, can be the equipment based on processor (as individual calculus, smart mobile phone and panel computer) of any type.
The Internet server that Cooperative Analysis system comprises network enabled communication, for database and the Cooperative Analysis environment server of data-storing.Cooperative Analysis environment server generates the online source code Cooperative Analysis environment based on Knowledge Community, generates and serve analysis platform web page.It provides HTML (HTML (Hypertext Markup Language)), image, script (for example, JavaScript, Perl) to carry out for the browser-interpreted on client device.Database can be implemented as one or more relational database management system (RDBMS), lightweight database access agreement (LDAP) or other databases, or realizes with other database schemas.Database is mainly used in storing oss message, corresponding entry information, the user profile that Cooperative Analysis environment needs.
By the data communication between the entity shown in network support Fig. 1.Network generally includes and the LAN (Local Area Network) (LAN) of Internet traffic or some combination of wide area network (WAN), and it uses standard communication techniques or agreement.In these networks, the part of any network can be wired or wireless, the technology that its use is associated (for example, Ethernet, 802.11) and agreement (for example, TCP/IP, HTTP and FTP).By the data of network exchange, can use the technology and/or the form that comprise HTML (Hypertext Markup Language) (HTML), extend markup language (XML), Simple Object Access Protocol (SOAP) and/or extended formatting to represent.In addition, all or some link can be used the conventional encryption technique such as security socket layer (SSL), internet protocol secure (IPsec), secure HTTP and/or VPN (virtual private network) (VPN) to be encrypted.
Fig. 2 is online source code Cooperative Analysis based on Knowledge Community of the present invention and the illustraton of model of sharing method, mainly comprises that Knowledge Community authenticates with the environmental construction of source code Cooperative Analysis, online source code Cooperative Analysis, knowledge is integrated and share three Main Stage.By Knowledge Community, authenticate, assemble developer and the fan of open source software, build open source software source code context environmental and entry relation mechanism.By the online source code Cooperative Analysis stage, community member carries out the entry knowledge creating of many old versions, and knowledge base has obtained accumulation and abundant.By knowledge integrated with share the stage, ripe knowledge is locked and curing, knowledge base obtains core accumulation and precipitation.Community member shares existing knowledge according to authority and constantly carries out knowledge innovation and enrich, and the screw type that forms knowledge base increases.
1. Knowledge Community authenticates and the source code Cooperative Analysis environmental construction stage
By Knowledge Community's authentication interface, bind other increase income community users initialization community member authorities.User can tourist option or registered members's mode of binding the existing account in other communities enter Knowledge Community.Knowledge Community is divided into 5 grades by user right, and entry is shared rank and is also made as 5 grades.User right increases progressively from 1~5 grade.Entry is shared rank and is increased progressively from 1~5 grade.The rank of other quantity also can be set in other embodiments.
1 grade of user is visitor, has the authority of reading 1 grade of entry.Without editing authority.
2 grades of users are elementary member, have the authority of reading and writing 1~2 grade of entry.
3 grades of users are intermediate member, have the authority of reading and writing 1~3 grade of entry, lock 1~3 grade of entry with arrange entry share level other authority.
4 grades of users are senior member, have the authority of reading and writing 1~4 grade of entry, lock 1~4 grade of entry with arrange entry share level other authority.
5 grades of users are domain expert, and read-write all entries are shared all operations such as rank with modification entry.
Separately establishing a class user is system manager, can carry out the system maintenance work such as member's behavior monitoring and user authority management.
Initial registration member is 2 grades of users, has community's integration 20 minutes.By creating effective entry and line duration accumulation integration, when user integral surpasses 1000 minutes, scalable is 3 grades of users.When user integral is scalable over 10000 minutes, being 4 grades of users, is 5 grades of users when user integral is scalable over 100000 minutes.Rank shared in newly-built entry is 1 grade, only has 3 grades and above user can revise entry and shares rank.
Structure comprises existing popular open source software, such as the source code context environmental of containing the softwares such as linux, android, hadoop, resolves the programming key element that wherein file comprises and creates corresponding knowledge base entry entrance, and source code and entry relation mechanism are provided.
Tu3Shi Knowledge Community authenticates the process flow diagram with the environmental construction of source code Cooperative Analysis, is described as follows:
1a) user registered members or bind the existing account in other communities by special interface.System is by initialization member authority, and initial registration member's user right is 2 grades.
1b) user provides authorization information (user name, password) to log in Knowledge Community website.
1c) be verified, user enters online source code Cooperative Analysis environment and carries out source code analysis.
1d) there is source code to be analyzed and required version? if existed, jump to 1g), otherwise jump to 1e).
1e) source code does not exist.User adds corresponding source code.
1f) system is set up source code Cooperative Analysis environment for this source code, comprises the following steps:
I resolves the identifier comprising in this source code, parses type and mainly comprises: function, class, structure, macro definition, global variable etc.
The entry entrance that ii is corresponding for each identifier creates.
1g) source code exists.User carries out source code analysis or entry is checked.
2. online source code Cooperative Analysis stage
User can select interested open source software particular version to carry out source code analysis annotation, generates the entry in knowledge base, an identifier in the corresponding particular version source code of each entry (class for example, function, variable, grand etc.).
A plurality of users can work in coordination with and entry be carried out newly-built, revise, and supplement and wait operation, thereby produce a plurality of analysis of history versions, and each ripe entry can be locked into a benchmark version and arrange shares rank.Knowledge base is the set of all entries, and core is the set of ripe entry, and it retains all old versions of each entry, the contribution of having recorded each user.By this interactive mode, knowledge base constantly expands, and entry constantly creates, maturation is perfect, and whole open source software analysis knowledge is able to systematicness accumulation.
Fig. 4 is the process flow diagram of online source code Cooperative Analysis, is described as follows:
2a) user consults specific source code and required version, finds point of interest.
2b) user reads the identifier that source code file contains, and selects unique identifier analysis.System will create corresponding entry link automatically.
Does 2c) the corresponding entry of this source code identifier exist? if existed, jump to 2e), otherwise jump to 2d).
2d) this entry does not exist.System generates new entry typing knowledge base by notes content, forms the first published of this entry, and rank shared in initialization entry is 1.Need editor's entry content to have source code title, source code version, identifier complete trails, identifier title, type of identifier, place line number, functional description, performance specification, security descriptor etc.
2e) this entry exists.Whether this entry locked, and user has authority to upgrade? if can upgrade and jump to 2g), otherwise jump to 2f).
2f) this entry locked or user's lack of competence.Cannot edit entry.Rebound 2a) reselect.
2g) the not locked and user of this entry has authority.User revises the content in all or part of entry.System, by amended entry content typing knowledge base, generates the latest edition of entry, and retains old version.
Knowledge integrated with share the stage
Act on knowledge and created by user, also by user, according to percentage contribution is differentiated, is shared and utilize, the A to Z of is by all theories of all users.The various ripe entry that the online source code Cooperative Analysis stage produces is the main body of sharing and utilizing, only have 3 grades of users and above just have a ripe entry of locking and it be set share grade other authority.After entry locking, can only be viewed before not being unlocked, can not be modified again.
Fig. 5 is the integrated process flow diagram with sharing of knowledge, is described as follows:
3a) user analyzes source code from source code cooperative surroundings, selects entry to be shared in knowledge base.
Does 3b) this entry exist? if entry exists, jump to 3d), otherwise jump to 3c).
3c) entry does not exist.Rebound 3a) reselect.
3d) entry exists.Judge whether user has authority to lock this entry, if there is authority to jump to 3f), otherwise jump to 3e).
3e) user does not have corresponding authority.Rebound 3a) reselect.
3f) user has corresponding authority.Whether entry ripe? if maturation jumps to 3h).Otherwise jump to 3g).
3g) entry is still immature.Do not lock, continue open entry editing authority.Rebound 3a) reselect.
3h) entry is ripe.Integrated and lock entry, close article editing authority.
3i) judgement entry importance, for rank is shared in entry setting.
Exemplifying embodiment figure and instantiation below in conjunction with Fig. 6 are described further said method.
Be set as follows user profile and use scenes: user user1 has 2 grades of authorities, existing entry/mm/slub.c/cmpxchg_double_slab (0405) is read and analyzed to wish (linux-3.5.4).User user2 has 4 grades of authorities, and the existing entry/mm/slub.c/cmpxchg_double_slab (0405) of wish locking (linux-3.5.4).Implementation step is as follows:
1) Knowledge Community authenticates and online source code Cooperative Analysis environmental structure:
First user user1 and user user2 enter source code Cooperative Analysis environment by community authentication interface respectively, and user user1 searches linux-3.5.4, find in platform not this source code version.This user uploads source code Linux-3.5.4, and the source code that cooperative surroundings is uploaded according to user carries out the entrance that corresponding entry was resolved and created to identifier (function, class, structure, macro definition, global variable etc.) automatically.User user1, user2 can continue the existing entry of analyzing linux-3.5.4 source code or checking other source code.
2) online source code Cooperative Analysis:
User1 retrieval Linux source code directory tree finds slub.c file under catalogue/mm/.By reading sound code file, select identifier cmpxchg_double_slab to analyze through row.The corresponding entry of this identifier exists, and system recalls the latest edition of this entry from knowledge base.System verification user1 has authority to read and write this entry.User1 reads existing entry/mm/slub.c/cmpxchg_double_slab (0405) (linux-3.5.4), and according to the analysis result editor/modification entry of oneself.Entry main contents example is in Table 1.System deposits user1 in knowledge base to the modification of entry, forms the redaction of entry.
Table 1. entry/mm/slub.c/cmpxchg_double_slab (0405) content (linux-3.5.4)
Figure BDA0000459176760000081
3) knowledge integrated with share:
User user2 retrieval Linux source code directory tree finds slab.c file under catalogue/mm/.By reading source code, select identifier kmem_cache_alloc to analyze through row.The corresponding entry of this identifier exists, and system recalls the latest edition of this entry from knowledge base.System verification user2 has authority to share this entry.User2 thinks that this entry is ripe, locks this entry and arranges that to share rank be 3.System deposits integrated entry knowledge base in and locks entry, and before release, this entry can not be edited again, operations such as can only commenting on and check.
Above embodiment is only in order to technical scheme of the present invention to be described but not be limited; those of ordinary skill in the art can modify or be equal to replacement technical scheme of the present invention; and not departing from the spirit and scope of the present invention, protection scope of the present invention should be as the criterion with described in claim.

Claims (10)

1. online source code Cooperative Analysis and the sharing method based on Knowledge Community, comprises the following steps:
1) by user the initialization community member authority of the existing community that increases income of Knowledge Community's authentication interface binding, by source code analytics engine, build the source code context environmental that comprises existing open source software, and then the programming key element comprising by analysis source code file and context thereof create corresponding knowledge base entry entrance, form online Cooperative Analysis environment, and source code and entry relation mechanism are provided;
2) utilize online Cooperative Analysis environment, community member be correlated with source code analysis in source code context environmental and the article editing of many old versions, constantly expand knowledge base by continuing to create entry;
3) by retaining all old versions of each entry, ripe entry is carried out to integrated and locking, community member differentially shares according to percentage contribution and utilizes knowledge.
2. the method for claim 1, is characterized in that, the concrete steps of described step 1) comprise:
1a) user utilizes community authentication interface registered members or binds the existing account in other communities, and system is by initialization member authority, and after being verified, user enters online source code Cooperative Analysis environment;
1b) check whether have source code to be analyzed and required version, if existed, jump to 1d), otherwise jump to 1c);
While 1c) there is not source code to be analyzed and required version, user adds corresponding source code, and cooperative surroundings is resolved identifier entry entrance corresponding to automatic establishment that this source code comprises;
1d) in cooperative surroundings, carry out source code analysis or entry is checked.
3. the method for claim 1, is characterized in that, described step 2) concrete steps comprise:
2a) community member analyzes specific source code and version according to point of interest;
The context concrete analysis identifier that 2b) utilizes cooperative surroundings to provide;
2c) check whether corresponding entry exists, if there is no jump to 2d), exist and jump to 2e);
2d) create the content of this entry, jump to 2g after completing this step);
If 2e) this entry exists, judge that whether this entry is ripe locked, whether there is authority to upgrade, if renewable, jump to 2f), otherwise jump to 2b) continue analysis and improve other entries;
2f) upgrade this entry content, jump to 2g after completing this step);
2g) entry by establishment or after upgrading joins knowledge base.
4. method as claimed in claim 3, is characterized in that: the step 2d) content of described establishment entry is the partial content that creates entry call format, or creates full content; Step 2f) this entry content of described renewal, is the content of upgrading existing part, or the content of editor and supplementary blank parts.
5. method as claimed in claim 4, is characterized in that, described entry content comprises: source code title, source code version, identifier complete trails, identifier title, type of identifier, place line number, functional description, performance specification, security descriptor.
6. the method for claim 1, is characterized in that, the concrete steps of described step 3) comprise:
3a) community member utilizes collaborative context environmental to select the entry that need to share;
Whether this entry that 3b) system of checking provides exists, if existed, jumps to 3c), otherwise jump to 3a) select other entries;
3c) system judges whether this user gradation has the authority of sharing this entry, is to jump to 3d), otherwise jump to 3a) select other entries;
3d) member judges that whether this entry is ripe entry, if it is jumps to 3e), otherwise jump to 3a) select other entries;
3e) member is integrated and lock this entry, then carries out 3f);
3f) member sets the rank of sharing of this entry, and whole flow process finishes.
7. the method for claim 1, is characterized in that, existing popular open source software comprises described in step 1): Linux software, Android software, Hadoop software; Described programming key element comprises: function, class, structure, macro definition, global variable.
8. the method for claim 1, is characterized in that, in step 1), Knowledge Community is divided into 5 grades by user right, and user right increases progressively from 1~5 grade; Entry is shared rank and is also made as 5 grades, and entry is shared rank and increased progressively from 1~5 grade; Specifically comprise:
1 grade of user is visitor, has the authority of reading 1 grade of entry, without editing authority;
2 grades of users are elementary member, have the authority of reading and writing 1~2 grade of entry;
3 grades of users are intermediate member, have the authority of reading and writing 1~3 grade of entry, lock 1~3 grade of entry with arrange entry share level other authority;
4 grades of users are senior member, have the authority of reading and writing 1~4 grade of entry, lock 1~4 grade of entry with arrange entry share level other authority;
5 grades of users are domain expert, and read-write all entries are shared all operations such as rank with modification entry;
Separately establishing a class user is system manager, carries out the system maintenance work such as member's behavior monitoring and user authority management.
9. realize the online source code Cooperative Analysis based on Knowledge Community and a device for sharing method described in claim 1, it is characterized in that, comprise client device and Cooperative Analysis system, by network, establish a communications link therebetween;
Described client device comprises for accessing the application program of described Cooperative Analysis system;
Described Cooperative Analysis system comprises: Internet server, for carrying out network service; Database, the oss message, corresponding entry information and the user profile that for storing Cooperative Analysis environment, need; Cooperative Analysis environment server, for generating the Web page of the online source code Cooperative Analysis environment based on Knowledge Community, and provides user collaborative Analysis Service and sharing service.
10. device as claimed in claim 9, is characterized in that: in described client, for accessing the application program of Cooperative Analysis system, be browser; Database in described Cooperative Analysis system is realized by one or more relational database management system or lightweight database access agreement; Cooperative Analysis environment server in described Cooperative Analysis system provides HTML, image, script to carry out for the browser-interpreted on client device.
CN201410025189.XA 2014-01-20 2014-01-20 Knowledge community based method and device of online collaborative analysis and sharing for source codes Expired - Fee Related CN103761092B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410025189.XA CN103761092B (en) 2014-01-20 2014-01-20 Knowledge community based method and device of online collaborative analysis and sharing for source codes

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410025189.XA CN103761092B (en) 2014-01-20 2014-01-20 Knowledge community based method and device of online collaborative analysis and sharing for source codes

Publications (2)

Publication Number Publication Date
CN103761092A true CN103761092A (en) 2014-04-30
CN103761092B CN103761092B (en) 2017-01-11

Family

ID=50528336

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410025189.XA Expired - Fee Related CN103761092B (en) 2014-01-20 2014-01-20 Knowledge community based method and device of online collaborative analysis and sharing for source codes

Country Status (1)

Country Link
CN (1) CN103761092B (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109118156A (en) * 2017-06-26 2019-01-01 上海颐为网络科技有限公司 A kind of book information cooperative system and method
CN109829010A (en) * 2017-08-28 2019-05-31 西安中兴新软件有限责任公司 A kind of entry amending method and entry modify device
CN109861834A (en) * 2019-01-28 2019-06-07 何洋 The online cooperation with service community application system of personalization and method based on digital drive
CN112532474A (en) * 2020-11-19 2021-03-19 用友网络科技股份有限公司 Control method and device of data management system and readable storage medium
CN115204123A (en) * 2022-07-29 2022-10-18 北京知元创通信息技术有限公司 Analysis method, analysis device and storage medium for collaborative editing of document

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108418827B (en) * 2018-03-15 2020-11-03 北京知道创宇信息技术股份有限公司 Network behavior analysis method and device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050044145A1 (en) * 2003-08-20 2005-02-24 International Business Machines Corporation Collaboration method and system
US20060136904A1 (en) * 2004-12-22 2006-06-22 Weidman Lawrence J Systems and methods for generating software and hardware builds
CN101216846A (en) * 2008-01-04 2008-07-09 清华大学 Emulated data visualized and cooperated sharing method
CN102760058A (en) * 2012-04-05 2012-10-31 中国人民解放军国防科学技术大学 Massive software project sharing method oriented to large-scale collaborative development

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050044145A1 (en) * 2003-08-20 2005-02-24 International Business Machines Corporation Collaboration method and system
US20060136904A1 (en) * 2004-12-22 2006-06-22 Weidman Lawrence J Systems and methods for generating software and hardware builds
CN101216846A (en) * 2008-01-04 2008-07-09 清华大学 Emulated data visualized and cooperated sharing method
CN102760058A (en) * 2012-04-05 2012-10-31 中国人民解放军国防科学技术大学 Massive software project sharing method oriented to large-scale collaborative development

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
付锐斌等: "基于维基百科(Wiki)的iWiki 系统设计", 《软件导刊》 *

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109118156A (en) * 2017-06-26 2019-01-01 上海颐为网络科技有限公司 A kind of book information cooperative system and method
WO2019001390A1 (en) * 2017-06-26 2019-01-03 上海颐为网络科技有限公司 Book information collaboration system and method
US10984383B2 (en) 2017-06-26 2021-04-20 Shanghai Yiwei Network Technology Co., Ltd. Book information collaboration system and method
CN109829010A (en) * 2017-08-28 2019-05-31 西安中兴新软件有限责任公司 A kind of entry amending method and entry modify device
CN109829010B (en) * 2017-08-28 2023-11-14 西安中兴新软件有限责任公司 Entry modification method and entry modification device
CN109861834A (en) * 2019-01-28 2019-06-07 何洋 The online cooperation with service community application system of personalization and method based on digital drive
CN112532474A (en) * 2020-11-19 2021-03-19 用友网络科技股份有限公司 Control method and device of data management system and readable storage medium
CN115204123A (en) * 2022-07-29 2022-10-18 北京知元创通信息技术有限公司 Analysis method, analysis device and storage medium for collaborative editing of document
CN115204123B (en) * 2022-07-29 2023-02-17 北京知元创通信息技术有限公司 Collaborative editing document analysis method, analysis device, and storage medium

Also Published As

Publication number Publication date
CN103761092B (en) 2017-01-11

Similar Documents

Publication Publication Date Title
CN103761092A (en) Knowledge community based method and device of online collaborative analysis and sharing for source codes
DE10296804B4 (en) Method and system for authorizing access to resources on a server
CN104283875B (en) Cloud disk right management method
CN103428203B (en) Access control method and equipment
CN116743440A (en) Security design and architecture for multi-tenant HADOOP clusters
CN106612246A (en) Unified authentication method for simulation identity
CN105827641A (en) Context awareness type dynamic unified authentication method and system
US11704441B2 (en) Charter-based access controls for managing computer resources
CN111274569A (en) Research, development, operation and maintenance integrated system for unified login authentication and login authentication method thereof
DE112016002392T5 (en) Authorization in a distributed system using access control lists and groups
Uzunov et al. Security solution frames and security patterns for authorization in distributed, collaborative systems
Farwick et al. A web-based collaborative metamodeling environment with secure remote model access
CN109886847B (en) Innovative entrepreneur education resource sharing collaborative educating system based on cloud service
Ma Using blockchain to build decentralized access control in a peer-to-peer e-learning platform
CN113392420A (en) Intelligent project data management method and system
CN111861117A (en) Musical instrument evaluation data sharing method and system based on alliance chain
Domanski Who governs the Internet?: A political architecture
Sinnott Grid security
Perez et al. Advanced policies for the administrative delegation in federated environments
US9870427B1 (en) Systems and methods for publishing profiled content
Kalytyuk et al. Implementation of Social Media Data Collection Modules in Python
Ruppen et al. A component based approach for the Web of Things
CN106445892B (en) Document assembly method and system
Fgee et al. Enhancement of educational institutions dynamic websites by adding security and accesibility
Short et al. x509-free access to WLCG resources

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into 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

Granted publication date: 20170111

Termination date: 20210120

CF01 Termination of patent right due to non-payment of annual fee