CN116192616A - Micro-service-based power standby and regulation system processing method and device and computer equipment - Google Patents

Micro-service-based power standby and regulation system processing method and device and computer equipment Download PDF

Info

Publication number
CN116192616A
CN116192616A CN202211535059.1A CN202211535059A CN116192616A CN 116192616 A CN116192616 A CN 116192616A CN 202211535059 A CN202211535059 A CN 202211535059A CN 116192616 A CN116192616 A CN 116192616A
Authority
CN
China
Prior art keywords
service
micro
target
power
services
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
Application number
CN202211535059.1A
Other languages
Chinese (zh)
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.)
Guangxi Power Grid Co Ltd
Original Assignee
Guangxi Power Grid 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 Guangxi Power Grid Co Ltd filed Critical Guangxi Power Grid Co Ltd
Priority to CN202211535059.1A priority Critical patent/CN116192616A/en
Publication of CN116192616A publication Critical patent/CN116192616A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/06Management of faults, events, alarms or notifications
    • H04L41/0654Management of faults, events, alarms or notifications using network fault recovery
    • H04L41/0668Management of faults, events, alarms or notifications using network fault recovery by dynamic selection of recovery network elements, e.g. replacement by the most appropriate element after failure
    • 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
    • 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
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J13/00Circuit arrangements for providing remote indication of network conditions, e.g. an instantaneous record of the open or closed condition of each circuitbreaker in the network; Circuit arrangements for providing remote control of switching means in a power distribution network, e.g. switching in and out of current consumers by using a pulse code signal carried by the network
    • H02J13/00006Circuit arrangements for providing remote indication of network conditions, e.g. an instantaneous record of the open or closed condition of each circuitbreaker in the network; Circuit arrangements for providing remote control of switching means in a power distribution network, e.g. switching in and out of current consumers by using a pulse code signal carried by the network characterised by information or instructions transport means between the monitoring, controlling or managing units and monitored, controlled or operated power network element or electrical equipment
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J13/00Circuit arrangements for providing remote indication of network conditions, e.g. an instantaneous record of the open or closed condition of each circuitbreaker in the network; Circuit arrangements for providing remote control of switching means in a power distribution network, e.g. switching in and out of current consumers by using a pulse code signal carried by the network
    • H02J13/00006Circuit arrangements for providing remote indication of network conditions, e.g. an instantaneous record of the open or closed condition of each circuitbreaker in the network; Circuit arrangements for providing remote control of switching means in a power distribution network, e.g. switching in and out of current consumers by using a pulse code signal carried by the network characterised by information or instructions transport means between the monitoring, controlling or managing units and monitored, controlled or operated power network element or electrical equipment
    • H02J13/00028Circuit arrangements for providing remote indication of network conditions, e.g. an instantaneous record of the open or closed condition of each circuitbreaker in the network; Circuit arrangements for providing remote control of switching means in a power distribution network, e.g. switching in and out of current consumers by using a pulse code signal carried by the network characterised by information or instructions transport means between the monitoring, controlling or managing units and monitored, controlled or operated power network element or electrical equipment involving the use of Internet protocols
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J13/00Circuit arrangements for providing remote indication of network conditions, e.g. an instantaneous record of the open or closed condition of each circuitbreaker in the network; Circuit arrangements for providing remote control of switching means in a power distribution network, e.g. switching in and out of current consumers by using a pulse code signal carried by the network
    • H02J13/00032Systems characterised by the controlled or operated power network elements or equipment, the power network elements or equipment not otherwise provided for
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/02Standardisation; Integration
    • H04L41/0246Exchanging or transporting network management information using the Internet; Embedding network management web servers in network elements; Web-services-based protocols
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/06Management of faults, events, alarms or notifications
    • H04L41/0654Management of faults, events, alarms or notifications using network fault recovery
    • H04L41/0659Management of faults, events, alarms or notifications using network fault recovery by isolating or reconfiguring faulty entities
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • H04L41/0813Configuration setting characterised by the conditions triggering a change of settings
    • H04L41/082Configuration setting characterised by the conditions triggering a change of settings the condition being updates or upgrades of network functionality
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • H04L41/084Configuration by using pre-existing information, e.g. using templates or copying from other elements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1095Replication or mirroring of data, e.g. scheduling or transport for data synchronisation between network nodes
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/34Network arrangements or protocols for supporting network services or applications involving the movement of software or configuration parameters 

Landscapes

  • Engineering & Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Human Resources & Organizations (AREA)
  • Economics (AREA)
  • Strategic Management (AREA)
  • Power Engineering (AREA)
  • Theoretical Computer Science (AREA)
  • General Business, Economics & Management (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Marketing (AREA)
  • Health & Medical Sciences (AREA)
  • General Physics & Mathematics (AREA)
  • Tourism & Hospitality (AREA)
  • Physics & Mathematics (AREA)
  • Quality & Reliability (AREA)
  • Game Theory and Decision Science (AREA)
  • Educational Administration (AREA)
  • Operations Research (AREA)
  • Public Health (AREA)
  • Water Supply & Treatment (AREA)
  • General Health & Medical Sciences (AREA)
  • Primary Health Care (AREA)
  • Development Economics (AREA)
  • Supply And Distribution Of Alternating Current (AREA)

Abstract

The application relates to a micro-service-based power backup and regulation system processing method, a micro-service-based power backup and regulation system processing device, a computer device, a storage medium and a computer program product. The method comprises the following steps: extracting a plurality of target businesses with dependency relations from a plurality of business processes to be executed by the power standby and regulating system through business analysis; based on a plurality of target businesses and the dependency relationships, constructing each target business micro-service according to the same construction specification as the power master regulating system; dividing a plurality of micro services into a plurality of micro service clusters, deploying the plurality of micro service clusters in a cloud server, and integrating all the micro service clusters in the cloud server to obtain an integrated system; and carrying out iterative updating on the integrated system until the integrated system after iterative updating meets the acceptance condition, determining the integrated system meeting the acceptance condition as a target power standby system, and deploying the target power standby system on a cloud server. By adopting the method, the dispatching efficiency of the power backup dispatching system to the power system can be improved.

Description

Micro-service-based power standby and regulation system processing method and device and computer equipment
Technical Field
The present disclosure relates to the field of power system scheduling technologies, and in particular, to a method, an apparatus, and a computer device for processing a power backup and scheduling system based on micro service.
Background
With the development of the power system, the service volume of the power system is increased, and the whole running process of the large and complex power system is required to be scheduled so as to meet the production requirement of the power system.
In the conventional technology, a power system is generally scheduled through a power master scheduling system, and when the power system is more complex, auxiliary scheduling is performed on the power system through a power backup scheduling system.
However, in the conventional technology, the current power backup and regulation system is generally composed of a plurality of subsystems, but each subsystem is difficult to integrate, so that data interaction between the power backup and regulation system and the power master regulation system is affected, and the power backup and regulation system has low dispatching efficiency on the power system.
Disclosure of Invention
In view of the foregoing, it is desirable to provide a micro-service-based power backup system processing method, apparatus, computer device, computer readable storage medium, and computer program product that can improve the scheduling efficiency of the power backup system.
In a first aspect, the present application provides a method for processing a power backup and regulation system based on micro-services. The method comprises the following steps:
extracting a plurality of target services from a plurality of service processes by carrying out service analysis on the plurality of service processes to be executed by the power standby and regulating system, wherein a dependency relationship exists among the target services;
based on a plurality of target businesses and the dependency relationships, constructing micro-services corresponding to each target business according to the same construction specification as the power master control system;
dividing a plurality of micro services into a plurality of micro service clusters, deploying the plurality of micro service clusters in a cloud server, and integrating all the micro service clusters in the cloud server to obtain an integrated system;
and carrying out iterative updating on the integrated system until the integrated system after iterative updating meets the acceptance condition, determining the integrated system meeting the acceptance condition as a target power standby system, and deploying the target power standby system on a cloud server.
In one embodiment, each micro service has a dependency relationship, and after constructing the micro service corresponding to each target service according to the same construction specification as the power master modulation system based on a plurality of target services and the dependency relationship, the method further includes:
Configuring a protection mechanism for each micro service;
when it is determined that a failed micro-service exists, the connection between the failed micro-service and the micro-service that depends on the failed micro-service is broken based on the protection mechanism.
In one embodiment, dividing the plurality of micro services into a plurality of micro service clusters includes:
acquiring respective corresponding target services of each micro service, determining the service type of each target service, and obtaining the service type of each micro service, wherein the number of the service types is a plurality;
and dividing the micro services belonging to the same service type into the same micro service cluster to obtain a plurality of micro service clusters.
In one embodiment, after determining the integrated system satisfying the acceptance condition as the target power backup system and deploying the target power backup system to the cloud server, the method further includes:
constructing a micro-service gateway which is interconnected with each micro-service;
based on the request of the micro-service gateway response user terminal, calling a target micro-service required to be called in the target power backup and regulation system from the cloud server through the micro-service gateway;
and carrying out data processing through the target micro-service, and feeding back the data processing result of the target micro-service to the user terminal.
In one embodiment, after determining the integrated system satisfying the acceptance condition as the target power backup system and deploying the target power backup system to the cloud server, the method further includes:
in a cloud server, constructing a data pool of a power system interconnected with a target power standby and regulating system;
acquiring real-time data of the power system, and storing the real-time data in a data pool;
when the real-time data is updated, the data in the data pool is synchronously updated.
In one embodiment, the power master system is deployed in a cloud server, in the cloud server, the power master system and the target power master system are configured with respective data pools, and the micro-service-based power master system processing method further includes:
synchronously storing the data in the data pool of the power master regulating system in the data pool of the target power backup regulating system;
when the power master system fails, the data lost by the power master system when the power master system fails is obtained by accessing the data pool of the target power backup system.
In a second aspect, the present application further provides a power backup and regulation system processing device based on the micro service. The device comprises:
the target service extraction module is used for extracting a plurality of target services from a plurality of service processes by carrying out service analysis on the plurality of service processes to be executed by the power backup and adjustment system, wherein a dependency relationship exists among the target services;
The micro-service construction module is used for constructing micro-services corresponding to each target service according to the same construction specification as the power master control system based on a plurality of target services and the dependency relationship;
the integrated system acquisition module is used for dividing the plurality of micro-services into a plurality of micro-service clusters, deploying the plurality of micro-service clusters on the cloud server, and integrating the micro-service clusters in the cloud server to acquire an integrated system;
the power backup and adjustment system determining module is used for carrying out iterative updating on the integrated system until the integrated system after iterative updating meets the acceptance condition, determining the integrated system meeting the acceptance condition as a target power backup and adjustment system, and deploying the target power backup and adjustment system on the cloud server.
In a third aspect, the present application also provides a computer device. The computer device comprises a memory storing a computer program and a processor which when executing the computer program performs the steps of:
extracting a plurality of target services from a plurality of service processes by carrying out service analysis on the plurality of service processes to be executed by the power standby and regulating system, wherein a dependency relationship exists among the target services;
Based on a plurality of target businesses and the dependency relationships, constructing micro-services corresponding to each target business according to the same construction specification as the power master control system;
dividing a plurality of micro services into a plurality of micro service clusters, deploying the plurality of micro service clusters in a cloud server, and integrating all the micro service clusters in the cloud server to obtain an integrated system;
and carrying out iterative updating on the integrated system until the integrated system after iterative updating meets the acceptance condition, determining the integrated system meeting the acceptance condition as a target power standby system, and deploying the target power standby system on a cloud server.
In a fourth aspect, the present application also provides a computer-readable storage medium. The computer readable storage medium having stored thereon a computer program which when executed by a processor performs the steps of:
extracting a plurality of target services from a plurality of service processes by carrying out service analysis on the plurality of service processes to be executed by the power standby and regulating system, wherein a dependency relationship exists among the target services;
based on a plurality of target businesses and the dependency relationships, constructing micro-services corresponding to each target business according to the same construction specification as the power master control system;
Dividing a plurality of micro services into a plurality of micro service clusters, deploying the plurality of micro service clusters in a cloud server, and integrating all the micro service clusters in the cloud server to obtain an integrated system;
and carrying out iterative updating on the integrated system until the integrated system after iterative updating meets the acceptance condition, determining the integrated system meeting the acceptance condition as a target power standby system, and deploying the target power standby system on a cloud server.
In a fifth aspect, the present application also provides a computer program product. The computer program product comprises a computer program which, when executed by a processor, implements the steps of:
extracting a plurality of target services from a plurality of service processes by carrying out service analysis on the plurality of service processes to be executed by the power standby and regulating system, wherein a dependency relationship exists among the target services;
based on a plurality of target businesses and the dependency relationships, constructing micro-services corresponding to each target business according to the same construction specification as the power master control system;
dividing a plurality of micro services into a plurality of micro service clusters, deploying the plurality of micro service clusters in a cloud server, and integrating all the micro service clusters in the cloud server to obtain an integrated system;
And carrying out iterative updating on the integrated system until the integrated system after iterative updating meets the acceptance condition, determining the integrated system meeting the acceptance condition as a target power standby system, and deploying the target power standby system on a cloud server.
According to the method, the device, the computer equipment, the storage medium and the computer program product for processing the power backup and dispatching system based on the micro-service, a plurality of target services with dependency relationships are extracted from a plurality of service flows to be executed by the power backup and dispatching system, splitting of the services in the power backup and dispatching system is achieved, so that micro-services corresponding to each target service obtained after splitting are built, the power backup and dispatching system is built through integrating the micro-services, the micro-service of each target service is built according to the same building specification as the power backup and dispatching system based on the plurality of target services and the dependency relationships, the efficiency of integrating the micro-services can be improved, the efficiency of data interaction between the power backup and dispatching system can be improved, the micro-service clusters obtained based on micro-service division are deployed in a cloud server, the integrated system is obtained through integrating the micro-service clusters in the cloud server, the integrated system meeting acceptance conditions after iterative updating is determined to be the power backup and dispatching system, namely, the power backup and dispatching system and the power backup and dispatching system can be deployed with the power backup and dispatching system according to the same building specification. In the whole process, the power backup and regulation system is built based on the same building specification as the power master and regulation system, and the power backup and regulation system is deployed on the cloud server, so that the efficiency of data interaction between the power backup and regulation system and the power master and regulation system can be improved, and the dispatching efficiency of the power backup and regulation system to the power system can be improved.
Drawings
FIG. 1 is an application environment diagram of a power backup and conditioning system processing method based on micro-services in one embodiment;
FIG. 2 is a flow chart of a method for processing a micro-service based power backup and conditioning system according to an embodiment;
FIG. 3 is a flow diagram of extracting a target business based on a domain-driven design in one embodiment;
FIG. 4 is a schematic diagram of data interaction of a data pool in a cloud server according to one embodiment;
FIG. 5 is a schematic diagram of a disaster recovery design in one embodiment;
FIG. 6 is a flowchart of a method for processing a micro-service based power backup and conditioning system according to another embodiment;
FIG. 7 is a flow diagram of a power backup system in one embodiment;
FIG. 8 is a schematic diagram of modules in a power backup and conditioning system according to one embodiment;
FIG. 9 is a schematic diagram of various services in a power backup and conditioning system according to one embodiment;
FIG. 10 is a block diagram of a power backup and conditioning system processing device based on micro-services in one embodiment;
FIG. 11 is an internal block diagram of a computer device in one embodiment.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application will be further described in detail with reference to the accompanying drawings and examples. It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the present application.
The power standby and regulating system processing method based on the micro-service provided by the embodiment of the application can be applied to an application environment shown in fig. 1. Wherein cloud server 102 communicates with server 104 over a network. The data storage system may store data that the server 104 needs to process. The data storage system may be integrated on the server 104 or may be located on a cloud or other network server. The server 104 performs service analysis on a plurality of service flows to be executed by the power backup and regulation system, extracts a plurality of target services with dependency relationships from the plurality of service flows, constructs respective micro services of each target service according to the same construction specification as the power backup and regulation system based on the plurality of target services and the dependency relationships among the target services, divides the plurality of micro services into a plurality of micro service clusters, deploys the micro service clusters in the cloud server 102, integrates the micro service clusters in the cloud server 102 to obtain an integrated system, performs iterative update on the integrated system, determines the integrated system meeting acceptance conditions after the iterative update as a target power backup and regulation system, and deploys the target power backup and regulation system in the cloud server 102. The cloud server 102 may be, but is not limited to, a simple, efficient, safe, reliable, and flexible in processing capacity, which is constructed by relying on a power grid to which the power system belongs, and the cloud server 102 may store various components for constructing the power master regulation system for calling when the power backup regulation system is constructed. The server 104 may be implemented as a stand-alone server or as a server cluster of multiple servers.
In one embodiment, as shown in fig. 2, a method for processing a power backup and regulation system based on micro-service is provided, and the method is applied to the server in fig. 1 for illustration, and includes the following steps:
step 202, extracting a plurality of target services from a plurality of service flows by performing service analysis on the plurality of service flows to be executed by the power backup and adjustment system, wherein a dependency relationship exists between each target service.
The power backup dispatching system is a backup system for dispatching the power system, namely a power dispatching production management system, also called OMS, and is a dispatching operation management system. The dependency relationship between the target services may specifically be: when the target service A depends on the target service B, the target service A can start executing only after the target service B is completed.
Optionally, the server may first obtain a plurality of service flows to be executed by the power backup and adjustment system, and obtain a plurality of basic services corresponding to each service flow by respectively performing service analysis on the plurality of service flows, and aggregate the plurality of basic services corresponding to each service flow to extract a plurality of core services, that is, a plurality of target services. The server can determine the dependency relationship between the target services based on the dependency relationship between the base services.
After obtaining the plurality of target services, the server may further construct a timing chart of the plurality of target services to verify whether each target service meets the requirements of the actual application scenario, i.e. verify whether the splitting of the power backup and adjustment system service meets the requirements of the actual application scenario. When the number of the target services is too large, the subsequent operation and maintenance process is complicated, and when the number of the target services is too small, the coupling degree of each basic service in each target service is relatively complex, and the process of constructing the micro service corresponding to each target service consumes more time. When the target service does not meet the requirement of the actual application scene, the server can aggregate the plurality of basic services again so as to optimize the target service and ensure that each target service meets the requirement of the actual application scene. When the requirements of the actual application scene change, the server can synchronously optimize the target service.
As shown in fig. 3, a schematic flow chart for extracting a target service based on a domain-driven design is provided, which mainly includes the following flows: the method comprises the steps of establishing unified domain terms for a plurality of business processes, so that a server can respectively analyze the business processes, identify a plurality of basic businesses corresponding to each business process, aggregate the basic businesses to obtain a plurality of target businesses, further comb the dependency relationship among the target businesses, and then construct a time sequence diagram based on the target businesses to verify whether the target businesses meet the requirements of actual application scenes or not, and continuously optimize the target businesses according to the continuous change of the requirements. The domain driving design is an architecture design methodology, and can be used for determining a service boundary, and particularly can be used for splitting a service to be executed by the power backup and adjustment system to obtain a plurality of target services.
Step 204, based on the multiple target services and the dependency relationships, constructing the micro service corresponding to each target service according to the same construction specification as the power master control system.
The building specification includes, but is not limited to, code specification, interface design specification, data structure specification, micro-service interface specification, etc. Microservices are a cloud-native architecture approach in which a single application consists of many smaller components or services that are loosely coupled and independently deployable.
Optionally, the server may call a component for building the electric power master system stored in the cloud server according to the same building specification as the electric power master system based on the multiple target services and the dependency relationship between the target services, and build the micro service corresponding to each target service based on the same technical architecture as the electric power master system, so that the multiple micro services are easy to integrate, and the unification of the electric power master system and the electric power backup system (target electric power backup system) built based on the multiple micro services is ensured, so that the efficiency of data interaction between the electric power backup system and the electric power master system is improved.
In the process of constructing the micro-service corresponding to each target service, the server can independently construct the micro-service corresponding to each service, so as to improve the construction efficiency. When each micro-service needs to be operated and maintained, the server can determine a unified operation and maintenance mechanism based on a unified technical architecture and components, so that the operation and maintenance efficiency of the power backup and regulation system is improved.
Optionally, in the process of calling components from the cloud server to build each micro-service, the components that the server may call include, but are not limited to: the same authority authentication component, log component, message pushing component and the like in the power master control system can further improve the development efficiency of the micro-service and save the development cost.
In step 206, the plurality of micro services are divided into a plurality of micro service clusters, and the plurality of micro service clusters are deployed in the cloud server, and each micro service cluster in the cloud server is integrated to obtain an integrated system.
Optionally, the server may divide the plurality of micro services into a plurality of micro service clusters, deploy the plurality of micro service clusters to the cloud server, configure a communication manner between the micro service clusters, reconfigure a call relationship between the micro services in the micro service clusters, and then integrate the micro service clusters in the cloud server to obtain an integrated system, and upload the integrated system to the cloud server.
For example, the server may deploy a plurality of micro service clusters to the cloud server based on K8S (Kubernetes, container cluster management system), and configure a communication manner between the micro service clusters based on the Feign component.
Optionally, in the process of integrating the server clusters, the server may construct a call relationship between the micro services in each micro service cluster through the RPC, and integrate each micro service cluster based on the REST API. The RPC (Remote Procedure Call, remote procedure call protocol) is a protocol for requesting services from a remote computer through a network, and spans an application layer and a transport layer, and can be used to configure call relationships between micro services. The REST API is an application programming interface conforming to REST architecture specifications, provides a flexible and lightweight application integration mode, and is suitable for integrating micro-service clusters of different service types.
And step 208, performing iterative updating on the integrated system until the integrated system after iterative updating meets the acceptance condition, determining the integrated system meeting the acceptance condition as a target power standby system, and deploying the target power standby system on the cloud server.
Optionally, the server may perform an iterative test on the integrated system based on a pre-configured test scheme, to obtain a test result after each iterative test, compare the result after each iterative test with an acceptance condition to obtain a comparison result, and perform iterative update on the integrated system based on the comparison result until the integrated system after iterative update meets the acceptance condition, determine the integrated system meeting the acceptance condition as a target power standby system, and deploy the target power standby system to the cloud server. The acceptance condition can be configured according to an actual application scene.
Illustratively, in a pre-configured test scheme, iterative testing of the integrated system includes, but is not limited to: unit testing, performance testing, security testing, SIT testing (system integration testing), UAT testing (user acceptance testing).
In the method for processing the electric power backup and regulation system based on the micro service, a plurality of target services with dependency relationships are extracted from a plurality of service flows to be executed by the electric power backup and regulation system, splitting of the services in the electric power backup and regulation system is realized, so that the micro services corresponding to each target service obtained after splitting are built, the electric power backup and regulation system is built by integrating each micro service, the micro service of each target service is built according to the same building specification as the electric power main and regulation system based on the plurality of target services and the dependency relationships, the same building specification can improve the efficiency of integrating each micro service, the efficiency of data interaction between the electric power main and regulation system and the electric power backup and regulation system can be improved, the micro service clusters obtained based on the micro service division are deployed on the cloud server, the integrated system is obtained by integrating each micro service cluster in the cloud server, the integrated system meeting acceptance conditions after iterative updating is determined as the electric power backup and regulation system to be built, and the electric power backup and regulation system to be deployed on the target power backup and regulation system is deployed on the basis of the same building specification as the electric power backup and regulation system, and the electric power backup and regulation system can be deployed with the electric power system to realize the data interaction of the electric power backup and regulation system. In the whole process, the power backup and regulation system is built based on the same building specification as the power master and regulation system, and the power backup and regulation system is deployed on the cloud server, so that the efficiency of data interaction between the power backup and regulation system and the power master and regulation system can be improved, and the dispatching efficiency of the power backup and regulation system to the power system can be improved.
In one embodiment, each micro service has a dependency relationship, and after constructing the micro service corresponding to each target service according to the same construction specification as the power master modulation system based on a plurality of target services and the dependency relationship, the method further includes:
configuring a protection mechanism for each micro service;
when it is determined that a failed micro-service exists, the connection between the failed micro-service and the micro-service that depends on the failed micro-service is broken based on the protection mechanism.
Wherein, call relations exist among the micro services, namely, dependency relations exist.
Optionally, the server may configure a protection mechanism for each micro-service, monitor a real-time running state of each micro-service, and when determining that a fault micro-service exists, send a control instruction to the micro-service that depends on the fault micro-service, and control the micro-service that depends on the fault micro-service to disconnect from the dependent fault micro-service based on the protection mechanism.
In this embodiment, by configuring a protection mechanism for each micro-service, fault isolation is achieved, faults of a plurality of micro-services and even faults of the whole system caused by faults of one micro-service are avoided, stability and reliability of the power backup and adjustment system can be improved, influence of micro-service faults on the power backup and adjustment system is reduced, and therefore scheduling efficiency of the power backup and adjustment system is improved.
In one embodiment, dividing the plurality of micro services into a plurality of micro service clusters includes:
acquiring respective corresponding target services of each micro service, determining the service type of each target service, and obtaining the service type of each micro service, wherein the number of the service types is a plurality;
and dividing the micro services belonging to the same service type into the same micro service cluster to obtain a plurality of micro service clusters.
The service types include, but are not limited to, the following: grid-connected management, operation risk management, operation plan management, operation control management, operation evaluation and improvement, secondary system management and operation support management.
Optionally, the server may determine, according to the service type of the target service corresponding to each micro service, the service type to which each micro service belongs, and when the service type of the target service is updated, the server may update the service type to which each micro service belongs synchronously, and update the obtained plurality of micro service clusters synchronously.
In this embodiment, the micro services are divided according to the service types, so that the service to be executed by the power backup and adjustment system can be split, so that each micro service in the micro service cluster corresponding to each service type can be independently constructed, and the efficiency of constructing the power backup and adjustment system is improved.
In one embodiment, after determining the integrated system satisfying the acceptance condition as the target power backup system and deploying the target power backup system to the cloud server, the method further includes:
constructing a micro-service gateway which is interconnected with each micro-service;
based on the request of the micro-service gateway response user terminal, calling a target micro-service required to be called in the target power backup and regulation system from the cloud server through the micro-service gateway;
and carrying out data processing through the target micro-service, and feeding back the data processing result of the target micro-service to the user terminal.
Wherein, different micro services correspond to different network addresses, and the target micro service is at least one.
Optionally, the server may construct a micro service gateway interconnected with each micro service, determine, based on the micro service gateway, a respective network address of each target micro service to be invoked, and invoke, based on the respective network address of each target micro service, a target micro service to be invoked from the cloud server through the micro service gateway, perform data processing through the target micro service, and feed back a data processing result of the target micro service to the user terminal.
Illustratively, in addition to responding to a request from a user terminal and providing a unified invocation service, the micro service gateway may perform at least the following functions: authenticating account information of the user terminal, authenticating authority of the account information of the user terminal, caching data processing results, routing forwarding and the like.
In this embodiment, the micro service gateway provides the calling service of the target micro service to the user terminal, so as to avoid that the user terminal needs to access the network address of the target micro service to be called one by one, improve the response efficiency to the requirement of the user terminal, and improve the management efficiency of the user terminal on each micro service.
In one embodiment, after determining the integrated system satisfying the acceptance condition as the target power backup system and deploying the target power backup system to the cloud server, the method further includes:
in a cloud server, constructing a data pool of a power system interconnected with a target power standby and regulating system;
acquiring real-time data of the power system, and storing the real-time data in a data pool;
when the real-time data is updated, the data in the data pool is synchronously updated.
Optionally, the server may construct a data pool of the power system interconnected with the target power standby and regulating system in the cloud server, and may further acquire various real-time data of the power system from a plurality of data interfaces interconnected with the power system, store the various real-time data in the data pool, and simultaneously perform fusion processing on the stored various real-time data in the data pool to construct an association between the various real-time data, where when the various real-time data are updated, the server may perform synchronous update on the data in the data pool.
Illustratively, as shown in fig. 4, a data interaction schematic of a data pool in a cloud server is provided. The server can acquire various real-time data of the power system based on the data interfaces of various service systems, the model data interfaces of the master station system in the power system, the model data interfaces of the station system in the power system, the data interfaces of the internet of things equipment in the power system, the internet data interfaces of various industry data and the data interfaces of various management data in the power system, and store the acquired real-time data in a data pool in the cloud server. Meanwhile, the server can also send the data to be queried from the data pool to a mechanism or a user terminal initiating a data query request based on a unified data interface in the cloud server so as to provide services such as data query. The mechanism or the user terminal initiating the data query request can perform data analysis operations such as data quality evaluation, data statistics and the like on the data in the data pool so as to schedule the power system through the power backup and scheduling system based on the data analysis result.
In this embodiment, the real-time data of the power system is stored in the data pool, and services such as data analysis are provided for the relevant institutions or the user terminals, so that the relevant institutions or the user terminals can conveniently perform data analysis on relevant data of the power system, and therefore the power system is scheduled based on the power backup and dispatching system, and the dispatching efficiency of the power backup and dispatching system on the power system is improved.
In one embodiment, the power master system is deployed in a cloud server, in the cloud server, the power master system and the target power master system are configured with respective data pools, and the micro-service-based power master system processing method further includes:
synchronously storing the data in the data pool of the power master regulating system in the data pool of the target power backup regulating system;
when the power master system fails, the data lost by the power master system when the power master system fails is obtained by accessing the data pool of the target power backup system.
Optionally, the server can synchronously store the data in the data pool of the power master system in the data pool of the target power master system, so as to realize the backup of the data of the power master system, namely, the data of the power master system is backed up before the power master system fails, so that when the power master system fails, the data lost by the power master system when the power master system fails can be obtained by accessing the data pool of the target power master system, the data of the power master system is recovered, and the continuity of operation of each service in the power master system is ensured.
The server may also store the data of the power backup and regulation system in the data pool of the power master and regulation system synchronously, that is, the data in the data pool of the power backup and regulation system and the data in the data pool of the power master and regulation system are mutually synchronous, so that when the power master and the power backup and regulation systems are switched, the switching can be completed quickly, and smooth migration of the data is realized. When the data in the data pools of the power master and slave systems are mutually synchronized, the server can periodically realize data synchronization based on a preconfigured period, and the period of the data synchronization can be configured according to an actual application scene.
Optionally, the server can realize "disaster recovery design" of the power master system through backup and recovery of the data of the power master system, namely backup before disaster and recovery after disaster, so as to ensure that after a fault occurs, the power master system can quickly recover the dispatching of the power system and the data interaction between the power master system and the power backup system, thereby improving the dispatching efficiency of the power backup system to the power system. As shown in fig. 5, a schematic diagram of disaster recovery design is provided, when a power master system fails, a user terminal with operation authority and a dispatching hall corresponding to the power master system can access a data pool of the power master system to obtain an offline data packet of the power master system, and download the offline data packet in real time so as to ensure the service continuity of the power master system. When the electric power main dispatching system is normal, the user terminal with the operation authority and the dispatching hall corresponding to the electric power main dispatching system can directly access the data pool of the electric power main dispatching system.
Optionally, after acquiring the offline data packet of the power master system, the server may sequentially restore the services of the power master system based on the priorities of the services in the power master system, so as to ensure continuity of the services in the power master system, where the priorities of the services may be configured according to an actual application scenario.
In this embodiment, the data of the power master system is synchronously stored in the data pool of the power backup system, so that after the power master system fails, the service continuity of the power master system can be ensured, the service interruption is avoided, the data interaction continuity of the power master system and the power backup system can be ensured, and the dispatching efficiency of the power backup system is improved.
In one embodiment, as shown in fig. 6, another method for processing a micro-service based power backup and regulation system is provided, which includes the following steps:
step 602, extracting a plurality of target services with dependency relationships from a plurality of service flows by performing service analysis on the plurality of service flows to be executed by the power backup and adjustment system;
step 604, constructing a micro service corresponding to each target service according to the same construction specification as the power master control system based on a plurality of target services and the dependency relationship among the target services;
step 606, configuring a protection mechanism for each micro-service, and when determining that the fault micro-service exists, disconnecting the connection between the fault micro-service and the micro-service depending on the fault micro-service based on the protection mechanism;
step 608, obtaining the corresponding target service of each micro service, determining the service type of each target service to obtain the service type of each micro service, dividing the micro services belonging to the same service type into the same micro service cluster to obtain a plurality of micro service clusters;
Step 610, deploying a plurality of micro-service clusters in a cloud server, and integrating each micro-service cluster in the cloud server to obtain an integrated system;
step 612, performing iterative updating on the integrated system until the integrated system after iterative updating meets the acceptance condition, determining the integrated system meeting the acceptance condition as a target power standby system, and deploying the target power standby system on the cloud server;
step 614, constructing a micro-service gateway interconnected with each micro-service, calling a target micro-service required to be called in the target power standby and regulating system from the cloud server through the micro-service gateway based on the response of the micro-service gateway to the request of the user terminal, performing data processing through the target micro-service, and feeding back the data processing result of the target micro-service to the user terminal;
step 616, constructing a data pool of the power system interconnected with the target power standby and regulating system in the cloud server, acquiring real-time data of the power system, storing the real-time data in the data pool, and synchronously updating data in the data pool when the real-time data is updated;
and 618, synchronously storing the data in the data pool of the power master system in the data pool of the target power master system, and when the power master system fails, accessing the data pool of the target power master system to acquire the data lost by the power master system when the power master system fails.
In one embodiment, as shown in fig. 7, a flow chart of constructing a power backup and regulation system according to the micro-service-based power backup and regulation system processing method is provided, where the flow chart mainly includes three stages: design phase, development and operation phase, and operation phase.
Illustratively, the design phase consists essentially of the following steps: the method comprises the steps of analyzing a business process required to be executed by an electric power standby and regulating system, realizing business design of the electric power standby and regulating system, constructing a business architecture, designing a data architecture in the electric power system based on a dependency relationship among businesses, namely completing data design, splitting the business in the electric power standby and regulating system into a plurality of target businesses, constructing micro services corresponding to each target business, realizing micro service design of the electric power standby and regulating system, and finally integrating all the micro services to complete detailed design of the electric power standby and regulating system to obtain an integrated system.
Optionally, the development and operation phase mainly includes the following steps: the method comprises the steps of firstly determining an iterative updating scheme of an integrated system, determining an acceptance criterion, then performing iterative testing on the integrated system until the integrated system after iterative updating reaches the acceptance criterion, determining the integrated system after iterative updating as a target power standby system, and performing operation and maintenance on the target power standby system to ensure normal operation of the target power standby system.
Illustratively, the operational phase mainly comprises the steps of: firstly, determining monitoring indexes of the target power standby and regulating system, and then carrying out real-time monitoring and real-time analysis on the target power standby and regulating system to generate a monitoring report so as to facilitate the subsequent operation of the target power standby and regulating system.
In another embodiment, a power backup and regulation system applied to the micro-service-based power backup and regulation system processing method is provided, and the power backup and regulation system mainly comprises the following parts: the system comprises a system supporting platform, a system application function and an external application system integration, wherein the system supporting platform is used for supporting the operation of the power backup and regulation system, and the external application system integration is used for supporting the data interaction between the power backup and regulation system and the external system. Further, according to the service type, the system application functions of the power backup and regulation system can be specifically divided into the following modules: the system comprises a grid-connected management module, an operation risk management module, an operation plan management module, an operation control management module, an operation evaluation and improvement module, a secondary system management module and an operation support management module.
Illustratively, as shown in fig. 8, a schematic diagram of the modules in the power backup and regulation system is provided. The grid-connected management module can be used for grid-connected early-stage management, grid-connected preparation management and grid-connected starting test operation management. The operation risk management module can be used for model parameter management, reactive voltage management, power monitoring system safety protection management, system operation emergency management, safety and stability management, safety and self-operation management and operation risk management and control. The operation plan management module can be used for comprehensive power failure management, operation mode management, power consumption scheduling management, power transmission capacity management, system operation plan management and distribution network power management. The operation control management module can be used for dispatching operation tickets, dispatching operation logs, dispatching information reporting and issuing, intelligent alarming, accident identification and processing, work ticket permission management and power failure information pool management. The operation evaluation and improvement module can be used for system operation evaluation, scheduling work statistics and evaluation. The secondary system management module can be used for protecting operation management, automation operation management, communication resource application and service management, automation resource and service management and distribution network terminal management. The operation support management module may be used for scheduling production environment management and work plan management.
In one embodiment, the services provided by each module in the system application function of the power backup and adjustment system may be further divided based on service types, and may be specifically divided into a public service, a computing service, an interaction service, a model service, a data service, and a presentation service. As shown in fig. 9, a schematic diagram of various services in the power backup and regulation system is provided.
By way of example, public class services may include file services, database services, cloud monitoring services, task scheduling services, etc., computing class services may include grid trend scale services, grid topology services, equipment operation anomaly services, etc., interactive class services may include condition retrieval services, evaluation services, message notifications, etc., model class services may include metadata services, dictionary data services, model compliance verification services, etc., data class services may include organization services, personnel information services, communication equipment services, station diagram services, etc., and presentation class services may include communication equipment card services, project card services, vendor card services, personnel card services, etc.
It should be understood that, although the steps in the flowcharts related to the embodiments described above are sequentially shown as indicated by arrows, these steps are not necessarily sequentially performed in the order indicated by the arrows. The steps are not strictly limited to the order of execution unless explicitly recited herein, and the steps may be executed in other orders. Moreover, at least some of the steps in the flowcharts described in the above embodiments may include a plurality of steps or a plurality of stages, which are not necessarily performed at the same time, but may be performed at different times, and the order of the steps or stages is not necessarily performed sequentially, but may be performed alternately or alternately with at least some of the other steps or stages.
Based on the same inventive concept, the embodiment of the application also provides a micro-service-based power backup and adjustment system processing device for realizing the micro-service-based power backup and adjustment system processing method. The implementation of the solution provided by the device is similar to the implementation described in the above method, so the specific limitation in the embodiments of the processing device of the power backup adjustment system based on micro service provided below may be referred to the limitation of the processing method of the power backup adjustment system based on micro service hereinabove, and will not be repeated here.
In one embodiment, as shown in fig. 10, there is provided a micro-service-based power backup and conditioning system processing apparatus, including: a target service extraction module 1002, a micro-service construction module 1004, an integrated system acquisition module 1006, and a power backup and regulation system determination module 1008, wherein:
the target service extraction module 1002 extracts a plurality of target services from a plurality of service flows by performing service analysis on the plurality of service flows to be executed by the power backup and adjustment system, wherein a dependency relationship exists between each target service;
the micro service construction module 1004 is configured to construct, based on a plurality of target services and dependency relationships, micro services corresponding to each target service according to the same construction specification as that of the power master regulation system;
an integrated system obtaining module 1006, configured to divide a plurality of micro services into a plurality of micro service clusters, deploy the plurality of micro service clusters to a cloud server, and integrate each micro service cluster in the cloud server to obtain an integrated system;
and the power backup and adjustment system determining module 1008 is configured to iteratively update the integrated system until the integrated system after the iterative update meets the acceptance condition, determine the integrated system meeting the acceptance condition as a target power backup and adjustment system, and deploy the target power backup and adjustment system to the cloud server.
In the electric power standby and regulating system processing device based on the micro service, a plurality of target services with dependency relationships are extracted from a plurality of service flows to be executed by the electric power standby and regulating system, splitting of the services in the electric power standby and regulating system is realized, so that the micro services corresponding to each target service obtained after splitting are built, the electric power standby and regulating system is built through integrating each micro service, the micro service of each target service is built according to the same building specification as the electric power main and regulating system based on the plurality of target services and the dependency relationships, the same building specification can improve the efficiency of integrating each micro service, the efficiency of data interaction between the electric power main and regulating system can also be improved, micro service clusters obtained through micro service division are deployed on a cloud server, the integrated system is obtained through integrating each micro service cluster in the cloud server, the integrated system meeting acceptance conditions after iteration updating is determined as the electric power standby and regulating system to be built, and the target electric power standby and regulating system is deployed on the cloud server so that the electric power main and the electric power standby and regulating system can be deployed with the same electric power main and regulating system can interact with the electric power main and regulating system. In the whole process, the power backup and regulation system is built based on the same building specification as the power master and regulation system, and the power backup and regulation system is deployed on the cloud server, so that the efficiency of data interaction between the power backup and regulation system and the power master and regulation system can be improved, and the dispatching efficiency of the power backup and regulation system to the power system can be improved.
In one embodiment, the micro-service-based power backup and regulation system processing device further comprises a protection mechanism configuration module, wherein the protection mechanism configuration module is used for configuring a protection mechanism for each micro-service, and when determining that the fault micro-service exists, the connection between the fault micro-service and the micro-service depending on the fault micro-service is disconnected based on the protection mechanism.
In one embodiment, the integrated system obtaining module is further configured to obtain a target service corresponding to each micro service, determine a service type to which each target service belongs, and obtain a service type to which each micro service belongs, where the number of service types is a plurality of, and divide the micro services belonging to the same service type into the same micro service cluster to obtain a plurality of micro service clusters.
In one embodiment, the processing device of the power backup and adjustment system based on the micro service further comprises a micro service gateway construction module, wherein the micro service gateway construction module is used for constructing a micro service gateway which is interconnected with each micro service, the micro service gateway is used for calling the target micro service required to be called in the target power backup and adjustment system from the cloud server through the micro service gateway based on the request of the micro service gateway in response to the user terminal, performing data processing through the target micro service, and feeding back the data processing result of the target micro service to the user terminal.
In one embodiment, the micro-service-based power backup and regulation system processing device further includes a data pool construction module, where the data pool construction module is configured to construct, in the cloud server, a data pool of a power system interconnected with the target power backup and regulation system, obtain real-time data of the power system, and store the real-time data in the data pool, and when the real-time data is updated, synchronously update the data in the data pool.
In one embodiment, the power master system is deployed in a cloud server, in the cloud server, the power master system and the target power master system are both configured with respective data pools, the micro-service-based power master system processing device further comprises a synchronous storage module for synchronously storing data in the data pools of the power master system into the data pools of the target power master system, and when the power master system fails, the data lost by the power master system is acquired by accessing the data pools of the target power master system.
The modules in the micro-service-based power backup and regulation system processing device can be all or partially implemented by software, hardware and a combination thereof. The above modules may be embedded in hardware or may be independent of a processor in the computer device, or may be stored in software in a memory in the computer device, so that the processor may call and execute operations corresponding to the above modules.
In one embodiment, a computer device is provided, which may be a server, and the internal structure of which may be as shown in fig. 11. The computer device includes a processor, a memory, an Input/Output interface (I/O) and a communication interface. The processor, the memory and the input/output interface are connected through a system bus, and the communication interface is connected to the system bus through the input/output interface. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, computer programs, and a database. The internal memory provides an environment for the operation of the operating system and computer programs in the non-volatile storage media. The database of the computer device is used for storing the micro-service-based power backup and regulation system processing data. The input/output interface of the computer device is used to exchange information between the processor and the external device. The communication interface of the computer device is used for communicating with an external terminal through a network connection. The computer program, when executed by a processor, implements a micro-service based power backup and conditioning system processing method.
It will be appreciated by those skilled in the art that the structure shown in fig. 11 is merely a block diagram of a portion of the structure associated with the present application and is not limiting of the computer device to which the present application applies, and that a particular computer device may include more or fewer components than shown, or may combine some of the components, or have a different arrangement of components.
In an embodiment, there is also provided a computer device comprising a memory and a processor, the memory having stored therein a computer program, the processor implementing the steps of the method embodiments described above when the computer program is executed.
In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored which, when executed by a processor, carries out the steps of the method embodiments described above.
In an embodiment, a computer program product is provided, comprising a computer program which, when executed by a processor, implements the steps of the method embodiments described above.
It should be noted that, the user information (including, but not limited to, user equipment information, user personal information, etc.) and the data (including, but not limited to, data for analysis, stored data, presented data, etc.) referred to in the present application are information and data authorized by the user or sufficiently authorized by each party, and the collection, use and processing of the related data are required to comply with the related laws and regulations and standards of the related countries and regions.
Those skilled in the art will appreciate that implementing all or part of the above described methods may be accomplished by way of a computer program stored on a non-transitory computer readable storage medium, which when executed, may comprise the steps of the embodiments of the methods described above. Any reference to memory, database, or other medium used in the various embodiments provided herein may include at least one of non-volatile and volatile memory. The nonvolatile Memory may include Read-Only Memory (ROM), magnetic tape, floppy disk, flash Memory, optical Memory, high density embedded nonvolatile Memory, resistive random access Memory (ReRAM), magnetic random access Memory (Magnetoresistive Random Access Memory, MRAM), ferroelectric Memory (Ferroelectric Random Access Memory, FRAM), phase change Memory (Phase Change Memory, PCM), graphene Memory, and the like. Volatile memory can include random access memory (Random Access Memory, RAM) or external cache memory, and the like. By way of illustration, and not limitation, RAM can be in the form of a variety of forms, such as static random access memory (Static Random Access Memory, SRAM) or dynamic random access memory (Dynamic Random Access Memory, DRAM), and the like. The databases referred to in the various embodiments provided herein may include at least one of relational databases and non-relational databases. The non-relational database may include, but is not limited to, a blockchain-based distributed database, and the like. The processors referred to in the embodiments provided herein may be general purpose processors, central processing units, graphics processors, digital signal processors, programmable logic units, quantum computing-based data processing logic units, etc., without being limited thereto.
The technical features of the above embodiments may be arbitrarily combined, and all possible combinations of the technical features in the above embodiments are not described for brevity of description, however, as long as there is no contradiction between the combinations of the technical features, they should be considered as the scope of the description.
The above examples only represent a few embodiments of the present application, which are described in more detail and are not to be construed as limiting the scope of the present application. It should be noted that it would be apparent to those skilled in the art that various modifications and improvements could be made without departing from the spirit of the present application, which would be within the scope of the present application. Accordingly, the scope of protection of the present application shall be subject to the appended claims.

Claims (10)

1. A method for processing a power backup and regulation system based on micro-services, the method comprising:
extracting a plurality of target businesses from a plurality of business processes by carrying out business analysis on the plurality of business processes to be executed by the power standby and regulating system, wherein a dependency relationship exists among the target businesses;
based on a plurality of target businesses and the dependency relationships, constructing micro-services corresponding to each target business according to the same construction specification as the power master control system;
Dividing a plurality of micro services into a plurality of micro service clusters, deploying the plurality of micro service clusters in a cloud server, and integrating the micro service clusters in the cloud server to obtain an integrated system;
and carrying out iterative updating on the integrated system until the integrated system subjected to iterative updating meets the acceptance condition, determining the integrated system meeting the acceptance condition as a target power backup and adjustment system, and deploying the target power backup and adjustment system on the cloud server.
2. The method of claim 1, wherein there is a dependency between each of the micro services;
after the micro-service corresponding to each target service is built according to the same building specification as the power master control system based on the target services and the dependency relationships, the method further comprises the steps of:
configuring a protection mechanism for each micro-service;
when it is determined that a failed micro-service exists, a connection between the failed micro-service and a micro-service that depends on the failed micro-service is broken based on the protection mechanism.
3. The method of claim 1, wherein the dividing the plurality of micro services into a plurality of micro service clusters comprises:
Obtaining the corresponding target service of each micro service, determining the service type of each target service, and obtaining the service type of each micro service, wherein the number of the service types is a plurality;
and dividing the micro services belonging to the same service type into the same micro service cluster to obtain a plurality of micro service clusters.
4. The method of claim 1, wherein the determining the integrated system that meets the acceptance condition as a target power backup system and deploying the target power backup system after the cloud server further comprises:
constructing a micro-service gateway which is interconnected with each micro-service;
based on the micro service gateway responding to the request of the user terminal, calling a target micro service required to be called in the target power standby and regulating system from the cloud server through the micro service gateway;
and carrying out data processing through the target micro-service, and feeding back a data processing result of the target micro-service to the user terminal.
5. The method of claim 1, wherein the determining the integrated system that meets the acceptance condition as a target power backup system and deploying the target power backup system after the cloud server further comprises:
Constructing a data pool of a power system interconnected with the target power backup and regulation system in the cloud server;
acquiring real-time data of the power system, and storing the real-time data in the data pool;
and when the real-time data is updated, synchronously updating the data in the data pool.
6. The method of claim 1, wherein the power master system is deployed at the cloud server, wherein the power master system and the target power backup system are each configured with a respective data pool;
the method further comprises the steps of:
synchronously storing data in a data pool of the power master regulating system in a data pool of the target power backup regulating system;
when the power master system fails, the data lost by the power master system when the power master system fails is obtained by accessing the data pool of the target power master system.
7. A micro-service based power backup and conditioning system processing device, the device comprising:
the target service extraction module is used for extracting a plurality of target services from a plurality of service processes by carrying out service analysis on the plurality of service processes to be executed by the power backup and adjustment system, wherein a dependency relationship exists among the target services;
The micro-service construction module is used for constructing micro-services corresponding to each target service according to the same construction specification as the electric power main regulation system based on a plurality of target services and the dependency relations;
the integrated system acquisition module is used for dividing the micro services into a plurality of micro service clusters, deploying the micro service clusters in a cloud server, and integrating the micro service clusters in the cloud server to acquire an integrated system;
and the power backup and adjustment system determining module is used for carrying out iterative updating on the integrated system until the integrated system subjected to iterative updating meets the acceptance condition, determining the integrated system meeting the acceptance condition as a target power backup and adjustment system, and deploying the target power backup and adjustment system to the cloud server.
8. A computer device comprising a memory and a processor, the memory storing a computer program, characterized in that the processor implements the steps of the method of any of claims 1 to 6 when the computer program is executed.
9. A computer readable storage medium, on which a computer program is stored, characterized in that the computer program, when being executed by a processor, implements the steps of the method of any of claims 1 to 6.
10. A computer program product comprising a computer program, characterized in that the computer program, when being executed by a processor, implements the steps of the method of any of claims 1 to 6.
CN202211535059.1A 2022-12-02 2022-12-02 Micro-service-based power standby and regulation system processing method and device and computer equipment Pending CN116192616A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211535059.1A CN116192616A (en) 2022-12-02 2022-12-02 Micro-service-based power standby and regulation system processing method and device and computer equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211535059.1A CN116192616A (en) 2022-12-02 2022-12-02 Micro-service-based power standby and regulation system processing method and device and computer equipment

Publications (1)

Publication Number Publication Date
CN116192616A true CN116192616A (en) 2023-05-30

Family

ID=86437199

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211535059.1A Pending CN116192616A (en) 2022-12-02 2022-12-02 Micro-service-based power standby and regulation system processing method and device and computer equipment

Country Status (1)

Country Link
CN (1) CN116192616A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116708185A (en) * 2023-08-01 2023-09-05 中电科新型智慧城市研究院有限公司 Method, device, terminal equipment and storage medium for determining application service integrated system

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104504172A (en) * 2014-11-27 2015-04-08 国家电网公司 Main-standby scheduling model data synchronization method for electricity SCADA (supervisory control and data acquisition) system
CN109934402A (en) * 2019-03-11 2019-06-25 北京天润新能投资有限公司西北分公司 A kind of wind power plant centralized control center concentrate wind power prediction system and its design method
CN112000448A (en) * 2020-07-17 2020-11-27 北京计算机技术及应用研究所 Micro-service architecture-based application management method
CN113342472A (en) * 2021-06-28 2021-09-03 平安消费金融有限公司 Micro-service cluster creating method and device, electronic equipment and readable storage medium
CN214504400U (en) * 2021-01-21 2021-10-26 国家电网有限公司 Power grid operation data backup device for regional power grid master-backup scheduling
CA3177645A1 (en) * 2021-05-11 2022-11-11 Strong Force Vcn Portfolio 2019, Llc Systems, methods, kits, and apparatuses for edge-distributed storage and querying in value chain networks

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104504172A (en) * 2014-11-27 2015-04-08 国家电网公司 Main-standby scheduling model data synchronization method for electricity SCADA (supervisory control and data acquisition) system
CN109934402A (en) * 2019-03-11 2019-06-25 北京天润新能投资有限公司西北分公司 A kind of wind power plant centralized control center concentrate wind power prediction system and its design method
CN112000448A (en) * 2020-07-17 2020-11-27 北京计算机技术及应用研究所 Micro-service architecture-based application management method
CN214504400U (en) * 2021-01-21 2021-10-26 国家电网有限公司 Power grid operation data backup device for regional power grid master-backup scheduling
CA3177645A1 (en) * 2021-05-11 2022-11-11 Strong Force Vcn Portfolio 2019, Llc Systems, methods, kits, and apparatuses for edge-distributed storage and querying in value chain networks
CN113342472A (en) * 2021-06-28 2021-09-03 平安消费金融有限公司 Micro-service cluster creating method and device, electronic equipment and readable storage medium

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116708185A (en) * 2023-08-01 2023-09-05 中电科新型智慧城市研究院有限公司 Method, device, terminal equipment and storage medium for determining application service integrated system
CN116708185B (en) * 2023-08-01 2023-12-08 中电科新型智慧城市研究院有限公司 Method, device, terminal equipment and storage medium for determining application service integrated system

Similar Documents

Publication Publication Date Title
CN106713487B (en) Data synchronization method and device
CN108270726B (en) Application instance deployment method and device
CN108959385B (en) Database deployment method, device, computer equipment and storage medium
CN113032085A (en) Management method, device, server, management system and medium of cloud operating system
CN113259447B (en) Cloud platform deployment method and device, electronic equipment and storage medium
CN105095103A (en) Storage device management method and device used for cloud environment
CN116192616A (en) Micro-service-based power standby and regulation system processing method and device and computer equipment
CN114238495A (en) Method and device for switching main cluster and standby cluster of database, computer equipment and storage medium
CN110162344A (en) A kind of method, apparatus, computer equipment and readable storage medium storing program for executing that current limliting is isolated
CN111813503A (en) Micro-service application open system based on container cloud
CN113792008A (en) Method and device for acquiring network topology structure, electronic equipment and storage medium
CN117708242A (en) Method and related device for constructing disaster-backup synchronization relationship of GoldenDB database
Popović et al. A novel cloud-based advanced distribution management system solution
CN105022779A (en) Method for realizing HDFS file access by utilizing Filesystem API
CN112231399A (en) Method and device applied to graph database
CN116389233A (en) Container cloud management platform active-standby switching system, method and device and computer equipment
CN116319896A (en) Block chain-based Internet of things perception key information processing method and device
CN106202585B (en) The more scene Multi-state data systems of electric power and management method
CN110677469B (en) Security disaster recovery system and disaster recovery implementation method
Lu et al. Research on the technology of power unified cloud management platform
CN110113181A (en) Node configuration method, device, computer installation and readable storage medium storing program for executing
CN114826902B (en) Cross-region operation and maintenance data storage method and device
CN116389502B (en) Cross-cluster scheduling system, method, device, computer equipment and storage medium
CN111984274B (en) Method and device for automatically deploying ETCD cluster by one key
CN108429813A (en) Disaster recovery method, system and the terminal of cloud storage service

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