CN109409469A - A kind of method and system for binding household electrical appliances - Google Patents
A kind of method and system for binding household electrical appliances Download PDFInfo
- Publication number
- CN109409469A CN109409469A CN201811556436.3A CN201811556436A CN109409469A CN 109409469 A CN109409469 A CN 109409469A CN 201811556436 A CN201811556436 A CN 201811556436A CN 109409469 A CN109409469 A CN 109409469A
- Authority
- CN
- China
- Prior art keywords
- household electrical
- electrical appliances
- target household
- code
- dimensional code
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06K—GRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
- G06K17/00—Methods or arrangements for effecting co-operative working between equipments covered by two or more of main groups G06K1/00 - G06K15/00, e.g. automatic card files incorporating conveying and reading operations
- G06K17/0022—Methods or arrangements for effecting co-operative working between equipments covered by two or more of main groups G06K1/00 - G06K15/00, e.g. automatic card files incorporating conveying and reading operations arrangements or provisious for transferring data to distant stations, e.g. from a sensing device
Landscapes
- Engineering & Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
- Stored Programmes (AREA)
- Selective Calling Equipment (AREA)
Abstract
The present invention provides a kind of method and system for binding household electrical appliances, this method, comprising: two dimensional code generating device determines the device numbering of target household electrical appliances;Two dimensional code generating device generates the check code of target household electrical appliances according to the device numbering;Two dimensional code generating device generates the two dimensional code of target household electrical appliances according to the device numbering of target household electrical appliances and the check code of target household electrical appliances;The two dimensional code on target household electrical appliances is arranged in by the corresponding control program scanning of target household electrical appliances in terminal to be bound, and the device numbering of target household electrical appliances and the check code of target household electrical appliances are identified from two dimensional code;Terminal to be bound, according to the device numbering identified, generates the object identifier code for verifying by control program;Terminal to be bound is by controlling program judges whether object identifier code is identical as the check code of the target household electrical appliances identified, if it is, binding with target household electrical appliances.The present invention provides a kind of method and system for binding household electrical appliances, can be improved the safety of binding household electrical appliances.
Description
Technical field
The present invention relates to family's electro-technical field, in particular to a kind of method and system for binding household electrical appliances.
Background technique
The household electrical appliances that internet can be connected have a specific unique device numbering, need through terminal control household electrical appliances
When, it is bound according to unique device numbering with terminal, and then the household electrical appliances of terminal control binding can be passed through.But family
The device numbering of electricity has certain rule, and strange user can deduce other household electrical appliances according to the rule of device numbering
Device numbering, then, to bind the household electrical appliances.
As can be seen from the above description, the safety for binding the scheme of household electrical appliances in the prior art is lower.
Summary of the invention
The embodiment of the invention provides a kind of method and system for binding household electrical appliances, can be improved the safety of binding household electrical appliances.
On the one hand, the embodiment of the invention provides a kind of methods for binding household electrical appliances, comprising:
Two dimensional code generating device determines the device numbering of target household electrical appliances;
The two dimensional code generating device generates the check code of the target household electrical appliances according to the device numbering;
The two dimensional code generating device is raw according to the device numbering of the target household electrical appliances and the check code of the target household electrical appliances
At the two dimensional code of the target household electrical appliances;
Two on the target household electrical appliances are arranged in by the corresponding control program scanning of the target household electrical appliances for terminal to be bound
Code is tieed up, the device numbering of the target household electrical appliances and the check code of the target household electrical appliances are identified from the two dimensional code;
The terminal to be bound, according to the device numbering identified, generates the target for verifying by the control program
Check code;
The target man that the terminal to be bound is judged the object identifier code and identified by the control program
Whether the check code of electricity is identical, if it is, binding with the target household electrical appliances.
Further,
The two dimensional code generating device is raw according to the device numbering of the target household electrical appliances and the check code of the target household electrical appliances
At the two dimensional code of the target household electrical appliances, comprising:
The two dimensional code generating device splices the check code of the device numbering of the target household electrical appliances and the target household electrical appliances
At the safety code of the target household electrical appliances, wherein the number of characters of the device numbering is n, in the safety code of the target household electrical appliances,
The device numbering of the target household electrical appliances is preceding;
The safety code of the target household electrical appliances is converted to the two dimensional code of the target household electrical appliances by the two dimensional code generating device;
The check code of the device numbering that the target household electrical appliances are identified from the two dimensional code and the target household electrical appliances,
Include:
The safety code of the target household electrical appliances is identified from the two dimensional code;
It, will be remaining in the safety code using the preceding n character of the safety code as the device numbering of the target household electrical appliances
Check code of the character as the target household electrical appliances.
Further,
The two dimensional code generating device generates the check code of the target household electrical appliances according to the device numbering, comprising:
The two dimensional code generating device carries out CRC16 encryption to the device numbering, generates the verification of the target household electrical appliances
Code;
The terminal to be bound, according to the device numbering identified, generates the target for verifying by the control program
Check code, comprising:
The terminal to be bound carries out CRC16 encryption to the device numbering identified by the control program, generates and uses
In the object identifier code of verifying.
Further,
This method further comprises:
The two dimensional code generating device obtains the download link for controlling the control program of the target household electrical appliances;
The two dimensional code generating device is raw according to the device numbering of the target household electrical appliances and the check code of the target household electrical appliances
At the two dimensional code of the target household electrical appliances, comprising:
The two dimensional code generating device is according to the device numbering of the target household electrical appliances, the check code of the target household electrical appliances and institute
Download link is stated, the two dimensional code of the target household electrical appliances is generated;
Further comprise:
The terminal to be bound is by the two dimensional code on target household electrical appliances described in two-dimensional code scanning program scanning, from the two dimension
The download link is identified in code.
Further,
This method further comprises:
The terminal to be bound is by the control program in the mesh judging the object identifier code Yu identifying
When the check code of mark household electrical appliances is not identical, authentication failed is determined;
Further comprise:
It is described in preset duration after authentication failed preset value time, to forbid identifying by the control program wait bind terminal
The two dimensional code of the target household electrical appliances.
On the other hand, the embodiment of the invention provides a kind of systems for binding household electrical appliances, comprising:
Two dimensional code generating device and terminal to be bound;
The two dimensional code generating device, according to the device numbering, generates institute for determining the device numbering of target household electrical appliances
The check code for stating target household electrical appliances, according to the check code of the device numbering of the target household electrical appliances and the target household electrical appliances, described in generation
The two dimensional code of target household electrical appliances;
The terminal to be bound, for being arranged by the corresponding control program scanning of the target household electrical appliances in the target man
Two dimensional code on electricity identifies the verification of the device numbering and the target household electrical appliances of the target household electrical appliances from the two dimensional code
Code;By the control program according to the device numbering identified, the object identifier code for verifying is generated;Pass through the control
Program judges whether the object identifier code is identical as the check code of the target household electrical appliances identified, if it is, with described
The binding of target household electrical appliances.
Further,
The two dimensional code generating device is executing the device numbering and the target household electrical appliances according to the target household electrical appliances
Check code be specifically used for when generating the two dimensional code of the target household electrical appliances:
The check code of the device numbering of the target household electrical appliances and the target household electrical appliances is spliced into the peace of the target household electrical appliances
All-key, wherein the number of characters of the device numbering is n, in the safety code of the target household electrical appliances, the equipment of the target household electrical appliances
Number is preceding;
The safety code of the target household electrical appliances is converted to the two dimensional code of the target household electrical appliances;
The terminal to be bound, execute the device numbering that the target household electrical appliances are identified from the two dimensional code and
When the check code of the target household electrical appliances, it is specifically used for:
The safety code of the target household electrical appliances is identified from the two dimensional code;
It, will be remaining in the safety code using the preceding n character of the safety code as the device numbering of the target household electrical appliances
Check code of the character as the target household electrical appliances.
Further,
The two dimensional code generating device is being executed according to the device numbering, when generating the check code of the target household electrical appliances,
It is specifically used for:
CRC16 encryption is carried out to the device numbering, generates the check code of the target household electrical appliances;
The terminal to be bound, execute it is described by the control program according to the device numbering identified, generation use
When the object identifier code of verifying, it is specifically used for:
CRC16 encryption is carried out to the device numbering identified by the control program, generates the target school for verifying
Test code.
Further,
The two dimensional code generating device is further used for obtaining the downloading of the control program for controlling the target household electrical appliances
Link;
The two dimensional code generating device is executing the device numbering and the target household electrical appliances according to the target household electrical appliances
Check code be specifically used for when generating the two dimensional code of the target household electrical appliances:
According to the device numbering of the target household electrical appliances, the check code of the target household electrical appliances and the download link, institute is generated
State the two dimensional code of target household electrical appliances;
The terminal to be bound, is further used for through the two dimension on target household electrical appliances described in two-dimensional code scanning program scanning
Code, identifies the download link from the two dimensional code.
Further,
The terminal to be bound is further used for judging the object identifier code and identification by the control program
When the check code of the target household electrical appliances out is not identical, authentication failed is determined;
The terminal to be bound is further used for through the control program authentication failed preset value in preset duration
Afterwards, forbid identifying the two dimensional code of the target household electrical appliances.
In embodiments of the present invention, target household electrical appliances are identified by two dimensional code, in the two dimensional code of target household electrical appliances, include
Device numbering and the check code generated according to device numbering, terminal to be bound need to identify device numbering and school in two dimensional code
Code is tested, and object identifier code is generated according to the device numbering identified, in object identifier code and the school identified from two dimensional code
Test code it is identical when, the bound targets that could succeed household electrical appliances, user can not directly deduce other families by the two dimensional code of target household electrical appliances
The two dimensional code of electricity, also needs the verifying by check code in binding procedure, substantially increases the safety of binding household electrical appliances.
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 the present invention
Some embodiments for those of ordinary skill in the art without creative efforts, can also basis
These attached drawings obtain other attached drawings.
Fig. 1 is a kind of flow chart of the method for binding household electrical appliances that one embodiment of the invention provides;
Fig. 2 is the flow chart of the method for another binding household electrical appliances that one embodiment of the invention provides;
Fig. 3 is a kind of schematic diagram of the system for binding household electrical appliances that one embodiment of the invention provides.
Specific embodiment
In order to make the object, technical scheme and advantages of the embodiment of the invention clearer, below in conjunction with the embodiment of the present invention
In attached drawing, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described embodiment is
A part of the embodiment of the present invention, instead of all the embodiments, based on the embodiments of the present invention, those of ordinary skill in the art
Every other embodiment obtained without making creative work, shall fall within the protection scope of the present invention.
As shown in Figure 1, this method may include following step the embodiment of the invention provides a kind of method for binding household electrical appliances
It is rapid:
Step 101: two dimensional code generating device determines the device numbering of target household electrical appliances;
Step 102: the two dimensional code generating device generates the check code of the target household electrical appliances according to the device numbering;
Step 103: the two dimensional code generating device is according to the device numberings of the target household electrical appliances and the target household electrical appliances
Check code generates the two dimensional code of the target household electrical appliances;
Step 104: terminal to be bound is arranged by the corresponding control program scanning of the target household electrical appliances in the target man
Two dimensional code on electricity identifies the verification of the device numbering and the target household electrical appliances of the target household electrical appliances from the two dimensional code
Code;
Step 105: the terminal to be bound, according to the device numbering identified, is generated for testing by the control program
The object identifier code of card;
Step 106: the institute that the terminal to be bound is judged the object identifier code and identified by the control program
Whether the check code for stating target household electrical appliances is identical, if it is, binding with the target household electrical appliances.
In embodiments of the present invention, target household electrical appliances are identified by two dimensional code, in the two dimensional code of target household electrical appliances, include
Device numbering and the check code generated according to device numbering, terminal to be bound need to identify device numbering and school in two dimensional code
Code is tested, and object identifier code is generated according to the device numbering identified, in object identifier code and the school identified from two dimensional code
Test code it is identical when, the bound targets that could succeed household electrical appliances, user can not directly deduce other families by the two dimensional code of target household electrical appliances
The two dimensional code of electricity, also needs the verifying by check code in binding procedure, substantially increases the safety of binding household electrical appliances.
In an embodiment of the present invention, the two dimensional code generating device is according to the device numbering of the target household electrical appliances and described
The check code of target household electrical appliances generates the two dimensional code of the target household electrical appliances, comprising:
The two dimensional code generating device splices the check code of the device numbering of the target household electrical appliances and the target household electrical appliances
At the safety code of the target household electrical appliances, wherein the number of characters of the device numbering is n, in the safety code of the target household electrical appliances,
The device numbering of the target household electrical appliances is preceding;
The safety code of the target household electrical appliances is converted to the two dimensional code of the target household electrical appliances by the two dimensional code generating device;
The check code of the device numbering that the target household electrical appliances are identified from the two dimensional code and the target household electrical appliances,
Include:
The safety code of the target household electrical appliances is identified from the two dimensional code;
It, will be remaining in the safety code using the preceding n character of the safety code as the device numbering of the target household electrical appliances
Check code of the character as the target household electrical appliances.
In embodiments of the present invention, device numbering and check code are spliced into safety code, two dimension is generated by the safety code
Code correspondingly when identifying two dimensional code, parses device numbering and check code according to principle when splicing.
In an embodiment of the present invention, the two dimensional code generating device generates the target man according to the device numbering
The check code of electricity, comprising:
The two dimensional code generating device carries out CRC16 encryption to the device numbering, generates the verification of the target household electrical appliances
Code;
The terminal to be bound, according to the device numbering identified, generates the target for verifying by the control program
Check code, comprising:
The terminal to be bound carries out CRC16 encryption to the device numbering identified by the control program, generates and uses
In the object identifier code of verifying.
In embodiments of the present invention, two dimensional code generating device generates check code by CRC16 algorithm, correspondingly, wait bind
Terminal generates object identifier code during verifying, through identical CRC16 algorithm.
In an embodiment of the present invention, this method further comprises:
The two dimensional code generating device obtains the download link for controlling the control program of the target household electrical appliances;
The two dimensional code generating device is raw according to the device numbering of the target household electrical appliances and the check code of the target household electrical appliances
At the two dimensional code of the target household electrical appliances, comprising:
The two dimensional code generating device is according to the device numbering of the target household electrical appliances, the check code of the target household electrical appliances and institute
Download link is stated, the two dimensional code of the target household electrical appliances is generated;
Further comprise:
The terminal to be bound is by the two dimensional code on target household electrical appliances described in two-dimensional code scanning program scanning, from the two dimension
The download link is identified in code.
In embodiments of the present invention, the download link of control program is provided in two dimensional code, when not having in terminal wait bind
When having the control program of installation targets household electrical appliances, control journey can be obtained by included two-dimensional code scanning procedure identification two dimensional code
The download link of sequence can carry out binding processing by the control program scanning two dimensional code after downloading and installing control program.
Wherein, it cannot achieve the verifying of two dimensional code wait bind the two-dimensional code scanning program carried in terminal.
Here two-dimensional code scanning program can be on browser.
Specifically, the download link that program is controlled if necessary to be added in the two dimensional code of generation, can be by with lower section
Formula is realized: using safety code as the plaintext parameter in download link, then, generating two dimensional code.
In an embodiment of the present invention, this method further comprises:
The terminal to be bound is by the control program in the mesh judging the object identifier code Yu identifying
When the check code of mark household electrical appliances is not identical, authentication failed is determined;
Further comprise:
It is described in preset duration after authentication failed preset value time, to forbid identifying by the control program wait bind terminal
The two dimensional code of the target household electrical appliances.
In embodiments of the present invention, if authentication failed preset value is secondary in preset duration, forbid identifying target household electrical appliances
Two dimensional code, avoid the case where illegal user is repeatedly attempted by way of enumerating and passes through verifying, ensure that use
Family uses safe.
As shown in Fig. 2, this method may include following step the embodiment of the invention provides a kind of method for binding household electrical appliances
It is rapid:
Step 201: two dimensional code generating device determines the device numbering of target household electrical appliances.
It specifically, can be according to the type of equipment, the date of production, the information generating devices such as batch number.Such as: Ke Yisheng
At 24 device numberings.
Step 202: two dimensional code generating device carries out CRC16 encryption to device numbering, generates the check code of target household electrical appliances.
Specifically, 4 hexadecimal digits can be generated according to device numbering as check code.
Fixed check code generating algorithm (such as: CRC16 algorithm) is contained in two dimensional code generating device and control program,
This algorithm by the constraint of time and plateform system, does not input identical byte arrays and generates identical 4 hexadecimal digits.
Specifically, device numbering can be converted to byte arrays, carry out bit manipulation calculating, it is final obtain 4 16 into
System number is used as check code.
Step 203: the check code of the device numbering of target household electrical appliances and target household electrical appliances is spliced into mesh by two dimensional code generating device
Mark the safety code of household electrical appliances, wherein the number of characters of device numbering is n, and in the safety code of target household electrical appliances, the equipment of target household electrical appliances is compiled
Number preceding.
It is of course also possible to which front is arrived in verification stacking, only needs and control program is arranged, control program according to safety code
Create-rule obtain device numbering and check code to parse safety code.
Step 204: the safety code of target household electrical appliances is converted to the two dimensional code of target household electrical appliances by two dimensional code generating device.
Specifically, two dimensional code generating device may include two dimensional code algorithm and printing function, the data column that can be would be combined into
It is converted into and prints image in 2 D code.
It, specifically, can be in addition, the download link of the control program of target angle can be added before safety code as needed
Using safety code as the plaintext parameter of download link.
Step 205: two on target household electrical appliances are arranged in by the corresponding control program scanning of target household electrical appliances for terminal to be bound
Code is tieed up, the safety code of target household electrical appliances is identified from two dimensional code;It is compiled the preceding n character of safety code as the equipment of target household electrical appliances
Number, using character remaining in safety code as the check code of target household electrical appliances.
Specifically, terminal to be bound can be scanned the two-dimensional code by camera all physical sensors.
Specifically, image in 2 D code is decrypted image in 2 D code data, is obtained with the incoming control program of frame sequence, control program
The information that two dimensional code includes.
Step 206: terminal to be bound carries out CRC16 encryption to the device numbering identified by control program, generates and uses
In the object identifier code of verifying.
Specifically, the algorithm needs of Program Generating check code and the algorithm that check code is generated in two dimensional code generating device are controlled
It is identical.
Step 207: terminal to be bound judges the verification of object identifier code with the target household electrical appliances identified by controlling program
Whether code is identical, if so, thening follow the steps 208, otherwise, thens follow the steps 209.
Step 208: terminal to be bound and target household electrical appliances are bound.
With after the binding of target household electrical appliances, terminal to be bound can remotely control target household electrical appliances.
Step 209: terminal to be bound determines authentication failed, does not bind with target household electrical appliances.
In embodiments of the present invention, terminal to be bound can be the mobile terminals such as mobile phone.Target household electrical appliances can be refrigerator, wash
Mechanical, electrical view of clothing etc..
In embodiments of the present invention, the safety code that can be verified is generated according to intrinsic device numbering, terminal to be bound can be into
Row verification, the download link for controlling program and safety code can be merged to form unified two dimensional code, download control program and tied up
This two dimensional code can be used in locking equipment, very convenient.
As shown in figure 3, a kind of system for binding household electrical appliances provided in an embodiment of the present invention, comprising:
Two dimensional code generating device 301 and terminal to be bound 302;
The two dimensional code generating device 301, it is raw according to the device numbering for determining the device numbering of target household electrical appliances
It is generated at the check code of the target household electrical appliances according to the check code of the device numbering of the target household electrical appliances and the target household electrical appliances
The two dimensional code of the target household electrical appliances;
The terminal to be bound 302, for being arranged by the corresponding control program scanning of the target household electrical appliances in the mesh
The two dimensional code on household electrical appliances is marked, the device numbering of the target household electrical appliances and the school of the target household electrical appliances are identified from the two dimensional code
Test code;By the control program according to the device numbering identified, the object identifier code for verifying is generated;Pass through the control
Processing procedure sequence judges whether the object identifier code is identical as the check code of the target household electrical appliances identified, if it is, with institute
State the binding of target household electrical appliances.
In an embodiment of the present invention, the two dimensional code generating device is executing the setting according to the target household electrical appliances
The check code of standby number and the target household electrical appliances is specifically used for when generating the two dimensional code of the target household electrical appliances:
The check code of the device numbering of the target household electrical appliances and the target household electrical appliances is spliced into the peace of the target household electrical appliances
All-key, wherein the number of characters of the device numbering is n, in the safety code of the target household electrical appliances, the equipment of the target household electrical appliances
Number is preceding;
The safety code of the target household electrical appliances is converted to the two dimensional code of the target household electrical appliances;
The terminal to be bound, execute the device numbering that the target household electrical appliances are identified from the two dimensional code and
When the check code of the target household electrical appliances, it is specifically used for:
The safety code of the target household electrical appliances is identified from the two dimensional code;
It, will be remaining in the safety code using the preceding n character of the safety code as the device numbering of the target household electrical appliances
Check code of the character as the target household electrical appliances.
In an embodiment of the present invention, the two dimensional code generating device is being executed according to the device numbering, described in generation
When the check code of target household electrical appliances, it is specifically used for:
CRC16 encryption is carried out to the device numbering, generates the check code of the target household electrical appliances;
The terminal to be bound, execute it is described by the control program according to the device numbering identified, generation use
When the object identifier code of verifying, it is specifically used for:
CRC16 encryption is carried out to the device numbering identified by the control program, generates the target school for verifying
Test code.
In an embodiment of the present invention, the two dimensional code generating device is further used for obtaining for controlling the target
The download link of the control program of household electrical appliances;
The two dimensional code generating device is executing the device numbering and the target household electrical appliances according to the target household electrical appliances
Check code be specifically used for when generating the two dimensional code of the target household electrical appliances:
According to the device numbering of the target household electrical appliances, the check code of the target household electrical appliances and the download link, institute is generated
State the two dimensional code of target household electrical appliances;
The terminal to be bound, is further used for through the two dimension on target household electrical appliances described in two-dimensional code scanning program scanning
Code, identifies the download link from the two dimensional code.
In an embodiment of the present invention, the terminal to be bound is further used for judging by the control program
When the object identifier code is not identical as the check code of the target household electrical appliances identified, authentication failed is determined;
The terminal to be bound is further used for through the control program authentication failed preset value in preset duration
Afterwards, forbid identifying the two dimensional code of the target household electrical appliances.
The contents such as the information exchange between each unit, implementation procedure in above-mentioned apparatus, due to implementing with the method for the present invention
Example is based on same design, and for details, please refer to the description in the embodiment of the method for the present invention, and details are not described herein again.
The each embodiment of the present invention at least has the following beneficial effects:
1, target household electrical appliances in embodiments of the present invention, are identified by two dimensional code, in the two dimensional code of target household electrical appliances, include
The check code for having device numbering and being generated according to device numbering, terminal to be bound need to identify device numbering in two dimensional code and
Check code, and object identifier code is generated according to the device numbering that identifies, object identifier code with identified from two dimensional code
When check code is identical, the bound targets that could succeed household electrical appliances, user can not directly deduce other by the two dimensional code of target household electrical appliances
The two dimensional code of household electrical appliances also needs the verifying by check code in binding procedure, substantially increases the safety of binding household electrical appliances.
2, the safety code that can be verified in embodiments of the present invention, is generated according to intrinsic device numbering, terminal to be bound can
It is verified, ensure that the safety of binding procedure;The download link for controlling program and safety code can be merged to form unification
This two dimensional code can be used in two dimensional code, download control program and bound device, very convenient.
It should be noted that, in this document, such as first and second etc relational terms are used merely to an entity
Or operation is distinguished with another entity or operation, is existed without necessarily requiring or implying between these entities or operation
Any actual relationship or order.Moreover, the terms "include", "comprise" or its any other variant be intended to it is non-
It is exclusive to include, so that the process, method, article or equipment for including a series of elements not only includes those elements,
It but also including other elements that are not explicitly listed, or further include solid by this process, method, article or equipment
Some elements.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including
There is also other identical factors in the process, method, article or equipment of the element.
Those of ordinary skill in the art will appreciate that: realize that all or part of the steps of above method embodiment can pass through
The relevant hardware of program instruction is completed, and program above-mentioned can store in computer-readable storage medium, the program
When being executed, step including the steps of the foregoing method embodiments is executed;And storage medium above-mentioned includes: ROM, RAM, magnetic disk or light
In the various media that can store program code such as disk.
Finally, it should be noted that the foregoing is merely presently preferred embodiments of the present invention, it is merely to illustrate skill of the invention
Art scheme, is not intended to limit the scope of the present invention.Any modification for being made all within the spirits and principles of the present invention,
Equivalent replacement, improvement etc., are included within the scope of protection of the present invention.
Claims (10)
1. a kind of method for binding household electrical appliances characterized by comprising
Two dimensional code generating device determines the device numbering of target household electrical appliances;
The two dimensional code generating device generates the check code of the target household electrical appliances according to the device numbering;
The two dimensional code generating device generates institute according to the device numbering of the target household electrical appliances and the check code of the target household electrical appliances
State the two dimensional code of target household electrical appliances;
The two dimensional code on the target household electrical appliances is arranged in by the corresponding control program scanning of the target household electrical appliances in terminal to be bound,
The device numbering of the target household electrical appliances and the check code of the target household electrical appliances are identified from the two dimensional code;
The terminal to be bound, according to the device numbering identified, generates the object identifier for verifying by the control program
Code;
The terminal to be bound judges the object identifier code and the target household electrical appliances that identify by the control program
Whether check code is identical, if it is, binding with the target household electrical appliances.
2. the method according to claim 1, wherein
The two dimensional code generating device generates institute according to the device numbering of the target household electrical appliances and the check code of the target household electrical appliances
State the two dimensional code of target household electrical appliances, comprising:
The check code of the device numbering of the target household electrical appliances and the target household electrical appliances is spliced into institute by the two dimensional code generating device
State the safety code of target household electrical appliances, wherein the number of characters of the device numbering is n, described in the safety code of the target household electrical appliances
The device numbering of target household electrical appliances is preceding;
The safety code of the target household electrical appliances is converted to the two dimensional code of the target household electrical appliances by the two dimensional code generating device;
The check code of the device numbering that the target household electrical appliances are identified from the two dimensional code and the target household electrical appliances, packet
It includes:
The safety code of the target household electrical appliances is identified from the two dimensional code;
Using the preceding n character of the safety code as the device numbering of the target household electrical appliances, by word remaining in the safety code
Accord with the check code as the target household electrical appliances.
3. the method according to claim 1, wherein
The two dimensional code generating device generates the check code of the target household electrical appliances according to the device numbering, comprising:
The two dimensional code generating device carries out CRC16 encryption to the device numbering, generates the check code of the target household electrical appliances;
The terminal to be bound, according to the device numbering identified, generates the object identifier for verifying by the control program
Code, comprising:
The terminal to be bound carries out CRC16 encryption to the device numbering identified by the control program, generates for testing
The object identifier code of card.
4. the method according to claim 1, wherein
Further comprise:
The two dimensional code generating device obtains the download link for controlling the control program of the target household electrical appliances;
The two dimensional code generating device generates institute according to the device numbering of the target household electrical appliances and the check code of the target household electrical appliances
State the two dimensional code of target household electrical appliances, comprising:
The two dimensional code generating device according to the device numbering of the target household electrical appliances, the check code of the target household electrical appliances and it is described under
Link is carried, the two dimensional code of the target household electrical appliances is generated;
Further comprise:
The terminal to be bound is by the two dimensional code on target household electrical appliances described in two-dimensional code scanning program scanning, from the two dimensional code
Identify the download link.
5. method according to any one of claims 1-4, which is characterized in that
Further comprise:
The terminal to be bound is by the control program in the target man for judging the object identifier code Yu identifying
When the check code of electricity is not identical, authentication failed is determined;
Further comprise:
It is described after authentication failed preset value time, to be forbidden described in identification in preset duration wait bind terminal by the control program
The two dimensional code of target household electrical appliances.
6. a kind of system for binding household electrical appliances characterized by comprising
Two dimensional code generating device and terminal to be bound;
The two dimensional code generating device, according to the device numbering, generates the mesh for determining the device numbering of target household electrical appliances
The check code of mark household electrical appliances generates the target according to the check code of the device numbering of the target household electrical appliances and the target household electrical appliances
The two dimensional code of household electrical appliances;
The terminal to be bound, for being arranged by the corresponding control program scanning of the target household electrical appliances in the target household electrical appliances
Two dimensional code, the device numbering of the target household electrical appliances and the check code of the target household electrical appliances are identified from the two dimensional code;It is logical
The control program is crossed according to the device numbering identified, generates the object identifier code for verifying;Pass through the control program
Judge whether the object identifier code is identical as the check code of the target household electrical appliances identified, if it is, with the target
Household electrical appliances binding.
7. system according to claim 6, which is characterized in that
The two dimensional code generating device, it is described according to the device numbering of the target household electrical appliances and the school of the target household electrical appliances executing
Code is tested, when generating the two dimensional code of the target household electrical appliances, is specifically used for:
The check code of the device numbering of the target household electrical appliances and the target household electrical appliances is spliced into the safety code of the target household electrical appliances,
Wherein, the number of characters of the device numbering is n, in the safety code of the target household electrical appliances, the device numbering of the target household electrical appliances
Preceding;
The safety code of the target household electrical appliances is converted to the two dimensional code of the target household electrical appliances;
The terminal to be bound is executing the device numbering that the target household electrical appliances are identified from the two dimensional code and described
When the check code of target household electrical appliances, it is specifically used for:
The safety code of the target household electrical appliances is identified from the two dimensional code;
Using the preceding n character of the safety code as the device numbering of the target household electrical appliances, by word remaining in the safety code
Accord with the check code as the target household electrical appliances.
8. system according to claim 6, which is characterized in that
The two dimensional code generating device is being executed according to the device numbering, when generating the check code of the target household electrical appliances, specifically
For:
CRC16 encryption is carried out to the device numbering, generates the check code of the target household electrical appliances;
The terminal to be bound, execute it is described by the control program according to the device numbering identified, generation is for testing
When the object identifier code of card, it is specifically used for:
CRC16 encryption is carried out to the device numbering identified by the control program, generates the object identifier code for verifying.
9. system according to claim 6, which is characterized in that
The two dimensional code generating device is further used for obtaining the downloading chain of the control program for controlling the target household electrical appliances
It connects;
The two dimensional code generating device, it is described according to the device numbering of the target household electrical appliances and the school of the target household electrical appliances executing
Code is tested, when generating the two dimensional code of the target household electrical appliances, is specifically used for:
According to the device numbering of the target household electrical appliances, the check code of the target household electrical appliances and the download link, the mesh is generated
Mark the two dimensional code of household electrical appliances;
The terminal to be bound, is further used for through the two dimensional code on target household electrical appliances described in two-dimensional code scanning program scanning, from
The download link is identified in the two dimensional code.
10. according to the system any in claim 6-9, which is characterized in that
The terminal to be bound is further used for judging the object identifier code by the control program and identifying
When the check code of the target household electrical appliances is not identical, authentication failed is determined;
The terminal to be bound is further used for through the control program in preset duration after authentication failed preset value time,
Forbid identifying the two dimensional code of the target household electrical appliances.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811556436.3A CN109409469A (en) | 2018-12-19 | 2018-12-19 | A kind of method and system for binding household electrical appliances |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811556436.3A CN109409469A (en) | 2018-12-19 | 2018-12-19 | A kind of method and system for binding household electrical appliances |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109409469A true CN109409469A (en) | 2019-03-01 |
Family
ID=65460095
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811556436.3A Pending CN109409469A (en) | 2018-12-19 | 2018-12-19 | A kind of method and system for binding household electrical appliances |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109409469A (en) |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103532803A (en) * | 2013-10-12 | 2014-01-22 | 广东美的制冷设备有限公司 | Networking method and system for Internet of Things |
CN103605531A (en) * | 2013-09-12 | 2014-02-26 | 广东美的制冷设备有限公司 | Household appliance control method and device and mobile terminal |
CN104661175A (en) * | 2015-02-16 | 2015-05-27 | 陈王胜 | Method and equipment for binding intelligent mobile terminal and intelligent wearable equipment |
US20160028741A1 (en) * | 2014-07-25 | 2016-01-28 | Xiaomi Inc. | Methods and devices for verification using verification code |
CN107563245A (en) * | 2017-08-24 | 2018-01-09 | 广东欧珀移动通信有限公司 | The generation of graphic code and method of calibration, device and terminal, readable storage medium storing program for executing |
CN107679370A (en) * | 2017-10-13 | 2018-02-09 | 北京大学 | A kind of device identification generation method and device |
-
2018
- 2018-12-19 CN CN201811556436.3A patent/CN109409469A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103605531A (en) * | 2013-09-12 | 2014-02-26 | 广东美的制冷设备有限公司 | Household appliance control method and device and mobile terminal |
CN103532803A (en) * | 2013-10-12 | 2014-01-22 | 广东美的制冷设备有限公司 | Networking method and system for Internet of Things |
US20160028741A1 (en) * | 2014-07-25 | 2016-01-28 | Xiaomi Inc. | Methods and devices for verification using verification code |
CN104661175A (en) * | 2015-02-16 | 2015-05-27 | 陈王胜 | Method and equipment for binding intelligent mobile terminal and intelligent wearable equipment |
CN107563245A (en) * | 2017-08-24 | 2018-01-09 | 广东欧珀移动通信有限公司 | The generation of graphic code and method of calibration, device and terminal, readable storage medium storing program for executing |
CN107679370A (en) * | 2017-10-13 | 2018-02-09 | 北京大学 | A kind of device identification generation method and device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105512881B (en) | A kind of method and terminal for completing payment based on two dimensional code | |
US10333955B2 (en) | Method and system to protect software-based network-connected devices from advanced persistent threat | |
CN103744686B (en) | Control method and the system of installation is applied in intelligent terminal | |
CN109981682A (en) | Data verification method, the apparatus and system of internet of things equipment | |
EP3543881A1 (en) | Chip access method, security control module, chip and debugging device | |
CN102340398A (en) | Security policy setting and determining method, and method and device for executing operation by application program | |
CN108234134A (en) | Block synchronous method and system | |
CN104320375B (en) | A kind of method and apparatus for preventing from illegally registering | |
CN110197244A (en) | Two dimensional code, two dimensional code output system and method, two dimensional code read system and method | |
CN102123058A (en) | Test equipment and method for testing network protocol decoder | |
US20160380771A1 (en) | Binary code authentication | |
CN106411517A (en) | Password resetting method and device | |
CN110519294A (en) | Identity identifying method, device, equipment and system | |
US8079078B2 (en) | Encryption apparatus, program for use therewith, and method for use therewith | |
CN110324344A (en) | The method and device of account information certification | |
KR101751098B1 (en) | Method for programming a mobile terminal chip | |
CN109918877A (en) | A kind of data ciphering method, system, client and computer readable storage medium | |
CN106453430A (en) | Method and device for verifying encrypted data transmission paths | |
CN106357684A (en) | Login method and device of game application | |
CN105391714A (en) | Automatic signature and verification method and apparatus for mobile application | |
CN109409469A (en) | A kind of method and system for binding household electrical appliances | |
CN107145342A (en) | The treating method and apparatus of the channel information of application | |
CN105095694B (en) | The method and system of webpage calling plug-in unit | |
CN109977643A (en) | User authen method, device and electronic equipment | |
US10666421B2 (en) | Method of encryption, method for decrypting, devices and programs |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20190301 |