CN106453010B - control method and device of intelligent household equipment - Google Patents

control method and device of intelligent household equipment Download PDF

Info

Publication number
CN106453010B
CN106453010B CN201611048705.6A CN201611048705A CN106453010B CN 106453010 B CN106453010 B CN 106453010B CN 201611048705 A CN201611048705 A CN 201611048705A CN 106453010 B CN106453010 B CN 106453010B
Authority
CN
China
Prior art keywords
trust value
user account
instruction
control instruction
regulation
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.)
Active
Application number
CN201611048705.6A
Other languages
Chinese (zh)
Other versions
CN106453010A (en
Inventor
张磊
禹超
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hisense Group Co Ltd
Original Assignee
Hisense Group 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 Hisense Group Co Ltd filed Critical Hisense Group Co Ltd
Priority to CN201611048705.6A priority Critical patent/CN106453010B/en
Publication of CN106453010A publication Critical patent/CN106453010A/en
Application granted granted Critical
Publication of CN106453010B publication Critical patent/CN106453010B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/2803Home automation networks
    • H04L12/2816Controlling appliance services of a home automation network by calling their functionalities
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/418Total factory control, i.e. centrally controlling a plurality of machines, e.g. direct or distributed numerical control [DNC], flexible manufacturing systems [FMS], integrated manufacturing systems [IMS], computer integrated manufacturing [CIM]
    • G05B19/4185Total factory control, i.e. centrally controlling a plurality of machines, e.g. direct or distributed numerical control [DNC], flexible manufacturing systems [FMS], integrated manufacturing systems [IMS], computer integrated manufacturing [CIM] characterised by the network communication
    • G05B19/41855Total factory control, i.e. centrally controlling a plurality of machines, e.g. direct or distributed numerical control [DNC], flexible manufacturing systems [FMS], integrated manufacturing systems [IMS], computer integrated manufacturing [CIM] characterised by the network communication by local area network [LAN], network structure
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/2803Home automation networks
    • H04L12/283Processing of data at an internetworking point of a home automation network
    • H04L12/2834Switching of information between an external network and a home network
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/20Pc systems
    • G05B2219/26Pc applications
    • G05B2219/2642Domotique, domestic, home control, automation, smart house

Landscapes

  • Engineering & Computer Science (AREA)
  • Automation & Control Theory (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • General Engineering & Computer Science (AREA)
  • Manufacturing & Machinery (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computing Systems (AREA)
  • Telephonic Communication Services (AREA)
  • Selective Calling Equipment (AREA)

Abstract

The invention discloses a control method and device of intelligent household equipment, and belongs to the field of intelligent household. The method comprises the following steps: when the received control instruction for the target intelligent household equipment is an illegal instruction, discarding the control instruction and adjusting the trust value of the user account down; and if the control instruction is a legal instruction, controlling the target intelligent household equipment through the control instruction. According to the control method of the intelligent home equipment, provided by the embodiment of the invention, when the control instruction is an illegal instruction, the control instruction is discarded, so that the user account of the target intelligent home equipment to be controlled cannot control the target intelligent home equipment, and a stealer is prevented from illegally controlling the intelligent home equipment by using the user account. Meanwhile, when the control instruction is an illegal instruction, the trust value of the user account of the target intelligent household equipment to be controlled is reduced, that is, the number of the intelligent household equipment which can be controlled by the user account is dynamically reduced, so that the safety of the intelligent household equipment is improved.

Description

Control method and device of intelligent household equipment
Technical Field
the invention relates to the field of intelligent home furnishing, in particular to a control method and device of intelligent home furnishing equipment.
background
with the rapid development of smart homes, more and more smart home devices enter every family, and the smart home devices can be controlled through terminals such as mobile phones, tablet computers and computers. In addition, when the terminal and the intelligent household equipment are in different local area networks, the terminal can control the intelligent household equipment through the remote server; when the terminal and the intelligent home equipment are in the same local area network, the terminal can control the intelligent home equipment through the intelligent home gateway in the local area network.
in the prior art, when a terminal controls an intelligent home device through a remote server or an intelligent home gateway, the remote server or the intelligent home gateway may determine whether a user account currently logged in by the terminal has a control authority of the intelligent home device, and when the user account has the control authority of the intelligent home device, the terminal is allowed to control the intelligent home device. The Control authority of the user account on the smart home device is determined based on a DAC (digital-to-analog converter) mode, that is, an administrator may set the smart home device that can be controlled by the administrator for the user account.
In the process of implementing the invention, the inventor finds that the prior art has at least the following problems:
After the control authority of the user account is determined through the above way, under the condition that the personal information of the user account is stolen, the stealer may use the control authority of the user account to illegally control the smart home device, and the security of the smart home device is seriously affected.
Disclosure of Invention
in order to solve the problems in the prior art, the embodiment of the invention provides a control method and device of intelligent household equipment. The technical scheme is as follows:
In one aspect, a method for controlling smart home devices is provided, where the method includes:
When a control instruction for target intelligent home equipment is received, judging whether a trust value of a user account is greater than or equal to that of the target intelligent home equipment or not, wherein the user account is the user account of the target intelligent home equipment to be controlled;
when the trust value of the user account is greater than or equal to the trust value of the target intelligent home equipment, judging whether the control instruction is an illegal instruction;
If the control instruction is an illegal instruction, discarding the control instruction and adjusting the trust value of the user account down;
And if the control instruction is a legal instruction, controlling the target intelligent household equipment through the control instruction.
Optionally, before determining whether the trust value of the user account is greater than or equal to the trust value of the target smart home device, the method further includes:
Acquiring a trust value of a user account from a stored corresponding relation between the user account and the user trust value;
and acquiring the trust value of the target intelligent household equipment from the stored corresponding relation between the intelligent household equipment identification and the equipment trust value according to the identification of the target intelligent household equipment.
Optionally, the adjusting the trust value of the user account includes:
Subtracting a preset trust value from the trust value of the user account to obtain a trust value after the user account is adjusted downwards; alternatively, the first and second electrodes may be,
Determining a down-regulation trust value, and subtracting the down-regulation trust value from the trust value of the user account to obtain the trust value after the user account is down-regulated, wherein the size of the down-regulation trust value is in a direct proportion relation with the continuous down-regulation times of the trust value of the user account, and the size of the down-regulation trust value is in a direct proportion relation with the size of the trust value of the target intelligent home equipment.
Optionally, the determining whether the control instruction is an illegal instruction includes:
When the control instruction belongs to a first class instruction, determining that the control instruction is an illegal instruction, wherein the first class instruction is a configured illegal instruction; alternatively, the first and second electrodes may be,
when the control instruction belongs to a second type of instruction, an instruction confirmation prompt message is sent to an administrator account, when an instruction abandon message sent by the administrator account is received, the control instruction is determined to be an illegal instruction, and the second type of instruction is obtained by analyzing historical control operation of the target intelligent home equipment.
Optionally, after the adjusting the trust value of the user account, the method further includes:
Judging whether the continuous down-regulation times of the trust value of the user account are larger than or equal to the preset down-regulation times;
If the continuous down-regulation times are larger than or equal to the preset down-regulation times, setting a trust value of the user account to be a first trust value, wherein the first trust value is used for indicating that the user account cannot control all bound intelligent household equipment;
And if the continuous down-regulation times are less than the preset down-regulation times and the trust value of the user account after down-regulation is lower than a second trust value, setting the trust value of the user account as the second trust value, wherein the second trust value is the lowest trust value in the trust values of all the bound intelligent household equipment.
optionally, after the adjusting the trust value of the user account, the method further includes:
when the trust value after the user account is adjusted downwards is lower than a specified trust value, counting the continuous sending times and the continuous sending duration of legal instructions sent by the user account, wherein the specified trust value is N times of the initial trust value of the user account, N is less than 1, and the initial trust value is the trust value set when the user account is bound with the intelligent home equipment for the first time;
and when the continuous sending times are greater than the preset sending times and the continuous sending time is greater than the preset sending time, the trust value of the user account is adjusted upwards.
In another aspect, a control device for smart home devices is provided, the device includes:
The control device comprises a first judgment module and a second judgment module, wherein the first judgment module is used for judging whether a trust value of a user account is greater than or equal to a trust value of a target intelligent home device when a control instruction for the target intelligent home device is received, and the user account is a user account of the target intelligent home device to be controlled;
The second judging module is used for judging whether the control instruction is an illegal instruction or not when the trust value of the user account is greater than or equal to the trust value of the target intelligent household equipment;
the down-regulation module is used for discarding the control instruction and down-regulating the trust value of the user account if the control instruction is an illegal instruction;
And the control module is used for controlling the target intelligent household equipment through the control instruction if the control instruction is a legal instruction.
optionally, the apparatus further comprises:
the first acquisition module is used for acquiring the trust value of the user account from the stored corresponding relation between the user account and the user trust value;
and the second acquisition module is used for acquiring the trust value of the target intelligent household equipment from the corresponding relation between the stored intelligent household equipment identification and the equipment trust value according to the identification of the target intelligent household equipment.
optionally, the down-regulation module is configured to:
Subtracting a preset trust value from the trust value of the user account to obtain a trust value after the user account is adjusted downwards; alternatively, the first and second electrodes may be,
Determining a down-regulation trust value, and subtracting the down-regulation trust value from the trust value of the user account to obtain the trust value after the user account is down-regulated, wherein the size of the down-regulation trust value is in a direct proportion relation with the continuous down-regulation times of the trust value of the user account, and the size of the down-regulation trust value is in a direct proportion relation with the size of the trust value of the target intelligent home equipment.
Optionally, the second determining module includes:
The first determining unit is used for determining the control instruction as an illegal instruction when the control instruction belongs to a first class of instructions, and the first class of instructions are configured illegal instructions; alternatively, the first and second electrodes may be,
And the second determining unit is used for sending an instruction confirmation prompt message to the administrator account when the control instruction belongs to a second type of instruction, and determining that the control instruction is an illegal instruction when an instruction abandon message sent by the administrator account is received, wherein the second type of instruction is obtained by analyzing the historical control operation of the target intelligent home equipment.
optionally, the apparatus further comprises:
The third judgment module is used for judging whether the continuous down-regulation times of the trust value of the user account are more than or equal to the preset down-regulation times;
the first setting module is used for setting the trust value of the user account to be a first trust value if the continuous down-regulation times are larger than or equal to the preset down-regulation times, wherein the first trust value is used for indicating that the user account cannot control all bound intelligent household equipment;
And the second setting module is used for setting the trust value of the user account as a second trust value if the continuous down-regulation times are less than the preset down-regulation times and the trust value after the down-regulation of the user account is less than the second trust value, wherein the second trust value is the lowest trust value in the trust values of all the bound intelligent home devices.
Optionally, the apparatus further comprises:
the counting module is used for counting the continuous sending times and the continuous sending duration of legal instructions sent by the user account when the trust value after the user account is adjusted downwards is lower than a specified trust value, wherein the specified trust value is N times of the initial trust value of the user account, N is smaller than 1, and the initial trust value is the trust value set when the user account is bound with the intelligent home equipment for the first time;
and the up-regulation module is used for up-regulating the trust value of the user account when the continuous sending times are greater than the preset sending times and the continuous sending time length is greater than the preset sending time length.
The technical scheme provided by the embodiment of the invention has the following beneficial effects: according to the control method of the intelligent home equipment provided by the embodiment of the invention, when the control instruction aiming at the target intelligent home equipment is received, whether the trust value of the user account of the target intelligent home equipment to be controlled is larger than or equal to the trust value of the target intelligent home equipment is judged. And if the trust value of the user account is greater than or equal to the trust value of the target intelligent household equipment, judging whether the control instruction is an illegal instruction. When the control instruction is an illegal instruction, discarding the control instruction, so that the user account cannot control the target intelligent home equipment, and avoiding a thief from illegally controlling the intelligent home equipment by using the user account. Meanwhile, when the control instruction is an illegal instruction, the trust value of the user account is adjusted downwards, that is, the number of the intelligent home devices which can be controlled by the user account is dynamically reduced, so that the safety of the intelligent home devices is improved.
drawings
in order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the description of the embodiments will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a schematic diagram of a control system of smart home devices according to an embodiment of the present invention;
Fig. 2 is a flowchart of a control method for smart home devices according to an embodiment of the present invention;
Fig. 3 is a flowchart of another control method for smart home devices according to an embodiment of the present invention;
fig. 4A is a block diagram of a control device of an intelligent home device according to an embodiment of the present invention;
Fig. 4B is a block diagram of another control device of smart home equipment according to an embodiment of the present invention;
FIG. 4C is a block diagram of a second determining module according to the embodiment of the present invention;
Fig. 4D is a block diagram of another control device of smart home equipment according to an embodiment of the present invention;
fig. 4E is a block diagram of another control device for smart home devices according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, embodiments of the present invention will be described in detail with reference to the accompanying drawings.
An embodiment of the present invention provides a control system for smart home devices, and referring to fig. 1, the system includes a plurality of terminals 101, a remote server 102, a smart home gateway 103, and a plurality of smart home devices 104. The plurality of terminals 101 and the remote server 102 may communicate with each other in a wireless or wired manner, the plurality of terminals 101 and the smart home gateway 103 may communicate with each other in a wireless or wired manner, the plurality of smart home devices 104 and the smart home gateway 103 may communicate with each other in a wireless or wired manner, and the smart home gateway 103 and the remote server 102 may communicate with each other in a wireless or wired manner.
The terminal 101 may be a mobile phone, a tablet computer, a computer, and the like, and the smart home device 104 may be a smart television, a smart refrigerator, a smart air conditioner, and the like, which are only examples and do not represent that the terminal 101 and the smart home device 104 in the embodiment of the present invention are limited thereto.
When the terminal 101 and the smart home devices 104 are in different local area networks, the terminal 101 controls the smart home devices 104 through the remote server 102. That is, the terminal 101 sends a control instruction to the remote server 102, the remote server 102 forwards the control instruction to the smart home gateway 103, and the smart home gateway 103 sends the control instruction to the smart home device 104, so that the smart home device executes a corresponding operation.
When the terminal 101 and the smart home devices 104 are in the same local area network, the terminal 101 may control the smart home devices 104 through the remote server 102, or may control the smart home devices 104 through the smart home gateway 103 in the local area network. That is, the terminal 101 may directly send a control instruction to the smart home gateway 103, and after receiving the control instruction, the smart home gateway 103 forwards the control instruction to the smart home device 104, so that the smart home device executes a corresponding operation.
In addition, only one terminal 101 and one smart home device 104 are illustrated in fig. 1 as an example, and in practical application, the system may include a plurality of terminals and a plurality of smart home devices.
The embodiment of the invention provides a control method of intelligent household equipment, which is applied to a remote server and comprises the following steps with reference to fig. 2.
Step 201: when the remote server receives a control instruction for the target intelligent home equipment, whether the trust value of a user account is larger than or equal to the trust value of the target intelligent home equipment or not is judged, and the user account is used for controlling the target intelligent home equipment.
The Control instruction may carry an identifier of the target smart home device and the user account, the identifier of the target smart home device is used to uniquely identify the smart home device, and the identifier of the target smart home device may be an IP (Internet Protocol) address of the target smart home device, or may be an MAC (Media Access Control) address of the target smart home device.
In the embodiment of the invention, the terminal and the intelligent home equipment can be in different local area networks or in the same local area network, so that the control instruction for the target intelligent home equipment received by the remote server can be directly sent to the remote server by the terminal; or the terminal sends the control instruction to the intelligent home gateway, and the intelligent home gateway forwards the control instruction to the remote server. No matter which way the remote server receives the control instruction for the target smart home device, when the remote server receives the control instruction, the remote server needs to first determine whether the trust value of the user account is greater than or equal to the trust value of the target smart home device in order to determine whether the user account has the right to control the target smart home device.
Specifically, when the remote server receives a control instruction sent by the terminal based on the user account, the trust value of the user account is obtained from the stored corresponding relationship between the user account and the user trust value. And meanwhile, according to the identification of the target intelligent household equipment carried by the control instruction, the trust value of the target intelligent household equipment is obtained from the stored corresponding relation between the identification of the intelligent household equipment and the equipment trust value. And then comparing the trust value of the user account with the trust value of the target intelligent household equipment to determine whether the trust value of the user account is greater than or equal to the trust value of the target intelligent household equipment.
and when the trust value of the user account is greater than or equal to the trust value of the target smart home device, executing step 202. When the trust value of the user account is smaller than the trust value of the target smart home device, it indicates that the user account does not have the authority to control the target smart home device, and at this time, the remote server may send a control failure message to the terminal, where the control failure message is used to prompt the terminal that the user account does not have the authority to control the target smart home device.
The user account is an account registered in the remote server in advance by a user who wants to control the target smart home device, and the user can log in the user account registered in the remote server by using a mobile phone, a tablet computer or other terminals according to the user account so as to control the bound smart home device. In addition, the trust value of the user account and the trust value set by the intelligent household equipment are set by an administrator. That is, when detecting a trust value of a user account and a trust value of the smart home device set by an administrator, the administrator account sends the trust values of the user account and the user account, and an identifier of the smart home device and the trust value of the smart home device to the remote server, and when receiving the trust values of the user account and the user account, and the identifier of the smart home device and the trust value of the smart home device, the remote server stores the user account and the trust value of the user account in a corresponding relationship between the user account and the user trust value, and stores the identifier of the smart home device and the trust value of the smart home device in a corresponding relationship between the identifier of the smart home device and the device trust value.
In addition, in the embodiment of the present invention, after the remote server stores the trust value of the user account and the trust value of the smart home device, the remote server may further set the display state of the smart home device for the user account according to the trust value of the user account and the bound trust value of the smart home device. That is, when the trust value of the smart home device is greater than the trust value of the user account, the smart home device will not be displayed in the terminal interface for logging in the user account, so as to prompt that the user account has no authority to control the smart home device.
Step 202: and when the trust value of the user account is greater than or equal to the trust value of the target intelligent household equipment, the remote server judges whether the control instruction is an illegal instruction.
In the embodiment of the present invention, when the trust value of the user account is greater than or equal to the trust value of the target smart home device, that is, the user account has authority to control the target smart home device, if the control instruction is an illegal instruction, when the target smart home device executes an operation corresponding to the illegal instruction, the target smart home device will be damaged. Therefore, in order to further improve the security of the smart home devices, it is necessary to determine whether the control command is an illegal command.
Specifically, the remote server may determine whether the control command is an illegal command through the following two implementation manners.
in a first implementation manner, when the control instruction belongs to a first type of instruction, the control instruction is determined to be an illegal instruction, and the first type of instruction is a configured illegal instruction.
The configured illegal instruction can be an illegal instruction which is pre-stored in the remote server and is applicable to all user accounts, and can also be an illegal instruction which is set in the remote server by an administrator according to the historical use habits of the user accounts on the intelligent household equipment. When the configured illegal command is an illegal command applicable to all user accounts, when the intelligent home equipment executes an operation corresponding to the illegal command, the intelligent home equipment is seriously damaged, and even the safety of the environment around the intelligent home equipment is influenced. The illegal instructions applicable to all the user accounts can include a cooking instruction of the electric cooker in a water-free state, a heating instruction of the water heater in a water-free state and the like. When the configured illegal instruction is an illegal instruction set by an administrator according to the historical use habit of the smart home device bound by the user account, the administrator can determine the illegal instruction aiming at the user account according to the historical use habit of the smart home device bound by the user account. For example, the administrator may determine that the user account controls the "smart window" to perform a "closing" operation every ten pm according to the historical usage habit of the "smart window" bound to the user account, so the administrator may set "open the window ten pm later" as an illegal instruction for the user account.
In a second implementation manner, when the control instruction belongs to a second type of instruction, the remote server sends an instruction confirmation prompt message to the administrator account, and when an instruction abandon message sent by the administrator account is received, the control instruction is determined to be an illegal instruction, and the second type of instruction is obtained by analyzing historical control operation of the target smart home device.
The second type of instruction is obtained by analyzing the historical control operation of the target intelligent household equipment. That is, the remote server counts the historical control operation of the target smart home device, and when the operation corresponding to the control instruction is the historical control operation that is not frequently executed by the target smart home device, it is determined that the control instruction belongs to the second type of instruction. The history control operation which is not frequently executed by the target intelligent home equipment comprises the operation which is not executed by the target intelligent home equipment and the history control operation of which the history control operation frequency is less than the preset operation frequency.
it should be noted that, in the embodiment of the present invention, when the target smart home device executes a corresponding operation according to the control instruction, the smart home gateway sends an operation success prompting message to the remote server, where the operation success prompting message is used to prompt the remote server that the target smart home device executes the corresponding operation according to the control instruction. In this way, the remote server records the operation executed by the target smart home device based on the control instruction each time, that is, the remote server stores the historical control operation of the target smart home device and the times of different historical control operations.
Therefore, the implementation process of the remote server determining that the control instruction belongs to the second type of instruction may be: and when the operation corresponding to the control instruction does not belong to the historical control operation of the target intelligent household equipment, determining that the control instruction is a second type of instruction. Or the operation corresponding to the control instruction belongs to the historical control operation of the target intelligent household equipment, and when the historical control operation frequency of the operation corresponding to the control instruction is smaller than the preset operation frequency, the control instruction is determined to be the second type of instruction.
the preset operation times may be operation times preset by the remote server or operation times preset by an administrator. The preset number of operations may be 1, 2, or 5, etc.
It should be noted that, since the second type of instruction is obtained by analyzing the historical control operation of the target smart home device, when the control instruction belongs to the second type of instruction, it indicates that the operation corresponding to the control instruction does not belong to the historical control operation frequently executed by the target smart home device, but the control instruction is not necessarily an illegal instruction, and therefore, the administrator should determine whether the control instruction is an illegal instruction.
The implementation process of determining whether the control instruction is an illegal instruction by the administrator may be: and when the remote server determines that the control instruction belongs to the second type of instruction, sending an instruction confirmation prompt message to the administrator account. When the administrator account receives the instruction confirmation prompt message, the instruction confirmation prompt message is displayed, and the instruction confirmation message further comprises a abandon option and a receiving option. When the administrator account detects preset operation aiming at the abandon option, the control instruction is determined to be an illegal instruction, an instruction abandon message is sent to the remote server, and when the remote server receives the instruction abandon message, the control instruction is determined to be the illegal instruction. Correspondingly, when the administrator account detects the preset operation aiming at the receiving option, the control instruction is determined to be a legal instruction, an instruction receiving message is sent to the remote server, and when the remote server receives the instruction receiving message, the control instruction is determined to be a legal instruction.
The instruction confirmation prompting message is used for prompting the administrator account to confirm whether the control instruction is an illegal instruction or not. The instruction abandon message is used for prompting the remote server administrator account to confirm that the control instruction is an illegal instruction, and the instruction receiving message is used for prompting the remote server administrator account to confirm that the control instruction is a legal instruction. The preset operation may be a click operation, a slide operation, a voice operation, or the like.
optionally, in the embodiment of the present invention, the remote server may determine whether the control instruction is an illegal instruction according to the control instruction and a current state of the target smart home device, in addition to determining whether the control instruction is an illegal instruction through the above two implementation manners. That is, when the state of the target smart home device after the operation corresponding to the control instruction is executed is the same as the current state of the target smart home device, it is determined that the control instruction is an illegal instruction.
for example, when the control instruction received by the remote server is "turn on the desk lamp", if the desk lamp is currently in the on state, the control instruction is an illegal instruction.
The implementation process of the remote server determining the current state of the target smart home device may be as follows: the remote server sends a state query request to an intelligent home gateway accessed by the target intelligent home device; after receiving the state query request, the intelligent home gateway determines the current state of the target intelligent home device from the state data reported by the target intelligent home device in real time, and sends a feedback message to the remote server, wherein the feedback message carries the current state of the target intelligent home device; and when the remote server receives the feedback message, determining the current state of the target intelligent household equipment.
in the embodiment of the present invention, when the remote server determines that the control command is an illegal command, step 203 is executed, and when the remote server determines that the control command is a legal command, step 206 is executed.
Step 203: and if the control instruction is an illegal instruction, the remote server discards the control instruction and adjusts the trust value of the user account down.
When the control instruction is an illegal instruction, in order to improve the security of the smart home device, the remote server may reduce the control authority of the user account on the smart home device, that is, the trust value of the user account is adjusted downward.
Specifically, the remote server down-regulates the trust value of the user account, which can be implemented in the following two ways.
in the first mode, a preset trust value is subtracted from the trust value of the user account to obtain a trust value after the user account is adjusted downwards. The preset down-regulation trust value can be a fixed trust value set by a remote server or a fixed trust value set by an administrator. The preset down trust value may be a fixed trust value of 1, 5, or 10.
and determining a down-regulation trust value, and subtracting the down-regulation trust value from the trust value of the user account to obtain the trust value after the user account is down-regulated, wherein the size of the down-regulation trust value is in a direct proportion relation with the continuous down-regulation times of the trust value of the user account, and the size of the down-regulation trust value is in a direct proportion relation with the size of the trust value of the target intelligent home equipment.
The method comprises the steps of determining a down-regulation trust value, namely determining the down-regulation trust value through a preset down-regulation formula, wherein in the preset formula, the size of the down-regulation trust value is in a direct proportion relation with the continuous down-regulation times of the trust value of a user account, and the size of the down-regulation trust value is in a direct proportion relation with the size of the trust value of target intelligent household equipment.
for example, the formula (3-1) is a preset down-regulation formula provided in the embodiment of the present invention, and the preset down-regulation trust value may be determined by the formula (3-1):
wherein x is a preset down-regulation trust value, n is an illegal command which is a control command sent by the user account for the nth time continuously, that is, the number of times of continuous down-regulation of the trust value of the user account, and t is the current trust value of the target smart home device.
In the embodiment of the invention, the larger the trust value of the intelligent household equipment is, the more dangerous condition is easy to occur to the intelligent household equipment. Therefore, when an illegal instruction aiming at the smart home device with a large trust value occurs, the remote server should increase the downward adjustment range of the trust value of the user account. When the preset down-regulation trust value is the preset down-regulation trust value determined by the formula (3-1), the preset down-regulation trust value is in a direct proportion relation with the trust value of the target intelligent household equipment. Therefore, the larger the trust value of the target smart home device controlled by the user account is, the larger the amplitude of the remote server in adjusting the trust value of the user account is when the control instruction is an illegal instruction. In the formula (3-1), the preset down-regulation trust value is also in direct proportion to the continuous times n that the control instruction sent by the user account is an illegal instruction, that is, the preset down-regulation trust value is also increased in proportion as the continuous times that the control instruction sent by the user account is an illegal instruction are increased, that is, the down-regulation amplitude of the trust value of the user account by the remote server is also increased in proportion. Therefore, the situation that after the user account is stolen, a stealer continuously performs illegal operation on the intelligent household equipment by using the user account can be avoided.
It should be noted that the down-regulation trust value is determined according to the number of continuous down-regulation times and the trust value of the target smart home device, and may also be determined by other preset down-regulation formulas, and the formula (3-1) is only an example, and does not represent that the preset down-regulation formula of the embodiment of the present invention is limited thereto.
Optionally, in the embodiment of the present invention, since the operation corresponding to the first type of instruction may cause serious damage to the target smart home device, the operation corresponding to the second type of instruction is only an operation that is not frequently executed by the target smart home device. Therefore, when the control instruction is an illegal instruction, the trust value of the user account can be adjusted down to different degrees according to whether the control instruction belongs to the first type instruction or the second type instruction. That is, when the control instruction is a first type of instruction, subtracting a first preset reduced trust value from the trust value of the user account; and when the control instruction is a second type instruction and the remote server receives an instruction abandon message sent by the administrator terminal, subtracting a second preset reduced trust value from the trust value of the user account. The first preset down-regulation trust value is larger than the second preset down-regulation trust value, that is, when the control instruction is the first type of instruction, the down-regulation amplitude of the remote server to the trust value of the user account is larger than the down-regulation amplitude of the trust value of the user account when the control instruction is the second type of instruction.
In addition, when the control instruction belongs to the second type of instruction and the remote server receives the instruction rejection message, the remote server may not down-regulate the trust value of the user account, so as to avoid that the trust value of the user account is down-regulated due to misoperation of a user corresponding to the user account.
optionally, in the embodiment of the present invention, in order to avoid that the control instruction continuously sent by the user account is an illegal instruction, and further improve the security of the smart home device, after the remote server down-regulates the trust value of the user account, it may also be determined whether the number of continuous down-regulation times of the trust value of the user account is greater than or equal to the preset down-regulation times. And according to the judgment result, the following two steps are executed.
(1) and if the continuous down-regulation times are larger than or equal to the preset down-regulation times, setting the trust value of the user account as a first trust value, wherein the first trust value is used for indicating that the user account cannot control all the bound intelligent household devices.
the preset down-regulation times can be times set in a remote server or administrator, and the preset down-regulation times can be 2, 3 or 5. The first trust value may be a trust value set in the remote server or may be a trust value set by an administrator.
it should be noted that, after the trust value of the user account is set as the first trust value, the user account cannot control all the bound smart home devices, and therefore, the first trust value should be lower than the lowest trust value among the trust values of all the smart home devices bound by the user account.
for example, the preset down-regulation times are 2, the first trust value is 0, and when the control instruction is an illegal instruction and the remote server down-regulates the trust value of the user account, the continuous down-regulation times of the trust value of the user account are 3. The continuous down-regulation times 3 are greater than the preset down-regulation times 2, so that the remote server sets the trust value of the user account to be a first trust value, that is, sets the trust value of the user account to be 0. The user account cannot control all the bound smart home devices.
(2) if the continuous down-regulation times are less than the preset down-regulation times, and the trust value of the user account after down-regulation is lower than the lowest trust value of the trust values of all the intelligent household devices, in order to meet the lowest life requirement of the user corresponding to the user account, the remote server may further set the trust value of the user account to be a second trust value, and the second trust value is the lowest trust value of the trust values of all the intelligent household devices that are bound.
for example, the preset number of down-adjustments is 2, the second trust value is 10, and the second trust value is the trust value of the intelligent lighting device. And when the control instruction is an illegal instruction and the remote server down-regulates the trust value of the user account, the continuous down-regulation times of the trust value of the user account is 1. Because the continuous down-regulation times 1 are less than the preset down-regulation times 2, and the trust value of the user account after down-regulation is 8 less than the second trust value 10. Therefore, the remote server sets the trust value of the user account to be the second trust value 10, that is, the user account can only control the intelligent lighting device, and the minimum life requirement of the user corresponding to the user account is met.
In addition, when the remote server determines that the control command is an illegal command, the remote server may send a command illegal prompting message to the terminal, where the command illegal prompting message is used to prompt the terminal that the control command is an illegal command.
Optionally, in the embodiment of the present invention, after the remote server down-regulates the trust value of the user account, the trust value of the user account may also be up-regulated according to a situation that a control instruction sent by the user account after the current time is a legal instruction, so as to improve flexibility of controlling the smart home device by the user account. The remote server may perform the step 204 and the step 205 to up-regulate the trust value of the user account.
Step 204: when the trust value after the user account is adjusted downwards is lower than a specified trust value, the remote server counts the continuous sending times and the continuous sending duration of legal instructions sent by the user account, the specified trust value is N times of the initial trust value of the user account, N is smaller than 1, and the initial trust value is the trust value set when the user account is bound with the intelligent home equipment for the first time.
The continuous sending times are continuous times that the user account continuously sends the control command as a legal command, and the continuous sending time length is continuous time length that the user account continuously sends the control command as a legal command.
for example, the control instructions sent by the user account for one week are all legal instructions, and the number of sending the legal instructions is 50, then the number of consecutive sending times of the legal instructions sent by the user account is 50, and the duration of the consecutive sending is 7 days.
It should be noted that, instead of counting the number of continuous transmissions and the continuous transmission duration of the legal instruction sent by the user account each time the trust value of the user account is adjusted downward, the remote server may count the number of continuous transmissions and the continuous transmission duration of the legal instruction sent by the user account only after the trust value of the user account is adjusted downward and the trust value of the user account is lower than a specified trust value.
For example, the user account has an initial trust value of 100, N is 0.5, and a specified trust value of 50. After the remote server down-regulates the trust value of the user account, if the trust value of the user account is greater than 50, step 204 is not executed, and if the trust value of the user account is less than 50, the remote server counts the continuous sending times and the continuous sending duration of the legal instruction sent by the user account.
Step 205: and when the continuous sending times are greater than the preset sending times and the continuous sending time is greater than the preset sending time, the remote server up-regulates the trust value of the user account.
The preset sending times may be times set by the remote server or times set by an administrator, and the preset sending times may be 10, 20, or 30, and the like. The preset sending time length may be a time length set by the remote server or a time length set by an administrator, and the preset sending time length may be 1 day, 3 days, 5 days, or the like.
for example, the preset number of transmissions is 20, and the preset transmission duration is 5 days. When the control instructions sent by the user account in one continuous week are all legal instructions, and the number of sending the legal instructions is 50. The number of continuous sending times 50 is greater than the preset number of sending times 20, and the continuous sending time is greater than the preset sending time by 7 days and greater than 5 days, so that the remote server can up-regulate the trust value of the user account.
In the embodiment of the invention, the remote server performs the up-regulation on the trust value of the user account, namely, the preset up-regulation trust value is added to the current trust value of the user account.
the preset up-regulation trust value can be a trust value set by a remote server or a trust value set by an administrator. The preset up-regulation trust value may be a fixed trust value such as 1, 5 or 10, or may be a preset up-regulation trust value determined according to a preset up-regulation formula.
for example, the formula (3-2) is a preset up-regulation formula provided in the embodiment of the present invention, and the preset up-regulation trust value may be determined by the formula (3-2):
Wherein y is a preset up-regulation trust value, m is a trust value of the user account which is continuously up-regulated by the remote server for the mth time, p0 is a designated trust value, and p is a current trust value of the user account.
According to the preset up-regulation trust value determined by the formula (3-2), when the number m of continuous up-regulation times of the trust value of the user account up-regulated by the remote server is larger, the number of continuous times and continuous duration of sending legal instructions by the user are also larger, so that the amplitude of up-regulation of the trust value of the user account by the remote server is larger, and the user corresponding to the user account is encouraged to send legal control instructions.
It should be noted that the preset up-regulation trust value may also be determined by other preset up-regulation formulas, and the formula (3-2) is only an example, and does not represent that the preset down-regulation formula of the embodiment of the present invention is limited thereto.
it should be noted that, in the embodiment of the present invention, in order to avoid the situation that a malicious legal instruction is used to raise the trust value of the user account, so as to improve the control authority of the user account on the smart home device, before the remote server performs an up-regulation on the trust value of the user account, it should be determined whether the up-regulated trust value of the user account is greater than a specified trust value. And when the trust value of the user account after being adjusted up is larger than the specified trust value, the trust value of the user account is not adjusted up any more.
step 206: and if the control instruction is a legal instruction, the remote server controls the target intelligent household equipment through the control instruction.
Specifically, when the control instruction is a legal instruction, the remote server forwards the control instruction and the identifier of the target smart home device to the smart home gateway. And after receiving the control instruction and the identification of the target intelligent home equipment, the intelligent home gateway sends the control instruction to the target intelligent home equipment according to the identification of the target intelligent home equipment. And after receiving the control instruction, the target intelligent household equipment executes corresponding operation.
optionally, after the target smart home device executes the corresponding operation according to the control instruction, an operation success prompting message may be sent to the smart home gateway, and when the smart home gateway receives the operation success prompting message, the operation success prompting message may be forwarded to the remote server or directly forwarded to the terminal according to a condition that the current terminal is accessed to the local area network. And after receiving the operation success prompt message, the remote server sends the operation success prompt message to the terminal. The operation success prompting message is used for prompting the terminal that the user account successfully controls the target intelligent home equipment to execute corresponding operation.
In the embodiment of the invention, when the remote server receives the control instruction for the target intelligent household equipment, whether the trust value of the user account of the target intelligent household equipment to be controlled is greater than or equal to the trust value of the target intelligent household equipment is judged. And if the trust value of the user account is greater than or equal to the trust value of the target intelligent household equipment, the remote server judges whether the control instruction is an illegal instruction. When the control instruction is an illegal instruction, the remote server discards the control instruction, so that the user account cannot control the target intelligent home equipment, and a thief is prevented from illegally controlling the intelligent home equipment by using the user account. Meanwhile, when the control instruction is an illegal instruction, the remote server down-regulates the trust value of the user account, namely, the number of the intelligent home devices which can be controlled by the user account is dynamically reduced, so that the safety of the intelligent home devices is improved.
The embodiment of the invention provides another control method of intelligent home equipment, which is applied to an intelligent home gateway and comprises the following steps with reference to fig. 3.
Step 301: when the intelligent home gateway receives a control instruction for the target intelligent home device, whether the trust value of the user account is larger than or equal to the trust value of the target intelligent home device or not is judged, and the user account is used for controlling the target intelligent home device.
In the embodiment of the invention, when the terminal and the intelligent home equipment are in different local area networks, the terminal can send the control instruction for the target intelligent home equipment to the remote server, when the remote server receives the control instruction for the target intelligent home equipment, the remote server directly forwards the control instruction to the intelligent home gateway, and the intelligent home gateway judges whether the user account has the authority to control the target intelligent home equipment. When the terminal and the intelligent home equipment are in the same local area network, the terminal can directly send a control instruction aiming at the target intelligent home equipment to the intelligent home gateway, and the intelligent home gateway judges whether the user account has the authority to control the target intelligent home equipment; of course, the terminal may also send a control instruction to the remote server, and then the remote server directly forwards the control instruction to the smart home gateway, and the smart home gateway determines whether the user account has the right to control the target smart home device. Therefore, in the embodiment of the present invention, whether the terminal and the smart home device are in the same local area network or not, the smart home gateway determines whether the user account has the right to control the target smart home device, that is, whether the trust value of the user account is greater than or equal to the trust value of the target smart home device or not.
The implementation manner of the smart home gateway determining whether the trust value of the user account is greater than or equal to the trust value of the target smart home device is basically the same as the implementation manner in step 201 of the foregoing embodiment, and the embodiment of the present invention is not described in detail herein.
it should be noted that the user trust value and the device trust value are stored in the smart home gateway, and the user trust value and the device trust value stored in the smart home gateway may be set by an administrator or sent to the smart home gateway by the remote server. In particular, the implementation process of sending the user trust value and the device trust value stored in the smart home gateway by the remote server may be: after the remote server stores the trust value of the user account and the trust value of the intelligent home device, the user account bound with the intelligent home device and the trust value of the user account, the identification of the intelligent home device and the trust value of the intelligent home device can be sent to the intelligent home gateway, and the intelligent home gateway is an intelligent home gateway accessed by the intelligent home device. When receiving the user account and the trust value of the user account, and the identifier of the smart home device and the trust value of the smart home device, the smart home gateway may store the user account and the trust value of the user account in the corresponding relationship between the user account and the user trust value, and store the identifier of the smart home device and the trust value of the smart home device in the corresponding relationship between the identifier of the smart home device and the device trust value.
step 302: and when the trust value of the user account is greater than or equal to the trust value of the target intelligent home equipment, the intelligent home gateway judges whether the control instruction is an illegal instruction.
The implementation manner of the smart home gateway determining whether the control instruction is an illegal instruction is basically the same as that in step 202 of the above embodiment, and the embodiment of the present invention is not described in detail herein.
It should be noted that when the smart home gateway determines whether the control instruction is an illegal instruction, the first type of instruction is still a configured illegal instruction, and the configured illegal instruction may be an illegal instruction that is pre-stored in the smart home gateway and is applicable to all user accounts, or an illegal instruction that is set in the smart home gateway by an administrator according to a historical use habit of the user account for the smart home device.
In this embodiment of the present invention, when the smart home gateway determines that the control instruction is an illegal instruction, step 303 is executed, and when the smart home gateway determines that the control instruction is a legal instruction, step 306 is executed.
Step 303: and if the control instruction is an illegal instruction, the intelligent home gateway discards the control instruction and down-regulates the trust value of the user account.
step 303 is substantially the same as step 203 in the above embodiments, and embodiments of the present invention are not described in detail herein.
Optionally, in the embodiment of the present invention, after the smart home gateway down-regulates the trust value of the user account, the trust value of the user account may also be up-regulated according to a situation that a control instruction sent by the user account after the current time is a legal instruction, so as to improve flexibility of controlling the smart home device by the user account. The intelligent home gateway may perform step 304 and step 305 to up-regulate the trust value of the user account.
Step 304: when the trust value after the user account is adjusted downwards is lower than a specified trust value, the intelligent home gateway counts the continuous sending times and the continuous sending duration of legal instructions sent by the user account, the specified trust value is N times of the initial trust value of the user account, N is smaller than 1, and the initial trust value is the trust value set when the user account is bound with the intelligent home device for the first time.
Step 305: and when the continuous sending times are greater than the preset sending times and the continuous sending time is greater than the preset sending time, the intelligent home gateway up-regulates the trust value of the user account.
Step 304 and step 305 are the same as the implementation of step 204 and step 205, respectively, in the above embodiments, and embodiments of the present invention are not described in detail herein.
Step 306: and if the control instruction is a legal instruction, the intelligent home gateway controls the target intelligent home equipment through the control instruction.
Step 306 is substantially the same as step 206 in the above embodiments, and embodiments of the present invention are not described in detail herein.
In the embodiment of the invention, when the intelligent home gateway receives the control instruction for the target intelligent home device, whether the trust value of the user account of the target intelligent home device to be controlled is greater than or equal to the trust value of the target intelligent home device is judged. And if the trust value of the user account is greater than or equal to the trust value of the target intelligent home equipment, the intelligent home gateway judges whether the control instruction is an illegal instruction. When the control instruction is an illegal instruction, the intelligent home gateway discards the control instruction, so that the user account cannot control the target intelligent home device, and a thief is prevented from illegally controlling the intelligent home device by using the user account. Meanwhile, when the control instruction is an illegal instruction, the intelligent home gateway down-regulates the trust value of the user account, namely, the number of intelligent home devices which can be controlled by the user account is dynamically reduced, so that the safety of the intelligent home devices is improved.
An embodiment of the present invention provides a control apparatus 400 for an intelligent home device, and referring to fig. 4A, the apparatus 400 includes a first determining module 401, a second determining module 402, a down-regulating module 403, and a control module 404.
the first judging module 401 is configured to, when receiving a control instruction for a target smart home device, judge whether a trust value of a user account is greater than or equal to a trust value of the target smart home device, where the user account is used to control the target smart home device;
A second determining module 402, configured to determine whether the control instruction is an illegal instruction when the trust value of the user account is greater than or equal to the trust value of the target smart home device;
A down-regulation module 403, configured to discard the control instruction and down-regulate the trust value of the user account if the control instruction is an illegal instruction.
and the control module 404 is configured to, if the control instruction is a legal instruction, control the target smart home device through the control instruction.
optionally, referring to fig. 4B, the apparatus 400 further includes a first obtaining module 405 and a second obtaining module 406.
A first obtaining module 405, configured to obtain a trust value of a user account from a stored correspondence between the user account and the user trust value;
The second obtaining module 406 is configured to obtain, according to the identifier of the target smart home device, a trust value of the target smart home device from a correspondence between the stored identifier of the smart home device and the device trust value.
optionally, the down-regulation module 403 is further configured to:
Subtracting a preset trust value from the trust value of the user account to obtain a trust value after the user account is adjusted downwards; alternatively, the first and second electrodes may be,
Determining a down-regulation trust value, and subtracting the down-regulation trust value from the trust value of the user account to obtain the trust value after the user account is down-regulated, wherein the size of the down-regulation trust value is in a direct proportion relation with the continuous down-regulation times of the trust value of the user account, and the size of the down-regulation trust value is in a direct proportion relation with the size of the trust value of the target intelligent home equipment.
Alternatively, referring to fig. 4C, the second judgment module 402 includes a first determination unit 4021 and a second determination unit 4022.
A first determining unit 4021, configured to determine that the control instruction is an illegal instruction when the control instruction belongs to a first class of instructions, where the first class of instructions is configured illegal instructions; alternatively, the first and second electrodes may be,
The second determining unit 4022 is configured to send an instruction confirmation prompt message to the administrator account when the control instruction belongs to a second type of instruction, and determine that the control instruction is an illegal instruction when an instruction rejection message sent by the administrator account is received, where the second type of instruction is obtained by analyzing a historical control operation of the target smart home device.
Optionally, referring to fig. 4D, the apparatus further includes a third determining module 407, a first setting module 408, and a second setting module 409.
A third determining module 407, configured to determine whether the number of continuous downward adjustments of the trust value of the user account is greater than or equal to a preset number of downward adjustments;
A first setting module 408, configured to set a trust value of the user account to a first trust value if the number of consecutive down-adjustments is greater than or equal to a preset number of down-adjustments, where the first trust value is used to indicate that the user account cannot control all bound smart home devices;
the second setting module 409 is configured to set the trust value of the user account to be a second trust value if the number of continuous down-adjustments is less than the preset number of down-adjustments and the trust value after the down-adjustment of the user account is lower than the second trust value, where the second trust value is the lowest trust value among the trust values of all the bound smart home devices.
optionally, referring to fig. 4E, the apparatus further comprises a statistics module 410 and an upscaling module 411.
the counting module 410 is configured to count the continuous sending times and the continuous sending duration of the legal instruction sent by the user account when the trust value after the user account is down-regulated is lower than a specified trust value, where the specified trust value is N times of an initial trust value of the user account, N is smaller than 1, and the initial trust value is a trust value set when the user account is bound to the smart home device for the first time;
The adjusting module 411 is configured to adjust the trust value of the user account up when the number of continuous transmissions is greater than the preset number of transmissions and the continuous transmission duration is greater than the preset transmission duration.
in the embodiment of the invention, when a control instruction for the target intelligent household equipment is received, whether the trust value of the user account of the target intelligent household equipment to be controlled is greater than or equal to the trust value of the target intelligent household equipment is judged. And if the trust value of the user account is greater than or equal to the trust value of the target intelligent household equipment, judging whether the control instruction is an illegal instruction. When the control instruction is an illegal instruction, discarding the control instruction, so that the user account cannot control the target intelligent home equipment, and avoiding a thief from illegally controlling the intelligent home equipment by using the user account. Meanwhile, when the control instruction is an illegal instruction, the trust value of the user account is adjusted downwards, that is, the number of the intelligent home devices which can be controlled by the user account is dynamically reduced, so that the safety of the intelligent home devices is improved.
It should be noted that: when the control device of the smart home device provided in the above embodiment controls the smart home device, only the division of the functional modules is illustrated, in practical applications, the function distribution may be completed by different functional modules according to needs, that is, the internal structure of the device is divided into different functional modules, so as to complete all or part of the functions described above. In addition, the control device of the smart home device provided in the above embodiment and the control method embodiment of the smart home device belong to the same concept, and specific implementation processes thereof are described in detail in the method embodiment and are not described herein again.
It will be understood by those skilled in the art that all or part of the steps for implementing the above embodiments may be implemented by hardware, or may be implemented by a program instructing relevant hardware, where the program may be stored in a computer-readable storage medium, and the above-mentioned storage medium may be a read-only memory, a magnetic disk or an optical disk, etc.
The above description is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the invention, and any modifications, equivalents, improvements and the like that fall within the spirit and principle of the present invention are intended to be included therein.

Claims (10)

1. A control method of intelligent household equipment is characterized by comprising the following steps:
when a control instruction for target intelligent home equipment is received, judging whether a trust value of a user account is greater than or equal to that of the target intelligent home equipment or not, wherein the user account is used for controlling the target intelligent home equipment, the trust value of the target intelligent home equipment is set by an administrator and is used for indicating the difficulty of dangerous conditions of the target intelligent home equipment, and the trust value of the user account is obtained by updating an initial trust value set by the administrator according to illegal operations initiated by a user corresponding to the user account before the current time;
When the trust value of the user account is greater than or equal to the trust value of the target intelligent home equipment, judging whether the control instruction is an illegal instruction;
if the control instruction is an illegal instruction, discarding the control instruction and adjusting the trust value of the user account down;
and if the control instruction is a legal instruction, controlling the target intelligent household equipment through the control instruction.
2. the method of claim 1, wherein before determining whether the trust value of the user account is greater than or equal to the trust value of the target smart home device, the method further comprises:
Acquiring a trust value of a user account from a stored corresponding relation between the user account and the user trust value;
and acquiring the trust value of the target intelligent household equipment from the stored corresponding relation between the intelligent household equipment identification and the equipment trust value according to the identification of the target intelligent household equipment.
3. The method of claim 1, wherein the adjusting the trust value of the user account comprises:
Subtracting a preset trust value from the trust value of the user account to obtain a trust value after the user account is adjusted downwards; alternatively, the first and second electrodes may be,
Determining a down-regulation trust value, and subtracting the down-regulation trust value from the trust value of the user account to obtain the trust value after the user account is down-regulated, wherein the size of the down-regulation trust value is in a direct proportion relation with the continuous down-regulation times of the trust value of the user account, and the size of the down-regulation trust value is in a direct proportion relation with the size of the trust value of the target intelligent home equipment.
4. The method of claim 1, wherein said determining whether the control instruction is an illegal instruction comprises:
when the control instruction belongs to a first class instruction, determining that the control instruction is an illegal instruction, wherein the first class instruction is a configured illegal instruction; alternatively, the first and second electrodes may be,
When the control instruction belongs to a second type of instruction, an instruction confirmation prompt message is sent to an administrator account, when an instruction abandon message sent by the administrator account is received, the control instruction is determined to be an illegal instruction, and the second type of instruction is obtained by analyzing historical control operation of the target intelligent home equipment.
5. the method of claim 1, wherein after the adjusting the trust value of the user account, further comprising:
judging whether the continuous down-regulation times of the trust value of the user account are larger than or equal to the preset down-regulation times;
If the continuous down-regulation times are larger than or equal to the preset down-regulation times, setting a trust value of the user account to be a first trust value, wherein the first trust value is used for indicating that the user account cannot control all bound intelligent household equipment;
and if the continuous down-regulation times are less than the preset down-regulation times and the trust value of the user account after down-regulation is lower than a second trust value, setting the trust value of the user account as the second trust value, wherein the second trust value is the lowest trust value in the trust values of all the bound intelligent household equipment.
6. The method of claim 1, wherein after the adjusting the trust value of the user account, further comprising:
when the trust value after the user account is adjusted downwards is lower than a specified trust value, counting the continuous sending times and the continuous sending duration of legal instructions sent by the user account, wherein the specified trust value is N times of the initial trust value of the user account, N is less than 1, and the initial trust value is the trust value set when the user account is bound with the intelligent home equipment for the first time;
And when the continuous sending times are greater than the preset sending times and the continuous sending time is greater than the preset sending time, the trust value of the user account is adjusted upwards.
7. the utility model provides a controlling means of intelligent household equipment which characterized in that, the device includes:
The system comprises a first judgment module, a first processing module and a second judgment module, wherein the first judgment module is used for judging whether a trust value of a user account is greater than or equal to a trust value of a target intelligent home device when a control instruction for the target intelligent home device is received, the user account is used for controlling the target intelligent home device, the trust value of the target intelligent home device is set by an administrator and is used for indicating the difficulty of the target intelligent home device in a dangerous condition, and the trust value of the user account is obtained by updating an initial trust value set by the administrator according to an illegal operation initiated by a user corresponding to the user account before the current time;
the second judging module is used for judging whether the control instruction is an illegal instruction or not when the trust value of the user account is greater than or equal to the trust value of the target intelligent household equipment;
The down-regulation module is used for discarding the control instruction and down-regulating the trust value of the user account if the control instruction is an illegal instruction;
And the control module is used for controlling the target intelligent household equipment through the control instruction if the control instruction is a legal instruction.
8. The apparatus of claim 7, wherein the apparatus further comprises:
The first acquisition module is used for acquiring the trust value of the user account from the stored corresponding relation between the user account and the user trust value;
And the second acquisition module is used for acquiring the trust value of the target intelligent household equipment from the corresponding relation between the stored intelligent household equipment identification and the equipment trust value according to the identification of the target intelligent household equipment.
9. The apparatus of claim 7, wherein the downregulating module is to:
Subtracting a preset trust value from the trust value of the user account to obtain a trust value after the user account is adjusted downwards; alternatively, the first and second electrodes may be,
Determining a down-regulation trust value, and subtracting the down-regulation trust value from the trust value of the user account to obtain the trust value after the user account is down-regulated, wherein the size of the down-regulation trust value is in a direct proportion relation with the continuous down-regulation times of the trust value of the user account, and the size of the down-regulation trust value is in a direct proportion relation with the size of the trust value of the target intelligent home equipment.
10. The apparatus of claim 7, wherein the second determination module comprises:
the first determining unit is used for determining the control instruction as an illegal instruction when the control instruction belongs to a first class of instructions, and the first class of instructions are configured illegal instructions; alternatively, the first and second electrodes may be,
And the second determining unit is used for sending an instruction confirmation prompt message to the administrator account when the control instruction belongs to a second type of instruction, and determining that the control instruction is an illegal instruction when an instruction abandon message sent by the administrator account is received, wherein the second type of instruction is obtained by analyzing the historical control operation of the target intelligent home equipment.
CN201611048705.6A 2016-11-23 2016-11-23 control method and device of intelligent household equipment Active CN106453010B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611048705.6A CN106453010B (en) 2016-11-23 2016-11-23 control method and device of intelligent household equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611048705.6A CN106453010B (en) 2016-11-23 2016-11-23 control method and device of intelligent household equipment

Publications (2)

Publication Number Publication Date
CN106453010A CN106453010A (en) 2017-02-22
CN106453010B true CN106453010B (en) 2019-12-06

Family

ID=58219467

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611048705.6A Active CN106453010B (en) 2016-11-23 2016-11-23 control method and device of intelligent household equipment

Country Status (1)

Country Link
CN (1) CN106453010B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106845258A (en) * 2017-02-28 2017-06-13 美的智慧家居科技有限公司 The safety protecting method and intelligent appliance of intelligent appliance
CN106842973A (en) * 2017-03-16 2017-06-13 北京立思辰新技术有限公司 A kind of safety monitoring method of intelligent household control terminal
CN111988895B (en) * 2019-05-21 2023-05-26 广东小天才科技有限公司 Illumination angle adjusting method and device, intelligent table lamp and storage medium
CN111025918B (en) * 2019-10-18 2021-04-20 珠海格力电器股份有限公司 Information screening method and device, electronic equipment and readable storage medium
CN112511549B (en) * 2020-12-03 2023-03-31 珠海格力电器股份有限公司 Data transmission method, device, equipment and computer readable storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102624742A (en) * 2012-04-01 2012-08-01 许继集团有限公司 Method for enhancing security of communication between mobile equipment and home intelligent terminal
CN102710625A (en) * 2012-05-24 2012-10-03 中兴通讯股份有限公司 Method for controlling external terminal to access electric appliance and home gateway
CN105282159A (en) * 2015-10-30 2016-01-27 青岛海尔智能家电科技有限公司 User identity verification method, device and intelligent terminal

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6194667B2 (en) * 2013-07-22 2017-09-13 株式会社リコー Information processing system, information processing method, program, and recording medium
US9384486B2 (en) * 2014-07-15 2016-07-05 Verizon Patent And Licensing Inc. Secure financial payment

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102624742A (en) * 2012-04-01 2012-08-01 许继集团有限公司 Method for enhancing security of communication between mobile equipment and home intelligent terminal
CN102710625A (en) * 2012-05-24 2012-10-03 中兴通讯股份有限公司 Method for controlling external terminal to access electric appliance and home gateway
CN105282159A (en) * 2015-10-30 2016-01-27 青岛海尔智能家电科技有限公司 User identity verification method, device and intelligent terminal

Also Published As

Publication number Publication date
CN106453010A (en) 2017-02-22

Similar Documents

Publication Publication Date Title
CN106453010B (en) control method and device of intelligent household equipment
US20210051164A1 (en) Methods, systems, and media for detecting new malicious activity from iot devices
US11095406B2 (en) Methods, systems, and media for managing network connections
CN110519306B (en) Equipment access control method and device of Internet of things
US9763094B2 (en) Methods, devices and systems for dynamic network access administration
CN106452989B (en) method and device for establishing intelligent scene
CN104062921A (en) Household appliance intelligent control method
CN110557448A (en) Control method and system for smart home
US11822299B2 (en) Building management control
CN104079543A (en) Method, device and system for obtaining intelligent home system monitoring permissions
CN103945410A (en) Terminal device and flow control method thereof
CN105116744A (en) Intelligent household electrical appliance control method and home gateway
CN104991539A (en) Smart home automated system
CN112804697B (en) Network distribution method and device for equipment to be networked, electronic equipment and computer readable medium
EP3547606A1 (en) Permission management method, related device, and system
CN103916475A (en) Network remote control method
CN105824242A (en) Intelligent household safety protection system and method
CN110824948A (en) Intelligent household control method and device based on IOT virtual service
CN103576569A (en) Automatic adjusting method, equipment and system
CN111487884A (en) Storage medium, and intelligent household scene generation device and method
CN102932423A (en) Method for controlling limited area and equipment
CN107120696B (en) Integrated cooker working state adjusting method and device, integrated cooker and storage medium
US20200092729A1 (en) Method for controlling a radio signal emitted by a gateway, and corresponding gateway and computer program
CN106656995B (en) Equipment control method and device
CN111047810A (en) Security method, security system, electronic equipment, storage medium and intelligent controller

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant