A kind of method for remotely controlling and terminal
Technical field
The present invention relates to the communications field, more particularly, to a kind of method for remotely controlling and terminal.
Background technology
With the development of this social informatization, the requirement to household for the people has been more than physical space, more concern
It is a home environment conveniently, safely, comfortable.In this context, for meeting the demand of people, smart home arises at the historic moment.
Smart home utilize advanced computer technology, network communications technology, comprehensive wiring technology, according to human engineering
Principle, merges individual needs, by the subsystems relevant with life staying idle at home, for example: security protection, signal light control, curtain control etc.
Intelligence combines, and is controlled by networking comprehensive intelligent and manages, realizes the lived experience of smart home.
Meanwhile, recently as fast development of intelligent mobile terminal, such as mobile phone and panel computer etc., intelligence is eventually
The intelligence degree more and more higher at end, people also improve therewith to the expectation of intelligent mobile terminal, and are merely not only to expire
The services such as foot communication, amusement, being more desirable to it can be in other aspect provides convenients service of life.Now, with wireless technology
Development, intelligent mobile terminal can replace normal remote control and become the universal remote control of household electrical appliances, wherein, more developers
Sight is concentrated one's gaze in the smart home that intelligent mobile terminal is integrated into the modern times.
But at present, control in smart home in existing intelligent terminal, intelligent terminal be mostly by infrared ray, bluetooth or
The communication networks such as the Internet and smart home are set up communication link and are fetched and be controlled intelligent appliance, and among these, infrared technology is only
Enable man-to-man communication, Bluetooth technology can only be confined to the communication of a small range, Internet technology needs to connect to interconnection
Net network, this makes it produce campus network, and the defect of these wireless communication technologys is all by the development of limitation smart home, and gives use
Make troubles in family.
Content of the invention
Embodiment of the present invention technical problem to be solved is, provides a kind of method for remotely controlling and terminal, it is possible to decrease
User's cost of use, improve user's using effect and improve terminal unit intelligent.
First aspect present invention provides a kind of method for remotely controlling, comprising:
Obtain remote pilot order, described remote pilot order carries the identification information of controlled terminal equipment;
According to the identification information of described controlled terminal equipment, obtain the routing iinformation of described controlled terminal equipment;
Described remote pilot order is sent to described controlled terminal equipment according to described routing iinformation.
In the first possible implementation, include before obtaining control command:
Receive the network information of the network equipment broadcast of LAN, in described LAN, comprise at least one terminal unit;
According to the described network information, access described LAN.
In conjunction with the first possible implementation of first aspect, in the possible implementation of second, described local
The identification information of network equipment storage at least one terminal unit described of net, and the route of at least one terminal unit described
Information.
In conjunction with the possible implementation of the second of first aspect, in the third possible implementation, described acquisition
Include before remote pilot order:
Obtain the identification information of at least one terminal unit in described LAN;
Obtain at least one terminal in described LAN according to the corresponding relation of preset identification information and display information
Display information corresponding to the identification information of equipment;
Show described display information.
In conjunction with the third possible implementation of first aspect, in the 4th kind of possible implementation, described acquisition
Remote pilot order includes:
When user is detected any one display information being operated, generate remote pilot order, described remote control control
Order processed carries the corresponding identification information of described display information, and wherein, the terminal unit that described identification information is identified is controlled
Terminal unit.
The possible implementation of the second of the first the possible implementation in conjunction with first aspect or first aspect or
The third possible implementation of first aspect or the 4th kind of possible implementation of first aspect are possible at the 5th kind
In implementation, the described identification information according to described controlled terminal equipment, obtain the routing iinformation of described controlled terminal equipment,
Including:
Send route acquisition request to the network equipment of described LAN, carry described controlled in described route acquisition request
The identification information of terminal unit, so that the network equipment of described LAN searches the routing iinformation of described controlled terminal equipment;
Receive the routing iinformation of the described controlled terminal equipment of network equipment return of described LAN.
The second of the first the possible implementation in conjunction with first aspect or first aspect or first aspect is possible
4th kind of possible implementation of the third possible implementation of implementation or first aspect or first aspect or
5th kind of possible implementation of one side, in the 6th kind of mode in the cards, described according to described routing iinformation to
Described controlled terminal equipment sends described remote pilot order, comprising:
According to described routing iinformation, described remote pilot life is sent to described controlled terminal equipment using zigbee agreement
Order.
Second aspect present invention provides a kind of terminal, comprising:
First acquisition module, for obtaining remote pilot order, described remote pilot order carries controlled terminal equipment
Identification information;
Second acquisition module, for the identification information according to described controlled terminal equipment, obtains described controlled terminal equipment
Routing iinformation;
Sending module, for sending described remote pilot order according to described routing iinformation to described controlled terminal equipment.
In the first mode in the cards, described terminal also includes:
Receiver module, the network information that the network equipment for receiving LAN is broadcasted, comprise at least in described LAN
One terminal unit;
AM access module, for according to the described network information, accessing described LAN.
In conjunction with the first possible implementation of second aspect, in the possible implementation of second, described local
The identification information of network equipment storage at least one terminal unit described of net, and the route of at least one terminal unit described
Information.
In conjunction with the possible implementation of the second of second aspect, in the third possible implementation, described end
End includes:
3rd acquisition module, for obtaining the identification information of at least one terminal unit in described LAN;
4th acquisition module, for obtaining described LAN according to the corresponding relation of preset identification information and display information
Display information corresponding to the identification information of at least one interior terminal unit;
Display module, for showing described display information.
In conjunction with the third possible implementation of second aspect, in the 4th kind of possible implementation, described
One acquisition module includes:
Generate order unit, for when user is detected any one display information being operated, generating remote control control
System order, described remote pilot order carries the corresponding identification information of described display information, and wherein, described identification information is identified
Terminal unit be controlled terminal equipment.
The possible implementation of the second of the first the possible implementation in conjunction with second aspect or second aspect or
In 4th kind of possible implementation of the third possible implementation of second aspect or second aspect, in the 5th kind of possibility
Implementation in, described second acquisition module includes:
Transmitting element, for sending route acquisition request, described route acquisition request to the network equipment of described LAN
In carry the identification information of described controlled terminal equipment, so that the network equipment of described LAN searches described controlled terminal equipment
Routing iinformation;
Receiving unit, the route letter of the described controlled terminal equipment that the network equipment for receiving described LAN returns
Breath.
The second of the first the possible implementation in conjunction with second aspect or second aspect or second aspect is possible
In 4th kind of possible implementation of the third possible implementation of implementation or second aspect or second aspect or
5th kind of possible implementation of second aspect, in the 6th kind of possible implementation, described sending module includes:
Transmitting element, for according to described routing iinformation, sending institute using zigbee agreement to described controlled terminal equipment
State remote pilot order.
Therefore, in some embodiments of the invention, terminal obtains remote pilot order, and is ordered according to remote pilot
Make the routing iinformation of the identification information acquisition controlled terminal equipment of the controlled terminal equipment carrying, thus according to routing iinformation to quilt
Control terminal equipment sends remote pilot order.This is so that terminal can control terminal unit in LAN so that terminal
Equipment control is simple and convenient, and effectively reduces user's cost of use, the intelligence improving user's using effect and improving terminal unit
Property.
Brief description
In order to be illustrated more clearly that the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing
Have technology description in required use accompanying drawing be briefly described it should be apparent that, drawings in the following description be only this
Some embodiments of invention, for those of ordinary skill in the art, on the premise of not paying creative work, acceptable
Other accompanying drawings are obtained according to these accompanying drawings.
Fig. 1 is a kind of schematic diagram of method for remotely controlling provided in an embodiment of the present invention;
Fig. 2 is the schematic diagram of another kind method for remotely controlling provided in an embodiment of the present invention;
Fig. 3 is a kind of structural representation of terminal provided in an embodiment of the present invention;
Fig. 4 is the structural representation of another kind terminal provided in an embodiment of the present invention.
Specific embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete
Site preparation description is it is clear that described embodiment is only a part of embodiment of the present invention, rather than whole embodiments.It is based on
Embodiment in the present invention, it is every other that those of ordinary skill in the art are obtained under the premise of not making creative work
Embodiment, broadly falls into the scope of protection of the invention.
Terminal described in the invention mays include: mobile phone, panel computer, notebook computer, digital camera, DV
Etc. terminal.Above-mentioned terminal is only citing, and non exhaustive.Below will be distant to one kind provided in an embodiment of the present invention taking mobile phone as a example
Control control method and terminal are specifically described.
Referring to Fig. 1, it is a kind of method for remotely controlling embodiment schematic flow sheet provided in an embodiment of the present invention.As Fig. 1 institute
Show, a kind of method for remotely controlling described in the present embodiment includes step:
S100, obtains remote pilot order, and described remote pilot order carries the identification information of controlled terminal equipment.
In specific embodiment, remote pilot order include handle icon on user operation mobile phone, intelligent use software or
The remote pilot order that mobile phone key generates.Wherein, intelligent use software can be displayed in LAN and sets up communication link with mobile phone
The display information of the terminal unit connecing.For example: the terminal unit such as display " television equipment ", " air-conditioning " and " refrigerator " on mobile phone
Character mark sets up the terminal units such as television equipment, air-conditioning and the refrigerator of communication connection to identify with mobile phone, so that user can
The display information being shown according to mobile phone, selects a terminal unit in the display information of at least one terminal unit of display
Carrying out operational control, wherein, the corresponding terminal unit of selected display information is then by control terminal to display information, and
And, display information can be handle icon.Further, the identification information of the corresponding terminal unit of each display information, often
Individual identification information points to corresponding terminal unit, and wherein, identification information may include the ip address of the id of terminal unit, terminal unit
Or the data corresponding one by one with terminal unit or order are set.When user according to display information to be manipulated when, mobile phone
The display information being steered corresponding remote pilot order can be obtained, remote pilot order carries the mark corresponding to display information
Information, wherein, the terminal unit that identification information is identified is to be controlled terminal unit.
By upper we it is understood that when mobile phone detect user to mobile phone on display any one display information enter
During row operation, that is, one of at least one terminal unit terminal unit is remotely controlled operation as by control terminal by user
When, for example: the handle icon that user selects on intelligent use software is character mark is that " air-conditioning " is remotely controlled operation, its
In, there are shutdown, start under " air-conditioning " character mark, reduce temperature and rise the control instructions such as high-temperature, mobile phone will be grasped according to user
Make control instruction therein and get remote pilot order.Wherein, remote pilot order also carries the display operated by user
Identification information corresponding to information, described identification information can be gone out identified controlled device by handset identity, for example: Yong Hu
The shutdown command that character mark is under " air-conditioning " is selected to be operated on intelligent use software, mobile phone obtains according to the operation of user
To shutdown remote pilot order, meanwhile, this order will carry the identification information corresponding to handle icon " air-conditioning ", this identification information
Air-conditioning equipment can be identified, this enables shutdown remote pilot order to be accurately sent to the air-conditioning of required control so as to response is closed
Machine remote pilot order.
S101, according to the identification information of described controlled terminal equipment, obtains the routing iinformation of described controlled terminal equipment.
In specific embodiment, mobile phone can be according to the corresponding relation of the identification information of terminal unit and routing iinformation from locally depositing
The routing iinformation being controlled terminal unit is obtained in storage, or, obtain routing iinformation in the network equipment from network for the mobile phone.?
In specific application, mobile phone can prestore the routing iinformation of connected device end and the mark letter corresponding to device end
The corresponding relation of breath, for example: the ip address of the corresponding air-conditioning equipment of the routing iinformation of air-conditioning equipment.Further, it is also possible that net
The relevant information of all terminal units in net for the network equipment maintenance in network, described relevant information includes the position of terminal unit
Put, the information such as distance, the network equipment can get the routing iinformation of terminal unit according to these relevant informations, and stores terminal and set
Standby routing iinformation.When mobile phone does not inquire identification information institute in the corresponding relation with routing iinformation for the preset identification information
Corresponding routing iinformation, mobile phone can send routing information request to the network equipment in network, and described routing information request carries
Identification information.When the network equipment can receive the routing information request of mobile phone transmission, the network equipment can obtain according to identification information
Get the routing iinformation of the terminal unit that identification information is identified, then routing iinformation is returned to mobile phone.Wherein specific, route
Information includes mobile phone to the optimum transmitting path being controlled terminal unit to send remote pilot order, and optimum transmitting path can be
The remote pilot order that mobile phone sends is forwarded to, through minimum nodes, the path being controlled terminal unit, or, through short distance
From to the path being controlled terminal unit.
S102, sends described remote pilot order according to described routing iinformation to described controlled terminal equipment.
In embodiments of the present invention, terminal carries zighee(bidirectional wireless communication technology) module, terminal passes through
Zigbee module can set up zigbee terminal unit network, for example: set up zigbee intelligent home network.Mobile phone can pass through
Zigbee network sends remote pilot order according to the routing iinformation obtaining to controlled terminal equipment.Wherein, zigbee network is
The effective node (terminal unit) 256 that can accommodate greatly, disclosure satisfy that the intelligent home network of the foundation of domestic consumer substantially
The terminal unit number included, and can achieve the communication of one-to-many.And, the effective range that zigbee network covers can be
1 km, overcomes the defect of the Small Extension Node. Communications of the short-distance techniques such as bluetooth, and frequency range residing for zigbee network is free simultaneously
Frequency range, mobile phone can access zigbee network by zigbee agreement, control the terminal unit in zigbee network, and do not produce stream
Amount expense, therefore mobile phone carries out zigbee by zigbee agreement with intelligent home network communicates and can effectively reduce communication expense
With.
Further, when mobile phone leaves zigbee network or when mobile phone is in outside zigbee network, mobile phone can pass through
Other network switch device (as gateway) access in zigbee network, for example, pass through wifi(wireless fidelity, wirelessly
Fidelity technology) or gprs(general packet radio service, general packet radio service technology) etc. communication network
Set up communication connection with zigbee network, and controlled terminal equipment can be obtained in zigbee network by other network switch device
In routing iinformation, and according to routing iinformation in zigbee network controlled terminal equipment send remote pilot order, this makes
Even if obtaining the network that user is set up away from terminal unit, still can carry out remotely control, improving Consumer's Experience effect.
Referring to Fig. 2, it is a kind of method for remotely controlling embodiment schematic flow sheet provided in an embodiment of the present invention.As Fig. 2 institute
Show, a kind of method for remotely controlling described in the present embodiment includes step:
S200, receives the network information of the network equipment broadcast of LAN, comprises at least one terminal in described LAN
Equipment.
In specific embodiment, described LAN can be zigbee network, and zigbee network includes at least one terminal
Equipment, each terminal unit can serve as routing node and is present in zigbee network.When the route section in zigbee network
Identification information that point (i.e. terminal unit) is carried with the signal receiving mismatch then routing node according to routing iinformation to other
Routing node is forwarded, therefore in zigbee network, can be in the communications using the indirect force of node and automatically select optimal
The mode sending signal of route.
Further, the network equipment in zigbee network, the network equipment can be network coordinator, when certain
Between, to zigbee network broadcast network information, the network equipment can be by the advertising network information oneself of broadcast for the network equipment
Information such as network site or to being not connected with the end-point device broadcast network information in zigbee network, make not setting up connection in network
Terminal unit according to broadcast the network information choose whether access zigbee network.
Further, the terminal unit in zigbee network, when becoming the control node in network, handss need to be controlled when mobile phone
Machine can send control node application information to the network equipment, and the network equipment receives the control node application information of mobile phone transmission,
Mobile nodes are set to control node, thus mobile phone can be to the other-end equipment transmitting control commands in network.Wherein, net
Multiple terminals can be had in network to apply to become control node.
S201, according to the described network information, accesses described LAN.
In specific embodiment, when the network information of the network equipment broadcast receiving LAN, and, mobile phone net to be responded
During network information access zigbee network, mobile phone can operate addition order on intelligent use software, makes mobile phone return application information,
The network equipment is confirmed according to the application information that mobile phone returns, thus machine of taking over accesses zigbee network.
When the network equipment receives the Shen that a terminal unit application not accessing zigbee network accesses zigbee network
Please information when confirming described application information, the identification information that the network equipment will store this terminal unit is corresponding with this identification information
Routing iinformation, when the terminal unit that the network equipment receives an access zigbee network leaves the information of zigbee network
When, the network equipment by routing iinformation corresponding with identification information for the identification information deleting this terminal unit, wherein, deposit by the network equipment
Store up the identification information of at least one terminal unit and the routing iinformation of at least one terminal unit.The network equipment can be regularly to control
The identification information that node sends storage identification information or sends storage when the identification information of storage has renewal to control node.Become
For control node mobile phone according to the locally displayed display information of the update of identification information receiving, make user according to described display
Information acquisition terminal equipment whether information in zigbee network, and can be according to the described display information end corresponding to identification information
End equipment is controlled operating.
S202, obtains remote pilot order, and described remote pilot order carries the identification information of controlled terminal equipment.
In specific embodiment, remote pilot order include handle icon on user operation mobile phone, intelligent use software or
The remote pilot order that mobile phone key generates.Wherein, when mobile phone receives the identification information of network equipment transmission, intelligent use
Software can show the display information corresponding to the identification information of at least one terminal unit setting up communication connection with mobile phone, its
In, display information may include the character mark of terminal unit.When there being terminal unit to leave zigbee network, mobile phone will receive
Identification information after the renewal that the network equipment sends, the mark leaving the terminal unit of zigbee network is believed by intelligent use software
The corresponding display information of breath is locked, and is allowed to can not be operated, for example: the terminal unit in zigbee network corresponds to
Display information shown with colour on intelligent use software, the corresponding display information of offline terminal unit intelligence should
With being shown with Lycoperdon polymorphum Vitt on software, allow the user to judge whether terminal unit can carry out operation control according to the change of color
System.Further, the display information of terminal unit can be, for example: display " television equipment ", " air-conditioning " and " ice on mobile phone
The character mark of the terminal units such as case " sets up the terminals such as television equipment, air-conditioning and the refrigerator of communication connection to identify with mobile phone
Equipment, so that the display information that user can show according to mobile phone, selects in the display information of at least one terminal unit of display
Select the display information of a terminal unit to carry out operational control, wherein, the corresponding terminal unit of selected display information is then
It is by control terminal.Further, the identification information of the corresponding terminal unit of each display information, each identification information points to
Corresponding terminal unit, wherein, identification information may include the id of terminal unit, the ip address of terminal unit or setting and terminal
Equipment data corresponding one by one or order.When user according to display information to be manipulated when, mobile phone can obtain and to be steered
Display information corresponding remote pilot order, remote pilot order carries the identification information corresponding to display information, wherein, mark
The terminal unit that information is identified is to be controlled terminal unit.By upper we it is understood that when mobile phone detects user couple
When on mobile phone, any one display information of display is operated, that is, one of at least one terminal unit terminal is set by user
Standby as operation is remotely controlled by control terminal when, for example: the handle icon that user selects on intelligent use software is character
It is designated " air-conditioning " and is remotely controlled operation, wherein, have shutdown, start under " air-conditioning " character mark, reduce temperature and rise high-temperature
Etc. control instruction, mobile phone will get remote pilot order according to user operation control instruction therein.Wherein, remote pilot
Order also carries the identification information corresponding to display information operated by user, and described identification information can be gone out mark by handset identity
The controlled device known, for example: user selects the shutdown command that character mark is under " air-conditioning " to carry out on intelligent use software
Operation, mobile phone gets shutdown remote pilot order according to the operation of user, and meanwhile, this order will carry handle icon " air-conditioning "
Corresponding identification information, this identification information can identify air-conditioning equipment, and this enables shutdown remote pilot order accurately to send
Air-conditioning remote pilot order so as to response is shut down to required control.
Further, the terminal unit in zigbee network, when becoming the control node in network, handss need to be controlled when mobile phone
Machine can send control node application information to the network equipment, and the network equipment receives the control node application information of mobile phone transmission,
Mobile nodes are set to control node, thus mobile phone can be to the other-end equipment transmitting control commands in network.Wherein, net
Multiple terminals can be had in network to apply to become control node.
S203, according to the identification information of described controlled terminal equipment, obtains the routing iinformation of described controlled terminal equipment.
In specific embodiment, mobile phone can be according to the corresponding relation of the identification information of terminal unit from locally stored middle acquisition quilt
The routing iinformation of control terminal equipment or mobile phone are sent out to the network equipment in zigbee network according to the identification information of terminal unit
Route acquisition is sent to ask, meanwhile, route acquisition request carries the identification information being controlled terminal unit.When the network equipment receives
During the route acquisition request that mobile phone sends, the network equipment is believed by the mark controlling terminal unit according to what route acquisition request carried
Breath searches routing iinformation corresponding to described identification information from the routing iinformation of storage, and the routing iinformation finding is returned to
Mobile phone, makes mobile phone send remote pilot order according to described routing iinformation.Wherein, routing iinformation includes sending remote pilot order
Optimum transmitting path, optimum transmitting path can be mobile phone send remote pilot information be forwarded to through minimum nodes controlled
The path of terminal unit processed, or, through beeline to the path being controlled terminal unit.
S204, sends described remote pilot order according to described routing iinformation to described controlled terminal equipment.
In embodiments of the present invention, terminal carries zighee(bidirectional wireless communication technology) module, terminal passes through
Zigbee module can set up zigbee terminal unit network, for example: set up zigbee intelligent home network.Mobile phone can pass through
Zigbee network sends remote pilot order according to the routing iinformation obtaining to controlled terminal equipment.Wherein, zigbee network is
The effective node (terminal unit) 256 that can accommodate greatly, disclosure satisfy that the intelligent home network of the foundation of domestic consumer substantially
The terminal unit number included, and can achieve the communication of one-to-many.And, the effective range that zigbee network covers can be
1 km, overcomes the defect of the Small Extension Node. Communications of the short-distance techniques such as bluetooth, and frequency range residing for zigbee network is free simultaneously
Frequency range, mobile phone can access zigbee network by zigbee agreement, control the terminal unit in zigbee network, and do not produce stream
Amount expense, therefore can effectively reduce communication cost by intelligent home network is set up using zigbee network.
Further, when mobile phone leaves zigbee network or when mobile phone is in outside zigbee network, mobile phone can pass through
Other network switch device (as gateway) access in zigbee network, for example, pass through communication network and the zigbee such as wifi or gprs
Network sets up communication connection, and can obtain route in zigbee network for the controlled terminal equipment by other network switch device
Information, and remote pilot order is sent to the controlled terminal equipment in zigbee network according to routing iinformation, this makes the user to be
Make the network set up away from terminal unit, still can carry out remotely control, improve Consumer's Experience effect.
For ease of the more preferable such scheme implementing the embodiment of the present invention, it is also provided below and implements such scheme for cooperation
Relevant apparatus.
Refer to Fig. 3, be a kind of terminal provided in an embodiment of the present invention.As shown in figure 3, it is a kind of whole described in the present embodiment
End mays include: the first acquisition module 100, the second acquisition module 200 and sending module 300.
Wherein, the first acquisition module 100, for obtaining remote pilot order, described remote pilot order carries controlled end
The identification information of end equipment.
In specific embodiment, remote pilot order include handle icon on user operation mobile phone, intelligent use software or
The remote pilot order that mobile phone key generates.Wherein, intelligent use software can be displayed in LAN and sets up communication link with mobile phone
The display information of the terminal unit connecing.For example: the terminal unit such as display " television equipment ", " air-conditioning " and " refrigerator " on mobile phone
Character mark sets up the terminal units such as television equipment, air-conditioning and the refrigerator of communication connection to identify with mobile phone, so that user can
The display information being shown according to mobile phone, selects a terminal unit in the display information of at least one terminal unit of display
Carrying out operational control, wherein, the corresponding terminal unit of selected display information is then by control terminal to display information, and
And, display information can be handle icon.Further, the identification information of the corresponding terminal unit of each display information, often
Individual identification information points to corresponding terminal unit, and wherein, identification information may include the ip address of the id of terminal unit, terminal unit
Or the data corresponding one by one with terminal unit or order are set.When user according to display information to be manipulated when, mobile phone
The display information being steered corresponding remote pilot order can be obtained, remote pilot order carries the mark corresponding to display information
Information, wherein, the terminal unit that identification information is identified is to be controlled terminal unit.
By upper we it is understood that when the first acquisition module 100 detect user on mobile phone display any one
When individual display information is operated, that is, one of at least one terminal unit terminal unit is entered by user as by control terminal
During row remote manipulation, for example: it is distant that the handle icon that user selects on intelligent use software is that character mark is that " air-conditioning " is carried out
Control operation, wherein, has shutdown, start, reduces temperature and rise the control instructions such as high-temperature under " air-conditioning " character mark, the first acquisition
Module 100 will get remote pilot order according to user operation control instruction therein.Wherein, remote pilot order is also taken
With the identification information corresponding to the display information operated by user, described identification information can be gone out identified controlled by handset identity
Control equipment, for example: user selects the shutdown command that character mark is under " air-conditioning " to be operated on intelligent use software, first
Acquisition module 100 gets shutdown remote pilot order according to the operation of user, and meanwhile, it is " empty that this order will carry handle icon
Identification information corresponding to tune ", this identification information can identify air-conditioning equipment, and this enables shutdown remote pilot order accurately to send out
Deliver to the air-conditioning of required control so as to respond shutdown remote pilot order.
Second acquisition module 200, for the identification information according to described controlled terminal equipment, obtains described controlled terminal and sets
Standby routing iinformation.
In specific embodiment, the second acquisition module 200 can be corresponding with routing iinformation according to the identification information of terminal unit
Relation is controlled the routing iinformation of terminal unit from locally stored middle acquisition, or, net from network for second acquisition module 200
Routing iinformation is obtained in network equipment.In specific application, mobile phone can prestore the routing iinformation of connected device end
With the corresponding relation of the identification information corresponding to device end, for example: the ip of the corresponding air-conditioning equipment of the routing iinformation of air-conditioning equipment
Address.Further, it is also possible that the relevant information of network equipment maintenance in the network all terminal units in net, described
Relevant information includes the information such as the position of terminal unit, distance, when the second acquisition module 200 is in preset identification information and route
The routing iinformation corresponding to identification information is not inquired, the second acquisition module 200 can be in network in the corresponding relation of information
The network equipment send routing information request, described routing information request carries identification information.When the network equipment can receive in one's hands
During the routing information request that machine sends, the network equipment can get identification information institute according to the relevant information of the network equipment in net
The routing iinformation of the terminal unit of mark, then routing iinformation is returned to the second acquisition module 200.Wherein specific, route letter
Breath includes mobile phone to the optimum transmitting path being controlled terminal unit to send remote pilot order, and optimum transmitting path can be handss
The remote pilot information that machine sends is forwarded to, through minimum nodes, the path being controlled terminal unit, or, through beeline
To the path being controlled terminal unit.
Sending module 300, for sending described remote pilot life according to described routing iinformation to described controlled terminal equipment
Order.
In embodiments of the present invention, terminal carries zighee module, and terminal can set up zigbee by zigbee module
Terminal unit network, for example: set up zigbee intelligent home network.Sending module 300 can be by zigbee network according to acquisition
Routing iinformation to controlled terminal equipment send remote pilot order.Wherein, effective section that zigbee network maximum can accommodate
Point (terminal unit) 256, disclosure satisfy that the terminal unit number that the intelligent home network of the foundation of domestic consumer is included substantially
Mesh, and can achieve the communication of one-to-many.And, the effective range that zigbee network covers can overcome bluetooth in 1 km
Deng the defect of the Small Extension Node. Communications of short-distance technique, frequency range residing for zigbee network is free frequency range simultaneously, and mobile phone can pass through
Zigbee agreement accesses zigbee network, controls the terminal unit in zigbee network, and does not produce campus network, therefore mobile phone leads to
Cross zigbee agreement and to carry out zigbee with intelligent home network to communicate and can effectively reduce communication cost.
Further, when mobile phone leaves zigbee network or when mobile phone is in outside zigbee network, mobile phone can pass through
Other network switch device (as gateway) access in zigbee network, for example, pass through communication network and the zigbee such as wifi or gprs
Network sets up communication connection, and can obtain route in zigbee network for the controlled terminal equipment by other network switch device
Information, and remote pilot order is sent to the controlled terminal equipment in zigbee network according to routing iinformation, this makes the user to be
Make the network set up away from terminal unit, still can carry out remotely control, improve Consumer's Experience effect.
Refer to Fig. 4, a kind of terminal providing for the present invention.Terminal described in the invention mays include: mobile phone, flat board electricity
The terminals such as brain, notebook computer, digital camera, DV.As shown in figure 4, a kind of terminal described in the present embodiment can be wrapped
Include: the first acquisition module 100, the second acquisition module 200 and sending module 300.
Wherein, described terminal also includes:
Receiver module 400, for receive LAN the network equipment broadcast the network information, comprise in described LAN to
A few terminal unit.
In specific embodiment, described LAN can be zigbee network, and zigbee network includes at least one terminal
Equipment, each terminal unit can serve as routing node and is present in zigbee network.When the route section in zigbee network
Identification information that point (i.e. terminal unit) is carried with the signal receiving mismatch then routing node according to routing iinformation to other
Routing node is forwarded, therefore in zigbee network, can be in the communications using the indirect force of node and automatically select optimal
The mode sending signal of route.
Further, the network equipment in zigbee network, the network equipment can be network coordinator, when certain
Between, to zigbee network broadcast network information, the network equipment can be by the advertising network information oneself of broadcast for the network equipment
Information such as network site or to being not connected with the end-point device broadcast network information in zigbee network, make not setting up connection in network
Terminal unit according to broadcast the network information choose whether access zigbee network.
Further, the terminal unit in zigbee network need to be controlled when mobile phone, when becoming the control node in network,
Mobile phone can send control node application information to the network equipment, and the network equipment receives the control node letter of application of mobile phone transmission
Breath, mobile nodes is set to control node, thus mobile phone can be to the other-end equipment transmitting control commands in network.Its
In, multiple terminals can be had in network to apply to become control node.
AM access module 500, for according to the described network information, accessing described LAN.
In specific embodiment, when receiver module 400 receives the network information of the network equipment broadcast of LAN, and,
When mobile phone is intended to response to network information access zigbee network, mobile phone can operate addition order on intelligent use software, makes mobile phone
Return application information, the network equipment is confirmed according to the application information that mobile phone returns, thus AM access module 500 receives network and sets
Mobile phone is accessed zigbee network by standby confirmation.
When the network equipment receives the Shen that a terminal unit application not accessing zigbee network accesses zigbee network
Please information when confirming described application information, the identification information that the network equipment will store this terminal unit is corresponding with this identification information
Routing iinformation, when the terminal unit that the network equipment receives an access zigbee network leaves the information of zigbee network
When, the network equipment by routing iinformation corresponding with identification information for the identification information deleting this terminal unit, wherein, deposit by the network equipment
Store up the identification information of at least one terminal unit and the routing iinformation of at least one terminal unit.The network equipment can be regularly to control
The identification information that node sends storage identification information or sends storage when the identification information of storage has renewal to control node.Become
For control node mobile phone according to the locally stored display information of the update of identification information receiving, make user according to described display
Information acquisition terminal equipment whether information in zigbee network, and can be according to the described display information end corresponding to identification information
End equipment is controlled operating.
3rd acquisition module 600, for obtaining the identification information of at least one terminal unit in described LAN.
In embodiments of the present invention, the identification information storage of terminal unit is in the network equipment of LAN, wherein, network
Equipment is storable in the identification information of the terminal unit on LAN.3rd acquisition module 600 can be to the network equipment of LAN
Send and obtain requests for identification information, so that network equipment response obtains requests for identification information returning to the 3rd acquisition module 600
Return the identification information of terminal unit.
4th acquisition module 700, for obtaining described office according to the corresponding relation of preset identification information and display information
The display information corresponding to the identification information of at least one terminal unit in the net of domain.
In embodiments of the present invention, each identification information of terminal preset corresponds to a display information, and each identification information refers to
To corresponding terminal unit, wherein, identification information may include the id of terminal unit, the ip address of terminal unit or arranges and whole
End equipment data corresponding one by one or order.Display information includes the data messages such as the icon of display, character.For example: in handss
The display information of the character mark of terminal unit such as " television equipment ", " air-conditioning " and " refrigerator " of display on machine.
Display module 800, for showing described display information.
In embodiments of the present invention, display module 800 can be displayed in the terminal setting up communication connection in LAN with mobile phone
The display information of equipment.For example: the character mark of the terminal unit such as display " television equipment ", " air-conditioning " and " refrigerator " on mobile phone
Set up the terminal units such as television equipment, air-conditioning and the refrigerator of communication connection to identify with mobile phone, so that user can be according to mobile phone
The display information of display, selects the display information of a terminal unit in the display information of at least one terminal unit of display
To carry out operational control, wherein, the corresponding terminal unit of selected display information is then by control terminal.
Further, when there being terminal unit to leave zigbee network, mobile phone will receive the renewal of network equipment transmission
Identification information afterwards, the display information left corresponding to the identification information of the terminal unit of zigbee network is entered by display unit 10
Row locking, is allowed to can not be operated, for example: the corresponding handle icon display unit of the terminal unit in zigbee network 10
Shown with colour, offline terminal unit corresponding handle icon display unit 10 is shown with Lycoperdon polymorphum Vitt, so that user
Can judge whether terminal unit can carry out operational control according to the change of the color of display unit 10 display.
Generate order unit 10, for when user is detected any one display information being operated, generating remote control
Control command, described remote pilot order carries the corresponding identification information of described display information, and wherein, described identification information is marked
The terminal unit known is controlled terminal equipment.
In specific embodiment, generation order unit 10 detects user and is entered according to the display information that display module 800 shows
During row operation, generate remote pilot order, wherein, remote pilot order terminal carries the identification information being controlled terminal unit.
Wherein, described second acquisition module 200 also includes:
First transmitting element 20, for sending route acquisition request to the network equipment of described LAN, described route obtains
Take the identification information carrying described controlled terminal equipment in request, so that the network equipment of described LAN searches described controlled end
The routing iinformation of end equipment.
In specific embodiment, the first transmitting element 20 passes through zigbee agreement and sends route acquisition request to the network equipment,
Wherein, carry the identification information of controlled terminal equipment in route acquisition request, so that the network equipment of zigbee network searches quilt
The routing iinformation of control terminal equipment.Further, routing iinformation includes sending the optimum transmitting path of remote pilot order.Mobile phone
Remote pilot order is sent to by control terminal according to routing iinformation.
Receiving unit 30, the route letter of the described controlled terminal equipment that the network equipment for receiving described LAN returns
Breath.
In specific embodiment, send route acquisition request, the network equipment when the network equipment receives the first transmitting element 20
Parse described route acquisition request and obtain the identification information that route acquisition request carries, the network equipment searches institute according to identification information
State the routing iinformation of terminal unit corresponding to identification information, and routing iinformation is returned to receiving unit 30.Wherein, the network information
Routing iinformation is returned to receiving unit 40 by zigbee agreement by section, or, will be route by communication networks such as gprs, wifi
Information returns to receiving unit 30.
Wherein, described sending module 300 also includes:
Second transmitting element 40, for according to described routing iinformation, using zigbee agreement to described controlled terminal equipment
Send described remote pilot order.
In specific embodiment, the terminal unit carrying zighee module can set up zigbee terminal unit network, for example:
Set up zigbee intelligent home network.Mobile phone can be sent out to controlled terminal equipment according to the routing iinformation obtaining by zigbee network
Send remote pilot order.Wherein, effective node (terminal unit) 256 that zigbee network maximum can accommodate, substantially can
Meet the terminal unit number that the intelligent home network of the foundation of domestic consumer is included, and can achieve the communication of one-to-many.And
And, the effective range that zigbee network covers can overcome the Small Extension Node. Communications of the short-distance techniques such as bluetooth in 1 km
Defect, frequency range residing for zigbee network is free frequency range simultaneously, and mobile phone can access zigbee network by the second transmitting element 40,
Control the terminal unit in zigbee network, and do not produce campus network, therefore mobile phone is adopted by the second transmitting element 40
Zigbee agreement to carry out zigbee with intelligent home network to communicate and can effectively be reduced communication cost.
Therefore, in some embodiments of the invention, terminal obtains remote pilot order, and is ordered according to remote pilot
Make the routing iinformation of the identification information acquisition controlled terminal equipment of the controlled terminal equipment carrying, thus according to routing iinformation to quilt
Control terminal equipment sends remote pilot order.This is so that terminal can control terminal unit in LAN so that terminal
Equipment control is simple and convenient, and effectively reduces user's cost of use, the intelligence improving user's using effect and improving terminal unit
Property.
It should be noted that for aforesaid each method embodiment, in order to be briefly described, therefore it is all expressed as a series of
Combination of actions, but those skilled in the art should know, the present invention is not limited by described sequence of movement because
According to the present invention, some steps can be carried out using other orders or simultaneously.Secondly, those skilled in the art also should know
Know, embodiment described in this description belongs to preferred embodiment, involved action and the module not necessarily present invention
Necessary.
In the above-described embodiments, the description to each embodiment all emphasizes particularly on different fields, and does not have the portion described in detail in certain embodiment
Point, may refer to the associated description of other embodiment.
To sum up, in some embodiments of the invention, terminal obtains remote pilot order, and is taken according to remote pilot order
The identification information of the controlled terminal equipment of band obtains the routing iinformation of controlled terminal equipment, thus according to routing iinformation to being controlled
Terminal unit sends remote pilot order.This is so that terminal can control terminal unit in LAN so that terminal unit
Control simple and convenient, and effectively reduce user's cost of use, improve user's using effect and improve the intelligent of terminal unit.
One of ordinary skill in the art will appreciate that realizing all or part of flow process in above-described embodiment method, it is permissible
Instruct related hardware to complete by computer program, described program can be stored in a computer read/write memory medium
In, this program is upon execution, it may include as the flow process of the embodiment of above-mentioned each method.Wherein, described storage medium can be magnetic
Dish, CD, read-only memory (read-only memory, rom) or random access memory (random access
Memory, ram) etc..
Above disclosed be only present pre-ferred embodiments, certainly the right model of the present invention can not be limited with this
Enclose, the equivalent variations therefore made according to the claims in the present invention, still belong to the scope that the present invention is covered.