Air environment master control system based on smart home

By using the identity authentication of random account passwords and touch verification codes in the smart home air environment main control system, a secure conversion sequence is generated for consistency verification, which solves the problem that passwords are easily cracked in the existing technology, and improves the security and user protection of the smart home control platform.

CN120378157AInactive Publication Date: 2025-07-25SHENZHEN BANMAN LOVERS TECHNOLOGY CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510505849.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-04-22
Publication Date
2025-07-25
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

When authenticating identity, the existing smart home control platform is easily cracked by password plus verification code, and family users have low awareness of password protection, which leads to the invalidation of the authentication mechanism and poses a security risk.

Method used

The air environment master control system based on smart home is adopted, and the random account password and touch verification code are generated through the login authentication module, and the security conversion sequence is generated in combination with the identity authentication unit to perform consistency verification to avoid direct transmission of account passwords and increase security.

Benefits of technology

Effectively prevent three parties from bypassing verification code login, reduce the risk of password leakage, improve the security of smart home control platform, promptly alert users, and enhance the security of home air environment regulation.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120378157A_ABST
    Figure CN120378157A_ABST
Patent Text Reader

Abstract

The invention discloses an air environment master control system based on a smart home, and relates to the technical field of security certification, a login authentication module carries a random account password which cannot be generated randomly in initial request data, the characteristic that a current behavioral verification code is only used for verifying whether machine operation exists or not is utilized, three parties are confused to trigger error verification, and the security certification is realized. Timely alarm is given to family users, and the home security is ensured; according to the invention, an identity authentication unit is arranged to generate a touch verification code of the current authentication for a current pre-login user, login authentication generates a security conversion sequence of the current authentication based on a login password based on the touch verification codes issued by all past login of the current pre-login user, and the identity authentication unit performs consistency verification on the security conversion sequence; on one hand, the situation that three parties directly use accounts and passwords to carry out background login by bypassing point contact verification codes is avoided, on the other hand, direct transmission of the accounts and the passwords is avoided, and the safety of home air environment regulation and control is enhanced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of security authentication, and particularly to an air environment main control system based on smart home. Background Art

[0002] With the rise of smart home mobile services, when more and more home appliances such as air conditioners and dehumidifiers are connected to the Internet, it provides a new channel for hackers to cause damage. When hackers invade the control server of smart home, the secure smart home becomes an open home. Therefore, it is necessary to conduct security authentication on the identity of its users before controlling the smart home;

[0003] The existing smart home control platform uses password plus verification code authentication when authenticating home users. The verification code is used to exclude the use of script machines by third parties to obtain authentication rules and crack passwords. Moreover, home users often have a low awareness of password protection, and passwords are easy to leak. If third parties use the leaked passwords to log in, the authentication mechanism of the smart home control platform will completely fail;

[0004] To solve the above problems, the present invention proposes a solution. Summary of the Invention

[0005] The purpose of the present invention is to provide an air environment main control system based on smart home, which solves the problems in the prior art that password plus verification code authentication is used, the verification code is used to exclude the use of script machines by third parties to obtain authentication rules and crack passwords, and home users often have a low awareness of password protection, passwords are easy to leak, and if third parties use the leaked passwords to log in, the authentication mechanism of the smart home control platform will completely fail;

[0006] The purpose of the present invention can be achieved through the following technical solutions:

[0007] An air environment main control system based on smart home includes:

[0008] A regulation and login module for enabling registered and authorized home users to securely log in to the air environment regulation platform;

[0009] The login authentication module obtains the account name and account password entered by the currently pre-logging-in user to log in to the air environment regulation platform, and generates initial request data based on the account name entered by the currently pre-logging-in user to log in to the air environment regulation platform. The initial request data includes two sets of data, namely the account name and a random account password;

[0010] An air environment regulation platform for enabling family members who have passed identity authentication to regulate the air environment in the home;

[0011] The air environment control platform includes an identity authentication unit and a verification code generation unit. The identity authentication unit stores the account names and account passwords of all registered and authorized household users who are allowed to log in to the air environment control platform.

[0012] The identity authentication unit obtains the auxiliary verification account password stored therein that matches the account name carried in the initial request data.

[0013] The verification code generation unit generates a touch verification code for the current pre-login user's current authentication and transmits it to the login authentication module.

[0014] After receiving the touch verification code for the current pre-login user's current authentication transmitted by the verification code generation unit, the login authentication module obtains the click data of the current pre-login user clicking on the touch verification code and generates a security conversion sequence for the current pre-login user according to a certain generation rule, and generates security request data for the current pre-login user based on it and the click data of the current pre-login user.

[0015] The identity authentication unit stores all the touch verification codes generated by the identity authentication unit when the current pre-login user logged in to the air environment control platform in the past. The identity authentication unit generates an authentication verification sequence for the current pre-login user's current login based on all the touch verification codes generated by the identity authentication unit when the current pre-login user logged in to the air environment control platform in the past and the auxiliary verification password stored therein, and compares it with the security request data of the current pre-login user. If the comparison passes, an authentication pass instruction is generated.

[0016] After receiving the comparison pass instruction, the air environment control unit establishes a connection with all the smart homes in the household and provides the current pre-login user with air control parameter settings.

[0017] If the comparison fails, an alarm instruction is generated and transmitted to the mobile device of the household user corresponding to the current pre-login user to alarm it.

[0018] Furthermore, the random account password is a randomly generated 8-14 character string consisting of numbers, letters, and special symbols.

[0019] Furthermore, the verification code generation unit stores a background map set for generating touch verification codes. The background map set contains several landscape images. It should be noted that the landscape images do not contain any digital characters, and the specifications of all landscape images in the background map set are 1920*1080.

[0020] Further, the specific steps for the verification code generation unit to generate the touch verification code for the current pre-login user's current authentication are as follows:

[0021] Step 1: Randomly generate 3 non-repeating numeric characters in sequence, and randomly select a background image from the background image set stored therein as the touch background image for the current authentication;

[0022] Step 2: Randomly fill the 3 non-repeating numeric characters generated randomly into the touch background image for the current authentication to generate the touch verification code for the current authentication;

[0023] It should be noted here that the touch verification code includes touch prompt text below the touch background image, which is used to indicate that the current pre-login user clicks on all the numbers in the specified order, and the positions of the numeric characters in the touch background image are random. The fonts and font sizes of all the numeric characters in the touch background image are the same. The touch prompt text is: Please click on the numbers in sequence + the first number to be clicked + the second number to be clicked + the third number to be clicked.

[0024] Further, when the current pre-login user logged in to the air environment control platform in the past, all the touch verification codes generated by the identity authentication unit and the corresponding receiving times.

[0025] Further, the click data of the current pre-login user includes the positions where the current pre-login user clicks on the touch verification code for the current authentication and the interval duration of each click.

[0026] Further, the specific generation rule for the login authentication module to generate the security conversion sequence of the current pre-login user is as follows:

[0027] S11: Obtain all the touch verification codes generated by the identity authentication unit when the current pre-login user logged in to the air environment control platform in the past and the touch verification code for the current authentication stored in the login authentication module, and mark all the touch verification codes and the touch verification code for the current authentication as A1, A2,..., Aa in sequence according to the distance of their corresponding receiving times from the current moment, where a≥1; the receiving time corresponding to the touch verification code A1 is the farthest from the current moment, and Aa is the touch verification code for the current authentication;

[0028] S12: Obtain the 3 numeric characters prompted to be clicked in the touch prompt text of the touch verification code Aa, and mark the numeric characters as B1, B2, and B3 in sequence according to the order of their prompted clicks;

[0029] S13: Screen and obtain all the selected pixel points G1, G2,..., Gg and their corresponding overlapping feature values H1, H2,..., Hg according to a certain screening rule, specifically as follows:

[0030] S131: Obtain all the pixel points that make up the digital character B1 in the touch verification code Aa's touch background image, and successively label all the pixel points as D1, D2, ..., Dd in the order from left to right and from bottom to top according to their positions in the touch background image of the touch verification code Aa, where d≥1;

[0031] S132: Create a record variable E1 for the pixel point D1, and the initial value of the record variable E1 is 0;

[0032] Obtain the pixel point in the touch verification code A1 that has the same position as the pixel point D1, and make a determination on it. If this pixel point is a pixel point that makes up the number in the touch hint text in the touch verification code A1, then the value of the record variable D1 is incremented by 1; otherwise, no processing is performed.

[0033] S133: Successively obtain the pixel points in the touch verification codes A1, A2, ..., Aa-1 that have the same position as the pixel point D1 according to S132 and make determinations on them, and obtain the final value F1 of the record variable E1;

[0034] S134: If F1 > F, then label the pixel point D1 as the selected pixel point for this authentication, re-label it as G1, and re-label the value F1 of the record variable E1 corresponding to the selected pixel point G1 as the overlapping feature value of the selected pixel point G1, marked as H1; otherwise, no processing is performed, where F is a preset comparison threshold;

[0035] S135: Successively create record variables E1, E2, ..., Ed for the pixel points D1, D2, ..., Dd, and obtain the final values F1, F2, ..., Fd of the record variables E1, E2, ..., Ed according to S131 to S133 and successively make size determinations on them and F to obtain all the selected pixel points G1, G2, ..., Gg and their corresponding overlapping feature values H1, H2, ..., Hg, where 1≤g≤d;

[0036] S14: Obtain the number of touch verification codes that contain the digital character B1 among the 3 digital characters prompted to be clicked in the touch hint text in the touch verification codes A1, A2, ..., Aa, and label it as the first type of scalar feature number of the digital character B1, marked as C1;

[0037] Obtain the number of touch verification codes that have the same click order as the digital character B1 among the 3 digital characters prompted to be clicked in the touch hint text in the touch verification codes A1, A2, ..., Aa, and label it as the second type of scalar feature number of the digital character B1, marked as C2;

[0038] S15: Use the formula Calculate to obtain the characteristic rejection amount I1 corresponding to the digital character B1, where ɑ1 is a preset adjustment factor;

[0039] S16: Generate a mapping and screening sequence of the digital character B1 according to a certain generation rule;

[0040] S17: Calculate and generate the mapping and screening sequences of the digital character B2 and the number B3 in sequence according to S13 to S16, and splice the corresponding mapping and screening sequences in the order of the digital characters B1, B2, and B3 to generate the touch mapping sequence for this authentication;

[0041] S18: Obtain the account password typed by the currently pre-logged-in user to log in to the air environment control platform, and mark the characters in the account password as L1, L2,..., Ll in the order of the typed characters, where 8 ≤ l ≤ 14;

[0042] Refer to the ASCII code table, find the code values corresponding to the characters L1, L2,..., Ll in the ADCII code table, and mark the code values corresponding to the characters as M1, M2,..., Ml in the order of L1, L2,..., Ll;

[0043] S19: Generate a mapping conversion sequence of M1 according to a certain generation rule, specifically as follows:

[0044] S191: Mark the characters of M1 as N1,..., Nn from left to right, where 1 ≤ n ≤ 3;

[0045] Find the position of the number numerically equal to N1 in the touch mapping sequence for this authentication from left to right, and mark its position as the touch mapping serial number of N1, marked as Q1;

[0046] S192: Delete the number equal to N1 at the Q1 position in the touch mapping sequence for this authentication, and continue to obtain the touch mapping serial number of the character N2 from left to right, marked as Q2;

[0047] S193: Obtain the touch mapping serial numbers Q1,..., Qn of the characters N1,..., Nn in sequence according to S191 to S192, and splice the corresponding touch mapping serial numbers in the order of the characters N1,..., Nn to generate the mapping conversion sequence of M1;

[0048] S110: Generate the mapping conversion sequences of M1, M2,..., Ml in sequence according to S19, and splice their mapping conversion sequences in the order of M1, M2,..., Ml to generate the security conversion sequence for this authentication.

[0049] Further, the specific generation rule for generating the mapping and screening sequence of the digital character B1 in S16 is as follows:

[0050] S161: Based on the touch verification code Aa's touch background image, obtain the pixel coordinates of all selected pixel points G1, G2,..., Gg in this touch background image and mark them as (J1, K1), (J2, K2),..., (Jg, Kg). In the coordinates, the part before the "," represents the row number of the selected pixel point in the touch background image, and the part after the "," represents the column number of the pixel point in the touch background image. For example, the selected pixel point G1 is located in the J1-th row and K1-th column of the touch background image;

[0051] S162: Concatenate the pixel coordinates of the selected pixel points G1, G2,..., Gg in this touch background image to generate the basic screening sequence of the digital character B1, that is, the basic screening sequence is expressed as J1K1J2K2J3K3...JgKg;

[0052] S163: Obtain the total number j of characters in the basic screening sequence of the digital character B1, propose the partition quantity I1 according to the characteristics corresponding to the digital character B1, remove the characters at the (I1 + 1)-th, (2I1 + 1)-th,..., (k×I1 + 1)-th positions in the basic screening sequence of the digital character B1 in the order from left to right, and splice the remaining characters to generate the mapping and screening sequence of the digital character B1, where -1 + j / I1 < k < j / I1.

[0053] Advantages of the present invention:

[0054] (1) In the present invention, the login authentication module carries a randomly generated random account password in the initial request data, and uses the characteristic that the current behavior-based verification code is only used to verify whether it is a machine operation to confuse the third party into triggering an incorrect verification, giving timely warnings to household users and ensuring the security of the home;

[0055] (2) In the present invention, the identity authentication unit generates the touch verification code for the current pre-login user for this authentication. The login authentication generates the security conversion sequence for this authentication based on the login password based on all the touch verification codes issued for the past logins of the current pre-login user. The identity authentication unit performs consistency verification on it. On the one hand, it avoids the occurrence of the situation where the third party bypasses the touch verification code and directly uses the account password for background login. On the other hand, it avoids directly transmitting the account password, resulting in the loss of the password. And using the password alone without all the touch verification codes issued for the past logins will trigger an alarm, strengthening the security of controlling the smart home. Description of the Drawings

[0056] The present invention will be further described below with reference to the drawings.

[0057] Figure 1 This is the system block diagram of the present invention. Specific embodiments

[0058] Next, the technical solutions in the embodiments of the present invention will be clearly and completely described in conjunction with the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only a part of the embodiments of the present invention, rather than all the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without making creative efforts belong to the scope of protection of the present invention.

[0059] As Figure 1 shown, the air environment main control system based on smart home includes a regulation login module and an air environment regulation platform;

[0060] The regulation login module is used for registered and authorized family users to securely log in to the air environment regulation platform;

[0061] The login authentication module obtains the account name and account password entered by the currently pre-logged-in user for logging in to the air environment regulation platform. The login authentication module generates initial request data of the currently pre-logged-in user based on the account name entered by the currently pre-logged-in user for logging in to the air environment regulation platform. The initial request data includes two sets of data, namely the authentication account name and the random account password. The authentication account name is the account name entered by the currently pre-logged-in user for logging in to the air environment regulation platform, and the random account password is an 8-14-digit character randomly generated by numbers, letters, and special symbols;

[0062] The login authentication module transmits the initial request data of the currently pre-logged-in user to the air environment regulation platform;

[0063] The air environment regulation platform is used for authenticated family users to regulate the indoor air environment of the home. The air environment regulation platform includes an identity authentication unit, a verification code generation unit, and an air environment regulation unit;

[0064] After receiving the initial request data of the currently pre-logged-in user transmitted by the login authentication module, the air environment regulation platform obtains the account name entered by the currently pre-logged-in user for logging in to the air environment regulation platform carried therein and transmits it to the identity authentication unit;

[0065] The identity authentication unit stores the account names and account passwords of all family users who have been registered and authorized to log in to the air environment regulation platform;

[0066] After receiving the account name typed by the current pre-login user transmitted by the air environment control unit for logging in to the air environment control platform, the identity authentication unit matches it with the account names of all household users stored in the identity authentication unit. If the match is successful, the identity authentication unit obtains the account password of the currently matched household user and uses it as the auxiliary verification account password, and generates a random generation instruction;

[0067] All touch verification codes generated by the identity authentication unit when all household users logged in to the air environment control platform in the past are stored in the identity authentication unit;

[0068] The identity authentication unit transmits the random generation instruction to the verification code generation unit, and the background map set for generating touch verification codes is stored in the verification code generation unit;

[0069] The background map set contains several landscape images. It should be noted that the landscape images do not contain any numerical characters; in this embodiment, the number of landscape images in the background map set is P1, and preferably the value of P1 is 500; the specifications of all landscape images in the background map set are 1920*1080;

[0070] After receiving the random generation instruction transmitted by the identity authentication unit, the verification code generation unit randomly generates 3 non-repeating numerical characters in sequence, and randomly selects a background image from the background map set stored therein as the touch background map for this authentication;

[0071] The 3 non-repeating numerical characters randomly generated are randomly filled into the touch background map for this authentication to generate the touch verification code for this authentication. It should be noted that the touch verification code contains touch prompt text below the touch background map, which is used to indicate that the current pre-login user clicks all the numbers in the specified order, and the positions of the numerical characters in the touch background map are random. The fonts and sizes of all numerical characters in the touch background map are the same. In this embodiment, the numerical characters in the touch background map are Song typeface and size 5. In this embodiment, the touch prompt text is: Please click on the numbers in sequence + the first number to be clicked + the second number to be clicked + the third number to be clicked;

[0072] The identity authentication unit transmits the touch verification code for this authentication to the login authentication module, and all touch verification codes generated by the identity authentication unit and the corresponding reception times when the current pre-login user logged in to the air environment control platform in the past are stored in the login authentication module;

[0073] After receiving the touch verification code for the current authentication transmitted by the identity authentication unit, the login authentication module obtains the click data of the currently pre-logged-in user and generates a security conversion sequence for the currently pre-logged-in user according to a certain generation rule. The click data of the currently pre-logged-in user includes the click position of the currently pre-logged-in user and the interval duration between each click.

[0074] The specific generation rule for the login authentication module to generate the security conversion sequence of the currently pre-logged-in user is as follows:

[0075] S11: Obtain all the touch verification codes generated by the identity authentication unit when the currently pre-logged-in user logged in to the air environment control platform in the past and the touch verification code for the current authentication stored in the login authentication module, and mark all the touch verification codes and the touch verification code for the current authentication as A1, A2,..., Aa in sequence according to the distance of their corresponding reception times from the current moment, where a≥1; the reception time corresponding to the touch verification code A1 is the farthest from the current moment, and Aa is the touch verification code for the current authentication.

[0076] S12: Obtain the 3 digital characters prompted to be clicked in the touch prompt text of the touch verification code Aa, and mark the digital characters as B1, B2, and B3 in sequence according to the order of their prompted clicks.

[0077] S13: Screen and obtain all the selected pixel points G1, G2,..., Gg and their corresponding overlapping feature values H1, H2,..., Hg according to a certain screening rule, specifically as follows:

[0078] S131: Obtain all the pixel points that make up the digital character B1 in the touch background map of the touch verification code Aa, and mark all the pixel points as D1, D2,..., Dd in sequence according to the position order of the pixel points in the touch background map of the touch verification code Aa, from left to right and from bottom to top, where d≥1.

[0079] S132: Create a record variable E1 for the pixel point D1, and the initial value of the record variable E1 is 0.

[0080] Obtain the pixel point with the same position as the pixel point D1 in the touch verification code A1, and make a determination on it. If the pixel point is a pixel point that makes up the number in the touch prompt text of the touch verification code A1, the value of the record variable D1 is incremented by 1, otherwise, no processing is done.

[0081] S133: Obtain the pixel points with the same position as the pixel point D1 in the touch verification codes A1, A2,..., Aa-1 in sequence according to S132 and make a determination on them, and obtain the final value F1 of the record variable E1.

[0082] S134: If F1 > F, then label pixel point D1 as the selected pixel point for this authentication, re-label it as G1, re-label the value F1 of the record variable E1 corresponding to the selected pixel point G1 as the overlapping feature value of the selected pixel point G1, and label it as H1. Otherwise, do nothing. Here, F is a preset comparison threshold;

[0083] S135: Create record variables E1, E2,..., Ed for pixel points D1, D2,..., Dd in sequence, and obtain the final values F1, F2,..., Fd of the record variables E1, E2,..., Ed according to S131 to S133. Then, determine their magnitudes compared to F in sequence, and obtain all the selected pixel points G1, G2,..., Gg and their corresponding overlapping feature values H1, H2,..., Hg, where 1 ≤ g ≤ d;

[0084] S14: Obtain the number of touch point verification codes among touch point verification codes A1, A2,..., Aa that contain the digital character B1 in the 3 digital characters prompted to be clicked in the touch point hint text, and label it as the first type of scalar feature number of the digital character B1, denoted as C1;

[0085] Obtain the number of touch point verification codes among touch point verification codes A1, A2,..., Aa that have the same click order as the digital character B1 in the 3 digital characters prompted to be clicked in the touch point hint text, and label it as the second type of scalar feature number of the digital character B1, denoted as C2;

[0086] S15: Use the formula to calculate and obtain the feature rejection partition quantity I1 corresponding to the digital character B1, where ɑ1 is a preset adjustment factor;

[0087] S16: Generate a mapping and screening sequence for the digital character B1 according to a certain generation rule, specifically as follows:

[0088] S161: Based on the touch point background image of the touch point verification code Aa, obtain the pixel coordinates of all the selected pixel points G1, G2,..., Gg in this touch point background image and label them as (J1, K1), (J2, K2),..., (Jg, Kg). In the coordinates, the part before the comma represents the row number of the selected pixel point in the touch point background image, and the part after the comma represents the column number of the pixel point in the touch point background image. For example, the selected pixel point G1 is located in the J1-th row and K1-th column of the touch point background image;

[0089] S162: Concatenate the pixel coordinates of the selected pixel points G1, G2,..., Gg in this touch point background image to generate the basic screening sequence of the digital character B1, that is, the basic screening sequence is expressed as J1K1J2K2J3K3...JgKg;

[0090] S163: Obtain the total number of characters j in the basic screening sequence of digital character B1, propose a partition quantity I1 based on the characteristics corresponding to digital character B1, remove the characters at the (I1 + 1), (2I1 + 1),..., (k×I1 + 1) positions in the basic screening sequence of digital character B1 in the order from left to right, and splice the remaining characters to generate the mapped screening sequence of digital character B1, where -1 + j / I1 < k < j / I1;

[0091] S17: Calculate and generate the mapped screening sequence of digital character B2 and the mapped screening sequence of digital B3 in sequence according to S13 to S16, and splice their corresponding mapped screening sequences in sequence according to the order of digital characters B1, B2, B3 to generate the touch mapping sequence for this authentication;

[0092] S18: Obtain the account password typed by the current pre-logged-in user for logging in to the air environment control platform, and mark the characters in the account password as L1, L2,..., Ll in the order of the typed characters, where 8 ≤ l ≤ 14;

[0093] Refer to the ASCII code table, find the code values corresponding to the characters L1, L2,..., Ll in the ASCII code table, and mark the code values corresponding to the characters as M1, M2,..., Ml in the order of L1, L2,..., Ll;

[0094] S19: Generate the mapped conversion sequence of M1 according to a certain generation rule, specifically as follows:

[0095] S191: If the number of characters forming M1 is 2, mark the characters of M1 as N1,..., Nn from left to right, where 1 ≤ n ≤ 3;

[0096] Find the position of the number numerically equal to N1 in the touch mapping sequence for this authentication from left to right, and mark its position as the touch mapping serial number of N1, marked as Q1;

[0097] S192: Delete the number equal to N1 at the Q1 position in the touch mapping sequence for this authentication, and continue to obtain the touch mapping serial number of character N2 from left to right, marked as Q2;

[0098] S193: Obtain the touch mapping serial numbers Q1,..., Qn of characters N1,..., Nn in sequence according to S191 to S192, and splice their corresponding touch mapping serial numbers in the order of characters N1,..., Nn to generate the mapped conversion sequence of M1;

[0099] S110: Generate the mapping conversion sequences of M1, M2, ..., Ml in sequence according to S19, and splice the mapping conversion sequences in the order of M1, M2, ..., Ml to generate the security conversion sequence for this authentication.

[0100] The login authentication module generates the security request data of the current pre-login user based on the click data of the current pre-login user and the security conversion sequence for this authentication, and transmits it to the identity authentication unit. After receiving the security request data of the current pre-login user transmitted from the login authentication module, the identity authentication unit first verifies the click operation data carried therein. After passing the verification, based on all the touch verification codes and auxiliary verification account passwords generated by the identity authentication unit when the current pre-login user logged in to the air environment control platform in the past, generate the authentication verification sequence for the current pre-login user's current login, and compare it with the security conversion sequence for this authentication carried in the security request data of the current pre-login user. If the comparison passes, generate an authentication pass instruction and transmit it to the air environment control unit.

[0101] If the comparison fails, generate an alarm instruction and transmit it to the mobile device of the household user for the household user to know.

[0102] The air environment control unit includes a relay server for controlling the smart home in the home. After receiving the authentication pass instruction transmitted from the login authentication module, the air environment control unit establishes a connection with the smart home to allow the current pre-login user to set air control parameters and control the smart home.

[0103] In the description of the specification, the description with reference to terms such as "one embodiment", "example", "specific example", etc. means that the specific features, structures, materials or characteristics described in connection with the embodiment or example are included in at least one embodiment or example of the present invention. In this specification, the schematic representations of the above terms do not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described can be combined in a suitable manner in any one or more embodiments or examples.

[0104] The above content is only an example and explanation of the present invention. Those skilled in the art of the present technology can make various modifications or supplements to the specific embodiments described or use similar methods to replace them, as long as they do not deviate from the invention or exceed the scope defined by the claims of the present invention, they should all belong to the protection scope of the present invention.

[0105] The above has described in detail one embodiment of the present invention, but the content described is only the preferred embodiment of the present invention and cannot be considered as limiting the scope of implementation of the present invention. All equivalent changes and improvements made according to the scope of the application of the present invention should still fall within the scope covered by the patent of the present invention.

Claims

1. An air environment main control system based on smart home, characterized in that, Including: A regulation login module for enabling registered and authorized household users to securely log in to the air environment regulation platform; The login authentication module obtains the account name and account password entered by the currently pre-logged-in user for logging in to the air environment regulation platform, and generates initial request data based on the account name entered by the currently pre-logged-in user for logging in to the air environment regulation platform. The initial request data includes two sets of data, namely the account name and a random account password; An air environment regulation platform for enabling family members who have passed identity authentication to regulate the air environment indoors; The air environment regulation platform includes an identity authentication unit and a verification code generation unit. The identity authentication unit stores the account names and account passwords of all household users who have been registered and authorized to log in to the air environment regulation platform; The identity authentication unit obtains the auxiliary verification account password stored therein that matches the account name carried in the initial request data; The verification code generation unit generates a touch verification code for the current pre-logged-in user's current authentication and transmits it to the login authentication module; After receiving the touch verification code for the current pre-logged-in user's current authentication transmitted by the verification code generation unit, the login authentication module obtains the click data of the current pre-logged-in user clicking on the touch verification code and generates a security conversion sequence for the current pre-logged-in user according to a certain generation rule, and generates security request data for the current pre-logged-in user based on it and the click data of the current pre-logged-in user; The identity authentication unit stores all the touch verification codes generated by the identity authentication unit when the current pre-logged-in user previously logged in to the air environment regulation platform. The identity authentication unit generates an authentication verification sequence for the current pre-logged-in user's current login based on all the touch verification codes generated by the identity authentication unit when the current pre-logged-in user previously logged in to the air environment regulation platform stored therein and the auxiliary verification password, and compares it with the security request data of the current pre-logged-in user. If the comparison passes, an authentication passed instruction is generated; After receiving the comparison passed instruction, the air environment regulation unit establishes a connection with all the smart homes indoors and enables the current pre-logged-in user to set air regulation parameters; If the comparison fails, an alarm instruction is generated and transmitted to the mobile device of the household user corresponding to the current pre-logged-in user to alarm them.

2. The air environment main control system based on smart home according to claim 1, characterized in that The random account password is an 8-14-digit character randomly generated by numbers, letters, and special symbols.

3. The air environment master control system based on smart home according to claim 1, characterized in that The verification code generation unit stores a background map set for generating touch verification codes. The background map set contains several landscape images. It should be noted that there are no digital characters in the landscape images. The specifications of all landscape images in the background map set are 1920*1080.

4. The air environment master control system based on smart home according to claim 3, wherein, The specific steps for the verification code generation unit to generate a touch verification code for the current pre-logged-in user's current authentication are as follows: Step 1: Randomly generate 3 non-repeating numeric characters in sequence, and randomly select a background image from the background image set stored therein as the touch background image for this authentication. Step 2: Randomly fill the 3 non-repeating numeric characters generated randomly into the touch background image for this authentication to generate the touch verification code for this authentication. It should be noted here that the touch verification code contains touch prompt text at the bottom of the touch background image, which is used to indicate that the current pre-logged-in user clicks all the numbers in the specified order, and the positions of the numeric characters in the touch background image are random. The fonts and font sizes of all the numeric characters in the touch background image are the same. The touch prompt text is: Please click on the numbers in sequence + the first number to be clicked + the second number to be clicked + the third number to be clicked.

5. The air environment master control system based on smart home according to claim 1, characterized in that, All the touch verification codes generated by the identity authentication unit and the corresponding receiving times when the current pre-logged-in user logged in to the air environment regulation platform in the past in the login authentication module.

6. The air environment main control system based on smart home according to claim 1, characterized in that, The click data of the current pre-logged-in user includes the position where the current pre-logged-in user clicks the touch verification code for this authentication and the interval duration between each click.

7. The air environment master control system based on smart home according to claim 1, characterized in that, The specific generation rule for the login authentication module to generate the security conversion sequence of the current pre-logged-in user is as follows: S11: Obtain all the touch verification codes generated by the identity authentication unit when the current pre-logged-in user logged in to the air environment regulation platform in the past and the touch verification code for this authentication in the login authentication module, and mark all the touch verification codes and the touch verification code for this authentication as A1, A2,..., Aa in sequence according to the distance of their corresponding receiving times from the current moment, where a≥1; the receiving time corresponding to the touch verification code A1 is the farthest from the current moment, and Aa is the touch verification code for this authentication. S12: Obtain the 3 numeric characters prompted to be clicked in the touch prompt text in the touch verification code Aa, and mark the numeric characters as B1, B2, and B3 in sequence according to the order of the prompts to be clicked. S13: Screen and obtain all the selected pixel points G1, G2,..., Gg and their corresponding overlapping feature values H1, H2,..., Hg according to a certain screening rule, specifically as follows: S131: Obtain all the pixel points that make up the numeric character B1 in the touch background image of the touch verification code Aa, and mark all the pixel points as D1, D2,..., Dd in sequence from left to right and from bottom to top according to the position order of the pixel points in the touch background image of the touch verification code Aa, where d≥1. S132: Create a record variable E1 for the pixel point D1, and the initial value of the record variable E1 is 0. Obtain the pixel point with the same position as the pixel point D1 in the touch verification code A1, and make a determination on it. If the pixel point is a pixel point that makes up the number in the touch prompt text in the touch verification code A1, the value of the record variable D1 is incremented by 1, otherwise, no processing is performed. S133: Obtain the pixel points with the same position as the pixel point D1 in the touch verification codes A1, A2,..., Aa-1 in sequence according to S132 and make a determination on them, and obtain the final value F1 of the record variable E1. S134: If F1 > F, then calibrate the pixel point D1 as the selected pixel point for this authentication, recalibrate it as G1, and recalibrate the value F1 of the record variable E1 corresponding to the selected pixel point G1 as the overlapping feature value of the selected pixel point G1, marked as H1. Otherwise, no processing is performed. The F is a preset comparison threshold; S135: Create record variables E1, E2,..., Ed for pixel points D1, D2,..., Dd in sequence, and obtain the final values F1, F2,..., Fd of the record variables E1, E2,..., Ed according to S131 to S133. Then, determine their magnitudes compared with F in sequence, and obtain all the selected pixel points G1, G2,..., Gg and their corresponding overlapping feature values H1, H2,..., Hg, where 1 ≤ g ≤ d; S14: Obtain the number of touch - verification codes among the touch - verification codes A1, A2,..., Aa that contain the digital character B1 in the 3 digital characters prompted to be clicked in the touch - prompt text, and calibrate it as the first - type scalar feature number of the digital character B1, marked as C1; Obtain the number of touch - verification codes among the touch - verification codes A1, A2,..., Aa that have the same click order as the digital character B1 in the 3 digital characters prompted to be clicked in the touch - prompt text, and calibrate it as the second - type scalar feature number of the digital character B1, marked as C2; S15: Use the formula to calculate and obtain the feature rejection partition amount I1 corresponding to the digital character B1, where ɑ1 is a preset adjustment factor; S16: Generate a mapping and screening sequence for the digital character B1 according to a certain generation rule; S17: Calculate and generate the mapping and screening sequences for the digital character B2 and the digital B3 in sequence according to S13 to S16, and splice the corresponding mapping and screening sequences in the order of the digital characters B1, B2, B3 to generate the touch - mapping sequence for this authentication; S18: Obtain the account password entered by the currently pre - logged - in user to log in to the air - environment regulation platform, and mark the characters in the account password as L1, L2,..., Ll in the order of the entered characters, where 8 ≤ l ≤ 14; Refer to the ASCII code table, find the code values corresponding to the characters L1, L2,..., Ll in the ASCII code table, and mark the code values corresponding to the characters as M1, M2,..., Ml in the order of L1, L2,..., Ll; S19: Generate a mapping conversion sequence for M1 according to a certain generation rule, specifically as follows: S191: Mark the characters of M1 as N1,..., Nn from left to right, where 1 ≤ n ≤ 3; Find the position of the number numerically equal to N1 in the touch - mapping sequence for this authentication from left to right, and calibrate this position as the touch - mapping serial number of N1, marked as Q1; S192: Delete the number equal to N1 at the Q1 position in the touch - mapping sequence for this authentication, and continue to obtain the touch - mapping serial number of the character N2 from left to right, marked as Q2; S193: Obtain the touch mapping serial numbers Q1, …, Qn of characters N1, …, Nn in sequence according to S191 to S192, and splice the corresponding touch mapping serial numbers in the order of characters N1, …, Nn to generate the mapping conversion sequence of M1; S110: Generate the mapping conversion sequences of M1, M2, …, Ml in sequence according to S19, and splice their mapping conversion sequences in the order of M1, M2, …, Ml to generate the security conversion sequence of this authentication.

8. The air environment master control system based on smart home according to claim 7, characterized in that, For the said S16, the specific generation rule for generating the mapping screening sequence of digital character B1 is as follows: S161: Based on the touch background image of touch verification code Aa, obtain the pixel coordinates of all selected pixel points G1, G2, …, Gg in this touch background image and mark them as (J1, K1), (J2, K2), …, (Jg, Kg). Before the ",", in the coordinates represents the row number of the selected pixel point in the touch background image, and after the ",", represents the column number of the pixel point in the touch background image. For example, the selected pixel point G1 is located in the J1-th row and K1-th column of the touch background image; S162: Splice the pixel coordinates of the selected pixel points G1, G2, …, Gg in this touch background image to generate the basic screening sequence of digital character B1, that is, the basic screening sequence is expressed as J1K1J2K2J3K3...JgKg; S163: Obtain the total number j of characters in the basic screening sequence of digital character B1, propose the partition quantity I1 according to the characteristics corresponding to digital character B1, remove the characters at the (I1 + 1)-th, (2I1 + 1)-th, …, (k×I1 + 1)-th positions in the basic screening sequence of digital character B1 in the order from left to right, and splice the remaining characters to generate the mapping screening sequence of digital character B1, where -1 + j / I1 < k < j / I1.