A method, device, equipment and storage medium for controlling power material demand
By combining historical and framework prediction catalogs, screening matching target catalogs and determining power material demands, the problems of inaccurate demand prediction and cumbersome comparison calculations in the power industry are solved, and more efficient prediction and saving labor costs are achieved.
Patent Information
- Application Number
- CN202111191016.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-10-13
- Publication Date
- 2025-01-10
- Estimated Expiration
- 2041-10-13
AI Technical Summary
In the power industry, there is a lack of reference basis for demand forecasting, which leads to the mismatch between the predicted material catalog and the actual material catalog. The manual comparison and calculation are cumbersome, time-consuming and error-prone when the framework takes effect.
By obtaining the historical demand catalog and the framework prediction catalog, filtering the matching target catalog, determining the historical reference demand for power supplies, predicting demand in combination with the annual investment plan, and comparing the predicted demand with the demand quota to ensure that the predicted demand is reported within the quota.
Improve prediction accuracy, save labor costs, simplify the comparison process, improve efficiency, and reduce error occurrence.
Smart Images

Figure CN113919570B_ABST
Abstract
Description
Technical Field
[0001] Embodiments of the present invention relate to the technical field of material control, and in particular, to a method, device, equipment and storage medium for controlling power material demand. Background Art
[0002] In the power industry, a large amount of power materials need to be purchased every year, including electrical machinery and equipment, instruments and meters, etc., involving a wide range of materials. Improving the accuracy of demand forecasts and strengthening the monitoring of deviations in the implementation of framework agreements are effective guarantees for ensuring the timely supply of project materials.
[0003] The entire management and control process involves two parts: demand forecasting before bidding and accuracy decomposition and tracking during the bidding period. There are two problems that need to be solved urgently: first, there is no basis for reference when forecasting demand, and the predicted material catalog does not completely match the actual material catalog; second, when the framework takes effect, the forecast and procurement volume of each bid are manually compared and calculated, the data is complicated, the process is cumbersome, time-consuming, and prone to errors. Summary of the invention
[0004] The present invention provides a method, device, equipment and storage medium for controlling power material demand, so as to improve the matching degree between the predicted material catalog and the actual material catalog, that is, to improve the prediction accuracy, save labor costs and improve efficiency.
[0005] In a first aspect, an embodiment of the present invention provides a method for controlling power material demand, including:
[0006] Obtain historical demand catalogs and framework forecast catalogs;
[0007] Determining the forecast demand for each power material based on the historical demand catalog and the framework forecast catalog;
[0008] Comparing the predicted demand for the electric power materials with the demand amount;
[0009] When the predicted demand does not exceed the demand amount, the predicted demand is reported.
[0010] Optionally, determining the forecast demand for each power material based on the historical demand catalog and the framework forecast catalog includes:
[0011] Filtering out a target catalog that matches the framework prediction catalog from the historical demand catalog;
[0012] Determine the historical reference demand for each power material in the target catalog;
[0013] The power material demand is determined based on the annual investment plan and the historical reference demand.
[0014] Optionally, selecting a target catalog matching the framework prediction catalog from the historical demand catalog includes:
[0015] Searching the historical demand catalog for a first matching field that is continuous and identical to the framework prediction catalog;
[0016] The historical demand directory corresponding to the longest first matching field is used as the first directory;
[0017] Searching the historical demand catalog for a second matching field that is identical to the framework prediction catalog;
[0018] The historical demand directory corresponding to the largest number of the second matching fields is used as the second directory;
[0019] A directory whose matching degree with the framework prediction directory is greater than a preset matching degree threshold is determined from the first directory and the second directory as a target directory.
[0020] Optionally, searching the historical demand catalog for a first matching field that is continuous and identical to the framework prediction catalog includes:
[0021] A match algorithm is used to search the historical demand catalog for a first matching field that is continuous and identical to the framework prediction catalog.
[0022] Optionally, searching the historical demand catalog for a second matching field that is identical to the framework prediction catalog includes:
[0023] The max-match algorithm is used to search the historical demand catalog for a second matching field that is identical to the framework prediction catalog.
[0024] Optionally, determining a directory from the first directory and the second directory, whose matching degree with the framework prediction directory is greater than a preset matching degree threshold, as a target directory, includes:
[0025] Calculate the ratio of the first matching field in the first catalog to all fields in the framework prediction catalog to obtain a first matching ratio;
[0026] Calculate the ratio of the second matching field in the second catalog to all fields in the framework prediction catalog to obtain a second matching ratio;
[0027] The directory corresponding to the ratio of the first matching ratio and the second matching ratio that is greater than a preset ratio threshold is used as the target directory.
[0028] Optionally, determining the historical reference demand for each power material in the target catalog includes:
[0029] The historical reference demand for each electric power material is determined based on the manually selected demand interval and the historical demand interval in the target catalog.
[0030] In a second aspect, an embodiment of the present invention further provides a power material demand control device, comprising:
[0031] Catalog acquisition module, used to obtain historical demand catalog and framework forecast catalog;
[0032] A demand forecasting module, used to determine the forecast demand of each power material based on the historical demand catalog and the framework forecast catalog;
[0033] A comparison module, used to compare the predicted demand for the electric power materials with the demand quota;
[0034] A reporting module is used to report the predicted demand when the predicted demand does not exceed the demand amount.
[0035] Optionally, the demand forecasting module includes:
[0036] A screening submodule, used to screen out a target catalog matching the framework prediction catalog from the historical demand catalog;
[0037] A historical reference demand determination submodule, used to determine the historical reference demand of each power material in the target catalog;
[0038] The power material demand determination submodule is used to determine the power material demand based on the annual investment plan and the historical reference demand.
[0039] Optionally, the screening submodules include:
[0040] A first search unit, configured to search the historical demand catalog for a first matching field that is continuous and identical to the framework prediction catalog;
[0041] A first directory determining unit, configured to use the historical demand directory corresponding to the longest first matching field as a first directory;
[0042] A second search unit, configured to search the historical demand catalog for a second matching field that is identical to the framework prediction catalog;
[0043] A second catalog determining unit, configured to use the historical demand catalog corresponding to the largest number of the second matching fields as the second catalog;
[0044] A target directory determining unit is used to determine, from the first directory and the second directory, a directory whose matching degree with the framework prediction directory is greater than a preset matching degree threshold as a target directory.
[0045] Optionally, the first searching unit includes:
[0046] The first search subunit is used to use a match algorithm to search the historical demand catalog for a first matching field that is continuous and identical to the framework prediction catalog.
[0047] Optionally, the second search unit includes:
[0048] The second search subunit is used to use the max-match algorithm to search the historical demand catalog for a second matching field that is the same as the framework prediction catalog.
[0049] Optionally, the target directory determination unit includes:
[0050] A first calculation subunit is used to calculate the ratio of the first matching field in the first directory to all fields in the framework prediction directory to obtain a first matching ratio;
[0051] A second calculation subunit is used to calculate the ratio of the second matching field in the second catalog to all fields in the framework prediction catalog to obtain a second matching ratio;
[0052] The target directory determination subunit is used to take the directory corresponding to the ratio of the first matching ratio and the second matching ratio that is greater than a preset ratio threshold as the target directory.
[0053] Optionally, the historical reference demand determination submodule includes:
[0054] The historical reference demand determination unit is used to determine the historical reference demand of each power material based on the manually selected demand interval and the historical demand interval in the target catalog.
[0055] In a third aspect, an embodiment of the present invention further provides a computer device, including:
[0056] one or more processors;
[0057] A storage device for storing one or more programs;
[0058] When the one or more programs are executed by the one or more processors, the one or more processors implement the power material demand management and control method provided in the first aspect of the present invention.
[0059] In a fourth aspect, an embodiment of the present invention further provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the method for controlling power material demand as provided in the first aspect of the present invention.
[0060] The method for controlling the demand for electric power materials provided in the embodiment of the present invention includes: obtaining a historical demand catalog and a framework forecast catalog, determining the forecast demand for each electric power material based on the historical demand catalog and the framework forecast catalog, comparing the forecast demand for the electric power material with the demand quota, and reporting the forecast demand when the forecast demand does not exceed the demand quota. The forecast demand for each electric power material for the current year is predicted by combining the historical demand catalog and the framework forecast catalog. The historical demand catalog and the framework forecast catalog provide an important reference for material forecasting, which improves the matching degree between the forecasted material catalog and the actual material catalog, that is, improves the forecast accuracy. In addition, there is no need to manually compare and calculate the forecast and purchase volume of each target, which saves labor costs and improves efficiency. BRIEF DESCRIPTION OF THE DRAWINGS
[0061] Figure 1 A flowchart of a method for controlling power material demand provided in Embodiment 1 of the present invention;
[0062] Figure 2 A flowchart of a method for controlling power material demand provided in Embodiment 2 of the present invention;
[0063] Figure 3 A schematic diagram of the structure of a power material demand control device provided in Embodiment 3 of the present invention;
[0064] Figure 4 A schematic diagram of the structure of a computer device provided in Embodiment 4 of the present invention. DETAILED DESCRIPTION
[0065] The present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments. It is to be understood that the specific embodiments described herein are only used to explain the present invention, rather than to limit the present invention. It should also be noted that, for ease of description, only parts related to the present invention, rather than all structures, are shown in the accompanying drawings.
[0066] Embodiment 1
[0067] Figure 1 This is a flow chart of a method for controlling the demand for electric power materials provided in the first embodiment of the present invention. This embodiment is applicable to the situation of managing the demand for electric power materials. The method can be executed by the electric power material demand control device provided in the embodiment of the present invention. The device can be implemented by software and / or hardware, and is usually configured in a computer device, such as Figure 1 As shown, the method specifically comprises the following steps:
[0068] S101. Obtain a historical demand catalog and a framework forecast catalog.
[0069] In an embodiment of the present invention, the historical demand catalog may include a catalog of power material demand for multiple years before the current year, for example, a catalog of power material demand for the previous 5 or 10 years, and the power material demand catalog includes a list of various materials required, including material names, required quantities, etc. The framework forecast catalog is a catalog of power material demand for this year predicted based on a purchasing framework agreement. Specifically, when many small repetitive transactions establish long-term contracts, a special contract mechanism is required to cover this relationship and the needs of individual transactions, which is called a purchasing framework agreement. Simply put, it means that the contract operates as a framework for each individual transaction over a certain period of time.
[0070] S102. Determine the forecast demand for each power material based on the historical demand catalog and the framework forecast catalog.
[0071] Exemplarily, in an embodiment of the present invention, a target catalog that matches the framework forecast catalog is screened out from the historical demand catalog, thereby determining the historical reference demand for each power material in the target catalog based on the material demand of the target catalog. Then, the forecast demand for each power material is determined by combining the historical reference demand for each power material and the investment plans for this year and last year.
[0072] The embodiment of the present invention combines the historical demand catalog and the framework forecast catalog to predict the forecast demand of various power materials in this year. The historical demand catalog and the framework forecast catalog provide important references for material forecasting, improve the matching degree between the predicted material catalog and the actual material catalog, that is, improve the forecast accuracy.
[0073] S103. Compare the predicted demand for electric power materials with the demand quota.
[0074] In an embodiment of the present invention, the predicted demand for electric power materials obtained above is compared with the preset demand quota for this year.
[0075] S104. When the predicted demand does not exceed the demand amount, report the predicted demand.
[0076] For example, when the forecast demand does not exceed the preset demand quota for the current year, the forecast demand will be reported to each purchasing department. When the forecast demand exceeds the preset demand quota for the current year, an excess alarm will be sent to the relevant staff. Specifically, the excess alarm is transmitted to the smart terminal of each person in charge through wireless network communication technology, and the relevant staff can also view the accuracy of the real-time material demand plan through the mobile phone, which is convenient for the staff to extract, make declaration plans, quickly handle office work, and arrange follow-up work.
[0077] The method for controlling the demand for electric power materials provided in the embodiment of the present invention includes: obtaining a historical demand catalog and a framework forecast catalog, determining the forecast demand for each electric power material based on the historical demand catalog and the framework forecast catalog, comparing the forecast demand for the electric power material with the demand quota, and reporting the forecast demand when the forecast demand does not exceed the demand quota. The forecast demand for each electric power material for the current year is predicted by combining the historical demand catalog and the framework forecast catalog. The historical demand catalog and the framework forecast catalog provide an important reference for material forecasting, which improves the matching degree between the forecasted material catalog and the actual material catalog, that is, improves the forecast accuracy. In addition, there is no need to manually compare and calculate the forecast and purchase volume of each target, which saves labor costs and improves efficiency.
[0078] Embodiment 2
[0079] Figure 2 This is a flowchart of a method for controlling power material demand provided in Embodiment 2 of the present invention. Based on Embodiment 1 above, this embodiment describes in detail the detailed process of each step in the above embodiment, such as Figure 2 As shown, the method includes:
[0080] S201. Obtain a historical demand catalog and a framework forecast catalog.
[0081] In an embodiment of the present invention, the historical demand catalog may include a catalog of power material demand for multiple years before the current year, for example, a catalog of power material demand for the previous 5 or 10 years. The framework forecast catalog is a catalog of power material demand for this year predicted according to the procurement framework agreement.
[0082] S202. Filter out a target directory that matches the framework prediction directory from the historical demand directory.
[0083] Exemplarily, in an embodiment of the present invention, a fuzzy matching algorithm is used to filter out a target catalog that matches the framework prediction catalog from multiple historical demand catalogs. Exemplarily, step S202 includes the following sub-steps:
[0084] 1. Find the first matching field from the historical demand catalog that is continuous and identical to the framework forecast catalog.
[0085] Exemplarily, a match algorithm is used to search for the first matching field that is continuous and identical with the framework prediction directory from the historical demand directory. That is, starting from the first word of the framework prediction directory, the first word of the historical demand directory is compared, and the same field is compared word by word in a double loop until there is a difference in one word in the field. This method loops to find the longest continuous identical field. In this way, the continuous and identical first matching field in each historical demand directory and the framework prediction directory is obtained.
[0086] It should be noted that the above embodiment uses the match algorithm as an example to exemplify the embodiment of the present invention. Other matching algorithms may also be used in other embodiments of the present invention, and the embodiments of the present invention will not be described in detail here.
[0087] 2. The historical demand directory corresponding to the longest first matching field is used as the first directory.
[0088] Exemplarily, the longest first matching field is found from the first matching fields, and the historical demand directory corresponding to the longest first matching field is used as the first directory.
[0089] 3. Search the historical demand catalog for the second matching field that is the same as the framework forecast catalog.
[0090] Exemplarily, the max-match algorithm is used to search the historical demand directory for the second matching field that is the same as the framework prediction directory. Specifically, the traversal starts from the first word of the historical demand directory and the framework prediction directory. If the two have the same word, the word is added to the matching array. This method finds all the same fields in the historical demand directory and the framework prediction directory, regardless of whether the fields are continuous. In this way, the same second matching fields in each historical demand directory and the framework prediction directory are obtained.
[0091] It should be noted that the above embodiment uses the max match algorithm as an example to exemplify the embodiment of the present invention. Other matching algorithms may also be used in other embodiments of the present invention, and the embodiments of the present invention will not be described in detail here.
[0092] 4. The historical demand directory corresponding to the second most matching fields is used as the second directory.
[0093] Exemplarily, a second matching field with the most fields is found from the second matching fields, and the historical demand directory corresponding to the second matching field with the most fields is used as the second directory.
[0094] 5. Determine from the first directory and the second directory a directory whose matching degree with the framework prediction directory is greater than a preset matching degree threshold as the target directory.
[0095] In the embodiment of the present invention, the matching degree between the first directory and the framework prediction directory, and the matching degree between the second directory and the framework prediction directory are calculated respectively, and the directory with a matching degree greater than a preset matching degree threshold is used as the target directory. Exemplarily, this step includes the following process:
[0096] 5.1. Calculate the ratio of the first matching field in the first directory to all fields in the framework prediction directory to obtain the first matching ratio.
[0097] In an embodiment of the present invention, the ratio of the first matching field in the first directory to all the fields in the framework prediction directory is calculated to obtain a first matching ratio. It should be noted that in other embodiments of the present invention, the ratio of the same fields in the first directory and the framework prediction directory to all the fields in the framework prediction directory may also be calculated as the first matching ratio, which is not limited in the embodiment of the present invention.
[0098] 5.2. Calculate the ratio of the second matching field in the second directory to all fields in the framework prediction directory to obtain the second matching ratio.
[0099] In the embodiment of the present invention, the ratio of the second matching field in the second directory to all the fields in the framework prediction directory is calculated to obtain a second matching ratio.
[0100] 5.3. The directory corresponding to the ratio of the first matching ratio and the second matching ratio that is greater than a preset ratio threshold is taken as the target directory.
[0101] In the embodiment of the present invention, the obtained first matching ratio and second matching ratio are compared with a preset ratio threshold, and the directory corresponding to the first matching ratio and / or the second matching ratio greater than the preset ratio threshold is taken as the target directory.
[0102] In the embodiment of the present invention, a threshold value of the ratio of the two matches can be determined in advance through a large amount of actual training in the context of directories with different field lengths.
[0103] S203. Determine the historical reference demand for each power material in the target catalog.
[0104] In an embodiment of the present invention, the target catalog records the historical recommended intervals of demand for each material, and the historical reference demand for each power material is determined based on the manually selected demand interval after manual correction and the historical demand interval in the target catalog.
[0105] S204. Determine the demand for power materials based on the annual investment plan and historical reference demand.
[0106] After obtaining the historical reference demand, the power material demand is determined based on the annual investment plan and the historical reference demand. For example, if this year's annual investment plan is twice the annual investment plan of the previous year, the historical reference demand needs to be multiplied by 2 to obtain the power material demand for this year.
[0107] S205. Compare the predicted demand for electric power materials with the demand quota.
[0108] In an embodiment of the present invention, the predicted demand for electric power materials obtained above is compared with the preset demand quota for this year.
[0109] S206. When the predicted demand does not exceed the demand amount, report the predicted demand.
[0110] For example, when the forecast demand does not exceed the preset demand quota for the current year, the forecast demand will be reported to each purchasing department. When the forecast demand exceeds the preset demand quota for the current year, an excess alarm will be sent to the relevant staff. Specifically, the excess alarm is transmitted to the smart terminal of each person in charge through wireless network communication technology, and the relevant staff can also view the accuracy of the real-time material demand plan through the mobile phone, which is convenient for the staff to extract, make declaration plans, quickly handle office work, and arrange follow-up work.
[0111] The power material demand control method provided by the embodiment of the present invention combines the historical demand catalog with the framework forecast catalog to predict the forecast demand of each power material in this year. The historical demand catalog and the framework forecast catalog provide important references for material forecasting, which improves the matching degree between the predicted material catalog and the actual material catalog, that is, improves the forecast accuracy. In addition, there is no need to manually compare and calculate the forecast and purchase volume of each target, which saves labor costs and improves efficiency. A fuzzy matching algorithm is used to screen out target catalogs that match the framework forecast catalog from multiple historical demand catalogs, thereby improving the forecast accuracy.
[0112] Embodiment 3
[0113] Figure 3 A schematic diagram of the structure of a power material demand control device provided in Embodiment 3 of the present invention, such as Figure 3 As shown, the device comprises:
[0114] Catalog acquisition module 301, used to acquire historical demand catalog and framework prediction catalog;
[0115] A demand forecasting module 302, for determining the forecast demand of each power material based on the historical demand catalog and the framework forecast catalog;
[0116] A comparison module 303 is used to compare the predicted demand for the electric power material with the demand quota;
[0117] The reporting module 304 is used to report the predicted demand when the predicted demand does not exceed the demand amount.
[0118] In some embodiments of the present invention, the demand forecasting module 302 includes:
[0119] A screening submodule, used to screen out a target catalog matching the framework prediction catalog from the historical demand catalog;
[0120] A historical reference demand determination submodule, used to determine the historical reference demand of each power material in the target catalog;
[0121] The power material demand determination submodule is used to determine the power material demand based on the annual investment plan and the historical reference demand.
[0122] In some embodiments of the present invention, the screening submodule includes:
[0123] A first search unit, configured to search the historical demand catalog for a first matching field that is continuous and identical to the framework prediction catalog;
[0124] A first directory determining unit, configured to use the historical demand directory corresponding to the longest first matching field as a first directory;
[0125] A second search unit, configured to search the historical demand catalog for a second matching field that is identical to the framework prediction catalog;
[0126] A second catalog determining unit, configured to use the historical demand catalog corresponding to the largest number of the second matching fields as the second catalog;
[0127] A target directory determining unit is used to determine, from the first directory and the second directory, a directory whose matching degree with the framework prediction directory is greater than a preset matching degree threshold as a target directory.
[0128] In some embodiments of the present invention, the first search unit includes:
[0129] The first search subunit is used to use a match algorithm to search the historical demand catalog for a first matching field that is continuous and identical to the framework prediction catalog.
[0130] In some embodiments of the present invention, the second search unit includes:
[0131] The second search subunit is used to use the max-match algorithm to search the historical demand catalog for a second matching field that is the same as the framework prediction catalog.
[0132] In some embodiments of the present invention, the target directory determination unit includes:
[0133] A first calculation subunit is used to calculate the ratio of the first matching field in the first directory to all fields in the framework prediction directory to obtain a first matching ratio;
[0134] A second calculation subunit is used to calculate the ratio of the second matching field in the second catalog to all fields in the framework prediction catalog to obtain a second matching ratio;
[0135] The target directory determination subunit is used to take the directory corresponding to the ratio of the first matching ratio and the second matching ratio that is greater than a preset ratio threshold as the target directory.
[0136] In some embodiments of the present invention, the historical reference demand determination submodule includes:
[0137] The historical reference demand determination unit is used to determine the historical reference demand of each power material based on the manually selected demand interval and the historical demand interval in the target catalog.
[0138] The above-mentioned power material demand control device can execute the power material demand control method provided by any embodiment of the present invention, and has corresponding functional modules and beneficial effects for executing the power material demand control method.
[0139] Embodiment 4
[0140] A fourth embodiment of the present invention provides a computer device, Figure 4 A schematic diagram of the structure of a computer device provided in Embodiment 4 of the present invention is shown in FIG. Figure 4 As shown, the computer device includes:
[0141] Processor 401, memory 402, communication module 403, input device 404 and output device 405; the number of processors 401 in the computer device can be one or more. Figure 4 A processor 401 is taken as an example; the processor 401, memory 402, communication module 403, input device 404 and output device 405 in the computer device can be connected by a bus or other means. Figure 4 The above processor 401, memory 402, communication module 403, input device 404 and output device 405 may be integrated in a computer device.
[0142] The memory 402 is a computer-readable storage medium that can be used to store software programs, computer executable programs and modules, such as the module corresponding to the power material demand control method in the above embodiment. The processor 401 executes various functional applications and data processing of the computer device by running the software programs, instructions and modules stored in the memory 402, that is, realizing the above power material demand control method.
[0143] The memory 402 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system and at least one application required for a function; the data storage area may store data created according to the use of the microcomputer, etc. In addition, the memory 402 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other non-volatile solid-state storage device. In some instances, the memory 402 may further include a memory remotely arranged relative to the processor 401, and these remote memories may be connected to the computer device via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.
[0144] The communication module 403 is used to establish a connection with an external device (such as a smart terminal) and realize data interaction with the external device. The input device 404 can be used to receive input digital or character information and generate key signal input related to user settings and function control of the computer device.
[0145] The computer device provided in this embodiment can execute the power material demand management and control method provided in any of the above embodiments of the present invention, and has corresponding functions and beneficial effects.
[0146] Embodiment 5
[0147] Embodiment 5 of the present invention provides a storage medium containing computer executable instructions, on which a computer program is stored. When the program is executed by a processor, the method for controlling the demand for electric power materials provided in any of the above embodiments of the present invention is implemented. The method includes:
[0148] Obtain historical demand catalogs and framework forecast catalogs;
[0149] Determining the forecast demand for each power material based on the historical demand catalog and the framework forecast catalog;
[0150] Comparing the predicted demand for the electric power materials with the demand amount;
[0151] When the predicted demand does not exceed the demand amount, the predicted demand is reported.
[0152] It should be noted that, for the device, computer equipment and storage medium embodiments, since they are basically similar to the method embodiments, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiments.
[0153] Through the above description of the implementation method, the technicians in the relevant field can clearly understand that the present invention can be implemented by means of software and necessary general hardware, and of course it can also be implemented by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of the present invention, in essence or the part that contributes to the prior art, can be embodied in the form of a software product, and the computer software product can be stored in a computer-readable storage medium, such as a computer floppy disk, read-only memory (ROM), random access memory (RAM), flash memory (FLASH), hard disk or optical disk, etc., including a number of instructions for a computer device (which can be a robot, a personal computer, a server, or a network device, etc.) to execute the power material demand control method described in any embodiment of the present invention.
[0154] It is worth noting that in the above-mentioned device, the various modules, sub-modules and units included are only divided according to functional logic, but are not limited to the above-mentioned division, as long as the corresponding functions can be achieved; in addition, the specific names of the functional modules are only for the convenience of distinguishing each other, and are not used to limit the scope of protection of the present invention.
[0155] It should be understood that the various parts of the present invention can be implemented by hardware, software, firmware or a combination thereof. In the above-mentioned embodiments, a plurality of steps or methods can be implemented by software or firmware stored in a memory and executed by a suitable instruction execution device. For example, if implemented by hardware, as in another embodiment, it can be implemented by any one of the following technologies known in the art or their combination: a discrete logic circuit having a logic gate circuit for implementing a logic function for a data signal, a dedicated integrated circuit having a suitable combination of logic gate circuits, a programmable gate array (PGA), a field programmable gate array (FPGA), etc.
[0156] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "examples", "specific examples", or "some examples" means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present invention. In this specification, the schematic representation of the above terms does not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner.
[0157] Note that the above are only preferred embodiments of the present invention and the technical principles used. Those skilled in the art will understand that the present invention is not limited to the specific embodiments described herein, and that various obvious changes, readjustments and substitutions can be made by those skilled in the art without departing from the scope of protection of the present invention. Therefore, although the present invention has been described in more detail through the above embodiments, the present invention is not limited to the above embodiments, and may include more other equivalent embodiments without departing from the concept of the present invention, and the scope of the present invention is determined by the scope of the appended claims.
Claims
1. A method for controlling power material demand, characterized in that: include: Obtain historical demand catalogs and framework forecast catalogs; Determining the forecast demand for each power material based on the historical demand catalog and the framework forecast catalog; Comparing the predicted demand for the electric power materials with the demand amount; When the predicted demand does not exceed the demand amount, reporting the predicted demand; Wherein, determining the forecast demand of each power material based on the historical demand catalog and the framework forecast catalog includes: Filtering out a target catalog that matches the framework prediction catalog from the historical demand catalog; Determine the historical reference demand for each power material in the target catalog; Determine the demand for power materials based on the annual investment plan and the historical reference demand; The step of selecting a target catalog that matches the framework prediction catalog from the historical demand catalog includes: Searching the historical demand catalog for a first matching field that is continuous and identical to the framework prediction catalog; The historical demand directory corresponding to the longest first matching field is used as the first directory; Searching the historical demand catalog for a second matching field that is identical to the framework prediction catalog; The historical demand directory corresponding to the largest number of the second matching fields is used as the second directory; Determine, from the first directory and the second directory, a directory whose matching degree with the framework prediction directory is greater than a preset matching degree threshold as a target directory; The searching, from the historical demand catalog, for a first matching field that is continuous and identical to the framework prediction catalog comprises: Using a match algorithm to search the historical demand catalog for a first matching field that is continuous and identical to the framework prediction catalog; The searching the historical demand catalog for a second matching field identical to the framework prediction catalog comprises: The max-match algorithm is used to search the historical demand catalog for a second matching field that is identical to the framework prediction catalog.
2. The method for controlling power material demand according to claim 1, characterized in that: Determining a directory from the first directory and the second directory, whose matching degree with the framework prediction directory is greater than a preset matching degree threshold, as a target directory, includes: Calculate the ratio of the first matching field in the first catalog to all fields in the framework prediction catalog to obtain a first matching ratio; Calculate the ratio of the second matching field in the second catalog to all fields in the framework prediction catalog to obtain a second matching ratio; The directory corresponding to the ratio of the first matching ratio and the second matching ratio that is greater than a preset ratio threshold is used as the target directory.
3. The method for controlling power material demand according to claim 1, characterized in that: Determine the historical reference demand for each power material in the target catalog, including: The historical reference demand for each electric power material is determined based on the manually selected demand interval and the historical demand interval in the target catalog.
4. A power material demand control device, characterized in that: include: Catalog acquisition module, used to obtain historical demand catalog and framework forecast catalog; A demand forecasting module, used to determine the forecast demand of each power material based on the historical demand catalog and the framework forecast catalog; A comparison module, used to compare the predicted demand for the electric power materials with the demand quota; A reporting module, used for reporting the predicted demand when the predicted demand does not exceed the demand amount; Wherein, the demand forecasting module includes: A screening submodule, used to screen out a target catalog matching the framework prediction catalog from the historical demand catalog; A historical reference demand determination submodule, used to determine the historical reference demand of each power material in the target catalog; A power material demand determination submodule, used to determine the power material demand based on the annual investment plan and the historical reference demand; The screening submodule comprises: A first search unit, configured to search the historical demand catalog for a first matching field that is continuous and identical to the framework prediction catalog; A first directory determining unit, configured to use the historical demand directory corresponding to the longest first matching field as a first directory; A second search unit, configured to search the historical demand catalog for a second matching field that is identical to the framework prediction catalog; A second catalog determining unit, configured to use the historical demand catalog corresponding to the largest number of the second matching fields as the second catalog; a target directory determining unit, configured to determine, from the first directory and the second directory, a directory whose matching degree with the framework prediction directory is greater than a preset matching degree threshold as a target directory; The first searching unit comprises: A first search subunit is used to use a match algorithm to search the historical demand catalog for a first matching field that is continuous and identical to the framework prediction catalog; The second searching unit comprises: The second search subunit is used to use the max-match algorithm to search the historical demand catalog for a second matching field that is the same as the framework prediction catalog.
5. A computer device, characterized in that: include: one or more processors; A storage device for storing one or more programs; When the one or more programs are executed by the one or more processors, the one or more processors implement the power material demand management and control method as described in any one of claims 1-3.
6. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the method for controlling the demand for electric power materials as described in any one of claims 1 to 3 is implemented.
Citation Information
Patent Citations
Inventory material demand predicting method and device
CN106600032A
Power material purchasing demand prediction system for distribution network
CN107292428A