Product feature multi-user edit methods, server, system and storage medium
Technical field
The present invention relates to Internet technical field, in particular to software testing technology field, in particular to a kind of product is special
Levy multi-user's edit methods, server, system and computer readable storage medium.
Background technique
In internet area, product feature is mainly used for stating a function of application software, in software test, test
Main means by a series of test case that product features form, can effectively judge the process of software, function and whether
It can achieve expected effect.
The existing system for not being managed collectively product feature in industry, most of product feature management are used for reference or are affiliated to
In project management system.Such as Jira TAPD project management system, these systems only support office document form pipe
Manage product feature.
Since software function is more and more, a corresponding software just has the disaggregatedly survey corresponding to different function
Example on probation.Under normal conditions according to function difference, in a software test case of different function by different departments technology people
Member is responsible for debugging and maintenance.This just needs multiple technical staff mutually to cooperate.Especially during editor, Ke Nengduo
A technical staff needs that the different piece of product is editted and updated simultaneously.How to enable them to not interfere with each other, phase interworking
Closing ground work becomes this field urgent problem to be solved.
Summary of the invention
The purpose of the present invention is overcome it is above-mentioned in the prior art the shortcomings that, one kind is provided can allow and multiple users while selecting
It selects and locks the partial content in product feature library and go forward side by side edlin, avoid editing identical content simultaneously, realize technical staff
Share out the work and help one another, synchronized update is realized for the product feature of same software, so that the product feature that working efficiency is substantially improved is more
User's edit methods, server, system and computer readable storage medium.
In order to achieve the above purpose, product feature multi-user's edit methods of the invention include the following steps:
First user obtains a product feature library, determines first editor's range, and edit in the first editor range;
Second user obtains the product feature library, and determines second editor's model except first editor's range
It encloses, and is edited in the second editor range;
First user and second user update first editor's range and second editor's range respectively, obtain
New product feature library.
In product feature multi-user's edit methods, volume range of delimiting the organizational structure really is specially:
Selected part content is edit object in the product feature library, and selected part is arranged to can not be by
Other users selected state again.
In product feature multi-user's edit methods, the product feature library be tree, including root node and
Multiple child nodes of the root node are associated with, each child node indicates a product feature, the selected part content
For edit object, specially:
Selecting the part of nodes in the root node and child node is edit object.
In product feature multi-user's edit methods, the part of nodes selected in the root node and child node
For edit object, specifically include:
Click a certain child node;
By the child node chosen, the father node of the child node chosen, the child node downstream chosen all child nodes,
And the logical relation between above-mentioned each child node is set as the edit object.
Product feature multi-user's edit methods, it is further comprising the steps of:
N user obtains the product feature library, and determines that N edits range in not yet selected range, and
It edits in range and edits in the N;
The N user updates the N and edits range, obtains new product feature library.
The present invention provides another product feature multi-user's edit methods, includes the following steps:
First user accesses server by web browser, obtains the product feature library for being stored in the server, determines
First editor's range, and edited in the first editor range;
The second user server described by web browser access, obtains the product feature library, and described
Second editor's range is determined except first editor's range, and is edited in the second editor range;
First user and second user update first editor's range and second editor's range respectively, obtain
New product feature library, and the new product feature inventory is stored in the server.
Product feature multi-user's edit methods, it is further comprising the steps of:
N user accesses server by web browser, obtains the product feature library, and still not selected
It determines that N edits range in range, and edits in range and edit in the N;
The N user updates the N and edits range, obtains new product feature library.
In product feature multi-user's edit methods, volume range of delimiting the organizational structure really, specially:
User's selected part content in the product feature library is edit object, and selected part is arranged to not
Can be by other users selected state again, and selected part content is downloaded to local preservation;
The more new edited range, specially:
Edited editor's range is uploaded to server by user, is replaced in the product feature library stored in server
Former partial content.
The present invention also provides a kind of computer readable storage mediums, are stored thereon with computer program, the computer program
When being executed by processor, product feature multi-user's edit methods of preceding claim are realized.
The present invention also provides a kind of product feature multi-user editing servers comprising processor and memory, it is described
It is stored with computer program on memory, when which is executed by the processor, realizes above-mentioned product feature
Multi-user's edit methods.
The present invention also provides a kind of product feature multi-user editing systems, including above-mentioned server and several users
End, user are interacted with the server by the operation user terminal and realize above-mentioned product feature multi-user's editing side
Method.
The system framework of the product feature management system includes the top layer shown applied to front-end interface, processing business logic
Middle layer and underlying database.
Using product feature multi-user edit methods, server, system and the computer readable storage medium of the invention,
Its method locks editor's range after the first user determines first editor's range in product feature library;Second user and its
His user can only determine respective editor's range outside this range;Make multiple users are multiple in identical product feature database not weigh
Synchro edit in folded range, and update and obtain new product feature library.It is technology people to avoid editing identical content simultaneously
Member share out the work and help one another offer technology guarantee, for same software product feature realize synchronized update, to greatly improve work
Efficiency, and product feature multi-user edit methods, server, system and computer readable storage medium of the invention, application
Mode is easy, and cost of implementation is cheap, and application range is also quite extensive.
Detailed description of the invention
Fig. 1 is the step flow chart of product feature multi-user's edit methods of the invention.
Fig. 2 is the structural schematic diagram in product feature library in product feature multi-user's edit methods of the invention, wherein " monitoring
It from the background " is selected state.
Fig. 3 is the WEB block schematic illustration that product feature multi-user's editing system of the invention uses.
Specific embodiment
In order to be more clearly understood that technology contents of the invention, spy lifts following embodiment and is described in detail.
Refering to Figure 1, being the step flow chart of product feature multi-user's edit methods of the invention.
In one embodiment, product feature multi-user's edit methods, include the following steps:
First user obtains a product feature library, determines first editor's range, and edit in the first editor range;
Second user obtains the product feature library, and determines second editor's model except first editor's range
It encloses, and is edited in the second editor range;
First user and second user update first editor's range and second editor's range respectively, obtain
New product feature library.
Wherein, selected part content is edit object in the product feature library, and selected part is arranged to
It can not be by other users selected state again.
In a preferred embodiment, the product feature library be tree as shown in Figure 2, including root node with
And multiple child nodes of the root node are associated with, the child node indicates a product feature, in the selected part
Holding is edit object, specially:
Selecting the part of nodes in the root node and child node is edit object.
In further preferred embodiment, user can be chosen by one child node of selection including the child node
Whole test cases, i.e., described part of nodes selected in the root node and child node is edit object, specific to wrap
It includes:
A certain child node is clicked, such as " the monitoring backstage " in Fig. 2;
By the child node chosen, the father node of the child node chosen, the child node downstream chosen all child nodes,
And the logical relation between above-mentioned each child node is set as the edit object.
In preferred embodiment, this method is further comprising the steps of:
N user obtains the product feature library, and determines that N edits range in not yet selected range, and
It edits in range and edits in the N;
The N user updates the N and edits range, obtains new product feature library.
In the embodiment of another product feature multi-user edit methods, this approach includes the following steps:
First user accesses server by web browser, obtains the product feature library for being stored in the server, determines
First editor's range, and edited in the first editor range;
The second user server described by web browser access, obtains the product feature library, and described
Second editor's range is determined except first editor's range, and is edited in the second editor range;
First user and second user update first editor's range and second editor's range respectively, obtain
New product feature library, and the new product feature inventory is stored in the server.
This method is further comprising the steps of in more preferably embodiment:
N user accesses server by web browser, obtains the product feature library, and still not selected
It determines that N edits range in range, and edits in range and edit in the N;
The N user updates the N and edits range, obtains new product feature library.
In preferred embodiment, volume range of delimiting the organizational structure really, specially:
User's selected part content in the product feature library is edit object, and selected part is arranged to not
Can be by other users selected state again, and selected part content is downloaded to local preservation;
The more new edited range, specially:
Edited editor's range is uploaded to server by user, is replaced in the product feature library stored in server
Former partial content.
The present invention also provides a kind of product feature multi-user editing server and a kind of computer readable storage mediums.It is described
Product feature multi-user editing server it include processor and memory, the memory is computer-readable storage
Medium is stored thereon with computer program, when which is executed by the processor, realizes above-mentioned product feature
Multi-user's edit methods.
The present invention also provides a kind of product feature multi-user editing systems, and in one embodiment, which includes upper
The server and several user terminals stated, it is above-mentioned that user by the operation user terminal interacts realization with the server
Product feature multi-user's edit methods.
This system uses WEB frame as shown in Figure 3.It includes the top layer shown applied to front-end interface, processing business
The middle layer and underlying database of logic.Top layer can be based on the library the jsmind realization for showing mind map, middle layer django
Mongodb database can be used in framework, bottom.
In practical applications, specific implementation of the invention is illustrated by the following examples.
Embodiment 1
Firstly, first user opens the editing interface in a product feature library, choosing using web browser access server
Select specified product feature library.Product feature library is tree, or is product feature tree, and structure type is similar to thinking
Figure is led, with a root node and multiple, multilayer the child node exhaled from root node.The quantity and structure of child node are closed
System is arranged according to actual product feature, and has multiple use-cases.Child node is begun to pass through by root node until a specific use-case
Access constitute a complete test case.In the editing interface, junior's child node can click expansion or recurrence is packed up.
First user can choose the part of nodes in the product feature library at this time, set it to after choosing
By editing mode, at this point, the user can edit the contents of the section.
At the same time, second user also may be selected to open this product feature library that first place user is editing.Boundary
The part that first user is editing is appeared dimmed on face, second user can not select the contents of the section, but may be selected
Other still not selected parts.Likewise, after second user is chosen, which is set to by editing mode,
At this point, second user can edit the contents of the section.
It can infer, if thering is third, the 4th user to need to edit identical product feature database at this time, as long as they want
The object of editor is not yet chosen by user before, and edlin of going forward side by side can be selected.
Thus the multi-user collaborative editor for product feature library can be realized, it is larger in software product, such as simultaneously
Including account authentication, multiple functions such as pay, be served by when, be particularly suitable for the responsible technical staff of different piece work simultaneously
Make, greatly improves working efficiency.
Embodiment 2
The difference from embodiment 1 is that selection one can be passed through when user selects the partial content in product feature library
Child node chooses whole test cases including the child node.That is, when user clicks a certain height on the surface
Node;It at this time include that following content is all selected as edit object and locks:
1. by the child node chosen,
2. the father node for the child node chosen,
3. all child nodes in the child node downstream chosen,
4. the logical relation between above-mentioned each child node.
By such method, user determines editor's range as unit of test case with can be convenient, for software
Structure is responsible for, and the more situation of level can greatly improve the speed of selection.
Embodiment 3
When user complete editor's range it is selected after, user can be by the part, or together with entire product feature library, guarantor
It is stored to local, is edited locally.At this point, other users open the product feature library equally it can be seen that having partial content just
It can not be selected by editor.
The part can be uploaded to server after user completes editor, replace selected part, realize product feature
The update in library.
Embodiment 4
Product feature library itself can also have an editing authority white list, which may include having global editing
The user list of permission and the user list of part editing authority.That is, the user with global editing permission can select
It selects and locks arbitrary portion in product feature library and edited.And the user of part editing authority is only capable of editing its portion having permission
Point, when product feature library includes the part that the user does not have permission editor, appear dimmed as being locked.
Using product feature multi-user edit methods, server, system and the computer readable storage medium of the invention,
Its method locks editor's range after the first user determines first editor's range in product feature library;Second user and its
His user can only determine respective editor's range outside this range;Make multiple users are multiple in identical product feature database not weigh
Synchro edit in folded range, and update and obtain new product feature library.It is technology people to avoid editing identical content simultaneously
Member share out the work and help one another offer technology guarantee, for same software product feature realize synchronized update, to greatly improve work
Efficiency, and product feature multi-user edit methods, server, system and computer readable storage medium of the invention, application
Mode is easy, and cost of implementation is cheap, and application range is also quite extensive.
In this description, the present invention is described with reference to its specific embodiment.But it is clear that can still make
Various modifications and alterations are without departing from the spirit and scope of the invention.Therefore, the description and the appended drawings should be considered as illustrative
And not restrictive.