Intelligent management method and device for full life cycle of electric power materials

By designing the front-end layer, gateway layer, application layer and data layer in the full life cycle intelligent management system of power materials, and setting up multiple back-end services, the problem of low intelligence of the full life cycle intelligent management method of power materials in the existing technology is solved, and efficient processing and updating of the full life cycle management information of power materials is achieved.

CN119722025APending Publication Date: 2025-03-28MATERIAL BIDDING BRANCH OF HUBEI JIJI ELECTRIC POWER GROUP CO LTD
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202411777084.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-05
Publication Date
2025-03-28

AI Technical Summary

Technical Problem

In the existing technology, the intelligent management method of the full life cycle of power supplies is relatively low and cannot effectively support the full life cycle management of power equipment.

Method used

A method of intelligent management of power supplies for the whole life cycle is designed. By introducing the front-end layer, gateway layer, application layer and data layer into the full life cycle intelligent management system of power supplies, and setting up multiple back-end services in the application layer to process user access requests and full life cycle management information of power supplies.

Benefits of technology

The intelligence of the intelligent management method of the entire life cycle of power materials has been improved, real-time processing and update of the entire life cycle management information of power materials has been realized, and the full life cycle management of the equipment has been supported.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119722025A_ABST
    Figure CN119722025A_ABST
Patent Text Reader

Abstract

The invention provides an electric power material full-life-cycle intelligent management method and device, and the method comprises the steps: a front-end layer obtains an access request of a user node, transmits the access request to a gateway layer, and displays a response result corresponding to the access request returned by the gateway layer to the user node; the gateway layer sends the access request to a back-end service corresponding to a request type based on the request type of the access request and returns a response result of the back-end service to the front-end layer, and different request types correspond to different back-end services; the back-end service of the application layer processes the access request, determines a response result from the data layer, and returns the response result to the gateway layer; and the data layer stores the electric power material full-life-cycle management information generated in the electric power material full-life-cycle management process and updates the electric power material full-life-cycle management information based on the access request. The intelligent degree of the electric power material full life cycle intelligent management method can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application mainly relates to the field of electric power technology, and specifically to a method and device for intelligent management of electric power materials throughout their life cycle. Background Art

[0002] In the power industry, building a full life cycle management system for equipment is a key measure to improve the operational efficiency of enterprises and ensure the safe and stable operation of the power grid. This system covers the entire process of equipment selection, procurement, installation and commissioning, operation and maintenance, and retirement, and incorporates advanced technical means and management concepts to maximize the value of equipment. A solid management framework is the foundation for the full life cycle management of power equipment. Many power companies have gradually established a complete management framework to clarify the responsible entities, work processes and standards for each link. With the help of this framework, enterprises can systematically plan and manage the entire life cycle of equipment to ensure seamless connection and efficient collaboration in all links. Deepening the application of technology is an important way to improve management efficiency. The introduction of advanced technologies such as big data and cloud computing has made real-time monitoring of equipment status and data analysis a reality. However, the existing technology has a low degree of intelligence in the intelligent management method of the full life cycle of power materials. Summary of the invention

[0003] The present application provides a method and device for intelligent management of electric power materials throughout their life cycle, aiming to solve the problem of low intelligence level of the intelligent management method for electric power materials throughout their life cycle in the prior art.

[0004] In a first aspect, the present application provides a method for intelligent management of the entire life cycle of electric power materials, which is applied to an intelligent management system for the entire life cycle of electric power materials. The intelligent management system for the entire life cycle of electric power materials includes a front-end layer, a gateway layer, an application layer, and a data layer. The application layer includes multiple back-end services. The method for intelligent management of the entire life cycle of electric power materials includes:

[0005] The front-end layer obtains the access request of the user node and sends it to the gateway layer, and displays the response result corresponding to the access request returned by the gateway layer to the user node, wherein the access request is used to process the power material life cycle management information generated during the power material life cycle management process, and the power material life cycle management information includes basic material information, material procurement records, material inventory changes, and material usage information;

[0006] The gateway layer sends the access request to a backend service corresponding to the request type based on the request type of the access request, and returns a response result of the backend service to the frontend layer, wherein different request types correspond to different backend services;

[0007] The backend service of the application layer processes the access request and determines the response result from the data layer, and returns the response result to the gateway layer;

[0008] The data layer stores the electric power material life cycle management information generated during the electric power material life cycle management process and updates the electric power material life cycle management information based on the access request.

[0009] In a second aspect, the present application provides an intelligent management system for the entire life cycle of electric power materials, the intelligent management system for the entire life cycle of electric power materials comprising a front-end layer, a gateway layer, an application layer and a data layer, the application layer comprising a plurality of back-end services,

[0010] The front-end layer is used to obtain the access request of the user node and send it to the gateway layer, and display the response result corresponding to the access request returned by the gateway layer to the user node. The access request is used to process the power material life cycle management information generated during the power material life cycle management process. The power material life cycle management information includes basic material information, material procurement records, material inventory changes, and material usage information;

[0011] The gateway layer is used to send the access request to the backend service corresponding to the request type based on the request type of the access request, and return the response result of the backend service to the front-end layer, wherein different request types correspond to different backend services;

[0012] The backend service of the application layer is used to process the access request and determine the response result from the data layer, and return the response result to the gateway layer;

[0013] The data layer is used to store the electric power material life cycle management information generated during the electric power material life cycle management process and update the electric power material life cycle management information based on the access request.

[0014] In a third aspect, the present application provides a computer-readable storage medium, which stores a plurality of instructions, and the instructions are suitable for loading by a processor to execute the steps in the method for intelligent management of the entire life cycle of electric power materials as described in any one of the first aspects.

[0015] The present application provides a method and device for intelligent management of the whole life cycle of electric materials. The method is applied to the intelligent management system of the whole life cycle of electric materials. The intelligent management system of the whole life cycle of electric materials includes a front-end layer, a gateway layer, an application layer and a data layer. The application layer includes multiple back-end services. The method comprises: the front-end layer obtains the access request of the user node and sends it to the gateway layer, and displays the response result corresponding to the access request returned by the gateway layer to the user node. The access request is used to process the whole life cycle management information of electric materials generated in the whole life cycle management process of electric materials. The whole life cycle management information of electric materials includes basic information of materials, material procurement records, material inventory changes and material usage information; the gateway layer sends the access request to the back-end service corresponding to the request type based on the request type of the access request, and returns the response result of the back-end service to the front-end layer, wherein different request types correspond to different back-end services; the back-end service of the application layer processes the access request and determines the response result from the data layer, and returns the response result to the gateway layer; the data layer stores the whole life cycle management information of electric materials generated in the whole life cycle management process of electric materials and updates the whole life cycle management information of electric materials based on the access request. The present application can improve the intelligence level of the intelligent management method of the whole life cycle of electric materials. BRIEF DESCRIPTION OF THE DRAWINGS

[0016] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For those skilled in the art, other drawings can be obtained based on these drawings without creative work.

[0017] Figure 1 A schematic diagram of a scenario for the intelligent management system for the entire life cycle of electric power materials provided in an embodiment of the present application;

[0018] Figure 2 It is a flowchart of an embodiment of the method for intelligent management of the entire life cycle of electric power materials provided in the embodiments of the present application;

[0019] Figure 3 It is a structural diagram of a specific embodiment of the intelligent management system for the entire life cycle of electric power materials provided in the embodiments of the present application. DETAILED DESCRIPTION

[0020] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of this application.

[0021] In the description of the present application, it should be understood that the terms "center", "longitudinal", "lateral", "length", "width", "thickness", "up", "down", "front", "back", "left", "right", "vertical", "horizontal", "top", "bottom", "inside", "outside" and the like indicate positions or positional relationships based on the positions or positional relationships shown in the accompanying drawings, which are only for the convenience of describing the present application and simplifying the description, and do not indicate or imply that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore cannot be understood as a limitation on the present application. In addition, the terms "first" and "second" are used only for descriptive purposes, and cannot be understood as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Therefore, the features defined as "first" and "second" may explicitly or implicitly include one or more features. In the description of the present application, the meaning of "multiple" is two or more, unless otherwise clearly and specifically defined.

[0022] In this application, the word "exemplary" is used to mean "used as an example, illustration, or description." Any embodiment described in this application as "exemplary" is not necessarily to be construed as being preferred or advantageous over other embodiments. The following description is given to enable any technician in the field to implement and use the present application. In the following description, details are listed for the purpose of explanation. It should be understood that a person of ordinary skill in the art can recognize that the present application can be implemented without using these specific details. In other instances, well-known structures and processes will not be elaborated in detail to avoid obscuring the description of the present application with unnecessary details. Therefore, the present application is not intended to be limited to the embodiments shown, but is consistent with the widest scope consistent with the principles and features disclosed in the present application.

[0023] The embodiments of the present application provide a method and device for intelligent management of electric power materials throughout their life cycle, which are described in detail below.

[0024] See also Figure 1 , Figure 1The schematic diagram of the scenario of the intelligent management system of the whole life cycle of electric power materials provided in the embodiment of the present application includes a front-end layer, a gateway layer, an application layer and a data layer, and the application layer includes multiple back-end services. The front-end layer is used to obtain the access request of the user node and send it to the gateway layer, and display the response result corresponding to the access request returned by the gateway layer to the user node. The access request is used to process the whole life cycle management information of electric power materials generated in the whole life cycle management process of electric power materials. The whole life cycle management information of electric power materials includes basic information of materials, material procurement records, material inventory changes and material usage information; the gateway layer is used to send the access request to the back-end service corresponding to the request type based on the request type of the access request, and return the response result of the back-end service to the front-end layer, wherein different request types correspond to different back-end services; the back-end service of the application layer is used to process the access request and determine the response result from the data layer, and return the response result to the gateway layer; the data layer is used to store the whole life cycle management information of electric power materials generated in the whole life cycle management process of electric power materials and update the whole life cycle management information of electric power materials based on the access request.

[0025] It should be noted that Figure 1 The scenario diagram of the intelligent management system for the entire life cycle of electric power materials shown is merely an example. The intelligent management system for the entire life cycle of electric power materials and the scenario described in the embodiment of the present application are intended to more clearly illustrate the technical solution of the embodiment of the present application, and do not constitute a limitation on the technical solution provided in the embodiment of the present application. A person of ordinary skill in the art can appreciate that with the evolution of the intelligent management system for the entire life cycle of electric power materials and the emergence of new business scenarios, the technical solution provided in the embodiment of the present application is equally applicable to similar technical problems.

[0026] First, an embodiment of the present application provides an intelligent management method for the entire life cycle of electric power materials, which includes: the front-end layer obtains an access request from a user node and sends it to a gateway layer, and displays a response result corresponding to the access request returned by the gateway layer to the user node, and the access request is used to process the electric power material life cycle management information generated in the process of the electric power material life cycle management, and the electric power material life cycle management information includes basic material information, material procurement records, material inventory changes, and material usage information; the gateway layer sends the access request to the back-end service corresponding to the request type based on the request type of the access request, and returns the response result of the back-end service to the front-end layer, wherein different request types correspond to different back-end services; the back-end service of the application layer processes the access request and determines the response result from the data layer, and returns the response result to the gateway layer; the data layer stores the electric power material life cycle management information generated in the process of the electric power material life cycle management and updates the electric power material life cycle management information based on the access request.

[0027] like Figure 2 As shown, Figure 2 1 is a flow chart of an embodiment of the method for intelligent management of the entire life cycle of electric power materials provided in the embodiments of the present application. The method for intelligent management of the entire life cycle of electric power materials includes the following steps:

[0028] 201. The front-end layer obtains the access request of the user node and sends it to the gateway layer, and displays the response result corresponding to the access request returned by the gateway layer to the user node.

[0029] The front-end layer is mainly responsible for interacting directly with users, displaying system functions and processing user input, ensuring that users can easily access and operate the system, while optimizing the experience and functions through platform features.

[0030] The front-end layer provides an intuitive interface to display system functions and content. The web page is presented through a browser, the APP is presented through the application interface of the mobile device, and the mini program is embedded in the ecosystem of a specific platform. The front-end layer displays data obtained from the back-end, such as lists, charts, etc., and processes user input, such as form submissions and search requests. These functions can be implemented on the web, APP, and mini program sides, but the form and optimization methods may be different. The front-end layer verifies the user's operations in real time and provides instant feedback to ensure the correctness of the user's input and improve the smoothness of the operation.

[0031] In an embodiment of the present application, the intelligent management method for the entire life cycle of electric power materials is applied to the intelligent management system for the entire life cycle of electric power materials. The intelligent management system for the entire life cycle of electric power materials includes a front-end layer, a gateway layer, an application layer and a data layer, and the application layer includes multiple back-end services.

[0032] Among them, the access request is used to process the power material life cycle management information generated during the power material life cycle management process. The power material life cycle management information includes basic material information, material procurement records, material inventory changes and material usage information.

[0033] The access request can be a query request or a write request. For example, the user node initiates the writing of its own private power material life cycle management information to the front-end layer. For example, its own private power material life cycle management information can include the basic information of the material on that day, the material procurement record, the material inventory change and the material usage information. The basic information of the material includes the name and location of the material, etc. The material procurement record includes the record of the material procurement. The material inventory change includes the inventory change of each power equipment. The material usage information includes the operating parameters of each power equipment.

[0034] In the embodiment of the present application, the front-end layer can display the response result on the display of the user node. The user node can be a PC terminal, a mobile terminal, a third-party application or a management backend, etc. The user can operate on the front-end page of the user node and input the access request to the front-end layer through the user node.

[0035] 202. The gateway layer sends the access request to the backend service corresponding to the request type based on the request type of the access request, and returns the response result of the backend service to the front-end layer.

[0036] The gateway layer is mainly responsible for request routing, load balancing, and security control. It forwards front-end requests to appropriate back-end services, implements authentication and authorization, and optimizes system performance and reliability. By processing data format conversion and cache management, the gateway layer improves the system's response speed and overall efficiency.

[0037] The gateway layer routes requests to the corresponding services or backend systems based on the type and target of the request. This typically involves parsing, forwarding, and load balancing of requests. The gateway layer distributes requests to multiple servers or instances to ensure system load balancing and improve service reliability and performance. The gateway layer is responsible for dynamically adjusting traffic distribution to optimize resource usage. The gateway layer handles authentication and authorization to ensure that only verified users or systems can access specific resources or services. This includes processing API keys, OAuth tokens, and other authentication mechanisms. The gateway layer converts request and response data into the appropriate format and supports conversion between different protocols, such as from HTTP to HTTPS or other protocols.

[0038] Among them, different request types correspond to different backend services.

[0039] like Figure 3 As shown, in the embodiment of the present application, the application layer includes multiple backend services. Specifically, the application layer may include three service types: business services, ESC basic services, and external services. The three types of backend services are used to process different request types. The access request includes three types of request types, corresponding to three different business services.

[0040] like Figure 3 As shown, business services also include user services, supplier services, supplier evaluation services, material maintenance management services, material data services, procurement cost services, maintenance cost management services, data analysis services, etc. ESC basic services include mail services, file services, ID services, SMS services, and data services, etc. External services include procurement system services, warehousing system services, and ERP system services.

[0041] like Figure 3As shown, further, the application layer also includes an ESC service monitoring module, and the ESC service monitoring module includes link tracking, fuse protection, log center and business monitoring.

[0042] like Figure 3 As shown, in the embodiment of the present application, the gateway layer can be an ESC service gateway. The gateway layer includes a routing module, a load balancing module, a safety protection device and a current limiting module.

[0043] In the embodiment of the present application, the gateway layer sends the access request to the backend service corresponding to the request type based on the request type of the access request, including:

[0044] (1) Determine whether the number of access requests currently processed by the electric power material full life cycle intelligent management system exceeds a preset number.

[0045] The preset number may be set according to specific circumstances, for example, the preset number is 10,000.

[0046] (2) If the number of requests does not exceed the preset number, the user node verification information of the access request is obtained.

[0047] In the embodiment of the present application, the user node verification information may include permission level, account name, etc.

[0048] (3) Verify whether the user node verification information meets the access permission conditions.

[0049] In an embodiment of the present application, the access permission conditions include that the permission level in the user node verification information is higher than the data security level of the data to be accessed by the access request, and the account name belongs to the white list of the data to be accessed by the access request.

[0050] (4) If the user node verification information meets the access permission conditions, the request type of the access request is obtained.

[0051] (5) Based on the request type of the access request, the access request is sent to the backend service corresponding to the request type.

[0052] In a specific embodiment, a backend service starts a service instance and sends an access request to a service instance in the backend service corresponding to the request type.

[0053] In another specific embodiment, a backend service starts multiple service instances, and based on the request type of the access request, the access request is sent to the backend service corresponding to the request type, including:

[0054] (1) Get multiple service instances of the backend service.

[0055] (2) Get the CPU usage and memory usage of each service instance.

[0056] (3) Determine the instance priority of each service instance based on the CPU usage and memory usage of each service instance, wherein the greater the CPU usage and memory usage, the lower the instance priority.

[0057] (4) The access request is load balanced to the service instance with the highest instance priority among the backend services corresponding to the request type.

[0058] 203. The backend service of the application layer processes the access request and determines the response result from the data layer, and returns the response result to the gateway layer.

[0059] In the embodiment of the present application, the data layer includes a cache database, a relational database and multiple document databases. The read and write speed of the cache database is greater than the read and write speed of the relational database, and the read and write speed of the relational database is greater than the read and write speed of the document database; the storage upper limit of the cache database is less than the storage upper limit of the relational database, and the storage upper limit of the relational database is less than the storage upper limit of the document database; the intelligent management method of the whole life cycle of electric power materials includes: when the amount of data in the cache database is greater than the first preset value, the application layer transfers part of the whole life cycle management information of electric power materials cached in the cache database to the relational database; when the amount of data in the relational database is greater than the second preset value, the application layer transfers part of the whole life cycle management information of electric power materials cached in the relational database to the document database. Among them, the first preset value and the second preset value can be set according to the specific situation.

[0060] In an embodiment of the present application, the data layer includes a cache database, a relational database and multiple document databases. The cache database is a Redis cluster, the relational database is a MySQL master-slave cluster, and the multiple document databases are a Mongo master-slave cluster, an ES cluster and a Couchbase cluster.

[0061] In the embodiment of the present application, the material usage information includes the operating parameters of each power equipment, and the intelligent management method for the entire life cycle of power materials includes:

[0062] (1) The application layer obtains the operating parameters of the target power equipment according to a preset period, and obtains a preset number of operating parameters of the preset period.

[0063] The preset period may be a preset time period, such as 30 seconds, that is, the operation is repeated every 30 seconds.

[0064] In the embodiment of the present application, the target power equipment may be a photovoltaic unit or a wind turbine unit, and the operating parameters of the target power equipment include parameters such as equipment heartbeat, equipment output power, equipment temperature, port service or business instruction execution status, etc. The operating parameters are used to identify or quantify the normality of the heartbeat, port service or business instruction execution status, etc.

[0065] (2) Inputting the operating parameters of a preset number of preset cycles into the pulse function sub-model, and obtaining the abnormal state identification corresponding to the preset number of preset cycles output by the pulse function sub-model.

[0066] The pulse function sub-model refers to a model including a pulse function, which is used to perform pulse processing on input parameters.

[0067] In the embodiment of the present application, the pulse function sub-model can be expressed by the following formula:

[0068]

[0069] Wherein, y represents the abnormal state flag output by the pulse function sub-model, y=1 represents an abnormal state, y=0 represents a normal state, and Sign() is the sign function of the pulse function. is the result of abnormal state identification corresponding to the operating parameters in the ε time period (a preset cycle). t is the time independent variable.

[0070] Among them, δ is the pulse function. Each parameter indicator corresponds to an abnormal standard value x0, and the parameter indicator corresponds to an operating parameter x. For example, when the parameter indicator is the device heartbeat, if the operating parameter x indicates that the device heartbeat link is abnormal, such as being unable to ping, then it is determined that the operating parameter x is greater than the abnormal standard value x0; when the parameter indicator is the device output power, if the operating parameter x indicates that there is a problem with the device output power, then it is determined that the operating parameter x is greater than the abnormal standard value x0; when the parameter indicator is the business instruction situation, if the operating parameter x indicates that the business instruction is not executed, then it is determined that the operating parameter x is greater than the abnormal standard value x0.

[0071] (3) Inputting abnormal status identifiers corresponding to a preset number of preset cycles into an accumulation model to obtain a fault detection result output by the accumulation model, where the accumulation model refers to a model used to accumulate input data.

[0072] The cumulative model refers to a model used to accumulate input data.

[0073] In the embodiment of the present application, the cumulative model can be expressed by the following formula:

[0074]

[0075] Among them, H n(t) represents the abnormal detection result. If H n (t) = 1, indicating that the abnormal detection result is a fault type; if H n (t) = 0, indicating that the abnormal detection result is a normal type; y0 represents the threshold of the number of times the abnormal state is marked as 1, that is, y0 represents the abnormal number threshold of the number of times the abnormal state is marked as an abnormal state, and y0 can be set according to specific circumstances. n represents the number of preset cycles.

[0076] In a specific embodiment, historical operation information of the target power equipment is obtained, wherein the historical operation information includes the statistical number of times that the abnormal state of the target power equipment within a preset period before the failure occurred is marked as an abnormal state, and the average number of statistical times counted when multiple failures occurred is determined as the abnormal number threshold.

[0077] (4) When the fault detection result is a fault type, the target power equipment is recorded as faulty once; when the fault detection result is a normal type, the target power equipment is recorded as normal once.

[0078] (5) The proportion of fault detection results of the fault type within a preset time period is determined as the failure rate.

[0079] In the embodiment of the present application, the preset time period can be 1 day, two days, etc., which can be set according to the specific situation.

[0080] For example, if the number of fault detection results of the fault type in the preset time period accounts for 20%, then the fault rate is determined to be 20%.

[0081] (6) Obtain the available time ratio of the target power equipment within a preset time period.

[0082] The available time ratio is the ratio of the available time of the target power equipment to the length of the preset time period.

[0083] (7) Determine the maintenance period of the target power equipment based on the failure rate and the proportion of available time of the target power equipment, wherein the higher the proportion of available time, the longer the maintenance period, and the higher the failure rate, the shorter the maintenance period.

[0084] (8) The maintenance cycle of the target power equipment is returned to the gateway layer as a response result.

[0085] 204. The data layer stores the electric power material life cycle management information generated during the electric power material life cycle management process and updates the electric power material life cycle management information based on access requests.

[0086] In a specific embodiment, the access request is a request to write the power material life cycle management information. Each back-end service of the application layer writes the power material life cycle management information to the data layer, and the data layer merges the new power material life cycle management information written by the back-end service with the old power material life cycle management information already stored locally to update the power material life cycle management information stored locally.

[0087] In another specific embodiment, each backend service processing of the application layer stores the access request and the corresponding response result in a cache database after determining the response result, and sets a destruction time, wherein the access request and the corresponding response result are deleted from the cache database when the time stored in the cache database reaches the destruction time;

[0088] When the front-end layer obtains the access request again, the front-end layer determines whether the response result corresponding to the access request is stored in the cache database;

[0089] When the front-end layer determines that the response result corresponding to the access request is stored in the cache database, the response result corresponding to the access request is returned to the front-end layer; if the front-end layer determines that the response result corresponding to the access request is not stored in the cache database, the access request is sent to the back-end service corresponding to the request type based on the request type of the access request, and the response result of the back-end service is returned to the front-end layer;

[0090] The front-end layer displays the response results corresponding to the access request.

[0091] Furthermore, when multiple user nodes share their own power material life cycle management information, their own power material life cycle management information may be leaked. To avoid this situation, in a specific embodiment, the power material life cycle intelligent management method includes:

[0092] (1) When the gateway layer obtains an access request, it determines whether the access request is a request to write the full life cycle management information of electric power materials.

[0093] (2) If the access request is a request to write the full life cycle management information of the electric power material, multiple sharing participating nodes participating in sharing the data are determined, and the multiple sharing participating nodes are used to receive the access request input by the user and interact with the front-end layer.

[0094] Specifically, the multiple shared participating nodes may be multiple different user nodes, and different user nodes may represent different enterprises or units.

[0095] (3) A blockchain system is constructed based on multiple shared participating nodes, and the blockchain system includes multiple shared participating nodes.

[0096] (4) Based on the node location information of each shared participating node in the blockchain system, each shared participating node is clustered to obtain three node clustering clusters.

[0097] Among them, the node location information can share the longitude and latitude of the participating nodes.

[0098] In the embodiment of the present application, each shared participating node is clustered based on the node location information of each shared participating node in the blockchain system to obtain three node clustering clusters, including:

[0099] The node location information of N shared participating nodes in the blockchain system is randomly divided into K location information sets, wherein each location information set contains N / K node location information. The K location information sets are clustered respectively to obtain three second location information clusters in each location information set. Specifically, three nodes with three node location information are randomly obtained from the location information set as three cluster center nodes, and a corresponding cluster node set is established for each cluster center node. The node similarity of two nodes corresponding to any two node location information in the location information set is calculated respectively. Specifically, the node feature information of the two nodes is converted into a feature vector and the cosine similarity is calculated to obtain the node similarity of any two nodes in the location information set. The node corresponding to each node location information in the location information set is determined as the node to be allocated, and the three node similarities between the node to be allocated and the three cluster center nodes are obtained. The node to be allocated is placed in the cluster node set corresponding to the cluster center node corresponding to the largest node similarity among the three node similarities, and three cluster node sets are obtained. Calculate the average value of the node feature information of the cluster node set, obtain the cluster node centroid of the cluster node set, and obtain 3 cluster node centroids. Calculate the deviation parameter between the 3 cluster node centroids and the 3 cluster center nodes. Specifically, calculate the node similarity between the cluster node centroid and each cluster center node, determine the cluster center node with the largest node similarity with the cluster node centroid as the neighborhood node of the cluster node centroid, and determine the difference between the cluster node centroid and the neighborhood node based on the node similarity between the cluster node centroid and the corresponding neighborhood node, wherein the greater the node similarity between the cluster node centroid and the neighborhood node, the smaller the difference between the cluster node centroid and the neighborhood node, and determine the sum of the differences corresponding to the centroids of each cluster node as the deviation parameter. When the deviation parameter is greater than the preset parameter value, update the 3 cluster node centroids to new 3 node cluster center nodes, and obtain new 3 cluster node sets and new deviation parameters corresponding to the new 3 node cluster center nodes. When the new deviation parameter is not greater than the preset parameter value, the new three clustering node sets are determined as three second location information clusters.

[0100] Then, each second location information cluster is determined as a target location information cluster, and the information cluster similarity between the target location information cluster and the second location information clusters in the K location information sets is calculated. Specifically, the similarity between the cluster average vector of the target location information cluster and the cluster average vector of the second location information cluster is calculated; and the similarity between the cluster average vector of the target location information cluster and the cluster average vector of the second location information cluster is determined as the information cluster similarity between the target location information cluster and the second location information cluster.

[0101] Next, the second location information clusters with the greatest similarity to the target location information cluster in each location information set are merged to obtain the first location information cluster corresponding to the target location information cluster, and three first location information clusters corresponding to the three second location information clusters are obtained. Multiple shared participating nodes corresponding to multiple node location information in the first location information cluster are determined as a node clustering cluster, and three node clustering clusters are obtained.

[0102] (5) Each node cluster is split into a first node and multiple second nodes.

[0103] In the embodiment of the present application, the node with the highest communication speed in each node cluster is determined as a first node, and the other nodes are determined as multiple second nodes.

[0104] (6) The first node and multiple second nodes in the node cluster perform multi-party security computing based on their respective private power material life cycle management information to obtain first multi-party security computing information of the node cluster, and obtain three first multi-party security computing information of the three node clusters.

[0105] Secure multi-party computation (SMC) is a collaborative computing problem that solves the privacy protection problem among a group of mutually distrusting parties. SMC must ensure the independence of inputs and the correctness of calculations, while not leaking input values ​​to other members participating in the calculation.

[0106] Among them, the first multi-party secure computing information is the summary of the private power material full life cycle management information on the first node and multiple second nodes in the node cluster.

[0107] (7) Divide the three node clusters into two first node clusters and one second node cluster.

[0108] In the embodiment of the present application, three node clusters are randomly divided into two first node clusters and one second node cluster.

[0109] (8) The first node in the first node cluster obtains a second multi-party secure computing information sent by the first node in the second node cluster.

[0110] The first node of the second node cluster splits the first multi-party secure computing information of the second node cluster into two second multi-party secure computing information and sends them to the first nodes in the two first node clusters respectively.

[0111] (9) The first node in the first node cluster generates first security information based on the second multi-party secure computation information and its own first multi-party secure computation information.

[0112] In the embodiment of the present application, generating the first security information based on the second multi-party secure computing information and the first multi-party secure computing information thereof includes:

[0113] 2-1. Obtain the three-party security function constructed by the three first nodes.

[0114] For example, the three-party security function constructed by the three first nodes is f(x, y, z).

[0115] 2-2. Construct a first two-party security function and a second two-party security function based on the three-party security function and the first node in another first node cluster, wherein the three-party security function is a composite function of the first two-party security function and the second two-party security function.

[0116] The first nodes in the two first node clusters construct a first two-party security function h and a second two-party security function g based on the three-party security function f(x, y, z), wherein the three-party security function f(x, y, z) is a composite function of the first two-party security function h and the second two-party security function g.

[0117] 2-3. Calculate the first multi-party security calculation information and the second multi-party security calculation information based on the first two-party security function to obtain first security information.

[0118] Among them, the first multi-party security computing information of the first node in the first node cluster is x, and the second multi-party security computing information obtained is z1. Based on the first two-party security function h, the first multi-party security computing information and the second multi-party security computing information are calculated to obtain the first security information h(x,z1).

[0119] (10) The first node in the first node cluster performs a secure two-party computation with the first node in another first node cluster based on the first security information and the second security information of the first node in another first node cluster to obtain a secure two-party computation result, wherein the second security information is determined by the other first node based on the first multi-party secure computation information of the other first node and the second multi-party secure computation information obtained by the other first node, and the secure two-party computation result includes the summary of the private electric power material full life cycle management information of each shared participating node in the blockchain system;

[0120] (11) The first node in the first node cluster broadcasts the secure two-party computation result, so that each shared participating node in the blockchain system obtains the secure two-party computation result;

[0121] (12) The gateway layer obtains the secure two-party computation results sent by each shared participating node in the blockchain system;

[0122] (13) The gateway layer verifies whether the secure two-party calculation results sent by each shared participating node are the same. When the secure two-party calculation results sent by each shared participating node are the same, the secure two-party calculation results are forwarded to multiple back-end services of the application layer as the summary of the full life cycle management information of the electric power materials, so that the multiple back-end services of the application layer store the summary of the full life cycle management information of the electric power materials in the data layer.

[0123] Multiple back-end services in the application layer will store the summarized life cycle management information of electric power materials in the data layer. The data layer will merge the new summarized life cycle management information of electric power materials written by the back-end services with the old life cycle management information of electric power materials already stored locally to update the locally stored life cycle management information of electric power materials.

[0124] Furthermore, multiple backend services at the application layer will aggregate the full life cycle management information of power materials and store it in the data layer, including:

[0125] (1) Split the summary of the full life cycle management information of power materials into multiple data to be stored;

[0126] (2) Selecting some databases from multiple data layers as target databases and backup databases to obtain target databases and multiple backup databases.

[0127] (3) Obtain the database identifier of the backup database and assign a corresponding database identifier to each data to be stored.

[0128] (4) generating a private key and a public key corresponding to the database identifier based on the database identifier; encrypting the data to be stored corresponding to the database identifier based on the private key to obtain sub-encrypted backup data corresponding to the database identifier;

[0129] (5) The summary of the full life cycle management information of the electric power materials is stored in the target database, and the sub-encrypted backup data corresponding to the database identifier is uploaded to the backup database corresponding to the database identifier as a backup; and the public key is sent to the target database.

[0130] (6) When an abnormality occurs in the target database, a backup recovery time point is obtained; each backup time point is obtained, wherein each backup time point is arranged at a first preset period interval, and multiple backup databases back up the summarized power material life cycle management information on the target database as multiple sub-encrypted backup data at each backup time point.

[0131] (7) obtaining a target backup time point that matches the backup and restore time point, where the target backup time point is a backup time point before the backup and restore time point or a backup time point after the backup and restore time point;

[0132] (8) Acquire multiple target sub-encrypted backup data corresponding to the target backup time point that matches the backup recovery time point.

[0133] Specifically, obtaining multiple target sub-encrypted backup data corresponding to a target backup time point that matches a backup recovery time point includes: obtaining a private key corresponding to the target backup time point, wherein the private keys of sub-encrypted backup data at different backup time points are different; parsing the private key corresponding to the target backup time point to obtain multiple target database identifiers; and searching for multiple target sub-encrypted backup data corresponding to the target backup time point in a backup database corresponding to the multiple target database identifiers.

[0134] (9) Sending at least part of the multiple target sub-encrypted backup data to the target database, so that the target database decrypts the multiple target sub-encrypted backup data based on the public key to restore the data.

[0135] Specifically, the maximum allowed recovery time of each target sub-encrypted backup data from the occurrence of an exception to the recovery of the target database to normal is obtained; the transmission priority of each target sub-encrypted backup data is determined based on the maximum allowed recovery time of each target sub-encrypted backup data, wherein the greater the maximum allowed recovery time of the target sub-encrypted backup data, the smaller the transmission priority of the target sub-encrypted backup data; a preset number of data transmission channels with different bandwidths are constructed, and the data transmission channel is used to transmit data to the target database; a preset number of target sub-encrypted backup data with a transmission priority from large to small are allocated to each transmission channel, wherein the greater the transmission priority of the target sub-encrypted backup data, the larger the bandwidth of the transmission channel of the target sub-encrypted backup data; and each target sub-encrypted backup data is sent from the backup database to the target database based on each transmission channel.

[0136] A person of ordinary skill in the art will appreciate that all or part of the steps in the various methods of the above embodiments may be completed by instructions, or by controlling related hardware through instructions. The instructions may be stored in a computer-readable storage medium and loaded and executed by a processor.

[0137] To this end, the embodiment of the present application provides a computer-readable storage medium, which may include: a read-only memory (ROM), a random access memory (RAM), a disk or an optical disk, etc. A computer program is stored thereon, and the computer program is loaded by a processor to execute the steps in any one of the methods for intelligent management of the entire life cycle of electric power materials provided in the embodiment of the present application. For example, the computer program loaded by the processor can execute the following steps:

[0138] The front-end layer obtains the access request of the user node and sends it to the gateway layer, and displays the response result corresponding to the access request returned by the gateway layer to the user node. The access request is used to process the full life cycle management information of electric power materials generated in the full life cycle management process of electric power materials. The full life cycle management information of electric power materials includes basic information of materials, material procurement records, material inventory changes and material usage information; the gateway layer sends the access request to the back-end service corresponding to the request type based on the request type of the access request, and returns the response result of the back-end service to the front-end layer, where different request types correspond to different back-end services; the back-end service of the application layer processes the access request and determines the response result from the data layer, and returns the response result to the gateway layer; the data layer stores the full life cycle management information of electric power materials generated in the full life cycle management process of electric power materials and updates the full life cycle management information of electric power materials based on the access request.

[0139] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, please refer to the detailed description of other embodiments above, and will not be repeated here.

[0140] In specific implementation, the above units or structures can be implemented as independent users, or can be arbitrarily grouped and implemented as the same or several users. The specific implementation of the above units or structures can refer to the previous method embodiments and will not be repeated here.

[0141] The specific implementation of the above operations can be found in the previous embodiments, which will not be described in detail here.

[0142] The above is a detailed introduction to a method and device for intelligent management of the entire life cycle of electric power materials provided in an embodiment of the present application. Specific examples are used in this article to illustrate the principles and implementation methods of the present application. The description of the above embodiments is only used to help understand the method of the present application and its core idea; at the same time, for technical personnel in this field, according to the idea of ​​the present application, there will be changes in the specific implementation method and scope of application. In summary, the content of this specification should not be understood as a limitation on the present application.

Claims

1. A method for intelligent management of the entire life cycle of electric power materials, characterized in that: Applied to the intelligent management system of the whole life cycle of electric power materials, the intelligent management system of the whole life cycle of electric power materials includes a front-end layer, a gateway layer, an application layer and a data layer, the application layer includes multiple back-end services, and the intelligent management method of the whole life cycle of electric power materials includes: The front-end layer obtains the access request of the user node and sends it to the gateway layer, and displays the response result corresponding to the access request returned by the gateway layer to the user node, wherein the access request is used to process the power material life cycle management information generated during the power material life cycle management process, and the power material life cycle management information includes basic material information, material procurement records, material inventory changes, and material usage information; The gateway layer sends the access request to a backend service corresponding to the request type based on the request type of the access request, and returns a response result of the backend service to the frontend layer, wherein different request types correspond to different backend services; The backend service of the application layer processes the access request and determines the response result from the data layer, and returns the response result to the gateway layer; The data layer stores the electric power material life cycle management information generated during the electric power material life cycle management process and updates the electric power material life cycle management information based on the access request.

2. The method for intelligent management of the entire life cycle of electric power materials according to claim 1, characterized in that: The gateway layer sends the access request to a backend service corresponding to the request type based on the request type of the access request, including: Determine whether the number of access requests currently processed by the electric power material full life cycle intelligent management system exceeds a preset number; If the number of requests does not exceed the preset number, obtaining user node verification information of the access request; Verifying whether the user node verification information meets access permission conditions; If the user node verification information satisfies the access permission condition, obtaining the request type of the access request; Based on the request type of the access request, the access request is sent to a backend service corresponding to the request type.

3. The method for intelligent management of the entire life cycle of electric power materials according to claim 2, characterized in that: The sending the access request to a backend service corresponding to the request type based on the request type of the access request includes: Obtain multiple service instances of the backend service; Get the CPU usage and memory usage of each service instance; Determine the instance priority of each service instance based on the CPU usage and memory usage of each service instance, wherein the greater the CPU usage and memory usage, the lower the instance priority; The access request is load balanced to the service instance with the highest instance priority among the backend services corresponding to the request type.

4. The method for intelligent management of the entire life cycle of electric power materials according to claim 2, characterized in that: The data layer includes a cache database, a relational database, and multiple document databases. The read and write speed of the cache database is greater than that of the relational database, and the read and write speed of the relational database is greater than that of the document database. The storage upper limit of the cache database is less than that of the relational database, and the storage upper limit of the relational database is less than that of the document database. The method for intelligent management of the entire life cycle of electric power materials includes: When the amount of data in the cache database is greater than a first preset value, the application layer transfers part of the power material life cycle management information cached in the cache database to the relational database; When the amount of data in the relational database is greater than a second preset value, the application layer transfers part of the electric power material life cycle management information cached in the relational database to the document database.

5. The method for intelligent management of the entire life cycle of electric power materials according to claim 4, characterized in that: The method for intelligent management of the entire life cycle of electric power materials includes: After determining the response result, each backend service processing of the application layer stores the access request and the corresponding response result in the cache database and sets a destruction time, wherein the access request and the corresponding response result are deleted from the cache database when the time when they are stored in the cache database reaches the destruction time; When the front-end layer obtains the access request again, the front-end layer determines whether the cache database stores a response result corresponding to the access request; When the front-end layer determines that the response result corresponding to the access request is stored in the cache database, the response result corresponding to the access request is returned to the front-end layer; when the front-end layer determines that the response result corresponding to the access request is not stored in the cache database, the access request is sent to the back-end service corresponding to the request type based on the request type of the access request, and the response result of the back-end service is returned to the front-end layer; The front-end layer displays the response result corresponding to the access request.

6. The method for intelligent management of the entire life cycle of electric power materials according to claim 5, characterized in that: The cache database is a Redis cluster, the relational database is a MySQL master-slave cluster, and the multiple document databases are a Mongo master-slave cluster, an ES cluster, and a Couchbase cluster.

7. The method for intelligent management of the entire life cycle of electric power materials according to claim 1, characterized in that: The material usage information includes the operating parameters of each power equipment, and the power material full life cycle intelligent management method includes: The application layer acquires the operating parameters of the target power equipment according to a preset period, and obtains a preset number of operating parameters of the preset period; Inputting the operating parameters of a preset number of preset cycles into a pulse function sub-model, and obtaining abnormal state identifiers corresponding to the preset number of preset cycles output by the pulse function sub-model, wherein the pulse function sub-model refers to a model including a pulse function, and is used to perform pulse processing on the input parameters; Inputting abnormal state identifiers corresponding to a preset number of preset cycles into an accumulation model to obtain a fault detection result output by the accumulation model, wherein the accumulation model refers to a model for accumulating input data; When the fault detection result is a fault type, record once that the target power device is faulty, and when the fault detection result is a normal type, record once that the target power device is normal; The proportion of the fault detection results of the fault type within the preset time period is determined as the fault rate; Obtaining the available time ratio of the target power equipment within the preset time period; Determine the maintenance period of the target power equipment based on the failure rate and the available time ratio of the target power equipment, wherein the higher the available time ratio, the longer the maintenance period, and the higher the failure rate, the shorter the maintenance period; The maintenance period of the target electric equipment is returned to the gateway layer as the response result.

8. The method for intelligent management of the entire life cycle of electric power materials according to claim 7, characterized in that: The method for intelligent management of the entire life cycle of electric power materials includes: When the gateway layer obtains the access request, it determines whether the access request is a request to write the full life cycle management information of electric power materials; If the access request is a request to write the full life cycle management information of electric power materials, a plurality of sharing participating nodes participating in sharing data are determined, and the plurality of sharing participating nodes are used to receive the access request input by the user and interact with the front-end layer; Building a blockchain system based on the multiple shared participating nodes, the blockchain system includes the multiple shared participating nodes; Clustering each shared participating node based on the node location information of each shared participating node in the blockchain system to obtain three node clustering clusters; Split each node cluster into a first node and multiple second nodes; The first node and a plurality of second nodes in the node cluster perform multi-party security computing based on their respective private electric power material life cycle management information to obtain first multi-party security computing information of the node cluster, and obtain three first multi-party security computing information of the three node clusters; Dividing the three node clusters into two first node clusters and one second node cluster; The first node in the first node cluster obtains a second multi-party secure computing information sent by the first node in the second node cluster, wherein the first node in the second node cluster splits the first multi-party secure computing information of the second node cluster into two second multi-party secure computing information and sends them to the first nodes in the two first node clusters respectively; The first node in the first node cluster generates first security information based on the second multi-party secure computing information and the first multi-party secure computing information of the first node; The first node in the first node cluster performs a secure two-party computation with the first node in another first node cluster based on the first security information and the second security information of the first node in another first node cluster to obtain a secure two-party computation result, wherein the second security information is determined by another first node based on the first multi-party secure computation information of another first node and the second multi-party secure computation information obtained by another first node, and the secure two-party computation result includes the summary of the private electric power material full life cycle management information of each shared participating node in the blockchain system; The first node in the first node cluster broadcasts the secure two-party computation result, so that each shared participating node in the blockchain system obtains the secure two-party computation result; The gateway layer obtains the secure two-party computing result sent by each shared participating node in the blockchain system; The gateway layer verifies whether the secure two-party calculation results sent by each shared participating node are the same. When the secure two-party calculation results sent by each shared participating node are the same, the secure two-party calculation results are forwarded to the multiple back-end services of the application layer as summarized electric power material full life cycle management information, so that the multiple back-end services of the application layer store the summarized electric power material full life cycle management information to the data layer.

9. An intelligent management system for the entire life cycle of electric power materials, characterized in that: The electric power material full life cycle intelligent management system includes a front-end layer, a gateway layer, an application layer and a data layer. The application layer includes multiple back-end services. The front-end layer is used to obtain the access request of the user node and send it to the gateway layer, and display the response result corresponding to the access request returned by the gateway layer to the user node. The access request is used to process the power material life cycle management information generated during the power material life cycle management process. The power material life cycle management information includes basic material information, material procurement records, material inventory changes, and material usage information; The gateway layer is used to send the access request to the backend service corresponding to the request type based on the request type of the access request, and return the response result of the backend service to the front-end layer, wherein different request types correspond to different backend services; The backend service of the application layer is used to process the access request and determine the response result from the data layer, and return the response result to the gateway layer; The data layer is used to store the electric power material life cycle management information generated during the electric power material life cycle management process and update the electric power material life cycle management information based on the access request.

10. A computer-readable storage medium, characterized in that: A computer program is stored thereon, and the computer program is loaded by a processor to execute the steps of the method for intelligent management of the entire life cycle of electric power materials as described in any one of claims 1 to 8.

Citation Information

Patent Citations

  • On-line detection method and device for optical network failures

    CN103326775A

  • API interface calling method and system based on data collection

    CN117278640A

  • Block chain-based power data sharing method and device

    CN117640248A

  • Data backup recovery method and device based on anomaly detection

    CN118860751A