Invention content
For the above problem existing for existing network device management pattern, one kind is now provided and aims at and can manage simultaneously
Multiple users, can separate storage user account related data, the management system of strong, convenient for maintenance the network equipment of flexibility.
Specific technical solution is as follows:
A kind of management system of the network equipment, including:
At least one agent unit, each agent unit connection at least one is in the local network equipment, Mei Gesuo
It states agent unit and is associated with a user account, the agent unit acquires the device data of the corresponding network equipment, and
Issue the configuration-direct of the network equipment;
One server, the server provide the interface unit with the agent unit quantity Matching, each interface
Unit is connect by network with an agent unit, and the collected device data is sent to pair by the agent unit
The interface unit answered;
The server provides the independent data storage space with the agent unit quantity Matching, each data
Storage space connection is associated with a user account, and connects the corresponding interface unit of the user account, described to connect
The controllable device data for reading the corresponding agent unit and sending of mouth unit, and store to the corresponding data
It is in storage space and controllable to the corresponding agent unit transmission configuration-direct.
Preferably, the agent unit includes:
Registration module, the registration and login interface for connecting the server offer are to register user account;
Configuration module to acquire the device data of the corresponding network equipment of the agent unit, and executes institute
The configuration-direct network equipment corresponding to the agent unit is stated to configure;
Communication module is separately connected the registration module and the configuration module, to acquire the configuration module
The device data and the user account are sent to and the associated interface unit of the agent unit, and reception and institute
The corresponding interface unit of agent unit is stated to send the configuration-direct and the configuration-direct is sent to the configuration mould
Block.
Preferably, the communication module includes resolving elements, and the resolving elements is referring to the configuration received
Order is parsed, and the configuration-direct after parsing is sent to the configuration module by the communication module.
Preferably, the server includes:
One administrative unit is connect by the registration and login interface with the agent unit, for receiving the agency
The request of unit creates the corresponding user account, and the request for receiving the agent unit, to receive corresponding institute
State user account login;
One Application service element connects the administrative unit, for creating and the user account of the agent unit
The corresponding interface unit.
Preferably, the server includes:
One Database Unit is separately connected the administrative unit and the Application service element, for mark off with it is described
The data storage space that agent unit quantity matches.
Preferably, the administrative unit includes:
Creation module is connect by the registration and login interface with the agent unit, for creating user's account
Family;And/or
Authentication module is verified to the user account to login.
Preferably, further include:
One is associated with the client of the user account, connects respectively with the corresponding agent unit and the server
It connects, to log in the server by the user account, to obtain and the associated agent unit of the user account
The device data of the collected network equipment;And/or
The corresponding network equipment is managed for configuration by the interface unit corresponding with the user account.
Preferably, the client passes through one and the corresponding associated long interface channel of agent unit and the agency
Unit is connected with the server.
Preferably, the Application service element is a WEB application service module;And/or
The interface unit is WEB application example.
Preferably, the communication module uses Simple Network Management Protocol or wide area network management agreement by the configuration module
Acquisition the device data and the user account be sent to the associated interface unit of the agent unit, and
Receive corresponding with the agent unit interface unit transmission configuration-direct and by the configuration-direct
It is sent to the configuration module.
The advantageous effect of above-mentioned technical proposal:
In the technical program, the management system of the network equipment can manage multiple user accounts simultaneously by server, can be only
The related data of vertical storage user account, completely isolated with other users account, flexibility is strong, and integrated level is high, easy to maintain, letter
It ceases bearing capacity by force and is convenient for number of users Dynamical Deployment.
Specific implementation mode
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete
Site preparation describes, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on
Embodiment in the present invention, those of ordinary skill in the art obtained under the premise of not making creative work it is all its
His embodiment, shall fall within the protection scope of the present invention.
It should be noted that in the absence of conflict, the feature in embodiment and embodiment in the present invention can phase
Mutually combination.
The invention will be further described in the following with reference to the drawings and specific embodiments, but not as limiting to the invention.
As shown in Figure 1, a kind of management system of the network equipment 1, including:
At least one agent unit 2, the connection of each agent unit 2 at least one are each to act on behalf of in the local network equipment 1
Unit 2 is associated with a user account, and agent unit 2 acquires the device data of the corresponding network equipment 1, and issues the network equipment
1 configuration-direct;
One server 3, server 3 provide the interface unit with 2 quantity Matching of agent unit, and each interface unit passes through net
Network is connect with an agent unit 2, and collected device data is sent to corresponding interface unit by agent unit 2;
Server 3 provides the independent data storage space with 2 quantity Matching of agent unit, and each data storage space connects
It connects and is associated with a user account, and connect the corresponding interface unit of user account, interface unit is controllable to read corresponding generation
The device data that unit 2 is sent is managed, and in storage to corresponding data storage space and controllable single to corresponding agency
Member 2 sends configuration-direct.
In the present embodiment, the management system of the network equipment 1 can manage multiple corresponding different users simultaneously by server 3
The connection of the agent unit 2 of account, be based on these mutually independent connections, can independent acquisition and store user account correlation
Data, completely isolated between user account, flexibility is strong, and integrated level is high, easy to maintain, information carrying capacity is strong and is convenient for user
Number dynamics are disposed.Management system can allow multiple users to share an application according to the different demands fast custom of user
Program or computing environment have many advantages, such as that hardware cost is low, and operating system cost is small few with the mandate cost of related software.
As shown in Fig. 2, in a preferred embodiment, agent unit 2 includes:
Registration module 21, the registration provided for Connection Service device 3 and login interface are to register user account;
Configuration module 23 to the device data of the 2 corresponding network equipment 1 of Collection agent unit, and executes configuration and refers to
Order configures the 2 corresponding network equipment 1 of agent unit;
Communication module 22 is separately connected registration module 21 and configuration module 23, to the equipment for acquiring configuration module 23
Data and user account are sent to and 2 associated interface unit of agent unit, and reception interface list corresponding with agent unit 2
Member sends configuration-direct and configuration-direct is sent to configuration module 23.
In the present embodiment, agent unit 2 is used to provide registration and the login interface of user, by being called to server 3
Registration and login interface, server 3 is by user account ID (identity for representing a unique user) after succeeding in registration
It is back to agent unit 2 with corresponding password;The 2 automatically starting communication module of agent unit after user account logins successfully
22。
In a preferred embodiment, communication module 22 includes resolving elements, and resolving elements is referring to the configuration received
Order is parsed, and the configuration-direct after parsing is sent to configuration module 23 by communication module 22.
In the present embodiment, communication module 22 can periodically call the device data that acquisition module collects, and pass through note
Volume module 21 obtains user account ID, then user account is sent to server-side together with device data;Communication module 22 may be used also
Receive server 3 send order, to after command analysis call acquisition module with collecting device data and by device data with use
It is sent to server 3 after the account combination of family.
As shown in Fig. 2, in a preferred embodiment, server 3 includes:
One administrative unit 31 is connect by registration and login interface with agent unit 2, for asking for Receiving Agent unit 2
It asks, creates corresponding user account, and for the request of Receiving Agent unit 2, logged in receive corresponding user account;
One Application service element 33, connection management unit 31, for creating connect corresponding with the user account of agent unit 2
Mouth unit.
In the present embodiment, administrative unit 31 is created for the registration of user account, login authentication, user's request, response
Adaptation and long Connection Service end maintenance;Application service element 33 for the Internet, applications example establishment, start and
The realization of the service logic of application.
Administrative unit 31 may be disposed in high in the clouds Internet data center of supplier (IDC) computer room, 31 institute of administrative unit
Virtual machine have a public network IP address, for provide user by browser end access administrative unit 31 access point, the access
Point is also the access point of 2 Connection Service device 3 of user agent's unit.
In a preferred embodiment, server 3 includes:
One Database Unit 32, is separately connected administrative unit 31 and Application service element 33, for marking off and acting on behalf of list
The data storage space that first 2 quantity match.
In the present embodiment, Database Unit 32 is used for storage service physical data, including the independent business of user
Data and shared master data.User is logged in by internet using browser end and jumps to user's account by administrative unit 31
The corresponding WEB application example URL in family, to be managed to the corresponding network equipment of user account 1, Database Unit 32 can protected
It is completely isolated with other users while deposit data and application environment.
As shown in Fig. 2, in a preferred embodiment, administrative unit 31 includes:
Creation module 311 is connect by registration and login interface with agent unit 2, for creating user account;And/or
Authentication module 312 is verified to the user account to login.
In the present embodiment, interconnection corresponding with user account in Database Unit 32 is being jumped to by administrative unit 31
Before net application example is managed with the device data to user, user account need to first pass through the verification of authentication module 312, then
To administrative unit 31 initiate data report request, with by the corresponding the Internet, applications example of user account to the network equipment 1 into
Row configuration management.
In a preferred embodiment, further include:
One is associated with the client 4 of user account, is separately connected with corresponding agent unit 2 and server 3, to pass through
User account login service device 3, to obtain the number of devices with the associated 2 collected network equipment 1 of agent unit of user account
According to;And/or
The corresponding network equipment 1 is managed for configuration by interface unit corresponding with user account.
In the present embodiment, it is redirected by administrative unit 31 after user account is logined successfully by the browser of client 4
To in Database Unit 32 and the corresponding the Internet, applications example of user account with pair device data corresponding with user account into
Row management.
In a preferred embodiment, client 4 passes through one and the associated long interface channel of corresponding agent unit 2 and agency
Unit 2 and server 3 connect.
In the present embodiment, server 3 keeps a TCP (Transmission Control with each agent unit 2
Protocol, transmission control protocol) long interface channel, { user account ID-long connection ID } is used as { Key-Value } form
Mapping relations storage, will { the long long interface channel object of connection ID-} as { Key-Value } form mapping relations storage
It deposits.Server 3 produces long connection ID and long interface channel object, and user account ID is sent to server 3 by agent unit 2,
Customer equipment data takes out from long interface channel.The data actively initiated for the network equipment 1 report request, server 3
Its Internet, applications example is obtained according to user account ID, the data that device data is packaged into JSON formats are sent to as parameter
This example specifies Restful interfaces, and to handle, (the Restful interfaces include the logic realization group of applied business in this example
In part).Restful operation requests (this to equipment initiated from the example front end page for the user account by client 4
Message in request includes the provisioning interface name and supplemental characteristic of user account ID and operational order), server 3 is according to user's account
Family ID obtains long connection ID, and long interface channel is obtained further according to long connection ID, reuses long interface channel and is sent to agent unit 2
Data.Then 2 returning response data of waiting agents unit, after the data that meet with a response, before response data is returned to
Restful is asked.
In a preferred embodiment, Application service element 33 can be a WEB application service module;Further, interface
Unit can be WEB application example.WEB application service module can create corresponding WEB application example according to user account, in
Corresponding agent unit 2 or client 4 are attached.
In the present embodiment, Application service element 33 is patrolled for the business of establishment, startup and the application of WEB application example
The realization collected.After Application service element 33 receives the message of the transmission of administrative unit 31 to succeed in registration, it can be wrapped according in message
The user account ID contained is the set of one idle port and an independent database object of user account ID distribution
(Schema), Schema includes user account ID in the self contained data base of Database Unit 32, in the Schema titles.Using
The correspondence of user account ID and WEB application example URL are stored in Database Unit 32 by service unit 33.
WEB application example create process be:Application service element 33 can (include under the catalogue under specified directory automatically
A original WEB application example) create a catalogue for including user account ID, then a included management of automatic duplication
The service logic of system realizes that component is WEB application example to this catalogue and changes the WEB application example in this catalogue automatically and match
File is set, this port is changed to above-mentioned distribution by the configuration of the port of Application service element 33 and data source in this configuration file
This data source, is changed to the independent Schema of user of above-mentioned distribution, finally starts this WEB application example by idle port.
In a preferred embodiment, Simple Network Management Protocol (Simple Network can be used in communication module 22
Management Protocol, SNMP) or wide area network management agreement (TR069) device data that acquires configuration module 23 and
User account be sent to 2 associated interface unit of agent unit, and
Interface unit corresponding with agent unit 2 is received to send configuration-direct and configuration-direct is sent to configuration module
23。
In the present embodiment, communication module 22 can acquire the device data of the network equipment 1 by communication protocol.Wherein, lead to
SNMP, TR069 etc. can be used in letter agreement;The network equipment 1 may include data communications equipment, optical network device 1, Wireless Communication Equipment
1 etc.;Device data may include configuration data, alarm data, performance data, topological data of equipment etc..
The server 3 of the present invention can be the virtual machine of data center, can be deployed in hundreds of even thousands of a users together
On one high performance server 3, it includes CPU and memory size etc. that can increase computing resource according to business demand dynamic.
The foregoing is merely preferred embodiments of the present invention, are not intended to limit embodiments of the present invention and protection model
It encloses, to those skilled in the art, should can appreciate that all with made by description of the invention and diagramatic content
Equivalent replacement and obviously change obtained scheme, should all be included within the scope of the present invention.