CN105634884B - A kind of control instruction wiring method, intelligent home furnishing control method and relevant apparatus - Google Patents

A kind of control instruction wiring method, intelligent home furnishing control method and relevant apparatus Download PDF

Info

Publication number
CN105634884B
CN105634884B CN201510451742.0A CN201510451742A CN105634884B CN 105634884 B CN105634884 B CN 105634884B CN 201510451742 A CN201510451742 A CN 201510451742A CN 105634884 B CN105634884 B CN 105634884B
Authority
CN
China
Prior art keywords
control instruction
module
near field
field communication
communication tag
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.)
Active
Application number
CN201510451742.0A
Other languages
Chinese (zh)
Other versions
CN105634884A (en
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.)
Yulong Computer Telecommunication Scientific Shenzhen Co Ltd
Original Assignee
Yulong Computer Telecommunication Scientific Shenzhen 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 Yulong Computer Telecommunication Scientific Shenzhen Co Ltd filed Critical Yulong Computer Telecommunication Scientific Shenzhen Co Ltd
Priority to CN201510451742.0A priority Critical patent/CN105634884B/en
Publication of CN105634884A publication Critical patent/CN105634884A/en
Application granted granted Critical
Publication of CN105634884B publication Critical patent/CN105634884B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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]

Abstract

The present invention provides a kind of control instruction wiring method, intelligent home furnishing control method and relevant apparatus.Method includes: the signing messages for obtaining the mobile phone terminal, and the private cipher key of storage is obtained from security domain, is encrypted using signing messages described in the private cipher key pair;Encrypted signing messages is sent near field communication tag, so that the near field communication tag is decrypted and authenticates to the encrypted signing messages using the public keys of storage;Receive the confirmation message that the near field communication tag returns;After receiving the confirmation message, the control instruction controlled smart home device is generated, and the control instruction is sent to the near field communication tag, the control instruction is written in the near field communication tag to realize.The present invention downloads excessive APP application without mobile phone terminal, and management is realized simply, highly-safe.

Description

A kind of control instruction wiring method, intelligent home furnishing control method and relevant apparatus
Technical field
The present invention relates to technical field of intelligent home control, more specifically to a kind of control instruction wiring method, intelligence It can appliance control method and relevant apparatus.
Background technique
With popularizing for smart phone, the control centre that smart phone becomes smart home has become current intelligent control skill The development trend of art.
In the prior art, smart home and smart phone access network simultaneously.Smart phone passes through downloading setting and each intelligence Corresponding APP (Application, the third party application of the smart phone) application of energy household, it is real using different APP applications Now to the control of different intelligent household in family.
However the present inventor has found after studying the control mode of above-mentioned existing smart home, if existing Smart phone in technology needs to control smart homes multiple and different in family, then its smart phone just needs to download Multiple APP applications corresponding with each smart home are set, cause the APP application number of smart phone downloading setting more.And it is existing It can be matched with smart home as long as there is the APP application of the downloading setting of smart phone in technology, smart phone can be realized pair The control of smart home, safety are lower.
Summary of the invention
In view of this, the present invention provides a kind of control instruction wiring method, intelligent home furnishing control method and relevant apparatus, with It solving in the prior art when needing to control multiple smart homes, smart phone needs to download the corresponding multiple APP applications of setting, And the problem that existing intelligent control method safety is lower.Technical solution is as follows:
Based on an aspect of of the present present invention, the present invention provides a kind of control instruction wiring method, is applied to mobile phone terminal side, institute Stating mobile phone terminal side includes the security domain for storing private cipher key and the near field communication tag for storing public keys, described Near field communication tag is also used to store the control instruction for controlling multiple and different smart home device movements, which comprises
The signing messages of the mobile phone terminal is obtained, and obtains the private cipher key of storage from the security domain, utilizes institute Signing messages described in private cipher key pair is stated to be encrypted;
Encrypted signing messages is sent to the near field communication tag, so that the near field communication tag utilizes storage Public keys the encrypted signing messages is decrypted and is authenticated;
Receive the confirmation message that the near field communication tag returns;
After receiving the confirmation message, the control instruction that controls smart home device is generated, and by the control Instruction is sent to the near field communication tag, and the control instruction is written in the near field communication tag to realize.
Preferably, the confirmation message is encrypted via the near field communication tag using the public keys of storage;
It is described after receiving the confirmation message, it is described generate the control instruction that controls smart home device before, institute State method further include:
The confirmation message is decrypted;
Whether the confirmation message after judging decryption meets preset condition;
If it is satisfied, executing step again generates the control instruction that controls smart home device, and by the control instruction It is sent to the near field communication tag, the control instruction is written in the near field communication tag to realize.
Preferably, described to judge whether the confirmation message after decrypting meets preset condition and include:
Whether the format of the confirmation message after judging decryption meets preset reference format.
Based on another aspect of the present invention, the present invention provides a kind of control instruction wiring method, is applied to mobile phone terminal side, The mobile phone terminal side includes the security domain for storing private cipher key and the near field communication tag for storing public keys, institute It states near field communication tag and is also used to store the control instruction for controlling multiple and different smart home device movements, the method packet It includes:
Encrypted signing messages is received, the encrypted signing messages is privately owned using storing in the security domain Key be encrypted after information;
Using the public keys, the encrypted signing messages is decrypted;
Whether the signing messages after judging decryption and pre-stored signing messages in the near field communication tag are consistent;
If consistent, generate confirmation message and return;
Receive and store the control instruction to smart home device control.
Preferably, after the generation confirmation message, the method also includes:
Using the public keys, the confirmation message is encrypted;
Return to encrypted confirmation message.
Based on another aspect of the invention, the present invention provides a kind of intelligent home furnishing control method, is applied to mobile phone terminal side, The mobile phone terminal side includes the security domain for storing private cipher key and the near field communication tag for storing public keys, institute It states near field communication tag and is also used to store the control instruction for controlling multiple and different smart home movements, which comprises
Read the control instruction information stored in the near field communication tag;
It is decrypted using control instruction information described in the private cipher key pair stored in the security domain;
Whether the control instruction information after judging decryption meets preset condition;
If it is satisfied, generating control instruction according to the control instruction information after the decryption, and the control instruction is sent out It send to smart home device, to realize the control to the smart home device.
Preferably, described to judge whether the control instruction information after decrypting meets preset condition and include;
Whether the format of the control instruction information after judging decryption meets preset reference format.
Preferably, the control instruction information stored in the near field communication tag that reads includes:
After the mobile phone terminal enters the field region of the near field communication tag, the near field communication tag is activated, Actively read the control instruction information stored in the near field communication tag.
Based on another aspect of the invention, the present invention provides a kind of control instruction writing station, is applied to mobile phone terminal side, The mobile phone terminal includes the security domain module for storing private cipher key, and for storing public keys, and for storing The near field communication tag module of the control instruction of multiple and different smart home device movements is controlled, described device includes:
Module is obtained, for obtaining the signing messages of the mobile phone terminal;
First encrypting module, for obtaining the private cipher key of storage from the security domain module, using described privately owned close Key encrypts the signing messages;
First sending module, for encrypted signing messages to be sent to the near field communication tag module, so that institute Near field communication tag module is stated the encrypted signing messages is decrypted and is authenticated using the public keys of storage;
First receiving module, the confirmation message returned for receiving the near field communication tag module;
First control instruction generates sending module, for after receiving the confirmation message, generation to set smart home The control instruction of standby control, and the control instruction is sent to the near field communication tag, to realize in the near-field communication The control instruction is written in label.
Preferably, the confirmation message is added via the near field communication tag module using the public keys of storage It is close;
Described device further include:
First deciphering module, for the confirmation message to be decrypted;
First judgment module, for judging whether the confirmation message after decryption meets preset condition;
When confirmation message after first judgment module judgement decryption meets preset condition, then control first control System instruction generates sending module and generates the control instruction that control smart home device, and described in the control instruction is sent to The control instruction is written to realize near field communication tag in the near field communication tag.
Preferably, the first judgment module is specifically used for, and it is pre- whether the format of the confirmation message after judging decryption meets The reference format first set.
Based on another aspect of the invention, the present invention provides a kind of near field communication tag module, is applied to mobile phone terminal side, The mobile phone terminal side further includes the security domain module for storing private cipher key, and the near field communication tag module is for storing Public keys, and for storing the control instruction for controlling multiple and different smart home device movements;The near-field communication mark Signing module includes:
Second receiving module, for receiving encrypted signing messages, the encrypted signing messages utilizes the peace The private cipher key stored in universe module has carried out encryption;
Second deciphering module is decrypted the encrypted signing messages for utilizing the public keys;
Second judgment module is stored in advance in signing messages and the near field communication tag module after decrypting for judging Signing messages it is whether consistent;
Confirmation message generation module, for generating confirmation message;
Information return module, the confirmation message generated for returning to the confirmation message generation module;
Memory module is received, for receiving and storing the control instruction to smart home device control.
Preferably, further includes:
Second encrypting module, for utilizing the public keys, to the confirmation letter of confirmation message generation module generation Breath is encrypted;
The information return module is specifically used for, and returns to encrypted confirmation message.
Based on another aspect of the invention, the present invention provides a kind of intelligent home control device, is applied to mobile phone terminal side, The mobile phone terminal includes the security domain module for storing private cipher key, and for storing public keys, and for storing The near field communication tag module of the control instruction of multiple and different smart home device movements is controlled, described device includes:
Read module, for reading the control instruction information stored in the near field communication tag module;
Third deciphering module, for utilizing control instruction information described in the private cipher key pair stored in the security domain module It is decrypted;
Third judgment module, for judging whether the control instruction information after decryption meets preset condition;
Second control instruction generates sending module, for judging the letter of control instruction after decryption when the third judgment module When breath meets preset condition, control instruction is generated according to the control instruction information after the decryption, and the control instruction is sent out It send to smart home device, to realize the control to the smart home device.
Preferably, the third judgment module is specifically used for, and whether the format of the control instruction information after judging decryption accords with Close preset reference format.
Preferably, the read module is specifically used for, when the mobile phone terminal enters the magnetic field of the near field communication tag Behind region, the near field communication tag is activated, actively reads the control instruction information stored in the near field communication tag.
Near field communication tag (Near Field using above-mentioned technical proposal of the present invention, in the present invention Communication tag, NFC tag) for storing the control instruction for controlling multiple and different smart home device movements, i.e., only One near field communication tag of installation need to be downloaded in mobile phone terminal side can be realized the control to multiple smart home devices, and existing The implementation for needing to download the corresponding multiple APP applications of setting in technology is compared, and the invention avoids mobile phone terminals to download More APP applications, manage, realize it is relatively simple.Meanwhile the present invention provides a set of security mechanism, i.e. mobile phone terminal only exists It is correctly completed encryption to information, decrypting process in mobile phone terminal, is just able to achieve near field communication tag and control instruction is written, And then realize the subsequent control to smart home device, therefore invention prevents malicious peers near field communication tag malice The generation for distorting control instruction improves the safety that mobile phone terminal controls smart home device.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this The embodiment of invention for those of ordinary skill in the art without creative efforts, can also basis The attached drawing of offer obtains other attached drawings.
Fig. 1 is a kind of a kind of flow chart of control instruction wiring method provided by the invention;
Fig. 2 is a kind of another flow chart of control instruction wiring method provided by the invention;
Fig. 3 is a kind of another flow chart of control instruction wiring method provided by the invention;
Fig. 4 is a kind of a kind of flow chart of intelligent home furnishing control method provided by the invention;
Fig. 5 is a kind of structural schematic diagram of control instruction writing station provided by the invention;
Fig. 6 is a kind of structural schematic diagram of near field communication tag module provided by the invention;
Fig. 7 is a kind of structural schematic diagram of intelligent home control device provided by the invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on Embodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts every other Embodiment shall fall within the protection scope of the present invention.
Embodiment one
Referring to Fig. 1, it illustrates a kind of a kind of flow chart of control instruction wiring method provided by the invention, this method Applied to mobile phone terminal side, the mobile phone terminal side includes for storing the trustzone of private cipher key (security domain) and being used for Store the NFC tag (Near Field Communication tag, near field communication tag), the NFC tag of public keys It is also used to store the control instruction for controlling multiple and different smart home device movements, which comprises
Step 101, the signing messages of the mobile phone terminal is obtained, and obtains the privately owned of storage from the trustzone Key is encrypted using signing messages described in the private cipher key pair.
Wherein the signing messages is used to characterize the identity of the mobile phone terminal.
In the present invention, signing messages can be specially the telephone number etc. of mobile phone terminal.The present invention obtains mobile phone first The signing messages of terminal, and encrypted using the private cipher key stored in trustzone.
Step 102, encrypted signing messages is sent to the NFC tag, so that the NFC tag utilizes storage Public keys is decrypted and authenticates to the encrypted signing messages.
It in the present invention, can be according further to the public affairs of its own storage after NFC tag receives encrypted signing messages Encrypted signing messages described in key pair is decrypted and authenticates altogether.When NFC tag decryption, and authentication signature information is correct Afterwards, a confirmation message can be generated and returned.
Step 103, the confirmation message that the NFC tag is returned is received.
Step 104, the control instruction that control smart home device is generated, and described in the control instruction is sent to The control instruction is written in the NFC tag to realize in NFC tag.
When the present invention receives the confirmation message of NFC tag return, i.e. expression NFC tag allows current phone terminal to exist The operation such as write-in, reading is executed in NFC tag, the present invention can control smart home device according to actual needs generation at this time Control instruction is sent to NFC tag by control instruction, to complete the operation that control instruction is written in NFC tag.
Furthermore as more preferably, in order to further ensure transmitting the safety of information, the NFC tag in the present invention will be received To encrypted signing messages be decrypted, authenticate and pass through, generate confirmation message after, can further utilize its own storage Public keys encrypts confirmation message, and then encrypted confirmation message is returned.
Control instruction wiring method can be as shown in Fig. 2, after the step 103 in above-described embodiment one at this time, step 104 Before further include:
Step 105, the confirmation message is decrypted.
Specifically, the present invention obtains private cipher key from trustzone, decrypts confirmation message using private cipher key.
Step 106, whether the confirmation message after judging decryption meets preset condition.If it is satisfied, executing step 104, such as Fruit is unsatisfactory for, and executes step 107.
Wherein, it can be specially the confirmation letter after judgement decryption that whether the confirmation message after judging decryption, which meets preset condition, Whether the format of breath meets preset reference format.
Step 107, operation is terminated.
Therefore above-mentioned technical proposal of the invention is applied, the NFC tag in the present invention controls multiple and different intelligence for storing The control instruction of energy home equipment movement, i.e., only need to download one NFC tag of installation in mobile phone terminal side can be realized to multiple The control of smart home device, compared with needing to download the implementation that corresponding multiple APP applications are set in the prior art, this Invention avoids mobile phone terminal and downloads excessive APP application, manage, realize it is relatively simple.Meanwhile the present invention provides a set of peaces Full mechanism, i.e. mobile phone terminal are only correctly completed encryption to information, decrypting process in mobile phone terminal, are just able to achieve in NFC Control instruction is written in tag, and then realizes the subsequent control to smart home device, therefore invention prevents malicious peers to exist The generation that control instruction is maliciously distorted in NFC tag improves the safety that mobile phone terminal controls smart home device.
Embodiment two
Referring to Fig. 3, it illustrates a kind of another flow chart of control instruction wiring method provided by the invention, the party Method is applied to mobile phone terminal side, and the mobile phone terminal side includes trustzone for storing private cipher key and for storing public affairs The NFC tag of key, the control that the NFC tag is also used to store the multiple and different smart home device movement of control refer to altogether It enables, which comprises
Step 301, encrypted signing messages is received.Wherein, the encrypted signing messages is described in utilization The private cipher key stored in trustzone be encrypted after information.
Step 302, using the public keys, the encrypted signing messages is decrypted.
Step 303, judge decryption after signing messages and the NFC tag in pre-stored signing messages whether one It causes.If consistent, step 304 is executed, if inconsistent, executes step 306.
Wherein, signing messages can be specially the telephone number etc. of mobile phone terminal.In the present embodiment, NFC tag is preparatory The different signing messages for characterizing mobile phone terminal are stored, the corresponding mobile phone terminal of signing messages of storage is defaulted as NFC Tag allows to execute the mobile phone terminal of write operation.Therefore, when a certain mobile phone terminal needs that control instruction is written in NFC tag When, NFC tag is first depending on signing messages and pre-stored signing messages after decryption, carries out to the identity of the mobile phone terminal Certification.When signing messages only after judgement decryption is consistent with signing messages pre-stored in NFC tag, authentication authorization and accounting mobile phone When the identity of terminal is legal, the mobile phone terminal could be allowed to execute write operation, and then execute step 304, generate confirmation message simultaneously It returns.
Step 304, it generates confirmation message and returns.
In the present embodiment, the confirmation message for generating and returning is write for informing that mobile phone terminal can execute in NFC tag Operation.
The control instruction that smart home device controls is sent out after mobile phone terminal receives the confirmation message, and then by realizing It send to NFC tag.
Step 305, the control instruction to smart home device control is received and stored.
At this point, NFC tag receives and stores the control instruction to smart home device control received, that is, complete Write operation in NFC tag.
Step 306, operation is terminated.
Furthermore as more preferably, in order to further ensure transmitting the safety of information, the NFC tag in the present invention is being generated It after confirmation message, can further include: utilizing the public keys, the confirmation message is encrypted.At this point, this hair It is bright to return to encrypted confirmation message.
Embodiment three
Above-described embodiment one and embodiment two mainly describe the realization of mobile phone terminal side and complete write operation in NFC tag Technical solution, below the present embodiment three will with regard to mobile phone terminal how to implement to smart home device control technical solution It is described further.
Referring specifically to Fig. 4, it illustrates a kind of a kind of flow charts of intelligent home furnishing control method provided by the invention, should Method is applied to mobile phone terminal side, and the mobile phone terminal side includes trustzone for storing private cipher key and for storing The NFC tag of public keys, the control that the NFC tag is also used to store the multiple and different smart home device movement of control refer to It enables, which comprises
Step 401, the control instruction information stored in the NFC tag is read.
In actual application, after mobile phone terminal enters the field region of the NFC tag, the NFC can be activated Tag, and then actively read the control instruction information stored in the NFC tag.
The control instruction information may include that open command information, out code information, wind speed tune up command information, wind The small command information of velocity modulation, the command information that is swung left and right, SLEEP instruction information etc..
Step 402, it is decrypted using control instruction information described in the private cipher key pair stored in the trustzone.
In the present invention, in order to guarantee to transmit the safety of information, the control instruction information stored in NFC tag is utilizes Information after public-key encryption, then after the control instruction information that mobile phone terminal stores in reading NFC tag, need into One step is decrypted using control instruction information described in the private cipher key pair stored in the trustzone.
Step 403, whether the control instruction information after judging decryption meets preset condition.If it is satisfied, executing step 404, if conditions are not met, executing step 405.
In the present embodiment, whether the control instruction information after judging decryption meets preset condition can be specifically, judgement Whether the format of the control instruction information after decryption meets preset reference format.
Step 404, control instruction is generated according to the control instruction information after the decryption, and the control instruction is sent To smart home device, to realize the control to the smart home device.
Step 405, operation is terminated.
Embodiment five
On the basis of the above embodiments, the present invention also provides a kind of control instruction writing stations, are applied to mobile phone terminal Side, the mobile phone terminal include the trustzone module for storing private cipher key, and for storing public keys, Yi Jiyong The NFC tag module of the control instruction of multiple and different smart home device movements, the specific knot of described device are controlled in storage Structure is as shown in Figure 5, comprising: obtains module 10, the first encrypting module 20, the first sending module 30, the first receiving module 40 and the One control instruction generates sending module 50.Wherein,
Module 10 is obtained, for obtaining the signing messages of the mobile phone terminal;Wherein the signing messages is for characterizing institute State the identity of mobile phone terminal;
First encrypting module 20 utilizes the private for obtaining the private cipher key of storage from the trustzone module There is signing messages described in key pair to be encrypted;
First sending module 30, for encrypted signing messages to be sent to the NFC tag module, so that described NFC tag module is decrypted and authenticates to the encrypted signing messages using the public keys of storage;
First receiving module 40, the confirmation message returned for receiving the NFC tag module;
First control instruction generates sending module 50, for generating to smart home after receiving the confirmation message The control instruction of equipment control, and the control instruction is sent to the NFC tag, it is write in the NFC tag with realizing Enter the control instruction.
Wherein, when the confirmation message is encrypted via the NFC tag module using the public keys of storage;
Described device further include:
First deciphering module 60, for the confirmation message to be decrypted;
First judgment module 70, for judging whether the confirmation message after decryption meets preset condition;
When confirmation message after the first judgment module 70 judgement decryption meets preset condition, then control described first Control instruction generates sending module 50 and generates the control instruction controlled smart home device, and the control instruction is sent to The control instruction is written in the NFC tag to realize in the NFC tag.
Wherein preferably, first judgment module 70 is specifically used for, and whether the format of the confirmation message after judging decryption meets Preset reference format.
Embodiment six
Referring to Fig. 6, it illustrates a kind of structural schematic diagram of NFC tag module provided by the invention, the NFC tag mould Block is applied to mobile phone terminal side, and the mobile phone terminal side further includes the trustzone module for storing private cipher key, described NFC tag module is for storing public keys, and the control for storing the multiple and different smart home device movement of control Instruction;The NFC tag module specifically includes: the second receiving module 100, the second deciphering module 200, the second judgment module 300, Confirmation message generation module 400, information return module 500 and reception memory module 600.Wherein,
Second receiving module 100, for receiving encrypted signing messages, described in the encrypted signing messages utilizes The private cipher key stored in trustzone module has carried out encryption;
Second deciphering module 200 is decrypted the encrypted signing messages for utilizing the public keys;
Second judgment module 300, for judge decryption after signing messages with it is pre-stored in the NFC tag module Whether signing messages is consistent;
Confirmation message generation module 400, for generating confirmation message;
Information return module 500, the confirmation message generated for returning to the confirmation message generation module;
Memory module 600 is received, for receiving and storing the control instruction to smart home device control.
Wherein preferably, NFC tag module further include:
Second encrypting module 700, the confirmation for utilizing the public keys, to confirmation message generation module generation Information is encrypted;
The information return module 500 is specifically used at this time, returns to encrypted confirmation message.
Embodiment seven
Referring to Fig. 7, it illustrates a kind of structural schematic diagram of intelligent home control device provided by the invention, the intelligence Home control device is applied to mobile phone terminal side, and the mobile phone terminal includes the security domain for storing private cipher key Trustzone module, and multiple and different smart home device movements is controlled for storing public keys, and for storing The NFC tag module of control instruction, described device include: read module 1000, third deciphering module 2000, third judgment module 3000 and second control instruction generate sending module 4000.
Read module 1000, for reading the control instruction information stored in the NFC tag module;
Third deciphering module 2000, for utilizing control described in the private cipher key pair stored in the trustzone module Command information is decrypted;
Third judgment module 3000, for judging whether the control instruction information after decryption meets preset condition;
Second control instruction generates sending module 4000, for judging control after decryption when the third judgment module 2000 When command information processed meets preset condition, control instruction is generated according to the control instruction information after the decryption, and by the control System instruction is sent to smart home device, to realize the control to the smart home device.
Wherein, the third judgment module 3000 is specifically used for, and whether the format of the control instruction information after judging decryption Meet preset reference format.
The read module 1000 is specifically used for, and after the mobile phone terminal enters the field region of the NFC tag, swashs The NFC tag living, actively reads the control instruction information stored in the NFC tag.
It should be noted that all the embodiments in this specification are described in a progressive manner, each embodiment weight Point explanation is the difference from other embodiments, and the same or similar parts between the embodiments can be referred to each other. For device class embodiment, since it is basically similar to the method embodiment, so being described relatively simple, related place ginseng See the part explanation of embodiment of the method.
Finally, it is to be noted that, herein, relational terms such as first and second and the like be used merely to by One entity or operation are distinguished with another entity or operation, without necessarily requiring or implying these entities or operation Between there are any actual relationship or orders.Moreover, the terms "include", "comprise" or its any other variant meaning Covering non-exclusive inclusion, so that the process, method, article or equipment for including a series of elements not only includes that A little elements, but also including other elements that are not explicitly listed, or further include for this process, method, article or The intrinsic element of equipment.In the absence of more restrictions, the element limited by sentence "including a ...", is not arranged Except there is also other identical elements in the process, method, article or apparatus that includes the element.
Above to a kind of control instruction wiring method provided by the present invention, intelligent home furnishing control method and relevant apparatus into It has gone and has been discussed in detail, used herein a specific example illustrates the principle and implementation of the invention, the above implementation The explanation of example is merely used to help understand method and its core concept of the invention;Meanwhile for the general technology people of this field Member, according to the thought of the present invention, there will be changes in the specific implementation manner and application range, in conclusion this explanation Book content should not be construed as limiting the invention.

Claims (16)

1. a kind of control instruction wiring method is applied to mobile phone terminal side, which is characterized in that the mobile phone terminal side includes being used for The security domain of private cipher key and the near field communication tag for storing public keys are stored, the near field communication tag is also used to deposit Storage controls the control instruction of multiple and different smart home device movements, which comprises
The signing messages of the mobile phone terminal is obtained, and obtains the private cipher key of storage from the security domain, utilizes the private There is signing messages described in key pair to be encrypted;
Encrypted signing messages is sent to the near field communication tag, so that public affairs of the near field communication tag using storage Encrypted signing messages described in key pair is decrypted and authenticates altogether;
Receive the confirmation message that the near field communication tag returns;
After receiving the confirmation message, the control instruction that controls smart home device is generated, and by the control instruction It is sent to the near field communication tag, the control instruction is written in the near field communication tag to realize.
2. the method according to claim 1, wherein the confirmation message is utilized via the near field communication tag The public keys of storage is encrypted;
It is described after receiving the confirmation message, it is described generate the control instruction that controls smart home device before, the side Method further include:
The confirmation message is decrypted;
Whether the confirmation message after judging decryption meets preset condition;
If it is satisfied, executing step again generates the control instruction controlled smart home device, and the control instruction is sent To the near field communication tag, the control instruction is written in the near field communication tag to realize.
3. according to the method described in claim 2, it is characterized in that, it is described judge decryption after confirmation message whether meet it is default Condition includes:
Whether the format of the confirmation message after judging decryption meets preset reference format.
4. a kind of control instruction wiring method is applied to mobile phone terminal side, which is characterized in that the mobile phone terminal side includes being used for The security domain of private cipher key and the near field communication tag for storing public keys are stored, the near field communication tag is also used to deposit Storage controls the control instruction of multiple and different smart home device movements, which comprises
Encrypted signing messages is received, the encrypted signing messages is to utilize the private cipher key stored in the security domain Information after being encrypted;
Using the public keys, the encrypted signing messages is decrypted;
Whether the signing messages after judging decryption and pre-stored signing messages in the near field communication tag are consistent;
If consistent, generate confirmation message and return;
Receive and store the control instruction to smart home device control.
5. according to the method described in claim 4, it is characterized in that, after the generation confirmation message, the method also includes:
Using the public keys, the confirmation message is encrypted;
Return to encrypted confirmation message.
6. a kind of intelligent home furnishing control method is applied to mobile phone terminal side, which is characterized in that the mobile phone terminal side includes being used for It stores the security domain of private cipher key and is also used to deposit for storing near field communication tag described in the near field communication tag of public keys Storage controls the control instruction of multiple and different smart home device movements, which comprises
The signing messages of the mobile phone terminal is obtained, and obtains the private cipher key of storage from the security domain, utilizes the private There is signing messages described in key pair to be encrypted;
Encrypted signing messages is sent to the near field communication tag, so that public affairs of the near field communication tag using storage Encrypted signing messages described in key pair is decrypted and authenticates altogether;
Receive the confirmation message that the near field communication tag returns;
After receiving the confirmation message, the control instruction that controls smart home device is generated, and by the control instruction It is sent to the near field communication tag, the control instruction is written in the near field communication tag to realize;
Read the control instruction information stored in the near field communication tag;
It is decrypted using control instruction information described in the private cipher key pair stored in the security domain;
Whether the control instruction information after judging decryption meets preset condition;
If it is satisfied, generating control instruction according to the control instruction information after the decryption, and the control instruction is sent to Smart home device, to realize the control to the smart home device.
7. according to the method described in claim 6, it is characterized in that, described judge whether the control instruction information after decryption meets Preset condition includes;
Whether the format of the control instruction information after judging decryption meets preset reference format.
8. method according to claim 6 or 7, which is characterized in that stored in the reading near field communication tag Control instruction information includes:
After the mobile phone terminal enters the field region of the near field communication tag, the near field communication tag is activated, actively Read the control instruction information stored in the near field communication tag.
9. a kind of control instruction writing station is applied to mobile phone terminal side, which is characterized in that the mobile phone terminal includes for depositing The security domain module of private cipher key is stored up, and controls multiple and different smart homes for storing public keys, and for storing The near field communication tag module of the control instruction of device action, described device include:
Module is obtained, for obtaining the signing messages of the mobile phone terminal;
First encrypting module utilizes the private cipher key pair for obtaining the private cipher key of storage from the security domain module The signing messages is encrypted;
First sending module, for encrypted signing messages to be sent to the near field communication tag module, so that described close Field communication tags module is decrypted and authenticates to the encrypted signing messages using the public keys of storage;
First receiving module, the confirmation message returned for receiving the near field communication tag module;
First control instruction generates sending module, for generating to smart home device control after receiving the confirmation message The control instruction of system, and the control instruction is sent to the near field communication tag, to realize in the near field communication tag The middle write-in control instruction.
10. device according to claim 9, which is characterized in that the confirmation message is via the near field communication tag mould Block is encrypted using the public keys of storage;
Described device further include:
First deciphering module, for the confirmation message to be decrypted;
First judgment module, for judging whether the confirmation message after decryption meets preset condition;
When confirmation message after first judgment module judgement decryption meets preset condition, then controls first control and refer to It enables and generates the control instruction that sending module generation controls smart home device, and the control instruction is sent to the near field The control instruction is written to realize in communication tags in the near field communication tag.
11. device according to claim 10, which is characterized in that the first judgment module is specifically used for, and judges to decrypt Whether the format of confirmation message afterwards meets preset reference format.
12. a kind of near field communication tag module is applied to mobile phone terminal side, which is characterized in that the mobile phone terminal side further includes For storing the security domain module of private cipher key, the near field communication tag module is used to store public keys, and for depositing Storage controls the control instruction of multiple and different smart home device movements;The near field communication tag module includes:
Second receiving module, for receiving encrypted signing messages, the encrypted signing messages utilizes the security domain The private cipher key stored in module has carried out encryption;
Second deciphering module is decrypted the encrypted signing messages for utilizing the public keys;
Second judgment module, for judging pre-stored label in signing messages and the near field communication tag module after decrypting Whether name information is consistent;
Confirmation message generation module, for generating confirmation message;
Information return module, the confirmation message generated for returning to the confirmation message generation module;
Memory module is received, for receiving and storing the control instruction to smart home device control.
13. near field communication tag module according to claim 12, which is characterized in that further include:
Second encrypting module, for utilize the public keys, to the confirmation message generation module generate confirmation message into Row encryption;
The information return module is specifically used for, and returns to encrypted confirmation message.
14. a kind of intelligent home control device is applied to mobile phone terminal side, which is characterized in that the mobile phone terminal includes being used for The security domain module of private cipher key is stored, and controls multiple and different intelligent families for storing public keys, and for storing The near field communication tag module of the control instruction of device action is occupied, described device includes:
Module is obtained, for obtaining the signing messages of the mobile phone terminal;
First encrypting module utilizes the private cipher key pair for obtaining the private cipher key of storage from the security domain module The signing messages is encrypted;
First sending module, for encrypted signing messages to be sent to the near field communication tag module, so that described close Field communication tags module is decrypted and authenticates to the encrypted signing messages using the public keys of storage;
First receiving module, the confirmation message returned for receiving the near field communication tag module;
First control instruction generates sending module, for generating to smart home device control after receiving the confirmation message The control instruction of system, and the control instruction is sent to the near field communication tag, to realize in the near field communication tag The middle write-in control instruction
Read module, for reading the control instruction information stored in the near field communication tag module;
Third deciphering module, for being carried out using control instruction information described in the private cipher key pair stored in the security domain module Decryption;
Third judgment module, for judging whether the control instruction information after decryption meets preset condition;
Second control instruction generates sending module, for judging that control instruction information after decryption is full when the third judgment module When sufficient preset condition, control instruction is generated according to the control instruction information after the decryption, and the control instruction is sent to Smart home device, to realize the control to the smart home device.
15. device according to claim 14, which is characterized in that the third judgment module is specifically used for, and judges to decrypt Whether the format of control instruction information afterwards meets preset reference format.
16. device according to claim 14 or 15, which is characterized in that the read module is specifically used for, when the hand After machine terminal enters the field region of the near field communication tag, the near field communication tag is activated, the near field is actively read The control instruction information stored in communication tags.
CN201510451742.0A 2015-07-28 2015-07-28 A kind of control instruction wiring method, intelligent home furnishing control method and relevant apparatus Active CN105634884B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510451742.0A CN105634884B (en) 2015-07-28 2015-07-28 A kind of control instruction wiring method, intelligent home furnishing control method and relevant apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510451742.0A CN105634884B (en) 2015-07-28 2015-07-28 A kind of control instruction wiring method, intelligent home furnishing control method and relevant apparatus

Publications (2)

Publication Number Publication Date
CN105634884A CN105634884A (en) 2016-06-01
CN105634884B true CN105634884B (en) 2019-07-30

Family

ID=56049414

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510451742.0A Active CN105634884B (en) 2015-07-28 2015-07-28 A kind of control instruction wiring method, intelligent home furnishing control method and relevant apparatus

Country Status (1)

Country Link
CN (1) CN105634884B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111432390A (en) * 2020-04-08 2020-07-17 武汉天喻聚联网络有限公司 Networking and configuration system and method for Internet of things equipment
CN111783914A (en) * 2020-07-01 2020-10-16 Oppo广东移动通信有限公司 Information processing method, information processing device and mobile terminal
CN112787897A (en) * 2020-12-22 2021-05-11 青岛经济技术开发区海尔热水器有限公司 Household appliance control method and water heater
CN112866930B (en) * 2021-01-28 2023-03-21 月桂树科技(天津)有限公司 Wireless control method and system and door unlocking method
CN115550002A (en) * 2022-09-20 2022-12-30 贵州电网有限责任公司 TEE-based intelligent home remote control method and related device

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102768514A (en) * 2012-07-06 2012-11-07 南京物联传感技术有限公司 Home control system and control method thereof
CN103116334A (en) * 2013-01-11 2013-05-22 广东美的电器股份有限公司 Control method of household appliance equipment, control system and air conditioner system
CN204291001U (en) * 2014-12-05 2015-04-22 聚辰半导体(上海)有限公司 There is the near field communication tag of encipherment protection and applicable near-field communication control system

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103680101B (en) * 2013-12-13 2017-05-03 深圳Tcl新技术有限公司 Method and system for editing NFC (near field communication) data for NFC equipment or NFC label
CN104092768B (en) * 2014-07-21 2017-07-04 广东欧珀移动通信有限公司 A kind of method and device that wireless router parameter is set
CN207995292U (en) * 2018-01-26 2018-10-19 中新科技集团股份有限公司 The TV remote controller and remote control system of recognizable NFC terminal

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102768514A (en) * 2012-07-06 2012-11-07 南京物联传感技术有限公司 Home control system and control method thereof
CN103116334A (en) * 2013-01-11 2013-05-22 广东美的电器股份有限公司 Control method of household appliance equipment, control system and air conditioner system
CN204291001U (en) * 2014-12-05 2015-04-22 聚辰半导体(上海)有限公司 There is the near field communication tag of encipherment protection and applicable near-field communication control system

Also Published As

Publication number Publication date
CN105634884A (en) 2016-06-01

Similar Documents

Publication Publication Date Title
CN105959189B (en) Household appliance and its with the communication system and method for Cloud Server and terminal, terminal
CN106130982B (en) Intelligent household appliance remote control method based on PKI system
CN105050081B (en) Method, device and system for connecting network access device to wireless network access point
CN103503366B (en) Manage the data for authenticating device
CN106161359B (en) It authenticates the method and device of user, register the method and device of wearable device
CN105376216B (en) A kind of remote access method, proxy server and client
CN105634884B (en) A kind of control instruction wiring method, intelligent home furnishing control method and relevant apparatus
CN106101147B (en) A kind of method and system for realizing smart machine and the communication of remote terminal dynamic encryption
CN102223364B (en) Method and system for accessing e-book data
CN107358441B (en) Payment verification method and system, mobile device and security authentication device
CN100533459C (en) Data safety reading method and safety storage apparatus thereof
Busold et al. Smart keys for cyber-cars: Secure smartphone-based NFC-enabled car immobilizer
CN101296086B (en) Method, system and device for access authentication
CN105282179B (en) A method of family's Internet of Things security control based on CPK
CN103731756A (en) Smart home remote security access control implementation method based on smart cloud television gateway
CN104584521A (en) Mobile communication device
CN104202170B (en) A kind of identity authorization system and method based on mark
CN101120569A (en) Remote access system and method for user to remotely access terminal equipment from subscriber terminal
CN104219055A (en) NFC (near field communication)-based point-to-point trusted authentication method
CN109218263A (en) A kind of control method and device
CN107888603A (en) A kind of registration of Internet of Things smart machine, authentication method and Internet of Things
CN101122942A (en) Data safe reading method and its safe storage device
CN104660567B (en) D2D terminal access authentications method, D2D terminals and server
CN202696901U (en) Mobile terminal identity authentication system based on digital certificate
CN107819673A (en) It is a kind of based on the intelligent home furnishing control method to communicate in time

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant