Disclosure of Invention
The present invention is directed to provide a method, an apparatus, a device and a storage medium for controlling outdoor equipment, so as to improve the working performance of the outdoor equipment.
In order to achieve the above purpose, the technical solutions adopted in the embodiments of the present application are as follows:
in a first aspect, an embodiment of the present application provides an outdoor device control method, where the outdoor device includes: the solar energy charging device comprises a solar charging panel, a battery, a working module and a processor; the solar charging panel is electrically connected with the battery to charge the battery, the battery is electrically connected with the working module and the processor to supply power for the working module and the processor, and the processor is respectively in communication connection with the battery and the working module; the method comprises the following steps:
acquiring the weather state of the position in the future time length according to the future time length corresponding to the full power requirement and the position of the outdoor equipment;
determining a target charging power within the future time length corresponding to the weather state according to the weather state;
determining a target operation mode of the operation module in the future time period according to the residual capacity information of the battery, the full electric power corresponding to the full electric requirement and the target charging power;
and controlling the working module to execute corresponding work in the target working mode in the future time length.
Optionally, the determining a target operation mode of the operation module for the future time period according to the remaining capacity information of the battery, the full electric power corresponding to the full electric demand, and the target charging power includes:
determining a total target power consumption of the battery in the future time period according to the residual capacity information of the battery, the full electric power corresponding to the full electric requirement and the target charging power;
and determining the target working mode according to the total target power consumption.
Optionally, the determining the target operating mode according to the total target power consumption includes:
determining the target power consumption of unit time length in the future time length according to the total target power consumption and the future time length;
and determining the working mode with the unit time length power consumption meeting the target power consumption as the target working mode according to the target power consumption and the unit time length power consumption corresponding to the preset multiple working modes.
Optionally, the determining, according to the target power consumption and unit duration power consumptions corresponding to multiple preset operating modes, that the operating mode in which the unit duration power consumption satisfies the target power consumption is the target operating mode includes: and determining that the power consumption per unit time length is smaller than the target power consumption and the working mode with the largest power consumption is the target working mode according to the target power consumption and the power consumption per unit time length corresponding to the multiple working modes.
Optionally, before determining, according to the target power consumption and unit duration power consumptions corresponding to multiple preset operating modes, that the operating mode in which the unit duration power consumption satisfies the target power consumption is the target operating mode, the method further includes: and measuring the power consumption of the battery when the working module works in each working mode in unit time length, and determining the power consumption of the unit time length corresponding to each working mode.
Optionally, the determining, according to the weather state, the target charging power within the future time period corresponding to the weather state includes:
according to the weather state, determining the charging power in unit time length corresponding to the weather state by adopting the preset charging power corresponding to at least one weather state;
and determining the target charging power according to the charging power in the unit time length corresponding to the weather state and the future time length.
Optionally, before determining, according to the weather state, the charging power corresponding to at least one preset weather state and before determining the charging power in the unit time length corresponding to the weather state, the method further includes: and measuring the charging power of the battery by the solar charging panel under each weather state, and determining the charging power corresponding to each weather state.
In a second aspect, an embodiment of the present application further provides an outdoor device control apparatus, where the outdoor device includes: the solar energy charging device comprises a solar charging panel, a battery, a working module and a processor; the solar charging panel is electrically connected with the battery to charge the battery, the battery is electrically connected with the working module and the processor to supply power for the working module and the processor, and the processor is respectively in communication connection with the battery and the working module; the device comprises: the device comprises an acquisition module, a determination module and a control module;
the acquisition module is used for acquiring the weather state of the position in the future time length according to the future time length corresponding to the full power requirement and the position of the outdoor equipment;
the determining module is used for determining the target charging power within the future time length corresponding to the weather state according to the weather state; determining a target operation mode of the operation module in the future time period according to the residual capacity information of the battery, the full electric power corresponding to the full electric requirement and the target charging power;
and the control module is used for controlling the working module to execute corresponding work in the target working mode in the future time length.
Optionally, the determining module is configured to determine a total target power consumption of the battery in the future time period according to the remaining capacity information of the battery, the full electric power corresponding to the full electric demand, and the target charging power; and determining the target working mode according to the total target power consumption.
Optionally, the determining module is specifically configured to determine, according to the total target power consumption and the future time length, a target power consumption of a unit time length in the future time length;
and determining the working mode with the unit time length power consumption meeting the target power consumption as the target working mode according to the target power consumption and the unit time length power consumption corresponding to the preset multiple working modes.
Optionally, the determining module is configured to determine, according to the target power consumption and the power consumption per unit time length corresponding to the multiple operating modes, that the power consumption per unit time length is smaller than the target power consumption, and one operating mode with the largest power consumption is the target operating mode.
Optionally, the determining module is further configured to measure, within a unit duration, power consumption of the battery when the operating module operates in each operating mode, and determine power consumption of the unit duration corresponding to each operating mode.
Optionally, the determining module is configured to determine, according to the weather state, the charging power in the unit time length corresponding to the weather state by using a preset charging power corresponding to at least one weather state;
and determining the target charging power according to the charging power in the unit time length corresponding to the weather state and the future time length.
Optionally, the determining module is further configured to measure the charging power of the battery by the solar charging panel in each weather state, and determine the charging power corresponding to each weather state.
In a third aspect, an embodiment of the present application further provides an outdoor device, including: the solar energy charging device comprises a solar charging panel, a battery, a working module and a processor; the solar charging panel is electrically connected with the battery to charge the battery, the battery is electrically connected with the working module and the processor to supply power for the working module and the processor, and the processor is respectively in communication connection with the battery and the working module;
the processor is configured to execute any one of the outdoor device control methods provided in the embodiments of the first aspect.
In a fourth aspect, an embodiment of the present application further provides a computer-readable storage medium, where the storage medium stores a computer program, and the computer program is executed by a processor to perform any one of the outdoor device control methods provided in the embodiments of the first aspect.
The beneficial effect of this application is:
the application provides an outdoor equipment control method, an outdoor equipment control device and an equipment storage medium, wherein the outdoor equipment comprises: the solar energy charging device comprises a solar charging panel, a battery, a working module and a processor; the solar charging panel is electrically connected with the battery to charge the battery, the battery is electrically connected with the working module and the processor to supply power for the working module and the processor, and the processor is respectively in communication connection with the battery and the working module; the method comprises the following steps: acquiring the weather state of a position in the future time length according to the future time length corresponding to the full power requirement and the position of the outdoor equipment; determining target charging power within a future time length corresponding to the weather state according to the weather state; determining a target working mode of the working module in a future time length according to the residual capacity information of the battery, the full electric power corresponding to the full electric requirement and the target charging power; and controlling the working module to execute corresponding work in the target working mode in the future time length. According to the scheme, firstly, the weather state of the position of the outdoor equipment in the future time length is obtained, the target power is determined according to the weather state, the full electric power corresponding to the full electric requirement and the target charging power can be determined according to the residual electric quantity information of the battery, the target working mode of the working module in the future time length is determined, and the processor in the outdoor equipment can control the working module to execute corresponding work in the target working mode in the future time length, so that the purpose of fully utilizing solar energy is achieved, the working performance of the outdoor equipment is improved, the purpose of fully utilizing the solar energy and effectively balancing the performance and the power consumption is achieved.
In addition, determining the total target power consumption of the battery in the future time length according to the residual capacity information of the battery, the full electric power corresponding to the full electric requirement and the target charging power; and the target working mode is determined according to the total target power consumption, so that the normal work of the outdoor equipment can be ensured, the problem that the outdoor equipment cannot work due to insufficient electric quantity can be avoided, the outdoor equipment can run at the best working performance while the outdoor equipment is kept in full power, and the working performance of the outdoor equipment is improved.
Secondly, the unit time length power consumption is determined to be smaller than the target power consumption according to the target power consumption and the unit time length power consumption corresponding to the multiple working modes, and the working mode with the largest power consumption is the target working mode, so that the best working performance of the working module can be ensured, the outdoor equipment is in the best running mode, and the working performance of the outdoor equipment is effectively improved.
Finally, the optimal operation modes of different outdoor equipment products can be determined according to different outdoor equipment products, the current battery residual capacity, the corresponding target charging power of the future weather state, the power required by full power and the power consumption of different working modes, and the working performance of the outdoor equipment is improved.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all, embodiments of the present invention.
Fig. 1 is a schematic structural diagram of an outdoor device according to an embodiment of the present disclosure; as shown in fig. 1, theoutdoor apparatus 100 includes: thesolar charging panel 101, thebattery 102, theoperating module 103 and theprocessor 104. Thisoutdoor equipment 100 can be installed at outdoor surveillance camera head, street lamp etc. such as highway, farmland orchard, park reservoir or building site, does not do the injecing here to guarantee that the position sunshine ofoutdoor equipment 100 installation is sufficient, andoutdoor equipment 100 has waterproof function, need not have the electricity, as long as illumination is enough, can realize 24 incessant work in whole day.
Wherein, thesolar charging panel 101 is electrically connected with thebattery 102, and thesolar charging panel 101 has waterproof property, so as to be afraid of rain and snow, so as to ensure the normal charging of thebattery 102, realize the conversion of solar energy into electric energy, and store the electric energy in thebattery 102. Thebattery 102 is electrically connected to the workingmodule 103 and theprocessor 104 to supply power to theworking module 103 and theprocessor 104, so as to ensure that theworking module 103 and theprocessor 104 can work normally according to actual requirements. Theprocessor 104 is in communication connection with thebattery 102 and the workingmodule 103, and can control thebattery 102 and the workingmodule 103 according to related requirements through theprocessor 104, for example, theoutdoor device 100 is a monitoring device head installed on a highway, and theworking module 103 therein can be a camera for performing photographing on a monitoring scene, and can control the workingmodule 103 to perform a corresponding photographing monitoring mode according to the electric quantity of thebattery 102 in the future time period, so that the performance of the workingmodule 103 can be effectively balanced according to the electric quantity of thebattery 102, and the working performance of theoutdoor device 100 is improved.
Fig. 2 is a schematic structural diagram of an outdoor device control terminal according to an embodiment of the present disclosure; as shown in fig. 2, optionally, theoutdoor device 100 may further include: amemory 201. Thememory 201 is used for storing a program, and theprocessor 104 calls the program stored in thememory 201 to execute the outdoor device control method provided by the embodiment, and the specific implementation manner and the technical effect are similar, and will be explained in detail by the following embodiments.
Optionally, the present invention also provides a program product, such as a computer-readable storage medium, comprising a program which, when executed by a processor, is adapted to perform the method provided in the embodiments below.
The outdoor device control method provided by the embodiment of the present application is explained below by way of a plurality of examples. Fig. 3 is a schematic flowchart of an outdoor device control method according to an embodiment of the present disclosure; the method can be implemented by a processor of the outdoor device. As shown in fig. 3, the method includes:
s301, acquiring the weather state of the position in the future time length according to the future time length corresponding to the full power requirement and the position of the outdoor equipment.
The full charge requirement may be that the outdoor unit is operated in a full charge mode after the operation of the outdoor unit is finished for a future time period, which may be, for example, a preset unit time period in the future, such as one day, two days, or the like. And the position of the outdoor equipment to acquire the weather state of one, two or three days in the future.
Optionally, the processor in the outdoor device may have a positioning function, and then the geographic location of the current outdoor device may be obtained through the processor, and the outdoor device further has a communication function, and may also obtain a weather state of the current geographic location for a future time period, for example, the weather state of the current location for the future time period may be obtained every morning, and for example, the weather state may include: sunny, cloudy, or rainy/snowy, etc.
Optionally, a communication module may be further disposed inside the outdoor device, and the position weather state in the future time length is acquired through the communication module and sent to the processor in the outdoor device.
S302, determining the target charging power within the future time length corresponding to the weather state according to the weather state.
In a possible implementation manner, according to the weather state, the charging power per unit time length corresponding to the weather state may be determined first, and according to the charging power per unit time length corresponding to the weather state and the future time length, the target charging power may be determined.
For example, the target charging power of the battery on the next day in the future may be determined by calculation or other manners, for example, the target charging power in one day corresponding to the cloudy day is 2W, which is not limited herein, and the target charging power may be determined according to the charging capabilities of the solar charging panels of different outdoor devices.
And S303, determining a target working mode of the working module in the future time length according to the residual capacity information of the battery, the full electric power corresponding to the full electric requirement and the target charging power.
Specifically, after the target charging power in the future time length corresponding to the weather state is determined, the target operating mode of the operating module in the outdoor equipment in the future time length is calculated and determined according to the current remaining capacity information of the battery in the outdoor equipment, the full electric power corresponding to the full electric requirement (namely, the power required for the battery to keep full electric after the end of every day of operation), and the target charging power in the future time length, so that the outdoor equipment can exert the optimal operating performance.
In this embodiment, for example, if it is acquired that the weather state of the next day in the future is a sunny day, it may be determined that the target charging power is 8W through calculation, measurement, or other manners, and for example, if the battery remaining capacity in the current outdoor device is 5W, it may be determined that the total power of the target charging power and the current remaining capacity is 13W, that is, 8W +5W is 13W; for another example, the full electric power 10W corresponding to the full electric demand may be calculated and determined, and if the outdoor device is to be kept full after the operation is finished, the target power consumption 3W of the outdoor device on the next day in the future may be calculated and determined, that is, 13W-10W is 3W, and the target operation mode of the operation module in the outdoor device on the next day in the future may be calculated and determined according to the target power consumption on the next day in the future. For example, the operating modes of the outdoor device may include: full-speed mode, low-speed mode, half-speed mode, etc., which are not specifically limited herein, and may also include other operating modes.
And S304, controlling the working module to execute corresponding work in the target working mode in the future time length.
For example, after determining the target operation mode in the future time period, the processor controls the operation module to perform the corresponding operation in the target mode. For example, when the outdoor device is a monitoring camera, and it is determined that the target working mode of the monitoring camera on the next day in the future is a low-speed mode, the processor may control the monitoring camera to execute the corresponding monitoring mode in the low-speed mode on the next day in the future. For example, after the infrared information is detected or after the preset time is set, the processor controls the working module to photograph and monitor the monitoring scene correspondingly, so that the working performance of the monitoring camera is improved, and the monitoring camera can run economically, efficiently and safely.
To sum up, an embodiment of the present application provides an outdoor device control method, where the outdoor device includes: the solar energy charging device comprises a solar charging panel, a battery, a working module and a processor; the solar charging panel is electrically connected with the battery to charge the battery, the battery is electrically connected with the working module and the processor to supply power for the working module and the processor, and the processor is respectively in communication connection with the battery and the working module; the method comprises the following steps: acquiring the weather state of a position in the future time length according to the future time length corresponding to the full power requirement and the position of the outdoor equipment; determining target charging power within a future time length corresponding to the weather state according to the weather state; determining a target working mode of the working module in a future time length according to the residual capacity information of the battery, the full electric power corresponding to the full electric requirement and the target charging power; and controlling the working module to execute corresponding work in the target working mode in the future time length. According to the scheme, firstly, the weather state of the position of the outdoor equipment in the future time length is obtained, the target power is determined according to the weather state, the target working mode of the working module in the future time length is determined according to the residual capacity information of the battery, the full electric power corresponding to the full electric requirement and the target charging power, and the processor in the outdoor equipment can control the working module to execute corresponding work in the target working mode in the future time length, so that the purpose of fully utilizing solar energy is achieved, the working performance of the outdoor equipment is improved, and the purpose of effectively balancing performance and power consumption is achieved.
Fig. 4 is a schematic flowchart of another outdoor device control method according to an embodiment of the present application; as shown in fig. 4, determining a target operation mode of the operation module in a future time period according to the remaining capacity information of the battery, the full electric power corresponding to the full electric demand, and the target charging power includes:
s401, determining total target power consumption of the battery in a future time period according to the remaining capacity information of the battery, full electric power corresponding to a full electric requirement and target charging power.
In the present embodiment, for example, the remaining capacity of the current battery of the outdoor device is 8W, the full electric power 10W corresponding to the full-electricity requirement of the battery, and the target charging power determined according to the weather conditions of the three days in the future, for example, the weather conditions of the three days in the future are all clear days, and the target charging power determined by calculation according to the weather conditions of the three days in the future is 18W, the total power 26W of the battery in the three days in the future, that is, 8W +18W equals 26W, and the total target power consumption 16W of the battery in the three days in the future, that is, 18W +8W-10W equals 16W, is determined according to the full electric power 10W corresponding to the full-electricity requirement of the battery.
S402, determining a target working mode according to the total target power consumption.
For another example, on the basis of the above-described embodiment, after the total target power consumption 16W of the battery for three days in the future is determined, the target operation mode may be determined by calculating power consumption of different operation modes and according to the power consumption of the different operation modes.
For example, the operational modes may include: for example, the power consumption of three days in the full-speed mode is 15W, the power consumption of three days in the half-speed mode is 9W, and the power consumption of three days in the low-speed mode is 3W, it is found by comparison that if the outdoor device operates in the full-speed mode for three days in the future, 1W remains after three days, that is, 16W-15W is 1W, and if the outdoor device operates in the half-speed mode for three days in the future, 7W remains after three days, that is, 16W-9W is 7W, it can be determined by calculation that the target operation mode for three days in the future is the full-speed mode, that is, the full-speed mode is the optimal operation mode for the outdoor device for three days in the future, so that the outdoor device can operate at high performance while ensuring full power, and the operation performance of the outdoor device is effectively improved.
In addition, the target working mode is determined according to the total target power consumption, so that the outdoor equipment can be ensured to normally work in the future three days, and the problem that the outdoor equipment cannot work due to insufficient electric quantity can be solved.
Fig. 5 is a schematic flowchart of another outdoor device control method according to an embodiment of the present application; as shown in fig. 5, determining the target operating mode according to the total target power consumption includes:
s501, determining the target power consumption of unit time length in the future time length according to the total target power consumption and the future time length.
For example, on the basis of the above-described embodiment, the total target power consumption for three days in the future is 16W, and it may be determined that the target power consumption for each day in the three days in the future is 5.33W, that is, 16W/3 days — 5.33W/day. The target power consumption per unit time length for the next three days, for example, the target power consumption per hour for the next three days, is also determined, but not limited thereto.
S502, according to the target power consumption and the unit time length power consumption corresponding to the preset multiple working modes, determining the working mode with the unit time length power consumption meeting the target power consumption as the target working mode.
For example, on the basis of the above-described embodiment, after determining that the target power consumption per day for the next three days is 5.33W/day. Assuming that the operation modes of the outdoor device for three days in the future are the same, the target power consumption of 5.33W/day per day in three days in the future can be determined, and according to the unit time length power consumption corresponding to the preset multiple operation modes, the operation mode in which the unit time length power consumption meets the target power consumption is determined as the target operation mode, for example, the power consumption of 6W per day in the full-speed mode, the power consumption of 4W per day in the half-speed mode, and the power consumption of 1W per day in the low-speed mode, it can be found through comparative analysis that, if the outdoor device is operated in the full-speed mode every day, the target power consumption of 5.33W per day is less than the power consumption of 6W per day in the full-speed mode every day, that is 5.33W <6W, it can be seen that, if the outdoor device is operated in the full-speed mode for two days, the power consumption is 12W, that 6W/day 2W is 12W, the problem that the electric quantity is insufficient and the normal work cannot be realized can occur.
And comparing the residual electric quantity 4W of the battery on the third day in the future with the power consumption 4W of the battery on the first day in the unit time length corresponding to the half-speed mode, wherein the power consumption of the battery on the first day in the half-speed mode meets the target power consumption 4W, and then the target working mode on the third day can be determined to be the half-speed mode, so that the outdoor equipment can be ensured to normally work in the third day in the future, the target power consumption is fully utilized, and the outdoor equipment can be enabled to be in the optimal running mode to exert the optimal performance of the outdoor equipment.
Optionally, determining, according to the target power consumption and the unit duration power consumption corresponding to the preset multiple operating modes, an operating mode in which the unit duration power consumption meets the target power consumption as the target operating mode includes:
and determining that the power consumption of the unit time length is smaller than the target power consumption and the working mode with the largest power consumption is the target working mode according to the target power consumption and the power consumption of the unit time length corresponding to the multiple working modes.
As another example, the target power consumption of 6W in a future day, the operation mode may include: the operation modes may include: full-speed mode, half-speed mode, low-speed mode, etc., for example, it is determined by calculation or other means that the power consumption per unit time length of the full-speed mode is 5W, the power consumption per unit time length of the half-speed mode is 3W, and the power consumption per unit time length of the low-speed mode is 1W. According to the fact that the power consumption per unit time length is smaller than the target power consumption, and the working mode with the largest power consumption is the target working mode, the target power consumption is 6W, only if the power consumption per unit time length in the full-speed mode is 5W, the power consumption is smaller than the target power consumption by 6W, and the working mode with the largest power consumption is the working mode in the working modes, the full-speed mode can be determined to be the target working mode.
In this embodiment, the power consumption per unit time is determined to be smaller than the target power consumption according to the target power consumption and the power consumption per unit time corresponding to the multiple working modes, and the working mode with the largest power consumption is the target working mode, so that the optimal working performance of the working module can be ensured, the outdoor equipment is in the optimal operation mode, and the working performance of the outdoor equipment is effectively improved.
Optionally, before determining, according to the target power consumption and the preset unit duration power consumption corresponding to the multiple operating modes, that the operating mode in which the unit duration power consumption meets the target power consumption is the target operating mode, the method further includes: and measuring the power consumption of the battery when the working module works in each working mode in unit time length, and determining the power consumption of the unit time length corresponding to each working mode.
In this embodiment, for example, by repeatedly measuring and determining the power consumption of the battery of the operating module of the outdoor device in a unit duration in each operating mode, as shown in table 1, in the full-speed mode, the measured power consumption of the battery is 5W/day, in the half-speed mode, the measured power consumption of the battery is 2.5W/day, and in the low-speed mode, the power consumption of the battery is 1W/day, which is not illustrated herein, by referring to table 1 specifically, but not limited to the power consumption measured in table 1, the power consumption of the unit duration corresponding to each operating mode of different outdoor devices may be determined specifically according to actual situations.
TABLE 1 Power consumption corresponding to different operating modes of outdoor equipment
Optionally, table 1 also lists that, when the battery is fully charged, the corresponding operation time duration in the different operation modes, so that the power consumption in any future time duration of each operation mode can be quickly determined by looking up table 1. It should be noted that the full electric power requirements for different outdoor devices are different, and are not limited to the full electric power of 10W corresponding to the battery full electric requirements listed in the above embodiment and table 1.
Fig. 6 is a schematic flowchart of another outdoor device control method according to an embodiment of the present application; as shown in fig. 6, determining the target charging power in the future time period corresponding to the weather state according to the weather state includes:
s601, according to the weather state, the charging power corresponding to at least one preset weather state is adopted, and the charging power within unit time length corresponding to the weather state is determined.
According to the acquired weather conditions, for example, the weather conditions may include: the charging power that can be completed in a unit time length day corresponding to the weather state is determined by calculation in sunny days, cloudy days, rainy days, snowy days and the like, and the charging power corresponding to at least one preset weather state is adopted, for example, the charging power in the unit time length day corresponding to the weather state in sunny days is determined by calculation to be 6W/day, the charging power in the unit time length day corresponding to the air state in cloudy days is 3W/day, and the charging power in the unit time length corresponding to different weather states can be determined according to actual situation requirements.
S602, determining target charging power according to the charging power in unit time length corresponding to the weather state and future time length.
For another example, the weather conditions of the future seven days are all clear days, and with reference to the embodiment provided in step S602, if the charging power of the unit duration corresponding to the weather conditions of the clear days in one day is calculated to be 6W/day, it may be determined that the target charging power in the future seven days is 42W, that is, 6W/day × 7 day — 42W, so as to ensure that the outdoor device may not only be normal in the future seven days, but also operate in different operating modes in the future seven days, and effectively improve the operating performance of the outdoor device.
Optionally, before determining the charging power in the unit time length corresponding to the weather state by using the preset charging power corresponding to at least one weather state according to the weather state, the method further includes: and measuring the charging power of the battery by the solar charging panel under each weather state, and determining the charging power corresponding to each weather state.
In this embodiment, for example, through repeated test measurements, the charging power in the unit time length corresponding to the weather state is calculated and determined under different weather states, as shown in table 2, the weather state may include: correspondingly, the charging power of the solar charging panel to the battery in the sunny day, the cloudy day, the rainy day, the snowy day, and the like are measured respectively, for example, the charging power corresponding to each weather state may be shown in table 2, for example, the charging power in one day in a unit time duration corresponding to the weather state in the sunny day is 6W/day, which is not illustrated herein, by referring to table 2 specifically, but not limited to the charging power corresponding to each weather state shown in table 2, the charging power in the unit time duration corresponding to different weather states may be determined specifically according to the charging capability and the current position of the solar charging panel in an actual situation.
TABLE 2 charging power per unit time duration corresponding to different weather conditions
| Weather conditions | Charging power in one day |
| In sunny days | 6W/day |
| Cloudy | 3W/day |
| Snow/snow day | 0.5W/day |
Fig. 7 is a schematic structural diagram of an outdoor device control apparatus according to an embodiment of the present disclosure; it should be noted that the basic principle and the technical effects of the outdoor device control apparatus provided in this embodiment are the same as those of the corresponding method embodiments described above, and for brief description, reference may be made to corresponding contents in the method embodiments for parts that are not mentioned in this embodiment. As shown in fig. 7, the outdoordevice control apparatus 700 may include: an obtainingmodule 701, a determiningmodule 702 and acontrol module 703.
The obtainingmodule 701 is configured to obtain a weather state of a location within a future time length according to the future time length corresponding to the full power requirement and the location of the outdoor device.
A determiningmodule 702, configured to determine, according to the weather state, a target charging power within a future time duration corresponding to the weather state; and determining a target operation mode of the operation module in a future time period according to the residual capacity information of the battery, the full electric power corresponding to the full electric requirement and the target charging power.
And thecontrol module 703 is configured to control the operation module to execute the corresponding operation in the target operation mode in a future time period.
Optionally, the determiningmodule 702 is specifically configured to determine, according to the total target power consumption and the future time length, the target power consumption of a unit time length in the future time length;
and determining the working mode with the unit time length power consumption meeting the target power consumption as the target working mode according to the target power consumption and the unit time length power consumption corresponding to the preset multiple working modes.
Optionally, the determiningmodule 702 is configured to determine, according to the target power consumption and the power consumption per unit time length corresponding to the multiple operating modes, that the power consumption per unit time length is smaller than the target power consumption, and that one operating mode with the largest power consumption is the target operating mode.
Optionally, the determiningmodule 702 is further configured to measure, within a unit time length, power consumption of the battery when the operating module operates in each operating mode, and determine power consumption of the unit time length corresponding to each operating mode.
Optionally, the determiningmodule 702 is configured to determine, according to the weather state, the charging power corresponding to at least one preset weather state, and determine the charging power in the unit time length corresponding to the weather state;
and determining the target charging power according to the charging power in the unit time length corresponding to the weather state and the future time length.
Optionally, the determiningmodule 702 is further configured to measure the charging power of the battery by the solar charging panel in each weather state, and determine the charging power corresponding to each weather state.
The above-mentioned apparatus is used for executing the method provided by the foregoing embodiment, and the implementation principle and technical effect are similar, which are not described herein again.
These above modules may be one or more integrated circuits configured to implement the above methods, such as: one or more Application Specific Integrated Circuits (ASICs), or one or more microprocessors (DSPs), or one or more Field Programmable Gate Arrays (FPGAs), among others. For another example, when one of the above modules is implemented in the form of a processing element scheduler code, the processing element may be a general-purpose processor, such as a Central Processing Unit (CPU) or other processor capable of calling program code. For another example, these modules may be integrated together and implemented in the form of a system-on-a-chip (SOC).
In the embodiments provided in the present invention, it should be understood that the disclosed apparatus and method may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the units is only one logical division, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, or in a form of hardware plus a software functional unit.
The integrated unit implemented in the form of a software functional unit may be stored in a computer readable storage medium. The software functional unit is stored in a storage medium and includes several instructions to enable a computer device (which may be a personal computer, a server, or a network device) or a processor (processor) to execute some steps of the methods according to the embodiments of the present invention. And the aforementioned storage medium includes: a U disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.