An interface platform for information interaction between multiple services of a power grid and a working method thereof
By designing a multi-service information interaction interface platform in the power grid system, using different transmission methods and technologies, the problem of data sharing between power grid systems is solved, service quality assurance for high concurrent data access is achieved, and power management efficiency and environmental security are improved. .
Patent Information
- Application Number
- CN202010767098.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Priority Date
- 2020-05-11
- Filing Date
- 2020-08-03
- Publication Date
- 2024-11-22
- Estimated Expiration
- 2040-08-03
AI Technical Summary
It is difficult to achieve the common use of cross-data between various systems in the power grid, resulting in repetitive and management complexity in power consumption management, and it is difficult for existing message middleware to ensure service quality when accessing high concurrent data.
Design an interface platform for information interaction between multiple services in the power grid, including the interface service layer, the background computing layer, the data source layer, the file service layer and the communication layer. It adopts different transmission methods for data with different real-time requirements and uses WebService , ActiveMQ, KafKa, RMI and distributed caching technology to achieve service quality assurance when accessing high concurrent data.
Effectively improve data processing speed and service response speed, reduce direct interaction between peripheral systems and databases, provide high concurrency and flexible data management, improve the efficiency of emergency repairs of distribution networks, and provide a safer and more efficient environment for the power environment. .
Smart Images

Figure CN112131255B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of interactive interfaces, and in particular to an interface platform for information interaction between multiple services of a power grid and a working method thereof. Background Art
[0002] The electricity consumption information collection system is an important part of the smart grid. It is mainly responsible for user terminal information collection and centralized management. It can provide electricity consumption data for various business systems of the power grid to assist in realizing the functions of various business systems. In terms of supporting distribution network operation and management, business application systems such as the State Grid Power Supply Service Command Platform and the 95598 Business Support System hope to use the functions and data in the electricity consumption information collection system to improve the accuracy of work order classification and online problem solving capabilities, and realize lean management. Among them, the power supply service command system is a support system for the coordinated command of distribution operations centered on reliable power supply, and the 95598 business support system is mainly responsible for connecting with customers and is the main service window of the State Grid for power customers. Power companies need to choose a suitable interaction method between the electricity consumption information collection system and other power grid business application systems and build a suitable interface platform.
[0003] At present, the various systems in the power grid operate relatively independently, making it difficult to use some cross-cutting data together, resulting in duplication of workload and complexity in management. The existing general data transmission framework built using the message middleware ActiveMQ has the problem of difficulty in ensuring service quality when accessing high-concurrency data. Summary of the invention
[0004] The technical problem to be solved and the technical task proposed by the present invention are to improve and perfect the existing technical solutions, provide an interface platform for information interaction between multiple services of the power grid, and adopt different transmission methods for data with different real-time requirements of the power grid, so as to achieve the purpose of ensuring service quality during high-concurrency data access. To this end, the present invention adopts the following technical solutions.
[0005] An interface platform for information interaction between multiple services in a power grid, characterized by comprising: an interface service layer, a background computing layer, a data source layer, a file service layer and a communication layer; the interface platform adopts corresponding transmission modes for data with different real-time requirements;
[0006] The interface service layer is a unified export for providing data to the outside world and is responsible for interacting with peripheral systems. The services provided include: WebService services for peripheral systems to access, HTTP file services for peripheral systems to download data files, and interaction with the background computing layer. Peripheral systems with low requirements for real-time data transmission can call static data from the interface service layer through WebService technology; peripheral systems with high requirements for real-time data transmission can call real-time data from the interface service layer through ActiveMQ or KafKa technology, thereby realizing information interaction between the power consumption information collection system and external business application systems including the 95598 business support system and the power supply service command system.
[0007] The backend computing layer is used for business logic processing and is responsible for parsing data requests forwarded by the interface service layer. It provides data collection support for the interface service layer through interaction with the data source layer.
[0008] The data source layer is the interface library or history library of the acquisition system, which is used to store static data and statistical data;
[0009] The communication service layer is connected to the data source layer and the background computing layer; it includes the front-end machine and the background analysis application module. The communication service layer provides static data for the data source layer and provides real-time data of the collection system for the background computing layer.
[0010] The file service layer is connected to the interface service layer and the background computing layer. It is a server that stores platform data files and provides support for downloading data files to the interface service layer.
[0011] In this technical solution, the interface platform can provide both static data and real-time data, which can be extracted according to different needs; the interface library is the data source of static data, which can relieve the pressure of data transmission in the main library; effectively improve the processing speed, so that the service quality can be guaranteed even when high concurrent data is accessed; and the interface service layer stores the data in a distributed cache after obtaining the data. The use of a distributed cache can facilitate multiple sharing of the same data without repeatedly accessing the database; improve the feedback speed and further improve the service quality. RMI technology is applied to the two transmission processes of real-time data from the communication service layer to the background computing layer and from the background computing layer to the interface service layer. With the support of the RMI system, when using it, only the interface, interface implementation, client program and server program need to be defined, making the process simple and time-saving. The cache technology is applied to the interface service layer to reduce the direct interaction between the peripheral system and the database. At the same time, data with more records, static data, non-real-time data, etc. can be pre-loaded into the cache, thereby improving the overall response speed of the service. When KafKa technology is applied to the real-time data interaction between the interface platform and the peripheral system, it can provide ultra-high data throughput and high concurrency. Cross-platform, low-coupling Webservice technology is also more targeted when applied to data transmission with low real-time requirements. The interface library copies the data of the main library as the data source of static data to relieve the pressure on the main library. Based on the above technology, an interface platform for information interaction between the power consumption information collection system and the peripheral business application system is established, and a data interface with high concurrency is constructed, which can realize flexible data management and make data transmission more standardized. This will promote the improvement of the efficiency of distribution network repair work and provide a safer and more efficient power environment for social production and life.
[0012] As the preferred technical means: the communication service layer provides the interface platform with real-time data of the collection system through a one-send-two-receive mechanism or stream processing.
[0013] As the preferred technical means: the data interaction between the interface service layer and the peripheral system supports XML and JSON data formats.
[0014] As the preferred technical means: the data source layer uses OGG or ETL technology to copy the main database data to the interface database; the interface database is the data source of static data to relieve the pressure of data transmission from the main database; the communication service layer transmits real-time data to the background computing layer through RMI technology; the background computing layer receives data from the data source layer and the communication service layer, and processes the received data; the background computing layer provides corresponding data according to the data request of the interface service layer, and transmits the processed data to the file server; the interface service layer can store the static data in the distributed cache after obtaining it, so that the same data can be shared multiple times without repeatedly accessing the database. OGG is the abbreviation of Oracle GoldenGate, which is a log-based structured data replication software; ETL is the abbreviation of Extract-Transform-Load, which is a data warehouse technology.
[0015] Another object of the present invention is to provide a working method of an interface platform for information interaction between multiple services of a power grid, comprising the steps of:
[0016] 1) The communication service layer transmits the collected data to the main database of the data source layer through a one-send-two-receive mechanism or stream processing technology; or the communication service layer transmits real-time data to the background computing layer through RMI technology;
[0017] 2) The data source layer uses OGG or ETL technology to copy the main database data to the interface database; the interface database is the data source of static data to relieve the pressure of data transmission from the main database;
[0018] 3) The background computing layer receives data from the data source layer and the communication service layer, and processes the received data;
[0019] 4) When the 95598 business support system calls static data from the interface service layer through WebService technology, the background computing layer provides corresponding data according to the data request of the interface service layer, and transmits the processed data to the file service layer; after the interface service layer obtains the data from the file service layer, it feeds the data back to the 95598 business support system through WebService, realizing the information interaction between the power consumption information collection system and the 95598 business support system; at the same time, the static data can be stored in the distributed cache, so that the same data can be shared multiple times without repeatedly accessing the database;
[0020] 5) When the power supply service command system calls real-time data from the interface service layer through ActiveMQ or KafKa technology, the background computing layer transmits the real-time data processed by the communication service layer to the interface service layer according to the data request of the interface service layer. The interface service layer performs data filtering and data encapsulation after obtaining the data; the power supply service command system obtains the corresponding data through the ActiveMQ or KafKa client; and the information exchange between the power consumption information collection system and the power supply service command system is completed.
[0021] A working method of an interface platform for information interaction between multiple services of a power grid, comprising the following steps:
[0022] 1) For data with high real-time requirements within the power grid, in order to ensure real-time requirements, RMI technology is used in the two data transmission processes from the communication service layer to the background computing layer and from the background computing layer to the interface service layer, and ActiveMQ or KafKa client technology is used in the data transmission process between the interface service layer and the external system;
[0023] 2) For data with low real-time requirements within the power grid, the interface library is used as the data source of the static library to alleviate the pressure of data transmission in the main library; distributed cache technology is used to reduce direct interaction with the database when the peripheral system retrieves static data; WebService technology is used in the data transmission process between the interface service layer and the external system.
[0024] Beneficial effects: In this technical solution, the interface platform can provide both static data and real-time data, which can be extracted according to different needs; the interface library is the data source of static data, which can relieve the pressure of data transmission in the main library; effectively improve the processing speed, so that the service quality can be guaranteed even when high concurrent data is accessed; and the interface service layer stores the data in a distributed cache after obtaining the static data. The use of a distributed cache can facilitate multiple sharing of the same data without repeatedly accessing the database, improve the feedback speed, and further improve the service quality. RMI technology is applied to the two transmission processes of real-time data from the communication service layer to the background computing layer and from the background computing layer to the interface service layer. With the support of the RMI system, when using it, only the interface, interface implementation, client program and server program need to be defined, making the process simple and time-saving. The cache technology is applied to the interface service layer, which can reduce the direct interaction between the peripheral system and the database. At the same time, data with more records, static data, non-real-time data, etc. can be pre-loaded into the cache, thereby improving the overall response speed of the service. When KafKa technology is applied to the real-time data interaction between the interface platform and the peripheral system, it can provide ultra-high data throughput and high concurrency. Cross-platform, low-coupling Webservice technology is also more targeted when applied to data transmission with low real-time requirements. The interface library copies the data of the main library as the data source of static data to relieve the pressure on the main library. Based on the above technology, an interface platform for information interaction between the power consumption information collection system and the peripheral business application system is established, and a data interface with high concurrency is constructed, which can realize flexible data management and make data transmission more standardized. This will promote the improvement of the efficiency of distribution network repair work and provide a safer and more efficient power environment for social production and life. BRIEF DESCRIPTION OF THE DRAWINGS
[0025] Figure 1 It is a structural block diagram of the present invention. DETAILED DESCRIPTION
[0026] The technical solution of the present invention is further described in detail below in conjunction with the accompanying drawings.
[0027] like Figure 1 As shown, the present invention includes an interface service layer, a background computing layer, a data source layer, a file service layer and a communication layer; the data interaction method is implemented by WebService+file, MQ (Message Queue) and other methods. It supports multiple data formats such as XML and JSON. Among them:
[0028] The interface service layer is a unified export for providing data to the outside world and is responsible for interacting with peripheral systems. The services provided mainly include: WebService services for peripheral systems to access; HTTP file services for peripheral systems to download data files; and it is also responsible for interacting with the background computing layer.
[0029] The background computing layer focuses on the business logic processing of the interface platform and is responsible for parsing the data requests forwarded by the interface layer; through interaction with the data source layer, it provides data collection support for the interface service layer.
[0030] The data source layer refers to the interface library or historical library of the collection system, which is the main data source for static data and statistical data of the interface platform.
[0031] The communication service layer consists of a front-end machine and a back-end analysis application, and provides the interface platform with real-time data from the collection system through a one-send-two-receive mechanism or stream processing technology.
[0032] The file service layer is the server that stores platform data files and provides support for downloading data files for the interface service layer.
[0033] When the interface platform is actually used, the electricity consumption information collection system exchanges information with the peripheral business application system through the interface platform. First, the communication service layer transmits the collected data to the main database of the data source layer through a one-send-two-receive mechanism or stream processing and other technologies. The data source layer copies the main database data to the interface library through OGG (Oracle GoldenGate, a log-based structured data replication software) or ETL (Extract-Transform-Load, data warehouse technology) technology. The interface library is the data source of static data, which can relieve the pressure of data transmission in the main library. In addition, the communication service layer transmits real-time data to the background computing layer through RMI (Remote Method Invocation) technology. The background computing layer receives data from the data source layer and the communication service layer, and processes the received data. It provides corresponding data according to the data request of the interface service layer, and transmits the processed data to the file server. After obtaining the static data, the interface service layer stores the data in the distributed cache. The use of distributed cache makes it easy to share the same data multiple times without repeatedly accessing the database. The 95598 business support system uses WebService (a cross-platform remote call technology) to call static data from the interface service layer. The power supply service command system has high requirements for real-time data transmission due to the characteristics of power supply repair work. It uses ActiveMQ (an open source message middleware) or KafKa (a high-throughput open source stream processing platform) technology to call real-time data from the interface service layer. At this point, the information exchange between the power consumption information collection system and the 95598 business support system and the power supply service command system is completed.
[0034] The corresponding working method of the present invention comprises the steps of:
[0035] 1) The communication service layer transmits the collected data to the main database of the data source layer through a one-send-two-receive mechanism or stream processing technology;
[0036] 2) The data source layer uses OGG or ETL technology to copy the main database data to the interface database; the interface database is the data source of static data to relieve the pressure of data transmission from the main database;
[0037] 3) The communication service layer transmits real-time data to the background computing layer through RMI technology;
[0038] 4) The background computing layer receives data from the data source layer and the communication service layer, and processes the received data;
[0039] 5) When the 95598 business support system calls static data from the interface service layer through WebService (a cross-platform remote call technology), the background computing layer provides corresponding data according to the data request of the interface service layer, and transmits the processed data to the file service layer; after the interface service layer obtains the data from the file service layer, it feeds the data back to the 95598 business support system through WebService, realizing the information interaction between the power consumption information collection system and the 95598 business support system; at the same time, the static data can be stored in the distributed cache, so that the same data can be shared multiple times without repeatedly accessing the database;
[0040] 6) When the power supply service command system calls real-time data from the interface service layer through ActiveMQ or KafKa technology, the background computing layer transmits the real-time data processed by the communication service layer to the interface service layer according to the data request of the interface service layer. The interface service layer filters and encapsulates the data after obtaining it, and the power supply service command system obtains the corresponding data through the ActiveMQ or KafKa client, realizing information interaction between the power consumption information collection system and the power supply service command system.
[0041] The following examples illustrate the operation and application scenarios of this platform:
[0042] 1. After the 95598 business support system agent accepts the customer's request for emergency repair, the interface platform of the present invention is used to obtain the relay status of the power consumption information collection system, the power-off record of the energy meter, the voltage, current, and fee control execution information, and combines the power outage information report and the historical fault feedback in the same area on the same day to decide whether to dispatch the fault work order for processing or merge the work orders for direct archiving.
[0043] 2. The back-end agent of the 95598 business support system will review the fault tickets received by the front-end agent, check whether the fault has been dispatched, and dispatch it to the designated provincial network company supply and rescue command center according to the landing code and fault address.
[0044] 3. After receiving the order, the municipal power supply service command system will call the relay status of the power consumption information collection system in real time through the interface platform of the present invention to determine the current pre-meter / post-meter fault again, and then call the historical power failure record of the power meter of the power consumption information collection system in real time to determine whether to handle it on site or merge repeated work orders. If it is a new fault work order, it will be sent to the emergency repair team of the corresponding power supply station.
[0045] 4. The emergency repair team of the power supply station receives the order and goes to the site to handle it. After the processing is completed, the power restoration information is returned. The interface platform of the present invention is used to call the relay status of the power consumption information collection system and the power-off record of the electric energy meter to verify the power restoration situation.
[0046] above Figure 1 The interface platform and working method for information interaction between multiple services in a power grid shown are specific embodiments of the present invention, which have embodied the substantial characteristics and progress of the present invention. According to actual use needs and under the guidance of the present invention, equivalent modifications in shape, structure, etc. can be made to the platform, which are all within the protection scope of this solution.
Claims
1. An interface platform for information interaction between multiple services in a power grid, characterized in that include: Interface service layer, background computing layer, data source layer, file service layer and communication layer; The interface service layer is a unified export for providing data to the outside world and is responsible for interacting with external systems; The services provided include: WebService services for peripheral systems to access, HTTP file services for peripheral systems to download data files, and interaction with the background computing layer; the peripheral systems include the 95598 business support system and the power supply service command system; the 95598 business support system can call static data from the interface service layer through WebService technology; the power supply service command system with high requirements for real-time data transmission can call real-time data from the interface service layer through ActiveMQ or KafKa technology, thereby realizing information interaction between the power consumption information collection system and the 95598 business support system and the power supply service command system; The backend computing layer is used for business logic processing and is responsible for parsing data requests forwarded by the interface service layer. It provides data collection support for the interface service layer through interaction with the data source layer. The data source layer is the interface library or history library of the acquisition system, which is used to store static data and statistical data; The communication service layer is connected to the data source layer and the backend computing layer; it includes the front-end machine and the backend analysis application module. The communication service layer obtains data from the power consumption information collection system; it provides static data for the data source layer and real-time data of the collection system for the backend computing layer; The file service layer is connected to the interface service layer and the background computing layer. It is a server that stores platform data files and provides support for downloading data files to the interface service layer. The data source layer copies the main database data to the interface library through OGG or ETL technology; the interface library is the data source of static data to relieve the pressure of data transmission from the main library; the communication service layer transmits real-time data to the background computing layer through RMI technology; the background computing layer receives data from the data source layer and the communication service layer, and processes the received data; the background computing layer provides corresponding data according to the data request of the interface service layer, and transmits the processed data to the file server; after obtaining the data, the interface service layer can store the data in the distributed cache, so that there is no need to repeatedly access the database when sharing the same data multiple times.
2. The interface platform for information interaction between multiple services in a power grid according to claim 1, characterized in that: The communication service layer provides the interface platform with real-time data of the collection system through a one-send-two-receive mechanism or stream processing.
3. The interface platform for information interaction between multiple services in a power grid according to claim 2, characterized in that: The data interaction between the interface service layer and the peripheral systems supports XML and JSON data formats.
4. A working method of an interface platform for information interaction between multiple services of a power grid according to any one of claims 1 to 3, characterized in that The following steps are involved: 1) The communication service layer obtains data from the power consumption information collection system through a one-send-two-receive mechanism or stream processing technology, and transmits it to the main database of the data source layer; Or the communication service layer transmits real-time data to the background computing layer through RMI technology; 2) The data source layer uses OGG or ETL technology to copy the main database data to the interface database; the interface database is the data source of static data to relieve the pressure of data transmission from the main database; 3) The background computing layer receives data from the data source layer and the communication service layer, and processes the received data; 4) When the 95598 business support system calls static data from the interface service layer through WebService technology, the background computing layer provides corresponding data according to the data request of the interface service layer, and transmits the processed data to the file service layer; after the interface service layer obtains the data from the file service layer, it feeds the data back to the 95598 business support system through WebService, thus realizing the information interaction between the power consumption information collection system and the 95598 business support system; 5) When the power supply service command system calls real-time data from the interface service layer through ActiveMQ or KafKa technology, the background computing layer transmits the real-time data processed by the communication service layer to the interface service layer according to the data request of the interface service layer. After obtaining the data, the interface service layer stores the data in the distributed cache, so that the same data can be shared multiple times without repeatedly accessing the database; the power supply service command system obtains the corresponding data through the distributed cache; The information exchange between the electricity consumption information collection system and the power supply service command system is completed.
