Photovoltaic green power distribution method and device, equipment and storage medium

By acquiring the electricity consumption and change amount on the load side and judging the photovoltaic green power distribution using the ratio threshold, the problem of low real-time photovoltaic green power distribution is solved, efficient and accurate load-side allocation control is achieved, and communication delay and resource waste are reduced.

CN120497943AActive Publication Date: 2025-08-15SUZHOU JIJU INTELLIGENT TECH CO LTD
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202510589434.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-05-08
Publication Date
2025-08-15
Estimated Expiration
2045-05-08

AI Technical Summary

Technical Problem

In the prior art, the real-time distribution of photovoltaic green electricity is low, and photovoltaic power generation needs to be obtained before power distribution of various loads is performed, resulting in delays and waste of resources.

Method used

By responding to the power supply request of the load, the power consumption and power consumption change of the load are obtained, the ratio threshold is used to determine whether the photovoltaic green electricity will continue to be allocated, the communication with the photovoltaic power station is reduced, and the computer equipment controls the distribution of the load side at a close distance.

Benefits of technology

It improves the real-time performance of photovoltaic green power distribution, reduces the layout limitations of computer equipment, reduces communication time waste, and improves the accuracy of green power consumption detection on the load side.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120497943A_ABST
    Figure CN120497943A_ABST
Patent Text Reader

Abstract

The embodiment of the invention discloses a photovoltaic green power distribution method and device, equipment and a storage medium, and belongs to the field of photovoltaic technology, and the method comprises the steps: responding to a power supply request for a first load, and distributing photovoltaic green power to the first load; obtaining a first distribution quantity; obtaining a first distribution variable quantity; and when the ratio of the first distribution variable quantity to the first distribution quantity is greater than a first threshold value, stopping distributing the photovoltaic green power to the first load. The method can determine whether to distribute the photovoltaic green power to the new load or not while satisfying the green power utilization of the old load without obtaining the power generation condition of the photovoltaic power station, reduces the time waste caused by communication with the photovoltaic power station, improves the real-time performance of photovoltaic green power distribution, improves the layout flexibility of computer equipment, and improves the user experience. And short-distance data transmission is convenient for further improving the real-time performance of photovoltaic green power distribution.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of photovoltaic technology, and in particular to a method, device, equipment and storage medium for distributing photovoltaic green electricity. Background Art

[0002] As demand for photovoltaic power generation gradually increases, power distribution becomes crucial.

[0003] In related technologies, photovoltaic power stations collect photovoltaic power generation data and then determine the photovoltaic power generation situation based on the power generation data. For multi-branch loads, the power distribution situation for each load is determined according to the photovoltaic power generation situation, and photovoltaic green electricity is subsequently distributed to each load based on the power distribution situation.

[0004] However, in the above-mentioned related technologies, it is necessary to obtain the photovoltaic power generation situation before allocating photovoltaic green electricity to various loads, and the real-time performance of photovoltaic green electricity allocation is low. Summary of the Invention

[0005] The embodiment of the present application provides a method, device, equipment and storage medium for distributing photovoltaic green electricity, which can improve the real-time performance of photovoltaic green electricity distribution. The technical solution is as follows:

[0006] In one aspect, an embodiment of the present application provides a method for detecting the distribution of photovoltaic green electricity, the method comprising:

[0007] In response to a power supply request for a first load, allocating photovoltaic green electricity to the first load;

[0008] Obtaining a first allocated amount, where the first allocated amount refers to the amount of electricity consumed by the first load for photovoltaic green electricity;

[0009] Obtaining a first allocation change; wherein the first allocation change refers to a change in electricity consumption of a second load for photovoltaic green electricity after the first load uses photovoltaic green electricity, and the second load refers to a load that uses photovoltaic green electricity before the first load;

[0010] When the ratio of the first allocation change to the first allocation amount is greater than a first threshold, allocating photovoltaic green electricity to the first load is stopped.

[0011] On the other hand, an embodiment of the present application provides a photovoltaic green electricity distribution device, the device comprising:

[0012] a green electricity supply module, configured to allocate photovoltaic green electricity to a first load in response to a power supply request for the first load;

[0013] an allocation acquisition module, configured to acquire a first allocation amount, where the first allocation amount refers to the amount of electricity consumed by the first load for photovoltaic green electricity;

[0014] a change acquisition module, configured to acquire a first allocation change; wherein the first allocation change refers to a change in the power consumption of a second load for photovoltaic green electricity after the first load uses photovoltaic green electricity, and the second load refers to a load that uses photovoltaic green electricity before the first load;

[0015] The green power off module is configured to stop allocating photovoltaic green power to the first load when a ratio between the first allocation change and the first allocation amount is greater than a first threshold.

[0016] On the other hand, an embodiment of the present application allocates a computer device, which includes a processor and a memory, wherein the memory stores a computer program, and the computer program is loaded and executed by the processor to implement the above-mentioned photovoltaic green electricity allocation method.

[0017] On the other hand, an embodiment of the present application allocates a non-transitory computer-readable storage medium having a computer program stored thereon, which implements the above-mentioned photovoltaic green electricity allocation method when executed by a processor.

[0018] In yet another aspect, an embodiment of the present application distributes a computer program product, which, when executed, enables a computer device to execute the above-mentioned photovoltaic green electricity distribution method.

[0019] Compared with the prior art, the technical solution of the embodiment of the present application can bring the following beneficial effects:

[0020] (1) After allocating photovoltaic green electricity to the first load, a first allocation change is obtained, and the first allocation change can represent the impact of the first load's use of photovoltaic green electricity on the green electricity consumption of the second load. Then, when the ratio between the first allocation change and the first allocation amount is greater than a first threshold, the allocation of photovoltaic green electricity to the first load is stopped. The first allocation amount refers to the electricity consumption of the first load for photovoltaic green electricity. Based on the green electricity consumption that can be detected by the load side and the change in green electricity consumption, it is determined whether to add a new load to photovoltaic green electricity. It is not necessary to obtain the power generation status of the photovoltaic power station to determine whether to allocate photovoltaic green electricity to the new load while meeting the green electricity consumption of the old load. This reduces the time waste caused by communicating with the photovoltaic power station and improves the real-time performance of photovoltaic green electricity allocation.

[0021] (2) Since there is no need for communication between computer equipment and photovoltaic power stations, computer equipment can be set up at a location close to the load, which reduces the layout limitations of computer equipment and improves the layout flexibility of computer equipment. Short-distance data transmission facilitates further improving the real-time performance of photovoltaic green electricity distribution. BRIEF DESCRIPTION OF THE DRAWINGS

[0022] The present invention will be further described below with reference to the accompanying drawings and embodiments:

[0023] Figure 1 This is a schematic diagram of a photovoltaic green electricity distribution system provided by one embodiment of the present application;

[0024] Figure 2 This is a flow chart of a photovoltaic green electricity distribution method provided by one embodiment of the present application;

[0025] Figure 3 This is a flow chart of a photovoltaic green electricity distribution method provided by another embodiment of the present application;

[0026] Figure 4 This is a flow chart of a method for allocating photovoltaic green electricity provided in another embodiment of the present application;

[0027] Figure 5 A schematic diagram illustrating a method for distributing photovoltaic green electricity is shown;

[0028] Figure 6 This is a block diagram of a photovoltaic green electricity distribution device provided by one embodiment of the present application;

[0029] Figure 7 This is a block diagram of a photovoltaic green electricity distribution device provided in another embodiment of the present application. DETAILED DESCRIPTION

[0030] Please refer to Figure 1 , which shows a schematic diagram of a photovoltaic green electricity distribution system provided by an embodiment of the present application. The photovoltaic green electricity distribution system may include: a photovoltaic module 10, a computer device 20 and a load 30.

[0031] The photovoltaic module 10 is used to directly convert sunlight into direct current (DC). Optionally, the photovoltaic module can be a monocrystalline silicon module, a polycrystalline silicon module, a thin-film module, or the like, which is not limited in this embodiment of the present application. In this embodiment of the present application, the electricity generated by the photovoltaic module 10 can be referred to as photovoltaic green electricity.

[0032] The computer device 20 is used to control the distribution of photovoltaic green electricity on the load side. Optionally, the computer device 20 can be an electronic device such as a mobile phone, a tablet computer, a wearable device, a backend server, a server cluster, or a PC (Personal Computer), which is not limited in this embodiment of the application.

[0033] The load 30 is an electrical device. Optionally, the load 30 can be a single device or composed of multiple devices, which is not limited in the present embodiment. For example, in a household circuit, all electrical devices in the household circuit constitute a load 30.

[0034] Optionally, in the embodiment of the present application, the photovoltaic green electricity distribution system includes n loads 30, and the computer device 20 controls the photovoltaic green electricity distribution of the multiple loads 30, distributing the photovoltaic green electricity generated by the photovoltaic module 10 to the multiple loads 30. Here, n is any positive integer greater than 1, and the value of n can be flexibly set and adjusted according to actual conditions, and is not limited in the embodiment of the present application.

[0035] Optionally, the photovoltaic green electricity distribution system further includes an inverter 40 and a power grid 50 .

[0036] The inverter 40 is used to convert direct current into alternating current. Optionally, after the photovoltaic assembly 10 converts sunlight into direct current, the inverter 40 converts the direct current into alternating current, so that the subsequent load 30 can use the photovoltaic green electricity.

[0037] The grid 50 is used to provide non-photovoltaic green electricity to the load 30. Optionally, when photovoltaic green electricity cannot fully cover the power consumption of the load 30, the grid 50 can provide non-photovoltaic green electricity to the load 30, enabling the load 30 to operate normally. Optionally, when the photovoltaic modules 10 generate sufficient electricity, the AC power converted by the inverter 40 can also be directly integrated into the grid 50.

[0038] Please refer to Figure 2 , which shows a flow chart of a photovoltaic green electricity distribution method provided by an embodiment of the present application. Figure 1 The computer device 20 in the photovoltaic green electricity distribution system shown. The method may include the following steps (201-204):

[0039] Step 201: In response to a power supply request for a first load, allocate photovoltaic green electricity to the first load.

[0040] The power supply request is used to request the allocation of photovoltaic green electricity to the load. Optionally, the power supply request can be triggered by the user or automatically generated by the computer device, which is not limited in the embodiment of the present application.

[0041] In a possible implementation, the power supply request is generated by a user. Optionally, after detecting a power supply operation for the first load, the computer device generates a power supply request for the first load based on the power supply operation.

[0042] In another possible embodiment, the power request is automatically generated by the computer device. Optionally, the computer device automatically generates the power request upon determining that photovoltaic green electricity can stably power a second load. The second load refers to a load that uses photovoltaic green electricity before the first load, i.e., the second load was already using photovoltaic green electricity before the power request was generated. Optionally, the number of second loads can be any number and is not limited in this embodiment of the application.

[0043] The first load refers to the electrical equipment in the above-mentioned photovoltaic green electricity distribution system. In one possible embodiment, the first load is any load. After detecting the power supply request, the computer device determines any load that does not use photovoltaic green electricity from the photovoltaic green electricity system as the first load, and then determines that the power supply request is a power supply request for the first load. In another possible embodiment, the loads have corresponding priorities, and the first load is the load with the highest priority among the loads that do not use photovoltaic green electricity. After detecting the power supply request, the computer device determines the load that does not use photovoltaic green electricity from the photovoltaic green electricity system with the highest priority as the first load, and then determines that the power supply request is a power supply request for the first load.

[0044] Optionally, different loads have different priorities. The priority is positively correlated with the order in which photovoltaic green electricity is supplied. For example, the higher the priority of a load, the higher the priority of photovoltaic green electricity for that load; conversely, the lower the priority of a load, the lower the priority of photovoltaic green electricity for that load. In this embodiment of the present application, the priority of the second load is higher than that of the first load.

[0045] Optionally, factors influencing the priority include, but are not limited to, at least one of the following: load power consumption, load power price, and load importance. Load power consumption refers to the amount of power consumed by the load per unit time, which can be any value, such as 10 minutes, 1 hour, or 1 day, and is not limited in this embodiment of the application. Load power price refers to the price per unit of power consumed by the user of the load when purchasing electricity.

[0046] In one possible implementation, the computer device determines the priority of a load based on its power consumption. Optionally, the power consumption of the load is positively correlated with the priority. For example, the greater the load's power consumption, the higher the load's priority; conversely, the smaller the load's power consumption, the lower the load's priority.

[0047] In another possible implementation, the computer device determines the priority of a load based on the load's unit price. Optionally, the load's unit price is positively correlated with the priority. For example, the higher the load's unit price, the higher the load's priority; conversely, the lower the load's unit price, the lower the load's priority.

[0048] In another possible embodiment, the computer device determines the priority of the load based on the load-important program. Optionally, the load-important program is positively correlated with the priority. For example, the higher the load-important program, the higher the priority of the load; conversely, the lower the load-important program, the lower the priority of the load.

[0049] Of course, in other possible implementations, the computer device may also determine priority based on load power consumption and load power unit price. Optionally, the product of load power consumption and load power unit price is positively correlated with priority. For example, the greater the product of load power consumption and load power unit price, the higher the load priority; conversely, the smaller the product of load power consumption and load power unit price, the lower the load priority.

[0050] It should be noted that the above description of priorities is merely exemplary and explanatory. In actual use, the priority determination method can be flexibly set and adjusted according to actual circumstances, and the embodiments of this application do not limit this. For example, in a household power usage scenario, computer equipment determines priority based on load power consumption and load power unit price; in an industrial power usage scenario, computer equipment determines load priority based on the load's important programs; and so on.

[0051] In an embodiment of the present application, after detecting a power supply request for a first load, the computer device allocates photovoltaic green electricity to the first load in response to the power supply request. Optionally, the computer device controls powering on and off the first load via a switch. Different loads correspond to different switches, or different loads correspond to different parameters of the same switch.

[0052] In one possible embodiment, different loads correspond to different switches. After detecting a power supply request for a first load, the computer device controls the switch corresponding to the first load to open, so that a circuit is formed between the photovoltaic component and the first load, thereby distributing photovoltaic green electricity to the first load.

[0053] In another possible embodiment, in order to reduce the waste of resources caused by arranging multiple switches, different loads correspond to different switch parameters of the same switch. After detecting a power supply request for a first load, the computer device controls the circuit between the photovoltaic component and the first load to form a path based on the switch parameters corresponding to the first load, and then distributes photovoltaic green electricity to the first load.

[0054] Step 202: Obtain a first allocation amount.

[0055] The first allocation amount is used to indicate the allocation of photovoltaic green electricity to the newly added load. In this embodiment of the present application, the first allocation amount refers to the photovoltaic green electricity consumption of the first load. After allocating photovoltaic green electricity to the first load, the computer device obtains the first allocation amount. Optionally, the computer device obtains the first allocation amount via an electricity meter. Different loads correspond to different electricity meters, or different loads correspond to different display areas of the same electricity meter.

[0056] In one possible implementation, different loads correspond to different electricity meters. Optionally, after allocating photovoltaic green electricity to the first load, the computer device obtains electricity consumption data of the first load through the electricity meter corresponding to the first load, and then obtains the first allocation amount based on the electricity consumption data of the first load.

[0057] In another possible implementation, to reduce resource waste caused by deploying multiple electricity meters, different loads correspond to different display areas of the same electricity meter. Optionally, after allocating photovoltaic green electricity to a first load, the computer device obtains electricity consumption data for the first load from the display area corresponding to the first load in the electricity meter, and then obtains the first allocated amount based on the electricity consumption data of the first load.

[0058] Optionally, the above-mentioned electricity consumption data includes electricity power.

[0059] Step 203: Obtain a first distribution change.

[0060] The first allocation change indicates the impact of the newly added load on the green electricity consumption of the existing load when using photovoltaic green electricity. Alternatively, the first allocation change can be understood as the impact of the first load using photovoltaic green electricity on the green electricity consumption of the second load. In this embodiment of the present application, after allocating photovoltaic green electricity to the first load, the computer device obtains the first allocation change.

[0061] In this embodiment of the present application, the first distribution change refers to the change in photovoltaic green electricity consumption by the second load after the first load uses photovoltaic green electricity. Optionally, based on the time when the first load uses photovoltaic green electricity, the computer device obtains the green electricity consumption of the second load before and after that time, and then obtains the first distribution change based on the change in green electricity consumption of the second load.

[0062] Step 204 : when the ratio between the first allocation change amount and the first allocation amount is greater than a first threshold, stop allocating photovoltaic green electricity to the first load.

[0063] In an embodiment of the present application, after obtaining the above-mentioned first allocation change and the above-mentioned first allocation amount, the computer device stops allocating photovoltaic green electricity to the first load when the ratio between the first allocation change and the first allocation amount is greater than the first threshold. Optionally, the computer device obtains the ratio between the first allocation change and the first allocation amount, and then compares the ratio with the first threshold. When the ratio is greater than the first threshold, it is determined that the first load occupies too much photovoltaic green electricity, excessively squeezes the green electricity resources of the second load, so that the second load needs to use too much non-photovoltaic green electricity to maintain normal operation. At this time, it is not appropriate to allocate photovoltaic green electricity to the first load, and then the allocation of photovoltaic green electricity to the first load is stopped. Among them, the first threshold can be an arbitrary value, and the first threshold can be flexibly set and adjusted according to actual conditions, such as 0.25, 50% or 75%, etc., and the embodiment of the present application does not limit this.

[0064] Optionally, contrary to the above, when the ratio between the first allocation change and the first allocation amount is less than or equal to the first threshold, it is determined that the resource occupation of the first load for photovoltaic green electricity is reasonable and does not excessively squeeze the green electricity resources of the second load. At this time, it is determined that photovoltaic green electricity can stably supply power to the first load and the second load, and thus the allocation of photovoltaic green electricity to the first load continues.

[0065] Optionally, after the first load uses the photovoltaic green electricity, there are remaining loads that do not use the photovoltaic green electricity. The number of remaining loads is arbitrary and is not limited in this embodiment of the application. In this embodiment of the application, if the ratio between the first allocation change and the first allocation amount is less than or equal to a first threshold, the computer device allocates photovoltaic green electricity to a third load. The third load refers to the load that uses photovoltaic green electricity after the first load.

[0066] Optionally, the third load may be any load that does not use photovoltaic green electricity, or may be a load determined based on priority.

[0067] In one possible implementation, the third load is any load that is not using photovoltaic green electricity. Optionally, upon determining that photovoltaic green electricity can stably power the first load, the computer device randomly determines a load from the remaining loads that are not using photovoltaic green electricity as the third load, and then allocates photovoltaic green electricity to the third load.

[0068] In another possible implementation, the third load is a load determined based on priority. Optionally, if it is determined that photovoltaic green electricity can stably power both the first and second loads, the computer device identifies the highest-priority load among the remaining loads not utilizing photovoltaic green electricity as the third load, and allocates photovoltaic green electricity to the third load. It should be noted that the third load has a lower priority than both the first and second loads.

[0069] Optionally, similar to the first load mentioned above, the computer device controls the switch corresponding to the third load to open, so that a circuit is formed between the photovoltaic component and the third load, thereby distributing photovoltaic green electricity to the third load; or, the computer device controls the circuit between the photovoltaic component and the first load to form a circuit based on the switch parameters corresponding to the third load, thereby distributing photovoltaic green electricity to the third load.

[0070] To sum up, in the technical solution provided in the embodiment of the present application, after allocating photovoltaic green electricity to the first load, a first allocation change is obtained, and the first allocation change can characterize the impact of the first load's use of photovoltaic green electricity on the green electricity consumption of the second load, and then when the ratio between the first allocation change and the first allocation amount is greater than the first threshold, the allocation of photovoltaic green electricity to the first load is stopped, and the first allocation amount refers to the electricity consumption of the first load for photovoltaic green electricity. Based on the green electricity consumption that can be detected by the load side and the change in green electricity consumption, it is determined whether to add a new load to photovoltaic green electricity. There is no need to obtain the power generation situation of the photovoltaic power station, and it is possible to determine whether to allocate photovoltaic green electricity to the new load while meeting the green electricity consumption of the old load. This reduces the time waste caused by communication with the photovoltaic power station and improves the real-time performance of photovoltaic green electricity distribution. Moreover, since there is no need for communication between the computer equipment and the photovoltaic power station, the computer equipment can be set at a location close to the load, which reduces the layout limitations of the computer equipment and improves the layout flexibility of the computer equipment. Short-distance data transmission facilitates further improving the real-time performance of photovoltaic green electricity distribution.

[0071] In addition, when the ratio between the first allocation change and the first allocation amount is less than the first threshold value, it is determined that the first load can use photovoltaic green electricity as a new load, and then photovoltaic green electricity is continued to be allocated to the third load. That is, when it is determined that photovoltaic green electricity can stably supply power to the first load and the second load, new loads are continued to be added. While allocating photovoltaic green electricity in real time, the utilization rate of photovoltaic green electricity is improved and the waste of photovoltaic green electricity resources is reduced.

[0072] In addition, the loads are prioritized, and the priorities are positively correlated with the power supply order of photovoltaic green electricity. The priority of the second load is higher than that of the first load. When determining whether the first load can continue to use photovoltaic green electricity as a new load, it is detected whether the photovoltaic green electricity allocated to the second load with a higher priority is reduced too much when the first load uses photovoltaic green electricity. Then, while maintaining the normal operation of the second load, the new load is added to the photovoltaic green electricity. On the one hand, the rationality of photovoltaic green electricity allocation is improved. For example, the priority is determined based on the importance of the load, and the normal operation of important loads is ensured first, and then the allocation of photovoltaic green electricity to unimportant loads is considered. On the other hand, it can save energy, reduce emissions and protect the environment. For example, the priority is determined based on the load power consumption, and the normal operation of loads with large power consumption is ensured first, and then the allocation of photovoltaic green electricity to loads with small power consumption is considered.

[0073] Next, a method for obtaining the first distribution variation is introduced.

[0074] In an exemplary embodiment, the above step 203 includes the following steps:

[0075] 1. Obtain the second allocated amount.

[0076] The second allocation is used to indicate the green power distribution of the old load after the new load is added. In this embodiment of the present application, the second allocation refers to the amount of photovoltaic green power consumed by the second load after the first load uses photovoltaic green power. After photovoltaic green power is allocated to the first load, the computer device obtains the second allocation.

[0077] Optionally, similar to the first allocation amount described above, the computer device obtains the second allocation amount through the electricity meter corresponding to the second load; or, the computer device obtains the second allocation amount through the display area corresponding to the second load in the electricity meter.

[0078] Optionally, since the number of second loads can be any value, when obtaining the second allocation amount, the computer device obtains the green electricity consumption of at least one second load that uses photovoltaic green electricity after the first load uses photovoltaic green electricity; and then determines the sum of the green electricity consumption of each second load as the second allocation amount.

[0079] 2. Get historical allocations.

[0080] The historical allocation amount is used to indicate the green power distribution status of the old load when no new load is added. In the embodiment of the present application, the historical allocation amount refers to the amount of photovoltaic green power consumed by the second load before the first load uses photovoltaic green power. After photovoltaic green power is allocated to the first load, the computer device obtains the historical allocation amount.

[0081] Optionally, similar to the above-mentioned second allocation amount, the computer device obtains the historical allocation amount through the electricity meter corresponding to the second load; or, the computer device obtains the historical allocation amount through the display area corresponding to the second load in the electricity meter.

[0082] Optionally, since the number of second loads can be any value, when obtaining the historical allocation amount, the computer device obtains the green electricity consumption of at least one second load that uses photovoltaic green electricity before the first load uses photovoltaic green electricity; and then determines the sum of the green electricity consumption of each second load before the first load uses photovoltaic green electricity as the historical allocation amount.

[0083] Optionally, the historical allocation amount can be real-time data or pre-stored data. In one possible embodiment, the historical allocation amount is real-time data, and after allocating photovoltaic green electricity to the first load, the computer device obtains the historical allocation amount in real time. In another possible embodiment, the historical allocation amount is pre-stored data. Optionally, before allocating photovoltaic green electricity to the first load, the computer device detects the electricity consumption data of the second load, obtains and stores the historical allocation amount; then, after allocating photovoltaic green electricity to the first load, the computer device directly obtains the historical allocation amount from the stored data.

[0084] 3. Based on the difference between the historical allocation amount and the second allocation amount, obtain a first allocation change amount.

[0085] In an embodiment of the present application, after obtaining the historical allocation amount and the second allocation amount, the computer device obtains the first allocation change based on the difference between the historical allocation amount and the second allocation amount. Alternatively, the computer device subtracts the second allocation amount from the historical allocation amount to obtain the difference, and then determines the difference as the first allocation change.

[0086] Optionally, if the difference is a positive number, it means that after the first load uses the photovoltaic green electricity, the photovoltaic green electricity used by the second load is reduced, and the above Figure 2 The content recorded in step 204 of the embodiment; if the above difference is not a positive number, it means that after the first load uses photovoltaic green electricity, it does not affect the green electricity consumption of the second load, which is equivalent to the above "the ratio between the first allocation change and the first allocation amount is less than or equal to the first threshold", and then continues to allocate photovoltaic green electricity to the first load, and allocates photovoltaic green electricity to the third load when there is a remaining load.

[0087] Optionally, the at least one second load may be all of the second loads or part of the second loads. One point that needs to be explained is that if at least one second load is a part of the second load, the computer device may determine the first threshold based on the green electricity consumption of the at least one second load. Exemplarily, the at least one second load is collectively referred to as a determined second load. After obtaining the second allocation amount, the computer device obtains a non-determined allocation amount. The non-determined allocation amount refers to the amount of photovoltaic green electricity consumed by the non-determined load after the first load uses photovoltaic green electricity. Furthermore, based on the ratio between the second allocation amount and the non-determined allocation amount, the first threshold is determined in combination with the candidate first threshold. For example, if the ratio between the second allocation amount and the non-determined allocation amount is 1:3, the first threshold is [1÷(3+1)×candidate first threshold].

[0088] To sum up, in the technical solution provided in the embodiment of the present application, the change in the power consumption of the second load for photovoltaic green electricity before and after the first load uses photovoltaic green electricity is used to characterize the impact of the first load using photovoltaic green electricity on the green electricity consumption of the second load. The operation is simple and more intuitive.

[0089] In addition, the second allocation amount is determined by the green power consumption of multiple second loads, which reduces the data deviation caused by the strong power consumption of a single load, improves the accuracy of the second allocation amount, and further improves the accuracy of photovoltaic green power distribution.

[0090] Please refer to Figure 3 , which shows a flow chart of a photovoltaic green electricity distribution method provided by another embodiment of the present application. Figure 1 The computer device 20 in the photovoltaic green electricity distribution system shown. The method may include the following steps. The method may include the following steps (301-307):

[0091] Step 301: In response to a power supply request for a first load, allocate photovoltaic green electricity to the first load.

[0092] Step 302: Obtain a first allocation amount.

[0093] Step 303: Obtain the first distribution change.

[0094] Step 304 : When the ratio between the first allocation change amount and the first allocation amount is greater than a first threshold, stop allocating photovoltaic green electricity to the first load.

[0095] The above steps 301-304 are Figure 2 Steps 201-204 in the embodiment are similar, see Figure 2 The embodiments are not described in detail here.

[0096] Step 305: Obtain the number of times the power supply request for the first load is generated within the target time period.

[0097] In an embodiment of the present application, after stopping allocating photovoltaic green electricity to the first load, the number of power supply requests generated for the first load within the target period is obtained. The end time of the target period is the current time, and the current time is the time of "obtaining the number of power supply requests generated for the first load within the target period." Optionally, the duration indicated by the target period is greater than or equal to a preset duration, and the preset duration can be any value. The preset duration can be flexibly set and adjusted according to actual conditions, such as 5 minutes, 10 minutes, 30 minutes, etc., and this embodiment of the present application does not limit this.

[0098] Optionally, after stopping allocating photovoltaic green electricity to the first load, in order to further determine whether the allocation of photovoltaic green electricity is reasonable, the computer device stops allocating photovoltaic power to the second load adjacent to the first load, thereby determining whether photovoltaic green electricity can stably supply power to the adjacent second load. Thereafter, when determining to regenerate the power supply request for the first load, the number of times the power supply request for the first load is generated within the target time period is obtained to determine the time of generating the power supply request for the first load. The adjacent second load refers to the second load that was most recently allocated to use photovoltaic green electricity before the first load used photovoltaic green electricity. Optionally, the priority of the adjacent second load is higher than that of the above-mentioned first load, and the priority of the adjacent second load is lower than that of other loads in the at least one second load.

[0099] In an exemplary embodiment, after stopping allocating photovoltaic green electricity to a first load, the computer device further stops allocating photovoltaic power to a second load adjacent to the first load, and obtains a third allocation amount and a third allocation change. The third allocation change refers to the change in photovoltaic green electricity usage by the other second loads after the adjacent second load stops using photovoltaic green electricity; the third allocation amount refers to the photovoltaic green electricity usage of the adjacent second load before the adjacent second load stops using photovoltaic green electricity. Thereafter, if the ratio between the third allocation change and the third allocation amount is greater than a fifth threshold, the computer device identifies a second load adjacent to the adjacent second load from among the other second loads and stops allocating photovoltaic green electricity to the second load adjacent to the adjacent second load. If the ratio between the third allocation change and the third allocation amount is less than or equal to the fifth threshold, the computer device obtains the number of power supply requests generated for the first load within the target time period. Among them, the other second loads corresponding to the third distribution change can be all the other second loads in the above-mentioned at least one second load, or can be part of the other second loads in the above-mentioned at least one second load, and the embodiment of the present application does not limit this; the fifth threshold can be any value, and the fifth threshold can be flexibly set and adjusted according to actual conditions, such as 25%, 0.5 or 0.75, etc., and the embodiment of the present application does not limit this.

[0100] It should be noted that the above operations on the adjacent second load can be understood as determining the adjacent second load as the new first load, and then performing the related operations described in steps 402-404 described below. Figure 4 The "first load" and "third distribution amount" in the embodiment are equivalent to Figure 4 The "first distribution amount" and "third distribution change amount" in the embodiment are equivalent to Figure 4 The "second distribution change" and "fifth threshold" in the embodiment are equivalent to Figure 4 The "second threshold" in the embodiment and the "second load adjacent to the adjacent second load" are equivalent to Figure 4 The “adjacent second load” in the embodiment.

[0101] Step 306 : When the number of generation times is less than the target value, a power supply request for the first load is regenerated at a first moment after the current moment.

[0102] In this embodiment of the present application, after obtaining the aforementioned number of generation times, the computer device compares the number of generation times with a target value. Furthermore, if the number of generation times is less than the target value, the computer device regenerates a power supply request for the first load at a first moment after the current moment. The computer device then repeats the aforementioned "Step 301: Allocating photovoltaic green electricity to the first load in response to the power supply request for the first load" based on the regenerated power supply request until it determines that the photovoltaic green electricity can stably power both the first and second loads.

[0103] Optionally, the computer device determines the first moment based on the power supply interval duration; the power supply interval duration is used to indicate the interval duration when power supply requests for the first load that are adjacent in time within the above-mentioned target time period are generated. In an exemplary embodiment, when the computer device determines that the number of generation times is less than the target value, based on the power supply interval duration, combined with the generation time of the power supply request in the above-mentioned step 301, determines the first moment, at this time, the duration between the current moment and the first moment is less than the power supply interval duration. Optionally, the power supply interval duration can be any value, and the power supply interval duration can be flexibly set and adjusted according to actual conditions, such as 30 seconds, 1 minute, 2 minutes, etc., which is not limited in the embodiments of the present application.

[0104] Step 307 : When the number of generation times is greater than the target value, a power supply request for the first load is regenerated at a second time after the current time.

[0105] In this embodiment of the present application, after obtaining the aforementioned number of generation times, the computer device compares the number of generation times with a target value. Furthermore, if the number of generation times is greater than or equal to the target value, the computer device regenerates a power supply request for the first load at a second time after the current time. The computer device then repeats the aforementioned "Step 301, allocating photovoltaic green electricity to the first load in response to the power supply request for the first load" based on the regenerated power supply request until it determines that the photovoltaic green electricity can stably power both the first and second loads.

[0106] In an embodiment of the present application, the duration between the current moment and the second moment is greater than the duration between the current moment and the first moment. Taking the above-mentioned power supply interval as an example, after stopping allocating photovoltaic green electricity to the first load, the computer device obtains the number of times the power supply request for the first load is generated within the target period. If the number of generation times does not reach the target value, the computer device continuously generates power supply requests for the first load at intervals of the power supply interval and reallocates photovoltaic green electricity to the first load until it is determined that photovoltaic green electricity can stably supply power to the first load and the second load; further, if photovoltaic green electricity has not been able to stably supply power to the first load, as the number of generation times continues to increase, if the number of generation times is greater than or equal to the target value, the power supply interval is extended, and power supply requests for the first load are continuously generated at intervals of the extended power supply interval and reallocates photovoltaic green electricity to the first load until it is determined that photovoltaic green electricity can stably supply power to the first load and the second load.

[0107] It should be noted that the duration between the current moment and the second moment, and the duration between the current moment and the first moment, can have any value. This value can be flexibly set and adjusted according to actual conditions, such as 6 minutes, 20 minutes, 1 hour, etc., and this embodiment of the present application does not limit this. Of course, in other possible implementations, the duration between the current moment and the second moment is m times the duration between the current moment and the first moment. Wherein, m can be any integer greater than 2. The value of m can be flexibly set and adjusted according to actual conditions, such as 2, 3, 4, etc., and this embodiment of the present application does not limit this.

[0108] It should also be noted that the target value can be any value and can be flexibly set and adjusted according to actual conditions, such as 3, 5, 10, etc., and this embodiment of the application does not limit this. Optionally, the preset duration is determined based on the target value and the power supply interval; illustratively, the preset duration = power supply interval × (target value - 1).

[0109] To sum up, in the technical solution provided by the embodiment of the present application, by regenerating the power supply request at the first moment after the current moment to allocate photovoltaic green electricity to the first load, after stopping allocating photovoltaic green electricity to the first load, continuously trying to re-allocate photovoltaic green electricity to the first load, and allocating photovoltaic green electricity to the first load as timely as possible when photovoltaic green electricity is sufficient, thereby improving the real-time performance of photovoltaic green electricity allocation and reducing the waste of photovoltaic green electricity resources caused by load idleness; moreover, based on the relationship between the number of power supply request generation times and the target value, the regeneration time of the power supply request is determined, and when the number of generation times is less than the target value, the power supply request is regenerated at the first moment, and when the number of generation times is greater than the target value, the power supply request is regenerated at the second moment, and the time length between the current moment and the second moment is greater than the time length between the current moment and the first moment, that is, after the number of generation times reaches the target value, a longer time is waited before regenerating the power supply request, thereby reducing the waste of resources caused by frequently allocating photovoltaic green electricity to the first load, and waiting for a longer time, that is, after the photovoltaic power station can generate more photovoltaic green electricity, continuing to request the allocation of photovoltaic green electricity to the first load improves the rationality of photovoltaic green electricity allocation.

[0110] The above is an introduction to the distribution of photovoltaic green electricity from the perspective of power supply. The following is an introduction to the distribution of photovoltaic green electricity from the perspective of power outage.

[0111] Please refer to Figure 4 , which shows a flow chart of a method for distributing photovoltaic green electricity provided by another embodiment of the present application. Figure 1 The computer device 20 in the photovoltaic green electricity distribution system shown. The method may include the following steps. The method may include the following steps (401-404):

[0112] Step 401: In response to a power-off request for a first load, stop allocating photovoltaic green electricity to the first load.

[0113] The power-off request is used to request to stop the load distribution of photovoltaic green power. Optionally, the power-off request can be triggered by a user or automatically generated by a computer device, which is not limited in this embodiment of the present application.

[0114] In one possible implementation, the power-off request is generated by a user. Optionally, after detecting a power-off operation on the first load, the computer device generates a power-on request based on the power-off operation.

[0115] In another possible embodiment, the power-off request is automatically generated by the computer device. In one possible embodiment, when the ratio between the first allocation change and the first allocation amount is less than or equal to the first threshold, photovoltaic green electricity is allocated to the above-mentioned third load. Thereafter, when it is determined that photovoltaic green electricity cannot stably supply power to the third load, the first load is used as the adjacent second load of the third load, and the computer device automatically generates a power-off request for the first load. In another possible embodiment, when it is determined that photovoltaic green electricity stably supplies power to the first load, if there is no remaining load after the first load that does not use photovoltaic green electricity, the computer device stops allocating photovoltaic green electricity to the first load and detects the impact of the first load's cessation of photovoltaic green electricity on the green electricity consumption of the second load, thereby indirectly understanding the power generation situation of photovoltaic green electricity. Optionally, after determining that photovoltaic green electricity stably supplies power to the first load, the computer device automatically generates a power-off request for the first load when the first load's continuous use of photovoltaic green electricity is greater than the third threshold. Among them, the continuous usage time can be any value, and can be flexibly set and adjusted according to actual conditions, such as 10 minutes, 15 minutes, 30 minutes, etc., which is not limited in this embodiment of the present application.

[0116] In an embodiment of the present application, after detecting a power-off request for a first load, the computer device stops allocating photovoltaic green electricity to the first load in response to the power-off request. Optionally, after detecting the power-off request, the computer device determines the load with the lowest priority as the first load based on the priorities of the loads currently using photovoltaic green electricity, further determines that the power-off request is a power-off request for the first load, and stops allocating photovoltaic green electricity to the first load in response to the power-off request. Different loads correspond to different switches, or different loads correspond to different parameters of the same switch.

[0117] In one possible embodiment, different loads correspond to different switches. After detecting a power-off request for a first load, the computer device controls the switch corresponding to the first load to disconnect, so that the circuit between the photovoltaic component and the first load is broken, thereby stopping the distribution of photovoltaic green electricity to the first load.

[0118] In another possible embodiment, different loads correspond to different switch parameters of the same switch. After detecting a power-off request for a first load, the computer device controls the circuit between the photovoltaic component and the first load to form an open circuit based on the switch parameters corresponding to the first load, thereby stopping the distribution of photovoltaic green electricity to the first load.

[0119] Step 402: Obtain a second distribution change.

[0120] The second allocation change indicates the impact of the de-energized load on the green power consumption of the remaining loads when using photovoltaic green power. Optionally, the second allocation change refers to the impact of the first load ceasing to use photovoltaic green power on the green power consumption of the second load. In this embodiment of the present application, the computer device obtains the second allocation change after the photovoltaic green power allocation to the first load is stopped.

[0121] In the embodiment of the present application, the second distribution change refers to the change in the second load's photovoltaic green electricity consumption after the first load stops using photovoltaic green electricity. Optionally, based on the time when the first load stops using photovoltaic green electricity, the computer device obtains the green electricity consumption of the second load before and after that time, and then obtains the second distribution change based on the change in the second load's green electricity consumption. In the exemplary embodiment, the above step 402 includes the following steps:

[0122] 1. Get the updated second allocation amount.

[0123] The updated second allocated amount is used to indicate the green power distribution status of the loads that remain powered after the power load is reduced. In this embodiment of the present application, the updated second allocated amount refers to the amount of photovoltaic green power consumed by the second load after the first load stops using photovoltaic green power. After the photovoltaic green power distribution to the first load is stopped, the computer device obtains the updated second allocated amount.

[0124] Optionally, similar to the above-mentioned second allocation amount, the computer device obtains the updated second allocation amount through the electricity meter corresponding to the second load; or, the computer device obtains the updated second allocation amount through the display area corresponding to the second load in the electricity meter.

[0125] Optionally, since the number of second loads can be any value, when obtaining the updated second allocation amount, the computer device obtains the green electricity consumption of at least one second load that uses photovoltaic green electricity after the first load stops using photovoltaic green electricity; and then determines the sum of the green electricity consumption of each second load after the first load stops using photovoltaic green electricity as the updated second allocation amount.

[0126] 2. Determine the second allocation amount as the updated historical allocation amount.

[0127] The updated historical allocation is used to indicate the green power distribution status of the above-mentioned loads that have not been de-energized when the power load has not decreased. In this embodiment of the present application, the updated historical allocation refers to the amount of photovoltaic green power consumed by the second load before the first load stops using photovoltaic green power. After the photovoltaic green power is stopped from being allocated to the first load, the computer device determines the second allocation as the updated historical allocation.

[0128] 3. Obtain a second allocation change based on the difference between the updated second allocation and the updated historical allocation.

[0129] In an embodiment of the present application, after obtaining the updated second allocation amount and the updated historical allocation amount, the computer device obtains the second allocation change based on the difference between the updated second allocation amount and the updated historical allocation amount. Optionally, the computer device subtracts the updated historical allocation amount from the updated second allocation amount to obtain the difference, and then determines the difference as the second allocation change.

[0130] Optionally, if the difference between the updated second allocation amount and the updated historical allocation amount is a positive number, it indicates that after the first load stopped using photovoltaic green electricity, the photovoltaic green electricity used by the second load increased, and the contents recorded in the following steps 403 and 404 are further executed; if the difference between the updated second allocation amount and the updated historical allocation amount is not a positive number, it indicates that after the first load stopped using photovoltaic green electricity, it did not affect the green electricity consumption of the second load, that is, the allocation of photovoltaic green electricity after the power outage of the first load may be unreasonable, and further suspending the allocation of photovoltaic green electricity to the adjacent second load to determine whether the allocation of photovoltaic green electricity is reasonable. The adjacent second load refers to the second load that was most recently allocated photovoltaic green electricity before the first load used photovoltaic green electricity.

[0131] Step 403 : when the ratio between the second allocation change amount and the first allocation amount is greater than a second threshold, stop allocating photovoltaic green electricity to the adjacent second load.

[0132] In an embodiment of the present application, after obtaining the second allocation change and the first allocation, the computer device stops allocating photovoltaic green electricity to the adjacent second load if the ratio between the second allocation change and the first allocation is greater than a second threshold. Optionally, the computer device obtains the ratio between the second allocation change and the first allocation, and then compares the ratio with the second threshold. If the ratio is greater than or equal to the second threshold, it is determined that after the first load stops using photovoltaic green electricity, more photovoltaic green electricity can be allocated to the second load. That is, if photovoltaic green electricity is allocated to the first load, the first load will occupy too much photovoltaic green electricity and excessively squeeze the green electricity resources of the second load. At this time, stopping allocating photovoltaic green electricity to the first load is conducive to the reasonable allocation of photovoltaic green electricity. Furthermore, if it is determined that photovoltaic green electricity cannot be stably allocated to the first load, the allocation of photovoltaic green electricity to the first load is stopped, and the allocation of photovoltaic green electricity to the adjacent second load is stopped to further determine whether photovoltaic green electricity can be stably allocated to the adjacent second load. The second threshold value may be any value and may be flexibly set and adjusted according to actual conditions, such as 25%, 0.5 or 0.75, etc. This embodiment of the present application does not limit this.

[0133] Optionally, when the ratio between the second allocation change and the first allocation is greater than or equal to a second threshold, in order to reduce energy consumption caused by generating unnecessary requests, the computer device determines whether to stop allocating photovoltaic green electricity to the adjacent second load based on the above-mentioned updated second allocation and the above-mentioned historical allocation. For example, when it is determined that the ratio between the second allocation change and the first allocation is greater than the second threshold, the computer device obtains the absolute value of the difference between the updated second allocation and the historical allocation; when the absolute value of the difference is greater than the fourth threshold, it can be understood that even if the allocation of photovoltaic green electricity to the first load is stopped, the green electricity consumption of the second load cannot be restored, and the green electricity consumption of the second load fluctuates greatly. At this time, it is impossible to determine whether photovoltaic green electricity can stably supply power to the second load, and then the allocation of photovoltaic green electricity to the adjacent second load is stopped to determine whether photovoltaic green electricity can be allocated to the adjacent second load; on the contrary, when the absolute value of the difference is less than or equal to the fourth threshold, it can be understood that after the allocation of photovoltaic green electricity to the first load is stopped, the green electricity consumption of the second load is restored. At this time, it is determined that photovoltaic green electricity can stably supply power to the second load, and there is no need to stop allocating photovoltaic green electricity to the adjacent second load to determine whether photovoltaic green electricity can be allocated to the adjacent second load. Among them, the fourth threshold can be any value, and the fourth threshold can be flexibly set and adjusted according to actual conditions. The embodiments of the present application are not limited to this.

[0134] Optionally, each load has a priority, with different loads corresponding to different priorities. The priority is negatively correlated with the order in which the photovoltaic green power is disconnected. For example, the higher the priority of a load, the later the photovoltaic green power is disconnected from the load; conversely, the lower the priority of a load, the earlier the photovoltaic green power is disconnected from the load. In this embodiment of the present application, the priority of an adjacent second load is higher than that of the first load, and the priority of an adjacent second load is lower than that of other second loads.

[0135] It should be noted that after the computer device stops allocating photovoltaic green electricity to the adjacent second load, it determines the adjacent second load as a new first load, and then repeats the above step 402.

[0136] Step 404 : Allocate photovoltaic green electricity to the first load when the ratio between the second allocation change amount and the first allocation amount is less than a second threshold.

[0137] In an embodiment of the present application, after obtaining the second allocation change and the first allocation, the computer device allocates photovoltaic green electricity to the first load when the ratio between the second allocation change and the first allocation is less than or equal to a second threshold.

[0138] Optionally, the computer device obtains the ratio between the second allocation change and the first allocation amount, and then compares the ratio with a second threshold value. When the ratio is less than or equal to the second threshold value, it is determined that the first load stopping the use of photovoltaic green electricity has no impact on the green electricity consumption of the second load, that is, the first load's resource occupation of photovoltaic green electricity is reasonable, and does not excessively squeeze the green electricity resources of the second load. At this time, photovoltaic green electricity can stably supply power to the first load and the second load, and then photovoltaic green electricity is allocated to the first load.

[0139] To sum up, the technical solution provided in the embodiment of the present application provides a solution for reasonably adjusting the distribution of photovoltaic green electricity based on the power outage mechanism. On the one hand, by detecting the change in the load's electricity consumption for photovoltaic green electricity after the power outage, it is determined whether the current distribution of photovoltaic green electricity is reasonable, and then it is determined whether it is necessary to stop providing photovoltaic power to certain loads, thereby reducing the time waste caused by communicating with the photovoltaic power station and improving the real-time performance of photovoltaic green electricity distribution. On the other hand, in a scenario where photovoltaic green electricity has been stably providing photovoltaic green electricity to multiple loads, power outage detection can determine whether photovoltaic green electricity remains stable for the multiple loads. When the ratio between the second distribution change and the first distribution amount is greater than the second threshold, it is determined that the first load is effectively powered off. After the first load is powered off, more photovoltaic green electricity can be distributed to the second load. The first load is further powered off and the distribution of photovoltaic green electricity to the adjacent second load is stopped. Through power outage detection of the adjacent second load, it is further determined whether the adjacent second load needs to be powered off. Conversely, when the ratio between the second distribution change and the first distribution amount is less than the second threshold, it is determined that whether the power outage of the first load has no effect on the green electricity supply of the second load, and then the photovoltaic power continues to be distributed to the first load. It can be seen that the power outage mechanism in this application facilitates timely and real-time adjustment of the distribution of photovoltaic green electricity in the event of emergencies (such as sudden changes in light intensity, sudden increase in green electricity demand of a certain load, etc.), further improving the rationality of photovoltaic green electricity distribution.

[0140] Below, combined with reference Figure 5 , a complete introduction to the distribution method of photovoltaic green electricity in this application is given.

[0141] Exemplarily, the loads have corresponding priorities. After detecting a power supply request, the computer device determines the load with the highest priority as the first load from the loads that do not use photovoltaic green electricity, and then allocates photovoltaic green electricity to the first load in response to the power supply request.

[0142] For example, in the case where a second load exists alongside a first load, after allocating photovoltaic green electricity to the first load, the computer device obtains the first allocation amount and the first allocation change amount, and determines whether the ratio between the first allocation change amount and the first allocation amount is greater than a first threshold. If the ratio between the first allocation change amount and the first allocation amount is greater than the first threshold, it is determined that the first load is occupying too much photovoltaic green electricity, excessively squeezing the second load's green electricity resources, and the allocation of photovoltaic green electricity to the first load is stopped. Conversely, if the ratio between the first allocation change amount and the first allocation amount is less than or equal to the first threshold, it is determined that the first load's resource occupation of photovoltaic green electricity is reasonable and is not excessively squeezing the second load's green electricity resources, and the supply of photovoltaic green electricity to the first load continues.

[0143] For example, after stopping allocating photovoltaic green electricity to the first load, in order to further reasonably allocate photovoltaic green electricity, the adjacent second load is determined based on the priority of the first load, and the adjacent second load is determined as the new first load. Figure 5 As shown, the following "stop providing photovoltaic green electricity to the first load" and related operations are executed, which will not be described in detail here. In addition, after stopping the distribution of photovoltaic green electricity to the first load, after determining to regenerate the power supply request for the first load, the computer device obtains the number of power supply requests generated for the first load within the target period, and determines whether the number of generation times is less than the target value. In the case that the number of generation times is less than the target value, the first moment is determined based on the power supply interval, and the power supply request for the first load is regenerated at the first moment, and the power supply request is generated as shown in FIG. Figure 5 As shown, the above steps are repeated after the operation of "detecting the power supply request"; on the contrary, if the number of generation times is greater than or equal to the target value, the power supply interval is extended, and the second time is determined based on the extended power supply interval, and the power supply request for the first load is regenerated at the second time, and Figure 5 As shown, the above steps are repeated after the operation of "detecting the power supply request".

[0144] Exemplarily, after continuing to provide photovoltaic green electricity to the first load, if a third load exists in the first load, the computer device determines the third load based on the priority of the first load and allocates photovoltaic green electricity to the third load. Exemplarily, if the second load does not exist in the first load, after allocating photovoltaic green electricity to the first load, the computer device continues to provide photovoltaic green electricity to the first load, and if it is subsequently determined that a third load exists, the computer device determines the third load based on the load priority and allocates photovoltaic green electricity to the third load. Afterwards, the computer device uses the third load as the new first load. Figure 5 As shown, the above steps are executed starting from the operation of "determining whether the second load exists" until the third load does not exist in the first load.

[0145] For example, after continuing to provide photovoltaic green electricity to the first load, when there is no third load on the first load, and when the continuous use time of photovoltaic green electricity by the first load is greater than the third threshold, the computer device stops providing photovoltaic green electricity to the first load, obtains the second allocation change, and determines whether the ratio between the second allocation change and the first allocation is greater than the second threshold. When the ratio between the second allocation change and the first allocation is greater than the second threshold, the allocation of photovoltaic green electricity to the first load is stopped, and the provision of photovoltaic green electricity to the second adjacent load is stopped. At this time, the second adjacent load can be understood as the new first load, such as Figure 5 As shown, the above steps are repeated starting from the operation of "stopping providing photovoltaic green electricity to the first load" to determine whether photovoltaic green electricity can be allocated to the second adjacent load. When the ratio between the second allocation change and the first allocation amount is less than or equal to the second threshold, it is determined that the resource occupation of photovoltaic green electricity by the first load is reasonable and does not excessively squeeze the green electricity resources of the second load. It is determined that photovoltaic green electricity is reallocated to the first load, and photovoltaic green electricity is reallocated to the first load immediately. After that, the time starts at this moment, as shown in FIG. Figure 5 As shown, when the continuous usage time of the photovoltaic green electricity by the first load is greater than the third threshold, the above steps are repeated.

[0146] The following are device embodiments of the present application, which can be used to implement the method embodiments of the present application. For details not disclosed in the device embodiments of the present application, please refer to the method embodiments of the present application.

[0147] Please refer to Figure 6 , which shows a block diagram of a photovoltaic green electricity distribution device provided in one embodiment of the present application. This device implements the photovoltaic green electricity distribution method described above. This function can be implemented in hardware or by hardware executing corresponding software. This device can be the aforementioned computer device or be incorporated into a computer device. The device can include: a green electricity supply module 610, an allocation acquisition module 620, a change acquisition module 630, and a green electricity power-off module 640.

[0148] The green electricity supply module 610 is configured to allocate photovoltaic green electricity to a first load in response to a power supply request for the first load.

[0149] The allocation acquisition module 620 is configured to acquire a first allocation amount, where the first allocation amount refers to the amount of electricity consumed by the first load for photovoltaic green electricity.

[0150] The change acquisition module 630 is used to obtain a first allocation change; wherein the first allocation change refers to the change in electricity consumption of the second load for photovoltaic green electricity after the first load uses photovoltaic green electricity, and the second load refers to the load that uses photovoltaic green electricity before the first load.

[0151] The green power off module 640 is configured to stop allocating photovoltaic green power to the first load when the ratio between the first allocation change and the first allocation amount is greater than a first threshold.

[0152] In an exemplary embodiment, as Figure 7 As shown, the change acquisition module 630 includes: a real-time acquisition unit 631 , a history acquisition unit 632 and a change acquisition unit 633 .

[0153] The real-time acquisition unit 631 is configured to acquire a second allocated amount, wherein the second allocated amount refers to the amount of electricity consumed by the second load for photovoltaic green electricity after the first load uses photovoltaic green electricity.

[0154] The history acquisition unit 632 is configured to acquire a historical allocation amount, wherein the historical allocation amount refers to the amount of electricity consumed by the second load for photovoltaic green electricity before the first load uses photovoltaic green electricity.

[0155] The change acquisition unit 633 is configured to acquire the first allocation change amount based on the difference between the historical allocation amount and the second allocation amount.

[0156] In an exemplary embodiment, the real-time acquisition unit 631 is configured to:

[0157] respectively obtaining the green electricity consumption of at least one of the second loads that uses the photovoltaic green electricity after the first load uses the photovoltaic green electricity;

[0158] The sum of the green electricity consumption of each of the second loads is determined as the second allocated amount.

[0159] In an exemplary embodiment, the green electricity supply module 610 is further configured to allocate photovoltaic green electricity to a third load when a ratio between the first allocation change and the first allocation amount is smaller than the first threshold.

[0160] In an exemplary embodiment, as Figure 7 As shown, the device further includes: a times acquisition module 650 and a request generation module 660.

[0161] The number acquisition module 650 is used to obtain the number of times the power supply request for the first load is generated within a target time period; wherein the end time of the target time period is the current time.

[0162] The request generation module 660 is used to regenerate a power supply request for the first load at a first moment after the current moment when the number of generation times is less than the target value, and repeat the step of allocating photovoltaic green electricity to the first load in response to the power supply request for the first load.

[0163] The request generation module 660 is further configured to, when the number of generation times is greater than the target value, regenerate a power supply request for the first load at a second moment after the current moment, and repeat the step of allocating photovoltaic green electricity to the first load in response to the power supply request for the first load; wherein the duration between the current moment and the second moment is greater than the duration between the current moment and the first moment.

[0164] In an exemplary embodiment, the green electricity power-off module 640 is further configured to stop allocating photovoltaic green electricity to the first load in response to a power-off request for the first load.

[0165] The change acquisition module 630 is configured to acquire a second distribution change, where the second distribution change refers to a change in the amount of electricity consumption of the second load for photovoltaic green electricity after the first load stops using photovoltaic green electricity.

[0166] The green electricity power-off module 640 is further configured to stop allocating photovoltaic green electricity to an adjacent second load when the ratio between the second allocation change and the first allocation amount is greater than a second threshold; wherein the adjacent second load refers to the second load that was most recently allocated to use photovoltaic green electricity before the first load used photovoltaic green electricity.

[0167] The green electricity supply module 610 is further configured to allocate photovoltaic green electricity to the first load when a ratio between the second allocation change and the first allocation amount is less than a second threshold.

[0168] In an exemplary embodiment, the priority of the second load is higher than the priority of the first load; wherein the priority is positively correlated with the power supply sequence of photovoltaic green electricity.

[0169] To sum up, in the technical solution provided in the embodiment of the present application, after allocating photovoltaic green electricity to the first load, a first allocation change is obtained, and the first allocation change can characterize the impact of the first load's use of photovoltaic green electricity on the green electricity consumption of the second load, and then when the ratio between the first allocation change and the first allocation amount is greater than the first threshold, the allocation of photovoltaic green electricity to the first load is stopped, and the first allocation amount refers to the electricity consumption of the first load for photovoltaic green electricity. Based on the green electricity consumption that can be detected by the load side and the change in green electricity consumption, it is determined whether to add a new load to photovoltaic green electricity. There is no need to obtain the power generation situation of the photovoltaic power station, and it is possible to determine whether to allocate photovoltaic green electricity to the new load while meeting the green electricity consumption of the old load. This reduces the time waste caused by communication with the photovoltaic power station and improves the real-time performance of photovoltaic green electricity distribution. Moreover, since there is no need for communication between the computer equipment and the photovoltaic power station, the computer equipment can be set at a location close to the load, which reduces the layout limitations of the computer equipment and improves the layout flexibility of the computer equipment. Short-distance data transmission facilitates further improving the real-time performance of photovoltaic green electricity distribution.

[0170] In an exemplary embodiment, a computer device is further provided. The computer device includes a processor and a memory. A computer program is stored in the memory. The computer program is loaded and executed by the processor to implement the above-mentioned photovoltaic green electricity distribution method.

[0171] In an exemplary embodiment, a non-transitory computer-readable storage medium is further provided, on which a computer program is stored. When the computer program is executed by a processor, the above-mentioned photovoltaic green electricity distribution method is implemented.

[0172] In an exemplary embodiment, a computer program product is further provided. When the computer program product is executed, a computer device executes the above-mentioned photovoltaic green electricity distribution method.

[0173] The above embodiments are only for illustrating the technical concept and features of the present invention, and their purpose is to enable people familiar with this technology to understand the content of the present invention and implement it accordingly, and they are not intended to limit the scope of protection of the present invention. For those skilled in the art, it is obvious that the present invention is not limited to the details of the above exemplary embodiments, and that the present invention can be implemented in other specific forms without departing from the spirit or basic characteristics of the present invention. Therefore, no matter from which point of view, the embodiments should be regarded as exemplary and non-restrictive. The scope of the present invention is defined by the appended claims rather than the above description, and it is intended that all changes that fall within the meaning and scope of the equivalent elements of the claims are included in the invention.

[0174] It should be understood that the "multiple" mentioned in this article refers to two or more. "And / or" describes the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B can represent three situations: A exists alone, A and B exist at the same time, and B exists alone. The character " / " generally indicates that the previous and subsequent associated objects are in an "or" relationship. In addition, the step numbers described in this article only illustrate a possible execution sequence between the steps. In some other embodiments, the above steps may not be executed in the order of the numbers, such as two steps with different numbers are executed at the same time, or two steps with different numbers are executed in the opposite order to the diagram. The embodiments of the present application do not limit this.

[0175] The above description is merely an exemplary embodiment of the present application and is not intended to limit the present application. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present application shall be included in the scope of protection of the present application.

Claims

1. A method for distributing photovoltaic green electricity, characterized in that: The method comprises: In response to a power supply request for a first load, allocating photovoltaic green electricity to the first load; Obtaining a first allocated amount, where the first allocated amount refers to the amount of electricity consumed by the first load for photovoltaic green electricity; Obtaining a first allocation change; wherein the first allocation change refers to a change in electricity consumption of a second load for photovoltaic green electricity after the first load uses photovoltaic green electricity, and the second load refers to a load that uses photovoltaic green electricity before the first load; When the ratio of the first allocation change to the first allocation amount is greater than a first threshold, allocating photovoltaic green electricity to the first load is stopped.

2. The method according to claim 1, characterized in that The obtaining of the first distribution change includes: Obtaining a second allocated amount; wherein the second allocated amount refers to the amount of electricity consumed by the second load for photovoltaic green electricity after the first load uses photovoltaic green electricity; Obtaining a historical allocation amount; wherein the historical allocation amount refers to the amount of electricity consumed by the second load for photovoltaic green electricity before the first load uses photovoltaic green electricity; The first distribution change amount is obtained based on the difference between the historical distribution amount and the second distribution amount.

3. The method according to claim 2, characterized in that The obtaining of the second allocated amount comprises: respectively obtaining the green electricity consumption of at least one of the second loads that uses the photovoltaic green electricity after the first load uses the photovoltaic green electricity; The sum of the green electricity consumption of each of the second loads is determined as the second allocated amount.

4. The method according to claim 1, wherein After obtaining the first distribution change, the method further includes: When the ratio between the first allocation change and the first allocation amount is smaller than the first threshold, photovoltaic green power is allocated to the third load.

5. The method according to claim 1, wherein After stopping allocating photovoltaic green electricity to the first load, the method further includes: Obtaining the number of times power supply requests for the first load are generated within a target time period; wherein the end time of the target time period is the current time; If the number of generation times is less than the target value, at a first moment after the current moment, regenerate a power supply request for the first load, and repeat the step of allocating photovoltaic green power to the first load in response to the power supply request for the first load; When the number of generation times is greater than the target value, at a second moment after the current moment, a power supply request for the first load is regenerated, and the step of allocating photovoltaic green electricity to the first load in response to the power supply request for the first load is repeated; wherein the time length between the current moment and the second moment is greater than the time length between the current moment and the first moment.

6. The method according to claim 1, characterized in that The method further comprises: In response to a power-off request for the first load, stopping allocating photovoltaic green power to the first load; Obtaining a second allocation change, where the second allocation change refers to a change in the amount of electricity consumption of the second load for photovoltaic green electricity after the first load stops using photovoltaic green electricity; When the ratio between the second allocation change and the first allocation amount is greater than a second threshold, stopping allocating photovoltaic green electricity to an adjacent second load; wherein the adjacent second load refers to the second load that was most recently allocated to use photovoltaic green electricity before the first load used photovoltaic green electricity; When the ratio of the second allocation change to the first allocation amount is smaller than the second threshold, photovoltaic green electricity is allocated to the first load.

7. The method according to any one of claims 1 to 6, characterized in that The priority of the second load is higher than the priority of the first load; The priority is positively correlated with the order of photovoltaic green electricity supply.

8. A photovoltaic green electricity distribution device, characterized in that: The device comprises: a green electricity supply module, configured to allocate photovoltaic green electricity to a first load in response to a power supply request for the first load; an allocation acquisition module, configured to acquire a first allocation amount, where the first allocation amount refers to the amount of electricity consumed by the first load for photovoltaic green electricity; a change acquisition module, configured to acquire a first allocation change; wherein the first allocation change refers to a change in the power consumption of a second load for photovoltaic green electricity after the first load uses photovoltaic green electricity, and the second load refers to a load that uses photovoltaic green electricity before the first load; The green power off module is configured to stop allocating photovoltaic green power to the first load when a ratio between the first allocation change and the first allocation amount is greater than a first threshold.

9. A computer device, characterized in that: The computer device includes a processor and a memory, wherein a computer program is stored in the memory, and the computer program is loaded and executed by the processor to implement the method according to any one of claims 1 to 7.

10. A non-transitory computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the method according to any one of claims 1 to 7 is implemented.

Citation Information

Patent Citations

  • Electricity consumption analysis method and device, computer equipment and storage medium

    CN115760224A

  • Electric energy dispatching method, electric energy dispatching device and computer readable storage medium

    CN117060502A

  • Intelligent photovoltaic power distribution method, system and device and storage medium

    CN119813383A