CN115664850A - Communication security level switching method and device, electronic equipment and storage medium - Google Patents

Communication security level switching method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN115664850A
CN115664850A CN202211594262.6A CN202211594262A CN115664850A CN 115664850 A CN115664850 A CN 115664850A CN 202211594262 A CN202211594262 A CN 202211594262A CN 115664850 A CN115664850 A CN 115664850A
Authority
CN
China
Prior art keywords
intelligent household
communication security
security level
level
appliance
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202211594262.6A
Other languages
Chinese (zh)
Inventor
邹伟
尹志坚
易长平
吴映云
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Xin Yupeng Electronic Technology Co ltd
Original Assignee
Shenzhen Xin Yupeng Electronic Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Xin Yupeng Electronic Technology Co ltd filed Critical Shenzhen Xin Yupeng Electronic Technology Co ltd
Priority to CN202211594262.6A priority Critical patent/CN115664850A/en
Publication of CN115664850A publication Critical patent/CN115664850A/en
Pending legal-status Critical Current

Links

Images

Abstract

The application relates to the technical field of intelligent household electrical appliances, and provides a communication security level switching method, a device, an electronic device and a storage medium, wherein the method comprises the following steps: judging whether the current intelligent household electrical appliance is invaded; if yes, acquiring a communication security level which needs to be achieved by the current intelligent household appliance, and recording as a first target level; and adjusting the communication security level of the current intelligent household appliance to the first target level. The invention has the advantages of high safety performance and convenient control.

Description

Communication security level switching method and device, electronic equipment and storage medium
Technical Field
The application relates to the technical field of intelligent household appliances, in particular to a communication security level switching method and device, an electronic device and a storage medium.
Background
At present, the control of all intelligent household electrical appliances can be collected to a mobile terminal by the intelligent household, the mobile terminal is used as a central control, then unified management can be realized, and the control at any time and any place can be realized through modes such as touch screen panels, voice, mobile phone APP, timing and the like. In the process of controlling the intelligent household appliance through the mobile terminal, in order to ensure the communication safety, a fixed secret key is generally adopted between the mobile terminal and the intelligent household appliance, and a symmetric encryption algorithm is used for encrypting communication data.
However, the existing intelligent home appliance is generally equipped with only one communication security level, that is, the key used in each communication is fixed, and in the communication process, if the key is once leaked, the intelligent home appliance is easily invaded, so that the privacy of the user data is leaked, and the consequences are not obvious.
Based on the above problems, no effective solution exists at present.
Disclosure of Invention
The application aims to provide a communication security level switching method, a communication security level switching device, an electronic device and a storage medium, which can adjust the communication security level according to actual needs and improve the security.
In a first aspect, the present application provides a communication security level switching method, applied to an intelligent household electrical appliance in an intelligent household electrical appliance group, where the intelligent household electrical appliance group includes a plurality of intelligent household electrical appliances in the same local area network, and the intelligent household electrical appliance defaults to work at a first initial communication security level, where the method includes the following steps:
s1, judging whether the current intelligent household electrical appliance is invaded or not;
s2, if yes, acquiring a communication safety level which needs to be achieved by the current intelligent household appliance, and recording as a first target level;
and S3, adjusting the communication security level of the current intelligent household appliance to the first target level.
The communication security level switching method judges whether the current intelligent household appliance is invaded; if yes, acquiring a communication security level which needs to be achieved by the current intelligent household appliance, and recording as a first target level; and adjusting the first initial communication security level of the current intelligent household appliance to a first target level. The intelligent household electrical appliance can adjust the current communication safety level according to whether the intelligent household electrical appliance is invaded or not, the intelligent household electrical appliance is prevented from being controlled at will, the use data of the intelligent household electrical appliance is prevented from being leaked, and the safety is improved.
Optionally, in the communication security level switching method provided by the present application, step S2 includes:
A1. acquiring the position information of the current intelligent household electrical appliance;
A2. and acquiring the first target grade corresponding to the current intelligent household appliance from a preset first grade form according to the position information.
By the method, the appropriate communication security level can be adjusted according to the position and the type of the intelligent household appliance, the intelligent household appliance is important for the position and needs to frequently relate to the user privacy data, the communication security level of the intelligent household appliance is improved, and the privacy data is prevented from being leaked; the general intelligent household electrical appliance which is general in position and does not need to frequently relate to user privacy data keeps the original communication security level or properly increases the communication security level, reduces the influence of overlong data transmission decryption time caused by overhigh communication security level, keeps normal use as much as possible, realizes the classified encryption of the intelligent household electrical appliance, and improves the applicability.
Optionally, in the communication security level switching method provided by the present application, step S2 includes:
B1. acquiring the use frequency information of the current intelligent household appliance in a first preset time period;
B2. and acquiring the first target grade corresponding to the current intelligent household appliance from a preset second grade form according to the use frequency information.
Optionally, in the communication security level switching method provided by the present application, step S2 includes:
C1. acquiring type information of current intelligent household electrical appliance equipment;
C2. and acquiring the first target grade corresponding to the current intelligent household appliance from a preset third grade form according to the type information.
By the method, the intelligent household appliances can be conveniently classified, and the first target grade can be conveniently obtained.
Optionally, in the communication security level switching method provided by the present application, step S2 includes:
D1. acquiring all control instructions of the current intelligent household electrical appliance;
D2. and acquiring the first target grade corresponding to each control instruction from a preset fourth grade form according to each control instruction.
By the method, when the intelligent household appliance is invaded, the communication security level of the important control command can be increased, and an invader is prevented from randomly controlling the important command.
Optionally, the communication security level switching method provided by the present application, after step S3, includes:
s4, performing self-checking on the current intelligent household appliance every other second preset time period to judge whether the current intelligent household appliance is still invaded;
s5, if the current intelligent household appliance is not invaded, the communication security level of the current intelligent household appliance is reduced according to a first preset level, and the step S4 is repeatedly executed until the communication security level of the current intelligent household appliance is recovered to the first initial communication security level;
and S6, if the current intelligent household electrical appliance is still invaded, maintaining the communication security level of the current intelligent household electrical appliance unchanged, and repeatedly executing the step S4.
Optionally, the communication security level switching method provided by the present application, after step S3, includes:
taking the current intelligent household electrical appliance as a center, acquiring a communication security level required by other intelligent household electrical appliances in the intelligent household electrical appliance group within a first preset range when the other intelligent household electrical appliances are invaded, and recording the communication security level as a second target level;
and sending a level adjustment instruction to the other intelligent household appliances in the first preset range, of which the current communication security level is lower than the corresponding second target level, so that the corresponding intelligent household appliances adjust the communication security levels of the intelligent household appliances.
According to the communication security level switching method, whether the current intelligent household appliance is invaded or not is judged; if yes, acquiring a communication security level which needs to be achieved by the current intelligent household appliance, and recording as a first target level; and adjusting the first initial communication security level of the current intelligent household appliance to a first target level. The intelligent household electrical appliance can adjust the current communication safety level according to whether the intelligent household electrical appliance is invaded or not, the intelligent household electrical appliance is prevented from being controlled at will, the use data of the intelligent household electrical appliance is prevented from being leaked, and the safety is improved.
In a second aspect, the present application provides a communication security level switching apparatus, which is applied to an intelligent household electrical appliance in an intelligent household electrical appliance group, the intelligent household electrical appliance group includes a plurality of intelligent household electrical appliances in the same local area network, the intelligent household electrical appliance defaults to work at a first initial communication security level, wherein, the apparatus comprises the following modules:
a judgment module: the intelligent household appliance intrusion detection system is used for judging whether the current intelligent household appliance is invaded or not;
a first acquisition module: the system comprises a first module, a second module and a third module, wherein the first module is used for acquiring a communication security level required to be reached by the current intelligent household appliance when the current intelligent household appliance is invaded and recording as a first target level;
an adjustment module: the intelligent household appliance communication safety level adjusting device is used for adjusting the communication safety level of the current intelligent household appliance to the first target level.
The communication-security-level-based switching device provided by the application judges whether the current intelligent household appliance is invaded or not through the judging module; when the current intelligent household appliance is invaded, a first acquisition module acquires a communication security level which needs to be reached by the current intelligent household appliance and records the communication security level as a first target level; the adjusting module adjusts the first initial communication security level of the current intelligent household appliance to a first target level. The intelligent household electrical appliance can adjust the current communication safety level according to whether the intelligent household electrical appliance is invaded or not, the intelligent household electrical appliance is prevented from being controlled at will, the use data of the intelligent household electrical appliance is prevented from being leaked, and the safety is improved.
In a third aspect, the present application provides an electronic device comprising a processor and a memory, wherein the memory stores computer readable instructions, and the computer readable instructions, when executed by the processor, perform the steps of the method as provided in the first aspect.
In a fourth aspect, the present application provides a storage medium having stored thereon a computer program which, when executed by a processor, performs the steps of the method as provided in the first aspect above.
In summary, according to the communication security level switching method and device, the electronic device and the storage medium, the intelligent household appliance can adjust the current communication security level according to whether the intelligent household appliance is invaded, the intelligent household appliance is prevented from being controlled randomly, the use data of the intelligent household appliance is prevented from being leaked, and the security is improved.
Drawings
Fig. 1 is a flowchart of a communication security level switching method provided in the present application.
Fig. 2 is a schematic structural diagram of a communication security level switching apparatus provided in the present application.
Fig. 3 is a schematic structural diagram of an electronic device provided in the present application.
Description of reference numerals:
201. a judgment module; 202. a first acquisition module; 203. an adjustment module; 301. a processor; 302. a memory; 303. a communication bus.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only some embodiments of the present application, and not all embodiments. The components of the embodiments of the present application, generally described and illustrated in the figures herein, can be arranged and designed in a wide variety of different configurations. Thus, the following detailed description of the embodiments of the present application, as presented in the figures, is not intended to limit the scope of the claimed application, but is merely representative of selected embodiments of the application. All other embodiments, which can be obtained by a person skilled in the art without making creative efforts based on the embodiments of the present application, belong to the protection scope of the present application.
It should be noted that: like reference numbers and letters refer to like items in the following figures, and thus, once an item is defined in one figure, it need not be further defined and explained in subsequent figures. Meanwhile, in the description of the present application, the terms "first", "second", and the like are used only for distinguishing the description, and are not to be construed as indicating or implying relative importance.
Referring to fig. 1, fig. 1 is a flowchart of a communication security level switching method in some embodiments of the present application, and is applied to an intelligent home appliance in an intelligent home appliance group, where the intelligent home appliance group includes a plurality of intelligent home appliances in the same local area network, and the intelligent home appliance is defaulted to work at a first initial communication security level, where the method includes the following steps:
s1, judging whether the current intelligent household appliance is invaded or not;
s2, if yes, acquiring a communication safety level which needs to be reached by the current intelligent household appliance, and recording as a first target level;
and S3, adjusting the communication security level of the current intelligent household appliance to a first target level.
The communication security level switching method judges whether the current intelligent household appliance is invaded; if yes, acquiring a communication security level which needs to be reached by the current intelligent household appliance, and recording as a first target level; and adjusting the first initial communication security level of the current intelligent household appliance to a first target level. The application of the intelligent household appliance can adjust the current communication safety level according to whether the intelligent household appliance is invaded or not, the intelligent household appliance is prevented from being controlled at will, the use data of the intelligent household appliance is prevented from being leaked, and the safety is improved.
Different communication security levels correspond to different communication encryption methods, the higher the communication security level is, the more complicated the corresponding communication encryption method is, the better the confidentiality is, and correspondingly, the longer the time required for encrypting and decrypting data is.
The first initial communication security level is generally the lowest communication security level, and data transmission only needs simple encryption or does not need encryption. The first target level is higher than the first initial communication security level, and therefore, data needs to be decrypted, which takes a long time.
In the step S1, whether the current intelligent household appliance is invaded or not can be judged by acquiring the control frequency of the current intelligent household appliance, wherein the acquisition mode of the control frequency is the prior art; or a behavior library is preset, and whether the current behavior is an intrusion behavior is judged according to the behavior library, and the establishment mode of the behavior library is also the prior art.
In some embodiments, step S2 comprises:
A1. acquiring the position information of the current intelligent household electrical appliance;
A2. and acquiring a first target grade corresponding to the current intelligent household appliance from a preset first grade form according to the position information.
In the step A1, the position information of the intelligent household appliance may be obtained through a preset classification table, such as a bedroom door and a bedroom; television, living room; certainly, the position information of some intelligent household appliances is not fixed, for example, a sweeping robot, a house model is established through the existing three-dimensional modeling, and then the real-time position information is acquired through a built-in WiFi module. The first level form records first target levels corresponding to different position ranges, and the first target levels can be preset according to actual needs.
In step A2, the first target level is higher than the first initial communication security level.
By the method, the proper communication security level can be adjusted according to the position of the intelligent household appliance, the position is important, the communication security level of the intelligent household appliance which needs to frequently relate to the privacy data of the user is improved, and the privacy data is prevented from being leaked; the ordinary intelligent household electrical appliance which is generally located and does not need to frequently relate to user privacy data keeps the original communication security level or properly increases the communication security level, the influence of overlong data transmission decryption time caused by overhigh communication security level is reduced, the ordinary intelligent household electrical appliance can be normally used as far as possible, the classified encryption of the intelligent household electrical appliance is realized, and the applicability is improved. In practical applications, the intelligent household electrical appliances in the bedroom can be set to be important in position, and the intelligent household electrical appliances in the non-bedroom can be set to be general in position.
In other embodiments, step S2 comprises:
B1. acquiring the use frequency information of the current intelligent household appliance in a first preset time period;
B2. and acquiring a first target grade corresponding to the current intelligent household appliance from a preset second grade form according to the use frequency information.
In the step B1, the first preset time period may be set as required; the frequency of use is equal to the number of uses divided by the first preset time period.
In step B2, in the second-level form, the higher the general use frequency of the intelligent household appliance, the higher the corresponding first target level. The first target grades corresponding to different use frequency ranges are recorded in the second grade form and can be preset according to actual needs.
Through the mode, the appropriate first target grade can be selected according to the use frequency of the intelligent household appliance, so that the daily-used intelligent household appliance is timely adjusted when being invaded, and the data leakage of daily use is prevented.
In other embodiments, step S2 comprises:
C1. acquiring type information of current intelligent household electrical appliance equipment;
C2. and acquiring a first target grade corresponding to the current intelligent household appliance from a preset third grade form according to the type information. The third level form records first target levels corresponding to different types of intelligent household appliances, and the first target levels can be preset according to actual needs.
In step C1, the type information of the intelligent household electrical appliance may be obtained through a preset classification table. The type information includes refrigeration appliances such as air conditioners, refrigerators; audio-visual appliances such as televisions, radios; cosmetic health care appliances, such as treadmills and the like.
By the method, the intelligent household appliances can be conveniently classified, and the first target grade can be conveniently obtained.
In other embodiments, step S2 comprises:
D1. acquiring all control instructions of the current intelligent household appliance;
D2. and acquiring a first target grade corresponding to each control instruction from a preset fourth grade form according to each control instruction.
In step D1, taking the air conditioner as an example, the control instruction includes turning on the display lamp, increasing the temperature, decreasing the temperature, and the like.
In the step D2, the first target levels corresponding to different control instructions are recorded in the fourth level form, and may be preset according to actual needs. Assuming that, in the fourth level table, the communication security level corresponding to the control command for turning on the display lamp is level 2, and the communication security level corresponding to the control command for turning up the temperature and turning down the temperature is level 5, when the air conditioner is invaded, the communication security level corresponding to the control command for turning on the display lamp is adjusted from the first initial communication security level to level 2, and the communication security level corresponding to the control command for turning up the temperature and turning down the temperature is adjusted from the first initial communication security level to level 5.
Through the mode, when the intelligent household appliance is invaded, the communication safety level of the important control instruction can be increased, and an invader is prevented from randomly controlling the important instruction.
In a further embodiment, step S3 is followed by:
s4, performing self-checking on the current intelligent household appliance every other second preset time period to judge whether the current intelligent household appliance is still invaded;
s5, if the current intelligent household appliance is not invaded, the communication security level of the current intelligent household appliance is adjusted downwards according to the first preset level, and the step S4 is repeatedly executed until the communication security level of the current intelligent household appliance is restored to the first initial communication security level;
and S6, if the current intelligent household electrical appliance is still invaded, maintaining the communication security level of the current intelligent household electrical appliance unchanged, and repeatedly executing the step S4.
In step S4, the second preset time period may be set as needed.
In the step S5-the step S6, the first preset grade can be set according to the requirement; assuming that the communication security level of the current intelligent household appliance is level 5 and the first initial communication security level is level 1, setting a first preset level as a level, if the current intelligent household appliance is not invaded, adjusting the communication security level of the current intelligent household appliance according to the first preset level, namely adjusting the level 5 to level 4, and then continuing self-checking until the communication security level is restored to level 1. And if the current intelligent household appliance is still invaded, maintaining the communication security level of the current intelligent household appliance unchanged, and performing self-checking after a second preset time period.
Through this kind of mode, compare once only with communication security level drop to first initial communication security level, adopt the mode that reduces step by step safer, further reduce the risk.
In some preferred embodiments, step S3 is followed by:
taking the current intelligent household appliance as a center, acquiring a communication security level required by other intelligent household appliances in the intelligent household appliance group within a first preset range when the other intelligent household appliances suffer from invasion, and recording the communication security level as a second target level;
and sending a grade adjusting instruction to other intelligent household appliances which are lower than the corresponding second target grade and are in the first preset range, so that the corresponding intelligent household appliances can adjust the communication safety grade of the intelligent household appliances.
The first preset range can be set as required, for example, a circular area formed by using the intelligent household appliance as a center. The second target level may be obtained from a preset level table, for example: air conditioner, under the normal operating condition: grade 1; when an intrusion is suffered: grade 4.
Assuming that the current intelligent household appliance A is taken as a center, other intelligent household appliances in a first preset range are respectively B and C, a second target level corresponding to the intelligent household appliance B is level 6, and the current communication security level of the intelligent household appliance B is level 2; the second target level corresponding to the intelligent household electrical appliance C is level 5, and the communication security level of the current intelligent household electrical appliance C is level 1. When the intelligent household appliance A is invaded, a grade adjusting instruction is sent to the intelligent household appliance B and the intelligent household appliance C, so that the communication safety grade of the intelligent household appliance B is adjusted from grade 2 to grade 6, and the communication safety grade of the intelligent household appliance C is adjusted from grade 1 to grade 5.
By the method, when one of the intelligent household appliances is invaded, other intelligent household appliances in the first preset range can be timely informed to improve the communication safety level, so that the other intelligent household appliances are prevented from being invaded, and the safety is further improved.
It should be noted that, after the communication security level of the intelligent household electrical appliance changes, the user terminal (such as a mobile phone, a tablet computer, etc.) needs to be notified in time, so that the user terminal can adjust the encryption method used when communicating with the intelligent household electrical appliance in time, and the situation that the user terminal cannot communicate with the intelligent household electrical appliance is avoided; thus, the communication security level switching method further comprises the steps of:
after the communication security level of the current intelligent household appliance is changed, notification information is sent to a user terminal; the notification information contains the communication security level of the current intelligent household appliance after being changed.
For example, the notification information may be broadcasted in a bluetooth broadcast manner, and the user terminal scans and identifies the notification information through a bluetooth module and then correspondingly adjusts an encryption method used when communicating with the intelligent household appliance.
According to the communication security level switching method, whether the current intelligent household appliance is invaded or not is judged; if yes, acquiring a communication security level which needs to be achieved by the current intelligent household appliance, and recording as a first target level; and adjusting the first initial communication security level of the current intelligent household appliance to a first target level. The application of the intelligent household appliance can adjust the current communication safety level according to whether the intelligent household appliance is invaded or not, the intelligent household appliance is prevented from being controlled at will, the use data of the intelligent household appliance is prevented from being leaked, and the safety is improved.
Referring to fig. 2, fig. 2 is a communication security level switching apparatus in some embodiments of the present application, which is applied to an intelligent household electrical appliance in an intelligent household electrical appliance group, where the intelligent household electrical appliance group includes a plurality of intelligent household electrical appliances in the same local area network, and the intelligent household electrical appliance is default to operate at a first initial communication security level, and includes the following modules:
the judging module 201: the intelligent household appliance intrusion detection system is used for judging whether the current intelligent household appliance is invaded or not;
the first obtaining module 202: the system comprises a first module, a second module and a third module, wherein the first module is used for acquiring a communication security level required to be reached by the current intelligent household appliance when the current intelligent household appliance is invaded and recording as a first target level;
the adjusting module 203: the intelligent household appliance communication safety level adjusting device is used for adjusting the communication safety level of the current intelligent household appliance to a first target level.
The first initial communication security level is generally the lowest communication security level, and data transmission only needs simple encryption or does not need encryption. The first target level is higher than the first initial communication security level, and data needs to be decrypted, which takes a long time.
The different communication security levels correspond to different communication encryption methods, the higher the communication security level is, the more complex the corresponding communication encryption method is, the better the confidentiality is, and correspondingly, the longer the time required for encrypting and decrypting the data is.
In the determining module 201, whether the current intelligent household appliance is invaded or not can be determined by obtaining the operation frequency of the current intelligent household appliance, and the obtaining mode of the operation frequency is the prior art; or a behavior library is preset, and whether the current behavior is an intrusion behavior is judged according to the behavior library, and the establishment mode of the behavior library is also the prior art.
In some embodiments, the first obtaining module 202, when obtaining the communication security level that the current intelligent home device needs to reach when the current intelligent home device is subjected to the intrusion, and recording the communication security level as a first target level, performs the following steps:
A1. acquiring the position information of the current intelligent household electrical appliance;
A2. and acquiring a first target grade corresponding to the current intelligent household appliance from a preset first grade form according to the position information.
In the step A1, the position information of the intelligent household electrical appliance may be obtained through a preset classification table, such as a bedroom door and a bedroom; television, living room; certainly, the position information of some intelligent household appliances is not fixed, for example, a sweeping robot, a house model is established through the existing three-dimensional modeling, and then the real-time position information is acquired through a built-in WiFi module. The first target grades corresponding to different position ranges are recorded in the first grade form and can be preset according to actual needs.
In step A2, the first target level is higher than the first initial communication security level.
By the method, the proper communication security level can be adjusted according to the position and the type of the intelligent household appliance, the position is important, the communication security level of the intelligent household appliance which needs to frequently relate to the privacy data of the user is improved, and the privacy data is prevented from being leaked; the ordinary intelligent household electrical appliance which is generally located and does not need to frequently relate to user privacy data keeps the original communication security level or properly increases the communication security level, the influence of overlong data transmission decryption time caused by overhigh communication security level is reduced, the ordinary intelligent household electrical appliance can be normally used as far as possible, the classified encryption of the intelligent household electrical appliance is realized, and the applicability is improved. In practical application, the intelligent household electrical appliance in the bedroom can be set to be important in position, and the intelligent household electrical appliance in the non-bedroom can be set to be general in position.
In other embodiments, when the first obtaining module 202 obtains the communication security level that the current intelligent home device needs to achieve when the current intelligent home device is subjected to the intrusion, and records the communication security level as the first target level, the following steps are performed:
B1. acquiring the use frequency information of the current intelligent household appliance in a first preset time period;
B2. and acquiring a first target grade corresponding to the current intelligent household appliance from a preset second grade form according to the use frequency information.
In the step B1, the first preset time period may be set as required; the frequency of use is equal to the number of uses divided by the first preset time period.
In step B2, in the second-level form, the higher the general use frequency of the intelligent household appliance, the higher the corresponding first target level. The first target grades corresponding to different use frequency ranges are recorded in the second grade form and can be preset according to actual needs.
Through this kind of mode, can be according to the frequency of use of intelligent tame electric installation select suitable first target grade to make the intelligent tame electric installation of daily use in time adjust when suffering the invasion, prevent that the data of daily use from revealing.
In other embodiments, when the first obtaining module 202 obtains the communication security level that the current intelligent home device needs to achieve when the current intelligent home device is subjected to the intrusion, and records the communication security level as the first target level, the following steps are performed:
C1. acquiring type information of current intelligent household electrical appliance equipment;
C2. and acquiring a first target grade corresponding to the current intelligent household appliance from a preset third grade form according to the type information. The third level form records first target levels corresponding to different types of intelligent household appliances, and the first target levels can be preset according to actual needs.
In step C1, the type information of the intelligent household appliance may be obtained through a preset classification table. The type information includes refrigeration appliances such as air conditioners, refrigerators; audio-visual appliances such as televisions, radios; cosmetic health care appliances, such as treadmills and the like.
By the method, the intelligent household appliances can be conveniently classified, and the first target grade can be conveniently obtained.
In other embodiments, when the first obtaining module 202 obtains the communication security level that the current intelligent home device needs to achieve when the current intelligent home device is subjected to the intrusion, and records the communication security level as the first target level, the following steps are performed:
D1. acquiring all control instructions of the current intelligent household electrical appliance;
D2. and acquiring a first target grade corresponding to each control instruction from a preset fourth grade form according to each control instruction.
In step D1, taking the air conditioner as an example, the control instruction includes turning on the display lamp, increasing the temperature, decreasing the temperature, and the like.
In the step D2, the first target levels corresponding to different control instructions are recorded in the fourth level form, and may be preset according to actual needs. Assuming that the communication security level corresponding to the control command for turning on the display lamp is level 2 and the communication security levels corresponding to the control commands for turning up the temperature and turning down the temperature are level 5 in the fourth level table, when the air conditioner is invaded, the communication security level corresponding to the control command for turning on the display lamp is adjusted from the first initial communication security level to level 2, and the communication security levels corresponding to the control commands for turning up the temperature and turning down the temperature are adjusted from the first initial communication security level to level 5.
Through the mode, when the intelligent household appliance is invaded, the communication safety level of the important control instruction can be increased, and an invader is prevented from randomly controlling the important instruction.
In a further embodiment, after adjusting the communication security level of the current intelligent home device to the first target level, the adjusting module 203 further performs the following steps:
s4, performing self-checking on the current intelligent household appliance every other second preset time period to judge whether the current intelligent household appliance is still invaded;
s5, if the current intelligent household appliance is not invaded, the communication security level of the current intelligent household appliance is adjusted downwards according to the first preset level, and the step S4 is repeatedly executed until the communication security level of the current intelligent household appliance is restored to the first initial communication security level;
and S6, if the current intelligent household electrical appliance is still invaded, maintaining the communication security level of the current intelligent household electrical appliance unchanged, and repeatedly executing the step S4.
In step S4, the second preset time period may be set as needed.
In the step S5-the step S6, the first preset grade can be set according to the requirement; assuming that the communication security level of the current intelligent household appliance is level 5, the first initial communication security level is level 1, and setting the first preset level as a level, if the current intelligent household appliance is not invaded, adjusting the communication security level of the current intelligent household appliance according to the first preset level, namely adjusting the level 5 to level 4, and then continuing to perform self-checking until the communication security level is restored to level 1. And if the current intelligent household appliance is still invaded, maintaining the communication security level of the current intelligent household appliance unchanged, and performing self-checking after a second preset time period.
Through the mode, compared with the mode that the communication safety level is lowered to the first initial communication safety level at one time, the mode of reducing step by step is safer, and the risk is further reduced.
In some preferred embodiments, the adjusting module 203 further performs the following steps after adjusting the communication security level of the current intelligent home device to the first target level:
taking the current intelligent household appliance as a center, acquiring a communication security level required to be reached by other intelligent household appliances in the intelligent household appliance group within a first preset range when the other intelligent household appliances are invaded, and recording the communication security level as a second target level;
and sending a level adjustment instruction to other intelligent household appliances which are lower than the corresponding second target level and are in the first preset range, so that the corresponding intelligent household appliances adjust the communication security levels of the intelligent household appliances.
The first preset range may be set as needed, for example, a circular area formed by using the smart home appliance as a center. The second target level may be obtained from a preset level table, for example: air conditioner, under the normal operating condition: grade 1; when an intrusion is encountered: grade 4.
Assuming that the current intelligent household appliance A is taken as a center, other intelligent household appliances in a first preset range are respectively B and C, a second target level corresponding to the intelligent household appliance B is level 6, and the current communication security level of the intelligent household appliance B is level 2; the second target level corresponding to the intelligent household electrical appliance C is level 5, and the communication security level of the current intelligent household electrical appliance C is level 1. When the intelligent household appliance A is invaded, a level adjustment instruction is sent to the intelligent household appliance B and the intelligent household appliance C, so that the communication security level of the intelligent household appliance B is adjusted from level 2 to level 6, and the communication security level of the intelligent household appliance C is adjusted from level 1 to level 5.
Through the mode, when one of the intelligent household appliances is invaded, other intelligent household appliances in the first preset range can be timely informed to improve the communication safety level, so that the other intelligent household appliances are prevented from being invaded, and the safety is further improved.
As can be seen from the above, the communication security level switching apparatus of the present application determines, by the determining module 201, whether the current intelligent household appliance is invaded; when the current intelligent household appliance is invaded, the first obtaining module 202 obtains a communication security level which the current intelligent household appliance needs to reach, and records the communication security level as a first target level; the adjusting module 203 adjusts the first initial communication security level of the current intelligent household appliance to a first target level. The intelligent household electrical appliance can adjust the current communication safety level according to whether the intelligent household electrical appliance is invaded or not, the intelligent household electrical appliance is prevented from being controlled at will, the use data of the intelligent household electrical appliance is prevented from being leaked, and the safety is improved.
Referring to fig. 3, fig. 3 is a schematic structural diagram of an electronic device according to an embodiment of the present disclosure, where the electronic device includes: the processor 301 and the memory 302, the processor 301 and the memory 302 being interconnected and communicating with each other via a communication bus 303 and/or other form of connection mechanism (not shown), the memory 302 storing computer readable instructions executable by the processor 301, the processor 301 executing the computer readable instructions when the electronic device is running to perform the method in any of the alternative implementations of the above embodiments when executing to implement the following functions: judging whether the current intelligent household appliance is invaded or not; when the current intelligent household appliance is invaded, acquiring a communication security level which needs to be reached by the current intelligent household appliance, and recording as a first target level; and adjusting the first initial communication security level of the current intelligent household appliance to a first target level.
The embodiment of the present application provides a storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the computer program executes the method in any optional implementation manner of the foregoing embodiment to implement the following functions: judging whether the current intelligent household appliance is invaded or not; when the current intelligent household appliance is invaded, acquiring a communication security level which needs to be reached by the current intelligent household appliance, and recording as a first target level; and adjusting the first initial communication security level of the current intelligent household appliance to a first target level. The storage medium may be implemented by any type of volatile or nonvolatile storage device or combination thereof, such as a Static Random Access Memory (SRAM), an Electrically Erasable Programmable Read-Only Memory (EEPROM), an Erasable Programmable Read-Only Memory (EPROM), a Programmable Read-Only Memory (PROM), a Read-Only Memory (ROM), a magnetic Memory, a flash Memory, a magnetic disk, or an optical disk.
In the embodiments provided in the present application, it should be understood that the disclosed system and method may be implemented in other ways. The above-described system embodiments are merely illustrative, and for example, the division of the units is merely a logical division, and there may be other divisions in actual implementation, and for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection of systems or units through some communication interfaces, and may be in an electrical, mechanical or other form.
In addition, units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the embodiment.
In addition, the functional modules in the embodiments of the present application may be integrated together to form an independent part, or each module may exist alone, or two or more modules may be integrated to form an independent part.
In this document, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions.
The above description is only an embodiment of the present application and is not intended to limit the scope of the present application, and various modifications and changes may be made to the present application by those skilled in the art. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present application shall be included in the protection scope of the present application.

Claims (10)

1. A communication security level switching method is applied to intelligent household appliances in an intelligent household appliance group, the intelligent household appliance group comprises a plurality of intelligent household appliances in the same local area network, the intelligent household appliances work in a first initial communication security level by default, and the method is characterized by comprising the following steps:
s1, judging whether the current intelligent household electrical appliance is invaded or not;
s2, if yes, acquiring a communication safety level which needs to be achieved by the current intelligent household appliance, and recording as a first target level;
and S3, adjusting the communication security level of the current intelligent household appliance to the first target level.
2. The communication security level switching method according to claim 1, wherein step S2 comprises:
A1. acquiring the position information of the current intelligent household electrical appliance;
A2. and acquiring the first target grade corresponding to the current intelligent household appliance from a preset first grade form according to the position information.
3. The communication security level switching method according to claim 1, wherein step S2 comprises:
B1. acquiring the use frequency information of the current intelligent household appliance in a first preset time period;
B2. and acquiring the first target grade corresponding to the current intelligent household appliance from a preset second grade form according to the use frequency information.
4. The communication security level switching method according to claim 1, wherein step S2 comprises:
C1. acquiring type information of current intelligent household electrical appliance equipment;
C2. and acquiring the first target grade corresponding to the current intelligent household appliance from a preset third grade form according to the type information.
5. The communication security level switching method according to claim 1, wherein step S2 comprises:
D1. acquiring all control instructions of the current intelligent household electrical appliance;
D2. and acquiring the first target grade corresponding to each control instruction from a preset fourth grade form according to each control instruction.
6. The communication security level switching method according to claim 1, wherein step S3 is followed by:
s4, performing self-checking on the current intelligent household appliance every other second preset time period to judge whether the current intelligent household appliance is still invaded;
s5, if the current intelligent household appliance is not invaded, the communication security level of the current intelligent household appliance is reduced according to a first preset level, and the step S4 is repeatedly executed until the communication security level of the current intelligent household appliance is recovered to the first initial communication security level;
and S6, if the current intelligent household electrical appliance is still invaded, maintaining the communication security level of the current intelligent household electrical appliance unchanged, and repeatedly executing the step S4.
7. The communication security level switching method according to claim 1, wherein step S3 is followed by:
taking the current intelligent household electrical appliance as a center, acquiring a communication security level required by other intelligent household electrical appliances in the intelligent household electrical appliance group within a first preset range when the other intelligent household electrical appliances are invaded, and recording the communication security level as a second target level;
and sending a level adjustment instruction to the other intelligent household appliances in the first preset range, of which the current communication security level is lower than the corresponding second target level, so that the corresponding intelligent household appliances adjust the communication security levels of the intelligent household appliances.
8. The utility model provides a communication security level auto-change over device, is applied to the intelligent household electrical appliances in the intelligent household electrical appliances group, the intelligent household electrical appliances group includes a plurality of intelligent household electrical appliances that are in under same local area network, the intelligent household electrical appliances defaults to work under first initial communication security level, its characterized in that includes following module:
a judging module: the intelligent household appliance control system is used for judging whether the current intelligent household appliance is invaded or not;
a first obtaining module: the system comprises a first module, a second module and a third module, wherein the first module is used for acquiring a communication security level required to be reached by the current intelligent household appliance when the current intelligent household appliance is invaded and recording as a first target level;
an adjusting module: the intelligent household appliance communication safety level adjusting device is used for adjusting the communication safety level of the current intelligent household appliance to the first target level.
9. An electronic device comprising a processor and a memory, said memory storing computer readable instructions which, when executed by said processor, perform the steps of the communication security level switching method according to any one of claims 1 to 7.
10. A storage medium having a computer program stored thereon, wherein the computer program, when executed by a processor, performs the steps of the communication security level switching method according to any one of claims 1 to 7.
CN202211594262.6A 2022-12-13 2022-12-13 Communication security level switching method and device, electronic equipment and storage medium Pending CN115664850A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211594262.6A CN115664850A (en) 2022-12-13 2022-12-13 Communication security level switching method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211594262.6A CN115664850A (en) 2022-12-13 2022-12-13 Communication security level switching method and device, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN115664850A true CN115664850A (en) 2023-01-31

Family

ID=85019434

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211594262.6A Pending CN115664850A (en) 2022-12-13 2022-12-13 Communication security level switching method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN115664850A (en)

Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102665199A (en) * 2012-04-16 2012-09-12 武汉大学 Safeguarding method for wireless sensor network
CN103886263A (en) * 2014-03-19 2014-06-25 宇龙计算机通信科技(深圳)有限公司 Method and system for protecting data in mobile terminal
CN104916101A (en) * 2015-04-14 2015-09-16 北京网河时代科技有限公司 Bluetooth 4.0 wall switch control system
CN105787312A (en) * 2014-12-26 2016-07-20 阿里巴巴集团控股有限公司 Control method and device of intelligent equipment
CN106341389A (en) * 2016-08-11 2017-01-18 福州瑞芯微电子股份有限公司 Internet-of-Vehicles data transmission method and device
CN106549966A (en) * 2016-10-31 2017-03-29 美的智慧家居科技有限公司 Method, system, home appliance and mobile terminal that communication security grade switches
CN106656984A (en) * 2016-10-31 2017-05-10 美的智慧家居科技有限公司 Safe control method and system of equipment in local area network and apparatus
CN112307441A (en) * 2020-10-13 2021-02-02 洛阳理工学院 Computer software protection system
CN114339737A (en) * 2021-12-23 2022-04-12 咻享智能(深圳)有限公司 Wireless communication instruction encryption method and related equipment
CN114884685A (en) * 2021-02-05 2022-08-09 华为技术有限公司 Security management method of electronic device, electronic device and readable medium thereof
CN114995167A (en) * 2021-03-02 2022-09-02 阿里巴巴新加坡控股有限公司 Control method, device and equipment
CN115168103A (en) * 2022-06-30 2022-10-11 广东浪潮智慧计算技术有限公司 Application copying method, device, equipment and readable storage medium
CN115203731A (en) * 2021-04-12 2022-10-18 华为技术有限公司 Access control method based on security sensitivity, related device and system

Patent Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102665199A (en) * 2012-04-16 2012-09-12 武汉大学 Safeguarding method for wireless sensor network
CN103886263A (en) * 2014-03-19 2014-06-25 宇龙计算机通信科技(深圳)有限公司 Method and system for protecting data in mobile terminal
CN105787312A (en) * 2014-12-26 2016-07-20 阿里巴巴集团控股有限公司 Control method and device of intelligent equipment
CN104916101A (en) * 2015-04-14 2015-09-16 北京网河时代科技有限公司 Bluetooth 4.0 wall switch control system
CN106341389A (en) * 2016-08-11 2017-01-18 福州瑞芯微电子股份有限公司 Internet-of-Vehicles data transmission method and device
CN106656984A (en) * 2016-10-31 2017-05-10 美的智慧家居科技有限公司 Safe control method and system of equipment in local area network and apparatus
CN106549966A (en) * 2016-10-31 2017-03-29 美的智慧家居科技有限公司 Method, system, home appliance and mobile terminal that communication security grade switches
CN112307441A (en) * 2020-10-13 2021-02-02 洛阳理工学院 Computer software protection system
CN114884685A (en) * 2021-02-05 2022-08-09 华为技术有限公司 Security management method of electronic device, electronic device and readable medium thereof
CN114995167A (en) * 2021-03-02 2022-09-02 阿里巴巴新加坡控股有限公司 Control method, device and equipment
CN115203731A (en) * 2021-04-12 2022-10-18 华为技术有限公司 Access control method based on security sensitivity, related device and system
CN114339737A (en) * 2021-12-23 2022-04-12 咻享智能(深圳)有限公司 Wireless communication instruction encryption method and related equipment
CN115168103A (en) * 2022-06-30 2022-10-11 广东浪潮智慧计算技术有限公司 Application copying method, device, equipment and readable storage medium

Similar Documents

Publication Publication Date Title
CN106842968B (en) Control method, device and system
KR101878708B1 (en) Energy management system of smart electric home appliances using security-enhanced residential gateway device
CN103441910A (en) Device in home network and method for executing commands in home network
EP3110147A1 (en) Method and device for processing request
CN105490897A (en) Household appliance control method and device, as well as mobile terminal
US20130035077A1 (en) Electronic device, storage medium and method for remotely controlling household electric appliances
KR101876183B1 (en) Security-enhanced residential gateway device based on internet of things
KR101878710B1 (en) Smart home maintenance system using security-enhanced residential gateway device
CN106453427A (en) Smart home center control server
CN105516108A (en) Home communication control method and system
CN106534189A (en) Bi-directional interactive center control server
CN102932427A (en) Control system based on limited area
EP3764654A1 (en) Device management method and device management system
CN104469318A (en) Method for protecting privacy in family video monitoring system
CN110768842B (en) Intelligent home communication safety management and control method, system and storage medium
CN111123723A (en) Grouping interaction method, electronic device and storage medium
CN104809046A (en) Application program networking control method and application program networking control device
WO2022247373A1 (en) Method and apparatus for controlling home appliance, and appliance
CN109557885A (en) Internet of Things network control system and method
CN106154853A (en) A kind of control method and mobile terminal
CN106899463A (en) Environmental information and equipment exchange method and system in smart home
CN115664850A (en) Communication security level switching method and device, electronic equipment and storage medium
CN108605054B (en) Method and device for realizing value-added service and cloud server
CN110191493A (en) A kind of network automatic switching method and device of mobile terminal device
Desamsetti Internet of Things (IoT) Technology for Use as Part of the Development of Smart Home Systems

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination