CN111435237A - Electric appliance control method and device, electronic equipment and storage medium - Google Patents

Electric appliance control method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN111435237A
CN111435237A CN201911391211.1A CN201911391211A CN111435237A CN 111435237 A CN111435237 A CN 111435237A CN 201911391211 A CN201911391211 A CN 201911391211A CN 111435237 A CN111435237 A CN 111435237A
Authority
CN
China
Prior art keywords
terminal
electric appliance
distance
controlled electric
controlled
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
CN201911391211.1A
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.)
Hefei Yishun Information Technology Co ltd
Original Assignee
Hefei Yishun Information Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hefei Yishun Information Technology Co ltd filed Critical Hefei Yishun Information Technology Co ltd
Priority to CN201911391211.1A priority Critical patent/CN111435237A/en
Publication of CN111435237A publication Critical patent/CN111435237A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/418Total factory control, i.e. centrally controlling a plurality of machines, e.g. direct or distributed numerical control [DNC], flexible manufacturing systems [FMS], integrated manufacturing systems [IMS], computer integrated manufacturing [CIM]
    • G05B19/4183Total factory control, i.e. centrally controlling a plurality of machines, e.g. direct or distributed numerical control [DNC], flexible manufacturing systems [FMS], integrated manufacturing systems [IMS], computer integrated manufacturing [CIM] characterised by data acquisition, e.g. workpiece identification
    • 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
    • G05B2219/00Program-control systems
    • G05B2219/20Pc systems
    • G05B2219/26Pc applications
    • G05B2219/2642Domotique, domestic, home control, automation, smart house

Abstract

The embodiment of the invention relates to the technical field of Internet of things, and discloses an electric appliance control method and device, electronic equipment and a storage medium. In the invention, the real-time distance between the terminal and the controlled electric appliance is obtained; predicting the moving distance of the terminal within a first preset time length according to the moving speed of the terminal, and taking the moving distance of the terminal within the first preset time length as a trigger distance; if the real-time distance between the terminal and the controlled electric appliance is smaller than or equal to the triggering distance, the technical means of the controlled electric appliance is started, the function of the controlled electric appliance is automatically started through positioning user terminal equipment under the condition that user operation is not needed, so that the controlled electric appliance can be started before a user reaches the position of the electric appliance, the user avoids the preheating time of the electric appliance, the service or the use of the electric appliance can be immediately obtained when the user reaches the area where the electric appliance is located, and the use experience of the electric appliance of the user is improved.

Description

Electric appliance control method and device, electronic equipment and storage medium
Technical Field
The embodiment of the invention relates to the technical field of Internet of things, in particular to an electric appliance control method, an electric appliance control device and a storage medium.
Background
With the development of science and technology, various household appliances emerge endlessly, and meanwhile, the intelligence degree of the household appliances is higher and higher, so that the living standard of people is greatly improved, and the living comfort level of people is also improved. However, for many electrical appliances, they cannot serve the user immediately when they are started, and often need a period of time before they can enter a stable working state to provide normal service for the user. Therefore, it is desirable to provide an intelligent electrical appliance control system, so that the electrical appliance can be started and operated in advance when the distance between the user and the area where the electrical appliance is located is less than the preset distance, and the user can immediately feel the service provided by the electrical appliance after entering the area.
However, the inventors of the present application found that: a fixed distance is set to start the electric appliance, so that the electric appliance cannot enter a stable working state accurately when a user reaches the position of the electric appliance, and user experience is influenced; or when the user arrives at the position of the electric appliance, the electric appliance runs for a long time, and energy waste is caused.
Disclosure of Invention
The embodiment of the invention aims to provide an electric appliance control method, an electric appliance control device, an electronic device and a storage medium, so that a controlled electric appliance can be started before a user arrives at the position of the electric appliance, the user can avoid the preheating time of the electric appliance, the service or the use of the electric appliance can be immediately obtained when the user arrives at the area of the electric appliance, and the use experience of the electric appliance of the user is improved.
In order to solve the above technical problem, an embodiment of the present invention provides an electrical appliance control method, including: acquiring a real-time distance between a terminal and a controlled electric appliance; predicting the moving distance of the terminal within a first preset time length according to the moving speed of the terminal, and taking the moving distance of the terminal within the first preset time length as a trigger distance; and if the real-time distance between the terminal and the controlled electric appliance is less than or equal to the triggering distance, starting the controlled electric appliance.
An embodiment of the present invention also provides an electric appliance control apparatus, including: the acquisition module is used for acquiring the real-time distance between the terminal and the controlled electric appliance; the calculation module is used for predicting the moving distance of the terminal within a first preset time length according to the moving speed of the terminal and taking the moving distance of the terminal within the first preset time length as a trigger distance; and the control module is used for sending a control instruction to the controlled electric appliance and indicating the controlled electric appliance to start.
An embodiment of the present invention also provides an electronic device, including: at least one processor; and a memory communicatively coupled to the at least one processor; wherein the memory stores instructions executable by the at least one processor, the instructions being executable by the at least one processor to enable the at least one processor to perform the appliance control method as described above.
Embodiments of the present invention also provide a computer-readable storage medium, including: a computer program is stored, which is characterized in that the computer program realizes the electrical control method as described above when being executed by a processor.
Compared with the prior art, the embodiment of the invention obtains the trigger distance of the electric appliance starting operation by acquiring the real-time distance between the terminal and the controlled electric appliance and predicting the moving speed of the terminal within the first preset time according to the moving speed of the terminal, and when the real-time distance between the terminal and the controlled electric appliance is less than or equal to the trigger distance, the time when the user reaches the position of the electric appliance can be judged according to the position of the terminal, so that the controlled electric appliance is started, the controlled electric appliance starts to operate in advance, and the service provided by the controlled electric appliance can be immediately obtained when the user reaches the position of the electric appliance.
In addition, the real-time distance between terminal and the controlled electrical apparatus that obtains includes: acquiring real-time position information of a terminal; and determining the real-time distance between the terminal and the controlled electric appliance according to the real-time position information of the terminal and the position of the controlled electric appliance. And positioning the terminal by using the GPS so as to accurately acquire the distance between the terminal and the controlled electric appliance.
In addition, the method comprises the following steps: calculating the moving distance of the terminal within a second preset time length according to the position information of the terminal; calculating to obtain the average speed of the terminal within a second preset time length according to the moving distance, and taking the average speed of the terminal within the second preset time length as the moving speed of the terminal; predicting the moving distance of the terminal within a first preset time according to the moving speed of the terminal, wherein the predicting comprises the following steps: and obtaining a predicted value of the movement distance of the terminal in the first preset time according to the average speed of the terminal in the second preset time and the first preset time. The moving distance of the terminal in the first preset time length is predicted through the average value of the moving speed of the terminal in a period of time, the prediction result can be more accurate, and the controlled electric appliance can be started in a more appropriate time.
In addition, after the controlled electric appliance is started, the method further comprises the following steps: acquiring real-time position information of a terminal; and if the residence time of the terminal in the preset blacklist region reaches a preset threshold value, closing the controlled electric appliance. By setting the blacklist area, after the user terminal leaves the area where the controlled electric appliance is located and enters the blacklist area, the controlled electric appliance is closed, and energy waste is avoided.
In addition, before the controlled electric appliance is started, the method further comprises the following steps: acquiring a moving track of the terminal within a third preset time length; judging whether the advancing direction of the terminal is the location of the controlled electrical appliance or not according to the moving track of the terminal within a third preset time length; and if the traveling direction of the terminal is the location of the controlled electric appliance, starting the controlled electric appliance. Whether the advancing direction of the user terminal is the location of the controlled electrical appliance is judged according to the moving track of the terminal before the terminal moves to the triggering distance, so that misjudgment caused by the fact that the advancing direction is not the location of the controlled electrical appliance due to the fact that the distance between the terminal and the controlled electrical appliance is smaller than the triggering distance is avoided, and energy waste caused by misstarting of the controlled electrical appliance is reduced.
Drawings
One or more embodiments are illustrated by the corresponding figures in the drawings, which are not meant to be limiting.
Fig. 1 is a flowchart of an appliance control method according to a first embodiment of the present invention;
fig. 2 is a flowchart of an appliance control method according to a second embodiment of the present invention;
fig. 3 is a flowchart of an appliance control method according to a third embodiment of the present invention;
FIG. 4 is a schematic configuration diagram of an electric appliance control apparatus according to a fourth embodiment of the present invention;
fig. 5 is a schematic structural diagram of an electronic device in a fifth embodiment according to the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention more apparent, embodiments of the present invention will be described in detail below with reference to the accompanying drawings. However, it will be appreciated by those of ordinary skill in the art that numerous technical details are set forth in order to provide a better understanding of the present application in various embodiments of the present invention. However, the technical solution claimed in the present application can be implemented without these technical details and various changes and modifications based on the following embodiments. The following embodiments are divided for convenience of description, and should not constitute any limitation to the specific implementation manner of the present invention, and the embodiments may be mutually incorporated and referred to without contradiction.
A first embodiment of the present invention relates to an electric appliance control method including: acquiring a real-time distance between a terminal and a controlled electric appliance; predicting the moving distance of the terminal within a first preset time length according to the moving speed of the terminal, and taking the moving distance of the terminal within the first preset time length as a trigger distance; and if the real-time distance between the terminal and the controlled electric appliance is less than or equal to the triggering distance, starting the controlled electric appliance.
The following describes the implementation details of the electrical appliance control method of the present embodiment in detail, and the following is only provided for the convenience of understanding and is not necessary for implementing the present embodiment. In the present embodiment, the controlled electrical appliance may be a household electrical appliance such as an air conditioner or a water heater; the terminal can be a mobile phone, a smart watch, or other communication terminals with positioning and communication functions.
As shown in fig. 1, the method for controlling an electrical appliance in the present embodiment specifically includes:
and step 100, matching the controlled electric appliance with a terminal.
Specifically, taking a mobile phone carried by a user as an example of a terminal, before the controlled electrical appliance is controlled by the terminal, a pairing relationship needs to be established between the controlled electrical appliance and the terminal, and after pairing, the terminal can control the controlled electrical appliance. One controlled electric appliance can be paired with a plurality of terminals and controlled by a plurality of different terminals. The user can set the authority or priority of each terminal in advance to obtain a control rule table, the controlled electric appliance stores the control rule table locally, and each received control instruction is executed according to the control rule table.
In a specific implementation, an application program for managing electrical appliances is installed on a terminal, when the terminal and a controlled electrical appliance are in the same network environment, a user operating terminal scans a two-dimensional code on the controlled electrical appliance, then identifies each device in the current network environment according to the two-dimensional code, finds the controlled electrical appliance to be managed, and establishes a pairing relationship with the controlled electrical appliance.
Step 101, acquiring a real-time distance between a terminal and a controlled electric appliance.
Specifically, the real-time distance between the terminal and the controlled electric appliance is determined by the real-time positions of the terminal and the controlled electric appliance. The present embodiment is generally applied to a home appliance such as an air conditioner, and since the position of the home appliance is generally fixed, the real-time distance between the terminal and the controlled appliance can be calculated only by acquiring the real-time position information of the terminal.
In one specific implementation, the terminal is in communication connection with the controlled electrical appliance, the terminal obtains position information of the terminal through a built-in GPS (global positioning system) module, and the position information is sent to the controlled electrical appliance through the communication module, so that the controlled electrical appliance can calculate a real-time distance between the terminal and the controlled electrical appliance.
And 102, predicting the moving distance of the terminal in a first preset time length according to the moving speed of the terminal, and taking the moving distance of the terminal in the first preset time length as a trigger distance.
Specifically, taking an air conditioner as an example, the air conditioner has a function of adjusting the ambient temperature in a room, however, since the air conditioner has limited cooling or heating capability, the ambient temperature in the room cannot be adjusted to a preset temperature value immediately after the air conditioner is turned on, and therefore, it is often necessary to adjust the ambient temperature in the room to the preset temperature value after a period of time. This time is the preheating time of the air conditioner operation. In the present embodiment, the first preset time period T1The preheating time of the controlled electric appliance is obtained.
In order to accurately calculate the time of the user arriving at home, the time of the terminal within a first preset time length needs to be predictedThe distance of movement. Firstly, calculating a second preset time length T of the terminal through position information acquired by a GPS module arranged in the terminal2Inner moving distance D0Then according to the second preset time length T of the terminal2Inner moving distance D0Calculating the average speed v of the terminal in a second preset time length0=D0/T2The terminal is used for predicting the moving speed of the trigger distance. Then according to v0And a first preset duration T1Calculating a first preset time length T of the terminal1Inner moving distance Dx=v0*T1D isxAnd the predicted value is used as the movement distance of the terminal in the first preset time period, namely the triggering distance for triggering the air conditioner to start according to the position of the terminal.
Wherein the second predicted duration T2Is also equivalent to updating v0And DxWhen a second preset time period has elapsed, a v is calculated0And DxAt this point, a second calculation cycle is entered, and when the second calculation cycle is finished, v is calculated0And DxAnd updating until the distance between the terminal and the controlled electric appliance is the trigger distance. The longer the second preset time duration is, the more accurate the obtained moving speed is often meant, but the slower the moving speed is updated, and when the user encounters an emergency in the process of traveling, the greater influence is caused on the calculation of the moving speed; the shorter the second preset time is, the higher the frequency of the acquired moving speed is, and if the user encounters an emergency during traveling, the final speed is not greatly influenced. Therefore, the second preset time duration is often preset by the user according to the actual situation.
And 103, judging whether the real-time distance between the terminal and the controlled electric appliance is greater than the trigger distance. If the actual distance between the terminal and the controlled electrical appliance is less than or equal to the trigger distance, executing step 104, and starting the controlled electrical appliance; if the real-time distance between the terminal and the controlled electrical appliance is greater than the trigger distance, the step 101 is continuously executed to obtain the real-time distance between the terminal and the controlled electrical appliance.
Specifically, when the real-time distance between the terminal and the controlled electrical appliance is greater than the trigger distance, the time required for the user carrying the terminal to reach the position of the controlled electrical appliance is greater than the preheating time, so that the position information of the terminal is continuously acquired to determine the real-time distance between the terminal and the controlled electrical appliance. And when the real-time distance between the terminal and the controlled electrical appliance is smaller than or equal to the triggering distance, the fact that the user carrying the terminal can reach the position of the controlled electrical appliance within the preheating time is predicted, and therefore the controlled electrical appliance is controlled to be started and enter the preheating time.
In one example, if the controlled electrical appliance is paired with multiple terminals at the same time, and the multiple terminals are carried by different users, it may be determined which terminal triggers the start operation of the controlled electrical appliance according to the rule. The starting operation of the controlled electric appliance can be executed when any terminal reaches the triggering distance; it is also possible to designate a unique terminal, and the starting operation of the controlled appliance is executed only when the designated terminal reaches the trigger distance.
In a specific implementation, a user may set, in advance, an operation parameter of the controlled electrical appliance after being started through an application program of electrical appliance management on the terminal, and taking an air conditioner as an example, the user may set some parameters such as an operation mode after the air conditioner is started, a set room temperature, a set wind speed, and the like. Meanwhile, the mode of the air conditioner operation also affects the preheating time of the air conditioner, for example, in the cooling mode, the larger the wind speed is, the faster the indoor environment temperature is reduced to the preset temperature. Therefore, the triggering distance D can be adjusted according to specific operation parameters of the controlled electric appliancexIf the wind speed is divided into high, middle and low three stages, the three wind speed coefficients k ∈ {0.8,1,1.2} are used for correction to make the triggering distance Dx=k*v0*T1. Similarly, the air conditioner has different cooling and heating efficiencies, and different mode coefficients can be set for the two modes to trigger the distance DxAnd (6) correcting.
The above examples in the present embodiment are for convenience of understanding, and do not limit the technical aspects of the present invention.
Compared with the prior art, the method and the device have the advantages that the moving speed of the terminal within the first preset time length is predicted according to the moving speed of the terminal, the triggering distance of the electric appliance starting operation is obtained, the distance between the terminal and the controlled electric appliance is obtained in real time, when the real-time distance between the terminal and the controlled electric appliance is smaller than or equal to the triggering distance, the time when the user reaches the position of the electric appliance can be judged according to the position of the terminal, the controlled electric appliance is started, the controlled electric appliance starts to operate in advance, and the service provided by the controlled electric appliance can be obtained immediately when the user reaches the position of the electric appliance; meanwhile, the situation of energy waste caused by premature starting of the controlled electric appliance can be avoided as much as possible.
A second embodiment of the present invention relates to an appliance control method. The second embodiment is substantially the same as the first embodiment, and mainly differs therefrom in that: in the second embodiment of the present invention, the controlled electric appliance has two trigger modes: a fixed distance trigger mode and an automatic mode; the two modes can be switched by the terminal. And after the real-time distance between the terminal and the controlled electric appliance is acquired, judging the current mode. And if the terminal is currently in the fixed distance triggering mode, directly judging whether the real-time distance between the terminal and the controlled electric appliance is greater than a preset triggering distance.
The following describes the implementation details of the electrical appliance control method of the present embodiment in detail, and the following is only provided for the convenience of understanding and is not necessary for implementing the present embodiment. In the present embodiment, the controlled electrical appliance may be a household electrical appliance such as an air conditioner or a water heater; the terminal can be a mobile phone, a smart watch, or other communication terminals with positioning and communication functions.
As shown in fig. 2, the method for controlling an electrical appliance in the present embodiment specifically includes:
and 200, matching the controlled electric appliance with the terminal.
Step 201, acquiring a real-time distance between a terminal and a controlled electrical appliance.
Steps 200 to 201 are similar to steps 100 to 101 in the first embodiment of the present invention, and the details of the implementation have been specifically described in the first embodiment of the present invention and are not repeated herein.
Step 202, determine whether the current mode is in the fixed distance trigger mode. If the current trigger mode is the fixed distance trigger mode, executing step 204, and taking the preset fixed distance as the current trigger distance; if the terminal is not in the fixed trigger distance mode, step 203 is executed, the moving distance of the terminal within the first preset time length is predicted according to the moving speed of the terminal, and the moving distance of the terminal within the first preset time length is used as the trigger distance.
Specifically, in this embodiment, the controlled device has two trigger modes: a fixed distance trigger mode and an automatic mode. In the automatic mode, the electrical control method in this embodiment is similar to that in the first embodiment of the present invention, and is not described herein again. In the fixed distance triggering mode, the triggering distance is preset by a user and cannot be changed due to the moving speed of the terminal. Meanwhile, the user can switch the two trigger modes through the terminal under any condition, and the specific mode for switching the modes is not limited in the embodiment.
In one example, the user may select which trigger mode to use depending on the particular scenario. When the user moves in a walking mode, the walking is less affected by traffic conditions, so that the moving speed of the walking is stable, a fixed distance trigger mode can be selected, the trigger distance does not need to be calculated, the consumption of terminal calculation resources is reduced, and meanwhile, the controlled electric appliance can be started at an accurate time. When the user moves in a driving mode or the like, due to the complex traffic condition, the trigger distance needs to be predicted according to the current moving speed of the user so as to adapt to the traffic condition of the user, so that the starting time of the controlled electric appliance is more accurate, and the too early or too late starting time of the controlled electric appliance is avoided.
Step 205, determine whether the real-time distance between the terminal and the controlled electrical appliance is greater than the trigger distance.
And step 206, starting the controlled electric appliance.
Steps 205 to 206 are similar to steps 103 to 104 in the first embodiment of the present invention, and the details of the implementation have been specifically described in the first embodiment of the present invention and are not repeated herein.
The above examples in the present embodiment are for convenience of understanding, and do not limit the technical aspects of the present invention.
The steps of the above methods are divided for clarity, and the implementation may be combined into one step or split some steps, and the steps are divided into multiple steps, so long as the same logical relationship is included, which are all within the protection scope of the present patent; it is within the scope of the patent to add insignificant modifications to the algorithms or processes or to introduce insignificant design changes to the core design without changing the algorithms or processes.
A third embodiment of the present invention relates to an appliance control method. The third embodiment is substantially the same as the first embodiment, and mainly differs therefrom in that: in the third embodiment of the present invention, after the controlled electrical appliance is started, when the controlled electrical appliance is in the operating state, the real-time position of the terminal is obtained, and if the residence time of the terminal in the preset black list area reaches the preset threshold, the controlled electrical appliance is turned off.
The following describes the implementation details of the electrical appliance control method of the present embodiment in detail, and the following is only provided for the convenience of understanding and is not necessary for implementing the present embodiment. In the present embodiment, the controlled electrical appliance may be a household electrical appliance such as an air conditioner or a water heater; the terminal can be a mobile phone, a smart watch, or other communication terminals with positioning and communication functions.
When the controlled electrical appliance is in the activated state, the electrical appliance control method in the present embodiment is as shown in fig. 3, and specifically includes:
step 301, acquiring a real-time position of the terminal.
Step 302, judging whether the terminal is currently in a blacklist area. If the terminal is currently in the blacklist area, executing step 303, and judging whether the residence time of the terminal in the blacklist area reaches a preset threshold value; if the terminal is not currently in the blacklist area, step 301 is continuously executed to obtain the real-time location of the terminal.
And step 303, judging whether the residence time of the terminal in the blacklist area reaches a preset threshold value. If the residence time of the terminal in the blacklist area reaches a preset threshold, executing step 304, and closing the controlled electric appliance; and if the residence time of the terminal in the blacklist area does not reach the preset threshold value, continuing to execute the step 301 to acquire the real-time position of the terminal.
And step 304, turning off the controlled electric appliance.
Specifically, the user can set a blacklist area on a map in the application program through the terminal. In the process of operating the controlled electric appliance, a user may often leave the area of the controlled electric appliance to move to other positions. The user usually leaves the area where the controlled electric appliance is located temporarily, and returns to the area where the controlled electric appliance is located after a period of time, and under the condition, the change of the real-time position of the user can be ignored, so that energy waste caused by controlling the controlled electric appliance to be started or closed for multiple times in a short time is avoided; in another case, the user leaves the area where the controlled electric appliance is located for a long time, and in this case, the controlled electric appliance needs to be turned off, so that energy is saved. Thus, the blacklisted area is generally an area where the user may stay for a long time, such as a mah-jong hall, a restaurant, a bathroom, etc., except for an area where the controlled appliance is located. And when the real-time position of the terminal indicates that the continuous residence time of the user in the blacklist area reaches a preset threshold value, closing the controlled electric appliance.
In practical applications, the preset threshold of the residence time may be set according to the time when the user goes home, such as half an hour to one hour.
In one example, consider that the user may not go home directly but enter the blacklist area during the course of going home, which means that the user will not go home for a period of time. In this case, if the terminal enters the blacklist area before the controlled electrical appliance is started, the controlled electrical appliance will not be started even if the real-time distance between the terminal and the controlled electrical appliance is less than or equal to the trigger distance. The situation that the energy is wasted because the user does not return home for a long time after the controlled electric appliance is triggered to start is avoided.
In another example, before the controlled electrical appliance is started, the moving track of the terminal before the terminal reaches the trigger distance is identified according to the moving track of the terminal within a third preset time duration, and whether the moving direction of the user carrying the terminal is the area where the controlled electrical appliance is located is judged. If the moving track of the terminal in the third preset time length indicates that the moving direction from the terminal is the location of the controlled electric appliance, continuing to start the controlled electric appliance; and if the moving track of the terminal in the third preset time length indicates that the moving direction of the terminal is not the location of the controlled electric appliance, not starting the controlled electric appliance. That is to say, when the destination of the current movement of the user carrying the terminal is judged not to be the location of the controlled electrical appliance, the misjudgment caused by the fact that the travel direction is not the location of the controlled electrical appliance because the distance between the terminal and the controlled electrical appliance is smaller than the trigger distance can be avoided, and the energy waste caused by the misstarting of the controlled electrical appliance is reduced.
The steps of the above methods are divided for clarity, and the implementation may be combined into one step or split some steps, and the steps are divided into multiple steps, so long as the same logical relationship is included, which are all within the protection scope of the present patent; it is within the scope of the patent to add insignificant modifications to the algorithms or processes or to introduce insignificant design changes to the core design without changing the algorithms or processes.
A fourth embodiment of the present invention relates to an electric appliance control method, as shown in fig. 4, including:
the obtaining module 401 is configured to obtain a real-time distance between the terminal and the controlled electrical appliance.
The calculating module 402 is configured to predict a moving distance of the terminal within a first preset time according to a moving speed of the terminal, and use the moving distance of the terminal within the first preset time as a trigger distance.
And the control module 403 is configured to send a control instruction to the controlled electrical appliance, and instruct the controlled electrical appliance to start.
In one example, the first preset time period is a preheating time period of the controlled appliance.
In one example, the obtaining of the distance between the terminal and the controlled electrical appliance in real time includes: acquiring real-time position information of a terminal; and determining the real-time distance between the terminal and the controlled electric appliance according to the real-time position information of the terminal and the position of the controlled electric appliance. In one example, the moving speed of the terminal is obtained by: calculating the moving distance of the terminal within a second preset time length according to the position information of the terminal; calculating to obtain the average speed of the terminal within a second preset time length according to the moving distance, and taking the average speed of the terminal within the second preset time length as the moving speed of the terminal; predicting the moving distance of the terminal within a first preset time according to the moving speed of the terminal, wherein the predicting comprises the following steps: and obtaining a predicted value of the movement distance of the terminal in the first preset time according to the average speed of the terminal in the second preset time and the first preset time.
In one example, after the controlled appliance is started, the method further includes: and if the residence time of the terminal in the preset blacklist region reaches a preset threshold value, closing the controlled electric appliance.
In one example, before the controlled appliance is started, the method further includes: acquiring a moving track of the terminal within a third preset time length; judging whether the advancing direction of the terminal is the location of the controlled electrical appliance or not according to the moving track of the terminal within a third preset time length; and if the traveling direction of the terminal is the location of the controlled electric appliance, starting the controlled electric appliance.
In one example, after the controlled appliance is started, the method further includes: and indicating the controlled electric appliance to operate according to the preset operation parameters of the terminal.
It should be noted that this embodiment is a virtual device example corresponding to the first to third embodiments, and may be implemented in cooperation with the first to third embodiments. The related technical details mentioned in the first to third embodiments are still valid in this embodiment, and are not described herein again in order to reduce repetition. Accordingly, the related-art details mentioned in the present embodiment can also be applied to the first to third embodiments.
It should be noted that each module referred to in this embodiment is a logical module, and in practical applications, one logical unit may be one physical unit, may be a part of one physical unit, and may be implemented by a combination of multiple physical units. In addition, in order to highlight the innovative part of the present invention, elements that are not so closely related to solving the technical problems proposed by the present invention are not introduced in the present embodiment, but this does not indicate that other elements are not present in the present embodiment.
A fourth embodiment of the invention relates to an electronic device, as shown in fig. 5, comprising at least one processor 501; and a memory 502 communicatively coupled to the at least one processor 501; the memory 502 stores instructions executable by the at least one processor 501, and the instructions are executed by the at least one processor 501, so that the at least one processor 501 can execute the electric appliance control methods of the first to third embodiments.
The memory 502 and the processor 501 are coupled by a bus, which may include any number of interconnected buses and bridges that couple one or more of the various circuits of the processor 501 and the memory 502 together. The bus may also connect various other circuits such as peripherals, voltage regulators, power management circuits, and the like, which are well known in the art, and therefore, will not be described any further herein. A bus interface provides an interface between the bus and the transceiver. The transceiver may be one element or a plurality of elements, such as a plurality of receivers and transmitters, providing a means for communicating with various other apparatus over a transmission medium. The data processed by the processor 501 is transmitted over a wireless medium through an antenna, which further receives the data and transmits the data to the processor 501.
The processor 501 is responsible for managing the bus and general processing and may also provide various functions including timing, peripheral interfaces, voltage regulation, power management, and other control functions. And memory 502 may be used to store data used by processor 501 in performing operations.
A sixth embodiment of the present invention relates to a computer-readable storage medium storing a computer program. The computer program realizes the above-described method embodiments when executed by a processor.
That is, as can be understood by those skilled in the art, all or part of the steps in the method for implementing the embodiments described above may be implemented by a program instructing related hardware, where the program is stored in a storage medium and includes several instructions to enable a device (which may be a single chip, a chip, or the like) or a processor (processor) to execute all or part of the steps of the method described in the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
It will be understood by those of ordinary skill in the art that the foregoing embodiments are specific examples for carrying out the invention, and that various changes in form and details may be made therein without departing from the spirit and scope of the invention in practice.

Claims (10)

1. An appliance control method, comprising:
acquiring a real-time distance between a terminal and a controlled electric appliance;
predicting the moving distance of the terminal within a first preset time according to the moving speed of the terminal, and taking the moving distance of the terminal within the first preset time as a trigger distance;
and if the real-time distance between the terminal and the controlled electric appliance is less than or equal to the triggering distance, starting the controlled electric appliance.
2. The electric appliance control method according to claim 1, wherein the first preset time period is a preheating time period of the controlled electric appliance.
3. The electrical appliance control method according to claim 1, wherein the obtaining of the distance between the terminal and the controlled electrical appliance in real time comprises:
acquiring real-time position information of the terminal;
and determining the real-time distance between the terminal and the controlled electric appliance according to the real-time position information of the terminal and the position of the controlled electric appliance.
4. The electric appliance control method according to claim 3, wherein the moving speed of the terminal is obtained by:
calculating the moving distance of the terminal within a second preset time according to the position information of the terminal;
calculating to obtain the average speed of the terminal within a second preset time length according to the moving distance, and taking the average speed of the terminal within the second preset time length as the moving speed of the terminal;
the predicting the moving distance of the terminal within a first preset time according to the moving speed of the terminal comprises the following steps:
and obtaining a predicted value of the movement distance of the terminal in the first preset time according to the average speed of the terminal in the second preset time and the first preset time.
5. The electric appliance control method according to claim 1,
after the controlled electric appliance is started, the method further comprises the following steps:
and if the residence time of the terminal in the preset blacklist area reaches a preset threshold value, closing the controlled electric appliance.
6. The appliance control method according to any one of claims 1 to 5, further comprising, before the starting the controlled appliance:
acquiring a moving track of the terminal within a third preset time length;
judging whether the advancing direction of the terminal is the location of the controlled electric appliance or not according to the moving track of the terminal within a third preset time length;
and if the advancing direction of the terminal is the location of the controlled electric appliance, executing the starting of the controlled electric appliance.
7. The electric appliance control method according to claim 6, further comprising, after the starting of the controlled electric appliance:
and indicating the controlled electric appliance to operate according to the preset operating parameters of the terminal.
8. An appliance control device, comprising:
the acquisition module is used for acquiring the real-time distance between the terminal and the controlled electric appliance;
the calculation module is used for predicting the moving distance of the terminal within a first preset time length according to the moving speed of the terminal and taking the moving distance of the terminal within the first preset time length as a trigger distance;
and the control module is used for sending a control instruction to the controlled electric appliance and indicating the controlled electric appliance to start.
9. An electronic device, comprising:
at least one processor; and the number of the first and second groups,
a memory communicatively coupled to the at least one processor; wherein the content of the first and second substances,
the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the appliance control method of any one of claims 1 to 7.
10. A computer-readable storage medium storing a computer program, wherein the computer program, when executed by a processor, implements the appliance control method according to any one of claims 1 to 7.
CN201911391211.1A 2019-12-30 2019-12-30 Electric appliance control method and device, electronic equipment and storage medium Pending CN111435237A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911391211.1A CN111435237A (en) 2019-12-30 2019-12-30 Electric appliance control method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911391211.1A CN111435237A (en) 2019-12-30 2019-12-30 Electric appliance control method and device, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN111435237A true CN111435237A (en) 2020-07-21

Family

ID=71580986

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911391211.1A Pending CN111435237A (en) 2019-12-30 2019-12-30 Electric appliance control method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN111435237A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112346350A (en) * 2020-11-09 2021-02-09 青岛有信智能科技有限公司 Intelligent household detection system based on Internet of things
CN113777938A (en) * 2021-08-31 2021-12-10 东风柳州汽车有限公司 Household appliance control method, device, equipment and storage medium
CN114237065A (en) * 2021-12-16 2022-03-25 珠海格力电器股份有限公司 Smart home control method and device, storage medium and electronic equipment
CN115422783A (en) * 2022-11-04 2022-12-02 中国海洋大学 Data modeling method and system

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103499960A (en) * 2013-10-09 2014-01-08 广东索博智能科技有限公司 Intelligent household wireless control system
CN104536346A (en) * 2014-12-18 2015-04-22 珠海格力电器股份有限公司 Intelligent device control method and system
CN105159105A (en) * 2015-08-13 2015-12-16 小米科技有限责任公司 Work method and device of intelligent electric appliance
CN105785939A (en) * 2014-12-26 2016-07-20 北京奇虎科技有限公司 Smart household control system
CN108255086A (en) * 2016-12-29 2018-07-06 佛山市顺德区美的电热电器制造有限公司 A kind of household electric appliance control method and device
WO2018145641A1 (en) * 2017-02-08 2018-08-16 Zhejiang Geely Holding Group Co., Ltd. Control method, apparatus and system

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103499960A (en) * 2013-10-09 2014-01-08 广东索博智能科技有限公司 Intelligent household wireless control system
CN104536346A (en) * 2014-12-18 2015-04-22 珠海格力电器股份有限公司 Intelligent device control method and system
CN105785939A (en) * 2014-12-26 2016-07-20 北京奇虎科技有限公司 Smart household control system
CN105159105A (en) * 2015-08-13 2015-12-16 小米科技有限责任公司 Work method and device of intelligent electric appliance
CN108255086A (en) * 2016-12-29 2018-07-06 佛山市顺德区美的电热电器制造有限公司 A kind of household electric appliance control method and device
WO2018145641A1 (en) * 2017-02-08 2018-08-16 Zhejiang Geely Holding Group Co., Ltd. Control method, apparatus and system

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112346350A (en) * 2020-11-09 2021-02-09 青岛有信智能科技有限公司 Intelligent household detection system based on Internet of things
CN113777938A (en) * 2021-08-31 2021-12-10 东风柳州汽车有限公司 Household appliance control method, device, equipment and storage medium
CN113777938B (en) * 2021-08-31 2023-07-18 东风柳州汽车有限公司 Household appliance control method, device, equipment and storage medium
CN114237065A (en) * 2021-12-16 2022-03-25 珠海格力电器股份有限公司 Smart home control method and device, storage medium and electronic equipment
CN115422783A (en) * 2022-11-04 2022-12-02 中国海洋大学 Data modeling method and system

Similar Documents

Publication Publication Date Title
CN111435237A (en) Electric appliance control method and device, electronic equipment and storage medium
CN104977867A (en) Control method and apparatus of intelligent household electrical appliances, and mobile terminal
CN102914024B (en) The control method of air-conditioner and terminal
CN1889614B (en) Air conditioning system with long-distance positioning function and controller and control method thereof
CN102809958B (en) The system of the state in remote control place
EP3136789A1 (en) Method and device for controlling network connection
CN113251609B (en) Control method and device for household appliance and household appliance
CN105571049A (en) Air conditioner control method and air conditioner controller
EP3688544B1 (en) Controlling the operation of aerial ues
CN105864951A (en) Air-conditioning control method and air conditioner
CN105425603A (en) Method and apparatus for controlling intelligent equipment
CN105163370A (en) Network access processing method and access point
CN109059180A (en) Control method, device, air conditioner and the computer readable storage medium of air conditioner
CN110986302B (en) Air conditioner, control method thereof, control terminal, server and storage medium
CN110986290A (en) Air conditioner, control method thereof, control terminal, server and storage medium
CN105527848A (en) Communication device and method for controlling communication device
CN109725578B (en) Hotel management method, system and device and computer storage medium
CN111190353A (en) Intelligent household appliance instruction conflict processing method and device, storage medium and electronic device
CN103888627A (en) Calling service system based on house position
CN111698736A (en) Intelligent household electrical appliance network switching method and device, computer equipment and server
CN114857745A (en) Method and device for controlling air conditioner to repel mosquitoes, air conditioner and storage medium
CN113777948A (en) Control method and device of household appliance and nonvolatile storage medium
CN103900224A (en) Air conditioner controlling method and first air conditioner
KR20220044635A (en) Network switching apparatus and method of operating network switching apparatus
CN110136424B (en) Equipment control method and equipment

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: 20200721

RJ01 Rejection of invention patent application after publication