The content of the invention
It is a primary object of the present invention to provide a kind of network equipment connection system and method, it is intended to solve above-mentioned ask
Topic.
The present invention provides a kind of network equipment connection system, and the system is applied to by a handheld apparatus, multiple first nets
In network equipment and the hardware environment of multiple second network equipments composition, each first network equipment and each second network are set
Standby corresponding a unique identification information, unique network address and unique device name, the first network equipment are used for it
The data on second network equipment connected have management and control authority, and the handheld apparatus is stored with an address state table, the ground
The network address of first network equipment and the network address of device name and second network equipment are stored with the state table of location and is set
Standby title, network equipment connection system include:First control module, for responding an instruction, control handheld apparatus is transferred
Device name corresponding to the network equipment in address state table, and by device name according to first network equipment and second network equipment
It is shown separately on a display interface;First control module, it is additionally operable to response user and one second net is pulled on display interface
Instruction at the device name of network equipment to the device name of a first network equipment, control handheld apparatus send solicited message
To first network equipment, network address and device name corresponding to second network equipment are included in the solicited message;And second
Control module, for responding the solicited message, the first network equipment is controlled to pass through the second net corresponding to network address connection
Network equipment.
The present invention also provides network device connection method, and this method is applied to by a handheld apparatus, multiple first networks
In equipment and the hardware environment of multiple second network equipments composition, each first network equipment and each second network equipment
Corresponding a unique identification information, unique network address and unique device name, the first network equipment are used for its institute
Data on second network equipment of connection have management and control authority, and the handheld apparatus is stored with an address state table, the address
The network address and device name and the network address and equipment of second network equipment of first network equipment are stored with state table
Title, the network device connection method comprise the following steps:The instruction of response one, control handheld apparatus are transferred in address state table
Device name corresponding to the network equipment, and device name is shown separately in one according to first network equipment and second network equipment
On display interface;Response user pulls the device name of one second network equipment to a first network equipment on display interface
Instruction at device name, control handheld apparatus send solicited message to first network equipment, included in the solicited message
Network address and device name corresponding to second network equipment;And the solicited message is responded, control the first network equipment to pass through
Second network equipment corresponding to network address connection.
The present invention the network equipment connection system and method, using a handheld apparatus show corresponding to first network equipment
And second the network equipment device name in a display interface, and drag operation of one user of response on display interface, control
First network equipment connects second network equipment, so that user can quickly distinguish net according to the device name of the network equipment
The current position of network equipment and second network equipment that can be quickly by position determination by way of towing be connected to the first net
In network equipment.
Embodiment
Fig. 1 show a kind of running environment schematic diagram of network equipment connection system 100.The network equipment connects system
100 are applied to by a handheld apparatus 2, multiple first network equipment 1(One illustration is only shown in Fig. 1)And multiple second
The network equipment 3(One illustration is only shown in Fig. 1)In the hardware environment of composition.Each first network equipment 1 and each
Individual second network equipment 3 corresponding a unique identification information, unique network address and unique device name.The identification information
For the physical address of the network equipment 3 of first network equipment 1 or second.The first network equipment 1 is used for the connected to it
Data on two network equipments 3 have management and control authority.In present embodiment, the handheld apparatus 2 is mobile phone, and the first network is set
Standby 1 is network monitoring device, and second network equipment 3 is web camera.The handheld apparatus 2 is stored with an address state table
22(As shown in Figure 3), the network address and device name of the network equipment are stored with the address state table 22.
Network equipment connection system 100 includes several modules.Several modules include the first control module
101st, the second control module 102 and the 3rd control module 103.
First control module 101 is used to respond an instruction, and control handheld apparatus 2 is transferred network in address state table and set
Standby corresponding device name, and the device name is shown separately in a display by the network equipment 3 of first network equipment 1 and second
Interface 21(As shown in Figure 2)On.In present embodiment, the device name of the first network equipment 1 is shown in display interface 21
Left side, the device name of second network equipment 3 are shown in the right side of display interface 21, in other embodiment, first net
The device name of network equipment 1 can be also shown in above display interface 21, and the device name of second network equipment 3 is shown in aobvious
Show below interface 21.First control module 101, which is additionally operable to respond user, pulls one second network on display interface 21 and sets
Instruction at standby 3 device name to the device name of a first network equipment 1, control handheld apparatus 2 send solicited message
To first network equipment 1, network address and device name corresponding to second network equipment 3 are included in the solicited message.This
Two control modules 102 are used to respond the solicited message, control the first network equipment 1 to pass through the corresponding to network address connection
Two network equipments 3.Second control module 102 is additionally operable to after first network equipment 1 connects second network equipment 3, control
First network equipment 1 sends a device name inquiry message to second network equipment 3.3rd control module 103 is used to ring
Should device name inquiry message, second network equipment 3 of control replys the device name of itself to first network equipment 1.This
Two control modules 102 are additionally operable to the device name for second network equipment 3 that response receives, by setting for second network equipment 3
Standby title is shown in the linkage interface 11 of first network equipment 1(As shown in Figure 4)On, with this so that user clearly current management and control
It is the video data of which web camera.In present embodiment, first control module 101 is run on handheld apparatus 2,
Second control module 102 is run in first network equipment 1, and the 3rd control module 103 runs on second network equipment 3
On.In other embodiment, first control module 101, the second control module 102 and the 3rd control module 103 also can bases
The setting of user is run in different equipment.
Further, several modules also include the first detecting module 104.First detecting module 104 is used to respond
The device name for second network equipment 3 that second network equipment 3 received is replied, detects second network equipment 3 received
Device name it is whether consistent with the device name of second network equipment 3 in the solicited message that handheld apparatus 2 is sent.This
Two control modules 102 are additionally operable to the request sent in the device name of second network equipment 3 received with handheld apparatus 2
When the device name of second network equipment 3 is inconsistent in information, control first network equipment 1 sends the second network received and set
Standby 3 device name is to handheld apparatus 2.First control module 101 is additionally operable to the first network equipment 1 that response receives and sent out
The device name for second network equipment 3 sent, control handheld apparatus 2 change second network equipment 3 in address state table
Device name be second network equipment 3 received device name, consequently facilitating user next time in use, the address state
The device name of second network equipment 3 in table 22 is all the title of latest update.In present embodiment, first detecting module
104 run in first network equipment 1.
Further, several modules also include identification module 105, the second detecting module 106 and acquisition module 107.
First control module 101 is additionally operable to the instruction of response one, and control handheld apparatus 2 shoots first network equipment 1 and second respectively
The identification information of the network equipment 3.The identification module 105 be used to identifying first network equipment 1 taken by handheld apparatus 2 and
The identification information of second network equipment 3.First control module 101 is additionally operable to control the handheld apparatus 2 to pass through wireless network
Broadcast one has the search information of identification information.Second detecting module 106 is set for whether detecting to receive first network
Standby 1 or second the network equipment 3 be directed to the echo message of the search information-reply, the echo message includes the net of the network equipment
Network address.The acquisition module 107 is used for when receiving echo message, obtains the first network equipment included by the echo message
1 or second network address corresponding to the network equipment 3.First control module 101 is additionally operable to control handheld apparatus 2 to receive use
The device name that family inputs for the network equipment corresponding to the network address, record the device name corresponding to heterogeneous networks equipment
In an address state table 22, and control handheld apparatus 2 transmits the device name of the input to network by wireless network
The network equipment 3 of first network equipment 1 or second corresponding to location.Second control module 102 is additionally operable to control first net
Network equipment 1 records the device name that the handheld apparatus 2 transmission comes.3rd control module 103 is additionally operable to control the second network
Equipment 3 records the device name that the handheld apparatus 2 transmission comes.In present embodiment, the identification module 105, second detecting
Module 106 and the acquisition module 107 are run on handheld apparatus 2.
Fig. 5 is a kind of method flow diagram of network equipment name.
Step S601, the instruction of first control module 101 response one, control handheld apparatus 2 shoot first network respectively
The identification information of the network equipment 3 of equipment 1 and second.
Step S602, the net of first network equipment 1 and second taken by the identification module 105 identification handheld apparatus 2
The identification information of network equipment 3.
Step S603, first control module 101 control the handheld apparatus 2 to have identification by wireless network broadcast one
The search information of information.
Step S604, whether second detecting module 106 is detected receives the network of first network equipment 1 or second and sets
Standby 3 are directed to the echo message of the search information-reply.
Step S605, when receiving echo message, the acquisition module 107 obtains the first net corresponding to the echo message
Network address corresponding to the network equipment 3 of network equipment 1 or second.
Step S606, the first control module 101 control handheld apparatus 2 receive user and are directed to net corresponding to the network address
The device name of network equipment input, the device name corresponding to heterogeneous networks equipment is recorded in an address state table 22, and control
Handheld apparatus 2 processed transmits the first network equipment 1 corresponding to the device name to network address of the input by wireless network
Or second network equipment 3.
Step S607, it is next that second control module 102 controls the first network equipment 1 to record the handheld apparatus 2 transmission
Device name.
Step S608, the 3rd control module 103 control second network equipment 3 to record what the handheld apparatus 2 transmission came
Device name.
Fig. 6 is a kind of method flow diagram of network equipment connection.
Step S701, the instruction of first control module 101 response one, control handheld apparatus 2 transfer address state table 22
Device name corresponding to the middle network equipment, and the device name is shown separately by the network equipment 3 of first network equipment 1 and second
In on a display interface 21.
Step S702, first control module 101 response user pull one second network equipment 3 on display interface 21
Instruction at device name to the device name of a first network equipment 1, control handheld apparatus 2 send solicited message to first
The network equipment 1, include network address and device name corresponding to second network equipment 3 in the solicited message.
Step S703, second control module 102 respond the solicited message, control the first network equipment 1 to pass through the net
Second network equipment 3 corresponding to the connection of network address.
Step S704, after first network equipment 1 connects second network equipment 3, second control module 102 controls
First network equipment 1 sends a device name inquiry message to second network equipment 3.
Step S705, the 3rd control module 103 respond the device name inquiry message, and second network equipment 3 of control returns
The device name of itself is answered to first network equipment 1.
Step S706, the device name of second network equipment 3 that second control module 102 response receives, by this
The device name of two network equipments 3 is shown on the linkage interface 11 of first network equipment 1.
Further, this method is further comprising the steps of:The second network that first detecting module 104 response receives is set
The device name of standby 3 second network equipments 3 replied, detect second network equipment 3 received device name whether with hand
The device name of second network equipment 3 is consistent in the solicited message that held device 2 is sent.In second network equipment received
, should when the device name of second network equipment 3 is inconsistent in the solicited message that 3 device name is sent with handheld apparatus 2
Device name to the hand-held that second control module 102 control first network equipment 1 sends second network equipment 3 received fills
Put 2.The implementor name for second network equipment 3 that the first network equipment 1 that first control module 101 response receives is sent
Claim, the device name for controlling second network equipment 3 in the change address state table of handheld apparatus 2 is the second network received
The device name of equipment 3.