CN105634884A - Control instruction writing method, intelligent home control method and related device - Google Patents

Control instruction writing method, intelligent home control method and related device Download PDF

Info

Publication number
CN105634884A
CN105634884A CN201510451742.0A CN201510451742A CN105634884A CN 105634884 A CN105634884 A CN 105634884A CN 201510451742 A CN201510451742 A CN 201510451742A CN 105634884 A CN105634884 A CN 105634884A
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.)
Granted
Application number
CN201510451742.0A
Other languages
Chinese (zh)
Other versions
CN105634884B (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]

Landscapes

  • Telephone Function (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The invention provides a control instruction writing method, an intelligent home control method and a related device. The method comprises the following steps: obtaining signature information of a mobile phone terminal, obtaining a stored private key from a security domain, and encrypting the signature information via the private key; sending the encrypted signature information to a near field communication tag, thus allowing the near field communication tag to decrypt and authenticate the encrypted signature information via a stored public key; receiving confirmation information returned by the near field communication tag; and after the confirmation information is received, generating a control instruction of controlling an intelligent home device, and sending the control instruction to the near field communication tag, so as to write the control instruction in the near field communication tag. According to the control instruction writing method provided by the invention, no excessive APP needs to be downloaded by the mobile phone terminal, the management and implementation are simple, and the security is high.

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 particularly, it relates to a kind of control instruction wiring method, intelligent home furnishing control method and relevant apparatus.
Background technology
Universal along with smart mobile phone, smart mobile phone becomes the control centre of Smart Home and has become the development trend of current intelligent control technology.
In prior art, Smart Home and smart mobile phone are concurrently accessed network. Smart mobile phone arranges APP (Application, the third party application of the smart mobile phone) application corresponding with each Smart Home by downloading, and utilizes different APP application to realize the control of different intelligent household in family.
But the present inventor finds after the control mode of above-mentioned existing Smart Home is studied, if smart mobile phone of the prior art needs different intelligent households multiple in family are controlled, so its smart mobile phone is accomplished by downloading and arranges the multiple APPs application corresponding with each Smart Home, causes smart mobile phone to download the APP application number arranged more. And the APP that in prior art, as long as smart mobile phone download is arranged applies and can mate with Smart Home, its smart mobile phone can realize the control to Smart Home, and safety is relatively low.
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, to solve in prior art when needs control multiple Smart Home, smart mobile phone needs to download the multiple APP application arranging correspondence and the problem that existing intelligent control method safety is relatively low. Technical scheme is as follows:
Based on an aspect of of the present present invention, the present invention provides a kind of control instruction wiring method, it is applied to mobile phone terminal side, described mobile phone terminal side includes the security domain for storing private cipher key and for storing the near field communication tag of public keys, described near field communication tag is additionally operable to storage and controls the control instruction of multiple different intelligent home device actions, and described method includes:
Obtain the signing messages of described mobile phone terminal, and from described security domain, obtain the private cipher key of storage, utilize described private cipher key that described signing messages is encrypted;
Signing messages after encryption is sent to described near field communication tag, so that the signing messages after described encryption is decrypted and certification by the public keys that described near field communication tag utilizes storage;
Receive the confirmation that described near field communication tag returns;
After receiving described confirmation, generate the control instruction that intelligent home device is controlled, and described control instruction is sent to described near field communication tag, so that real presently described near field communication tag to write described control instruction.
Preferably, described confirmation utilizes the public keys of storage to encrypt via described near field communication tag;
Described after receiving described confirmation, before the control instruction that intelligent home device is controlled by described generation, described method also includes:
Described confirmation is decrypted;
Judge whether the confirmation after deciphering meets pre-conditioned;
If it is satisfied, perform step again to generate the control instruction that intelligent home device is controlled, and described control instruction is sent to described near field communication tag, so that real presently described near field communication tag to write described control instruction.
Preferably, whether the described confirmation judged after deciphering meets pre-conditioned including:
Judge whether the form of the confirmation after deciphering meets reference format set in advance.
Based on another aspect of the present invention, the present invention provides a kind of control instruction wiring method, it is applied to mobile phone terminal side, described mobile phone terminal side includes the security domain for storing private cipher key and for storing the near field communication tag of public keys, described near field communication tag is additionally operable to storage and controls the control instruction of multiple different intelligent home device actions, and described method includes:
Receiving the signing messages after encryption, the signing messages after described encryption is the information after utilizing the private cipher key of storage in described security domain to be encrypted;
Utilize described public keys, the signing messages after described encryption is decrypted;
Judge that whether the signing messages after deciphering is consistent with the signing messages prestored in described near field communication tag;
If consistent, generate confirmation and return;
Receive and store the control instruction that intelligent home device is controlled.
Preferably, after described generation confirmation, described method also includes:
Utilize described public keys, described confirmation is encrypted;
Return the confirmation after encryption.
Based on another aspect of the invention, the present invention provides a kind of intelligent home furnishing control method, it is applied to mobile phone terminal side, described mobile phone terminal side includes the security domain for storing private cipher key and for storing the near field communication tag of public keys, described near field communication tag is additionally operable to storage and controls the control instruction of multiple different Smart Home actions, and described method includes:
Read the control instruction information of storage in described near field communication tag;
Utilize the private cipher key of storage in described security domain that described control instruction information is decrypted;
Judge whether the control instruction information after deciphering meets pre-conditioned;
If it is satisfied, generate control instruction according to the control instruction information after described deciphering, and described control instruction is sent to intelligent home device, to realize the control to described intelligent home device.
Preferably, whether the described control instruction information judged after deciphering meets pre-conditioned including;
Judge whether the form of the control instruction information after deciphering meets reference format set in advance.
Preferably, in the described near field communication tag of described reading, the control instruction information of storage includes:
After described mobile phone terminal enters the field region of described near field communication tag, activate described near field communication tag, actively read the control instruction information of storage in described near field communication tag.
Based on another aspect of the invention, the present invention provides a kind of control instruction writing station, it is applied to mobile phone terminal side, described mobile phone terminal includes the security domain module for storing private cipher key, with be used for storing public keys, and for storing the near field communication tag module of the control instruction controlling multiple different intelligent home device actions, described device includes:
Acquisition module, for obtaining the signing messages of described mobile phone terminal;
First encrypting module, for obtaining the private cipher key of storage from described security domain module, utilizes described private cipher key that described signing messages is encrypted;
First sending module, for sending the signing messages after encryption to described near field communication tag module, so that the signing messages after described encryption is decrypted and certification by the public keys that described near field communication tag module utilizes storage;
First receiver module, for receiving the confirmation that described near field communication tag module returns;
First control instruction generates sending module, for after receiving described confirmation, generate the control instruction that intelligent home device is controlled, and described control instruction is sent to described near field communication tag, so that real presently described near field communication tag to write described control instruction.
Preferably, described confirmation utilizes the public keys of storage to encrypt via described near field communication tag module;
Described device also includes:
First deciphering module, for being decrypted described confirmation;
First judge module, for whether the confirmation after judging deciphering meets pre-conditioned;
When the confirmation after described first judge module judges deciphering meets pre-conditioned, control described first control instruction again and generate the control instruction that intelligent home device is controlled by sending module generation, and described control instruction is sent to described near field communication tag, so that real presently described near field communication tag to write described control instruction.
Preferably, described first judge module specifically for, it is judged that whether the form of the confirmation after deciphering meets reference format set in advance.
Based on another aspect of the invention, the present invention provides a kind of near field communication tag module, it is applied to mobile phone terminal side, described mobile phone terminal side also includes the security domain module for storing private cipher key, described near field communication tag module is used for storing public keys, and for storing the control instruction controlling multiple different intelligent home device actions; Described near field communication tag module includes:
Second receiver module, is used for the signing messages after receiving encryption, and the signing messages after described encryption utilizes the private cipher key of storage in described security domain module to carry out encryption;
Second deciphering module, is used for utilizing described public keys, the signing messages after described encryption is decrypted;
Second judge module, whether consistent with the signing messages prestored in described near field communication tag module for judging the signing messages after deciphering;
Confirmation generation module, is used for generating confirmation;
Information returns module, for returning the confirmation that described confirmation generation module generates;
Receive memory module, for receiving and store the control instruction that intelligent home device is controlled.
Preferably, also include:
Second encrypting module, is used for utilizing described public keys, and the confirmation that described confirmation generation module is generated is encrypted;
Described information return module specifically for, return encryption after confirmation.
Based on another aspect of the invention, the present invention provides a kind of intelligent home control device, it is applied to mobile phone terminal side, described mobile phone terminal includes the security domain module for storing private cipher key, with be used for storing public keys, and for storing the near field communication tag module of the control instruction controlling multiple different intelligent home device actions, described device includes:
Read module, for reading the control instruction information of storage in described near field communication tag module;
3rd deciphering module, for utilizing the private cipher key of storage in described security domain module that described control instruction information is decrypted;
3rd judge module, for whether the control instruction information after judging deciphering meets pre-conditioned;
Second control instruction generates sending module, for when the control instruction information after described 3rd judge module judges deciphering meets pre-conditioned, control instruction is generated according to the control instruction information after described deciphering, and described control instruction is sent to intelligent home device, to realize the control to described intelligent home device.
Preferably, described 3rd judge module specifically for, it is judged that whether the form of the control instruction information after deciphering meets reference format set in advance.
Preferably, described read module specifically for, when described mobile phone terminal enter described near field communication tag field region after, activate described near field communication tag, actively read in described near field communication tag store control instruction information.
Apply technique scheme of the present invention, near field communication tag (NearFieldCommunicationtag in the present invention, NFCtag) for storing the control instruction controlling multiple different intelligent home equipment actions, namely only need to download one near field communication tag of installation in mobile phone terminal side and can realize the control to multiple intelligent home devices, compared with prior art needing download the implementation arranging corresponding multiple APP application, present invention, avoiding mobile phone terminal and download too much APP application, manage, realize relatively simple. Simultaneously, the invention provides a set of security mechanism, namely mobile phone terminal is only correctly completed the encryption to information, decrypting process in mobile phone terminal, write control instruction near field communication tag could be realized, and then realize the follow-up control to intelligent home device, therefore invention prevents malicious peer malice near field communication tag and distort the generation of control instruction, improve the safety that intelligent home device is controlled by mobile phone terminal.
Accompanying drawing explanation
In order to be illustrated more clearly that the embodiment of the present invention or technical scheme of the prior art, the accompanying drawing used required in embodiment or description of the prior art will be briefly described below, apparently, accompanying drawing in the following describes is only embodiments of the invention, for those of ordinary skill in the art, under the premise not paying creative work, it is also possible to obtain other accompanying drawing according to the accompanying drawing provided.
Fig. 1 is a kind of flow chart of a kind of control instruction wiring method provided by the invention;
Fig. 2 is the another kind of flow chart of a kind of control instruction wiring method provided by the invention;
Fig. 3 is another flow chart of a kind of control instruction wiring method provided by the invention;
Fig. 4 is a kind of flow chart of a kind of intelligent home furnishing control method provided by the invention;
Fig. 5 is the structural representation of a kind of control instruction writing station provided by the invention;
Fig. 6 is the structural representation of a kind of near field communication tag module provided by the invention;
Fig. 7 is the structural representation of a kind of intelligent home control device provided by the invention.
Detailed description of the invention
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is clearly and completely described, it is clear that described embodiment is only a part of embodiment of the present invention, rather than whole embodiments. Based on the embodiment in the present invention, the every other embodiment that those of ordinary skill in the art obtain under not making creative work premise, broadly fall into the scope of protection of the invention.
Embodiment one
Refer to Fig. 1, it illustrates a kind of flow chart of a kind of control instruction wiring method provided by the invention, the method is applied to mobile phone terminal side, described mobile phone terminal side includes the trustzone (security domain) for storing private cipher key and for storing the NFCtag (NearFieldCommunicationtag of public keys, near field communication tag), described NFCtag is additionally operable to storage and controls the control instruction of multiple different intelligent home device actions, and described method includes:
Step 101, obtains the signing messages of described mobile phone terminal, and obtains the private cipher key of storage from described trustzone, utilizes described private cipher key that described signing messages is encrypted.
Wherein said signing messages is for characterizing the identity of described mobile phone terminal.
In the present invention, signing messages can be specially the telephone number etc. of mobile phone terminal. First the present invention obtains the signing messages of mobile phone terminal, and utilizes the private cipher key of storage in trustzone to be encrypted.
Step 102, sends the signing messages after encryption to described NFCtag, so that the signing messages after described encryption is decrypted and certification by the public keys that described NFCtag utilizes storage.
In the present invention, after NFCtag receives the signing messages after encryption, according further to the public keys of himself storage, the signing messages after described encryption can be decrypted and certification. When NFCtag deciphers, and authentication signature information correct after, a confirmation can be generated and return.
Step 103, receives the described NFCtag confirmation returned.
Step 104, generates the control instruction that intelligent home device is controlled, and sends described control instruction to described NFCtag, to write described control instruction in real presently described NFCtag.
When the present invention receives the NFCtag confirmation returned, namely represent that NFCtag allows current phone terminal to perform the operation such as write, reading in NFCtag, now the present invention can according to being actually needed the control instruction generated intelligent home device control, control instruction is sent to NFCtag, thus completing to write the operation of control instruction in NFCtag.
In addition as more excellent, in order to be further ensured that the safety of transmission information, signing messages after the encryption received is decrypted by the NFCtag in the present invention, certification by, generate after confirmation, further with the public keys of himself storage, confirmation can be encrypted, and then the confirmation after encryption is returned.
Now control instruction wiring method can as in figure 2 it is shown, after step 103 in above-described embodiment one, also include before step 104:
Step 105, is decrypted described confirmation.
Specifically, the present invention obtains private cipher key from trustzone, utilizes private cipher key deciphering confirmation.
Step 106, it is judged that it is pre-conditioned whether the confirmation after deciphering meets. If it is satisfied, perform step 104, if be unsatisfactory for, perform step 107.
Wherein, it is judged that whether the confirmation after deciphering meets whether the form of the pre-conditioned confirmation can being specially after judging deciphering meets reference format set in advance.
Step 107, terminates operation.
Therefore the technique scheme of the present invention is applied, NFCtag in the present invention is for storing the control instruction controlling multiple different intelligent home equipment actions, namely only need to download one NFCtag of installation in mobile phone terminal side and can realize the control to multiple intelligent home devices, compared with prior art needing download the implementation arranging corresponding multiple APP application, present invention, avoiding mobile phone terminal and download too much APP application, manage, realize relatively simple. Simultaneously, the invention provides a set of security mechanism, namely mobile phone terminal is only correctly completed the encryption to information, decrypting process in mobile phone terminal, write control instruction in NFCtag could be realized, and then realize the follow-up control to intelligent home device, therefore invention prevents malicious peer malice in NFCtag and distort the generation of control instruction, improve the safety that intelligent home device is controlled by mobile phone terminal.
Embodiment two
Refer to Fig. 3, it illustrates another flow chart of a kind of control instruction wiring method provided by the invention, the method is applied to mobile phone terminal side, described mobile phone terminal side includes the trustzone for storing private cipher key and for storing the NFCtag of public keys, described NFCtag is additionally operable to storage and controls the control instruction of multiple different intelligent home device actions, and described method includes:
Step 301, receives the signing messages after encryption. Wherein, the signing messages after described encryption is the information after utilizing the private cipher key of storage in described trustzone to be encrypted.
Step 302, utilizes described public keys, and the signing messages after described encryption is decrypted.
Step 303, it is judged that whether the signing messages after deciphering is consistent with the signing messages prestored in described NFCtag. If consistent, perform step 304, if inconsistent, perform step 306.
Wherein, signing messages can be specially the telephone number etc. of mobile phone terminal. In the present embodiment, NFCtag has prestored the different signing messages for characterizing mobile phone terminal, and the mobile phone terminal that the signing messages of its storage is corresponding is defaulted as NFCtag and allows to perform the mobile phone terminal of write operation. Therefore, when a certain mobile phone terminal needs to write control instruction in NFCtag, NFCtag is first depending on the signing messages after deciphering and the signing messages prestored, and the identity of this mobile phone terminal is authenticated. Only when judging that the signing messages after deciphering is consistent with the signing messages prestored in NFCtag, when the identity of authentication authorization and accounting mobile phone terminal is legal, this mobile phone terminal could be allowed to perform write operation, and then perform step 304, generate confirmation and return.
Step 304, generates confirmation and returns.
In the present embodiment, generate and the confirmation that returns is used for informing that mobile phone terminal can perform write operation in NFCtag.
After mobile phone terminal receives this confirmation, and then the control instruction realizing intelligent home device is controlled is sent to NFCtag.
Step 305, receives and stores the control instruction that intelligent home device is controlled.
Now, NFCtag receives and stores the control instruction that intelligent home device is controlled received, and namely completes the write operation in NFCtag.
Step 306, terminates operation.
In addition as more excellent, in order to be further ensured that the safety of transmission information, the NFCtag in the present invention is after generating confirmation, it is also possible to farther include: utilize described public keys, described confirmation is encrypted. Now, the present invention returns the confirmation after encryption.
Embodiment three
What above-described embodiment one and embodiment two mainly described is, and mobile phone terminal side realizes completing the technical scheme of write operation in NFCtag, below the present embodiment three by how implementing, with regard to mobile phone terminal, the technical scheme that intelligent home device is controlled be described further.
Specifically refer to Fig. 4, it illustrates a kind of flow chart of a kind of intelligent home furnishing control method provided by the invention, the method is applied to mobile phone terminal side, described mobile phone terminal side includes the trustzone for storing private cipher key and for storing the NFCtag of public keys, described NFCtag is additionally operable to storage and controls the control instruction of multiple different intelligent home device actions, and described method includes:
Step 401, reads the control instruction information of storage in described NFCtag.
In actual application, after mobile phone terminal enters the field region of described NFCtag, described NFCtag can be activated, and then actively read the control instruction information of storage in described NFCtag.
Described control instruction information can include open command information, out code information, wind speed tunes up command information, wind speed turns command information down, command information of vacillating now to the left, now to the right, SLEEP instruction information etc.
Step 402, utilizes the private cipher key of storage in described trustzone that described control instruction information is decrypted.
In the present invention, in order to ensure the safety of transmission information, in NFCtag, the control instruction information of storage is the information after utilizing public-key encryption, after the control instruction information that so mobile phone terminal stores in reading NFCtag, it is necessary to further with the private cipher key of storage in described trustzone, described control instruction information is decrypted.
Step 403, it is judged that whether the control instruction information after deciphering meets pre-conditioned. If it is satisfied, perform step 404, if be unsatisfactory for, perform step 405.
In the present embodiment, it is judged that the control instruction information after deciphering whether meet pre-conditioned can specifically, whether the form of control instruction information after judging deciphering meets reference format set in advance.
Step 404, generates control instruction according to the control instruction information after described deciphering, and described control instruction is sent to intelligent home device, to realize the control to described intelligent home device.
Step 405, terminates operation.
Embodiment five
On the basis of above-described embodiment, the present invention also provides for a kind of control instruction writing station, it is applied to mobile phone terminal side, described mobile phone terminal includes the trustzone module for storing private cipher key, with be used for storing public keys, and for storing the NFCtag module of the control instruction controlling multiple different intelligent home device actions, the concrete structure of described device is as it is shown in figure 5, include: acquisition module the 10, first encrypting module the 20, first sending module the 30, first receiver module 40 and the first control instruction generate sending module 50. Wherein,
Acquisition module 10, for obtaining the signing messages of described mobile phone terminal; Wherein said signing messages is for characterizing the identity of described mobile phone terminal;
First encrypting module 20, for obtaining the private cipher key of storage from described trustzone module, utilizes described private cipher key that described signing messages is encrypted;
First sending module 30, for sending the signing messages after encryption to described NFCtag module, so that the signing messages after described encryption is decrypted and certification by the public keys that described NFCtag module utilizes storage;
First receiver module 40, for receiving the confirmation that described NFCtag module returns;
First control instruction generates sending module 50, for, after receiving described confirmation, generating the control instruction that intelligent home device is controlled, and send described control instruction to described NFCtag, to write described control instruction in real presently described NFCtag.
Wherein, when described confirmation utilizes the public keys of storage to encrypt via described NFCtag module;
Described device also includes:
First deciphering module 60, for being decrypted described confirmation;
First judge module 70, for whether the confirmation after judging deciphering meets pre-conditioned;
When the confirmation after described first judge module 70 judges deciphering meets pre-conditioned, control described first control instruction generation sending module 50 again and generate the control instruction that intelligent home device is controlled, and described control instruction is sent to described NFCtag, so that real presently described NFCtag to write described control instruction.
Wherein preferably, the first judge module 70 specifically for, it is judged that whether the form of the confirmation after deciphering meets reference format set in advance.
Embodiment six
Refer to Fig. 6, it illustrates the structural representation of a kind of NFCtag module provided by the invention, this NFCtag module application is in mobile phone terminal side, described mobile phone terminal side also includes the trustzone module for storing private cipher key, described NFCtag module is used for storing public keys, and for storing the control instruction controlling multiple different intelligent home device actions; Described NFCtag module specifically includes: second receiver module the 100, second deciphering module the 200, second judge module 300, confirmation generation module 400, information return module 500 and receives memory module 600. Wherein,
Second receiver module 100, is used for the signing messages after receiving encryption, and the signing messages after described encryption utilizes the private cipher key of storage in described trustzone module to carry out encryption;
Second deciphering module 200, is used for utilizing described public keys, the signing messages after described encryption is decrypted;
Second judge module 300, whether consistent with the signing messages prestored in described NFCtag module for judging the signing messages after deciphering;
Confirmation generation module 400, is used for generating confirmation;
Information returns module 500, for returning the confirmation that described confirmation generation module generates;
Receive memory module 600, for receiving and store the control instruction that intelligent home device is controlled.
Wherein preferably, NFCtag module also includes:
Second encrypting module 700, is used for utilizing described public keys, and the confirmation that described confirmation generation module is generated is encrypted;
Now described information return module 500 specifically for, return encryption after confirmation.
Embodiment seven
Refer to Fig. 7, it illustrates the structural representation of a kind of intelligent home control device provided by the invention, this intelligent home control device is applied to mobile phone terminal side, described mobile phone terminal includes the security domain trustzone module for storing private cipher key, with be used for storing public keys, and for storing the NFCtag module of the control instruction controlling multiple different intelligent home device actions, described device includes: read module the 1000, the 3rd deciphering module the 2000, the 3rd judge module 3000 and the second control instruction generate sending module 4000.
Read module 1000, for reading the control instruction information of storage in described NFCtag module;
3rd deciphering module 2000, for utilizing the private cipher key of storage in described trustzone module that described control instruction information is decrypted;
3rd judge module 3000, for whether the control instruction information after judging deciphering meets pre-conditioned;
Second control instruction generates sending module 4000, for when the control instruction information after described 3rd judge module 2000 judges deciphering meets pre-conditioned, control instruction is generated according to the control instruction information after described deciphering, and described control instruction is sent to intelligent home device, to realize the control to described intelligent home device.
Wherein, described 3rd judge module 3000 specifically for, it is judged that whether the form of the control instruction information after deciphering meets reference format set in advance.
Described read module 1000 specifically for, when described mobile phone terminal enter described NFCtag field region after, activate described NFCtag, actively read in described NFCtag store control instruction information.
It should be noted that each embodiment in this specification all adopts the mode gone forward one by one to describe, what each embodiment stressed is the difference with other embodiments, between each embodiment identical similar part mutually referring to. For device class embodiment, due to itself and embodiment of the method basic simlarity, so what describe is fairly simple, relevant part illustrates referring to the part of embodiment of the method.
Finally, it can further be stated that, in this article, the relational terms of such as first and second or the like is used merely to separate an entity or operation with another entity or operating space, and not necessarily requires or imply the relation that there is any this reality between these entities or operation or sequentially. And, term " includes ", " comprising " or its any other variant are intended to comprising of nonexcludability, so that include the process of a series of key element, method, article or equipment not only include those key elements, but also include other key elements being not expressly set out, or also include the key element intrinsic for this process, method, article or equipment. When there is no more restriction, statement " including ... " key element limited, it is not excluded that there is also other identical element in including the process of described key element, method, article or equipment.
Above a kind of control instruction wiring method provided by the present invention, intelligent home furnishing control method and relevant apparatus are described in detail, principles of the invention and embodiment are set forth by specific case used herein, and the explanation of above example is only intended to help to understand method and the core concept thereof of the present invention; Simultaneously for one of ordinary skill in the art, according to the thought of the present invention, all will change in specific embodiments and applications, in sum, this specification content should not be construed as limitation of the present invention.

Claims (16)

1. a control instruction wiring method, it is applied to mobile phone terminal side, it is characterized in that, described mobile phone terminal side includes the security domain for storing private cipher key and for storing the near field communication tag of public keys, described near field communication tag is additionally operable to storage and controls the control instruction of multiple different intelligent home device actions, and described method includes:
Obtain the signing messages of described mobile phone terminal, and from described security domain, obtain the private cipher key of storage, utilize described private cipher key that described signing messages is encrypted;
Signing messages after encryption is sent to described near field communication tag, so that the signing messages after described encryption is decrypted and certification by the public keys that described near field communication tag utilizes storage;
Receive the confirmation that described near field communication tag returns;
After receiving described confirmation, generate the control instruction that intelligent home device is controlled, and described control instruction is sent to described near field communication tag, so that real presently described near field communication tag to write described control instruction.
2. method according to claim 1, it is characterised in that described confirmation utilizes the public keys of storage to encrypt via described near field communication tag;
Described after receiving described confirmation, before the control instruction that intelligent home device is controlled by described generation, described method also includes:
Described confirmation is decrypted;
Judge whether the confirmation after deciphering meets pre-conditioned;
If it is satisfied, perform step again to generate the control instruction that intelligent home device is controlled, and described control instruction is sent to described near field communication tag, so that real presently described near field communication tag to write described control instruction.
3. method according to claim 2, it is characterised in that whether the described confirmation judged after deciphering meets pre-conditioned including:
Judge whether the form of the confirmation after deciphering meets reference format set in advance.
4. a control instruction wiring method, it is applied to mobile phone terminal side, it is characterized in that, described mobile phone terminal side includes the security domain for storing private cipher key and for storing the near field communication tag of public keys, described near field communication tag is additionally operable to storage and controls the control instruction of multiple different intelligent home device actions, and described method includes:
Receiving the signing messages after encryption, the signing messages after described encryption is the information after utilizing the private cipher key of storage in described security domain to be encrypted;
Utilize described public keys, the signing messages after described encryption is decrypted;
Judge that whether the signing messages after deciphering is consistent with the signing messages prestored in described near field communication tag;
If consistent, generate confirmation and return;
Receive and store the control instruction that intelligent home device is controlled.
5. method according to claim 4, it is characterised in that after described generation confirmation, described method also includes:
Utilize described public keys, described confirmation is encrypted;
Return the confirmation after encryption.
6. an intelligent home furnishing control method, it is applied to mobile phone terminal side, it is characterized in that, described mobile phone terminal side includes the security domain for storing private cipher key and is additionally operable to storage controls the control instruction of multiple different intelligent home device actions for storing near field communication tag described in the near field communication tag of public keys, and described method includes:
Read the control instruction information of storage in described near field communication tag;
Utilize the private cipher key of storage in described security domain that described control instruction information is decrypted;
Judge whether the control instruction information after deciphering meets pre-conditioned;
If it is satisfied, generate control instruction according to the control instruction information after described deciphering, and described control instruction is sent to intelligent home device, to realize the control to described intelligent home device.
7. method according to claim 6, it is characterised in that whether the described control instruction information judged after deciphering meets pre-conditioned including;
Judge whether the form of the control instruction information after deciphering meets reference format set in advance.
8. the method according to claim 6 or 7, it is characterised in that in the described near field communication tag of described reading, the control instruction information of storage includes:
After described mobile phone terminal enters the field region of described near field communication tag, activate described near field communication tag, actively read the control instruction information of storage in described near field communication tag.
9. a control instruction writing station, it is applied to mobile phone terminal side, it is characterized in that, described mobile phone terminal includes the security domain module for storing private cipher key, with be used for storing public keys, and for storing the near field communication tag module of the control instruction controlling multiple different intelligent home device actions, described device includes:
Acquisition module, for obtaining the signing messages of described mobile phone terminal;
First encrypting module, for obtaining the private cipher key of storage from described security domain module, utilizes described private cipher key that described signing messages is encrypted;
First sending module, for sending the signing messages after encryption to described near field communication tag module, so that the signing messages after described encryption is decrypted and certification by the public keys that described near field communication tag module utilizes storage;
First receiver module, for receiving the confirmation that described near field communication tag module returns;
First control instruction generates sending module, for after receiving described confirmation, generate the control instruction that intelligent home device is controlled, and described control instruction is sent to described near field communication tag, so that real presently described near field communication tag to write described control instruction.
10. device according to claim 9, it is characterised in that described confirmation utilizes the public keys of storage to encrypt via described near field communication tag module;
Described device also includes:
First deciphering module, for being decrypted described confirmation;
First judge module, for whether the confirmation after judging deciphering meets pre-conditioned;
When the confirmation after described first judge module judges deciphering meets pre-conditioned, control described first control instruction again and generate the control instruction that intelligent home device is controlled by sending module generation, and described control instruction is sent to described near field communication tag, so that real presently described near field communication tag to write described control instruction.
11. device according to claim 10, it is characterised in that described first judge module specifically for, it is judged that whether the form of the confirmation after deciphering meets reference format set in advance.
12. a near field communication tag module, it is applied to mobile phone terminal side, it is characterized in that, described mobile phone terminal side also includes the security domain module for storing private cipher key, described near field communication tag module is used for storing public keys, and for storing the control instruction controlling multiple different intelligent home device actions; Described near field communication tag module includes:
Second receiver module, is used for the signing messages after receiving encryption, and the signing messages after described encryption utilizes the private cipher key of storage in described security domain module to carry out encryption;
Second deciphering module, is used for utilizing described public keys, the signing messages after described encryption is decrypted;
Second judge module, whether consistent with the signing messages prestored in described near field communication tag module for judging the signing messages after deciphering;
Confirmation generation module, is used for generating confirmation;
Information returns module, for returning the confirmation that described confirmation generation module generates;
Receive memory module, for receiving and store the control instruction that intelligent home device is controlled.
13. near field communication tag module according to claim 12, it is characterised in that also include:
Second encrypting module, is used for utilizing described public keys, and the confirmation that described confirmation generation module is generated is encrypted;
Described information return module specifically for, return encryption after confirmation.
14. an intelligent home control device, it is applied to mobile phone terminal side, it is characterized in that, described mobile phone terminal includes the security domain module for storing private cipher key, with be used for storing public keys, and for storing the near field communication tag module of the control instruction controlling multiple different intelligent home device actions, described device includes:
Read module, for reading the control instruction information of storage in described near field communication tag module;
3rd deciphering module, for utilizing the private cipher key of storage in described security domain module that described control instruction information is decrypted;
3rd judge module, for whether the control instruction information after judging deciphering meets pre-conditioned;
Second control instruction generates sending module, for when the control instruction information after described 3rd judge module judges deciphering meets pre-conditioned, control instruction is generated according to the control instruction information after described deciphering, and described control instruction is sent to intelligent home device, to realize the control to described intelligent home device.
15. device according to claim 14, it is characterised in that described 3rd judge module specifically for, it is judged that whether the form of the control instruction information after deciphering meets reference format set in advance.
16. the device according to claims 14 or 15, it is characterized in that, described read module specifically for, when described mobile phone terminal enter described near field communication tag field region after, activate described near field communication tag, actively read the control instruction information of storage in described near field communication tag.
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 true CN105634884A (en) 2016-06-01
CN105634884B 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)

Cited By (6)

* 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
CN112866930A (en) * 2021-01-28 2021-05-28 月桂树科技(天津)有限公司 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
CN115550002B (en) * 2022-09-20 2024-05-24 贵州电网有限责任公司 TEE-based intelligent home remote control method and related device

Citations (6)

* 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
CN103680101A (en) * 2013-12-13 2014-03-26 深圳Tcl新技术有限公司 Method and system for editing NFC (near field communication) data for NFC equipment or NFC label
CN104092768A (en) * 2014-07-21 2014-10-08 广东欧珀移动通信有限公司 Method and device for setting parameters of wireless router
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
CN207995292U (en) * 2018-01-26 2018-10-19 中新科技集团股份有限公司 The TV remote controller and remote control system of recognizable NFC terminal

Patent Citations (6)

* 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
CN103680101A (en) * 2013-12-13 2014-03-26 深圳Tcl新技术有限公司 Method and system for editing NFC (near field communication) data for NFC equipment or NFC label
CN104092768A (en) * 2014-07-21 2014-10-08 广东欧珀移动通信有限公司 Method and device for setting parameters of wireless router
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
CN207995292U (en) * 2018-01-26 2018-10-19 中新科技集团股份有限公司 The TV remote controller and remote control system of recognizable NFC terminal

Cited By (6)

* 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
CN112866930A (en) * 2021-01-28 2021-05-28 月桂树科技(天津)有限公司 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
CN115550002B (en) * 2022-09-20 2024-05-24 贵州电网有限责任公司 TEE-based intelligent home remote control method and related device

Also Published As

Publication number Publication date
CN105634884B (en) 2019-07-30

Similar Documents

Publication Publication Date Title
KR102519990B1 (en) Apparatus and method for authenticating
US11025611B2 (en) Method and apparatus of constructing secure infra-structure for using embedded universal integrated circuit card
CN106656481B (en) Identity identifying method, device and system
CN101828357B (en) Credential provisioning method and device
CN101122942B (en) Data safe reading method and its safe storage device
CN106603485A (en) Secret key negotiation method and device
CN101510824B (en) Vehicular network system of a motor vehicle with replaceable cryptographic key and/or certificate
CN102577454B (en) A method for communicating data between a secure element and a network access point and a corresponding secure element
CN105207774A (en) Key negotiation method and device of verification information
US9203610B2 (en) Systems and methods for secure peer-to-peer communications
CN104094267A (en) Method, device, and system for securely sharing media content from a source device
CN101635924B (en) CDMA port-to-port encryption communication system and key distribution method thereof
CN104185176A (en) Method and system for remote initialization of Internet of Things virtual subscriber identity module card
CN107733652B (en) Unlocking method and system for shared vehicle and vehicle lock
CN101370248B (en) Cryptographic key updating method, third party server and system for activating third party application
CN105282179A (en) Family Internet of things security control method based on CPK
CN109274500B (en) Secret key downloading method, client, password equipment and terminal equipment
CN105142139A (en) Method and device for obtaining verification information
CN105634884A (en) Control instruction writing method, intelligent home control method and related device
CN101895396A (en) Mobile terminal and encryption method thereof
CN102404337A (en) Data encryption method and device
CN104202170A (en) Identity authentication system and method based on identifiers
CN103415010A (en) D2D network authentication method and system
CN112468305A (en) Internet of things security authentication method and equipment
US10090997B2 (en) Method for changing an authentication key

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