Power business intelligent dispatching method, server and storage medium

By calculating the priority of business requests and configuring multi-path channels, the problem of low business scheduling efficiency in smart grids is solved, and efficient processing of power services and data transmission reliability are achieved.

CN114626742BActive Publication Date: 2024-09-24国网河北省电力有限公司营销服务中心 +1
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202210313753.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-03-28
Publication Date
2024-09-24
Estimated Expiration
2042-03-28

AI Technical Summary

Technical Problem

After the digital integration of power business, service scheduling is unreasonable and system coordination is uncoordinated, resulting in slow response to user business operations. It is difficult to achieve efficient scheduling of smart grid business with existing technology.

Method used

By obtaining and sorting power service requests, calculating priorities based on the real-time and reliability indicators of each service type, configuring primary and backup channels, and using the ant colony algorithm to optimize channel selection to ensure timely processing and data transmission of high-priority services reliability.

Benefits of technology

It improves the processing efficiency and response speed of power services in smart grids, ensures the real-time and reliability of business data transmission, and solves the problem of unreasonable business scheduling.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114626742B
    Figure CN114626742B
Patent Text Reader

Abstract

The present invention provides an intelligent dispatching method for electric power business, a server and a storage medium, the method comprising: obtaining multiple service requests, for each service request, the service request is used to request processing of an electric power business, the service request also includes the service type of the electric power business, and the priority of the electric power business of this type; according to the priority in each service request, sorting the multiple service requests in order from high to low priority to obtain a first sorting result; processing the multiple service requests in sequence according to the first sorting result. The present invention can give priority to processing electric power business with high requirements for delay and reliability, and improve the response rate of electric power business.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of power business data processing, and in particular to a power business intelligent scheduling method, a server and a storage medium. Background Art

[0002] By integrating existing online service resources, a unified online service platform for customer aggregation, business integration, and data sharing is formed, also known as the marketing business middle platform. By building the company's marketing business middle platform, the digital transformation of the core marketing business is promoted and all business data is realized.

[0003] However, after digital business integration, problems such as unreasonable service scheduling, uncoordinated system cooperation, and slow response to user business operations were exposed when business service requests were called simultaneously.

[0004] Therefore, realizing intelligent dispatching of power business and improving business response speed are technical problems that need to be solved urgently by existing technologies. Summary of the invention

[0005] In view of this, the present invention provides a method, server and storage medium for intelligent dispatching of electric power services, which can solve the problem of slow response speed of existing smart grid services.

[0006] In a first aspect, an embodiment of the present invention provides a method for intelligent dispatching of electric power services, which is applied to a smart grid communication system. The method includes:

[0007] Acquire multiple service requests, for each service request, the service request is used to request processing of an electric power service, and the service request also includes a service type of the electric power service and a priority of the electric power service of the type;

[0008] According to the priority of each service request, the plurality of service requests are sorted in descending order of priority to obtain a first sorting result;

[0009] The multiple service requests are processed in sequence according to the first sorting result.

[0010] In a possible implementation, the process of determining the priority of each type of power service includes:

[0011] For each type of electric power service, determine the real-time index and reliability index of the electric power service of the type, wherein the real-time index includes the maximum delay allowed for the electric power service of the type, and the reliability index includes the maximum bit error rate allowed for the electric power service of the type;

[0012] For each type of power service, the real-time index of the power service of this type is normalized to obtain a first index value of the power service of this type, and the reliability index of the power service of this type is normalized to obtain a second index value of the power service of this type;

[0013] According to the first index value and the second index value of each type of power business, a comprehensive index value of the type of power business is obtained;

[0014] Sorting the comprehensive index values ​​of the power business of this type in order from low to high to obtain a second sorting result;

[0015] According to the second sorting result, the priority of each power service is obtained, wherein, in the second sorting result, if a first type of power service is located before a second type of power service, the priority of the first type of power service is higher than that of the second type of power service.

[0016] In a possible implementation, obtaining a comprehensive index value of each type of electric power service according to the first index value and the second index value of the electric power service includes:

[0017] The comprehensive index value of this type of power business is obtained according to the preset formula, and the preset formula is:

[0018] S=α 1 S 1 +α 2 S 2

[0019] Among them, S is the comprehensive index value of this type of power business, α 1 is the first preset coefficient, α 2 is the second preset coefficient, α 1 With α 2 The sum of is 1, α 1 Greater than α 2 , S 1 is the first indicator value of this type of power business, S 2 It is the second indicator value of this type of power business.

[0020] In a possible implementation, the method further includes:

[0021] According to the second sorting result, determining the first n business types in the second sorting result as target business types, where n is a positive integer greater than or equal to 2;

[0022] For each service request, if the service type of the power service in the service request is the target service type, a primary channel and a backup channel are configured for the service request;

[0023] When the primary channel corresponding to the service request is normal, the service data is transmitted through the primary channel corresponding to the service request;

[0024] When the main channel corresponding to the service request fails, the service data is transmitted through the backup channel corresponding to the service request.

[0025] In a possible implementation, for each service request, if the service type of the power service in the service request is the target service type, configuring the primary channel and the backup channel for the service request includes:

[0026] According to the network topology of the smart grid communication system, m channels of the service request are determined by a preset algorithm, where m is a positive integer greater than or equal to 2;

[0027] Two channels are determined among the m channels as a main channel and a standby channel for the service request.

[0028] In a possible implementation, the preset algorithm is an ant colony algorithm, and determining the m channels of the service request by the preset algorithm according to the network topology of the smart grid communication system includes:

[0029] According to the network topology of the smart grid communication system, a path communication delay objective function and a path reliability objective function are established, minimizing the path communication delay and maximizing the path reliability are taken as optimization goals, and multi-route solving is performed through an ant colony algorithm, and a channels of the service request are obtained in a solving order, and the m channels are determined from the a channels, where a is a positive integer greater than or equal to m, and the first channel in the solving order is the optimal solution channel;

[0030] Determining two channels among the m channels as the main channel and the backup channel for the service request includes:

[0031] The optimal solution channel is used as the main channel for the service request, and one channel is determined as a backup channel among m-1 channels except the optimal solution channel. For each channel among the m-1 channels, the backup channel has the least number of intersection nodes with the main channel.

[0032] In a possible implementation, the smart grid communication system includes a backbone network of b levels, where b is a positive integer greater than or equal to 2. For each level of the backbone network, the backbone network includes multiple node devices, the node devices in each level are interconnected and communicated, and the node devices in the backbone networks of two adjacent levels are interconnected and communicated. If, among the m-1 channels other than the optimal solution channel, the channel with the least number of nodes intersecting with the main channel includes at least two channels, determining a channel as a backup channel among the m-1 channels other than the optimal solution channel includes:

[0033] For each of the at least two channels, sum the device values ​​of all node devices on the channel to obtain the channel value of the channel, wherein each node device in the smart grid communication system corresponds to a preset device value, and the device values ​​of node devices in the same level backbone network are the same. If the first node device is located in a first-level backbone network, the second node device is located in a second-level backbone network, and the level of the first-level backbone network is lower than that of the second-level backbone network, then the device value of the first node device is less than the device value of the second node device;

[0034] Among the at least two channels, the channel with the smallest channel value is used as the standby channel.

[0035] In a possible implementation, if, among the m-1 channels other than the optimal solution channel, the channel having the least number of nodes intersecting with the main channel includes at least two channels, determining a channel as a backup channel among the m-1 channels other than the optimal solution channel includes:

[0036] For each of the at least two channels, the risk rate of the channel is determined according to the risk rates of all node devices on the channel and the risk rate of the path between any two adjacent node devices, wherein, for each node device or the path between any two adjacent node devices, the risk rate is used to represent the probability of failure of the node device or the path between any two adjacent node devices, and the risk rate of the path between the node device or any two adjacent node devices is preset according to the environment in which the node device or the path between any two adjacent node devices is located, and the historical failure rate of the node device or the path between any two adjacent node devices;

[0037] Among the at least two channels, the channel with the lowest risk rate is used as the backup channel.

[0038] In a second aspect, an embodiment of the present invention provides a server, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the computer program, the steps of the method described in the first aspect or any possible implementation of the first aspect are implemented.

[0039] In a third aspect, an embodiment of the present invention provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the method described in the first aspect or any possible implementation of the first aspect are implemented.

[0040] Compared with the prior art, the embodiments of the present invention have the following beneficial effects:

[0041] The embodiment of the present invention provides an intelligent scheduling method, server and storage medium for electric power services. When electric power services need to be queued for processing, the service requests in the queue are sorted in descending order of priority according to the priority of each service type in the service request to obtain a first sorting result, and multiple service requests are processed in sequence according to the first sorting result. Since the first sorting result is sorted in descending order of service priority, multiple service requests in the queue are processed in sequence according to the first sorting result, so that electric power services with high priority are given priority, thereby improving the processing efficiency of electric power services in the entire smart grid. BRIEF DESCRIPTION OF THE DRAWINGS

[0042] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.

[0043] Figure 1 This is a flow chart of an implementation method of an electric power business intelligent dispatching method provided by an embodiment of the present invention;

[0044] Figure 2 It is a flowchart of another implementation method of an electric power business intelligent dispatching method provided by an embodiment of the present invention;

[0045] Figure 3 is a structural diagram of a smart grid communication system provided by an embodiment of the present invention;

[0046] Figure 4 It is a structural diagram of an intelligent dispatching device for electric power business provided by an embodiment of the present invention;

[0047] Figure 5 It is a schematic diagram of a server provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0048] In the following description, specific details such as specific system structures, technologies, etc. are provided for the purpose of illustration rather than limitation, so as to provide a thorough understanding of the embodiments of the present invention. However, it should be clear to those skilled in the art that the present invention may be implemented in other embodiments without these specific details. In other cases, detailed descriptions of well-known systems, devices, circuits, and methods are omitted to prevent unnecessary details from obstructing the description of the present invention.

[0049] In order to make the purpose, technical scheme and advantages of the present invention more clear, the following will be described in detail with reference to the accompanying drawings.

[0050] See also Figure 1 , which shows a flow chart of the implementation of the power business intelligent dispatching method provided by an embodiment of the present invention, which is described in detail as follows:

[0051] In step 101, a plurality of service requests are obtained. For each service request, the service request is used to request processing of an electric power service, and the service request also includes a priority of the electric power service.

[0052] Different from general communication networks, smart grid communication networks carry power services with power industry characteristics such as control, operation information, and management information. Different types of services have different real-time and reliability indicators for service data transmission. Based on this, in an embodiment of the present invention, the real-time and reliability indicators of various types of services are analyzed in advance, and the priority of each type of power service is preset according to the analysis results.

[0053] In an embodiment of the present invention, the business types of the power business include but are not limited to relay protection business, safety and stability control business, energy management business, automation monitoring business, protection information management business, fault information management business, emergency command system business, substation video monitoring business, line status monitoring business, marketing analysis and decision-making business, administrative telephone business, etc.

[0054] Different types of power services have different requirements for latency and reliability. For example, some power services, such as relay protection services, are key services in power production and directly affect the primary power system. They have extremely high reliability and real-time requirements, and the latency should not exceed 10ms. For some services, such as protection information management services, which are mainly responsible for collecting information from the secondary power system and monitoring system operation, their real-time and reliability requirements are relatively low, and the end-to-end communication latency is required to be no more than 15 minutes.

[0055] Based on this, in order to improve the operating efficiency of the power system, in an embodiment of the present invention, the service type of each type of power service is predetermined, and the process includes:

[0056] For each type of electric power service, determine the real-time index and reliability index of this type of electric power service, the real-time index includes the maximum delay allowed by this type of electric power service, and the reliability index includes the maximum bit error rate allowed by this type of electric power service; for each type of electric power service, normalize the real-time index of this type of electric power service to obtain a first index value of this type of electric power service, and normalize the reliability index of this type of electric power service to obtain a second index value of this type of electric power service; obtain a comprehensive index value of this type of electric power service based on the first index value and the second index value of each type of electric power service; sort the comprehensive index values ​​of this type of electric power service in order from low to high to obtain a second sorting result; obtain the priority of each electric power service based on the second sorting result, wherein, in the second sorting result, if the first type of electric power service is located before the second type of electric power service, the priority of the first type of electric power service is higher than that of the second type of electric power service.

[0057] In a possible implementation, for each type of electric power service, the first index value and the second index value of the electric power service of the type are added to obtain a comprehensive index value of the electric power service of the type.

[0058] In another possible implementation, the comprehensive index value of the type of power business is obtained according to a preset formula, and the preset formula is:

[0059] S=α 1 S 1 +α 2 S 2

[0060] Among them, S is the comprehensive index value of this type of power business, α 1 is the first preset coefficient, α 2 is the second preset coefficient, α 1 With α 2 The sum of is 1, α 1 Greater than α 2 , S 1 is the first indicator value of this type of power business, S 2 It is the second indicator value of this type of power business.

[0061] In the embodiment of the present invention, α 1 With α 2 The value of can be set according to the specific application scenario. For example, in an application scenario with high real-time requirements, α 1 Greater than α 2 In another possible implementation, such as an application scenario with high reliability requirements, α 2 Greater than α 1 , in application scenarios where real-time and reliability are equally important, α1 With α 2 Specifically, the embodiments of the present invention do not limit this.

[0062] To facilitate understanding of the present application, a specific example is provided below for illustration.

[0063] For example, this application takes three types of power services as examples, namely relay protection services, with a maximum allowable delay of 10 ms and a maximum bit error rate of 10 -6 ; For dispatching automation services, the maximum allowable delay is 100ms and the maximum bit error rate is 10 -6 For administrative telephone service, the maximum allowable delay is 250ms and the maximum bit error rate is 10 -3 The first index value and the second index value of each type are obtained in turn by normalization. In the embodiment of the present application, the normalization formula used is:

[0064]

[0065] Among them, X′ i is the normalized value, X i is the initial value, X min is the minimum value of all values ​​in this type of indicator, X max It is the maximum value of all values ​​in this type of indicator.

[0066] It can be seen from this that for any type of power service, the higher the real-time index of this type of power service, the smaller the normalized first index value obtained, and the higher the reliability index of this type of power service, the smaller the normalized second index value obtained.

[0067] Based on this, the smaller the comprehensive index value obtained by the above method is, the higher the comprehensive real-time requirement and reliability requirement is, that is, the higher the priority is.

[0068] Although in the smart grid communication system, the transmission bit error rate of business data is usually determined by the transmission link, the higher the reliability requirement of the power business, the more important it is and should be given priority.

[0069] In step 102, the plurality of service requests are sorted in descending order of priority according to the priority in each service request to obtain a first sorting result.

[0070] In step 103, the multiple service requests are processed in sequence according to the first sorting result.

[0071] An embodiment of the present invention provides an intelligent scheduling method for power services. When power services need to be queued for processing, the service requests in the queue are sorted in descending order of priority according to the priority of each service type in the service request to obtain a first sorting result, and multiple service requests are processed in sequence according to the first sorting result. Since the first sorting result is sorted in descending order of service priority, multiple service requests in the queue are processed in sequence according to the first sorting result, so that power services with high priorities are given priority processing, thereby improving the processing efficiency of power services in the entire smart grid.

[0072] Figure 2 is a flow chart of another method for intelligent dispatching of electric power business provided by an embodiment of the present invention, combined with Figure 2 , the method comprising:

[0073] In step 201, according to the second sorting result, the first n business types in the second sorting result are determined as target business types, where n is a positive integer greater than or equal to 2.

[0074] Furthermore, some types of power services, such as relay protection services, have very high requirements for real-time indicators and reliability indicators. Such types of power services play an important role in the stability of the power system. In the embodiment of the present invention, the second sorting result can reflect the comprehensive indicators of real-time indicators and reliability indicators of each type of power service. The business types ranked in the front have relatively high requirements for real-time and reliability, and are relatively important business types in the power system. For such business, in the embodiment of the present invention, by determining the target business type, the business request corresponding to the target type of power business is equipped with a primary and standby dual channel to ensure the real-time and reliability of the transmission of this type of power business.

[0075] For example, the method provided in an embodiment of the present invention is applied to a node device in a smart grid communication system. In a possible implementation, since the determination of the main channel and the backup channel needs to be calculated according to a certain algorithm based on the network topology of the smart grid communication system, the node device is required to have a certain computing power. According to the computing power of the node device, n business types are determined in the second sorting result as target business types. For example, assuming that there are 20 business types involved in the node, if the computing power of the node is high, the first n1 business types in the second sorting result can be determined as target business types. If the computing power of the node is low, the first n2 business types in the second sorting result can be determined as target business types, n1>n2. Furthermore, it is necessary to perform a comprehensive calculation based on the historical business volume of the node. When the computing power of the node is fixed, the node's ability to process business requests and configure working channels for the node is fixed. If the node processes a large number of business requests per unit time, then n3 business types in the second sorting result can be determined as target business types. If the node processes a small number of business requests per unit time, then n4 business types in the second sorting result can be determined as target business types, and n3<n4.

[0076] In step 202, for each service request, if the service type of the power service in the service request is the target service type, a primary channel and a backup channel are configured for the service request.

[0077] In a possible implementation, based on the network topology of the smart grid communication system, m channels for the service request are determined by a preset algorithm, where m is a positive integer greater than or equal to 2; and two channels are determined among the m channels as the main channel and the backup channel for the service request.

[0078] For example, the initial power-saving device of service request 1 is node device 1, and the destination power-saving device is node device 2. There are 10 available channels between node device 1 and node device 2. m of them are determined by a preset algorithm, such as m=5. Among these 5 channels, one channel is determined as the main channel and one channel is determined as the backup channel.

[0079] In a possible implementation, the preset algorithm is an ant colony algorithm. According to the network topology of the smart grid communication system, determining the m channels of the service request through the preset algorithm includes: establishing a path communication delay objective function and a path reliability objective function according to the network topology of the smart grid communication system, minimizing the path communication delay and maximizing the path reliability as optimization goals, performing multi-route solving through the ant colony algorithm, obtaining a channels of the service request in a solving order, determining m channels from the a channels, a is a positive integer greater than or equal to m, and the first channel in the solving order is the optimal solution channel; determining two channels from the m channels as the main channel and the backup channel of the service request includes: taking the optimal solution channel as the main channel of the service request, determining a channel from the m-1 channels other than the optimal solution channel as the backup channel, and for each channel in the m-1 channels, the number of intersection nodes between the backup channel and the main channel is the least.

[0080] The ant colony algorithm is an existing algorithm, and the embodiment of the present invention will not repeat this algorithm. In the embodiment of the present invention, the ant colony algorithm is solved by two objective functions, and a channels of the service request are obtained in the order of solution. The solution order is sorted from best to worst, and the solution order is the optimal solution, the suboptimal solution, etc. In the embodiment of the present invention, the optimal solution is used as the main channel. Since the main channel is the channel with the highest frequency of use, using the optimal solution as the main channel can maximize the transmission efficiency of the service data in the service request. The backup channel is used as the channel when the main channel is unavailable. In the embodiment of the present invention, a channel with the least nodes intersecting with the optimal solution channel is determined as the backup channel among the m-1 channels other than the optimal solution, so as to avoid the problem that when the main channel is unavailable due to node equipment failure or path failure between nodes, if the backup channel intersects too many nodes with the main channel, the backup channel is unavailable at the same time.

[0081] In another possible implementation, Figure 4A structural schematic diagram of a smart grid communication system provided by an embodiment of the present invention, the smart grid communication system includes a backbone network of b levels, b is a positive integer greater than or equal to 2, for each level of backbone network, the backbone network includes multiple node devices, the node devices in each level are interconnected and communicated, and the node devices in the backbone networks of two adjacent levels are interconnected and communicated, if among the m-1 channels other than the optimal solution channel, the channel with the least nodes intersecting with the main channel includes at least two channels, determining a channel as a backup channel among the m-1 channels other than the optimal solution channel includes: for each of the at least two channels, summing the device values ​​of all the node devices on the channel to obtain the channel value of the channel, wherein each node device in the smart grid communication system corresponds to a preset device value, and the device values ​​of the node devices in the backbone network of the same level are the same, if the first node device is located in the first level backbone network, the second node device is located in the second level backbone network, and the level of the first level backbone network is lower than that of the second level backbone network, then the device value of the first node device is less than the device value of the second node device; among the at least two channels, the channel with the smallest channel value is used as the backup channel.

[0082] Combination Figure 3 The smart grid communication system includes three levels of backbone networks, namely the first-level backbone network at the top layer, the second-level backbone network at the middle layer, the third-level backbone network at the middle layer, and the fourth-level backbone network at the bottom layer. In order from high to low, the first-level backbone network> the second-level backbone network> the third-level backbone network> the fourth-level backbone network. The higher the level of the backbone network, the more important the node equipment it includes in the smart grid. The power business in the smart grid communication system has the characteristics of convergence from the low-level backbone network to the high-level backbone network. The higher the level of the backbone network, the greater the business volume and the higher the importance of the equipment in the backbone network. This can easily cause the low load rate of the node equipment in the low-level backbone network and the excessively high load rate of the node equipment in the high-level backbone network. In addition, the failure of the node equipment in the high-level backbone network has a more serious adverse impact on the smart grid than the failure of the low-level node equipment.

[0083] To solve this problem, in an embodiment of the present invention, a device value is preset for each level of node device. The higher the level of the backbone network, the higher the device value of the node device. For example, the device value of each node device in the first-level backbone network is 10, the device value of each node device in the second-level backbone network is 8, the device value of each node device in the third-level backbone network is 6, and the device value of each node device in the fourth-level backbone network is 4. When there are at least two channels among the m-1 channels with the least number of intersecting nodes with the main channel, the channel with the smallest channel value is selected as the backup channel. The smallest channel value indicates that the number of node devices in the channel is the smallest, or that the channel passes through relatively more node devices in the low-level backbone network, thereby avoiding the imbalance of the smart grid and reducing the damage caused by the failure of high-level backbone network node devices to a certain extent.

[0084] In another possible implementation, if among the m-1 channels other than the optimal solution channel, the channels with the least number of nodes intersecting with the main channel include at least two channels, determining a channel as a backup channel among the m-1 channels other than the optimal solution channel includes: for each of the at least two channels, determining the risk rate of the channel according to the risk rate of all node devices on the channel and the risk rate of the path between any two adjacent node devices, wherein, for each node device or the path between any two adjacent node devices, the risk rate is used to represent the probability of failure of the node device or the path between any two adjacent node devices, and the risk rate of the path between the node device or any two adjacent node devices is preset according to the environment in which the node device or the path between any two adjacent node devices is located, and the historical failure rate of the path between the node device or any two adjacent node devices; among the at least two channels, the channel with the lowest risk rate is used as the backup channel.

[0085] When node devices or the paths between node devices are in a relatively harsh environment, the probability of failure is higher. Specifically, sample data can be established based on climate factors and geographical location factors to train the neural network model to predict the probability of failure of node devices or the paths between node devices.

[0086] The historical failure rate of a node device or a path between any two adjacent node devices can be obtained through historical data statistics.

[0087] Through the method provided by the embodiment of the present invention, the path with the lowest risk rate is used as a backup channel. When the main channel fails, the backup channel is the channel with the lowest risk rate, thereby improving the reliability of business data transmission.

[0088] In step 203, when the primary channel corresponding to the service request is normal, the service data is transmitted through the primary channel corresponding to the service request.

[0089] In step 204, when the primary channel corresponding to the service request fails, the service data is transmitted through the backup channel corresponding to the service request.

[0090] In one possible implementation, if a large number of business requests are waiting to be processed due to a partial or complete failure of the communication links in the smart grid, the business requests waiting to be processed are sorted according to the priority of each business request, and after the links are restored to normal, the business data is transmitted according to the sorting results.

[0091] The embodiment of the present invention sets up a primary and backup dual channel for service requests of high-priority service types. When the primary channel fails, the backup channel transmits the service data, thereby improving the reliability of service data transmission and further improving the overall reliability of smart grid power service scheduling.

[0092] It should be understood that the order of execution of the steps in the above embodiment does not necessarily mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiment of the present invention.

[0093] The following is an embodiment of the device of the present invention. For details not described in detail therein, reference may be made to the corresponding method embodiment described above.

[0094] Figure 4 A schematic diagram of the structure of an intelligent dispatching device for electric power business provided by an embodiment of the present invention is shown. For the convenience of explanation, only the parts related to the embodiment of the present invention are shown, which are described in detail as follows:

[0095] like Figure 4 As shown, the electric power business intelligent dispatching device 4 includes: an acquisition module 41, a sorting module 42 and a processing module 43;

[0096] An acquisition module 41 is used to acquire multiple service requests. For each service request, the service request is used to request processing of an electric power service. The service request also includes a service type of the electric power service and a priority of the electric power service of the type.

[0097] The sorting module 42 is used to sort the multiple service requests in descending order of priority according to the priority in each service request to obtain a first sorting result;

[0098] The processing module 43 is used to process multiple service requests in sequence according to the first sorting result.

[0099] An embodiment of the present invention provides an intelligent scheduling device for electric power services. When electric power services need to be queued for processing, the service requests in the queue are sorted in descending order of priority according to the priority of each service type in the service request to obtain a first sorting result, and multiple service requests are processed in sequence according to the first sorting result. Since the first sorting result is sorted in descending order of service priority, multiple service requests in the queue are processed in sequence according to the first sorting result, so that electric power services with high priorities are processed first, thereby improving the processing efficiency of electric power services in the entire smart grid.

[0100] In a possible implementation, the processing module 43 is further configured to:

[0101] For each type of power service, determine the real-time index and reliability index of the power service of this type, the real-time index includes the maximum delay allowed for the power service of this type, and the reliability index includes the maximum bit error rate allowed for the power service of this type;

[0102] For each type of power service, the real-time index of the power service of this type is normalized to obtain a first index value of the power service of this type, and the reliability index of the power service of this type is normalized to obtain a second index value of the power service of this type;

[0103] According to the first index value and the second index value of each type of power business, a comprehensive index value of the type of power business is obtained;

[0104] Sorting the comprehensive index values ​​of the power business of this type in order from low to high to obtain a second sorting result;

[0105] According to the second sorting result, the priority of each power service is obtained, wherein, in the second sorting result, if the first type of power service is located before the second type of power service, the priority of the first type of power service is higher than that of the second type of power service.

[0106] In a possible implementation, the processing module 43 is further configured to:

[0107] The comprehensive index value of this type of power business is obtained according to the preset formula. The preset formula is:

[0108] S=α 1 S 1 +α 2 S 2

[0109] Among them, S is the comprehensive index value of this type of power business, α 1 is the first preset coefficient, α 2 is the second preset coefficient, α 1 With α2 The sum of is 1, α 1 Greater than α 2 , S 1 is the first indicator value of this type of power business, S 2 It is the second indicator value of this type of power business.

[0110] In a possible implementation, the processing module 43 is further configured to:

[0111] According to the second sorting result, determine the first n business types in the second sorting result as target business types, where n is a positive integer greater than or equal to 2;

[0112] For each service request, if the service type of the power service in the service request is the target service type, a primary channel and a backup channel are configured for the service request;

[0113] When the primary channel corresponding to the service request is normal, the service data is transmitted through the primary channel corresponding to the service request;

[0114] When the main channel corresponding to the service request fails, the service data is transmitted through the backup channel corresponding to the service request.

[0115] In a possible implementation, the processing module 43 is further configured to:

[0116] According to the network topology of the smart grid communication system, m channels of the service request are determined by a preset algorithm, where m is a positive integer greater than or equal to 2;

[0117] Two channels are determined among the m channels as a main channel and a standby channel for the service request.

[0118] In a possible implementation, the preset algorithm is an ant colony algorithm, and the processing module 43 is further used to:

[0119] According to the network topology of the smart grid communication system, the path communication delay objective function and the path reliability objective function are established. The optimization objectives are to minimize the path communication delay and maximize the path reliability. The multi-route solution is performed through the ant colony algorithm. According to the solution order, a channels for the service request are obtained. Among the a channels, m channels are determined. a is a positive integer greater than or equal to m. The first channel in the solution order is the optimal solution channel.

[0120] Determining two channels from the m channels as the main channel and the standby channel for the service request includes:

[0121] The optimal solution channel is used as the main channel for the service request, and one channel is determined as a backup channel among the m-1 channels except the optimal solution channel. For each channel in the m-1 channels, the number of intersection nodes between the backup channel and the main channel is the least.

[0122] In a possible implementation, the smart grid communication system includes a backbone network of b levels, where b is a positive integer greater than or equal to 2. For each level of the backbone network, the backbone network includes a plurality of node devices, the node devices in each level are interconnected and communicated, and the node devices in the backbone networks of two adjacent levels are interconnected and communicated. If, among the m-1 channels other than the optimal solution channel, the channel with the least number of nodes intersecting with the main channel includes at least two channels, the processing module 43 is further used to:

[0123] For each of the at least two channels, sum the device values ​​of all node devices on the channel to obtain the channel value of the channel, wherein each node device in the smart grid communication system corresponds to a preset device value, and the device values ​​of node devices in the same level backbone network are the same. If the first node device is located in the first level backbone network, the second node device is located in the second level backbone network, and the level of the first level backbone network is lower than that of the second level backbone network, then the device value of the first node device is less than the device value of the second node device;

[0124] Among the at least two channels, the channel with the smallest channel value is used as a spare channel.

[0125] In a possible implementation, if, among the m-1 channels other than the optimal solution channel, the channels having the least number of nodes intersecting with the main channel include at least two channels, the processing module 43 is further configured to:

[0126] For each of the at least two channels, the risk rate of the channel is determined according to the risk rates of all node devices on the channel and the risk rate of the path between any two adjacent node devices, wherein for each node device or the path between any two adjacent node devices, the risk rate is used to represent the probability of failure of the node device or the path between any two adjacent node devices, and the risk rate of the path between the node device or any two adjacent node devices is preset according to the environment in which the node device or the path between any two adjacent node devices is located, and the historical failure rate of the node device or the path between any two adjacent node devices;

[0127] Among at least two channels, the one with the lowest risk rate is used as a backup channel.

[0128] The electric power business intelligent dispatching device provided in this embodiment can be used to execute the above-mentioned electric power business intelligent dispatching method embodiment. Its implementation principle and technical effects are similar, and this embodiment will not be repeated here.

[0129] Figure 5 FIG. 1 is a schematic diagram of a server provided by an embodiment of the present invention. Figure 5 As shown, the server 5 of this embodiment includes: a processor 50, a memory 51, and a computer program 52 stored in the memory 51 and executable on the processor 50. When the processor 50 executes the computer program 52, the steps in the above-mentioned embodiments of the intelligent dispatching method for electric power business are implemented, for example Figure 1 Alternatively, when the processor 50 executes the computer program 52, the functions of each module / unit in the above-mentioned device embodiments are realized, for example Figure 4 The functions of modules 41 to 43 are shown.

[0130] Exemplarily, the computer program 52 may be divided into one or more modules / units, which are stored in the memory 51 and executed by the processor 50 to implement the present invention. The one or more modules / units may be a series of computer program instruction segments capable of implementing specific functions, which are used to describe the execution process of the computer program 52 in the server 5.

[0131] The server 5 may include, but is not limited to, a processor 50 and a memory 51. Those skilled in the art will appreciate that Figure 5 It is only an example of the server 5 and does not constitute a limitation on the server 5. The server 5 may include more or fewer components than shown in the figure, or a combination of certain components, or different components. For example, the server may also include input and output devices, network access devices, buses, etc.

[0132] The processor 50 may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or any conventional processor, etc.

[0133] The memory 51 may be an internal storage unit of the server 5, such as a hard disk or memory of the server 5. The memory 51 may also be an external storage device of the server 5, such as a plug-in hard disk, a smart media card (SMC), a secure digital (SD) card, a flash card, etc. equipped on the server 5. Further, the memory 51 may also include both an internal storage unit of the server 5 and an external storage device. The memory 51 is used to store the computer program and other programs and data required by the server. The memory 51 may also be used to temporarily store data that has been output or is to be output.

[0134] The technicians in the relevant field can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional units and modules is used as an example for illustration. In practical applications, the above-mentioned function allocation can be completed by different functional units and modules as needed, that is, the internal structure of the device can be divided into different functional units or modules to complete all or part of the functions described above. The functional units and modules in the embodiment can be integrated in a processing unit, or each unit can exist physically separately, or two or more units can be integrated in one unit. The above-mentioned integrated unit can be implemented in the form of hardware or in the form of software functional units. In addition, the specific names of the functional units and modules are only for the convenience of distinguishing each other, and are not used to limit the scope of protection of this application. The specific working process of the units and modules in the above-mentioned system can refer to the corresponding process in the aforementioned method embodiment, which will not be repeated here.

[0135] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described or recorded in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.

[0136] Those skilled in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of the present invention.

[0137] In the embodiments provided by the present invention, it should be understood that the disclosed devices / servers and methods can be implemented in other ways. For example, the device / server embodiments described above are only schematic. For example, the division of the modules or units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.

[0138] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0139] In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.

[0140] If the integrated module / unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the present invention implements all or part of the processes in the above-mentioned embodiment method, and can also be completed by instructing the relevant hardware through a computer program. The computer program can be stored in a computer-readable storage medium. When the computer program is executed by the processor, the steps of the above-mentioned embodiments of the intelligent dispatching method of each power business can be implemented. Among them, the computer program includes computer program code, and the computer program code can be in source code form, object code form, executable file or some intermediate form. The computer-readable medium may include: any entity or device capable of carrying the computer program code, recording medium, U disk, mobile hard disk, disk, optical disk, computer memory, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), electric carrier signal, telecommunication signal and software distribution medium. It should be noted that the content contained in the computer-readable medium can be appropriately increased or decreased according to the requirements of legislation and patent practice in the jurisdiction. For example, in some jurisdictions, according to legislation and patent practice, computer-readable media do not include electric carrier signals and telecommunication signals.

[0141] The embodiments described above are only used to illustrate the technical solutions of the present invention, rather than to limit the same. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features may be replaced by equivalents. Such modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention, and should all be included in the protection scope of the present invention.

Claims

1. A method for intelligent dispatching of electric power business, characterized in that: The method is applied to a smart grid communication system, and the method comprises: Acquire multiple service requests, for each service request, the service request is used to request processing of an electric power service, and the service request also includes a service type of the electric power service and a priority of the electric power service of the type; According to the priority of each service request, the plurality of service requests are sorted in descending order of priority to obtain a first sorting result; Processing the multiple service requests in sequence according to the first sorting result; The process of determining the priority of each type of power business includes: For each type of electric power service, determine the real-time index and reliability index of the electric power service of the type, wherein the real-time index includes the maximum delay allowed for the electric power service of the type, and the reliability index includes the maximum bit error rate allowed for the electric power service of the type; For each type of power service, the real-time index of the power service of this type is normalized to obtain a first index value of the power service of this type, and the reliability index of the power service of this type is normalized to obtain a second index value of the power service of this type; According to the first index value and the second index value of each type of power business, a comprehensive index value of the type of power business is obtained; Sorting the comprehensive index values ​​of the power business of this type in order from low to high to obtain a second sorting result; According to the second sorting result, the priority of each power service is obtained, wherein in the second sorting result, if the first type of power service is located before the second type of power service, the priority of the first type of power service is higher than that of the second type of power service; Wherein, obtaining the comprehensive index value of each type of power service according to the first index value and the second index value of the type of power service includes: The comprehensive index value of this type of power business is obtained according to the preset formula, and the preset formula is: in, is the comprehensive index value of this type of power business, is the first preset coefficient, is the second preset coefficient, and The sum of is 1, Greater than , is the first indicator value of this type of power business, is the second indicator value of this type of power business; The method further comprises: According to the second sorting result, determining the first n business types in the second sorting result as target business types, where n is a positive integer greater than or equal to 2; For each service request, if the service type of the power service in the service request is the target service type, a primary channel and a backup channel are configured for the service request; When the primary channel corresponding to the service request is normal, the service data is transmitted through the primary channel corresponding to the service request; When the main channel corresponding to the service request fails, the service data is transmitted through the backup channel corresponding to the service request; Wherein, for each service request, if the service type of the power service in the service request is the target service type, configuring the primary channel and the backup channel for the service request includes: According to the network topology of the smart grid communication system, m channels of the service request are determined by a preset algorithm, where m is a positive integer greater than or equal to 2; Determine two channels among the m channels as a main channel and a backup channel for the service request; The preset algorithm is an ant colony algorithm, and the m channels of the service request are determined by the preset algorithm according to the network topology of the smart grid communication system, including: According to the network topology of the smart grid communication system, a path communication delay objective function and a path reliability objective function are established, minimizing the path communication delay and maximizing the path reliability are taken as optimization goals, and multi-route solving is performed through an ant colony algorithm, and a channels of the service request are obtained in a solving order, and the m channels are determined from the a channels, where a is a positive integer greater than or equal to m, and the first channel in the solving order is the optimal solution channel; Determining two channels among the m channels as the main channel and the backup channel for the service request includes: The optimal solution channel is used as the main channel for the service request, and one channel is determined as a backup channel among the m-1 channels except the optimal solution channel, and for each channel among the m-1 channels, the backup channel has the least number of intersection nodes with the main channel; The smart grid communication system includes a backbone network of b levels, b is a positive integer greater than or equal to 2, and for each level of the backbone network, the backbone network includes a plurality of node devices, the node devices in each level are interconnected and communicated, and the node devices in the backbone networks of two adjacent levels are interconnected and communicated. If, among the m-1 channels other than the optimal solution channel, the channel with the least number of nodes intersecting with the main channel includes at least two channels, determining a channel as a backup channel among the m-1 channels other than the optimal solution channel includes: For each of the at least two channels, sum the device values ​​of all node devices on the channel to obtain the channel value of the channel, wherein each node device in the smart grid communication system corresponds to a preset device value, and the device values ​​of node devices in the same level backbone network are the same. If the first node device is located in a first-level backbone network, the second node device is located in a second-level backbone network, and the level of the first-level backbone network is lower than that of the second-level backbone network, then the device value of the first node device is less than the device value of the second node device; Among the at least two channels, the channel with the smallest channel value is used as the standby channel; If, among the m-1 channels other than the optimal solution channel, the channel having the least number of nodes intersecting with the main channel includes at least two channels, determining one channel as a backup channel among the m-1 channels other than the optimal solution channel includes: For each of the at least two channels, the risk rate of the channel is determined according to the risk rates of all node devices on the channel and the risk rate of the path between any two adjacent node devices, wherein, for each node device or the path between any two adjacent node devices, the risk rate is used to represent the probability of failure of the node device or the path between any two adjacent node devices, and the risk rate of the path between the node device or any two adjacent node devices is preset according to the environment in which the node device or the path between any two adjacent node devices is located, and the historical failure rate of the node device or the path between any two adjacent node devices; Among the at least two channels, the channel with the lowest risk rate is used as the backup channel.

2. A server comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the steps of the method according to claim 1 are implemented.

3. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the steps of the method according to claim 1 are implemented.

Citation Information

Patent Citations

  • OTN routing optimization method based on OSNR in provincial network

    CN109005476A

  • A power distribution network data three-dimensional visualization system architecture based on virtual reality

    CN109697059A

  • Route planning method and device for grading demand of power business of smart grid

    CN114186750A