Summary of the invention
The technical problem that the present invention solves is: a kind of intelligent home appliance remote control system and Smart Home server are provided, make the home controller of various criterion interface can insert the Smart Home server and accept the control of Smart Home server.
For solving the problems of the technologies described above, intelligent home appliance remote control system provided by the invention comprises: client, Smart Home server, home controller and intelligent home device; Described client and described Smart Home server are by Internet connection; Described home controller and described Smart Home server are by Internet connection; Described client is used for receiving the operation response of described Smart Home server to described Smart Home server transmit operation instruction; Described Smart Home server is used to receive the operational order of described client, issues control command to described home controller, receives the control response of described home controller, to described client return response; Described home controller is used to receive the control command of described Smart Home server, issues control command to described intelligent home device, receives the control response of described intelligent home device, returns control response to described Smart Home server; Described intelligent home device is used to receive the control command of described home controller, and executive control operation is returned control response to described home controller; It is characterized in that,
Described intelligent home appliance remote control system comprises the home controller of two kinds of various criterion interfaces at least;
Described Smart Home server is converted to the control command that described home controller can be discerned with described operational order after receiving described client operation instruction, issues described control command to described home controller.
Preferably, described home controller is the home controller of the ITopHome of household network standards industry alliance standard.
Preferably, described home controller is the home controller of information equipment resource-sharing cooperation with service IGRS standard.
Preferably, described Smart Home server is connected with third-party server, and described third-party server provides the third party to serve by described Smart Home server to the Smart Home user.
Preferably, described Smart Home server is connected with network application, and described Smart Home server provides the Smart Home service by application programming interfaces to described network application.
Preferably, described client and described Smart Home server adopt the client/server C/S framework of non-browser/server.
Preferably, described home controller initiatively reports the state information of described intelligent home device to described client by described Smart Home server.
Preferably, described home controller and described client all are provided with encryption key and decruption key;
Described home controller is encrypted the information that sends to described client according to described encryption key; Described client is decrypted according to the enciphered message of described decruption key to its reception;
Described client is encrypted the information that sends to described home controller according to described encryption key; Described home controller is decrypted according to the enciphered message of described decruption key to its reception.
Preferably, described Smart Home server comprises:
User management module is used to manage the Smart Home user and opens an account and authentication; Storage is also safeguarded Smart Home user totem information, Smart Home user authentication information and Smart Home information-setting by user; Described user management module is judged and is inserted whether the user is legal Smart Home user according to described Smart Home user totem information and described Smart Home user authentication information; Described intelligent home appliance remote control system is accepted or is refused described user and inserts according to described judged result;
Device management module is used to manage that intelligent home device is opened an account and authentication; Storage is also safeguarded intelligent home device identification information, intelligent home device authentication information, intelligent home device attribute information and intelligent home device state information; Described device management module judges according to described intelligent home device identification information and described intelligent home device authentication information whether access device is legal intelligent home device; Described intelligent home appliance remote control system is accepted or is refused described equipment and inserts according to described judged result;
Service Processing Module is used for the control and the processing of various Smart Home business;
The instruction transceiver module is used for the instruction transmitting-receiving between described Smart Home server and described client, described Smart Home server and the described home controller;
It is characterized in that described Smart Home server also comprises:
The instruction transformation module, be used for the operational order of described client is converted to the control command that described home controller can be discerned, make the described home controller of various criterion interface can insert described Smart Home server and accept the control of described Smart Home server.
Smart Home server provided by the invention comprises:
User management module is used to manage the Smart Home user and opens an account and authentication; Storage is also safeguarded Smart Home user totem information, Smart Home user authentication information and Smart Home information-setting by user; Described user management module is judged and is inserted whether the user is legal Smart Home user according to described Smart Home user totem information and described Smart Home user authentication information; Described Smart Home server is accepted or is refused described user and inserts according to described judged result;
Device management module is used to manage that intelligent home device is opened an account and authentication; Storage is also safeguarded intelligent home device identification information, intelligent home device authentication information, intelligent home device attribute information and intelligent home device state information; Described device management module judges according to described intelligent home device identification information and described intelligent home device authentication information whether access device is legal intelligent home device; Described Smart Home server is accepted or is refused described equipment and inserts according to described judged result;
Service Processing Module is used for the control and the processing of various Smart Home business;
The instruction transceiver module is used for the instruction transmitting-receiving between described Smart Home server and client, described Smart Home server and the home controller;
It is characterized in that described Smart Home server also comprises:
The instruction transformation module, be used for the operational order of described client is converted to the control command that described home controller can be discerned, make the described home controller of various criterion interface can insert described Smart Home server and accept the control of described Smart Home server.
Preferably, described Smart Home server also comprises:
The application programming interfaces administration module is used to provide application programming interfaces, and the visit of described application programming interfaces is controlled.
Preferably, described Smart Home server also comprises:
Third party's service management module is used to manage third party's service, and the access of described third party's service is controlled.
Implement intelligent home appliance remote control system provided by the invention, make the home controller of various criterion interface can insert the Smart Home server and accept the control of Smart Home server, help promoting the development of Smart Home business and Internet of Things.Smart Home server provided by the invention provides the third party to serve by the third-party server that inserts to the Smart Home user, strengthened the traffic performance of intelligent domestic system, simultaneously, Smart Home server provided by the invention provides the Smart Home service by application programming interfaces to network application, has improved the opening of intelligent domestic system.Intelligent home appliance remote control system provided by the invention adopts the C/S framework, realized that home controller is to content-encrypt end to end between the client, improved the Smart Home service security, simultaneously, intelligent home appliance remote control system provided by the invention has realized that the intelligent home device state information reports to the active of client, satisfies Smart Home user's real-time, interactive demand.
Embodiment
The invention provides a kind of intelligent home appliance remote control system and Smart Home server, make the home controller of various criterion interface can insert the Smart Home server and accept the control of Smart Home server, help the popularization of Smart Home business and the development of Internet of Things.For making purpose of the present invention, technical scheme and advantage are more clear, below in conjunction with accompanying drawing the present invention are described in further detail.
Fig. 1 is the intelligent home appliance remote control system first example structure schematic diagram provided by the invention.
The intelligent home appliance remote control system that present embodiment provides comprises: client 1, Smart Homeserver 2,home controller 3 andintelligent home device 4; Between client 1 and the Smart Homeserver 2 by Internet connection; Between Smart Homeserver 2 and thehome controller 3 by Internet connection; Link to each other by wired (as: power line, local area network (LAN) etc.) or wireless (as: bluetooth, infrared etc.) mode betweenhome controller 3 and theintelligent home device 4.
Client 1 is used for to Smart Homeserver 2 transmit operations instruction, receives the operation response of Smart Homeserver 2.
Smart Homeserver 2 is used to receive the operational order of client 1, issues control command tohome controller 3, receives the control response ofhome controller 3, responds to client 1 return.
Home controller 3 is used to receive the control command ofSmart Home server 2, issues control command tointelligent home device 4, receives the control response ofintelligent home device 4, returns control response toSmart Home server 2.
Intelligent home device 4 is used to receive the control command ofhome controller 3, and executive control operation is returned control response tohome controller 3.
Further, the intelligent home appliance remote control system that provides of present embodiment comprises thehome controller 3 of two kinds of various criterion interfaces at least; AfterSmart Home server 2 receives the operational order of client 1 transmission, operational order is converted to the control command thathome controller 3 can be discerned, issues control command to home controller.
More specifically, the Smart Home server in the intelligent home appliance remote control system that provides of the embodiment of theinvention 2 supports thehome controller 3 of various criterion interfaces to insert.AfterSmart Home server 2 receives the operational order of client 1 transmission,, operational order is converted to the control command thathome controller 3 can be discerned, issues control command tohome controller 3 then according tohome controller 3 accepted standard interfaces.
Implement the intelligent home appliance remote control system that the embodiment of the invention provides, make thehome controller 3 of various criterion interface can insertSmart Home server 2 and accept the control ofSmart Home server 2, improved the compatibility of intelligent home appliance remote control system, helped the popularization of Smart Home business and the development of Internet ofThings home controller 3 andintelligent home device 4.
Fig. 2 is the intelligent home appliance remote control system second example structure schematic diagram provided by the invention.
The intelligent home appliance remote control system that present embodiment provides comprises client 1,Smart Home server 2,home controller 3 andintelligent home device 4 as shown in Figure 1 equally, difference is, also comprise the third-party server 5 that links to each other withSmart Home server 2, third-party server 5 provides the third party to serve bySmart Home server 2 to the Smart Home user.
More specifically, theSmart Home server 2 that provides of present embodiment also comprises third party's service management module.Third party's service management module is used to manage third party's service, and the third party is served access control.
The intelligent home appliance remote control system that present embodiment provides makes can be integrated in the Smart Home service as third parties such as electric appliances service service, improves Smart Home user's experience and satisfaction.
Fig. 3 is intelligent home appliance remote control system the 3rd an example structure schematic diagram provided by the invention.
The intelligent home appliance remote control system that present embodiment provides comprises client 1,Smart Home server 2,home controller 3 andintelligent home device 4 as shown in Figure 1 equally, difference is, also comprise thenetwork application 6 that links to each other withSmart Home server 2,Smart Home server 2 provides the Smart Home service by application programming interfaces to networkapplication 6.
More specifically, theSmart Home server 2 that provides of present embodiment also comprises the application programming interfaces administration module.The application programming interfaces administration module is used to provide application programming interfaces, and the application programs interface accessing is controlled.
The intelligent home appliance remote control system that present embodiment provides can provide as Smart Home services such as remote meter readings to network application, open Smart Home service ability.
Fig. 4 is the Smart Home server first example structure schematic diagram provided by the invention.
The Smart Home server that present embodiment provides comprises:user management module 21,device management module 22,Service Processing Module 23,instruction transceiver module 24,instruction transformation module 25.
User management module 21 is used to manage the Smart Home user and opens an account and authentication; Storage is also safeguarded Smart Home user totem information, Smart Home user authentication information and Smart Home information-setting by user;User management module 21 is judged and is inserted whether the user is legal Smart Home user according to Smart Home user totem information and Smart Home user authentication information; The Smart Home server accepts according to judged result or refusing user's inserts;
Device management module 22 is used to manage that intelligent home device is opened an account and authentication; Storage is also safeguarded intelligent home device identification information, intelligent home device authentication information, intelligent home device attribute information and intelligent home device state information;Device management module 22 judges according to intelligent home device identification information and intelligent home device authentication information whether access device is legal intelligent home device; The Smart Home server accepts according to judged result or refusal equipment inserts;
Service Processing Module 23 is used for the control and the processing of various Smart Home business;
Instruction transceiver module 24 is used for the instruction transmitting-receiving between Smart Home server and client, Smart Home server and the home controller;
Instruction transformation module 25 is used for the operational order of client is converted to the control command that home controller can be discerned, and makes the home controller of various criterion interface can insert the Smart Home server and accepts the control of Smart Home server.
The Smart Home server that present embodiment provides is by the instruction transformation module, make the home controller of various criterion interface insert the Smart Home server, improved the compatibility of intelligent home appliance remote control system, helped the popularization of Smart Home service and the development of Internet of Things home controller and intelligent home device.
Fig. 5 is the Smart Home server second example structure schematic diagram provided by the invention.
The Smart Home server that present embodiment provides comprisesuser management module 21,device management module 22,Service Processing Module 23,instruction transceiver module 24,instruction transformation module 25 as shown in Figure 4 equally, difference is, also comprises the third party'sservice management module 26 that links to each other with Service Processing Module 23.Third party'sservice management module 26 is used to manage third party's service, and the third party is served access control.
Further, third party'sservice management module 26 comprises:
Third party's access-in management unit is used for the access-in management of third-party server, comprising: the signatory management of third-party server; The third-party server access authentication.
More specifically, third-party server only just can and provide service at the Smart Home server registration after signatory.When the third-party server authentication was passed through, the registration of third party's access-in management unit mandate third-party server also provided special services or services set.
Third party's Service Management unit is used for the Service Management of third-party server; Comprise: third party's service registry management; Third party's service information management.
More specifically, third-party server just can be presented to the Smart Home user by third party's Service Management unit (ONU) registration third party service after third party's service registry.When the signatory third party's service of Smart Home user and third party's service trigger condition satisfy, Service Processing Module will trigger the third party and serve.For example, the A of electric appliances service service provider has registered the refrigerator maintenance service, the B of electric appliances service service provider has registered the washing machine maintenance service, when the signatory electric appliances service of Smart Home user is served, if breakdown of refrigerator, Service Processing Module will trigger the refrigerator maintenance service of electric appliances service service provider A registration, if the washing machine fault, Service Processing Module will trigger the washing machine maintenance service of electric appliances service service provider B registration.Third-party server is safeguarded registration service information by third party's Service Management unit, mainly comprises: service provider's description, service describing, service rate etc.
Third party's service registry flow process as shown in Figure 6.
After third party's access-in management unit is signatory, third-party server sends logging request to Service Processing Module, Service Processing Module is to third party's access-in management unit forwards logging request, third party's access-in management unit carries out authentication according to CAMEL-Subscription-Information to third-party server, third party's access-in management unit returns login response to Service Processing Module, and Service Processing Module is transmitted login response to third-party server.Third-party server sends the service registry request to Service Processing Module, Service Processing Module is to third party's Service Management unit forwards service registry request, third party's Service Management unit returns the service registry response to Service Processing Module, Service Processing Module is transmitted the service registry response to third-party server, finishes third party's service registry flow process.
Third party's service trigger flow process as shown in Figure 7.
The user is after the signatory third party's service of user management module, when third party's service trigger condition satisfies, whether signatory Service Processing Module to this service of user management module inquiring user, user management module is returned Query Result to Service Processing Module, if user not signing should be served, then this service is not triggered; If signatory this service of user, then Service Processing Module sends service request to third-party server, and third-party server returns service response, and respective service is provided, and finishes third party's service trigger flow process.
The Smart Home server that present embodiment provides makes can be integrated in the Smart Home service as third parties such as electric appliances service service, improves Smart Home user's experience and satisfaction.
Fig. 8 is Smart Home server the 3rd an example structure schematic diagram provided by the invention.
The Smart Home server that present embodiment provides comprisesuser management module 21,device management module 22,Service Processing Module 23,instruction transceiver module 24,instruction transformation module 25 as shown in Figure 4 equally, difference is, also comprises the application programminginterfaces administration module 27 that links to each other with Service Processing Module 23.Application programminginterfaces administration module 27 is used to provide application programming interfaces, and the application programs interface accessing is controlled.
Further, application programminginterfaces administration module 27 comprises:
The application programming interfaces administrative unit is used for the Access Management Access of application programming interfaces, comprising: the signatory management of network application; The network application access authentication.
More specifically, network application only just can the access application interface after contracting.When the network application authentication is passed through, application programming interfaces administrative unit authorisation network application access application programming interfaces or application programming interfaces collection.
Application programming interfaces provide the unit, are used to network application that application programming interfaces are provided.
More specifically, application programming interfaces provide the unit can provide a kind of or multiple application programming interfaces type are provided simultaneously, as Simple Object Access Protocol (SOAP, Simple Object Access Protocol) application programming interfaces, the statement sexual state shifts (REST, Representational State Transfer) application programming interfaces etc.
The application programming interfaces browsing process as shown in Figure 9.
Network application sends the API Calls request to Service Processing Module, Service Processing Module is transmitted the API Calls request to the API administrative unit, the API administrative unit is carried out authentication to network application, after authentication is passed through, the API administrative unit is returned the API Calls mandate to Service Processing Module, Service Processing Module obtains to call authorizes the back to provide the unit to send the API Calls request to API, after API provides the unit to finish API Calls, return the API Calls response to Service Processing Module, Service Processing Module is transmitted the API Calls response to network application.
The Smart Home server that present embodiment provides provides as Smart Home services such as remote meter readings to network application by application programming interfaces, open Smart Home service ability.
Figure 10 is a client terminal structure schematic diagram provided by the invention.
The client that present embodiment provides comprises:signal dispatcher module 11, key are provided withmodule 12, encrypting and decryptingmodule 13.
Signal dispatcher module 11 is used for the information transmit-receive of client.
Key is provided withmodule 12, is used to preset encryption key, decruption key, also can be used for presetting cryptographic algorithm, decipherment algorithm.
Encrypting and decryptingmodule 13 was used for beforesignal dispatcher module 11 transmission information, according to key encryption key and the cryptographic algorithm thatmodule 12 presets is set information is encrypted; Be used for aftersignal dispatcher module 11 reception information, according to key decruption key and the decipherment algorithm thatmodule 12 presets be set information is decrypted.
Further,, before home controller transmission information, according to key encryption key and the cryptographic algorithm thatmodule 12 presets is set by encrypting and decryptingmodule 13 information is encrypted atsignal dispatcher module 11; Aftersignal dispatcher module 11 receives the home controller information, according to key decruption key and the decipherment algorithm thatmodule 12 presets is set by encrypting and decryptingmodule 13 information is decrypted.
More specifically, the information that signaldispatcher module 11 sends to home controller can arrive home controller through the Smart Home server, also can directly arrive home controller without the Smart Home server.
The client that present embodiment provides can realize client to information encryption end to end between the household controller, improves the Smart Home service security.
Figure 11 is a home controller structural representation provided by the invention.
The home controller that present embodiment provides comprises:signal dispatcher module 31, key are provided withmodule 32, encrypting and decryptingmodule 33.
Signal dispatcher module 31 is used for the information transmit-receive of home controller.
Key is provided withmodule 32, is used to preset encryption key, decruption key, also can be used for presetting cryptographic algorithm, decipherment algorithm.
Encrypting and decryptingmodule 33 was used for beforesignal dispatcher module 31 transmission information, according to key encryption key and the cryptographic algorithm thatmodule 32 presets is set information is encrypted; Be used for aftersignal dispatcher module 31 reception information, according to key decruption key and the decipherment algorithm thatmodule 32 presets be set information is decrypted.
Further,, before client transmission information, according to key encryption key and the cryptographic algorithm thatmodule 32 presets is set by encrypting and decryptingmodule 33 information is encrypted atsignal dispatcher module 31; Aftersignal dispatcher module 31 receives client-side informations, according to key decruption key and the decipherment algorithm thatmodule 32 presets is set by encrypting and decryptingmodule 33 information is decrypted.
More specifically, the information that signaldispatcher module 31 sends to client can arrive client through the Smart Home server, also can directly arrive client without the Smart Home server.
The home controller that present embodiment provides can be realized home controller to information encryption end to end between the client, improves the Smart Home service security.
Figure 12 is that information encryption provided by the invention transmits schematic flow sheet.
In the intelligent home appliance remote control system that present embodiment provides, home controller and client all preset encryption key and decruption key.Home controller was encrypted information according to the encryption key that presets before transmission information; Client is decrypted information according to the decruption key that presets after reception information.In like manner, client was encrypted information according to the encryption key that presets before transmission information; Home controller is decrypted information according to the decruption key that presets after reception information.
A nearlyer step, home controller sends to the information of client, can arrive client through the Smart Home server, also can directly arrive client without the Smart Home server.In like manner, client sends to the information of home controller, can arrive home controller through the Smart Home server, also can directly arrive home controller without the Smart Home server.
More specifically, when the information between client and the home controller transmitted through the Smart Home server, the Smart Home server did not carry out any processing to enciphered message, did not handle the message body that comprises enciphered message as processing messages head only.
The intelligent home appliance remote control system that present embodiment provides can be realized home controller to information encryption end to end between the client, improves the Smart Home service security.
Figure 13 is a Smart Home user login process schematic diagram provided by the invention.
After the Smart Home server was opened an account, the Smart Home user was by client login Smart Home server.Client sends logging request to Service Processing Module, Service Processing Module is transmitted logging request to user management module, user management module is carried out authentication and registration and is returned login response by Service Processing Module to client the Smart Home user, simultaneously, Service Processing Module slave unit administration module obtains the intelligent home device state information, and the intelligent home device state information is issued to client.
Figure 14 is an intelligent home device register flow path schematic diagram provided by the invention.
After the Smart Home server was opened an account, intelligent home device was registered to the Smart Home server by home controller.Home controller sends register requirement to Service Processing Module, Service Processing Module is transmitted register requirement to device management module, device management module carries out authentication and registration and returns registration by Service Processing Module to home controller responding to intelligent home device, simultaneously, intelligent home device reports the intelligent home device state information to Service Processing Module, Service Processing Module is transmitted the intelligent home device state information to device management module, and device management module upgrades the intelligent home device state information that stores.
Figure 15 controls schematic flow sheet for intelligent home device provided by the invention.
The Smart Home user instructs to the transmit operation of Smart Home server by client.Client is instructed to Service Processing Module transmit operation intelligence, Service Processing Module is confirmed Smart Home user operating right to user management module and device management module, Service Processing Module is to the home controller sending controling instruction, home controller issues control command to intelligent home device, the intelligent home device executive control operation is also returned control response to home controller, home controller returns control response to Service Processing Module, Service Processing Module sends the intelligent home device state updating information to device management module, simultaneously, return intelligent home device operation response to client.
Figure 16 is an intelligent home device state information report schematic flow sheet provided by the invention.
Intelligent home device reports the intelligent home device state information by home controller and Smart Home server to client.Intelligent home device reports the intelligent home device state information to home controller, home controller reports the intelligent home device state information to Service Processing Module, Service Processing Module sends to device management module with the intelligent home device state information and carries out the renewal of intelligent home device state, whether Service Processing Module is asked for instructions to user management module needs to report the intelligent home device state information to client, user management module judges according to the Smart Home information-setting by user whether needs report the intelligent home device state information to client, if need report, then Service Processing Module reports the intelligent home device state information to client.
The above; only be the preferable embodiment of the present invention; but protection scope of the present invention is not limited thereto; anyly be familiar with those skilled in the art in the technical scope that the present invention discloses; the variation that can expect easily or replacement; all should be encompassed within protection scope of the present invention, therefore, protection scope of the present invention should be as the criterion with the protection range of claim.