Background technology
Along with digital information technology more and more breaks through the conventional commercial limitation, and the common numbersization of consumption electronic product itself, just occurring increasing in the family is the digital device at center with the amusement, and digitized household appliances.These equipment are connected into the household internal local area network (LAN) in wired or wireless mode, with in realizing perhaps the Internet insert to share, or realize easily function such as control mutually, be that industry is being conceived and the digital home network notion of effort for it.
In not far future, insert the home network of the Internet by home gateway, can enter the remote control application stage, people wish can be in family's network-external, the equipment of long-range understanding and control home network inside, conception to this is: air-conditioning is opened in remote control in advance on the road of coming off duty, and understands in office how much food in the refrigerator also remains in the family, checks ruuning situation of home security system or the like.
The long-range control method of the relevant home network device of prior art has following two kinds:
The first, be in the Chinese invention patent application of on April 19th, 2002, application number 02111419 in the applying date, a kind of " realizing the system and method for intelligent domestic electric appliances Long-distance Control by the Internet " disclosed.Wherein: the user signs in to the main control device-home gateway of family by the mode of IP addressing of address or domain name addressing from Internet; Perhaps the webpage that provides by the access services merchant signs in to home gateway.The home gateway calling related application programs reads the present state information of the inner various device of home network by certain medium, and the processing of being correlated with produces interface data.For example can collect the information of each equipment by the UPnP agreement.Then, home gateway sends these interface data to user by Internet, the user can see the state information of various device in the own home by browser, and the button that can be associated by the equipment various and home network inside on the click browser page is controlled these equipment.These pages may be that the server of service provider generates according to the data that home gateway provides, and possible home gateway oneself tissue generates, and the page push that also may be home network internal unit oneself generation is to user's browser.User's browser may be PC, also may be the terminal that mobile phone or the like possesses display interface.The agreement of control also is varied, for example can use the UPnP agreement to control.The shortcoming of this scheme is: the user has only and logs on home gateway by browser and could monitor equipment operation situation in the home network, thereby needs to use the terminal that possesses browser function, for example the mobile phone of PC, band browser function etc.
The second, be that August 21 calendar year 2001, application publication number are in the U.S. Patent application of US2002/0032741A1 in the applying date, the method for a kind of " by E-Mail control home network " is disclosed.Wherein: the user will inquire about the content of control and be write as E-Mail according to specific form, send to specific mailbox.Home gateway is regularly reached the standard grade, and visits this mailbox, reads E-Mail.Home gateway is resolved the content of this E-Mail, and according to the requirement of the inside, calling related application programs reads the present state information of the inner various device of home network by certain medium, and the processing of being correlated with produces interface data.For example can collect the information of each equipment by the UPnP agreement.Then, home gateway sends these interface data to user by E-Mail, and the user is by browsing the state information that E-Mail sees various device in the own home, and can control these equipment alternately by E-Mail.The shortcoming of this method is that response speed is slow, interaction capabilities is poor, and uses the mode of E-Mail higher to technical requirements of users.
Summary of the invention
The technical problem to be solved in the present invention is, above-mentioned limitation at prior art, a kind of method and system by instant messaging agreement remote control of domestic network-internal apparatus are provided, finish control and understand the home network internal unit by literal, image or video interactive that the client of using the instant messaging agreement provides.
On the one hand, the technical solution adopted for the present invention to solve the technical problems is: a kind of method of remote control of domestic network apparatus is provided, and described home network device links to each other with home gateway by family's bearer network, and described method comprises:
Remote control terminal employing instant messaging agreement is set up instant messaging by the Internet and instant communication software service centre with home gateway and is connected;
Remote control terminal is to home gateway transmit operation order;
Home gateway sends to relevant device after operational order is changed;
Described equipment is carried out described operational order.
In method of the present invention, remote control terminal establishes a communications link with home gateway by the Internet and instant communication software service centre and comprises: home gateway uses corresponding instant messaging agreement to use the client of instant messaging agreement to carry out authentication to remote control terminal, when authentication is passed through, home gateway is to remote control terminal transmit operation information.
In method of the present invention, described method also comprises: described equipment reports home gateway with the operational order execution result; Home gateway utilize instant message with command execution results by instant communication software service centre or directly send to remote control terminal.
In method of the present invention, the instant message of described operational order execution result is according to the current state padding data by the definition of presetting in the home network device.
In method of the present invention, also be included in when transferring immediate news it is carried out encryption and when receiving instant message it is decrypted processing.
In method of the present invention, the described authentication of carrying out comprises: the home gateway request is imported authentication code, the authentication code that receives is identified to determine whether being validated user at remote control terminal.
In method of the present invention, described family bearer network comprises: wired network or wireless network; Described wired network comprises: HomePNA, PLC, IEEE1394 or Ethernet; Described wireless network comprises: WLAN, bluetooth, UWB or Zigbee.
In method of the present invention, described home network device comprises: the guard monitor equipment of PC, intelligent appliance, integrated access device, home network inside, intelligent curtain, intelligent lighting facility.
In method of the present invention, described remote control terminal comprises that PC, mobile phone or PDA etc. support the communication terminal device that the Internet inserts.
Implement method of the present invention, have following beneficial effect: easy and simple to handle, specification requirement is low; The user is the situation of monitor home appliances in real time easily; By home network internal unit oneself definition prompting, autgmentability is strong, and is compatible good.
Embodiment
Along with the development of instant communication software (as MSN, ICQ software), increasing user can link up immediately whenever and wherever possible and exchange by instant communication software.Thereby the present invention conceives like this: operation instant messaging agreement on home gateway, the user uses the client of corresponding instant messaging agreement to be undertaken alternately by instant messaging agreement and home gateway, reaches the purpose of understanding and controlling the home network internal unit.
Figure 1 shows that the system embodiment schematic diagram of remote control of domestic network apparatus of the present invention.As shown in the figure, this system comprises the one family network, and wherein a plurality of equipment of home network inside link to each other with home gateway by family's bearer network.Home network device comprises: the guard monitor equipment of PC, intelligent appliance, IAD (integrated access device), home network inside, intelligent curtain, intelligent lighting facility or the like.A kind of novel household appliance, curtain and the lighting installation of intelligent appliance wherein, intelligent curtain, intelligent lighting facility micro-computer technology that has been integrated and mechanics of communication have the function of the network terminal.Family's bearer network can comprise various networking technologys, for example wired networking: HomePNA, PLC, IEEE1394, Ethernet etc.Wireless networking: WLAN, bluetooth, UWB, Zigbee.The particular content of various networking modes and interface protocol, type all are prior aries, are not the emphasis of technical solution of the present invention research, thereby do not repeat them here.Home gateway as the home network core, mainly finish the household internal network equipment conversion between the different communication protocol and information sharing separately, and, also be responsible for the management and the control of home intelligent equipment simultaneously with the data exchanging function between the external communication network.That is to say that in the solution of the present invention, the control module with home network device is integrated in the home gateway.In the native system, home gateway is the Internet access point of home network, says from this respect, and its Internet that is responsible for whole home network inserts, and has moved the instant messaging agreement on the home gateway.
This system also comprises a remote control terminal that links to each other with home gateway by the Internet and instant communication software service centre.Remote control terminal comprises that PC, mobile phone or PDA etc. support the communication terminal device that the Internet inserts, use the client of instant messaging agreement to move thereon, the user can send to information by Internet the client of this instant messaging agreement of use of appointment then by editing instant message in the above.Also can receive the message of using the client of this instant messaging agreement to send from other.
Instant communication software service centre not only provides the function of authentication, preserves buddy list simultaneously in addition, and good friend's informing function of reaching the standard grade is coordinated two needs and communicated functions such as client connects.Use the client of instant messaging agreement can find and set up correspondence mutually by two of instant communication software service centres.Instant communication software service centre is an existing technology, as the server of QQ, MSN.
Figure 2 shows that the exemplary method flowchart of remote control of domestic network apparatus of the present invention.Internet and family's bearer network have been saved in the shown flow chart, because these two parts all are simple transparent transmission content.In addition, in communication process, if the user closes the client of using the instant messaging agreement, direct process ends (not shown).
In step 1, use the client of instant messaging agreement to log on instant communication software service centre.The client of remote control terminal and home gateway all will use this instant messaging agreement to log on instant communication software service centre.
Then, in step 2, set up remote control terminal by instant software service center and use the client of instant messaging agreement and communicating to connect of home gateway.The user can realize finding mutually and setting up being connected of intercoming mutually very easily by two ends being set to good friend's mode mutually.
After communication was set up, in step 3, home gateway used the client of instant messaging agreement to send the prompting that requires authentication by instant message to remote control terminal, points out the user to import authentication information in the mode of instant message.
After receiving prompting, in step 4, the user uses the instant messaging agreement by remote control terminal client input authentication code sends to home gateway in the mode of instant message.
Receive after the authentication code, in step 5, home gateway carries out authentication according to user's authentication code, sees whether be validated user, and determines its authority.Wherein can adopt multiple authentication mode, as user name, password etc.If the authentication success carry out step 6.If authentication is not passed through, authentication information is imported in prompting once more.
In step 6, home gateway can use the client of instant messaging agreement to send corresponding operation indicating to the user by instant message to remote control terminal.The operational order information of relevant household equipment can obtain from household equipment by prior art, and a lot of implementations are arranged, and for example can use UPnP or IGRS agreement, and home gateway issues the message of query facility as the control point.Those skilled in the art also can use other prior aries, realizes this function at present technique invention scheme.
Next, in step 7, the user can send to home gateway according to the required operational order of prompting input.
In step 8, home gateway sends it to corresponding apparatus after receiving this operational order then.Home gateway can adopt UPnP, IGRS agreement etc. that operational order is done corresponding conversion and send to household equipment.
In step 9, home network device carry out operation accordingly, and the result that will operate feeds back to home gateway after receiving the order that home gateway sends here.This process is prior art (as UPnP, an IGRS agreement etc.), no longer describes its specific implementation method herein.
Afterwards, in step 10, home gateway sends to the user after the command execution results feedback information of household equipment is handled, and provides the corresponding subsequent operation indicating.Repeating step 7-10 afterwards.
In addition, as expansion, home gateway is the state information (as utilizing UPnP, IGRS agreement etc.) of collecting device periodically, configuration according to the user, whether decision sends to the user, sends to the user after the processing, like this user's situation of monitor home appliances in real time just.
For the fail safe of instant communication software, can in communication process, adopt the mode of encrypted transmission to guarantee the fail safe that data transmit, this technology has at present, is ready-made technology.
Shown in Figure 3 is the schematic flow sheet of operating on the home gateway in the remote control of domestic network apparatus of the present invention.Home gateway is the core of home network, also is the bridge of home network and external relation, and remote control terminal is controlled all the equipment in the home network and finished by home gateway.As figure, in step 302, as when owner leaves dwelling house or according to the preset time table, system start-up, home gateway uses the instant messaging agreement to sign in to instant communication software service centre.Afterwards, in step 304, home gateway uses the instant messaging agreement to wait for that other use the client of this communication protocol to connect with it.After other client connects with it, send the authentication information at step 306 home gateway to it, require its input authentication code, this authentication code can be user name or password.In step 308, whether affirmation receives the authentication code that other client is sent.If do not receive, return step 304, continue to wait for next the connection; If receive the authentication code that other client sends over, in step 310, home gateway carries out authentication to described other the authority of client.If authentication is not passed through, return step 304 and continue to wait for next the connection, and disconnection and aforementioned not being connected of other clients by authentication; If authentication is passed through, confirm that this client has the authority of operation home network device, then carry out step 312, to this client transmit operation information, and wait for user's input operation order (step 314).After receiving the operational order of this client, in step 316, home gateway sends to corresponding home network device after operational order is changed, and waits for that home network device reports command execution results (step 318).After waiting to receive the command execution results of home network device feedback,, will send to this client after its processing in step 320.Afterwards, in step 322, send the corresponding subsequent operation indicating to this client.Return 314 wait users' next input operation order then.The client of using the instant messaging agreement is closed in so cycling up to the user.
Adopt method and system of the present invention, use the instant messaging agreement that the equipment of home gateway and home network inside is controlled, can finish alternately according to the instant message prompting and understand and control home network internal unit.
In system design, the home network internal unit can oneself define the suggestion content of instant message.By home network internal unit oneself definition prompting, autgmentability is strong, compatible good.
As embodiment, such as there being the air-conditioning of supporting the present invention program in the home network, if the user thinks the long-range state of checking air-conditioning, the order of searching air conditioner state need be issued home gateway, by home gateway air-conditioning is issued in the order of searching air conditioner state again, air-conditioning is responsible for the execution to the searching air conditioner status command, after being finished Query Result is returned to home gateway, returns to the user by home gateway again.Top " the home network internal unit can oneself define the suggestion content of instant message " mentioned, be meant that the Query Result that air-conditioning returns can be defined by user (perhaps manufacturer) oneself, as " heroic board air-conditioning; current state: refrigeration; indoor temperature: 25 degree ", or " use that sons and daughters' board air-conditioning is welcome you, temperature is 25 degree at present; the maximum temperature of the automatic control that you are provided with is 26 degree, minimum temperature is 24 degree " or the like.In addition, this definition has manufacturer oneself to be built in the home network device the inside in advance, then according to sending behind the current state padding data.More expansion says, this definition can also be made amendment under the built-in in advance prerequisite of manufacturer by the user, use the information content of own individual character, replace the built-in suggestion voice of manufacturer such as the suggestion voice with oneself, this needs manufacturer that the function of this respect is provided certainly.