An energy management method based on light storage integration

By optimizing the energy management system of the photovoltaic-storage integrated power station, the problems of data loading delay and memory resource waste have been solved, the inspection efficiency and system performance have been improved, and more efficient data loading and memory utilization have been achieved.

CN120723993BActive Publication Date: 2025-11-07BEIJING TELLHOW INTELLIGENT ENG CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202511156387.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2025-08-19
Publication Date
2025-11-07
Estimated Expiration
2045-08-19

AI Technical Summary

Technical Problem

In the existing energy management systems of integrated photovoltaic and energy storage power plants, issues such as data loading delays and wasted memory resources result in low inspection efficiency and poor system performance.

Method used

When loading the front-end and back-end files of dynamic web pages into the energy display unit, data is preferentially extracted from memory. If there is no data in memory, it is extracted from the data repository. After loading, an expiration time is set, and expired data is automatically deleted. Memory utilization is optimized by combining the expiration time and serial number of the monitored items.

Benefits of technology

It improved data loading speed, enhanced the inspection experience and efficiency for managers, made better use of memory resources, and optimized the loading speed of dynamic web pages.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120723993B_ABST
    Figure CN120723993B_ABST
Patent Text Reader

Abstract

The application discloses an energy management method based on light storage integration, and relates to the technical field of energy management.The front-end file and the back-end file of the corresponding dynamic page are loaded by the energy display unit in sequence during the inspection task performed by the management personnel on the target data source, and the loaded data extracted from the data storage is stored in the memory and the corresponding expiration duration is set when the corresponding recorded data is not in the memory during the loading process, so that the storage resources of the memory are more reasonably utilized;after the inspection monitoring data of a fixed number of inspection tasks are stored, the inspection monitoring data are analyzed to determine the expiration duration and the serial number of a plurality of energy parameters of a plurality of monitoring items, and in this way, the loaded data that still needs to be frequently called is retained in the memory as much as possible, so that the amount of loaded data extracted from the memory during the dynamic web page loading process is more, and the loading rate of the dynamic web page is further optimized.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the technical field of energy management, in particular to an energy management method based on light storage integration. BACKGROUND

[0002] With the rapid development of new energy industry, light storage integrated power station as an important carrier to realize efficient utilization of renewable energy, its stable operation and energy optimization management is crucial, at present, the management personnel need to perform periodic inspection tasks, in the inspection process, due to the fixed sequence of dynamic web page in layout, need to click different dynamic web page in order to view the running status of photovoltaic energy storage power station, energy management system shows data to the management personnel through dynamic web page, the content covers directly displayed energy parameter monitoring value (such as photovoltaic panel power generation power, energy storage battery charging and discharging current, etc.) and indirect data (such as predicted power generation, system energy efficiency ratio, etc.) obtained by operation, in order to improve the data loading efficiency, the dynamic web page usually temporarily stores the data first retrieved from the database in the memory, so as to be called quickly subsequently;

[0003] In the prior art, in order to avoid large memory occupation, a fixed expiration time is usually set for different energy parameter data, however, if the expiration time is set too short, part of the data still needs to be frequently called will be deleted from the memory too early, since there is a data reuse relationship between different dynamic web pages, the related data still needs to be retrieved from the database when the subsequent web page is loaded, which increases the data reading delay and affects the efficiency of the inspection; if the expiration time is set too long, it will cause waste of memory resources and affect the overall performance of the system;

[0004] In order to solve the above problems, the present application provides a solution. SUMMARY

[0005] The purpose of the present application is to provide an energy management method based on light storage integration, in order to solve the problems raised in the background art.

[0006] The present application provides an energy management method based on light storage integration, comprising the following steps:

[0007] Step 1: real-time collection of energy data of target data source and transmission to data storage library, the energy data includes monitoring values of several energy parameters;

[0008] Step 2: the data storage library stores the energy data of the target data source after receiving the real-time transmission, the data storage library contains several data storage tables, and each data storage table stores real-time monitoring values of several energy parameters;

[0009] Step three: the current inspection period manager performs an inspection task on the target data source, during the execution, the manager clicks on all dynamic web pages corresponding to the monitoring items of the target data source in the order specified in the inspection task, and the energy display unit obtains the front-end file and the back-end file of the dynamic page corresponding to the monitoring item and loads them every time a monitoring item is clicked, and after the loading is completed, the visual web interface is presented to the manager in real time, and the inspection monitoring data of the inspection task is obtained after the execution of the inspection task, and the inspection monitoring data is transmitted to the inspection analysis unit for storage;

[0010] Step four: the inspection analysis unit analyzes the stored fixed number of inspection monitoring data of the inspection task to determine the expiration time and sequence number of a number of monitoring items based on a number of energy parameters, and transmits them to the memory management unit for update storage.

[0011] Further, the energy display unit contains the front-end file and the back-end file of the target data source for displaying a number of dynamic web pages, and one dynamic web page corresponds to one monitoring item;

[0012] A dynamic page includes a number of native objects and derived objects, the native object refers to an object that only needs a single energy parameter monitoring value to obtain, and the derived object is an object that needs a number of monitoring values of at least two energy parameters to generate through calculation or association;

[0013] For any derived object, a number of monitoring values of any energy parameter of the derived object are generated through calculation, which are continuous at the collection time.

[0014] Further, each native object and derived object in a dynamic page is represented as a JavaScript function in the dynamic web page.

[0015] Further, the JavaScript function includes specified pre-acquired loading data information and a function body for executing display logic, the loading data information includes a number of energy parameters and their collection time information, and the display logic of the function body is configured to: when processing a native object, the monitoring value of a single energy parameter is directly visualized and rendered; when processing a derived object, the monitoring values of at least two energy parameters are associated and calculated according to a preset calculation rule, and the calculation result is visualized, wherein the collection time information includes a collection start time, an interval time and a collection end time.

[0016] Further, in step three, when loading the front-end file and the back-end file of the dynamic page corresponding to any one monitoring item, all JavaScript functions in the dynamic page will be triggered. For any triggered JavaScript function, the loading data corresponding to the loading data information contained in the JavaScript function will be extracted according to the preset extraction rule.

[0017] Further, the extraction rule for extracting the loading data corresponding to the loading data information is as follows:

[0018] First, it is checked whether all monitoring values corresponding to all pre-acquired energy parameters are stored in the memory. If all monitoring values corresponding to all pre-acquired energy parameters are stored in the memory, the stored monitoring values corresponding to all pre-acquired energy parameters are extracted from the memory as the loading data corresponding to the loading data information, and are displayed to the manager by the function body in the JavaScript function.

[0019] If only some monitoring values corresponding to some pre-acquired energy parameters are stored in the memory, and all monitoring values corresponding to all acquired energy parameters are not stored in the memory, the monitoring values corresponding to the pre-acquired energy parameters are extracted from the memory, and all monitoring values corresponding to all pre-acquired energy parameters that are not stored in the memory are extracted from the data storage library. The extracted data in the memory and the data storage library is displayed to the manager by the function body in the JavaScript function as the loading data corresponding to the loading data information. During the display process, the monitoring values corresponding to all energy parameters are loaded from the data storage library into the memory for storage.

[0020] If all monitoring values corresponding to all pre-acquired energy parameters are not stored in the memory, all monitoring values corresponding to all pre-acquired energy parameters are extracted from the data storage library as the loading data corresponding to the loading data information, and are displayed to the manager by the function body in the JavaScript function. During the display process, the monitoring values corresponding to all energy parameters are loaded from the data storage library into the memory for storage. During the loading process, the expiration time of the monitoring values corresponding to the energy parameters is set according to the preset key value. Once the expiration time is reached, the corresponding monitoring values will be automatically deleted from the memory.

[0021] Further, in step four, the steps of analyzing and determining the expiration time and the serial number of the monitoring items based on the energy parameters are as follows:

[0022] S11: acquire all the monitoring data stored in the monitoring analysis unit, and sequentially mark the monitoring data as A1, A2,..., Aa in order from the first to the last according to the order in which the monitoring data is stored in the monitoring analysis unit, where a > 1;

[0023] S12: sequentially mark all the monitoring items corresponding to the dynamic web pages of the target data source as B1, B2,..., Bb in order according to the order specified in the monitoring task, and sequentially click the monitoring items B1, B2,..., Bb in order when the administrator executes the monitoring task, where b > 1;

[0024] S13: mark all the energy parameters corresponding to the monitoring values in the energy data of the target data source as C1, C2,..., Cc respectively, where c > 1, and sequentially acquire the loading data D1, D2,..., Db of the dynamic web pages corresponding to the monitoring items B1, B2,..., Bb from the monitoring data A1;

[0025] S14: acquire all the extraction time points corresponding to the monitoring values of the energy parameter C1 from the loading data D1, and remove the duplicate extraction time points, mark the remaining extraction time points as E1, E2,..., Ee in order according to the order of extraction, where e > 1, and construct an ordered set G1 of the monitoring item B1 according to the extraction time points, where the extraction time points are farther and farther away from the current time from left to right in the ordered set, and similarly, construct the ordered sets G2, G3,..., Gb of the monitoring items B2, B3,..., Bb in order;

[0026] S15: generate all the special discrete sets of the monitoring items B2, B3,..., Bb relative to the monitoring item B1 according to a preset first generation rule, and the first generation rule is as follows:

[0027] S151: obtain several common sets and several discrete sets of the monitoring item B2 relative to the monitoring item B1 by taking the intersection of the ordered sets G1 and G2;

[0028] S152: obtain several common sets and several discrete sets of the monitoring items B3, B4,..., Bb relative to the monitoring item B1 by taking the intersection of the ordered sets G1 and G3, G4,..., Gb in order according to S151;

[0029] S153: for any one common set of the monitoring item B2 relative to the monitoring item B1, take the intersection of the common set and all the discrete sets of the monitoring items B3, B4,..., Bb relative to the monitoring item B1, and obtain several special discrete sets of the monitoring item B2 relative to the monitoring item B1;

[0030] an exclusive set of the monitoring item B2 relative to the monitoring item B1 obtained by the intersection of the arbitrary common set of the monitoring item B2 relative to the monitoring item B1 and the arbitrary discrete set of the monitoring items B3, B4,..., Bb relative to the monitoring item B1;

[0031] S154; obtaining, according to S153, several exclusive sets of the monitoring items B3, B4,..., Bb relative to the monitoring item B1 in sequence,

[0032] S16: calculating, according to a preset calculation rule, the interruption buffer time lengths J1, J2,..., Jj of the monitoring item B1 based on the energy parameter C1 in the review monitoring data A1;

[0033] S17: calculating, according to S16, the interruption buffer time lengths of the monitoring item B1 based on the energy parameter C1 in the review monitoring data A2, A3,..., Aa in sequence, and re-labeling all the interruption buffer time lengths of the monitoring item B1 based on the energy parameter C1 in the review monitoring data A1, A2,..., Aa as K1, K2,..., Kk, k≥1;

[0034] S18: generating, according to a preset second generation rule, several expiration time lengths and serial numbers of the monitoring item B1 based on the energy parameter C1, the second generation rule being as follows:

[0035] S181: traversing the interruption buffer time lengths K2, K3,..., Kk according to the interruption buffer time length K1, obtaining the total number M1 of all the interruption buffer time lengths whose difference from the interruption buffer time length K1 is less than or equal to P1, and if M1 / (a-1)<P2, not doing any processing;

[0036] if M1 / (a-1)≥P2, first calculating, by using the sum average formula, the average value of the sum of all the interruption buffer time lengths whose difference from the interruption buffer time length K1 is less than or equal to P1, taking the average value as an expiration time length of the monitoring item B1 based on the energy parameter C1, P1 being a preset screening difference threshold value, and P2 being a preset proportion weight screening threshold value; and then obtaining the marking subscript of each interruption buffer time length, and selecting the marking subscript with the largest quantity as the serial number of the expiration time length;

[0037] S182: traversing the interruption buffer time lengths K2, K3,..., Kk according to the interruption buffer time lengths K2, K3,..., Kk in sequence, obtaining several expiration time lengths and serial numbers of the monitoring item B1 based on the energy parameter C1;

[0038] S19: generating the monitoring items B2, B3,...,Bb based on the several expired time lengths and serial numbers of the energy parameter C1 in sequence according to S12 to S18, and generating all the expired time lengths and serial numbers of the monitoring items B1, B2,...,Bb based on the energy parameter C1;

[0039] S110: transmitting all the expired time lengths and serial numbers of the monitoring items B1, B2,...,Bb based on the energy parameters C2, C3,...,Cc in sequence according to S11 to S19 to the memory management unit for updating and storing.

[0040] Compared with the prior art, the present application has the following beneficial effects:

[0041] The present application periodically acquires the front-end file and the back-end file of the dynamic page corresponding to the monitoring item clicked by the administrator during the administrator performing the viewing task on the target data source and loads the same during the process of loading, which triggers all the JavaScript functions in the dynamic page, and the corresponding loading data is extracted from the memory in priority during the triggering process, and the corresponding loading data is extracted from the data storage library if the same is not in the memory, and the visual webpage interface is presented to the administrator in real time after the loading is completed, so that the rate of extracting and loading data is increased, and the experience and efficiency of the administrator performing the viewing task are improved.

[0042] The present application stores the loading data extracted from the data storage library into the memory and sets the corresponding expired time length when the corresponding recorded data is not in the memory during the extraction of the same during the loading of the front-end file and the back-end file of any dynamic page, and the same is deleted once the expired time length is reached, so that the storage resources of the memory are more reasonably utilized.

[0043] The present application analyzes the viewing monitoring data of a fixed number of viewing tasks after the same is stored, determines the expired time length and the serial number of a plurality of monitoring items based on a plurality of energy parameters, and retains the loading data that still needs to be frequently called in the memory as much as possible through this way, so that the amount of loading data extracted from the memory during the loading of the dynamic webpage is more, and the loading rate of the dynamic webpage is further optimized. BRIEF DESCRIPTION OF DRAWINGS

[0044] Figure 1 The present application is a method flowchart. DETAILED DESCRIPTION

[0045] With reference to the drawings of the embodiments of the present application, the technical solutions in the embodiments of the present application will be clearly and completely described, obviously, the described embodiments are only a part of the embodiments of the present application, rather than all the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of the present application.

[0046] Please refer to Figure 1 The present application provides an energy management method based on light storage integration, which is executed by an energy management system based on light storage integration, the system comprising an energy data acquisition module, a data storage library and an energy display management module;

[0047] The energy data acquisition module is configured to acquire and transmit the energy data of the target data source to the data storage library in real time, wherein the target data source is a photovoltaic energy storage power station, the energy data refers to various data in the whole life cycle (production, transmission, conversion, consumption, storage, etc.) of energy, and the energy data includes monitoring values of a plurality of energy parameters, in the present application, the energy parameters include solar radiation, photovoltaic panel surface temperature, environmental temperature and humidity, direct current output voltage, current, power generation power, component conversion efficiency, energy storage battery terminal voltage, charge and discharge current, state of charge, health status, remaining capacity, battery pack temperature, direct current input voltage / current, alternating current output voltage / current, conversion efficiency, harmonic content power factor, response time, grid voltage, frequency, grid active / reactive power, line loss, transformer temperature, transformer ratio, real-time power consumption, cumulative power consumption, load curve, overvoltage / overcurrent threshold, battery temperature alarm threshold, insulation resistance and circuit breaker action time, etc.

[0048] The data storage library is configured to store the real-time energy data of the target data source, and the data storage library includes a plurality of data storage tables, and each data storage table stores real-time monitoring values of a plurality of energy parameters.

[0049] The energy display management module is configured to periodically display the energy data of the target data source to the management personnel, and manage the memory during the display process, the energy display management module includes an energy display unit and a memory management unit, the energy display unit includes front-end files and back-end files for displaying a plurality of dynamic web pages of the target data source, the front-end files include but are not limited to HTML files, CSS files and JavaScript files, and the back-end files include but are not limited to PHP files,.py files,.jsp files,.aspx files,.json files and database related files.

[0050] One of the dynamic web pages corresponds to one monitoring item, the monitoring item is an object that can be independently operated, monitored and managed in the energy management system, and the monitoring item includes but is not limited to basic configuration, energy monitoring, data monitoring, energy efficiency analysis, energy saving benefit, plan index and automatic meter reading;

[0051] A dynamic page includes a plurality of original objects and derivative objects, the original object refers to an object that can be obtained by only monitoring a single energy parameter, and the derivative object is an object that is generated by calculation or association of a plurality of monitoring values of at least two energy parameters;

[0052] It should be noted that for any derivative object, the plurality of monitoring values of any energy parameter of the derivative object generated by calculation are continuous in the collection time, that is, starting from a certain time point, the past is traced back;

[0053] For example, the original object is the temperature of a photovoltaic module, and only the monitoring value of the temperature of the photovoltaic module needs to be displayed; the derivative object is the power factor of a device, and the current, voltage, and phase difference of the voltage and current of the device need to be calculated; for example, the derivative object is the comprehensive energy consumption of the region in the past two hours, and the consumption of real-time power, water, and compressed air in the region in the past two hours is needed;

[0054] Each original object and derivative object included in a dynamic page is represented as a JavaScript function in the dynamic web page, and all JavaScript functions in the dynamic web page are triggered when the dynamic web page is loaded;

[0055] The JavaScript function includes at least specified pre-acquired loading data information and a function body for executing display logic, the loading data information includes a plurality of energy parameters and collection time information, and the display logic of the function body is configured to directly visualize and render the monitoring value of a single energy parameter when processing the original object; when processing the derivative object, the monitoring values of at least two energy parameters are associated and calculated according to a preset calculation rule, and the calculation result is visualized and displayed, wherein the collection time information includes a collection start time point, an interval length and a collection end time point;

[0056] Collection start time point: refers to the actual collection start time point of the monitoring value of the pre-acquired monitoring parameter, and is used to define the time range start point of data acquisition;

[0057] Interval length: represents the time interval between adjacent two acquired data, for example, set to 10 minutes, then collection is performed every 10 minutes;

[0058] Collection end time: refers to the actual collection end point of the monitoring value of the pre-acquired monitoring parameter, used to define the time range end point of data acquisition, and the monitoring value of the corresponding monitoring parameter is no longer actively collected after the time point;

[0059] The management personnel periodically performs a review task on the target data source to review the operation of the target data source. The review task is used to specify the order in which the management personnel clicks on the monitoring items corresponding to all dynamic web pages of the target data source, so as to fully understand the operation of the target data source.

[0060] It should be noted that in the web architecture, different monitoring items will be arranged in a specific order according to the layout logic of the web page.

[0061] Every interval, the management personnel performs a review task on the target data source. During the execution process, the management personnel sequentially clicks on the monitoring items corresponding to all dynamic web pages of the target data source in the order specified in the review task. Every time a monitoring item is clicked, the energy display unit acquires the front-end file and back-end file of the dynamic page corresponding to the monitoring item and loads them. After loading is completed, a visual web interface is presented to the management personnel in real time.

[0062] During the loading process, all JavaScript functions in the dynamic page will be triggered. For any triggered JavaScript function, the corresponding loading data will be extracted according to the loading data information contained in the JavaScript function according to the preset extraction rule. The extraction rule is as follows:

[0063] First, it is checked whether all monitoring values of all pre-acquired energy parameters are stored in the memory. If all monitoring values of all pre-acquired energy parameters are stored in the memory, all stored monitoring values of all pre-acquired energy parameters are first extracted from the memory and used as the loading data corresponding to the loading data information to be displayed to the management personnel by the function body in the JavaScript function.

[0064] If the memory only stores a plurality of monitoring values of a plurality of pre-acquired energy parameters, and does not store all monitoring values of all acquired energy parameters, the memory retrieves the plurality of monitoring values of the plurality of pre-acquired energy parameters, synchronously extracts all monitoring values of all energy parameters that are not retrieved in the memory from the data storage, and displays the extracted data in the memory and the data storage to the administrator by the display logic executed by the function body in the JavaScript function, wherein the all monitoring values of all energy parameters extracted from the data storage are loaded into the memory during the display process, and the corresponding expiration time is set according to the preset key value of the corresponding energy parameter according to the monitoring values of the all energy parameters loaded into the memory, and once the expiration time is reached, the corresponding all monitoring values will be automatically deleted from the memory;

[0065] If the memory does not store all monitoring values of all pre-acquired energy parameters, the data storage extracts all monitoring values of all pre-acquired energy parameters as the corresponding loading data of the loading data information, and displays the data to the administrator by the display logic executed by the function body in the JavaScript function, wherein the all monitoring values of all energy parameters extracted from the data storage are loaded into the memory during the display process, and the corresponding expiration time is set according to the preset key value of the corresponding energy parameter according to the monitoring values of the all energy parameters loaded into the memory, and once the expiration time is reached, the corresponding all monitoring values will be automatically deleted from the memory;

[0066] The memory management unit stores a plurality of expiration times and serial numbers of a plurality of energy parameters based on all monitoring items in the target data source, and once it is determined that the expiration time is reached, the corresponding data will be automatically deleted from the memory, and the serial number is used as a basis for determining the order;

[0067] The initial expiration time and serial number of all energy parameters based on a plurality of monitoring items in the target data source are preset by the administrator;

[0068] The definition of the life cycle is from the moment a monitoring item in the dynamic web page is clicked to the moment the dynamic web page is closed, wherein the "closed" state of the dynamic web page can be triggered by the behavior of clicking the next monitoring item;

[0069] The viewing analysis unit is used to analyze the viewing monitoring data after storing a fixed number of viewing tasks, and the analysis steps are as follows:

[0070] S11: acquire all the monitoring data stored in the viewing analysis unit, and sequentially mark the monitoring data as A1, A2,..., Aa in order from the first to the last according to the order in which the monitoring data is stored in the viewing analysis unit, where a≥1;

[0071] S12: sequentially mark all the monitoring items corresponding to the dynamic web pages of the target data source as B1, B2,..., Bb in order according to the order specified in the viewing task, where b≥1, and the administrator clicks the monitoring items B1, B2,..., Bb in order when performing the viewing task;

[0072] S13: mark all the energy parameters corresponding to the monitoring values in the energy data of the target data source as C1, C2,..., Cc respectively, where c≥1, and sequentially acquire the loading data D1, D2,..., Db of the dynamic web pages corresponding to the monitoring items B1, B2,..., Bb from the monitoring data A1;

[0073] S14: acquire all the extraction time points corresponding to the monitoring values of the energy parameter C1 from the loading data D1, and remove the duplicate extraction time points, sequentially mark the remaining extraction time points as E1, E2,..., Ee in order according to the order of extraction, where e≥1, and construct an ordered set G1 of the monitoring item B1 according to the extraction time points E1, E2,..., Ee, where F1={E1, E2,..., Ee}, and the extraction time points in the ordered set are farther and farther away from the current time from left to right, and the ordered sets G2, G3,..., Gb of the monitoring items B2, B3,..., Bb are constructed in the same way;

[0074] S15: generate all the special discrete sets of the monitoring items B2, B3,..., Bb relative to the monitoring item B1 according to a preset first generation rule, and the first generation rule is as follows:

[0075] S151: obtain several common sets and several discrete sets of the monitoring item B2 relative to the monitoring item B1 by taking the intersection of the ordered sets G1 and G2;

[0076] For any common set, the common set contains several extraction time points with consecutive subscripts, and any extraction time point contained in the common set exists in both the ordered sets G1 and G2, and the extraction time points in the common set are arranged from left to right, and the closer to the left, the farther from the current time;

[0077] For any discrete set, the discrete set contains several extraction time points with consecutive subscripts, and any extraction time point contained in the discrete set exists only in the ordered set G1 or G2, and the extraction time points in the discrete set are arranged from left to right, and the closer to the left, the farther from the current time.

[0078] S152: sequentially taking the intersection of the ordered sets G1 and G3, G4,..., Gb according to S151 to obtain several common sets and several discrete sets of the monitoring items B3, B4,..., Bb relative to the monitoring item B1;

[0079] S153: for any one common set of the monitoring item B2 relative to the monitoring item B1, taking the intersection of the common set and all discrete sets of the monitoring items B3, B4,..., Bb relative to the monitoring item B1 to obtain several special discrete sets of the monitoring item B2 relative to the monitoring item B1;

[0080] For a special discrete set of the monitoring item B2 relative to the monitoring item B1 obtained by taking the intersection of any one common set of the monitoring item B2 relative to the monitoring item B1 and any one discrete set of the monitoring items B3, B4,..., Bb relative to the monitoring item B1, the special discrete set contains several extraction time points with continuous marking subscripts, and any one extraction time point contained in the special discrete set only exists in the common set or the discrete set, and the extraction time points in the special discrete set are arranged from left to right, and the closer to the left, the farther from the current time;

[0081] S154: sequentially obtaining all special discrete sets of the monitoring items B3, B4,..., Bb relative to the monitoring item B1 according to S153;

[0082] S16: calculating the interruption buffer time lengths J1, J2,..., Jj of the monitoring item B1 based on the energy parameter C1 in the review monitoring data A1 according to a preset calculation rule, and the calculation rule is as follows:

[0083] S161: sequentially extracting the extraction time points arranged at the leftmost end and the rightmost end from all special discrete sets of the monitoring items B2, B3,..., Bb relative to the monitoring item B1, and then re-marking all the extraction time points obtained in the order from far to near to the current time as I1, I2,..., Ii, i=2*g, g is the total number of the special discrete sets of the monitoring items B2, B3,..., Bb relative to the monitoring item B1;

[0084] S162: based on the marking subscript of the extraction time point I1 before being re-marked, obtaining all extraction time points before the extraction time point I1 from the extraction time points E1, E2,..., Ee;

[0085] and the difference value is taken as an interrupt cache duration J1 of the monitoring item B1 based on the energy parameter C1 in the review monitoring data A1, and all the cache flag time points before the extraction time point I1 are taken as the cache flag time points of the interrupt cache duration J1 from the extraction time points E1, E2,..., Ee;

[0086] S163: based on the extraction time point I2, all the cache flag time points before the extraction time point I1 are taken as the cache flag time points of the interrupt cache duration J1 from the extraction time points E1, E2,..., Ee which do not belong to the interrupt cache duration J1 before being re-marked;

[0087] and the difference value is taken as an interrupt cache duration J1 of the monitoring item B1 based on the energy parameter C1 in the review monitoring data A1, and all the cache flag time points before the extraction time point I1 are taken as the cache flag time points of the interrupt cache duration J1 from the extraction time points E1, E2,..., Ee;

[0088] S164: the interrupt cache durations J3, J4,..., Jj of the monitoring item B1 based on the energy parameter C1 in the review monitoring data A1 are calculated in sequence according to S162 to S163, and 1≤j≤i+1;

[0089] S17: the interrupt cache durations of the monitoring item B1 based on the energy parameter C1 in the review monitoring data A2, A3,..., Aa are calculated in sequence according to S16, and all the interrupt cache durations of the monitoring item B1 based on the energy parameter C1 in the review monitoring data A1, A2,..., Aa are re-marked as K1, K2,..., Kk, and k≥1;

[0090] S18: a plurality of expiration durations and serial numbers of the monitoring item B1 based on the energy parameter C1 are generated according to a preset second generation rule, and the second generation rule is as follows:

[0091] S181: according to the interrupt cache duration K1, all the interrupt cache durations whose difference value with the interrupt cache duration K1 is less than or equal to P1 are obtained from the interrupt cache durations K2, K3,..., Kk, and if M1 / (a-1)<P2, no processing is performed;

[0092] If M1 / (a-1)≥P2, first, the sum average formula is used to calculate the average of the sum of all interrupt cache time lengths whose difference with the interrupt cache time length K1 is less than or equal to P1, and the average is taken as the expired time length of the monitoring item B1 based on the energy parameter C1, P1 is a preset screening difference threshold, and P2 is a preset proportion weight screening threshold;

[0093] Then, the mark indexes of each interrupt cache time length whose difference with the interrupt cache time length K1 is less than or equal to P1 are obtained, and the mark index with the largest quantity is selected as the serial number of the expired time length;

[0094] S182: The interrupt cache time lengths K2, K3,..., and Kk are traversed according to the interrupt cache time lengths K2, K3,..., and Kk in sequence, and the expired time lengths and serial numbers of the monitoring item B1 based on the energy parameter C1 are obtained.

[0095] S19: The expired time lengths and serial numbers of the monitoring items B2, B3,..., and Bb based on the energy parameter C1 are generated in sequence according to S12 to S18, and all the expired time lengths and serial numbers of the monitoring items B1, B2,..., and Bb based on the energy parameter C1 are transmitted to the memory management unit for update storage, and the update storage step is as follows:

[0096] After the memory management unit receives the transmitted expired time lengths and serial numbers of the monitoring items B1, B2,..., and Bb based on the energy parameter C1, the expired time lengths and serial numbers of the monitoring items B1, B2,..., and Bb based on the energy parameter C1 currently stored in the memory management unit are first deleted, and then the received expired time lengths and serial numbers of the monitoring items B1, B2,..., and Bb based on the energy parameter C1 are stored.

[0097] S110: The expired time lengths and serial numbers of the monitoring items B1, B2,..., and Bb based on the energy parameters C2, C3,..., and Cc are generated in sequence according to S11 to S19 and are transmitted to the memory management unit for update storage.

[0098] Some data in the above formula are dimensionless numerical calculations, and the contents not described in detail in the specification all belong to the prior art known to those skilled in the art.

[0099] The above embodiments are only used to illustrate the technical method of the present application and are not limiting. Although the present application is described in detail with reference to the preferred embodiments, those skilled in the art should understand that the technical method of the present application can be modified or replaced equivalently without departing from the spirit and scope of the technical method of the present application.

Claims

1. An energy management method based on light and storage integration, characterized in that, The method comprises the following steps: Step 1: Real-time collection and transmission of energy data of a target data source to a data repository, the energy data comprising monitoring values of a plurality of energy parameters; Step 2: Storage of the real-time transmitted energy data of the target data source in the data repository, the data repository comprising a plurality of data storage tables, each data storage table storing real-time monitoring values of a plurality of energy parameters; Step 3: A current inspection period manager performs an inspection task on the target data source, during which the manager clicks on all monitoring items corresponding to dynamic web pages of the target data source in the order specified in the inspection task, the energy display unit acquires the front-end file and back-end file of the dynamic page corresponding to each monitoring item and loads them, and a visual web interface is presented to the manager in real time after loading is completed, and the inspection monitoring data of the inspection task is acquired after the inspection task is completed and is transmitted to the inspection analysis unit for storage; Step 4: The inspection analysis unit analyzes the stored inspection monitoring data of a fixed number of inspection tasks to determine the expiration time and serial number of a plurality of monitoring items based on a plurality of energy parameters and transmits them to the memory management unit for updating and storage; The energy display unit comprises front-end files and back-end files of a plurality of dynamic web pages of the target data source; A dynamic page comprises a plurality of native objects and derived objects, the native object being an object that can be obtained by using only a single monitoring value of an energy parameter, and the derived object being an object that is generated by calculation or association using a plurality of monitoring values of at least two energy parameters; For any derived object, a plurality of monitoring values of any energy parameter of the derived object are generated by calculation and are continuous at the collection time; Each native object and derived object in a dynamic page is represented as a JavaScript function in the dynamic web page; The JavaScript function comprises specified pre-acquired loading data information and a function body for executing display logic, the loading data information comprising a plurality of energy parameters and their collection time information, and the display logic of the function body is configured to directly visualize the monitoring value of a single energy parameter when processing a native object, and to associate and calculate the monitoring values of at least two energy parameters according to a preset calculation rule and visualize the calculation result when processing a derived object, wherein the collection time information comprises a collection start time, an interval time, and a collection end time. 2.The energy management method based on light storage integration of claim 1, wherein, In step three, when loading the front-end file and the back-end file of the dynamic page corresponding to any one monitoring item, all JavaScript functions in the dynamic page are triggered. For any triggered JavaScript function, the loading data corresponding to the loading data information contained in the JavaScript function is extracted according to the preset extraction rule. The extraction rule is as follows: First, priority is given to searching the memory for whether all monitoring values corresponding to all pre-acquired energy parameters are stored. If all monitoring values corresponding to all pre-acquired energy parameters are found to be stored in the memory, the stored all monitoring values corresponding to all pre-acquired energy parameters are extracted from the memory and displayed to the manager by the function body in the JavaScript function according to the display logic. If only some monitoring values corresponding to some pre-acquired energy parameters are found to be stored in the memory, and all monitoring values corresponding to all acquired energy parameters are not stored in the memory, the some monitoring values corresponding to the some pre-acquired energy parameters are extracted from the memory, and all monitoring values corresponding to all energy parameters that are not found in the memory are extracted from the data storage library. The data extracted from the memory and the data storage library are respectively displayed to the manager by the function body in the JavaScript function according to the display logic. During the display process, the all monitoring values corresponding to all energy parameters extracted from the data storage library are loaded into the memory for storage. If all monitoring values corresponding to all pre-acquired energy parameters are not found to be stored in the memory, all monitoring values corresponding to all pre-acquired energy parameters are extracted from the data storage library and displayed to the manager by the function body in the JavaScript function according to the display logic. During the display process, the all monitoring values corresponding to all energy parameters extracted from the data storage library are loaded into the memory for storage. During the loading process, according to the all monitoring values of the energy parameters loaded, the corresponding expiration time is set according to the preset key value of the corresponding energy parameter. Once the expiration time is reached, the corresponding all monitoring values will be automatically deleted from the memory. 3.The energy management method based on light storage integration of claim 1, wherein, In step four, the steps of analyzing and determining the expiration time and serial number of the several monitoring items based on the several energy parameters are as follows: S11: all monitoring data stored in the viewing analysis unit is obtained, and the all monitoring data is sequentially marked as A1, A2,..., Aa from front to back according to the order in which each monitoring data is stored in the viewing analysis unit, and a≥1. S12: Mark all monitoring items corresponding to the dynamic web pages of the target data source as B1, B2,..., Bb in order according to the order specified in the inspection task, and click the monitoring items B1, B2,..., Bb in order when the management personnel performs the inspection task; S13: Mark all monitoring values corresponding to the energy parameters of the target data source as C1, C2,..., Cc, c≥1, and obtain the loading data D1, D2,..., Db of the dynamic web pages corresponding to the monitoring items B1, B2,..., Bb from the inspection monitoring data A1 in order; S14: Obtain all extraction time points corresponding to the monitoring values of the energy parameter C1 from the loading data D1 and remove the duplicates, mark the remaining extraction time points as E1, E2,..., Ee in order according to the order of extraction, e≥1, and construct an ordered set G1 of the monitoring item B1 according to the extraction time points, wherein the extraction time points are farther and farther away from the current time from left to right in the ordered set, and similarly, construct ordered sets G2, G3,..., Gb of the monitoring items B2, B3,..., Bb in order; S15: Generate all special discrete sets of the monitoring items B2, B3,..., Bb relative to the monitoring item B1 according to a preset first generation rule, and the first generation rule is as follows: S151: Take the intersection of the ordered sets G1 and G2 to obtain several common sets and several discrete sets of the monitoring item B2 relative to the monitoring item B1; S152: Take the intersection of the ordered sets G1 and G3, G4,..., Gb in order according to S151 to obtain several common sets and several discrete sets of the monitoring items B3, B4,..., Bb relative to the monitoring item B1; S153: For any one common set of the monitoring item B2 relative to the monitoring item B1, take the intersection of the common set and all discrete sets of the monitoring items B3, B4,..., Bb relative to the monitoring item B1 to obtain several special discrete sets of the monitoring item B2 relative to the monitoring item B1; For any one common set of the monitoring item B2 relative to the monitoring item B1 and any one discrete set of the monitoring items B3, B4,..., Bb relative to the monitoring item B1, take the intersection to obtain a special discrete set of the monitoring item B2 relative to the monitoring item B1; S154: Obtain several special discrete sets of the monitoring items B3, B4,..., Bb relative to the monitoring item B1 in order according to S153, S16: Calculate the interruption buffer time lengths J1, J2,..., Jj of the monitoring item B1 based on the energy parameter C1 in the inspection monitoring data A1 according to a preset calculation rule; S17: Calculate the interruption buffer time lengths of the monitoring item B1 based on the energy parameter C1 in the inspection monitoring data A2, A3,..., Aa in order according to S16, and re-mark all the interruption buffer time lengths of the monitoring item B1 based on the energy parameter C1 in the inspection monitoring data A1, A2,..., Aa as K1, K2,..., Kk, k≥1. S18: generating the several expired time lengths and the serial number of the monitoring item B1 based on the energy parameter C1 according to a preset second generation rule, the second generation rule being as follows: S181: traversing the interrupt cache time lengths K2, K3,..., Kk according to the interrupt cache time length K1, obtaining the total number M1 of all interrupt cache time lengths whose difference with the interrupt cache time length K1 is less than or equal to P1, if M1 / (a-1) < P2, not doing any processing; if M1 / (a-1) ≥ P2, first calculating the average value of the sum of all interrupt cache time lengths whose difference with the interrupt cache time length K1 is less than or equal to P1 by using the sum average formula, taking the average value as an expired time length of the monitoring item B1 based on the energy parameter C1, P1 being a preset screening difference threshold, P2 being a preset proportion weight screening threshold; then obtaining the mark index of each interrupt cache time length whose difference with the interrupt cache time length K1 is less than or equal to P1, selecting the mark index with the largest number as the serial number of the expired time length; S182: traversing the interrupt cache time lengths K2, K3,..., Kk according to the interrupt cache time lengths K2, K3,..., Kk in sequence, obtaining the several expired time lengths and the serial number of the monitoring item B1 based on the energy parameter C1; S19: generating the several expired time lengths and the serial number of the monitoring items B2, B3,..., Bb based on the energy parameter C1 according to S12 to S18 in sequence, obtaining all the expired time lengths and the serial number of the monitoring items B1, B2,..., Bb based on the energy parameter C1; S110: generating all the expired time lengths and the serial number of the monitoring items B1, B2,..., Bb based on the energy parameters C2, C3,..., Cc according to S11 to S19 in sequence, and transmitting the expired time lengths and the serial number to the memory management unit for updating and storing. 4.The energy management method based on light storage integration of claim 3, wherein, In S151, for any one common set, the common set contains several mark index continuous extraction time points, and any one extraction time point contained in the common set exists in the ordered sets G1 and G2, the extraction time points in the common set are arranged from left to right in sequence, and the closer to the left, the farther from the current time; for any one discrete set, the common set contains several mark index continuous extraction time points, and any one extraction time point contained in the discrete set exists only in the ordered set G1 or G2, the extraction time points in the discrete set are arranged from left to right in sequence, and the closer to the left, the farther from the current time. 5.The energy management method based on light storage integration of claim 3, wherein, In S153, the special discrete set contains several mark index continuous extraction time points, and any one extraction time point contained in the special discrete set exists only in the common set or the discrete set, the extraction time points in the special discrete set are arranged from left to right in sequence, and the closer to the left, the farther from the current time. 6.The energy management method based on light storage integration of claim 3, wherein, In S16, the calculation rule of the interrupt cache time lengths J1, J2,..., Jj is as follows: S161: Extract the extraction time points arranged at the leftmost end and the rightmost end from all the special discrete sets of monitoring item B2, B3,..., Bb relative to monitoring item B1 in turn, and then re-label the obtained all extraction time points in turn as I1, I2,..., Ii, i=2*g, g is the total number of the special discrete sets of monitoring item B2, B3,..., Bb relative to monitoring item B1; S162: Based on the label subscript of extraction time I1 before being re-labeled under the label of extraction time E1, E2,..., Ee, obtain all extraction time points before extraction time I1 from extraction time E1, E2,..., Ee; and extract the two extraction time points farthest and closest to the current time from the obtained all extraction time points and calculate the difference value, which is taken as the interruption buffer duration J1 of monitoring item B1 based on energy parameter C1 in the review monitoring data A1, and all the extraction time points obtained from extraction time E1, E2,..., Ee before the label subscript of extraction time I1 are taken as the cache label time of the interruption buffer duration J1; S163: Based on the label subscript of extraction time I2 before being re-labeled under the label of extraction time E1, E2,..., Ee, obtain all the cache label time points before extraction time I1 from extraction time E1, E2,..., Ee which do not belong to the interruption buffer duration J1; Extract the two cache label time points farthest and closest to the current time from the obtained all cache label time points and calculate the difference value, which is taken as the interruption buffer duration J2 of monitoring item B1 based on energy parameter C1 in the review monitoring data A1; S164: Calculate the interruption buffer durations J3, J4,..., Jj, 1≤j≤i+1 of monitoring item B1 based on energy parameter C1 in the review monitoring data A1 in turn according to S162 to S163.

Citation Information

Patent Citations

  • Rule processing method and apparatus and data citing method

    CN101014062A

  • Internet of Things data platform based on big data and AI

    CN111787066A