A Method and System for Mixed Acquisition of Electricity Information with Daily Freezing and Minute Curve Freezing
By adjusting the priority of daily and minute-by-minute energy data collection tasks, the method and system ensure efficient and complete data collection, addressing imbalanced load and incomplete data issues in power grid management systems.
Patent Information
- Application Number
- CN202210443444.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-04-26
- Publication Date
- 2025-07-15
- Estimated Expiration
- 2042-04-26
AI Technical Summary
During the power acquisition process of the existing power grid management system, the acquisition load of the daily freezing and minute curve freezing tasks is unbalanced, resulting in data loss and low acquisition success rate, especially when the time spans and days later, the minute curve freezing task cannot be completed in time.
By adjusting the priority and acquisition strategy of the daily freeze and minute curve freeze power consumption information acquisition tasks, setting the priority of the minute curve freeze task higher than the daily freeze task. The acquisition terminal first executes the minute curve freeze task, and then adjusts the task priority based on the power meter clock, reasonably allocates the collection time to ensure the timely completion of the task.
It effectively alleviates the collection pressure, equalizes the load, and ensures the success rate of daily freezing electricity consumption information, real-time and the complete rate of collection of minute curve freezing electricity consumption information.
Smart Images

Figure CN115021396B_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the field of electric power technology, and in particular relates to a method and system for mixed sampling of daily frozen and minute curve frozen electricity consumption information. Background Art
[0002] With the development of society and the advancement of science and technology, the management of power grid companies has become more refined, and it is necessary to collect 15-minute voltage curves to guide transformer voltage regulation and improve power supply quality. In the existing collection algorithm, daily freezing (the electric energy meter stores the electric energy at zero o'clock every day) is a collection task with high priority; minute curve freezing (storing a sum of electric energy data at fixed minute intervals) is a collection task with an interval of 15 minutes, requiring 96 samples a day, and low priority. After the time span, the collection terminal first executes the high-priority daily freezing collection task, and only after the daily freezing collection is completed will the minute curve freezing collection task be executed.
[0003] The existing collection algorithm focuses on ensuring the success rate of daily freeze collection. However, there are often hundreds of electricity meters in a substation (the power supply range or area of a transformer). The collection task is heavy after the time span. It may take more than 15 minutes to complete the collection of the daily freeze. As a result, the first minute curve freeze within 0-15 minutes after the time span is not collected in time, resulting in data loss. After the daily freeze collection is completed, only the minute curve freeze collection task is left. The collection terminal is relatively idle at this time, and there is a problem of unbalanced collection load. Summary of the invention
[0004] The technical problem to be solved by the present invention is that the above-mentioned existing daily freezing and minute curve freezing electricity consumption information collection tasks are heavy when crossing the zero point, and the collection terminal is too busy, resulting in missing collection data; after the daily freezing collection is completed, only the minute curve freezing collection task is left, and the collection terminal is relatively idle, there are problems such as unbalanced collection load and the success rate of daily freezing collection, the real-time performance of daily freezing collection, and the collection completeness rate of minute curve freezing are not guaranteed. A method for mixed collection of daily freezing and minute curve freezing electricity consumption information is provided, and a system for mixed collection of daily freezing and minute curve freezing electricity consumption information is provided.
[0005] The technical solution adopted by the present invention is to provide a method for mixed sampling of daily frozen and minute curve frozen electricity consumption information, comprising the following steps:
[0006] (1) If the current sampled electric energy meter clock is 0 hours, 0 minutes, and 0 seconds, the priority of the minute curve freezing electric energy information collection task is set to high, and the priority of the daily freezing electric energy information collection task is set to low;
[0007] (2) The collection terminal performs the task of collecting electricity consumption information by freezing the minute curve;
[0008] (3) If the current interval minute curve freezing power consumption information collection task is completed, then execute the daily freezing power consumption information collection task;
[0009] (4) Determine whether the clock of the currently sampled electricity meter enters the next time interval for collecting power consumption information by freezing the minute curve:
[0010] If the clock of the currently sampled electricity meter does not enter the next time interval for collecting power consumption information by freezing the minute curve, the collection terminal continues to execute the daily freezing power consumption information collection task;
[0011] If the clock of the currently sampled electricity meter enters the next time interval for collecting power consumption information by freezing the minute curve, then determine whether the required time for the preset daily freezing power consumption information collection task has passed half;
[0012] If the required time for the preset daily freezing power consumption information collection task has not passed half, then execute the current minute curve freezing power consumption information collection task;
[0013] If the required time for the preset daily freezing power consumption information collection task has passed half, then set the priority of the daily freezing power consumption information collection task to high and the priority of the minute curve freezing power consumption information collection task to low;
[0014] The collection terminal executes the daily freezing power consumption information collection task;
[0015] After the daily freezing power consumption information collection task is executed, the collection terminal continues to execute the minute curve freezing power consumption information collection task.
[0016] Further, the time interval for collecting power consumption information by freezing the minute curve is 15 minutes.
[0017] Further, the required time for the daily freezing power consumption information collection task is 2 hours.
[0018] The present invention also provides a system for mixed collection of daily freezing and minute curve freezing power consumption information, including:
[0019] The first judgment module is used to judge whether the clock of the currently sampled electricity meter crosses a day;
[0020] The first priority setting module is connected to the first judgment module. When the clock of the currently sampled electricity meter is 0:00:00, the first priority setting module sets the priority of the minute curve freezing power consumption information collection task to high and the priority of the daily freezing power consumption information collection task to low;
[0021] The first execution module is connected to the first priority setting module and is used to execute the current minute curve freezing power consumption information collection task;
[0022] A second judgment module, connected to the first execution module, is configured to judge whether the power consumption information collection task for the minute curve freeze of the current time interval is completed;
[0023] A second execution module, connected to the second judgment module, if the power consumption information collection task for the minute curve freeze of the current time interval is completed, the second execution module executes the daily freeze power consumption information collection task;
[0024] A third judgment module, connected to the second execution module, is configured to judge whether the clock of the currently sampled electric energy meter enters the next time interval for the power consumption information collection of the minute curve freeze;
[0025] A fourth judgment module, connected to the third judgment module, if the clock of the currently sampled electric energy meter enters the next time interval for the power consumption information collection of the minute curve freeze, the fourth judgment module judges whether the required time for the preset daily freeze power consumption information collection task has passed half;
[0026] A second priority setting module, connected to the fourth judgment module, if the required time for the preset daily freeze power consumption information collection task has passed half, the second priority setting module sets the priority of the daily freeze power consumption information collection task to high and the priority of the power consumption information collection task for the minute curve freeze to low;
[0027] A third execution module, connected to the second priority setting module, is configured to execute the daily freeze power consumption information collection task;
[0028] A fifth judgment module, connected to the third execution module, is configured to judge whether the daily freeze power consumption information collection task is completed;
[0029] A fourth execution module, connected to the fifth judgment module, if the daily freeze power consumption information collection task is completed, the fourth execution module continues to execute the power consumption information freezing and collection task for the clock curve.
[0030] The beneficial effects of the present invention are:
[0031] A method for mixed collection of daily freeze and minute curve freeze power consumption information provided by the present invention effectively alleviates the increased collection pressure on the collection terminal after time crossing due to the need to collect both daily freeze power consumption information and minute curve freeze power consumption information, balances the collection load, ensures the collection success rate of daily freeze power consumption information, the real-time nature of daily freeze power consumption information collection, and the collection integrity rate of minute curve freeze power consumption information by adjusting the priorities and collection strategies of the daily freeze and minute curve freeze power consumption information collection tasks. Description of the Drawings
[0032] To more clearly illustrate the technical solutions in the embodiments of the present invention, the following will briefly introduce the drawings required in the embodiments. Obviously, the drawings in the following description are only a part of the embodiments of the present invention. For those of ordinary skill in the art, without creative efforts, other drawings can be obtained based on these drawings.
[0033] Figure 1 Flowchart of a method for mixed collection of electricity consumption information with daily freezing and minute - curve freezing provided by the present invention;
[0034] Figure 2 Principle block diagram of a system for mixed collection of electricity consumption information with daily freezing and minute - curve freezing provided by the present invention.
[0035] Explanation of figure numbers:
[0036] 100 - First judgment module; 101 - First priority setting module; 102 - First execution module; 200 - Second judgment module; 201 - Second execution module; 300 - Third judgment module; 400 - Fourth judgment module; 401 - Second priority setting module; 402 - Third execution module; 500 - Fifth judgment module; 501 - Fourth execution module. Detailed implementation manners
[0037] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the drawings in the embodiments of the present invention. Obviously, the described embodiments are only a part of the embodiments of the present invention, rather than all the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative efforts belong to the scope of protection of the present invention.
[0038] As Figure 1 shown, Figure 1 Flowchart of a method for mixed collection of electricity consumption information with daily freezing and minute - curve freezing provided by the present invention, and the specific steps are as follows:
[0039] S101. Judge whether the current time crosses a day;
[0040] S102. If the clock of the currently sampled electricity meter is 0:00:00, set the priority of the minute - curve freezing electricity consumption information collection task to high and the priority of the daily freezing electricity consumption information collection task to low;
[0041] S103. The acquisition terminal executes the minute - curve freezing electricity consumption information collection task;
[0042] S104. Judge whether the current interval minute - curve freezing electricity consumption information collection task is completed;
[0043] S105. If the collection task of the frozen electricity consumption information of the current interval minute curve is completed, the collection terminal executes the daily frozen electricity consumption information collection task;
[0044] S106. Determine whether the clock of the currently sampled electricity meter enters the next time interval for collecting the frozen electricity consumption information of the minute curve. If the clock of the currently sampled electricity meter does not enter the next time interval for collecting the frozen electricity consumption information of the minute curve, the collection terminal continues to execute the daily frozen electricity consumption information collection task;
[0045] S107. If the clock of the currently sampled electricity meter enters the next time interval for collecting the frozen electricity consumption information of the minute curve, then determine whether the required time for the preset daily frozen electricity consumption information collection task has passed half. If the required time for the preset daily frozen electricity consumption information collection task has not passed half, execute the current minute curve frozen electricity consumption information collection task;
[0046] S108. If the required time for the preset daily frozen electricity consumption information collection task has passed half, set the priority of the daily frozen electricity consumption information collection task to high and the priority of the minute curve frozen electricity consumption information collection task to low;
[0047] S109. The collection terminal executes the daily frozen electricity consumption information collection task;
[0048] S110. Determine whether the collection of the daily frozen electricity consumption information is completed;
[0049] S111. The collection terminal continues to execute the collection task of the frozen electricity consumption information of the minute curve.
[0050] As an embodiment of the present invention, the time interval for collecting the frozen electricity consumption information of the minute curve is 15 minutes.
[0051] Preferably, the required time for the daily frozen electricity consumption information collection task is 2 hours.
[0052] As Figure 2 shown, a system for mixed collection of daily frozen and minute curve frozen electricity consumption information provided by the present invention is used to relieve the collection pressure on the collection terminal that suddenly increases because it needs to collect both daily frozen electricity consumption information and minute curve frozen electricity consumption information after time crosses.
[0053] A power consumption information mixed acquisition system for daily freezing and minute curve freezing provided by the present invention includes a first judgment module 100, a first priority setting module 101 connected to the first judgment module 100, a first execution module 102 connected to the first priority setting module 1010, a second judgment module 200 connected to the first execution module 102, a second execution module 201 connected to the second judgment module 200, a third judgment module 300 connected to the second execution module 201, a fourth judgment module 400 connected to the third judgment module 300, a second priority setting module 401 connected to the fourth judgment module 400, a third execution module 402 connected to the second priority setting module 401, a fifth judgment module 500 connected to the third execution module 402, and a fourth execution module 501 connected to the fifth judgment module 500. Each module works together to ensure the success rate of daily freezing power consumption information acquisition, the real-time performance of daily freezing power consumption information acquisition, and the integrity rate of minute curve freezing power consumption information acquisition.
[0054] Specifically, the first judgment module 100 is used to judge whether the clock of the currently sampled electric energy meter crosses a day.
[0055] The first priority setting module 101, when the clock of the currently sampled electric energy meter is 0:00:00, sets the priority of the minute curve freezing power consumption information acquisition task to high and the priority of the daily freezing power consumption information acquisition task to low.
[0056] The first execution module 102 is used to execute the current minute curve freezing power consumption information acquisition task.
[0057] The second judgment module 200 is used to judge whether the minute curve freezing power consumption information acquisition task for the current time interval is completed.
[0058] The second execution module 201, if the minute curve freezing power consumption information acquisition task for the current time interval is completed, then executes the daily freezing power consumption information acquisition task.
[0059] The third judgment module 300 is used to judge whether the clock of the currently sampled electric energy meter enters the next minute curve freezing power consumption information acquisition time interval.
[0060] The fourth judgment module 400, if the clock of the currently sampled electric energy meter enters the next minute curve freezing power consumption information acquisition time interval, then judges whether the required time for the preset daily freezing power consumption information acquisition task has passed half.
[0061] The second priority setting module 401, if the required time for the preset daily freezing power consumption information acquisition task has passed half, then sets the priority of the daily freezing power consumption information acquisition task to high and the priority of the minute curve freezing power consumption information acquisition task to low.
[0062] The third execution module 402 is used to execute the daily freeze power consumption information collection task;
[0063] The fifth judgment module 500 is used to judge whether the daily freeze power consumption information collection task is completed;
[0064] The fourth execution module 501, if the daily freeze power consumption information collection task is completed, the fourth execution module will continue to execute the clock curve power consumption information freeze collection task.
[0065] By adjusting the priorities and collection strategies of the daily freeze and minute curve freeze collection tasks, the present invention balances the collection load and ensures the success rate of daily freeze collection, the real-time performance of daily freeze collection, and the collection integrity rate of minute curve freeze.
[0066] A method for mixed collection of daily freeze and minute curve freeze power consumption information provided by the present invention sets the priority of the minute curve freeze power consumption information collection task to be high. First, execute the minute curve freeze power consumption information collection task, and then divide the daily freeze power consumption information collection task into many parts and insert them into the fragmented idle time after each time interval's minute curve freeze power consumption information collection task is completed. To ensure the success rate of the daily freeze power consumption information collection task, only cut the daily freeze power consumption information collection task and place it in the first half (i.e., within 1 hour) of the time required for the daily freeze power consumption information collection task. If the collection terminal completes the collection of the daily freeze power consumption information within the first half of the time required for the daily freeze power consumption information collection task, it perfectly ensures the success rate of the daily freeze power consumption information collection, the real-time performance of the daily freeze power consumption information collection, and the collection integrity rate of the minute curve freeze power consumption information without affecting the minute curve freeze.
[0067] Usually, this algorithm strategy almost meets all on-site requirements for mixed collection of daily freeze and minute curve freeze power consumption information. However, to prevent the situation where the daily freeze power consumption information collection task is not completed within the first half of the time required for the daily freeze power consumption information collection task, the present invention makes further improvements. That is, in the case where the daily freeze power consumption information collection task is not completed within the first half of the required time, readjust the collection strategy. In the second half of the time required for the daily freeze power consumption information collection task, first execute all the daily freeze power consumption information collection tasks and then execute the minute curve freeze power consumption information collection task. By using the method for mixed collection of daily freeze and minute curve freeze power consumption information provided by the present invention, the collection load is balanced, and the success rate of daily freeze collection, the real-time performance of daily freeze collection, and the collection integrity rate of minute curve freeze are further ensured.
[0068] The above has introduced in detail a method and system for mixed collection of electricity information for daily freezing and minute curve freezing disclosed in the embodiments of the present invention. However, it is only used as an example, and the present invention is not limited to the specific implementation manners described above. For those skilled in the art, equivalent modifications or substitutions made to the present invention based on the idea of the present invention are also within the scope of the present invention. Therefore, equal transformations, modifications, improvements, etc. made without departing from the spirit and principles of the present invention should all be covered within the scope of the present invention. In summary, the content of this specification should not be construed as a limitation to the present invention.
Claims
1. A method for mixed collection of electricity consumption information for daily freezing and minute curve freezing, characterized in that It includes the following steps: (1) If the clock of the currently sampled electricity meter is 0:00:00, set the priority of the minute curve frozen electricity consumption information collection task to high and the priority of the daily frozen electricity consumption information collection task to low; (2) The acquisition terminal executes the minute curve frozen electricity consumption information collection task; (3) If the minute curve frozen electricity consumption information collection task is completed within the current minute curve frozen electricity consumption information collection time interval, execute the daily frozen electricity consumption information collection task; (4) Determine whether the clock of the currently sampled electricity meter enters the next minute curve frozen electricity consumption information collection time interval: If the clock of the currently sampled electricity meter does not enter the next minute curve frozen electricity consumption information time interval, the acquisition terminal continues to execute the daily frozen electricity consumption information collection task; If the clock of the currently sampled electricity meter enters the next minute curve frozen electricity consumption information collection time interval, determine whether the required time for the preset daily frozen electricity consumption information collection task has passed half; If the required time for the preset daily frozen electricity consumption information collection task has not passed half, execute the current minute curve frozen electricity consumption information collection task; If the required time for the preset daily frozen electricity consumption information collection task has passed half, set the priority of the daily frozen electricity consumption information collection task to high and the priority of the minute curve frozen electricity consumption information collection task to low; The acquisition terminal executes the daily frozen electricity consumption information collection task; After the daily frozen electricity consumption information collection task is executed, the acquisition terminal continues to execute the minute curve frozen electricity consumption information collection task.
2. A method for mixed collection of electricity consumption information for daily freezing and minute curve freezing according to claim 1, characterized in that, The minute curve frozen electricity consumption information collection time interval is 15 minutes.
3. A method for mixed collection of electricity consumption information for daily freezing and minute curve freezing according to claim 1, characterized in that, The required time for the daily frozen electricity consumption information collection task is 2 hours.
4. A power consumption information mixed acquisition system for daily freezing and minute curve freezing, characterized in that, It includes: The first judgment module is used to judge whether the clock of the currently sampled electricity meter crosses days; The first priority setting module is connected to the first judgment module. When the clock of the currently sampled electricity meter is 0:00:00, the first priority setting module sets the priority of the minute curve frozen electricity consumption information collection task to high and the priority of the daily frozen electricity consumption information collection task to low; The first execution module is connected to the first priority setting module and is used to execute the current minute curve frozen electricity consumption information collection task; The second judgment module is connected to the first execution module and is used to judge whether the minute curve frozen electricity consumption information collection task in the current time interval is completed; The second execution module is connected to the second judgment module. If the minute curve frozen electricity consumption information collection task is completed within the current minute curve frozen electricity consumption information collection time interval, the second execution module executes the daily frozen electricity consumption information collection task; The third judgment module is connected to the second execution module and is used to judge whether the clock of the currently sampled electricity meter enters the next minute curve frozen electricity consumption information collection time interval; The fourth judgment module is connected to the third judgment module. If the clock of the currently sampled electricity meter enters the next minute curve frozen electricity consumption information collection time interval, the fourth judgment module judges whether the required time for the preset daily frozen electricity consumption information collection task has passed half; The second priority setting module is connected to the fourth judgment module. If half of the required time for the daily frozen power consumption information collection task has passed, the second priority setting module sets the priority of the daily frozen power consumption information collection task to high and the priority of the minute curve frozen power consumption information collection task to low; The third execution module is connected to the second priority setting module and is used to execute the daily frozen power consumption information collection task; The fifth judgment module is connected to the third execution module and is used to judge whether the daily frozen power consumption information collection task is completed; The fourth execution module is connected to the fifth judgment module. If the daily frozen power consumption information collection task is completed, the fourth execution module continues to execute the minute curve power consumption information freezing and collection task.
Citation Information
Patent Citations
Remote acquisition meter reading data analysis system
CN106443168A
Operation data minute-level acquisition method suitable for electric power Internet of Things transformer area
CN111798655A