CN111835607A - Control method and system of household appliance - Google Patents

Control method and system of household appliance Download PDF

Info

Publication number
CN111835607A
CN111835607A CN202010725006.0A CN202010725006A CN111835607A CN 111835607 A CN111835607 A CN 111835607A CN 202010725006 A CN202010725006 A CN 202010725006A CN 111835607 A CN111835607 A CN 111835607A
Authority
CN
China
Prior art keywords
terminal device
control authority
target
terminal
target control
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202010725006.0A
Other languages
Chinese (zh)
Inventor
钟秋萍
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hangzhou Honyar Electrical Co Ltd
Putian Intelligent Lighting Institute Co Ltd
Original Assignee
Hangzhou Honyar Electrical Co Ltd
Putian Intelligent Lighting Institute 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 Hangzhou Honyar Electrical Co Ltd, Putian Intelligent Lighting Institute Co Ltd filed Critical Hangzhou Honyar Electrical Co Ltd
Priority to CN202010725006.0A priority Critical patent/CN111835607A/en
Publication of CN111835607A publication Critical patent/CN111835607A/en
Pending legal-status Critical Current

Links

Images

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
    • G05B15/00Systems controlled by a computer
    • G05B15/02Systems controlled by a computer electric
    • 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] or computer integrated manufacturing [CIM]
    • 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)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Manufacturing & Machinery (AREA)
  • Quality & Reliability (AREA)
  • Telephonic Communication Services (AREA)
  • Selective Calling Equipment (AREA)

Abstract

The invention discloses a control method and a control system of household electrical appliance equipment. Wherein, the method comprises the following steps: the method comprises the steps that a first terminal device receives a sharing request sent by a second terminal device, wherein the first terminal device and the second terminal device are in the same local area network, and the first terminal device has a control authority for controlling household appliances; the first terminal equipment acquires a target control authority of the target household appliance equipment corresponding to the sharing request; the first terminal device sends the target control authority to the second terminal device, wherein the second terminal device is used for controlling the target household appliance device based on the target control authority. The invention solves the technical problems of poor operability and usability of household appliances in the prior art.

Description

Control method and system of household appliance
Technical Field
The invention relates to the field of Internet of things, in particular to a control method and a control system for household appliances.
Background
In the practical application scenario of the home appliance, the sharing function of the home appliance is particularly important. However, how to share the household appliances according to the actual needs of the customers and improve the operability and usability of the household appliances are still a technical problem, so that the application range of the household appliances is expanded.
At present, more and more homes use smart home devices, such as: the intelligent household appliance control system comprises an intelligent switch, an intelligent socket, an intelligent lamp, an intelligent air conditioner and the like, wherein a user can control different intelligent household appliances through a mobile terminal such as a mobile phone. However, the existing control method of the home appliance requires a user to manually add the home appliance to be controlled, which results in poor operability and usability of the home appliance and poor user experience.
In view of the above problems, no effective solution has been proposed.
Disclosure of Invention
The embodiment of the invention provides a control method and a control system of household appliances, which at least solve the technical problems of poor operability and usability of the household appliances in the prior art.
According to an aspect of an embodiment of the present invention, there is provided a method for controlling a home appliance, including: the method comprises the steps that a first terminal device receives a sharing request sent by a second terminal device, wherein the first terminal device and the second terminal device are in the same local area network, and the first terminal device has a control authority for controlling household appliances; the first terminal equipment acquires a target control authority of the target household appliance equipment corresponding to the sharing request; the first terminal equipment sends the target control authority to the second terminal equipment, wherein the second terminal equipment is used for controlling the target household appliance equipment based on the target control authority
Optionally, after the first terminal device obtains the target control permission of the target household appliance device corresponding to the sharing request, the method further includes: the method comprises the steps that a first terminal device determines an aging condition corresponding to a target control authority, wherein the aging condition is used for determining whether the target control authority is effective or not; the first terminal device sends the target control authority and the aging condition to the second terminal device, wherein the second terminal device is used for controlling the target household appliance device based on the target control authority and the aging condition.
Optionally, the determining, by the first terminal device, the aging condition corresponding to the target control authority includes: the method comprises the steps that a first terminal device outputs a sharing request and at least one preset aging condition; the method comprises the steps that a first terminal device receives a preset aging condition selected from at least one preset aging condition; and the first terminal equipment determines that the selected preset aging condition is the aging condition corresponding to the target control authority.
Optionally, the at least one preset aging condition comprises at least one of: a first aging condition, a second aging condition, and a third aging condition, wherein the first aging condition comprises: under the condition that the first terminal equipment and the second terminal equipment are not in the same local area network, the target control authority is invalid, wherein under the condition that the target control authority is invalid, the second terminal equipment forbids to control the household appliance equipment; the second aging condition includes: after the second terminal equipment is disconnected with the local area network, the target control authority is invalid under the condition that the second terminal equipment is accessed into the local area network again; the third aging condition includes: and after the second terminal equipment is disconnected with the local area network, the target control authority is valid under the condition that the second terminal equipment is accessed into the local area network again.
Optionally, the same application program is installed on the first terminal device and the second terminal device, wherein device information of the home appliance device is displayed in an interactive interface of the application program, and the sharing request is generated based on the device information of the target home appliance device.
According to another aspect of the embodiments of the present invention, there is also provided a method for controlling a home appliance, including:
the method comprises the steps that a second terminal device sends a sharing request to a first terminal device, wherein the second terminal device and the first terminal device are in the same local area network, and the first terminal device has a control authority for controlling household appliances; the second terminal equipment receives the target control authority of the target household appliance equipment returned by the first terminal equipment based on the sharing request; and the second terminal equipment controls the target household appliance equipment based on the target control authority.
Optionally, before the second terminal device controls the target home device based on the target control authority, the method further includes: the second terminal equipment receives an aging condition corresponding to the target control authority sent by the first terminal equipment, wherein the aging condition is used for determining whether the target control authority is effective or not; and the second terminal equipment controls the target household appliance equipment based on the target control authority and the aging condition.
Optionally, the aging condition is a preset aging condition selected from at least one preset aging condition, and the at least one preset time condition is output by the first terminal device.
Optionally, the second terminal device controls the target household appliance device based on the target control authority and the aging condition, and includes: the second terminal equipment determines whether the target control authority is invalid or not based on the aging condition; under the condition that the control authority is effective, the second terminal device controls the target household appliance device according to the target control authority; and under the condition that the control authority is invalid, the second terminal equipment prohibits the target household appliance equipment from being controlled based on the target control authority.
Optionally, the determining, by the second terminal device, whether the target control authority is invalid based on the aging condition includes: under the condition that the aging condition is the first aging condition, the second terminal equipment judges whether the second terminal equipment and the first terminal equipment are in the same local area network or not, and if the second terminal equipment and the first terminal equipment are not in the same local area network, the second terminal equipment determines that the target control authority is invalid; under the condition that the aging condition is a second aging condition, the second terminal equipment judges whether the local area network is accessed again after the connection with the local area network is disconnected, and if the local area network is accessed again after the connection with the local area network is disconnected, the second terminal equipment determines that the target control authority is invalid; and under the condition that the aging condition is a third aging condition, the second terminal equipment judges whether to access the local area network again after disconnecting the local area network, and if the second terminal equipment accesses the local area network again after disconnecting the local area network, the second terminal equipment determines that the target control authority is valid.
Optionally, in the case that the target control authority fails, the method further includes: and the second terminal equipment outputs prompt information, wherein the prompt information is used for prompting that the target control authority of the second terminal equipment to the target household appliance equipment is invalid.
Optionally, the same application program is installed on the first terminal device and the second terminal device, where before the second terminal device sends the sharing request to the first terminal device, the method further includes: the second terminal equipment displays equipment information of the household appliance equipment in an interactive interface of the application program; the second terminal equipment receives the selected equipment information; and the second terminal equipment generates a sharing request based on the selected equipment information.
According to another aspect of the embodiments of the present invention, there is also provided a control system for a home appliance, including: the first terminal equipment is used for sending a sharing request; the second terminal equipment is positioned in the same local area network with the first terminal equipment, has control authority for controlling the household appliances and is used for sending target control authority of target household appliances corresponding to the sharing request; the first terminal device is also used for controlling the target household appliance device based on the target control authority.
According to another aspect of the embodiments of the present invention, there is also provided a computer-readable storage medium, where the computer-readable storage medium includes a stored program, and when the program runs, the apparatus where the computer-readable storage medium is located is controlled to execute the method for controlling an electrical home appliance in any one of the above embodiments.
According to another aspect of the embodiments of the present invention, there is also provided a processor, where the processor is configured to execute a program, where the program executes the control method of any one of the foregoing home appliances.
In the embodiment of the invention, a first terminal device is adopted to receive a sharing request sent by a second terminal device, wherein the first terminal device and the second terminal device are in the same local area network, and the first terminal device has a control authority for controlling household appliances; the first terminal equipment acquires a target control authority of the target household appliance equipment corresponding to the sharing request; the first terminal device sends the target control authority to the second terminal device, wherein the second terminal device is used for achieving the purpose of actively sharing the control authority of the household appliance devices among the terminal devices based on the technical means of controlling the target household appliance devices through the target control authority, so that the technical effects of improving the operability and usability of the household appliance devices, enlarging the application range of the household appliance devices and further solving the technical problems of poor operability and usability of the household appliance devices in the prior art are achieved.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this application, illustrate embodiment(s) of the invention and together with the description serve to explain the invention without limiting the invention. In the drawings:
fig. 1 is a flowchart of a control method of a home appliance according to the present embodiment;
fig. 2 is a flowchart of another control method of a home appliance according to the present embodiment;
fig. 3 is a flowchart of a control method of a preferred home appliance according to the present embodiment;
fig. 4 is a flowchart of local area network sharing based on home devices according to the present embodiment;
fig. 5 is a timing diagram of local area network sharing based on home devices according to the present embodiment;
fig. 6 is a schematic diagram of a control system of a home appliance according to the present embodiment.
Detailed Description
In order to make the technical solutions of the present invention better understood, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
It should be noted that the terms "first," "second," and the like in the description and claims of the present invention and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the invention described herein are capable of operation in sequences other than those illustrated or described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus. In accordance with an embodiment of the present invention, there is provided a method embodiment for controlling an appliance device, it is noted that the steps illustrated in the flowchart of the drawings may be performed in a computer system such as a set of computer executable instructions, and that while a logical order is illustrated in the flowchart, in some cases the steps illustrated or described may be performed in an order different than here.
In order to improve the operability and the usability of the household electrical appliance, the sharing function of the household electrical appliance can be provided, and the control authority of the household electrical appliance is reasonably shared. However, the existing household appliance sharing method is based on that an administrator actively shares household appliances, and cannot request to be shared through member initiative, and moreover, the administrator actively shares household appliances in batch, and cannot share household appliances individually according to specific requirements of the members, so that the existing household appliance sharing method is single and poor in pertinence.
In order to solve the above problems, the present invention provides the following technical solutions:
example 1
Fig. 1 is a flowchart of a method for controlling a home appliance according to an embodiment of the present invention, as shown in fig. 1, the method includes the following steps:
step S102, a first terminal device receives a sharing request sent by a second terminal device, wherein the first terminal device and the second terminal device are in the same local area network, and the first terminal device has a control authority for controlling household appliances;
specifically, the first terminal device and the second terminal device may be mobile terminals of different users, for example, a mobile phone, a tablet, and the like, and the user may control the household appliance device through the mobile terminal, where the household appliance device may be an intelligent switch, an intelligent socket, an intelligent lamp, and the like, but is not limited thereto.
Optionally, the same application program is installed on the first terminal device and the second terminal device, wherein device information of the home appliance device is displayed in an interactive interface of the application program, and the sharing request is generated based on the device information of the target home appliance device.
In an optional embodiment, in order to implement control of the home appliance device, an application program may be pre-installed on the mobile terminal, a user may see device information of a home appliance device that is currently allowed to be controlled on an interface of the application program, when the user wishes to control a certain home appliance device, the user may operate on the interface, and the mobile terminal may transmit a corresponding control instruction to the home appliance device through a wireless data transmission interface (e.g., a WIFI communication interface) and be executed by the home appliance device. For example, when a user wishes to turn on the intelligent switch, the user can operate on the interface, and the mobile terminal transmits a turn-on control instruction to the intelligent switch so as to control the intelligent switch to be turned on.
The local area network may be established by any one terminal device, and other terminal devices access the local area network through a wireless data transmission interface, for example, a first terminal device establishes the local area network, and a second terminal device accesses the local area network through the wireless data transmission interface; and the first terminal equipment is accessed to the local area network through the wireless data transmission interface. The local area network may also be established by other devices, e.g. a router device, to which the first terminal device and the second terminal device access via a wireless data transmission interface.
The sharing request is used for indicating the first terminal device to share the control authority of the household appliance device to the second terminal device. Optionally, the sharing request is generated based on the device information of the target home device.
In an optional embodiment, usually in an internet of things environment, data sharing may be implemented when the intelligent terminal device is in the same local area network, and in order to implement sharing of the control authority of the household appliance device between the first terminal device and the second terminal device, the second terminal device and the first terminal device are installed with the same application program. And a user of the first terminal equipment logs in the application program through the first terminal equipment, and adds the household appliance needing to be controlled on the application program. At this time, the second terminal user can check the home appliance information connected to all the terminal devices, including the home appliance information connected to the first terminal device, on the interactive interface of the application program on the second terminal device. Similarly, the user of the first terminal device can also see the home appliance information connected to the other terminal devices through the interactive interface of the application program on the first terminal device. When a user of a second terminal device selects to acquire the control authority of the household appliance device connected to a first terminal device according to actual requirements, and sends a sharing request to the first terminal device; if the first terminal equipment and the second terminal equipment are in the same local area network, the first terminal equipment sends the control authority of the household appliance equipment corresponding to the sharing request to the second terminal equipment; and the second terminal equipment controls the household appliance equipment according to the received household appliance equipment control authority.
For example, when the first terminal device and the second terminal device simultaneously install the same application program and are in the same local area network, a user of the second terminal device checks the household appliance connected to the first terminal device, such as the intelligent switch, through an interface of the application program, the user of the second terminal device sends a sharing request of the intelligent switch to the first terminal device, and because the first terminal device has the control authority of the intelligent switch, the first terminal device shares the control authority of the intelligent switch to the second terminal device according to the sharing request of the intelligent switch sent by the second terminal device.
It should be noted that, in order to ensure that the home devices added in the application program can be viewed by the user of the first terminal device and the user of the second terminal device, the two terminal devices need to open corresponding permissions.
Step S104, the first terminal equipment acquires the target control authority of the target household appliance equipment corresponding to the sharing request;
in an alternative embodiment, the home devices 1 and 2 are added to the first terminal device. When the second terminal device sends a sharing request of the household appliance 1, the first terminal device shares the control authority of the household appliance 1 to the second terminal device, namely, the household appliance 1 is a target household appliance, and the control authority of the household appliance 1 is a target control authority; when the second terminal device sends a sharing request of the household electrical appliance 1 and the household electrical appliance 2, the first terminal device shares the control authority of the household electrical appliance 1 and the control authority of the household electrical appliance 2 to the second terminal device, that is, the household electrical appliance 1 and the household electrical appliance 2 are target household electrical appliances, and the control authorities of the household electrical appliance 1 and the household electrical appliance 2 are both target control authorities.
For example, a first terminal device is connected to an intelligent switch, and when a second terminal device sends a sharing request of the intelligent switch to the first terminal device, the first terminal device receives the sharing request of the intelligent switch sent by a second terminal device, and sends an intelligent switch control permission, that is, a target control permission, to the second terminal device.
And step S106, the first terminal equipment sends the target control authority to the second terminal equipment, wherein the second terminal equipment is used for controlling the target household appliance equipment based on the target control authority.
In an optional embodiment, taking an intelligent switch as an example, the second terminal device sends a sharing request of the intelligent switch to the first terminal device, and the first terminal device sends a control right (target control right) of the corresponding intelligent switch to the second terminal device according to the sharing request of the intelligent switch sent by the second terminal device. And the second terminal equipment controls the on and off of the intelligent switch according to the control authority of the intelligent switch.
In the embodiment of the invention, a first terminal device is adopted to receive a sharing request sent by a second terminal device, wherein the first terminal device and the second terminal device are in the same local area network, and the first terminal device has a control authority for controlling household appliances; the first terminal equipment acquires a target control authority of the target household appliance equipment corresponding to the sharing request; the first terminal device sends the target control authority to the second terminal device, wherein the second terminal device is used for controlling the target household appliance based on the target control authority, the purpose of actively sharing the control authority of the household appliance between the terminal devices is achieved, and therefore the technical effects of improving the operability and usability of the household appliance and enlarging the application range of the household appliance are achieved.
Optionally, after the first terminal device obtains the target control permission of the target household appliance device corresponding to the sharing request, the method further includes: the method comprises the steps that a first terminal device determines an aging condition corresponding to a target control authority, wherein the aging condition is used for determining whether the target control authority is effective or not; the first terminal device sends the target control authority and the aging condition to the second terminal device, wherein the second terminal device is used for controlling the target household appliance device based on the target control authority and the aging condition.
Specifically, the time efficiency condition is a judgment condition for determining whether the target control authority is valid, for example, the target control authority may be valid under a certain condition, that is, when the second terminal device meets the condition, the target control authority may be determined to be valid; for another example, the target control authority may be invalid under a certain condition, that is, when the second terminal device satisfies the condition, it may be determined that the target control authority is invalid. The judgment condition in the aging condition may be a specific time period, whether the terminal device is in the same local area network, and the like, but is not limited thereto.
In an optional embodiment, since the sharing of the home appliance is often temporary, in order to ensure the security of the home appliance and avoid illegal control of a user, a user of the first terminal device may set an aging condition for a target control authority, so that the second terminal device controls the target home appliance to have a certain aging property, and only when the aging condition is met, the target home appliance can be controlled according to the control authority of the target home appliance, taking the target home appliance as an intelligent switch as an example, the first terminal device obtains a sharing request of the intelligent switch, the first terminal device determines the aging condition of the intelligent switch, for example, 6 to 12 pm, the second terminal device and the first terminal device are in the same local area network, at this time, the control authority is valid, and the first terminal device sends the time limit condition and the control authority of the intelligent switch to the second terminal device at the same time, the second terminal device can control the intelligent switch to be turned on or off according to the control authority of the intelligent switch under the condition that the aging condition of the intelligent switch and the control authority of the intelligent switch are received.
Optionally, the determining, by the first terminal device, the aging condition corresponding to the target control authority includes: the method comprises the steps that a first terminal device outputs a sharing request and at least one preset aging condition; the method comprises the steps that a first terminal device receives a preset aging condition selected from at least one preset aging condition; and the first terminal equipment determines that the selected preset aging condition is the aging condition corresponding to the target control authority.
Specifically, the preset aging conditions can be different preset aging conditions, manual input by a user is not needed, selection can be directly performed, and the workload of the user is reduced.
In an optional embodiment, when the second terminal device initiates the sharing request each time, the application program interactive interface of the first terminal device displays a corresponding dialog box, and displays that the second terminal device initiates the sharing request of the specific household appliance device permission. Taking an intelligent switch as an example, a second terminal user initiates a sharing request of the intelligent switch to a first terminal device through a second terminal device, an application program interface of the first terminal device displays the content of the request, "the second terminal device initiates the sharing request of the intelligent switch", the first terminal device sends 2 preset aging conditions "1 to the second terminal device according to the sharing request, and when 2 terminals are not in the same local area network, the authorization of the second terminal device expires and the terminal device becomes invalid permanently; 2. when the 2 terminals are not in the same local area network, the authorization of the second terminal device is temporarily expired, and when the second terminal device and the first terminal device are in the same local area network, the authorization takes effect immediately ". And the second terminal user selects the preset condition 2 on the second terminal device according to the actual situation of the second terminal user, for example, and feeds the information back to the first terminal device, so that the first terminal device determines that the received preset aging condition 2 selected by the second terminal device is the aging condition corresponding to the intelligent switch.
Optionally, the at least one preset aging condition comprises at least one of: a first aging condition, a second aging condition, and a third aging condition, wherein the first aging condition comprises: under the condition that the first terminal equipment and the second terminal equipment are not in the same local area network, the target control authority is invalid, wherein under the condition that the target control authority is invalid, the second terminal equipment forbids to control the household appliance equipment; the second aging condition includes: after the second terminal equipment is disconnected with the local area network, the target control authority is invalid under the condition that the second terminal equipment is accessed into the local area network again; the third aging condition includes: and after the second terminal equipment is disconnected with the local area network, the target control authority is valid under the condition that the second terminal equipment is accessed into the local area network again.
In an alternative embodiment, the preset condition includes: the method comprises a first preset condition, a second preset condition and a third preset condition. Taking the intelligent switch as an example, the first preset condition is: if the first terminal device and the second terminal device are not in the same local area network, for example, the second terminal device is switched to a 4G network, the control authority of the intelligent switch is invalid, namely the target control authority is invalid, and the second terminal device forbids to control the intelligent switch; the second preset condition is as follows: if the second terminal equipment is disconnected with the local area network before, and the local area network is reconnected to enable the second terminal equipment and the first terminal equipment to be in the same local area network at the same time, the authority of the intelligent switch is invalid at the moment, namely, the target control authority is invalid; the third preset condition is as follows: if the second terminal device is disconnected with the local area network before, and the local area network is reconnected to enable the second terminal device and the first terminal device to be in the same local area network at the same time, the authority of the intelligent switch is effective at the moment, namely the target control authority is effective, and the second terminal device can control the intelligent switch to be turned on or off according to the control authority of the intelligent switch.
Example 2
According to an embodiment of the present invention, another embodiment of a method for controlling a home appliance is also provided, and a specific implementation manner in this embodiment and a preferred embodiment are similar to or the same as those in the foregoing embodiment, which is not described herein again.
Fig. 2 is a flowchart of another method for controlling a home device according to the present embodiment, as shown in fig. 2, the method includes the following steps:
step 202, a second terminal device sends a sharing request to a first terminal device, wherein the second terminal device and the first terminal device are in the same local area network, and the first terminal device has a control authority for controlling household appliances;
step 204, the second terminal device receives a target control authority of the target household appliance device returned by the first terminal device based on the sharing request;
and step 206, the second terminal device controls the target household appliance device based on the target control authority.
Optionally, before the second terminal device controls the target home device based on the target control authority, the method further includes: the second terminal equipment receives an aging condition corresponding to the target control authority sent by the first terminal equipment, wherein the aging condition is used for determining whether the target control authority is effective or not; and the second terminal equipment controls the target household appliance equipment based on the target control authority and the aging condition.
Optionally, the aging condition is a preset aging condition selected from at least one preset aging condition, and the at least one preset time condition is output by the first terminal device.
In an optional embodiment, taking the intelligent switch as an example, if the second terminal device receives an aging condition corresponding to the control authority of the intelligent switch sent by the first terminal device, the application program interaction interface on the second terminal device displays a corresponding popup window "1", and when 2 terminals are not in the same local area network, the authorization of the second terminal device expires and becomes invalid permanently; 2. when 2 terminals are not in the same local area network, the authorization of the second terminal device expires temporarily, and when the second terminal device and the first terminal device are in the same local area network, the authorization takes effect immediately, and at this time, according to the actual situation, if the first terminal device and the second terminal device are not in the same local area network, the user of the second terminal device selects the option of the serial number 1; and if the first terminal equipment and the second terminal equipment are in the same local area network, the user of the second terminal equipment selects the option of the serial number 2.
Optionally, the second terminal device controls the target household appliance device based on the target control authority and the aging condition, and includes: the second terminal equipment determines whether the target control authority is invalid or not based on the aging condition; under the condition that the control authority is effective, the second terminal device controls the target household appliance device according to the target control authority; and under the condition that the control authority is invalid, the second terminal equipment prohibits the target household appliance equipment from being controlled based on the target control authority.
In an optional embodiment, taking the intelligent switch as an example, the second terminal device receives the aging condition sent by the first terminal device, and when the control authority of the intelligent switch is determined to be valid, the second terminal device controls the intelligent switch according to the received control authority of the intelligent switch; and when the control authority of the intelligent switch is determined to be invalid, the second terminal equipment prohibits controlling the intelligent switch according to the control authority of the intelligent switch.
Optionally, the determining, by the second terminal device, whether the target control authority is invalid based on the aging condition includes: under the condition that the aging condition is the first aging condition, the second terminal equipment judges whether the second terminal equipment and the first terminal equipment are in the same local area network or not, and if the second terminal equipment and the first terminal equipment are not in the same local area network, the second terminal equipment determines that the target control authority is invalid; under the condition that the aging condition is a second aging condition, the second terminal equipment judges whether the second terminal equipment is in the same local area network with the first terminal equipment again after the second terminal equipment is disconnected from the local area network, and if the second terminal equipment is in the same local area network with the first terminal equipment again after the second terminal equipment is disconnected from the local area network, the second terminal equipment determines that the target control authority is invalid; and under the condition that the secondary failure condition is the third aging condition, the second terminal equipment judges whether the second terminal equipment is in the same local area network with the first terminal equipment again after the second terminal equipment is disconnected from the local area network, and if the second terminal equipment is in the same local area network with the first terminal equipment again after the second terminal equipment is disconnected from the local area network, the second terminal equipment determines that the target control authority is valid.
Optionally, in the case that the target control authority fails, the method further includes: and the second terminal equipment outputs prompt information, wherein the prompt information is used for prompting that the target control authority of the second terminal equipment to the target household appliance equipment is invalid.
In an optional embodiment, in the case that the target control authority is invalid, the interactive interface of the application program on the second terminal device may display a prompt message, for example, display "no right, you are not authorized to operate, and ask the device administrator to perform authorization before operating. "
Optionally, the same application program is installed on the first terminal device and the second terminal device, where before the second terminal device sends the sharing request to the first terminal device, the method further includes: the second terminal equipment displays equipment information of the household appliance equipment in an interactive interface of the application program; the second terminal equipment receives the selected equipment information; and the second terminal equipment generates a sharing request based on the selected equipment information.
In an optional real-time example, since the same application program is installed on the first middle terminal device and the second terminal device, the user can view the home appliance information connected to each terminal device through the application program on the login terminal device. When the second terminal user views the home appliance information connected to the first terminal device through the interactive interface of the second terminal device, for example: the intelligent switch is selected on the interactive interface by a second terminal user, the second terminal device generates request information (sharing request) of the intelligent switch according to the intelligent switch selected by the user, and sends the request information of the intelligent switch to the first terminal device.
A preferred embodiment of the present invention will be described in detail with reference to fig. 3, 4 and 5.
The invention provides a local area network sharing method based on household appliances, which comprises the following steps as shown in figure 3:
a wireless local area network is established between the first mobile phone and the second mobile phone, and the wireless local area network is the same wireless local area network, that is, 2 mobile phones are in the same wireless local area network. It can be understood that the 2 handsets are only the precondition for sharing the home devices when they are in the same wlan. The same APP program is installed on the 2 mobile phones, the first mobile phone and the second mobile phone open corresponding permission in the same wireless local area network, namely, the intelligent equipment added in the APP program can be seen by both sides of the application interfaces.
The mobile phone terminal user installs the same APP on the first mobile phone and the second mobile phone, the first mobile phone adds the intelligent switch, the intelligent socket and the intelligent lamp in the APP, namely the first mobile phone user adds the intelligent switch, the intelligent socket and the intelligent lamp in the APP installed on the first mobile phone.
After the second mobile phone logs in the APP program, the user of the second mobile phone can check all intelligent devices added to the first mobile phone on the APP program, and the user of the second mobile phone initiates a sharing request to the first mobile phone on the terminal device of the user of the second mobile phone to request to share the intelligent switch and the intelligent socket. When the first mobile phone receives the sharing request of the second mobile phone, the first mobile phone sends the household appliance permission to the second mobile phone, namely, the household appliance permission is shared in the APP, the control permission of the intelligent switch is shared, and further, the time limit of the authorization is that when the second mobile phone is not in the same wireless local area network with the first mobile phone, the authorization is permanently invalid, and then the second mobile phone forbids to control the household appliance. The smart socket is shared, the smart socket is authorized to be temporarily invalid, when the second mobile phone and the first mobile phone are not in the same wireless local area network, the authorization is invalid, when the second mobile phone and the first mobile phone are in the same wireless local area network, the authorization is effective, and the second mobile phone can control the household appliance according to the control authority.
As shown in fig. 4, after the second mobile phone user logs in the APP installed on the second mobile phone, the first mobile phone establishes a connection with the second mobile phone lan, the APP program on the second mobile phone can view the household appliance added to the first mobile phone APP (i.e. the household appliance establishes a connection with the first mobile phone), for example, "smart socket", the second mobile phone user initiates the request of actively requiring sharing on the second mobile phone, requests "sharing smart socket", click the button of "requesting sharing" on the operation interface of "smart socket apparatus", after the request sharing request is initiated by the second mobile phone, the APP program of the first mobile phone pops up the authorized popup window, and the popup window prompt is: the second terminal user initiates a sharing request of the intelligent socket device, please select 1 of the following 2 authorization modes, and when the 2 terminals are not in the same local area network, the authorization of the second mobile phone expires and becomes invalid permanently. 2. When the 2 terminals are not in the same local area network, the authorization of the second mobile phone is temporarily expired, and when the second mobile phone and the first mobile phone are in the same local area network, the authorization takes effect immediately ". And the first mobile phone allows sharing, the authorization mode is 2, and the second mobile phone controls the intelligent socket according to the authorization mode 2. After the first mobile phone user selects the authorization mode 1, the second mobile phone user can immediately operate the intelligent socket on the APP program to perform the on/off operation of the switch. When the second mobile phone user switches the network of the second mobile phone to the 4G network and then performs the on/off operation of the switch, the APP program prompts that 'no right exists, you have no right to perform the operation, and the APP program prompts the device administrator to perform authorization and then can perform the operation', namely, prompts that 'no right exists'. At this time, the second mobile phone prohibits the control of the home appliance. When the local area network is switched again, the operation can be carried out again. After the second mobile phone user switches the network of the second mobile phone back to the local area network same as the first mobile phone, and then performs the on/off operation of the switch, the APP program also prompts that "what you don't have permission to perform the operation, and the device administrator is asked to perform authorization before the operation can be performed".
As shown in fig. 5, after the second mobile phone user logs in the APP on the second mobile phone, the APP program on the second mobile phone can view the household electrical appliance added on the first mobile phone, for example, "smart jack", the second mobile phone user initiates a request "share smart jack" on the second mobile phone, the first mobile phone allows sharing, the button of "request sharing" is clicked on the operation interface of "smart jack", after the second mobile phone initiates a request sharing requirement, an authorized popup window pops up on the APP program of the first mobile phone, and the popup window prompts: the second mobile phone user initiates a sharing request of the intelligent socket device, and please select 1 of the following 2 authorization modes, wherein after 1 and 2 terminals are not in the same local area network, the authorization of the second mobile phone expires and becomes invalid permanently. 2. When the 2 terminals are not in the same local area network, the authorization of the second mobile phone is temporarily expired, and when the second mobile phone and the first mobile phone are in the same local area network, the authorization takes effect immediately ". After the first mobile phone user selects the authorization mode 2, the 2 nd mobile phone can operate the intelligent socket device, and the second mobile phone user can immediately operate the intelligent socket on the APP program to perform on/off operation of the socket power switch. After the second mobile phone user switches the network of the second mobile phone to the 4G network, and then performs on/off operation of the socket power switch, the APP program prompts 'no right, you have no authority to perform the operation, and the device administrator is requested to perform authorization and then can perform the operation', that is, prompts 'no authority'. After the operation, when the second mobile phone is disconnected from the local area network and switched to the 4G network, and then switched to the local area network again for the second time, namely, after the second terminal user switches the network of the second mobile phone back to the local area network which is the same as that of the first mobile phone, and then the on/off operation of the socket power switch is carried out, the related operation can still be carried out, and the operation can be carried out again, namely, the second mobile phone can control the household appliance according to the control authority.
Example 3
According to an embodiment of the present invention, a control system of a home appliance is provided, and fig. 6 is a schematic diagram of the control system of the home appliance according to the embodiment. The specific implementation manner and the preferred implementation manner in this embodiment are similar to or the same as those in the above embodiments, and are not described herein again. In connection with fig. 6, the system comprises:
a first terminal device 60, configured to send a sharing request;
the second terminal device 62 is in the same local area network as the first terminal device, has a control right for controlling the household appliance device, and is configured to send a target control right of a target household appliance device corresponding to the sharing request;
the first terminal device is also used for controlling the target household appliance device based on the target control authority.
In an optional embodiment, it should be noted that, when the first mobile phone receives a sharing request of the intelligent switch (target household appliance) sent by the second mobile phone, the first terminal may share a control right (target control right) of the intelligent switch based on the sharing request of the intelligent switch, and the first mobile phone has the control right of the intelligent switch at the same time, and can control the intelligent switch to be turned on or off at a certain time or turned on at a certain time period, and the like.
Example 4
According to another aspect of the embodiments of the present invention, there is also provided a computer-readable storage medium, where the computer-readable storage medium includes a stored program, and when the program runs, the apparatus where the computer-readable storage medium is located is controlled to execute the method for controlling an electrical home appliance in any one of the above embodiments.
Specifically, the storage device, which is used for storing the program corresponding to the method of the above embodiment, may be a Solid State Disk (SSD) having a data interface and a controller (e.g., a logic circuit or other control circuit), but is not limited thereto.
Example 5
According to another aspect of the embodiments of the present invention, there is also provided a processor, where the processor is configured to execute a program, where the program executes the control method of any one of the foregoing home appliances.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
In the above embodiments of the present invention, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
In the embodiments provided in the present application, it should be understood that the disclosed technology can be implemented in other ways. The above-described embodiments of the apparatus are merely illustrative, and for example, a division of a unit may be a division of a logic function, and an actual implementation may have another division, for example, a plurality of units or components may be combined or may be integrated into another system, or some features may be omitted, or may not be executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, units or modules, and may be in an electrical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic or optical disk, and other various media capable of storing program codes.
The foregoing is only a preferred embodiment of the present invention, and it should be noted that it is obvious to those skilled in the art that various modifications and improvements can be made without departing from the principle of the present invention, and these modifications and improvements should also be considered as the protection scope of the present invention.

Claims (10)

1. A method for controlling a home appliance, comprising:
a first terminal device receives a sharing request sent by a second terminal device, wherein the first terminal device and the second terminal device are in the same local area network, and the first terminal device has a control authority for controlling household appliances;
the first terminal equipment acquires the target control authority of the target household appliance equipment corresponding to the sharing request;
and the first terminal equipment sends the target control authority to the second terminal equipment, wherein the second terminal equipment is used for controlling the target household appliance equipment based on the target control authority.
2. The method according to claim 1, wherein after the first terminal device obtains the target control right of the target household appliance device corresponding to the sharing request, the method further comprises:
the first terminal device determines an aging condition corresponding to the target control authority, wherein the aging condition is used for determining whether the target control authority is valid;
and the first terminal equipment sends the target control authority and the aging condition to the second terminal equipment, wherein the second terminal equipment is used for controlling the target household appliance equipment based on the target control authority and the aging condition.
3. The method according to claim 2, wherein the determining, by the first terminal device, the aging condition corresponding to the target control authority includes:
the first terminal equipment outputs the sharing request and at least one preset aging condition;
the first terminal equipment receives a preset aging condition selected from the at least one preset aging condition;
and the first terminal equipment determines that the selected preset aging condition is the aging condition corresponding to the target control authority.
4. The method of claim 3, wherein the at least one pre-set aging condition comprises at least one of: a first aging condition, a second aging condition, and a third aging condition, wherein,
the first time-effect condition comprises: the target control authority is invalid under the condition that the first terminal equipment and the second terminal equipment are not in the same local area network, wherein the second terminal equipment forbids to control the household appliance equipment under the condition that the target control authority is invalid;
the second aging condition includes: after the second terminal device is disconnected from the local area network, the target control authority is invalid under the condition that the second terminal device is accessed into the local area network again;
the third aging condition includes: and after the second terminal equipment is disconnected from the local area network, the target control authority is valid under the condition that the second terminal equipment is accessed into the local area network again.
5. The method according to claim 1, wherein the first terminal device and the second terminal device are installed with the same application program, wherein device information of the home appliance device is displayed in an interactive interface of the application program, and the sharing request is generated based on the device information of the target home appliance device.
6. A method for controlling a home appliance, comprising:
the method comprises the steps that a second terminal device sends a sharing request to a first terminal device, wherein the second terminal device and the first terminal device are in the same local area network, and the first terminal device has a control authority for controlling household appliances;
the second terminal equipment receives the target control authority of the target household appliance equipment returned by the first terminal equipment based on the sharing request;
and the second terminal equipment controls the target household appliance equipment based on the target control authority.
7. The method of claim 6, wherein before the second terminal device controls the target home device based on the target control permission, the method further comprises:
the second terminal device receives an aging condition corresponding to the target control authority sent by the first terminal device, wherein the aging condition is used for determining whether the target control authority is valid;
and the second terminal equipment controls the target household appliance equipment based on the target control authority and the aging condition.
8. The method according to claim 7, characterized in that said aging condition is a preset aging condition selected from at least one preset aging condition, said at least one preset time condition being output by said first terminal device.
9. The method of claim 7, wherein the second terminal device controls the target home device based on the target control authority and the aging condition, and comprises:
the second terminal equipment determines whether the target control authority is invalid or not based on the aging condition;
under the condition that the control authority is valid, the second terminal device controls the target household appliance device according to the target control authority;
and under the condition that the control authority is invalid, the second terminal equipment forbids to control the target household appliance equipment based on the target control authority.
10. A control system for an electrical household appliance, comprising:
the first terminal equipment is used for sending a sharing request;
the second terminal device is positioned in the same local area network as the first terminal device, has a control authority for controlling the household appliances, and is used for sending a target control authority of a target household appliance corresponding to the sharing request;
and the first terminal equipment is also used for controlling the target household appliance equipment based on the target control authority.
CN202010725006.0A 2020-07-24 2020-07-24 Control method and system of household appliance Pending CN111835607A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010725006.0A CN111835607A (en) 2020-07-24 2020-07-24 Control method and system of household appliance

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010725006.0A CN111835607A (en) 2020-07-24 2020-07-24 Control method and system of household appliance

Publications (1)

Publication Number Publication Date
CN111835607A true CN111835607A (en) 2020-10-27

Family

ID=72924866

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010725006.0A Pending CN111835607A (en) 2020-07-24 2020-07-24 Control method and system of household appliance

Country Status (1)

Country Link
CN (1) CN111835607A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114389910A (en) * 2022-01-12 2022-04-22 湖北星纪时代科技有限公司 Terminal control method and terminal control device based on UWB implementation
WO2022183381A1 (en) * 2021-03-02 2022-09-09 Oppo广东移动通信有限公司 Method and apparatus for setting access control right with respect to device, and device and storage medium
WO2022222733A1 (en) * 2021-04-23 2022-10-27 华为技术有限公司 Data transmission method and related device
CN115480488A (en) * 2021-05-31 2022-12-16 青岛国创智能家电研究院有限公司 Method and device for calling functions between intelligent household appliances and household appliances

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140056125A1 (en) * 2012-08-24 2014-02-27 Centurylink Intellectual Property Llc Stability Site for VPLS Multi-Homing
CN104283745A (en) * 2014-09-12 2015-01-14 小米科技有限责任公司 Method, device and system for controlling intelligent household equipment
CN108107755A (en) * 2017-11-20 2018-06-01 珠海格力电器股份有限公司 Home wiring control weighs sharing method and device
CN108810061A (en) * 2017-05-03 2018-11-13 南京市雨花台区板桥新城物业服务中心有限公司 A kind of intelligent domestic system
CN109448258A (en) * 2018-10-22 2019-03-08 四川虹美智能科技有限公司 A kind of rental server that sharing authorization, client, system and method
CN109917667A (en) * 2019-03-31 2019-06-21 广东美的制冷设备有限公司 Household appliance and its control authority sharing method, controlling terminal and storage medium

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140056125A1 (en) * 2012-08-24 2014-02-27 Centurylink Intellectual Property Llc Stability Site for VPLS Multi-Homing
CN104283745A (en) * 2014-09-12 2015-01-14 小米科技有限责任公司 Method, device and system for controlling intelligent household equipment
CN108810061A (en) * 2017-05-03 2018-11-13 南京市雨花台区板桥新城物业服务中心有限公司 A kind of intelligent domestic system
CN108107755A (en) * 2017-11-20 2018-06-01 珠海格力电器股份有限公司 Home wiring control weighs sharing method and device
CN109448258A (en) * 2018-10-22 2019-03-08 四川虹美智能科技有限公司 A kind of rental server that sharing authorization, client, system and method
CN109917667A (en) * 2019-03-31 2019-06-21 广东美的制冷设备有限公司 Household appliance and its control authority sharing method, controlling terminal and storage medium

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2022183381A1 (en) * 2021-03-02 2022-09-09 Oppo广东移动通信有限公司 Method and apparatus for setting access control right with respect to device, and device and storage medium
WO2022222733A1 (en) * 2021-04-23 2022-10-27 华为技术有限公司 Data transmission method and related device
CN115480488A (en) * 2021-05-31 2022-12-16 青岛国创智能家电研究院有限公司 Method and device for calling functions between intelligent household appliances and household appliances
CN114389910A (en) * 2022-01-12 2022-04-22 湖北星纪时代科技有限公司 Terminal control method and terminal control device based on UWB implementation

Similar Documents

Publication Publication Date Title
EP3896916B1 (en) Network distribution method for household appliance, household appliance, mobile terminal and storage medium
CN111835607A (en) Control method and system of household appliance
CN110650070B (en) Household appliance network configuration method and WiFi module
US10177932B2 (en) Method for connecting a domestic appliance to a wireless home network, computer program product, portable communications terminal and domestic appliance
US20190246346A1 (en) Method of connecting to network for home appliance, home appliance, and method of connecting to network for home appliance system
US20120331156A1 (en) Wireless control system, methods and apparatus
CN111353141B (en) Intelligent device authority control method, server, user side device and electronic device
CN105629744A (en) Control method of smart home, control system, terminal and smart home system
CN110365704B (en) Equipment binding method and device and electronic equipment
US20130271672A1 (en) Television manipulation method, handheld device, television, and television manipulation system
CN112152853A (en) Equipment network distribution method and device, computer-readable storage medium and electronic device
WO2021103619A1 (en) Network configuration terminal, network configuration method for household appliance, and computer-readable storage medium
CN104898438A (en) Household electrical appliance control method and apparatus, and terminal
CN105306320A (en) Method and device for binding clients to intelligent device
CN112312515A (en) Binding method and device of intelligent equipment, electronic equipment and storage medium
US11689385B2 (en) Home appliance, terminal device, and wireless connection method thereof
CN112817248B (en) Shared equipment management method and device, storage medium and electronic device
CN113985743A (en) Equipment control method, device and system, storage medium and electronic device
CN105485854A (en) Intelligent terminal-based air conditioner temperature control method and intelligent terminal-based air conditioner temperature control system
CN107168183B (en) Equipment control method and device
CN113709142B (en) Hot spot distribution network method and device, intelligent terminal and storage medium
CN104700039A (en) User interface loading method and device as well as thin terminal
US9485112B2 (en) Home control gateway and gateway control method thereof
CN109450751B (en) Control method and device of wireless communication module, controller and household appliance
CN202696711U (en) Household appliance system for controlling household appliances by using mobile phone and household appliances in household appliance 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
RJ01 Rejection of invention patent application after publication

Application publication date: 20201027