CN110703621A - Household appliance control method, household appliance control device, server and computer readable storage medium - Google Patents
Household appliance control method, household appliance control device, server and computer readable storage medium Download PDFInfo
- Publication number
- CN110703621A CN110703621A CN201911054879.7A CN201911054879A CN110703621A CN 110703621 A CN110703621 A CN 110703621A CN 201911054879 A CN201911054879 A CN 201911054879A CN 110703621 A CN110703621 A CN 110703621A
- Authority
- CN
- China
- Prior art keywords
- user
- household appliance
- control
- control authority
- temporary
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 38
- 238000012790 confirmation Methods 0.000 claims description 42
- 238000004891 communication Methods 0.000 claims description 13
- 238000012545 processing Methods 0.000 claims description 12
- 238000004590 computer program Methods 0.000 claims description 10
- 238000010586 diagram Methods 0.000 description 6
- 238000013473 artificial intelligence Methods 0.000 description 1
- 230000005540 biological transmission Effects 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 230000006870 function Effects 0.000 description 1
- 230000003993 interaction Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000008569 process Effects 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B15/00—Systems controlled by a computer
- G05B15/02—Systems controlled by a computer electric
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B19/00—Programme-control systems
- G05B19/02—Programme-control systems electric
- G05B19/418—Total 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] or computer integrated manufacturing [CIM]
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B2219/00—Program-control systems
- G05B2219/20—Pc systems
- G05B2219/26—Pc applications
- G05B2219/2642—Domotique, domestic, home control, automation, smart house
Landscapes
- Engineering & Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Automation & Control Theory (AREA)
- Manufacturing & Machinery (AREA)
- Quality & Reliability (AREA)
- Selective Calling Equipment (AREA)
- Telephonic Communication Services (AREA)
Abstract
The invention provides a method and a device for controlling household appliances, a server and a computer readable storage medium, and relates to the field of household appliance control. The control authority of the household appliance can be locked by only one user at the same time, when a server receives an appliance control instruction sent by a target user through a terminal device, whether the control authority of the household appliance is locked by a temporary user or not is judged, the temporary user and the target user are different users, if the control authority of the household appliance is locked by the temporary user, whether the locking of the temporary user on the control authority of the household appliance is released or not is determined according to the identity information of the target user, and after the locking of the temporary user on the control authority of the household appliance is released, the household appliance is controlled according to the appliance control instruction. Therefore, after the control authority of the household appliance is locked, other users can control the household appliance only by unlocking, so that the condition that too many users have the control authority of the household appliance is avoided, and the safety of the household appliance is ensured.
Description
Technical Field
The invention relates to the field of household appliance control, in particular to a household appliance control method, a household appliance control device, a server and a computer readable storage medium.
Background
Along with the development of the internet, the internet of things and the artificial intelligence technology, the intelligent home devices are increasingly popularized, and most of the intelligent home devices are in wireless connection through mobile phones or other mobile terminal devices, so that the remote control of household appliances is realized. In actual use, a user often shares household appliances with family or friends through a sharing device or a family group creating mode, and even the user can share 3 times, so that too many users have control authority over the household appliances, and the safety of the household appliances is affected.
Disclosure of Invention
The invention solves the problem that the safety of the household appliance is difficult to ensure due to excessive users with the control authority of the household appliance.
In order to solve the problems, the technical scheme adopted by the invention is as follows:
in a first aspect, an embodiment of the present invention provides a method for controlling a home appliance, which is applied to a server, where the server is in communication connection with both a terminal device and the home appliance, and a control right of the home appliance can be locked by only one user at a time, and the method includes:
when receiving a device control instruction sent by a target user through the terminal device, judging whether the control authority of the household appliance device is locked by a temporary user; wherein the temporary user and the target user are different users;
if the control authority of the household appliance is locked by the temporary user, determining whether to unlock the control authority of the household appliance by the temporary user according to the identity information of the target user;
and after the control authority of the household appliance is unlocked by the temporary user, controlling the household appliance according to the appliance control instruction.
In the invention, the control authority of the household appliance can be locked by only one user at the same time by setting, so that once the control authority of the household appliance is locked by the temporary user, other users can not directly control the household appliance, and therefore, after the server receives the device control instruction sent by the target user, whether the locking of the temporary user on the control authority of the household appliance is released or not needs to be determined according to the identity information of the target user, and the household appliance can be controlled according to the device control instruction only after the locking of the temporary user on the control authority of the household appliance is released, so that the condition that excessive users have the control authority of the household appliance is effectively avoided, and the safety of the household appliance is ensured.
In an optional embodiment, the step of determining whether to unlock the control right of the household appliance from the temporary user according to the identity information of the target user includes:
when the identity information of the target user represents that the target user is a bound user of the household appliance, first prompt information is pushed to the terminal device to prompt whether the target user unlocks the control authority of the household appliance by the temporary user or not;
if first confirmation information returned by the terminal equipment based on the first prompt information is received, the control authority of the household appliance equipment is unlocked by the temporary user; and the first confirmation information represents that the target user confirms to unlock the control authority of the household appliance by the temporary user.
In the invention, when the target user is the bound user of the household appliance, if the target user confirms that the control authority of the household appliance needs to be unlocked by the temporary user, the server can directly unlock the control authority of the household appliance by the temporary user, thereby ensuring the highest authority of the bound user of the household appliance.
In an optional embodiment, after the step of releasing the lock of the control authority of the household appliance by the temporary user, the method further includes:
and pushing unlocking notification information to the temporary user to inform the temporary user that the control authority of the household appliance is unlocked by the bound user.
In an optional embodiment, the step of determining whether to unlock the control right of the household appliance from the temporary user according to the identity information of the target user includes:
when the identity information of the target user represents that the target user is not a bound user of the household appliance equipment, pushing second prompt information to the terminal equipment to prompt whether the target user sends a lock release request to the temporary user or not;
if second confirmation information returned by the terminal equipment based on the second prompt information is received, the unlocking request is sent to the temporary user; wherein the second confirmation information represents that the target user confirms sending the unlocking request to the temporary user;
if third confirmation information returned by the temporary user based on the locking releasing request is received, releasing the locking of the control authority of the household appliance by the temporary user; and the third confirmation information represents that the temporary user confirms to unlock the control authority of the household appliance equipment by the temporary user.
In the invention, when the target user is not the bound user of the household appliance, if the target user wants to unlock the control authority of the household appliance by the temporary user, a lock unlocking request needs to be sent to the temporary user through the server, and the server can unlock the control authority of the household appliance by the temporary user only when the temporary user agrees to unlock the control authority of the household appliance.
In an alternative embodiment, the method further comprises:
and if the control authority of the household appliance is not locked by any user or the control authority of the household appliance is locked by the target user, controlling the household appliance according to the appliance control instruction.
In the invention, when the control authority of the household appliance is not locked by any user, all users can control the household appliance, so the server can control the household appliance according to the equipment control instruction sent by the target user; when the control authority of the household appliance is locked by the target user, the control authority of the household appliance is only shown to be owned by the target user at present, so that the server can control the household appliance according to the device control instruction sent by the target user.
In a second aspect, an embodiment of the present invention provides a device for controlling a home appliance, which is applied to a server, where the server is in communication connection with both a terminal device and the home appliance, and a control right of the home appliance can be locked by only one user at a time, and the device includes:
the judging module is used for judging whether the control authority of the household appliance equipment is locked by the temporary user or not when receiving an equipment control instruction sent by a target user through the terminal equipment; wherein the temporary user and the target user are different users;
the processing module is used for determining whether to unlock the control authority of the household appliance equipment by the temporary user according to the identity information of the target user if the control authority of the household appliance equipment is locked by the temporary user;
and the control module is used for controlling the household appliance according to the appliance control instruction after the control authority of the household appliance is unlocked by the temporary user.
In an alternative embodiment, the processing module comprises:
the information pushing module is used for pushing first prompt information to the terminal equipment to prompt whether the target user unlocks the control authority of the household appliance equipment or not when the identity information of the target user represents that the target user is a bound user of the household appliance equipment;
the locking releasing module is used for releasing the locking of the control authority of the household appliance by the temporary user if first confirmation information returned by the terminal equipment based on the first prompt information is received; and the first confirmation information represents that the target user confirms to unlock the control authority of the household appliance by the temporary user.
In an optional embodiment, the information pushing module is further configured to push a lock release notification information to the temporary user after the lock release module releases the lock of the control authority of the household appliance by the temporary user, so as to notify the temporary user that the control authority of the household appliance is released by the bound user.
In an alternative embodiment, the processing module comprises:
the information pushing module is used for pushing second prompt information to the terminal equipment to prompt whether the target user sends a lock release request to the temporary user or not when the identity information of the target user indicates that the target user is not the binding user of the household appliance equipment; if second confirmation information returned by the terminal equipment based on the second prompt information is received, the unlocking request is sent to the temporary user; wherein the second confirmation information represents that the target user confirms sending the unlocking request to the temporary user;
the locking releasing module is used for releasing the locking of the control authority of the household appliance by the temporary user if third confirmation information returned by the temporary user based on the locking releasing request is received; and the third confirmation information represents that the temporary user confirms to unlock the control authority of the household appliance equipment by the temporary user.
In an optional implementation manner, the control module is further configured to control the home appliance device according to the device control instruction if the control authority of the home appliance device is not locked by any user or the control authority of the home appliance device is locked by the target user.
In a third aspect, an embodiment of the present invention provides a server, including a memory storing a computer program and a processor, where the computer program is read by the processor and executed to implement the method according to any one of the foregoing embodiments.
In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is read and executed by a processor, the computer program implements the method according to any one of the foregoing embodiments.
Drawings
Fig. 1 is a schematic diagram of an application environment of a method and an apparatus for controlling a home appliance according to the present embodiment;
fig. 2 is a block diagram of a server according to the present embodiment;
fig. 3 is a schematic flow chart of a method for controlling a home appliance according to this embodiment;
fig. 4 is another schematic flow chart of a home appliance control method according to this embodiment;
fig. 5 is a schematic flowchart of another method for controlling a home appliance according to this embodiment;
fig. 6 is a schematic flowchart of another method for controlling a home appliance according to this embodiment;
fig. 7 is a schematic diagram of a functional module of the home appliance control device provided in this embodiment;
fig. 8 is a schematic diagram of another functional module of the home appliance control device provided in this embodiment.
Description of reference numerals:
100-a server; 200-a home appliance; 300-a terminal device; 400-home appliance control means; 110-a memory; 120-a processor; 130-a communication module; 410-a judgment module; 420-a processing module; 430-a control module; 421-an information pushing module; 422-unlocking module.
Detailed Description
In order to make the aforementioned objects, features and advantages of the present invention comprehensible, embodiments accompanied with figures are described in detail below.
Fig. 1 is a schematic view of an application environment of the method and apparatus for controlling a home appliance according to the present embodiment. Server 100 is in communication connection with both home device 200 and a plurality of terminal devices 300, each terminal device 300 may be installed with an Application (App), and a user may interact with server 100 through the App and control home device 200 through server 100.
In this embodiment, when a user completes the binding with the home device 200 in the process of the network distribution of the home device 200, the user may be called a binding user of the home device 200, or may be called a host of the home device 200, and the binding user of the home device 200 may share the bound home device 200 with other users by sharing devices or creating a home group. When the control authority of the home appliance 200 is not locked, the bound user and all shared users can control the home appliance 200 through their respective terminal devices 300, and when the control authority of the home appliance 200 is locked by one user, other users cannot control the home appliance 200, and the home appliance 200 can be controlled only by releasing the locking of the control authority of the home appliance 200. Therefore, the control authority of the home device 200 can be locked by only one user at a time, thereby ensuring the security of the home device 200.
In this embodiment, the server 100 may be, but is not limited to, a web server, a database server, a cloud server, etc.; the household appliance 200 may be an intelligent household appliance such as an air conditioner; the terminal device 300 may be, but is not limited to, a smart phone, a Personal Computer (PC), a tablet PC, a Personal Digital Assistant (PDA), a Mobile Internet Device (MID), and the like.
Fig. 2 is a block diagram of the server 100 in fig. 1. The server 100 may include a memory 110, a processor 120, and a communication module 130, wherein the elements of the memory 110, the processor 120, and the communication module 130 are electrically connected to each other directly or indirectly to realize data transmission or interaction. For example, the components may be electrically connected to each other via one or more communication buses or signal lines.
The memory 110 is used for storing programs or data, such as program instructions/modules corresponding to the method and apparatus for controlling a home appliance provided in this embodiment. The Memory 110 may be, but is not limited to, a Random Access Memory (RAM), a Read Only Memory (ROM), a Programmable Read-Only Memory (PROM), an Erasable Read-Only Memory (EPROM), an electrically Erasable Read-Only Memory (EEPROM), and the like.
The processor 120 is used to read/write data or programs stored in the memory 110 and perform corresponding functions.
The communication module 130 is used for establishing a communication connection between the server 100 and other communication terminals (e.g., the home appliance device 200 and the terminal device 300 shown in fig. 1) and for transceiving data.
It will be appreciated that the configuration shown in fig. 2 is merely illustrative and that server 100 may include more or fewer components than shown in fig. 2 or have a different configuration than shown in fig. 2. The components shown in fig. 2 may be implemented in hardware, software, or a combination thereof.
The present embodiment also provides a computer-readable storage medium, on which a computer program is stored, and the computer program is executed by the processor 120 to implement the home appliance control method disclosed in the present embodiment.
Fig. 3 is a schematic flow chart of the method for controlling a home appliance according to the present embodiment. It should be noted that the method for controlling a home appliance according to the present embodiment is not limited to fig. 3 and the following specific procedure. It should be understood that, in other embodiments, the order of some steps in the household appliance control method of this embodiment may be interchanged according to actual needs, or some steps may be omitted or deleted. The home appliance control method can be applied to the server 100. The specific flow shown in fig. 3 will be described in detail below.
Step S101, when receiving a device control instruction sent by a target user through a terminal device, judging whether the control authority of the household appliance device is locked by a temporary user; wherein the temporary user and the target user are different users.
The target user is a user who wants to control the home appliance 200 at present, and the temporary user is a user who locks the control authority of the home appliance 200 at present. When the control authority of the electric home appliance 200 has been locked by other users (i.e. temporary users) than the target user, steps S102 to S103 are executed; when the control authority of the electric home appliance 200 is not locked by any user or the control authority of the electric home appliance 200 has been locked by the target user itself, step S104 is performed.
And step S102, if the control authority of the household appliance is locked by the temporary user, determining whether to unlock the control authority of the household appliance by the temporary user according to the identity information of the target user.
In this embodiment, since the control right of the home appliance 200 can be locked by only one user at a time, when the control right of the home appliance 200 is already locked by the temporary user, it indicates that the target user does not have the control right of the home appliance 200 currently, and it is necessary to determine whether to unlock the control right of the home appliance 200 by the temporary user according to the identity information of the target user. The identity information of the target user may be an account of an application program of the terminal device 300 logged by the target user.
And step S103, after the control authority of the household appliance is unlocked by the temporary user, controlling the household appliance according to the appliance control command.
In this embodiment, after the temporary user releases the lock on the control authority of the home appliance 200, the temporary user does not monopolize the control authority of the home appliance 200, and the server 100 may control the home appliance 200 according to the device control command sent by the target user. Taking the air conditioner as an example, after the control authority of the air conditioner is unlocked, the target user can normally control the air conditioner, such as starting up, shutting down, switching modes and the like.
And step S104, if the control authority of the household appliance is not locked by any user or the control authority of the household appliance is locked by a target user, controlling the household appliance according to the appliance control instruction.
That is, when the control authority of the home device 200 is not locked by any user, all users can control the home device 200, and when the control authority of the home device 200 is locked by the target user, it indicates that only the target user currently has the control authority of the home device 200, in both cases, the server 100 can directly control the home device 200 according to the device control instruction sent by the target user.
It can be seen that, in this embodiment, the control right of the home appliance 200 can be locked by only one user at the same time by setting that the control right of the home appliance 200 can be locked by the temporary user, so that other users cannot directly control the home appliance 200, after receiving the device control instruction sent by the target user, the server 100 needs to determine whether to release the locking of the control right of the home appliance 200 by the temporary user according to the identity information of the target user, and only after releasing the locking of the control right of the home appliance 200 by the temporary user, the server 100 controls the home appliance 200 according to the device control instruction, thereby effectively avoiding that too many users have the control right of the home appliance 200, and ensuring the security of the home appliance 200.
In this embodiment, the target user may be a bound user of the home appliance device 200 or may not be the bound user of the home appliance device 200, so when determining whether to unlock the control right of the home appliance device 200 by the temporary user according to the identity information of the target user, it may be determined whether the target user is the bound user according to the identity information of the target user, and then different unlocking measures are adopted according to the determination result.
Referring to fig. 4, when the target user is a bound user, the step S102 includes the following sub-steps:
and a substep S21, when the identity information of the target user represents that the target user is the binding user of the household appliance, pushing first prompt information to the terminal device to prompt the target user whether to unlock the control authority of the household appliance by the temporary user.
It can be understood that the server 100 stores the identity information of the bound user of the electric home appliance 200 in advance, and the server 100 can determine whether the target user is the bound user by comparing the identity information of the target user with the identity information of the bound user.
In the substep S22, if first confirmation information returned by the terminal device based on the first prompt information is received, the control authority of the temporary user to the household appliance is unlocked; the first confirmation information represents that the target user confirms that the control authority of the household appliance is unlocked by the temporary user.
Next, an example is given to explain the sub-steps S21 to S22 in detail. Assuming that the target user is user a (bound user) and the temporary user is user B, after the server 100 determines that the target user is a bound user of the home appliance 200 according to the identity information of user a, the first prompt is pushed to the terminal device 300 of user a, at which time the application of the terminal device 300 of user a will show that "the control right of the device has been locked by user B, if the user B needs to be unlocked and whether the control authority of the device is unlocked by the user B is controlled, when user a confirms that the control authority of user B for the electric home appliance 200 is to be unlocked, the operation button "yes" may be clicked on the application program, the terminal device 300 of the user a returns the first confirmation information to the server 100 according to the operation of the user a, and after receiving the first confirmation information, the server 100 releases the lock of the user B on the control authority of the home appliance 200; when the user a clicks the operation button "no" on the application program, it indicates that the user a confirms that the control authority of the home appliance 200 is not unlocked by the user B, and the control authority of the home appliance 200 is still locked by the user B.
It can be seen that, in this embodiment, when the target user is the bound user of the home appliance device 200, if the target user confirms that the control right of the temporary user to the home appliance device 200 needs to be unlocked, the server 100 may directly unlock the control right of the temporary user to the home appliance device 200, so as to ensure the highest right of the bound user of the home appliance device 200. In order to allow the temporary user to know that the temporary user has unlocked himself/herself in time, the server 100 needs to notify the temporary user of the unlocking of the control authority of the home appliance 200 by the temporary user. Based on this, referring to fig. 5 on the basis of fig. 4, after the sub-step S22, the method further includes:
step S23, pushing unlocking notification information to the temporary user to notify the temporary user that the control authority of the home appliance device has been unlocked by the bound user.
Still taking the target user as user a (bound user) and the temporary user as user B as an example, after the server 100 unlocks the control authority of the home appliance 200 from the user B, the application program of the terminal device 300 of the user B also receives a notification message that the control authority of the home appliance 200 has been unlocked by the target user, which is sent by the server 100.
Referring to fig. 6, when the target user is not a bound user, the step S102 includes the following sub-steps:
and a substep S31, when the identity information of the target user indicates that the target user is not the binding user of the household appliance device, pushing second prompt information to the terminal device to prompt the target user whether to send a lock release request to the temporary user.
In this embodiment, when the target user is not the bound user of the electric home appliance 200, it indicates that the target user is the shared user, and the temporary user may be the bound user or the shared user. Since the target user is not a bound user, the target user does not have the highest authority, and cannot directly instruct the server 100 to unlock the control authority of the household appliance 200 from the temporary user, and a lock release request needs to be initiated to the temporary user through the server 100.
Substep S32, if receiving second confirmation information returned by the terminal device based on the second prompt information, sending a lock release request to the temporary user; and the second confirmation information represents that the target user confirms to send the unlocking request to the temporary user.
Step S33, if receiving the third confirmation information returned by the temporary user based on the lock releasing request, releasing the lock of the control authority of the household appliance by the temporary user; and the third confirmation information represents that the temporary user confirms to unlock the control authority of the household appliance by the temporary user.
Next, an example is given to explain the sub-steps S31 to S33 in detail. Assuming that the target user is user C (shared user), the temporary user is user D (bound user or shared user), and the server 100 determines that the target user is not the bound user of the home appliance device 200 according to the identity information of user C, then pushes a second prompt message to the terminal device 300 of user C, at this time, the application program of the terminal device 300 of user C displays that "the control authority of the device is locked by user D, if the user D is required to be controlled to unlock, and whether a request for unlocking is sent to user D", when user C clicks an operation button "yes" on the application program, the terminal device 300 of user C returns a second confirmation message to the server 100 according to the operation of user C, and after receiving the second confirmation message, the server 100 sends a lock release request to the terminal device 300 of user D, and the application program of the terminal device 300 of user D receives a request message for unlocking, when the user D agrees to release the lock, the terminal device 300 of the user D returns a third confirmation message to the server 100, and the server 100 releases the restriction of the control authority of the home appliance 200 by the user D after receiving the third confirmation message. When the user C chooses not to send the unlock request to the user D or the user D does not agree with the unlock, the server 100 does not unlock the control authority of the home appliance 200 from the user D, and the control authority of the home appliance 200 is still locked by the user D.
It can be seen that, in the method for controlling a home appliance provided in this embodiment, the control authority of the home appliance 200 can be locked when the home appliance 200 is not desired to be controlled by another user, and the control authority of the home appliance 200 can be unlocked when the control of the home appliance 200 is desired to be released, so that the user does not need to be released or shared, and thus the flexibility of controlling the home appliance 200 is improved.
Fig. 7 is a schematic diagram of a functional module of the home appliance control device 400 according to the present embodiment. It should be noted that the basic principle and the technical effects of the home appliance control device 400 according to the embodiment of the present invention are the same as those of the foregoing method embodiment, and for the sake of brief description, reference may be made to the corresponding contents of the foregoing method embodiment for the parts that are not mentioned in this embodiment. The home appliance control device 400 can be applied to the server 100, and includes a determination module 410, a processing module 420, and a control module 430.
Alternatively, the determining module 410, the processing module 420 and the control module 430 may be stored in the memory 110 shown in fig. 2 in the form of software or Firmware (Firmware) or be fixed in an Operating System (OS) of the server 100, and may be executed by the processor 120 in fig. 2. Meanwhile, data, codes of programs, and the like required to execute the above-described modules may be stored in the memory 110.
The judging module 410 is configured to, when receiving a device control instruction sent by a target user through the terminal device 300, judge whether the control right of the home appliance device 200 has been locked by a temporary user; wherein the temporary user and the target user are different users.
It is understood that the determining module 410 can execute the above step S101.
The processing module 420 is configured to determine whether to unlock the control right of the home appliance 200 from the temporary user according to the identity information of the target user if the control right of the home appliance 200 is already locked by the temporary user.
It is understood that the processing module 420 may perform the step S102.
The control module 430 is configured to control the home appliance 200 according to the device control instruction after the temporary user locks the control right of the home appliance 200.
Optionally, the control module 430 is further configured to control the home device 200 according to the device control instruction if the control right of the home device 200 is not locked by any user or the control right of the home device 200 is locked by the target user.
It is understood that the control module 430 may perform the steps S103 and S104 described above.
Referring to fig. 8, in the present embodiment, the processing module 420 may include an information pushing module 421 and a lock releasing module 422.
In an embodiment, the information pushing module 421 is configured to push first prompt information to the terminal device 300 to prompt the target user whether to unlock the control right of the home appliance 200 from the temporary user when the identity information of the target user indicates that the target user is a bound user of the home appliance 200.
It is understood that the information push module 421 can execute the above step S21.
The unlocking module 422 is configured to unlock the control authority of the household appliance 200 by the temporary user if first confirmation information returned by the terminal device 300 based on the first prompt information is received; the first confirmation information represents that the target user confirms that the control authority of the household appliance device 200 is unlocked by the temporary user.
It is understood that the unlocking module 422 may perform the above step S22.
Optionally, the information pushing module 421 is further configured to push lock release notification information to the temporary user after the lock release module 422 releases the lock of the control authority of the household appliance 200 by the temporary user, so as to notify the temporary user that the control authority of the household appliance 200 has been released from the lock by the bound user.
It is understood that the information pushing module 421 can also execute the above step S23.
In another embodiment, the information pushing module 421 is configured to, when the identity information of the target user indicates that the target user is not a bound user of the home appliance device 200, push second prompt information to the terminal device 300 to prompt the target user whether to send a lock release request to the temporary user; if second confirmation information returned by the terminal device 300 based on the second prompt information is received, a lock release request is sent to the temporary user; and the second confirmation information represents that the target user confirms to send the unlocking request to the temporary user.
It is understood that the information pushing module 421 can also perform the above steps S31 and S32.
The unlocking module 422 is configured to unlock the control authority of the household appliance 200 by the temporary user if receiving third confirmation information returned by the temporary user based on the unlocking request; the third confirmation information represents that the temporary user confirms to unlock the control authority of the household electrical appliance 200 by the temporary user.
It is understood that the unlocking module 422 may also execute the above step S33.
In summary, according to the method, the apparatus, the server and the computer-readable storage medium for controlling the home appliance provided by the present invention, the server is in communication connection with both the terminal device and the home appliance, the control right of the home appliance can only be locked by one user at the same time, and when the server receives the device control instruction sent by the target user through the terminal device, the server determines whether the control right of the home appliance is locked by the temporary user; the temporary user and the target user are different users, if the control authority of the household appliance is locked by the temporary user, whether the locking of the temporary user on the control authority of the household appliance is released or not is determined according to the identity information of the target user, and after the locking of the temporary user on the control authority of the household appliance is released, the household appliance is controlled according to the appliance control instruction. Therefore, the control authority of the household appliance can be locked by only one user at the same time by setting the control authority of the household appliance, once the control authority of the household appliance is locked by the temporary user, other users cannot directly control the household appliance, and therefore, after the server receives the equipment control instruction sent by the target user, whether the locking of the control authority of the household appliance by the temporary user is released or not needs to be determined according to the identity information of the target user, the household appliance can be controlled according to the equipment control instruction only after the locking of the control authority of the household appliance by the temporary user is released, so that the condition that too many users have the control authority of the household appliance is effectively avoided, and the safety of the household appliance is ensured.
Although the present invention is disclosed above, the present invention is not limited thereto. Various changes and modifications may be effected therein by one skilled in the art without departing from the spirit and scope of the invention as defined in the appended claims.
Claims (12)
1. A household appliance control method is applied to a server (100), the server (100) is in communication connection with a terminal device (300) and a household appliance (200), and the control authority of the household appliance (200) can be locked by only one user at the same time, and the method comprises the following steps:
when receiving a device control instruction sent by a target user through the terminal device (300), judging whether the control authority of the household appliance device (200) is locked by a temporary user; wherein the temporary user and the target user are different users;
if the control authority of the household appliance (200) is locked by the temporary user, determining whether to unlock the control authority of the household appliance (200) by the temporary user according to the identity information of the target user;
and after the control authority of the household appliance (200) by the temporary user is unlocked, controlling the household appliance (200) according to the appliance control instruction.
2. The method of claim 1, wherein the step of determining whether to unlock the control right of the household appliance (200) from the temporary user according to the identity information of the target user comprises:
when the identity information of the target user represents that the target user is a bound user of the household appliance device (200), first prompt information is pushed to the terminal device (300) to prompt whether the target user releases the locking of the temporary user on the control authority of the household appliance device (200);
if first confirmation information returned by the terminal equipment (300) based on the first prompt information is received, the control authority of the temporary user to the household appliance equipment (200) is unlocked; the first confirmation information represents that the target user confirms that the control authority of the household appliance device (200) is unlocked by the temporary user.
3. The method of claim 2, wherein after the step of unlocking the control right of the household appliance device (200) from the temporary user, the method further comprises:
pushing unlocking notification information to the temporary user to inform the temporary user that the control authority of the household appliance (200) is unlocked by the bound user.
4. The method of claim 1, wherein the step of determining whether to unlock the control right of the household appliance (200) from the temporary user according to the identity information of the target user comprises:
when the identity information of the target user represents that the target user is not a bound user of the household appliance device (200), pushing second prompt information to the terminal device (300) to prompt the target user whether to send a lock release request to the temporary user;
if second confirmation information returned by the terminal equipment (300) based on the second prompt information is received, the locking release request is sent to the temporary user; wherein the second confirmation information represents that the target user confirms sending the unlocking request to the temporary user;
if third confirmation information returned by the temporary user based on the locking releasing request is received, releasing the locking of the control authority of the household appliance (200) by the temporary user; the third confirmation information represents that the temporary user confirms that the control authority of the household appliance device (200) is unlocked by the temporary user.
5. The method of claim 1, further comprising:
and if the control authority of the household appliance (200) is not locked by any user or the control authority of the household appliance (200) is locked by the target user, controlling the household appliance (200) according to the appliance control instruction.
6. A household appliance control device is applied to a server (100), the server (100) is in communication connection with a terminal device (300) and a household appliance (200), the control authority of the household appliance (200) can be locked by only one user at the same time, and the device comprises:
the judging module (410) is used for judging whether the control authority of the household appliance device (200) is locked by the temporary user or not when receiving a device control instruction sent by a target user through the terminal device (300); wherein the temporary user and the target user are different users;
the processing module (420) is used for determining whether to unlock the control authority of the household appliance (200) by the temporary user according to the identity information of the target user if the control authority of the household appliance (200) is locked by the temporary user;
and the control module (430) is used for controlling the household appliance (200) according to the appliance control instruction after the control authority of the household appliance (200) is unlocked by the temporary user.
7. The apparatus of claim 6, wherein the processing module (420) comprises:
the information pushing module (421) is configured to, when the identity information of the target user indicates that the target user is a bound user of the home appliance device (200), push first prompt information to the terminal device (300) to prompt whether the target user releases the locking of the control authority of the temporary user on the home appliance device (200);
a lock releasing module (422) configured to release the lock of the control authority of the household appliance device (200) by the temporary user if first confirmation information returned by the terminal device (300) based on the first prompt information is received; the first confirmation information represents that the target user confirms that the control authority of the household appliance device (200) is unlocked by the temporary user.
8. The apparatus according to claim 7, wherein the information pushing module (421) is further configured to push lock release notification information to the temporary user after the lock release module (422) releases the lock of the control authority of the household appliance (200) by the temporary user, so as to notify the temporary user that the control authority of the household appliance (200) has been released by the bound user.
9. The apparatus of claim 6, wherein the processing module (420) comprises:
an information pushing module (421) configured to, when the identity information of the target user indicates that the target user is not a bound user of the home appliance device (200), push second prompt information to the terminal device (300) to prompt the target user whether to send a lock release request to the temporary user; if second confirmation information returned by the terminal equipment (300) based on the second prompt information is received, the locking release request is sent to the temporary user; wherein the second confirmation information represents that the target user confirms sending the unlocking request to the temporary user;
a lock release module (422) for releasing the lock of the control authority of the household appliance device (200) by the temporary user if third confirmation information returned by the temporary user based on the lock release request is received; the third confirmation information represents that the temporary user confirms that the control authority of the household appliance device (200) is unlocked by the temporary user.
10. The apparatus of claim 6, wherein the control module (430) is further configured to control the home device (200) according to the device control instruction if the control right of the home device (200) is not locked by any user or the control right of the home device (200) is locked by the target user.
11. A server, characterized by comprising a memory (110) storing a computer program and a processor (120), the computer program being read and executed by the processor (120) for performing the method according to any of claims 1-5.
12. A computer-readable storage medium, on which a computer program is stored which, when read and executed by a processor (120), implements the method according to any one of claims 1-5.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911054879.7A CN110703621A (en) | 2019-10-31 | 2019-10-31 | Household appliance control method, household appliance control device, server and computer readable storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911054879.7A CN110703621A (en) | 2019-10-31 | 2019-10-31 | Household appliance control method, household appliance control device, server and computer readable storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN110703621A true CN110703621A (en) | 2020-01-17 |
Family
ID=69202215
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201911054879.7A Pending CN110703621A (en) | 2019-10-31 | 2019-10-31 | Household appliance control method, household appliance control device, server and computer readable storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110703621A (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111273561A (en) * | 2020-03-27 | 2020-06-12 | 青岛海信智慧家居系统股份有限公司 | Method and device for controlling intelligent household equipment |
CN111476925A (en) * | 2020-02-21 | 2020-07-31 | 珠海格力电器股份有限公司 | Authority management method, device, equipment and computer readable medium |
CN112600744A (en) * | 2020-12-25 | 2021-04-02 | 青岛海尔科技有限公司 | Authority control method and device, storage medium and electronic device |
CN113338721A (en) * | 2021-06-30 | 2021-09-03 | 珠海优特物联科技有限公司 | Unlocking control method and device of door lock, storage medium, processor and door lock |
CN115314247A (en) * | 2022-06-30 | 2022-11-08 | 中化学交通建设集团有限公司 | Internet of things equipment management method and related equipment |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2016206494A1 (en) * | 2015-06-23 | 2016-12-29 | 中兴通讯股份有限公司 | Voice control method, device and mobile terminal |
CN108809968A (en) * | 2018-05-28 | 2018-11-13 | 北京小米移动软件有限公司 | Collaborative share method, apparatus and storage medium |
CN109237736A (en) * | 2018-09-25 | 2019-01-18 | 珠海格力电器股份有限公司 | A kind of control method and household appliance of household appliance |
CN110047493A (en) * | 2019-03-13 | 2019-07-23 | 深圳市酷开网络科技有限公司 | Control method, device and storage medium based on Application on Voiceprint Recognition priority |
CN110049040A (en) * | 2019-04-16 | 2019-07-23 | 深思数盾(天津)科技有限公司 | To the methods, devices and systems of the control authority authorization of smart machine |
-
2019
- 2019-10-31 CN CN201911054879.7A patent/CN110703621A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2016206494A1 (en) * | 2015-06-23 | 2016-12-29 | 中兴通讯股份有限公司 | Voice control method, device and mobile terminal |
CN108809968A (en) * | 2018-05-28 | 2018-11-13 | 北京小米移动软件有限公司 | Collaborative share method, apparatus and storage medium |
CN109237736A (en) * | 2018-09-25 | 2019-01-18 | 珠海格力电器股份有限公司 | A kind of control method and household appliance of household appliance |
CN110047493A (en) * | 2019-03-13 | 2019-07-23 | 深圳市酷开网络科技有限公司 | Control method, device and storage medium based on Application on Voiceprint Recognition priority |
CN110049040A (en) * | 2019-04-16 | 2019-07-23 | 深思数盾(天津)科技有限公司 | To the methods, devices and systems of the control authority authorization of smart machine |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111476925A (en) * | 2020-02-21 | 2020-07-31 | 珠海格力电器股份有限公司 | Authority management method, device, equipment and computer readable medium |
CN111273561A (en) * | 2020-03-27 | 2020-06-12 | 青岛海信智慧家居系统股份有限公司 | Method and device for controlling intelligent household equipment |
CN112600744A (en) * | 2020-12-25 | 2021-04-02 | 青岛海尔科技有限公司 | Authority control method and device, storage medium and electronic device |
CN113338721A (en) * | 2021-06-30 | 2021-09-03 | 珠海优特物联科技有限公司 | Unlocking control method and device of door lock, storage medium, processor and door lock |
CN115314247A (en) * | 2022-06-30 | 2022-11-08 | 中化学交通建设集团有限公司 | Internet of things equipment management method and related equipment |
CN115314247B (en) * | 2022-06-30 | 2024-02-09 | 中化学交通建设集团有限公司 | Internet of things equipment management method and related equipment |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110703621A (en) | Household appliance control method, household appliance control device, server and computer readable storage medium | |
CN104966340B (en) | Access control system, access control method and cloud service platform | |
EP3360347B1 (en) | Wireless provisioning and configuring of hardware elements of a home automation system | |
CN108605000B (en) | Intelligent home service server and control method thereof | |
CN105629744A (en) | Control method of smart home, control system, terminal and smart home system | |
AU2016361086B2 (en) | Smart home service server and control method therefor | |
CN104506492A (en) | Method and device for account synchronization at multiple terminals | |
US20100043052A1 (en) | Apparatus and method for security management of user terminal | |
CN107645497B (en) | Internet of things equipment control and authority sharing system and method based on public number | |
CN105100094B (en) | A kind of solution lock control method and terminal | |
CN112202747A (en) | Target device binding method and device, storage medium and electronic device | |
CN107766717B (en) | Access control method, device and system | |
CN114760112B (en) | Wireless local area network-oriented intelligent home equipment networking method, system, equipment and storage medium | |
CN103345828A (en) | Method and system for controlling computer through intelligent terminal | |
CN112600744A (en) | Authority control method and device, storage medium and electronic device | |
CN107948134B (en) | Data interaction method and device | |
JP2009523346A (en) | Enhancements to discover device owners in the UPnP search service | |
CN114374740B (en) | Industry service platform of interconnection of intelligence household electrical appliances | |
CN105095702B (en) | A kind of superuser right control method and device | |
CN113765897A (en) | Sharing use method and system of electronic equipment | |
CN113422712A (en) | Network distribution method, network distribution device, household equipment and computer readable storage medium | |
CN109871288A (en) | Execute method, apparatus, equipment and the medium of android system order | |
US20230208716A1 (en) | Control method, device and storage medium | |
CN106888263B (en) | Method for automatically reading equipment parameters and Android industrial control system | |
JP2007312218A (en) | Radio communication method for controlling terminal, program, and radio communication system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20200117 |
|
RJ01 | Rejection of invention patent application after publication |