CN105653977A - Menu permission configuration method and system - Google Patents

Menu permission configuration method and system Download PDF

Info

Publication number
CN105653977A
CN105653977A CN201511004849.7A CN201511004849A CN105653977A CN 105653977 A CN105653977 A CN 105653977A CN 201511004849 A CN201511004849 A CN 201511004849A CN 105653977 A CN105653977 A CN 105653977A
Authority
CN
China
Prior art keywords
menu
menu page
information
role
configuration
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
CN201511004849.7A
Other languages
Chinese (zh)
Other versions
CN105653977B (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.)
SHANGHAI HANYIN INFORMATION TECHNOLOGY Co Ltd
Original Assignee
SHANGHAI HANYIN INFORMATION TECHNOLOGY Co Ltd
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 SHANGHAI HANYIN INFORMATION TECHNOLOGY Co Ltd filed Critical SHANGHAI HANYIN INFORMATION TECHNOLOGY Co Ltd
Priority to CN201511004849.7A priority Critical patent/CN105653977B/en
Publication of CN105653977A publication Critical patent/CN105653977A/en
Application granted granted Critical
Publication of CN105653977B publication Critical patent/CN105653977B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/62Protecting access to data via a platform, e.g. using keys or access control rules
    • G06F21/6218Protecting access to data via a platform, e.g. using keys or access control rules to a system of files or objects, e.g. local or distributed file system or database
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • G06F3/0482Interaction with lists of selectable items, e.g. menus
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2221/00Indexing scheme relating to security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F2221/21Indexing scheme relating to G06F21/00 and subgroups addressing additional information or applications relating to security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F2221/2149Restricted operating environment

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Databases & Information Systems (AREA)
  • Human Computer Interaction (AREA)
  • Health & Medical Sciences (AREA)
  • Bioethics (AREA)
  • General Health & Medical Sciences (AREA)
  • Computer Hardware Design (AREA)
  • Computer Security & Cryptography (AREA)
  • Software Systems (AREA)
  • User Interface Of Digital Computer (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The invention discloses a menu permission configuration method and system, and belongs to the technical field of menu configuration. The method comprises the following steps: S1) adding an identifier to a control; S2) according to the name and the configuration address of a menu page, forming tree structures, and providing an operation interface used for configuration according to all tree structures; S3) selecting role information which is associated with a management role which needs to be configured, and the information of the menu page, generating and storing a webpage page, and meanwhile, generating and storing template information according to the role information of the management role; and S4) obtaining post information associated with a new role, comparing the post information with the template information, directly calling the template information to generate a management webpage page if the post information and the template information are the same, and otherwise, returning to the S3). The system comprises an acquisition unit, a first processing unit, a second processing unit, a template generation unit and a comparison unit. The technical scheme has the beneficial effects that the operation process of menu configuration is simplified, and program regulation expenditure is lowered.

Description

A kind of menu authority configuring method and system
Technical field
The present invention relates to menu configuring technical field, particularly relate to a kind of menu authority configuring method and system.
Background technology
The back-stage management interface of website optimize, under numerous and diverse organizational structure, can make the distribution of menu authority and the complex of newly-increased operation suddenly increase, namely make operating process menu authority configured very complicated. The existing mode solved the problem usually can set corresponding function button on Webpage for program development personnel and the one or more of insertion data of the generation of correspondence as initialization data, so that afterwards reach the standard grade arrange script time, it is provided that login backstage to website optimize personnel and choose corresponding function button and give operator corresponding in organizational structure and operate. Above-mentioned settling mode has a defect to be: when mistake occurs in the script of insertion data, cause authority menu itself cannot be presented to user possibly to operate, and can only go to look for corresponding program development personnel to carry out adjusting thus recover authority menu again, extra operation expense can be caused like this, whole operating process can be made equally complicated.
Summary of the invention
According to the above-mentioned problems in the prior art, now provide the technical scheme of a kind of menu authority configuring method and system, it is intended to simplify the operating process of menu configuration, reduce the expense of program adjustment, promote the experience of user.
Technique scheme specifically comprises:
A kind of menu authority configuring method, the control authority being applicable in menu page configuration process; Wherein, comprising:
Step S1, the described control that each needs to configure authority in advance adds the identifier of a correspondence;
Step S2, the title of menu page and at least one configuration address of correspondence of configuration is needed according at least one, formation is associated with the tree structure of menu page described in each and preserves respectively, and it is supplied to user one for carrying out the operation interface of authority configuration according to all described tree structures, the level relation of described tree structure for describing in corresponding described menu page between all described controls being added described identifier;
Step S3, select to be associated with the information needing the Role Information of management role and the described menu page of corresponding selection configured on described operation interface, and generation is associated with the management Webpage of described management role and preserves, generating according to the described described Role Information managing role selected simultaneously and preserve corresponding Template Information, the management Webpage described with of Template Information described in each is associated;
Step S4, obtains the described post information being associated with new described role of outside input and compares with described Template Information:
If identical, then directly call described Template Information and generate corresponding described management Webpage;
If different, then return described step S3.
Preferably, this menu authority configuring method, wherein, described step S2 specifically comprises:
Step S21, obtains the outside title being associated with a described menu page of input and the described configuration address of correspondence;
Step S22, according to described configuration address, process obtains in corresponding described menu page with the described control of described identifier and intercepts corresponding code fragment;
Step S23, obtains function word and the level structure of corresponding all described controls according to all described code fragment intercepted;
Step S24, according to the described function word of all described controls and described level structure, formation is associated with the described tree structure of described menu page and preserves;
Step S25, forms corresponding described operation interface according to described tree structure and shows.
Preferably, this menu authority configuring method, wherein, described configuration address is the URL address being associated with described menu page.
Preferably, this menu authority configuring method, wherein, described Role Information comprises:
It is associated with the post information of described management role; And
It is associated with the authority information of described management role.
Preferably, this menu authority configuring method, wherein, shows the menu page option being associated with menu page described in each respectively in described operation interface, and be associated with in menu page described in each respectively each described in the control option of control;
In described operation interface, it is provided that to the function that described menu page option and/or described control option operate;
In described operation interface, the result that described menu page option and/or described control option operate is synchronized in the described tree structure being saved.
A kind of menu authority configuration-system, the control authority being applicable in menu page configuration process; Wherein, comprising:
Mark adding device, for each needs the described control configuring authority to add the identifier of a correspondence in advance;
First processing unit, connect described mark adding device, for needing the title of menu page and at least one configuration address of correspondence of configuration according at least one, formation is associated with the tree structure of menu page described in each and preserves respectively, and is supplied to user one for carrying out the operation interface of authority configuration according to all described tree structures;
The level relation of described tree structure for describing in corresponding described menu page between all described controls being added described identifier;
2nd processing unit, connect described first processing unit, select on described operation interface for providing user to be associated with the information needing the Role Information of management role and the described menu page of corresponding selection configured, and generation is associated with the management Webpage of described management role and preserves;
Template generation unit, connects described 2nd processing unit, and for generating according to the described Role Information of the described management role selected and preserve corresponding Template Information, the management Webpage described with of Template Information described in each is associated;
Comparison unit, connect described template generation unit and described 2nd processing unit respectively, for obtaining the described post information being associated with new described role of outside input and compare with described Template Information, and when identical, directly call described Template Information generate corresponding described management Webpage.
Preferably, this menu authority configuration-system, wherein, described first processing unit comprises:
Acquisition module, for obtaining the outside title being associated with a described menu page of input and the described configuration address of correspondence;
First processing module, connects described acquisition module, and for according to described configuration address, process obtains in corresponding described menu page with the described control of described identifier and intercepts corresponding code fragment;
2nd processing module, connects described first processing module, for obtaining function word and the level structure of corresponding all described controls according to all described code fragment intercepted;
Structural generation module, connects described 2nd processing module, and for the described function word according to all described controls and described level structure, formation is associated with the described tree structure of described menu page and preserves;
Operation display module, connects described structural generation module, for forming corresponding described operation interface according to described tree structure and show.
Preferably, this menu authority configuration-system, wherein, described configuration address is the URL address being associated with described menu page.
Preferably, this menu authority configuration-system, wherein, described Role Information comprises:
It is associated with the post information of described management role; And
It is associated with the authority information of described management role.
Preferably, this menu authority configuration-system, wherein, shows the menu page option being associated with menu page described in each respectively in described operation interface, and be associated with in menu page described in each respectively each described in the control option of control;
Described menu authority configuration-system also comprises:
Interface operation unit, connects described first processing unit, for the function providing user described menu page option and/or described control option to be operated;
Synchronous unit, connects described interface operation unit, for being synchronized to the result that described menu page option and/or described control option operate in the described tree structure being saved.
The useful effect of technique scheme is:
1) a kind of menu authority configuring method is provided, it is possible to simplify the operating process of menu configuration, reduce the expense of program adjustment, promote the experience of user;
2) a kind of menu authority configuration-system is provided, it is possible to support to realize above-mentioned menu authority configuring method.
Accompanying drawing explanation
Fig. 1 is in the preferred embodiment of the present invention, the overall procedure schematic diagram of a kind of menu authority configuring method;
Fig. 2 is in the preferred embodiment of the present invention, on the basis of Fig. 1, generates tree structure and forms the schematic flow sheet of corresponding operation interface;
Fig. 3 is in the preferred embodiment of the present invention, the overall structure schematic diagram of a kind of menu authority configuration-system;
Fig. 4 is in the preferred embodiment of the present invention, on the basis of Fig. 3, and the structural representation of the first processing unit;
Fig. 5 is in the preferred embodiment of the present invention, forms the schematic diagram of operation interface according to tree structure.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is clearly and completely described, it is clear that described embodiment is only the present invention's part embodiment, instead of whole embodiments. Based on the embodiment in the present invention, other embodiments all that those of ordinary skill in the art obtain under the prerequisite not making creative work, all belong to the scope of protection of the invention.
It should be noted that, when not conflicting, the embodiment in the present invention and the feature in embodiment can combine mutually.
Below in conjunction with the drawings and specific embodiments, the invention will be further described, but not as limiting to the invention.
In the preferred embodiment of the present invention, based on the above-mentioned problems in the prior art, a kind of menu authority configuring method of existing offer, the control authority configuration process that the method is applicable in menu page. So-called menu page, actual can be the Webpage comprising various control. So-called control, wherein can comprise various function button, and various input frame, hereinafter repeats no more.
Then above-mentioned menu authority configuring method is concrete as shown in Figure 1, comprising:
Step S1, the control that each needs to configure authority in advance adds the identifier of a correspondence;
Step S2, the title of menu page and at least one configuration address of correspondence of configuration is needed according at least one, formation is associated with the tree structure of each menu page and preserves respectively, and is supplied to user one for carrying out the operation interface of authority configuration according to all tree structures;
The level relation of tree structure for describing in corresponding menu page between all controls being added identifier;
Step S3, select to be associated with the information needing the Role Information of management role and the menu page of corresponding selection configured on operation interface, and generate and be associated with the management management Webpage of role and preserve, Role Information according to the management role selected generates and preserves corresponding Template Information simultaneously;
Each Template Information manages Webpage with one and is associated;
Step S4, obtains the post information being associated with new role of outside input and compares with Template Information:
If identical, then directly call Template Information generation and manage Webpage accordingly;
If different, then return step S3.
In a specific embodiment, the control that each need to configure authority first in advance adds the identifier of a correspondence. In other words, for a menu page, wherein may comprise multiple control, some control wherein may not need the configuration carrying out different rights, such as input frame etc., other controls then may need to carry out the configuration of different rights, the function button etc. of function button, the function button of interpolation and the mandate such as inquired about. Therefore, in a menu page, only carry out the control of authority configuration adds identifier to wherein needing in advance, then in operation afterwards, only by identifier identification, these need the control carrying out authority configuration, and without the need to paying close attention to the control that other do not arrange identifier.
In this embodiment, adopt the title of different menu pages and its configuration address to obtain the Back ground Information of this menu page, and in this menu page, got the information of the control being wherein added with identifier by the mode of network reptile. Information according to these controls obtained forms the Storage Structure of Tree comprising set membership between different control, and generates corresponding operation interface according to these Storage Structure of Trees formed. As shown in Figure 5, the example of a menu page can be " system administration ", child node under it can include multiple control such as " user management ", " Role Management " and " function management " respectively, namely can generate the operation interface of a part as shown in Figure 5 according to above-mentioned tree structure. The operation interface being associated with multiple tree structure can be generated in a page according to the quantity (i.e. the quantity of menu page) of tree structure.The generating mode of above-mentioned tree structure can describe in detail hereinafter.
In this embodiment, select to be associated with the information needing the Role Information of management role and the menu page of corresponding selection configured on the above-mentioned operation interface generated, and generation is associated with the management Webpage of management role and preserves. In other words, user can select the Role Information of management role needing to configure on aforesaid operations interface, and corresponding selection needs the information of the menu page configured (to comprise the information of menu page, and the information of certain or a few controls in menu page), system generates the management Webpage of this management role according to the menu page information that the Role Information selected and correspondence are selected and preserves subsequently.
In this embodiment, carry out with said process: generate according to the Role Information of the management role selected and preserve corresponding Template Information simultaneously. So-called Role Information, comprising the post information being associated with each management role, and is associated with the authority information of each management role. Such as, the post information of certain management role is system maintenance person, authority information corresponding to this management role can operate some control (all controls in such as operating system-management) for being endowed, then can generate, according to above-mentioned post information and authority information, the Template Information that be associated with this management role. In this embodiment, each Template Information is associated with a management Webpage.
Then above-mentioned management Webpage and corresponding Template Information are the configuration information pre-set of a corresponding management role.
In this embodiment, equally according to aforesaid operations interface, obtain the Role Information of the new management role of user's input from outside, and carry out identical with the Template Information preserved:
If identical, then according to this Template Information, it is possible to directly generate corresponding management Webpage;
If not identical, then needing to return above-mentioned steps S3, namely Role Information according to new management role regenerates above-mentioned management Webpage and Template Information.
In the preferred embodiment of the present invention, as noted before, in above-mentioned steps S3, two operations generating management Webpage and generation Template Information can carry out simultaneously.
In the preferred embodiment of the present invention, as shown in Figure 2, above-mentioned steps S2 specifically comprises:
Step S21, what obtain outside input is associated with the title of a menu page and the configuration address of correspondence;
In the preferred embodiment of the present invention, so-called configuration address, actual can be URL (UniformResourceLocator, the Uniform Resource Identifier) address at this menu page place.
Then in above-mentioned steps S21, when each menu page is generated corresponding tree structure, first input the title of menu page to be configured, and the URL address of this menu page.
Step S22, according to configuration address, process obtains in corresponding menu page with the control of identifier and intercepts corresponding code fragment;
In the preferred embodiment of the present invention, first according to above-mentioned URL address, obtained the page info of this menu page by webpage reptile, utilize preset page analysis program subsequently, obtain the code fragment of the control with identifier that the page is arranged according to the identifier analysis known in advance. The identifier that such as certain control corresponding pre-sets is " menu ", then can utilize preset page analysis program, analyzes and arranges in the page<divid����menu��>, and increase newly</div>code fragment also intercepts.
In the preferred embodiment of the present invention, for all controls with identifier in above-mentioned all menu pages, all can be truncated to the code fragment of its correspondence.
Step S23, obtains function word and the level structure of corresponding all controls according to all code fragments intercepted;
In the preferred embodiment of the present invention, the above-mentioned code fragment intercepted comprises the specifying information of corresponding control. Above-mentioned specifying information can comprise: the function word of this control, and the level structure of this control.
Specifically, called function word, it is possible to be the title of this control, for identifying this control. So-called level structure, it is possible to be the storage organization relation between this control and the control that is associated thereof, the information of father's control of such as this control, and the information etc. of the child control of this control.
Step S24, according to the function word of all controls and level structure, formation is associated with the tree structure of menu page and preserves;
In the preferred embodiment of the present invention, function word according to controls being added with identifier all in a menu page and level structure, the tree structure of this menu page can be generated and preserve, this tree structure comprises all controls being added with identifier in this menu page, and the clear set membership illustrated between control.
In the preferred embodiment of the present invention, according to multiple menu page, it is possible to generate the tree structure of multiple correspondence and preserve.
Step S25, forms corresponding described operation interface according to described tree structure and shows.
Finally, in the preferred embodiment of the present invention, according to each tree structure, form the operation interface (as shown in Figure 5) of a part, and according to being associated with all tree structures of different menu pages, form a complete operation interface. In this operation interface, it is provided that the tree structure being associated with different menu pages is operated by user, thus set different menu pages and the operation authority of different control that menu page comprises.
Specifically, in the embodiment of a pin frame of the present invention, in above-mentioned steps S24, it is possible to generate the tree structure needed for aforesaid operations interface according to the function word obtained and the assembling of level structure, and return the generation result of above-mentioned tree structure with the form of database insertion script.
Then in above-mentioned steps S25, it is possible to according to above described database insertion script operating database, namely page effect corresponding for above-mentioned tree structure can be displayed in aforesaid operations interface.
In the preferred embodiment of the present invention, in operation interface, show the menu page option being associated with each menu page respectively, and the control option of each control being associated with respectively in each menu page;
In operation interface, it is provided that to the function that menu page option and/or control option operate;
In operation interface, the result that menu page option and/or control option operate is synchronized in the tree structure being saved.
Specifically, in the preferred embodiment of the present invention, aforesaid operations interface is supplied to the function that each control that menu page wherein and menu page comprise by user operates, and aforesaid operations function can comprise: to the function of interpolation, deletion, amendment and editor that the menu option of menu page and the control option of each control carry out. Further, result after these operations can feed back in the above-mentioned tree structure being saved. Such as delete certain control on operation interface, then the respective nodes of this control in the tree structure being saved also is deleted, and other nodes relevant to this node do corresponding change, and such as the child node of this node being deleted is deleted simultaneously.
In sum, in technical solution of the present invention, needing to carry out adding identifier on the control of authority configuration on menu page, obtaining according to identifier needs the control carrying out in the menu page of authority configuration, and generates the Storage Structure of Tree between control. Corresponding operation interface is generated according to Storage Structure of Tree, and according to the management Webpage of the corresponding different menu page of management role creation to be configured and corresponding Template Information. Aforesaid operations interface can be supplied to user and operate. The operation of this operation interface can directly be fed back in above-mentioned Storage Structure of Tree by user, and user by the mode of newly-increased management role, can directly call the Template Information generation generated and manage Webpage accordingly.
In the preferred embodiment of the present invention, based on above described menu authority configuring method, also providing a kind of menu authority configuration-system, its structure as shown in Figure 3, comprising:
Mark adding device 1, for each needs the control configuring authority to add the identifier of a correspondence in advance;
First processing unit 2, connect mark adding device 1, for needing the title of menu page and at least one configuration address of correspondence of configuration according at least one, formation is associated with the tree structure of each menu page and preserves respectively, and is supplied to user one for carrying out the operation interface of authority configuration according to all tree structures;
The level relation of tree structure for describing in corresponding menu page between all controls being added identifier;
2nd processing unit 3, connect the first processing unit 2, select on operation interface for providing user to be associated with the information needing the Role Information of management role and the menu page of corresponding selection configured, and generation is associated with the management Webpage of management role and preserves;
Template generation unit 4, connect the 2nd processing unit 3, for generating according to the Role Information of the management role selected and preserve corresponding Template Information, each Template Information with one management Webpage be associated;
Comparison unit 5, connect template generation unit 4 and the 2nd processing unit 3 respectively, for obtaining the post information being associated with new role of outside input and compare with Template Information, and when identical, directly call Template Information generate and manage Webpage accordingly.
In the preferred embodiment of the present invention, as shown in Figure 4, above-mentioned first processing unit 2 comprises:
Acquisition module 21, is associated with the title of a menu page and the configuration address of correspondence for what obtain outside input;
First processing module 22, connects acquisition module 21, and for according to configuration address, process obtains in corresponding menu page with the control of identifier and intercepts corresponding code fragment;
2nd processing module 23, connects the first processing module 22, for obtaining function word and the level structure of corresponding all controls according to all code fragments intercepted;
Structural generation module 24, connects the 2nd processing module 23, and for the function word according to all controls and level structure, formation is associated with the tree structure of menu page and preserves;
Operation display module 25, connect structural generation module 24, for forming corresponding operation interface according to tree structure and show.
In the preferred embodiment of the present invention, above-mentioned configuration address can for being associated with the URL address of menu page.
In the preferred embodiment of the present invention, above-mentioned Role Information can comprise:
It is associated with the post information of management role;And
It is associated with the authority information of management role.
In the preferred embodiment of the present invention, in operation interface, show the menu page option being associated with each menu page respectively, and the control option of each control being associated with respectively in each menu page;
Then still as shown in Figure 3, above-mentioned menu authority configuration-system also comprises:
Interface operation unit 6, connects above-mentioned first processing unit 2, for the function providing user the menu page option on operation interface and/or control option to be operated;
Synchronous unit 7, linkage interface operation unit 6, for being synchronized to the result that menu page option and/or control option operate in the tree structure being saved.
The foregoing is only preferred embodiment of the present invention; not thereby embodiments of the present invention and protection domain is limited; to those skilled in the art; should recognize and all should be included in protection scope of the present invention the scheme that the equivalent replacement done by all utilizations specification sheets of the present invention and diagramatic content and apparent change obtain.

Claims (10)

1. a menu authority configuring method, the control authority being applicable in menu page configuration process; It is characterized in that, comprising:
Step S1, the described control that each needs to configure authority in advance adds the identifier of a correspondence;
Step S2, the title of menu page and at least one configuration address of correspondence of configuration is needed according at least one, formation is associated with the tree structure of menu page described in each and preserves respectively, and it is supplied to user one for carrying out the operation interface of authority configuration according to all described tree structures, the level relation of described tree structure for describing in corresponding described menu page between all described controls being added described identifier;
Step S3, select to be associated with the information needing the Role Information of management role and the described menu page of corresponding selection configured on described operation interface, and generation is associated with the management Webpage of described management role and preserves, generating according to the described described Role Information managing role selected simultaneously and preserve corresponding Template Information, the management Webpage described with of Template Information described in each is associated;
Step S4, obtains the described post information being associated with new described role of outside input and compares with described Template Information:
If identical, then directly call described Template Information and generate corresponding described management Webpage;
If different, then return described step S3.
2. menu authority configuring method as claimed in claim 1, it is characterised in that, described step S2 specifically comprises:
Step S21, obtains the outside title being associated with a described menu page of input and the described configuration address of correspondence;
Step S22, according to described configuration address, process obtains in corresponding described menu page with the described control of described identifier and intercepts corresponding code fragment;
Step S23, obtains function word and the level structure of corresponding all described controls according to all described code fragment intercepted;
Step S24, according to the described function word of all described controls and described level structure, formation is associated with the described tree structure of described menu page and preserves;
Step S25, forms corresponding described operation interface according to described tree structure and shows.
3. menu authority configuring method as claimed in claim 2, it is characterised in that, described configuration address is the URL address being associated with described menu page.
4. menu authority configuring method as claimed in claim 1, it is characterised in that, described Role Information comprises:
It is associated with the post information of described management role; And
It is associated with the authority information of described management role.
5. menu authority configuring method as claimed in claim 1, it is characterized in that, in described operation interface, show the menu page option being associated with menu page described in each respectively, and be associated with in menu page described in each respectively each described in the control option of control;
In described operation interface, it is provided that to the function that described menu page option and/or described control option operate;
In described operation interface, the result that described menu page option and/or described control option operate is synchronized in the described tree structure being saved.
6. a menu authority configuration-system, the control authority being applicable in menu page configuration process; It is characterized in that, comprising:
Mark adding device, for each needs the described control configuring authority to add the identifier of a correspondence in advance;
First processing unit, connect described mark adding device, for needing the title of menu page and at least one configuration address of correspondence of configuration according at least one, formation is associated with the tree structure of menu page described in each and preserves respectively, and is supplied to user one for carrying out the operation interface of authority configuration according to all described tree structures;
The level relation of described tree structure for describing in corresponding described menu page between all described controls being added described identifier;
2nd processing unit, connect described first processing unit, select on described operation interface for providing user to be associated with the information needing the Role Information of management role and the described menu page of corresponding selection configured, and generation is associated with the management Webpage of described management role and preserves;
Template generation unit, connects described 2nd processing unit, and for generating according to the described Role Information of the described management role selected and preserve corresponding Template Information, the management Webpage described with of Template Information described in each is associated;
Comparison unit, connect described template generation unit and described 2nd processing unit respectively, for obtaining the described post information being associated with new described role of outside input and compare with described Template Information, and when identical, directly call described Template Information generate corresponding described management Webpage.
7. menu authority configuration-system as claimed in claim 6, it is characterised in that, described first processing unit comprises:
Acquisition module, for obtaining the outside title being associated with a described menu page of input and the described configuration address of correspondence;
First processing module, connects described acquisition module, and for according to described configuration address, process obtains in corresponding described menu page with the described control of described identifier and intercepts corresponding code fragment;
2nd processing module, connects described first processing module, for obtaining function word and the level structure of corresponding all described controls according to all described code fragment intercepted;
Structural generation module, connects described 2nd processing module, and for the described function word according to all described controls and described level structure, formation is associated with the described tree structure of described menu page and preserves;
Operation display module, connects described structural generation module, for forming corresponding described operation interface according to described tree structure and show.
8. menu authority configuration-system as claimed in claim 7, it is characterised in that, described configuration address is the URL address being associated with described menu page.
9. menu authority configuration-system as claimed in claim 6, it is characterised in that, described Role Information comprises:
It is associated with the post information of described management role; And
It is associated with the authority information of described management role.
10. menu authority configuration-system as claimed in claim 6, it is characterized in that, in described operation interface, show the menu page option being associated with menu page described in each respectively, and be associated with in menu page described in each respectively each described in the control option of control;
Described menu authority configuration-system also comprises:
Interface operation unit, connects described first processing unit, for the function providing user described menu page option and/or described control option to be operated;
Synchronous unit, connects described interface operation unit, for being synchronized to the result that described menu page option and/or described control option operate in the described tree structure being saved.
CN201511004849.7A 2015-12-28 2015-12-28 A kind of menu authority configuring method and system Active CN105653977B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201511004849.7A CN105653977B (en) 2015-12-28 2015-12-28 A kind of menu authority configuring method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201511004849.7A CN105653977B (en) 2015-12-28 2015-12-28 A kind of menu authority configuring method and system

Publications (2)

Publication Number Publication Date
CN105653977A true CN105653977A (en) 2016-06-08
CN105653977B CN105653977B (en) 2019-07-05

Family

ID=56477110

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201511004849.7A Active CN105653977B (en) 2015-12-28 2015-12-28 A kind of menu authority configuring method and system

Country Status (1)

Country Link
CN (1) CN105653977B (en)

Cited By (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106227515A (en) * 2016-07-12 2016-12-14 努比亚技术有限公司 A kind of information processing method and server
CN107038583A (en) * 2017-03-31 2017-08-11 武汉票据交易中心有限公司 The method for verifying authority and system of a kind of transaction system
CN107103228A (en) * 2017-04-22 2017-08-29 成都牵牛草信息技术有限公司 Man-to-man permission grant method and system of the based role to user
CN107944844A (en) * 2018-01-08 2018-04-20 东莞嘉泰钟表有限公司 A kind of interface display method for office administration
CN108614973A (en) * 2018-04-04 2018-10-02 北京大米科技有限公司 A kind of authorization management method comprising menu management, server and management system
CN108830565A (en) * 2017-06-30 2018-11-16 成都牵牛草信息技术有限公司 The menu authorization method of based role
CN108875324A (en) * 2017-07-04 2018-11-23 成都牵牛草信息技术有限公司 List authorization method based on list time property field
CN108920940A (en) * 2017-07-11 2018-11-30 成都牵牛草信息技术有限公司 The method authorized by field value of third party's field to form fields
CN108920915A (en) * 2017-07-05 2018-11-30 成都牵牛草信息技术有限公司 Form field values operating right authorization method
CN109214150A (en) * 2017-07-01 2019-01-15 成都牵牛草信息技术有限公司 The list operating right authorization method of based role
CN109739401A (en) * 2018-12-21 2019-05-10 广东阅云科技有限公司 A kind of user characteristic data management system and its interface display method and relevant device
CN109829336A (en) * 2019-02-12 2019-05-31 浪潮软件股份有限公司 A kind of management method and device of menu permission
CN110826027A (en) * 2019-09-29 2020-02-21 烽火通信科技股份有限公司 Method and system for distributing computer software user permission
CN111400561A (en) * 2020-03-17 2020-07-10 杭州迪普科技股份有限公司 Electronic device and configuration method thereof
CN111427491A (en) * 2020-03-02 2020-07-17 青岛聚好联科技有限公司 Method and device for configuring system background menu button
CN113190809A (en) * 2021-04-27 2021-07-30 深圳市华磊迅拓科技有限公司 User authority control method, system, terminal and medium based on MES system

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110879871B (en) * 2019-11-26 2022-09-27 杭州迪普科技股份有限公司 Page menu configuration method and device

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102541517A (en) * 2010-12-13 2012-07-04 金蝶软件(中国)有限公司 Authority configuration method, device and system
CN102520933A (en) * 2011-11-28 2012-06-27 深圳市五巨科技有限公司 Method and device for establishing tree menu based on user right
CN104951527A (en) * 2015-06-12 2015-09-30 深圳互娱网络科技有限公司 System and method for rapid configuration of database management background

Cited By (22)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106227515A (en) * 2016-07-12 2016-12-14 努比亚技术有限公司 A kind of information processing method and server
CN107038583A (en) * 2017-03-31 2017-08-11 武汉票据交易中心有限公司 The method for verifying authority and system of a kind of transaction system
CN107103228A (en) * 2017-04-22 2017-08-29 成都牵牛草信息技术有限公司 Man-to-man permission grant method and system of the based role to user
CN108830565A (en) * 2017-06-30 2018-11-16 成都牵牛草信息技术有限公司 The menu authorization method of based role
CN109214150A (en) * 2017-07-01 2019-01-15 成都牵牛草信息技术有限公司 The list operating right authorization method of based role
CN108875324A (en) * 2017-07-04 2018-11-23 成都牵牛草信息技术有限公司 List authorization method based on list time property field
CN108920915B (en) * 2017-07-05 2021-10-29 成都牵牛草信息技术有限公司 Form field value operation authority authorization method
CN108920915A (en) * 2017-07-05 2018-11-30 成都牵牛草信息技术有限公司 Form field values operating right authorization method
US11507651B2 (en) 2017-07-05 2022-11-22 Chengdu Qianniucao Information Technology Co., Ltd. Method for authorizing operation permissions of form-field values
CN108920940A (en) * 2017-07-11 2018-11-30 成都牵牛草信息技术有限公司 The method authorized by field value of third party's field to form fields
US11775687B2 (en) 2017-07-11 2023-10-03 Chengdu Qianniucao Information Technology Co., Ltd. Method for authorizing field value of form field by means of third party field
CN107944844A (en) * 2018-01-08 2018-04-20 东莞嘉泰钟表有限公司 A kind of interface display method for office administration
CN108614973A (en) * 2018-04-04 2018-10-02 北京大米科技有限公司 A kind of authorization management method comprising menu management, server and management system
CN109739401A (en) * 2018-12-21 2019-05-10 广东阅云科技有限公司 A kind of user characteristic data management system and its interface display method and relevant device
CN109739401B (en) * 2018-12-21 2021-11-09 广东阅云科技有限公司 User characteristic data management system, interface display method thereof and related equipment
CN109829336A (en) * 2019-02-12 2019-05-31 浪潮软件股份有限公司 A kind of management method and device of menu permission
CN110826027B (en) * 2019-09-29 2021-11-09 烽火通信科技股份有限公司 Method and system for distributing computer software user permission
CN110826027A (en) * 2019-09-29 2020-02-21 烽火通信科技股份有限公司 Method and system for distributing computer software user permission
CN111427491A (en) * 2020-03-02 2020-07-17 青岛聚好联科技有限公司 Method and device for configuring system background menu button
CN111400561A (en) * 2020-03-17 2020-07-10 杭州迪普科技股份有限公司 Electronic device and configuration method thereof
CN111400561B (en) * 2020-03-17 2023-09-12 杭州迪普科技股份有限公司 Electronic device and configuration method thereof
CN113190809A (en) * 2021-04-27 2021-07-30 深圳市华磊迅拓科技有限公司 User authority control method, system, terminal and medium based on MES system

Also Published As

Publication number Publication date
CN105653977B (en) 2019-07-05

Similar Documents

Publication Publication Date Title
CN105653977A (en) Menu permission configuration method and system
CN102779040B (en) A kind of method and apparatus generating customizing form
CN102880664B (en) Page editing method, device and system
CN101207450B (en) Method for making special subject pattern plate as well as client end and network side server
US9158534B2 (en) Smart endpoint architecture
CN110807015B (en) Big data asset value delivery management method and system
CN105487864A (en) Method and device for automatically generating code
US10448227B2 (en) Mobile database access application development system and method
CN104793961A (en) Quick JavaWeb development method and system using native Web codes
CN105204860A (en) Method and device for rapidly generating user-defined static Web page
CN104252521A (en) Web content management using predetermined project templates
CN105635063A (en) IOT (Internet of Things) communication protocol configuration method and device
CN104572644A (en) Database updating device and database updating method
CN105718517A (en) Webpage display control method and system, and application server
CN104035783A (en) Platform integrating method and platform integrating system matched with third party web page in application program
CN104268241A (en) Attribute display method in configuration database
WO2017185484A1 (en) Method and system for internationalized language administration
CN108536661A (en) A kind of online document reading system based on OpenOffice
CN104363122A (en) Pre-configuration method and system of network element
CN103530135A (en) Proxy service generating device and proxy service generating method
CN111475803A (en) Background authority management system and management method
CN105808626A (en) Page generation method and device
CN108076015A (en) The treating method and apparatus of authority information
CN106126720A (en) The method and device that the collection of browser of mobile terminal is managed
CN112486952A (en) Flow creation method, system, storage medium and electronic device

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