Shed pinnacle angle adjusting method and device and electronic equipment

By dynamically adjusting the angle of the steep ceiling, the lack of seasonal and environmental adaptability of traditional shed facilities is solved according to lighting, geographical location and seasonal changes, improving the user experience and structural stability, and extending the service life.

CN119200679APending Publication Date: 2024-12-27LETRIGHT INDUSTRIAL CORP LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411313626.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-09-20
Publication Date
2024-12-27

AI Technical Summary

Technical Problem

Traditional outdoor shed facilities such as sunrooms and pavilions adopt fixed flat roof design, which is difficult to adapt to seasonal changes and dynamic environments, resulting in excessive temperatures in summer or insufficient lighting in winter, and poor user experience.

Method used

By obtaining the adjustment reference factors of the steeple, such as lighting, geographical location and seasons, dynamically adjusting the steeple angle, and using sensor data and terminal equipment control parameters, the adaptive adjustment of the steeple can be achieved to ensure that the maximum is achieved under different latitudes and environmental conditions. Excellent results.

Benefits of technology

It effectively avoids the spire roof being in an unfavorable state for a long time under adverse conditions, extends its service life, improves comfort and convenience, adapts to different climatic conditions, reduces energy consumption, and enhances structural stability.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119200679A_ABST
    Figure CN119200679A_ABST
Patent Text Reader

Abstract

The invention provides a shed pinnacle angle adjusting method and device and electronic equipment, and aims to solve the problem that shed facilities are difficult to adapt to seasonal changes and dynamic environment scenes. The method comprises the following steps: acquiring an adjustment reference factor of the sharp ceiling; and carrying out self-adaptive adjustment on the pinnacle angle of the pointed ceiling according to the adjustment reference factor. In the implementation process of the scheme, the adjustment reference factor of the sharp ceiling is obtained, and the pinnacle angle of the sharp ceiling is adaptively and dynamically adjusted according to the adjustment reference factor, so that the sharp ceiling can respond to and adapt to seasonal change and dynamic environment scenes.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of intelligent control and adjustment optimization of pointed roofs, and in particular to a method, device and electronic equipment for adjusting the angle of a roof. Background Art

[0002] At present, with the improvement of people's living standards and the pursuit of quality of life, outdoor leisure facilities such as sun rooms and pavilions are becoming more and more popular. These shed facilities not only provide space for outdoor activities, but also can block wind and rain and enjoy the natural scenery. However, most traditional outdoor pavilions and sun rooms adopt a fixed flat roof design. These shed facilities are in high temperature seasons in summer, especially in low-latitude areas, where the sun's altitude angle is large, and the fixed flat roof cannot effectively block direct sunlight, resulting in excessively high temperatures inside the pavilion or sun room and poor user experience. In winter or high-latitude areas, the sun's altitude angle is low, and the fixed flat roof design often makes it difficult to make full use of natural light, resulting in insufficient indoor lighting. Therefore, the shed facilities currently using a fixed flat roof design are difficult to adapt to seasonal changes and dynamic environment scenes. Summary of the invention

[0003] The purpose of the embodiments of the present application is to provide a method, device and electronic equipment for adjusting the angle of the roof of a shed, so as to improve the problem that shed facilities are difficult to adapt to seasonal changes and dynamic environments.

[0004] The embodiment of the present application provides a method for adjusting the angle of a shed top, comprising: obtaining an adjustment reference factor of a shed top; and adaptively adjusting the shed top angle according to the adjustment reference factor. In the implementation of the above scheme, by obtaining the adjustment reference factor of the shed top, and adaptively and dynamically adjusting the shed top angle according to the adjustment reference factor, the shed top can respond to and adapt to seasonal changes and dynamic environment scenarios.

[0005] Optionally, in an embodiment of the present application, the reference factors to be adjusted include: light, geographical location, time and / or season. In the implementation process of the above scheme, adaptive adjustment is performed according to the reference factors to avoid the spire being in unfavorable conditions for a long time (such as excessive exposure when the light intensity is very high, or long-term water accumulation in rainy seasons, etc.), reducing the risk of structural damage and extending the service life of the spire. In addition, the method for adjusting the angle of the spire can also adapt to the environmental conditions of different latitudes in geographical locations, dynamically adjust the angle of the spire, and ensure that the best effect can be achieved at different latitudes.

[0006] Optionally, in an embodiment of the present application, after the peak angle of the pointed roof is adaptively adjusted according to the adjustment reference factor, it also includes: receiving the adjustment control factor sent by the terminal device, the adjustment control factor includes: the control parameter and / or synchronization parameter of the terminal device; and re-adjusting the peak angle of the pointed roof according to the control parameter and / or synchronization parameter of the terminal device. In the implementation process of the above scheme, the user can easily set personalized control parameters such as target angle, adjustment speed, etc. using the terminal device, so as to realize customized control of the pointed roof and meet the highly personalized needs of different users. In addition, through the support of synchronization parameters, the scheme is not only limited to the control of a single pointed roof, but can also be easily extended to multiple pointed roofs or integrated with other smart home systems to form a complete smart home solution. Furthermore, by setting control parameters such as timed tasks, users can preset a series of automated scenes, such as automatically opening the pointed roof in the morning to enjoy the sun and automatically closing it at night to protect privacy, which greatly improves the comfort and convenience of life.

[0007] Optionally, in an embodiment of the present application, adjusting the reference factor includes: sensor data and the collection time of the sensor data; adaptively adjusting the peak angle of the pointed roof according to the adjusting reference factor, including: obtaining sensor data of the pointed roof, and the collection time of the sensor data; determining the current season according to the collection time, and making a preliminary estimate of the peak angle according to the current season to obtain a preliminary estimated angle; making a refined prediction of the preliminary estimated angle according to the sensor data to obtain a refined angle; sending the refined angle to the peak adjustment mechanism of the pointed roof, so that the peak adjustment mechanism adjusts the peak angle of the pointed roof to the refined angle. In the implementation process of the above scheme, by making a preliminary estimate according to the current season, it is ensured that a reasonable initial angle can be quickly found in different seasons, and then the system can predict the refined angle of the pointed roof according to the sensor data obtained in real time, and send the refined angle to the peak adjustment mechanism of the pointed roof, so that the peak adjustment mechanism adjusts the peak angle of the pointed roof to the refined angle, and dynamically adjusts the peak angle through preliminary estimation and refined prediction, so that the pointed roof can respond to and adapt to seasonal changes and dynamic environment scenes.

[0008] Optionally, in an embodiment of the present application, the sensor data includes: a global positioning system GPS sensor; a refined prediction of the initial estimated angle based on the sensor data includes: obtaining the geographical location output by the GPS sensor, the geographical location includes: altitude, longitude and latitude; and re-refining the prediction of the initial estimated angle based on the altitude, longitude and latitude. In the implementation process of the above scheme, since different geographical locations will lead to changes in the angle of solar radiation, the system can dynamically adjust the angle of the pointed roof according to the specific geographical location information to adapt to the actual local lighting conditions. Therefore, the altitude, longitude and latitude can be used to accurately calculate the altitude and azimuth of the sun. This precise calculation can help the system more accurately predict the position of the sun, thereby optimizing the angle adjustment of the pointed roof.

[0009] Optionally, in an embodiment of the present application, the sensor data also includes: a light sensor; a further refined prediction of the initially estimated angle according to the altitude, longitude and latitude, including: obtaining the light information output by the light sensor; determining the solar altitude angle and solar azimuth angle of the pointed roof according to the light information, acquisition time, altitude, longitude and latitude; and a refined prediction of the initially estimated angle according to the solar altitude angle and solar azimuth angle. In the implementation process of the above scheme, the solar altitude angle and azimuth angle can be more accurately calculated through multi-dimensional data such as longitude and latitude, altitude, light information and time, thereby providing an accurate basis for adjusting the angle of the pointed roof. The system can dynamically adjust the angle of the pointed roof according to the more accurate solar altitude angle and azimuth angle to more accurately adapt to environmental changes, thereby increasing the accuracy of adjusting the angle of the pointed roof.

[0010] Optionally, in an embodiment of the present application, a refined prediction is made on the initial estimated angle based on the sensor data to obtain a refined angle, including: randomly generating an angle population within a preset range of the apex angle, the angle population including multiple candidate angles, the candidate angles representing candidate values ​​of the apex angle; updating the angle population based on the initial estimated angle to obtain an updated angle population; for each of the multiple candidate angles in the updated angle population, calculating the fitness value of the candidate angle based on the sensor data; determining the optimal angle from the multiple candidate angles in the angle population based on the fitness value of each candidate angle; iteratively calculating the angle population based on the apex angle corresponding to the optimal angle until the fitness value of the optimal angle is less than a preset threshold, and determining the apex angle corresponding to the optimal angle as the refined angle. In the implementation process of the above scheme, by randomly generating angle populations within a preset range, a global search can be performed, and the possibility of finding the optimal solution is greater. Traditional optimization methods are prone to fall into local optimality, while evolutionary algorithms can jump out of local optimality through population evolution, thereby effectively finding the global optimal refined angle, and after multiple iterative calculations, gradually approaching the optimal angle, making the final refined angle more accurate and improving the adjustment accuracy.

[0011] Optionally, in an embodiment of the present application, the angle population is updated according to the initial estimated angle, including: mutating multiple candidate angles of the angle population within a preset range of the apex angle to obtain multiple variant angles; screening out the optimal angle from the initial estimated angle and the set of multiple variant angles; cross-learning the optimal angle and each variant angle in the multiple variant angles. In the implementation process of the above scheme, by screening out the optimal angle from the initial estimated angle and the set of variant angles, it is possible to quickly converge to a region close to the optimal solution. Since the cross-learning between the optimal angle and the variant angle can further increase the diversity of the population and promote the evolution of the population toward a more optimal solution, the optimization process can be accelerated. Moreover, the mutation operation helps to jump out of the local optimal solution, explore more possibilities, and the probability of finding the global optimal solution is higher, thereby improving the efficiency of finding the global optimal solution.

[0012] Optionally, in the embodiment of the present application, the sensor data includes: a light sensor and a temperature sensor; and calculating the fitness value of the candidate angle according to the sensor data includes: using the formula The sensor data is calculated to obtain the fitness value of the candidate angle; wherein θ represents the candidate angle, that is, the candidate value of the apex angle, and F(θ) represents the fitness value of the candidate angle. represents the shading effect at the candidate angle θ, I(θ) represents the light intensity collected by the light sensor at the candidate angle θ, that is, the lighting effect at the candidate angle θ, C is an empirical constant, represents the temperature control effect at the candidate angle θ, T(θ) represents the target temperature at the candidate angle θ, A(θ) represents the actual temperature collected by the temperature sensor at the candidate angle θ, w1, w2 and (1-w1-w2) represent the weight of each target of shading effect, lighting effect and temperature control effect, respectively, which are used to balance the importance of each target. In the implementation process of the above scheme, multi-objective optimization is achieved by comprehensively considering the three important factors of shading effect, lighting effect and temperature control effect, and the importance of each target is balanced by setting w1, w2 and (1-w1-w2), so that the system can flexibly adjust the real-time optimization according to actual needs. This real-time monitoring of light and temperature changes enables the system to respond quickly to environmental changes and improve the flexibility and accuracy of adjustment.

[0013] Optionally, in an embodiment of the present application, the optimal angle is determined from multiple candidate angles in the angle population according to the fitness value of each candidate angle, including: judging whether the fitness value of the candidate angle is greater than the fitness value of the optimal angle calculated after the last iteration; if so, the candidate angle is determined as the optimal angle, otherwise, the optimal angle calculated after the last iteration is determined as the optimal angle. In the implementation process of the above scheme, a better angle can be quickly found by calculating a new fitness value each iteration and comparing it with the optimal fitness value of the last iteration, which can significantly speed up the convergence speed and reduce the amount of calculation. The optimal angle is updated only when the fitness value of the new candidate angle is better than the previous optimal angle. This can avoid unnecessary calculations and improve the calculation efficiency of the optimal angle.

[0014] Optionally, in an embodiment of the present application, after obtaining the initial estimated angle, it also includes: sending the initial estimated angle to the tip adjustment mechanism of the tip shed, so that the tip adjustment mechanism adjusts the tip angle of the tip shed to the initial estimated angle. In the implementation process of the above scheme, by sending the initial estimated angle to the tip adjustment mechanism, an instant response can be achieved, and the angle of the tip shed can be quickly adjusted to the expected optimal position. The instant sending of instructions reduces the time delay from calculation to execution, ensuring that the system can quickly adapt to environmental changes, thereby achieving effects such as shading and increasing lighting as early as possible, and improving the efficiency of the system's instant response.

[0015] The embodiment of the present application also provides a device for adjusting the angle of the peak of the peak shed, including: an adjustment reference factor acquisition module for acquiring the adjustment reference factor of the peak shed; and a peak shed adaptive adjustment module for adaptively adjusting the peak angle of the peak shed according to the adjustment reference factor.

[0016] Optionally, in the embodiment of the present application, the reference factors to be adjusted include: light, geographical location, time and / or season.

[0017] Optionally, in an embodiment of the present application, the device for adjusting the angle of the spire includes: an adjustment control factor receiving module for receiving the adjustment control factor sent by the terminal device, the adjustment control factor including: the control parameter and / or synchronization parameter of the terminal device; and a spire angle re-adjustment module for re-adjusting the spire angle of the spire according to the control parameter and / or synchronization parameter of the terminal device.

[0018] Optionally, in an embodiment of the present application, the reference factor is adjusted, including: sensor data and the collection time of the sensor data; the pointed ceiling adaptive adjustment module includes: a data time acquisition submodule, used to obtain the sensor data of the pointed ceiling, and the collection time of the sensor data; an angle initial estimation submodule, used to determine the current season according to the collection time, and make an initial estimate of the pointed ceiling angle according to the current season to obtain an initial estimated angle; an angle fine prediction submodule, used to make a fine prediction of the initial estimated angle according to the sensor data to obtain a refined angle; a fine angle sending submodule, used to send the refined angle to the pointed ceiling adjustment mechanism of the pointed ceiling, so that the pointed ceiling adjustment mechanism adjusts the pointed ceiling angle of the pointed ceiling to the refined angle.

[0019] Optionally, in an embodiment of the present application, the sensor data includes: a global positioning system GPS sensor; a refined angle prediction submodule includes: a geographic location acquisition unit for acquiring a geographic location output by the GPS sensor, the geographic location including: altitude, longitude and latitude; a refined angle prediction unit for further refining the prediction of the initially estimated angle based on the altitude, longitude and latitude.

[0020] Optionally, in an embodiment of the present application, the sensor data also includes: a light sensor; an angle fine prediction unit, including: a light information acquisition subunit, used to obtain the light information output by the light sensor; a solar information determination subunit, used to determine the solar altitude angle and solar azimuth angle of the pointed roof according to the light information, collection time, altitude, longitude and latitude; a refined prediction subunit, used to perform a refined prediction of the initial estimated angle according to the solar altitude angle and the solar azimuth angle.

[0021] Optionally, in an embodiment of the present application, the angle fine prediction submodule includes: an angle population generation unit, which is used to randomly generate an angle population within a preset range of the apex angle, the angle population including multiple candidate angles, and the candidate angles represent candidate values ​​of the apex angle; an angle population update unit, which is used to update the angle population according to the initial estimated angle to obtain an updated angle population; a fitness value calculation unit, which is used to calculate the fitness value of each candidate angle in the multiple candidate angles of the updated angle population according to sensor data; an optimal angle determination unit, which is used to determine the optimal angle from the multiple candidate angles of the angle population according to the fitness value of each candidate angle; and a population iterative calculation unit, which is used to iteratively calculate the angle population according to the apex angle corresponding to the optimal angle, until the fitness value of the optimal angle is less than a preset threshold, and the apex angle corresponding to the optimal angle is determined as the refined angle.

[0022] Optionally, in an embodiment of the present application, the angle population updating unit includes: a candidate angle mutation subunit, used to mutate multiple candidate angles of the angle population within a preset range of the apex angle to obtain multiple variant angles; an optimal angle screening subunit, used to screen out the optimal angle from a set of initial estimated angles and multiple variant angles; an angle cross-learning subunit, used to cross-learn the optimal angle with each variant angle in the multiple variant angles.

[0023] Optionally, in the embodiment of the present application, the sensor data includes: a light sensor, a temperature sensor; the fitness value calculation unit includes: a data calculation subunit for using the formula The sensor data is calculated to obtain the fitness value of the candidate angle; wherein θ represents the candidate angle, that is, the candidate value of the apex angle, and F(θ) represents the fitness value of the candidate angle. represents the shading effect at the candidate angle θ, I(θ) represents the light intensity collected by the light sensor at the candidate angle θ, that is, the lighting effect at the candidate angle θ, C is an empirical constant, represents the temperature control effect at the candidate angle θ, T(θ) represents the target temperature at the candidate angle θ, A(θ) represents the actual temperature collected by the temperature sensor at the candidate angle θ, w1, w2 and (1-w1-w2) represent the weights of each target of shading effect, lighting effect and temperature control effect, respectively, which are used to balance the importance of each target.

[0024] Optionally, in an embodiment of the present application, the optimal angle determination unit includes: a fitness value judgment subunit, used to judge whether the fitness value of the candidate angle is greater than the fitness value of the optimal angle calculated after the last iterative calculation; an optimal angle determination subunit, used to determine the candidate angle as the optimal angle if the fitness value of the candidate angle is greater than the fitness value of the optimal angle calculated after the last iterative calculation, otherwise, determine the optimal angle calculated after the last iterative calculation as the optimal angle.

[0025] Optionally, in an embodiment of the present application, the device for adjusting the peak angle of the peak shed further includes: an estimated angle sending module, used to send an initial estimated angle to the peak adjustment mechanism of the peak shed, so that the peak adjustment mechanism adjusts the peak angle of the peak shed to the initial estimated angle.

[0026] An embodiment of the present application further provides an electronic device, including: a processor and a memory, wherein the memory stores machine-readable instructions executable by the processor, and the machine-readable instructions execute the method described above when executed by the processor.

[0027] An embodiment of the present application further provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the method described above is executed.

[0028] The embodiment of the present application also provides a computer program product, including: a computer program or a computer instruction, and the computer program or the computer instruction executes the method described above when executed by a processor. BRIEF DESCRIPTION OF THE DRAWINGS

[0029] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the embodiments of the present application will be briefly introduced below. It should be understood that the following drawings only show certain embodiments of the embodiments of the present application and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without creative work.

[0030] Figure 1 A schematic diagram of the structure of a pointed roof shed provided in an embodiment of the present application is shown;

[0031] Figure 2 A schematic diagram of the process of adjusting the angle of the shed top provided in an embodiment of the present application is shown;

[0032] Figure 3 A schematic diagram of the structure of a shed top angle adjustment device provided in an embodiment of the present application is shown;

[0033] Figure 4 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application is shown.

[0034] Icons: 10 - leg tube; 11 - inclined beam; 12 - rotating joint; 121 - first joint; 122 - second joint; 300 - shed top angle adjustment device; 310 - adjustment reference factor acquisition module; 320 - shed top adaptive adjustment module; 400 - electronic device; 410 - processor; 420 - memory; 430 - computer readable storage medium. DETAILED DESCRIPTION

[0035] To make the purpose, technical scheme and advantages of the embodiment of the present application clearer, the technical scheme in the embodiment of the present application will be clearly and completely described below in conjunction with the drawings in the embodiment of the present application. It should be understood that the drawings in the embodiment of the present application only serve the purpose of explanation and description, and are not used to limit the protection scope of the embodiment of the present application. In addition, it should be understood that the schematic drawings are not drawn in real proportion. The flowchart used in the embodiment of the present application shows the operation implemented according to some embodiments of the embodiment of the present application. It should be understood that the operation of the flowchart can be implemented out of order, and the steps without logical context can be reversed in order or implemented simultaneously. In addition, those skilled in the art can add one or more other operations to the flowchart under the guidance of the content of the embodiment of the present application, or remove one or more operations from the flowchart.

[0036] In addition, the described embodiments are only a part of the embodiments of the present application, rather than all embodiments. The components of the embodiments of the present application described and shown in the drawings generally here can be arranged and designed in various configurations. Therefore, the following detailed description of the embodiments of the present application provided in the drawings is not intended to limit the scope of the embodiments of the present application claimed, but merely represents the selected embodiments of the embodiments of the present application.

[0037] It is understandable that the "first" and "second" in the embodiments of the present application are used to distinguish similar objects. Those skilled in the art will understand that the words "first" and "second" do not limit the quantity and execution order, and the words "first" and "second" do not necessarily limit the difference. In the description of the embodiments of the present application, the term "and / or" is merely a description of the association relationship of associated objects, indicating that there may be three relationships, such as A and / or B, which can represent: A exists alone, A and B exist at the same time, and B exists alone. In addition, the character " / " in this article generally indicates that the related objects before and after are in an "or" relationship. The term "multiple" refers to more than two (including two), and similarly, "multiple groups" refers to more than two groups (including two groups).

[0038] It should be noted that the shed top angle adjustment method provided in the embodiment of the present application can be executed by an electronic device, where the electronic device refers to a device terminal or server with the function of executing a computer program, such as a smart phone, a personal computer, a tablet computer, a personal digital assistant or a mobile Internet device. A server refers to a device that provides computing services through a network, such as an x86 server and a non-x86 server, and the non-x86 server includes a mainframe, a minicomputer and a UNIX server.

[0039] The following introduces an example of an application scenario in which the method for adjusting the angle of the shed top is applicable: in the design, manufacture and construction of outdoor leisure facilities, such as shed facilities such as sun rooms and pavilions, the method for adjusting the angle of the shed top can be used to allow the shed facilities to adapt to seasonal changes and dynamic environment scenarios, so that the shed top can be dynamically and adaptively adjusted according to reference factors such as light, geographical location, time and / or season.

[0040] See also Figure 1 The schematic diagram of the structure of one of the pointed ceilings provided by the embodiment of the present application is shown; the pointed ceiling here may include: two groups of inclined beams 11 arranged oppositely along the first direction F1 and two groups of leg tubes 10 arranged oppositely, one end of the two groups of inclined beams 11 is connected to form a ceiling with a pointed top, and the other ends of the two groups of inclined beams 11 are respectively connected to the two groups of leg tubes 10 to support the inclined beams 11 through the leg tubes 10. Rotation joints 12 are respectively provided at the connection between the two groups of inclined beams 11 and the connection between the inclined beams 11 and the corresponding leg tubes 10, and the inclined beams 11 or the leg tubes 10 rotate along the rotation joints 12 to adjust the angle between the two groups of inclined beams 11 or the angle between the inclined beams 11 and the corresponding leg tubes 10. Among them, the pointed ceiling is composed of the leg tubes 10 and the ceiling, and the leg tubes 10 are used to support the ceiling. The leg tubes 10 include two groups, each group of leg tubes 10 may be composed of a plurality of leg tubes 10, and the plurality of leg tubes 10 are arranged side by side along the third direction F3; similarly, the inclined beams 11 also include two groups, and each group of inclined beams 11 is composed of a plurality of inclined beams 11 arranged side by side in the third direction F3. The number of leg tubes 10 and inclined beams 11 arranged side by side in the third direction F3 may determine the length of the peaked ceiling (the dimension of the third direction F3).

[0041] Optionally, the ceiling of the present application may include Figure 1 In addition to the two groups of inclined beams 11 to form a pointed roof, a cross beam (not shown) can be added between the two groups of inclined beams 11 to connect the two groups of inclined beams 11 so that the roof is formed. Figure 3The flat pointed roof structure shown in the figure. Rotating joints 12 are respectively arranged between the inclined beams 11 and the inclined beams 11, between the inclined beams 11 and the cross beams (not shown in the figure), and between the inclined beams 11 and the leg tubes 10 on the corresponding side. The rotating joints 12 can adjust the angles between adjacent components, thereby realizing the adjustment of the pointed roof angle a of the pointed roof, so that the pointed roof can adapt to different seasonal changes and dynamic environment scenes.

[0042] See also Figure 2 The schematic diagram of the process of adjusting the angle of the shed top provided by the embodiment of the present application is shown; the main idea of ​​the method for adjusting the angle of the shed top is to dynamically and adaptively adjust the angle of the shed top according to the adjustment reference factor, so that the shed top can respond to and adapt to seasonal changes and dynamic environment scenes. The implementation of the above-mentioned method for adjusting the angle of the shed top may include:

[0043] Step S210: Obtain the adjustment reference factor of the pointed roof.

[0044] It is understandable that, as an optional implementation of the above-mentioned method for adjusting the angle of the shed top, the above-mentioned adjustment reference factors include, but are not limited to: light, geographical location, time and / or season, etc. This adaptive adjustment avoids the top being in unfavorable conditions for a long time (such as excessive exposure when the light intensity is very high, or long-term water accumulation in rainy seasons, etc.), reduces the risk of structural damage, and extends the service life of the shed top. In addition, the method for adjusting the angle of the shed top can also adapt to the environmental conditions of different latitudes in geographical locations, dynamically adjust the angle of the top, and ensure that the best effect can be achieved at different latitudes.

[0045] Step S220: Adaptively adjust the peak angle of the peak shed according to the adjustment reference factor.

[0046] In the specific practice, the angle of the spire can also be automatically adjusted according to the adjustment reference factor of the internal environment change and / or the external environment change of the spire shed, so as to provide users with a more comfortable living or working environment, such as improving visual comfort by adjusting the amount of natural light entering the room. In addition, reasonable angle adjustment helps to reduce the aging speed of materials, such as reducing the aging of materials caused by direct ultraviolet rays, thereby extending the service life of the entire shed.

[0047] In the process of implementing the above scheme, by obtaining the adjustment reference factor of the pointed roof and adaptively and dynamically adjusting the pointed roof angle of the pointed roof according to the adjustment reference factor, the system can optimize the light and heat absorption in the shed according to different environmental conditions (such as season, weather, etc.), thereby reducing the need for additional heating or cooling, reducing energy consumption, and allowing the pointed roof to respond to and adapt to seasonal changes and dynamic environmental scenarios. In addition, adaptive adjustment based on the adjustment reference factor can enable the pointed roof to better cope with wind pressure and snow loads under different climatic conditions, improve its structural stability, and reduce the risk of damage caused by extreme weather.

[0048] As an optional implementation of the above method, after the peak angle of the peak shed is adaptively adjusted according to the adjustment reference factor, it can also be adjusted again according to the adjustment control factor sent by the terminal device. This implementation may include:

[0049] Step S230: the electronic device receives the adjustment control factor sent by the terminal device, where the adjustment control factor includes: control parameters and / or synchronization parameters of the terminal device.

[0050] An implementation example of the above step S230 is as follows: first, ensure that a stable communication connection is established between the electronic device (such as a controller installed on a pointed ceiling) and the terminal device (such as a smart phone or a tablet computer, etc.), where the electronic device and the terminal device can communicate with each other through wireless technologies such as Wi-Fi, Bluetooth, Zigbee, etc. Then, after obtaining the control parameters and / or synchronization parameters set through the user interface, the terminal device (such as a smart phone or a tablet computer, etc.) generates adjustment control factor data according to the control parameters and / or synchronization parameters, and sends these adjustment control factor data to the electronic device through the established communication link. Finally, after receiving the adjustment control factor data, the electronic device parses the adjustment control factor data and extracts the control parameters and / or synchronization parameters of the terminal device from the adjustment control factor data.

[0051] Step S240: re-adjusting the peak angle of the peak shed according to the control parameters and / or synchronization parameters of the terminal device.

[0052] The implementation method of the above step S240 is, for example: after the electronic device extracts the control parameters and / or synchronization parameters of the terminal device from the adjustment control factor data, it can adjust the angle of the top of the pointed ceiling again according to the control parameters and / or synchronization parameters of the terminal device. Specifically, the above control parameters are, for example: adjusting the pointed ceiling to the target angle desired by the user, adjusting the speed (fast, medium or slow), adjusting the direction, setting the maximum and minimum values ​​of the top angle of the pointed ceiling, etc., and the above synchronization parameters are, for example: time synchronization parameters, state synchronization parameters and user preference synchronization parameters, etc.; the time synchronization parameters are used to ensure that the time of the electronic device is synchronized with the standard time server, which is particularly important for executing scheduled tasks; the state synchronization parameters are used to regularly update and synchronize the current state of the pointed ceiling (such as angle, temperature, humidity, etc.) to the cloud or terminal device for remote monitoring; the user preference synchronization parameters are used to synchronize between different devices, so that users can get a consistent experience no matter which terminal they use.

[0053] In the implementation process of the above solution, users can easily set personalized control parameters such as target angle, adjustment speed, etc. using terminal devices, thereby realizing customized control of the pointed shed to meet the highly personalized needs of different users. In addition, with the support of synchronization parameters, the solution is not limited to the control of a single pointed shed, but can also be easily expanded to multiple pointed sheds or integrated with other smart home systems to form a complete smart home solution. Furthermore, by setting control parameters such as scheduled tasks, users can preset a series of automated scenes, such as automatically opening the pointed shed in the morning to enjoy the sun and automatically closing it at night to protect privacy, which greatly improves the comfort and convenience of life.

[0054] As an optional implementation of the above step S220, the above adjustment reference factor may include: sensor data and the collection time of the sensor data; the above implementation of adaptively adjusting the peak angle of the peak shed according to the adjustment reference factor may include:

[0055] Step S221: Acquire sensor data of the pointed roof and the collection time of the sensor data.

[0056] The sensor data of the above-mentioned pointed roof includes but is not limited to: light sensor, Global Positioning System (GPS) sensor, temperature sensor, humidity sensor, etc.

[0057] The implementation method of the above step S221 is, for example: the electronic sensor can collect the sensor data and its timestamp, and then send the sensor data and its timestamp to an electronic device (such as a server in a cloud platform or a personal computer in a local area network) through a wireless communication module (such as Wi-Fi, Bluetooth, Zigbee, etc.). The electronic device receives the sensor data and its timestamp sent by the electronic sensor, and parses the timestamp into the collection time of the sensor data.

[0058] Step S222: Determine the current season according to the acquisition time, and make an initial estimate of the peak angle according to the current season to obtain an initial estimated angle.

[0059] The implementation method of the above step S222 is, for example: first, the collection date of the sensor data can be determined according to the timestamp of the sensor data, or the collection time of the sensor data can be parsed according to the above timestamp to determine the collection date of the sensor data. Then, the current season (spring, summer, autumn or winter) is determined according to the collection date of the sensor data. A simple date range can be used to determine the current season, or a more complex meteorological model can be used to determine the current season. Finally, the angle of the spire is initially estimated according to the characteristics of the current season (such as sunshine time, solar altitude angle, etc.). For example, a larger shading angle may be required in summer, while a smaller angle is required in winter to increase lighting, and the initial estimated angle is obtained.

[0060] Step S223: Perform a refined prediction on the initial estimated angle according to the sensor data to obtain a refined angle.

[0061] There are many implementation methods of the above step S223, so the implementation method of step S223 will be introduced in detail below.

[0062] Step S224: sending the refined angle to the tip adjustment mechanism of the tip shed, so that the tip adjustment mechanism adjusts the tip angle of the tip shed to the refined angle.

[0063] An implementation example of the above step S224 is as follows: after obtaining the refined angle, the electronic device generates a control instruction according to the refined angle, and sends the control instruction containing the refined angle to the spire adjustment mechanism of the spire shed. After receiving the control instruction, the spire adjustment mechanism (such as an electric motor, a servo motor, etc.) performs an angle adjustment action according to the refined angle parsed from the control instruction, that is, the spire adjustment mechanism adjusts the spire angle of the spire shed to the refined angle. Optionally, after the spire adjustment mechanism completes the adjustment, it can also send a confirmation message to the electronic device (such as a central controller or a cloud platform) to report the current actual angle so that the electronic device can further verify and adjust it.

[0064] In the implementation of the above solution, the angle of the pointed roof is automatically adjusted according to the sensor data in the current season and environment without manual intervention. The real-time monitoring of sensor data enables the system to quickly respond to environmental changes, such as sudden weather changes or changes in light intensity, to ensure that the pointed roof is always in the best condition. In addition, by intelligently adjusting the angle of the pointed roof, indoor temperature and light can be optimized, reducing dependence on air conditioning, heating and artificial lighting, thereby significantly reducing energy consumption. By monitoring environmental conditions in real time, the system can prevent the pointed roof from being subjected to excessive pressure in extreme weather (such as strong winds and heavy snow), reducing the risk of structural damage.

[0065] As an optional implementation of the above step S223, the above sensor data may include: a global positioning system GPS sensor; the above implementation of performing a refined prediction of the initial estimated angle based on the sensor data may include:

[0066] Step S223a: Obtain the geographical location output by the GPS sensor, which includes: altitude, longitude and latitude.

[0067] The implementation method of the above step S223a is, for example: obtaining the collection time of sensor data, where the sensor data may include the geographical location output by the GPS sensor, and then parsing the altitude, longitude and latitude from the geographical location.

[0068] Step S223b: Refine the prediction of the initial estimated angle according to the altitude, longitude and latitude.

[0069] As an optional implementation of the above step S223b, the above sensor data may also include: a light sensor; the above implementation of re-refining the prediction of the initial estimated angle according to the altitude, longitude and latitude may include:

[0070] Step S223c: Acquire the illumination information output by the illumination sensor.

[0071] Step S223d: Determine the solar altitude angle and solar azimuth angle of the pointed roof according to the lighting information, acquisition time, altitude, longitude and latitude.

[0072] The implementation of the above steps S223c to S223d is, for example: using the formula α = arcsin (sin (δ) sin (Φ) + cos (δ) cos (Φ) cos (H)) latitude to calculate, obtain the solar altitude angle of the pointed roof, and use the formula The acquisition time, longitude and latitude are calculated to obtain the solar azimuth of the pointed roof. Among them, α represents the solar altitude angle of the pointed roof, δ represents the solar declination, and the solar declination here can be calculated by the current date parsed from the acquisition time, Φ represents the latitude, H represents the solar hour angle, and the solar hour angle here can be calculated by the current time and longitude, and β represents the solar azimuth of the pointed roof. If the sun is in the south, β is positive; if the sun is in the north, β is negative. The above lighting information and altitude have little effect on the solar altitude angle, which can be ignored in most cases. However, in some rigorous scenarios, the lighting information and altitude can be used to correct the solar altitude angle for atmospheric refraction. For example, the formula α is used. corrected =α+0.00015ξ+0.00115×tan(h-1.15α) to correct the solar altitude angle and obtain the corrected solar altitude angle. corrected represents the corrected solar altitude angle, α represents the solar altitude angle of the pointed roof before correction, ξ represents the light intensity in the lighting information, and h represents the altitude.

[0073] Step S223e: Refine the prediction of the initial estimated angle according to the solar altitude angle and the solar azimuth angle.

[0074] The implementation method of the above step S223e is, for example: using the formula θ final =θ init +k1α corrected +k2β calculates the initial estimated angle, solar altitude angle and solar azimuth angle to obtain the refined angle. final represents the refinement angle, θ init represents the initial estimated angle, k1 and k2 are the adjustment coefficients between the solar altitude angle and the solar azimuth angle, which can be set according to historical experience values. The adjustment coefficient indicates whether to follow the solar azimuth angle more (i.e., change with the movement of the sun's azimuth) or follow the solar altitude angle more (i.e., change with the change of the sun's height), α corrected represents the corrected solar altitude angle, β represents the solar azimuth of the pointed roof, if the sun is in the south, β is positive; if the sun is in the north, β is negative.

[0075] In the process of implementing the above scheme, since different geographical locations will cause changes in the angle of solar radiation, the system can dynamically adjust the angle of the spire according to the specific geographical location information to adapt to the actual local lighting conditions. Therefore, the altitude, longitude and latitude can be used to accurately calculate the altitude and azimuth of the sun. This precise calculation can help the system more accurately predict the position of the sun, thereby optimizing the angle adjustment of the spire.

[0076] As an optional implementation of the above step S223, the above implementation of performing a refined prediction of the initial estimated angle according to the sensor data may include:

[0077] Step S223f: randomly generate an angle population within a preset range of the apex angle, the angle population including a plurality of candidate angles, and the candidate angles represent candidate values ​​of the apex angle.

[0078] The implementation of the above step S223f is as follows: Assume that the number of angle populations is represented by M, the number of candidate angles in the angle population is represented by N, and the preset range of the apex angle is represented by (S min ,S max ), then the i-th candidate angle in the angle population can be expressed as θ i ∈(S min ,θ max ), which candidate angle represents a candidate value of the apex angle.

[0079] Step S223h: Update the angle population according to the initial estimated angle to obtain an updated angle population.

[0080] The implementation of the above step S223h is relatively complicated, so the implementation of step S223 will be introduced in detail below.

[0081] Step S223i: For each candidate angle among the multiple candidate angles in the updated angle population, calculate the fitness value of the candidate angle according to the sensor data.

[0082] As an optional implementation of the above step S223i, the above sensor data may include: a light sensor, a temperature sensor; the above implementation of calculating the fitness value of the candidate angle according to the sensor data may include: using the formula Calculate the sensor data to obtain the fitness value of the candidate angle;

[0083] Among them, θ represents the candidate angle, that is, the candidate value of the apex angle, and F(θ) represents the fitness value of the candidate angle. represents the shading effect at the candidate angle θ, I(θ) represents the light intensity collected by the light sensor at the candidate angle θ, that is, the lighting effect at the candidate angle θ, C is an empirical constant, represents the temperature control effect at the candidate angle θ, T(θ) represents the target temperature at the candidate angle θ, A(θ) represents the actual temperature collected by the temperature sensor at the candidate angle θ, w1, w2 and (1-w1-w2) represent the weights of each target of shading effect, lighting effect and temperature control effect, respectively, which are used to balance the importance of each target.

[0084] Step S223j: Determine the optimal angle from multiple candidate angles in the angle population according to the fitness value of each candidate angle.

[0085] As an optional implementation of the above step S223j, the above implementation of determining the optimal angle from multiple candidate angles in the angle population according to the fitness value of each candidate angle may include: judging whether the fitness value of the candidate angle is greater than the fitness value of the optimal angle calculated in the last iteration. If the fitness value of the candidate angle is greater than the fitness value of the optimal angle calculated in the last iteration, the candidate angle is determined as the optimal angle. If the fitness value of the candidate angle is less than or equal to the fitness value of the optimal angle calculated in the last iteration, the optimal angle calculated in the last iteration is determined as the optimal angle.

[0086] Step S223k: Iteratively calculate the angle population according to the apex angle corresponding to the optimal angle until the fitness value of the optimal angle is less than a preset threshold, and then determine the apex angle corresponding to the optimal angle as the above-mentioned refined angle.

[0087] In the implementation process of the above scheme, by randomly generating angle populations within a preset range, a global search can be performed, and the possibility of finding the optimal solution is greater. Traditional optimization methods are prone to fall into local optimality, while evolutionary algorithms can jump out of local optimality through population evolution, thereby effectively finding the global optimal refined angle, and after multiple iterative calculations, gradually approaching the optimal angle, making the final refined angle more accurate and improving the adjustment accuracy.

[0088] As an optional implementation of the above step S223h, the above implementation of updating the angle population according to the initial estimated angle may include:

[0089] Step S2231: mutate multiple candidate angles of the angle population within a preset range of the apex angle to obtain multiple mutated angles.

[0090] The implementation method of the above step S223f is, for example: borrowing the crossover mutation operation idea in the genetic algorithm, the formula θ′=θ+N(0,σ 2 );θ∈(S min ,S max ) Perform mutation optimization on multiple candidate angles of the angle population within the preset range of the apex angle to obtain multiple mutation angles. Among them, θ′ represents the candidate angle after mutation, θ represents the candidate angle before mutation, N(0,σ 2 ) means the mean is 0 and the variance is σ 2 Optionally, if the candidate angle θ′ after mutation exceeds the preset range of the apex angle (S min ,Smax ), the candidate angle can be mutated again.

[0091] Step S223m: Filter out the optimal angle from the set of the initial estimated angle and multiple variation angles.

[0092] Step S223n: cross-learning the optimal angle and each variation angle among multiple variation angles.

[0093] The implementation method of the above step S223n is, for example, to use the formula θ′ best =θ best ×lr+θ′×(1-lr) performs cross-learning on the optimal angle and each of the multiple variant angles to obtain candidate angles after cross-learning. The multiple candidate angles after cross-learning constitute the above updated angle population. best represents the candidate angle after cross-learning, lr represents the learning rate, θ best represents the optimal angle, and θ′ represents the candidate angle after mutation.

[0094] In the implementation process of the above scheme, by screening out the optimal angle from the set of initial estimation angles and mutation angles, we can quickly converge to the area close to the optimal solution. Since the cross-learning between the optimal angle and the mutation angle can further increase the diversity of the population and promote the evolution of the population towards a better solution, the optimization process can be accelerated. Moreover, the mutation operation helps to jump out of the local optimal solution and explore more possibilities. The probability of finding the global optimal solution is higher, thereby improving the efficiency of finding the global optimal solution.

[0095] As an optional implementation of the above-mentioned method for adjusting the angle of the shed top, after obtaining the initial estimated angle, it also includes:

[0096] Step S225: sending the initial estimated angle to the tip adjustment mechanism of the tip shed, so that the tip adjustment mechanism adjusts the tip angle of the tip shed to the initial estimated angle.

[0097] An example of an implementation of the above step S225 is: the electronic device generates a control instruction according to the initial estimated angle obtained in step S222, selects a suitable communication method (such as Wi-Fi, Bluetooth, Zigbee, etc.) to send the control instruction containing the initial estimated angle to the spire adjustment mechanism, so that the spire adjustment mechanism adjusts the spire angle of the spire to the initial estimated angle. In the implementation process of the above scheme, by sending the initial estimated angle to the spire adjustment mechanism, an instant response can be achieved, and the angle of the spire canopy can be quickly adjusted to the expected optimal position. The instant sending of instructions reduces the time delay from calculation to execution, ensuring that the system can quickly adapt to environmental changes, thereby achieving effects such as shading and increasing lighting as early as possible, and improving the efficiency of the system's instant response.

[0098] See also Figure 3 The schematic diagram of the structure of the shed top angle adjustment device provided in the embodiment of the present application is shown; the embodiment of the present application provides a shed top angle adjustment device 300, comprising:

[0099] The adjustment reference factor acquisition module 310 is used to acquire the adjustment reference factor of the pointed roof.

[0100] The peaked roof adaptive adjustment module 320 is used to adaptively adjust the peak angle of the peaked roof according to the adjustment reference factor.

[0101] As an optional implementation of the above device, the adjustment reference factors include: light, geographical location, time and / or season.

[0102] As an optional embodiment of the above device, the shed top angle adjustment device includes:

[0103] The adjustment control factor receiving module is used to receive the adjustment control factor sent by the terminal device, and the adjustment control factor includes: the control parameter and / or synchronization parameter of the terminal device.

[0104] The spire angle readjustment module is used to readjust the spire angle of the spire shed according to the control parameters and / or synchronization parameters of the terminal device.

[0105] As an optional implementation of the above device, the reference factor is adjusted, including: sensor data and the collection time of the sensor data; the peak ceiling adaptive adjustment module includes:

[0106] The data time acquisition submodule is used to obtain the sensor data of the pointed roof and the collection time of the sensor data.

[0107] The angle initial estimation submodule is used to determine the current season according to the acquisition time, and to make an initial estimation of the peak angle according to the current season to obtain an initial estimated angle.

[0108] The angle fine prediction submodule is used to make a fine prediction of the initial estimated angle according to the sensor data to obtain a fine angle.

[0109] The fine angle sending submodule is used to send a fine angle to the tip adjustment mechanism of the tip shed, so that the tip adjustment mechanism adjusts the tip angle of the tip shed to the fine angle.

[0110] As an optional implementation of the above device, the sensor data includes: a global positioning system GPS sensor; an angle fine prediction submodule includes:

[0111] The geographic location acquisition unit is used to acquire the geographic location output by the GPS sensor, and the geographic location includes: altitude, longitude and latitude.

[0112] The angle fine prediction unit is used to further refine the prediction of the initial estimated angle according to the altitude, longitude and latitude.

[0113] As an optional implementation of the above device, the sensor data further includes: a light sensor; and an angle fine prediction unit, including:

[0114] The illumination information acquisition subunit is used to acquire the illumination information output by the illumination sensor.

[0115] The solar information determination subunit is used to determine the solar altitude angle and solar azimuth angle of the pointed roof according to the lighting information, collection time, altitude, longitude and latitude.

[0116] The refined prediction subunit is used to make a refined prediction of the initial estimated angle according to the solar altitude angle and the solar azimuth angle.

[0117] As an optional implementation of the above device, the angle fine prediction submodule includes:

[0118] The angle population generating unit is used to randomly generate an angle population within a preset range of the apex angle, wherein the angle population includes a plurality of candidate angles, and the candidate angles represent candidate values ​​of the apex angle.

[0119] The angle population updating unit is used to update the angle population according to the initial estimated angle to obtain an updated angle population.

[0120] The fitness value calculation unit is used to calculate the fitness value of each candidate angle among the multiple candidate angles in the updated angle population according to the sensor data.

[0121] The optimal angle determination unit is used to determine the optimal angle from multiple candidate angles in the angle population according to the fitness value of each candidate angle.

[0122] The population iterative calculation unit is used to iteratively calculate the angle population according to the apex angle corresponding to the optimal angle until the fitness value of the optimal angle is less than a preset threshold, and then determine the apex angle corresponding to the optimal angle as the refined angle.

[0123] As an optional implementation of the above device, the angle population updating unit includes:

[0124] The candidate angle mutation subunit is used to mutate multiple candidate angles of the angle population within a preset range of the apex angle to obtain multiple mutant angles.

[0125] The optimal angle screening subunit is used to screen out the optimal angle from the initial estimated angle and the set of multiple variation angles.

[0126] The angle cross-learning subunit is used to perform cross-learning on the optimal angle and each variation angle of multiple variation angles.

[0127] As an optional implementation of the above device, the sensor data includes: a light sensor and a temperature sensor; the fitness value calculation unit includes:

[0128] Data calculation subunit, used to use formula The sensor data is calculated to obtain the fitness value of the candidate angle; wherein θ represents the candidate angle, that is, the candidate value of the apex angle, and F(θ) represents the fitness value of the candidate angle. represents the shading effect at the candidate angle θ, I(θ) represents the light intensity collected by the light sensor at the candidate angle θ, that is, the lighting effect at the candidate angle θ, C is an empirical constant, represents the temperature control effect at the candidate angle θ, T(θ) represents the target temperature at the candidate angle θ, A(θ) represents the actual temperature collected by the temperature sensor at the candidate angle θ, w1, w2 and (1-w1-w2) represent the weights of each target of shading effect, lighting effect and temperature control effect, respectively, which are used to balance the importance of each target.

[0129] As an optional implementation manner of the above device, the optimal angle determination unit includes:

[0130] The fitness value judgment subunit is used to judge whether the fitness value of the candidate angle is greater than the fitness value of the optimal angle calculated after the previous iteration.

[0131] The optimal angle determination subunit is used to determine the candidate angle as the optimal angle if the fitness value of the candidate angle is greater than the fitness value of the optimal angle calculated after the previous iterative calculation, otherwise, determine the optimal angle calculated after the previous iterative calculation as the optimal angle.

[0132] As an optional implementation of the above device, the shed top angle adjustment device further includes:

[0133] The estimated angle sending module is used to send the initial estimated angle to the peak adjustment mechanism of the peak shed, so that the peak adjustment mechanism adjusts the peak angle of the peak shed to the initial estimated angle.

[0134] It should be understood that the device corresponds to the above-mentioned embodiment of the method for adjusting the angle of the shed top, and can perform the various steps involved in the above-mentioned method embodiment. The specific functions of the device can be found in the description above, and the detailed description is appropriately omitted here. The device includes at least one software function module that can be stored in a memory in the form of software or firmware or solidified in the operating system (OS) of the device.

[0135] See also Figure 4 An electronic device 400 provided in an embodiment of the present application includes: a processor 410 and a memory 420, wherein the memory 420 stores machine-readable instructions executable by the processor 410, and when the machine-readable instructions are executed by the processor 410, the above method is executed.

[0136] The embodiment of the present application also provides a computer-readable storage medium 430, on which a computer program is stored, and the computer program is executed by the processor 410 to execute the above method. The computer-readable storage medium 430 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, disk or optical disk.

[0137] The embodiment of the present application also provides a computer program product, including: a computer program or a computer instruction, and the computer program or the computer instruction executes the method described above when executed by a processor.

[0138] It should be noted that each embodiment in this specification is described in a progressive manner, and each embodiment focuses on the differences from other embodiments, and the same or similar parts between the embodiments can be referred to each other. For the device embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.

[0139] In several embodiments provided by the embodiments of the present application, it should be understood that the disclosed device and method can also be implemented in other ways. The device embodiments described above are only schematic, for example, the flowcharts and block diagrams in the accompanying drawings show the possible implementation architecture, functions and operations of the devices, methods and computer program products according to the multiple embodiments of the embodiments of the present application. In this regard, each box in the flowchart or block diagram can represent a part of a module, a program segment or a code, and a part of a module, a program segment or a code includes one or more executable instructions for implementing a specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also be different from the order of occurrence marked in the accompanying drawings. For example, two consecutive boxes can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, which is mainly determined by the functions involved.

[0140] In addition, each functional module of each embodiment in the embodiment of the present application can be integrated together to form an independent part, or each module can exist separately, or two or more modules can be integrated to form an independent part. In addition, in the description of this specification, the description of reference terms "one embodiment", "some embodiments", "example", "specific example", "some examples", etc. means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the embodiment of the present application. In this specification, the schematic representation of the above terms does not necessarily target the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described can be combined in any one or more embodiments or examples in a suitable manner. In addition, those skilled in the art can combine and combine the different embodiments or examples described in this specification and the features of the different embodiments or examples without contradiction.

[0141] The above description is only an optional implementation manner of the embodiments of the present application, but the protection scope of the embodiments of the present application is not limited thereto. Any technician familiar with the technical field can easily think of changes or replacements within the technical scope disclosed in the embodiments of the present application, which should be covered within the protection scope of the embodiments of the present application.

Claims

1. A method for adjusting the angle of a shed top, characterized in that: include: Obtain the adjustment reference factor of the pointed roof; The peak angle of the peak shed is adaptively adjusted according to the adjustment reference factor.

2. The method according to claim 1, characterized in that The adjustment reference factors include: light, geographical location, time and / or season.

3. The method according to claim 1, characterized in that: After the method adaptively adjusts the peak angle of the peak shed according to the adjustment reference factor, the method further includes: Receiving an adjustment control factor sent by a terminal device, the adjustment control factor including: a control parameter and / or a synchronization parameter of the terminal device; The peak angle of the peak shed is readjusted according to the control parameters and / or synchronization parameters of the terminal device.

4. The method according to claim 1, characterized in that: The adjustment reference factor includes: sensor data and the collection time of the sensor data; the step of adaptively adjusting the peak angle of the peak shed according to the adjustment reference factor includes: Acquire sensor data of the pointed roof and the acquisition time of the sensor data; Determine the current season according to the acquisition time, and make a preliminary estimate of the peak angle according to the current season to obtain a preliminary estimated angle; Performing a refined prediction on the initially estimated angle according to the sensor data to obtain a refined angle; The refined angle is sent to a peak adjustment mechanism of the peak shed, so that the peak adjustment mechanism adjusts the peak angle of the peak shed to the refined angle.

5. The method according to claim 4, characterized in that The sensor data includes: a global positioning system GPS sensor; the refining prediction of the initial estimated angle according to the sensor data includes: Obtaining the geographical location output by the GPS sensor, the geographical location including: altitude, longitude and latitude; The initially estimated angle is further refined according to the altitude, the longitude and the latitude.

6. The method according to claim 5, characterized in that The sensor data further includes: a light sensor; and the further refining prediction of the initially estimated angle according to the altitude, the longitude and the latitude includes: Acquiring illumination information output by the illumination sensor; Determine the solar altitude angle and solar azimuth angle of the pointed roof according to the illumination information, the acquisition time, the altitude, the longitude and the latitude; The initially estimated angle is refinedly predicted according to the solar altitude angle and the solar azimuth angle.

7. The method according to claim 4, characterized in that The step of performing a refined prediction on the initially estimated angle according to the sensor data to obtain a refined angle includes: Randomly generate an angle population within a preset range of the apex angle, the angle population including a plurality of candidate angles, the candidate angles representing candidate values ​​of the apex angle; updating the angle population according to the initial estimated angle to obtain an updated angle population; For each candidate angle among the multiple candidate angles in the updated angle population, calculating a fitness value of the candidate angle according to the sensor data; Determining an optimal angle from a plurality of candidate angles in the angle population according to a fitness value of each candidate angle; The angle population is iteratively calculated according to the apex angle corresponding to the optimal angle until the fitness value of the optimal angle is less than a preset threshold, and the apex angle corresponding to the optimal angle is determined as the refined angle.

8. The method according to claim 7, characterized in that The updating of the angle population according to the initial estimated angle comprises: mutating a plurality of candidate angles of the angle population within a preset range of the apex angle to obtain a plurality of mutated angles; Selecting an optimal angle from the initial estimated angle and the set of multiple variation angles; Cross-learning is performed on the optimal angle and each variation angle of the multiple variation angles.

9. The method according to claim 7, characterized in that: The sensor data includes: a light sensor and a temperature sensor; and the step of calculating the fitness value of the candidate angle according to the sensor data includes: Using the formula Calculating the sensor data to obtain a fitness value of the candidate angle; Among them, θ represents the candidate angle, that is, the candidate value of the apex angle, and F(θ) represents the fitness value of the candidate angle. represents the shading effect at the candidate angle θ, I(θ) represents the light intensity collected by the light sensor at the candidate angle θ, that is, the lighting effect at the candidate angle θ, C is an empirical constant, represents the temperature control effect at the candidate angle θ, T(θ) represents the target temperature at the candidate angle θ, A(θ) represents the actual temperature collected by the temperature sensor at the candidate angle θ, w1, w2 and (1-w1-w2) respectively represent the target weights of each target of shading effect, lighting effect and temperature control effect, which are used to balance the importance of each target.

10. The method according to claim 7, characterized in that The step of determining the optimal angle from a plurality of candidate angles in the angle population according to the fitness value of each candidate angle comprises: Determine whether the fitness value of the candidate angle is greater than the fitness value of the optimal angle calculated in the previous iteration; If so, the candidate angle is determined as the optimal angle; otherwise, the optimal angle calculated in the last iteration is determined as the optimal angle.

11. The method according to any one of claims 4 to 10, characterized in that: After obtaining the initial estimated angle, the method further includes: The initially estimated angle is sent to a peak adjustment mechanism of the peak shed, so that the peak adjustment mechanism adjusts the peak angle of the peak shed to the initially estimated angle.

12. A device for adjusting the angle of a shed top, characterized in that: include: An adjustment reference factor acquisition module is used to obtain an adjustment reference factor of a pointed roof; The pointed roof adaptive adjustment module is used to adaptively adjust the pointed roof angle of the pointed roof according to the adjustment reference factor.

13. An electronic device, characterized in that: include: A processor and a memory, wherein the memory stores machine-readable instructions executable by the processor, and the machine-readable instructions are executed by the processor to perform any method according to claims 1 to 11.

14. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the method according to any one of claims 1 to 11 is executed.

15. A computer program product, characterized in that include: A computer program or a computer instruction, wherein when the computer program or the computer instruction is executed by a processor, the method according to any one of claims 1 to 11 is executed.