CN107992350B - Method and device for generating configuration overview page - Google Patents
Method and device for generating configuration overview page Download PDFInfo
- Publication number
- CN107992350B CN107992350B CN201711308746.9A CN201711308746A CN107992350B CN 107992350 B CN107992350 B CN 107992350B CN 201711308746 A CN201711308746 A CN 201711308746A CN 107992350 B CN107992350 B CN 107992350B
- Authority
- CN
- China
- Prior art keywords
- menu item
- menu
- newly added
- browser
- configuration overview
- 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.)
- Active
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/02—Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
- H04L67/025—Protocols based on web technology, e.g. hypertext transfer protocol [HTTP] for remote control or remote monitoring of applications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/22—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks comprising specially adapted graphical user interfaces [GUI]
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Human Computer Interaction (AREA)
- User Interface Of Digital Computer (AREA)
- Information Transfer Between Computers (AREA)
Abstract
The application provides a method for generating a configuration overview page, comprising: under the condition that a network equipment configuration overview viewing instruction of a user is received, a browser creates a Web page and sends a request for obtaining a configuration overview to network equipment; after receiving a request for acquiring a configuration overview sent by a browser, a network device queries a menu ID and a menu URL of a menu item contained in a preset page menu database; the network equipment inquires the menu ID of the menu item in a preset configuration overview database and assigns a value to the attribute of the menu item newly added to the menu item according to the inquiry result; the network equipment sends the menu item data obtained by query to the browser; and the browser analyzes the inquired menu item data and generates a configuration overview menu tree on the newly-built Web page.
Description
Technical Field
The present application relates to the field of computer internet, and in particular, to a method and an apparatus for generating a configuration overview page.
Background
With the continuous development of computer networks and the continuous improvement of network devices, network devices which only support management through a command line in the past are gradually embedded with a Web-form network agent end in the network devices so as to facilitate managers to manage the network devices, and more managers are used to manage and maintain the network devices by using the Web-form network agent end. With the increasing business requirements and application requirements, more and more menu items are contained in the Web pages in the network proxy terminal, and the menu items are more and more complex. When a network fails, an administrator who manages the network equipment through the Web page needs to check all network configurations of the network equipment in time to check whether the network equipment causes the network failure, and the checking of all the network configurations of the network equipment is time-consuming and labor-consuming due to the complexity of the Web page; when the existing configuration of the current network equipment needs to be referred to for the configuration change of the network equipment, the existing network configuration which is taken as the reference needs to be searched one by checking the Web page. Therefore, for network devices managed by using a Web page, a method for checking configuration overview on the Web page is urgently needed, and an administrator can conveniently and effectively check the existing configuration of the current network device during troubleshooting and configuration change.
Disclosure of Invention
In view of the above, the present application provides a method and an apparatus for generating a configuration overview page.
Specifically, the method is realized through the following technical scheme:
a method of generating a configuration overview page, the method comprising:
under the condition that a network equipment configuration overview viewing instruction of a user is received, a browser creates a Web page and sends a request for obtaining a configuration overview to network equipment;
after receiving a request for acquiring a configuration overview sent by a browser, a network device queries a menu ID and a menu URL of a menu item contained in a preset page menu database;
the network equipment inquires the menu ID of the menu item in a preset configuration overview database and assigns a value to the attribute of the menu item newly added to the menu item according to the inquiry result;
the network equipment sends the inquired menu item data to a browser, wherein the menu item data comprises a menu ID, a menu URL and a value assigned to the menu item attribute newly added to the menu item;
and the browser analyzes the inquired menu item data and generates a configuration overview menu tree on the newly-built Web page, wherein whether the menu item is displayed or not is judged according to the value assigned to the attribute of the menu item newly added for the menu item.
An apparatus to generate a configuration overview page, the apparatus comprising:
the browser creates a Web page when receiving a network equipment configuration overview viewing instruction of a user;
a request sending unit, configured to send, by the browser, a request for obtaining the configuration overview to the network device;
the first query unit is used for querying the menu ID and the menu URL of the menu item contained in the preset page menu database after the network equipment receives a request for acquiring the configuration overview sent by the browser;
the second query unit is used for the network equipment to query the menu ID of the menu item in a preset configuration overview database;
the attribute assignment unit is used for assigning the attribute of the menu item newly added to the menu item according to the query result;
the data sending unit is used for sending the inquired menu item data to the browser by the network equipment, wherein the menu item data comprises a menu ID, a menu URL and a value assigned to the menu item attribute newly added to the menu item;
and the generating unit is used for analyzing the inquired menu item data by the browser and generating a configuration overview menu tree on the newly-built Web page, wherein whether the menu item is displayed or not is judged according to a value assigned to a menu item attribute newly added for the menu item.
By the technical scheme, an administrator can conveniently check the current configuration of the network equipment in time and effectively when the network fault and the configuration are checked, and can quickly and effectively check the network fault and perform configuration change on the network equipment.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required in the description of the embodiments will be briefly introduced below, and it is apparent that the drawings in the following description are only some embodiments described in the present application, and other drawings can be obtained by those skilled in the art according to the drawings.
FIG. 1 is a schematic diagram of an exemplary application scenario illustrated in an exemplary embodiment of the present application;
FIG. 2 is a flowchart illustrating one implementation of a method for generating a configuration overview page according to an exemplary embodiment of the present application;
FIG. 3 is a diagram illustrating a multi-level tree menu structure according to an exemplary embodiment of the present application;
FIG. 4 is a diagram illustrating an exemplary embodiment of the present application showing a method for sending queried menu item data to a browser;
FIG. 5 is an effect diagram illustrating the generation of a configuration overview page in accordance with an exemplary embodiment of the present application;
fig. 6 is a schematic structural diagram of an apparatus for generating a configuration overview page according to an exemplary embodiment of the present application.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present application. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present application, as detailed in the appended claims.
The terminology used herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the application. As used in this application and the appended claims, the singular forms "a", "an", and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It should also be understood that the term "and/or" as used herein refers to and encompasses any and all possible combinations of one or more of the associated listed items.
It is to be understood that although the terms first, second, third, etc. may be used herein to describe various information, such information should not be limited to these terms. These terms are only used to distinguish one type of information from another. For example, first information may also be referred to as second information, and similarly, second information may also be referred to as first information, without departing from the scope of the present application. The word "if" as used herein may be interpreted as "at … …" or "when … …" or "in response to a determination", depending on the context.
First, a method for generating a configuration overview page provided in an embodiment of the present application is described, where the method may include the following steps:
under the condition that a network equipment configuration overview viewing instruction of a user is received, a browser creates a Web page and sends a request for obtaining a configuration overview to network equipment;
after receiving a request for acquiring a configuration overview sent by a browser, a network device queries a menu ID and a menu URL of a menu item contained in a preset page menu database;
the network equipment inquires the menu ID of the menu item in a preset configuration overview database and assigns a value to the attribute of the menu item newly added to the menu item according to the inquiry result;
the network equipment sends the inquired menu item data to a browser, wherein the menu item data comprises a menu ID, a menu URL and a value assigned to the menu item attribute newly added to the menu item;
and the browser analyzes the inquired menu item data and generates a configuration overview menu tree on the newly-built Web page, wherein whether the menu item is displayed or not is judged according to the value assigned to the attribute of the menu item newly added for the menu item.
In the background art, as an exemplary application scenario schematic diagram shown in fig. 1, a network agent end in a Web form is embedded in a network device, and for the network device managed by using a Web page, a method capable of viewing a configuration overview on the Web page is urgently needed, which is convenient for an administrator to quickly and effectively view existing configurations of the current network device during troubleshooting and configuration change. The present application thus provides a method of generating a configuration overview page.
Specifically, in the process of generating the configuration overview page, under the condition that a network equipment configuration overview viewing instruction of a user is received, a browser creates a Web page and sends a request for acquiring a configuration overview to the network equipment; after receiving a request for acquiring a configuration overview sent by a browser, a network device queries a menu ID and a menu URL of a menu item contained in a preset page menu database, wherein the preset page menu database is a database for storing all information of a current device page menu on the network device and contains the menu ID, the menu URL and the like; the method comprises the steps that a network device inquires a menu ID of a menu item in a preset configuration overview database, assigns a value to a menu item attribute newly added to the menu item under the condition that the menu ID of the menu item is inquired in the preset configuration overview database, the assigned value is used for displaying the menu item, assigns a value to the menu item attribute newly added to the menu item under the condition that the menu ID of the menu item is not inquired in the preset configuration overview database, and the assigned value is used for hiding the menu item; the network equipment sends the menu item data obtained by query to a browser, wherein the menu item data comprises but is not limited to a menu ID, a menu URL and a value assigned to the menu item attribute newly added for the menu item; after receiving the menu item data, the browser analyzes the inquired menu item data and generates a configuration overview menu tree on the newly-built Web page, wherein whether the menu item is displayed or not is judged according to a value assigned to a menu item attribute newly added for the menu item, and the menu tree is a page layout which distributes all pages according to a tree structure according to conditions such as services, modules, functions and the like; and under the condition that the value assigned to the menu item attribute newly added for the menu item is used for displaying the menu item, displaying the menu item in a configuration overview menu tree generated on the newly-built Web page, and under the condition that the value assigned to the menu item attribute newly added for the menu item is used for hiding the menu item, hiding the menu item in the configuration overview menu tree generated on the newly-built Web page. For further explanation of the present application, the following examples are provided to illustrate the present application:
as shown in fig. 2, an implementation flowchart of the method for generating a configuration overview page according to the present application may specifically include the following steps:
s101, under the condition that a network equipment configuration overview viewing instruction of a user is received, a browser creates a Web page and sends a request for obtaining a configuration overview to network equipment;
in one embodiment, when a user needs to view the configuration overview of the network device, the user clicks on the configuration overview page, and the browser automatically opens a new Web page and sends a request for obtaining the configuration overview to the network device. For example, when a browser is used to browse a webpage, when a certain webpage link is clicked, the browser automatically opens a new Web page, and then the browser sends a request for acquiring current page information to a server, wherein the principle of the application and the principle of the browsing webpage can be regarded as basically similar, and when a network device configuration overview viewing instruction of a user is received, meaning that the user clicks a configuration overview page, the browser automatically opens a new Web page, and sends a request for acquiring a configuration overview to the network device, wherein the Web page is used for generating the configuration overview page.
S102, after receiving a request for acquiring a configuration overview sent by a browser, a network device queries a menu ID and a menu URL of a menu item contained in a preset page menu database;
in an embodiment, after receiving a request for obtaining a configuration overview sent by a browser, a network device queries a preset page menu database for a menu ID and a menu URL of a menu item included in the network device, where the page menu database is a database on the network device that stores all information of a current device page menu, such as the menu ID and the menu URL. The menu ID is a main key which is stored in a network equipment page menu database and identifies each page menu item, the menu ID of each menu item is uniquely existed in the database, and the network equipment can inquire all information of the menu item in the database through the menu ID. For example, as shown in fig. 3, the multi-level tree menu further includes an administrator menu item, a configuration scope management menu item, and a WEB access protocol configuration menu item under the administrator page, wherein the administrator menu item has its unique menu ID, for example, 18 in the page menu database, and the configuration scope management menu item has its unique menu ID, for example, 19 in the page menu database. The menu URL refers to a link to jump between two pages, for example, from an administrator page to a configuration scope management page.
The preset page menu database contains all menu items of the current multilevel tree menu and the organization structure thereof, for example, a subset menu, a system management submenu, an RMON configuration submenu and the like are also arranged under the basic menu. After receiving a request for obtaining a configuration overview sent by a browser, a preset page menu database is queried for menu IDs of menu items contained therein, such as the menu ID18 of the administrator menu item and the menu URL described above, and in addition, an organization structure of a multi-level tree menu needs to be queried.
S103, the network equipment inquires the menu ID of the menu item in a preset configuration overview database and assigns a value to the attribute of the menu item newly added to the menu item according to the inquiry result;
in an embodiment, a network device queries a preset configuration overview database for a menu ID of a menu item, assigns a value to a menu item attribute newly added to the menu item when the menu ID of the menu item is queried in the preset configuration overview database, where the assigned value is used to display the menu item, and assigns a value to the menu item newly added to the menu item when the menu ID of the menu item is not queried in the preset configuration overview database, where the assigned value is used to hide the menu item. For example, when the network device queries the menu ID18 of the administrator menu item in a preset configuration overview database, a new attribute of the menu item is assigned, where the new attribute of the menu item may be temporarily named as an IsDisplay attribute, where the menu ID and the menu URL also belong to the menu item attribute, the attribute of the IsDisplay is assigned to 1, and the assigned value of 1 is used to display the administrator menu item; and under the condition that the network equipment cannot inquire the menu ID18 of the administrator menu item in a preset configuration overview database, assigning the IsDisplay attribute to be 0, wherein the assigned value of 0 is used for hiding the administrator menu item.
The configuration overview database comprises menu IDs of menu items, wherein when a user performs configuration change on the network equipment, the menu ID of the menu item in the current page with the configuration change is stored in the configuration overview database, and the aim is to generate a more concise multilevel tree-shaped menu by using the menu item in the page with the configuration change, and the menu item in the page without the configuration change is not displayed on the multilevel tree-shaped menu.
S104, the network equipment sends the inquired menu item data to a browser, wherein the menu item data comprises a menu ID, a menu URL and a value assigned to the menu item attribute newly added to the menu item;
in one embodiment, as shown in fig. 4, a plurality of databases are included in the network device, and each database has unique data stored therein, and it is assumed that there are database 1, database 2, and database 3 … …, where database 1 is a page menu database, database 2 is a configuration overview database, and database 3 includes menu item specific information, such as information corresponding to an administrator user name in an administrator menu item, time information corresponding to an administrator login time, time information corresponding to an administrator last access time, and the like. The network device sends the menu item data obtained by query to the browser, where the menu item data includes, but is not limited to, a menu ID, a menu URL, and a value assigned to a menu item attribute (IsDisplay attribute) added for the menu item, and may further include information corresponding to the administrator user name as described above. For example, the network device queries the menu ID18 and the menu URL from the database 1, queries whether the menu ID18 exists in the database 2 to assign an isplay attribute, where the isplay attribute may be assigned 1 or 0, although the assignment described herein is merely an exemplary way of explanation, and may be assigned other values as long as it can be distinguished, and can distinguish whether the menu ID18 exists in the database 2, queries the user name in the database 3 as "admin", and combines the above information and sends the combined information to the browser.
And S105, the browser analyzes the inquired menu item data and generates a configuration overview menu tree on the newly-built Web page, wherein whether the menu item is displayed or not is judged according to the value assigned to the menu item attribute newly added for the menu item.
In an embodiment, the browser parses the queried menu item data, and generates a configuration overview menu tree on the newly created Web page, where whether the menu item is displayed is determined according to a value assigned to a menu item IsDisplay attribute. And under the condition that the attribute assignment of the menu item IsDisplay is 1, displaying the menu item in a configuration overview menu tree generated on the newly-built Web page, and under the condition that the attribute assignment of the menu item IsDisplay is 0, hiding the menu item in the configuration overview menu tree generated on the newly-built Web page. For example, the browser analyzes the queried menu item data, and generates a configuration overview menu tree on the newly-built Web page, where an administrator menu item IsDisplay attribute is assigned to 1, the administrator menu item is displayed in the configuration overview menu tree, a networking configuration menu item IsDisplay attribute is assigned to 1, a networking configuration menu item is displayed in the configuration overview menu tree, a static routing menu item is assigned to 0, the static routing menu item is hidden in the configuration overview menu tree, and a configuration overview page generated at last is as shown in fig. 5.
In another embodiment of the present application, the method may further comprise the steps of:
s106, when a user configures and submits relevant parameters to the network equipment through a browser, the browser assigns the menu ID of the current Web page menu item to a newly added page configuration issuing parameter and issues the newly added page configuration issuing parameter to the network equipment;
in an embodiment, when a user clicks a submit button after configuring relevant parameters on a Web page, a browser automatically assigns a menu ID of a current Web page menu item to a newly added page configuration issuing parameter, and issues a request for updating a configuration overview database to the network device, where the request carries the newly added page configuration issuing parameter. Adding a new parameter in the public flow issued by the page configuration, temporarily using the Pageid to represent the newly added parameter, automatically assigning the menu ID of the current Web page menu item to the Pageid by the browser, for example, assigning the menu ID18 of the administrator menu item to the Pageid, and issuing a request for updating the configuration overview database to the network device, where the request carries the Pageid.
And S107, the network equipment analyzes the newly added page configuration issuing parameters and updates the analysis result to the preset configuration overview database.
In an embodiment, after receiving a request for updating a configuration overview database sent by a browser, a network device analyzes the newly added page configuration issuing parameter carried in the request, and updates the menu ID of the menu item obtained by analysis to the preset configuration overview database. For example, after receiving a request for updating the configuration overview database sent by a browser, the network device parses the Pageid and obtains the value 18 given by the Pageid, and updates the menu ID18 of the obtained administrator menu item to the preset configuration overview database.
Through the steps, after a user clicks a configuration overview page button, the newly generated configuration overview menu tree only contains the menu items in the configuration change page, and the menu items in the configuration change page are not displayed on the configuration overview menu tree, so that the menu items of the configuration overview menu tree are greatly reduced, and an administrator can more quickly and effectively check the existing configuration of the current equipment.
Those of ordinary skill in the art will understand that: all or part of the steps for realizing the method embodiments can be completed by hardware related to program instructions, the program can be stored in a computer readable storage medium, and the program executes the steps comprising the method embodiments when executed; and the aforementioned storage medium includes: various media that can store program codes, such as ROM, RAM, magnetic or optical disks.
Corresponding to the foregoing embodiment of the method for generating the configuration overview page, the present application also provides an embodiment of an apparatus for generating the configuration overview page, as shown in fig. 6, including a page establishing unit 210, a request sending unit 220, a first querying unit 230, a second querying unit 240, an attribute assigning unit 250, a data sending unit 260, and a generating unit 270.
The page establishing unit 210 is configured to, upon receiving a network device configuration overview viewing instruction of a user, create a new Web page by a browser;
the request sending unit 220 is configured to send, by the browser, a request for obtaining the configuration overview to the network device;
the first query unit 230 is configured to, after receiving a request for obtaining a configuration overview sent by a browser, query, in a preset page menu database, a menu ID and a menu URL of a menu item included in the request by a network device;
the second query unit 240 is configured to query, by the network device, the menu ID of the menu item in a preset configuration overview database;
the attribute assignment unit 250 is configured to assign an attribute to the newly added menu item according to the query result;
the data sending unit 260 is configured to send, by the network device, the queried menu item data to the browser, where the menu item data includes a menu ID, a menu URL, and a value assigned to a menu item attribute newly added to the menu item;
the generating unit 270 is configured to analyze the queried menu item data by the browser, and generate a configuration overview menu tree on the newly created Web page, where whether the menu item is displayed is determined according to a value assigned to a menu item attribute newly added to the menu item.
In a specific embodiment of the present application, the attribute assigning unit 250 is specifically configured to:
assigning a value to the attribute of the menu item newly added to the menu item under the condition that the menu ID of the menu item is inquired in the preset configuration overview database, wherein the assigned value is used for displaying the menu item;
and under the condition that the menu ID of the menu item cannot be inquired in the preset configuration overview database, assigning a value to the attribute of the menu item newly added to the menu item, wherein the assigned value is used for hiding the menu item.
In one embodiment of the present application, the apparatus further comprises: menu item display unit 280, menu item hiding unit 290
The menu item display unit 280 is configured to display the menu item in a configuration overview menu tree generated on the newly created Web page, when a value assigned to a menu item attribute newly added to the menu item is used for displaying the menu item;
the menu item hiding unit 290 is configured to hide the menu item in a configuration overview menu tree generated on the newly created Web page, when a value assigned to a menu item attribute newly added to the menu item is used to hide the menu item.
In one embodiment of the present application, the apparatus further comprises: database updating unit 300
The database updating unit 300 is configured to, when the user configures and submits the relevant parameters to the network device through the browser, assign the menu ID of the current Web page menu item to a newly added page configuration issuing parameter by the browser, issue the newly added page configuration issuing parameter to the network device, and the network device parses the newly added page configuration issuing parameter and updates the parsing result to the preset configuration overview database.
In an embodiment of the present application, the database updating unit 300 is specifically configured to:
when a user configures and submits relevant parameters for the network equipment through a browser, the browser assigns a menu ID of a current Web page menu item to a newly added page configuration issuing parameter and issues a request for updating a configuration overview database to the network equipment, wherein the request carries the newly added page configuration issuing parameter, and after receiving the request for updating the configuration overview database sent by the browser, the network equipment analyzes the newly added page configuration issuing parameter carried in the request and updates the menu ID of the menu item obtained by analysis to the preset configuration overview database.
The implementation process of the functions of each unit in the system is specifically described in the implementation process of the corresponding step in the method, and is not described herein again.
For the system embodiment, since it basically corresponds to the method embodiment, reference may be made to the partial description of the method embodiment for relevant points. The above-described system embodiments are merely illustrative, and the units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the modules can be selected according to actual needs to achieve the purpose of the scheme of the application. One of ordinary skill in the art can understand and implement it without inventive effort.
The invention may be described in the general context of computer-executable instructions, such as program modules, being executed by a computer. Generally, program modules include routines, programs, objects, components, data structures, etc. that perform particular tasks or implement particular abstract data types. The invention may also be practiced in distributed computing environments where tasks are performed by remote processing devices that are linked through a communications network. In a distributed computing environment, program modules may be located in both local and remote computer storage media including memory storage devices.
The foregoing is directed to embodiments of the present invention, and it is understood that various modifications and improvements can be made by those skilled in the art without departing from the spirit of the invention.
Claims (10)
1. A method of generating a configuration overview page, the method comprising:
under the condition that a network equipment configuration overview viewing instruction of a user is received, a browser creates a Web page and sends a request for obtaining a configuration overview to network equipment;
after receiving a request for acquiring a configuration overview sent by a browser, a network device queries a menu ID and a menu URL of a menu item contained in a preset page menu database;
the network equipment inquires the menu ID of the menu item in a preset configuration overview database and assigns a value to the attribute of the menu item newly added to the menu item according to the inquiry result;
the network equipment sends the inquired menu item data to a browser, wherein the menu item data comprises a menu ID, a menu URL and a value assigned to the menu item attribute newly added to the menu item;
and the browser analyzes the inquired menu item data and generates a configuration overview menu tree on the newly-built Web page, wherein whether the menu item is displayed or not is judged according to the value assigned to the attribute of the menu item newly added for the menu item.
2. The method of claim 1, wherein the network device queries a preset configuration overview database for the menu ID of the menu item and assigns a new attribute of the menu item to the menu item according to the query result, comprising:
the network equipment inquires the menu ID of the menu item in a preset configuration overview database;
assigning a value to the attribute of the menu item newly added to the menu item under the condition that the menu ID of the menu item is inquired in the preset configuration overview database, wherein the assigned value is used for displaying the menu item;
and under the condition that the menu ID of the menu item cannot be inquired in the preset configuration overview database, assigning a value to the attribute of the menu item newly added to the menu item, wherein the assigned value is used for hiding the menu item.
3. The method of claim 2, further comprising:
displaying the menu item in a configuration overview menu tree generated on the newly-built Web page under the condition that the value given by the menu item attribute newly added for the menu item is used for displaying the menu item;
and hiding the menu item in a configuration overview menu tree generated on the newly-built Web page under the condition that the value given by the menu item attribute newly added for the menu item is used for hiding the menu item.
4. The method according to any one of claims 1 to 3, further comprising:
when a user configures and submits related parameters to the network equipment through a browser, the browser assigns a menu ID of a current Web page menu item to a newly added page configuration issuing parameter and issues the newly added page configuration issuing parameter to the network equipment;
and the network equipment analyzes the newly added page configuration issuing parameters and updates the analysis result to the preset configuration overview database.
5. The method of claim 4, wherein when the user configures and submits the relevant parameters to the network device through the browser, the browser assigns the menu ID of the current Web page menu item to the newly added page configuration issuing parameter, and issues the newly added page configuration issuing parameter to the network device; the network device analyzes the newly added page configuration issuing parameters and updates the analysis result to the preset configuration overview database, and the method comprises the following steps:
when a user configures and submits related parameters to the network equipment through a browser, the browser assigns a menu ID of a current Web page menu item to a newly added page configuration issuing parameter and issues a request for updating a configuration overview database to the network equipment, wherein the request carries the newly added page configuration issuing parameter;
after receiving a request for updating the configuration overview database sent by a browser, the network equipment analyzes the newly added page configuration issuing parameters carried in the request, and updates the menu ID of the menu item obtained by analysis to the preset configuration overview database.
6. An apparatus to generate a configuration overview page, the apparatus comprising:
the browser creates a Web page when receiving a network equipment configuration overview viewing instruction of a user;
a request sending unit, configured to send, by the browser, a request for obtaining the configuration overview to the network device;
the first query unit is used for querying the menu ID and the menu URL of the menu item contained in the preset page menu database after the network equipment receives a request for acquiring the configuration overview sent by the browser;
the second query unit is used for the network equipment to query the menu ID of the menu item in a preset configuration overview database;
the attribute assignment unit is used for assigning the attribute of the menu item newly added to the menu item according to the query result;
the data sending unit is used for sending the inquired menu item data to the browser by the network equipment, wherein the menu item data comprises a menu ID, a menu URL and a value assigned to the menu item attribute newly added to the menu item;
and the generating unit is used for analyzing the inquired menu item data by the browser and generating a configuration overview menu tree on the newly-built Web page, wherein whether the menu item is displayed or not is judged according to a value assigned to a menu item attribute newly added for the menu item.
7. The apparatus according to claim 6, wherein the attribute assigning unit is specifically configured to:
assigning a value to the attribute of the menu item newly added to the menu item under the condition that the menu ID of the menu item is inquired in the preset configuration overview database, wherein the assigned value is used for displaying the menu item;
and under the condition that the menu ID of the menu item cannot be inquired in the preset configuration overview database, assigning a value to the attribute of the menu item newly added to the menu item, wherein the assigned value is used for hiding the menu item.
8. The apparatus of claim 7, further comprising: menu item display unit and menu item hiding unit
The menu item display unit is used for displaying the menu item in a configuration overview menu tree generated on the newly-built Web page under the condition that the value assigned to the menu item attribute newly added for the menu item is used for displaying the menu item;
and the menu item hiding unit is used for hiding the menu item in a configuration overview menu tree generated on the newly-built Web page under the condition that the value given by the menu item attribute newly added for the menu item is used for hiding the menu item.
9. The apparatus of any one of claims 6 to 8, further comprising: database updating unit
And the database updating unit is used for assigning the menu ID of the current Web page menu item to a newly added page configuration issuing parameter by the browser when the user configures and submits the relevant parameter to the network equipment through the browser, issuing the newly added page configuration issuing parameter to the network equipment, analyzing the newly added page configuration issuing parameter by the network equipment, and updating the analysis result to the preset configuration overview database.
10. The apparatus according to claim 9, wherein the database updating unit is specifically configured to:
when a user configures and submits relevant parameters for the network equipment through a browser, the browser assigns a menu ID of a current Web page menu item to a newly added page configuration issuing parameter and issues a request for updating a configuration overview database to the network equipment, wherein the request carries the newly added page configuration issuing parameter, and after receiving the request for updating the configuration overview database sent by the browser, the network equipment analyzes the newly added page configuration issuing parameter carried in the request and updates the menu ID of the menu item obtained by analysis to the preset configuration overview database.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711308746.9A CN107992350B (en) | 2017-12-11 | 2017-12-11 | Method and device for generating configuration overview page |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711308746.9A CN107992350B (en) | 2017-12-11 | 2017-12-11 | Method and device for generating configuration overview page |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107992350A CN107992350A (en) | 2018-05-04 |
CN107992350B true CN107992350B (en) | 2021-01-26 |
Family
ID=62035771
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201711308746.9A Active CN107992350B (en) | 2017-12-11 | 2017-12-11 | Method and device for generating configuration overview page |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107992350B (en) |
Families Citing this family (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109165053B (en) * | 2018-08-15 | 2022-04-01 | 康美健康云服务有限公司 | Application software menu configuration method, mobile terminal and computer readable storage medium |
CN109861847B (en) * | 2018-12-25 | 2022-07-29 | 杭州迪普科技股份有限公司 | Configuration overview output method and device |
CN109739576B (en) * | 2018-12-29 | 2022-03-25 | 杭州迪普科技股份有限公司 | Configuration overview command execution method and device, computer equipment and storage medium thereof |
CN110909324B (en) * | 2019-11-19 | 2022-03-01 | 杭州迪普科技股份有限公司 | Control method and device for web permission |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101572727A (en) * | 2009-06-11 | 2009-11-04 | 杭州华三通信技术有限公司 | Method for controlling Web page menu and device thereof |
CN102004607A (en) * | 2010-11-16 | 2011-04-06 | 中兴通讯股份有限公司 | Menu display method and system |
CN103838576A (en) * | 2014-02-25 | 2014-06-04 | 杨红俊 | Website establishing method and device |
CN106598591A (en) * | 2016-12-12 | 2017-04-26 | 深圳竹信科技有限公司 | Webpage dynamic menu generation method and device |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6477576B2 (en) * | 1999-06-17 | 2002-11-05 | International Business Machines Corporation | Methods, systems and computer program products for the automated discovery of a services menu |
-
2017
- 2017-12-11 CN CN201711308746.9A patent/CN107992350B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101572727A (en) * | 2009-06-11 | 2009-11-04 | 杭州华三通信技术有限公司 | Method for controlling Web page menu and device thereof |
CN102004607A (en) * | 2010-11-16 | 2011-04-06 | 中兴通讯股份有限公司 | Menu display method and system |
CN103838576A (en) * | 2014-02-25 | 2014-06-04 | 杨红俊 | Website establishing method and device |
CN106598591A (en) * | 2016-12-12 | 2017-04-26 | 深圳竹信科技有限公司 | Webpage dynamic menu generation method and device |
Also Published As
Publication number | Publication date |
---|---|
CN107992350A (en) | 2018-05-04 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11792291B1 (en) | Proxying hypertext transfer protocol (HTTP) requests for microservices | |
US11924021B1 (en) | Actionable event responder architecture | |
CN107992350B (en) | Method and device for generating configuration overview page | |
US10868711B2 (en) | Actionable alert messaging network for automated incident resolution | |
US10048830B2 (en) | System and method for integrating microservices | |
US11012305B2 (en) | Systems and methods for service mapping | |
US8930964B2 (en) | Automatic event correlation in computing environments | |
US20190095929A1 (en) | Unification of web page reporting and updating through a page tag | |
US20130167199A1 (en) | On-Demand Authorization Management | |
WO2014179819A2 (en) | Software design pattern for adapting a graph database visualization software | |
US11068127B2 (en) | Springboard interface for quick task transitions | |
US10972564B2 (en) | System and method for automating actions in distributed computing | |
US11381488B2 (en) | Centralized, scalable, resource monitoring system | |
CN110059105A (en) | A kind of data processing method, device, computer equipment and storage medium | |
CN106611000A (en) | Method, device and system for searching resource object | |
CN107491463B (en) | Optimization method and system for data query | |
CN113031951B (en) | Menu generation method, menu generation device, computer equipment and storage medium | |
US20230048310A1 (en) | System and method for identifying members of a dynamic target segment | |
CN105516390A (en) | Method and device for managing domain name | |
US8996671B1 (en) | Method of providing service-provider-specific support link data to a client in a storage context | |
US20050204290A1 (en) | System and method for generating distributed application and distributed system topologies with management information in a networked environment | |
CN106375132B (en) | Cloud server system and management method thereof | |
US10969931B2 (en) | Data mapping service | |
CN109669846A (en) | Management information querying method, device and computer-readable medium | |
US20130055090A1 (en) | Bundling configuration items into a composite configuration item |
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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |