CN1917436A - Method for realizing concentrating type management for network devices based on Web - Google Patents

Method for realizing concentrating type management for network devices based on Web Download PDF

Info

Publication number
CN1917436A
CN1917436A CNA2005100905103A CN200510090510A CN1917436A CN 1917436 A CN1917436 A CN 1917436A CN A2005100905103 A CNA2005100905103 A CN A2005100905103A CN 200510090510 A CN200510090510 A CN 200510090510A CN 1917436 A CN1917436 A CN 1917436A
Authority
CN
China
Prior art keywords
equipment
message
subset
address
network
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CNA2005100905103A
Other languages
Chinese (zh)
Inventor
郝长鹏
李旭辉
孙维聪
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China Great Wall Computer Shenzhen Co Ltd
Original Assignee
China Great Wall Computer Shenzhen Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China Great Wall Computer Shenzhen Co Ltd filed Critical China Great Wall Computer Shenzhen Co Ltd
Priority to CNA2005100905103A priority Critical patent/CN1917436A/en
Publication of CN1917436A publication Critical patent/CN1917436A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The method comprises: the managing device gets the tree topology structure information about all managed network devices in the network; according to the tree topology structure of the managed network devices, the network device at the top layer of the tree topology structure is appointed as the agent device; allocating a public network address for the agent device; allocating an internal private IP address located in same network segmentation with the agent device for the agent device and each subset connected to the agent device; starting the Web relay server of proxy server, which will open a port used for forwarding of message for each subset connected to the agent device, and informs the port number corresponding to each subset to the managing device; the relay server module in the agent device receives the request message from the managing device and forwards the message to the visited subset according to the port number of the visited subset in the message; the message returned from the visited subset is transmitted to the managing device.

Description

Realize the method for concentrating type management for network devices based on Web
Technical field
The present invention relates to a kind of large scale network equipment be carried out the method for cluster management, refer to a kind of method that realizes large scale network equipment is carried out the management of remote cluster formula based on Web especially.
Background technology
The broadband access technology of China development in recent years is rapid, and many areas, community, building all are equipped with the band optical fiber cable, make increasing user to login the Internet by the broadband.
The develop rapidly of broadband technology, for Virtual network operator provides huge business opportunity, simultaneously along with the continuous expansion of network size, the continuous increase of the network equipment (as community, the corridor network equipment) quantity, also the management of the network and the network equipment has been brought huge difficulty to Virtual network operator.Want enormous amount in broadband access and supervisory level requires lower community and corridor equipment to manage, except knowing in the network that each equipment room accurately the physical connection relation, more needs by effective management method these equipment to be managed.
At present, common Remote Management of Network mode has telnet, snmp, web etc., wherein the way to manage based on Web is the most frequently used arrive a kind of of webmaster personnel, it carries out data communication by the Web server on Web browser and the managed devices, its advantage that needs only is that adaptability is strong and easy to use, the manager need not install special webmastering software client, need not use specific operating system, Web browser and equipment need only be installed surf the Net just can make things convenient for promptly and dispose, control and monitor whole network.
Because the web administration mode is the network managing mode of framework on network layer protocol (ICP/IP protocol), it needs the support of legal public network IP address, under the situation of present IP address resource anxiety, it obviously is unpractical that each network equipment is all disposed a public network IP address, so this cluster management of being applied to large scale network equipment just for the web administration mode of standard has brought restriction.
Summary of the invention
In view of the foregoing, the purpose of this invention is to provide a kind of method of large scale network equipment being carried out the management of remote cluster formula based on Web, this method not only effectively utilized the web administration mode efficiently, advantage efficiently, and can realize under the situation of public network IP address the large-scale network equipment is carried out the management of remote cluster formula not needing to increase, saved limited public network IP address greatly.
For achieving the above object, the present invention is by the following technical solutions: a kind ofly realize the method for concentrating type management for network devices based on Web, this method may further comprise the steps:
A, management equipment are obtained the tree topology structural information of whole managed networks equipment, according to the tree topology structure of managed networks equipment, with the network equipment of the superiors in the topological structure equipment that deputizes;
B, be that agent equipment distributes a public network IP address; For agent equipment and each subset that links to each other with agent equipment distribute one to be in the inside private IP address of same network segment mutually with agent equipment;
The Web forwarding server of C, startup agent equipment; Be port that is used to E-Packet of each estrade opening of device of linking to each other with agent equipment by this forwarding server, and each estrade equipment corresponding port number is informed management equipment;
D, the request message that sends by the forwarding server module receiving management equipment in the agent equipment, and message is transmitted to accessed subset according to the port numbers of the accessed subset in the message; The message that accessed subset is replied is transmitted to management equipment.
Because the present invention is in whole topological structure, only distributed public network IP address for agent equipment, and all subsets that link to each other with agent equipment have been distributed private IP address that is used for internal communication and the port that is used to E-Packet, make management equipment carry out communication by public network IP address and agent equipment, and the communication between agent equipment and the accessed subset is to be undertaken by the private IP address of the same network segment that freely distributes, thereby, realized cluster management, and saved a large amount of public network IP address resources effectively management on large equipment.
Description of drawings
Fig. 1 is LA Management Room annexation figure of the present invention
Fig. 2 the present invention is based on the flow chart that Web realizes concentrating type management for network devices
Fig. 3 is an embodiment of the invention agent equipment workflow diagram
Embodiment
The web administration mode is a kind of network managing mode that is most widely used at present, and its framework is on network layer protocol (ICP/IP protocol), and the equipment that it needs to be managed in the network has a legal IP address.The present invention is in order to be implemented under the situation that does not increase public network IP address, make full use of the web administration mode efficiently, advantage realizes the purpose of remote cluster formula management to large scale network equipment efficiently, as shown in Figure 1, the present invention is according to the tree topology structure of the network equipment of being managed, with the root device of the superiors in the tree topology structure equipment B that deputizes, and be public network IP address of its configuration; Be the inside private IP address that agent equipment B and other coupled network equipments configuration are in the phase same network segment simultaneously; Opening the Web forwarding server in the agent equipment B, is that every addressable subset is opened a port that is used to transmit from message between management equipment A and accessed subset Ci or Di or the Ei respectively by this forwarding server; The request message that sends by the forwarding server receiving management device A in the agent equipment B, and message is transmitted to accessed network equipment Ci or Di or Ei according to the port numbers of the accessed subset in the message; Then, the forwarding server in the agent equipment B is transmitted to management equipment A with the message of accessed network equipment Ci or Di or Ei answer again; Thereby,, under the situation that does not increase public network IP address, realize that the manager carries out the requirement of the management of remote cluster formula to large scale network equipment by the Web forwarding server on the agent equipment.
In order to realize the above-mentioned cluster management that large scale network equipment is carried out based on Web, need indicate the port numbers of the network equipment that will visit in the request message that management equipment A sends, which network equipment what forwarding server just can judge that management equipment A will visit according to the port numbers of the network equipment like this is.Then, the message that management equipment A sent according to the port numbers of the network equipment of forwarding server is transmitted to the accessed network equipment; And will be transmitted to management equipment A, thereby finish the management of management end to any equipment in the topological network from the answer message of accessed equipment.
In the middle of whole implement process, forwarding server only is the transmission work of having done a message, real management still will realize in the accessed network equipment, also little to the load of agent equipment like this, and, communicating by letter between management equipment A and network equipment Ci or Di or the Ei is to carry out for the port of each estrade devices allocation by agent equipment B, so saved a large amount of public network IP address.
As shown in Figure 2, the method based on Web realization concentrating type management for network devices provided by the invention may further comprise the steps:
A, management equipment are obtained the tree topology structural information of whole managed networks equipment, according to the tree topology structure of managed networks equipment, with the network equipment of the superiors in the topological structure equipment that deputizes;
B, be that agent equipment distributes a public network IP address; For agent equipment and each subset that links to each other with agent equipment distribute one to be in the inside private IP address of same network segment mutually with agent equipment;
C, start the Web forwarding server of acting server,, and each estrade equipment corresponding port number informed management equipment by this forwarding server port that is used to E-Packet of each estrade opening of device for linking to each other with agent equipment;
D, the request message that sends by the forwarding server module receiving management equipment in the agent equipment, and message is transmitted to accessed subset according to the port numbers of the accessed subset in the message; The message that accessed subset is replied is transmitted to management equipment.
Among the present invention, the agent equipment in the cluster exists two IP addresses-----outside public network IP address and inner private IP address.Creating in agent equipment has a global address space, deposits with agent equipment to be positioned at the inside private IP address of whole subsets of same network segment mutually in this space, and agent equipment is the port numbers of its unlatching and MAC Address separately (using as sign).Management equipment is set up communication by visit public network IP address and agent equipment, the destination interface that management equipment is issued in the message of agent equipment promptly is that agent equipment is the port that its a certain subset distributes, agent equipment finds the private IP address of corresponding subset according to this port numbers, carry out communication by inner private IP address and subset, thereby, realize management to subset.
Among the present invention, the forwarding server in the agent equipment has played in management equipment with by the effect of transmission message between the network equipment of managing, and is a module of most critical in the whole invention.The mode of socket data relay that adopted book server has realized that the message that carries out transmits between management equipment and accessed subset.Its principle is as follows:
1) obtains to be used between management equipment and agent equipment and agent equipment and the subset socket of data communication;
2) whether constantly monitor two socket, checking has message to send, as long as any one socket has message to send, then receives this message, at buffering area, and gives another socket with this data forwarding with deposit data.
3) repeated for the 2nd step, connect until this and interrupt.
Need to prove: since in the local area network (LAN) network equipment on roll off the production line, the change of IP address and the situations such as change of network equipment position all can cause network topology structure to change, this just needs forwarding server regularly to read topology information, upgrades subset information automatically.No longer be positioned at mutually the redundant socket of same network segment and the socket of the equipment that rolls off the production line with the agent equipment private IP address for current, forwarding server will in time be closed, to discharge memory source; For the subset that increases newly, agent equipment distributes inner private IP address (perhaps being provided with voluntarily) for it, and forwarding server is opened new port numbers for it, creates new socket, is used to E-Packet.
Fig. 3 is the particular flow sheet that the forwarding server in the agent equipment is transmitted the message between management equipment and the accessed subset in the specific embodiment of the invention.As shown in the figure, idiographic flow is as follows:
(1), obtains the inside private IP address of agent equipment and whole subsets; And open the port that is used to E-Packet for each subset;
(2), in agent equipment, create an overall array, in this array, deposit with agent equipment and be positioned at the inside private IP address of whole subsets of same network segment mutually, agent equipment is the port numbers of its unlatching and the MAC Address of subset self;
(3), create the socket socketA that is used to receive from the message of management equipment for each subset;
(4), agent equipment reads network topological information again, judge that being used for of having created carry out between management equipment and subset that reception message socketA that message transmits is whether redundant (to comprise whether this subset is online, and whether still be positioned at same network segment mutually) with the agent equipment private ip, if it is redundant, then close this socketA, discharge internal memory; Otherwise, continue down to carry out;
(5), seek whether new network subset is arranged; If no, then carry out (9) step, if any having, down carry out;
That (6), gives latest find is positioned at mutually with the agent equipment private IP address that the subset of same network segment distributes a port;
(7), continued for (6) step, up to all having distributed port for the satisfactory subset of all latest finds; And create the socketA that is used to receive message for the subset of latest find;
(8), carry out band () statement, bind this socket port;
(9), call select () function, whether monitor all socketA (comprise existed and just created) has the message to send;
(10) if overtime, return step (1); Otherwise, constantly monitor all socketA;
(11), then check and on this port, carry out the subset private IP address that message is transmitted, and create the socketB that is used for sending message to this subset if certain port has connection request;
(12), setting up socketB with the subset of this appointment private IP address is connected;
(13), call select () function, monitor two socket;
If overtime, call error information, termination process, redirect execution in step (15);
If do not receive any message, redirect execution in step (9)
Otherwise, whenever from a socket, receive a message and just leave in the buffering area, then the message in the buffering area is sent to another socket, thereby realized the message forwarding;
(14), transmit to finish and close socketB, the forwarding of end message;
(15), return step (9).
By top technical scheme explanation as can be known, the present invention is in whole topological structure, only distributed public network IP address for agent equipment, and all subsets that link to each other with agent equipment have been distributed private IP address that is used for internal communication and the port that is used to E-Packet, make management equipment carry out communication by public network IP address and agent equipment, and the communication between agent equipment and the accessed equipment is to be undertaken by the private IP address of the same network segment that freely distributes, thereby, realized cluster management, and saved a large amount of public network IP address resources effectively large scale network equipment.
For the keeper, as long as known the legitimate ip address and the port numbers of distributing to certain estrade equipment of agent equipment, just can be by the management of agent equipment realization to this subset, saved the IP address resource, and under the prerequisite that does not change standard http agreement, accomplished the network equipment of compatible all support standard http agreements.

Claims (4)

1, a kind of method based on Web realization concentrating type management for network devices, this method may further comprise the steps:
A, management equipment are obtained the tree topology structural information of whole managed networks equipment, according to the tree topology structure of managed networks equipment, with the network equipment of the superiors in the topological structure equipment that deputizes;
B, be that agent equipment distributes a public network IP address; For agent equipment and each subset that links to each other with agent equipment distribute one to be in the inside private IP address of same network segment mutually with agent equipment;
C, start the Web forwarding server of acting server,, and each estrade equipment corresponding port number informed management equipment by this forwarding server port that is used to E-Packet of each estrade opening of device for linking to each other with agent equipment;
D, the request message that sends by the forwarding server module receiving management equipment in the agent equipment, and message is transmitted to accessed subset according to the port numbers of the accessed subset in the message; The message that accessed subset is replied is transmitted to management equipment.
2, the method based on Web realization concentrating type management for network devices according to claim 1, it is characterized in that: described step C is finished by following steps:
(1), obtains the inside private IP address of agent equipment and the whole subsets that link to each other with agent equipment; Be port that is used to E-Packet of each estrade opening of device;
(2), in agent equipment, create a global address space, in this address space, deposit with agent equipment and be positioned at the inside private IP address of whole subsets of same network segment mutually, agent equipment is the port numbers of its unlatching and MAC Address separately;
(3), create the socket socketA that is used to receive the message that sends from management equipment for each subset;
(4), agent equipment reads network topological information again, judges whether being used for of having created carried out the reception message socketA that message transmits between management equipment and subset redundant, if redundant, then closes this socketA, discharges internal memory; Otherwise, continue down to carry out;
That (5), gives latest find is positioned at mutually with the agent equipment private IP address that the subset of same network segment distributes a port;
(6), continued for (5) step, up to all having distributed port for the satisfactory subset of all latest finds; And be the socketA of the subset establishment reception message of latest find;
(7), carry out band () statement, bind this socket port.
3, according to claim 1ly a kind ofly realize the network equipment is carried out the method for cluster management based on Web, it is characterized in that: described step D is finished by following steps:
(1), obtains to be used between management equipment and agent equipment and agent equipment and the subset socket of data communication;
(2), constantly whether monitor two socket, checking has message to send, as long as any one socket has message to send, then receives this message, at buffering area, and gives another socket with this data forwarding with deposit data;
(3), repeated for (2) step, until this connection interruption.
4, according to claim 3ly a kind ofly realize the network equipment is carried out the method for cluster management based on Web, it is characterized in that: described step (1)~(3) are specifically finished by following steps:
(1), call select () function, whether monitor the socketA that all subsets are used to receive message has message to send;
(2) if overtime, then return (1) of step C and go on foot; Otherwise, constantly monitor all socketA;
(3), then check and on this port, carry out the subset private IP address that message is transmitted, and create the socketB that is used for sending message to this subset if certain port has connection request;
(4), setting up socketB with the subset of this appointment private IP address is connected;
(5), call select () function, monitor two socket;
If it is overtime or do not receive any message, then redirect execution in step (7);
Otherwise, whenever from a socket, receive a message and just it is left in the buffering area, then the message in the buffering area is sent to another socket, thereby realized the message forwarding;
(6), transmit to finish and close socket B, the forwarding of end message;
(7), return step (1).
CNA2005100905103A 2005-08-17 2005-08-17 Method for realizing concentrating type management for network devices based on Web Pending CN1917436A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNA2005100905103A CN1917436A (en) 2005-08-17 2005-08-17 Method for realizing concentrating type management for network devices based on Web

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNA2005100905103A CN1917436A (en) 2005-08-17 2005-08-17 Method for realizing concentrating type management for network devices based on Web

Publications (1)

Publication Number Publication Date
CN1917436A true CN1917436A (en) 2007-02-21

Family

ID=37738334

Family Applications (1)

Application Number Title Priority Date Filing Date
CNA2005100905103A Pending CN1917436A (en) 2005-08-17 2005-08-17 Method for realizing concentrating type management for network devices based on Web

Country Status (1)

Country Link
CN (1) CN1917436A (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103379184A (en) * 2012-04-23 2013-10-30 深圳市腾讯计算机***有限公司 Network service access method and system
CN104683139A (en) * 2013-12-02 2015-06-03 成都鼎桥通信技术有限公司 Remote operation and maintenance method of communication equipment
CN104679877A (en) * 2015-03-12 2015-06-03 浪潮集团有限公司 High-availability cluster resource management method
CN106941527A (en) * 2017-03-15 2017-07-11 网宿科技股份有限公司 Shifting method and its system in a kind of data transfer
CN107483495A (en) * 2017-09-21 2017-12-15 浪潮软件股份有限公司 A kind of big data cluster Host Administration method, management system and service end
CN110266833A (en) * 2019-07-16 2019-09-20 广州虎牙科技有限公司 IP address management method and edge cluster
CN111756782A (en) * 2019-03-28 2020-10-09 比亚迪股份有限公司 Message transmission system and method based on heterogeneous operating system and vehicle

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103379184A (en) * 2012-04-23 2013-10-30 深圳市腾讯计算机***有限公司 Network service access method and system
US9832139B2 (en) 2012-04-23 2017-11-28 Tencent Technology (Shenzhen) Company Limited Method and system for accessing network service
CN104683139A (en) * 2013-12-02 2015-06-03 成都鼎桥通信技术有限公司 Remote operation and maintenance method of communication equipment
CN104683139B (en) * 2013-12-02 2018-09-18 成都鼎桥通信技术有限公司 A kind of remote operation maintaining method of communication equipment
CN104679877A (en) * 2015-03-12 2015-06-03 浪潮集团有限公司 High-availability cluster resource management method
CN106941527A (en) * 2017-03-15 2017-07-11 网宿科技股份有限公司 Shifting method and its system in a kind of data transfer
CN107483495A (en) * 2017-09-21 2017-12-15 浪潮软件股份有限公司 A kind of big data cluster Host Administration method, management system and service end
CN111756782A (en) * 2019-03-28 2020-10-09 比亚迪股份有限公司 Message transmission system and method based on heterogeneous operating system and vehicle
CN111756782B (en) * 2019-03-28 2023-03-14 比亚迪股份有限公司 Message transmission system and method based on heterogeneous operating system and vehicle
CN110266833A (en) * 2019-07-16 2019-09-20 广州虎牙科技有限公司 IP address management method and edge cluster

Similar Documents

Publication Publication Date Title
CN1266882C (en) A management method of network device
CN1188983C (en) Method of altering network equipment IP address via network managing equipment
CN1917436A (en) Method for realizing concentrating type management for network devices based on Web
CN1885858A (en) Method for carrying out cluster management on network equipment based on SNMP protocol
CN1859187A (en) Method and system for centrally configurating terminal equipment
CN1558606A (en) Network terminal automatic configuration method
CN1692616A (en) Network traffic control in peer-to-peer environments
CN1507734A (en) Generic external proxy
CN111884902B (en) VPN scene network shunting method and device
CN1083193C (en) Data storage device
CN1859304A (en) Method for realizing neighbour discovery
CN1968276A (en) Dynamic optimization method for data transmission between services in service oriented architecture environment
CN112202940A (en) Pod service mode for external exposure of kubernets
CN1917442A (en) Concentrating type method for managing networked devices based on embedded type TELNET server
CN1852187A (en) Method for realizing access-in management of on-line apparatus
CN104363306A (en) Private cloud management control method for enterprise
CN115955456A (en) IPv 6-based enterprise campus network and networking method
CN1152516C (en) Method for finding out IP network node
CN1113505C (en) Network management method with distributed network agent manager
CN1305259C (en) Method for realizing network management and gateway
CN1631018A (en) Method and appartus to retrieve information in a network
CN101043392A (en) Apparatus and base station equipment for transmitting IP packet in WiMAX network
CN1197296C (en) An information switch
CN1613243A (en) Method, apparatus and system for routing messages within a packet operating system
CN1863185A (en) Conversation managing method for multi-node intelligent network application service system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C02 Deemed withdrawal of patent application after publication (patent law 2001)
WD01 Invention patent application deemed withdrawn after publication