CN110311819B - Page automatic generation and MIBs table generation method based on page configuration file, management method, equipment side and management system - Google Patents

Page automatic generation and MIBs table generation method based on page configuration file, management method, equipment side and management system Download PDF

Info

Publication number
CN110311819B
CN110311819B CN201910596142.1A CN201910596142A CN110311819B CN 110311819 B CN110311819 B CN 110311819B CN 201910596142 A CN201910596142 A CN 201910596142A CN 110311819 B CN110311819 B CN 110311819B
Authority
CN
China
Prior art keywords
page
mibs
language
module
analysis data
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
Application number
CN201910596142.1A
Other languages
Chinese (zh)
Other versions
CN110311819A (en
Inventor
廖志峰
黄章良
陈小军
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangzhou Lubangtong IoT Co Ltd
Original Assignee
Guangzhou Lubangtong IoT 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 Guangzhou Lubangtong IoT Co Ltd filed Critical Guangzhou Lubangtong IoT Co Ltd
Priority to CN201910596142.1A priority Critical patent/CN110311819B/en
Publication of CN110311819A publication Critical patent/CN110311819A/en
Application granted granted Critical
Publication of CN110311819B publication Critical patent/CN110311819B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/22Indexing; Data structures therefor; Storage structures
    • G06F16/2228Indexing structures
    • G06F16/2246Trees, e.g. B+trees
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/70Software maintenance or management
    • G06F8/71Version control; Configuration management
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/02Standardisation; Integration
    • H04L41/0213Standardised network management protocols, e.g. simple network management protocol [SNMP]

Abstract

The invention belongs to the technical field of communication, and discloses a method for automatically generating pages and generating MIBs (micro-programmed blocks) tables based on page configuration files, which comprises the following steps: step 1: analyzing the page configuration file to obtain analysis data; the analysis data contains the name, description information, configuration parameters and index number of each element in the display page; step 2: generating a display page according to the analysis data; and step 3: and generating an MIBs table according to the names, the description information and the index numbers of the elements in the analysis data. The method is implemented based on the automatic page generation and MIBs table generation method of the page configuration file, when an operator conducts remote parameter configuration management, the MIBs table does not need to be independently formulated, simple and reliable parameter configuration management can be achieved through the function of automatically generating the MIBs table at the equipment end, and the parameter management difficulty of each element is effectively reduced. Meanwhile, the invention also discloses an equipment end, a management method and a management system.

Description

Page automatic generation and MIBs table generation method based on page configuration file, management method, equipment side and management system
Technical Field
The invention relates to the technical field of communication, in particular to a method, a management method, a device side and a management system for automatically generating pages and generating MIBs (micro-meters) based on page configuration files.
Background
The existing routers are provided with built-in webpage servers for parameter configuration and management, and users access a configuration management page of the router through a browser to perform parameter configuration on the router, so that multi-language support and recovery parameter support are factory default parameter configuration. So as a management system on the router, five functions need to be provided: 1. the visual page is used for the user to log in and access; 2. allowing a user to perform parameter configuration through a visual page to generate user parameters; 3. allowing a user to restore the page configuration to a factory default configuration; 4. the support of multiple languages makes the user interface more friendly; 5. and remote management of the equipment is supported.
The visualized page comprises a plurality of sub-pages with different functions, and most of current manufacturers respectively realize static pages aiming at different sub-pages, so that the existing page needs to be copied when the sub-page is added every time, and then a new page is formed after the sub-page is subjected to customized change. This approach is prone to a number of problems: 1. the page is realized by different people, and the styles are not uniform; 2. the pages are realized by different persons, and the technical level difference of different persons causes different page performances or has various different problems. 3. Redundant duplicate code exists between multiple pages and maintenance is quite difficult.
When managing the page configuration parameters of the network equipment, the network equipment supports the remote management by using the SNMP protocol, and can carry out remote configuration and state acquisition on each parameter on the equipment.
Therefore, the technical problem to be solved by the present application is how to reduce the difficulty of generating MIBs tables and the difficulty of managing each element when performing remote management based on the SNMP protocol.
Disclosure of Invention
The invention aims to provide a method for automatically generating pages and generating MIBs (micro-objects) tables based on page configuration files, which has the advantages that: and simultaneously drawing pages and generating the MIBs according to the page configuration file, thereby effectively reducing the generation difficulty of the MIBs.
Meanwhile, the invention also discloses a management method of remote page parameters based on the SNMP, which is implemented based on the automatic page generation and MIBs table generation methods of the page configuration file, when an operator carries out remote parameter configuration management, the operator does not need to independently establish the MIBs table, and the simple and reliable parameter configuration management can be realized through the function of automatically generating the MIBs table at the equipment end, thereby effectively reducing the parameter management difficulty of each element.
Meanwhile, the invention also discloses a device end suitable for the automatic page generation and MIBs table generation method based on the page configuration file and a management system suitable for the management method of the remote page parameters based on the SNMP protocol.
The specific technical scheme of the invention is as follows: a page automatic generation and MIBs table generation method based on a page configuration file comprises the following steps:
step 1: analyzing the page configuration file to obtain analysis data; the analysis data contains the name, description information, configuration parameters and index number of each element in the display page;
step 2: generating a display page according to the analysis data;
and step 3: and generating an MIBs table according to the names and the index numbers of the elements in the analysis data.
In the above method for automatically generating pages and generating MIBs tables based on the page configuration file, the hierarchical structure of each element in the page configuration file is the same as the hierarchical structure of each element in the MIBs tables;
and the MIBs table records the names and index numbers of all the elements according to a tree menu style.
In the above method for automatically generating pages and generating MIBs table based on the page configuration file, a language package is further included; the language packs are multiple, and each language pack corresponds to a national language character;
the language package comprises the names of all elements and corresponding language characters, and the names and the language characters of the elements are stored in the language package in a key value pair mode; wherein, the name of the element is the key name of the key-value pair, and the corresponding language character is the value of the key-value pair;
in step 2, the method further comprises: and selecting a corresponding language packet according to the selection of the user and displaying the name of each element in the display page by using the corresponding language characters.
Meanwhile, the invention also discloses a management method of remote page parameters based on the SNMP protocol, which relates to a server side and a device side and comprises the following steps:
step 1: the equipment terminal generates an MIBs table according to the method;
step 2: introducing an MIBs table generated by an equipment end into a server end, and displaying the MIBs table in a tree-shaped menu in SNMP management software;
and step 3: if the user sets the configuration parameters of any element in the MIBs table of the server side, the server side issues a generated modification request to the equipment side; the modification request comprises the index number of the element and the configuration parameters set by the user;
and 4, step 4: and the equipment terminal regenerates the display page according to the modification request and the analysis data.
Preferably, the step 2 specifically comprises:
and introducing an MIBs table automatically generated by the equipment end into SNMP management software at the server end, and generating a tree-shaped menu style containing each element in the SNMP management software.
The tree menu style records the name and index number of each element according to the hierarchical structure of each element.
Meanwhile, the invention also discloses an equipment end, which comprises the following modules:
the page configuration file analysis module: the system is used for analyzing the page configuration file to obtain analysis data and storing and updating the analysis data; the analysis data contains the name, description information, configuration parameters and index number of each element in the display page;
a page drawing module: the display page is generated according to the analysis data;
an MIBs table generation module: the MIBs table is generated according to the names and the index numbers of the elements in the analysis data; the MIBs table records names and index numbers of the elements.
In the above device, the following modules are further included:
a language pack module: the system is used for storing and analyzing a plurality of language packs, and each language pack corresponds to a national language character;
the language package comprises the names of all elements and corresponding language characters, and the names and the language characters of the elements are stored in the language package in a key value pair mode; wherein, the name of the element is the key name of the key-value pair, and the corresponding language character is the value of the key-value pair;
the language package module is also used for sending the corresponding analyzed language package to the page drawing module according to the selection of the user, and the page drawing module displays the name of each element in the corresponding language character according to the analyzed language package.
In the above device, the following modules are further included:
a first communication module: the server side is used for communicating with the server side;
a display module: and the display module is used for displaying the display page drawn by the page drawing module.
Finally, the invention also provides a management system of remote page parameters based on the SNMP protocol, which comprises an equipment end and a server end, wherein the equipment end is as described above;
the server side comprises the following modules:
a second communication module: the device end is used for communicating with the equipment end;
SNMP management module: SNMP management software is arranged in the SNMP management module, and a tree-shaped menu pattern containing each element is generated by introducing an MIBs table sent by a device end through the SNMP management software; the tree menu style records the name and index number of each element according to the hierarchical structure of each element;
when a user reads or modifies the configuration parameters of any element in the tree menu style through the SNMP management module, the SNMP management module is used for generating a modification request and sending the modification request to the page configuration file analysis module of the equipment end, wherein the modification request comprises the index number of the element and the configuration parameters set by the user;
and the page drawing module is used for regenerating a display page according to the modification request and the analysis data.
Compared with the prior art, the invention has the beneficial effects that:
the method for automatically generating the pages and generating the MIBs table based on the page configuration file has the advantages that: and simultaneously drawing pages and generating the MIBs according to the page configuration file, thereby effectively reducing the generation difficulty of the MIBs.
Preferably, the hierarchical structure of each element in the page configuration file is the same as that of each element in the MIBs table, so that the labor intensity of operators is reduced.
The method adopts a plurality of language packages, names and language characters of each element are recorded in the language packages in a key value pair mode, a plurality of languages can be adapted to a display page through analysis of the language packages, codes of a plurality of language versions do not need to be developed, and code complexity is reduced.
Meanwhile, the invention also discloses a management method of remote page parameters based on the SNMP, which is implemented based on the automatic page generation and MIBs table generation methods of the page configuration file, when an operator carries out remote parameter configuration management, the operator does not need to independently establish the MIBs table, and the simple and reliable parameter configuration management can be realized through the function of automatically generating the MIBs table at the equipment end, thereby effectively reducing the parameter management difficulty of each element.
Meanwhile, the invention also discloses a device end suitable for the automatic page generation and MIBs table generation method based on the page configuration file and a management system suitable for the management method of the remote page parameters based on the SNMP protocol.
Drawings
FIG. 1 is a block flow diagram of example 1 of the present invention;
FIG. 2 is a block flow diagram of embodiment 2 of the present invention;
FIG. 3 is a block diagram showing the structure of embodiment 3 of the present invention;
FIG. 4 is a block diagram showing the structure of embodiment 4 of the present invention;
fig. 5 is a screenshot of a display page according to embodiment 1 of the present invention.
Detailed Description
The technical solution of the present invention will be described in further detail with reference to the following embodiments, but the present invention is not limited thereto.
Example 1
Referring to fig. 1, a method for automatic generation of pages and generation of MIBs table based on a page configuration file is implemented at a device side and includes the following steps
Step 1: analyzing the page configuration file to obtain analysis data; the analysis data contains the name, description information, configuration parameters and index number of each element in the display page;
the parsed page configuration file may be obtained from a remote server, a local server, or pre-stored in the device side.
The device side of this embodiment includes but is not limited to: router, industrial router.
The page configuration file comprises but is not limited to names, description information, configuration parameters and index numbers of elements in the display page;
correspondingly, the analysis data obtained through analysis also contains the name, description information, configuration parameters and index number of each element in the display page;
specifically, the analysis data is a simplified configuration file only containing a complete page frame;
the parsed data may be represented by a partial code in the parsed data as follows:
<usb desc="USB"group="Interface"group_weight="10"menu="USB"menu_weight="50"
the line indicates that a menu named "USB" is added below the menu group called "Interface", where the line indicates "USB" and the menu is added
The row indicates that a sub-page with the name of 'USB' is added, the first attribute in the sub-page is named as 'Enable USB', the attribute is a switch with the type of bool, and the default value is true
The second attribute in the subpage, named "Enable Automatic update", is "cool" type "default", is "cool" desc ", oid", 2"/>// subpage, named" Enable Automatic update ", and the attribute is a switch of cool type, and the default value is" cool "
</usb>
The code is divided into 5 lines in total;
the method comprises the following steps of describing the first row and the second row by element USB, wherein the element USB is named as USB, and the description information is page visible content; index number oid is "30";
the third row is the relevant description of the element USB _ Enable, specifically, the name of the element USB _ Enable is "USB _ Enable", the description information is "Enable USB", and the default configuration parameter is "true"; index number oid of "30.1"
The fourth row is a related description of the element usb _ auto _ update, specifically, the element usb _ auto _ update is named "usb _ auto _ update", the description information is "Enable Automatic update", the default configuration parameter is "false"; the index oid is "30.2".
The fifth element is the finish.
Not all elements have configuration parameters, whether in the page configuration file or in the parsed data. For example, the element usb belongs to a page frame part, and has no relevant configuration parameters to modify; the element usb _ enable and the element usb _ auto _ update belong to a page element, which has a configuration parameter; the element usb corresponds to a container of the element usb _ enable and the element usb _ auto _ update.
Each element is displayed on the display interface, but only page elements such as the element usb _ enable and the element usb _ auto _ update have configuration parameters.
A plurality of language packs are stored in the equipment end of the embodiment, and each language pack corresponds to a national language character; the language package comprises the names of all elements and corresponding language characters, and the names and the language characters of the elements are stored in the language package in a key value pair mode; wherein, the name of the element is the key name of the key-value pair, and the corresponding language character is the value of the key-value pair; if the key name "USB _ auto _ update" corresponds to a value of "enable USB auto-upgrade"
Step 2: generating a display page according to the analysis data;
the parameters of each element are described in detail in the analysis file. Meanwhile, a control style for generating a display interface is predefined in a system of the equipment end;
when a user needs to access a certain page, the page comprises a plurality of elements, and at the moment, a js file is generated according to parameters of all elements in the page recorded in an analysis file, and the js file automatically renders the corresponding page according to a control style and displays the page to the user;
js file is an extension of a JavaScript language file, which is an transliterated script language, a dynamic type, a weak type, a prototype-based language, and a built-in support type. JavaScript has been widely used in Web application development, and is often used to add various dynamic functions to a Web page, so as to provide a smoother and more beautiful browsing effect for a user. Usually, JavaScript scripts implement their functions by being embedded in HTML. The method is the most popular scripting language in the world, and web pages browsed on computers, mobile phones and tablets and mobile phone apps based on HTML5 have interaction logic driven by JavaScript.
Preferably, when the user selects the corresponding language pack, the description information of each element contained in the js file is replaced with the corresponding language text, for example, if the description information of the element USB _ auto _ update in the js file is modified from "Enable Automatic update" to "Enable USB Automatic update", then the element in the final display page is displayed as "Enable USB Automatic update".
Fig. 5 shows a display page generated from parsing data exemplified in step 1.
And step 3: and generating an MIBs table according to the names and the index numbers of the elements in the analysis data.
A MIB (Management Information Base) is one of contents of a TCP/IP network Management protocol standard framework, which defines data items that a managed device must store, operations allowed to be performed on each data item, and meanings thereof, that is, data variables such as control and status Information of the managed device accessible to a Management system are stored in the MIB;
the MIBs table is the management information base.
The MIBs table generated by parsing the data contains the names and index numbers of the elements, which still adopts, for example, a hierarchical structure of the elements in the parsed data.
This is explained in particular in the section of the MIBs table below:
Figure BDA0002117716970000071
Figure BDA0002117716970000081
the above codes are part of the MIBs table;
wherein, the element usb is recorded in the first row, and only the element name "usb" and the index number "30" are recorded;
the element USB-Enable is recorded in the second line to the eighth line, the name of the element USB-Enable is "USB-Enable", the description information is "Enable USB", and the index number is "30.1";
the element usb _ auto _ update is recorded on line 9 and later, and the name of the element usb _ auto _ update is "usb _ auto _ update", and the description information is "Enable Automatic update" with an index oid of "30.2";
the description information of the element usb-enable and the description information of the element usb _ auto _ update may be included in the MIBs table, but in the MIBs table, the description information is not displayed on the server side.
In other words, if the present solution is implemented, the MIBs table should at least include names and indexes of elements, and preferably, may further include description information. The description information in the MIBs table is only used for reference of the user to perform corresponding operations.
If the MIBs table contains the description information of the elements, the data source in the MIBs table generating process should select and analyze the names, the description information and the index numbers of the elements in the data to generate the MIBs table.
In this embodiment, a description information part may further add a range describing the configuration parameter, such as "Enable USB range" true false ", in this embodiment, the range of the configuration parameter of the element USB-Enable and the range of the configuration parameter of the element USB _ auto _ update is" true "or" false ", so that when a user sets the configuration parameter, the user can clearly know how the configuration parameter should be selected to meet the requirement of the system, and the description information is mainly used for the user to refer to and is not used for server-side control.
The method simultaneously draws the page and generates the MIBs table according to the page configuration file, thereby effectively reducing the generation difficulty of the MIBs table.
The hierarchical structure of each element in the page configuration file is the same as that of each element in the MIBs table, and the labor intensity of operators is reduced.
The method adopts a multi-language package, names and language characters of each element are recorded in the language package in a key value pair mode, multiple languages can be matched into a display page through analysis of the language package, codes of multiple language versions do not need to be developed, and code complexity is reduced.
Example 2
Referring to fig. 2, a method for managing remote page parameters based on an SNMP protocol, the method involving a server side and a device side, includes the following steps:
step 1: the equipment side generates an MIBs table according to the method of the embodiment 1;
and 2, step: exporting the MIBs from the equipment side to SNMP management software of the server side, wherein the SNMP management software generates a tree menu style containing each element according to the MIBs; the tree menu style records the name and index number of each element according to the hierarchical structure of each element;
and step 3: when a user sets the configuration parameters of any element in the tree-shaped menu style through SNMP management software, the SNMP management software extracts the index number (such as 30.1) of the element and the configuration parameters set by the user to generate a modification request and sends the modification request to an equipment end;
for example, when the user modifies the configuration parameter of the parameter 30.1, the SNMP management end issues a modification request according to the SNMP protocol, and in the process, instead of directly issuing the MIBs table to the device end, the SNMP management end issues the index number and the value to be modified, and the SNMP data format is analyzed to obtain the configuration information, such as 30.1 false.
And 4, step 4: the equipment terminal modifies the configuration parameters of the elements corresponding to the index numbers in the analysis data into the configuration parameters set by the user according to the modification request; specifically, after receiving the modification request, the device side searches for a corresponding element in the analysis data according to the index number in the modification request, and modifies the configuration parameter of the element into the configuration parameter set by the user when the device side regenerates the display page.
Preferably, after the device side successfully modifies the configuration parameters, a signal is fed back to the server side to inform the server that the configuration parameters of the element side are successfully set on the display interface.
Example 3
Referring to fig. 3, an apparatus side includes the following modules:
the page configuration file analysis module 1: the system is used for analyzing the page configuration file to obtain analysis data and storing and updating the analysis data; the analysis data comprises names, description information, configuration parameters and index numbers of all elements in the display page;
the parsed page configuration file may be obtained from a remote server, a local server, or pre-stored in the device side.
The page configuration file comprises the name, description information, configuration parameters and index numbers of each element in the display page; correspondingly, the analysis data obtained through analysis also contains the name, description information, configuration parameters and index number of each element in the display page;
specifically, the parsed data is a simplified configuration file containing only a complete page frame, which can be specifically described with reference to embodiment 1;
the page drawing module 2: the display page is generated according to the analysis data;
the parameters of each element are described in detail in the analysis file. Meanwhile, a control style for generating a display interface is predefined in a system of the equipment end;
when a user needs to access a certain page, the page comprises a plurality of elements, and at the moment, a js file is generated according to parameters of all elements in the page recorded in an analysis file, and the js file automatically renders the corresponding page according to a control style and displays the page to the user;
MIBs table generation module 3: the MIBs table is generated according to the names and the index numbers of the elements in the analysis data; the MIBs table records the names and index numbers of the elements.
It still employs a hierarchical structure as each element in the parsed data. The code form of the parsed data can refer to embodiment 1.
Language pack module 4: the system is used for storing and analyzing a plurality of language packs, and each language pack corresponds to a national language character;
the language package comprises the names of all elements and corresponding language characters, and the names and the language characters of the elements are stored in the language package in a key value pair mode; wherein, the name of the element is the key name of the key-value pair, and the corresponding language character is the value of the key-value pair;
the language package module 4 is used for sending the corresponding analyzed language package to the page drawing module 2 according to the selection of the user, and the page drawing module 2 displays the name of each element in the corresponding language character according to the analyzed language package.
After the user selects the corresponding language package, the description information of each element contained in the js file generated by the page rendering module 2 is replaced by the corresponding language text, for example, if the description information of the element 30.2 in the js file is modified from "USB _ auto _ update" to "USB automatic upgrade is enabled", the element in the final display page is displayed as "USB automatic upgrade enabled".
The first communication module 5: the server side is used for communicating with the server side;
the display module 6: the display module is used for displaying the display page drawn by the page drawing module 2; the display module 6 is typically a display;
the equipment terminal simultaneously draws pages and generates the MIBs according to the page configuration file analysis module 1, the page drawing module 2 and the MIBs table generation module 3, so that the generation difficulty of the MIBs tables is effectively reduced.
The hierarchical structure of each element in the page configuration file is the same as that of each element in the MIBs table, and the labor intensity of operators is reduced.
The language package module 4 is adopted, the names and language characters of all elements are recorded in the language package of the module in a key value pair mode, multiple languages can be matched into a display page through analysis of the language package, codes of multiple language versions do not need to be developed, and code complexity is reduced.
Example 4
Referring to fig. 4, a system for managing remote page parameters based on SNMP protocol includes a device side and a server side, where the device side is as described in embodiment 3;
the server side comprises the following modules:
the second communication module 7: the device end is used for communicating with the equipment end; specifically, communicate with the first communication module 5;
the SNMP management module 8: the SNMP management module 8 is internally provided with SNMP management software, and the SNMP management software generates a tree menu style containing each element after importing the MIBs table automatically generated by the client; the tree menu style records the name and index number of each element according to the hierarchical structure of each element;
when a user sets configuration parameters of any element in the tree menu style through the SNMP management module 8, the SNMP management module 8 is used for generating a modification request and sending the modification request to the page configuration file analysis module 1 of the equipment end, wherein the modification request comprises an index number of the element and the configuration parameters set by the user;
for example, when the user modifies the configuration parameter of the parameter 30.1, the SNMP management end issues a modification request (not directly issuing the MIBs table, but issuing the index number and the value to be modified) according to the SNMP protocol, and analyzes the SNMP data format to obtain the configuration information, such as 30.1 false.
The page drawing module 2 is configured to redraw the display page according to the analysis data and the modification request, and specifically, the page drawing module 2 draws the page by using the analysis data, finds the configuration parameters of the corresponding element in the analysis data according to the index in the modification request, and replaces the configuration parameters of the element with the configuration parameters in the modification request in the display process.
The working process of the whole system is as follows:
the equipment end: the page configuration file analysis module 1 analyzes the page configuration file to obtain analysis data.
The page drawing module 2: generating a display page according to the analyzed data analyzed by the page configuration file analysis module 1 or by combining the analyzed data with the user configuration parameters;
meanwhile, the MIBs table generating module 3 generates an MIBs table;
introducing an MIBs table automatically generated by a client into an SNMP management module 8, and displaying the MIBs table in a tree menu mode by SNMP management software built in the SNMP management module 8;
the user can operate the tree menu style at the server end, and can select any element to set the configuration parameters. Once the user performs the operation, the SNMP management module 8 generates a modification request and sends the modification request to the first communication module 5 through the second communication module 7, and the page rendering module 2 updates the page according to the modification request and the parsed data, specifically, the page rendering module 2 renders the page by using the parsed data, finds the configuration parameters of the corresponding elements in the parsed data according to the index in the modification request, and replaces the configuration parameters of the elements with the configuration parameters in the modification request in the display process.
The SNMP management module 8 generates a tree-shaped menu style for a user to look up and modify, correspondingly generates a modification request and sends the modification request to the equipment end, the equipment end updates analysis data and redraws a display page, and the user does not need to manually write an MIBs table, so that the workload of the user is effectively reduced, and the accuracy is ensured.
The above description is only exemplary of the invention, and any modification, equivalent replacement, and improvement made within the spirit and scope of the present invention should be considered within the scope of the present invention.

Claims (2)

1. A management method of remote page parameters based on an SNMP protocol relates to a server side and a device side, and is characterized by comprising the following steps:
and 4, step 4: generating an MIBs table by the equipment terminal;
and 5: introducing an MIBs table generated by an equipment end into a server end, and displaying the MIBs table in a tree-shaped menu in SNMP management software;
and 6: if the user sets the configuration parameters of any element in the MIBs table of the server side, the server side generates a modification request and issues the modification request to the equipment side; the modification request comprises the index number of the element and the configuration parameters set by the user;
and 7: the equipment terminal regenerates a display page according to the modification request and the analysis data;
the step 5 specifically comprises the following steps:
introducing an MIBs table automatically generated by an equipment end into SNMP management software at a server end, and generating a tree menu style containing each element in the SNMP management software;
the tree menu style records the name and index number of each element according to the hierarchical structure of each element;
the step 4 specifically comprises the following steps:
step 1: analyzing the page configuration file to obtain analysis data; the analysis data comprises names, description information, configuration parameters and index numbers of all elements in the display page;
step 2: generating a display page according to the analysis data;
and 3, step 3: generating an MIBs table according to the names and index numbers of all elements in the analysis data, wherein the hierarchical structure of all elements in the page configuration file is the same as that of all elements in the MIBs table;
the MIBs table records the names and index numbers of all elements according to a tree menu style;
also includes language packs; the language packs are multiple, and each language pack corresponds to a national language character;
the language package comprises the names of all elements and corresponding language characters, and the names and the language characters of the elements are stored in the language package in a key value pair mode; wherein, the name of the element is the key name of the key-value pair, and the corresponding language character is the value of the key-value pair;
in step 2, the method further comprises: and selecting a corresponding language package according to the selection of the user, and displaying the name of each element in the display page by using the corresponding language characters.
2. A management system of remote page parameters based on SNMP protocol comprises an equipment end and a server end, and is characterized in that the equipment end comprises the following modules:
the page configuration file analysis module: the system is used for analyzing the page configuration file to obtain analysis data and storing and updating the analysis data; the analysis data contains the name, description information, configuration parameters and index number of each element in the display page;
a page drawing module: the display page is generated according to the analysis data;
an MIBs table generation module: the MIBs table is generated according to the names, the description information and the index numbers of all elements in the analysis data; the MIBs table is recorded with the names and index numbers of all elements;
the system also comprises the following modules:
a language pack module: the system is used for storing and analyzing a plurality of language packs, and each language pack corresponds to a national language character;
the language package comprises the names of all elements and corresponding language characters, and the names and the language characters of the elements are stored in the language package in a key value pair mode; wherein, the name of the element is the key name of the key-value pair, and the corresponding language character is the value of the key-value pair;
the language package module is also used for sending the corresponding analyzed language package to the page drawing module according to the selection of the user, and the page drawing module displays the name of each element in a corresponding language character according to the analyzed language package;
a first communication module: the server side is used for communicating with the server side;
a display module: the display module is used for displaying the display page drawn by the page drawing module;
the server side comprises the following modules:
a second communication module: the device end is used for communicating with the equipment end;
SNMP management module: SNMP management software is arranged in the SNMP management module, and an MIBs table generated by the equipment terminal is imported through the SNMP management software to generate a tree menu style containing each element; the tree menu style records the name and index number of each element according to the hierarchical structure of each element;
when a user sets configuration parameters of any element in the tree-shaped menu style through the SNMP management module, the SNMP management module is used for generating a modification request and sending the modification request to the page configuration file analysis module of the equipment end, wherein the modification request comprises an index number of the element and the configuration parameters set by the user;
and the page drawing module is used for regenerating a display page according to the modification request and the analysis data.
CN201910596142.1A 2019-07-03 2019-07-03 Page automatic generation and MIBs table generation method based on page configuration file, management method, equipment side and management system Active CN110311819B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910596142.1A CN110311819B (en) 2019-07-03 2019-07-03 Page automatic generation and MIBs table generation method based on page configuration file, management method, equipment side and management system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910596142.1A CN110311819B (en) 2019-07-03 2019-07-03 Page automatic generation and MIBs table generation method based on page configuration file, management method, equipment side and management system

Publications (2)

Publication Number Publication Date
CN110311819A CN110311819A (en) 2019-10-08
CN110311819B true CN110311819B (en) 2022-06-07

Family

ID=68078969

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910596142.1A Active CN110311819B (en) 2019-07-03 2019-07-03 Page automatic generation and MIBs table generation method based on page configuration file, management method, equipment side and management system

Country Status (1)

Country Link
CN (1) CN110311819B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110784538B (en) * 2019-10-30 2022-02-25 广东美的制冷设备有限公司 Household appliance configuration file generation method and device, household appliance and storage medium

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8032540B1 (en) * 2004-10-29 2011-10-04 Foundry Networks, Inc. Description-based user interface engine for network management applications

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101159607A (en) * 2007-11-22 2008-04-09 Ut斯达康通讯有限公司 Network management system of implementing remote browse network element MIB node
US20090259934A1 (en) * 2008-04-11 2009-10-15 Go Hazel Llc System and method for rendering dynamic web pages with automatic ajax capabilities
CN104778285B (en) * 2015-05-12 2018-08-28 成都广达新网科技股份有限公司 A kind of WEB service system and its working method based on XML
CN108259199B (en) * 2016-12-29 2020-04-21 大唐移动通信设备有限公司 Automatic command generation method and device
CN108509187B (en) * 2018-03-29 2021-05-18 烽火通信科技股份有限公司 Method and system for automatically generating MIB function code of software platform
CN109460276A (en) * 2018-10-25 2019-03-12 北京字节跳动网络技术有限公司 The page and page configuration document generating method, device, terminal device and medium

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8032540B1 (en) * 2004-10-29 2011-10-04 Foundry Networks, Inc. Description-based user interface engine for network management applications

Also Published As

Publication number Publication date
CN110311819A (en) 2019-10-08

Similar Documents

Publication Publication Date Title
CN106528129B (en) A kind of Web application interface generation system and method
CN102654885B (en) Mobile terminal webpage adaptation system and method
CN110297636B (en) Page automatic generation and parameter management method, system and device based on page configuration file
WO2008141432A1 (en) Web page transcoding method and system applying queries to plain text
CN108984170A (en) The multilingual rendering method of the H5 page and device
CN104715052A (en) Method and system for generating statement
US20190050376A1 (en) Automatic value formatting based on intrinsic structural semantics
US11079987B2 (en) Creation of component templates
CN108399072A (en) Five application page update method and device
CN104486421B (en) Method for realizing service policy management of cloud platform of wireless service system
CN109284488B (en) Method, device and medium for modifying front-end table column data based on local storage
CN113032364B (en) Data service platform visual management tool, method and application based on resource tree
JP2021111403A (en) Landing page processing method, apparatus, device and medium
CN102073670A (en) Method, equipment and system for debugging online webpage template
CN108984544A (en) A kind of method and apparatus of distributed system modification configuration information
CN110311819B (en) Page automatic generation and MIBs table generation method based on page configuration file, management method, equipment side and management system
CN102253986A (en) Method and device for improving webpage displaying effect in multiple terminals
CN108959475A (en) A kind of webpage setting method and device
CN110175026B (en) Webpage visual editing method, device and storage medium
CN110445644A (en) Method, equipment end and the page management system that the page and CLI command sequence automatic generation method, the page generate
CN106582013A (en) Game service system and method and device for updating data of online games
CN114706584A (en) Data visualization display manufacturing system
CN112579092B (en) Multifunctional small program multi-end updating and publishing system
CN113821565A (en) Method for synchronizing data of multiple data sources
CN112733009B (en) Searching method and device

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
CB02 Change of applicant information

Address after: 511356 Room 501, building 2, No. 63, Yong'an Avenue, Huangpu District, Guangzhou, Guangdong

Applicant after: Guangzhou lubangtong Internet of things Technology Co.,Ltd.

Address before: 510653 3rd floor, building F, kehuiyuan, 95 Daguan Road, Tianhe District, Guangzhou City, Guangdong Province

Applicant before: GUANGZHOU ROBUSTEL TECHNOLOGIES Co.,Ltd.

CB02 Change of applicant information
GR01 Patent grant
GR01 Patent grant