CN110675015A - Electric energy meter resource allocation method and device - Google Patents

Electric energy meter resource allocation method and device Download PDF

Info

Publication number
CN110675015A
CN110675015A CN201910722024.0A CN201910722024A CN110675015A CN 110675015 A CN110675015 A CN 110675015A CN 201910722024 A CN201910722024 A CN 201910722024A CN 110675015 A CN110675015 A CN 110675015A
Authority
CN
China
Prior art keywords
information
electric energy
safety
inventory
stock
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201910722024.0A
Other languages
Chinese (zh)
Other versions
CN110675015B (en
Inventor
王兆军
矫真
李骁
赵曦
郭红霞
王者龙
刘丽君
李付存
任大为
刘志美
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Wucheng Power Supply Co of State Grid Shandong Electric Power Co Ltd
Marketing Service Center of State Grid Shandong Electric Power Co Ltd
Original Assignee
Electric Power Research Institute of State Grid Shandong Electric Power Co Ltd
Wucheng Power Supply Co of State Grid Shandong Electric Power Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Electric Power Research Institute of State Grid Shandong Electric Power Co Ltd, Wucheng Power Supply Co of State Grid Shandong Electric Power Co Ltd filed Critical Electric Power Research Institute of State Grid Shandong Electric Power Co Ltd
Priority to CN201910722024.0A priority Critical patent/CN110675015B/en
Publication of CN110675015A publication Critical patent/CN110675015A/en
Application granted granted Critical
Publication of CN110675015B publication Critical patent/CN110675015B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/06Resources, workflows, human or project management; Enterprise or organisation planning; Enterprise or organisation modelling
    • G06Q10/063Operations research, analysis or management
    • G06Q10/0631Resource planning, allocation, distributing or scheduling for enterprises or organisations
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/06Resources, workflows, human or project management; Enterprise or organisation planning; Enterprise or organisation modelling
    • G06Q10/063Operations research, analysis or management
    • G06Q10/0631Resource planning, allocation, distributing or scheduling for enterprises or organisations
    • G06Q10/06315Needs-based resource requirements planning or analysis
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/08Logistics, e.g. warehousing, loading or distribution; Inventory or stock management
    • G06Q10/087Inventory or stock management, e.g. order filling, procurement or balancing against orders
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q50/00Information and communication technology [ICT] specially adapted for implementation of business processes of specific business sectors, e.g. utilities or tourism
    • G06Q50/06Energy or water supply
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y04INFORMATION OR COMMUNICATION TECHNOLOGIES HAVING AN IMPACT ON OTHER TECHNOLOGY AREAS
    • Y04SSYSTEMS INTEGRATING TECHNOLOGIES RELATED TO POWER NETWORK OPERATION, COMMUNICATION OR INFORMATION TECHNOLOGIES FOR IMPROVING THE ELECTRICAL POWER GENERATION, TRANSMISSION, DISTRIBUTION, MANAGEMENT OR USAGE, i.e. SMART GRIDS
    • Y04S10/00Systems supporting electrical power generation, transmission or distribution
    • Y04S10/50Systems or methods supporting the power network operation or management, involving a certain degree of interaction with the load-side end user applications

Landscapes

  • Business, Economics & Management (AREA)
  • Human Resources & Organizations (AREA)
  • Engineering & Computer Science (AREA)
  • Economics (AREA)
  • Strategic Management (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Marketing (AREA)
  • General Physics & Mathematics (AREA)
  • General Business, Economics & Management (AREA)
  • Tourism & Hospitality (AREA)
  • Development Economics (AREA)
  • Quality & Reliability (AREA)
  • Operations Research (AREA)
  • Health & Medical Sciences (AREA)
  • Educational Administration (AREA)
  • Game Theory and Decision Science (AREA)
  • General Health & Medical Sciences (AREA)
  • Public Health (AREA)
  • Primary Health Care (AREA)
  • Water Supply & Treatment (AREA)
  • Accounting & Taxation (AREA)
  • Finance (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The embodiment of the invention provides an electric energy meter resource allocation method and device, wherein the method comprises the following steps: acquiring distribution application information and unit inventory information; establishing an inventory safety deviation degree function according to the distribution application information and the unit inventory information; and solving the stock safety deviation degree function through a genetic algorithm, and obtaining target allocation scheme information according to the fitness information of the genetic algorithm. The method comprises the steps of regularly acquiring delivery application information and unit inventory information, effectively ensuring the effectiveness of the acquired unit inventory information and the delivery application information, establishing an inventory safety deviation degree function, solving the minimum safety inventory deviation degree through a genetic algorithm, determining the optimal target allocation scheme information, and effectively allocating overstocked electric energy meter resources to the scarce city units of the electric energy meters through the optimal target allocation scheme information to realize the efficient utilization of the inventory electric energy meters.

Description

Electric energy meter resource allocation method and device
Technical Field
The invention relates to the technical field of computers, in particular to a method and a device for allocating electric energy meter resources.
Background
The electric energy meter plays an important role in a power grid system, and in the power grid system, an automatic verification assembly line and a manual verification detection device for the electric energy meter basically keep running in a full-load state, so that how to timely and effectively allocate electric energy meter resources is very important, and the deviation degree of the safety stock of the electric energy meter refers to a deviation value of the electric energy meter stock.
In the prior art, after a local city company submits a delivery application to a metering center through an application system, and the basis of the electric energy meter demand in the delivery application of the local city company is mainly confirmed according to the manual management experience of local inventory management personnel, the scientific standard is lacked, the demand deviation of the delivery application is easily caused, when the delivery demand is more, the electric energy meter overstock is easily caused, at the moment, other local city companies are likely to face the situation of electric energy meter shortage, and when the demand in the delivery application is less, the electric energy meter shortage is easily caused.
Therefore, how to effectively implement redistribution of backlog electric energy meters and effectively control the deviation degree of safety stock of the electric energy meters has become an urgent problem to be solved in the industry.
Disclosure of Invention
Embodiments of the present invention provide a method and an apparatus for allocating electric energy meter resources, so as to solve the technical problems mentioned in the foregoing background art, or at least partially solve the technical problems mentioned in the foregoing background art.
In a first aspect, an embodiment of the present invention provides a method for allocating resources of an electric energy meter, including:
acquiring distribution application information and unit inventory information;
establishing an inventory safety deviation degree function according to the distribution application information and the unit inventory information;
and solving the stock safety deviation degree function through a genetic algorithm, and obtaining target allocation scheme information according to the fitness information of the genetic algorithm.
More specifically, the step of solving the stock safety deviation degree function through a genetic algorithm to obtain the target deployment scenario information specifically includes:
performing population initialization operation according to the distribution application information to obtain initialized population information;
naturally selecting the initial population information according to the stock safety degree deviation function to obtain selected individual information;
carrying out variation processing on the selected individual information to obtain variant individual information; and updating the initialized population information according to the variant individual information until the initialized population information meets a preset target condition, and obtaining a target allocation scheme according to the fitness information of the genetic algorithm.
More specifically, the step of naturally selecting the initial population information according to the stock safety degree deviation function to obtain the selected individual information specifically includes:
calculating the cost index of each individual in the initial population information according to the stock safety degree deviation function, and an initial population information cost index set;
sorting the cost indexes of each individual in the initial population information cost index set to obtain sorting result information;
and obtaining the selected individual information according to the sorting result information.
More specifically, after obtaining the delivery application information, the method further includes:
auditing and analyzing the distribution application information to obtain analysis result information;
and if the analysis result information is qualified, establishing an inventory safety deviation degree function according to the distribution application information and the unit inventory information.
More specifically, the inventory safety deviation degree function is specifically:
Figure BDA0002157555730000021
Figure BDA0002157555730000022
st.
Figure BDA0002157555730000031
j represents a certain type of electric energy meter, and k represents the type and the number of electric energy meter equipment; x is the number ofidThe d-day delivery of unit i, CIiIs the lower limit of i units of safety stock, MiIs the existing stock of unit i; CM (compact message processor)iThe unit I is the upper limit of the safety stock, T is the daily transport capacity of a metering center, and R is the monthly total demand of the city unit; pidThe safety stock deviation for day d of unit i.
In a second aspect, an embodiment of the present invention provides an electric energy meter resource allocating device, including:
the acquisition module is used for acquiring distribution application information and unit inventory information;
the analysis module is used for establishing an inventory safety deviation degree function according to the distribution application information and the unit inventory information;
and the distribution module is used for solving the stock safety deviation degree function through a genetic algorithm and obtaining target allocation scheme information according to the fitness information of the genetic algorithm.
In a third aspect, an embodiment of the present invention provides an electronic device, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor, where the processor executes the computer program to implement the steps of the method for allocating electric energy meter resources according to the first aspect.
In a fourth aspect, an embodiment of the present invention provides a non-transitory computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the steps of the method for allocating resources of an electric energy meter according to the first aspect.
According to the electric energy meter resource allocation method and device provided by the embodiment of the invention, the distribution application information and the unit inventory information are regularly acquired, so that the effectiveness of the acquired unit inventory information and the distribution application information can be effectively ensured, the inventory safety deviation degree function is established according to the effective unit inventory information and the distribution application information, the inventory safety deviation degree function is used for solving the minimum safety inventory deviation degree, then the inventory safety deviation degree function is solved through a genetic algorithm, the optimal target allocation scheme information is determined, and the accumulated electric energy meter resources are effectively allocated to the scarce city units of the electric energy meter through the optimal target allocation scheme information, so that the efficient utilization of the inventory electric energy meter is realized.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and those skilled in the art can also obtain other drawings according to the drawings without creative efforts.
FIG. 1 is a schematic flow chart illustrating a method for allocating resources of an electric energy meter according to an embodiment of the present invention;
fig. 2 is a schematic structural diagram of a resource allocation device of an electric energy meter according to an embodiment of the invention;
fig. 3 is a schematic structural diagram of an electronic device according to an embodiment of the invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The electric energy meter resource allocation method described in the embodiment of the invention is implemented in a preset security deployment framework, and the preset security deployment framework comprises a security terminal layer, a security channel layer, a security access layer and a mobile application layer.
Wherein, the security terminal layer: the mobile terminal uses a special encryption algorithm and stores a private key or a digital certificate, a secure channel is established with a secure access gateway group through a mobile public network during communication, the digital certificate is adopted for identity authentication, and key communication data are encrypted and transmitted.
The safe channel layer realizes the connection of each external link and the system access network, realizes the network-level identity authentication through the route access control and the encrypted virtual special channel constructed by the VPN, and ensures the confidentiality and the integrity of data; access control of the boundary region is carried out through a firewall, and access application of illegal equipment is prevented; and configuring corresponding security monitoring systems for vulnerability scanning, intrusion detection and the like, and monitoring, protecting and managing access application potential safety hazards.
And the safety access layer is an intermediate area for external information issuing, information acquisition and data exchange, is a connection end point for the mobile terminal to access a safety intranet, and terminates all application access at a safety authentication gateway. The security authentication gateway realizes SSL encryption and equipment identity authentication, and prevents illegal access and information leakage.
And the mobile application layer is used for acquiring services by a mobile application development platform deployed in the intranet after the data security penetration is finished and supporting the service application of the mobile terminal.
Fig. 1 is a schematic flow chart of a method for allocating resources of an electric energy meter according to an embodiment of the present invention, as shown in fig. 1, including:
step S1, obtaining distribution application information and unit inventory information;
step S2, establishing a stock safety deviation degree function according to the distribution application information and the unit stock information;
and step S3, solving the stock safety deviation degree function through a genetic algorithm, and obtaining target allocation scheme information according to the fitness information of the genetic algorithm.
Specifically, the distribution application information described in the embodiment of the present invention refers to the electric energy meter demand amount application information submitted to the central server by each local market company.
The unit inventory information described in the embodiment of the invention refers to the electric energy meter inventory information of each local city unit, the safety inventory lower limit and the safety inventory upper limit of each local city unit, which are periodically submitted to the central server by each local city unit.
The stock safety deviation degree described in the embodiment of the invention refers to a preset deviation value related to the stock of each city unit electric energy meter.
The genetic algorithm fitness information described in the embodiment of the invention refers to the fitness information of each genetic algorithm individual finally obtained after the genetic algorithm is executed.
Step S1 is to report the distribution application information and unit inventory information of each local city unit to the central server periodically to ensure the real-time performance of the information.
Step S2 is specifically to establish an inventory safety deviation degree function according to the distribution application information and the unit inventory information, where the inventory safety deviation degree of a certain local unit i on the d day can be expressed as:
Figure BDA0002157555730000051
therefore, the stock deviation degree of all city units, i.e. the stock safety deviation degree function, is:
Figure BDA0002157555730000061
and the daily delivery amount x should satisfy the following constraint conditions:
wherein i represents a certain city unit, and m represents the number of total demand city units; d represents a certain day, and n represents the number of times of the current month; x is the number ofidThe delivery volume on day d of the unit of i city, CIiIs the lower limit of i units of safety stock, MiIs the existing stock of unit i; CM (compact message processor)iThe unit I is the upper limit of the safety stock, T is the daily transport capacity of a metering center, and R is the monthly total demand of the city unit; pidThe safety stock deviation for day d of unit i.
Then, through a genetic algorithm, N individuals are randomly generated within a transport capacity bearing range on the basis of meeting the requirements of each unit, each individual represents a daily distribution scheme capable of meeting the total requirements of the whole province, and then an initialized population is obtained according to a plurality of individuals.
Calculating the cost index of each individual in the initialized population through an inventory safety deviation degree function, taking the cost index as the fitness in a genetic algorithm to obtain a fitness calculation result, then sequencing the fitness, and selecting individual information according to sequencing result information.
And after the individual information is selected, processing the selected individual information to obtain variant individual information, then naturally selecting the variant individual information until preset conditions are met, and finally obtaining target allocation scheme information according to the fitness information of the genetic algorithm.
After the preset conditions are met, selecting the individual with the highest fitness information as the target deployment plan information from the remaining variant individual information.
The target allocation scheme information described in the embodiment of the invention is solved by a genetic algorithm, so that the safety stock deviation degree can be effectively controlled.
The embodiment of the invention can effectively ensure the effectiveness of the acquired unit inventory information and the acquired delivery application information by regularly acquiring the delivery application information and the unit inventory information, thereby establishing an inventory safety deviation degree function according to the effective unit inventory information and the delivery application information, wherein the inventory safety deviation degree function is used for solving the minimum safety inventory deviation degree, then solving the inventory safety deviation degree function through a genetic algorithm to determine the optimal target allocation scheme information, and effectively allocating the overstocked electric energy meter resources to the scarce city units of the electric energy meter through the optimal target allocation scheme information to realize the efficient utilization of the inventory electric energy meter.
On the basis of the above embodiment, the step of solving the stock safety deviation degree function through the genetic algorithm to obtain the target deployment scenario information specifically includes:
performing population initialization operation according to the distribution application information to obtain initialized population information;
naturally selecting the initial population information according to the stock safety degree deviation function to obtain selected individual information;
carrying out variation processing on the selected individual information to obtain variant individual information; and updating the initialized population information according to the variant individual information until a preset target condition is met, and obtaining the target allocation scheme according to the fitness information of the genetic algorithm.
Specifically, the delivery application information for performing the population initialization operation described in the embodiment of the present invention may refer to any delivery application information.
The random distribution application information described in the embodiment of the invention is specifically subjected to population initialization operation, namely, randomly selecting any local city unit to obtain distribution demand application information of the local city unit; if the total demand of the city unit is less than the cargo capacity of one transport vehicle, all the vehicles are loaded, if the total demand of the city unit is greater than the cargo capacity of one vehicle, the vehicles randomly acquire electric energy to acquire the electric energy until the total demand of the city unit is met, and the steps are repeated until all the vehicles are full of the cargo; the initialization operation is repeated until a preset number of individuals are generated to form initial population information, where the preset number of individuals described herein may refer to 1500 individuals.
Solving the cost index of an individual in the initial population information through an inventory safety deviation degree function, taking the cost index as the fitness in a genetic algorithm to obtain a fitness calculation result, then sequencing the fitness, and selecting the individual information according to the sequencing result information.
The preset target condition described in the embodiments of the present invention may be that a preset training time is met, for example, training is completed for 30 minutes, or a preset iteration is met, for example, 40 iterations of the loop are met.
Naturally selecting initial population information according to an inventory safety degree deviation function to obtain selected individual information;
carrying out variation processing on the selected individual information to obtain variant individual information; and updating the initialized population information according to the variant individual information, and performing natural selection again, so as to repeat loop iteration.
The embodiment of the invention can effectively solve the planning problem of the optimal solution through the genetic algorithm, has low requirement on the specialty of the computing equipment, accords with the problem demand scene, and can effectively determine the target allocation scheme information so as to control the deviation degree of the safety stock of the electric energy meter.
On the basis of the above embodiment, the step of naturally selecting the initial population information according to the stock safety degree deviation function to obtain the selected individual information specifically includes:
calculating the cost index of each individual in the initial population information according to an inventory safety degree deviation function to obtain an initial population information cost index set;
sorting the cost indexes of each individual in the initial population information cost index set to obtain sorting result information;
and obtaining the selected individual information according to the sorting result information.
Specifically, the selecting individual information according to the sorting result information is to sort the sorting result information from small to large, eliminate 80% of the individuals after the ranking, and reserve 20% of the individuals before the ranking, where the individuals that reserve 20% of the ranking described herein are the selecting individual information.
According to the embodiment of the invention, the cost index is used as the fitness, so that the initial population information is naturally selected, and the individual information with higher fitness is selected as the selected individual information, thereby being beneficial to the subsequent steps.
On the basis of the above embodiment, after obtaining the delivery application information, the method further includes:
auditing and analyzing the distribution application information to obtain analysis result information;
and if the analysis result information is qualified, establishing the stock safety deviation degree function according to the distribution application information and the unit stock information.
Specifically, the checking and analyzing of the delivery application information described in the embodiment of the present invention means that whether the delivery application information is sent from an authorized legal terminal is analyzed, if the delivery application information is not sent from an authorized legal terminal, the analysis result information is unqualified, the delivery application information is invalid information, at this time, subsequent steps are not performed, and alarm information is sent out, and if the delivery application information is sent from an authorized legal terminal, the analysis result information is qualified, and an inventory safety deviation degree function is established according to the delivery application information and the unit inventory information.
According to the embodiment of the invention, the reliability of the distribution application information is effectively ensured and the safety is improved by verifying the distribution application information.
On the basis of the above embodiment, the inventory safety deviation degree function specifically includes:
Figure BDA0002157555730000091
Figure BDA0002157555730000092
st.
Figure BDA0002157555730000093
j represents a certain type of electric energy meter, and k represents the type and the number of electric energy meter equipment; x is the number ofidThe d-day delivery of unit i, CIiIs the lower limit of i units of safety stock, MiIs the existing stock of unit i; CM (compact message processor)iThe unit I is the upper limit of the safety stock, T is the daily transport capacity of a metering center, and R is the monthly total demand of the city unit; pidThe safety stock deviation for day d of unit i.
Fig. 2 is a schematic structural diagram of a resource allocation device for an electric energy meter according to an embodiment of the present invention, as shown in fig. 2, including: an acquisition module 210, an analysis module 220, and a distribution module 230; the obtaining module 210 is configured to obtain delivery application information and unit inventory information; the analysis module 220 is configured to establish an inventory safety deviation degree function according to the delivery application information and the unit inventory information; the distribution module 230 is configured to solve the stock safety deviation degree function through a genetic algorithm, and obtain target allocation scheme information according to the fitness information of the genetic algorithm.
The apparatus provided in the embodiment of the present invention is used for executing the above method embodiments, and for details of the process and the details, reference is made to the above embodiments, which are not described herein again.
The embodiment of the invention can effectively ensure the effectiveness of the acquired unit inventory information and the acquired delivery application information by regularly acquiring the delivery application information and the unit inventory information, thereby establishing an inventory safety deviation degree function according to the effective unit inventory information and the delivery application information, wherein the inventory safety deviation degree function is used for solving the minimum safety inventory deviation degree, then solving the inventory safety deviation degree function through a genetic algorithm to determine the optimal target allocation scheme information, and effectively allocating the overstocked electric energy meter resources to the scarce city units of the electric energy meter through the optimal target allocation scheme information to realize the efficient utilization of the inventory electric energy meter.
Fig. 3 is a schematic structural diagram of an electronic device according to an embodiment of the present invention, and as shown in fig. 3, the electronic device may include: a processor (processor)310, a communication Interface (communication Interface)320, a memory (memory)330 and a communication bus 340, wherein the processor 310, the communication Interface 320 and the memory 330 communicate with each other via the communication bus 340. The processor 310 may call logic instructions in the memory 330 to perform the following method: acquiring distribution application information and unit inventory information; establishing an inventory safety deviation degree function according to the distribution application information and the unit inventory information; and solving the stock safety deviation degree function through a genetic algorithm, and obtaining target allocation scheme information according to the fitness information of the genetic algorithm.
In addition, the logic instructions in the memory 330 may be implemented in the form of software functional units and stored in a computer readable storage medium when the software functional units are sold or used as independent products. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
An embodiment of the present invention discloses a computer program product, which includes a computer program stored on a non-transitory computer readable storage medium, the computer program including program instructions, when the program instructions are executed by a computer, the computer can execute the methods provided by the above method embodiments, for example, the method includes: acquiring distribution application information and unit inventory information; establishing an inventory safety deviation degree function according to the distribution application information and the unit inventory information; and solving the stock safety deviation degree function through a genetic algorithm, and obtaining target allocation scheme information according to the fitness information of the genetic algorithm.
Embodiments of the present invention provide a non-transitory computer-readable storage medium storing server instructions, where the server instructions cause a computer to execute the method provided in the foregoing embodiments, for example, the method includes: acquiring distribution application information and unit inventory information; establishing an inventory safety deviation degree function according to the distribution application information and the unit inventory information; and solving the stock safety deviation degree function through a genetic algorithm, and obtaining target allocation scheme information according to the fitness information of the genetic algorithm.
The above-described embodiments of the apparatus are merely illustrative, and the units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment. One of ordinary skill in the art can understand and implement it without inventive effort.
Through the above description of the embodiments, those skilled in the art will clearly understand that each embodiment can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware. With this understanding in mind, the above-described technical solutions may be embodied in the form of a software product, which can be stored in a computer-readable storage medium such as ROM/RAM, magnetic disk, optical disk, etc., and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the methods described in the embodiments or some parts of the embodiments.
Finally, it should be noted that: the above examples are only intended to illustrate the technical solution of the present invention, but not to limit it; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present invention.

Claims (8)

1. A method for allocating resources of an electric energy meter is characterized by comprising the following steps:
acquiring distribution application information and unit inventory information;
establishing an inventory safety deviation degree function according to the distribution application information and the unit inventory information;
and solving the stock safety deviation degree function through a genetic algorithm, and obtaining target allocation scheme information according to the fitness information of the genetic algorithm.
2. The method for allocating electric energy meter resources according to claim 1, wherein the step of solving the stock safety deviation degree function through a genetic algorithm and obtaining target allocation scheme information according to the fitness information of the genetic algorithm specifically comprises:
performing population initialization operation according to the distribution application information to obtain initialized population information;
naturally selecting the initial population information according to the stock safety degree deviation function to obtain selected individual information;
carrying out variation processing on the selected individual information to obtain variant individual information;
and updating the initialized population information according to the variant individual information until the initialized population information meets a preset target condition, and obtaining target allocation scheme information according to the fitness information of the genetic algorithm.
3. The method for allocating electric energy meter resources according to claim 2, wherein the step of naturally selecting the initial population information according to the stock safety degree deviation function to obtain the selected individual information specifically comprises:
calculating the cost index of each individual in the initial population information according to the stock safety degree deviation function to obtain an initial population information cost index set;
sorting the cost indexes of each individual in the initial population information cost index set to obtain sorting result information;
and obtaining the selected individual information according to the sorting result information.
4. The method for allocating electric energy meter resources according to claim 1, wherein after obtaining the delivery application information, the method further comprises:
auditing and analyzing the distribution application information to obtain analysis result information;
and if the analysis result information is qualified, establishing the stock safety deviation degree function according to the distribution application information and the unit stock information.
5. The method for allocating electric energy meter resources according to claim 1, wherein the function of the degree of stock safety deviation is specifically:
Figure FDA0002157555720000021
Figure FDA0002157555720000022
st.
Figure FDA0002157555720000023
j represents a certain type of electric energy meter, and k represents the type and the number of electric energy meter equipment; x is the number ofidThe d-day delivery of unit i, CIiIs the lower limit of i units of safety stock, MiIs the existing stock of unit i; CM (compact message processor)iThe unit I is the upper limit of the safety stock, T is the daily transport capacity of a metering center, and R is the monthly total demand of the city unit; pidThe safety stock deviation for day d of unit i.
6. An electric energy meter resource allocation device is characterized by comprising:
the acquisition module is used for acquiring distribution application information and unit inventory information;
the analysis module is used for establishing an inventory safety deviation degree function according to the distribution application information and the unit inventory information;
and the distribution module is used for solving the stock safety deviation degree function through a genetic algorithm and obtaining target allocation scheme information according to the fitness information of the genetic algorithm.
7. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor executes the program to implement the steps of the method for provisioning resources for electric energy meters according to any of claims 1 to 5.
8. A non-transitory computer readable storage medium, having a computer program stored thereon, wherein the computer program, when executed by a processor, implements the steps of the method for allocating resources of an electric energy meter according to any one of claims 1 to 5.
CN201910722024.0A 2019-08-06 2019-08-06 Electric energy meter resource allocation method and device Active CN110675015B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910722024.0A CN110675015B (en) 2019-08-06 2019-08-06 Electric energy meter resource allocation method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910722024.0A CN110675015B (en) 2019-08-06 2019-08-06 Electric energy meter resource allocation method and device

Publications (2)

Publication Number Publication Date
CN110675015A true CN110675015A (en) 2020-01-10
CN110675015B CN110675015B (en) 2022-07-12

Family

ID=69068693

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910722024.0A Active CN110675015B (en) 2019-08-06 2019-08-06 Electric energy meter resource allocation method and device

Country Status (1)

Country Link
CN (1) CN110675015B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112200520A (en) * 2020-10-19 2021-01-08 广东电网有限责任公司计量中心 Distribution system and method of electric energy meter accessories and related device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102708248A (en) * 2012-05-10 2012-10-03 湖北省电力公司 Dispatching function optimization method based on multi-objective genetic algorithm
CN104463354A (en) * 2014-11-21 2015-03-25 山东航天信息有限公司 Improving method of distributed inventory dispatching
CN105096006A (en) * 2015-08-24 2015-11-25 国网天津市电力公司 Method for optimizing a routing of an intelligent ammeter distributing vehicle
US20160179081A1 (en) * 2014-12-22 2016-06-23 Siemens Aktiengesellschaft Optimized Production Scheduling Using Buffer Control and Genetic Algorithm

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102708248A (en) * 2012-05-10 2012-10-03 湖北省电力公司 Dispatching function optimization method based on multi-objective genetic algorithm
CN104463354A (en) * 2014-11-21 2015-03-25 山东航天信息有限公司 Improving method of distributed inventory dispatching
US20160179081A1 (en) * 2014-12-22 2016-06-23 Siemens Aktiengesellschaft Optimized Production Scheduling Using Buffer Control and Genetic Algorithm
CN105096006A (en) * 2015-08-24 2015-11-25 国网天津市电力公司 Method for optimizing a routing of an intelligent ammeter distributing vehicle

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112200520A (en) * 2020-10-19 2021-01-08 广东电网有限责任公司计量中心 Distribution system and method of electric energy meter accessories and related device
CN112200520B (en) * 2020-10-19 2023-03-14 广东电网有限责任公司计量中心 Distribution system and method of electric energy meter accessories and related device

Also Published As

Publication number Publication date
CN110675015B (en) 2022-07-12

Similar Documents

Publication Publication Date Title
CN109379369A (en) Single-point logging method, device, server and storage medium
CN110602217B (en) Block chain-based alliance management method, device, equipment and storage medium
CN113256297B (en) Data processing method, device and equipment based on block chain and readable storage medium
CN109727132A (en) Acquisition methods, device, electronic equipment and the storage medium of block chain common recognition node
CN109493224A (en) A kind of block chain picture social intercourse system
CN111292174A (en) Tax payment information processing method and device and computer readable storage medium
CN112468537A (en) Block chain network building structure based on local area network environment and data processing method
CN112288213A (en) High-reliability demand response system and method based on block chain
CN115688110A (en) Financial Internet of things platform equipment early warning method and device
CN114117264A (en) Illegal website identification method, device, equipment and storage medium based on block chain
CN110264222A (en) Responsible investigation method, apparatus and terminal device based on data acquisition
CN111651170B (en) Instance dynamic adjustment method and device and related equipment
CN114357490A (en) Data sharing method, device and system based on block chain
CN114490020A (en) Block chain fragmentation method and system and electronic equipment
CN113360269A (en) Task allocation method, device, server and storage medium
CN113689005A (en) Enhanced transverse federated learning method and device
CN110675015B (en) Electric energy meter resource allocation method and device
CN109903046A (en) User data management and device based on block chain
CN112488707A (en) Service flow supervision method and system
CN114978651B (en) Privacy calculation evidence-storing method and device, electronic equipment and storage medium
CN112632607A (en) Data processing method, device and equipment
CN111294311A (en) Flow charging method and system for preventing flow fraud
CN105338526B (en) Distributed right discriminating system based on cluster user, method and device
CN110910091A (en) Data processing method, device and medium
CN117113425B (en) Privacy compliance method for lake and warehouse integrated data analysis

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
TA01 Transfer of patent application right

Effective date of registration: 20220617

Address after: No. 150, Jinger Road, Daguanyuan, Shizhong District, Jinan City, Shandong Province

Applicant after: Shandong Electric Power Marketing Center

Applicant after: ELECTRIC POWER RESEARCH INSTITUTE OF STATE GRID SHANDONG ELECTRIC POWER Co.

Applicant after: WUCHENG POWER SUPPLY COMPANY, STATE GRID SHANDONG ELECTRIC POWER Co.

Address before: 250003 No. 2000, Wang Yue Road, Shizhong District, Ji'nan, Shandong

Applicant before: ELECTRIC POWER RESEARCH INSTITUTE OF STATE GRID SHANDONG ELECTRIC POWER Co.

Applicant before: WUCHENG POWER SUPPLY COMPANY, STATE GRID SHANDONG ELECTRIC POWER Co.

TA01 Transfer of patent application right
GR01 Patent grant
GR01 Patent grant