Cross-process message warning method based on dual-core of smart home appliances
By setting up the first and second control systems in the home appliance equipment, obtaining and encrypting operation information and disconnecting the communication connection, the problem that home appliance equipment is difficult to identify illegal messages is solved, and security is improved and intrusion is prevented.
Patent Information
- Application Number
- CN202410062424.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-01-16
- Publication Date
- 2024-11-15
- Estimated Expiration
- 2044-01-16
AI Technical Summary
The security module of home appliance equipment is difficult to identify and intercept a large number of illegal messages, causing intruders to use illegal messages to attack all applications of home appliance equipment, causing great damage.
By setting up a first control system and a second control system in the home appliance equipment, the first control system is connected to the Internet, and the second control system is an electronic control system. The operation information is obtained and encrypted and sent to the second control system. If the decryption fails, Disconnect communications to prevent illegal messages from intrusion.
It effectively reduces the damage suffered by home appliances after being invaded, improves the security of home appliances, and prevents illegal messages from intruding into target applications.
Smart Images

Figure CN117997607B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of household electrical appliances, for example, to a method and device for controlling household electrical appliances, and household electrical appliances. Background Art
[0002] With the development of the Internet of Things, more and more home appliances are developing in the direction of intelligence and automation, which has subtly changed human life. Therefore, the security of home appliances has become increasingly important. At present, the control system of home appliances in the related art is provided with a security module for identifying and intercepting illegal messages. When an intruder attacks a home appliance, he usually sends a large number of illegal messages to the home appliance in a short period of time. It is difficult for the security module of home appliances in the related art to correctly identify all illegal messages, and it is impossible to successfully intercept all illegal messages. In addition, the applications of home appliances are all controlled by the control system. Therefore, once an illegal message successfully invades the control system of the home appliance, the intruder will use the illegal message to attack all applications of the home appliance. In this way, the home appliance will suffer greater damage after being invaded.
[0003] It should be noted that the information disclosed in the above background technology section is only used to enhance the understanding of the background of the present application, and therefore may include information that does not constitute the prior art known to ordinary technicians in the field. Summary of the invention
[0004] In order to provide a basic understanding of some aspects of the disclosed embodiments, a brief summary is given below. The summary is not an extensive review, nor is it intended to identify key / critical components or delineate the scope of protection of these embodiments, but rather serves as a prelude to the detailed description that follows.
[0005] The embodiments of the present disclosure provide a method and device for controlling a home appliance, and a home appliance, so as to reduce the damage suffered by the home appliance after being invaded.
[0006] In some embodiments, the household appliance includes a first control system and a second control system, the first control system controls one or more first applications, and the second control system controls one or more second applications; the first control system establishes a communication connection with the Internet; the second control system is the electrical control system of the household appliance, and the second control system establishes a communication connection with the first control system; the method for controlling the household appliance is applied to the first control system, and the method for controlling the household appliance includes: obtaining operation information through the first application; when the target object of the operation information is the second application, encrypting the operation information to obtain encrypted information; sending the encrypted information to the second control system, triggering the second control system to decrypt the encrypted information, and when the second control system fails to decrypt the encrypted information, triggering the second control system to control the preset target application to disconnect the communication connection with the first control system; wherein the preset target application is one or more of the second applications controlled by the second control system.
[0007] In some embodiments, when the second control system fails to decrypt the encrypted information, it also includes: triggering the second control system to feedback a message of the decryption failure to the first control system; receiving the message of the decryption failure feedback from the second control system, and controlling a preset third application to issue a first warning prompt; the third application is one or more of the first applications controlled by the first control system.
[0008] In some embodiments, when the second control system fails to decrypt the encrypted information, it also includes: triggering the second control system to feedback a message of the decryption failure to the first control system; receiving the message of the decryption failure feedback from the second control system, and sending a second warning prompt to a preset user terminal.
[0009] In some embodiments, the operation information carries a first user identity identifier UID; after the operation information is obtained through the first application, it also includes: when the operation information meets a preset condition, using the first user identity identifier UID to match the second user identity identifier UID; the second user identity identifier UID is the identity identifier information of a preset target operation permission group; when there is a second user identity identifier UID that matches the first user identity identifier UID, the operation permission corresponding to the target operation permission group to which the second user identity identifier UID belongs is determined as the operation permission corresponding to the operation information.
[0010] In some embodiments, the first control system includes one or more operating permissions, and the second control system includes one or more operating permissions; the preset target operating permission group is determined in the following manner: all operating permissions with the operating permission type of administrator permissions are selected from all operating permissions of the first control system and the second control system, and all selected operating permissions are determined as first alternative operating permissions; all first alternative operating permissions are classified according to management attributes to obtain at least one initial operating permission group; a different second user identity identifier UID is set for each group of initial operating permission groups to obtain the target operating permission group.
[0011] In some embodiments, classifying all first alternative operation permissions according to management attributes to obtain at least one initial operation permission group includes: selecting multiple first alternative operation permissions from all first alternative operation permissions according to preset rules, and determining the selected multiple first alternative operation permissions as second alternative operation permissions; classifying all second alternative operation permissions according to management attributes to obtain at least one initial operation permission group.
[0012] In some embodiments, the household appliance includes a first control system and a second control system, the first control system controls one or more first applications, and the second control system controls one or more second applications; the first control system establishes a communication connection with the Internet; the second control system is the electrical control system of the household appliance, and the second control system establishes a communication connection with the first control system; the method for controlling the household appliance is applied to the second control system, and the method for controlling the household appliance includes: receiving encrypted information sent by the first control system, and the encrypted information is obtained after the first control system encrypts the operation information; wherein the operation information is obtained by the first control system through the first application, and the target object of the operation information is the second application; decrypting the encrypted information; in case of failure to decrypt the encrypted information, controlling the preset target application to disconnect the communication connection with the first control system; wherein the preset target application is one or more of the second applications controlled by the second control system.
[0013] In some embodiments, in the event of a failure to decrypt the encrypted information, the method further includes: feeding back a message of the decryption failure to the first control system, triggering the first control system to control a third application to issue a first warning prompt; wherein the third application is one or more of the first applications controlled by the first control system.
[0014] In some embodiments, in the event of a failure in decrypting the encrypted information, the method further includes: controlling a preset fourth application to issue a third warning prompt; wherein the fourth application is one or more of the second applications controlled by the second control system.
[0015] In some embodiments, the household appliance includes: a first control system and a second control system, the first control system controls one or more first applications, and the second control system controls one or more second applications; the first control system establishes a communication connection with the Internet; the second control system is the electrical control system of the household appliance, and the second control system establishes a communication connection with the first control system; the first control system is configured to obtain operation information through the first application; when the target object of the operation information is the second application, the operation information is encrypting to obtain encrypted information; the encrypted information is sent to the second control system; the second control system is configured to receive the encrypted information sent by the first control system and decrypt the encrypted information; when the decryption of the encrypted information fails, the preset target application is controlled to disconnect the communication connection with the first control system; wherein the preset target application is one or more of the second applications controlled by the second control system.
[0016] In some embodiments, the device for controlling household appliances includes a processor and a memory storing program instructions, and the processor is configured to execute the method for controlling household appliances as described above when running the program instructions.
[0017] The method and device for controlling household appliances and the household appliances provided by the embodiments of the present disclosure can achieve the following technical effects:
[0018] The household appliance includes a first control system and a second control system, wherein the first control system establishes a communication connection with the Internet, and the second control system is the electrical control system of the household appliance. Therefore, the second control system can only interact with the Internet through the first control system. In this way, the operation information obtained by the first application controlled by the first control system is encrypted, and the encrypted operation information is sent to the second control system. In the case where the decryption of the second control system fails, it means that the operation information may be an illegal message. At this time, by disconnecting the communication connection between the target application of the second control system and the first control system. It is prevented that the illegal message invades the target application controlled by the second control system, thereby protecting the target application controlled by the second control system. In this way, the damage suffered by the household appliance after being invaded can be reduced. The security of the household appliance is improved.
[0019] The above general description and the following description are exemplary and explanatory only and are not intended to limit the present application. BRIEF DESCRIPTION OF THE DRAWINGS
[0020] One or more embodiments are exemplarily described by corresponding drawings, which do not limit the embodiments. Elements with the same reference numerals in the drawings are shown as similar elements, and the drawings do not constitute a scale limitation, and wherein:
[0021] Figure 1 It is a schematic diagram of the structure of a household appliance;
[0022] Figure 2 is a schematic diagram of a method for controlling a household appliance provided by an embodiment of the present disclosure;
[0023] Figure 3 is a schematic diagram of another method for controlling a household appliance provided by an embodiment of the present disclosure;
[0024] Figure 4 is a schematic diagram of another method for controlling a household appliance provided by an embodiment of the present disclosure;
[0025] Figure 5 is a schematic diagram of another method for controlling a household appliance provided by an embodiment of the present disclosure;
[0026] Figure 6 It is a structural schematic diagram of a device for controlling household electrical appliances provided in an embodiment of the present disclosure. DETAILED DESCRIPTION
[0027] In order to be able to understand the features and technical contents of the embodiments of the present disclosure in more detail, the implementation of the embodiments of the present disclosure is described in detail below in conjunction with the accompanying drawings. The attached drawings are for reference only and are not used to limit the embodiments of the present disclosure. In the following technical description, for the convenience of explanation, a full understanding of the disclosed embodiments is provided through multiple details. However, one or more embodiments can still be implemented without these details. In other cases, to simplify the drawings, well-known structures and devices can be simplified for display.
[0028] The terms "first", "second", etc. in the specification and claims of the embodiments of the present disclosure and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the terms used in this way can be interchanged where appropriate, so as to describe the embodiments of the embodiments of the present disclosure described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions.
[0029] Unless otherwise stated, the term "plurality" means two or more.
[0030] In the embodiment of the present disclosure, the character " / " indicates that the preceding and following objects are in an "or" relationship. For example, A / B indicates: A or B.
[0031] The term "and / or" is a description of the association relationship between objects, indicating that three relationships can exist. For example, A and / or B means: A or B, or, A and B.
[0032] The term "correspondence" may refer to an association relationship or a binding relationship. The correspondence between A and B means that there is an association relationship or a binding relationship between A and B.
[0033] The core of the control chip of the home appliance is split into two independent control systems through virtualization technology, for example: a first control system and a second control system. That is, the home appliance includes a first control system and a second control system, the first control system controls one or more first applications, and the second control system controls one or more second applications; the first control system establishes a communication connection with the Internet; the second control system is the electric control system of the home appliance, and the second control system establishes a communication connection with the first control system. The first control system is configured to obtain operation information through the first application; when the target object of the operation information is the second application, the operation information is encrypted to obtain encrypted information; and the encrypted information is sent to the second control system. The second control system is configured to receive the encrypted information sent by the first control system and decrypt the encrypted information; when the decryption of the encrypted information fails, the preset target application is controlled to disconnect the communication connection with the first control system; wherein the preset target application is one or more of the second applications controlled by the second control system.
[0034] Combination Figure 1 As shown, Figure 1 It is a schematic diagram of the structure of household electrical appliances. Figure 1 The home appliance 1 in the embodiment includes a first control system 11 and a second control system 12. The first control system controls one or more first applications 13, and the second control system controls one or more second applications 14. The first control system establishes a communication connection with the Internet to realize data interaction between the home appliance and the Internet, thereby making the home appliance intelligent. The second control system is an electric control system of the home appliance, which is used to control the main application of the home appliance.
[0035] In some examples, the household appliance includes a refrigerator, an air conditioner, or a washing machine. For example, the household appliance is a refrigerator. The core of the refrigerator control chip is split into a first control system and a second control system using virtualization technology. The second control system is the electric control system of the refrigerator, and the first control system is the intelligent system of the refrigerator. The electric control system of the refrigerator is used to control the main application of the refrigerator, such as heating and cooling. The intelligent system of the refrigerator establishes a communication connection with the Internet to control the intelligent application of the refrigerator, such as displaying the temperature data of the refrigerator and controlling the interactive interface of the refrigerator.
[0036] Since there is a need for communication between the second control system and the first control system, in the process of virtualizing the control chip, it is necessary to configure the interface function between the first control system and the second control system so that the thread of the first control system and the thread of the second control system can transfer data, so as to establish a communication connection between the first control system and the second control system. For example: the interface function includes a socket function, etc. In some embodiments, on a refrigerator device, the screen of the first control system is used to display the basic parameters and working status of the refrigerator compressor. The second control system is used to provide these data. The corresponding thread on the second control system transmits these data to the corresponding thread on the first control system through cross-process communication technology. After receiving these data, the first control system displays them on the screen of the first control system. In this way, the second control system can only communicate with the Internet through the first control system. As a result, when an intruder conducts a network intrusion, he can only detect and attack the second control system through the first control system.
[0037] Combination Figure 2 As shown, an embodiment of the present disclosure provides a method for controlling a home appliance. The home appliance includes a first control system and a second control system, the first control system controls one or more first applications, and the second control system controls one or more second applications. The first control system establishes a communication connection with the Internet, the second control system is an electric control system of the home appliance, and the second control system establishes a communication connection with the first control system. The method for controlling a home appliance is applied to the first control system. The method for controlling a home appliance includes:
[0038] Step S101: The first control system obtains operation information through the first application.
[0039] Step S102: When the target object of the operation information is the second application, the first control system encrypts the operation information to obtain encrypted information.
[0040] Step S103, the first control system sends the encrypted information to the second control system, triggering the second control system to decrypt the encrypted information, and when the second control system fails to decrypt the encrypted information, triggering the second control system to control the preset target application to disconnect the communication connection with the first control system; wherein the preset target application is one or more of the second applications controlled by the second control system.
[0041] The method for controlling household appliances provided by the embodiment of the present disclosure can reduce the damage suffered by household appliances after being invaded. The household appliances include a first control system and a second control system, wherein the first control system establishes a communication connection with the Internet, and the second control system is the electrical control system of the household appliances. Therefore, the second control system can only interact with the Internet through the first control system. In this way, the operation information obtained by the first application controlled by the first control system is encrypted, and the encrypted operation information is sent to the second control system. In the case where the decryption of the second control system fails, it means that the operation information may be an illegal message. At this time, the communication connection between the target application of the second control system and the first control system is disconnected. It is made impossible for illegal messages to invade the target application controlled by the second control system, thereby protecting the target application controlled by the second control system. In this way, the damage suffered by household appliances after being invaded can be reduced. The security of household appliances is improved.
[0042] Optionally, the first control system encrypts the operation information to obtain the encrypted information, including: the first control system configures preset key information at a first preset position of the operation information to obtain the encrypted information. In some embodiments, the key information includes a key generation formula, a check field, etc. In this way, when the target object of the operation information is the second application, the operation information is encrypted to increase the difficulty for an intruder to detect and attack the second control system through the first control system, thereby improving the security of the home appliance.
[0043] Further, the second control system is configured with preset decryption information, and the decryption information is used to decrypt the key information of the first control system. Triggering the second control system to decrypt the encrypted information includes: triggering the second control system to obtain the key information of the encrypted information from the second preset position of the encrypted information, and verifying the obtained key information according to the preset decryption information. In the case of successful verification, it is determined that the second control system has successfully decrypted the encrypted information. In the case of failed verification, it is determined that the second control system has failed to decrypt the encrypted information. Among them, the second preset position corresponds to the first preset position. For example, the first preset position is the same as the second preset position. In this way, the encrypted information is decrypted by the second control system. In the case of decryption failure, it means that the operation information is likely to be an illegal message. At this time, the operating environment of the home appliance is dangerous, and the intruder may invade the home appliance by sending illegal messages to the home appliance.
[0044] Optionally, the first control system encrypts the operation information to obtain the encrypted information, including: the first control system configures preset key information for the operation information to obtain the encrypted information.
[0045] Optionally, triggering the second control system to decrypt the encrypted information includes: triggering the second control system to obtain key information of the encrypted information, and verifying the obtained key information according to preset decryption information. If the verification is successful, it is determined that the second control system has successfully decrypted the encrypted information. If the verification fails, it is determined that the second control system has failed to decrypt the encrypted information.
[0046] Optionally, when the second control system fails to decrypt the encrypted information, the first control system further includes: triggering the second control system to feedback a message of the decryption failure to the first control system. The first control system receives the message of the decryption failure feedback from the first control system, and controls a preset third application to issue a first warning prompt. The third application is one or more of the first applications controlled by the first control system. In this way, the first warning prompt is issued by the third application, which can remind the user that the home appliance is being illegally invaded at this time. It is convenient for the user to take countermeasures in time.
[0047] In some embodiments, the third application is an application that displays the operation data of the home appliance and is controlled by the first control system. The third application displays the first warning prompt on the screen of the home appliance. For example, the content of the first warning prompt is "The home appliance is being illegally invaded!"
[0048] Optionally, the first control system establishes a communication connection with a preset user terminal. In the case where the second control system fails to decrypt the encrypted information, it also includes: triggering the second control system to feedback a message of the decryption failure to the first control system. The first control system receives the feedback message of the decryption failure and issues a second early warning prompt to the preset user terminal. In this way, by sending an early warning prompt to the preset user terminal, the user can know in time that the home appliance is suffering from illegal network intrusion. Thereby reminding the user to take corresponding defensive measures to improve the security of the home appliance and protect the home appliance from intrusion. The preset user terminals include mobile phones, bracelets, tablets, etc.
[0049] Optionally, in the case where the second control system fails to decrypt the encrypted information, the method further includes: triggering the second control system to feedback a message of the decryption failure to the first control system. The first control system receives the feedback message of the decryption failure and controls the first application that issued the operation information to stop running. Since the second control system fails to decrypt the encrypted information, it indicates that there is a danger in the operating environment of the household appliance, and an intruder is likely to attack the second control system through the encrypted information. At this time, the first application that obtains the operation information is likely to have been invaded by the intruder. In this way, by controlling the first application to stop running, the intruder is prevented from continuing to send illegal operation information through the first application. This improves the security of the household appliance.
[0050] Optionally, in the case where the second control system fails to decrypt the encrypted information, the method further includes: triggering the second control system to discard the encrypted information. Since the second control system fails to decrypt the encrypted information, it indicates that the operating environment of the home appliance is dangerous, and an intruder is likely to attack the second control system through the encrypted information. In this way, by discarding the encrypted information, the second control system is prevented from being invaded, which can improve the security of the home appliance.
[0051] Furthermore, the operation information carries a first user identity UID (User Identification). After the first control system obtains the operation information through the first application, it also includes: when the operation information meets the preset conditions, the first control system uses the first user identity UID and the second user identity UID for matching. The second user identity UID is the identity information of the preset target operation permission group. When there is a second user identity UID that matches the first user identity UID, the operation permission corresponding to the target operation permission group to which the second user identity UID belongs is determined as the operation permission corresponding to the operation information.
[0052] The household appliance includes multiple operation permissions, including: one or more operation permissions of a first control system, and one or more operation permissions of a second control system.
[0053] The types of operation permissions of home appliances include user permissions and administrator permissions. Among them, administrator permissions represent the operation permissions required for the home appliance to perform the first preset function. User permissions represent the operation permissions required for the home appliance to perform the second preset function. Among them, the target operation permission group is a set of operation permissions whose operation permission type is administrator permissions. That is, within the target operation permission group, the operation permission type of each operation permission is administrator permissions.
[0054] Further, determining the first preset function according to the type of the household appliance includes: performing a table lookup operation in a preset fourth data table using the type of the household appliance to find out the first preset function corresponding to the type of the household appliance. The preset fourth data table stores the correspondence between the type of the household appliance and the first preset function. For example, when the type of the household appliance is an air conditioner, the first preset function includes heating and cooling, etc. When the air conditioner performs the heating and cooling function, the required operation permission type is administrator permission.
[0055] Further, determining the second preset function according to the type of the household appliance includes: performing a table lookup operation in a preset fourth data table using the type of the household appliance to find out the second preset function corresponding to the type of the household appliance. The preset fourth data table stores the correspondence between the type of the household appliance and the second preset function. For example, when the type of the household appliance is an air conditioner, the second preset function is to increase the brightness of the screen and decrease the volume of the prompt light. When the air conditioner performs the function of increasing the brightness of the screen and decreasing the volume of the prompt light, the required operation permission type is user permission.
[0056] The operation information is determined to meet the preset condition in the following manner: determining the type of operation authority corresponding to the operation information. When the operation authority corresponding to the operation information is administrator authority, it is determined that the operation information meets the preset condition.
[0057] Home appliances generally use embedded operating systems such as Linux as the basis of the control system. Among them, there is a super administrator in the Linux system, and the super administrator has all the operating permissions of the home appliances. Therefore, after the home appliance is hacked, the intruder can damage the home appliance with the operating permissions of the super administrator. In other words, the intruder can damage the home appliance with all the operating permissions of the home appliance. This will cause great damage to the home appliance.
[0058] The types of operation permissions of the household appliance include administrator permissions and user permissions. All operation permissions of the operation permission type of administrator permissions are divided into one or more target operation permission groups, and each target operation permission group has a different second identity identifier UID. In this way, when the household appliance executes the operation information that requires the administrator permission, it is necessary to match the operation information. Only when the match is successful, the operation permission required by the operation information is given. In this way, the operation permission of the household appliance is restricted, so that the operation information of the household appliance does not obtain all the operation permissions of the household appliance. It can be seen that when the super administrator controls the household appliance to execute the operation information that requires the administrator permission, it is also necessary to match. In the case of a match failure, the super administrator will not obtain the operation permission required by the operation information. That is, in the case of a match failure, the household appliance super administrator will not have all the operation permissions of the household appliance. In addition, even if the super administrator has the first identity identifier UID carried by the operation information and successfully matches the second identity identifier of the target operation permission group. The super administrator can only obtain the operation permission owned by the target operation permission group, but cannot obtain all the operation permissions of the household appliance. Therefore, the damage caused to the household appliance by the intruder after the successful intrusion can be further reduced. In some embodiments, the first user identity UID is a first key password, and the second user identity UID is a second key password.
[0059] Further, the operation permission type corresponding to the operation information is determined in the following manner: a table lookup operation is performed in a preset first data table using the type of the home appliance and the operation information to find out the operation permission type corresponding to the type of the home appliance and the operation information. The preset first data table stores the correspondence between the type of the home appliance and the operation information and the operation permission type.
[0060] In some embodiments, Table 1 is an example table of a preset first data table. As shown in Table 1, when the type of the home appliance is an air conditioner, and the operation information is to perform a function of heating up, the operation permission type is administrator permission. When the type of the home appliance is an air conditioner, and the operation information is to perform a function of cooling down, the operation permission type is administrator permission. When the type of the home appliance is a refrigerator, and the operation information is to perform a function of heating up, the operation permission type is administrator permission. When the type of the home appliance is a refrigerator, and the operation information is to perform a function of increasing the brightness of the light, the operation permission type is user permission.
[0061] Table 1
[0062]
[0063] Combination Figure 3 As shown, the embodiment of the present disclosure provides another method for controlling a home appliance. The operation information carries a first user identity UID. The method for controlling a home appliance includes:
[0064] Step S201: The first control system obtains operation information through the first application.
[0065] Step S202: When the operation information meets the preset conditions, the first control system uses the first user identity identifier UID to match the second user identity identifier UID; the second user identity identifier UID is the identity identifier information of the preset target operation authority group.
[0066] Step S203: when there is a second user identity identifier UID matching the first user identity identifier UID, the first control system determines the operation authority corresponding to the target operation authority group to which the second user identity identifier UID belongs as the operation authority corresponding to the operation information.
[0067] Step S204: When the target object of the operation information is the second application, the first control system encrypts the operation information to obtain encrypted information.
[0068] Step S205, the first control system sends the encrypted information to the second control system, triggering the second control system to decrypt the encrypted information, and when the second control system fails to decrypt the encrypted information, triggering the second control system to control the preset target application to disconnect the communication connection with the first control system; wherein the preset target application is one or more of the second applications controlled by the second control system.
[0069] Further, the first control system includes one or more operation permissions, and the second control system includes one or more operation permissions. The preset target operation permission group is determined in the following manner: the first control system selects all operation permissions of the operation permission type of administrator permissions from all operation permissions of the first control system and the second control system, and determines all the selected operation permissions as the first candidate operation permissions. All the first candidate operation permissions are classified according to the management attributes to obtain at least one initial operation permission group. Different second user identity identifiers UID are set for each group of initial operation permission groups to obtain the target operation permission group. In this way, by selecting the first candidate operation permission from all operation permissions of the first control system and the second control system, and classifying all the first candidate operation permissions, each type of operation permission group is set with a different identity identifier. When an intruder invades each type of target operation permission group, it is necessary to obtain the first user identity identifier UID that can successfully match the target permission group of this type. Thereby increasing the difficulty for the intruder to invade the home appliance, so as to increase the security of the home appliance. Even if the intruder successfully invades a certain type of target operation permission group, the intruder can only damage the home appliance with the operation permission of the target operation permission group. The home appliances cannot be damaged by the operation permissions of other target operation permission groups, so as to reduce the damage caused by intruders to the home appliances.
[0070] Further, the operation permission type is determined in the following manner: a table lookup operation is performed in a preset second data table using the type of home appliance and the operation permission to find out the operation permission type corresponding to the type of home appliance and the operation permission. The preset second data table stores the correspondence between the type of home appliance and the operation permission and the operation permission type.
[0071] In some embodiments, when the type of the home appliance is an air conditioner, and the operation permission is to increase the temperature, the corresponding operation permission type is administrator permission. When the type of the home appliance is an air conditioner, and the operation permission is to decrease the temperature, the corresponding operation permission type is administrator permission. When the type of the home appliance is an air conditioner, and the operation permission is to lower the volume of the prompt light, the corresponding operation permission type is user permission. When the type of the home appliance is a refrigerator, and the operation permission is to run ice making, the corresponding operation permission type is administrator permission. When the type of the home appliance is a refrigerator, and the operation permission is to lower the brightness of the screen, the corresponding operation permission type is user permission.
[0072] Further, the first control system classifies all first candidate operation permissions according to management attributes to obtain at least one initial operation permission group, including: selecting multiple first candidate operation permissions from all first candidate operation permissions according to preset rules, and determining the selected multiple first candidate operation permissions as second candidate operation permissions. Classifying all second candidate operation permissions according to management attributes to obtain at least one initial operation permission group. In this way, by selecting second candidate operation permissions from all first candidate operation permissions of home appliances. The scope of operation permissions owned by the initial operation permission group can be narrowed to narrow the scope of operation permissions owned by the target operation permission group. And, by classifying the second candidate operation permissions by management attributes, the intruder can only invade each type of initial operation permission group one by one. This can limit the speed at which the intruder invades the home appliance, so that the user has time to deal with the illegal invasion. In addition, even if the intruder invades all operation permissions of all initial operation permission groups through operation information, the intruder can only damage the home appliance with all second candidate operation permissions, and cannot damage with all operation permissions of the home appliance. The damage caused by the intruder to the home appliance can be reduced.
[0073] In some embodiments, the preset rule is to select the operation authority that enables the home appliance to complete the third preset function from the operation authority of the home appliance. The third preset function is determined according to the type of the home appliance. Specifically, according to the type of the home appliance, a table lookup operation is performed in the preset fourth data table to find out the third preset function corresponding to the type of the home appliance. The preset fourth data table stores the correspondence between the type of the home appliance and the third preset function. For example, if the type of the home appliance is an air conditioner, the third preset function corresponding to the air conditioner is heating, cooling, networking and shutting down. According to the preset rule, the second alternative operation authority selected includes raising the temperature, lowering the temperature, establishing a communication connection with the Internet and operating shutdown. If the type of the home appliance is a refrigerator, the third preset function corresponding to the refrigerator is heating, cooling and ice making. According to the preset rule, the selected alternative operation authority includes raising the temperature, lowering the temperature and operating ice making.
[0074] Since the operation authority that enables the home appliance to complete the third preset function is only a part of all the operation authorities of the home appliance, by selecting the second alternative operation authority from all the first alternative operation authorities of the home appliance, the scope of the operation authority owned by the initial operation authority group can be narrowed. In this way, even if the intruder obtains all the operation authorities of the entire initial operation authority group through the operation information, the intruder can only damage the home appliance with all the second alternative operation authorities owned by the initial operation authority group. Instead of damaging with all the operation authorities of the home appliance, the damage caused to the home appliance by the intruder can be reduced.
[0075] Further, the management attribute of the operation authority is determined in the following manner: a table lookup operation is performed in a preset third data table using the type of the home appliance and the operation authority to find out the management attribute corresponding to the type of the home appliance and the operation authority. The preset third data table stores the correspondence between the type of the home appliance and the operation authority and the management attribute.
[0076] In some embodiments, Table 2 is an example table of a preset third data table. As shown in Table 2, when the type of the home appliance is an air conditioner and the operation authority is to increase the temperature, the management attribute is the function configuration. When the type of the home appliance is an air conditioner and the operation authority is to lower the temperature, the management attribute is the function configuration. When the type of the home appliance is an air conditioner and the operation authority is to establish a communication connection with the Internet, the management attribute is the network configuration. When the type of the home appliance is an air conditioner and the operation authority is to shut down, the management attribute is the system configuration. When the type of the home appliance is a refrigerator and the operation authority is to lower the temperature, the management attribute is the function configuration. When the type of the home appliance is a refrigerator and the operation authority is to lower the temperature, the management attribute is the function configuration. When the type of the home appliance is a refrigerator and the operation authority is to lower the temperature, the management attribute is the function configuration. When the type of the home appliance is a refrigerator and the operation authority is to run ice making, the management attribute is the function configuration.
[0077] Table 2
[0078]
[0079] Combination Figure 4 As shown, the embodiment of the present disclosure provides another method for controlling a home appliance. The home appliance includes a first control system and a second control system, the first control system controls one or more first applications, and the second control system controls one or more second applications. The first control system establishes a communication connection with the Internet; the second control system is an electric control system of the home appliance, and the second control system establishes a communication connection with the first control system. Another method for controlling a home appliance is applied to the second control system, and the method includes:
[0080] Step S301, the second control system receives encrypted information sent by the first control system, where the encrypted information is obtained by the first control system after encrypting operation information; wherein the operation information is obtained by the first control system through the first application, and the target object of the operation information is the second application.
[0081] Step S302: the second control system decrypts the encrypted information.
[0082] Step S303, when the second control system fails to decrypt the encrypted information, it controls the preset target application to disconnect the communication connection with the first control system; wherein the preset target application is one or more of the second applications controlled by the second control system.
[0083] The method for controlling household appliances provided by the embodiment of the present disclosure can reduce the damage suffered by household appliances after being invaded. The household appliance includes a first control system and a second control system, wherein the second control system is the electrical control system of the household appliance, and the first control system establishes a communication connection with the Internet. Therefore, the second control system can only interact with the Internet through the first control system. In this way, the encrypted information sent by the first control system is received by the second control system, and the encrypted information is decrypted. Among them, the encrypted information is obtained and encrypted by the first control system through the first application. In the case where the decryption of the second control system fails, it means that the operation information may be an illegal message. At this time, by disconnecting the communication connection between the target application of the second control system and the first control system. It is made impossible for illegal messages to invade the target application controlled by the second control system, thereby protecting the target application controlled by the second control system. In this way, the damage suffered by the household appliance after being invaded can be reduced. The security of the household appliance is improved.
[0084] Optionally, the operation information is encrypted by the first control system in the following manner: the first control system configures preset key information at a first preset position of the operation information to obtain encrypted information. In some embodiments, the key information includes a key generation formula, a check field, and the like.
[0085] Further, the second control system is configured with preset decryption information, and the decryption information is used to decrypt the key information of the first control system. The second control system decrypts the encrypted information, including: the second control system obtains the key information of the encrypted information from the second preset position of the encrypted information, and verifies the obtained key information according to the preset decryption information. If the verification is successful, it is determined that the second control system has successfully decrypted the encrypted information. If the verification fails, it is determined that the second control system has failed to decrypt the encrypted information. The second preset position corresponds to the first preset position. For example, the first preset position is the same as the second preset position.
[0086] Optionally, the operation information is encrypted by the first control system in the following manner: the first control system configures preset key information for the operation information.
[0087] Furthermore, the second control system decrypts the encrypted information, including: the second control system obtains key information of the encrypted information, and verifies the obtained key information according to preset decryption information. If the verification is successful, it is determined that the second control system successfully decrypts the encrypted information. If the verification fails, it is determined that the second control system fails to decrypt the encrypted information.
[0088] Optionally, when the second control system fails to decrypt the encrypted information, the second control system also includes: the second control system feeds back a message of the decryption failure to the first control system, triggering the first control system to control a preset third application to issue a first warning prompt; wherein the third application is one or more of the first applications controlled by the first control system.
[0089] Optionally, the first control system establishes a communication connection with a preset user terminal. When the second control system fails to decrypt the encrypted information, the second control system also includes: the second control system feeds back a message of the decryption failure to the first control system, triggering the first control system to send a second warning prompt to the preset user terminal.
[0090] Optionally, when the second control system fails to decrypt the encrypted information, the method further includes: the second control system feeds back a message of the decryption failure to the first control system, triggering the first control system to control the first application that sent the operation information to stop running.
[0091] Optionally, when the second control system fails to decrypt the encrypted information, the second control system further includes: the second control system discards the encrypted information.
[0092] Optionally, when the second control system fails to decrypt the encrypted information, the second control system further includes: the second control system controls a preset fourth application to issue a third warning prompt; wherein the fourth application is one or more of the second applications controlled by the second control system. In some embodiments, the fourth application is an application controlled by the second control system that can issue a voice alarm. The home appliance body issues a third warning prompt through the fourth application. The content of the third warning prompt is "The home appliance is being illegally invaded!"
[0093] Furthermore, the operation information carries a first user identity identifier UID. The operation authority of the operation information is determined by the first control system in the following manner: after the first control system obtains the operation information through the first application, the first user identity identifier UID and the second user identity identifier UID are used for matching when the operation information meets a preset condition. In the case of a second user identity identifier UID that matches the first user identity identifier UID, the operation authority corresponding to the target operation authority group to which the second user identity identifier UID belongs is determined as the operation authority corresponding to the operation information.
[0094] The household appliance includes multiple operation permissions, including: one or more operation permissions of a first control system, and one or more operation permissions of a second control system.
[0095] The types of operation permissions of home appliances include user permissions and administrator permissions. Among them, administrator permissions represent the operation permissions required for the home appliance to perform the first preset function. User permissions represent the operation permissions required for the home appliance to perform the second preset function. Among them, the target operation permission group is a set of operation permissions whose operation permission type is administrator permissions. That is, within the target operation permission group, the operation permission type of each operation permission is administrator permissions.
[0096] Furthermore, the first preset function is determined by the first control system according to the type of the household appliance: the first control system uses the type of the household appliance to perform a table lookup operation in a preset fourth data table to find out the first preset function corresponding to the type of the household appliance. The preset fourth data table stores the correspondence between the type of the household appliance and the first preset function.
[0097] Furthermore, the second preset function is determined by the first control system according to the type of the household appliance: the first control system uses the type of the household appliance to perform a table lookup operation in a preset fourth data table to find out the second preset function corresponding to the type of the household appliance. The preset fourth data table stores the correspondence between the type of the household appliance and the second preset function.
[0098] Further, the first control system determines whether the operation information satisfies the preset condition by: determining the type of operation authority corresponding to the operation information. When the operation authority corresponding to the operation information is administrator authority, it is determined that the operation information satisfies the preset condition.
[0099] Furthermore, the operation permission type corresponding to the operation information is determined by the first control system in the following manner: using the type of the household appliance and the operation information to perform a table lookup operation in a preset first data table to find out the operation permission type corresponding to the type of the household appliance and the operation information. The preset first data table stores the correspondence between the type of the household appliance and the operation information and the operation permission type.
[0100] Furthermore, the first control system includes one or more operation permissions, and the second control system includes one or more operation permissions. The preset target operation permission group is determined by the first control system in the following manner: the first control system selects all operation permissions whose operation permission type is administrator permission from all operation permissions of the first control system and the second control system, and determines all the selected operation permissions as first candidate operation permissions. All first candidate operation permissions are classified according to management attributes to obtain at least one initial operation permission group. Different second user identity identifiers UIDs are set for each group of initial operation permission groups to obtain the target operation permission group.
[0101] Furthermore, the operation permission type is determined by the first control system in the following manner: using the type of the household appliance and the operation permission, a table lookup operation is performed in a preset second data table to find out the operation permission type corresponding to the type of the household appliance and the operation permission. The preset second data table stores the correspondence between the type of the household appliance and the operation permission and the operation permission type.
[0102] Furthermore, the initial operation permission group is obtained by the first control system in the following manner: the first control system selects a plurality of first candidate operation permissions from all first candidate operation permissions according to a preset rule, determines the selected plurality of first candidate operation permissions as second candidate operation permissions, and classifies all second candidate operation permissions according to management attributes to obtain at least one initial operation permission group.
[0103] Further, the preset rule is to select the operation authority that enables the home appliance to complete the third preset function from the operation authority of the home appliance. The third preset function is determined by the first control system according to the type of the home appliance. Specifically, the first control system performs a table lookup operation in a preset fourth data table according to the type of the home appliance to find out the third preset function corresponding to the type of the home appliance. The preset fourth data table stores the correspondence between the type of the home appliance and the third preset function.
[0104] Furthermore, the management attribute of the operation authority is determined by the first control system in the following manner: a table lookup operation is performed in a preset third data table using the type of the home appliance and the operation authority to find out the management attribute corresponding to the type of the home appliance and the operation authority. The preset third data table stores the correspondence between the type of the home appliance and the operation authority and the management attribute.
[0105] Combination Figure 5 As shown, the embodiment of the present disclosure provides another method for controlling a home appliance. The home appliance includes: a first control system and a second control system, the first control system controls one or more first applications, and the second control system controls one or more second applications; the first control system establishes a communication connection with the Internet; the second control system is an electric control system of the home appliance, and the second control system establishes a communication connection with the first control system. The method for controlling a home appliance includes:
[0106] Step S401: The first control system obtains operation information through the first application.
[0107] Step S402: When the target object of the operation information is the second application, the first control system encrypts the operation information to obtain encrypted information.
[0108] Step S403: the first control system sends the encrypted information to the second control system.
[0109] Step S404: the second control system receives the encrypted information sent by the first control system.
[0110] Step S405: the second control system decrypts the encrypted information.
[0111] Step S406: When the second control system fails to decrypt the encrypted information, it controls the fourth application to issue a third warning prompt; wherein the fourth application is one or more of the second applications controlled by the second control system.
[0112] The method for controlling household appliances provided by the embodiment of the present disclosure can reduce the damage suffered by household appliances after being invaded. The household appliance includes a first control system and a second control system, wherein the first control system establishes a communication connection with the Internet, and the second control system is the electrical control system of the household appliance. Therefore, the second control system can only interact with the Internet through the first control system. In this way, the operation information obtained by the first application controlled by the first control system is encrypted, and the encrypted operation information is sent to the second control system. The second control system decrypts the received encrypted information. In the case where the decryption of the second control system fails, it means that the operation information may be an illegal message. At this time, the communication connection between the target application of the second control system and the first control system is disconnected. The illegal message cannot invade the target application controlled by the second control system, thereby protecting the target application controlled by the second control system. In this way, the damage suffered by the household appliance after being invaded can be reduced. The security of the household appliance is improved.
[0113] Combination Figure 6 As shown, the embodiment of the present disclosure provides a device 2 for controlling household appliances, including a processor 21 and a memory 22. Optionally, the device may also include a communication interface 23 and a bus 24. The processor 21, the communication interface 23, and the memory 22 may communicate with each other through the bus 24. The communication interface 23 may be used for information transmission. The processor 21 may call the logic instructions in the memory 22 to execute the method for controlling household appliances of the above embodiment.
[0114] In addition, the logic instructions in the memory 22 can be implemented in the form of software functional units and can be stored in a computer-readable storage medium when sold or used as an independent product.
[0115] The memory 22 is a computer-readable storage medium that can be used to store software programs and computer executable programs, such as program instructions / modules corresponding to the method in the embodiment of the present disclosure. The processor 21 executes the function application and data processing by running the program instructions / modules stored in the memory 22, that is, the method for controlling the home appliance in the above embodiment is implemented.
[0116] The memory 22 may include a program storage area and a data storage area, wherein the program storage area may store an operating system and an application required for at least one function; the data storage area may store data created according to the use of the terminal device, etc. In addition, the memory 22 may include a high-speed random access memory and may also include a non-volatile memory.
[0117] The above description and the accompanying drawings fully illustrate the embodiments of the present disclosure so that those skilled in the art can practice them. Other embodiments may include structural, logical, electrical, process and other changes. The embodiments represent only possible changes. Unless explicitly required, separate components and functions are optional, and the order of operation may vary. The parts and features of some embodiments may be included in or replace the parts and features of other embodiments. Moreover, the words used in this application are only used to describe the embodiments and are not used to limit the claims. As used in the description of the embodiments and the claims, unless the context clearly indicates, the singular forms of "a", "an" and "the" are intended to include plural forms as well. Similarly, the term "and / or" as used in this application refers to any and all possible combinations of listings containing one or more associated ones. In addition, when used in the present application, the term "comprise" and its variants "comprises" and / or comprising refer to the presence of stated features, wholes, steps, operations, elements, and / or components, but do not exclude the presence or addition of one or more other features, wholes, steps, operations, elements, components and / or groups thereof. In the absence of further restrictions, the elements defined by the sentence "comprising a ..." do not exclude the presence of other identical elements in the process, method or device comprising the elements. In this article, each embodiment may focus on the differences from other embodiments, and the same and similar parts between the various embodiments may refer to each other. For the methods, products, etc. disclosed in the embodiments, if they correspond to the method part disclosed in the embodiments, then the relevant parts can refer to the description of the method part.
[0118] Those skilled in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software may depend on the specific application and design constraints of the technical solution. The technicians may use different methods for each specific application to implement the described functions, but such implementations should not be considered to exceed the scope of the embodiments of the present disclosure. The technicians may clearly understand that, for the convenience and simplicity of description, the specific working processes of the systems, devices and units described above may refer to the corresponding processes in the aforementioned method embodiments, and will not be repeated here.
[0119] In the embodiments disclosed herein, the disclosed methods and products (including but not limited to devices, equipment, etc.) can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the units can be only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. In addition, the coupling or direct coupling or communication connection between each other shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms. The units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the units may be selected according to actual needs to implement this embodiment. In addition, each functional unit in the embodiment of the present disclosure may be integrated in a processing unit, or each unit may exist physically alone, or two or more units may be integrated in one unit.
[0120] The flowchart and block diagram in the accompanying drawings show the possible architecture, function and operation of the system, method and computer program product according to the embodiment of the present disclosure. In this regard, each box in the flowchart or block diagram can represent a module, a program segment or a part of the code, and the module, the program segment or a part of the code contains one or more executable instructions for realizing the specified logical function. In some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two consecutive boxes can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, which can depend on the functions involved. In the description corresponding to the flowchart and the block diagram in the accompanying drawings, the operations or steps corresponding to different boxes can also occur in a different order from the order disclosed in the description, and sometimes there is no specific order between different operations or steps. For example, two consecutive operations or steps can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, which can depend on the functions involved. Each block in the block diagrams and / or flowcharts, and combinations of blocks in the block diagrams and / or flowcharts, may be implemented by a dedicated hardware-based system that performs the specified functions or actions, or may be implemented by a combination of dedicated hardware and computer instructions.
Claims
1. A method for controlling household electrical appliances, It is characterized in that The household appliance comprises a first control system and a second control system, the first control system controls one or more first applications, and the second control system controls one or more second applications; the first control system establishes a communication connection with the Internet; The second control system is an electric control system of the household appliance, and the second control system establishes a communication connection with the first control system; The method is applied to a first control system, and the method comprises: Acquiring operation information through the first application; In a case where the target object of the operation information is the second application, encrypting the operation information to obtain encrypted information; Send the encrypted information to the second control system, trigger the second control system to decrypt the encrypted information, and if the second control system fails to decrypt the encrypted information, trigger the second control system to control the preset target application to disconnect the communication connection with the first control system; wherein the preset target application is one or more of the second applications controlled by the second control system.
2. The method according to claim 1, It is characterized in that In the case where the second control system fails to decrypt the encrypted information, the method further comprises: Trigger the second control system to feedback a decryption failure message to the first control system; A decryption failure message fed back by the second control system is received, and a preset third application is controlled to issue a first warning prompt; the third application is one or more of the first applications controlled by the first control system.
3. The method according to claim 1, It is characterized in that In the case where the second control system fails to decrypt the encrypted information, the method further comprises: Trigger the second control system to feedback a decryption failure message to the first control system; Receive the decryption failure message fed back by the second control system, and send a second early warning prompt to a preset user terminal.
4. The method according to any one of claims 1 to 3, It is characterized in that The operation information carries the first user identity UID; after obtaining the operation information through the first application, the method further includes: When the operation information meets the preset conditions, the first user identity identifier UID is matched with the second user identity identifier UID; the second user identity identifier UID is the identity identifier information of the preset target operation permission group; In the case that there is a second user identity identifier UID matching the first user identity identifier UID, the operation authority corresponding to the target operation authority group to which the second user identity identifier UID belongs is determined as the operation authority corresponding to the operation information.
5. The method according to claim 4, It is characterized in that The first control system includes one or more operation permissions, and the second control system includes one or more operation permissions; the preset target operation permission group is determined by: Selecting all operation permissions of the operation permission type of administrator permissions from all operation permissions of the first control system and the second control system, and determining all the selected operation permissions as first candidate operation permissions; Classifying all first candidate operation permissions according to management attributes to obtain at least one initial operation permission group; A different second user identity UID is set for each initial operation permission group to obtain a target operation permission group.
6. The method according to claim 5, It is characterized in that The step of classifying all first candidate operation permissions according to management attributes to obtain at least one initial operation permission group includes: According to a preset rule, multiple first candidate operation permissions are selected from all first candidate operation permissions, and the selected multiple first candidate operation permissions are determined as second candidate operation permissions; All second candidate operation permissions are classified according to management attributes to obtain at least one initial operation permission group.
7. A method for controlling a household appliance, It is characterized in that The household appliance comprises a first control system and a second control system, the first control system controls one or more first applications, and the second control system controls one or more second applications; the first control system establishes a communication connection with the Internet; The second control system is an electric control system of the household appliance, and the second control system establishes a communication connection with the first control system; The method is applied to a second control system, and the method comprises: Receiving encrypted information sent by the first control system, wherein the encrypted information is obtained by the first control system after encrypting the operation information; wherein the operation information is obtained by the first control system through the first application, and the target object of the operation information is the second application; decrypting the encrypted information; In the case of failure in decrypting the encrypted information, the preset target application is controlled to disconnect the communication connection with the first control system; wherein the preset target application is one or more of the second applications controlled by the second control system.
8. The method according to claim 7, It is characterized in that In the case where the decryption of the encrypted information fails, the method further comprises: Feedback of a decryption failure message to the first control system triggers the first control system to control the third application to issue a first warning prompt; wherein the third application is one or more of the first applications controlled by the first control system.
9. The method according to claim 7, It is characterized in that In the case where the decryption of the encrypted information fails, the method further comprises: Control a preset fourth application to issue a third warning prompt; wherein the fourth application is one or more of the second applications controlled by the second control system.
10. A household appliance, It is characterized in that include: a first control system and a second control system, the first control system controls one or more first applications, and the second control system controls one or more second applications; The first control system establishes a communication connection with the Internet; the second control system is an electric control system of the household appliance, and the second control system establishes a communication connection with the first control system; A first control system is configured to obtain operation information through a first application; In a case where the target object of the operation information is the second application, encrypting the operation information to obtain encrypted information; sending the encrypted information to a second control system; The second control system is configured to receive the encrypted information sent by the first control system and decrypt the encrypted information; in the event of a failure in decrypting the encrypted information, control the preset target application to disconnect the communication connection with the first control system; wherein the preset target application is one or more of the second applications controlled by the second control system.
11. A device for controlling a household appliance, comprising a processor and a memory storing program instructions, It is characterized in that The processor is configured to execute the method for controlling a household appliance according to any one of claims 1 to 9 when running the program instructions.
