[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

CN103761092B - 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
CN103761092B
CN103761092B CN201410025189.XA CN201410025189A CN103761092B CN 103761092 B CN103761092 B CN 103761092B CN 201410025189 A CN201410025189 A CN 201410025189A CN 103761092 B CN103761092 B CN 103761092B
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.)
Expired - Fee Related
Application number
CN201410025189.XA
Other languages
Chinese (zh)
Other versions
CN103761092A (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

Landscapes

  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

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

The online source code Cooperative Analysis of a kind of knowledge based community and sharing method and device
Technical field
The present invention relates to construction and the use technology of online source code Cooperative Analysis environment, particularly to knowledge based community and knowledge The source code Cooperative Analysis in storehouse and sharing method, it is proposed that under the social networks of a kind of practicality, the source code of knowledge based community is worked in coordination with Analyze and sharing method, and use the device of the method.
Background technology
Knowledge Community refers to the knowledge innovation of the spontaneous composition of employee and the group shared, and the strength of its cohesion is interpersonal letter Appoint or common interest.Community member can decide activity to be played an active part in its sole discretion, be happy to share one's experience and knowledge, from Send out ground exchange views with idea, mutually teaching and study, share outside new knowledge and to obtain knowledge from transmission of knowledge long-pending Tire out and ego trip.Knowledge Community can play transmission and the innovation in knowledge of Tacit Knowledge, ultimately formed relationship among persons, Human resources, the valuable accumulation of knowledge resource.
Along with the development of social networks, implicit knowledge community produced by novel social networks is the knowledge creating of specific area, knows Know to propagate and provide core operating mechanism with information management." towards the collaborative exchange of knowledge of Knowledge Community " and " Portland mould Formula knowledge base " etc. theory be also widely used for practice.The most famous intellectual website wikipedia, Baidupedia, mutually Dynamic encyclopaedia etc..Wherein the English entry on wikipedia has run up to more than 3,000 ten thousand, and content relates to nature, science, humanity Geography etc. field, embraces a wide spectrum of ideas.This intellectual website is definitely the outstanding person in encyclopedic knowledge base field, but In open source software source code systematicness, comprehensively analysis and the knowledge of the aspect such as safety, Performance Evaluation, existing community and website All it is extremely difficult to.
Source code is the flesh and blood building computer science, and its quantity is persistently presenting explosive growth, containing in its code line Substantial amounts of implicit knowledge.How implicit knowledge alienation therein, elite extracts and realizes innovation in knowledge and divides Enjoy the glamour place of always open source software, be also difficult point place simultaneously.In open source software field, linux community, android Community, increase income China community, cnopenlinux open source community, and some question and answer type communities StackOverflow, LKML Deng the developer and the fan that all have accumulated a lot of open source software.Also the discussion that source code is analyzed in various degree has been concentrated, achievement The form of expression includes technical report and problem discussion etc., is all that comparison is scattered.These communities are in default of systematized support Instrument, it is impossible to comprehensive, deep does analysis annotation for specific open source software (such as linux, android, hadoop etc.), The knowledge formation of system can not be formed, innovate and share.
Just as study language needs language environment, analyzing source code needs source code context environmental.Source code is one logic Entirety, single algorithm and function only just have the meaning of reality in concrete context.Describe and analyze source code can not take off From source code, will really have thorough grasp source code needs to accomplish to go deep into source code, line by line analysis, persistent accumulation.The present invention propose based on knowing Online source code Cooperative Analysis and the sharing method of knowing community compensate for this vacancy.The invention provides the social network of a kind of practicality The open source software analysis of knowledge based community and sharing method under network.Can well assemble common under the guiding of Knowledge Community The community member of point of interest, carries out source code analysis by the way of online working in coordination with between member, shares analysis results, Propagate and recreation.
Summary of the invention
It is an object of the invention to provide online source code Cooperative Analysis and the sharing method of a kind of knowledge based community, and accordingly Device, utilize source code and entry relation mechanism that cooperative surroundings provides, the source code carried out in relevant source code context environmental divides Analysis and entry knowledge creating, knowledge innovation and the information management of many old versions, ultimately form popular open source software source code function The knowledge base of the relevant knowledges such as description, performance description, safe description.
The online source code Cooperative Analysis of the knowledge based community of the present invention and sharing method, its step includes:
1) Knowledge Community's certification and source code Cooperative Analysis platform construction: bind existing open source community by Knowledge Community's authentication interface User and initialize community member's authority, built the source code comprising existing popular open source software by source code analytics engine upper and lower Literary composition environment, and then the programming key element that comprised by analysis source code file and context thereof create corresponding knowledge base entry Entrance, forms online Cooperative Analysis environment, and provides source code and entry relation mechanism;
2) online source code Cooperative Analysis: utilize described online Cooperative Analysis environment, community member carries out relevant source code context ring Source code analysis in border and the article editing of many old versions, constantly expand knowledge base by persistently creating entry;
3) Knowledge Aggregation with share: by retain each entry all old versions, maturation entry is carried out integrated and lock, Community member differentially shares according to percentage contribution and utilizes knowledge.
Further, in step 1), the concrete steps of Knowledge Community's certification and source code Cooperative Analysis platform construction include:
1a) user utilizes community authentication interface registered members or binds the existing account in other communities, and system will initialize member's authority, After being verified, user enters online source code Cooperative Analysis environment;
1b) check whether to there is source code to be analyzed and required version, if there is then jumping to 1d), otherwise jump to 1c);
When 1c) there is not source code to be analyzed and required version, user adds the source code of correspondence, and cooperative surroundings resolves this source code and comprises Identifier and automatically create correspondence entry entrance;
1d) in cooperative surroundings, carry out source code analysis or entry is checked.
Further, step 2) use cooperative surroundings to carry out the concrete steps of online source code Cooperative Analysis to include:
2a) community member analyzes specific source code and version according to point of interest;
2b) utilize the context concrete analysis identifier that cooperative surroundings provides;
2c) check that the entry of correspondence has existed, if there is no then jumping to 2d), exist, jump to 2e);
2d) create the content of this entry, after completing this step, jump to 2g);
If 2e) this entry has existed, then judge that this entry is the most ripe the most locked, if having permission renewal, if Renewable, jump to 2f), otherwise jump to 2b) continue analyze and improve other entries;
2f) update this entry content, after completing this step, jump to 2g);
Entry after 2g) creating or update joins knowledge base.
Further, step 3) carries out Knowledge Aggregation and includes with the concrete steps shared:
3a) community member utilizes collaborative context environmental to select the entry needing to share;
Whether this entry that system of 3b) checking provides exists, if there is then jumping to 3c), otherwise jump to 3a) select other Entry;
3c) system judges whether this user gradation has the authority sharing this entry, is, jumps to 3d), otherwise jump to 3a) Select other entries;
3d) member judges that this entry, whether as ripe entry, if it is jumps to 3e), otherwise jump to 3a) select other words Bar;
3e) member is integrated and locks this entry, then performs 3f);
3f) member sets the rank of sharing of this entry, and whole flow process terminates.
Based on same inventive concept, the present invention also provides for realizing the device of said method, and this device includes client device and association With analyzing system, set up communication connection by network therebetween;
Described client device comprises for accessing described Cooperative Analysis systematic difference program;
Described Cooperative Analysis system comprises:
Internet server, is used for carrying out network service;
Data base, oss message, corresponding entry information and the user profile needed for storing Cooperative Analysis environment;
Cooperative Analysis environment server, for generating the Web page of the online source code Cooperative Analysis environment of knowledge based community, and User collaborative Analysis Service and sharing service are provided.
Specifically, described Cooperative Analysis environment server carry knowledge based community online source code Cooperative Analysis with share master Body environment, specifically, Knowledge Community's authentication interface service, source code analysis service that it provides support above-mentioned steps 1) knowledge Community certification and source code Cooperative Analysis platform construction;Cooperative Analysis environment server is together with database server and Internet service The page and service are passed to client and carry out step 2 for user by device) online source code Cooperative Analysis and step 3) Knowledge Aggregation with Share.
Further, described client device includes processor, memorizer, network interface, display device, computer-readable Storage, input equipment and optional ancillary equipment, can be any kind of equipment based on processor, as personal computer, Smart mobile phone and panel computer etc..Being used in described client accessing Cooperative Analysis systematic difference program is browser, or Other similar application program.
Further, the data base in described Cooperative Analysis system can be implemented as one or more RDBM Relational Data Base Management system System (RDBMS), light-weight database access protocal (LDAP) or other data bases, or use other database schemas Realize.Data base is mainly used in storing the oss message needed for Cooperative Analysis environment, corresponding entry information, user profile.
Further, described Cooperative Analysis environment server provides HTML (HTML), image, script (example As, JavaScript, Perl) perform for the browser-interpreted on client device.
The present invention include Knowledge Community's certification and source code Cooperative Analysis environmental construction, online source code Cooperative Analysis, Knowledge Aggregation with Share three Main Stage.By Knowledge Community's certification, 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 many old versions Entry knowledge creating, knowledge base is accumulated and is enriched.By Knowledge Aggregation with share the stage, ripe knowledge is locked And solidification, knowledge base obtains core accumulation and precipitation.Community member shares existing knowledge according to authority and constantly carries out knowledge Innovating and enrich, the screw type forming knowledge base increases.
Implicit knowledge alienation in open source software field individual and source code can be completed knowledge formation, knowledge innovation by the present invention With the process sharing utilization.Instant invention overcomes existing open source community source code analyze relevant knowledge scattered, depart from source code context Environment, being difficult to retrieval and inquisition and share the difficulties such as utilization, the community that turns one's knowledge to advantage has concentrated Open Source Software person and hobby Person, meets community member knowledge creating easily, knowledge innovation, quick search, the demand sharing and utilize.
Accompanying drawing explanation
Fig. 1 be the online source code Cooperative Analysis of knowledge based community and sharing method realize device architecture figure.
Fig. 2 is online source code Cooperative Analysis and the illustraton of model of sharing method of knowledge based community.
The certification of Tu3Shi Knowledge Community and source code Cooperative Analysis environmental structure flow chart.
Fig. 4 is online Cooperative Analysis flow chart.
Fig. 5 be knowledge base integrated with share flow chart.
Fig. 6 is to implement exemplary plot.
Fig. 7 is the function call graph in embodiment.
Detailed description of the invention
Below by embodiment and accompanying drawing, the present invention is further illustrated, but limits the scope of the present invention never in any form.
Fig. 1 be the online source code Cooperative Analysis of the knowledge based community of the present invention and sharing method realize installation drawing.This device bag Include client and Cooperative Analysis system, connected by network therebetween.Wherein:
Client is used for accessing Cooperative Analysis system, comprises browser or for accessing the similar application journey of Cooperative Analysis system Sequence.Client device includes the storage of processor, memorizer, network interface, display device, computer-readable, input equipment And optional ancillary equipment, can be that any kind of equipment based on processor is (such as individual calculus, smart mobile phone and flat board electricity Brain).
Cooperative Analysis system comprises supports the Internet server of network service, for the data base of data-storing and Cooperative Analysis Environment server.Cooperative Analysis environment server generate knowledge based community online source code Cooperative Analysis environment, generate and Serve analysis platform web page.(such as, it provide HTML (HTML), image, script JavaScript, Perl) perform for the browser-interpreted on client device.Data base can be implemented as one or more and closes It is data base management system (RDBMS), light-weight database access protocal (LDAP) or other data bases, or uses it He realizes by database schema.Data base is mainly used in storing the oss message needed for Cooperative Analysis environment, corresponding entry letter Breath, user profile.
By the data communication between the entity shown in network support Fig. 1.Network generally includes the local with Internet traffic Some combination of net (LAN) or wide area network (WAN), it uses standard communication techniques or agreement.Any network in these networks Part can be wired or wireless, it uses the technology (such as, Ethernet, 802.11) and agreement (example being associated As, TCP/IP, HTTP and FTP).Can be used by the data of network exchange include HTML (HTML), Extensible markup language (XML), Simple Object Access Protocol (SOAP) and/or the technology of extended formatting and/or form carry out table Show.It addition, all or some link can use such as security socket layer (SSL), internet protocol secure (IPsec), The conventional encryption technique of secure HTTP and/or VPN (virtual private network) (VPN) is encrypted.
Fig. 2 is online source code Cooperative Analysis and the illustraton of model of sharing method of the knowledge based community of the present invention, mainly includes knowing Know community certification and source code Cooperative Analysis environmental construction, online source code Cooperative Analysis, Knowledge Aggregation and share three Main Stage. By Knowledge Community's certification, assemble developer and the fan of open source software, build open source software source code context environmental and word Bar relation mechanism.By the online source code Cooperative Analysis stage, community member carries out the entry knowledge creating of many old versions, knows Know storehouse accumulated and enrich.By Knowledge Aggregation with share the stage, ripe knowledge is locked and solidification, and knowledge base obtains Core accumulation and precipitation.Community member shares existing knowledge according to authority and constantly carries out knowledge innovation and enrich, is formed The screw type of knowledge base increases.
1. Knowledge Community's certification and the source code Cooperative Analysis environmental construction stage
Bind other open source community user by Knowledge Community's authentication interface and initialize community member's authority.The optional trip of user Visitor or registered members bind the mode of the existing account in other communities and enter Knowledge Community.User right is divided into 5 grades by Knowledge Community, Entry is shared rank and is also set to 5 grades.User right is incremented by from 1~5 grade.Entry is shared rank and is incremented by from 1~5 grade.At other Embodiment can also arrange the rank of other quantity.
1 grade of user is visitor, has the authority reading 1 grade of entry.Without editing authority.
2 grades of users are primary member, have the authority of 1~2 grade of entry of read-write.
3 grades of users are middle rank member, have the authority of 1~3 grade of entry of read-write, lock 1~3 grade of entry and share level with arranging entry Other authority.
4 grades of users are senior member, have the authority of 1~4 grade of entry of read-write, lock 1~4 grade of entry and share level with arranging entry Other authority.
5 grades of users are domain expert, and read-write all entries share all operations such as rank with amendment entry.
Separately set a class user as system manager, the system maintenance work such as member's behavior monitoring and user authority management can be carried out.
Initial registration member is 2 grades of users, has community's integration 20 points.Long-pending by creating effective entry and line duration accumulation Point, when user integral is more than 1000 points, scalable is 3 grades of users.It it is 4 grades when user integral is scalable more than 10000 points User, is 5 grades of users when user integral is scalable more than 100000 points.Rank shared in newly-built entry is 1 grade, only 3 Level and above user can revise entry and share rank.
Structure comprises existing popular open source software, such as, contain the source code context ring of the softwares such as linux, android, hadoop Border, resolves programming key element that wherein file comprised and creates corresponding knowledge base entry entrance, it is provided that source code associates with entry Mechanism.
The certification of Tu3Shi Knowledge Community and the flow chart of source code Cooperative Analysis environmental construction, be described as follows:
1a) user registered members or bind the existing account in other communities by special interface.System will initialize member's authority, just The user right of beginning registered members is 2 grades.
1b) user provides checking information (user name, password) to log in Knowledge Community website.
1c) being verified, user enters online source code Cooperative Analysis environment and carries out source code analysis.
1d) whether there is source code to be analyzed and required version?If there is jumping to 1g), otherwise jump to 1e).
1e) source code does not exists.User adds corresponding source code.
1f) system sets up source code Cooperative Analysis environment for this source code, comprises the following steps:
I resolves the identifier comprised in this source code, parse type specifically include that function, class, structure, macrodefinition, Global variable etc..
Ii is that each identifier creates corresponding entry entrance.
1g) source code exists.User carries out source code analysis or entry is checked.
2. the online source code Cooperative Analysis stage
User may select open source software particular version interested and carries out source code analysis annotation, generates the entry in knowledge base, often An identifier in individual entry correspondence particular version source code (such as class, function, variable, grand etc.).
Multiple users can work in coordination with and carry out newly-built to entry, amendment, supplement and wait operation, thus produce multiple analysis of history version, The entry of each maturation can be locked into a benchmark version and rank is shared in setting.Knowledge base is the set of all entries, core The heart is the set of ripe entry, and it retains all old versions of each entry, have recorded the contribution of each user.By this The mode of individual interaction, knowledge base constantly expands, and entry constantly creates, maturation is perfect, and overall open source software analysis knowledge is able to Systematicness accumulation.
Fig. 4 is the flow chart 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 is contained, and selects unique identifier to be analyzed.System will be created automatically Build the entry link of correspondence.
2c) whether this source code identifier correspondence entry exists?2e is jumped to if existed), otherwise jump to 2d).
2d) this entry does not exists.Notes content is generated new entry typing knowledge base by system, forms the first edition of this entry, Initialize entry sharing rank is 1.The entry content needing editor has source code title, source code version, identifier complete trails, mark Know symbol title, type of identifier, place line number, function description, performance description, safe description etc..
2e) this entry exists.Whether this entry is locked, and whether user has permission renewal?Jump to if can update 2g), 2f is otherwise jumped to).
2f) this entry has been locked or user's lack of competence.Entry cannot be edited.Rebound 2a) reselect.
2g) this entry is not locked out and user has permission.User revises the content in all or part of entry.System will amendment After entry content typing knowledge base in, generate the latest edition of entry, and retain old version.
3. Knowledge Aggregation with share the stage
Acting on knowledge to be created by user, also shared by user according to percentage contribution is differentiated and utilizes, the A to Z of is by entirety The all of theory of user.The various ripe entry that the online source code Cooperative Analysis stage produces is the main body shared and utilize, only 3 Level user and above just having thereof, lock a ripe entry and arrange its authority sharing rank.Entry locking after, not by Can only be browsed before unblock, it is impossible to be modified again.
Fig. 5 is Knowledge Aggregation and the flow chart shared, and is described as follows:
3a) user analyzes source code from source code cooperative surroundings, selects entry to be shared in knowledge base.
3b) whether this entry exists?If entry exists jumps to 3d), otherwise jump to 3c).
3c) entry does not exists.Rebound 3a) reselect.
3d) entry exists.Judging whether user has permission this entry of locking, jumping to 3f if had permission), otherwise jump to 3e)。
3e) user does not has corresponding authority.Rebound 3a) reselect.
3f) user has corresponding authority.Entry is the most ripe?If maturation jumps to 3h).Otherwise jump to 3g).
3g) entry is the most immature.Do not lock, continue open entry editing authority.Rebound 3a) reselect.
3h) entry is the most ripe.Integrated and lock entry, close article editing authority.
3i) judge vocabulary item importance, arrange for entry and share rank.
Said method is described further by enforcement exemplary plot and instantiation below in conjunction with Fig. 6.
Set following user profile and use scene: user user1 has 2 grades of authorities, is intended to read and analyze existing entry /mm/slub.c/cmpxchg_double_slab(0405)(linux-3.5.4).User user2 has 4 grades of authorities, is intended to lock existing entry /mm/slub.c/cmpxchg_double_slab(0405)(linux-3.5.4).Implement step as follows:
1) Knowledge Community's certification and online source code Cooperative Analysis environmental structure:
First user user1 and user user2 enters source code Cooperative Analysis environment, user user1 by community authentication interface respectively Search linux-3.5.4, find in platform not this source code version.This user uploads source code Linux-3.5.4, cooperative surroundings according to The source code that user uploads automatically is identified according with (function, class, structure, macrodefinition, global variable etc.) and resolves and create The entrance of corresponding entry.User user1, user2 can continue analyze linux-3.5.4 source code or check having of other source code Entry.
2) online source code Cooperative Analysis:
User1 retrieves Linux source code directory tree, finds slub.c file under catalogue/mm/.Select by reading sound code file Identifier cmpxchg_double_slab analyzes through row.This identifier correspondence entry has existed, and system recalls this from knowledge base The latest edition of entry.System checking user1 has permission this entry of read-write.User1 reads existing entry / mm/slub.c/cmpxchg_double_slab (0405) (linux-3.5.4), and according to the analysis result editor/amendment entry of oneself.Entry Main contents example is shown in Table 1.User1 is stored in knowledge base by system to the amendment of entry, forms the redaction of entry.
The content of table 1. entries/mm/slub.c/cmpxchg_double_slab (0405) (linux-3.5.4)
3) Knowledge Aggregation with share:
User user2 retrieves Linux source code directory tree, finds slab.c file under catalogue/mm/.Select by reading source code Identifier kmem_cache_alloc analyzes through row.This identifier correspondence entry has existed, and system recalls this from knowledge base The latest edition of entry.System checking user2 has permission and shares this entry.User2 thinks that this entry is the most ripe, lock It is 3 that rank is shared in this entry fixed setting.Integrated entry is stored in knowledge base and locks entry by system, this word before unlocking Bar can not be edited again, operations such as can only commenting on and check.
Above example is only limited in order to technical scheme to be described, those of ordinary skill in the art Technical scheme can be modified or equivalent, without departing from the spirit and scope of the present invention, the present invention Protection domain should be as the criterion with described in claim.

Claims (10)

1. the online source code Cooperative Analysis of knowledge based community and a sharing method, comprises the following steps:
1) bind the user of existing open source community by Knowledge Community's authentication interface and initialize community member's authority, passing through source code Analytics engine builds the source code context environmental comprising existing open source software, and then by analysis source code file and context thereof The programming key element that comprised also creates corresponding knowledge base entry entrance, forms online Cooperative Analysis environment, and provide source code and Entry relation mechanism;
2) utilizing online Cooperative Analysis environment, community member carries out the source code analysis in relevant source code context environmental and many history The article editing of version, constantly expands knowledge base by persistently creating entry;
3) by retaining all old versions of each entry, maturation entry carrying out integrated and locking, community member is according to tribute Degree of offering differentially is shared and utilizes knowledge.
2. the method for claim 1, it is characterised in that described step 1) concrete steps include:
1a) user utilizes community authentication interface registered members or binds the existing account in other communities, and system will initialize member's authority, After being verified, user enters online source code Cooperative Analysis environment;
1b) check whether to there is source code to be analyzed and required version, if there is then jumping to 1d), otherwise jump to 1c);
When 1c) there is not source code to be analyzed and required version, user adds the source code of correspondence, and cooperative surroundings resolves this source code and comprises Identifier and automatically create correspondence entry entrance;
1d) in cooperative surroundings, carry out source code analysis or entry is checked.
3. the method for claim 1, it is characterised in that described step 2) concrete steps include:
2a) community member analyzes specific source code and version according to point of interest;
2b) utilize the context concrete analysis identifier that cooperative surroundings provides;
2c) check that the entry of correspondence has existed, if there is no then jumping to 2d), exist, jump to 2e);
2d) create the content of this entry, after completing this step, jump to 2g);
If 2e) this entry has existed, then judge that this entry is the most ripe and is locked, if having permission renewal, If renewable, jump to 2f), otherwise jump to 2b) continue analyze and improve other entries;
2f) update this entry content, after completing this step, jump to 2g);
Entry after 2g) creating or update joins knowledge base.
4. method as claimed in claim 3, it is characterised in that: step 2d) content of described establishment entry is to create entry lattice The partial content that formula requires, or create full content;Step 2f) this entry content of described renewal is to update existing part Content, or edit and the content of supplementary blank parts.
5. method as claimed in claim 4, it is characterised in that described entry content includes: source code title, source code version, mark Know symbol complete trails, identifier title, type of identifier, place line number, function describes, performance describes, safety describes.
6. the method for claim 1, it is characterised in that described step 3) concrete steps include:
3a) community member utilizes collaborative context environmental to select the entry needing to share;
Whether this entry that system of 3b) checking provides exists, if there is then jumping to 3c), otherwise jump to 3a) select other Entry;
3c) system judges whether this user gradation has the authority sharing this entry, is, jumps to 3d), otherwise jump to 3a) Select other entries;
3d) member judges that this entry, whether as ripe entry, if it is jumps to 3e), otherwise jump to 3a) select other words Bar;
3e) member is integrated and locks this entry, then performs 3f);
3f) member sets the rank of sharing of this entry, and whole flow process terminates.
7. the method for claim 1, it is characterised in that step 1) described existing open source software includes: Linux software, Android software, Hadoop software;Described programming key element includes: function, class, structure, macrodefinition, global variable.
8. the method for claim 1, it is characterised in that step 1) in Knowledge Community user right is divided into 5 grades, use Family authority is incremented by from 1~5 grade;Entry is shared rank and is also set to 5 grades, and entry is shared rank and is incremented by from 1~5 grade;Specifically include:
1 grade of user is visitor, has the authority reading 1 grade of entry, without editing authority;
2 grades of users are primary member, have the authority of 1~2 grade of entry of read-write;
3 grades of users are middle rank member, have the authority of 1~3 grade of entry of read-write, lock 1~3 grade of entry and share level with arranging entry Other authority;
4 grades of users are senior member, have the authority of 1~4 grade of entry of read-write, lock 1~4 grade of entry and share level with arranging entry Other authority;
5 grades of users are domain expert, can carry out include reading and writing all operations that all entries are shared including rank with amendment entry;
Separately set a class user as system manager, carry out the system maintenance including member's behavior monitoring and user authority management Work.
9. realize online source code Cooperative Analysis and a device for sharing method, its feature of knowledge based community described in claim 1 It is, is built by network including client device and Cooperative Analysis system, described client device and described Cooperative Analysis system Vertical communication connection;
Described client device comprises for accessing described Cooperative Analysis systematic difference program;
Described Cooperative Analysis system comprises: Internet server, is used for carrying out network service;Data base, is used for storing collaborative Oss message needed for analysis environments, corresponding entry information and user profile;Cooperative Analysis environment server, is used for giving birth to Become the Web page of the online source code Cooperative Analysis environment of knowledge based community, and user collaborative Analysis Service is provided and shares clothes Business.
10. device as claimed in claim 9, it is characterised in that: for accessing Cooperative Analysis system in described client device Application program is browser;Data base in described Cooperative Analysis system passes through one or more relational database management system Or light-weight database access protocal realizes;Cooperative Analysis environment server in described Cooperative Analysis system provide HTML, Image, script perform 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 CN103761092A (en) 2014-04-30
CN103761092B true 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 (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108418827A (en) * 2018-03-15 2018-08-17 北京知道创宇信息技术有限公司 User's behaviors analysis method and device

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109118156B (en) * 2017-06-26 2021-10-29 上海颐为网络科技有限公司 Book information collaboration system and method
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
CN112532474B (en) * 2020-11-19 2022-08-19 用友网络科技股份有限公司 Control method and device of data management system and readable storage medium
CN114817468A (en) * 2022-04-24 2022-07-29 广州超云科技有限公司 Data processing method and device based on knowledge base and electronic equipment
CN115204123B (en) * 2022-07-29 2023-02-17 北京知元创通信息技术有限公司 Collaborative editing document analysis method, analysis device, and storage medium

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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

Family Cites Families (2)

* 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
US7266805B2 (en) * 2004-12-22 2007-09-04 Timesys Corporation Systems and methods for generating software and hardware builds

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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 系统设计;付锐斌等;《软件导刊》;20100930;第9卷(第9期);第141-143页 *

Cited By (2)

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

Also Published As

Publication number Publication date
CN103761092A (en) 2014-04-30

Similar Documents

Publication Publication Date Title
CN103761092B (en) Knowledge community based method and device of online collaborative analysis and sharing for source codes
Van der Muur Forest conflicts and the informal nature of realizing indigenous land rights in Indonesia
Veldpaus et al. Historic urban landscapes: an assessment framework part II
CN114780083B (en) Visual construction method and device of knowledge map system
CN104283875B (en) Cloud disk right management method
Pickerill Rethinking political participation: Experiments in internet activism in Australia and Britain
Turner et al. Using web service technologies to create an information broker: an experience report
DE112012002991T5 (en) Protect data of a network entity while maintaining network properties
Domanski Who governs the Internet?: A political architecture
JP5069150B2 (en) Authority setting support system, authority setting support processing method, and program
Ruppen et al. A component based approach for the Web of Things
Bijon et al. A group-centric model for collaboration with expedient insiders in multilevel systems
Kalytyuk et al. Implementation of Social Media Data Collection Modules in Python
CN110349065A (en) Growth posterior infromation share system
Reule et al. STPA‐Sec Analysis for DevSecOps Reference Design
CN106445892B (en) Document assembly method and system
Reinnoldt Asserting Indigenous Identity to Substantiate Customary Forest Claims: A Case Study of the Dayaks of West Kalimantan, Indonesia
Clanton et al. Bicycling as a Positive Youth Development Mechanism
Scerbakov et al. Block-Chain Based Grading Students Assignments
Shkodra et al. Development and Performance Analysis of RESTful APIs in Core and Node. js using MongoDB Database.
Pougatchev Online Performance Based Management and Evaluation System at the University of Technology, Jamaica: Information Resources and Security Solutions
An et al. Internet governance regimes by epistemic community: Formation and diffusion in Asia
Balasubramanaian et al. A contrivance to encapsulate virtual scaffold with comments and notes
Meyer A collaborative pattern writing platform
Patel et al. Open Source CMS Selection-A Mystery

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