CN115356938A - Intelligent gateway control method and device, intelligent gateway and storage medium - Google Patents

Intelligent gateway control method and device, intelligent gateway and storage medium Download PDF

Info

Publication number
CN115356938A
CN115356938A CN202210989324.7A CN202210989324A CN115356938A CN 115356938 A CN115356938 A CN 115356938A CN 202210989324 A CN202210989324 A CN 202210989324A CN 115356938 A CN115356938 A CN 115356938A
Authority
CN
China
Prior art keywords
time length
gear
temperature
target
positioning information
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
CN202210989324.7A
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.)
Zhengzhou Huatai United Industrial Automation Co ltd
Original Assignee
Zhengzhou Huatai United Industrial Automation 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 Zhengzhou Huatai United Industrial Automation Co ltd filed Critical Zhengzhou Huatai United Industrial Automation Co ltd
Priority to CN202210989324.7A priority Critical patent/CN115356938A/en
Publication of CN115356938A publication Critical patent/CN115356938A/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
    • 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)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Automation & Control Theory (AREA)
  • Manufacturing & Machinery (AREA)
  • Quality & Reliability (AREA)
  • Selective Calling Equipment (AREA)

Abstract

The invention discloses an intelligent gateway control method and device, an intelligent gateway and a storage medium, and relates to the technical field of automatic control. The method comprises the steps that a mobile terminal is received to initiate a control request aiming at target equipment; estimating a first time length required from a position corresponding to the first positioning information to a position corresponding to the second positioning information based on the first positioning information carried in the request and the second positioning information of the target equipment; determining a second time length required for reaching the target temperature according to the detected current temperature, the target temperature carried in the request and a historical temperature change curve of the target equipment after starting; starting a timer when the second time length is less than the first time length; updating the first time length based on the newly acquired first positioning information of the mobile terminal, and updating the remaining time length of the timer; and when the timer finishes timing, the control target device starts. The method, the device, the intelligent gateway and the storage medium disclosed by the invention can realize intelligent control of the temperature control equipment and reduce waste of power resources.

Description

Intelligent gateway control method and device, intelligent gateway and storage medium
Technical Field
The invention belongs to the technical field of automation control, and particularly relates to an intelligent gateway control method and device, an intelligent gateway and a storage medium.
Background
With the development and progress of science and technology, intelligent home control is more and more widely applied to various families, traditional intelligent home control mainly comprises the steps that an intelligent gateway is arranged, home equipment is remotely controlled through a mobile terminal, for example, a user remotely controls the starting of temperature control equipment such as an air conditioner and an electric water heater in a house through an intelligent mobile phone, so that the indoor temperature or the temperature of a water tank of the water heater reaches a specified temperature, the temperature is continuously maintained at the specified temperature after the specified temperature is reached, and if the user prematurely starts the temperature control equipment such as the air conditioner and the isothermal control equipment, the temperature of the indoor temperature or the temperature of the water tank of the water heater is controlled at the specified temperature and is maintained for a long time before the user returns home, the electric water heater is kept constant in temperature for a long time, electric quantity is consumed, and unnecessary electric power resources are wasted.
Therefore, how to provide an effective scheme to avoid unnecessary waste of power resources when performing remote control on the temperature control device has become a challenge in the prior art.
Disclosure of Invention
The invention aims to provide an intelligent gateway control method, an intelligent gateway control device, an intelligent gateway and a storage medium, which are used for solving the problems in the prior art.
In order to achieve the purpose, the invention adopts the following technical scheme:
in a first aspect, an intelligent gateway control method is provided, which is applied to an intelligent gateway, where the intelligent gateway is in communication connection with a mobile terminal and at least one temperature control device, and the at least one temperature control device is installed indoors, and the method includes:
receiving a control request which is initiated by the mobile terminal and aims at a target device in the at least one temperature control device, wherein the control request carries first positioning information and a target temperature of the mobile terminal;
estimating a first time length required from a position corresponding to the first positioning information to a position corresponding to the second positioning information by calling an electronic map based on the first positioning information and the second positioning information of the target equipment;
determining a second time length required for reaching the target temperature from the current temperature according to the current temperature detected by the temperature detector arranged in the target equipment, the target temperature and a historical temperature change curve of the target equipment after starting;
starting a timer when the second time length is less than the first time length, wherein the timing time length of the timer is the difference value between the first time length and the second time length;
acquiring new first positioning information of the mobile terminal in a heartbeat mode, updating the first time length based on the new first positioning information, and updating the remaining time length of the timer based on the updated first time length;
and controlling the target equipment to start when the timing of the timer is finished.
In one possible design, the estimating, by using the electronic map, a first time period required from the position corresponding to the first positioning information to the position corresponding to the second positioning information includes:
sending a calling request to the mobile terminal so that the mobile terminal can call the installed electronic map to estimate a first time length required from the position corresponding to the first positioning information to the position corresponding to the second positioning information;
and receiving the first duration sent by the mobile terminal.
In a possible design, the determining, according to a current temperature detected by a temperature detector provided for the target device, the target temperature, and a historical temperature change curve of the target device after being started, a second time period required for reaching the target temperature from the current temperature includes:
determining a second time length required for reaching the target temperature from the current temperature at each gear according to the current temperature detected by the temperature detector set by the target equipment, the target temperature and a historical temperature change curve of the target equipment after being started at each gear;
the starting a timer when the second duration is less than the first duration includes:
when the second time length corresponding to at least one gear is smaller than the first time length, determining the timing time length of a timer and starting the timer based on the second time length corresponding to the lowest gear in the at least one gear and the first time length;
the updating the remaining duration of the timer based on the updated first duration includes:
and updating the remaining time length of the timer based on the updated first time length and a second time length corresponding to the lowest gear in the at least one gear, and setting the lowest gear in the at least one gear as an opening gear for controlling the target equipment to be opened.
In one possible design, the updating the remaining duration of the timer based on the updated first duration and the second duration corresponding to the lowest gear of the at least one gear includes:
if the updated first time length is larger than or equal to a second time length corresponding to the lowest gear in the at least one gear, updating the remaining time length of the timer based on the updated first time length and the second time length corresponding to the lowest gear in the at least one gear;
if the updated first time length is less than a second time length corresponding to the lowest gear in the at least one gear, and the difference value between the second time length corresponding to the lowest gear in the at least one gear and the updated first time length is less than or equal to a preset threshold value, updating the remaining time length of the timer to be zero;
if the updated first time length is smaller than a second time length corresponding to the lowest gear in the at least one gear, re-determining whether the second time length corresponding to the at least one gear is smaller than the updated first time length, if so, updating the remaining time length of the timer based on the updated first time length and the newly determined second time length corresponding to the lowest gear in the at least one gear, if not, updating the remaining time length of the timer to zero, and taking the highest gear in each gear as the lowest gear in the newly determined at least one gear.
In one possible design, the target device is an air conditioner, the intelligent gateway is further in communication connection with an electric window opener for controlling opening and closing of a window, and when the target device is controlled to be started, the method further comprises the following steps:
and sending a control signal to the electric window opener so that the electric window opener controls the window to be closed.
In one possible design, the method further includes:
and when the second time length is greater than or equal to the first time length, controlling the target equipment to start.
In one possible design, the at least one temperature control device comprises an air conditioner, an electric water heater and/or a water floor heater.
In a second aspect, an intelligent gateway control device is provided and applied to an intelligent gateway, the intelligent gateway is respectively in communication connection with a mobile terminal and at least one temperature control device, the at least one temperature control device is installed indoors, and the intelligent gateway control device includes:
a receiving unit, configured to receive a control request, which is initiated by the mobile terminal and is addressed to a target device in the at least one temperature control device, where the control request carries first positioning information and a target temperature of the mobile terminal;
the calling unit is used for estimating a first time length required from the position corresponding to the first positioning information to the position corresponding to the second positioning information by calling an electronic map based on the first positioning information and the second positioning information of the target equipment;
the determining unit is used for determining a second time length required for reaching the target temperature from the current temperature according to the current temperature detected by the temperature detector arranged on the target equipment, the target temperature and a historical temperature change curve of the target equipment after starting;
the timing unit starts a timer when the second time length is less than the first time length, wherein the timing time length of the timer is the difference value between the first time length and the second time length;
the acquiring unit is used for acquiring new first positioning information of the mobile terminal in a heartbeat mode;
the updating unit is used for updating the first time length based on the new first positioning information and updating the residual time length of the timer based on the updated first time length;
and the control unit is used for controlling the target equipment to start when the timing of the timer is finished.
In a third aspect, an intelligent gateway is provided, which includes a memory, a processor and a transceiver, which are sequentially connected in communication, where the memory is used to store a computer program, the transceiver is used to transmit and receive a message, and the processor is used to read the computer program and execute the gateway intelligent control method according to the first aspect.
In a fourth aspect, a computer-readable storage medium is provided, where the computer-readable storage medium has stored thereon instructions, and when the instructions are executed on a computer, the method for intelligently controlling a gateway according to the first aspect is executed.
In a fifth aspect, there is provided a computer program product containing instructions which, when run on a computer, cause the computer to perform the gateway intelligent control method according to the first aspect.
Has the advantages that:
according to the gateway intelligent control method, a control request which is initiated by a mobile terminal and aims at a target device in at least one temperature control device is received, and the control request carries first positioning information and a target temperature of the mobile terminal; estimating a first time length required from a position corresponding to the first positioning information to a position corresponding to the second positioning information by calling the electronic map based on the first positioning information and the second positioning information of the target equipment; determining a second time length required for reaching the target temperature from the current temperature according to the current temperature detected by the temperature detector arranged on the target equipment, the target temperature and a historical temperature change curve of the target equipment after starting; starting a timer when the second time length is less than the first time length, wherein the timing time length of the timer is the difference value between the first time length and the second time length; acquiring new first positioning information of the mobile terminal in a heartbeat mode, updating first time length based on the new first positioning information, and updating the residual time length of the timer based on the updated first time length; and when the timer finishes timing, the control target device starts. Therefore, the first time length required for reaching the position of the temperature control device can be estimated according to the first positioning information of the mobile terminal and the second positioning information of the target device, meanwhile, the timer is started in combination with the second time length required for reaching the target temperature from the current temperature, the remaining time length of the timer is updated in time, and the target device is controlled to be started when the timer finishes timing (namely the first time length is equal to the second time length), so that when a user of the mobile terminal reaches the indoor position of the target device, the temperature controlled by the temperature control device just reaches the required target temperature, unnecessary electric quantity is prevented from being consumed due to long-time constant temperature maintenance during the period that the user reaches the indoor position of the target device, the indoor temperature control device is remotely controlled, meanwhile, intelligent control of the temperature control device is achieved, waste of electric power resources is reduced, and practical application and popularization are facilitated.
Drawings
Fig. 1 is a schematic application environment diagram of a gateway intelligent control method, an apparatus, an intelligent gateway, and a storage medium according to an embodiment of the present application;
fig. 2 is a flowchart of an intelligent gateway control method according to an embodiment of the present application;
fig. 3 is a schematic block diagram of a gateway intelligent control apparatus provided in an embodiment of the present application;
fig. 4 is a schematic block diagram of an intelligent gateway provided in an embodiment of the present application.
Detailed Description
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the present invention will be briefly described below with reference to the accompanying drawings and the embodiments or the description in the prior art, it is obvious that the following description of the structure of the drawings is only some embodiments of the present invention, and other drawings can be obtained by those skilled in the art without creative efforts. It should be noted that the description of the embodiments is provided to help understanding of the present invention, but the present invention is not limited thereto.
In order to avoid unnecessary waste of power resources when the temperature control equipment is remotely controlled, embodiments of the application provide an intelligent gateway control method, an intelligent gateway control device, an intelligent gateway and a storage medium.
First, in order to more intuitively understand the solution provided in the embodiment of the present application, a system architecture of the gateway intelligent control solution provided in the embodiment of the present application is described below with reference to fig. 1.
Fig. 1 is a schematic application environment diagram of a gateway intelligent control method, an apparatus, an intelligent gateway, and a storage medium according to one or more embodiments of the present application. As shown in fig. 1, the intelligent gateway is in communication connection with the mobile terminal through a network, and the intelligent gateway is also in communication connection with at least one temperature control device, which is installed indoors. The network can be a wired or wireless network, the mobile terminal can be but is not limited to a smart water machine, a tablet computer or a personal digital assistant, and the like, and the at least one temperature control device comprises an air conditioner, an electric water heater and/or a water floor heating device.
The following describes in detail an intelligent gateway control method provided in an embodiment of the present application.
For convenience of description, except for special description, the embodiments of the present application all use an intelligent gateway as an execution subject for description.
It is to be understood that the described execution body does not constitute a limitation of the embodiments of the present application.
As shown in fig. 2, the gateway intelligent control method provided in the first aspect of the embodiment of the present application may include the following steps S201 to S206.
Step S201. Receiving a control request initiated by the mobile terminal and aiming at a target device in at least one temperature control device.
In the embodiment of the application, the target device is one of the at least one temperature control device, and when a user of the mobile terminal needs to control the temperature control device to make the temperature controlled by the temperature control device reach the target temperature, a control request can be sent to the intelligent gateway, where the control request carries the first positioning information and the target temperature of the mobile terminal. Wherein, if temperature control equipment is the air conditioner, then the temperature that temperature control equipment controlled can indicate indoor temperature, if temperature control equipment is electric water heater, then the temperature that temperature control equipment controlled can indicate the temperature of water in the electric water heater water tank, if temperature control equipment is the water floor heating, then the temperature that temperature control equipment controlled can indicate indoor earth's surface temperature.
The example target device is an air conditioner, a user can input indoor temperature to be controlled through a mobile terminal, meanwhile, the mobile terminal can obtain current positioning information of the mobile terminal through a positioning unit of the mobile terminal, and generates a control request based on the input temperature and the obtained positioning information and then sends the control request to the intelligent gateway, wherein the control request carries the input temperature and the obtained positioning information. It will be appreciated that the entered temperature may be a preset default temperature.
Step S202, based on the first positioning information and the second positioning information of the target device, a first time length required from a position corresponding to the first positioning information to a position corresponding to the second positioning information is estimated by calling the electronic map.
The called electronic map may be an electronic map installed in the mobile terminal, and the electronic map may be, but is not limited to, a high-grade map or an Tencent map. Specifically, the intelligent gateway may send a call request to the mobile terminal, so that the mobile terminal calls the installed electronic map to estimate a first time length required from the position corresponding to the first positioning information to the position corresponding to the second positioning information. After the mobile terminal estimates a first time length required from the position corresponding to the first positioning information to the position corresponding to the second positioning information, the first time length can be sent to the intelligent gateway, and the intelligent gateway receives the first time length sent by the mobile terminal.
It may be understood that, in some other embodiments, the first time period required from the position corresponding to the first positioning information to the position corresponding to the second positioning information may also be estimated in other manners, for example, by sending a call request to other terminal devices in communication connection with the intelligent gateway, so that the other terminal devices call the electronic map installed therein to estimate the first time period required from the position corresponding to the first positioning information to the position corresponding to the second positioning information, which is not illustrated in this embodiment.
And S203, determining a second time length required for reaching the target temperature from the current temperature according to the current temperature detected by the temperature detector set by the target equipment, the target temperature and a historical temperature change curve of the target equipment after starting.
The target device is provided with a temperature detector for detecting the current temperature, if the air conditioner is provided with the indoor temperature that the temperature detector can be used for detecting the place of the temperature detector, the electric water heater is provided with the temperature detector and can be used for detecting the water temperature in the water tank, and the water floor heating device is provided with the temperature detector and can be used for detecting the indoor earth surface temperature.
The intelligent gateway can record a historical temperature change curve of each temperature control device in the at least one temperature control device after being started (detected by a temperature detector carried by the intelligent gateway), and the intelligent gateway can determine a second time length required for reaching the target temperature from the current temperature according to the current temperature detected by the temperature detector set by the target device, the target temperature and the historical temperature change curve of the target device after being started.
In one or more embodiments, the target device may be provided with a plurality of gears, and different gears may operate with different powers, so that the time taken for the target device to reach the target temperature by controlling the temperature to be different when the target device operates in different gears may be different. When the second time length required for reaching the target temperature from the current temperature is determined, the second time length required for reaching the target temperature from the current temperature in each gear can be determined according to the current temperature detected by the temperature detector arranged on the target equipment, the target temperature and the historical temperature change curve of the target equipment after being started in each gear.
Example target devices are air conditioners and have 4 gear stages and are respectively gear stages 1 to 4, the current temperature is 38 ℃, the target temperature is 29 ℃, it is known from the historical temperature change curves after the start of each gear stage that 15 minutes are required for the indoor temperature to reach 29 ℃ from 38 ℃ in gear stage 1, 13 minutes are required for the indoor temperature to reach 29 ℃ from 38 ℃ in gear stage 2, 10 minutes are required for the indoor temperature to reach 29 ℃ from 38 ℃ in gear stage 3, and 8 minutes are required for the indoor temperature to reach 29 ℃ from 38 ℃ in gear stage 4, then the second period of time required to reach the target temperature from the current temperature in gear stage 1 is 15 minutes, the second period of time required to reach the target temperature from the current temperature in gear stage 2 is 13 minutes, the second period of time required to reach the target temperature from the current temperature in gear stage 3 is 10 minutes, and the second period of time required to reach the target temperature from the current temperature in gear stage 4 is 8 minutes.
And S204, starting a timer when the second time length is less than the first time length, wherein the timing time length of the timer is the difference value between the first time length and the second time length.
If the second time length is less than the first time length, namely the second time length required for reaching the target temperature from the previous temperature is less than the time length from the position corresponding to the first positioning information of the mobile terminal to the position corresponding to the second positioning information of the target equipment, namely the time for the user of the mobile terminal to reach the indoor position where the target equipment is located is enough to enable the current temperature to reach the target temperature through the target equipment. At this time, a timer can be started, and the timing duration of the timer is the difference between the first duration and the second duration. For example, the first time period is 30 minutes, the second time period is 20 minutes, and the timer may count for 10 minutes.
It can be understood that, if the target device has a plurality of gears and the second duration corresponding to each gear differs, when the timer is started, it may be determined whether a duration corresponding to at least one gear in the plurality of gears is smaller than the first duration, and if so, the timing duration of the timer is determined based on the second duration corresponding to the lowest gear in the at least one gear and the first duration, and the timer is started. The example target device comprises 3 gears, the first time duration is 30 minutes, the second time duration corresponding to the third gear in the three gears is 10 minutes, the second time duration corresponding to the second gear is 15 minutes, the second time duration corresponding to the first gear is 20 minutes, and if the first gear is the lowest, the timing time duration of the timer is determined to be 10 minutes and the timer is started.
It can be understood that, if the second duration is greater than or equal to the first duration, it indicates that the user of the mobile terminal does not have enough time to make the current temperature reach the target temperature through the target device before reaching the room where the target device is located, and at this time, the target device may be directly controlled to start.
And S205, acquiring new first positioning information of the mobile terminal in a heartbeat mode, updating the first time length based on the new first positioning information, and updating the residual time length of the timer based on the updated first time length.
The first duration is estimated by calling the electronic map, certain deviation is inevitably generated between the first duration and the actual situation, and in order to guarantee accuracy as much as possible, in the embodiment of the application, new first positioning information of the mobile terminal can be obtained in a heartbeat mode, the first duration is updated based on the new first positioning information of the mobile terminal, and the remaining duration of the timer is updated based on the updated first duration, so that real-time updating of the timer is realized. The heartbeat frequency for acquiring the new first positioning information of the mobile terminal may be set according to actual conditions, for example, the new first positioning information of the mobile terminal may be acquired every 30 seconds or 1 minute. The updating of the first time length based on the new first positioning information of the mobile terminal may be updating the first time length according to a plurality of continuous first positioning information newly obtained by the mobile terminal.
It is to be understood that, if the target apparatus has a plurality of gear positions, when the remaining period of the timer is updated based on the updated first period, the remaining period of the timer may be updated based on the updated first period and a second period corresponding to a lowest gear position of the at least one gear position, and the lowest gear position of the at least one gear position may be set as an open gear position at which the control target apparatus is opened.
More specifically, updating the remaining time period of the timer based on the updated first time period and the second time period corresponding to the lowest gear of the at least one gear may include the following several cases.
In the first case: and if the updated first time length is larger than or equal to a second time length corresponding to the lowest gear in the at least one gear, updating the remaining time length of the timer based on the updated first time length and the second time length corresponding to the lowest gear in the at least one gear.
In the second case: and if the updated first time length is less than the second time length corresponding to the lowest gear in the at least one gear, and the difference value between the second time length corresponding to the lowest gear in the at least one gear and the updated first time length is less than or equal to a preset threshold value, updating the remaining time length of the timer to be zero. That is to say, when a user of the mobile terminal arrives at a room where the target device is located, the target device is started at the lowest gear of the at least one gear, and basically, the current temperature can just reach the target temperature, and at this time, the timing of the timer is ended, so that the target device can be started at the lowest gear of the at least one gear after the timing is ended, and the temperature controlled by the target device (such as the indoor temperature, the water temperature in a water tank of an electric water heater, and the like) just reaches the user requirement.
In the third case: if the updated first time length is smaller than a second time length corresponding to the lowest gear in the at least one gear, re-determining whether the second time length corresponding to the at least one gear is smaller than the updated first time length, if so, updating the remaining time length of the timer based on the updated first time length and a second time length corresponding to the lowest gear in the at least one newly determined gear, if not, updating the remaining time length of the timer to zero, and taking the highest gear in each gear as the lowest gear in the at least one newly determined gear.
If the updated first time length is less than the second time length corresponding to the lowest gear in the at least one gear, it is indicated that the target equipment is directly started at the lowest gear at the moment, when the user arrives at the room where the target equipment is located, the temperature controlled by the target equipment cannot meet the temperature control requirement of the user, at this time, whether the second time length corresponding to the at least one gear is less than the updated first time length can be determined again, if so, the remaining time length of the timer is updated based on the updated first time length and the newly determined second time length corresponding to the lowest gear in the at least one gear, and the newly determined lowest gear in the at least one gear is set as the starting gear when the target equipment is controlled to be started.
For example, the updated first time period is 10 minutes, the lowest gear in the at least one gear is gear 1, the corresponding second time period is 12 minutes, the remaining gears in the at least one gear are gear 2 and gear 3, and the corresponding second time periods are 9 minutes and 6 minutes respectively, where the gear in gear 1 is the lowest and the gear in gear 3 is the highest, at this time, the corresponding gear 2 may be determined again as the lowest gear in the at least one gear (gear 2 and gear 3), the remaining time period of the timer is updated to 1 minute, and the gear 2 is set as the open gear when the control target device is turned on. Therefore, when the user arrives at the indoor where the target equipment is located, the temperature controlled by the target equipment can meet the temperature control requirement of the user.
If the second time length corresponding to any gear is not less than the updated first time length, the fact that the target equipment is started in any gear means that the temperature controlled by the target equipment cannot meet the temperature control requirement of the user when the user reaches the room where the target equipment is located. At this moment, the remaining duration of the timer can be updated to zero, the highest gear in each gear is used as the lowest gear in the at least one newly determined gear, and the intelligent gateway sets the lowest gear in the at least one gear as the starting gear when the target equipment is controlled to be started, so that the target equipment can be started at the highest gear, the temperature controlled by the target equipment is as close to the temperature control requirement of the user as possible when the user arrives indoors where the target equipment is located, and the user experience is improved.
And S206, controlling the target device to start when the timer finishes timing.
Specifically, when the timer finishes timing, the intelligent gateway may control the target device to start in the lowest gear of the at least one gear determined latest.
In one or more embodiments, the target device is an air conditioner, the intelligent gateway is further in communication connection with an electric window opener for controlling opening and closing of a window, and when the target device is controlled to be started, the method further includes: and sending a control signal to the electric window opener so that the electric window opener controls the window to be closed. Therefore, the refrigerating or heating effect of the air conditioner can be guaranteed, and the temperature controlled by the target equipment can meet the temperature control requirement of a user.
To sum up, in the gateway intelligent control method provided in the embodiment of the present application, a control request for a target device in at least one temperature control device, which is initiated by a mobile terminal, is received, where the control request carries first positioning information and a target temperature of the mobile terminal; estimating a first time length required from a position corresponding to the first positioning information to a position corresponding to the second positioning information by calling the electronic map based on the first positioning information and the second positioning information of the target equipment; determining a second time length required for reaching the target temperature from the current temperature according to the current temperature detected by the temperature detector arranged on the target equipment, the target temperature and a historical temperature change curve of the target equipment after starting; starting a timer when the second time length is less than the first time length, wherein the timing time length of the timer is the difference value between the first time length and the second time length; acquiring new first positioning information of the mobile terminal in a heartbeat mode, updating the first time length based on the new first positioning information, and updating the remaining time length of the timer based on the updated first time length; the control target apparatus starts when the timer times out. Therefore, the first time length required for reaching the position of the temperature control device can be estimated according to the first positioning information of the mobile terminal and the second positioning information of the target device, meanwhile, the timer is started in combination with the second time length required for reaching the target temperature from the current temperature, the remaining time length of the timer is updated in time, and the target device is controlled to be started when the timer finishes timing, so that when a user of the mobile terminal reaches the indoor place where the target device is located, the temperature controlled by the temperature control device just reaches the required target temperature, unnecessary electric quantity consumption caused by long-time temperature constant maintenance during the period that the user reaches the indoor place where the target device is located is avoided, the remote control of the indoor temperature control device is realized, the waste of electric power resources is reduced, and the remote control of the temperature control device is convenient for practical application and popularization. Meanwhile, if the target device has a plurality of gears, when the remaining duration of the timer is updated based on the updated first duration, the remaining duration of the timer may be updated based on the updated first duration and a second duration corresponding to a lowest gear of the at least one gear, and the lowest gear of the at least one gear is set as an open gear when the target device is controlled to be opened, so that the power consumption can be further saved while the intelligent control of the temperature control device is realized. Secondly, if the updated first time length is smaller than a second time length corresponding to the lowest gear in the at least one gear, whether the second time length corresponding to the at least one gear is smaller than the updated first time length can be determined again, and if yes, the remaining time length of the timer is updated based on the updated first time length and the newly determined second time length corresponding to the lowest gear in the at least one gear, so that when the user reaches the room where the target device is located, the temperature controlled by the target device can further meet the temperature control requirement of the user. And if it is determined that the second time corresponding to at least one gear is not less than the updated first time, updating the remaining time of the timer to zero, and taking the highest gear in each gear as the lowest gear in the at least one newly determined gear, so that when the user arrives indoors where the target equipment is located, the temperature controlled by the target equipment is as close as possible to the temperature control requirement of the user, and the user experience is improved.
Referring to fig. 3, a second aspect of the present embodiment provides an intelligent gateway control apparatus, which is applied to an intelligent gateway, where the intelligent gateway is respectively in communication connection with a mobile terminal and at least one temperature control device, and the at least one temperature control device is installed indoors, where the intelligent gateway control apparatus includes:
a receiving unit, configured to receive a control request, which is initiated by the mobile terminal and is addressed to a target device in the at least one temperature control device, where the control request carries first positioning information and a target temperature of the mobile terminal;
the calling unit is used for estimating a first time length required from the position corresponding to the first positioning information to the position corresponding to the second positioning information by calling an electronic map based on the first positioning information and the second positioning information of the target equipment;
the determining unit is used for determining a second time length required for reaching the target temperature from the current temperature according to the current temperature detected by the temperature detector arranged on the target equipment, the target temperature and a historical temperature change curve of the target equipment after starting;
the timing unit starts a timer when the second time length is less than the first time length, wherein the timing time length of the timer is the difference value between the first time length and the second time length;
the acquiring unit is used for acquiring new first positioning information of the mobile terminal in a heartbeat mode;
the updating unit is used for updating the first time length based on the new first positioning information and updating the remaining time length of the timer based on the updated first time length;
and the control unit is used for controlling the target equipment to start when the timing of the timer is finished.
For the working process, the working details, and the technical effects of the apparatus provided in the second aspect of this embodiment, reference may be made to the first aspect of this embodiment, which is not described herein again.
As shown in fig. 4, a third aspect of the present embodiment provides an intelligent gateway, including a memory, a processor, and a transceiver, which are sequentially connected in a communication manner, where the memory is used to store a computer program, the transceiver is used to transmit and receive a message, and the processor is used to read the computer program and execute the intelligent gateway control method according to the first aspect of the present embodiment.
By way of specific example, the Memory may include, but is not limited to, a Random Access Memory (RAM), a Read Only Memory (ROM), a Flash Memory (Flash Memory), a first-in-first-out Memory (FIFO), a first-in-last-out Memory (FILO), and/or the like; the processor may not be limited to a microprocessor of model STM32F105 series, an ARM (Advanced RISC Machines), an X86 architecture processor, or an NPU (neutral-network processing unit) integrated processor; the transceiver may be, but is not limited to, a WiFi (wireless fidelity) wireless transceiver, a bluetooth wireless transceiver, a General Packet Radio Service (GPRS) wireless transceiver, a ZigBee protocol (ieee 802.15.4 standard-based low power local area network protocol), a 3G transceiver, a 4G transceiver, and/or a 5G transceiver, etc.
A fourth aspect of the present embodiment provides a computer-readable storage medium storing instructions including the instructions of the gateway intelligent control method according to the first aspect of the present embodiment, that is, the computer-readable storage medium stores instructions that, when executed on a computer, perform the gateway intelligent control method according to the first aspect. The computer-readable storage medium refers to a carrier for storing data, and may include, but is not limited to, floppy disks, optical disks, hard disks, flash memories, flash disks and/or Memory sticks (Memory sticks), etc., and the computer may be a general-purpose computer, a special-purpose computer, a computer network, or other programmable devices.
A fifth aspect of the present embodiment provides a computer program product containing instructions, which when run on a computer, where the computer may be a general-purpose computer, a special-purpose computer, a computer network, or other programmable apparatus, causes the computer to execute the gateway intelligent control method according to the first aspect of the present embodiment.
Finally, it should be noted that: the above description is only a preferred embodiment of the present invention, and is not intended to limit the scope of the present invention. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims (10)

1. The utility model provides a gateway intelligent control method, is applied to intelligent gateway, intelligent gateway respectively with mobile terminal and at least one temperature control equipment communication connection, at least one temperature control equipment is installed indoor, its characterized in that includes:
receiving a control request which is initiated by the mobile terminal and aims at a target device in the at least one temperature control device, wherein the control request carries first positioning information and a target temperature of the mobile terminal;
estimating a first time length required from a position corresponding to the first positioning information to a position corresponding to the second positioning information by calling an electronic map based on the first positioning information and the second positioning information of the target equipment;
determining a second time length required for reaching the target temperature from the current temperature according to the current temperature detected by the temperature detector set by the target equipment, the target temperature and a historical temperature change curve of the target equipment after starting;
starting a timer when the second time length is less than the first time length, wherein the timing time length of the timer is the difference value between the first time length and the second time length;
acquiring new first positioning information of the mobile terminal in a heartbeat mode, updating the first time length based on the new first positioning information, and updating the remaining time length of the timer based on the updated first time length;
and controlling the target equipment to start when the timing of the timer is finished.
2. The method of claim 1, wherein the estimating a first time period required from the location corresponding to the first positioning information to the location corresponding to the second positioning information by invoking an electronic map comprises:
sending a calling request to the mobile terminal so that the mobile terminal can call the installed electronic map to estimate a first time length required from the position corresponding to the first positioning information to the position corresponding to the second positioning information;
and receiving the first duration sent by the mobile terminal.
3. The method according to claim 1, wherein the determining a second time period required for reaching the target temperature from the current temperature according to the current temperature detected by the temperature detector set by the target device, the target temperature and a historical temperature change curve of the target device after starting comprises:
determining a second time length required for reaching the target temperature from the current temperature at each gear according to the current temperature detected by the temperature detector set by the target equipment, the target temperature and a historical temperature change curve of the target equipment after being started at each gear;
the starting a timer when the second duration is less than the first duration includes:
when a second time length corresponding to at least one gear is smaller than the first time length, determining the timing time length of a timer and starting the timer based on the second time length corresponding to the lowest gear in the at least one gear and the first time length;
the updating the remaining duration of the timer based on the updated first duration includes:
and updating the remaining time length of the timer based on the updated first time length and the second time length corresponding to the lowest gear in the at least one gear, and setting the lowest gear in the at least one gear as an opening gear when the target equipment is controlled to be opened.
4. The method of claim 3, wherein updating the remaining length of time for the timer based on the updated first length of time and the second length of time corresponding to the lowest gear of the at least one gear comprises:
if the updated first time length is larger than or equal to a second time length corresponding to the lowest gear in the at least one gear, updating the remaining time length of the timer based on the updated first time length and the second time length corresponding to the lowest gear in the at least one gear;
if the updated first time length is less than a second time length corresponding to the lowest gear in the at least one gear, and the difference value between the second time length corresponding to the lowest gear in the at least one gear and the updated first time length is less than or equal to a preset threshold value, updating the remaining time length of the timer to be zero;
and if the updated first time length is less than the second time length corresponding to the lowest gear in the at least one gear, re-determining whether the second time length corresponding to at least one gear is less than the updated first time length, if so, updating the remaining time length of the timer based on the updated first time length and the newly determined second time length corresponding to the lowest gear in the at least one gear, if not, updating the remaining time length of the timer to zero, and taking the highest gear in each gear as the lowest gear in the at least one newly determined gear.
5. The method of claim 1, wherein the target device is an air conditioner, the intelligent gateway is further in communication connection with an electric window opener for controlling opening and closing of a window, and when the target device is controlled to be started, the method further comprises:
and sending a control signal to the electric window opener so that the electric window opener controls the window to be closed.
6. The method of claim 1, further comprising:
and when the second time length is greater than or equal to the first time length, controlling the target equipment to start.
7. The method of claim 1, wherein the at least one temperature control device comprises an air conditioner, an electric water heater, and/or a hydrofloor heating.
8. The utility model provides a gateway intelligent control device, is applied to intelligent gateway, intelligent gateway respectively with mobile terminal and at least one temperature control equipment communication connection, at least one temperature control equipment installs in indoor, its characterized in that, gateway intelligent control device includes:
a receiving unit, configured to receive a control request, which is initiated by the mobile terminal and is addressed to a target device in the at least one temperature control device, where the control request carries first positioning information and a target temperature of the mobile terminal;
the calling unit is used for estimating a first time length required from a position corresponding to the first positioning information to a position corresponding to the second positioning information by calling an electronic map based on the first positioning information and the second positioning information of the target equipment;
the determining unit is used for determining a second time length required for reaching the target temperature from the current temperature according to the current temperature detected by the temperature detector arranged on the target equipment, the target temperature and a historical temperature change curve of the target equipment after starting;
the timing unit starts a timer when the second time length is less than the first time length, wherein the timing time length of the timer is the difference value between the first time length and the second time length;
the acquiring unit is used for acquiring new first positioning information of the mobile terminal in a heartbeat mode;
the updating unit is used for updating the first time length based on the new first positioning information and updating the remaining time length of the timer based on the updated first time length;
and the control unit is used for controlling the target equipment to start when the timing of the timer is finished.
9. An intelligent gateway, comprising a memory, a processor and a transceiver which are sequentially connected in communication, wherein the memory is used for storing a computer program, the transceiver is used for transmitting and receiving messages, and the processor is used for reading the computer program and executing the intelligent gateway control method according to any one of claims 1 to 7.
10. A computer-readable storage medium having stored thereon instructions for performing the gateway intelligent control method according to any one of claims 1 to 7 when the instructions are run on a computer.
CN202210989324.7A 2022-08-17 2022-08-17 Intelligent gateway control method and device, intelligent gateway and storage medium Pending CN115356938A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210989324.7A CN115356938A (en) 2022-08-17 2022-08-17 Intelligent gateway control method and device, intelligent gateway and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210989324.7A CN115356938A (en) 2022-08-17 2022-08-17 Intelligent gateway control method and device, intelligent gateway and storage medium

Publications (1)

Publication Number Publication Date
CN115356938A true CN115356938A (en) 2022-11-18

Family

ID=84003506

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210989324.7A Pending CN115356938A (en) 2022-08-17 2022-08-17 Intelligent gateway control method and device, intelligent gateway and storage medium

Country Status (1)

Country Link
CN (1) CN115356938A (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105094063A (en) * 2014-04-30 2015-11-25 小米科技有限责任公司 Intelligent household control method and device
CN106814710A (en) * 2015-11-30 2017-06-09 阿里巴巴集团控股有限公司 A kind of control method and device to intelligent home device
CN109739095A (en) * 2018-12-03 2019-05-10 珠海格力电器股份有限公司 Method for pushing, system and the intelligent terminal of scene scheme
CN111070998A (en) * 2019-11-25 2020-04-28 珠海格力电器股份有限公司 Control method and device of air conditioner, storage medium and air conditioner
CN111964215A (en) * 2020-07-02 2020-11-20 宁波奥克斯电气股份有限公司 Reserved starting method, control device and air conditioner
CN112286103A (en) * 2020-10-30 2021-01-29 重庆工程职业技术学院 Intelligent household control system
CN113757942A (en) * 2021-09-16 2021-12-07 广东省智能家电研究院 Air conditioner control method, system and device, electronic equipment and storage medium
CN113925356A (en) * 2021-09-30 2022-01-14 深圳市智岩科技有限公司 Cooking control method and device, electronic equipment and storage medium

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105094063A (en) * 2014-04-30 2015-11-25 小米科技有限责任公司 Intelligent household control method and device
CN106814710A (en) * 2015-11-30 2017-06-09 阿里巴巴集团控股有限公司 A kind of control method and device to intelligent home device
CN109739095A (en) * 2018-12-03 2019-05-10 珠海格力电器股份有限公司 Method for pushing, system and the intelligent terminal of scene scheme
CN111070998A (en) * 2019-11-25 2020-04-28 珠海格力电器股份有限公司 Control method and device of air conditioner, storage medium and air conditioner
CN111964215A (en) * 2020-07-02 2020-11-20 宁波奥克斯电气股份有限公司 Reserved starting method, control device and air conditioner
CN112286103A (en) * 2020-10-30 2021-01-29 重庆工程职业技术学院 Intelligent household control system
CN113757942A (en) * 2021-09-16 2021-12-07 广东省智能家电研究院 Air conditioner control method, system and device, electronic equipment and storage medium
CN113925356A (en) * 2021-09-30 2022-01-14 深圳市智岩科技有限公司 Cooking control method and device, electronic equipment and storage medium

Similar Documents

Publication Publication Date Title
CN203116234U (en) Air conditioner remote control system
CN102692252B (en) Environmental monitoring system of greenhouse
CN107882465B (en) Air-conditioner control method, device and computer readable storage medium
WO2015139575A1 (en) Method and apparatus for automatically controlling airplane mode and mobile device
CN110049107B (en) Internet vehicle awakening method, device, equipment and medium
CN111901853B (en) Low-power-consumption operation method and device for narrow-band Internet of things terminal
CN112665141B (en) Air conditioner, control method and device thereof and storage medium
CN105864951A (en) Air-conditioning control method and air conditioner
CN104879879A (en) Indoor environmental conditioning method and indoor environmental conditioning device
CN110032431A (en) Application processing method and device, electronic equipment, computer readable storage medium
CN114071661A (en) Base station energy-saving control method and device
CN115356938A (en) Intelligent gateway control method and device, intelligent gateway and storage medium
CN109830019B (en) Working method of intelligent door lock based on LoRa technology
CN109357368B (en) Control method for intelligent air conditioner to perform scheduled heating, intelligent air conditioner and storage medium
CN113765758B (en) Method, system and device for transmitting scene linkage control instruction and storage medium
CN113669848B (en) Remote control method of air conditioner and air conditioner
CN114992874B (en) Hot water reserve control method, device, electronic equipment and storage medium
CN113490160A (en) Wireless communication method and wireless communication device
CN109739096A (en) A kind of operating status control method, device and the storage medium of controlled plant
CN213092176U (en) Carbon fiber heating data acquisition control device and system
CN114963561B (en) Control method and device for water heater, storage medium and program product
CN107172581B (en) NFC function switch control method and system
CN111937727A (en) Partitioned drip irrigation system, control method and device, electronic equipment and storage medium
CN114440297B (en) Energy-saving control method, system, equipment and medium for heating system
CN112013547A (en) Control method of water heater and water heater

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

RJ01 Rejection of invention patent application after publication