CN111159488A - Power grid searching system and method based on micro-service architecture - Google Patents
Power grid searching system and method based on micro-service architecture Download PDFInfo
- Publication number
- CN111159488A CN111159488A CN201911166198.XA CN201911166198A CN111159488A CN 111159488 A CN111159488 A CN 111159488A CN 201911166198 A CN201911166198 A CN 201911166198A CN 111159488 A CN111159488 A CN 111159488A
- Authority
- CN
- China
- Prior art keywords
- service
- micro
- data
- module
- 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
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/90—Details of database functions independent of the retrieved data types
- G06F16/903—Querying
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/90—Details of database functions independent of the retrieved data types
- G06F16/903—Querying
- G06F16/9038—Presentation of query results
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/90—Details of database functions independent of the retrieved data types
- G06F16/904—Browsing; Visualisation therefor
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q10/00—Administration; Management
- G06Q10/06—Resources, workflows, human or project management; Enterprise or organisation planning; Enterprise or organisation modelling
- G06Q10/063—Operations research, analysis or management
- G06Q10/0631—Resource planning, allocation, distributing or scheduling for enterprises or organisations
- G06Q10/06312—Adjustment or analysis of established resource schedule, e.g. resource or task levelling, or dynamic rescheduling
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q50/00—Systems or methods specially adapted for specific business sectors, e.g. utilities or tourism
- G06Q50/06—Electricity, gas or water supply
Abstract
The invention discloses a micro-service architecture-based power grid searching system and a method, wherein the platform comprises: the microservice registry: centralized management, invocation of services and commands, and storage of data information; a service micro-service module: the micro service registration center is connected with the micro service registration center and is used for bearing or running sub services; a search calling module: the micro service registration center is connected with the micro service registration center and used for searching data information or service and calling and displaying the searched information; the micro-service management module: the system and the method are connected with the micro-service registration center and used for monitoring and tracking data information or services, realize comprehensive, rapid, accurate and intelligent search tools for various data by searching a model and combining the characteristics of power grid enterprises, find a proper channel for power grid operation and even the construction of special intelligent search tools for the power grid enterprises, and provide methods and technical references for the construction of 'electric power hundred degrees'.
Description
Technical Field
The invention relates to the technical field of electric power system dispatching automation, in particular to a micro-service architecture-based power grid searching system and method.
Background art:
with the continuous improvement of the complexity of the power system, the data volume of the service data is gradually enriched, and the system collects massive scheduling operation and management data. In order to further improve the power grid management level, various specific data often need to be acquired and processed, but the application means for massive scheduling data is delayed and the mining depth is insufficient at present, and the application of the data only stays in simple application of a surface layer, which is mainly reflected in that:
1) the regulation and control needs to acquire, produce and exchange a large amount of data in production operation, the data faces the problems of source diversification and complication, the problems of unavailable data, inaccurate data search, slow response and the like are generated, and the daily production and business management efficiency is influenced;
2) the traditional data searching mode is single, only aiming at a single service or system, is lack of overall planning, has great difficulty in quickly acquiring and deeply mining data, and cannot effectively fuse and accurately retrieve the source of the data;
3) the system has the advantages that the number of regulation and control service modules is large, the query data is just like a sea fishing needle, the pertinence is lacked, the query requirements of the inside and the outside on the regulation and control data are met, the manual query and integration data are greatly depended on, and a unified data retrieval platform is lacked;
4) the existing data query technology or module is poor in man-machine interaction experience and data display mode.
In order to solve the above problems, an internet search technology and an artificial intelligence technology are required, and a set of intelligent search tools suitable for power grid operation and management are researched by combining the characteristics of power grid enterprises, so that the intelligent search tools become one of necessary works for new generation development of power grids.
Disclosure of Invention
The invention aims to provide a micro-service architecture-based power grid searching system and method, which aim to overcome the defects of unavailable data, inaccurate searching and slow response in the prior art.
In one aspect, a micro-service architecture based grid search system is provided, where the platform includes:
the microservice registry: centralized management, invocation of services and commands, and storage of data information;
a service micro-service module: the micro service registration center is connected with the micro service registration center and is used for bearing or running sub services;
a search calling module: the micro service registration center is connected with the micro service registration center and used for searching data information or service and calling and displaying the searched information;
the micro-service management module: and the micro service registry is connected with the micro service registry and is used for monitoring and tracking data information or services.
Further, the microservice registration center is further configured to acquire and store registration information and state information of the service microservice module.
Furthermore, the service micro-service module comprises sub-service modules which are in communication connection with each other.
Further, the search invoking module comprises:
a word bank module: the system is used for collecting and storing phrase data and mapping phrases and corresponding services or data;
a search module: the word stock module is connected with the word stock module and used for acquiring the input word group, analyzing the word group and searching the data stored in the word stock module according to the analysis result;
a calling module: and the word bank module and the searching module are respectively connected and are used for displaying the data searched by the searching module and calling corresponding service or data according to the mapping relation.
Further, the micro-service management module comprises:
a service monitoring module: the micro service registry is used for monitoring the response made by the micro service registry and ensuring the operation safety of the micro service registry;
a service tracking module: the method is used for tracking the running state of the sub-service connected with the micro-service registration center and accelerating the response speed during calling.
In another aspect, a method for searching a power grid based on a micro-service architecture is provided, where the method includes the following steps:
acquiring parameter information of the sub-service;
storing the parameter information into a pre-constructed search model, and mapping the parameter information with the sub-service;
the searching model acquires input data and searches parameter information according to the input data;
and invoking the sub-service related to the input data according to the search result.
Further, the method for constructing the search model comprises the following steps:
inputting phrase data;
carrying out correlation evaluation on the phrase data, and marking the phrase data;
mapping the data of the marked phrase with the corresponding sub-service or the parameter information of the sub-service;
and storing the mapped phrase data into a phrase library.
Further, the parameter information of the sub-service includes registration information, running information, and status information of the sub-service.
Further, the phrase data are sorted according to the evaluation scores and are provided with score labels.
Further, the search results are displayed in an ordered mode according to the evaluation score.
The invention has the advantages that: according to the power grid searching system and method based on the micro-service architecture, comprehensive, rapid, accurate and intelligent searching tools for various data are realized through a searching model and by combining the characteristics of power grid enterprises, a proper channel is found for the power grid operation and even the special intelligent searching tools for power grid enterprise construction, and a method and a technical reference are provided for construction of 'electric power hundred degree'.
Drawings
Fig. 1 is a schematic diagram of a module according to the present invention.
FIG. 2 is a schematic flow chart of the method of the present invention.
Detailed Description
In order to make the technical means, the creation characteristics, the achievement purposes and the effects of the invention easy to understand, the invention is further described with the specific embodiments.
As shown in fig. 1 to 2, a micro service architecture based grid search system includes:
the microservice registry: centralized management, invocation of services and commands, and storage of data information;
a service micro-service module: the micro service registration center is connected with the micro service registration center and is used for bearing or running sub services;
a search calling module: the micro service registration center is connected with the micro service registration center and used for searching data information or service and calling and displaying the searched information;
the micro-service management module: and the micro service registry is connected with the micro service registry and is used for monitoring and tracking data information or services.
The microservice architecture technology: the micro-service architecture develops small services into a micro-unit application form, runs by itself, and communicates by adopting a lightweight message mechanism. The microservice is built around business capabilities and deployed through a fully automatic deployment tool. These services can use different programming languages and different data storage technologies and ensure minimal centralized management.
The micro service architecture has a large number of services, so a uniform registration platform is needed for managing when the micro service architecture is constructed. After each micro-service instance is started, the instance information of the micro-service instance is registered to a service registry or a service registration center of the registration platform. In addition, if the caller of the service wants to obtain the service instance list, the caller needs to obtain the relevant information of the service from the service registry or the registry.
At present, by taking a mainstream registration platform of an internet micro-service architecture as a reference, a micro-service registration center suitable for a power grid enterprise is built in power grid regulation and control.
Of course, each instance of the micro-service is published and then discovered, and a discovery mechanism is required for one micro-service instance to be perceived by other calling service parties. The service instance list can be timely obtained through service discovery, and in a micro-service architecture, after a service instance is started, the position information of the service instance is put into a registry. And then the client side inquires from the service registry to obtain a corresponding service instance. In the process of selecting a single micro-service instance, the client requests a load balancing algorithm (polling or random) to select one from a plurality of service instances and then sends a request.
In this embodiment, the microservice registration center is further configured to acquire and store registration information and state information of the business microservice module.
In this embodiment, the service microserver module includes sub-service modules communicatively connected to each other.
In this embodiment, the search invoking module includes:
a word bank module: the system is used for collecting and storing phrase data and mapping phrases and corresponding services or data;
a search module: the word stock module is connected with the word stock module and used for acquiring the input word group, analyzing the word group and searching the data stored in the word stock module according to the analysis result;
a calling module: and the word bank module and the searching module are respectively connected and are used for displaying the data searched by the searching module and calling corresponding service or data according to the mapping relation.
In this embodiment, the micro service management module includes:
a service monitoring module: the micro service registry is used for monitoring the response made by the micro service registry and ensuring the operation safety of the micro service registry;
a service tracking module: the method is used for tracking the running state of the sub-service connected with the micro-service registration center and accelerating the response speed during calling.
A power grid searching method based on a micro-service architecture comprises the following steps:
acquiring parameter information of the sub-service;
storing the parameter information into a pre-constructed search model, and mapping the parameter information with the sub-service;
the searching model acquires input data and searches parameter information according to the input data;
and invoking the sub-service related to the input data according to the search result.
In this embodiment, the method for constructing the search model includes the following steps:
inputting phrase data;
carrying out correlation evaluation on the phrase data, and marking the phrase data;
mapping the data of the marked phrase with the corresponding sub-service or the parameter information of the sub-service;
storing the mapped phrase data into a phrase library;
building a search engine roughly begins to do two things:
1) establishing a quick and effective index through a crawler technology based on data;
2) and carrying out fair and accurate sequencing according to the data correlation.
The working principle of the network crawler is that the whole network is regarded as a tree structure, so that the initial data node represents a root node, the crawler program analyzes the initial data node from the root node, the data node is automatically extracted, and then the data node is continuously analyzed according to the data node.
The enterprise index creation technology generally adopts the inverted index technology, and the technology becomes a general standard in the field of search engines. For a document, the content therein consists of words. In order to quickly present document results to a user's search terms, we build a term-document storage structure. The inverted index is a specific storage form for realizing a word-document matrix. Through the inverted index, a document list containing the term can be quickly acquired according to the term. The inverted index is mainly composed of two parts: word dictionaries and inverted files. The word dictionary may be expanded according to industry needs. An inverted file is a list of files that the user wants to retrieve. The method comprises the steps of obtaining a batch of words by segmenting words of a user retrieval statement, finding documents to be retrieved by the user in an inverted file through the words, and sequencing the documents according to priority, wherein the priority of sequencing defines a sequencing algorithm according to various weights.
The related sorting uses TF-IDF algorithm, which is a common weighted sorting algorithm in information retrieval and data mining, and is used for evaluating the matching degree of a certain word to a file or data, and calculating a matching score. The TF-IDF core has two points: 1) if a word appears more frequently in the document, the more important the word is, the higher the score, i.e., TF; 2) if a term occurs in many documents, the lower the discriminative power of the term, the lower the score, i.e., the IDF.
In this embodiment, the parameter information of the sub-service includes registration information, running information, and status information of the sub-service.
In this embodiment, the phrase data is sorted according to the scores of the evaluations, and is labeled with a score.
In this embodiment, the search results are displayed in an order according to the evaluation score.
Combining the contents, based on various power grid service data, each instance service utilizes a search engine technology to create a data index file suitable for the instance service, and allocates search weight on the basis of tf-idf algorithm, and finally, all the instance services are registered in a service management center, and all the instance services can be called to obtain corresponding data through an integral calling frame;
based on the research of micro-services and search engines, the search engine with the micro-service architecture can be built, and a search engine named 'suo yuan' is built for the whole-year research in the Hunan power grid dispatching center on the basis of dispatching historical production management data and real-time production management data. The micro-service management framework is realized, data query services facing a service scene, such as report services, parameter query services, running data query services, micro-application services, document data retrieval services, intelligent reasoning services, power grid encyclopedia and the like, are provided, the system integrally follows the architecture concept of the micro-service, each service is small and fine, and the individual service managers operate the service operation factors such as processes, logics, data, logs and the like.
And in the aspect of establishing indexes, acquiring and integrating the professional application data through a crawler and a data acquisition tool, constructing a data index and a data authority, and regularly establishing an index file required by a single service according to business requirements. Through the above, after the integral construction is completed, the display of various means including character lists, data tables, graphs, geographic information and the like for the search results of various types of power grid service data is provided.
The technical scheme highlights the combination of actual power grid business and advanced internet technologies such as microservices and search engines, finds the basis of the theory and practice of establishing special hundredths for power grid enterprises, meets the construction requirements of power grid enterprise regulation and control departments in new generation construction, and guides other large, medium and small enterprises to construct intranet search directions.
It will be appreciated by those skilled in the art that the invention may be embodied in other specific forms without departing from the spirit or essential characteristics thereof. The embodiments disclosed above are therefore to be considered in all respects as illustrative and not restrictive. All changes which come within the scope of or equivalence to the invention are intended to be embraced therein.
Claims (10)
1. A micro-service architecture based grid search system, the platform comprising:
the microservice registry: centralized management, invocation of services and commands, and storage of data information;
a service micro-service module: the micro service registration center is connected with the micro service registration center and is used for bearing or running sub services;
a search calling module: the micro service registration center is connected with the micro service registration center and used for searching data information or service and calling and displaying the searched information;
the micro-service management module: and the micro service registry is connected with the micro service registry and is used for monitoring and tracking data information or services.
2. The micro-service architecture based grid search system according to claim 1, wherein: the micro-service registration center is also used for acquiring and storing registration information and state information of the business micro-service module.
3. The micro-service architecture based grid search system according to claim 1, wherein: the service micro-service module comprises sub-service modules which are in communication connection with each other.
4. The micro-service architecture based grid search system according to claim 1, wherein: the search invoking module comprises:
a word bank module: the system is used for collecting and storing phrase data and mapping phrases and corresponding services or data;
a search module: the word stock module is connected with the word stock module and used for acquiring the input word group, analyzing the word group and searching the data stored in the word stock module according to the analysis result;
a calling module: and the word bank module and the searching module are respectively connected and are used for displaying the data searched by the searching module and calling corresponding service or data according to the mapping relation.
5. The micro-service architecture based grid search system according to claim 1, wherein: the micro-service management module comprises:
a service monitoring module: the micro service registry is used for monitoring the response made by the micro service registry and ensuring the operation safety of the micro service registry;
a service tracking module: the method is used for tracking the running state of the sub-service connected with the micro-service registration center and accelerating the response speed during calling.
6. A power grid searching method based on a micro-service architecture is characterized in that: the method comprises the following steps:
acquiring parameter information of the sub-service;
storing the parameter information into a pre-constructed search model, and mapping the parameter information with the sub-service;
the searching model acquires input data and searches parameter information according to the input data;
and invoking the sub-service related to the input data according to the search result.
7. The micro-service architecture based power grid searching method according to claim 6, wherein: the construction method of the search model comprises the following steps:
inputting phrase data;
carrying out correlation evaluation on the phrase data, and marking the phrase data;
mapping the data of the marked phrase with the corresponding sub-service or the parameter information of the sub-service;
and storing the mapped phrase data into a phrase library.
8. The micro-service architecture based power grid searching method according to claim 6, wherein: the parameter information of the sub-service includes registration information, operation information and state information of the sub-service.
9. The micro-service architecture based power grid searching method according to claim 7, wherein: and the phrase data are sorted according to the evaluation value and are provided with upper value labels.
10. The micro-service architecture based power grid searching method according to claim 9, wherein: and the search results are displayed in a sequencing mode according to the evaluation score.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911166198.XA CN111159488A (en) | 2019-11-25 | 2019-11-25 | Power grid searching system and method based on micro-service architecture |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911166198.XA CN111159488A (en) | 2019-11-25 | 2019-11-25 | Power grid searching system and method based on micro-service architecture |
Publications (1)
Publication Number | Publication Date |
---|---|
CN111159488A true CN111159488A (en) | 2020-05-15 |
Family
ID=70556129
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201911166198.XA Pending CN111159488A (en) | 2019-11-25 | 2019-11-25 | Power grid searching system and method based on micro-service architecture |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111159488A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112486945A (en) * | 2020-11-12 | 2021-03-12 | 深圳市中博科创信息技术有限公司 | Construction method of enterprise service external application system based on micro-service |
CN113285857A (en) * | 2021-07-26 | 2021-08-20 | 之江实验室 | Internet of things heterogeneous object-oriented micro-service capability description method |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103365915A (en) * | 2012-04-10 | 2013-10-23 | 北京易盟天地信息技术有限公司 | Search result ranking method based on search engine and database query system |
CN109711879A (en) * | 2018-12-25 | 2019-05-03 | 广东电网有限责任公司信息中心 | Power business application intelligent interactive method and system based on micro services framework |
CN109862051A (en) * | 2017-11-30 | 2019-06-07 | 亿阳信通股份有限公司 | The realization method and system of multi-tenant under a kind of micro services framework |
US20190319885A1 (en) * | 2018-04-16 | 2019-10-17 | Citrix Systems, Inc. | Policy based service routing |
-
2019
- 2019-11-25 CN CN201911166198.XA patent/CN111159488A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103365915A (en) * | 2012-04-10 | 2013-10-23 | 北京易盟天地信息技术有限公司 | Search result ranking method based on search engine and database query system |
CN109862051A (en) * | 2017-11-30 | 2019-06-07 | 亿阳信通股份有限公司 | The realization method and system of multi-tenant under a kind of micro services framework |
US20190319885A1 (en) * | 2018-04-16 | 2019-10-17 | Citrix Systems, Inc. | Policy based service routing |
CN109711879A (en) * | 2018-12-25 | 2019-05-03 | 广东电网有限责任公司信息中心 | Power business application intelligent interactive method and system based on micro services framework |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112486945A (en) * | 2020-11-12 | 2021-03-12 | 深圳市中博科创信息技术有限公司 | Construction method of enterprise service external application system based on micro-service |
CN113285857A (en) * | 2021-07-26 | 2021-08-20 | 之江实验室 | Internet of things heterogeneous object-oriented micro-service capability description method |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110941612A (en) | Autonomous data lake construction system and method based on associated data | |
CN103489056A (en) | Land evaluation method and expert system integrating ontologe knowledge reasoning and analytical hierarchy process | |
CN111813958B (en) | Intelligent service method and system based on innovation entrepreneur platform | |
CN111708774B (en) | Industry analytic system based on big data | |
CN106528809A (en) | Police service big data mining and analyzing platform based on PGIS and cloud computing | |
CN111159488A (en) | Power grid searching system and method based on micro-service architecture | |
CN109145168A (en) | A kind of expert service robot cloud platform | |
CN117271767B (en) | Operation and maintenance knowledge base establishing method based on multiple intelligent agents | |
US20200334314A1 (en) | Emergency disposal support system | |
CN114398442A (en) | Data-driven information processing system | |
CN110489749B (en) | Business process optimization method of intelligent office automation system | |
CN116645129A (en) | Manufacturing resource recommendation method based on knowledge graph | |
CN109542452A (en) | A kind of operation management method and system based on AI semantic analysis | |
CN111353085A (en) | Cloud mining network public opinion analysis method based on feature model | |
CN109446278A (en) | A kind of big data management platform system based on block chain | |
CN115017251B (en) | Standard mapping map establishing method and system for smart city | |
CN111581302A (en) | Decision-making assisting system based on data warehouse | |
Zhao et al. | Online distance learning precision service technology based on big data analysis | |
CN110287407A (en) | A kind of industrial policy intelligent processing method based on attributive character matrix | |
CN116361367A (en) | Content identification system and method for efficiently publishing recruitment information | |
CN112668836B (en) | Risk spectrum-oriented associated risk evidence efficient mining and monitoring method and apparatus | |
Min et al. | Data mining and economic forecasting in DW-based economical decision support system | |
CN111291102A (en) | High-performance scale statistical calculation method for government affair data mining | |
CN110991852A (en) | Corporate image promotion system architecture based on social media big data | |
KR20070102036A (en) | System and method for making analysis of document |
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 | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20200515 |