The content of the invention
In view of the foregoing, it is necessary to a kind of network equipment is provided and seeks system and method, different segment can be sought
Network equipment, recommends network manager.
A kind of network equipment seeks system, and applied to cloud server, the cloud server is connected not by cloud network
The network equipment of same network segment.The system includes a series of functional modules, and using these functional modules, the system receives network equipment
It is registered to the information, the information of the registered network equipment of creative management list records and tubulose state of receiving of cloud network.Receive tubulose
State includes each registered network equipment, and whether the identity for including range of management and network manager by network manager is known
Other information.Afterwards, the system receives the request for seeking network equipment that a network manager sends from management client, according to
The identity identification information of the network manager searches the all-network device of network manager management in the managing listings,
And the net with identical public ip address is searched in the managing listings according to the public ip address of the network equipment found
Network device.Then, the system pushes away the network equipment for not including management by any network manager in the network equipment found
Recommend to the network manager for sending request.
A kind of network equipment search method, applied to cloud server, the cloud server is connected not by cloud network
The network equipment of same network segment.This method includes:(A) information that network equipment is registered to cloud network is received;(B) creative management is arranged
Table, records the information of registered network equipment and receives tubulose state, and this, which receives tubulose state, includes each registered network equipment and be
It is no that range of management and the identity identification information of network manager are included by network manager;(C) network manager is received
The request for seeking network equipment sent from management client;(D) according to the identity identification information of the network manager described
The all-network device of network manager management is searched in managing listings;(E) according to the publicly-owned IP of the network equipment found
The network equipment with identical public ip address is searched in the managing listings in address;And (F) is by the network equipment found
In management is not included by any network manager network equipment recommend it is described send request network manager.
Compared to prior art, the network equipment that the present invention is provided seeks system and method, it is possible to achieve cross-network segment is sought
The network equipment of different segment, recommends network manager.
Embodiment
As shown in fig.1, being the applied environment figure that inventive network device seeks the preferred embodiment of system 10.The network is filled
The system of seeking 10 is put applied to cloud server 1.Cloud server 1 connects the network equipment of different segment by cloud network 2.
For example, Fig. 1 shows that segment A includes multiple network equipment a1~an, network segment B includes multiple network equipment b1~bn.The net of segment A
Network device a1~an is connected to high in the clouds by network address translation (network address translating, NAT) equipment 3
Network 2, network segment B network equipment b1~bn is connected to cloud network 2 by NAT device 4.The network equipment can be network
Video camera or other electronic installations.
NAT device (such as NAT device 3,4) is mainly used in realizing is converted to public ip address by private IP address.It is privately owned
IP address refers to the IP address of internal network or main frame, and public ip address refers to globally unique IP address on the internet.Example
Such as, network equipment a1, a2 of segment A have private IP address D1, D2 respectively in segment A, and NAT device 3 is connected to network dress
Put after the data packet that a1, a2 are sent to cloud network 2, the private IP address D1 or D2 that can record data packet are converted to net
Section A is to the public ip address M1 of external network, while recording the network equipment a1 or a2 that send the data packet private ip
Address D 1 or D2.
Network manager can check its network equipment managed by logging in management client.For example, the network in Fig. 1
Keeper can log in the management client 5 in segment A, can also log in the management client 6 in network segment B.Set by authority
Put, network manager can manage the network equipment of different segment.For example, network manager U1 can manage the net in segment A
Network equipment b8~b12 in network device a1~a5 and network segment B.
As shown in fig.2, being the functional block diagram that inventive network device seeks the preferred embodiment of system 10.The network is filled
Put the system of seeking 10 including the first receiving module 11, information logging modle 12, the second receiving module 13, the first searching modul 14,
Second searching modul 15 and recommending module 16.Using these functional modules, the network equipment seeks the storage access of system 10 high in the clouds
The information of the all-network device of network 2 is to managing listings 20.The managing listings 20 are that each network equipment creates a record,
The device identifying information (Device ID) that records the network equipment, the public ip address used and its tubulose state of receiving.The pipe of receiving
State refers to whether a network equipment includes range of management by some network manager, if including management model by network manager
Enclose, then tubulose state of receiving also includes the identity identification information (Owner ID) of network manager.
Each network equipment includes information updating module, such as the network equipment 7 shown in Fig. 2 includes information updating module
70.Information updating module 70 is used to register the network equipment 7 to cloud server 1 when network equipment 7 accesses cloud network 2
Information, and for the information (such as its public ip address used) when network equipment 7 change or receive tubulose state occur
During change, request cloud server 1 updates the information of the network equipment 7 recorded in managing listings 20.
Afterwards, seek system 10 when network equipment and receive network manager from a management client (such as managing customer
End 5) send when seeking the request of network equipment, the network manager is received pipe by the information recorded according to managing listings 20
All-network device feeds back to the network manager, and finds out and receive the network equipment of pipe with the network manager and have identical public affairs
There is IP address and do not received the network equipment of pipe, recommend the network manager.
Module 11-16 is instructed including computer programing, and the instruction of these computer programings and the managing listings 20 are deposited
Be stored in the storage device of cloud server 1, the processing equipment of cloud server 1 perform the instruction of these computer programings there is provided
Network equipment seeks the above-mentioned functions of system 10.Module 11-16 function is illustrated below in conjunction with Fig. 3.
As shown in fig.3, being the flow chart of inventive network device search method preferred embodiment.
Step S10, the first receiving module 11 receives the log-on message of network equipment, and the log-on message includes network equipment
Device identifying information (Device ID) and public ip address.
Step S20, the creative management list 20 of information logging modle 12 records registered network dress in managing listings 20
The information and tubulose state of receiving put.As described above, the managing listings 20, which are each network equipment, creates a record, the network is recorded
The device identifying information (Device ID) of device, the public ip address used and its tubulose state of receiving.The tubulose state of receiving refers to one
Whether individual network equipment includes range of management by some network manager, if including range of management by network manager, receives pipe
State also includes the identity identification information (Owner ID) of network manager.
Step S30, the receiving network managing person of the second receiving module 13 seeks network equipment from what management client was sent
Request.For example, it is assumed that network manager U1 logs in management client 5, network manager U1 can be sought by management client 5
The all-network device in segment A belonging to management client 5 is obtained, but management client 5 can not seek the net of other network segments
Network device.Now, management client 5 can send request to cloud server 1.
Step S40, the first searching modul 14 is looked into according to the identity identification information of the network manager in managing listings 20
The all-network device for looking for the network manager to manage.For example, the first searching modul 14 finds network pipe from managing listings 20
The network equipment of reason person U1 management includes network equipment a1~a5 in segment A and network equipment b8~b12 in network segment B.The
The all-network device that one searching modul 14 can manage the network manager found feeds back to the net with tabular form
The management client 5 that network keeper U1 is logged in is shown.In other embodiments, first searching modul 14 will can be found
Otherwise, the form such as chart, form feeds back to the network management to the all-network device of network manager management
The management client 5 that member U1 is logged in is shown.
Step S50, the second searching modul 15 is according to the public ip address of the network equipment found in the managing listings
The network equipment with identical public ip address is searched in 20.Have for example, it is assumed that step S40 finds network equipment a1~a5
Identical public ip address M1, network equipment b8~b12 has identical public ip address M2, then the second searching modul 15 is in institute
Other network equipments for searching that public ip address is M1 or M2 in managing listings 20 are stated, network equipment a8~a10 may be found,
B8~b12.
Step S60, recommending module 16 will not included the net of management by any network manager in the network equipment found
Network device recommends the network manager for sending request.For example, it is assumed that the device in the network equipment a8~a10 found
A10 includes range of management by network manager U2, and the network equipment b8~b12 found device b8 is by network pipe
Reason person U2 includes range of management, then recommending module 16 is weeded out after a10, b8, and a8~a9 and b9~b12 are recommended into network management
Member U1.The mode of recommendation can be that the management client 5 logged in network manager U1 ejects a prompt window, point out " hair
The network equipment of management is not included now, whether you will include range of management by following apparatus * * * * automatically" network manager U1 can
To ignore the recommendation information, " confirmation " button of prompt window can also be clicked on, the network equipment of recommendation is included to the pipe of oneself
Manage scope.In other embodiments, the mode of recommendation can also be to push text to the network manager U1 management clients 5 logged in
The network for not including management by any network manager in the form of part, the file record of the push network equipment found is filled
The information put.
It should be noted last that, the above embodiments are merely illustrative of the technical solutions of the present invention and it is unrestricted, although ginseng
The present invention is described in detail according to above preferred embodiment, it will be understood by those within the art that, can be to this
The technical scheme of invention is modified or equivalent substitution, without departing from the spirit and scope of technical solution of the present invention.