WO2012155668A1 - Network management configuration management method and apparatus - Google Patents

Network management configuration management method and apparatus Download PDF

Info

Publication number
WO2012155668A1
WO2012155668A1 PCT/CN2012/072849 CN2012072849W WO2012155668A1 WO 2012155668 A1 WO2012155668 A1 WO 2012155668A1 CN 2012072849 W CN2012072849 W CN 2012072849W WO 2012155668 A1 WO2012155668 A1 WO 2012155668A1
Authority
WO
WIPO (PCT)
Prior art keywords
configuration
user
query
module
request
Prior art date
Application number
PCT/CN2012/072849
Other languages
French (fr)
Chinese (zh)
Inventor
顾凤嫱
Original Assignee
中兴通讯股份有限公司
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 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2012155668A1 publication Critical patent/WO2012155668A1/en

Links

Classifications

    • 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/0246Exchanging or transporting network management information using the Internet; Embedding network management web servers in network elements; Web-services-based protocols
    • H04L41/0253Exchanging or transporting network management information using the Internet; Embedding network management web servers in network elements; Web-services-based protocols using browsers or web-pages for accessing management information
    • 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/08Configuration management of networks or network elements
    • H04L41/085Retrieval of network configuration; Tracking network configuration history

Definitions

  • the present invention relates to the field of mobile communications, and in particular, to a WEB2.0-based network management configuration management method and apparatus. Background technique
  • microwave communication As a pioneer of modern wireless communication, has always played an important role in the field of communication and plays an indispensable role in mobile networks. Whether in the mobile access network, mobile metro network and core network, microwave devices can be seen everywhere, especially in emergency communications, microwave is an irreplaceable means. The monitoring and management of microwave network elements has also become a focus of attention.
  • Microwave stations transmit information through the ground line of sight and are a point-to-point transmission.
  • a large network management device is used to manage network elements in a network on the ground. Before networking, you must first implement basic configuration on a single NE device to add an independent NE to a line, tree, or Going in the ring network to achieve the docking of functions.
  • the microwave network element has its own network management interface. Users can use this network management interface to implement basic access and configuration of the current network element.
  • the invention provides a WEB2.0-based network management configuration management method and device, to solve the present In the case of widely used embedded devices, limited resources, and low priority of the network management configuration module, the problem of friendliness, effectiveness, and real-time performance of the rich management of the network management cannot be guaranteed.
  • the present invention provides a method for managing a network management system, including:
  • the Internet WEB page display module is configured to load and display the dynamic data required by the user configuration, and submit the user's configuration/query request to the WEB server response processing module through asynchronous communication according to the user's configuration/query operation;
  • the WEB server response processing module includes three main functions: internationalization support for users' multi-language, user session SESSION record management, and user operation list management.
  • the multi-language internationalization support of users can meet the needs of users in different countries;
  • the user SESSION record management assigns a unique SESSIONID value to each user accessing the device and records different personalization settings of the user, such as operation rights, language types, and the like.
  • the user operation list management mainly classifies various functions of all the embedded devices into the network. When the user initiates the query/configuration request, the configuration/query request is classified, and the processing result is passed through the local network management according to the classification result.
  • the process management module is further sent to the device, and the local network management process management module receives the feedback information of the device, and saves the feedback information corresponding to the configuration/query operation.
  • the WEB server response processing module obtains the latest feedback information through asynchronous communication, and sends the feedback information to the WEB page display module.
  • the WEB page display module extracts the received feedback information and dynamically displays it to the user.
  • the method further includes: before the submitting the configuration/query request of the user to the WEB server response processing module by using the asynchronous communication mode according to the configuration/query operation of the user;
  • the WEB server response processing module implements a connection between the client of the user and the device end by using a hypertext transfer protocol HTTP and using a socket manner;
  • the WEB server response processing module performs authority control on the user, creates and/or records the login operation information of the user, and returns a response to the user after the authentication is passed. Should be the message.
  • the WEB server responds to the processing module to classify the configuration/query request, and forwards the processed device-recognizable configuration/query content to the device through the local network management process management module according to the classification result.
  • the local network management process management module receives the feedback information of the device, and saves the feedback information corresponding to the configuration/query operation.
  • the WEB server response processing module allocates a corresponding interface to the configuration/query request, and classifies the configuration/query request according to a category that the user can operate.
  • the interface is converted to The device can identify the information and send the information to the local network management process management module;
  • the local network management process management module sends the information to the device, and receives the feedback information of the device, and imports the feedback information corresponding to the configuration/query operation into the data storage module.
  • the allocating the corresponding interface to the configuration/query request by the WEB server response processing module includes:
  • the WEB server response processing module determines, according to the request field identifier of the configuration/query request, whether the request is a configuration request or a query request, and performs classification processing according to different requests; and when it is determined to be a configuration request, the configuration is Requesting to allocate a unified configuration interface, and further classifying according to the basic configuration authority and the advanced configuration authority included in the configuration interface category; in the case of determining the query request, assigning a unified query interface to the query request, and according to the query interface
  • the browsing permissions in the category are further categorized.
  • the WEB page display module submits the configuration/query request of the user to the WEB server response processing module by using an asynchronous communication manner according to a configuration/query operation of the user. Thereafter, the method further includes: the WEB page display module performing other data configuration/query operations.
  • the asynchronous communication mode is asynchronous JavaScript and extensible markup language XML, that is, AJAX asynchronous communication mode; the device end is an embedded wave communication device.
  • the invention also provides a network management configuration management device, comprising:
  • An Internet WEB page display module configured to submit a configuration/query request of the user to the WEB server response processing module by using an asynchronous communication manner according to a configuration/query operation of the user;
  • the WEB server response processing module configured to configure the / Query request is classified, and the processed device-recognable configuration/query content is sent to the local network management process management module according to the result of the classification;
  • the local network management process management module is configured to send the configured configuration/query content that is identifiable by the device to the device, and receive feedback information of the device, and save the corresponding configuration/query operation. Feedback information;
  • the WEB server response processing module is further configured to: obtain the latest feedback information by using the asynchronous communication manner, and send the feedback information to the WEB page display module;
  • the WEB page display module is further used to: dynamically update the data feedback information received by the user and display it to the user, which greatly reduces the amount of interactive communication.
  • the configuration of the local network management in the prior art is widely applied, the low task priority, and the low device resources are implemented.
  • the multi-language support is adopted to meet the application requirements of the device in different countries.
  • the processing of the WEB server response processing module and the local network management process management module can effectively reduce the use of system CPU resources and improve the reliability of data reception results.
  • the synchronization of the user interface with the real-time status of the device is guaranteed.
  • FIG. 1 is a flowchart of a network management configuration management method according to an embodiment of the present invention
  • FIG. 2 is a schematic flowchart of processing of a network management configuration management method according to an embodiment of the present invention
  • FIG. 3 is a signaling flowchart of user login according to an embodiment of the present invention
  • FIG. 5 is a schematic structural diagram of a network management configuration management apparatus according to an embodiment of the present invention. detailed description
  • the invention provides a network management configuration method and device, that is, a browser/server (B/S)-based embedded NE configuration.
  • the management method and the device through the processing of the WEB server response processing module and the local network management process management module, can perform the user query configuration operation in the case of the low-priority priority, so that the high-priority service module does not affect the user when occupying the CPU resources. Perform other basic data query operations and always get the latest data.
  • a network management configuration management method includes the following processing:
  • Step 101 The WEB page display module loads and displays the dynamic data required by the user configuration, and responds to the WEB server through asynchronous communication according to the configuration/query operation of the user.
  • the management module submits the user's configuration/query request;
  • the asynchronous communication mode is asynchronous JavaScript and Extensible Markup Language (XML), that is, AJAX asynchronous communication mode; before performing step 101, the following processing is also required: 1.
  • the WEB server response processing module passes HyperText Transfer Protocol (HTTP) and use socket to realize the connection between the client and the device; 2.
  • the WEB server response processing module performs language classification and permission control for the user, and logs in to the user. The information is created and/or recorded, and after the authentication is passed, a response message is returned to the user.
  • the device end is an embedded microwave communication device.
  • the WEB page display module can perform other data configuration/query operations.
  • the WEB page display module submits the user's request and obtains the latest data returned according to various configuration/query operations of the user, and only updates the latest data obtained in the user interface, and also needs to process the user based on the mouse and The interaction of the keyboard, ie, performing other data configuration/query operations.
  • Step 102 The WEB server responds to the processing module to classify the configuration/query request, and further distributes the configured configuration/query content of the processed device to the device through the local network management process management module according to the result of the classification, and the local network management
  • the process management module receives the feedback information of the device, and starts the data saving module to save the feedback information corresponding to the configuration/query operation.
  • the WEB server responds to the processing module to classify the configuration/query request, and according to The result of the classification forwards the configuration/query request to the local network management process management module.
  • the WEB server response processing module allocates a corresponding interface for the configuration/query request, and classifies the configuration/query request according to the category that the user can operate.
  • the interface is converted into the device through the allocated interface.
  • the information can be identified and sent to the local network management process management module.
  • the local network management process management module sends the above information to the device.
  • the standby end receives the feedback information of the device, and imports the feedback information corresponding to the configuration/query operation into the data saving module.
  • the WEB server response processing module allocates a corresponding interface for the configuration/query request, including the following processing:
  • the WEB server response processing module determines whether the request is a configuration request or a query request according to the request field identifier of the configuration/query request, and performs classification processing according to different requests; and when determining the configuration request, assigns a unified configuration interface to the configuration request. And further classifying according to the basic configuration authority and the advanced configuration authority included in the configuration interface category, and when determining the query request, assigning a unified query interface to the query request, and further classifying according to the browsing authority in the query interface category.
  • the WEB server response processing module processes the data information submitted by the user through the interface through the unified query module and the configuration module, and the query module provides further query support according to the user category, and the configuration module determines the basic configuration authority or the advanced according to the user category.
  • the configuration permission is further sent to the device for processing, or the configuration permission is not supported, the interaction with the device is terminated, and the response is directly fed back to the WEB page display module.
  • the local network management process management module is responsible for processing the actual device-side message and the WEB server response processing module for sending and receiving messages, and saving the data.
  • Step 103 The WEB server response processing module obtains the latest feedback information through asynchronous communication, and sends the feedback information to the WEB page display module.
  • the WEB page display module only extracts data received from the received data feedback information, and dynamically updates and displays it to user.
  • the WEB server response processing module can obtain the latest feedback information from the data saving module by asynchronous communication, and then convert the feedback information, and send the converted feedback information to the WEB page display module.
  • the WEB page display module will be the same as the ordinary web page browsing, and the WEB server response processing module responds to the operation according to the user operation sequence, and after the device end completes the response, it will correspond.
  • the data is placed in the data saving module.
  • the WEB server response processing module will preferentially process the user's latest operation, and simultaneously update the user from the data saving module. The obtained feedback information is taken out and fed back to the WEB page display module display.
  • the WEB page display module displays the newly obtained feedback information to the user, and then, if the user performs other query configuration operations or repeats the previous operation when the previous operation has not been completed, the WEB page display module will The user's latest operation result is fed back to the user.
  • the asynchronous communication method based on the B/S architecture can effectively solve the problem of rich client configuration under low CPU resources caused by large data volume communication during user configuration, and real-time data without refresh feeling. Update the issue.
  • FIG. 2 is a schematic diagram of a processing flow of a network management configuration management method according to an embodiment of the present invention.
  • a user uses a browser on a user PC to asynchronously access an embedded server (corresponding to the above WEB server response processing module).
  • the embedded server processes the data and sends it to the local network management process management module.
  • the local network management process management module sends the data to the device through the forwarding module.
  • the device sends the execution to the embedded server through the forwarding module and the local network management process management module.
  • the result data is displayed to the user through the browser after the embedded server processes the execution result data.
  • each module is loaded sequentially.
  • the embedded server on the device side that is, the above-mentioned WEB server response processing module
  • the embedded server performs initialization, including:
  • the session table module is initialized when the server is initialized, and two operable regions are included in the table.
  • the domain that is, the session operation management area and the single user list, the session operation management specifically includes: generation of the user corresponding session number, query management of attributes such as user name and password, and marking of user operation authority.
  • the user language module will be initialized, the memory space will be opened, and the existing language package will be loaded into the memory for the user to select the configuration.
  • the client state retention mode specifically includes:
  • the server will jump to the login interface and generate a unique session ID (sessionid) number during the communication process according to the user request. The status is maintained by handing it over to the browser.
  • sessionid session ID
  • the manner in which users access the system specifically includes:
  • the user enters the user name and password on the login page, clicks the login button, and the browser sends the user name, password and other information to the embedded server through the AJAX asynchronous communication method, and the embedded server sends the submitted user value to the embedded server.
  • the user management module on the device side performs verification.
  • the result is returned to the embedded server, and the embedded server returns a value according to the return value. If the return is successful, the embedded server creates a user list for the corresponding user, and uses the sessionid value as the user identifier. At the same time, the success or failure information is returned to the browser's callback function in JSON data mode.
  • the callback function makes the interface display user not exist according to the data result, or jumps to The system home page is displayed.
  • the user performs query configuration in the local network management system, and submits the corresponding action to the embedded server.
  • the embedded server finds the corresponding interface processing module according to the corresponding query or configuration request, according to different interface processing modules and user operation levels. Classification, for the user operation that can be supported, the user operation content is sent to the local network management process management module, in which the sending status indicates that the user request is forwarded to the forwarding module connected to the device end, and the receiving status indicates that the processing is performed by the forwarding module.
  • the uploaded data is placed in the data storage module, and the embedded server finds the corresponding data and sends it back to the browser for display.
  • Step 1 In the browser script, in response to the user's click event on the interface, the user's request identifier, the user's sessionid, and the parameter with the user query or the configuration data of the configuration are encapsulated into a fixed data format and sent to the server.
  • Step 2 On the embedded server side, including the unified query interface module and the unified configuration interface module, according to the request identifier submitted by the user, the operation is performed on the query interface or the configuration interface, and further classified according to the current user's corresponding authority. Take the next step when the permissions are met.
  • the query is taken as an example.
  • the data parser is used to parse the data submitted by the browser to extract data.
  • the post-encapsulation is further processed by the local network management process management module.
  • Step 3 Receive the response after the data processing is completed: For the query operation, return the local data content value to be queried to the interface; for the configuration operation, when the operation is successful, return the operation success identifier to the interface, if the device side generates the key according to the operation The information returns the key information together; when the operation fails, the failed identifier and related abnormal information are returned to the interface.
  • FIG. 3 is a signaling flowchart of user login according to an embodiment of the present invention. As shown in FIG. 3, the following processing is included: Step 1, the user enters the user name and password in the browser address bar and clicks the login button; Step 2, the embedded server receives the user verification request, and sends it to the user management module through the forwarding module;
  • Step 3 the user management module determines whether the user is legal, returns the verification result to the embedded server termination processing, and proceeds to step 4;
  • Step 4 the server receives the message, if the verification is successful, the corresponding user information is created in the session management module, and the success message is sent to the browser, and the process proceeds to step 6;
  • Step 5 If the verification fails, the failure message is directly sent to the browser, and the process goes to step 7; Step 6, the client processes the completed message, and the interface jumps to the system home page;
  • Step 7 keep the page does not jump, prompt the user does not exist or the password is wrong.
  • FIG. 4 is a signaling flowchart of detailed processing of the network management configuration according to the embodiment of the present invention. As shown in FIG. 4, the following processing is included:
  • Step 1 In the user system page, open the peer-to-peer service configuration interface.
  • Step 2 The embedded server receives the interface query prompt, and sends the prompt request to the embedded device.
  • Step 3 The embedded device reads the corresponding data content, such as the transmission unit table, the status information of all the boards of the device, the board constraint logic, and the like;
  • Step 4 After the available configuration logic is displayed on the interface, the user starts to configure a service.
  • the transmission unit is a TUB board, set the board working mode, port number, channel number, slot number, and click the Add button.
  • Step 5 The user requests the embedded server to be delivered.
  • the embedded server selects the unified configuration interface according to the user operation type and configuration method.
  • the function is further classified, and the current user's permission supports the configuration.
  • the category is privileged, the configuration data is sent to the forwarding module through the local network management process management module.
  • Step 6 the forwarding module is allocated to the corresponding embedded device for processing;
  • Step 7 After the processing of the embedded device end is completed, the reverse process returns the processing result and the route identification keyword to the forwarding module, and the forwarding module forwards the configuration result to the embedded server.
  • the embedded server asynchronously waits to read the configuration result. After the embedded server obtains the configuration result, it sends it to the browser interface. At this time, a routing information is dynamically added in the interface routing table, and a valid point-to-point configuration information record is added to the database.
  • FIG. 5 is a schematic structural diagram of a network management configuration management apparatus according to an embodiment of the present invention.
  • the network management configuration management apparatus includes: The WEB page display module 50, the WEB server response processing module 51, and the local network management process management module 52, the respective modules of the embodiments of the present invention are described in detail below.
  • the WEB page display module 50 is configured to load the dynamic data and submit the configuration/query request of the user to the WEB server response processing module 51 according to the configuration/query operation of the user; and extract the latest feedback information received. , and only update the key data of the feedback information to the user. That is to say, the WEB page display module 50 displays the latest obtained feedback information to the user in the same manner as the ordinary web page browsing, and then, if the user performs other query configuration operations or repeats before the previous operation is completed, Operation, the WEB page display module will feedback the user's latest operation result to the user.
  • the WEB page display module 50 can also execute other numbers.
  • the asynchronous communication mode is the AJAX asynchronous communication mode; that is, the WEB page display module 50 mainly encapsulates the user operation information and submits the operation information to the server module through the AJAX asynchronous communication mode, and the module is in an asynchronous waiting process. The user can continue to wait for the result of the operation, or access other interfaces.
  • the WEB server response processing module 51 is configured to perform the classification processing on the configuration/query request, and send the configuration/query content to the local network management process management module 52 according to the result of the classification; the WEB server response processing module 51 obtains the feedback information through the asynchronous communication manner. And sending the feedback information to the WEB page display module 50; specifically, the WEB server response processing module 51 can obtain the latest feedback information from the data saving module, and then convert the feedback information, and send the converted feedback information to WEB page display module.
  • the WEB server response processing module 51 allocates a corresponding interface for the configuration/query request, and converts the configuration/query request into a device language recognizable by the device, and sends the device language to the local network management process management module through the allocated interface.
  • the WEB server response processing module 51 determines whether the request is a configuration request or a query request according to the request field identifier of the configuration/query request; if it is determined to be a configuration request, assigns a unified configuration interface to the configuration request, and determines that the query is In the case of a request, a uniform query interface is assigned to the query request.
  • the WEB server response processing module 51 is further configured to: implement a connection between the client and the device end of the user through a hypertext transfer protocol HTTP protocol and adopt a socket manner, and perform authority control on the user, and create a login operation information of the user and/or Or recording, and after the authentication is passed, returning a response message to the user; preferably, the device end is an embedded microwave communication device.
  • the WEB server response processing module 51 is mainly responsible for completing the interaction between the user PC and the microwave network element device, and interacting with the device service modules within the network element, wherein the interaction with the user PC is implemented by using the HTTP protocol. , using sockets for communication construction, user authority control, user login operation information recording, and realizing user requests.
  • the interaction with the device-side service module interacts with the local network management process management module by responding to and assigning the corresponding interface.
  • the WEB server response processing module 51 responds to the operation according to the user operation sequence. After the device end completes the response, the corresponding data is placed in the data storage module. In this process, if the user suddenly performs other query configuration operations, the WEB server The response processing module 51 will preferentially process the user's latest operation, and at the same time take out the latest operation of the user from the data saving module, and feed back to the WEB page display module 50 for display.
  • the local network management process management module 52 is configured to send the configurable configuration/query content of the processed device to the device, and receive the feedback information of the device, and save the feedback information corresponding to the configuration/query operation.
  • the local network management process management module 52 can import the feedback information corresponding to the configuration/query operation into the data saving module.
  • the local network management process management module 52 is responsible for performing the communication processing between the actual device end and the embedded server, and importing the information returned by the device end into a fixed data storage block, and the WEB server response processing module 51 Dynamic recognition reading.
  • the asynchronous communication method based on the B/S architecture can effectively solve the problem of rich client configuration under low CPU resources caused by large data volume communication during user configuration, and real-time data without refresh feeling. Update the issue.
  • the user sends data to the embedded server (equivalent to the above-mentioned WEB server response processing module) through the browser on the user end, and the embedded server processes the data and sends it to the local network management system.
  • the process management module, the local network management process management module is sent to the device through the forwarding module, and the device sends the execution result data to the embedded server through the forwarding module and the local network management process management module, and after the embedded server processes the execution result data,
  • the browser displays to the user.
  • the system equipment starts.
  • each module is loaded sequentially.
  • the embedded server on the device side that is, the above-mentioned WEB server response processing module
  • the initialization of the embedded server specifically includes:
  • the server side initializes a session table module, and the table includes two operable areas, namely session operation management.
  • the area and the single user list, the session operation management specifically includes: the generation of the corresponding session number of the user, the query management of the attribute such as the user name and the password, and the marking of the user operation authority.
  • the user language module will be initialized, the memory space will be opened, and the existing language package will be loaded into the memory for the user to select the configuration.
  • the client state retention mode specifically includes:
  • the server will jump to the login interface and generate a unique session ID (sessionid) number during the communication process according to the user request. The status is maintained by handing it over to the browser.
  • sessionid session ID
  • the manner in which users access the system specifically includes:
  • the user enters the user name and password on the login page, clicks the login button, and the browser sends the user name, password and other information to the embedded server through the AJAX asynchronous communication method, and the embedded server sends the submitted user value to the embedded server.
  • the user management module on the device side performs verification.
  • the result is returned to the embedded server, and the embedded server returns a value according to the return value. If the return is successful, the embedded server creates a user list for the corresponding user, and uses the sessionid value as the user identifier. At the same time, the success or failure information is returned to the browser's callback function in JSON data mode.
  • the callback function makes the interface display user not exist according to the data result, or jumps to the system home page display.
  • the user performs basic query configuration in the local network management system, and submits the corresponding action to the embedded server.
  • the embedded server finds the corresponding interface processing function according to the corresponding request field identifier, and sends the user operation to the local network management process management module.
  • the sending status indicates that the user request is forwarded to the forwarding module that is connected to the device end
  • the receiving status indicates that the data uploaded by the forwarding module is processed and placed in the data storage module
  • the embedded server finds the corresponding data. Then send it back to the browser to display it.
  • Step 1 In the browser script, in response to the user's click event on the interface, the user's request identifier, the user's sessionid, and the parameter with the user query or the configuration data of the configuration are encapsulated into a fixed data format and sent to the server.
  • Step 2 On the embedded server side, the unified query interface module and the unified configuration interface module are classified according to the request identifier submitted by the user, and the operation is performed on the query interface or the configuration interface, and further classified after entering the corresponding interface processing function.
  • the query function is mainly classified into the browsing permission.
  • the main configuration in the configuration interface is the basic configuration operation and the advanced configuration operation. In this case, the permissions supported by the current user are compared.
  • the user rights support the classified functions the interaction with the device is performed.
  • the classified function is supported, it is directly fed back to the WEB display module, and the display operation is terminated.
  • the query is taken as an example. As shown in FIG. 1 , in the corresponding query interface, the data parser is used to parse and extract the data submitted by the browser. Data is encapsulated as a message block via the local network management process management module Further processing.
  • Step 3 Receive the response after the data processing is completed: For the query operation, return the local data content value to be queried to the interface; for the configuration operation, only the identifier of the operation success or failure is returned to the interface.
  • the implementation of the B/S architecture solves the configuration of the local network management system with low task priority and low device resources in the prior art, and ensures the user through asynchronous communication.
  • the operation of data configuration is more reliable and secure; the processing of the WEB server response processing module and the local network management process management module can effectively reduce the use of system CPU resources and the reliability of data reception results, and improve the performance of the device.
  • the invention solves the configuration of the local network management under the low task priority and the low device resources in the prior art through the implementation of the B/S architecture, and ensures the operation of the user when performing data configuration through the asynchronous communication mode.
  • Security through the processing of the WEB server response processing module and the local network management process management module, the use of the system CPU resources and the reliability of the data reception result can be effectively reduced, and the performance of the device is improved.

Abstract

Disclosed in the present invention are a network management configuration management method and apparatus. The method comprises the following steps: an internet WEB page display module, according to the user configure/inquiry operation, submitting the user configure/inquiry request to a WEB server response processing module by asynchronous communication mode; the WEB server response processing module classification processing the configure/inquiry operation, and, according to the operating level which the user supported, deciding the next operation, when the user operating level supported the corresponding inquiry configuration operation, forwarding the configure/inquiry content to a device end by a local network management process managing module, the local network management process managing module receiving the response information of the device end, and saving the corresponding response information of this configure/inquiry process; the WEB server response processing module obtaining the response information by asynchronous communication mode, and transmitting the response information to the WEB page display module, the WEB page display module extracting the key data from the received latest response information, and dynamically update the display to the user.

Description

网管配置管理方法及装置 技术领域  Network management configuration management method and device
本发明涉及移动通讯领域, 特别是涉及一种基于 WEB2.0 的网管配置 管理方法及装置。 背景技术  The present invention relates to the field of mobile communications, and in particular, to a WEB2.0-based network management configuration management method and apparatus. Background technique
在现有技术中, 微波通信作为现代无线通信的先行者, 一直在通信领 域起着举足轻重的作用, 在移动网络中扮演着不可或缺的角色。 无论是在 移动接入网络, 还是在移动城域网络和核心网络中, 随处都可以看到微波 设备的身影, 尤其在应急通信中, 微波更是一个不可替代的手段。 对微波 网元的监控和管理也越来越成为关注的焦点。  In the prior art, microwave communication, as a pioneer of modern wireless communication, has always played an important role in the field of communication and plays an indispensable role in mobile networks. Whether in the mobile access network, mobile metro network and core network, microwave devices can be seen everywhere, especially in emergency communications, microwave is an irreplaceable means. The monitoring and management of microwave network elements has also become a focus of attention.
微波站点之间是通过地面视距进行信息传播的, 是一种点到点的传输。 通常设备中通常采用大网管进行地面一个网络内的网元管理, 但是组网之 前, 首先要对单个网元设备进行基本的配置实现, 才能将一个独立的网元 加入到如线形、 树形或环形网络中去, 实现功能的对接。 微波网元上都有 自己的网管接口, 用户可以通过这个网管接口实现对当前网元的基本访问 及配置。  Microwave stations transmit information through the ground line of sight and are a point-to-point transmission. Generally, a large network management device is used to manage network elements in a network on the ground. Before networking, you must first implement basic configuration on a single NE device to add an independent NE to a line, tree, or Going in the ring network to achieve the docking of functions. The microwave network element has its own network management interface. Users can use this network management interface to implement basic access and configuration of the current network element.
对于嵌入式微波通讯设备而言, 在设备应用国家广泛、 资源有限、 中 央处理器(Central Processing Unit, CPU )资源优先用于处理设备信息通讯 的状况下, 如何保证网管富客户端配置的友好性、 有效性及实时性就变得 十分重要。 发明内容  For the embedded microwave communication equipment, how to ensure the friendliness of the rich management of the network management under the condition that the equipment application country is extensive, the resources are limited, and the central processing unit (CPU) resources are preferentially used to process the device information communication. , effectiveness and real-time become very important. Summary of the invention
本发明提供一种基于 WEB2.0 的网管配置管理方法及装置, 以解决现 有技术在嵌入式设备应用广泛、 资源有限, 网管配置模块优先级低的情况 下, 不能够保证网管富客户端配置的友好性、 有效性及实时性的问题。 The invention provides a WEB2.0-based network management configuration management method and device, to solve the present In the case of widely used embedded devices, limited resources, and low priority of the network management configuration module, the problem of friendliness, effectiveness, and real-time performance of the rich management of the network management cannot be guaranteed.
本发明提供一种网管配置管理方法的方法, 包括:  The present invention provides a method for managing a network management system, including:
互联网 WEB 页面显示模块, 用于加载并显示用户配置需要的动态数 据, 同时根据用户的配置 /查询操作, 通过异步通讯方式向 WEB服务器响 应处理模块提交用户的配置 /查询请求;  The Internet WEB page display module is configured to load and display the dynamic data required by the user configuration, and submit the user's configuration/query request to the WEB server response processing module through asynchronous communication according to the user's configuration/query operation;
WEB服务器响应处理模块, 包括三个主要的功能: 分别是用户多语言 的国际化支持、 用户会话 SESSION记录管理、 用户操作列表管理, 其中用 户多语言的国际化支持能够满足不同国家用户的需要; 用户 SESSION记录 管理为每个访问设备的用户分配唯一的 SESSIONID值,并记录用户的不同 个性化设置、 如操作权限、 语言类型等。 用户操作列表管理主要对所有嵌 入式设备入网的各种功能进行分类处理, 在用户发起查询 /配置请求时, 对 所述配置 /查询请求进行分类处理, 并根据分类的结果将处理结果通过本地 网管进程管理模块进一步下发至设备端, 本地网管进程管理模块接收设备 端的反馈信息, 并保存本次配置 /查询操作所对应的反馈信息;  The WEB server response processing module includes three main functions: internationalization support for users' multi-language, user session SESSION record management, and user operation list management. The multi-language internationalization support of users can meet the needs of users in different countries; The user SESSION record management assigns a unique SESSIONID value to each user accessing the device and records different personalization settings of the user, such as operation rights, language types, and the like. The user operation list management mainly classifies various functions of all the embedded devices into the network. When the user initiates the query/configuration request, the configuration/query request is classified, and the processing result is passed through the local network management according to the classification result. The process management module is further sent to the device, and the local network management process management module receives the feedback information of the device, and saves the feedback information corresponding to the configuration/query operation.
WEB服务器响应处理模块通过异步通讯方式获取最新的反馈信息, 并 将反馈信息发送到 WEB页面显示模块, WEB页面显示模块对接收到的反 馈信息进行数据提取, 并动态显示给用户。 优选地, 所述 WEB 页面显示模块根据用户的配置 /查询操作, 通过异 步通讯方式向 WEB服务器响应处理模块提交所述用户的配置 /查询请求之 前, 所述方法还包括:  The WEB server response processing module obtains the latest feedback information through asynchronous communication, and sends the feedback information to the WEB page display module. The WEB page display module extracts the received feedback information and dynamically displays it to the user. Preferably, the method further includes: before the submitting the configuration/query request of the user to the WEB server response processing module by using the asynchronous communication mode according to the configuration/query operation of the user;
所述 WEB服务器响应处理模块通过超文本传输协议 HTTP并采用套接 字方式实现所述用户的客户端与所述设备端的连接;  The WEB server response processing module implements a connection between the client of the user and the device end by using a hypertext transfer protocol HTTP and using a socket manner;
所述 WEB服务器响应处理模块对所述用户进行权限控制,对所述用户 的登录操作信息进行创建和 /或记录, 并在鉴权通过后, 向所述用户返回响 应消息。 优选地, 所述 WEB服务器响应处理模块对所述配置 /查询请求进行分 类处理, 并根据分类的结果将处理后的设备端可识别的配置 /查询内容通过 本地网管进程管理模块转发至所述设备端, 所述本地网管进程管理模块接 收设备端的反馈信息, 并保存本次配置 /查询操作所对应的反馈信息具体包 括: The WEB server response processing module performs authority control on the user, creates and/or records the login operation information of the user, and returns a response to the user after the authentication is passed. Should be the message. Preferably, the WEB server responds to the processing module to classify the configuration/query request, and forwards the processed device-recognizable configuration/query content to the device through the local network management process management module according to the classification result. The local network management process management module receives the feedback information of the device, and saves the feedback information corresponding to the configuration/query operation.
所述 WEB服务器响应处理模块为所述配置 /查询请求分配相应的接口, 并将所述配置 /查询请求根据用户能够操作的类别进行分类, 当功能支持当 前用户时, 则通过分配的接口转化为设备可识别信息并将该信息发送到本 地网管进程管理模块;  The WEB server response processing module allocates a corresponding interface to the configuration/query request, and classifies the configuration/query request according to a category that the user can operate. When the function supports the current user, the interface is converted to The device can identify the information and send the information to the local network management process management module;
所述本地网管进程管理模块将所述信息发送给设备端, 并接收所述设 备端的反馈信息, 将本次配置 /查询操作所对应的反馈信息导入到数据保存 模块中。 优选地, 所述 WEB服务器响应处理模块为所述配置 /查询请求分配相 应的接口具体包括:  The local network management process management module sends the information to the device, and receives the feedback information of the device, and imports the feedback information corresponding to the configuration/query operation into the data storage module. Preferably, the allocating the corresponding interface to the configuration/query request by the WEB server response processing module includes:
所述 WEB服务器响应处理模块根据所述配置 /查询请求的请求字段标 识判断该请求是配置请求还是查询请求, 并根据不同的请求进行分类处理; 在判断为配置请求的情况下, 为所述配置请求分配统一的配置接口, 同时根据配置接口类别中包括的基本配置权限和高级配置权限进行进一步 分类; 在判断为查询请求的情况下, 为所述查询请求分配统一的查询接口, 同时根据查询接口类别中的浏览权限进行进一步分类。 优选地, 所述 WEB 页面显示模块根据用户的配置 /查询操作, 通过异 步通讯方式向 WEB服务器响应处理模块提交所述用户的配置 /查询请求之 后, 所述方法还包括: 所述 WEB 页面显示模块执行其他数据配置 /查询操 作。 The WEB server response processing module determines, according to the request field identifier of the configuration/query request, whether the request is a configuration request or a query request, and performs classification processing according to different requests; and when it is determined to be a configuration request, the configuration is Requesting to allocate a unified configuration interface, and further classifying according to the basic configuration authority and the advanced configuration authority included in the configuration interface category; in the case of determining the query request, assigning a unified query interface to the query request, and according to the query interface The browsing permissions in the category are further categorized. Preferably, the WEB page display module submits the configuration/query request of the user to the WEB server response processing module by using an asynchronous communication manner according to a configuration/query operation of the user. Thereafter, the method further includes: the WEB page display module performing other data configuration/query operations.
优选地,所述异步通讯方式为异步的 JavaScript和可扩展标记语言 XML 即 AJAX异步通讯方式; 所述设备端为嵌入式 波通信设备。 本发明还提供了一种网管配置管理装置, 包括:  Preferably, the asynchronous communication mode is asynchronous JavaScript and extensible markup language XML, that is, AJAX asynchronous communication mode; the device end is an embedded wave communication device. The invention also provides a network management configuration management device, comprising:
互联网 WEB 页面显示模块, 用于根据用户的配置 /查询操作, 通过异 步通讯方式向 WEB服务器响应处理模块提交所述用户的配置 /查询请求; 所述 WEB服务器响应处理模块, 用于对所述配置 /查询请求进行分类 处理, 并根据分类的结果将处理后的设备端可识别的配置 /查询内容发送到 本地网管进程管理模块;  An Internet WEB page display module, configured to submit a configuration/query request of the user to the WEB server response processing module by using an asynchronous communication manner according to a configuration/query operation of the user; the WEB server response processing module, configured to configure the / Query request is classified, and the processed device-recognable configuration/query content is sent to the local network management process management module according to the result of the classification;
所述本地网管进程管理模块, 用于将所述处理后的设备端可识别的配 置 /查询内容发送给所述设备端, 并接收所述设备端的反馈信息, 保存本次 配置 /查询操作所对应的反馈信息;  The local network management process management module is configured to send the configured configuration/query content that is identifiable by the device to the device, and receive feedback information of the device, and save the corresponding configuration/query operation. Feedback information;
所述 WEB服务器响应处理模块进一步用于:通过所述异步通讯方式获 取最新的反馈信息, 并将所述反馈信息发送到所述 WEB页面显示模块; The WEB server response processing module is further configured to: obtain the latest feedback information by using the asynchronous communication manner, and send the feedback information to the WEB page display module;
WEB页面显示模块进一步用于: 只对用户接收到的数据反馈信息进行 动态更新, 并显示给用户, 极大的减少了交互通讯量。 The WEB page display module is further used to: dynamically update the data feedback information received by the user and display it to the user, which greatly reduces the amount of interactive communication.
通过 B/S架构的实现方式, 解决了现有技术中存在的应用广泛、 低任 务优先级、 低设备资源下的本地网管的配置实现, 通过多国语言支持, 满 足设备在不同国家的应用需求, 通过异步通讯方式, 保证用户进行数据配 置时的操作更加可靠安全;通过 WEB服务器响应处理模块及本地网管进程 管理模块的处理, 能够有效降低对系统 CPU资源的使用及提高数据接收结 果的可靠性, 保证了用户界面与设备的实时状态的同步。 附图说明 Through the implementation of the B/S architecture, the configuration of the local network management in the prior art is widely applied, the low task priority, and the low device resources are implemented. The multi-language support is adopted to meet the application requirements of the device in different countries. Through asynchronous communication, the operation of the user to ensure data configuration is more reliable and secure; the processing of the WEB server response processing module and the local network management process management module can effectively reduce the use of system CPU resources and improve the reliability of data reception results. The synchronization of the user interface with the real-time status of the device is guaranteed. DRAWINGS
图 1是本发明实施例的网管配置管理方法的流程图;  1 is a flowchart of a network management configuration management method according to an embodiment of the present invention;
图 2是本发明实施例的网管配置管理方法的处理流程示意图; 图 3是本发明实施例的用户登录的信令流程图;  2 is a schematic flowchart of processing of a network management configuration management method according to an embodiment of the present invention; FIG. 3 is a signaling flowchart of user login according to an embodiment of the present invention;
图 4是本发明实施例的网管配置的详细处理的信令流程图;  4 is a signaling flowchart of detailed processing of a network management configuration according to an embodiment of the present invention;
图 5是本发明实施例的网管配置管理装置的结构示意图。 具体实施方式  FIG. 5 is a schematic structural diagram of a network management configuration management apparatus according to an embodiment of the present invention. detailed description
为了解决现有技术中在嵌入式设备多国应用、 资源有限且网管配置模 块优先级低的情况下, 在进行网关配置时 CPU资源抢占能力较弱, 不能够 保证网管富客户端配置的友好性、 有效性及实时性的问题, 本发明提供了 一种网管配置管理方法及装置, 即, 一种基于浏览器 /服务器 ( Browser/Server, 简称为 B/S ) 架构的、 嵌入式的网元配置管理方法及装 置, 通过 WEB服务器响应处理模块及本地网管进程管理模块的处理, 能够 进行低任务优先级情况下的用户查询配置操作, 使得在高优先级的业务模 块占用 CPU资源时, 不影响用户进行其他基本的数据查询操作, 并始终能 获取最新数据。 在低资源情况下, 用户配置界面不占用大量设备资源, 用 户的配置操作的关键数据交互及异步通讯的方式, 不会出现长时间抢占造 成对通讯业务的影响。 以下结合附图以及实施例, 对本发明进行进一步详 细说明。 应当理解, 此处所描述的具体实施例仅仅用以解释本发明, 并不 限定本发明。 图 1是本发明实施例提供的网管配置管理方法的流程图, 如图 1所示, 根据本发明实施例的网管配置管理方法包括如下处理:  In the prior art, in the case where the multi-country application of the embedded device is limited, and the network management configuration module has a low priority, the CPU resource preemption capability is weak when the gateway configuration is performed, and the friendship of the rich management of the network management cannot be ensured. The invention provides a network management configuration method and device, that is, a browser/server (B/S)-based embedded NE configuration. The management method and the device, through the processing of the WEB server response processing module and the local network management process management module, can perform the user query configuration operation in the case of the low-priority priority, so that the high-priority service module does not affect the user when occupying the CPU resources. Perform other basic data query operations and always get the latest data. In the case of low-cost resources, the user configuration interface does not occupy a large amount of device resources, and the key data interaction and asynchronous communication mode of the user's configuration operation does not cause long-term preemption to affect the communication service. The present invention will be further described in detail below with reference to the accompanying drawings and embodiments. It is understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention. 1 is a flowchart of a network management configuration management method according to an embodiment of the present invention. As shown in FIG. 1 , a network management configuration management method according to an embodiment of the present invention includes the following processing:
步驟 101 , WEB页面显示模块加载并显示用户配置需要的动态数据, 同时根据用户的配置 /查询操作, 通过异步通讯方式向 WEB服务器响应处 理模块提交用户的配置 /查询请求; Step 101: The WEB page display module loads and displays the dynamic data required by the user configuration, and responds to the WEB server through asynchronous communication according to the configuration/query operation of the user. The management module submits the user's configuration/query request;
优选地, 异步通讯方式为异步的 JavaScript 和可扩展标记语言 ( Extensible Markup Language , 简称为 XML ) 即 AJAX异步通讯方式; 在执行步驟 101之前, 还需要进行如下处理: 1、 WEB服务器响应处 理模块通过超文本传输协议 ( HyperText Transfer Protocol, 简称为 HTTP ) 并采用套接字方式实现用户的客户端与设备端的连接; 2、 WEB服务器响 应处理模块对用户进行语言分类及权限控制, 对用户的登录操作信息进行 创建和 /或记录, 并在鉴权通过后, 向用户返回响应消息。 优选地, 设备端 为嵌入式微波通信设备。  Preferably, the asynchronous communication mode is asynchronous JavaScript and Extensible Markup Language (XML), that is, AJAX asynchronous communication mode; before performing step 101, the following processing is also required: 1. The WEB server response processing module passes HyperText Transfer Protocol (HTTP) and use socket to realize the connection between the client and the device; 2. The WEB server response processing module performs language classification and permission control for the user, and logs in to the user. The information is created and/or recorded, and after the authentication is passed, a response message is returned to the user. Preferably, the device end is an embedded microwave communication device.
在实际应用中, 在步驟 101之后, WEB页面显示模块可以执行其他数 据配置 /查询操作。  In practical applications, after step 101, the WEB page display module can perform other data configuration/query operations.
也就是说, WEB页面显示模块根据用户的各种配置 /查询操作,提交用 户的请求并获取返回的最新数据, 在用户界面上只更新获取到的最新数据, 此外, 还需要处理用户基于鼠标和键盘的交互, 即, 执行其他数据配置 /查 询操作。  That is to say, the WEB page display module submits the user's request and obtains the latest data returned according to various configuration/query operations of the user, and only updates the latest data obtained in the user interface, and also needs to process the user based on the mouse and The interaction of the keyboard, ie, performing other data configuration/query operations.
步驟 102, WEB服务器响应处理模块对配置 /查询请求进行分类处理, 并根据分类的结果将处理后的设备端可识别的配置 /查询内容通过本地网管 进程管理模块进一步下发至设备端, 本地网管进程管理模块接收设备端的 反馈信息,并启动数据保存模块保存本次配置 /查询操作所对应的反馈信息; 具体地, 步驟 102中, WEB服务器响应处理模块对配置 /查询请求进行 分类处理, 并根据分类的结果将配置 /查询请求转发到本地网管进程管理模 块。 具体包括如下处理: WEB服务器响应处理模块为配置 /查询请求分配相 应的接口, 并将配置 /查询请求根据用户能够操作的类别进行分类, 当功能 支持当前用户时, 则通过分配的接口转化为设备可识别信息并将该信息发 送到本地网管进程管理模块。 本地网管进程管理模块将上述信息发送给设 备端, 并接收设备端的反馈信息, 将本次配置 /查询操作所对应的反馈信息 导入到数据保存模块中; Step 102: The WEB server responds to the processing module to classify the configuration/query request, and further distributes the configured configuration/query content of the processed device to the device through the local network management process management module according to the result of the classification, and the local network management The process management module receives the feedback information of the device, and starts the data saving module to save the feedback information corresponding to the configuration/query operation. Specifically, in step 102, the WEB server responds to the processing module to classify the configuration/query request, and according to The result of the classification forwards the configuration/query request to the local network management process management module. Specifically, the following processing is performed: the WEB server response processing module allocates a corresponding interface for the configuration/query request, and classifies the configuration/query request according to the category that the user can operate. When the function supports the current user, the interface is converted into the device through the allocated interface. The information can be identified and sent to the local network management process management module. The local network management process management module sends the above information to the device. The standby end receives the feedback information of the device, and imports the feedback information corresponding to the configuration/query operation into the data saving module.
其中, WEB服务器响应处理模块为配置 /查询请求分配相应的接口具体 包括如下处理:  The WEB server response processing module allocates a corresponding interface for the configuration/query request, including the following processing:
WEB 服务器响应处理模块根据配置 /查询请求的请求字段标识判断该 请求是配置请求还是查询请求, 并根据不同的请求进行分类处理; 在判断 为配置请求的情况下, 为配置请求分配统一的配置接口, 同时根据配置接 口类别中包括的基本配置权限和高级配置权限进行进一步分类, 在判断为 查询请求的情况下, 为查询请求分配统一的查询接口, 同时根据查询接口 类别中的浏览权限进行进一步分类。  The WEB server response processing module determines whether the request is a configuration request or a query request according to the request field identifier of the configuration/query request, and performs classification processing according to different requests; and when determining the configuration request, assigns a unified configuration interface to the configuration request. And further classifying according to the basic configuration authority and the advanced configuration authority included in the configuration interface category, and when determining the query request, assigning a unified query interface to the query request, and further classifying according to the browsing authority in the query interface category. .
也就是说, WEB服务器响应处理模块通过统一的查询模块和配置模块 处理用户由界面上提交来的数据信息, 查询模块根据用户类别提供进一步 查询支持, 配置模块根据用户类别决定提供基本配置权限或者高级配置权 限, 进一步下发到设备端处理, 还是不支持配置权限, 终止进一步与设备 端交互, 直接反馈响应给 WEB页面显示模块。 本地网管进程管理模块负责 进行实际的设备端消息与 WEB服务器响应处理模块的发送接收消息的处 理, 及数据保存。  That is to say, the WEB server response processing module processes the data information submitted by the user through the interface through the unified query module and the configuration module, and the query module provides further query support according to the user category, and the configuration module determines the basic configuration authority or the advanced according to the user category. The configuration permission is further sent to the device for processing, or the configuration permission is not supported, the interaction with the device is terminated, and the response is directly fed back to the WEB page display module. The local network management process management module is responsible for processing the actual device-side message and the WEB server response processing module for sending and receiving messages, and saving the data.
步驟 103 , WEB服务器响应处理模块通过异步通讯方式获取最新反馈 信息, 并将反馈信息发送到 WEB页面显示模块, WEB页面显示模块只对 接收到的数据反馈信息进行数据提取, 并动态更新, 显示给用户。  Step 103: The WEB server response processing module obtains the latest feedback information through asynchronous communication, and sends the feedback information to the WEB page display module. The WEB page display module only extracts data received from the received data feedback information, and dynamically updates and displays it to user.
具体地, WEB服务器响应处理模块通过异步通讯方式可以从数据保存 模块中获取最新反馈信息, 随后, 对反馈信息进行转换, 并将转换后的反 馈信息发送到 WEB页面显示模块。  Specifically, the WEB server response processing module can obtain the latest feedback information from the data saving module by asynchronous communication, and then convert the feedback information, and send the converted feedback information to the WEB page display module.
也就是说, WEB 页面显示模块会和普通的网页浏览一样, WEB服务 器响应处理模块按用户操作顺序响应操作, 设备端完成响应后, 会将对应 的数据放置于数据保存模块, 在此过程中, 如果用户突然进行了其他的查 询配置操作,则, WEB服务器响应处理模块将优先处理用户最新一次操作, 同时从数据保存模块中将用户最新的操作获得的反馈信息取出, 反馈给 WEB页面显示模块显示。 That is to say, the WEB page display module will be the same as the ordinary web page browsing, and the WEB server response processing module responds to the operation according to the user operation sequence, and after the device end completes the response, it will correspond. The data is placed in the data saving module. In this process, if the user suddenly performs other query configuration operations, the WEB server response processing module will preferentially process the user's latest operation, and simultaneously update the user from the data saving module. The obtained feedback information is taken out and fed back to the WEB page display module display.
也就是说, WEB页面显示模块将最新获取的反馈信息显示给用户, 随 后, 如果用户在前一次操作还未完成情况下进行其他查询配置操作或重复 进行之前的操作,则 WEB页面显示模块会将用户最新一次操作结果反馈给 用户。  That is to say, the WEB page display module displays the newly obtained feedback information to the user, and then, if the user performs other query configuration operations or repeats the previous operation when the previous operation has not been completed, the WEB page display module will The user's latest operation result is fed back to the user.
从上述处理可以看出, 这种基于 B/S架构的异步通讯方式能够有效解 决用户在进行配置时的大数据量通讯导致的低 CPU资源下富客户端配置需 求, 及无刷新感的数据实时更新问题。  It can be seen from the above processing that the asynchronous communication method based on the B/S architecture can effectively solve the problem of rich client configuration under low CPU resources caused by large data volume communication during user configuration, and real-time data without refresh feeling. Update the issue.
以下结合附图, 对本发明实施例的进行详细说明。  The embodiments of the present invention will be described in detail below with reference to the accompanying drawings.
图 2是本发明实施例的网管配置管理方法的处理流程示意图, 如图 2 所示,在用户使用用户 PC机上的浏览器,通过异步方式向嵌入式服务器(相 当于上述 WEB服务器响应处理模块 )发送数据, 嵌入式服务器对数据进行 处理后, 发送到本地网管进程管理模块, 本地网管进程管理模块通过转发 模块发送到设备端, 设备端通过转发模块、 本地网管进程管理模块向嵌入 式服务器发送执行结果数据, 在嵌入式服务器对执行结果数据进行处理后 , 通过浏览器向用户进行显示。  2 is a schematic diagram of a processing flow of a network management configuration management method according to an embodiment of the present invention. As shown in FIG. 2, a user uses a browser on a user PC to asynchronously access an embedded server (corresponding to the above WEB server response processing module). After the data is processed, the embedded server processes the data and sends it to the local network management process management module. The local network management process management module sends the data to the device through the forwarding module. The device sends the execution to the embedded server through the forwarding module and the local network management process management module. The result data is displayed to the user through the browser after the embedded server processes the execution result data.
一、 系统设备启动。  First, the system equipment starts.
在系统设备正常启动时,各模块顺次加载。设备端的嵌入式服务器(即, 上述 WEB服务器响应处理模块)正常启动, 该启动过程中, 嵌入式服务器 进行初始化具体包括:  When the system device starts normally, each module is loaded sequentially. The embedded server on the device side (that is, the above-mentioned WEB server response processing module) is normally started. During the startup process, the embedded server performs initialization, including:
( 1 ) 由于 B/S架构基于的 HTTP协议是一种无状态的模式, 因此, 月良 务器端初始化时建立会话 ( session )表模块, 在该表中包括了两个可操作区 域, 即 session操作管理区域和单个用户列表, session操作管理具体包括: 用户对应 session号的生成, 用户名、 密码等属性的查询管理、 用户操作权 限的标记等。 (1) Since the HTTP protocol based on the B/S architecture is a stateless mode, the session table module is initialized when the server is initialized, and two operable regions are included in the table. The domain, that is, the session operation management area and the single user list, the session operation management specifically includes: generation of the user corresponding session number, query management of attributes such as user name and password, and marking of user operation authority.
( 2 )设备启动过程中, 将初始化用户语言模块, 开辟内存空间, 将已 有语言包加载入内存中, 供用户选择配置。  (2) During the device startup process, the user language module will be initialized, the memory space will be opened, and the existing language package will be loaded into the memory for the user to select the configuration.
二、 客户端状态保持方式。  Second, the client state retention mode.
在实际应用中, 客户端状态保持方式具体包括:  In practical applications, the client state retention mode specifically includes:
( 1 )如果用户首次打开浏览器, 输入设备端地址进行访问, 则此时服 务器端根据用户请求, 在通讯过程中, 将跳转到登录界面并生成一个唯一 的会话标识(sessionid ) 号, 用于交给浏览器端实现状态保持。  (1) If the user opens the browser for the first time and enters the device address for access, then the server will jump to the login interface and generate a unique session ID (sessionid) number during the communication process according to the user request. The status is maintained by handing it over to the browser.
( 2 )如果用户之前已经使用同一个浏览器窗口访问过单板, 则此时浏 览器端已有唯一的 sessionid号保存于 cookie中;  (2) If the user has previously accessed the board using the same browser window, then the browser has a unique sessionid number stored in the cookie;
( 3 )如果用户已经登录过本地网管系统, 并正常退出, 此时服务器端 相应的 sessionid所对应的用户表信息已经注销, 但浏览器端 cookie中还存 在该 ID号, 可以继续使用;  (3) If the user has logged in to the local network management system and exits normally, the user table information corresponding to the corresponding sessionid of the server has been logged out, but the ID number is still stored in the browser-side cookie, and can be used continuously;
三、 用户访问系统的方式。  Third, the way users access the system.
在实际应用中, 用户访问系统的方式具体包括:  In practical applications, the manner in which users access the system specifically includes:
( 1 ) 用户在登录页输入用户名密码, 点击登录按钮, 浏览器端通过 AJAX异步通讯方式将用户名、 密码等信息以数据方式提交到嵌入式服务 器, 嵌入式服务器将提交的用户值发送到设备端的用户管理模块进行校验。  (1) The user enters the user name and password on the login page, clicks the login button, and the browser sends the user name, password and other information to the embedded server through the AJAX asynchronous communication method, and the embedded server sends the submitted user value to the embedded server. The user management module on the device side performs verification.
( 2 )用户管理模块校验完成后, 将结果返回给嵌入式服务器, 嵌入式 服务器根据返回值, 如果返回成功, 则嵌入式服务器为对应的用户创建用 户列表, 以其 sessionid值作为用户标识, 同时将成功或失败信息以 JSON 数据方式返回给浏览器端的回调函数。  (2) After the user management module is verified, the result is returned to the embedded server, and the embedded server returns a value according to the return value. If the return is successful, the embedded server creates a user list for the corresponding user, and uses the sessionid value as the user identifier. At the same time, the success or failure information is returned to the browser's callback function in JSON data mode.
( 3 )回调函数根据数据结果, 使得界面显示用户不存在, 或者跳转到 系统首页显示。 (3) The callback function makes the interface display user not exist according to the data result, or jumps to The system home page is displayed.
( 4 )用户在本地网管系统进行查询配置, 将相应动作提交给嵌入式服 务器, 嵌入式服务器根据对应的查询或配置请求, 找到对应的接口处理模 块, 根据不同的接口处理模块及用户操作级别进一步分类, 对于能够支持 的用户操作, 则将用户操作内容发送到本地网管进程管理模块, 在该模块 中, 发送状态表示将用户请求转发给与设备端衔接的转发模块, 接收状态 表示处理由转发模块上传回来的数据, 并放置于数据存储模块中, 此时嵌 入式服务器找到对应的数据再回送给浏览器端显示。  (4) The user performs query configuration in the local network management system, and submits the corresponding action to the embedded server. The embedded server finds the corresponding interface processing module according to the corresponding query or configuration request, according to different interface processing modules and user operation levels. Classification, for the user operation that can be supported, the user operation content is sent to the local network management process management module, in which the sending status indicates that the user request is forwarded to the forwarding module connected to the device end, and the receiving status indicates that the processing is performed by the forwarding module. The uploaded data is placed in the data storage module, and the embedded server finds the corresponding data and sends it back to the browser for display.
四、 数据请求配置流程实现。  Fourth, the data request configuration process is implemented.
步驟 1 , 浏览器脚本中, 响应用户在界面的点击事件, 将用户的请求标 识、 用户的 sessionid、 以及用户查询时带的参数或者配置时带的配置数据 封装成固定的数据格式发送到服务器。  Step 1: In the browser script, in response to the user's click event on the interface, the user's request identifier, the user's sessionid, and the parameter with the user query or the configuration data of the configuration are encapsulated into a fixed data format and sent to the server.
步驟 2, 在嵌入式服务器端, 包括统一查询接口模块和统一配置接口模 块, 根据用户提交的请求标识区分操作在查询接口处理还是在配置接口处 理, 同时根据当前用户对应的权限, 进一步分类, 当满足权限时进行下一 步操作。 由于查询与配置接口原理一致, 在本发明实施例中, 以查询为例: 如图 2所示, 在对应的查询接口中, 使用数据解析器, 将浏览器端提交的 数据进行解析, 提取数据后封装为消息块经由本地网管进程管理模块进一 步处理。  Step 2: On the embedded server side, including the unified query interface module and the unified configuration interface module, according to the request identifier submitted by the user, the operation is performed on the query interface or the configuration interface, and further classified according to the current user's corresponding authority. Take the next step when the permissions are met. In the embodiment of the present invention, the query is taken as an example. As shown in FIG. 2, in the corresponding query interface, the data parser is used to parse the data submitted by the browser to extract data. The post-encapsulation is further processed by the local network management process management module.
步驟 3 , 数据处理完成后接收响应: 对于查询操作, 向界面返回要查询 的局部数据内容值; 对于配置操作, 当操作成功时, 向界面返回操作成功 标识, 若设备端根据此次操作产生关键信息, 则将关键信息一并返回; 当 操作失败时, 向界面返回失败的标识及相关异常信息。  Step 3: Receive the response after the data processing is completed: For the query operation, return the local data content value to be queried to the interface; for the configuration operation, when the operation is successful, return the operation success identifier to the interface, if the device side generates the key according to the operation The information returns the key information together; when the operation fails, the failed identifier and related abnormal information are returned to the interface.
图 3是本发明实施例的用户登录的信令流程图, 如图 3所示, 包括如 下处理: 步驟 1 , 用户于浏览器地址栏中输入用户名、 及密码并点击登录按钮; 步驟 2, 嵌入式服务器端接收用户验证请求, 通过转发模块发送到用户 管理模块; FIG. 3 is a signaling flowchart of user login according to an embodiment of the present invention. As shown in FIG. 3, the following processing is included: Step 1, the user enters the user name and password in the browser address bar and clicks the login button; Step 2, the embedded server receives the user verification request, and sends it to the user management module through the forwarding module;
步驟 3 , 用户管理模块判断用户是否合法,将验证结果返回给嵌入式服 务器端接处理, 转步驟 4;  Step 3, the user management module determines whether the user is legal, returns the verification result to the embedded server termination processing, and proceeds to step 4;
步驟 4, 服务器端接收消息, 若验证成功, 则在 Session管理模块创建 对应用户信息, 并将成功消息发送到浏览器端, 转到步驟 6;  Step 4, the server receives the message, if the verification is successful, the corresponding user information is created in the session management module, and the success message is sent to the browser, and the process proceeds to step 6;
步驟 5, 若验证失败, 则直接将失败消息发送给浏览器, 转到步驟 7; 步驟 6, 用户端处理完成的消息, 进行界面跳转到系统首页;  Step 5: If the verification fails, the failure message is directly sent to the browser, and the process goes to step 7; Step 6, the client processes the completed message, and the interface jumps to the system home page;
步驟 7, 保持页面不跳转, 提示用户不存在或者密码错误。  Step 7, keep the page does not jump, prompt the user does not exist or the password is wrong.
图 4是本发明实施例的网管配置的详细处理的信令流程图, 如图 4所 示, 包括如下处理:  FIG. 4 is a signaling flowchart of detailed processing of the network management configuration according to the embodiment of the present invention. As shown in FIG. 4, the following processing is included:
步驟 1 , 在用户系统页中, 打开点对点业务配置界面;  Step 1 In the user system page, open the peer-to-peer service configuration interface.
步驟 2, 嵌入式服务器接收到界面查询提示, 将提示请求发送到嵌入式 设备;  Step 2: The embedded server receives the interface query prompt, and sends the prompt request to the embedded device.
步驟 3 , 嵌入式设备端读取对应的数据内容, 如传输单元表, 设备所有 单板状态信息, 板卡约束逻辑等内容;  Step 3: The embedded device reads the corresponding data content, such as the transmission unit table, the status information of all the boards of the device, the board constraint logic, and the like;
步驟 4,界面显示可用配置逻辑后,用户开始进行一条业务信息的配置。 例如, 对于 VC4级别路由, 传输单元为 TUB板, 设置该板工作模式, 端口 号, 通道号、 时隙号, 点击添加按钮。  Step 4: After the available configuration logic is displayed on the interface, the user starts to configure a service. For example, for VC4 level routing, the transmission unit is a TUB board, set the board working mode, port number, channel number, slot number, and click the Add button.
步驟 5, 用户请求下发致嵌入式服务器, 嵌入式服务器根据用户操作类 型和配置方法, 选择统一配置接口处理, 在统一配置接口模块中, 对功能 进行进一步分类, 当当前用户的权限支持该配置类别权限时, 则通过本地 网管进程管理模块将配置数据下发至转发模块;  Step 5: The user requests the embedded server to be delivered. The embedded server selects the unified configuration interface according to the user operation type and configuration method. In the unified configuration interface module, the function is further classified, and the current user's permission supports the configuration. When the category is privileged, the configuration data is sent to the forwarding module through the local network management process management module.
步驟 6, 由转发模块分配给对应的嵌入式设备端处理; 步驟 7,嵌入式设备端处理完成后逆向流程将处理结果及路由标识关键 字返回给转发模块, 转发模块向嵌入式服务器转发该配置结果, 此时, 嵌 入式服务器异步等待读取配置结果, 在嵌入式服务器获取该配置结果后, 发送到浏览器界面; 此时界面路由表中动态添加一条路由信息, 同时数据 库中添加一条有效的点对点配置信息记录。 Step 6, the forwarding module is allocated to the corresponding embedded device for processing; Step 7: After the processing of the embedded device end is completed, the reverse process returns the processing result and the route identification keyword to the forwarding module, and the forwarding module forwards the configuration result to the embedded server. At this time, the embedded server asynchronously waits to read the configuration result. After the embedded server obtains the configuration result, it sends it to the browser interface. At this time, a routing information is dynamically added in the interface routing table, and a valid point-to-point configuration information record is added to the database.
从上述处理可以看出, 本发明实施例通过 B/S架构的实现方式, 解决 了现有技术中存在的低任务优先级、 低设备资源下的本地网管的配置实现, 通过异步通讯方式及数据保存机制, 保证用户进行数据配置时的操作更加 可靠安全; 通过 WEB服务器响应处理模块及本地网管进程管理模块的处 理, 能够有效降低对系统 CPU资源的使用及数据接收结果的可靠性, 并提 高了设备的性能。 根据本发明的实施例, 提供了一种网管配置管理装置, 图 5是本发明 实施例的网管配置管理装置的结构示意图, 如图 5 所示, 根据本发明实施 例的网管配置管理装置包括: WEB页面显示模块 50、 WEB服务器响应处 理模块 51、 以及本地网管进程管理模块 52, 以下对本发明实施例的各个模 块进行详细的说明。  It can be seen from the above processing that the implementation of the B/S architecture solves the configuration of the local network management under the low task priority and low device resources in the prior art, and the asynchronous communication mode and data are solved. The saving mechanism ensures that the user performs the data configuration operation more reliably and safely. The processing of the WEB server response processing module and the local network management process management module can effectively reduce the use of the system CPU resources and the reliability of the data receiving result, and improve the reliability. The performance of the device. According to an embodiment of the present invention, a network management configuration management apparatus is provided. FIG. 5 is a schematic structural diagram of a network management configuration management apparatus according to an embodiment of the present invention. As shown in FIG. 5, the network management configuration management apparatus according to the embodiment of the present invention includes: The WEB page display module 50, the WEB server response processing module 51, and the local network management process management module 52, the respective modules of the embodiments of the present invention are described in detail below.
具体地, WEB页面显示模块 50用于加载动态数据并根据用户的配置 / 查询操作, 通过异步通讯方式向 WEB服务器响应处理模块 51提交用户的 配置 /查询请求; 对接收到的最新反馈信息进行提取, 并只将反馈信息的关 键数据更新后显示给用户。 也就是说, WEB页面显示模块 50会和普通的 网页浏览一样, 将最新获取的反馈信息显示给用户, 随后, 如果用户在前 一次操作还未完成情况下进行其他查询配置操作或重复进行之前的操作, 则 WEB页面显示模块会将用户最新一次操作结果反馈给用户。 此外, 在根 据用户的配置 /查询操作, 通过异步通讯方式向 WEB服务器响应处理模块 提交用户的配置 /查询请求之后, WEB页面显示模块 50还可以执行其他数 据配置 /查询操作。 优选地, 异步通讯方式为 AJAX异步通讯方式; 也就是说, WEB页面显示模块 50主要通过 AJAX异步通讯方式, 封 装用户操作信息, 提交给服务器模块, 此时该模块处于一个异步等待的过 程, 此时用户可以继续等待操作的结果, 也可以访问其他界面。 Specifically, the WEB page display module 50 is configured to load the dynamic data and submit the configuration/query request of the user to the WEB server response processing module 51 according to the configuration/query operation of the user; and extract the latest feedback information received. , and only update the key data of the feedback information to the user. That is to say, the WEB page display module 50 displays the latest obtained feedback information to the user in the same manner as the ordinary web page browsing, and then, if the user performs other query configuration operations or repeats before the previous operation is completed, Operation, the WEB page display module will feedback the user's latest operation result to the user. In addition, after submitting the user's configuration/query request to the WEB server response processing module by asynchronous communication according to the user's configuration/query operation, the WEB page display module 50 can also execute other numbers. According to the configuration / query operation. Preferably, the asynchronous communication mode is the AJAX asynchronous communication mode; that is, the WEB page display module 50 mainly encapsulates the user operation information and submits the operation information to the server module through the AJAX asynchronous communication mode, and the module is in an asynchronous waiting process. The user can continue to wait for the result of the operation, or access other interfaces.
WEB服务器响应处理模块 51用于对配置 /查询请求进行分类处理, 根 据分类的结果, 将配置 /查询内容发送到到本地网管进程管理模块 52; WEB 服务器响应处理模块 51通过异步通讯方式获取反馈信息, 并将反馈信息发 送到 WEB页面显示模块 50; 具体地, WEB服务器响应处理模块 51 可以 从数据保存模块中获取最新反馈信息, 随后, 对反馈信息进行转换, 并将 转换后的反馈信息发送到 WEB页面显示模块。  The WEB server response processing module 51 is configured to perform the classification processing on the configuration/query request, and send the configuration/query content to the local network management process management module 52 according to the result of the classification; the WEB server response processing module 51 obtains the feedback information through the asynchronous communication manner. And sending the feedback information to the WEB page display module 50; specifically, the WEB server response processing module 51 can obtain the latest feedback information from the data saving module, and then convert the feedback information, and send the converted feedback information to WEB page display module.
具体地, WEB服务器响应处理模块 51为配置 /查询请求分配相应的接 口, 并将配置 /查询请求转换为设备端可识别的设备语言, 通过分配的接口 将设备语言发送到本地网管进程管理模块。  Specifically, the WEB server response processing module 51 allocates a corresponding interface for the configuration/query request, and converts the configuration/query request into a device language recognizable by the device, and sends the device language to the local network management process management module through the allocated interface.
具体地, WEB服务器响应处理模块 51根据配置 /查询请求的请求字段 标识判断该请求是配置请求还是查询请求; 在判断为配置请求的情况下, 为配置请求分配统一的配置接口, 在判断为查询请求的情况下, 为查询请 求分配统一的查询接口。  Specifically, the WEB server response processing module 51 determines whether the request is a configuration request or a query request according to the request field identifier of the configuration/query request; if it is determined to be a configuration request, assigns a unified configuration interface to the configuration request, and determines that the query is In the case of a request, a uniform query interface is assigned to the query request.
WEB服务器响应处理模块 51进一步用于:通过超文本传输协议 HTTP 协议并采用套接字方式实现用户的客户端与设备端的连接, 并对用户进行 权限控制, 对用户的登录操作信息进行创建和 /或记录, 并在鉴权通过后, 向用户返回响应消息; 优选地, 设备端为嵌入式微波通信设备。  The WEB server response processing module 51 is further configured to: implement a connection between the client and the device end of the user through a hypertext transfer protocol HTTP protocol and adopt a socket manner, and perform authority control on the user, and create a login operation information of the user and/or Or recording, and after the authentication is passed, returning a response message to the user; preferably, the device end is an embedded microwave communication device.
也就是说, WEB服务器响应处理模块 51主要负责完成用户 PC机与微 波网元设备交互, 以及在网元内部与各设备端业务模块进行交互, 其中与 用户 PC机的交互通过了 HTTP协议进行实现,采用套接字方式进行通讯建 链, 用户权限的控制, 用户登录操作信息的记录, 以及实现对用户请求的 响应及分配相应的接口 , 与设备端业务模块的交互通过本地网管进程管理 模块进行交互。 That is, the WEB server response processing module 51 is mainly responsible for completing the interaction between the user PC and the microwave network element device, and interacting with the device service modules within the network element, wherein the interaction with the user PC is implemented by using the HTTP protocol. , using sockets for communication construction, user authority control, user login operation information recording, and realizing user requests The interaction with the device-side service module interacts with the local network management process management module by responding to and assigning the corresponding interface.
WEB服务器响应处理模块 51按用户操作顺序响应操作, 设备端完成 响应后, 会将对应的数据放置于数据保存模块, 在此过程中, 如果用户突 然进行了其他的查询配置操作, 则, WEB服务器响应处理模块 51将优先 处理用户最新一次操作, 同时从数据保存模块中将用户最新的操作取出, 反馈给 WEB页面显示模块 50显示。  The WEB server response processing module 51 responds to the operation according to the user operation sequence. After the device end completes the response, the corresponding data is placed in the data storage module. In this process, if the user suddenly performs other query configuration operations, the WEB server The response processing module 51 will preferentially process the user's latest operation, and at the same time take out the latest operation of the user from the data saving module, and feed back to the WEB page display module 50 for display.
本地网管进程管理模块 52 用于将处理后的设备端可识别的配置 /查询 内容发送给设备端, 并接收设备端的反馈信息, 保存本次配置 /查询操作所 对应的反馈信息。优选地, 本地网管进程管理模块 52可以将本次配置 /查询 操作所对应反馈信息导入到数据保存模块中;  The local network management process management module 52 is configured to send the configurable configuration/query content of the processed device to the device, and receive the feedback information of the device, and save the feedback information corresponding to the configuration/query operation. Preferably, the local network management process management module 52 can import the feedback information corresponding to the configuration/query operation into the data saving module.
也就是说, 本地网管进程管理模块 52负责进行实际的设备端与嵌入式 服务器之间的通讯处理, 并将设备端返回的信息导入到一个固定的数据保 存块中, 由 WEB服务器响应处理模块 51动态的识别读取。  That is, the local network management process management module 52 is responsible for performing the communication processing between the actual device end and the embedded server, and importing the information returned by the device end into a fixed data storage block, and the WEB server response processing module 51 Dynamic recognition reading.
从上述处理可以看出, 这种基于 B/S架构的异步通讯方式能够有效解 决用户在进行配置时的大数据量通讯导致的低 CPU资源下富客户端配置需 求, 及无刷新感的数据实时更新问题。  It can be seen from the above processing that the asynchronous communication method based on the B/S architecture can effectively solve the problem of rich client configuration under low CPU resources caused by large data volume communication during user configuration, and real-time data without refresh feeling. Update the issue.
以下结合附图, 对本发明实施例的进行详细说明。  The embodiments of the present invention will be described in detail below with reference to the accompanying drawings.
继续如图 2所示, 在用户通过用户端上的浏览器, 通过异步方式向嵌 入式服务器(相当于上述 WEB服务器响应处理模块)发送数据, 嵌入式服 务器对数据进行处理后, 发送到本地网管进程管理模块, 本地网管进程管 理模块通过转发模块发送到设备端, 设备端通过转发模块、 本地网管进程 管理模块向嵌入式服务器发送执行结果数据, 在嵌入式服务器对执行结果 数据进行处理后, 通过浏览器向用户进行显示。  Continuing as shown in FIG. 2, the user sends data to the embedded server (equivalent to the above-mentioned WEB server response processing module) through the browser on the user end, and the embedded server processes the data and sends it to the local network management system. The process management module, the local network management process management module is sent to the device through the forwarding module, and the device sends the execution result data to the embedded server through the forwarding module and the local network management process management module, and after the embedded server processes the execution result data, The browser displays to the user.
一、 系统设备启动。 在系统设备正常启动时,各模块顺次加载。设备端的嵌入式服务器(即, 上述 WEB服务器响应处理模块)正常启动, 该启动过程中, 嵌入式服务器 进行初始化具体包括: First, the system equipment starts. When the system device starts normally, each module is loaded sequentially. The embedded server on the device side (that is, the above-mentioned WEB server response processing module) is normally started. During the startup process, the initialization of the embedded server specifically includes:
( 1 ) 由于 B/S架构基于的 HTTP协议是一种无状态的模式, 因此, 服 务器端初始化时建立会话 ( session )表模块, 在该表中包括了两个可操作区 域, 即 session操作管理区域和单个用户列表, session操作管理具体包括: 用户对应 session号的生成, 用户名、 密码等属性的查询管理、 用户操作权 限的标记等。  (1) Since the HTTP protocol based on the B/S architecture is a stateless mode, the server side initializes a session table module, and the table includes two operable areas, namely session operation management. The area and the single user list, the session operation management specifically includes: the generation of the corresponding session number of the user, the query management of the attribute such as the user name and the password, and the marking of the user operation authority.
( 2 )设备启动过程中, 将初始化用户语言模块, 开辟内存空间, 将已 有语言包加载入内存中, 供用户选择配置。  (2) During the device startup process, the user language module will be initialized, the memory space will be opened, and the existing language package will be loaded into the memory for the user to select the configuration.
二、 客户端状态保持方式。  Second, the client state retention mode.
在实际应用中, 客户端状态保持方式具体包括:  In practical applications, the client state retention mode specifically includes:
( 1 )如果用户首次打开浏览器, 输入设备端地址进行访问, 则此时服 务器端根据用户请求, 在通讯过程中, 将跳转到登录界面并生成一个唯一 的会话标识(sessionid ) 号, 用于交给浏览器端实现状态保持。  (1) If the user opens the browser for the first time and enters the device address for access, then the server will jump to the login interface and generate a unique session ID (sessionid) number during the communication process according to the user request. The status is maintained by handing it over to the browser.
( 2 )如果用户之前已经使用同一个浏览器窗口访问过单板, 则此时浏 览器端已有唯一的 sessionid号保存于 cookie中;  (2) If the user has previously accessed the board using the same browser window, then the browser has a unique sessionid number stored in the cookie;
( 3 )如果用户已经登录过本地网管系统, 并正常退出, 此时服务器端 相应的 sessionid所对应的用户表信息已经注销, 但浏览器端 cookie中还存 在该 ID号, 可以继续使用;  (3) If the user has logged in to the local network management system and exits normally, the user table information corresponding to the corresponding sessionid of the server has been logged out, but the ID number is still stored in the browser-side cookie, and can be used continuously;
三、 用户访问系统的方式。  Third, the way users access the system.
在实际应用中, 用户访问系统的方式具体包括:  In practical applications, the manner in which users access the system specifically includes:
( 1 ) 用户在登录页输入用户名密码, 点击登录按钮, 浏览器端通过 AJAX异步通讯方式将用户名、 密码等信息以数据方式提交到嵌入式服务 器, 嵌入式服务器将提交的用户值发送到设备端的用户管理模块进行校验。 ( 2 )用户管理模块校验完成后, 将结果返回给嵌入式服务器, 嵌入式 服务器根据返回值, 如果返回成功, 则嵌入式服务器为对应的用户创建用 户列表, 以其 sessionid值作为用户标识, 同时将成功或失败信息以 JSON 数据方式返回给浏览器端的回调函数。 (1) The user enters the user name and password on the login page, clicks the login button, and the browser sends the user name, password and other information to the embedded server through the AJAX asynchronous communication method, and the embedded server sends the submitted user value to the embedded server. The user management module on the device side performs verification. (2) After the user management module is verified, the result is returned to the embedded server, and the embedded server returns a value according to the return value. If the return is successful, the embedded server creates a user list for the corresponding user, and uses the sessionid value as the user identifier. At the same time, the success or failure information is returned to the browser's callback function in JSON data mode.
( 3 )回调函数根据数据结果, 使得界面显示用户不存在, 或者跳转到 系统首页显示。  (3) The callback function makes the interface display user not exist according to the data result, or jumps to the system home page display.
( 4 )用户在本地网管系统进行基本查询配置, 将相应动作提交给嵌入 式服务器, 嵌入式服务器根据对应的请求字段标识, 找到对应的接口处理 函数, 将用户操作发送到本地网管进程管理模块, 在该模块中, 发送状态 表示将用户请求转发给与设备端衔接的转发模块, 接收状态表示处理由转 发模块上传回来的数据, 并放置于数据存储模块中, 此时嵌入式服务器找 到对应的数据再回送给浏览器端显示。  (4) The user performs basic query configuration in the local network management system, and submits the corresponding action to the embedded server. The embedded server finds the corresponding interface processing function according to the corresponding request field identifier, and sends the user operation to the local network management process management module. In the module, the sending status indicates that the user request is forwarded to the forwarding module that is connected to the device end, and the receiving status indicates that the data uploaded by the forwarding module is processed and placed in the data storage module, and the embedded server finds the corresponding data. Then send it back to the browser to display it.
四、 数据请求配置流程实现。  Fourth, the data request configuration process is implemented.
步驟 1 , 浏览器脚本中, 响应用户在界面的点击事件, 将用户的请求标 识、 用户的 sessionid、 以及用户查询时带的参数或者配置时带的配置数据 封装成固定的数据格式发送到服务器。  Step 1: In the browser script, in response to the user's click event on the interface, the user's request identifier, the user's sessionid, and the parameter with the user query or the configuration data of the configuration are encapsulated into a fixed data format and sent to the server.
步驟 2, 在嵌入式服务器端, 包括统一查询接口模块和统一配置接口模 块, 根据用户提交的请求标识区分操作在查询接口处理还是在配置接口处 理, 在进入对应的接口处理函数后, 进一步分类, 查询功能主要分类为浏 览权限, 配置接口中主要分类为基本配置操作和高级配置操作, 此时当前 用户支持的权限进行对比, 当用户权限支持分类后的功能时, 进行与设备 端的交互, 当不支持分类后的功能时, 直接反馈回 WEB显示模块, 显示操 作终止。 由于查询与配置接口原理一致, 在本发明实施例中, 以查询为例: 继续如图 1所示, 在对应的查询接口中, 使用数据解析器, 将浏览器端提 交的数据进行解析, 提取数据后封装为消息块经由本地网管进程管理模块 进一步处理。 Step 2: On the embedded server side, the unified query interface module and the unified configuration interface module are classified according to the request identifier submitted by the user, and the operation is performed on the query interface or the configuration interface, and further classified after entering the corresponding interface processing function. The query function is mainly classified into the browsing permission. The main configuration in the configuration interface is the basic configuration operation and the advanced configuration operation. In this case, the permissions supported by the current user are compared. When the user rights support the classified functions, the interaction with the device is performed. When the classified function is supported, it is directly fed back to the WEB display module, and the display operation is terminated. In the embodiment of the present invention, the query is taken as an example. As shown in FIG. 1 , in the corresponding query interface, the data parser is used to parse and extract the data submitted by the browser. Data is encapsulated as a message block via the local network management process management module Further processing.
步驟 3 , 数据处理完成后接收响应: 对于查询操作, 向界面返回要查询 的局部数据内容值; 对于配置操作, 仅向界面返回操作成功或失败的标识。  Step 3: Receive the response after the data processing is completed: For the query operation, return the local data content value to be queried to the interface; for the configuration operation, only the identifier of the operation success or failure is returned to the interface.
综上所述, 本发明实施例通过 B/S架构的实现方式, 解决了现有技术 中存在的低任务优先级、 低设备资源下的本地网管的配置实现, 通过异步 通讯方式, 保证用户进行数据配置时的操作更加可靠安全; 通过 WEB服务 器响应处理模块及本地网管进程管理模块的处理, 能够有效降低对系统 CPU资源的使用及数据接收结果的可靠性, 并提高了设备的性能。  In summary, the implementation of the B/S architecture solves the configuration of the local network management system with low task priority and low device resources in the prior art, and ensures the user through asynchronous communication. The operation of data configuration is more reliable and secure; the processing of the WEB server response processing module and the local network management process management module can effectively reduce the use of system CPU resources and the reliability of data reception results, and improve the performance of the device.
尽管为示例目的, 已经公开了本发明的优选实施例, 本领域的技术人 员将意识到各种改进、 增加和取代也是可能的, 因此, 本发明的范围应当 不限于上述实施例。 工业实用性  While the preferred embodiments of the present invention have been disclosed for purposes of illustration, those skilled in the art will recognize that various modifications, additions and substitutions are possible, and the scope of the invention should not be limited to the embodiments described above. Industrial applicability
本发明通过 B/S架构的实现方式, 解决了现有技术中存在的低任务优 先级、 低设备资源下的本地网管的配置实现, 通过异步通讯方式, 保证用 户进行数据配置时的操作更加可靠安全;通过 WEB服务器响应处理模块及 本地网管进程管理模块的处理, 能够有效降低对系统 CPU资源的使用及数 据接收结果的可靠性, 并提高了设备的性能。  The invention solves the configuration of the local network management under the low task priority and the low device resources in the prior art through the implementation of the B/S architecture, and ensures the operation of the user when performing data configuration through the asynchronous communication mode. Security; through the processing of the WEB server response processing module and the local network management process management module, the use of the system CPU resources and the reliability of the data reception result can be effectively reduced, and the performance of the device is improved.

Claims

权利要求书 Claim
1、 一种网管配置管理方法, 该方法包括: 1. A network management configuration management method, the method comprising:
互联网 WEB 页面显示模块根据用户的配置 /查询操作, 通过异步通讯 方式向 WEB服务器响应处理模块提交所述用户的配置 /查询请求;  The Internet WEB page display module submits the configuration/query request of the user to the WEB server response processing module according to the user's configuration/query operation;
所述 WEB服务器响应处理模块对所述配置 /查询请求进行分类处理, 并根据分类的结果将处理后的设备端可识别的配置 /查询内容通过本地网管 进程管理模块转发至所述设备端, 所述本地网管进程管理模块接收设备端 的反馈信息, 并保存本次配置 /查询操作所对应的反馈信息;  The WEB server response processing module performs classification processing on the configuration/query request, and forwards the configured device/identifiable configuration/query content to the device end through the local network management process management module according to the classification result. The local network management process management module receives the feedback information of the device, and saves the feedback information corresponding to the configuration/query operation;
所述 WEB服务器响应处理模块通过所述异步通讯方式获取最新的反 馈信息, 并将所述反馈信息发送到所述 WEB页面显示模块, 所述 WEB页 面显示模块对接收到的所述反馈信息进行数据提取, 并动态显示给所述用 户。  The WEB server response processing module obtains the latest feedback information by using the asynchronous communication method, and sends the feedback information to the WEB page display module, where the WEB page display module performs data on the received feedback information. Extracted and dynamically displayed to the user.
2、 如权利要求 1所述的方法, 其中, 所述 WEB页面显示模块根据用 户的配置 /查询操作, 通过异步通讯方式向 WEB服务器响应处理模块提交 所述用户的配置 /查询请求之前, 所述方法还包括:  2. The method according to claim 1, wherein the WEB page display module, according to a configuration/query operation of the user, submits the configuration/query request of the user to the WEB server response processing module by using an asynchronous communication manner. The method also includes:
所述 WEB服务器响应处理模块通过超文本传输协议 HTTP并采用套接 字方式实现所述用户的客户端与所述设备端的连接;  The WEB server response processing module implements a connection between the client of the user and the device end by using a hypertext transfer protocol HTTP and using a socket manner;
所述 WEB服务器响应处理模块对所述用户进行权限控制,对所述用户 的登录操作信息进行创建和 /或记录, 并在鉴权通过后, 向所述用户返回响 应消息。  The WEB server response processing module performs authority control on the user, creates and/or records the login operation information of the user, and returns a response message to the user after the authentication is passed.
3、 如权利要求 1所述的方法, 其中, 所述 WEB服务器响应处理模块 对所述配置 /查询请求进行分类处理, 并根据分类的结果将处理后的设备端 可识别的配置 /查询内容通过本地网管进程管理模块转发至所述设备端, 所 述本地网管进程管理模块接收设备端的反馈信息, 并保存本次配置 /查询操 作所对应的反馈信息具体包括: 3. The method according to claim 1, wherein the WEB server response processing module performs classification processing on the configuration/query request, and passes the processed device-recognizable configuration/query content according to the classification result. The local network management process management module forwards the information to the device, and the local network management process management module receives the feedback information of the device, and saves the configuration/query operation. The corresponding feedback information includes:
所述 WEB服务器响应处理模块为所述配置 /查询请求分配相应的接口, 并将所述配置 /查询请求根据用户能够操作的类别进行分类, 当功能支持当 前用户时, 则通过分配的接口转化为设备可识别信息并将该信息发送到本 地网管进程管理模块;  The WEB server response processing module allocates a corresponding interface to the configuration/query request, and classifies the configuration/query request according to a category that the user can operate. When the function supports the current user, the interface is converted to The device can identify the information and send the information to the local network management process management module;
所述本地网管进程管理模块将所述信息发送给设备端, 并接收所述设 备端的反馈信息, 将本次配置 /查询操作所对应的反馈信息导入到数据保存 模块中。  The local network management process management module sends the information to the device, and receives the feedback information of the device, and imports the feedback information corresponding to the configuration/query operation into the data storage module.
4、 如权利要求 3所述的方法, 其中, 所述 WEB服务器响应处理模块 为所述配置 /查询请求分配相应的接口具体包括:  The method of claim 3, wherein the assigning the corresponding interface to the configuration/query request by the WEB server response processing module comprises:
所述 WEB服务器响应处理模块根据所述配置 /查询请求的请求字段标 识判断该请求是配置请求还是查询请求, 并根据不同的请求进行分类处理; 在判断为配置请求的情况下, 为所述配置请求分配统一的配置接口, 同时根据配置接口类别中包括的基本配置权限和高级配置权限进行进一步 分类; 在判断为查询请求的情况下, 为所述查询请求分配统一的查询接口, 同时根据查询接口类别中的浏览权限进行进一步分类。  The WEB server response processing module determines, according to the request field identifier of the configuration/query request, whether the request is a configuration request or a query request, and performs classification processing according to different requests; and when it is determined to be a configuration request, the configuration is Requesting to allocate a unified configuration interface, and further classifying according to the basic configuration authority and the advanced configuration authority included in the configuration interface category; in the case of determining the query request, assigning a unified query interface to the query request, and according to the query interface The browsing permissions in the category are further categorized.
5、 如权利要求 1所述的方法, 其中, 所述 WEB页面显示模块根据用 户的配置 /查询操作, 通过异步通讯方式向 WEB服务器响应处理模块提交 所述用户的配置 /查询请求之后, 所述方法还包括:  The method according to claim 1, wherein the WEB page display module submits the configuration/query request of the user to the WEB server response processing module by using an asynchronous communication manner according to a configuration/query operation of the user, The method also includes:
所述 WEB页面显示模块执行其他数据配置 /查询操作。  The WEB page display module performs other data configuration/query operations.
6、 如权利要求 1所述的方法, 其特征在于,  6. The method of claim 1 wherein:
所述异步通讯方式为异步的 JavaScript 和可扩展标记语言 XML 即 AJAX异步通讯方式;  The asynchronous communication method is asynchronous JavaScript and extensible markup language XML, that is, AJAX asynchronous communication mode;
所述设备端为嵌入式微波通信设备。  The device end is an embedded microwave communication device.
7、 一种网管配置管理装置, 包括: 互联网 WEB 页面显示模块, 用于根据用户的配置 /查询操作, 通过异 步通讯方式向 WEB服务器响应处理模块提交所述用户的配置 /查询请求; 所述 WEB服务器响应处理模块, 用于对所述配置 /查询请求进行分类 处理, 并根据分类的结果将处理后的设备端可识别的配置 /查询内容发送到 本地网管进程管理模块; 7. A network management configuration management device, comprising: An Internet WEB page display module, configured to submit a configuration/query request of the user to the WEB server response processing module by using an asynchronous communication manner according to a configuration/query operation of the user; the WEB server response processing module, configured to configure the / Query request is classified, and the processed device-recognable configuration/query content is sent to the local network management process management module according to the result of the classification;
所述本地网管进程管理模块, 用于将所述处理后的设备端可识别的配 置 /查询内容发送给所述设备端, 并接收所述设备端的反馈信息, 保存本次 配置 /查询操作所对应的反馈信息;  The local network management process management module is configured to send the configured configuration/query content that is identifiable by the device to the device, and receive feedback information of the device, and save the corresponding configuration/query operation. Feedback information;
所述 WEB服务器响应处理模块进一步用于:通过所述异步通讯方式获 取最新的反馈信息, 并将所述反馈信息发送到所述 WEB页面显示模块; 所述 WEB页面显示模块进一步用于:对接收到的所述反馈信息进行数 据提取, 并动态显示给所述用户。  The WEB server response processing module is further configured to: obtain the latest feedback information by using the asynchronous communication manner, and send the feedback information to the WEB page display module; the WEB page display module is further configured to: receive The feedback information obtained is extracted and dynamically displayed to the user.
8、 如权利要求 6所述的装置, 其中,  8. The apparatus according to claim 6, wherein
所述 WEB 服务器响应处理模块进一步用于: 通过超文本传输协议 HTTP协议并采用套接字方式实现所述用户的客户端与所述设备端的连接, 并对所述用户进行权限控制, 对所述用户的登录操作信息进行创建和 /或记 录, 并在鉴权通过后, 向所述用户返回响应消息;  The WEB server response processing module is further configured to: implement a connection between the client of the user and the device by using a hypertext transfer protocol HTTP protocol and adopt a socket manner, and perform permission control on the user, The login operation information of the user is created and/or recorded, and after the authentication is passed, a response message is returned to the user;
所述 WEB服务器响应处理模块具体用于: 为所述配置 /查询请求分配 相应的接口, 并将所述配置 /查询请求根据用户能够操作的类别进行分类, 当功能支持当前用户时, 则通过分配的接口转化为设备可识别信息并将该 信息发送到本地网管进程管理模块;  The WEB server response processing module is specifically configured to: allocate a corresponding interface for the configuration/query request, and classify the configuration/query request according to a category that the user can operate, and when the function supports the current user, The interface is converted into device identifiable information and sent to the local network management process management module;
所述本地网管进程管理模块具体用于: 将所述信息发送给设备端, 并 接收所述设备端的反馈信息, 将本次配置 /查询操作所对应所述反馈信息导 入到数据保存模块中;  The local network management process management module is specifically configured to: send the information to the device, and receive the feedback information of the device, and import the feedback information corresponding to the configuration/query operation into the data storage module;
所述 WEB服务器响应处理模块具体用于: 根据所述配置 /查询请求的 请求字段标识判断该请求是配置请求还是查询请求, 并根据不同的请求进 行分类处理; 在判断为配置请求的情况下, 为所述配置请求分配统一的配 置接口, 同时根据配置接口类别中包括的基本配置权限和高级配置权限进 行进一步分类; 在判断为查询请求的情况下, 为所述查询请求分配统一的 查询接口, 同时根据查询接口类别中的浏览权限进行进一步分类。 The WEB server response processing module is specifically configured to: according to the configuration/query request The request field identifier determines whether the request is a configuration request or a query request, and performs classification processing according to different requests; when determining the configuration request, assigns a unified configuration interface to the configuration request, and according to the configuration interface category, The basic configuration authority and the advanced configuration authority are further classified; when it is determined to be a query request, a unified query interface is allocated for the query request, and further classification is performed according to the browsing permission in the query interface category.
9、 如权利要求 6所述的装置, 其中, 所述 WEB页面显示模块进一步 用于, 在根据用户的配置 /查询操作, 通过异步通讯方式向 WEB服务器响 应处理模块提交所述用户的配置 /查询请求之后,执行其他数据配置 /查询操 作。  The device according to claim 6, wherein the WEB page display module is further configured to submit the configuration/query of the user to the WEB server response processing module by using an asynchronous communication manner according to a configuration/query operation of the user. After the request, perform other data configuration/query operations.
10、 如权利要求 6所述的装置, 其中,  10. The apparatus according to claim 6, wherein
所述异步通讯方式为异步的 JavaScript 和可扩展标记语言 XML 即 AJAX异步通讯方式;  The asynchronous communication method is asynchronous JavaScript and extensible markup language XML, that is, AJAX asynchronous communication mode;
所述设备端为嵌入式微波通信设备。  The device end is an embedded microwave communication device.
PCT/CN2012/072849 2011-05-19 2012-03-22 Network management configuration management method and apparatus WO2012155668A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201110131699.1 2011-05-19
CN2011101316991A CN102790693A (en) 2011-05-19 2011-05-19 Network configuration management method and device

Publications (1)

Publication Number Publication Date
WO2012155668A1 true WO2012155668A1 (en) 2012-11-22

Family

ID=47156000

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2012/072849 WO2012155668A1 (en) 2011-05-19 2012-03-22 Network management configuration management method and apparatus

Country Status (2)

Country Link
CN (1) CN102790693A (en)
WO (1) WO2012155668A1 (en)

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104424243A (en) * 2013-08-27 2015-03-18 华为技术有限公司 Data inquiry method and device
GB2540329B (en) * 2014-03-05 2021-01-27 Pismo Labs Technology Ltd Methods and systems for forwarding data
CN106209934A (en) * 2015-04-30 2016-12-07 西门子瑞士有限公司 Control device in fire alarm system and collocation method thereof
CN105072198B (en) * 2015-08-28 2018-10-12 携程计算机技术(上海)有限公司 PC monitoring system and methods based on B/S patterns
CN105577446B (en) * 2015-12-30 2019-02-05 邦彦技术股份有限公司 Lightweight embedded network management system and method
CN106301902A (en) * 2016-08-09 2017-01-04 浪潮(北京)电子信息产业有限公司 A kind of remote network management method based on B/S framework and system
CN111294219B (en) * 2018-12-06 2023-04-07 杭州海康威视系统技术有限公司 Terminal configuration method and device
CN111988187B (en) * 2020-09-02 2022-07-26 北京亿安天下科技股份有限公司 Internet connection method and device of central management server

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030221004A1 (en) * 1998-07-07 2003-11-27 Stupek Richard A. Programmable operational system for managing devices participating in a network
CN101159607A (en) * 2007-11-22 2008-04-09 Ut斯达康通讯有限公司 Network management system of implementing remote browse network element MIB node
CN101895431A (en) * 2010-08-20 2010-11-24 烽火通信科技股份有限公司 RIA-based high-performance Web transmission network management system and implementation method thereof

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030221004A1 (en) * 1998-07-07 2003-11-27 Stupek Richard A. Programmable operational system for managing devices participating in a network
CN101159607A (en) * 2007-11-22 2008-04-09 Ut斯达康通讯有限公司 Network management system of implementing remote browse network element MIB node
CN101895431A (en) * 2010-08-20 2010-11-24 烽火通信科技股份有限公司 RIA-based high-performance Web transmission network management system and implementation method thereof

Also Published As

Publication number Publication date
CN102790693A (en) 2012-11-21

Similar Documents

Publication Publication Date Title
WO2012155668A1 (en) Network management configuration management method and apparatus
US9954855B2 (en) Login method and apparatus, and open platform system
US8230488B2 (en) Network system, direct-access method, network household electrical appliance, and program
TWI735429B (en) Authentication method, device, system and electronic equipment for client login server end
US8370461B2 (en) Mobile broadband device and method for managing mobile broadband device
CN103188207B (en) A kind of cross-domain single sign-on realization method and system
US20080196096A1 (en) Methods for Extending a Security Token Based Identity System
US9338168B2 (en) Method and device for controlling digital living network alliance contents
WO2013143403A1 (en) Method and system for accessing website
CN105144111A (en) Relay service for different WEB service architectures
CN111049946B (en) Portal authentication method, portal authentication system, electronic equipment and storage medium
CN104717647B (en) Professional ability method for authenticating, equipment and system
WO2017177691A1 (en) Portal authentication method and system
EP2723112B1 (en) Rights control method and apparatus for digital living network alliance
CN107222561A (en) A kind of transport layer reverse proxy method
CN110399578A (en) Page access method and device
CN112954717A (en) Household appliance network distribution method and device based on H5 page
WO2013120315A1 (en) Method for processing domain name information, wireless router, and client
WO2012017561A1 (en) Mediation processing method, mediation device, and system
WO2014015525A1 (en) Method and device for querying for user online state
WO2012097728A1 (en) Method and device for proxy access of open platform
US20140280853A1 (en) Mobile Broadband Device and Method for Processing Mobile Broadband Service of the Mobile Broadband Device
WO2010072082A1 (en) Set top box (stb) server, method and system for stp user accessing and maintaining in internet protocol television (iptv) value-added service
JP5589034B2 (en) Information distribution system, authentication linkage method, apparatus, and program thereof
WO2009062396A1 (en) Resource access method and resource access system

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 12786461

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 12786461

Country of ref document: EP

Kind code of ref document: A1