CN117407456A - Structured data sharing system for nuclear power service - Google Patents

Structured data sharing system for nuclear power service Download PDF

Info

Publication number
CN117407456A
CN117407456A CN202311689096.2A CN202311689096A CN117407456A CN 117407456 A CN117407456 A CN 117407456A CN 202311689096 A CN202311689096 A CN 202311689096A CN 117407456 A CN117407456 A CN 117407456A
Authority
CN
China
Prior art keywords
service
real
platform
management
module
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.)
Granted
Application number
CN202311689096.2A
Other languages
Chinese (zh)
Other versions
CN117407456B (en
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.)
Research Institute of Nuclear Power Operation
China Nuclear Power Operation Technology Corp Ltd
Original Assignee
Research Institute of Nuclear Power Operation
China Nuclear Power Operation Technology Corp 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 Research Institute of Nuclear Power Operation, China Nuclear Power Operation Technology Corp Ltd filed Critical Research Institute of Nuclear Power Operation
Priority to CN202311689096.2A priority Critical patent/CN117407456B/en
Publication of CN117407456A publication Critical patent/CN117407456A/en
Application granted granted Critical
Publication of CN117407456B publication Critical patent/CN117407456B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention discloses a structured data sharing system of nuclear power service, which comprises a front-end display subsystem, a service directory subsystem and a service provider subsystem; the service provider subsystem is a source of real services and is used for providing continuous real services outwards; the service directory subsystem comprises a platform service management module for configuration of the platform service and a real service management sub-module for online and offline management of the real service and marking management of the real service; the real service interaction module is in communication connection with the platform service configuration sub-module and is used for binding real service with the appointed platform service based on the API so as to input the real service into the sharing system, and the front-end display sub-system is in communication connection with the service directory sub-system and is used for displaying and searching the input real service.

Description

Structured data sharing system for nuclear power service
Technical Field
The invention relates to the technical field of computer application, in particular to a structured data sharing system of nuclear power service.
Background
The system comprises a China nuclear power large nuclear source platform (DHP) platform, a series of innovative nuclear power industrial applications oriented to a nuclear power full-industry chain, and safe, reliable and efficient operation of an operation unit, wherein the DHP platform is used as a supporting platform and a neural center of digital nuclear power, integrates data of a China nuclear power massive industrial system and equipment, builds an extensible open nuclear power industrial Internet platform, synchronously develops a nuclear power industrial application development ecological system oriented to various scenes and reusability, improves the use efficiency and sharing range of nuclear power plant hardware, service and data, realizes intelligent management and operation optimization of China nuclear power business and resources, and drives a series of innovative nuclear power industrial applications oriented to the nuclear power full-industry chain.
At present, a large number of sub-system research and development and external system access services exist on the DHP platform, overlapping services and functions exist on the services, a micro-service architecture is adopted for reducing research and development of repeated services and functions, research and development cost is reduced, and research and development efficiency is improved. However, since each system research and development group is independently researched and developed, a unified approach is not needed to know and check the open interface API of each system, and a large amount of communication cost is consumed by the open interface of the shared system service. Therefore, how to construct a data sharing system to reduce the communication cost in the development process of the DHP platform, effectively realize data sharing, and realize service information integration and management is a problem that needs to be solved at present.
Disclosure of Invention
In view of the foregoing, there is a need for a structured data sharing system for a nuclear power service to solve the above-mentioned problems.
The invention provides a structured data sharing system of nuclear power service, which comprises a front-end display subsystem, a service directory subsystem and a service provider subsystem;
the service provider subsystem is a source of real service and is used for providing continuous real service outwards through the service directory subsystem and the front-end display subsystem;
the service directory subsystem is used for unified management of the real service after the real service is input and comprises a platform service management module and a real service interaction module;
the platform service management module is used for configuration of platform services and management of real services, and comprises a platform service configuration submodule and a real service management submodule, wherein the platform service configuration submodule is used for carrying out level setting and configuration information setting of the platform services based on a preset service catalog, the level setting is used for correlating the platform services with the preset catalog classification so as to characterize the level and node distribution of the platform services in the service catalog, and the configuration information comprises a platform service name, a platform IP port and a platform interface access basic path; the real service management submodule is used for carrying out online and offline management on the real service and marking management on the real service;
The real service interaction module is in communication connection with the platform service configuration sub-module and is used for binding the real service with the appointed platform service based on an API (application program interface) so as to input the real service into the sharing system, and the real service interaction module comprises an API management sub-module, an external interface access address setting sub-module and a parameter configuration sub-module;
the API management submodule is used for associating the real service with the appointed platform service and comprises a parameter information acquisition unit and a binding unit; the parameter information acquisition unit is used for associating the API with a corresponding real service and acquiring parameter information of the real service, wherein the parameter information comprises an actual interface access address, an access parameter and a description of the real service; the binding unit is used for binding the API with the appointed platform service, and comprises the step of binding the API with the appointed configuration information of the platform service;
the external interface access address setting submodule is in communication connection with the API management submodule, and comprises an address encapsulation unit and a gateway, wherein the address encapsulation unit is used for acquiring an actual interface access address of the real service and a corresponding platform interface access basic path, compiling the actual interface access address to acquire a virtual interface access basic path, and then taking the combination of the virtual interface access basic path and the platform interface access basic path as the external interface access address of the real service on the industrial service open platform; the gateway is used for dynamically adding the external interface access address;
The parameter configuration sub-module is in communication connection with the API management sub-module and is used for acquiring the access parameters of the real service and configuring the parameter information of the real service in an industrial service open platform after description;
the front-end display subsystem is in communication connection with the service directory subsystem and is used for displaying and retrieving the recorded real service, the front-end display subsystem comprises a service display module and a service search module, and the service display module displays all recorded real service by using a service list generated based on directory classification; the service searching module is used for providing a searching entrance and acquiring real service after matching according to the input keywords.
Preferably, the real service management sub-module includes a service on-line and off-line management unit for on-line and off-line management of the real service, where the on-line and off-line management unit is used for on-line and off-line management of the real service in the service directory according to the real-time service state of each real service in the service provider sub-system, and the real service management sub-module includes a service on-line and off-line sub-unit and a service state synchronization acquisition sub-unit, where the service state synchronization acquisition sub-unit is communicatively connected with the service provider sub-system and used for synchronously acquiring the service state of the real service in the service provider sub-system and sending the service state to the service on-line and off-line sub-unit for processing, and the service on-line and off-line sub-unit modifies the on-line state of the real service in the sharing system according to the service state information.
Preferably, the line management unit further includes a service interface statistics analysis subunit, where the service interface statistics analysis subunit is used to passively trigger to determine a service state, and the service interface statistics analysis subunit performs statistics summarization on real-time real service call information, and if the service interface statistics analysis subunit statistics that a certain real service is called for multiple times, the service interface statistics analysis subunit determines that the real service is off line or deleted, and sends the service state to the service on-line and off-line subunit for processing.
Preferably, the setting sub-module of the external interface access address further includes a step of generating a random code for the real service, and the external interface access address is a combination of the virtual interface access basic path, the random code and the platform interface access basic path.
Preferably, in the platform service configuration sub-module, the same platform interface access basic path is set for the real service of the same source.
Preferably, the real service management sub-module further comprises a tag management unit, the tag management unit is used for marking the real service input into the sharing system, the tag management unit comprises a tag library, a plurality of tags are preset in the tag library, the tag library is in communication connection with the platform service configuration sub-module, and when configuration parameters of the platform service are set, the tag management unit further comprises adding or deleting a designated tag for the platform service from the tag library; and after binding the real service with the appointed platform service, correspondingly adding or deleting the appointed label by the real service.
Preferably, the configuration information of the platform service configuration sub-module further includes identity authentication information, when the real service is bound with the designated platform service, the configuration information further includes an authorization limitation for adding identity authentication information to the real service for accessing the real service via a platform, and the corresponding sharing system further includes a service security management sub-system for performing authorization processing on the real service to manage the real service and the platform service, where the service security management sub-system includes a service authorization application unit disposed in a front end display sub-system, a service authorization unit disposed in a platform service management module, a token pushing unit disposed in a real service interaction module, and a verification unit disposed in a service provider sub-system; the service authorization application unit is used for providing an authorization entrance of real service for the user, the service authorization unit is used for checking the service authorization application submitted by the foreground user, if the service authorization application passes the checking, a corresponding service authorization token/key is distributed for the user, and the token pushing unit is used for notifying token/key information corresponding to the checking unit; and the verification unit is used for verifying the token/secret key after receiving the API call instruction, and returning the corresponding service if the verification is passed.
Further, the service authorization application unit provides a user application authorization list, the user submits a real-time service authorization application list by checking corresponding authorization information, and the service authorization unit further comprises a service authorization application list inquiring subunit, a service authorization information checking subunit and an authorization token management subunit, wherein the service authorization application list inquiring subunit is used for checking a service authorization application submitted by a foreground user by a background user; the service authorization information viewing sub-unit is used for viewing the authorization information of the authorized user, and the authorization token management unit is used for displaying the authorized user list and the user authorization token information in the sub-unit and providing a token downloading function.
Preferably, the front-end display subsystem further comprises a service directory classification viewing module, a service information viewing module and a service API interface debugging module, wherein the service directory classification viewing module is used for displaying service information classification information set by a background; the service information viewing module is used for providing basic information and label information of viewing service, the API interface debugging module is used for inputting request parameters according to the API interface information, executing a request process and viewing a return result after the execution of the request is completed.
Preferably, the structured data sharing system of the nuclear power service further comprises a basic management sub-module, wherein the basic management sub-module is in communication connection with the front-end display sub-system, the platform service management module and the service security management sub-system are respectively in communication connection, so as to define the operation authority of the front-end user and the management operation authority of the background management user, and realize the management of the front-end user and the background management user.
Before the real service is released and operated, the structured data sharing system of the nuclear power service binds the real service to a platform service preset in the sharing system so as to register the real service to a service catalog and uniformly manage the real service, and meanwhile, a data service label is established according to the nuclear power service requirement to carry out multidimensional labeling on all the real services; and the storage structure of the service content/interface document/label is designed in a targeted manner, and the hybrid query capability based on the service name, the multidimensional label and the document content is provided, specifically:
1. the method comprises the steps that unified access standards are provided for real services from different sources through a service directory, the access flow and management of the services are standardized, the communication cost of the research and development process of each system is reduced, and the research and development efficiency is improved, wherein each platform service in the service directory is already preconfigured, each real service is directly bound with the appointed configured platform service when the real service is recorded, the real service is arranged, a first user does not need to directly request the real service, but accesses the real service through the service directory system, the service directory controls the corresponding real service according to the access requirement and returns service resources to the user, and when the real service deployment environment is changed, only the actual interface access address of the real service is required to be changed on the service directory, and the connection process of the bottom layer of an external system is not required to be concerned. Secondly, when the external interface access address is set, the real service address is packaged, when a user needs to access the API under the platform service through the platform, the original real service interface is accessed through the gateway, and the original real service interface returns the corresponding data response gateway and then returns to the user, so that the specific release position of the real service is hidden, the potential safety hazard of the system is reduced, and the safety of each system is effectively improved.
2. The searching efficiency is high, when the searching is carried out, the state of the current searching service can be further confirmed in the service directory system, if the current searching service is judged to be on line, the service provided by the service provider system can be called through the front-end user self-research system, and if the current searching service is off line or deleted, the process is ended, and unnecessary calling is avoided.
3. The functions of service list, on-line/off-line, service management and monitoring and the like are realized, and all business/structured data/intelligent services in the existing and future are integrated; through label classification, the interface helps documents, which is convenient for service developers to use; gradually managing standardized business structured data service interfaces; and according to the service attribute and the application classification, the service development work in the future is facilitated.
4. In order to ensure the safety of the structured data, the operation and maintenance personnel can only provide the structured data service for the authorized applicant; after the applicant passes the approval of the specific application flow, the operation and maintenance personnel authorize; the service condition of the structured data service interface can be checked and tracked through the structured data management and control module.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this application, illustrate embodiments of the invention and together with the description serve to explain the invention and do not constitute a limitation on the invention.
FIG. 1 is a schematic diagram illustrating a structure of an embodiment of a data sharing system for a nuclear power service according to the present invention;
FIG. 2 is a schematic diagram of an embodiment of a management unit for a line and a line;
in the figure: front end presentation subsystem 100, service presentation module 110, service search module 120, service catalog classification viewing module 130, service information viewing module 140, service API interface debugging module 150; the system comprises a service directory subsystem 200, a platform service management module 210, a platform service configuration subsystem 211, a real service management subsystem 212, a tag management unit 10, a line management unit 20, a line management unit 21, a service state synchronization acquisition subsystem 22, a service interface statistical analysis subsystem 23, a real service interaction module 220, an API management subsystem 221, an external interface access address setting subsystem 222, a parameter configuration subsystem 223 and a service provider subsystem 300.
Detailed Description
Preferred embodiments of the present invention will now be described in detail with reference to the accompanying drawings, which form a part hereof, and together with the description serve to explain the principles of the invention, and are not intended to limit the scope of the invention.
Referring to fig. 1, a structured data sharing system for a nuclear power service in this embodiment includes: front end display subsystem 100, service directory subsystem 200, and service provider subsystem 300;
The service provider subsystem 300 is the source of real services for providing continuous real services out via the service directory subsystem 200;
the service directory subsystem 200 is used for unified management of the real service after the real service is input and input, and comprises a platform service management module 210 and a real service interaction module 220;
the platform service management module 210 is configured to perform configuration of a platform service and management of a real service, and includes a platform service configuration sub-module 211 and a real service management sub-module 212, where the platform service configuration sub-module 211 is configured to perform hierarchical setting and configuration information setting of the platform service based on a preset service directory, the hierarchical setting is configured to correlate the platform service with a preset directory classification to characterize hierarchical and node distribution of the platform service in the service directory, and the configuration information includes a platform service name, a platform IP port, and a platform interface access basic path; the real service management sub-module 212 is used for online and offline management of real services and marking management of the real services;
the real service interaction module 220 is communicatively connected to the platform service management module 210, and is configured to perform association between the real service and a specified platform service based on an API interface, so as to input the real service into the sharing system, where the real service interaction module 220 includes an API management sub-module 221, an external interface access address setting sub-module 222, and a parameter configuration sub-module 223;
The API management sub-module 221 is configured to associate the real service with a specific platform service, and includes a parameter information obtaining unit and a binding unit; the parameter information acquisition unit is used for associating the API with a corresponding real service and acquiring parameter information of the real service, wherein the parameter information comprises an actual interface access address, an access parameter and a description of the real service; the binding unit is used for binding the API with the appointed platform service and comprises the step of binding the API with the appointed configuration information of the platform service;
the external interface access address setting sub-module 222 is in communication connection with the API management sub-module 221, where the external interface access address setting sub-module 222 includes an address encapsulation unit and a gateway, where the address encapsulation unit is configured to obtain an actual interface access address of the real service and a corresponding platform interface access basic path, compile the actual interface access address to obtain a virtual interface access basic path, and then use a combination of the virtual interface access basic path and the platform interface access basic path as an external interface access address of the real service on the industrial service open platform; the gateway is used for dynamically adding the external interface access address;
The parameter configuration sub-module 223 is in communication connection with the API management sub-module 221, and is configured to obtain an access parameter of the real service and parameter information of the real service in an industrial service open platform after description;
the front-end display subsystem 100 is in communication connection with the service directory subsystem 200 for displaying recorded real services and retrieving real services, the front-end display subsystem 100 comprises a service display module 110 and a service search module 120, and the service display module 110 displays all recorded real services by using a service list generated based on directory classification; the service search module 120 is configured to provide a search entry, and obtain a real service according to matching of the input keywords.
The structured data sharing system of the electric service disclosed by the invention is used for recording real services based on the cooperation of the platform service configuration sub-module 211 and the real service interaction module 220, uniformly managing the real services recorded into the sharing system based on the real service management sub-module 212, and displaying and searching the services in the sharing system based on the front-end display sub-system 100. The catalog classification of the service configuration submodule is preset and used for representing the level and node distribution of each platform service, after the platform service association catalog is classified, the configuration parameters of each platform service are further configured to maintain the single platform service respectively, and in this way, the configuration is set, a plurality of platform services are managed through one catalog classification, and when the subsequent front end accesses or the background management, the display and the call of various platform services can be conveniently and rapidly carried out. When the real service deployment environment is changed, only the actual interface access address of the real service needs to be changed on the service catalog, and the connection process of the bottom layer of an external system does not need to be concerned. Secondly, when the external interface access address is set, the real service address is packaged, when a user needs to access the API under the platform service through the platform, the original real service interface is accessed through the gateway, and the original real service interface returns the corresponding data response gateway and then returns to the user, so that the specific release position of the real service is hidden, the potential safety hazard of the system is reduced, and the safety of each system is effectively improved.
The structured data sharing system of electric service shown in this embodiment specifically includes the following steps based on the matching of the platform service configuration sub-module 211 and the real service interaction module 220 to perform real service input:
s1, acquiring an actual interface access address of the real service, an access parameter and a description of the real service;
s2, setting an API to bind the real service with the specified platform service.
The platform service is a service defined by the platform, the hierarchy and configuration information of the platform service are preset, and in this embodiment, the directory classification is performed by using a tree structure service. The catalog classification mainly comprises: category name, remarks, ordering (peer directory ordered by field); after the platform service association directory is classified, the hierarchy of each platform service in external display and search can be confirmed. In addition to the catalog classification associated with the platform services, the configuration information of each platform service comprises a service name, an IP port and an interface access basic path, wherein the IP port and the access basic path are main information of a server on which an API is deployed and are used for accessing the server of the original system through the API.
After the platform services are set, when a request for inputting a certain real service is received, the association between the real service and the set platform service is carried out through API setting so as to realize the preliminary link between the real service and the corresponding platform service; the API interface information setting comprises setting the platform service to which the API belongs, the actual interface access address of the actual service, the actual service access parameter, the API description and the like.
In a preferred embodiment, multiple APIs are bound for each platform service, i.e. each platform service corresponds to multiple external real services, and the same interface access basic path is set for the real services of the same source. When the platform service needs to be added or the platform service needs to be taken off, the address of each platform service is only required to be modified or logged off, and the real service is not required to be concerned.
Meanwhile, when the API interface configuration is carried out, the method further comprises the steps of setting the maximum connection number of the API for the API interface and the maximum access number in a time period so as to avoid the influence on a system where the real service is located caused by frequent access to the real service through the platform; setting the maximum connection number of the API as the concurrent number of the API access, for example, setting the maximum connection number of the API as 100, wherein the maximum concurrent access of the API is 100 users, and the API cannot be accessed if the maximum concurrent access is exceeded; the maximum access number in the time period is 1000 as shown as the maximum access number in the time period of 1 day 2 hour 1 minute 6 seconds, and the maximum access number of the API in the time period is 1000, and the API cannot be accessed beyond the access amount, so that the problem that when a plurality of external users call a certain real service for many times, excessive resources of the system where the real service is located occupy to influence the normal operation of the system can be avoided.
S3, compiling the actual interface access address to obtain a virtual interface access basic path, and taking the combination of the virtual interface access basic path and a platform interface access basic path as an external interface access address of the real service on the industrial service open platform;
the invention discloses a service input method of an industrial service open platform, which aims to further improve the safety of a system. In the step S3, a step of generating a random code for the real service is further included, and the external interface access address is a combination of the virtual interface access basic path, the random code and the platform interface access basic path, so that the difficulty of cracking the original system real address by the external user through the external interface access address is further increased, and the security of the system is improved.
S4, configuring parameter information of the real service in an industrial service open platform based on the access parameters and the description;
after the information is set, turning to step S4 to carry out parameter information configuration of each API in the industrial service open platform; through the steps, binding between the real service and the platform service is realized, and the step S4 can be carried out, the platform service is released, and after a subsequent user finds the required platform service through the platform, the corresponding real service is called through the API.
And S5, publishing the platform service corresponding to the real service to the outside.
After the real service is input into the sharing system, the real service management sub-module 212 performs unified management on each real service in the system, and in this embodiment, the real service management sub-module 212 includes a management unit 20 for managing the up and down lines and a tag management unit 10.
Referring to fig. 2, the on-line and off-line management unit 20 is configured to perform on-line and off-line management on real services in a service directory according to real-time service states of services in a service provider system, where the on-line and off-line management includes: the service on-line and off-line sub-unit 21 and the service state synchronization acquiring sub-unit 22 are connected with the service provider sub-system 300 in a communication manner, and are used for synchronously acquiring the state information of the real service in the service provider sub-system 300, if the real service is already off-line, the service state synchronization acquiring unit informs the service automatic on-line and off-line unit after acquiring the off-line state, and the service automatic on-line and off-line unit modifies the state of the real service into off-line in the service catalog.
The service state is mainly used for marking the service on-line and off-line states, because a part of the service directory provides a service system, the system version updating frequency is higher, meanwhile, the service information is newly increased, updated, off-line and the like in the acquisition process, so that the service state in the service directory can be changed frequently. If the real service is in the offline or deleted state in the service provider subsystem 300, the service is directly informed of the unavailability by feedback, so that the step of calling the service is avoided, and the operation complexity of the whole system is reduced.
Further, the up-down line management unit 20 further includes a service interface statistics analysis subunit 23, where the service interface statistics analysis subunit is configured to perform judgment of a service state through passive triggering, the service interface statistics analysis subunit 23 performs statistics summarization on real-time service call information to learn about overall real-time service call conditions, if a certain service is offline or deleted, when a user calls the service through a service directory, the service interface statistics analysis subunit 23 calculates that a corresponding feedback result cannot be called, if the service interface statistics analysis subunit 23 calculates that a feedback result of a certain service is not called for multiple times, the service is judged and recorded to be offline or deleted, and the service state is sent to the service online-offline subunit 21 for processing.
The tag management unit 10 is configured to perform marking for a real service entered into a sharing system, where in this embodiment, the marking management of the tag management unit 10 includes constructing a tag library in the service directory module, where a plurality of tags are preset in the tag library, and the tag library is communicatively connected with the platform service configuration submodule 211, and when performing the platform service parameter configuration, adding or deleting a specified tag for the platform service from the tag library; and after binding the real service with the appointed platform service, correspondingly adding or deleting the appointed label by the real service. When the real service is input into the sharing system, the background and the foreground can quickly search the platform service through the selected label, and then the real service associated with the platform service is found, so that the mixed query capability based on the service name and the multidimensional label is provided for the service. In this embodiment, in the process of inputting the real service, the tag management unit 10 may perform multiple marking on the real service, and multiple different identifiers are marked. Such as the equipment domain, nuclear power domain, messaging domain, etc.
In order to further ensure data security, the configuration information of the platform service configuration sub-module 211 further includes identity authentication information, and when the real service is bound with the designated platform service, the configuration information further includes authorization restrictions for adding identity authentication information to the real service for accessing the real service via a platform, and the corresponding sharing system further includes a service security management sub-system for performing authorization processing on the real service to manage and control the real service and the platform service. Correspondingly, the service security management module includes a service authorization application unit disposed in the front-end display subsystem 100, a service authorization unit disposed in the platform service management module 210, a token pushing unit disposed in the real service interaction module 220, and a verification unit disposed in the service provider subsystem 300; the service authorization application unit is used for providing an authorization entrance of real service for the user, the service authorization unit is used for checking the service authorization application submitted by the foreground user, if the service authorization application passes the checking, a corresponding service authorization token/key is distributed for the user, and the token pushing unit is used for notifying token/key information corresponding to the checking unit; and the verification unit is used for verifying the token/secret key after receiving the API call instruction, and returning the corresponding service if the verification is passed.
When the sharing system inputs the real service with high security requirement, the sharing system can select to bind with the platform service with identity authentication, thereby ensuring that the appointed data service is only provided for authorized requesters, and further improving the data security of each external system. In this embodiment, as a priority scheme, when a real service with identity authentication information in a shared system needs to be accessed, a service authorization application unit provides a user application authorization list, and a user submits a real-time service authorization application list by checking corresponding authorization information. The service authorization information viewing subunit is configured to view authorization information of an authorized user. The authorization token management unit is used for displaying the authorized user list and the user authorization token information in the sub-unit and providing a token downloading function.
After the authorization application is passed, when the front-end user performs service retrieval through the structured data sharing system of the nuclear power service, the method comprises the following steps:
(A) Acquiring a search keyword input by a foreground user in a service directory front-end display subsystem 100; in this embodiment, the front-end user inputs the search keyword through the front-end user in the service directory front-end display subsystem 100;
(B) Judging whether the foreground user has an authorization token or not, if so, turning to the step (C); if not, ending the access;
as a preferred solution, in this embodiment, the front-end display subsystem 100 further includes a service classification viewing unit, a service information viewing module 140, and a service API interface debugging module 150, where the service directory classification viewing module 130 is configured to display service information classification information set in the background; the service information viewing module 140 is configured to provide basic information and identification information of a viewing service, and view information such as an input parameter, an output parameter, a request mode, etc. of an API when clicking the API. The API interface debugging unit is used for inputting request parameters according to the API interface information and executing the request process. After the request execution is completed, the returned result can be checked. When the interface is debugged, if the interface needs login information, request header information can be added, so that on-line debugging is ensured to be carried out smoothly.
Business scenario examples: a unit of three gates puts forward the simulation structured data service requirement; the operation manager of the structured data service tool grants the specific interface use authority to the service developer; the authorized service developer can check the service catalog, check the basic information service API related to the unit according to the label of the unit, and the time sequence interface service API related to the unit measuring point is surrounded, so that the document learning and the use are facilitated through the interface, and the simulation development work is smoothly carried out. The real-time structured data service management can automatically arrange and manage service application, so that a service interface is better and easy to use, service application is accurately enabled, and cost and efficiency are reduced.
As a preferred solution, in this embodiment, the service directory subsystem 200 further includes a service interface statistics analysis module, and the corresponding real service management subsystem further includes a service interface call log acquisition module, where when the service interface call log acquisition unit is used for calling the API, the service directory subsystem 200 records a call log for statistical analysis. Specifically, when the front-end user self-researches a system call service API, call log information is generated on a service provider system, wherein when the call log is generated on the service provider system, only basic information is generated, and after the basic information is collected by a service directory system, the service information is additionally related to the service call log information and is read and recorded by a service interface call log acquisition unit. The service interface statistics analysis subunit 23 is in communication connection with the service interface call log acquisition unit of the external interaction module, so as to carry out statistics summarization on the real-time service call information and display icons, so that the overall real-time service call condition can be known, and corresponding basis is provided for service optimization and current limiting.
The service directory foreground display subsystem further comprises a service directory classification viewing module 130, a service information viewing module 140 and a service API interface debugging module 150, wherein the service directory classification viewing module 130 is used for displaying service information classification information set by a background; the service information viewing module 140 is configured to provide basic information and identification information of a viewing service, and view information such as an input parameter, an output parameter, a request mode, etc. of an API when clicking the API. The API interface debugging unit is used for inputting request parameters according to the API interface information and executing the request process. After the request execution is completed, the returned result can be checked. When the interface is debugged, if the interface needs login information, request header information can be added, so that on-line debugging is ensured to be carried out smoothly.
As a preferential scheme, in this embodiment, the sharing system further includes a basic management sub-module, which is communicatively connected to the front-end display sub-system 100, and is configured to define an operation authority of the front-end user; meanwhile, the basic management sub-module is also in communication connection with the platform service management module 210 and the service security management sub-system respectively so as to define the management operation authority of the background management user and realize the management of the front-end user and the background management user. Preferably, the basic management submodule comprises a user login and logout unit, a foreground user management unit, a background user authority management unit and a background user management unit, wherein the user login and logout unit is used for login and logout of a user; the foreground user management unit is used for managing operations such as foreground registered user, foreground user deactivation, deletion, password modification and the like. The background user authority management unit is used for inquiring the role list, building, repairing and deleting roles and binding the role authority. The background user management is used for background user list inquiry, user building, checking and deleting and password resetting.
The service provider system mainly adopts a micro-service architecture and adopts a RestFul API form to provide services. The service provider system is a service providing source, and needs to provide continuous API service, service status information, service call information, and the like. Meanwhile, the service provider needs to interact with the service catalog, store and verify the authorization token information, so that the front-end user can smoothly call the self-research system during call. And after the front-end user acquires the token, the front-end user performs service calling coding implementation work, and the calling process needs to carry corresponding token information. The service directory system performs service information interaction with the service provider system, and collects service information. And simultaneously, after the service directory system applies for processing the user service authorization, when the self-research system calls the API, a call log is recorded for statistical analysis. The service directory system classifies service information, manages and authorizes the service information, and manages and controls the service information. The service directory system provides services of searching, checking and debugging service information for a service directory front-end user, and provides service authorization application, checking authorization progress, checking authorization information and acquiring/downloading token information entry.
While the invention has been described with respect to the preferred embodiments, the scope of the invention is not limited thereto, and any changes or substitutions that would be apparent to those skilled in the art are intended to be included within the scope of the invention.

Claims (10)

1. The utility model provides a structuring data sharing system of nuclear power service which characterized in that: the system comprises a front-end display subsystem, a service directory subsystem and a service provider subsystem;
the service provider subsystem is a source of real service and is used for providing continuous real service outwards through the service directory subsystem and the front-end display subsystem;
the service directory subsystem is used for the input of the real service and the unified management of the input real service, and comprises a platform service management module and a real service interaction module;
the platform service management module is used for configuration of platform services and management of real services, and comprises a platform service configuration submodule and a real service management submodule, wherein the platform service configuration submodule is used for carrying out level setting and configuration information setting of the platform services based on a preset service catalog, the level setting is used for correlating the platform services with the preset catalog classification so as to characterize the level and node distribution of the platform services in the service catalog, and the configuration information comprises a platform service name, a platform IP port and a platform interface access basic path; the real service management submodule is used for carrying out online and offline management on the real service and marking management on the real service;
The real service interaction module is in communication connection with the platform service configuration sub-module and is used for binding the real service with the appointed platform service based on an API (application program interface) so as to input the real service into the sharing system, and the real service interaction module comprises an API management sub-module, an external interface access address setting sub-module and a parameter configuration sub-module;
the API management submodule is used for associating the real service with the appointed platform service and comprises a parameter information acquisition unit and a binding unit; the parameter information acquisition unit is used for associating the API with a corresponding real service and acquiring parameter information of the real service, wherein the parameter information comprises an actual interface access address, an access parameter and a description of the real service; the binding unit is used for binding the API with the appointed platform service, and comprises the step of binding the API with the appointed configuration information of the platform service;
the external interface access address setting submodule is in communication connection with the API management submodule, and comprises an address encapsulation unit and a gateway, wherein the address encapsulation unit is used for acquiring an actual interface access address of the real service and a corresponding platform interface access basic path, compiling the actual interface access address to acquire a virtual interface access basic path, and then taking the combination of the virtual interface access basic path and the platform interface access basic path as an external interface access address of the real service in the sharing system; the gateway is used for dynamically adding the external interface access address;
The parameter configuration sub-module is in communication connection with the API management sub-module and is used for acquiring the access parameters of the real service and configuring the parameter information of the real service in an industrial service open platform after description;
the front-end display subsystem is in communication connection with the service directory subsystem and is used for displaying and retrieving the recorded real service, the front-end display subsystem comprises a service display module and a service search module, and the service display module displays all recorded real service by using a service list generated based on directory classification; the service searching module is used for providing a searching entrance and acquiring real service after matching according to the input keywords.
2. The structured data sharing system of a nuclear power service of claim 1 wherein: the real service management sub-module comprises an online and offline management unit for online and offline management of the real service, wherein the online and offline management unit is used for carrying out online and offline management on the real service in a service directory according to the real service state of each real service in a service provider sub-system, and the real service management sub-module comprises a service online and offline sub-unit and a service state synchronous acquisition sub-unit, wherein the service state synchronous acquisition sub-unit is in communication connection with the service provider sub-system and is used for synchronously acquiring the service state of the real service in the service provider sub-system and sending the service state to the service online and offline sub-unit for processing, and the service online and offline sub-unit modifies the online and offline state of the real service in the sharing system according to the service state.
3. The structured data sharing system of a nuclear power service of claim 2 wherein: the service interface statistical analysis subunit performs statistical summarization on real-time real service call information, if the service interface statistical analysis subunit calculates that a certain real service can not be called for multiple times, the service interface statistical analysis subunit judges and records that the real service is off-line or deleted, and sends the service state to the service on-line and off-line subunit for processing.
4. The structured data sharing system of a nuclear power service of claim 1 wherein: the external interface access address setting sub-module further comprises a step of generating random codes for the real service, and the external interface access address is a combination of the virtual interface access basic path, the random codes and the platform interface access basic path.
5. The structured data sharing system of a nuclear power service of claim 1 wherein: and in the platform service configuration submodule, the same platform interface access basic path is set for the real service with the same source.
6. The structured data sharing system of a nuclear power service of claim 1 wherein: the real service management sub-module further comprises a label management unit, wherein the label management unit is used for marking real services input into the sharing system, the label management unit comprises a label library, a plurality of labels are preset in the label library, the label library is in communication connection with the platform service configuration sub-module, and when configuration parameters of the platform service are set, the label management unit further comprises the step of adding or deleting appointed labels for the platform service from the label library; and after binding the real service with the appointed platform service, correspondingly adding or deleting the appointed label by the real service.
7. The structured data sharing system of a nuclear power service of claim 1 wherein: the configuration information of the platform service configuration sub-module further comprises identity authentication information, when the real service is bound with the appointed platform service, the configuration information further comprises authorization limitation for adding the identity authentication information to the real service for accessing the real service through a platform, and the corresponding sharing system further comprises a service security management sub-system, wherein the service security management sub-system is used for carrying out authorization processing on the real service so as to manage and control the real service and the platform service, and comprises a service authorization application unit arranged in a front-end display sub-system, a service authorization unit arranged in a platform service management module, a token pushing unit arranged in a real service interaction module and a verification unit arranged in a service provider sub-system; the service authorization application unit is used for providing an authorization entrance of real service for the user, the service authorization unit is used for checking the service authorization application submitted by the foreground user, if the service authorization application passes the checking, a corresponding service authorization token/key is distributed for the user, and the token pushing unit is used for notifying token/key information corresponding to the checking unit; and the verification unit is used for verifying the token/secret key after receiving the API call instruction, and returning the corresponding service if the verification is passed.
8. The structured data sharing system of a nuclear power service of claim 5 wherein: the service authorization application unit provides a user application authorization list, a user submits a real-time service authorization application list by checking corresponding authorization information, and the service authorization unit further comprises a service authorization application list inquiring subunit, a service authorization information checking subunit and an authorization token management subunit, wherein the service authorization application list inquiring subunit is used for a background user to check a service authorization application submitted by a foreground user; the service authorization information viewing sub-unit is used for viewing the authorization information of the authorized user, and the authorization token management unit is used for displaying the authorized user list and the user authorization token information in the sub-unit and providing a token downloading function.
9. The structured data sharing system of a nuclear power service of claim 1 wherein: the front-end display subsystem further comprises a service directory classification viewing module, a service information viewing module and a service API interface debugging module, wherein the service directory classification viewing module is used for displaying service information classification information set by a background; the service information viewing module is used for providing basic information and label information of viewing service, the API interface debugging module is used for inputting request parameters according to the API interface information, executing a request process and viewing a return result after the execution of the request is completed.
10. The structured data sharing system of a nuclear power service of claim 1 wherein: the system comprises a front-end display subsystem, a platform service management subsystem, a background management subsystem, a base management subsystem and a platform service management subsystem, wherein the front-end display subsystem is in communication connection with the platform service management subsystem, the platform service management subsystem is in communication connection with the platform service management subsystem, and is used for defining operation authorities of front-end users and management operation authorities of background management users, and management of the front-end users and the background management users is achieved.
CN202311689096.2A 2023-12-11 2023-12-11 Structured data sharing system for nuclear power service Active CN117407456B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311689096.2A CN117407456B (en) 2023-12-11 2023-12-11 Structured data sharing system for nuclear power service

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311689096.2A CN117407456B (en) 2023-12-11 2023-12-11 Structured data sharing system for nuclear power service

Publications (2)

Publication Number Publication Date
CN117407456A true CN117407456A (en) 2024-01-16
CN117407456B CN117407456B (en) 2024-03-19

Family

ID=89496479

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311689096.2A Active CN117407456B (en) 2023-12-11 2023-12-11 Structured data sharing system for nuclear power service

Country Status (1)

Country Link
CN (1) CN117407456B (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110047206A1 (en) * 2009-08-21 2011-02-24 Verizon Patent And Licensing, Inc. Active Directory Object Management Methods and Systems
WO2016101638A1 (en) * 2014-12-23 2016-06-30 国家电网公司 Operation management method for electric power system cloud simulation platform
CN107071001A (en) * 2017-03-22 2017-08-18 南京理工大学 Intelligent transportation Web information sharing service platform framework method
CN107067343A (en) * 2017-04-17 2017-08-18 国网浙江省电力公司经济技术研究院 A kind of sale of electricity side operating service management platform based on the marketization
CN112765245A (en) * 2020-12-31 2021-05-07 广西中科曙光云计算有限公司 Electronic government affair big data processing platform
US20220021711A1 (en) * 2020-07-20 2022-01-20 Cgi Federal Security Platform and Method for Efficient Access and Discovery
CN114357088A (en) * 2021-12-14 2022-04-15 中核武汉核电运行技术股份有限公司 Nuclear power industry data warehouse system

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110047206A1 (en) * 2009-08-21 2011-02-24 Verizon Patent And Licensing, Inc. Active Directory Object Management Methods and Systems
WO2016101638A1 (en) * 2014-12-23 2016-06-30 国家电网公司 Operation management method for electric power system cloud simulation platform
CN107071001A (en) * 2017-03-22 2017-08-18 南京理工大学 Intelligent transportation Web information sharing service platform framework method
CN107067343A (en) * 2017-04-17 2017-08-18 国网浙江省电力公司经济技术研究院 A kind of sale of electricity side operating service management platform based on the marketization
US20220021711A1 (en) * 2020-07-20 2022-01-20 Cgi Federal Security Platform and Method for Efficient Access and Discovery
CN112765245A (en) * 2020-12-31 2021-05-07 广西中科曙光云计算有限公司 Electronic government affair big data processing platform
CN114357088A (en) * 2021-12-14 2022-04-15 中核武汉核电运行技术股份有限公司 Nuclear power industry data warehouse system

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
施丛丛;陈名生;杨建业;吕超贤;: "水利信息资源整合共享系统设计", 软件, no. 09, 15 September 2015 (2015-09-15), pages 28 - 33 *
程敏敏等: "核电厂全范围模拟机协同设计开发平台研究", 计算机仿真, 31 December 2022 (2022-12-31), pages 143 - 147 *

Also Published As

Publication number Publication date
CN117407456B (en) 2024-03-19

Similar Documents

Publication Publication Date Title
US20190050448A1 (en) System and method for building business service model
US6035297A (en) Data management system for concurrent engineering
CN1326044C (en) Automation software testing system based on script explanatory tool
CN112260877B (en) AI-based RPA robot management method, platform and storage medium
CN104123227A (en) Method for automatically generating testing cases
CN111176867B (en) Data sharing exchange and open application platform
US20150033327A1 (en) Systems and methodologies for managing document access permissions
CN104572122A (en) Software application data generating device and method
CN101610190A (en) Data network and system
CN109033403A (en) For searching for the method, apparatus and storage medium of block chain data
CN111143391A (en) Data sharing exchange method and system
CN113706110B (en) FPGA test tool integrated test management platform
CN115309566A (en) Dynamic management method and system for service interface
CN109101607A (en) For searching for the method, apparatus and storage medium of block chain data
CN112232672A (en) Management system and method of industrial mechanism model
CN113836237A (en) Method and device for auditing data operation of database
CN117407456B (en) Structured data sharing system for nuclear power service
KR100956142B1 (en) System and method for managing intellectual property based on indicated diagram type
CN115827051A (en) Software integration management system, method and server
CN109412861B (en) Method for establishing security association display of terminal network
CN107391558A (en) Method, apparatus and system for operating database cluster
CN113127906A (en) Unified authority management platform, method and storage medium based on C/S architecture
CN117376080A (en) Nuclear power service data sharing system
KR20210051817A (en) System and method for providing an authentication information service based an open api
CN114816579B (en) SaaS chemical industrial APP access method based on industrial Internet platform

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
GR01 Patent grant
GR01 Patent grant