CN104580191A - Offline control method and system for smart home - Google Patents

Offline control method and system for smart home Download PDF

Info

Publication number
CN104580191A
CN104580191A CN201410849891.8A CN201410849891A CN104580191A CN 104580191 A CN104580191 A CN 104580191A CN 201410849891 A CN201410849891 A CN 201410849891A CN 104580191 A CN104580191 A CN 104580191A
Authority
CN
China
Prior art keywords
authority
description document
home device
intelligent home
authority description
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201410849891.8A
Other languages
Chinese (zh)
Inventor
田野
刘朝
綦振
周远
姚秀萍
马炜镔
马天元
文大军
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
SHENZHEN GOLDWEB TECHNOLOGY Co Ltd
Original Assignee
SHENZHEN GOLDWEB TECHNOLOGY Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by SHENZHEN GOLDWEB TECHNOLOGY Co Ltd filed Critical SHENZHEN GOLDWEB TECHNOLOGY Co Ltd
Priority to CN201410849891.8A priority Critical patent/CN104580191A/en
Publication of CN104580191A publication Critical patent/CN104580191A/en
Pending legal-status Critical Current

Links

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Landscapes

  • Storage Device Security (AREA)

Abstract

The invention discloses an offline control method and system for smart home. A permission description file is protected by using a digital signature and period of validity so that a smart home device can disclose the format of the permission description file to the outside, the third-party control side and the smart home device can be accessed to an environment, and openness can be improved. In addition, the smart home device of a user can completely permission affirmation in an offline state, the connection between the smart home device and a server is reduced, load pressure of the server is reduced, and the cost of the server is reduced. Furthermore, the user can complete permission validation in the state that the control side and the smart home device cannot be connected to the server only by applying for the permission description file for one time, and the safety and usability of a product are improved. The offline control method and system are used for the smart home device and can be widely applied to smart home products.

Description

A kind of Off-line control method and system for Smart Home
Technical field
The present invention relates to control technology field, particularly relate to a kind of Off-line control method and system for Smart Home.
Background technology
Along with the quickening of information age electronic computer processing speed and the raising of people's living standard, Smart Home has progressively come into the daily life of people.Smart Home allows user adopt means more easily to carry out managing family equipment, enjoys the intelligent abundant information that provides and the facility of smart home life, comfortable and safe life.User can pass through touch-screen, remote controller, computer, phone even the Internet Long-distance Control, also can oneself set model, makes multiple equipment linkage.
But be directly send the text message comprising ABC authority content the mode that present control end (as mobile phone) controls intelligent home device, text file describes authority information.As:
Authority A=true;
Authority B=false;
Authority C=false;
Then control smart machine according to authority content, but using text to describe authority information is absolutely unsafe, and being very easily forged, greatly reducing the fail safe of Smart Home product when there being third party to recognize this descriptor form; And control end needs ceaselessly to access intelligent home device, if time control end is more, also can build-up of pressure to server.
Summary of the invention
In order to solve the problems of the technologies described above, the object of this invention is to provide one can improve fail safe, and alleviates the Off-line control method and system for Smart Home of server stress.
The technical solution adopted in the present invention is:
For an Off-line control method for Smart Home, comprise the following steps:
A, obtain the authority description document of intelligent home device for needing to control to server request;
B, receive authority description document after, the intelligent home device controlled with these needs is set up network and is connected;
C, to this intelligent home device sending permission description document, and authority description document to be verified;
The use request of D, reception user, and after authority is proved to be successful, intelligent home device performs this use request according to authority description document.
As described a kind of Off-line control further improvements in methods for Smart Home, described authority description document comprises equipment id, authority describes list, the file term of validity and digital signature.
As described a kind of Off-line control further improvements in methods for Smart Home, described digital signature is describe list according to the private key on server and authority to generate.
As described a kind of Off-line control further improvements in methods for Smart Home, authority description document is verified in described step C, it specifically comprises:
Whether C1, the equipment id judged in authority description document be consistent with the id of this intelligent home device self, if so, then performs step C2; Otherwise, then show that authority description document is illegal, disconnect;
C2, to judge authority description document according to the limited time limit in authority description document whether still within the limited time limit, if so, then perform step C3; Otherwise, then show that authority description document is illegal, disconnect;
C3, according to the PKI in this intelligent home device, whether the digital signature in verifying authorization description document and authority describe list and mate, and if so, then represent that authority description document is legal, performs step D; Otherwise, then show that authority description document is illegal, disconnect.
Another technical scheme of the present invention is:
For an Off-line control system for Smart Home, comprising:
File request module, for obtaining the authority description document for needing the intelligent home device controlled to server request;
Equipment connection module, after receiving authority description document, the intelligent home device controlled with these needs is set up network and is connected;
File verification module, for this intelligent home device sending permission description document, and verifies authority description document;
Request Executive Module, for receiving the use request of user, and after authority is proved to be successful, intelligent home device performs this use request according to authority description document.
As the further improvement of described a kind of Off-line control system for Smart Home, described authority description document comprises equipment id, authority describes list, the file term of validity and digital signature.
As the further improvement of described a kind of Off-line control system for Smart Home, described digital signature is describe list according to the private key on server and authority to generate.
As the further improvement of described a kind of Off-line control system for Smart Home, described file verification module comprises:
First authentication unit, whether consistent with the id of this intelligent home device self for judging the equipment id in authority description document, if so, then perform the second authentication unit; Otherwise, then show that authority description document is illegal, disconnect;
Second authentication unit, for judging authority description document according to the limited time limit in authority description document whether still within the limited time limit, if so, then performs the 3rd authentication unit; Otherwise, then show that authority description document is illegal, disconnect;
3rd authentication unit, for according to the PKI in this intelligent home device, whether the digital signature in verifying authorization description document and authority describe list and mate, and if so, then represent that authority description document is legal, perform request Executive Module; Otherwise, then show that authority description document is illegal, disconnect.
The invention has the beneficial effects as follows:
A kind of Off-line control method for Smart Home of the present invention is protected authority description document by using digital signature and the term of validity, thus intelligent home device outwards can disclose authority description file format, third party's control end, intelligent home device can be linked in this environment, improve opening; And the intelligent home device of user of the present invention can complete the identification to authority completely under the state of off-line, decrease the connection of intelligent home device and server, reduce the pressure of server load, lower server cost, simultaneously user only needs to apply for that authority description document all can cannot complete the checking of authority under the state of connection server at control end and intelligent home device end, improves fail safe and the availability of product.
Another beneficial effect of the present invention is:
A kind of Off-line control system for Smart Home of the present invention uses digital signature and the term of validity to protect authority description document by file request module, equipment connection module, file verification module and request Executive Module, thus intelligent home device outwards can disclose authority description file format, third party's control end, intelligent home device can be linked in this environment, improve opening; And the intelligent home device of user of the present invention can complete the identification to authority completely under the state of off-line, decrease the connection of intelligent home device and server, reduce the pressure of server load, lower server cost, simultaneously user only needs to apply for that authority description document all can cannot complete the checking of authority under the state of connection server at control end and intelligent home device end, improves fail safe and the availability of product.
Accompanying drawing explanation
Below in conjunction with accompanying drawing, the specific embodiment of the present invention is described further:
Fig. 1 is the flow chart of steps of a kind of Off-line control method for Smart Home of the present invention;
Fig. 2 is the flow chart of steps of a kind of Off-line control method step C for Smart Home of the present invention;
Fig. 3 is the block diagram of a kind of Off-line control system for Smart Home of the present invention.
Embodiment
With reference to figure 1, a kind of Off-line control method for Smart Home of the present invention, comprises the following steps:
A, obtain the authority description document of intelligent home device for needing to control to server request;
B, receive authority description document after, the intelligent home device controlled with these needs is set up network and is connected;
C, to this intelligent home device sending permission description document, and authority description document to be verified;
The use request of D, reception user, and after authority is proved to be successful, intelligent home device performs this use request according to authority description document.
As described a kind of Off-line control further improvements in methods for Smart Home, described authority description document comprises equipment id, authority describes list, the file term of validity and digital signature.
As described a kind of Off-line control further improvements in methods for Smart Home, described digital signature is describe list according to the private key on server and authority to generate.
With reference to figure 2, as described a kind of Off-line control further improvements in methods for Smart Home, authority description document is verified in described step C, it specifically comprises:
Whether C1, the equipment id judged in authority description document be consistent with the id of this intelligent home device self, if so, then performs step C2; Otherwise, then show that authority description document is illegal, disconnect;
C2, to judge authority description document according to the limited time limit in authority description document whether still within the limited time limit, if so, then perform step C3; Otherwise, then show that authority description document is illegal, disconnect;
C3, according to the PKI in this intelligent home device, whether the digital signature in verifying authorization description document and authority describe list and mate, and if so, then represent that authority description document is legal, performs step D; Otherwise, then show that authority description document is illegal, disconnect.
With reference to figure 3, a kind of Off-line control system for Smart Home of the present invention, comprising:
File request module, for obtaining the authority description document for needing the intelligent home device controlled to server request;
Equipment connection module, after receiving authority description document, the intelligent home device controlled with these needs is set up network and is connected;
File verification module, for this intelligent home device sending permission description document, and verifies authority description document;
Request Executive Module, for receiving the use request of user, and after authority is proved to be successful, intelligent home device performs this use request according to authority description document.
As the further improvement of described a kind of Off-line control system for Smart Home, described authority description document comprises equipment id, authority describes list, the file term of validity and digital signature.
As the further improvement of described a kind of Off-line control system for Smart Home, described digital signature is describe list according to the private key on server and authority to generate.
As the further improvement of described a kind of Off-line control system for Smart Home, described file verification module comprises:
First authentication unit, whether consistent with the id of this intelligent home device self for judging the equipment id in authority description document, if so, then perform the second authentication unit; Otherwise, then show that authority description document is illegal, disconnect;
Second authentication unit, for judging authority description document according to the limited time limit in authority description document whether still within the limited time limit, if so, then performs the 3rd authentication unit; Otherwise, then show that authority description document is illegal, disconnect;
3rd authentication unit, for according to the PKI in this intelligent home device, whether the digital signature in verifying authorization description document and authority describe list and mate, and if so, then represent that authority description document is legal, perform request Executive Module; Otherwise, then show that authority description document is illegal, disconnect.
Specific embodiments of the invention are as follows:
Mainly adopt asymmetric arithmetic in the present invention, selected RSA Algorithm here in the present embodiment, its authority description document is as follows:
Equipment I d=xxxxxxxxxxxxxxxxxxxx;
Authority A=true;
Authority B=false;
Authority C=false;
The term of validity=2014-12-25 00:00:00;
sign=xxxxxxxxxxxxxxxxxxxxxx;
Wherein, equipment id is, the id of the intelligent home device that can control, and adopts UUID to generate the character string with global unique identifier here, but is not limited to use UUID.
Authority describes list, and authority ABC is the description of various control authority, and wherein true is for allowing operation, and false is not for allowing operation.
The term of validity is the valid expiration date of this authority description document.
Sign adopts UUID to generate the character string with global unique identifier, but is not limited to use UUID.
S1, terminal to server acquisition request are for the authority description document needing the intelligent home device controlled;
For example, in the present embodiment, terminal can be the terminals such as mobile phone, panel computer, personal computer, can also be other possible terminal certainly, not do concrete restriction at this.
After S2, terminal receive the authority description document from server, the intelligent home device controlled with these needs is set up network and is connected;
S3, terminal are to this intelligent home device sending permission description document;
Whether S4, the equipment id judged in authority description document be consistent with the id of this intelligent home device self, if so, then performs step S5; Otherwise, then show that authority description document is illegal, disconnect; After disconnecting, the number of times of this intelligent home device misregistration, if same terminal reaches the errors number of setting, then reports to the police to server after reconnecting server;
S5, to judge authority description document according to the limited time limit in authority description document whether still within the limited time limit, if so, then perform step S6; Otherwise, then show that authority description document is illegal, disconnect;
S6, according to the PKI in this intelligent home device, whether the digital signature in verifying authorization description document and authority describe list and mate, and if so, then represent that authority description document is legal, performs step S7; Otherwise, then show that authority description document is illegal, disconnect; PKI in described intelligent home device is generated by RSA Algorithm in the server, after generation, the private key of RSA is kept in server, and PKI then sends when user registers and is saved in device end and intelligent home device.Wherein, PKI and private key do not limit and generate with RSA Algorithm;
The use request of S7, reception user, and after authority is proved to be successful, intelligent home device performs this use request according to authority description document.If now control end sends an A request, according to the content that authority describes, control end has the authority of A, and so intelligent home device execution A asks and returns execution result; If control end sends a B request, according to the content of authority description, control end does not have the authority of B, then intelligent home device refusal performs B request, and returns the information of refusal execution.
From foregoing; the present invention protects authority description document by using digital signature and the term of validity; thus intelligent home device outwards can disclose authority description file format, third party's control end, intelligent home device can be linked in this environment, improve opening.And the intelligent home device of user of the present invention can complete the identification to authority completely under the state of off-line, decrease the connection of intelligent home device and server, reduce the pressure of server load, lower server cost, simultaneously user only needs to apply for that authority description document all can cannot complete the checking of authority under the state of connection server at control end and intelligent home device end, improves fail safe and the availability of product.
More than that better enforcement of the present invention is illustrated, but the invention is not limited to described embodiment, those of ordinary skill in the art also can make all equivalent variations or replacement under the prerequisite without prejudice to spirit of the present invention, and these equivalent distortion or replacement are all included in the application's claim limited range.

Claims (8)

1., for an Off-line control method for Smart Home, it is characterized in that, comprise the following steps:
A, obtain the authority description document of intelligent home device for needing to control to server request;
B, receive authority description document after, the intelligent home device controlled with these needs is set up network and is connected;
C, to this intelligent home device sending permission description document, and authority description document to be verified;
The use request of D, reception user, and after authority is proved to be successful, intelligent home device performs this use request according to authority description document.
2. Off-line control method according to claim 1, is characterized in that, described authority description document comprises equipment id, authority describes list, the file term of validity and digital signature.
3. Off-line control method according to claim 2, is characterized in that, described digital signature is describe list according to the private key on server and authority to generate.
4. Off-line control method according to claim 1, is characterized in that, verifying authority description document in described step C, and it specifically comprises:
Whether C1, the equipment id judged in authority description document be consistent with the id of this intelligent home device self, if so, then performs step C2; Otherwise, then show that authority description document is illegal, disconnect;
C2, to judge authority description document according to the limited time limit in authority description document whether still within the limited time limit, if so, then perform step C3; Otherwise, then show that authority description document is illegal, disconnect;
C3, according to the PKI in this intelligent home device, whether the digital signature in verifying authorization description document and authority describe list and mate, and if so, then represent that authority description document is legal, performs step D; Otherwise, then show that authority description document is illegal, disconnect.
5., for an Off-line control system for Smart Home, it is characterized in that, comprising:
File request module, for obtaining the authority description document for needing the intelligent home device controlled to server request;
Equipment connection module, after receiving authority description document, the intelligent home device controlled with these needs is set up network and is connected;
File verification module, for this intelligent home device sending permission description document, and verifies authority description document;
Request Executive Module, for receiving the use request of user, and after authority is proved to be successful, intelligent home device performs this use request according to authority description document.
6. Off-line control system according to claim 5, is characterized in that, described authority description document comprises equipment id, authority describes list, the file term of validity and digital signature.
7. Off-line control system according to claim 6, is characterized in that, described digital signature is describe list according to the private key on server and authority to generate.
8. Off-line control system according to claim 5, is characterized in that, described file verification module comprises:
First authentication unit, whether consistent with the id of this intelligent home device self for judging the equipment id in authority description document, if so, then perform the second authentication unit; Otherwise, then show that authority description document is illegal, disconnect;
Second authentication unit, for judging authority description document according to the limited time limit in authority description document whether still within the limited time limit, if so, then performs the 3rd authentication unit; Otherwise, then show that authority description document is illegal, disconnect;
3rd authentication unit, for according to the PKI in this intelligent home device, whether the digital signature in verifying authorization description document and authority describe list and mate, and if so, then represent that authority description document is legal, perform request Executive Module; Otherwise, then show that authority description document is illegal, disconnect.
CN201410849891.8A 2014-12-31 2014-12-31 Offline control method and system for smart home Pending CN104580191A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410849891.8A CN104580191A (en) 2014-12-31 2014-12-31 Offline control method and system for smart home

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410849891.8A CN104580191A (en) 2014-12-31 2014-12-31 Offline control method and system for smart home

Publications (1)

Publication Number Publication Date
CN104580191A true CN104580191A (en) 2015-04-29

Family

ID=53095372

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410849891.8A Pending CN104580191A (en) 2014-12-31 2014-12-31 Offline control method and system for smart home

Country Status (1)

Country Link
CN (1) CN104580191A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105357262A (en) * 2015-09-29 2016-02-24 小米科技有限责任公司 Device control method and device control apparatus
CN105978765A (en) * 2016-05-11 2016-09-28 百度在线网络技术(北京)有限公司 Intelligent household platform and multimedia network signal access method and device
CN106376000A (en) * 2016-10-09 2017-02-01 四川长虹电器股份有限公司 Intelligent device control method integrated with description file
CN110191086A (en) * 2019-04-15 2019-08-30 平安科技(深圳)有限公司 Intelligentized Furniture remote security control method, device, computer equipment and storage medium
CN110493186A (en) * 2019-07-10 2019-11-22 五八有限公司 A kind of method of adjustment and device of functional status
CN113219850A (en) * 2021-06-01 2021-08-06 漳州市德勤鑫工贸有限公司 Home system based on Internet of things

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1665184A (en) * 2004-03-05 2005-09-07 微软公司 Using a flexible rights template to obtain a signed rights label (SRL) for digital content
CN103699961A (en) * 2013-12-11 2014-04-02 中国广核集团有限公司 System and method for managing and controlling authority of personnel in multiple areas

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1665184A (en) * 2004-03-05 2005-09-07 微软公司 Using a flexible rights template to obtain a signed rights label (SRL) for digital content
CN103699961A (en) * 2013-12-11 2014-04-02 中国广核集团有限公司 System and method for managing and controlling authority of personnel in multiple areas

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105357262A (en) * 2015-09-29 2016-02-24 小米科技有限责任公司 Device control method and device control apparatus
WO2017054348A1 (en) * 2015-09-29 2017-04-06 小米科技有限责任公司 Device control method and apparatus
US9769667B2 (en) 2015-09-29 2017-09-19 Xiaomi Inc. Methods for controlling smart device
KR101855602B1 (en) * 2015-09-29 2018-05-04 시아오미 아이엔씨. Methods, apparatuses, program and recoding medium for controlling device
CN105357262B (en) * 2015-09-29 2019-07-23 小米科技有限责任公司 Apparatus control method and device
CN105978765A (en) * 2016-05-11 2016-09-28 百度在线网络技术(北京)有限公司 Intelligent household platform and multimedia network signal access method and device
CN105978765B (en) * 2016-05-11 2019-07-09 百度在线网络技术(北京)有限公司 Smart home platform, multi-media network signal access device and method
CN106376000A (en) * 2016-10-09 2017-02-01 四川长虹电器股份有限公司 Intelligent device control method integrated with description file
CN110191086A (en) * 2019-04-15 2019-08-30 平安科技(深圳)有限公司 Intelligentized Furniture remote security control method, device, computer equipment and storage medium
CN110493186A (en) * 2019-07-10 2019-11-22 五八有限公司 A kind of method of adjustment and device of functional status
CN113219850A (en) * 2021-06-01 2021-08-06 漳州市德勤鑫工贸有限公司 Home system based on Internet of things

Similar Documents

Publication Publication Date Title
US10102699B2 (en) Electronic lock authentication method and system
CN104580191A (en) Offline control method and system for smart home
TWI632798B (en) Server, mobile terminal, and network real-name authentication system and method
CN108537046A (en) A kind of online contract signature system and method based on block chain technology
CN103401880B (en) The system and method that a kind of industrial control network logs in automatically
CN104022875A (en) Bidirectional authorization system, client and method
CN112187931A (en) Session management method, device, computer equipment and storage medium
CN102571792A (en) Identity authentication method allowing intelligent mobile wireless terminal to access cloud server
CN105471815A (en) Internet-of-things data security method and Internet-of-things data security device based on security authentication
WO2017088548A1 (en) Communication method based on social identity, and server
CN103888442A (en) System with integration of visualization biological characteristics and one-time digital signature and method thereof
CN103684797A (en) Subscriber and subscriber terminal equipment correlation authentication method and system
CN105075219A (en) Network system comprising a security management server and a home network, and method for including a device in the network system
CN104717063A (en) Software security protection method of mobile terminal
CN105245342A (en) Smart phone-based electronic contract signing method and system
CN113132977A (en) Network distribution method, network distribution system and computer readable storage medium
CN115022047B (en) Account login method and device based on multi-cloud gateway, computer equipment and medium
CN108848503A (en) A kind of smart home dynamic encryption means of communication and system transmitted using merogenesis
CN105208042A (en) Resource safety access method and system
CN104717649A (en) Method for remote control over wiping of software data of mobile terminal
CN103176987A (en) Method and device for controlling database access
CN104869122A (en) Gesture password identity authentication method based on electronic signature and system thereof
CN105007162A (en) Trusted electronic signature system and electronic signature method
CN105187409B (en) A kind of device authorization system and its authorization method
CN106375304A (en) One-time authentication method realized by utilization of intelligent hardware

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information

Address after: 518000 Nanshan Medical Instrument Industrial Park 1019, Nanhai Road, Nanshan District, Shenzhen, Guangdong, A211-A213

Applicant after: Shenzhen Hai Yun new energy Co., Ltd.

Address before: 518052 Nanshan Medical Instrument Industrial Park 1019, Nanhai Road, Nanshan District, Shenzhen, Guangdong, A211-A213

Applicant before: SHENZHEN GOLDWEB TECHNOLOGY CO., LTD.

CB02 Change of applicant information
RJ01 Rejection of invention patent application after publication

Application publication date: 20150429

RJ01 Rejection of invention patent application after publication