Summary of the invention
Embodiment of the present invention technical problem to be solved is, a kind of method for remotely controlling and terminal are provided, and can reduce user's cost of use, improves user's result of use and improve the intelligent of terminal equipment.
First aspect present invention provides a kind of method for remotely controlling, comprising:
Obtain remote control control command, described remote control control command is carried 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;
According to described routing iinformation, to described controlled terminal equipment, send described remote control control command.
In the first possibility implementation, obtain control command and comprise before:
The network information that receives the network equipment broadcast of local area network (LAN), comprises at least one terminal equipment in described local area network (LAN);
According to the described network information, access described local area network (LAN).
In conjunction with the possible implementation of the first of first aspect, in the possible implementation of the second, the identification information of described at least one terminal equipment of the network equipment of described local area network (LAN) storage, and the routing iinformation of described at least one terminal equipment.
In conjunction with the possible implementation of the second of first aspect, in the third possible implementation, described in obtain before remote control control command and comprise:
Obtain the identification information of at least one terminal equipment in described local area network (LAN);
According to preset identification information and the corresponding relation that shows information, obtain the corresponding demonstration information of identification information of at least one terminal equipment in described local area network (LAN);
Show described demonstration information.
In conjunction with the third possible implementation of first aspect, in the 4th kind of possible implementation, described in obtain remote control control command and comprise:
When user being detected any one demonstration information operated, generate remote control control command, described remote control control command is carried identification information corresponding to described demonstration information, and wherein, the terminal equipment that described identification information identifies is controlled terminal equipment.
In conjunction with the third possible implementation of the possible implementation of the second of the possible implementation of the first of first aspect or first aspect or first aspect or the 4th kind of possible implementation of first aspect, in the 5th kind of possible implementation, described according to the identification information of described controlled terminal equipment, the routing iinformation that obtains described controlled terminal equipment, comprising:
The network equipment to described local area network (LAN) sends route acquisition request, carries the identification information of described controlled terminal equipment, so that the network equipment of described local area network (LAN) is searched the routing iinformation of described controlled terminal equipment in described route acquisition request;
Receive the routing iinformation of the described controlled terminal equipment that the network equipment of described local area network (LAN) returns.
In conjunction with the 4th kind of possible implementation of the third possible implementation of the possible implementation of the second of the possible implementation of the first of first aspect or first aspect or first aspect or first aspect or first aspect or the 5th kind of possible implementation of first aspect, in the 6th kind of mode in the cards, describedly according to described routing iinformation, to described controlled terminal equipment, send described remote control control command, comprising:
According to described routing iinformation, adopt Zigbee agreement to send described remote control control command to described controlled terminal equipment.
Second aspect present invention provides a kind of terminal, comprising:
The first acquisition module, for obtaining remote control control command, described remote control control command is carried the identification information of controlled terminal equipment;
The second acquisition module, for according to the identification information of described controlled terminal equipment, obtains the routing iinformation of described controlled terminal equipment;
Sending module, for sending described remote control control command according to described routing iinformation to described controlled terminal equipment.
In the first mode in the cards, described terminal also comprises:
Receiver module, for receiving the network information of the network equipment broadcast of local area network (LAN), comprises at least one terminal equipment in described local area network (LAN);
Access module, for according to the described network information, accesses described local area network (LAN).
In conjunction with the possible implementation of the first of second aspect, in the possible implementation of the second, the identification information of described at least one terminal equipment of the network equipment of described local area network (LAN) storage, and the routing iinformation of described at least one terminal equipment.
In the possible implementation of the second of second aspect, in the third possible implementation, described terminal comprises:
The 3rd acquisition module, for obtaining the identification information of at least one terminal equipment in described local area network (LAN);
The 4th acquisition module, for obtaining the corresponding demonstration information of identification information of at least one terminal equipment in described local area network (LAN) according to preset identification information and the corresponding relation that shows information;
Display module, for showing described demonstration information.
In the third possible implementation in conjunction with second aspect, in the 4th kind of possible implementation, described the first acquisition module comprises:
Generate command unit, for when user being detected any one demonstration information operated, generation remote control control command, described remote control control command is carried identification information corresponding to described demonstration information, wherein, the terminal equipment that described identification information identifies is controlled terminal equipment.
In the third possible implementation of the possible implementation of the second of the possible implementation of the first of second aspect or second aspect or second aspect or the 4th kind of possible implementation of second aspect, in the 5th kind of possible implementation, described the second acquisition module comprises:
Transmitting element, sends route acquisition request for the network equipment to described local area network (LAN), carries the identification information of described controlled terminal equipment, so that the network equipment of described local area network (LAN) is searched the routing iinformation of described controlled terminal equipment in described route acquisition request;
Receiving element, for receiving the routing iinformation of the described controlled terminal equipment that the network equipment of described local area network (LAN) returns.
In conjunction with in the third possible implementation of the possible implementation of the second of the possible implementation of the first of second aspect or second aspect or second aspect or second aspect or the 4th kind of possible implementation of second aspect or the 5th kind of possible implementation of second aspect, in the 6th kind of possible implementation, described sending module comprises:
Transmitting element, for according to described routing iinformation, adopts Zigbee agreement to send described remote control control command to described controlled terminal equipment.
Therefore, in some embodiments of the invention, terminal is obtained remote control control command, and the identification information of the controlled terminal equipment carrying according to remote control control command obtains the routing iinformation of controlled terminal equipment, thus according to routing iinformation to being sent remote control control command by control terminal.This can, so that the terminal equipment of terminal in can control area net(CAN) controlled terminal equipment simple and convenient, and effectively reduced user's cost of use, improve user's result of use and improve the intelligent of terminal equipment.
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 clearly and completely described, obviously, described embodiment is only the present invention's part embodiment, rather than whole embodiment.Embodiment based in the present invention, those of ordinary skills, not making the every other embodiment obtaining under creative work prerequisite, belong to the scope of protection of the invention.
Terminal described in the invention can comprise: the terminals such as mobile phone, panel computer, notebook computer, digital camera, Digital Video.Above-mentioned terminal is only for example, and non exhaustive.Mobile phone will take below as example, and a kind of method for remotely controlling and terminal that the embodiment of the present invention is provided are specifically described.
Referring to Fig. 1, it is a kind of method for remotely controlling embodiment schematic flow sheet that the embodiment of the present invention provides.As shown in Figure 1, a kind of method for remotely controlling described in the present embodiment comprises step:
S100, obtains remote control control command, and described remote control control command is carried the identification information of controlled terminal equipment.
In specific embodiment, remote control control command comprises the remote control control command that handle icon, intelligent use software or the mobile phone key on user's operating handset generates.Wherein, intelligent use software can be presented at the demonstration information of the terminal equipment establishing a communications link with mobile phone in local area network (LAN).Such as: the character mark that shows the terminal equipments such as " television equipment ", " air-conditioning " and " refrigerator " on mobile phone identifies the terminal equipments such as television equipment, air-conditioning and refrigerator that establish a communications link with mobile phone, so that the demonstration information that user can show according to mobile phone, in the demonstration information of at least one terminal equipment showing, select the demonstration information of a terminal equipment to operate control, wherein, terminal equipment corresponding to selected demonstration information is by control terminal, and demonstration information can be handle icon.Further, the identification information of the corresponding terminal equipment of each demonstration information, each identification information points to corresponding terminal equipment, and wherein, identification information can comprise the ID of terminal equipment, corresponding data or the order one by one of the IP address of terminal equipment or setting and terminal equipment.When user controls according to demonstration information, mobile phone can obtain remote control control command corresponding to demonstration information of being controlled, remote control control command is carried the corresponding identification information of demonstration information, and wherein, the terminal equipment that identification information identifies is by control terminal.
By upper we be understandable that, when mobile phone detects any one demonstration information that user shows on to mobile phone and operates, be user using a terminal equipment at least one terminal equipment when being carried out straighforward operation by control terminal, for example: the handle icon that user selects on intelligent use software is that character mark is that " air-conditioning " carries out straighforward operation, wherein, under " air-conditioning " character mark, have the control commands such as shutdown, start, reduction temperature and rising temperature, mobile phone will get remote control control command according to user's operation control command wherein.Wherein, remote control control command is also carried the operated corresponding identification information of demonstration information of user, described identification information can be gone out the controlled device being identified by handset identity, for example: it is that shutdown command under " air-conditioning " operates that user selects character mark on intelligent use software, mobile phone gets shutdown remote control control command according to user's operation, simultaneously, this order will be carried the corresponding identification information of handle icon " air-conditioning ", this identification information can identify air-conditioning equipment, this remote control control command that makes to shut down can accurately send to the air-conditioning of required control, make its response shutdown remote control control command.
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 obtain by the routing iinformation of control terminal according to the corresponding relation of the identification information of terminal equipment and routing iinformation from the storage of this locality, or, in the network equipment of mobile phone from network, obtain routing iinformation.In concrete application, mobile phone can the routing iinformation of pre-stored connected device end and the corresponding relation of the corresponding identification information of device end, for example: the IP address of the corresponding air-conditioning equipment of routing iinformation of air-conditioning equipment.Further, can also be, network equipment maintenance in network is in the relevant information of all terminal equipments of net, described relevant information comprises the information such as the position, distance of terminal equipment, the network equipment can get according to these relevant informations the routing iinformation of terminal equipment the routing iinformation of storage terminal equipment.When mobile phone does not inquire the corresponding routing iinformation of identification information in the corresponding relation of preset identification information and routing iinformation, mobile phone can send routing iinformation request to the network equipment in network, and identification information is carried in described routing iinformation request.When the network equipment can receive the routing iinformation request that mobile phone sends, the network equipment can get according to identification information the routing iinformation of the terminal equipment that identification information identifies, then routing iinformation is returned to mobile phone.Wherein concrete, routing iinformation comprises that mobile phone is to sent the optimum transmit path of remote control control command by control terminal, optimum transmit path can be that the remote control control command that mobile phone sends is forwarded to by the path of control terminal through minimum nodes, or, through beeline, arrive by the path of control terminal.
S102, sends described remote control control command 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 can be set up Zigbee terminal equipment network by Zigbee module, for example: set up Zigbee intelligent home network.Mobile phone can send remote control control command according to the routing iinformation obtaining to controlled terminal equipment by Zigbee network.Wherein, 256 of effective nodes (terminal equipment) that Zigbee network maximum can be held, can meet the terminal equipment number that the intelligent home network of the foundation of domestic consumer is included substantially, and can realize the communication of one-to-many.And, the effective range that Zigbee network is contained can be 1 kilometer of left and right, overcome the defect of the Small Extension Node. Communications of the short-distance techniques such as bluetooth, Zigbee network frequency range of living in is free frequency range simultaneously, mobile phone can be by Zigbee agreement access Zigbee network, control the terminal equipment in Zigbee network, and do not produce campus network, therefore mobile phone comes to carry out Zigbee with intelligent home network by Zigbee agreement, communicate by letter and can effectively reduce communication cost.
Further, when mobile phone leaves Zigbee network or mobile phone outside Zigbee network time, mobile phone can be by other network switch equipment (as gateway) access Zigbee networks, for example, by WIFI(Wireless Fidelity, adopting wireless fidelity technology) or GPRS(General Packet Radio Service, general packet radio service technology) etc. communication network and Zigbee network establish a communications link, and can obtain the routing iinformation of controlled terminal equipment in Zigbee network by other network switch equipment, and to the controlled terminal equipment in Zigbee network, send remote control control command according to routing iinformation, even the network that this makes user set up away from terminal equipment, still can carry out Long-distance Control, improve user's experience effect.
Referring to Fig. 2, it is a kind of method for remotely controlling embodiment schematic flow sheet that the embodiment of the present invention provides.As shown in Figure 2, a kind of method for remotely controlling described in the present embodiment comprises step:
S200, the network information of the network equipment broadcast of reception local area network (LAN), comprises at least one terminal equipment in described local area network (LAN).
In specific embodiment, described local area network (LAN) can be Zigbee network, and Zigbee network comprises at least one terminal equipment, and each terminal equipment can serve as routing node and be present in Zigbee network.The identification information that routing node in Zigbee network (being terminal equipment) carries with the signal receiving does not mate routing node and forwards to other routing nodes according to routing iinformation, therefore in Zigbee network, can adopt relay the automatic mode transmitted signal of selecting best route between node in communication.
Further, the network equipment in Zigbee network, the network equipment can be network coordinator, often at regular intervals, the network equipment is to Zigbee network broadcast network information, the network equipment can be noticed the own information such as network site or to the not connection end-point device broadcast network information in Zigbee network, be made the terminal equipment not connecting in network whether access Zigbee network according to the network information selection of broadcast by the network information of broadcast.
Further, when mobile phone need be controlled the terminal equipment in Zigbee network, while becoming the control node in network, mobile phone can send and control node application information to the network equipment, the network equipment receives the control node application information that mobile phone sends, by mobile phone Node configuration for controlling node, thereby mobile phone can send control command to the other-end equipment in network.Wherein, in network, can there be a plurality of terminal to apply to become control node.
S201, according to the described network information, accesses described local area network (LAN).
In specific embodiment, when receiving the network information of the network equipment broadcast of local area network (LAN), and, when mobile phone is wanted response to network information access Zigbee network, mobile phone can operate and add order on intelligent use software, make mobile phone return to application information, the application information that the network equipment returns according to mobile phone is confirmed, thus catcher machine access Zigbee network.
When the network equipment receives the application information of a terminal equipment application access Zigbee network that does not access Zigbee network and confirms described application information, the network equipment is by identification information and the routing iinformation corresponding to this identification information of this terminal equipment of storage, the terminal equipment that receives an access Zigbee network when the network equipment is while leaving the information of Zigbee network, the network equipment will be deleted identification information and the routing iinformation corresponding to identification information of this terminal equipment, wherein, the network equipment is stored the identification information of at least one terminal equipment and the routing iinformation of at least one terminal equipment.The network equipment can regularly maybe send to controlling node the identification information of storing to controlling node transmission storaging mark information when the identification information of storage has renewal.Become the mobile phone of control node according to the local demonstration information showing of the update of identification information receiving, make user according to described demonstration information acquisition terminal equipment whether at Zigbee network internal information, and can to terminal equipment corresponding to identification information, carry out control operation according to described demonstration information.
S202, obtains remote control control command, and described remote control control command is carried the identification information of controlled terminal equipment.
In specific embodiment, remote control control command comprises the remote control control command that handle icon, intelligent use software or the mobile phone key on user's operating handset generates.Wherein, when mobile phone receives the identification information of network equipment transmission, intelligent use software can show the corresponding demonstration information of the identification information of at least one terminal equipment establishing a communications link with mobile phone, and wherein, demonstration information can comprise the character mark of terminal equipment.When having terminal equipment to leave Zigbee network, mobile phone is by the identification information receiving after the renewal that the network equipment sends, intelligent use software locks the corresponding demonstration information of identification information of leaving the terminal equipment of Zigbee network, make it to operate, for example: demonstration information corresponding to terminal equipment in Zigbee network shows with colour on intelligent use software, the demonstration information corresponding to terminal equipment of off-line shows with grey on intelligent use software, so that user can judge whether terminal equipment can operate control according to the variation of color.Further, the demonstration information of terminal equipment can be, such as: the character mark that shows the terminal equipments such as " television equipment ", " air-conditioning " and " refrigerator " on mobile phone identifies the terminal equipments such as television equipment, air-conditioning and refrigerator that establish a communications link with mobile phone, so that the demonstration information that user can show according to mobile phone, in the demonstration information of at least one terminal equipment showing, select the demonstration information of a terminal equipment to operate control, wherein, terminal equipment corresponding to selected demonstration information is by control terminal.Further, the identification information of the corresponding terminal equipment of each demonstration information, each identification information points to corresponding terminal equipment, and wherein, identification information can comprise the ID of terminal equipment, corresponding data or the order one by one of the IP address of terminal equipment or setting and terminal equipment.When user controls according to demonstration information, mobile phone can obtain remote control control command corresponding to demonstration information of being controlled, remote control control command is carried the corresponding identification information of demonstration information, and wherein, the terminal equipment that identification information identifies is by control terminal.By upper we be understandable that, when mobile phone detects any one demonstration information that user shows on to mobile phone and operates, be user using a terminal equipment at least one terminal equipment when being carried out straighforward operation by control terminal, for example: the handle icon that user selects on intelligent use software is that character mark is that " air-conditioning " carries out straighforward operation, wherein, under " air-conditioning " character mark, have the control commands such as shutdown, start, reduction temperature and rising temperature, mobile phone will get remote control control command according to user's operation control command wherein.Wherein, remote control control command is also carried the operated corresponding identification information of demonstration information of user, described identification information can be gone out the controlled device being identified by handset identity, for example: it is that shutdown command under " air-conditioning " operates that user selects character mark on intelligent use software, mobile phone gets shutdown remote control control command according to user's operation, simultaneously, this order will be carried the corresponding identification information of handle icon " air-conditioning ", this identification information can identify air-conditioning equipment, this remote control control command that makes to shut down can accurately send to the air-conditioning of required control, make its response shutdown remote control control command.
Further, when mobile phone need be controlled the terminal equipment in Zigbee network, while becoming the control node in network, mobile phone can send and control node application information to the network equipment, the network equipment receives the control node application information that mobile phone sends, by mobile phone Node configuration for controlling node, thereby mobile phone can send control command to the other-end equipment in network.Wherein, in network, can there be a plurality of terminal 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 obtain by the routing iinformation of control terminal or mobile phone and to the network equipment in Zigbee network, send route acquisition request according to the identification information of terminal equipment according to the corresponding relation of the identification information of terminal equipment from the storage of this locality, meanwhile, route acquisition request is carried by the identification information of control terminal.When the network equipment receives the route acquisition request of mobile phone transmission, what the network equipment carried according to route acquisition request is searched the routing iinformation that described identification information is corresponding by the identification information of control terminal from the routing iinformation of storage, and the routing iinformation finding is returned to mobile phone, make mobile phone send remote control control command according to described routing iinformation.Wherein, routing iinformation comprises the optimum transmit path that sends remote control control command, optimum transmit path can be that the remote control control information that mobile phone sends is forwarded to by the path of control terminal through minimum nodes, or, through beeline, arrive by the path of control terminal.
S204, sends described remote control control command 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 can be set up Zigbee terminal equipment network by Zigbee module, for example: set up Zigbee intelligent home network.Mobile phone can send remote control control command according to the routing iinformation obtaining to controlled terminal equipment by Zigbee network.Wherein, 256 of effective nodes (terminal equipment) that Zigbee network maximum can be held, can meet the terminal equipment number that the intelligent home network of the foundation of domestic consumer is included substantially, and can realize the communication of one-to-many.And, the effective range that Zigbee network is contained can be 1 kilometer of left and right, overcome the defect of the Small Extension Node. Communications of the short-distance techniques such as bluetooth, Zigbee network frequency range of living in is free frequency range simultaneously, mobile phone can be by Zigbee agreement access Zigbee network, control the terminal equipment in Zigbee network, and do not produce campus network, therefore can effectively reduce communication cost by adopting Zigbee network to set up intelligent home network.
Further, when mobile phone leaves Zigbee network or mobile phone outside Zigbee network time, mobile phone can be by other network switch equipment (as gateway) access Zigbee networks, such as establishing a communications link by the communication networks such as WIFI or GPRS and Zigbee network, and can obtain the routing iinformation of controlled terminal equipment in Zigbee network by other network switch equipment, and to the controlled terminal equipment in Zigbee network, send remote control control command according to routing iinformation, even the network that this makes user set up away from terminal equipment, still can carry out Long-distance Control, improve user's experience effect.
For ease of better implementing the such scheme of the embodiment of the present invention, be also provided for coordinating the relevant apparatus of implementing such scheme below.
Please refer to Fig. 3, a kind of terminal providing for the embodiment of the present invention.As shown in Figure 3, a kind of terminal described in the present embodiment can comprise: the first acquisition module 100, the second acquisition module 200 and sending module 300.
Wherein, the first acquisition module 100, for obtaining remote control control command, described remote control control command is carried the identification information of controlled terminal equipment.
In specific embodiment, remote control control command comprises the remote control control command that handle icon, intelligent use software or the mobile phone key on user's operating handset generates.Wherein, intelligent use software can be presented at the demonstration information of the terminal equipment establishing a communications link with mobile phone in local area network (LAN).Such as: the character mark that shows the terminal equipments such as " television equipment ", " air-conditioning " and " refrigerator " on mobile phone identifies the terminal equipments such as television equipment, air-conditioning and refrigerator that establish a communications link with mobile phone, so that the demonstration information that user can show according to mobile phone, in the demonstration information of at least one terminal equipment showing, select the demonstration information of a terminal equipment to operate control, wherein, terminal equipment corresponding to selected demonstration information is by control terminal, and demonstration information can be handle icon.Further, the identification information of the corresponding terminal equipment of each demonstration information, each identification information points to corresponding terminal equipment, and wherein, identification information can comprise the ID of terminal equipment, corresponding data or the order one by one of the IP address of terminal equipment or setting and terminal equipment.When user controls according to demonstration information, mobile phone can obtain remote control control command corresponding to demonstration information of being controlled, remote control control command is carried the corresponding identification information of demonstration information, and wherein, the terminal equipment that identification information identifies is by control terminal.
By upper we be understandable that, when the first acquisition module 100 detects any one demonstration information that user shows on to mobile phone and operates, be user using a terminal equipment at least one terminal equipment when being carried out straighforward operation by control terminal, for example: the handle icon that user selects on intelligent use software is that character mark is that " air-conditioning " carries out straighforward operation, wherein, under " air-conditioning " character mark, there is shutdown, start, reduce the control commands such as temperature and rising temperature, the first acquisition module 100 will get remote control control command according to user's operation control command wherein.Wherein, remote control control command is also carried the operated corresponding identification information of demonstration information of user, described identification information can be gone out the controlled device being identified by handset identity, for example: it is that shutdown command under " air-conditioning " operates that user selects character mark on intelligent use software, the first acquisition module 100 gets shutdown remote control control command according to user's operation, simultaneously, this order will be carried the corresponding identification information of handle icon " air-conditioning ", this identification information can identify air-conditioning equipment, this remote control control command that makes to shut down can accurately send to the air-conditioning of required control, make its response shutdown remote control control command.
The second acquisition module 200, for according to the identification information of described controlled terminal equipment, obtains the routing iinformation of described controlled terminal equipment.
In specific embodiment, the second acquisition module 200 can obtain by the routing iinformation of control terminal according to the corresponding relation of the identification information of terminal equipment and routing iinformation from the storage of this locality, or, in the network equipment of the second acquisition module 200 from network, obtain routing iinformation.In concrete application, mobile phone can the routing iinformation of pre-stored connected device end and the corresponding relation of the corresponding identification information of device end, for example: the IP address of the corresponding air-conditioning equipment of routing iinformation of air-conditioning equipment.Further, can also be, network equipment maintenance in network is in the relevant information of all terminal equipments of net, described relevant information comprises the information such as the position, distance of terminal equipment, when the second acquisition module 200 does not inquire the corresponding routing iinformation of identification information in the corresponding relation of preset identification information and routing iinformation, the second acquisition module 200 can send routing iinformation request to the network equipment in network, and identification information is carried in described routing iinformation request.When the network equipment can receive the routing iinformation request that mobile phone sends, the network equipment can get according to the relevant information of the network equipment at net the routing iinformation of the terminal equipment that identification information identifies, then routing iinformation is returned to the second acquisition module 200.Wherein concrete, routing iinformation comprises that mobile phone is to sent the optimum transmit path of remote control control command by control terminal, optimum transmit path can be that the remote control control information that mobile phone sends is forwarded to by the path of control terminal through minimum nodes, or, through beeline, arrive by the path of control terminal.
Sending module 300, for sending described remote control control command according to described routing iinformation to described controlled terminal equipment.
In embodiments of the present invention, terminal carries Zighee module, and terminal can be set up Zigbee terminal equipment network by Zigbee module, for example: set up Zigbee intelligent home network.Sending module 300 can send remote control control command according to the routing iinformation obtaining to controlled terminal equipment by Zigbee network.Wherein, 256 of effective nodes (terminal equipment) that Zigbee network maximum can be held, can meet the terminal equipment number that the intelligent home network of the foundation of domestic consumer is included substantially, and can realize the communication of one-to-many.And, the effective range that Zigbee network is contained can be 1 kilometer of left and right, overcome the defect of the Small Extension Node. Communications of the short-distance techniques such as bluetooth, Zigbee network frequency range of living in is free frequency range simultaneously, mobile phone can be by Zigbee agreement access Zigbee network, control the terminal equipment in Zigbee network, and do not produce campus network, therefore mobile phone comes to carry out Zigbee with intelligent home network by Zigbee agreement, communicate by letter and can effectively reduce communication cost.
Further, when mobile phone leaves Zigbee network or mobile phone outside Zigbee network time, mobile phone can be by other network switch equipment (as gateway) access Zigbee networks, such as establishing a communications link by the communication networks such as WIFI or GPRS and Zigbee network, and can obtain the routing iinformation of controlled terminal equipment in Zigbee network by other network switch equipment, and to the controlled terminal equipment in Zigbee network, send remote control control command according to routing iinformation, even the network that this makes user set up away from terminal equipment, still can carry out Long-distance Control, improve user's experience effect.
Referring to Fig. 4, is a kind of terminal provided by the invention.Terminal described in the invention can comprise: the terminals such as mobile phone, panel computer, notebook computer, digital camera, Digital Video.As shown in Figure 4, a kind of terminal described in the present embodiment can comprise: the first acquisition module 100, the second acquisition module 200 and sending module 300.
Wherein, described terminal also comprises:
Receiver module 400, for receiving the network information of the network equipment broadcast of local area network (LAN), comprises at least one terminal equipment in described local area network (LAN).
In specific embodiment, described local area network (LAN) can be Zigbee network, and Zigbee network comprises at least one terminal equipment, and each terminal equipment can serve as routing node and be present in Zigbee network.The identification information that routing node in Zigbee network (being terminal equipment) carries with the signal receiving does not mate routing node and forwards to other routing nodes according to routing iinformation, therefore in Zigbee network, can adopt relay the automatic mode transmitted signal of selecting best route between node in communication.
Further, the network equipment in Zigbee network, the network equipment can be network coordinator, often at regular intervals, the network equipment is to Zigbee network broadcast network information, the network equipment can be noticed the own information such as network site or to the not connection end-point device broadcast network information in Zigbee network, be made the terminal equipment not connecting in network whether access Zigbee network according to the network information selection of broadcast by the network information of broadcast.
Further, when mobile phone need be controlled the terminal equipment in Zigbee network, while becoming the control node in network, mobile phone can send and control node application information to the network equipment, the network equipment receives the control node application information that mobile phone sends, by mobile phone Node configuration for controlling node, thereby mobile phone can send control command to the other-end equipment in network.Wherein, in network, can there be a plurality of terminal to apply to become control node.
Access module 500, for according to the described network information, accesses described local area network (LAN).
In specific embodiment, when receiver module 400 receives the network information of the network equipment broadcast of local area network (LAN), and, when mobile phone is wanted response to network information access Zigbee network, mobile phone can operate and add order on intelligent use software, make mobile phone return to application information, the application information that the network equipment returns according to mobile phone is confirmed, thereby the confirmation that access module 500 receives the network equipment accesses Zigbee network by mobile phone.
When the network equipment receives the application information of a terminal equipment application access Zigbee network that does not access Zigbee network and confirms described application information, the network equipment is by identification information and the routing iinformation corresponding to this identification information of this terminal equipment of storage, the terminal equipment that receives an access Zigbee network when the network equipment is while leaving the information of Zigbee network, the network equipment will be deleted identification information and the routing iinformation corresponding to identification information of this terminal equipment, wherein, the network equipment is stored the identification information of at least one terminal equipment and the routing iinformation of at least one terminal equipment.The network equipment can regularly maybe send to controlling node the identification information of storing to controlling node transmission storaging mark information when the identification information of storage has renewal.Become the mobile phone of control node according to the demonstration information of the local storage of the update of identification information receiving, make user according to described demonstration information acquisition terminal equipment whether at Zigbee network internal information, and can to terminal equipment corresponding to identification information, carry out control operation according to described demonstration information.
The 3rd acquisition module 600, for obtaining the identification information of at least one terminal equipment in described local area network (LAN).
In embodiments of the present invention, the identification information storage of terminal equipment is in the network equipment of local area network (LAN), and wherein, the network equipment can be stored in the identification information of the terminal equipment on local area network (LAN).The 3rd acquisition module 600 can send and obtain requests for identification information to the network equipment of local area network (LAN), thereby make network equipment response obtain requests for identification information, returns to the identification information of terminal equipment to the 3rd acquisition module 600.
The 4th acquisition module 700, for obtaining the corresponding demonstration information of identification information of at least one terminal equipment in described local area network (LAN) according to preset identification information and the corresponding relation that shows information.
In embodiments of the present invention, the corresponding demonstration information of preset each identification information of terminal, each identification information points to corresponding terminal equipment, and wherein, identification information can comprise the ID of terminal equipment, corresponding data or the order one by one of the IP address of terminal equipment or setting and terminal equipment.Demonstration information comprises the data messages such as the icon, character of demonstration.Such as: the demonstration information of the character mark of the terminal equipments such as " television equipment " showing on mobile phone, " air-conditioning " and " refrigerator ".
Display module 800, for showing described demonstration information.
In embodiments of the present invention, display module 800 can be presented at the demonstration information of the terminal equipment establishing a communications link with mobile phone in local area network (LAN).Such as: the character mark that shows the terminal equipments such as " television equipment ", " air-conditioning " and " refrigerator " on mobile phone identifies the terminal equipments such as television equipment, air-conditioning and refrigerator that establish a communications link with mobile phone, so that the demonstration information that user can show according to mobile phone, in the demonstration information of at least one terminal equipment showing, select the demonstration information of a terminal equipment to operate control, wherein, terminal equipment corresponding to selected demonstration information is by control terminal.
Further, when having terminal equipment to leave Zigbee network, mobile phone is by the identification information receiving after the renewal that the network equipment sends, display unit 10 locks the corresponding demonstration information of identification information of leaving the terminal equipment of Zigbee network, make it to operate, for example: handle icon display unit 10 corresponding to terminal equipment in Zigbee network shows with colour, the handle icon display unit 10 corresponding to terminal equipment of off-line shows with grey, so that the variation of the color that user can show according to display unit 10 judges whether terminal equipment can operate control.
Generate command unit 10, for when user being detected any one demonstration information operated, generation remote control control command, described remote control control command is carried identification information corresponding to described demonstration information, wherein, the terminal equipment that described identification information identifies is controlled terminal equipment.
In specific embodiment, when generating command unit 10 and demonstration information that user shows according to display module 800 being detected and operate, generate remote control control command, wherein, remote control control command terminal is carried by the identification information of control terminal.
Wherein, described the second acquisition module 200 also comprises:
The first transmitting element 20, for the network equipment to described local area network (LAN), send route acquisition request, in described route acquisition request, carry the identification information of described controlled terminal equipment, so that the network equipment of described local area network (LAN) is searched the routing iinformation of described controlled terminal equipment.
In specific embodiment, the first transmitting element 20 sends route acquisition request by Zigbee agreement to the network equipment, wherein, in route acquisition request, carry the identification information of controlled terminal equipment, so that the network equipment of Zigbee network is searched the routing iinformation of controlled terminal equipment.Further, routing iinformation comprises the optimum transmit path that sends remote control control command.Mobile phone sends remote control control command extremely by control terminal according to routing iinformation.
Receiving element 30, for receiving the routing iinformation of the described controlled terminal equipment that the network equipment of described local area network (LAN) returns.
In specific embodiment, when receiving the first transmitting element 20, the network equipment sends route acquisition request, the network equipment is resolved described route acquisition request and is obtained the identification information that route acquisition request is carried, the network equipment is searched the routing iinformation of the terminal equipment that described identification information is corresponding according to identification information, and routing iinformation is returned to receiving element 30.Wherein, network information section returns to receiving element 40 by Zigbee agreement by routing iinformation, or, by communication networks such as GPRS, WIFI, routing iinformation is returned to receiving element 30.
Wherein, described sending module 300 also comprises:
The second transmitting element 40, for according to described routing iinformation, adopts Zigbee agreement to send described remote control control command to described controlled terminal equipment.
In specific embodiment, the terminal equipment that carries Zighee module can be set up Zigbee terminal equipment network, for example: set up Zigbee intelligent home network.Mobile phone can send remote control control command according to the routing iinformation obtaining to controlled terminal equipment by Zigbee network.Wherein, 256 of effective nodes (terminal equipment) that Zigbee network maximum can be held, can meet the terminal equipment number that the intelligent home network of the foundation of domestic consumer is included substantially, and can realize the communication of one-to-many.And, the effective range that Zigbee network is contained can be 1 kilometer of left and right, overcome the defect of the Small Extension Node. Communications of the short-distance techniques such as bluetooth, Zigbee network frequency range of living in is free frequency range simultaneously, mobile phone can be by the second transmitting element 40 access Zigbee networks, control the terminal equipment in Zigbee network, and do not produce campus network, therefore mobile phone adopts Zigbee agreements by the second transmitting element 40 and intelligent home network is carried out Zigbee and communicated by letter and can effectively reduce communication cost.
Therefore, in some embodiments of the invention, terminal is obtained remote control control command, and the identification information of the controlled terminal equipment carrying according to remote control control command obtains the routing iinformation of controlled terminal equipment, thus according to routing iinformation to being sent remote control control command by control terminal.This can, so that the terminal equipment of terminal in can control area net(CAN) controlled terminal equipment simple and convenient, and effectively reduced user's cost of use, improve user's result of use and improve the intelligent of terminal equipment.
It should be noted that, for aforesaid each embodiment of the method, for simple description, therefore it is all expressed as to a series of combination of actions, but those skilled in the art should know, the present invention is not subject to the restriction of described sequence of movement, because according to the present invention, some step can adopt other orders or carry out simultaneously.Secondly, those skilled in the art also should know, the embodiment described in specification all belongs to preferred embodiment, and related action and module might not be that the present invention is necessary.
In the above-described embodiments, the description of each embodiment is all emphasized particularly on different fields, in certain embodiment, there is no the part of detailed description, can be referring to the associated description of other embodiment.
To sum up, in some embodiments of the invention, terminal is obtained remote control control command, and the identification information of the controlled terminal equipment carrying according to remote control control command obtains the routing iinformation of controlled terminal equipment, thus according to routing iinformation to being sent remote control control command by control terminal.This can, so that the terminal equipment of terminal in can control area net(CAN) controlled terminal equipment simple and convenient, and effectively reduced user's cost of use, improve user's result of use and improve the intelligent of terminal equipment.
One of ordinary skill in the art will appreciate that all or part of flow process realizing in above-described embodiment method, to come the hardware that instruction is relevant to complete by computer program, described program can be stored in a computer read/write memory medium, this program, when carrying out, can comprise as the flow process of the embodiment of above-mentioned each side method.Wherein, described storage medium can be magnetic disc, CD, read-only store-memory body (Read-Only Memory, ROM) or random store-memory body (Random Access Memory, RAM) etc.
Above disclosed is only preferred embodiment of the present invention, certainly can not limit with this interest field of the present invention, and the equivalent variations of therefore doing according to the claims in the present invention, still belongs to the scope that the present invention is contained.