Electric power business system splitting method and device

By obtaining multiple business functional characteristics and splitting strategies in the power business system, determining the optimal splitting strategy and dividing it into multiple functional components, the problem of high business function coupling in traditional systems is solved, and the system is flexible expansion is achieved and change.

CN119201054AActive Publication Date: 2024-12-27SOUTHERN POWER GRID DIGITAL GRID RESEARCH INSTITUTE CO LTD
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202411323289.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-09-23
Publication Date
2024-12-27
Estimated Expiration
2044-09-23

AI Technical Summary

Technical Problem

Traditional power terminal information systems adopt a single-unit architecture, resulting in tight coupling between business functions, inability to flexibly expand and change, and inability to accurately expand the organizational structure of a specific business service, limiting business expansion and change.

Method used

By obtaining the various business functional characteristics and splitting strategies of the power business system, determining the functional components and component types, based on the constraints and evaluation indicators of the splitting strategy, selecting the optimal splitting strategy, and dividing the power business system into multiple functional components , reduce the coupling between functional components.

Benefits of technology

It realizes flexible expansion and change of power business systems, reduces the coupling between functional components, and provides more flexible business organizational structure and expansion capabilities.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119201054A_ABST
    Figure CN119201054A_ABST
Patent Text Reader

Abstract

The invention relates to a power business system splitting method and device. The method comprises the following steps: acquiring various business function characteristics and various splitting strategies of a power business system; for each splitting strategy, determining a plurality of functional components corresponding to the power business system based on the current splitting strategy and the plurality of business functional characteristics; determining a component type corresponding to each functional component, and determining a splitting constraint index based on the occurrence times of the plurality of functional components and the plurality of component types in the use case of the power business system; based on the internal interaction times and the external interaction times corresponding to the plurality of functional components, determining a splitting evaluation index; and determining a target splitting strategy based on the splitting constraint indexes and the splitting evaluation indexes corresponding to the multiple splitting strategies, wherein the target splitting strategy is used for splitting the power business system. By adopting the method, the coupling between service functions can be reduced, and flexible expansion and change of a power service system are facilitated.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of power systems, and in particular to a method and device for splitting a power business system. Background Art

[0002] With the development of the power Internet of Things, the new power system presents multi-source heterogeneous bottlenecks and a surge in power grid data. The increasing demand for diversified and ecological power business applications derived from data value has posed severe challenges to the existing power terminal information system.

[0003] After the traditional power terminal information system is put into use, it is usually continuously maintained and upgraded as the business needs change. A large part of the reason for the change in demand after the system is put into use comes from the continuous access and transformation of new energy services and the increase in user needs. In order to adapt to the application changes caused by changes in scenarios, the business can be decomposed in the business design stage of terminal processing. However, the business organizational structure of the traditional power terminal information system generally adopts a monolithic architecture. Once the business scale expands, due to the complexity of business functions and the tight coupling between businesses, after changing business needs, it is necessary to modify most of the business parts while modifying a few business functions, and it is impossible to accurately provide organizational structure expansion for a specific business service. Therefore, there are limitations in business expansion and change. Summary of the invention

[0004] Based on this, it is necessary to provide a method, device, computer equipment, computer-readable storage medium and computer program product for splitting an electric power business system to address the above-mentioned technical problems, which can reduce the coupling between business functions and facilitate the flexible expansion and change of the electric power business system.

[0005] In a first aspect, the present application provides a method for splitting an electric power business system, comprising:

[0006] Obtain various business function characteristics and splitting strategies of the power business system;

[0007] For each splitting strategy, based on the current splitting strategy and multiple business function characteristics, multiple functional components corresponding to the power business system under the current splitting strategy are determined; the component type corresponding to each functional component is determined, and based on the number of occurrences of multiple functional components and multiple component types in the use cases of the power business system under the current splitting strategy, the splitting constraint index corresponding to the current splitting strategy is determined; based on the number of internal interactions and external interactions corresponding to each of the multiple functional components under the current splitting strategy, the splitting evaluation index corresponding to the current splitting strategy is determined;

[0008] Based on the splitting constraint indicators and splitting evaluation indicators corresponding to the various splitting strategies, a target splitting strategy is determined among the various splitting strategies, and the target splitting strategy is used to split the power business system.

[0009] In one embodiment, based on the current split strategy and multiple business function characteristics, multiple functional components corresponding to the power business system under the current split strategy are determined, including:

[0010] Based on the current splitting strategy and multiple business function characteristics, the power business system is divided into multiple levels to obtain multi-level functional components. Each level of functional components includes multiple functional components. The functional components of the current level are obtained by dividing the functional components of the previous level.

[0011] The multi-level functional components are taken as multiple functional components corresponding to the power business system under the current splitting strategy.

[0012] In one embodiment, based on the number of occurrences of each of the multiple functional components and the multiple component types in the use case of the power business system under the current splitting strategy, a splitting constraint indicator corresponding to the current splitting strategy is determined, including:

[0013] Determine the sharing degree of the functional components based on the number of occurrences of each of the multiple functional components in the use cases of the power business system and the number of use cases of the power business system under the current splitting strategy;

[0014] Determine the component type sharing degree based on the number of occurrences of each of the multiple component types in the use cases of the power business system and the number of use cases of the power business system under the current splitting strategy;

[0015] Determine the degree of information exchange between functional components and component types based on the degree of sharing of functional components, the degree of sharing of component types, and the shared use cases between functional components and component types;

[0016] Determine the degree of information exchange between multiple component types based on the degree of sharing of functional components, the degree of sharing of component types, and the shared use cases between multiple component types;

[0017] The sharing degree of functional components, the sharing degree of component types, the information exchange degree between functional components and component types, and the information exchange degree between multiple component types are taken as the splitting constraint indicators corresponding to the current splitting strategy.

[0018] In one embodiment, based on the internal interaction times and external interaction times corresponding to the multiple functional components under the current splitting strategy, the splitting evaluation index corresponding to the current splitting strategy is determined, including:

[0019] Determine the quality of the structured module based on the number of internal interactions corresponding to each of the multiple functional components under the current splitting strategy, the number of external interactions between the multiple functional components, and the number of components of the multiple functional components;

[0020] Determine the running call ratio based on the number of calls between multiple functional components under the current split strategy;

[0021] Determine the average entropy based on the number of use cases for each functional component and the number of components of multiple functional components under the current splitting strategy;

[0022] Determine the interface quantity indicator based on the number of interfaces of each functional component under the current split strategy;

[0023] The structured module quality, running call ratio, average entropy and interface quantity indicators are used as split evaluation indicators corresponding to the current split strategy.

[0024] In one embodiment, the splitting constraint index corresponding to each splitting strategy includes the functional component sharing degree, the component type sharing degree and the node information exchange degree; based on the splitting constraint index and the splitting evaluation index corresponding to each of the multiple splitting strategies, a target splitting strategy is determined from the multiple splitting strategies, including:

[0025] The splitting strategies whose functional component sharing degree satisfies the first constraint condition, component type sharing degree satisfies the second constraint condition, and node information exchange degree satisfies the third constraint condition are selected as candidate splitting strategies;

[0026] Based on the splitting evaluation index, a target splitting strategy is determined from multiple candidate splitting strategies.

[0027] In one embodiment, the splitting evaluation index corresponding to each splitting strategy includes structured module quality, operation call ratio, average entropy and interface quantity index; based on the splitting evaluation index, determining a target splitting strategy from multiple candidate splitting strategies includes:

[0028] For each candidate splitting strategy, the structural module quality, operation call ratio, average entropy and interface quantity indicators of the current candidate splitting strategy are weighted and summed to obtain the evaluation score corresponding to the current splitting strategy;

[0029] The candidate splitting strategy with the highest evaluation score among multiple candidate splitting strategies is used as the target splitting strategy.

[0030] In a second aspect, the present application also provides a power business system splitting device, including:

[0031] The acquisition module is used to obtain various business function characteristics and various splitting strategies of the power business system.

[0032] A determination module is used to determine, for each splitting strategy, multiple functional components corresponding to the power business system under the current splitting strategy based on the current splitting strategy and multiple business function characteristics; determine the component type corresponding to each functional component, and determine the splitting constraint index corresponding to the current splitting strategy based on the number of occurrences of multiple functional components and multiple component types in the use cases of the power business system under the current splitting strategy; determine the splitting evaluation index corresponding to the current splitting strategy based on the number of internal interactions and external interactions corresponding to each of the multiple functional components under the current splitting strategy.

[0033] The splitting module is used to determine a target splitting strategy among multiple splitting strategies based on the splitting constraint indicators and splitting evaluation indicators corresponding to each of the multiple splitting strategies, and the target splitting strategy is used to split the power business system.

[0034] In a third aspect, the present application further provides a computer device, including a memory and a processor, wherein the memory stores a computer program, and when the processor executes the computer program, the following steps are implemented:

[0035] Obtain various business function characteristics and splitting strategies of the power business system;

[0036] For each splitting strategy, based on the current splitting strategy and multiple business function characteristics, multiple functional components corresponding to the power business system under the current splitting strategy are determined; the component type corresponding to each functional component is determined, and based on the number of occurrences of multiple functional components and multiple component types in the use cases of the power business system under the current splitting strategy, the splitting constraint index corresponding to the current splitting strategy is determined; based on the number of internal interactions and external interactions corresponding to each of the multiple functional components under the current splitting strategy, the splitting evaluation index corresponding to the current splitting strategy is determined;

[0037] Based on the splitting constraint indicators and splitting evaluation indicators corresponding to the various splitting strategies, a target splitting strategy is determined among the various splitting strategies, and the target splitting strategy is used to split the power business system.

[0038] In a fourth aspect, the present application further provides a computer-readable storage medium having a computer program stored thereon, wherein when the computer program is executed by a processor, the following steps are implemented:

[0039] Obtain various business function characteristics and splitting strategies of the power business system;

[0040] For each splitting strategy, based on the current splitting strategy and multiple business function characteristics, multiple functional components corresponding to the power business system under the current splitting strategy are determined; the component type corresponding to each functional component is determined, and based on the number of occurrences of multiple functional components and multiple component types in the use cases of the power business system under the current splitting strategy, the splitting constraint index corresponding to the current splitting strategy is determined; based on the number of internal interactions and external interactions corresponding to each of the multiple functional components under the current splitting strategy, the splitting evaluation index corresponding to the current splitting strategy is determined;

[0041] Based on the splitting constraint indicators and splitting evaluation indicators corresponding to the various splitting strategies, a target splitting strategy is determined among the various splitting strategies, and the target splitting strategy is used to split the power business system.

[0042] In a fifth aspect, the present application further provides a computer program product, including a computer program, which implements the following steps when executed by a processor:

[0043] Obtain various business function characteristics and splitting strategies of the power business system;

[0044] For each splitting strategy, based on the current splitting strategy and multiple business function characteristics, multiple functional components corresponding to the power business system under the current splitting strategy are determined; the component type corresponding to each functional component is determined, and based on the number of occurrences of multiple functional components and multiple component types in the use cases of the power business system under the current splitting strategy, the splitting constraint index corresponding to the current splitting strategy is determined; based on the number of internal interactions and external interactions corresponding to each of the multiple functional components under the current splitting strategy, the splitting evaluation index corresponding to the current splitting strategy is determined;

[0045] Based on the splitting constraint indicators and splitting evaluation indicators corresponding to the various splitting strategies, a target splitting strategy is determined among the various splitting strategies, and the target splitting strategy is used to split the power business system.

[0046] The above-mentioned power business system splitting method, device, computer equipment, computer-readable storage medium and computer program product divide the power business system into multiple functional components through various business function characteristics of the power business system and each splitting strategy. Different division strategies have different division methods for functional components. For each division strategy, the splitting constraint index can be determined based on the number of occurrences of multiple functional components and multiple component types in the use cases of the power business system under the current splitting strategy, and the splitting evaluation index can be determined based on the number of internal interactions and external interactions corresponding to each of the multiple functional components under the current splitting strategy. Since the splitting constraint index and the splitting evaluation index quantify the association between the functional components and the component types, the optimal target splitting strategy can be determined according to the splitting constraint index and the splitting evaluation index corresponding to each of the multiple splitting strategies. Splitting the power business system based on the target splitting strategy can reduce the coupling between multiple functional components, which is conducive to the flexible expansion and change of the power business system. BRIEF DESCRIPTION OF THE DRAWINGS

[0047] In order to more clearly illustrate the technical solutions in the embodiments of the present application or related technologies, the drawings required for use in the embodiments of the present application or related technical descriptions will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without paying creative work.

[0048] FIG1 is an application environment diagram of a method for splitting a power business system in one embodiment;

[0049] FIG2 is a schematic diagram of a flow chart of a method for splitting a power business system in one embodiment;

[0050] FIG3 is a schematic diagram of functional components in one embodiment;

[0051] FIG4 is a schematic diagram of the hierarchical relationship of functional components in one embodiment;

[0052] FIG5 is a schematic diagram of a splitting process of a power business system in one embodiment;

[0053] FIG6 is a diagram showing the relationship between functional components and component types in one embodiment;

[0054] FIG7 is a structural block diagram of a power business system splitting device in one embodiment;

[0055] FIG. 8 is a diagram showing the internal structure of a computer device in one embodiment. DETAILED DESCRIPTION

[0056] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.

[0057] The power business system splitting method provided in the embodiment of the present application can be applied to the application environment shown in Figure 1. Among them, the terminal 102 communicates with the server 104 through the network. The data storage system can store the data that the server 104 needs to process. The data storage system can be integrated on the server 104, or it can be placed on the cloud or other network servers. This embodiment uses the method applied to the terminal 102 as an example. It can be understood that the method can also be applied to the server, and can also be applied to the system including the terminal and the server, and is implemented through the interaction between the terminal and the server. The terminal 102 obtains multiple business function characteristics and multiple splitting strategies of the power business system; for each splitting strategy, based on the current splitting strategy and multiple business function characteristics, multiple functional components corresponding to the power business system under the current splitting strategy are determined; the component type corresponding to each functional component is determined, and based on the number of occurrences of multiple functional components and multiple component types in the use cases of the power business system under the current splitting strategy, the splitting constraint index corresponding to the current splitting strategy is determined; based on the number of internal interactions and external interactions corresponding to each of the multiple functional components under the current splitting strategy, the splitting evaluation index corresponding to the current splitting strategy is determined; based on the splitting constraint index and splitting evaluation index corresponding to each of the multiple splitting strategies, a target splitting strategy is determined in the multiple splitting strategies, and the target splitting strategy is used to split the power business system. Among them, the terminal 102 can be, but is not limited to, various personal computers, laptops, smart phones, tablet computers, Internet of Things devices and portable wearable devices, and the Internet of Things devices can be smart speakers, smart TVs, smart air conditioners, smart car devices, projection devices, etc. Portable wearable devices can be smart watches, smart bracelets, head-mounted devices, etc. The head mounted device may be a virtual reality (VR) device, an augmented reality (AR) device, smart glasses, etc. The server 104 may be an independent physical server, or a server cluster or distributed system composed of multiple physical servers, or a cloud server providing cloud computing services.

[0058] In an exemplary embodiment, as shown in FIG2 , a method for splitting a power business system is provided, which is described by taking the method applied to the terminal 102 in FIG1 as an example, and includes the following steps 202 to 206. Among them:

[0059] Step 202: Acquire various business function characteristics and various splitting strategies of the electric power business system.

[0060] The power business system refers to the power terminal system used to process power business. The business function characteristics refer to the business function types provided by the power business system. For example, the business function characteristics include protection type, demand response type, power quality type, etc. The split strategy refers to the pre-set strategy for splitting the power business system.

[0061] Step 204, for each splitting strategy, based on the current splitting strategy and multiple business function characteristics, determine multiple functional components corresponding to the power business system under the current splitting strategy; determine the component type corresponding to each functional component, and based on the number of occurrences of each of the multiple functional components and the multiple component types in the use cases of the power business system under the current splitting strategy, determine the splitting constraint index corresponding to the current splitting strategy; based on the number of internal interactions and external interactions corresponding to each of the multiple functional components under the current splitting strategy, determine the splitting evaluation index corresponding to the current splitting strategy.

[0062] Among them, the use of multiple splitting strategies can split the power business system into multiple different functional component combinations. Under each functional component combination, the coupling between the functional components is different. Therefore, for each splitting strategy, the corresponding splitting constraint indicators and splitting evaluation indicators are determined respectively, so as to constrain and evaluate the multiple splitting strategies.

[0063] Functional components refer to functional components under the microservice architecture. The microservice architecture is used to split the power business system. The power business system has a simple organizational structure, which is conducive to reducing the frequency of information exchange between multiple functional components and reducing the degree of coupling. In some embodiments, the current splitting strategy indicates that each business functional characteristic can correspond to one functional component, and can also indicate that multiple business functional characteristics correspond to one functional component.

[0064] In other embodiments, the current splitting strategy may indicate that the power business system is split into a single layer according to the business function characteristics to obtain multiple functional components; the current splitting strategy may also indicate that the power business system is split according to the business function characteristics, and then the split results are split to obtain multi-level functional components. As shown in FIG3, a schematic diagram of functional components in an embodiment. After the power business system is split, multiple functional components at the top level are obtained, which are protection type, demand response type, power quality type, energy management type, etc. Then, the multiple functional components at the top level are split respectively to obtain multiple functional components at the second level. Taking the functional components of the power quality type as an example, the functional components of the power quality type can be split into reactive compensation, node parameters, harmonics, power factors, etc. Subsequently, the multiple functional components at the second level are split respectively to obtain multiple functional components at the third level. Taking the harmonic functional components as an example, the harmonic functional components can be split into sampling, Fourier analysis, instruction upshift, instruction downshift, etc.

[0065] In some embodiments, the size of the functional component hierarchy is referred to as hierarchical granularity. FIG4 is a schematic diagram of the hierarchical relationship of functional components in one embodiment. The hierarchical granularity method can be used to characterize the relative size of each functional component and the hierarchical relationship of the business organization process in which it is located.

[0066] The component type refers to the attribute feature type of the functional component. For example, one functional component can correspond to one attribute feature type, and one attribute feature type can correspond to multiple functional components. For example, the component types corresponding to instruction downshift and sampling in the functional component are both control types, and the component types corresponding to Fourier analysis include analysis type and data type.

[0067] In the case where the functional components have multiple levels, the component type may be the attribute feature type corresponding to each of the functional components of the last level.

[0068] Functional components are independent units for constructing the power business system. The overall model of functional components of the power business system can be constructed using the directed acyclic graph method. As shown in Figure 5, it is a schematic diagram of the splitting process of the power business system in one embodiment. The overall model of functional components can be expressed as L=(N,E,K,S), where N={1,2,…,n} represents the set of next-level functional components, n is the number of next-level functional components, K represents the level of the functional component, and S is the component type contained in the functional component. Represents the set of directed edges of dependencies between functional components. , functional component i is the direct predecessor component of functional component j, and functional component j is the direct successor component of functional component i. In addition, each The directed edges and weights of Related, Represents the amount of data transferred from functional component i to functional component j.

[0069] The use case of the power business system refers to the use case of the actual business needs of the power business system, which can be used to describe the actual business demand information. In view of the problem of insufficient analysis of the business information characteristics of the power business system in the overall model of functional components, a problem model is constructed through system and demand analysis, and a relationship diagram containing various functional components and component types is established to characterize the internal connection of the power business system information, quantify the relationship between functional nodes, and assign weights to the edges in the diagram.

[0070] As shown in Figure 6, it is a relationship diagram of functional components and component types in an embodiment. Wherein, P represents the functional component, and DS represents the component type. In some embodiments, a triple G = (A, E, R) is used to represent the relationship diagram, wherein A represents the node set of the component type {a1, a2, a3, ...}; E represents the node set of the functional component {e1, e2, e3, ...}; the correlation between each node is represented by an edge, and R represents a set of edges, which includes two types of edges, namely, the edge R (ai, ej) between the functional component and the component type, and the edge R (ei, ej) between the functional component and the functional component. The relationship diagram of functional components and component types containing two types of nodes can better describe the belonging and parallel relationship between different functional components and component types, and can more comprehensively represent the structural characteristics and information. The expression of the edge between each node is as follows:

[0071]

[0072]

[0073] Each use case may include information about functional components and component types. Therefore, each use case may construct a subgraph of the functional component and component type relationship graph.

[0074] The number of internal interactions refers to the number of interactions between multiple sub-functional components corresponding to the current functional component. The number of external interactions refers to the number of interactions between functional component i and functional component j.

[0075] The split constraint index is used to characterize the degree of information exchange between functional components and component types. The split evaluation index is used to characterize the split effect of the power business system.

[0076] Step 206 , based on the splitting constraint indicators and splitting evaluation indicators corresponding to the multiple splitting strategies, a target splitting strategy is determined from the multiple splitting strategies, and the target splitting strategy is used to split the power business system.

[0077] Among them, the terminal determines the optimal target splitting strategy among multiple splitting strategies according to the splitting constraint indicators and splitting evaluation indicators, and splits the power business system according to the target splitting strategy, which can reduce the coupling between multiple functional components and is conducive to the flexible expansion and change of the power business system, providing research ideas for the modeling of the power business organizational structure of the new power system and the expansion and change of the business.

[0078] In the above-mentioned power business system splitting method, the power business system is divided into multiple functional components through various business function characteristics of the power business system and each splitting strategy. Different division strategies have different division methods for functional components. For each division strategy, the splitting constraint index can be determined based on the number of occurrences of multiple functional components and multiple component types in the use cases of the power business system under the current splitting strategy, and the splitting evaluation index can be determined based on the number of internal interactions and external interactions corresponding to each of the multiple functional components under the current splitting strategy. Since the splitting constraint index and the splitting evaluation index quantify the association between functional components and component types, the optimal target splitting strategy can be determined according to the splitting constraint index and the splitting evaluation index corresponding to each of the multiple splitting strategies. Splitting the power business system based on the target splitting strategy can reduce the coupling between multiple functional components, which is conducive to the flexible expansion and change of the power business system.

[0079] In an exemplary embodiment, based on the current split strategy and multiple business function characteristics, multiple functional components corresponding to the power business system under the current split strategy are determined, including: based on the current split strategy and multiple business function characteristics, the power business system is divided into multiple levels to obtain multi-level functional components, each level of functional components includes multiple functional components, and the functional components of the current level are obtained by dividing the functional components of the previous level; the multi-level functional components are used as multiple functional components corresponding to the power business system under the current split strategy.

[0080] Among them, multi-level division refers to dividing the power business system according to the current splitting strategy to obtain multiple functional components at the top level, and then dividing each functional component at the top level to obtain multiple functional components at the second level, and so on to obtain multi-level functional components, wherein the functional components at the current level refer to the functional components of the non-top level, and the functional components at the current level are obtained by dividing the functional components of the previous level. For example, referring to Figure 5, the harmonic functional component is obtained by dividing the power quality analysis functional component, and is a sub-functional component of the power quality analysis functional component.

[0081] The terminal uses the final multi-level functional components as multiple functional components corresponding to the power business system under the current splitting strategy.

[0082] In this embodiment, for each current splitting strategy, the power business system is split into multiple levels to obtain multi-level functional components. This multi-level splitting method is conducive to splitting the power business system into multiple functional components according to business functional characteristics. The coupling between multiple functional components is low, and larger complex business objects can be processed in a combined manner, and a business organizational structure based on functional components can be obtained, which is conducive to the flexible expansion and change of the power business system.

[0083] In an exemplary embodiment, based on the number of occurrences of each of multiple functional components and multiple component types in the use cases of the power business system under the current split strategy, a split constraint indicator corresponding to the current split strategy is determined, including: determining the functional component sharing degree based on the number of occurrences of each of multiple functional components in the use cases of the power business system under the current split strategy and the number of use cases of the power business system; determining the component type sharing degree based on the number of occurrences of each of multiple component types in the use cases of the power business system under the current split strategy and the number of use cases of the power business system; determining the information exchange degree between the functional components and the component types based on the functional component sharing degree, the component type sharing degree and the shared use cases between the functional components and the component types; determining the information exchange degree between the multiple component types based on the functional component sharing degree, the component type sharing degree and the shared use cases between the multiple component types; using the functional component sharing degree, the component type sharing degree, the information exchange degree between the functional components and the component types and the information exchange degree between the multiple component types as the split constraint indicator corresponding to the current split strategy.

[0084] Among them, the functional component sharing degree is used to measure the degree to which a single functional component is read and written by different use cases. The component type sharing degree is used to measure the degree to which a single component type is read and written by different use cases. The information exchange degree between functional components and component types is used to measure the coupling between functional components and component types. The information exchange degree between multiple component types is used to measure the coupling between multiple component types. The more times the current associated node is a functional component that is called by other functional components, the more information is exchanged between vertices. The terminal uses the above four indicators as split constraint indicators corresponding to the current split strategy.

[0085] In some embodiments, the functional component sharing degree The formula is:

[0086]

[0087] Component type sharing The formula is:

[0088]

[0089] The degree of information exchange between functional components and component types The formula is:

[0090]

[0091] The degree of information exchange between multiple component types The formula is:

[0092]

[0093] in, Indicates component type The number of occurrences in the use case, u represents the number of use cases in the power business system, Representing functional components The number of occurrences in the use case, V represents and or and Shared use cases between Indicates the priority of use case t among all use cases. ; m represents the total number of component types included in use case t; n represents the total number of functional components corresponding to the component types included in use case t.

[0094] In this embodiment, four splitting constraint indicators are determined through the number of occurrences of multiple functional components and multiple component types in the use cases of the power business system under the current splitting strategy, the number of use cases of the power business system, and the shared use cases between nodes. They are the functional component sharing degree, the component type sharing degree, the information exchange degree between functional components and component types, and the information exchange degree between multiple component types. This method for determining the splitting constraint indicators quantifies the coupling between functional components and component types from multiple angles, which is conducive to selecting the splitting combination with the lowest coupling.

[0095] In an exemplary embodiment, based on the internal interaction times and external interaction times corresponding to each of the multiple functional components under the current splitting strategy, a splitting evaluation index corresponding to the current splitting strategy is determined, including: determining the quality of the structured module based on the internal interaction times corresponding to each of the multiple functional components under the current splitting strategy, the external interaction times between the multiple functional components, and the number of components of the multiple functional components; determining the operation call ratio based on the number of calls between the multiple functional components under the current splitting strategy; determining the average entropy based on the number of use cases of each functional component and the number of components of the multiple functional components under the current splitting strategy; determining the interface number index based on the number of interfaces of each functional component under the current splitting strategy; and using the structured module quality, the operation call ratio, the average entropy, and the interface number index as the splitting evaluation index corresponding to the current splitting strategy.

[0096] Among them, the quality of the structural module refers to an indicator that measures the modular quality of functional components from a structural perspective. The greater the quality of the structural module, the better the splitting effect of the power business system.

[0097] In some embodiments, the structured module quality The calculation formula is:

[0098]

[0099] in, represents the number of internal interactions of functional component i, represents the number of external interactions between functional component i and functional component j, represents the number of components of functional component i, represents the number of components of functional component j, N is the number of components of multiple functional components, The higher the value, the better the modularity.

[0100] The run call ratio is used to measure the percentage of run time calls that occur between two functional components i and j. The smaller the value of the run call ratio, the better the splitting effect of the power business system.

[0101] In some embodiments, the calculation formula of the running call ratio ICP is:

[0102]

[0103] in, Represents the number of calls between functional component i and functional component j.

[0104] The average entropy represents the average entropy of multiple functional components contained in each level. The smaller the value of the average entropy is, the better the splitting effect of the power business system is.

[0105] In some embodiments, the calculation formula of the average entropy BCP is:

[0106]

[0107] in, Represents the number of use cases of functional component i.

[0108] The interface quantity indicator is used to measure the number of interfaces in a functional component. The lower the value of the interface quantity indicator, the better the splitting effect of the power business system.

[0109] In some embodiments, the interface quantity indicator is calculated as:

[0110]

[0111] in, is the number of interfaces in functional component i.

[0112] In this embodiment, four splitting evaluation indicators are determined through the internal interaction times and external interaction times corresponding to each functional component under the current splitting strategy, the number of components, the number of calls between multiple functional components, the number of use cases and the number of interfaces of each functional component. They are structured module quality, operation call ratio, average entropy and interface quantity indicators. This method for determining splitting evaluation indicators quantifies the splitting effect of the power business system from multiple angles, which is conducive to selecting the splitting combination with the best splitting effect.

[0113] In an exemplary embodiment, the splitting constraint indicators corresponding to each splitting strategy include the degree of sharing of functional components, the degree of sharing of component types, and the degree of node information exchange; based on the splitting constraint indicators and splitting evaluation indicators corresponding to each of the multiple splitting strategies, a target splitting strategy is determined from the multiple splitting strategies, including: taking the splitting strategies in which the degree of sharing of functional components satisfies the first constraint condition, the degree of sharing of component types satisfies the second constraint condition, and the degree of node information exchange satisfies the third constraint condition as candidate splitting strategies; based on the splitting evaluation indicators, determining the target splitting strategy from the multiple candidate splitting strategies.

[0114] The node information exchange degree includes the information exchange degree between functional components and component types and the information exchange degree between multiple component types.

[0115] In some embodiments, the first constraint may be:

[0116]

[0117] The second constraint can be:

[0118]

[0119] The third constraint can be:

[0120]

[0121]

[0122] The terminal can use the splitting strategies in which the functional component sharing degree satisfies the first constraint condition, the component type sharing degree satisfies the second constraint condition, and the node information exchange degree satisfies the third constraint condition as candidate splitting strategies, and then further select multiple candidate splitting strategies according to the splitting evaluation index to determine the target splitting strategy.

[0123] In this embodiment, by determining whether the functional component sharing degree, component type sharing degree and node information exchange degree of each of the multiple splitting strategies meet the corresponding constraints, the candidate splitting strategy is determined, and then the target splitting strategy is further determined based on the splitting evaluation index, which is conducive to gradually selecting the optimal target splitting strategy, thereby reducing the coupling between business functions.

[0124] In an exemplary embodiment, the splitting evaluation indicators corresponding to each splitting strategy include structured module quality, operation call ratio, average entropy and interface quantity indicators; based on the splitting evaluation indicators, a target splitting strategy is determined from multiple candidate splitting strategies, including: for each candidate splitting strategy, the structured module quality, operation call ratio, average entropy and interface quantity indicators of the current candidate splitting strategy are weighted and summed to obtain an evaluation score corresponding to the current splitting strategy; the candidate splitting strategy with the highest evaluation score among the multiple candidate splitting strategies is used as the target splitting strategy.

[0125] Among them, since multiple split evaluation indicators have different value ranges, the values ​​of all split evaluation indicators can be normalized. The split evaluation indicator value of the current edge is divided by the maximum value of the corresponding split evaluation indicator in all splittable schemes, and the result is used as the value of the final split evaluation indicator. Moreover, according to the needs of specific scenarios, the weights of indicators such as SM, ICP, BCP, IFN, etc. can be set to generate power business system split calculation schemes for distribution substations in different scenarios to adapt to complex power business application scenarios.

[0126] In some embodiments, the evaluation score The calculation formula is:

[0127]

[0128] in, , , , They represent the weights of SM, ICP, BCP and IFN indicators respectively.

[0129] In this embodiment, multiple split evaluation indicators are evaluated by weighted sum calculation, so that the candidate split strategy with the highest evaluation score is used as the target split strategy, which is conducive to determining the target split strategy with the lowest coupling and the best split effect.

[0130] It should be understood that, although the various steps in the flowcharts involved in the above-mentioned embodiments are displayed in sequence according to the indication of the arrows, these steps are not necessarily executed in sequence according to the order indicated by the arrows. Unless there is a clear explanation in this article, the execution of these steps does not have a strict order restriction, and these steps can be executed in other orders. Moreover, at least a part of the steps in the flowcharts involved in the above-mentioned embodiments can include multiple steps or multiple stages, and these steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these steps or stages is not necessarily to be carried out in sequence, but can be executed in turn or alternately with other steps or at least a part of the steps or stages in other steps.

[0131] Based on the same inventive concept, the embodiment of the present application also provides a power business system splitting device for implementing the power business system splitting method involved above. The implementation scheme for solving the problem provided by the device is similar to the implementation scheme recorded in the above method, so the specific limitations in one or more power business system splitting device embodiments provided below can refer to the limitations of the power business system splitting method above, and will not be repeated here.

[0132] In an exemplary embodiment, as shown in FIG7 , a power business system splitting device 100 is provided, comprising: an acquisition module 120 , a determination module 140 and a splitting module 160 , wherein:

[0133] The acquisition module 120 is used to acquire various business function characteristics and various splitting strategies of the power business system.

[0134] Determination module 140 is used to determine, for each splitting strategy, multiple functional components corresponding to the power business system under the current splitting strategy based on the current splitting strategy and multiple business function characteristics; determine the component type corresponding to each functional component, and determine the splitting constraint index corresponding to the current splitting strategy based on the number of occurrences of each of the multiple functional components and the multiple component types in the use cases of the power business system under the current splitting strategy; determine the splitting evaluation index corresponding to the current splitting strategy based on the number of internal interactions and external interactions corresponding to each of the multiple functional components under the current splitting strategy.

[0135] The splitting module 160 is used to determine a target splitting strategy among multiple splitting strategies based on the splitting constraint indicators and splitting evaluation indicators corresponding to each of the multiple splitting strategies, and the target splitting strategy is used to split the power business system.

[0136] The above-mentioned power business system splitting device divides the power business system into multiple functional components through various business function characteristics of the power business system and each splitting strategy. Different division strategies have different division methods for functional components. For each division strategy, the splitting constraint index can be determined based on the number of occurrences of multiple functional components and multiple component types in the use cases of the power business system under the current splitting strategy, and the splitting evaluation index can be determined based on the number of internal interactions and external interactions corresponding to each of the multiple functional components under the current splitting strategy. Since the splitting constraint index and the splitting evaluation index quantify the association between functional components and component types, the optimal target splitting strategy can be determined according to the splitting constraint index and the splitting evaluation index corresponding to each of the multiple splitting strategies. Splitting the power business system based on the target splitting strategy can reduce the coupling between multiple functional components, which is conducive to the flexible expansion and change of the power business system.

[0137] In one embodiment, based on the current split strategy and various business function characteristics, multiple functional components corresponding to the power business system under the current split strategy are determined, and the determination module 140 is also used to: divide the power business system into multiple levels based on the current split strategy and various business function characteristics to obtain multi-level functional components, each level of functional components includes multiple functional components, and the functional components of the current level are obtained by dividing the functional components of the previous level; and use the multi-level functional components as the multiple functional components corresponding to the power business system under the current split strategy.

[0138] In one embodiment, based on the number of occurrences of each of multiple functional components and multiple component types in the use cases of the power business system under the current split strategy, the split constraint index corresponding to the current split strategy is determined, and the determination module 140 is also used to: determine the sharing degree of the functional components based on the number of occurrences of each of the multiple functional components in the use cases of the power business system under the current split strategy and the number of use cases of the power business system; determine the sharing degree of the component types based on the number of occurrences of each of the multiple component types in the use cases of the power business system under the current split strategy and the number of use cases of the power business system; determine the information exchange degree between the functional components and the component types based on the sharing degree of the functional components, the sharing degree of the component types and the shared use cases between the functional components and the component types; determine the information exchange degree between the multiple component types based on the sharing degree of the functional components, the sharing degree of the component types and the shared use cases between the multiple component types; use the sharing degree of the functional components, the sharing degree of the component types, the information exchange degree between the functional components and the component types, and the information exchange degree between the multiple component types as the split constraint index corresponding to the current split strategy.

[0139] In one embodiment, based on the internal interaction times and external interaction times corresponding to each of the multiple functional components under the current splitting strategy, the splitting evaluation index corresponding to the current splitting strategy is determined, and the determination module 140 is also used to: determine the quality of the structured module based on the internal interaction times corresponding to each of the multiple functional components under the current splitting strategy, the external interaction times between the multiple functional components, and the number of components of the multiple functional components; determine the operation call ratio based on the number of calls between the multiple functional components under the current splitting strategy; determine the average entropy based on the number of use cases of each functional component and the number of components of the multiple functional components under the current splitting strategy; determine the interface quantity index based on the number of interfaces of each functional component under the current splitting strategy; use the structured module quality, operation call ratio, average entropy and interface quantity index as the splitting evaluation index corresponding to the current splitting strategy.

[0140] In one embodiment, the splitting constraint indicators corresponding to each splitting strategy include the degree of sharing of functional components, the degree of sharing of component types, and the degree of node information exchange; based on the splitting constraint indicators and splitting evaluation indicators corresponding to each of the multiple splitting strategies, a target splitting strategy is determined from the multiple splitting strategies, and the splitting module 160 is also used to: use the splitting strategies in which the degree of sharing of functional components satisfies the first constraint condition, the degree of sharing of component types satisfies the second constraint condition, and the degree of node information exchange satisfies the third constraint condition as candidate splitting strategies; based on the splitting evaluation indicator, determine the target splitting strategy from the multiple candidate splitting strategies.

[0141] In one embodiment, the splitting evaluation indicators corresponding to each splitting strategy include structured module quality, operation call ratio, average entropy and interface quantity indicators; based on the splitting evaluation indicators, a target splitting strategy is determined from multiple candidate splitting strategies, and the splitting module 160 is also used to: for each candidate splitting strategy, perform weighted summation of the structured module quality, operation call ratio, average entropy and interface quantity indicators of the current candidate splitting strategy to obtain an evaluation score corresponding to the current splitting strategy; and use the candidate splitting strategy with the highest evaluation score among the multiple candidate splitting strategies as the target splitting strategy.

[0142] Each module in the above-mentioned power business system splitting device can be implemented in whole or in part by software, hardware and a combination thereof. Each of the above-mentioned modules can be embedded in or independent of a processor in a computer device in the form of hardware, or can be stored in a memory in a computer device in the form of software, so that the processor can call and execute operations corresponding to each of the above modules.

[0143] In an exemplary embodiment, a computer device is provided, which may be a terminal, and its internal structure diagram may be shown in FIG8. The computer device includes a processor, a memory, an input / output interface, a communication interface, a display unit, and an input device. The processor, the memory, and the input / output interface are connected via a system bus, and the communication interface, the display unit, and the input device are connected to the system bus via the input / output interface. The processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The input / output interface of the computer device is used to exchange information between the processor and an external device. The communication interface of the computer device is used to communicate with an external terminal in a wired or wireless manner, and the wireless manner may be implemented through WIFI, a mobile cellular network, near field communication (NFC) or other technologies. When the computer program is executed by the processor, a method for splitting a power business system is implemented. The display unit of the computer device is used to form a visually visible picture, which may be a display screen, a projection device, or a virtual reality imaging device. The display screen can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer device can be a touch layer covering the display screen, or a button, trackball or touchpad set on the computer device shell, or an external keyboard, touchpad or mouse.

[0144] Those skilled in the art will understand that the structure shown in FIG. 8 is merely a block diagram of a partial structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than shown in the figure, or combine certain components, or have a different arrangement of components.

[0145] In an exemplary embodiment, a computer device is provided, including a memory and a processor, wherein a computer program is stored in the memory, and the processor implements the steps in the above-mentioned method embodiments when executing the computer program.

[0146] In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the steps in the above-mentioned method embodiments are implemented.

[0147] In one embodiment, a computer program product is provided, including a computer program, which implements the steps in the above method embodiments when executed by a processor.

[0148] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with relevant regulations.

[0149] A person of ordinary skill in the art can understand that all or part of the processes in the above-mentioned embodiment method can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to the memory, database or other medium used in the embodiments provided in the present application can include at least one of non-volatile memory and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetic random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM). The database involved in each embodiment provided in this application may include at least one of a relational database and a non-relational database. Non-relational databases may include distributed databases based on blockchains, etc., but are not limited to this. The processor involved in each embodiment provided in this application may be a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, an artificial intelligence (AI) processor, etc., but are not limited to this.

[0150] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this application.

[0151] The above-described embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the present application. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the attached claims.

Claims

1. A method for splitting a power business system, characterized in that: The method comprises: Obtain various business function characteristics and splitting strategies of the power business system; For each splitting strategy, based on the current splitting strategy and multiple business function characteristics, multiple functional components corresponding to the power business system under the current splitting strategy are determined; the component type corresponding to each functional component is determined, and based on the number of occurrences of each of the multiple functional components and the multiple component types under the current splitting strategy in the use cases of the power business system, the splitting constraint index corresponding to the current splitting strategy is determined; based on the number of internal interactions and the number of external interactions corresponding to each of the multiple functional components under the current splitting strategy, the splitting evaluation index corresponding to the current splitting strategy is determined; Based on the splitting constraint indicators and splitting evaluation indicators corresponding to the multiple splitting strategies, a target splitting strategy is determined among the multiple splitting strategies, and the target splitting strategy is used to split the power business system.

2. The method according to claim 1, characterized in that The determining, based on the current splitting strategy and multiple business function characteristics, multiple functional components corresponding to the power business system under the current splitting strategy includes: Based on the current splitting strategy and multiple business function characteristics, the power business system is divided into multiple levels to obtain multi-level functional components, each level of functional components includes multiple functional components, and the functional components of the current level are obtained by dividing the functional components of the previous level; The multi-level functional components are used as the multiple functional components corresponding to the power business system under the current splitting strategy.

3. The method according to claim 1, characterized in that The determining, based on the number of occurrences of each of the plurality of functional components and the plurality of component types under the current splitting strategy in the use case of the power business system, a splitting constraint indicator corresponding to the current splitting strategy includes: Determining the degree of sharing of the functional components based on the number of occurrences of each of the plurality of functional components in the use case of the power business system and the number of use cases of the power business system under the current splitting strategy; Determining a component type sharing degree based on the number of occurrences of each of the plurality of component types in the use case of the power business system and the number of use cases of the power business system under the current splitting strategy; Determining the information exchange degree between the functional components and the component types based on the functional component sharing degree, the component type sharing degree, and the shared use cases between the functional components and the component types; Determining the information exchange degree between the multiple component types based on the functional component sharing degree, the component type sharing degree and the shared use cases between the multiple component types; The functional component sharing degree, the component type sharing degree, the information exchange degree between the functional component and the component type, and the information exchange degree between the multiple component types are used as split constraint indicators corresponding to the current split strategy.

4. The method according to claim 1, characterized in that The determining of the splitting evaluation index corresponding to the current splitting strategy based on the internal interaction times and external interaction times corresponding to the multiple functional components under the current splitting strategy includes: Determining the quality of the structured module based on the number of internal interactions corresponding to each of the multiple functional components under the current splitting strategy, the number of external interactions between the multiple functional components, and the number of components of the multiple functional components; Determine the operation call ratio based on the number of calls between the multiple functional components under the current split strategy; Determining an average entropy based on the number of use cases of each functional component and the number of components of the plurality of functional components under the current splitting strategy; Determine an interface quantity indicator based on the number of interfaces of each functional component under the current splitting strategy; The structured module quality, the operation call ratio, the average entropy and the interface quantity index are used as split evaluation indicators corresponding to the current split strategy.

5. The method according to claim 1, characterized in that The splitting constraint indicators corresponding to each splitting strategy include the sharing degree of functional components, the sharing degree of component types and the node information exchange degree; the splitting constraint indicators and splitting evaluation indicators corresponding to the multiple splitting strategies are used to determine the target splitting strategy from the multiple splitting strategies, including: The splitting strategies whose functional component sharing degree satisfies the first constraint condition, component type sharing degree satisfies the second constraint condition, and node information exchange degree satisfies the third constraint condition are selected as candidate splitting strategies; Based on the splitting evaluation index, a target splitting strategy is determined from multiple candidate splitting strategies.

6. The method according to claim 5, characterized in that The split evaluation indicators corresponding to each split strategy include structural module quality, operation call ratio, average entropy and interface quantity indicators; The step of determining a target splitting strategy from a plurality of candidate splitting strategies based on the splitting evaluation index includes: For each candidate splitting strategy, weighted sum of the structural module quality, operation call ratio, average entropy and interface quantity indicators of the current candidate splitting strategy is performed to obtain an evaluation score corresponding to the current splitting strategy; The candidate splitting strategy with the highest evaluation score among multiple candidate splitting strategies is used as the target splitting strategy.

7. A power business system splitting device, characterized in that: The device comprises: An acquisition module is used to acquire various business function characteristics and various splitting strategies of the power business system; A determination module is used to determine, for each splitting strategy, multiple functional components corresponding to the power business system under the current splitting strategy based on the current splitting strategy and multiple business function characteristics; determine the component type corresponding to each functional component, and determine the splitting constraint index corresponding to the current splitting strategy based on the number of occurrences of each of the multiple functional components and the multiple component types in the use cases of the power business system under the current splitting strategy; determine the splitting evaluation index corresponding to the current splitting strategy based on the number of internal interactions and the number of external interactions corresponding to each of the multiple functional components under the current splitting strategy; The splitting module is used to determine a target splitting strategy among multiple splitting strategies based on splitting constraint indicators and splitting evaluation indicators corresponding to each of the multiple splitting strategies, wherein the target splitting strategy is used to split the power business system.

8. A computer device comprising a memory and a processor, wherein the memory stores a computer program, wherein: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 6 are implemented.

9. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 6 are implemented.

10. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 6 are implemented.

Citation Information

Patent Citations

  • Intelligent inspection method, device and equipment based on micro-service framework and storage medium

    CN112182363A

  • Method and device for constructing safety production risk assessment model of power system

    CN118365111A

  • Business processing method and device, electronic equipment and storage medium

    CN118656151A