Swimming pool control method and device, medium and equipment

By receiving the user -generated swimming pool control events and obtaining local weather data, automatically adjust the water temperature of the pool, solve the problem of large energy consumption in the process of heating or refrigeration in the process of heating or refrigeration, and realize the rapid adjustment of rapid adjustment without consuming less energy. The effect of water temperature.

CN119356429APending Publication Date: 2025-01-24GUANGDONG TCL INTELLIGENT HEATING & VENTILATING EQUIP CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411442381.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-10-15
Publication Date
2025-01-24

AI Technical Summary

Technical Problem

The existing swimming pool machines consume more energy during heating or cooling, which has the problem of energy conservation and environmental protection.

Method used

By receiving the user -generated swimming pool control event, determine the opening time, default water temperature and operating mode of the swimming pool, and obtain local weather data. Determine the temperature adjustment time according to the weather data, and automatically adjust the water temperature until the target water temperature is reached.

Benefits of technology

Quickly adjust the swimming pool water temperature to save energy and reduce consumption while consuming less energy.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119356429A_ABST
    Figure CN119356429A_ABST
Patent Text Reader

Abstract

The embodiment of the invention provides a swimming pool control method and device, a medium and equipment, and the method comprises the steps: receiving a swimming pool control event generated based on user operation, and determining the swimming pool opening time, the swimming pool default water temperature and the swimming pool operation mode of a swimming pool according to the swimming pool control event; obtaining a corresponding first moment when the swimming pool control event is generated and local weather data within a preset time period after the first moment; according to the local weather data, temperature adjustment triggering time corresponding to the swimming pool operation mode is determined; in the process of controlling the swimming pool to be opened and run according to the swimming pool opening time and the swimming pool default water temperature, when it is detected that the time point reaches the temperature adjustment triggering time, temperature adjustment operation is conducted on the current water temperature of the swimming pool till the current water temperature reaches the target water temperature, and the temperature adjustment operation is stopped. The current water temperature of the swimming pool can quickly reach the target water temperature under the condition that less energy is consumed, so that the purposes of saving energy and reducing consumption are achieved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of smart home technology, and in particular to the field of swimming pool control technology, and in particular to a swimming pool control method, device, medium and equipment. Background Art

[0002] Swimming pool machine mainly refers to the equipment used for water treatment and circulation system of villa or family swimming pool. Heat pump swimming pool machine developed based on heat pump technology is one of them. Heat pump swimming pool machine uses the heat pump principle to circulate the refrigerant between the evaporator, compressor and condenser to achieve the effect of heating or cooling the water in the swimming pool and keep the water temperature in the swimming pool suitable.

[0003] Since most swimming pools contain a large volume of water during use, a large amount of energy is consumed when heating or cooling the swimming pool, which results in insufficient energy conservation and environmental protection. Summary of the invention

[0004] The present application provides a swimming pool control method, device, medium and equipment. The swimming pool control method provided in the present application is used to solve the problem that the current swimming pool machine cannot improve the heating or cooling effect of the swimming pool with limited resources.

[0005] An embodiment of the present application provides a swimming pool control method, including:

[0006] Receiving a swimming pool control event generated based on a user operation, and determining a swimming pool opening time, a swimming pool default water temperature, and a swimming pool operation mode for the swimming pool according to the swimming pool control event;

[0007] Acquire a first moment corresponding to when the swimming pool control event is generated, and local weather data within a preset time period after the first moment;

[0008] Determining a temperature adjustment trigger time corresponding to the swimming pool operation mode according to the local weather data;

[0009] In the process of controlling the swimming pool to start and operate according to the swimming pool opening time and the default water temperature of the swimming pool, when it is detected that the time point reaches the temperature adjustment trigger time, the current water temperature of the swimming pool is temperature adjusted until the current water temperature reaches the target water temperature, and the temperature adjustment operation is stopped.

[0010] In the swimming pool control method described in the embodiment of the present application, the local weather data includes air temperature values ​​collected within a unit time, and the swimming pool operation mode includes one of a heating mode and a cooling mode;

[0011] The step of determining the temperature adjustment trigger time corresponding to the swimming pool operation mode according to the local weather data includes:

[0012] When the swimming pool operation mode is the heating mode, selecting the first target air temperature value with the largest value from the local weather data as the temperature adjustment trigger time;

[0013] When the swimming pool operation mode is the cooling mode, a second target air temperature value with the smallest value is selected from the local weather data as the temperature adjustment trigger time.

[0014] In the swimming pool control method described in the embodiment of the present application, the temperature adjustment operation of the current water temperature of the swimming pool includes:

[0015] When the operation mode of the swimming pool is the heating mode, the current water temperature of the swimming pool is heated up based on the default water temperature of the swimming pool;

[0016] When the operation mode of the swimming pool is the cooling mode, the current water temperature of the swimming pool is cooled down based on the default water temperature of the swimming pool.

[0017] In the swimming pool control method described in the embodiment of the present application, determining the swimming pool opening time for the swimming pool according to the swimming pool control event includes:

[0018] According to the swimming pool control event, obtaining a swimming pool opening mode for the swimming pool, wherein the swimming pool opening mode includes one of a constant temperature opening mode and a timed opening mode;

[0019] When the swimming pool opening mode is the constant temperature opening mode, the first moment corresponding to when the swimming pool control event is generated is used as the swimming pool opening time;

[0020] When the swimming pool opening mode is a timed opening mode, a second moment corresponding to the timed opening mode is acquired from the swimming pool control event as the swimming pool opening time.

[0021] In the swimming pool control method described in the embodiment of the present application, after determining the temperature adjustment trigger time corresponding to the swimming pool operation mode, the method further includes:

[0022] If it is determined that the swimming pool opening mode is the timed opening mode, the swimming pool opening time is advanced by a first preset time to obtain a third time, and it is determined whether the third time is within a duration period corresponding to the first target temperature value or the second target temperature value;

[0023] If the third moment is within the duration period corresponding to the first target air temperature value or the second target air temperature value, the pool opening time of the swimming pool is adjusted to the third moment.

[0024] In the swimming pool control method described in the embodiment of the present application, after determining whether the third moment is within the duration period corresponding to the first target temperature value or the second target temperature value, the method further includes:

[0025] If the third moment is not within the duration period corresponding to the first target temperature value or the second target temperature value, the swimming pool opening time is advanced by the second preset time to obtain a fourth moment, and the swimming pool opening time of the swimming pool is adjusted to the fourth moment, wherein the second preset time is less than the first preset time.

[0026] In the swimming pool control method described in the embodiment of the present application, before obtaining the first moment corresponding to when the swimming pool control event is generated and the local weather data within a preset time period after the first moment, the method further includes:

[0027] The maximum value of the swimming pool opening time is obtained from historical data, and the maximum value corresponding to the preset time period is determined according to the maximum value of the swimming pool opening time and the first moment.

[0028] Accordingly, another aspect of the present application embodiment further provides a swimming pool control device, the swimming pool control device comprising:

[0029] A receiving module, configured to receive a swimming pool control event generated based on a user operation, and determine a swimming pool opening time, a swimming pool default water temperature, and a swimming pool operation mode for the swimming pool according to the swimming pool control event;

[0030] An acquisition module, used to acquire a first moment corresponding to when the swimming pool control event is generated, and local weather data within a preset time period after the first moment;

[0031] A determination module, configured to determine a temperature adjustment trigger time corresponding to the swimming pool operation mode according to the local weather data;

[0032] The control module is used to control the swimming pool to start and run according to the swimming pool opening time and the swimming pool default water temperature. When it is detected that the time point reaches the temperature adjustment trigger time, the current water temperature of the swimming pool is adjusted until the current water temperature reaches the target water temperature, and the temperature adjustment operation is stopped.

[0033] Correspondingly, another aspect of the embodiment of the present application further provides a storage medium, wherein the storage medium stores a plurality of instructions, wherein the instructions are suitable for loading by a processor to execute the swimming pool control method as described above.

[0034] Correspondingly, another aspect of the embodiment of the present application further provides an electronic device, including a processor and a memory, wherein the memory stores a plurality of instructions, and the processor loads the instructions to execute the swimming pool control method as described above.

[0035] The embodiment of the present application provides a swimming pool control method, device, medium and equipment. The method receives a swimming pool control event generated based on a user operation, and determines the swimming pool opening time, swimming pool default water temperature and swimming pool operation mode for the swimming pool according to the swimming pool control event; obtains the local weather data corresponding to the first moment when the swimming pool control event is generated, and the local weather data in the preset time period after the first moment; determines the temperature adjustment trigger time corresponding to the swimming pool operation mode according to the local weather data; in the process of controlling the swimming pool to open and operate according to the swimming pool opening time and the swimming pool default water temperature, when it is detected that the time point reaches the temperature adjustment trigger time, the current water temperature of the swimming pool is adjusted until the current water temperature reaches the target water temperature, and the temperature adjustment operation is stopped. Using the swimming pool control method provided by the embodiment of the present application, it is possible to determine a temperature adjustment strategy adapted to the swimming pool operation mode according to the local weather data, and automatically trigger the temperature adjustment operation in the time period when the temperature value is the highest or lowest on the day, so that the current water temperature of the swimming pool can quickly reach the target water temperature while consuming less energy, so as to achieve the purpose of energy saving and consumption reduction. BRIEF DESCRIPTION OF THE DRAWINGS

[0036] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present application, and those skilled in the art can obtain other drawings based on these drawings without creative work.

[0037] Figure 1 A schematic diagram of a flow chart of a swimming pool control method provided in an embodiment of the present application.

[0038] Figure 2 Another schematic diagram of a flow chart of a swimming pool control method provided in an embodiment of the present application.

[0039] Figure 3 This is a schematic diagram of the structure of a swimming pool control device provided in an embodiment of the present application.

[0040] Figure 4 Another structural schematic diagram of the swimming pool control device provided in an embodiment of the present application.

[0041] Figure 5 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0042] The technical solutions in the embodiments of the present application will be described clearly and completely below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, rather than all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of the present application.

[0043] An embodiment of the present application provides a swimming pool control method, which can be used to determine a temperature control strategy that adapts to the swimming pool operation mode based on local weather data, and automatically trigger the temperature control operation during the time period with the highest or lowest temperature of the day, so that the current water temperature of the swimming pool can quickly reach the target water temperature while consuming less energy, thereby achieving the purpose of energy saving and consumption reduction.

[0044] The term "and / or" in this application can be a description of the association relationship of associated objects, indicating that there can be three relationships. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. In addition, the character " / " in this application generally indicates that the associated objects before and after are in an "or" relationship.

[0045] The terms "first", "second", etc. in the specification and claims of this application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments described here can be implemented in an order other than that illustrated or described here. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or modules is not necessarily limited to the steps or modules clearly listed, but may include other steps or modules that are not clearly listed or inherent to these processes, methods, products or devices. The naming or numbering of steps in this application does not mean that the steps in the method flow must be executed in the time / logical sequence indicated by the naming or numbering. The process steps that have been named or numbered can change the execution order according to the technical purpose to be achieved, as long as the same or similar technical effects can be achieved. The division of modules in this application is a logical division. There may be other division methods when it is implemented in actual applications. For example, multiple modules can be combined or integrated into another system, or some features can be ignored or not executed. In addition, the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, and the indirect coupling or communication connection between modules can be electrical or other similar forms, which are not limited in this application. In addition, the modules or submodules described as separate components may or may not be physically separated, may or may not be physical modules, or may be distributed in multiple circuit modules, and some or all of the modules may be selected according to actual needs to achieve the purpose of the present application.

[0046] The swimming pool control method involved in the embodiment of the present application is mainly applied to electronic devices, which may be swimming pool machines, smart phones, tablet computers, laptops, desktop computers, smart home appliances and servers, etc., which are not limited here. Optionally, the server may be an independent physical server, or a server cluster or distributed system composed of multiple physical servers, or an IoT cloud (Internet of Things cloud) that provides the ability to store, process and manage data generated by IoT devices, or a cloud server that provides cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, CDN (Content Delivery Network), and basic cloud computing services such as big data and artificial intelligence platforms, which are not limited here.

[0047] For ease of understanding, the specific process in the embodiments of the present application is described below. Figure 1 , Figure 1A schematic flow chart of an embodiment of a swimming pool control method provided in an embodiment of the present application.

[0048] exist Figure 1 In the illustrated embodiment, the method may include the following steps:

[0049] Step 101: receiving a swimming pool control event generated based on a user operation, and determining a swimming pool opening time, a swimming pool default water temperature, and a swimming pool operation mode for the swimming pool according to the swimming pool control event.

[0050] It should be noted that when the user needs to use the swimming pool, the user can choose to control the swimming pool to produce hot water or cold water according to the user's own needs. In addition, the user can also choose to control the swimming pool to run immediately to produce hot water or cold water, or set a time period to control the swimming pool to automatically run within the set time period to produce hot water or cold water. In terms of control methods, the user can control it on an electronic device that runs the swimming pool control method, such as operating on a control panel of a swimming pool machine that runs the swimming pool control method, or can remotely operate through a mobile terminal connected to the swimming pool machine, such as a mobile phone, and an app on the mobile phone.

[0051] In this embodiment, when the system on the electronic device running the method receives a swimming pool control event generated based on a user operation, it first determines the pool opening time, the pool default water temperature and the pool operation mode for the swimming pool according to the swimming pool control event, and then controls the swimming pool to operate according to the settings based on the pool opening time, the pool default water temperature and the pool operation mode to meet the user's needs.

[0052] Step 102: Acquire a first moment corresponding to when the swimming pool control event is generated, and local weather data within a preset time period after the first moment.

[0053] In this embodiment, the local weather data includes the temperature value collected within a unit time, and the collection time of the local weather data needs to be specified after the first moment, that is, the moment corresponding to the generation of the swimming pool control event.

[0054] For example, assuming that the first moment corresponding to the generation of the swimming pool control event is 8:00 am, the temperature value released by the meteorological station and predicted after 8:00 am is obtained, and the location of the temperature value needs to be selected at the location of the swimming pool to ensure the authenticity and validity of the data. The number of temperature values ​​collected is determined by the preset unit time. For example, if the unit time is 1 hour and the preset time period is 8 hours, then 8 temperature values ​​collected within 8 hours will participate in the subsequent data processing.

[0055] Step 103: Determine a temperature adjustment trigger time corresponding to the swimming pool operation mode according to the local weather data.

[0056] It should be noted that the swimming pool operation mode may include one of a heating mode and a cooling mode, and may also include other swimming pool operation modes related to temperature regulation but not mentioned in this solution.

[0057] In this embodiment, the temperature adjustment trigger time corresponding to the swimming pool operation mode is determined according to the local weather data, which is specifically manifested as follows:

[0058] When the swimming pool operation mode is heating mode, the first target temperature value with the largest value is selected from the local weather data as the temperature adjustment trigger time. For example, the temperature value of 35°C corresponding to 1:00-2:00 pm is the highest temperature value in the preset time period of the day, so 1:00-2:00 pm is used as the temperature adjustment trigger time of the corresponding heating mode;

[0059] When the swimming pool operation mode is cooling mode, the second target temperature value with the smallest value is selected from the local weather data as the temperature adjustment trigger time. For example, the temperature value of 23°C corresponding to 10:00-11:00 pm is the lowest temperature value in the preset time period of the day, so 10:00-11:00 pm is used as the temperature adjustment trigger time for the corresponding cooling mode.

[0060] In this embodiment, the purpose of determining the temperature adjustment trigger time is that the temperature adjustment trigger time corresponds to the time period with the highest or lowest weather temperature. If the temperature is increased or decreased at this time, the environment can be used to generate more heat or cold, so that the current water temperature of the swimming pool can quickly reach the target water temperature while consuming less energy, so as to achieve the purpose of energy saving and consumption reduction.

[0061] Step 104, during the process of controlling the swimming pool to start and operate according to the swimming pool opening time and the swimming pool default water temperature, when it is detected that the time point reaches the temperature adjustment trigger time, the current water temperature of the swimming pool is temperature adjusted until the current water temperature reaches the target water temperature, and the temperature adjustment operation is stopped.

[0062] In this embodiment, the current water temperature of the swimming pool is adjusted, specifically as follows:

[0063] When the swimming pool is in heating mode, the current water temperature of the swimming pool is heated up based on the default water temperature of the swimming pool. For example, the default water temperature of the swimming pool is 25°C, which is adjusted to 26°C after the heating operation.

[0064] When the swimming pool operation mode is cooling mode, the current water temperature of the swimming pool is cooled based on the default water temperature of the swimming pool. For example, the default water temperature of the swimming pool is 25°C, which is adjusted to 24°C after the cooling operation.

[0065] In this embodiment, the temperature adjustment operation is automatically triggered by the temperature adjustment trigger time when the temperature value is the highest or lowest within the preset time period of the day, so that the current water temperature of the swimming pool can quickly reach the target water temperature under the influence of the environment and consume less energy, so as to achieve the purpose of energy saving and consumption reduction. After reaching the target water temperature, the swimming pool continues to be cooled or heated at the default water temperature of the swimming pool. Since the current water temperature of the swimming pool is increased or decreased at the temperature adjustment trigger time, the current water temperature can be quickly adjusted to the target water temperature and consume less resources. At the same time, the water temperature value is increased or decreased based on the default water temperature of the swimming pool and maintained for a period of time, so that the heat or cold stored in the swimming pool can be increased, so that the swimming pool can use the stored heat or cold to extend the cooling or heating effect after stopping the temperature adjustment operation.

[0066] In some embodiments, Figure 2 As shown, after determining the temperature adjustment trigger time corresponding to the swimming pool operation mode, the method further includes the following steps:

[0067] If it is determined that the swimming pool opening mode is the timed opening mode, the swimming pool opening time is advanced by a first preset time to obtain a third time, and it is determined whether the third time is within a duration period corresponding to the first target temperature value or the second target temperature value;

[0068] If the third moment is within the duration period corresponding to the first target air temperature value or the second target air temperature value, the pool opening time of the swimming pool is adjusted to the third moment.

[0069] In this embodiment, when the user sets the use time of the swimming pool on the same day, that is, selects the timed start mode, it can be checked in advance whether it is in the time period corresponding to the temperature adjustment trigger time before the timed start mode is turned on. If it is in the time period corresponding to the temperature adjustment trigger time, the swimming pool start time can be advanced so that the swimming pool start time overlaps with the temperature adjustment trigger time. Turning on the swimming pool for heating or cooling at the temperature adjustment trigger time can improve the heat exchange rate, so that the current water temperature of the swimming pool can be quickly heated up or cooled down while consuming less energy, so as to achieve the purpose of energy saving and consumption reduction.

[0070] Specifically, x (i.e., the first preset duration, which is 3 by default and can be set according to the user's water consumption) hours before the swimming pool opening time set by the user, it is judged that it is within the duration period corresponding to the first target temperature value or the second target temperature value. If so, the swimming pool machine is turned on for heating or cooling x hours in advance.

[0071] In some embodiments, after determining whether the third moment is within a duration period corresponding to the first target air temperature value or the second target air temperature value, the method further includes:

[0072] If the third moment is not within the duration period corresponding to the first target temperature value or the second target temperature value, the swimming pool opening time is advanced by the second preset time to obtain a fourth moment, and the swimming pool opening time of the swimming pool is adjusted to the fourth moment, wherein the second preset time is less than the first preset time.

[0073] In this embodiment, when the user sets the swimming pool usage time on the same day, that is, selects the timed start mode, it can be checked in advance whether it is in the time period corresponding to the temperature adjustment trigger time before the timed start mode is turned on. If it is not in the time period corresponding to the temperature adjustment trigger time, considering that it takes a long time for the swimming pool to achieve heating or cooling, in order to allow the user to enjoy hot or cold water at a suitable temperature at the set swimming pool start time, the swimming pool start time can be advanced by the second preset time to obtain a fourth moment, and the swimming pool start time of the swimming pool is adjusted to the fourth moment, wherein the second preset time is less than the first preset time, for example, the second preset time is 1.

[0074] In some embodiments, before obtaining the first moment corresponding to when the swimming pool control event is generated and the local weather data within a preset time period after the first moment, the method further includes:

[0075] The maximum value of the swimming pool opening time is obtained from historical data, and the maximum value corresponding to the preset time period is determined according to the maximum value of the swimming pool opening time and the first moment.

[0076] In this embodiment, the main purpose is to reasonably determine the maximum value of the preset time period. Since most users will use the swimming pool during a certain time period of the day, and will not use it during some special time periods such as sleeping time, if the sleeping time is also taken into account to estimate the temperature adjustment trigger time, it is possible that the final determined temperature adjustment trigger time falls on the user's bedtime. At this time, even if the time period with the maximum or minimum corresponding temperature value is determined, it will lose its meaning. After all, the hot water or cold water generated during the user's sleeping time cannot be used normally by the user, which deviates from the original design intention of this solution.

[0077] In order to avoid the above problems, the maximum value of the pool opening time can be obtained from the historical data, that is, the latest time when the user uses the pool, and the maximum value of the corresponding preset time period can be determined according to the maximum value of the pool opening time and the first moment. For example, the maximum value of the pool opening time is 20:00, and the first moment corresponding to the generation of the pool control event is 8:00. The maximum value of the preset time period is the maximum value of the pool opening time minus the first moment, that is, 20-8=12, which means that only the local weather data within the preset time period of 12 hours needs to be obtained.

[0078] All the above optional technical solutions can be arbitrarily combined to form optional embodiments of the present application, which will not be described one by one here.

[0079] In specific implementation, the present application is not limited by the execution order of the various steps described. If no conflict occurs, some steps can be performed in other orders or simultaneously.

[0080] As can be seen from the above, the swimming pool control method provided in the embodiment of the present application receives a swimming pool control event generated based on a user operation, and determines the swimming pool opening time, swimming pool default water temperature and swimming pool operation mode for the swimming pool according to the swimming pool control event; obtains the first moment corresponding to the generation of the swimming pool control event, and the local weather data within a preset time period after the first moment; determines the temperature adjustment trigger time corresponding to the swimming pool operation mode according to the local weather data; in the process of controlling the swimming pool to open and operate according to the swimming pool opening time and the swimming pool default water temperature, when it is detected that the time point reaches the temperature adjustment trigger time, the current water temperature of the swimming pool is adjusted until the current water temperature reaches the target water temperature, and the temperature adjustment operation is stopped. Using the swimming pool control method provided in the embodiment of the present application, it is possible to determine a temperature adjustment strategy adapted to the swimming pool operation mode according to the local weather data, and automatically trigger the temperature adjustment operation in the time period when the temperature value is the highest or lowest on the day, so that the current water temperature of the swimming pool can quickly reach the target water temperature while consuming less energy, so as to achieve the purpose of energy saving and consumption reduction.

[0081] An embodiment of the present application further provides a swimming pool control device, which can be integrated into an electronic device.

[0082] See also Figure 3 , Figure 3 This is a schematic diagram of the structure of a swimming pool control device provided in an embodiment of the present application. The swimming pool control device 30 may include:

[0083] A receiving module 31 is used to receive a swimming pool control event generated based on a user operation, and determine a swimming pool opening time, a swimming pool default water temperature and a swimming pool operation mode for the swimming pool according to the swimming pool control event;

[0084] An acquisition module 32, configured to acquire a first moment corresponding to when the swimming pool control event is generated, and local weather data within a preset time period after the first moment;

[0085] A determination module 33, configured to determine a temperature adjustment trigger time corresponding to the swimming pool operation mode according to the local weather data;

[0086] The control module 34 is used to control the swimming pool to start and run according to the swimming pool opening time and the swimming pool default water temperature. When it is detected that the time point reaches the temperature adjustment trigger time, the current water temperature of the swimming pool is adjusted until the current water temperature reaches the target water temperature, and the temperature adjustment operation is stopped.

[0087] In some embodiments, the local weather data includes air temperature values ​​collected per unit time, and the swimming pool operation mode includes one of a heating mode and a cooling mode; the determination module 33 is used to select a first target air temperature value with a largest value from the local weather data as a temperature adjustment trigger time when the swimming pool operation mode is a heating mode; and to select a second target air temperature value with a smallest value from the local weather data as a temperature adjustment trigger time when the swimming pool operation mode is a cooling mode.

[0088] In some embodiments, the determination module 33 is used to input the parameter values ​​corresponding to the physical sign parameters into a preset health score evaluation formula to calculate the target health score corresponding to the target user; or input the parameter values ​​corresponding to the physical sign parameters and the age parameter value corresponding to the target user into a preset health score evaluation formula to calculate the target health score corresponding to the target user; and determine the target recipe corresponding to the target health score based on the mapping relationship between the preset health score and the recommended recipe.

[0089] In some embodiments, the control module 34 is used to increase the current water temperature of the swimming pool based on the default water temperature of the swimming pool when the swimming pool operation mode is a heating mode; and to cool the current water temperature of the swimming pool based on the default water temperature of the swimming pool when the swimming pool operation mode is a cooling mode.

[0090] In some embodiments, the receiving module 31 is used to obtain a swimming pool opening mode for the swimming pool according to the swimming pool control event, and the swimming pool opening mode includes one of a constant temperature opening mode and a timed opening mode; when the swimming pool opening mode is a constant temperature opening mode, the first moment corresponding to when the swimming pool control event is generated is used as the swimming pool opening time; when the swimming pool opening mode is a timed opening mode, the second moment corresponding to the timed opening mode is obtained from the swimming pool control event as the swimming pool opening time.

[0091] In some embodiments, the device also includes a judgment module, which is used to, if it is determined that the swimming pool opening mode is a timed opening mode, advance the swimming pool opening time by a first preset time period to obtain a third moment, and judge whether the third moment is within the duration period corresponding to the first target temperature value or the second target temperature value; if the third moment is within the duration period corresponding to the first target temperature value or the second target temperature value, the swimming pool opening time of the swimming pool is adjusted to the third moment.

[0092] In some embodiments, the device also includes an adjustment module for advancing the swimming pool opening time by a second preset time period to obtain a fourth time if the third moment is not within the duration period corresponding to the first target temperature value or the second target temperature value, and adjusting the swimming pool opening time of the swimming pool to the fourth time, wherein the second preset time period is less than the first preset time period.

[0093] In some embodiments, the device further includes a setting module for obtaining a maximum value of the swimming pool opening time from historical data, and determining a maximum value corresponding to the preset time period according to the maximum value of the swimming pool opening time and the first moment.

[0094] In specific implementation, the above modules can be implemented as independent entities, or can be arbitrarily combined to be implemented as the same entity or several entities.

[0095] As can be seen from the above, the swimming pool control device 30 provided in the embodiment of the present application, wherein the receiving module 31 is used to receive a swimming pool control event generated based on a user operation, and determine the swimming pool opening time, the swimming pool default water temperature and the swimming pool operation mode for the swimming pool according to the swimming pool control event; the obtaining module 32 is used to obtain the first moment corresponding to when the swimming pool control event is generated, and the local weather data within a preset time period after the first moment; the determining module 33 is used to determine the temperature adjustment trigger time corresponding to the swimming pool operation mode according to the local weather data; the control module 34 is used to control the swimming pool to be turned on and operated according to the swimming pool opening time and the swimming pool default water temperature, when it is detected that the time point reaches the temperature adjustment trigger time, to perform a temperature adjustment operation on the current water temperature of the swimming pool until the current water temperature reaches the target water temperature, and then stop the temperature adjustment operation.

[0096] See also Figure 4 , Figure 4Another structural diagram of a swimming pool control device provided in an embodiment of the present application is shown in FIG. 30. The swimming pool control device 30 includes a memory 120, one or more processors 180, and one or more applications, wherein the one or more applications are stored in the memory 120 and configured to be executed by the processor 180; the processor 180 may include a receiving module 31, an acquisition module 32, a determination module 33, and a control module 34. For example, the structures and connection relationships of the above components may be as follows:

[0097] The memory 120 can be used to store applications and data. The applications stored in the memory 120 include executable codes. The applications can be composed of various functional modules. The processor 180 executes various functional applications and data processing by running the applications stored in the memory 120. In addition, the memory 120 may include a high-speed random access memory and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other volatile solid-state storage devices. Accordingly, the memory 120 may also include a memory controller to provide the processor 180 with access to the memory 120.

[0098] The processor 180 is the control center of the device, and uses various interfaces and lines to connect various parts of the entire terminal, and executes various functions of the device and processes data by running or executing applications stored in the memory 120, and calling data stored in the memory 120, so as to monitor the device as a whole. Optionally, the processor 180 may include one or more processing cores; preferably, the processor 180 may integrate an application processor and a modem processor, wherein the application processor mainly processes the operating system, user interface, and application programs.

[0099] Specifically in this embodiment, the processor 180 will load the executable code corresponding to the process of one or more applications into the memory 120 according to the following instructions, and the processor 180 will run the application stored in the memory 120 to implement various functions:

[0100] A receiving instruction is used to receive a swimming pool control event generated based on a user operation, and determine a swimming pool opening time, a swimming pool default water temperature, and a swimming pool operation mode for the swimming pool according to the swimming pool control event;

[0101] An acquisition instruction, used to acquire the first moment corresponding to when the swimming pool control event is generated, and local weather data within a preset time period after the first moment;

[0102] A determination instruction, for determining a temperature adjustment trigger time corresponding to the swimming pool operation mode according to the local weather data;

[0103] The control instruction is used to control the swimming pool to start and run according to the swimming pool opening time and the swimming pool default water temperature. When it is detected that the time point reaches the temperature adjustment trigger time, the current water temperature of the swimming pool is adjusted until the current water temperature reaches the target water temperature, and the temperature adjustment operation is stopped.

[0104] In some embodiments, the local weather data includes air temperature values ​​collected within a unit time, and the swimming pool operation mode includes one of a heating mode and a cooling mode; the determination instruction is used to select a first target air temperature value with a largest value from the local weather data as a temperature adjustment trigger time when the swimming pool operation mode is a heating mode; and to select a second target air temperature value with a smallest value from the local weather data as a temperature adjustment trigger time when the swimming pool operation mode is a cooling mode.

[0105] In some embodiments, the determination instruction is used to input the parameter value corresponding to the physical sign parameter into a preset health score evaluation formula to calculate the target health score corresponding to the target user; or input the parameter value corresponding to the physical sign parameter and the age parameter value corresponding to the target user into a preset health score evaluation formula to calculate the target health score corresponding to the target user; and determine the target recipe corresponding to the target health score based on the mapping relationship between the preset health score and the recommended recipe.

[0106] In some embodiments, the control instruction is used to increase the current water temperature of the swimming pool based on the default water temperature of the swimming pool when the swimming pool operation mode is a heating mode; and to cool down the current water temperature of the swimming pool based on the default water temperature of the swimming pool when the swimming pool operation mode is a cooling mode.

[0107] In some embodiments, the receiving instruction is used to obtain a pool opening mode for the swimming pool according to the swimming pool control event, and the swimming pool opening mode includes one of a constant temperature opening mode and a timed opening mode; when the swimming pool opening mode is the constant temperature opening mode, the first moment corresponding to when the swimming pool control event is generated is used as the swimming pool opening time; when the swimming pool opening mode is the timed opening mode, the second moment corresponding to the timed opening mode is obtained from the swimming pool control event as the swimming pool opening time.

[0108] In some embodiments, the program also includes a judgment instruction for, if it is determined that the swimming pool opening mode is a timed opening mode, advancing the swimming pool opening time by a first preset time period to obtain a third moment, and judging whether the third moment is within the duration period corresponding to the first target temperature value or the second target temperature value; if the third moment is within the duration period corresponding to the first target temperature value or the second target temperature value, adjusting the swimming pool opening time of the swimming pool to the third moment.

[0109] In some embodiments, the program also includes adjustment instructions for advancing the swimming pool opening time by a second preset time period to obtain a fourth moment if the third moment is not within the duration period corresponding to the first target temperature value or the second target temperature value, and adjusting the swimming pool opening time of the swimming pool to the fourth moment, wherein the second preset time period is less than the first preset time period.

[0110] In some embodiments, the program further includes setting instructions for obtaining a maximum value of the swimming pool opening time from historical data, and determining a maximum value corresponding to the preset time period based on the maximum value of the swimming pool opening time and the first moment.

[0111] The present application also provides an electronic device. Figure 5 , Figure 5 The electronic device 1200 is a schematic diagram of the structure of an electronic device provided in an embodiment of the present application, and the electronic device can be used to implement the swimming pool control method provided in the above embodiment. The electronic device 1200 can be a swimming pool machine, a smart phone, or a tablet computer.

[0112] like Figure 5 As shown, the electronic device 1200 may include an RF (Radio Frequency) circuit 110, a memory 120 including one or more (only one is shown in the figure) computer-readable storage media, an input unit 130, a display unit 140, a sensor 150, an audio circuit 160, a transmission module 170, a processor 180 including one or more (only one is shown in the figure) processing cores, and a power supply 190. Those skilled in the art will understand that Figure 5 The structure of the electronic device 1200 shown in the figure does not constitute a limitation on the electronic device 1200, and may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently.

[0113] The RF circuit 110 is used to receive and send electromagnetic waves, realize the mutual conversion between electromagnetic waves and electrical signals, and thus communicate with a communication network or other devices. The RF circuit 110 may include various existing circuit elements for performing these functions, such as an antenna, a radio frequency transceiver, a digital signal processor, an encryption / decryption chip, a user identity module (SIM) card, a memory, etc. The RF circuit 110 can communicate with various networks such as the Internet, an intranet, a wireless network, or communicate with other devices through a wireless network.

[0114] The memory 120 can be used to store software programs and modules, such as the program instructions / modules corresponding to the swimming pool control method in the above embodiment. The processor 180 executes various functional applications and data processing by running the software programs and modules stored in the memory 120. The vibration reminder mode can be automatically selected to control the swimming pool according to the current scene of the electronic device, which can not only ensure that scenes such as meetings are not disturbed, but also ensure that users can sense incoming calls, thereby improving the intelligence of the electronic device. The memory 120 may include a high-speed random access memory, and may also include a non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, the memory 120 may further include a memory remotely arranged relative to the processor 180, and these remote memories may be connected to the electronic device 1200 via a network. Examples of the above network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and a combination thereof.

[0115] The input unit 130 can be used to receive input digital or character information, and generate keyboard, mouse, joystick, optical or trackball signal input related to user settings and function control. Specifically, the input unit 130 may include a touch-sensitive surface 131 and other input devices 132. The touch-sensitive surface 131, also known as a touch display screen or a touch pad, can collect the user's touch operations on or near it (such as the user's operation on or near the touch-sensitive surface 131 using any suitable object or accessory such as a finger, stylus, etc.), and drive the corresponding connection device according to a pre-set program. Optionally, the touch-sensitive surface 131 may include two parts: a touch detection device and a touch controller. Among them, the touch detection device detects the user's touch orientation, detects the signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts it into touch point coordinates, and then sends it to the processor 180, and can receive and execute commands sent by the processor 180. In addition, the touch-sensitive surface 131 may be implemented in various types such as resistive, capacitive, infrared, and surface acoustic wave. In addition to the touch-sensitive surface 131, the input unit 130 may further include other input devices 132. Specifically, the other input devices 132 may include, but are not limited to, one or more of a physical keyboard, a function key (such as a volume control key, a switch key, etc.), a trackball, a mouse, a joystick, and the like.

[0116] The display unit 140 can be used to display information input by the user or information provided to the user and various graphical user interfaces of the electronic device 1200, which can be composed of graphics, text, icons, videos and any combination thereof. The display unit 140 may include a display panel 141. Optionally, the display panel 141 may be configured in the form of LCD (Liquid Crystal Display), OLED (Organic Light-Emitting Diode), etc. Further, the touch-sensitive surface 131 may cover the display panel 141. When the touch-sensitive surface 131 detects a touch operation on or near it, it is transmitted to the processor 180 to determine the type of touch event. Subsequently, the processor 180 provides corresponding visual output on the display panel 141 according to the type of touch event. Although in Figure 5 In the embodiment, the touch-sensitive surface 131 and the display panel 141 are implemented as two independent components to realize the input and output functions. However, in some embodiments, the touch-sensitive surface 131 and the display panel 141 can be integrated to realize the input and output functions.

[0117] The electronic device 1200 may also include at least one sensor 150, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor may include an ambient light sensor and a proximity sensor, wherein the ambient light sensor may adjust the brightness of the display panel 141 according to the brightness of the ambient light, and the proximity sensor may turn off the display panel 141 and / or the backlight when the electronic device 1200 is moved to the ear. As a type of motion sensor, the gravity acceleration sensor can detect the magnitude of acceleration in each direction (generally three axes), and can detect the magnitude and direction of gravity when stationary. It can be used for applications that identify the posture of the mobile phone (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration recognition related functions (such as pedometer, tapping), etc.; as for other sensors such as gyroscopes, barometers, hygrometers, thermometers, infrared sensors, etc. that can also be configured in the electronic device 1200, they will not be repeated here.

[0118] The audio circuit 160, the speaker 161, and the microphone 162 can provide an audio interface between the user and the electronic device 1200. The audio circuit 160 can transmit the received audio data to the speaker 161 after converting the received audio data into an electrical signal, which is converted into a sound signal for output by the speaker 161; on the other hand, the microphone 162 converts the collected sound signal into an electrical signal, which is received by the audio circuit 160 and converted into audio data, and then the audio data is processed by the output processor 180, and then sent to another terminal through the RF circuit 110, or the audio data is output to the memory 120 for further processing. The audio circuit 160 may also include an earplug jack to provide communication between an external headset and the electronic device 1200.

[0119] The electronic device 1200 can help users send and receive emails, browse web pages, and access streaming media through the transmission module 170 (such as a Wi-Fi module), which provides users with wireless broadband Internet access. Figure 5 The transmission module 170 is shown, but it is understandable that it is not an essential component of the electronic device 1200 and can be omitted as needed without changing the essence of the invention.

[0120] The processor 180 is the control center of the electronic device 1200. It uses various interfaces and lines to connect various parts of the entire mobile phone. By running or executing software programs and / or modules stored in the memory 120, and calling data stored in the memory 120, it executes various functions of the electronic device 1200 and processes data, thereby monitoring the mobile phone as a whole. Optionally, the processor 180 may include one or more processing cores; in some embodiments, the processor 180 may integrate an application processor and a modem processor, wherein the application processor mainly processes the operating system, user interface, and application programs, etc., and the modem processor mainly processes wireless communications. It is understandable that the above-mentioned modem processor may not be integrated into the processor 180.

[0121] The electronic device 1200 also includes a power supply 190 for supplying power to various components. In some embodiments, the power supply can be logically connected to the processor 180 through a power management system, so that the power management system can realize functions such as managing discharge and power consumption. The power supply 190 can also include any components such as one or more DC or AC power supplies, recharging systems, power failure detection circuits, power converters or inverters, and power status indicators.

[0122] Although not shown, the electronic device 1200 may also include a camera (such as a front camera, a rear camera), a Bluetooth module, etc., which will not be described in detail here. Specifically in this embodiment, the display unit 140 of the electronic device 1200 is a touch screen display, and the electronic device 1200 also includes a memory 120, and one or more programs, wherein one or more programs are stored in the memory 120, and are configured to be executed by one or more processors 180. One or more programs include instructions for performing the following operations:

[0123] A receiving instruction is used to receive a swimming pool control event generated based on a user operation, and determine a swimming pool opening time, a swimming pool default water temperature, and a swimming pool operation mode for the swimming pool according to the swimming pool control event;

[0124] An acquisition instruction, used to acquire the first moment corresponding to when the swimming pool control event is generated, and local weather data within a preset time period after the first moment;

[0125] A determination instruction, for determining a temperature adjustment trigger time corresponding to the swimming pool operation mode according to the local weather data;

[0126] The control instruction is used to control the swimming pool to start and run according to the swimming pool opening time and the swimming pool default water temperature. When it is detected that the time point reaches the temperature adjustment trigger time, the current water temperature of the swimming pool is adjusted until the current water temperature reaches the target water temperature, and the temperature adjustment operation is stopped.

[0127] In some embodiments, the local weather data includes air temperature values ​​collected within a unit time, and the swimming pool operation mode includes one of a heating mode and a cooling mode; the determination instruction is used to select a first target air temperature value with a largest value from the local weather data as a temperature adjustment trigger time when the swimming pool operation mode is a heating mode; and to select a second target air temperature value with a smallest value from the local weather data as a temperature adjustment trigger time when the swimming pool operation mode is a cooling mode.

[0128] In some embodiments, the determination instruction is used to input the parameter value corresponding to the physical sign parameter into a preset health score evaluation formula to calculate the target health score corresponding to the target user; or input the parameter value corresponding to the physical sign parameter and the age parameter value corresponding to the target user into a preset health score evaluation formula to calculate the target health score corresponding to the target user; and determine the target recipe corresponding to the target health score based on the mapping relationship between the preset health score and the recommended recipe.

[0129] In some embodiments, the control instruction is used to increase the current water temperature of the swimming pool based on the default water temperature of the swimming pool when the swimming pool operation mode is a heating mode; and to cool down the current water temperature of the swimming pool based on the default water temperature of the swimming pool when the swimming pool operation mode is a cooling mode.

[0130] In some embodiments, the receiving instruction is used to obtain a pool opening mode for the swimming pool according to the swimming pool control event, and the swimming pool opening mode includes one of a constant temperature opening mode and a timed opening mode; when the swimming pool opening mode is the constant temperature opening mode, the first moment corresponding to when the swimming pool control event is generated is used as the swimming pool opening time; when the swimming pool opening mode is the timed opening mode, the second moment corresponding to the timed opening mode is obtained from the swimming pool control event as the swimming pool opening time.

[0131] In some embodiments, the program also includes a judgment instruction for, if it is determined that the swimming pool opening mode is a timed opening mode, advancing the swimming pool opening time by a first preset time period to obtain a third moment, and judging whether the third moment is within the duration period corresponding to the first target temperature value or the second target temperature value; if the third moment is within the duration period corresponding to the first target temperature value or the second target temperature value, adjusting the swimming pool opening time of the swimming pool to the third moment.

[0132] In some embodiments, the program also includes adjustment instructions for advancing the swimming pool opening time by a second preset time period to obtain a fourth moment if the third moment is not within the duration period corresponding to the first target temperature value or the second target temperature value, and adjusting the swimming pool opening time of the swimming pool to the fourth moment, wherein the second preset time period is less than the first preset time period.

[0133] In some embodiments, the program further includes setting instructions for obtaining a maximum value of the swimming pool opening time from historical data, and determining a maximum value corresponding to the preset time period based on the maximum value of the swimming pool opening time and the first moment.

[0134] The embodiment of the present application also provides an electronic device, which may be a smart phone, a swimming pool machine, a computer, or other device.

[0135] As can be seen from the above, an embodiment of the present application provides an electronic device 1200, and the electronic device 1200 performs the following steps:

[0136] Receiving a swimming pool control event generated based on a user operation, and determining a swimming pool opening time, a swimming pool default water temperature, and a swimming pool operation mode for the swimming pool according to the swimming pool control event;

[0137] Acquire a first moment corresponding to when the swimming pool control event is generated, and local weather data within a preset time period after the first moment;

[0138] Determining a temperature adjustment trigger time corresponding to the swimming pool operation mode according to the local weather data;

[0139] In the process of controlling the swimming pool to start and operate according to the swimming pool opening time and the default water temperature of the swimming pool, when it is detected that the time point reaches the temperature adjustment trigger time, the current water temperature of the swimming pool is temperature adjusted until the current water temperature reaches the target water temperature, and the temperature adjustment operation is stopped.

[0140] An embodiment of the present application further provides a storage medium, wherein a computer program is stored in the storage medium. When the computer program is executed on a computer, the computer executes the swimming pool control method described in any one of the above embodiments.

[0141] It should be noted that, for the swimming pool control method described in the present application, ordinary testers in the field can understand that all or part of the process of implementing the swimming pool control method described in the embodiment of the present application can be completed by controlling the relevant hardware through a computer program, and the computer program can be stored in a computer-readable storage medium, such as a memory of an electronic device, and executed by at least one processor in the electronic device, and the execution process may include the process of the embodiment of the swimming pool control method. Among them, the storage medium can be a disk, an optical disk, a read-only memory (ROM), a random access memory (RAM), etc.

[0142] For the swimming pool control device of the embodiment of the present application, each functional module can be integrated into a processing chip, or each module can exist physically separately, or two or more modules can be integrated into one module. The above-mentioned integrated module can be implemented in the form of hardware or in the form of software functional modules. If the integrated module is implemented in the form of a software functional module and sold or used as an independent product, it can also be stored in a computer-readable storage medium, such as a read-only memory, a disk or an optical disk.

[0143] The above is a detailed introduction to the swimming pool control method, device, medium and equipment provided in the embodiments of the present application. Specific examples are used in this article to illustrate the principles and implementation methods of the present application. The description of the above embodiments is only used to help understand the method and core ideas of the present application; at the same time, for those skilled in the art, according to the ideas of the present application, there will be changes in the specific implementation methods and application scopes. In summary, the content of this specification should not be understood as limiting the present application.

Claims

1. A swimming pool control method, characterized in that: include: Receiving a swimming pool control event generated based on a user operation, and determining a swimming pool opening time, a swimming pool default water temperature, and a swimming pool operation mode for the swimming pool according to the swimming pool control event; Acquire a first moment corresponding to when the swimming pool control event is generated, and local weather data within a preset time period after the first moment; Determining a temperature adjustment trigger time corresponding to the swimming pool operation mode according to the local weather data; In the process of controlling the swimming pool to start and operate according to the swimming pool opening time and the default water temperature of the swimming pool, when it is detected that the time point reaches the temperature adjustment trigger time, the current water temperature of the swimming pool is temperature adjusted until the current water temperature reaches the target water temperature, and the temperature adjustment operation is stopped.

2. The swimming pool control method according to claim 1, characterized in that: The local weather data includes air temperature values ​​collected within a unit time, and the swimming pool operation mode includes one of a heating mode and a cooling mode; The step of determining the temperature adjustment trigger time corresponding to the swimming pool operation mode according to the local weather data includes: When the swimming pool operation mode is the heating mode, selecting the first target air temperature value with the largest value from the local weather data as the temperature adjustment trigger time; When the swimming pool operation mode is the cooling mode, a second target air temperature value with the smallest value is selected from the local weather data as the temperature adjustment trigger time.

3. The swimming pool control method according to claim 2, characterized in that: The operation of adjusting the current water temperature of the swimming pool includes: When the operation mode of the swimming pool is the heating mode, the current water temperature of the swimming pool is heated up based on the default water temperature of the swimming pool; When the operation mode of the swimming pool is the cooling mode, the current water temperature of the swimming pool is cooled down based on the default water temperature of the swimming pool.

4. The swimming pool control method according to claim 1, characterized in that: The step of determining a swimming pool opening time for the swimming pool according to the swimming pool control event includes: According to the swimming pool control event, obtaining a swimming pool opening mode for the swimming pool, wherein the swimming pool opening mode includes one of a constant temperature opening mode and a timed opening mode; When the swimming pool opening mode is the constant temperature opening mode, the first moment corresponding to when the swimming pool control event is generated is used as the swimming pool opening time; When the swimming pool opening mode is a timed opening mode, a second moment corresponding to the timed opening mode is acquired from the swimming pool control event as the swimming pool opening time.

5. The swimming pool control method according to claim 4, characterized in that: After determining the temperature adjustment trigger time corresponding to the swimming pool operation mode, the method further includes: If it is determined that the swimming pool opening mode is the timed opening mode, the swimming pool opening time is advanced by a first preset time to obtain a third time, and it is determined whether the third time is within a duration period corresponding to the first target temperature value or the second target temperature value; If the third moment is within the duration period corresponding to the first target air temperature value or the second target air temperature value, the pool opening time of the swimming pool is adjusted to the third moment.

6. The swimming pool control method according to claim 5, characterized in that: After determining whether the third moment is within a duration period corresponding to the first target temperature value or the second target temperature value, the method further includes: If the third moment is not within the duration period corresponding to the first target temperature value or the second target temperature value, the swimming pool opening time is advanced by the second preset time to obtain a fourth moment, and the swimming pool opening time of the swimming pool is adjusted to the fourth moment, wherein the second preset time is less than the first preset time.

7. The swimming pool control method according to claim 5, characterized in that: Before obtaining the first moment corresponding to when the swimming pool control event is generated and the local weather data within a preset time period after the first moment, the method further includes: The maximum value of the swimming pool opening time is obtained from historical data, and the maximum value corresponding to the preset time period is determined according to the maximum value of the swimming pool opening time and the first moment.

8. A swimming pool control device, characterized in that: The swimming pool control device comprises: A receiving module, configured to receive a swimming pool control event generated based on a user operation, and determine a swimming pool opening time, a swimming pool default water temperature, and a swimming pool operation mode for the swimming pool according to the swimming pool control event; An acquisition module, used to acquire a first moment corresponding to when the swimming pool control event is generated, and local weather data within a preset time period after the first moment; A determination module, configured to determine a temperature adjustment trigger time corresponding to the swimming pool operation mode according to the local weather data; The control module is used to control the swimming pool to start and run according to the swimming pool opening time and the swimming pool default water temperature. When it is detected that the time point reaches the temperature adjustment trigger time, the current water temperature of the swimming pool is adjusted until the current water temperature reaches the target water temperature, and the temperature adjustment operation is stopped.

9. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a plurality of instructions, and the instructions are suitable for being loaded by a processor to execute the swimming pool control method according to any one of claims 1 to 7.

10. An electronic device, characterized in that: The invention comprises a processor and a memory, wherein the memory stores a plurality of instructions, and the processor loads the instructions to execute the swimming pool control method according to any one of claims 1 to 7.