CN112801504A - Power grid service processing method based on micro-service architecture - Google Patents
Power grid service processing method based on micro-service architecture Download PDFInfo
- Publication number
- CN112801504A CN112801504A CN202110117445.8A CN202110117445A CN112801504A CN 112801504 A CN112801504 A CN 112801504A CN 202110117445 A CN202110117445 A CN 202110117445A CN 112801504 A CN112801504 A CN 112801504A
- Authority
- CN
- China
- Prior art keywords
- processing
- processing flow
- application
- micro
- service
- 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.)
- Pending
Links
- 238000003672 processing method Methods 0.000 title claims abstract description 15
- 238000012545 processing Methods 0.000 claims abstract description 177
- 230000009471 action Effects 0.000 claims abstract description 22
- 238000000034 method Methods 0.000 claims abstract description 13
- 238000004806 packaging method and process Methods 0.000 claims description 5
- 238000012216 screening Methods 0.000 claims description 3
- 238000005215 recombination Methods 0.000 abstract description 3
- 230000006798 recombination Effects 0.000 abstract description 3
- 230000008569 process Effects 0.000 abstract description 2
- 238000004891 communication Methods 0.000 description 2
- 238000013461 design Methods 0.000 description 2
- 230000005477 standard model Effects 0.000 description 2
- 230000006978 adaptation Effects 0.000 description 1
- 238000010276 construction Methods 0.000 description 1
- 239000012634 fragment Substances 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION 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/00—Administration; Management
- G06Q10/06—Resources, workflows, human or project management; Enterprise or organisation planning; Enterprise or organisation modelling
- G06Q10/063—Operations research, analysis or management
- G06Q10/0639—Performance analysis of employees; Performance analysis of enterprise or organisation operations
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION 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/00—Administration; Management
- G06Q10/06—Resources, workflows, human or project management; Enterprise or organisation planning; Enterprise or organisation modelling
- G06Q10/063—Operations research, analysis or management
- G06Q10/0633—Workflow analysis
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION 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/00—Administration; Management
- G06Q10/10—Office automation; Time management
- G06Q10/103—Workflow collaboration or project management
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION 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/00—Systems or methods specially adapted for specific business sectors, e.g. utilities or tourism
- G06Q50/06—Electricity, gas or water supply
-
- Y—GENERAL 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
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02E—REDUCTION OF GREENHOUSE GAS [GHG] EMISSIONS, RELATED TO ENERGY GENERATION, TRANSMISSION OR DISTRIBUTION
- Y02E40/00—Technologies for an efficient electrical power generation, transmission or distribution
- Y02E40/70—Smart grids as climate change mitigation technology in the energy generation sector
-
- Y—GENERAL 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
- Y04—INFORMATION OR COMMUNICATION TECHNOLOGIES HAVING AN IMPACT ON OTHER TECHNOLOGY AREAS
- Y04S—SYSTEMS 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/00—Systems supporting electrical power generation, transmission or distribution
- Y04S10/50—Systems or methods supporting the power network operation or management, involving a certain degree of interaction with the load-side end user applications
Abstract
The embodiment of the application provides a micro-service architecture-based power grid service processing method, which comprises the steps of analyzing original power application to obtain a micro-service structure-based single object processing flow; classifying the power processing flows according to whether the processing actions are the same or not to obtain a processing flow set with the same processing actions; the control registration center receives a single batch application processing request which is sent by taking the processing flow set as a main body; a single batch of application processing requests are sent in a packet at the gateway. The existing power application is analyzed, the power application is recombined according to the same processing object and processing action, and the micro-service architecture concept is introduced in the recombination process to carry out unified processing on the power application, so that the efficiency of power grid service is improved.
Description
Technical Field
The application belongs to the field of data processing, and particularly relates to a power grid service processing method based on a micro-service architecture.
Background
The power system stores massive power grid equipment data which are distributed in a plurality of systems, and how to realize platform resources and cross-professional data sharing and form a uniform service appearance is a difficult problem. The method is based on a micro-service architecture, and a set of effective multi-layer calling, quick realization and deployment power grid equipment data service construction method is established according to the characteristics of massive model data of a power grid, so that a powerful basis is provided for eliminating an information system island, providing enterprise business data quality, standardizing service calling and reducing data redundancy.
The power grid model is complex in a power system, a plurality of business systems are provided, each business system changes a standard model in order to meet the characteristic requirements of the system, finally, the situation that each business system stores relevant data of own business and divides the power grid model containing mass data into a plurality of fragments is formed.
Disclosure of Invention
The embodiment of the application provides a power grid service processing method based on a micro-service architecture, existing power applications are analyzed, recombination is carried out according to the same processing object and processing action, and the concept of the micro-service architecture is introduced in the recombination process to carry out unified processing on the power applications, so that the efficiency of power grid service is improved.
Specifically, the power grid service processing method based on the micro-service architecture provided by the embodiment of the present application includes:
analyzing the original power application to obtain a single object processing flow based on the micro-service structure;
classifying the power processing flows according to whether the processing actions are the same or not to obtain a processing flow set with the same processing actions;
the control registration center receives a single batch application processing request which is sent by taking the processing flow set as a main body;
a single batch of application processing requests are sent in a packet at the gateway.
Optionally, the analyzing the original power application to obtain a single processing flow based on the micro service structure includes:
extracting the processing flows in the original power application by taking the processing object names as keywords to obtain a preset number of processing flow sets, wherein each processing flow set corresponds to the same processing object name;
and establishing a micro-service architecture corresponding to each processing flow set according to the processing characteristics of each processing object to obtain a single object processing flow based on the micro-service architecture.
Optionally, the classifying the power processing flows according to whether the processing actions are the same to obtain a processing flow set with the same processing action, including:
extracting execution keywords representing processing actions in the power processing flow;
and attributing the power processing flows with the same execution keywords as the processing flow set with the same processing actions.
Optionally, the receiving, by the control registry, the single batch application processing request with the processing flow set as a main body includes:
receiving a single batch application processing request at a control center;
and extracting an execution keyword of the processing flow set contained in the single batch application processing request, and taking the execution keyword as a request name of the single batch application processing request.
Optionally, the packaging and sending, at the gateway, the single batch application processing request includes:
extracting a request name of a single batch application processing request;
merging the application processing requests of a single batch with the same request name in a preset time period;
and at the end of each preset time period, performing packaging sending processing on the single batch application processing requests with the same request name.
Optionally, the method further includes:
adding an extension field in the obtained single object processing flow;
and hanging the electric power processing flow belonging to the original electric power application in the processing flow set belonging to the same single object by depending on the expanded field according to different processing objects.
Optionally, the hanging in the processing flow set belonging to the same single object depending on the different processing objects by the extension field includes:
acquiring a target processing flow belonging to the original power application, and extracting a processing object name of the target processing flow;
screening single object processing flows corresponding to the same processing object name from the obtained processing flow set;
and connecting the target processing flow to the extension field to obtain an extended single object processing flow set.
Has the advantages that:
the method comprises the steps of carrying out micro-service design on original services, realizing related communication between applications through a registration center and a gateway, avoiding information isolated islands, and providing unified power grid model services externally through the gateway by a micro-service architecture, wherein the unified power grid model services comprise adaptation on non-standard model services, so that a consistent model is obtained at a user side.
Drawings
In order to more clearly illustrate the technical solutions of the present application, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings without creative efforts.
Fig. 1 is a schematic flowchart of a power grid service processing method based on a micro-service architecture according to an embodiment of the present application.
Detailed Description
To make the structure and advantages of the present application clearer, the structure of the present application will be further described with reference to the accompanying drawings.
Specifically, as shown in fig. 1, the method for processing a power grid service based on a micro service architecture provided in the embodiment of the present application includes:
11. analyzing the original power application to obtain a single object processing flow based on the micro-service structure;
12. classifying the power processing flows according to whether the processing actions are the same or not to obtain a processing flow set with the same processing actions;
13. the control registration center receives a single batch application processing request which is sent by taking the processing flow set as a main body;
14. a single batch of application processing requests are sent in a packet at the gateway.
In implementation, the grid service processing method based on the micro-service architecture provided in the embodiment of the present application performs micro-service structure processing on the existing complicated original power application to obtain the application processing request corresponding to the same object after simplification, and further performs unified processing and sending on the obtained application processing request, so that processing efficiency can be improved compared with the prior art.
Firstly, micro-service design is carried out on the original business, the micro-service only separates the original tightly bound services and allows the copy to expand the service capability, and the original model is not changed.
The polygon type in the application represents a power grid model, and the relevant communication is realized between the applications through a registration center and a gateway, so that an information isolated island is avoided.
Secondly, the micro-service architecture provides uniform power grid model service to the outside through a gateway, and the method comprises the step of adapting nonstandard model service, so that a consistent model is obtained at a user side.
Specifically, the analyzing the original power application to obtain a single processing flow based on the micro service structure includes:
extracting the processing flows in the original power application by taking the processing object names as keywords to obtain a preset number of processing flow sets, wherein each processing flow set corresponds to the same processing object name;
and establishing a micro-service architecture corresponding to each processing flow set according to the processing characteristics of each processing object to obtain a single object processing flow based on the micro-service architecture.
Classifying the power processing flows according to whether the processing actions are the same to obtain a processing flow set with the same processing actions, wherein the method comprises the following steps:
extracting execution keywords representing processing actions in the power processing flow;
and attributing the power processing flows with the same execution keywords as the processing flow set with the same processing actions.
The control registration center receives a single batch application processing request which is sent by taking the processing flow set as a main body, and comprises the following steps:
receiving a single batch application processing request at a control center;
and extracting an execution keyword of the processing flow set contained in the single batch application processing request, and taking the execution keyword as a request name of the single batch application processing request.
The method for transmitting the single batch application processing request in a packaging mode at the gateway comprises the following steps:
extracting a request name of a single batch application processing request;
merging the application processing requests of a single batch with the same request name in a preset time period;
and at the end of each preset time period, performing packaging sending processing on the single batch application processing requests with the same request name.
The method further comprises the following steps:
adding an extension field in the obtained single object processing flow;
and hanging the electric power processing flow belonging to the original electric power application in the processing flow set belonging to the same single object by depending on the expanded field according to different processing objects.
The hanging connection in the same single object processing flow set according to different processing objects depending on the extension field comprises the following steps:
acquiring a target processing flow belonging to the original power application, and extracting a processing object name of the target processing flow;
screening single object processing flows corresponding to the same processing object name from the obtained processing flow set;
and connecting the target processing flow to the extension field to obtain an extended single object processing flow set.
The method and the device can solve the problem of information isolated island generated by the fact that the power grid equipment information in the power system is distributed in a plurality of different service systems, and therefore a uniform power grid model is formed.
The above description is only exemplary of the present application and should not be taken as limiting the present application, as any modification, equivalent replacement, or improvement made within the spirit and principle of the present application should be included in the protection scope of the present application.
Claims (7)
1. The power grid service processing method based on the micro-service architecture is characterized by comprising the following steps:
analyzing the original power application to obtain a single object processing flow based on the micro-service structure;
classifying the power processing flows according to whether the processing actions are the same or not to obtain a processing flow set with the same processing actions;
the control registration center receives a single batch application processing request which is sent by taking the processing flow set as a main body;
a single batch of application processing requests are sent in a packet at the gateway.
2. The grid service processing method based on the microservice architecture as claimed in claim 1, wherein the parsing the original power application to obtain a single processing flow based on the microservice architecture comprises:
extracting the processing flows in the original power application by taking the processing object names as keywords to obtain a preset number of processing flow sets, wherein each processing flow set corresponds to the same processing object name;
and establishing a micro-service architecture corresponding to each processing flow set according to the processing characteristics of each processing object to obtain a single object processing flow based on the micro-service architecture.
3. The electrical grid service processing method based on the micro-service architecture as claimed in claim 1, wherein the classifying the electrical power processing flows according to whether the processing actions are the same to obtain a processing flow set with the same processing actions comprises:
extracting execution keywords representing processing actions in the power processing flow;
and attributing the power processing flows with the same execution keywords as the processing flow set with the same processing actions.
4. The micro service architecture-based power grid service processing method according to claim 1 or 3, wherein the control registry receives a single batch application processing request with a processing flow set as a main body, and the method comprises:
receiving a single batch application processing request at a control center;
and extracting an execution keyword of the processing flow set contained in the single batch application processing request, and taking the execution keyword as a request name of the single batch application processing request.
5. The electrical grid service processing method based on the micro service architecture as claimed in claim 1, wherein the step of sending a single batch of application processing requests in a package at the gateway comprises:
extracting a request name of a single batch application processing request;
merging the application processing requests of a single batch with the same request name in a preset time period;
and at the end of each preset time period, performing packaging sending processing on the single batch application processing requests with the same request name.
6. The micro-service architecture based grid service processing method according to any one of claims 1 to 5, wherein the method further comprises:
adding an extension field in the obtained single object processing flow;
and hanging the electric power processing flow belonging to the original electric power application in the processing flow set belonging to the same single object by depending on the expanded field according to different processing objects.
7. The electrical grid service processing method based on the micro service architecture as claimed in claim 6, wherein the suspending in the same single object processing flow set depending on different processing objects by means of the extension field comprises:
acquiring a target processing flow belonging to the original power application, and extracting a processing object name of the target processing flow;
screening single object processing flows corresponding to the same processing object name from the obtained processing flow set;
and connecting the target processing flow to the extension field to obtain an extended single object processing flow set.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110117445.8A CN112801504A (en) | 2021-01-28 | 2021-01-28 | Power grid service processing method based on micro-service architecture |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110117445.8A CN112801504A (en) | 2021-01-28 | 2021-01-28 | Power grid service processing method based on micro-service architecture |
Publications (1)
Publication Number | Publication Date |
---|---|
CN112801504A true CN112801504A (en) | 2021-05-14 |
Family
ID=75812353
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202110117445.8A Pending CN112801504A (en) | 2021-01-28 | 2021-01-28 | Power grid service processing method based on micro-service architecture |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN112801504A (en) |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101998682A (en) * | 2009-08-27 | 2011-03-30 | 中兴通讯股份有限公司 | Device and method for acquiring service content by personal network equipment and related device thereof |
CN107635022A (en) * | 2016-07-18 | 2018-01-26 | 华为软件技术有限公司 | Across intranet and extranet service access methods and device |
CN109246251A (en) * | 2018-11-13 | 2019-01-18 | 杭州数梦工场科技有限公司 | A kind of micro services call method, device, system, equipment and readable storage medium storing program for executing |
CN110620727A (en) * | 2019-09-09 | 2019-12-27 | 平安科技(深圳)有限公司 | Gateway automatic routing method and related equipment in multi-environment |
CN110992100A (en) * | 2019-12-05 | 2020-04-10 | 北京中电普华信息技术有限公司 | Electric power marketing system construction method and device |
CN111694555A (en) * | 2020-06-18 | 2020-09-22 | 国网宁夏电力有限公司营销服务中心(国网宁夏电力有限公司计量中心) | Business system construction method and device, electronic equipment and storage medium |
CN111767047A (en) * | 2020-06-28 | 2020-10-13 | 北京思特奇信息技术股份有限公司 | Micro-service component management method and device |
-
2021
- 2021-01-28 CN CN202110117445.8A patent/CN112801504A/en active Pending
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101998682A (en) * | 2009-08-27 | 2011-03-30 | 中兴通讯股份有限公司 | Device and method for acquiring service content by personal network equipment and related device thereof |
CN107635022A (en) * | 2016-07-18 | 2018-01-26 | 华为软件技术有限公司 | Across intranet and extranet service access methods and device |
CN109246251A (en) * | 2018-11-13 | 2019-01-18 | 杭州数梦工场科技有限公司 | A kind of micro services call method, device, system, equipment and readable storage medium storing program for executing |
CN110620727A (en) * | 2019-09-09 | 2019-12-27 | 平安科技(深圳)有限公司 | Gateway automatic routing method and related equipment in multi-environment |
CN110992100A (en) * | 2019-12-05 | 2020-04-10 | 北京中电普华信息技术有限公司 | Electric power marketing system construction method and device |
CN111694555A (en) * | 2020-06-18 | 2020-09-22 | 国网宁夏电力有限公司营销服务中心(国网宁夏电力有限公司计量中心) | Business system construction method and device, electronic equipment and storage medium |
CN111767047A (en) * | 2020-06-28 | 2020-10-13 | 北京思特奇信息技术股份有限公司 | Micro-service component management method and device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP7012836B2 (en) | Network slice management method and equipment | |
CN107306263B (en) | Protocol conversion method, platform and protocol conversion gateway | |
US9246819B1 (en) | System and method for performing message-based load balancing | |
CN114615180A (en) | Calculation force network system, calculation force calling method and device | |
CN104363291A (en) | Network communication middleware implementation method | |
CN106850788A (en) | Towards the integrated framework and integrated approach of multi-source heterogeneous geographic information resources | |
CN102946425B (en) | Based on the Uniform Communication Platform service integration framework of OSGi | |
CN109542659A (en) | Using more activating methods, equipment, data center's cluster and readable storage medium storing program for executing | |
US20020099858A1 (en) | Network communications protocol | |
WO2023000936A1 (en) | Data processing method, function device and readable storage medium | |
CN111294235A (en) | Data processing method, device, gateway and readable storage medium | |
US20230033272A1 (en) | Method and apparatus for dynamic and efficient load balancing in mobile communication network | |
CN107846365A (en) | A kind of load balancing based on SDN realizes system and method | |
CN114979133B (en) | Deployment method and device for converged communication cloud platform | |
CN111200606A (en) | Deep learning model task processing method, system, server and storage medium | |
CN114840329A (en) | Cloud and native hybrid integration method based on block chain | |
CN113472848A (en) | Network fusion method and device of virtual machine and container and related equipment | |
CN112801504A (en) | Power grid service processing method based on micro-service architecture | |
CN102238505B (en) | Method and system for processing multi-user parallel signalling tracking at client | |
CN115499432A (en) | Family terminal computing resource management system and computing resource scheduling method | |
CN114501347A (en) | Information interaction method, device and system between heterogeneous systems | |
CN112165529A (en) | Method, device, equipment and medium for low-cost cross-network data exchange | |
CN110719303B (en) | Containerization NRF method and system | |
CN114500646B (en) | Decentralizing ESB cloud platform system and service calling method thereof | |
CN113301104B (en) | Data processing system and method |
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 |