CN110502712A - A kind of web menu generation method, device and server - Google Patents

A kind of web menu generation method, device and server Download PDF

Info

Publication number
CN110502712A
CN110502712A CN201910735600.5A CN201910735600A CN110502712A CN 110502712 A CN110502712 A CN 110502712A CN 201910735600 A CN201910735600 A CN 201910735600A CN 110502712 A CN110502712 A CN 110502712A
Authority
CN
China
Prior art keywords
menu
data
routing
information
web
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.)
Pending
Application number
CN201910735600.5A
Other languages
Chinese (zh)
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.)
Guangdong Inspur Smart Computing Technology Co Ltd
Original Assignee
Guangdong Inspur Big Data Research 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 Guangdong Inspur Big Data Research Co Ltd filed Critical Guangdong Inspur Big Data Research Co Ltd
Priority to CN201910735600.5A priority Critical patent/CN110502712A/en
Publication of CN110502712A publication Critical patent/CN110502712A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/958Organisation or management of web site content, e.g. publishing, maintaining pages or automatic linking
    • 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Data Mining & Analysis (AREA)
  • Human Computer Interaction (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The invention discloses a kind of web menu generation method, device and servers, this method comprises: server obtains the menu request that user terminal is sent;Determine the corresponding permission control mark of menu request;Default routing data set is parsed, menu data collection is obtained;Wherein, each routing data preset in routing data set include corresponding routing source information, and routing source information controls flag information with permission and menu information is corresponding;Obtaining menu data concentrates permission control to indicate corresponding menu data, and sends user terminal for menu data;The present invention controls the setting of flag information and menu information by the corresponding permission of routing source information in each routing data, parameter needed for menu definition and authorization check is added in Web routing, so that three kinds of Web routing, web menu and authorization check functions can be completed in a component, reduce exploitation amount, later maintenance pressure is alleviated, development efficiency and product stability are improved.

Description

A kind of web menu generation method, device and server
Technical field
The present invention relates to web front end development technique field, in particular to a kind of web menu generation method, device and service Device.
Background technique
In web front end exploitation, Vue (i.e. Vue.js) provides not only view framework easy to use, flexible component Customized solution is even more to provide greatly convenience for exploitation.Vue is a set of for constructing the gradual frame of user interface.With Unlike other large-scale frames, Vue is designed to bottom-up layer-by-layer application.The core library of Vue only focuses on view layer, It is not only easy to hand, is also convenient for and third party library or existing Item increasing.On the other hand, when with the tools chain of modernization and respectively When kind supports class libraries to be used in combination, Vue is also fully able to provide driving for complicated single page application.Vue Router is Vue.js The routing manager of official, it is integrated with the core depth of Vue.js, and building single-page application is allowed to become ery easy
In previous development process, web menu, Web routing and authority verification are all to need individually defined function Component, developer at least need to encode in 3 components, are just able to achieve menu definition and routing with authorization check function and reflect It penetrates.And in the process, there is a large amount of repeated logic, code structure is also not clear enough, succinct, while needing to expend more Energy complete the later period maintenance, be unfavorable for quick, stable project development.
Therefore, the menu definition with authorization check function and routing mapping, reduction how conveniently to be realized Exploitation amount mitigates later maintenance pressure, improves development efficiency and product stability, is urgent problem now.
Summary of the invention
The object of the present invention is to provide a kind of web menu generation method, device and servers, to utilize Vue Router Routing metamessage function, conveniently realize have authorization check function menu definition and routing mapping, reduction exploitation Amount mitigates later maintenance pressure, improves development efficiency and product stability.
In order to solve the above technical problems, the present invention provides a kind of web menu generation method, comprising:
Server obtains the menu request that user terminal is sent;
Determine the corresponding permission control mark of the menu request;
Default routing data set is parsed, menu data collection is obtained;Wherein, every in the default routing data set A routing data include that corresponding routing source information, the routing source information and permission control flag information and menu are believed Manner of breathing is corresponding;
It obtains the control of permission described in the menu data collection and indicates corresponding menu data, and the menu data is sent out It is sent to the user terminal, so that the user terminal generates web menu according to the menu data.
Optionally, when the menu information includes menu state information, described pair of default routing data set is parsed, and is obtained Take menu data collection, comprising:
Traverse each of the default routing data set routing data;
Target routing data are converted into corresponding menu data, generate the menu data collection;Wherein, the target road It is the routing data that corresponding menu state information is display state in the default routing data set by data.
Optionally, when the menu data collection includes submenu data, described pair of default routing data set is parsed, and is obtained Take menu data collection, comprising:
Sub-route data in the routing data are converted into corresponding submenu data;
It is corresponding, it is described to obtain the corresponding menu data of the control mark of permission described in the menu data collection, comprising:
It obtains the control of permission described in the menu data collection and indicates corresponding menu data and submenu data.
Optionally, the corresponding permission control mark of the determination menu request, comprising:
Obtain the corresponding Role Information of the menu request;
The corresponding permission control mark of the Role Information is searched from background data base.
It is optionally, described to obtain the corresponding menu data of the control mark of permission described in the menu data collection, comprising:
Delete the not corresponding menu data of the control mark of permission described in the menu data collection.
Optionally, this method further include:
It obtains the control of permission described in the default routing data set and indicates corresponding routing data, and by the routing number According to being sent to the user terminal.
The present invention also provides a kind of web menu generating means, comprising:
Module is obtained, for obtaining the menu request of user terminal transmission;
Determining module, for determining the corresponding permission control mark of the menu request;
Parsing module obtains menu data collection for parsing to default routing data set;Wherein, the default road It include corresponding routing source information by each routing data in data set, the routing source information and permission control are marked Will information and menu information are corresponding;
Sending module indicates corresponding menu data for obtaining the control of permission described in the menu data collection, and will The menu data is sent to the user terminal, so that the user terminal generates web menu according to the menu data.
Optionally, the parsing module, comprising:
Submodule is traversed, for traversing each of the default routing data set routing data;
First transform subblock generates the menu number for target routing data to be converted to corresponding menu data According to collection;Wherein, the target routing data are that corresponding menu state information is display state in the default routing data set Routing data.
Optionally, the parsing module, comprising:
Second transform subblock, for the sub-route data in the routing data to be converted to corresponding submenu number According to;
Corresponding, it is corresponding that the sending module is specifically used for permission control mark described in the acquisition menu data collection Menu data and submenu data, and it is sent to the user terminal.
The present invention also provides a kind of servers, comprising:
Memory, for storing computer program;
Processor realizes web menu generation method as described in any one of the above embodiments when for executing the computer program The step of.
A kind of web menu generation method provided by the present invention, comprising: server obtains the menu that user terminal is sent Request;Determine the corresponding permission control mark of menu request;Default routing data set is parsed, menu data collection is obtained; Wherein, each routing data preset in routing data set include corresponding routing source information, routing source information and power Limit control flag information and menu information are corresponding;Obtaining menu data concentrates permission control to indicate corresponding menu data, and User terminal is sent by menu data, so that user terminal generates web menu according to menu data;
As it can be seen that the present invention controls flag information and menu by the corresponding permission of routing source information in each routing data Parameter required for menu definition and authorization check is added in Web routing, so that encoding in a component in the setting of information Three kinds of Web routing, web menu and authorization check functions can be completed, exploitation amount is greatly reduced, alleviates later maintenance pressure Power improves development efficiency and product stability.In addition, the present invention also provides a kind of web menu generating means and services Device equally has above-mentioned beneficial effect.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this The embodiment of invention for those of ordinary skill in the art without creative efforts, can also basis The attached drawing of offer obtains other attached drawings.
Fig. 1 is a kind of flow chart of web menu generation method provided by the embodiment of the present invention;
Fig. 2 is a kind of structural block diagram of web menu generating means provided by the embodiment of the present invention.
Specific embodiment
In order to make the object, technical scheme and advantages of the embodiment of the invention clearer, below in conjunction with the embodiment of the present invention In attached drawing, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described embodiment is A part of the embodiment of the present invention, instead of all the embodiments.Based on the embodiments of the present invention, those of ordinary skill in the art Every other embodiment obtained without making creative work, shall fall within the protection scope of the present invention.
Referring to FIG. 1, Fig. 1 is a kind of flow chart of web menu generation method provided by the embodiment of the present invention.The party Method may include:
Step 101: server obtains the menu request that user terminal is sent.
Wherein, the user terminal in this step can be terminal device used by a user.Menu request in this step The request of menu data needed for page menus being generated for the page in user terminal.Server obtains user in this step The concrete mode for the menu request that terminal is sent can such as be used and be taken in the prior art by designer's self-setting The same or similar mode of method of reseptance of the menu request of business device is realized.
Specifically, for the particular content of menu request, can by designer according to practical scene and user demand from Row setting, if menu request may include user information, such as menu request can use user terminal login page for user When to server send the logging request comprising user information;Menu request also may include permission control mark.As long as clothes The processor being engaged in device determines the corresponding permission control mark of received menu request by step 102, the present embodiment to this not Do any restrictions.
Step 102: determining the corresponding permission control mark of menu request.
It is understood that the purpose of this step can be server menu request based on the received, determine that the menu is asked Seek corresponding one or more permission control marks in pre-stored a variety of permission control marks.
It is corresponding, the concrete mode of the corresponding permission control mark of menu request is determined for server in this step, it can By designer's self-setting, when as included permission control mark in menu request, the corresponding power of menu request in this step Limit control mark can control mark for the permission in menu request, such as server can control the permission in menu request Mark is compared with pre-stored permission control mark, and after comparing successfully, the permission in menu request is controlled mark As the corresponding permission control mark of menu request;When as do not included permission control mark in menu request, server can be first The corresponding Role Information (such as common user or administrator) of menu request is obtained, role letter is being searched from background data base Corresponding permission control mark is ceased, i.e., the corresponding pass of each Role Information with permission control mark can be stored in advance in server System.As long as server can determine received menu request corresponding permission control mark in this step, the present embodiment to this not Do any restrictions.
Specifically, the concrete mode of the corresponding Role Information of menu request is obtained for above-mentioned server, it can be by designing Personnel's self-setting, when as included Role Information in menu request, server is using the Role Information in menu request as menu Request corresponding Role Information;When as included user information in menu request, server can first determine the use in menu request The corresponding Role Information of family information, then using the Role Information as the corresponding Role Information of menu request, to be connect by calling Mouth inquires the corresponding power of the Role Information from the corresponding permission control mark of different role information stored in background data base Limit control mark.
Step 103: default routing data set being parsed, menu data collection is obtained;Wherein, it presets in routing data set Each routing data include corresponding routing source information, routing source information and permission control flag information and menu believe Manner of breathing is corresponding.
Wherein, the default routing data set in this step can be pre-set generation different web pages menu in server The set of the required whole routing data used.After menu data collection in this step can be to parse default routing data set The set of obtained whole menu datas.Default road is arranged in the middle routing metamessage function that Vue Router is used in this step By the routing source information of routing data each in data set and the corresponding relationship of permission control flag information and menu information, so that There are corresponding corresponding relationships for each menu data and permission the control flag information and menu information that menu data is concentrated.
Specifically, the permission control flag information in this step can be to store in the corresponding server of each routing data Permission control mark information, i.e., server can use limit control flag information determine the corresponding permission of each routing data Control mark, so that it is determined that the corresponding permission control mark of routing data menu data obtained after parsing.Dish in this step Single information required information used when can generate for the corresponding menu data web menu of each routing data, believes menu The particular content of breath such as can may include unique ID (key), the pad name of menu by designer's self-setting (name), the basic informations such as menu navigation path (path) and menu navigation path (path);It can also include that menu state is believed It ceases (isHidden), i.e. display/hidden state information of menu.The present embodiment does not do any restrictions to this.
It is corresponding, permission control flag information corresponding for the routing source information of routing data each in this step and dish The specific storage mode of single information, can be by designer's self-setting, such as can be directly in the route source of each routing data Corresponding permission control flag information and menu information are stored in information, such as can be routed in the routing source information of data It may include corresponding permission control mark and menu information;It can also be stored in the background data base of server each The corresponding permission control flag information of routing source information and menu information of data are routed, i.e. server can store each The corresponding relationship for routing source information and permission control flag information and menu information, thus according to the routing source information of routing data Find corresponding permission control flag information and menu information.As long as guaranteeing that server can determine the road of each routing data Any restrictions are not done to this by the corresponding permission control flag information of source information and menu information, the present embodiment.
It is understood that the purpose of this step can be for by parsing each routing number in default routing data set According to obtaining the menu data collection that the control of whole permissions indicates corresponding menu data composition.Specifically, in this step to pre- If routing data set is parsed, the concrete mode of menu data collection is obtained, can be by designer's self-setting, it such as can be straight Each routing data in the default routing data set of traversal are connect, i.e. routing is defined arrays, and reconfigures data lattice to routing data Formula, by the corresponding menu data of each routing data conversion.In order to facilitate the generation of subsequent web pages menu, in this step Can be by the parsing to default routing data set, the whole permissions control marks of acquisition are corresponding to be needed in the generation of web menu The menu data collection of menu data composition to be shown;That is, when including menu state information in menu information, this step The menu data collection of acquisition can route the set for the menu data that data conversion obtains for the target in default routing data set, Target routing data can be the routing data of display state, i.e. mesh for corresponding menu state information in default routing data set The corresponding menu state information of routing source information of mark routing data is display state;Such as this step can traverse default routing Target routing data in default routing data set are only converted to corresponding menu number by each routing data in data set According to generation menu data collection;Each routing data in default routing data set can also be converted into corresponding by this step Menu data, then the corresponding menu data of non-targeted routing data is deleted, obtain menu data collection.In order to meet inlay routing and The functional requirement of multi-layer menu, the menu data collection obtained in this step may include submenu data, i.e., default routing number When routing data according to the routing data packet enclosed tool of concentration, sub-route data can be reconfigured into data format, be converted to correspondence Submenu data so that the page of user terminal can use submenu data generate web menu in submenu (submenu);That is, the sub-route data routed in data can be converted to corresponding sub- dish by server in this step Forms data.The present embodiment does not do any restrictions to this.
That is, the Rulemaking Web routing definition of Vue router is followed in the present embodiment, in addition to Web routing is fixed Necessary to justice is existing other than parameter, a kind of rule is arranged and has been used to meet to automatically generate menu webpage and authorization check.Wherein, Treaty rule parameter includes permission control mark, display/hidden state of menu, unique ID of menu, permission control mark, dish Single-character given name claims, menu navigation path and submenu etc..Submenu is the set that one group of submenu defines (submenu data), submenu Data meet the functional requirement of nested routing and multi-layer menu.It is (pre- by the set of the routing data of above-mentioned Rulemaking If routing data set) it can be stored in the database or configuration file of server with persistence.
Specifically, server can define arrays by traversing routing in this step, display/hiding shape of menu is judged Whether state extracts the menu definition of display state, judge comprising sub-route in routing definition, if it is present traversal sub-route Sub-route definition is converted to submenu, reconfigures data format, generate menu data collection by definition.
It should be noted that the present embodiment is to receive primary preset of parsing after menu request every time and route data set For the displaying that carries out can be by designer's self-setting for the specific execution sequence of this step and step 103, can be with Step 103 is first carried out as shown in this embodiment and carries out this step again, can also first be carried out this step and be carried out step 103 again.This reality It applies example and does not do any restrictions to this.Likewise, can not also the primary default routing of parsing after receiving menu request every time Data set, but default routing data set is parsed after server initiation and default routing data set update, it receives every time It can be directly using the newest menu data collection for parsing and obtaining after menu request.As long as guaranteeing that server can make in the present embodiment With default routing data set menu data collection obtained after parsing, the present embodiment does not do any restrictions to this.
Step 104: obtaining menu data and permission control is concentrated to indicate corresponding menu data, and send menu data to User terminal, so that user terminal generates web menu according to menu data.
It is understood that the purpose of this step can be server by concentrating menu request corresponding from menu data Menu data corresponding to permission control mark (target permission control mark), the menu data concentrated to menu data carried out Filter, realizes the permission control function of menu.
Specifically, the specific side for concentrating permission control to indicate corresponding menu data for obtaining menu data in this step Formula, can be by designer's self-setting, and primary preset of parsing routes data after receiving menu request every time such as server When collection, directly the not corresponding menu data of target permission control mark can be concentrated to delete menu data in this step, i.e., will It is not that the menu data of target permission control mark is deleted that menu data, which concentrates corresponding permission control mark, the dish that will retain Forms data is sent to user terminal, so that the page in user terminal is can use received menu data and automatically generates webpage dish It is single.
Corresponding, when menu data is concentrated including submenu data, the available menu data of this step concentrates menu to ask The menu data and submenu data for asking corresponding permission control mark corresponding.
Further, the utilization menu data in this step in order to keep the page in subsequent user terminal more convenient Page menus is generated, it, can also be to target after obtaining menu data and the control of target permission is concentrated to indicate corresponding menu data Permission control indicates that corresponding menu data is combined, to send user terminal for the menu data after combination.
It should be noted that the routing data preset in routing data set in the present embodiment can be building single-page application Necessary basic data.The present embodiment can also include obtaining the corresponding permission control of menu request in default routing data set The corresponding routing data of mark, and the step of sending user terminal for the routing data, to utilize permission control mark It is arranged and permission filtering is carried out to the routing data in default routing data set, is returned only to the routing data of user's permission to access, The control of routing permission is realized, so that Vue router can make the routing data of return when the page initializes in user terminal For primary data, it is automatically performed face routing forwarding.
In the present embodiment, the embodiment of the present invention passes through the corresponding permission control mark of routing source information in each routing data Parameter required for menu definition and authorization check is added in Web routing, so that one in the setting of will information and menu information Three kinds of Web routing, web menu and authorization check functions can be completed in coding in a component, and exploitation amount is greatly reduced, and mitigates Later maintenance pressure, improves development efficiency and product stability.
Referring to FIG. 2, Fig. 2 is a kind of structural block diagram of web menu generating means provided by the embodiment of the present invention.It should Device may include:
Module 10 is obtained, for obtaining the menu request of user terminal transmission;
Determining module 20, for determining the corresponding permission control mark of menu request;
Parsing module 30 obtains menu data collection for parsing to default routing data set;Wherein, routing is preset Each routing data in data set include corresponding routing source information, and routing source information and permission control flag information It is corresponding with menu information;
Sending module 40 concentrates permission control to indicate corresponding menu data for obtaining menu data, and by menu number According to user terminal is sent to, so that user terminal generates web menu according to menu data.
Optionally, parsing module 30 may include:
Submodule is traversed, for traversing each routing data in default routing data set;
First transform subblock generates menu data collection for target routing data to be converted to corresponding menu data; Wherein, target routing data are the routing data that corresponding menu state information is display state in default routing data set.
Optionally, parsing module 30 may include:
Second transform subblock, for the sub-route data routed in data to be converted to corresponding submenu data;
It is corresponding, sending module 40 be specifically used for obtaining menu data concentrate permission control indicate corresponding menu data and Submenu data, and it is sent to user terminal.
In the present embodiment, the embodiment of the present invention passes through the corresponding permission control mark of routing source information in each routing data Parameter required for menu definition and authorization check is added in Web routing, so that one in the setting of will information and menu information Three kinds of Web routing, web menu and authorization check functions can be completed in coding in a component, and exploitation amount is greatly reduced, and mitigates Later maintenance pressure, improves development efficiency and product stability.
In addition, the embodiment of the invention also provides a kind of servers, comprising: memory, for storing computer program;Place Device being managed, being realized when for executing computer program as provided by above-described embodiment the step of web menu generation method.
Each embodiment is described in a progressive manner in specification, the highlights of each of the examples are with other realities The difference of example is applied, the same or similar parts in each embodiment may refer to each other.For device disclosed in embodiment and For server, since it is corresponded to the methods disclosed in the examples, so being described relatively simple, related place is referring to method Part illustrates.
The step of method described in conjunction with the examples disclosed in this document or algorithm, can directly be held with hardware, processor The combination of capable software module or the two is implemented.Software module can be placed in random access memory (RAM), memory, read-only deposit Reservoir (ROM), electrically programmable ROM, electrically erasable ROM, register, hard disk, moveable magnetic disc, CD-ROM or technology In any other form of storage medium well known in field.
A kind of web menu generation method provided by the present invention, device and server are described in detail above. Used herein a specific example illustrates the principle and implementation of the invention, and the explanation of above embodiments is only used In facilitating the understanding of the method and its core concept of the invention.It should be pointed out that for those skilled in the art, Without departing from the principle of the present invention, can be with several improvements and modifications are made to the present invention, these improvement and modification It falls into the protection scope of the claims in the present invention.

Claims (10)

1. a kind of web menu generation method characterized by comprising
Server obtains the menu request that user terminal is sent;
Determine the corresponding permission control mark of the menu request;
Default routing data set is parsed, menu data collection is obtained;Wherein, each road in the default routing data set It include corresponding routing source information by data, the routing source information controls flag information and menu information phase with permission It is corresponding;
It obtains the control of permission described in the menu data collection and indicates corresponding menu data, and send the menu data to The user terminal, so that the user terminal generates web menu according to the menu data.
2. web menu generation method according to claim 1, which is characterized in that the menu information includes menu state When information, described pair of default routing data set is parsed, and obtains menu data collection, comprising:
Traverse each of the default routing data set routing data;
Target routing data are converted into corresponding menu data, generate the menu data collection;Wherein, the target routes number According to the routing data for for corresponding menu state information in the default routing data set being display state.
3. web menu generation method according to claim 2, which is characterized in that the menu data collection includes submenu When data, described pair of default routing data set is parsed, and obtains menu data collection, comprising:
Sub-route data in the routing data are converted into corresponding submenu data;
It is corresponding, it is described to obtain the corresponding menu data of the control mark of permission described in the menu data collection, comprising:
It obtains the control of permission described in the menu data collection and indicates corresponding menu data and submenu data.
4. web menu generation method according to claim 1, which is characterized in that the determination menu request is corresponding Permission control mark, comprising:
Obtain the corresponding Role Information of the menu request;
The corresponding permission control mark of the Role Information is searched from background data base.
5. web menu generation method according to claim 1, which is characterized in that described to obtain the menu data concentration The permission control indicates corresponding menu data, comprising:
Delete the not corresponding menu data of the control mark of permission described in the menu data collection.
6. web menu generation method according to any one of claims 1 to 5, which is characterized in that further include:
It obtains the control of permission described in the default routing data set and indicates corresponding routing data, and the routing data are sent out It is sent to the user terminal.
7. a kind of web menu generating means characterized by comprising
Module is obtained, for obtaining the menu request of user terminal transmission;
Determining module, for determining the corresponding permission control mark of the menu request;
Parsing module obtains menu data collection for parsing to default routing data set;Wherein, the default routing number Each routing data according to concentration include corresponding routing source information, the routing source information and permission control mark letter It ceases corresponding with menu information;
Sending module indicates corresponding menu data for obtaining the control of permission described in the menu data collection, and will be described Menu data is sent to the user terminal, so that the user terminal generates web menu according to the menu data.
8. web menu generating means according to claim 7, which is characterized in that the parsing module, comprising:
Submodule is traversed, for traversing each of the default routing data set routing data;
First transform subblock generates the menu data collection for target routing data to be converted to corresponding menu data; Wherein, the target routing data are the routing that corresponding menu state information is display state in the default routing data set Data.
9. web menu generation method according to claim 7, which is characterized in that the parsing module, comprising:
Second transform subblock, for the sub-route data in the routing data to be converted to corresponding submenu data;
Corresponding, the sending module is specifically used for obtaining the corresponding menu of the control mark of permission described in the menu data collection Data and submenu data, and it is sent to the user terminal.
10. a kind of server characterized by comprising
Memory, for storing computer program;
Processor realizes that web menu as claimed in any one of claims 1 to 6 such as generates when for executing the computer program The step of method.
CN201910735600.5A 2019-08-09 2019-08-09 A kind of web menu generation method, device and server Pending CN110502712A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910735600.5A CN110502712A (en) 2019-08-09 2019-08-09 A kind of web menu generation method, device and server

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910735600.5A CN110502712A (en) 2019-08-09 2019-08-09 A kind of web menu generation method, device and server

Publications (1)

Publication Number Publication Date
CN110502712A true CN110502712A (en) 2019-11-26

Family

ID=68586407

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910735600.5A Pending CN110502712A (en) 2019-08-09 2019-08-09 A kind of web menu generation method, device and server

Country Status (1)

Country Link
CN (1) CN110502712A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111259295A (en) * 2020-01-08 2020-06-09 广东三维家信息科技有限公司 Method and device for dynamically mounting webpage route
CN113254100A (en) * 2021-05-25 2021-08-13 四川虹魔方网络科技有限公司 Vue-based multi-level routing dynamic loading implementation method
CN113765792A (en) * 2020-10-28 2021-12-07 北京沃东天骏信息技术有限公司 Method, device and storage medium for generating navigation information
CN113835737A (en) * 2021-08-24 2021-12-24 交控科技股份有限公司 Method and system for adding authority to front-end project
CN115686683A (en) * 2022-11-21 2023-02-03 广州市保伦电子有限公司 Menu navigation dynamic generation method, device, equipment and medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106598591A (en) * 2016-12-12 2017-04-26 深圳竹信科技有限公司 Webpage dynamic menu generation method and device
CN107644039A (en) * 2016-07-21 2018-01-30 平安科技(深圳)有限公司 Web menu method of adjustment and system
CN109634698A (en) * 2018-11-12 2019-04-16 平安科技(深圳)有限公司 Menu display method, device, computer equipment and storage medium
CN109784033A (en) * 2018-12-13 2019-05-21 平安科技(深圳)有限公司 Operating right Dynamic Configuration and relevant device based on page menus

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107644039A (en) * 2016-07-21 2018-01-30 平安科技(深圳)有限公司 Web menu method of adjustment and system
CN106598591A (en) * 2016-12-12 2017-04-26 深圳竹信科技有限公司 Webpage dynamic menu generation method and device
CN109634698A (en) * 2018-11-12 2019-04-16 平安科技(深圳)有限公司 Menu display method, device, computer equipment and storage medium
CN109784033A (en) * 2018-12-13 2019-05-21 平安科技(深圳)有限公司 Operating right Dynamic Configuration and relevant device based on page menus

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111259295A (en) * 2020-01-08 2020-06-09 广东三维家信息科技有限公司 Method and device for dynamically mounting webpage route
CN113765792A (en) * 2020-10-28 2021-12-07 北京沃东天骏信息技术有限公司 Method, device and storage medium for generating navigation information
CN113254100A (en) * 2021-05-25 2021-08-13 四川虹魔方网络科技有限公司 Vue-based multi-level routing dynamic loading implementation method
CN113254100B (en) * 2021-05-25 2023-08-01 四川虹魔方网络科技有限公司 Method for realizing dynamic loading of multistage route based on Vue
CN113835737A (en) * 2021-08-24 2021-12-24 交控科技股份有限公司 Method and system for adding authority to front-end project
CN115686683A (en) * 2022-11-21 2023-02-03 广州市保伦电子有限公司 Menu navigation dynamic generation method, device, equipment and medium
CN115686683B (en) * 2022-11-21 2023-09-08 广东保伦电子股份有限公司 Menu navigation dynamic generation method, device, equipment and medium

Similar Documents

Publication Publication Date Title
CN110502712A (en) A kind of web menu generation method, device and server
CN109688120B (en) Dynamic authority management system based on improved RBAC model and Spring Security framework
CN105653508B (en) A kind of management method of document template, the method and relevant apparatus for calling document
CN104899047B (en) Web page frame dispositions method and system
CN106559251A (en) A kind of Compilation Method and corresponding interface, component and system based on YANG models
CN108153886A (en) User-defined visual methods of exhibiting of the real time data in web applications
CN107967143A (en) Obtain the methods, devices and systems of the update instruction information of client application source code
CA3152829A1 (en) Method and apparatus for processing business data
CN109670297A (en) Activating method, device, storage medium and the electronic equipment of service authority
CN109636306A (en) Node-flow shifting method, device, terminal and storage medium
CN109799985A (en) Front-end code generation method and device, storage medium and electronic equipment
CN108664385A (en) A kind of test method and device of application programming interface
CN108376214A (en) Right management method, device and vehicle-mounted background system
CN109960904A (en) Operation system management method, management server, user terminal and management system
CN105022619A (en) Code processing method and device
US10218825B2 (en) Orchestrating resources in a multilayer computing environment by sending an orchestration message between layers
CN105468769A (en) Editing method and system of electric power telecommunication geographic information
CN110909290A (en) Method and system for combining multiple systems into large single-page application
CN104378362B (en) For carrying out the method and device of message interface conversion
CN109828822A (en) Heterogeneous resource pond management method and system based on Domestic Platform and X86 platform
CN110889670A (en) Service approval system, method and device and computer readable storage medium
CN114365467B (en) Methods, apparatuses, and computer readable media for determining 3GPP FLUS reception capability
CN109688181A (en) A kind of data prospecting processing method, server, terminal and system
CN108322537A (en) Method, apparatus, equipment and the storage medium in Cloud Server node resource pond
AU2014202763A1 (en) Method and apparatus to integrate data from various network nodes

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20191126

RJ01 Rejection of invention patent application after publication