CN110851278A - Distribution network automation master station mobile application service management method and system based on micro-service architecture - Google Patents

Distribution network automation master station mobile application service management method and system based on micro-service architecture Download PDF

Info

Publication number
CN110851278A
CN110851278A CN201911087712.0A CN201911087712A CN110851278A CN 110851278 A CN110851278 A CN 110851278A CN 201911087712 A CN201911087712 A CN 201911087712A CN 110851278 A CN110851278 A CN 110851278A
Authority
CN
China
Prior art keywords
service
micro
data
distribution network
information
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
CN201911087712.0A
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.)
Nanjing SAC Automation Co Ltd
Original Assignee
Nanjing SAC Automation 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 Nanjing SAC Automation Co Ltd filed Critical Nanjing SAC Automation Co Ltd
Priority to CN201911087712.0A priority Critical patent/CN110851278A/en
Publication of CN110851278A publication Critical patent/CN110851278A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/50Allocation of resources, e.g. of the central processing unit [CPU]
    • G06F9/5083Techniques for rebalancing the load in a distributed system
    • 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/00Systems or methods specially adapted for specific business sectors, e.g. utilities or tourism
    • G06Q50/06Electricity, gas or water supply

Abstract

The invention discloses a distribution network automation master station mobile application service management method and a distribution network automation master station mobile application service management system based on a micro-service architecture, wherein the method comprises the following steps: collecting operation data of a power distribution network; storing the collected power distribution network operation data as raw data; processing the raw data, and storing processing result data as cooked data; analyzing based on the raw data and the cooked data to obtain service information corresponding to different data micro-service items and storing the service information; acquiring micro service request information of an external mobile terminal; acquiring and processing the stored service information by using the registered data microservice corresponding to the data microservice item according to the microservice request information; and returning the processed service information to the external mobile terminal corresponding to the micro-service request. The invention can improve the maintainability and expandability of the system by utilizing the micro-service architecture and improve the development and maintenance efficiency of the system. The micro-services can effectively improve the response speed of the resource request through the service cluster, and the system reliability is improved.

Description

Distribution network automation master station mobile application service management method and system based on micro-service architecture
Technical Field
The invention relates to the technical field of application of mobile internet in distribution network automation, in particular to a distribution network automation master station mobile application service management method and system based on a micro-service architecture.
Background
As an important component of intelligent power distribution network development, the distribution network automation master station system has important application value in the aspects of real-time data acquisition and monitoring, remote control of equipment, automatic fault isolation and power supply recovery, various fault alarms and the like, improves the system reliability, saves human resources, improves the management level of a power distribution network, and improves economic benefits.
The emergence of the mobile internet is changing the lives of people, and as mobile phones develop to be intelligent and networked, the application range gradually goes from the life field to the work field. The domestic mobile internet has been widely used in the field of office automation, but the application in power systems, especially in power distribution networks, is still in the first stage.
The traditional distribution network automation application mostly adopts a vertical architecture and product function development mode, so that the development repetition rate is high, the operation and maintenance efficiency is low, the response speed is low, the requirement change is difficult and the expandability is low, the data volume and the user request volume which need to be processed by the mobile application system are rapidly increased, the service complexity is continuously increased, and the traditional mode gradually cannot meet the higher requirements of the distribution network automation mobile application system on the response speed, the reliability and the expandability.
Disclosure of Invention
The technical problem to be solved by the invention is as follows: a mobile terminal distribution network automation system with high efficiency, rapidness, strong reliability and strong expandability is established by utilizing a micro-service architecture. On the basis of realizing the dual-network integration of the mobile internet and the smart grid, the informatization level of the operation management of the power distribution network and the flexibility of the service deployment of the power distribution network are improved.
The technical scheme adopted by the invention is as follows:
on one hand, the invention discloses a distribution network automation master station mobile application service management method based on a micro-service architecture, which comprises the following steps:
collecting operation data of a power distribution network;
storing the collected power distribution network operation data as raw data;
processing the raw data, and storing processing result data as cooked data;
analyzing based on the raw data and the cooked data to obtain service information corresponding to different data micro-service items and storing the service information;
acquiring micro service request information of an external mobile terminal;
acquiring and processing the stored service information by using the registered data microservice corresponding to the data microservice item according to the microservice request information;
and returning the processed service information to the external mobile terminal corresponding to the micro-service request.
Optionally, the method further includes, in response to the micro-service request information being user login request information, performing user authentication by using the registered permission micro-service, and further issuing a token to the corresponding external mobile terminal after the authentication is passed;
and after the user logs in successfully, the corresponding external mobile terminal stores the token, and the subsequently sent micro-service request information comprises the token.
Optionally, the method obtains micro-service request information of the external mobile terminal through the registered API gateway service, and then distributes the micro-service request information to the registered corresponding micro-service; the API gateway service utilizes Nginx to implement routing functions. The API gateway service provides a uniform access entrance for external access.
Optionally, the data micro service includes one or more of a load micro service, a feeder micro service, a terminal micro service, a real-time alarm micro service, a graph micro service, and an operation and maintenance micro service;
the load micro-service is used for responding to a user load micro-service request, displaying system load information in responsibility areas according to the responsibility area division of the user, displaying overall overview information of the distribution network operation load condition for a management layer user, and providing decision reference information for a scheduling user;
the feeder line micro-service is used for responding to a user feeder line micro-service request, carrying out real-time monitoring and statistical analysis on the load condition of a feeder line in a user responsibility area, feeding back a result to the external mobile terminal, and displaying the result according to the user requirement at the external mobile terminal;
the terminal micro-service is used for responding to a user terminal micro-service request, monitoring and counting the terminal online rate in a user responsibility area, and feeding back a result to the external mobile terminal so as to display the terminal operation information at the external mobile terminal;
the real-time alarm micro-service is used for monitoring and processing alarm information in each user responsibility area in real time, responding to a user real-time alarm service request and feeding back the alarm information of the corresponding user responsibility area to an external mobile terminal;
the graph micro-service is used for combining SCADA system data located in a distribution network safety I area and a GIS system located in a safety III area to generate a network topological relation graph of the whole distribution network, and marking and dynamically updating data such as primary and secondary equipment states, terminal operation states, substation monitoring and the like collected in real time in a display graph to obtain distribution network operation state data; responding to a user graphic service request, and feeding back the distribution network operation state data to an external mobile terminal;
the operation and maintenance micro-service is used for acquiring operation and maintenance data of the external mobile terminal, recording the acquired data, processing the data to obtain fault information, and distributing a fault maintenance work order to the external mobile terminal corresponding to the rush-repair personnel according to the fault information.
The invention can acquire the operation data of the power distribution network from the external acquisition terminal, the data processing can be flexibly set according to the requirement of the mobile client on the data service, and the raw data or the mature data required by each type of service can be acquired by adopting the corresponding existing data processing method.
Optionally, the method further comprises: and when any one data microservice in the plurality of data microservices at the same level called at the same time fails, finishing all calling after the failed data microservice. Namely, when a service of one hierarchy fails, a plurality of subsequent calls are forced to fail quickly, service fusing is realized, the problem that a micro-service architecture calls a plurality of services at one time, after one service fails, cascade failure is caused, so that request delay and resource waste are caused, and the avalanche effect that the whole system is unavailable due to long-time occupation of threads is avoided.
On the other hand, the invention also discloses a distribution network automation master station mobile application service management system based on the micro service architecture, which comprises the following steps: the system comprises a mobile user side, a distribution network data acquisition module, a distribution network application data processing module, a database, a cluster service module and a data micro-service module; the cluster service module comprises a service registration center, a registered API gateway service and a plurality of data micro-services;
the distribution network data acquisition module is used for acquiring distribution network operation data as raw data;
the distribution network application data processing module is used for processing the raw data to obtain cooked data and analyzing the raw data and the cooked data to obtain service information corresponding to different data micro-service items;
the database is used for storing the raw data, the cooked data and service information corresponding to different data micro-service items;
in the cluster service module, an API gateway service acquires micro-service request information of an external mobile terminal through a network and distributes the micro-service request information to corresponding data micro-services;
and the data micro service acquires and processes the stored service information, and returns the processed service information to the external mobile terminal corresponding to the micro service request.
Optionally, the data microservice includes an authority microservice, which performs user authentication by using a token authentication method of OAuth2+ JWT in response to receiving the user login request information, and further issues a token to a corresponding external mobile terminal after the authentication is passed.
Optionally, the data micro service further includes one or more of a load micro service, a feeder micro service, a terminal micro service, a real-time alarm micro service, a graph micro service, and an operation and maintenance micro service.
Optionally, the system of the present invention configures each microservice as backup and load balancing by the server cluster, so as to respond to the situation that one microservice cannot be called, and realize normal operation of the service by calling the backup thereof; the load balancing adopts a polling calling strategy. The services form service clusters among the services through Eurake configuration so as to realize mutual backup, and the load balance is realized through Ribbon configuration and polling call.
Optionally, the cluster service module further includes a fusing service implemented by Hystrix, and configured to force multiple subsequent calls to fail quickly when a service of one tier fails.
Advantageous effects
The invention has the following advantages and progresses:
1. the micro-service architecture is utilized to integrate the application interaction between the distribution network automation main station and the mobile terminal, so that the limitation of space and time can be broken through, enterprise management and engineering personnel can obtain information or execute assigned tasks by means of the mobile terminal whenever and wherever, the informatization and intellectualization levels of distribution network management are promoted, and the safe operation of a distribution network system is guaranteed;
2. based on the micro-service architecture, a scene that a large number of mobile terminals log in and request resources for the server in a short time can be effectively responded by utilizing the cluster of the server, the response speed of the resource request is improved, and the reliability of the system is improved;
3. based on the development ideas of loose coupling and decentralization of the micro-service architecture, the invention can change the traditional vertical architecture from the distribution network automation main station to the mobile user side by utilizing the micro-service architecture, so that the system is easy to maintain and has stronger expandability.
Drawings
Fig. 1 is a schematic diagram of a distribution network automation master station mobile application service management system based on a micro-service architecture according to the present invention.
Detailed Description
The following further description is made in conjunction with the accompanying drawings and the specific embodiments.
The invention conception of the invention is as follows: the idea of componentization, loose coupling and decentralization of the micro-service architecture is an important way for solving complex problems, various functions of the micro-service architecture development distribution network system can be decoupled and decomposed into different micro-services by utilizing the micro-service architecture development distribution network system, each micro-service has a data processing and communication mechanism, each dispersed application service can be independently developed and maintained, the development efficiency, maintainability and expandability of the system are enhanced, and meanwhile, the reliability of the system can be increased through cluster services to improve the response speed of resource requests.
Compared with the traditional PC terminal distribution network master station system, the mobile terminal application has the characteristic of no limitation of time and space. By means of mobile terminal equipment such as a smart phone, a distribution network advanced manager can check various KPI (Key performance indicator) completion conditions and fault first-aid repair completion conditions through real-time remote interactive operation of the mobile terminal; the operation and maintenance personnel can acquire fault information and execute assignment tasks in time wherever and wherever; the dispatching personnel can check the operation condition of the distribution network, the line load and the alarm information through the mobile terminal, and can make a dispatching decision in time, so that the real-time performance and the high efficiency of the operation of the distribution network can be greatly improved. Therefore, the invention realizes a mobile application system suitable for distribution network automation by using a micro-service architecture, and has important significance for realizing the dual-network integration of the mobile internet and the smart grid and upgrading the traditional distribution network.
Example 1
The embodiment is a distribution network automation master station mobile application service management method based on a micro service architecture, which comprises the following steps:
collecting operation data of a power distribution network;
storing the collected power distribution network operation data as raw data;
processing the raw data, and storing processing result data as cooked data;
analyzing based on the raw data and the cooked data to obtain service information corresponding to different data micro-service items and storing the service information;
acquiring micro service request information of an external mobile terminal;
acquiring and processing the stored service information by using the registered data microservice corresponding to the data microservice item according to the microservice request information;
and returning the processed service information to the external mobile terminal corresponding to the micro-service request.
Responding to the micro-service request information as user login request information, performing user authentication by using the registered authority micro-service, and issuing a token to a corresponding external mobile terminal after the authentication is passed;
and after the user logs in successfully, the corresponding external mobile terminal stores the token, and the subsequently sent micro-service request information comprises the token.
The method comprises the steps that micro-service request information of an external mobile terminal is obtained through registered API gateway service and then distributed to registered corresponding micro-services; the API gateway service utilizes Nginx to implement routing functions. The API gateway service provides a uniform access entrance for external access.
The data micro-service comprises load micro-service, feeder micro-service, terminal micro-service, real-time alarm micro-service, graphic micro-service and operation and maintenance micro-service;
the load micro-service is used for responding to a user load micro-service request, displaying system load information in responsibility areas according to the responsibility area division of the user, displaying overall overview information of the distribution network operation load condition for a management layer user, and providing decision reference information for a scheduling user;
the feeder line micro-service is used for responding to a user feeder line micro-service request, carrying out real-time monitoring and statistical analysis on the load condition of a feeder line in a user responsibility area, feeding back a result to the external mobile terminal, and displaying the result according to the user requirement at the external mobile terminal;
the terminal micro-service is used for responding to a user terminal micro-service request, monitoring and counting the terminal online rate in a user responsibility area, and feeding back a result to the external mobile terminal so as to display the terminal operation information at the external mobile terminal;
the real-time alarm micro-service is used for monitoring and processing alarm information in each user responsibility area in real time, responding to a user real-time alarm service request and feeding back the alarm information of the corresponding user responsibility area to an external mobile terminal;
the graph micro-service is used for combining SCADA system data located in a distribution network safety I area and a GIS system located in a safety III area to generate a network topological relation graph of the whole distribution network, and marking and dynamically updating data such as primary and secondary equipment states, terminal operation states, substation monitoring and the like collected in real time in a display graph to obtain distribution network operation state data; responding to a user graphic service request, and feeding back the distribution network operation state data to an external mobile terminal;
the operation and maintenance micro-service is used for acquiring operation and maintenance data of the external mobile terminal, recording the acquired data, processing the data to obtain fault information, and distributing a fault maintenance work order to the external mobile terminal corresponding to the rush-repair personnel according to the fault information.
The invention can acquire the operation data of the power distribution network from the external acquisition terminal, the data processing can be flexibly set according to the requirement of the mobile client on the data service, and the raw data or the mature data required by each type of service can be acquired by adopting the corresponding existing data processing method.
The method of the embodiment further comprises the following steps: forcing multiple subsequent calls to fail quickly in response to a tier of service failure. The method realizes service fusing, can solve the problem that a micro-service architecture calls a plurality of services at one time, and cascade failure is caused after one service fails, thereby causing request delay and resource waste, and avoiding the avalanche effect that the whole system is unavailable due to long-time occupation of threads.
In this embodiment, among the multiple micro services, the server cluster configures the micro services as backup and load balancing, and when a micro service cannot be called, the backup of the micro service can be called to ensure normal operation of the service, and the load balancing uses a polling call strategy. Example 2
The present embodiment is a distribution network automation master station mobile application service management system based on a micro service architecture, and referring to fig. 1, the system includes: the system comprises a mobile user side, a distribution network data acquisition module, a distribution network application data processing module, a database, a cluster service module and a data micro-service module; the cluster service module comprises a service registration center, a registered API gateway service and a plurality of data micro-services;
the distribution network data acquisition module is used for acquiring distribution network operation data as raw data;
the distribution network application data processing module is used for processing the raw data to obtain cooked data and analyzing the raw data and the cooked data to obtain service information corresponding to different data micro-service items;
the database is used for storing the raw data, the cooked data and service information corresponding to different data micro-service items;
in the cluster service module, an API gateway service acquires micro-service request information of an external mobile terminal through a network and distributes the micro-service request information to corresponding data micro-services;
and the data micro service acquires and processes the stored service information, and returns the processed service information to the external mobile terminal corresponding to the micro service request.
The data microservice comprises an authority microservice, which responds to the received user login request information, adopts a token verification method of OAuth2+ JWT to verify the user, and then issues a token to a corresponding external mobile terminal after the verification is passed.
In the embodiment shown in fig. 1, the system is based on the construction of a distribution network acquisition layer, a persistence layer, a distribution network application layer, a cluster service and a data microservice for a service architecture.
The distribution network acquisition layer is responsible for acquiring distribution network operation data and writing the acquired data into a database.
The persistent layer is used for storing the acquired data and storing the cooked data through middleware processing.
The distribution network application layer combines the raw data and the cooked data, processes the two types of data through the calculation module, respectively generates alarm information and KPI information, and stores the alarm information and the KPI information into the database.
In the cluster service, each micro service is configured by Eurake to form a service registration cluster, and the service registration cluster is backup, so that when one micro service can work, the normal operation of the service can be ensured, the load balance is configured by Ribbon, and the load balance is realized by polling. And meanwhile, an API gateway is arranged to realize a routing function, and an external request is distributed to a specific micro-service to realize a uniform entrance of external access.
The cluster service employs a Hystrix implemented fuse service to force multiple subsequent calls to fail quickly when one tier of service fails.
The data micro-service comprises authority micro-service, load micro-service, feeder micro-service, terminal micro-service, real-time alarm micro-service, graphic micro-service, operation and maintenance micro-service and the like.
The authority microservice adopts the token verification method of OAuth2+ JWT. When a user sends a login request, the permission microservice carries out security verification on a user name and a password, a token is issued and sent to the mobile terminal after the verification is successful, the mobile terminal stores the token and carries the issued token when requesting resources from the server every time, and if the verification of the server is passed, the requested data is returned to the mobile terminal.
The load micro-service displays data such as system real-time active power today, yesterday historical active power today, the maximum value yesterday and the corresponding time in the responsibility area according to the responsibility area division of the user, displays the overall overview of the operation of the distribution network for the user, and provides reference for the scheduling decision of the user.
The feeder line micro-service displays the number of the heavy-load lines on the first page through real-time monitoring and statistical analysis of the load condition of the feeder line in a user responsibility area, displays the names of the heavy-load lines of each county and each station on a lower drill interface of the feeder line micro-service, and sorts the names according to the line load rate.
The terminal micro-service provides monitoring and statistical information of the FTU online rate and the fault indicating online rate in the user responsibility area, statistical percentages of the FTU online rate and the fault indicating online rate are displayed on a home page, and specific terminal information which is not online can be checked by clicking a drill-down interface, so that reference is provided for maintenance management personnel.
The real-time warning micro-service monitors the warning information in the user responsibility area in real time, displays different color marks according to the warning grade, and the user can inquire and screen the warning information according to the warning type and the warning grade and prompt the information with higher warning grade. The user can check the detailed information such as the time when the alarm occurs, the content of the specific alarm, whether the alarm is resolved and the like by clicking the alarm information.
The graph micro-service combines SCADA system data located in a distribution network safety I area and a GIS system located in a safety III area to generate a network topological relation graph of the whole distribution network, and marks and dynamically updates data such as primary and secondary equipment states, terminal operation states, substation monitoring and the like acquired in real time in a display graph. The graphic micro-service effectively combines geographic information, distribution network equipment attribute information, operation information and real-time monitoring information organically, realizes the whole network sharing of the distribution network operation state, realizes the functional applications of quick fault positioning, fault influence area analysis, distribution network state estimation, power flow analysis and the like, and can effectively improve the informatization level of distribution network management.
The operation and maintenance micro-service realizes the mobile operation of operation and maintenance work such as equipment inspection, defect management, equipment account recording and inquiry through the mobile terminal, can accurately locate a fault point by combining with the graphic micro-service and intelligently distribute a work order to nearby emergency repair personnel, and improves the emergency repair efficiency.
The mobile client interacts with the application server, acquires resource access authority from the authority micro-service, configures personalized settings, acquires display data from each data micro-service, and displays the data in a structured manner according to a reasonable layout mode.
The invention can utilize springclosed to construct micro-service to develop mobile application background micro-service, Nginx is used to realize API gateway, OAuth2+ JWT realizes safety verification and authorization, Eurake realizes service registration and cluster management in each micro-service, Ribbon realizes load balance, Hystrix realizes service fusing, and Config realizes unified configuration technology. The specific embodiment comprises the following steps:
1. building a total project
The total project does not contain any business logic and is used for defining the POM file to carry out unified management on Maven dependence and adding springboot related dependence.
2. Construction of microservices
The method is characterized in that related micro services are established according to different business requirements, independent development and maintenance are carried out on each micro service, and a data processing and communication mechanism is provided.
3. Registration and discovery of microservices
And establishing a service registration center submodule under the overall engineering, adding Eurake dependence, then registering each micro-service in the service center, and adding configuration information in a configuration file. Finally, the registered micro-service instance can be seen by opening the service registry address.
4. Establishing service clusters and configuring load balancing
The Eurake configures each micro service to form service registration and form internal clusters among the micro services, which are backup and call each other, so that when one micro service can work, normal operation of the service can be ensured. And (4) load balancing is configured by utilizing Ribbon, and the load balancing is realized by polling and calling.
5. Service fusing implementation
In order to solve the problem that a micro-service architecture calls a plurality of services at one time, and after one service fails, cascade failure is caused to cause request delay and resource waste, the invention adopts Hystrix to realize service fusing. When one layer of service fails, a plurality of calls behind the layer of service are forced to fail quickly, and the avalanche effect that the thread is occupied for a long time to cause the whole system to be unavailable is avoided.
6. Configuration center
A system may comprise a plurality of micro services, each micro service has its own configuration file, and when the system is changed, the configuration files of the plurality of services need to be modified, so that the operation and maintenance process is complicated and problems occur, and therefore, a springclosed configuration module is established to manage the configuration of each micro service in a centralized and dynamic manner.
7. API gateway
The routing function is implemented using Nginx. The routing function distributes the external request to a specific micro-service to realize a uniform entrance of external access, and the consistency of the micro-service to the outside is ensured.
8. Secure authentication and authorization
And the OAuth2 security framework is used for realizing the verification of the user name and the password and sending the token to the user for authorization in a JWT mode. The token comprises basic information of the user, a character string is formed in an encryption mode, and the server can obtain the basic information of the user by analyzing the token.
The method and the system can enable management, engineering and operation and maintenance personnel of the distribution network enterprise to acquire the distribution network operation information or execute assigned tasks by using the mobile terminal at any time and any place, and the system can integrate the data of the distribution network safety area I and the safety area III to share the whole network, promote the informatization and intelligentization level of distribution network management and ensure the safe operation of the distribution network system. The system disassembles the system service by using the ideas of loose coupling and decentralization in the micro-service architecture to form the micro-service, and comprises the following steps: permission microservice, load microservice, feeder microservice, terminal microservice, alarm microservice, graphical microservice, operation and maintenance microservice. The micro-service architecture can improve maintainability and expandability of the system and improve development and maintenance efficiency of the system. The response speed of the resource request is effectively improved through the service cluster among the micro services, and the reliability of the system is improved.
As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
While the present invention has been described with reference to the embodiments shown in the drawings, the present invention is not limited to the embodiments, which are illustrative and not restrictive, and it will be apparent to those skilled in the art that various changes and modifications can be made therein without departing from the spirit and scope of the invention as defined in the appended claims.

Claims (10)

1. A distribution network automation master station mobile application service management method based on a micro-service architecture is characterized by comprising the following steps:
collecting operation data of a power distribution network;
storing the collected power distribution network operation data as raw data;
processing the raw data, and storing processing result data as cooked data;
analyzing based on the raw data and the cooked data to obtain service information corresponding to different data micro-service items and storing the service information;
acquiring micro service request information of an external mobile terminal;
acquiring and processing the stored service information by using the registered data microservice corresponding to the data microservice item according to the microservice request information;
and returning the processed service information to the external mobile terminal corresponding to the micro-service request.
2. The method of claim 1, further comprising, in response to the micro-service request message being a user login request message, performing user authentication using a registered authority micro-service, and further issuing a token to a corresponding external mobile terminal after the authentication is passed;
and after the user logs in successfully, the corresponding external mobile terminal stores the token, and the subsequently sent micro-service request information comprises the token.
3. The method as claimed in claim 1, wherein the micro service request information of the external mobile terminal is obtained through the registered API gateway service and then distributed to the registered corresponding micro service.
4. The method of claim 1, wherein the data microservice comprises one or more of a load microservice, a feeder microservice, a terminal microservice, a real-time alarm microservice, a graphical microservice, and an operation and maintenance microservice;
the load micro-service is used for responding to a user load micro-service request, displaying system load information in responsibility areas according to the responsibility area division of the user, displaying overall overview information of the distribution network operation load condition for a management layer user, and providing decision reference information for a scheduling user;
the feeder line micro-service is used for responding to a user feeder line micro-service request, carrying out real-time monitoring and statistical analysis on the load condition of a feeder line in a user responsibility area, feeding back a result to the external mobile terminal, and displaying the result according to the user requirement at the external mobile terminal;
the terminal micro-service is used for responding to a user terminal micro-service request, monitoring and counting the terminal online rate in a user responsibility area, and feeding back a result to the external mobile terminal so as to display the terminal operation information at the external mobile terminal;
the real-time alarm micro-service is used for monitoring and processing alarm information in each user responsibility area in real time, responding to a user real-time alarm service request and feeding back the alarm information of the corresponding user responsibility area to an external mobile terminal;
the graph micro-service is used for combining SCADA system data located in a distribution network safety I area and a GIS system located in a safety III area to generate a network topological relation graph of the whole distribution network, and marking and dynamically updating data such as primary and secondary equipment states, terminal operation states, substation monitoring and the like collected in real time in a display graph to obtain distribution network operation state data; responding to a user graphic service request, and feeding back the distribution network operation state data to an external mobile terminal;
the operation and maintenance micro-service is used for acquiring operation and maintenance data of the external mobile terminal, recording the acquired data, processing the data to obtain fault information, and distributing a fault maintenance work order to the external mobile terminal corresponding to the rush-repair personnel according to the fault information.
5. The method of claim 1, further comprising: and when any one data microservice in the plurality of data microservices at the same level called at the same time fails, finishing all calling after the failed data microservice.
6. A distribution network automation master station mobile application service management system based on a micro-service architecture is characterized by comprising: the system comprises a mobile user side, a distribution network data acquisition module, a distribution network application data processing module, a database, a cluster service module and a data micro-service module; the cluster service module comprises a service registration center, a registered API gateway service and a plurality of data micro-services;
the distribution network data acquisition module is used for acquiring distribution network operation data as raw data;
the distribution network application data processing module is used for processing the raw data to obtain cooked data and analyzing the raw data and the cooked data to obtain service information corresponding to different data micro-service items;
the database is used for storing the raw data, the cooked data and service information corresponding to different data micro-service items;
in the cluster service module, an API gateway service acquires micro-service request information of an external mobile terminal through a network and distributes the micro-service request information to corresponding data micro-services;
and the data micro service acquires and processes the stored service information, and returns the processed service information to the external mobile terminal corresponding to the micro service request.
7. The distribution network automation host station mobile application service management system based on the micro service architecture as claimed in claim 6, wherein the data micro service includes an authority micro service, which performs user authentication by using a token authentication method of OAuth2+ JWT in response to receiving the user login request message, and further issues a token to a corresponding external mobile terminal after the authentication is passed.
8. The micro-service architecture based distribution network automation master station mobile application service management system of claim 6, wherein the data micro-services further comprise one or more of load micro-services, feeder micro-services, terminal micro-services, real-time alarm micro-services, graphical micro-services and operation and maintenance micro-services.
9. The distribution network automation master station mobile application service management system based on the micro-service architecture as claimed in claim 6, wherein each micro-service is configured to be backup and load balancing by the server cluster, so that when one micro-service cannot be called, normal operation of the service is realized by calling the backup of the micro-service; the load balancing adopts a polling calling strategy.
10. The distribution network automation master station mobile application service management system based on the micro service architecture as claimed in claim 6, wherein the cluster service module further comprises a fusing service implemented by Hystrix for forcing a plurality of subsequent calls to fail quickly when any one service of a hierarchy fails.
CN201911087712.0A 2019-11-08 2019-11-08 Distribution network automation master station mobile application service management method and system based on micro-service architecture Pending CN110851278A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911087712.0A CN110851278A (en) 2019-11-08 2019-11-08 Distribution network automation master station mobile application service management method and system based on micro-service architecture

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911087712.0A CN110851278A (en) 2019-11-08 2019-11-08 Distribution network automation master station mobile application service management method and system based on micro-service architecture

Publications (1)

Publication Number Publication Date
CN110851278A true CN110851278A (en) 2020-02-28

Family

ID=69600182

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911087712.0A Pending CN110851278A (en) 2019-11-08 2019-11-08 Distribution network automation master station mobile application service management method and system based on micro-service architecture

Country Status (1)

Country Link
CN (1) CN110851278A (en)

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111427944A (en) * 2020-03-27 2020-07-17 中核武汉核电运行技术股份有限公司 Micro-service architecture and method of nuclear power industry Internet platform
CN111915063A (en) * 2020-07-09 2020-11-10 国网冀北电力有限公司信息通信分公司 Power supply path network topology analysis display method, system and storage medium based on micro-service architecture
CN111915316A (en) * 2020-08-18 2020-11-10 南方电网数字电网研究院有限公司 Suspicious transaction monitoring method and device, computer equipment and storage medium
CN111953735A (en) * 2020-07-15 2020-11-17 烽火通信科技股份有限公司 System microservice transformation method, device, equipment and storage medium
CN111952928A (en) * 2020-08-12 2020-11-17 上海许继电气有限公司 Relay protection fault information system based on springclosed micro-service and transmission method thereof
CN112182363A (en) * 2020-09-05 2021-01-05 南方电网数字电网研究院有限公司 Intelligent inspection method, device, equipment and storage medium based on micro-service framework
CN112667673A (en) * 2021-01-06 2021-04-16 云南电网有限责任公司信息中心 Distribution network operation data monitoring method and device, computer equipment and storage medium
CN113259254A (en) * 2021-05-31 2021-08-13 上海有孚智数云创数字科技有限公司 Method, system, device, equipment and medium for processing micro-service message request
CN115065731A (en) * 2022-05-30 2022-09-16 上海电气风电集团股份有限公司 Service processing method and device, electronic equipment and computer readable storage medium
CN115086376A (en) * 2022-06-16 2022-09-20 云赛智联股份有限公司 Government affair data processing system based on micro service
CN115941701A (en) * 2022-10-13 2023-04-07 华能信息技术有限公司 Dynamic configuration method based on micro-service architecture

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108446111A (en) * 2018-03-26 2018-08-24 国家电网公司客户服务中心 A kind of micro services construction method based on Spring cloud
US20180309630A1 (en) * 2017-04-21 2018-10-25 Microsoft Technology Licensing, Llc Automated constraint-based deployment of microservices to cloud-based server sets
US20180331905A1 (en) * 2017-05-11 2018-11-15 Nirmata, Inc. Method and system for tuning performance of microservices-based applications
CN108880966A (en) * 2018-07-10 2018-11-23 安心财产保险有限责任公司 Enterprise service bus system
CN109980776A (en) * 2017-12-28 2019-07-05 中国电力科学研究院有限公司 A kind of intelligence distribution transforming system and the systematic difference method
CN110134374A (en) * 2019-05-10 2019-08-16 南京绿新能源研究院有限公司 Method based on Spring cloud micro services framework cloud SCADA system
CN110224495A (en) * 2019-07-19 2019-09-10 国网山东省电力公司临沂供电公司 Power distribution station intelligent fault reports and submits system
CN110266716A (en) * 2019-06-24 2019-09-20 中国南方电网有限责任公司 Power grid unitary service platform system

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20180309630A1 (en) * 2017-04-21 2018-10-25 Microsoft Technology Licensing, Llc Automated constraint-based deployment of microservices to cloud-based server sets
US20180331905A1 (en) * 2017-05-11 2018-11-15 Nirmata, Inc. Method and system for tuning performance of microservices-based applications
CN109980776A (en) * 2017-12-28 2019-07-05 中国电力科学研究院有限公司 A kind of intelligence distribution transforming system and the systematic difference method
CN108446111A (en) * 2018-03-26 2018-08-24 国家电网公司客户服务中心 A kind of micro services construction method based on Spring cloud
CN108880966A (en) * 2018-07-10 2018-11-23 安心财产保险有限责任公司 Enterprise service bus system
CN110134374A (en) * 2019-05-10 2019-08-16 南京绿新能源研究院有限公司 Method based on Spring cloud micro services framework cloud SCADA system
CN110266716A (en) * 2019-06-24 2019-09-20 中国南方电网有限责任公司 Power grid unitary service platform system
CN110224495A (en) * 2019-07-19 2019-09-10 国网山东省电力公司临沂供电公司 Power distribution station intelligent fault reports and submits system

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111427944A (en) * 2020-03-27 2020-07-17 中核武汉核电运行技术股份有限公司 Micro-service architecture and method of nuclear power industry Internet platform
CN111915063A (en) * 2020-07-09 2020-11-10 国网冀北电力有限公司信息通信分公司 Power supply path network topology analysis display method, system and storage medium based on micro-service architecture
CN111953735A (en) * 2020-07-15 2020-11-17 烽火通信科技股份有限公司 System microservice transformation method, device, equipment and storage medium
CN111952928A (en) * 2020-08-12 2020-11-17 上海许继电气有限公司 Relay protection fault information system based on springclosed micro-service and transmission method thereof
CN111915316A (en) * 2020-08-18 2020-11-10 南方电网数字电网研究院有限公司 Suspicious transaction monitoring method and device, computer equipment and storage medium
CN112182363B (en) * 2020-09-05 2024-02-02 南方电网数字电网研究院有限公司 Intelligent auditing method, device, equipment and storage medium based on micro-service framework
CN112182363A (en) * 2020-09-05 2021-01-05 南方电网数字电网研究院有限公司 Intelligent inspection method, device, equipment and storage medium based on micro-service framework
CN112667673A (en) * 2021-01-06 2021-04-16 云南电网有限责任公司信息中心 Distribution network operation data monitoring method and device, computer equipment and storage medium
CN113259254A (en) * 2021-05-31 2021-08-13 上海有孚智数云创数字科技有限公司 Method, system, device, equipment and medium for processing micro-service message request
CN115065731A (en) * 2022-05-30 2022-09-16 上海电气风电集团股份有限公司 Service processing method and device, electronic equipment and computer readable storage medium
CN115086376A (en) * 2022-06-16 2022-09-20 云赛智联股份有限公司 Government affair data processing system based on micro service
CN115941701A (en) * 2022-10-13 2023-04-07 华能信息技术有限公司 Dynamic configuration method based on micro-service architecture
CN115941701B (en) * 2022-10-13 2023-06-23 华能信息技术有限公司 Dynamic configuration method based on micro-service architecture

Similar Documents

Publication Publication Date Title
CN110851278A (en) Distribution network automation master station mobile application service management method and system based on micro-service architecture
CN108234168B (en) Data display method and system based on service topology
CN108134764B (en) Distributed data sharing and exchanging method and system
CN110266716B (en) Unified service platform system of power grid
CN207543147U (en) A kind of micro services regulator control system of client service center
CN103197952A (en) Management system and method aiming at maintenance and deployment of application system based on cloud infrastructure
CN108280367A (en) Management method, device, computing device and the storage medium of data manipulation permission
CN105282772A (en) Wireless network data communication equipment monitoring system and equipment monitoring method
CN105809356A (en) Information system resource management method based on application integrated cloud platform
CN109784508A (en) A kind of power grid panorama monitoring operation management method and system based on cloud platform
CN110138876B (en) Task deployment method, device, equipment and platform
CN105119966A (en) Official account management method and device
CN105956481A (en) Data processing method and device
CN109687986B (en) Redis operation and maintenance method and system based on private cloud platform
CN111178837B (en) Intelligent manufacturing information system based on micro-service architecture
CN108848132A (en) A kind of distribution scheduling station system based on cloud
CN107786671A (en) A kind of power equipment remote test system
CN103501345B (en) A kind of control method of remote centralized control system
CN107070744A (en) Server monitoring method
CN106354507A (en) Enterprise-level application management system and method for operating same
CN113596168A (en) Block chain alliance chain-based verification method and device
CN108769209B (en) Graph maintenance system and method for scheduling cloud
CN113824801B (en) Intelligent integration terminal unified access management component system
CN105071959A (en) Plug-and-play management method and system based on unified registration of power network devices
CN113220480B (en) Distributed data task cross-cloud scheduling 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
RJ01 Rejection of invention patent application after publication

Application publication date: 20200228

RJ01 Rejection of invention patent application after publication