Power business energy-saving service scheduling method and device, electronic equipment and medium
By analyzing the transmission attributes and service priorities of power services and generating a global service schedule, the problem of the inability to synchronously manage multiple STA equipment in the prior art is solved, and efficient service scheduling and power consumption reduction are achieved.
Patent Information
- Application Number
- CN202411286633.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-13
- Publication Date
- 2025-02-07
AI Technical Summary
In the prior art, the parameter allocation method of dynamically adjusting the target wake-up time (TWT) based on demand is only for one STA device, and it is impossible to synchronously manage multi-service services of multiple STA devices.
By analyzing the transmission attributes of the services to be scheduled, using the service traffic model to determine the packet transmission time and service priority, thereby generating a global service schedule to realize service scheduling for multiple STA devices.
While ensuring service quality, synchronous scheduling of multi-service services for multiple STA devices is achieved, reducing service power consumption.
Smart Images

Figure CN119402557A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of business scheduling, and in particular to a service scheduling method, device, electronic equipment and medium for energy-saving of electric power business. Background Art
[0002] In the smart power system, low-voltage side power terminals and business types show a trend of diversification and intelligent development.
[0003] At present, in the existing technology, for business management in the power system, the needs of the allowed power station (Station, STA) are mainly learned through real-time detection of the current service and traffic, and then the parameter allocation of the target wake time (Target Wake Time, TWT) is dynamically adjusted according to the needs of the allowed power station, so as to manage the current service based on the adjustment result of the parameter allocation of the target wake time.
[0004] The above method of detecting the current service and traffic to understand the needs of STA and dynamically adjusting the parameter allocation of TWT based on the needs only allocates the TWT service period for one STA device, and does not consider the problem of multiple STA devices in actual application. Therefore, multi-business services of multiple STA devices cannot be managed synchronously. Summary of the invention
[0005] The present invention provides a service scheduling method, device, electronic device and medium for energy saving of electric power business, which are used to solve the defects that the parameter allocation method of dynamically adjusting TWT based on demand in the prior art only allocates TWT service period for one STA device, does not take into account multiple STA devices in the actual application process, and the multi-service services of multiple STA devices cannot be managed synchronously. It realizes the analysis of the energy-saving parameters of electric power business of all services to be scheduled in the scheduled business set based on the business traffic model that analyzes the transmission properties of the services to be scheduled, and determines the business global scheduling table corresponding to the scheduling business according to the analyzed data packet sending time and the business priority of the services to be scheduled in the scheduled business set, and performs service scheduling for all services to be scheduled in the scheduled business set based on the business global scheduling table. Under the condition of ensuring service quality, service scheduling is performed for all services to be scheduled in the scheduled business set to reduce service power consumption.
[0006] The present invention provides a service scheduling method for energy saving of electric power business, comprising the following steps.
[0007] Obtain power service energy-saving parameters of all services to be scheduled in the service set to be scheduled; wherein the power service energy-saving parameters are used to represent transmission properties of the services to be scheduled.
[0008] The energy-saving parameters of the electric power business are input into the business traffic model to obtain the data packet sending time output by the business traffic model; wherein the business traffic model is determined based on parameter sample training, and the business traffic model is used to analyze the transmission properties of all the services to be scheduled respectively, and determine the data packet sending time corresponding to all the services to be scheduled.
[0009] Determine a global service scheduling table corresponding to all services to be scheduled according to the data packet sending time and the service priorities of all services to be scheduled in the service set to be scheduled.
[0010] All the services to be scheduled in the service set to be scheduled are scheduled according to the global service scheduling table.
[0011] According to a service scheduling method for energy saving of electric power business provided by the present invention, the business traffic model includes a session layer, a link layer and a packet layer; the electric power business energy saving parameters are input into the business traffic model to obtain the data packet sending time output by the business traffic model, including: inputting the electric power business energy saving parameters into the session layer of the business traffic model to obtain the state switching waiting time output by the session layer and the state switching output result of the session layer for the business state switching; wherein the session layer is used to determine the business state switching; inputting the state switching output result into the link layer of the business traffic model to obtain the service cycle waiting time output by the link layer and the service cycle output result of the link layer for the business service cycle; wherein the link layer is used to determine the business service cycle; inputting the service cycle output result into the packet layer of the business traffic model to obtain the data packet sending waiting time output by the packet layer; wherein the packet layer is used to determine the sending of the data packet; and determining the data packet sending time according to the state switching waiting time, the service cycle waiting time and the data packet sending waiting time.
[0012] According to a service scheduling method for energy saving of electric power services provided by the present invention, a global service scheduling table corresponding to all services to be scheduled is determined according to the data packet sending time and the service priority of all services to be scheduled in the service set to be scheduled, including: determining the throughput parameters of all services to be scheduled during the transmission of data packets according to the data packet sending time; determining the service type of the service to be scheduled according to the throughput parameters; determining the delay requirement of the service to be scheduled according to the service type and the service area to which the service to be scheduled belongs, the real-time attribute of the service and the service content; determining the target wake-up time parameter according to the delay requirement and the data packet sending time; and determining the global service scheduling table according to the target wake-up time parameter and the service priority of all services to be scheduled in the service set to be scheduled.
[0013] According to a power service energy-saving service scheduling method provided by the present invention, the throughput parameters include throughput, throughput interval value and throughput average value, the throughput interval value is the throughput change amount between two detections, and the throughput average value is the average value of the window throughput of all time windows in the preset continuous time window; the service type includes stable service, micro-burst service and macro-burst service; the service type of the service to be scheduled is determined according to the throughput parameter, including: when the throughput is less than or equal to a first preset threshold and the absolute value of the difference between the throughput of all windows and the average value of the throughput is less than or equal to a second preset threshold, determining the service type as stable service; when the absolute value of the throughput interval value is greater than the first preset threshold or the set of throughput interval values in a preset time period is greater than the second preset threshold, the absolute value of the throughput interval value is less than or equal to the third preset threshold, and the absolute value of the difference between the throughput of all windows and the average value of the throughput is less than or equal to a fourth preset threshold, determining the service type as micro-burst service; when the absolute value of the throughput interval value is greater than the third preset threshold or the absolute value of the difference between the throughput of all windows and the average value of the throughput is greater than the fourth preset threshold, determining the service type as macro-burst service; wherein the first preset threshold is less than the second preset threshold, the second preset threshold is less than the third preset threshold, and the third preset threshold is less than the fourth preset threshold.
[0014] According to a service scheduling method for energy saving of electric power business provided by the present invention, the target wake-up time parameters include a wake-up interval and a continuous wake-up time; determining the wake-up interval includes: obtaining a preset wake-up time, a preset delay time and a preset delay of the service to be scheduled; determining the wake-up interval according to the preset wake-up time, the preset delay time, the preset delay and the delay requirement; determining the continuous wake-up time includes: determining the data transmission time of the service to be scheduled; determining the protection parameter according to the service type; and determining the continuous wake-up time according to the sum of the protection parameter and the data transmission time.
[0015] According to a service scheduling method for energy saving of electric power business provided by the present invention, a global service scheduling table is determined according to a target wake-up time parameter and the service priorities of all services to be scheduled in a set of services to be scheduled, including: arranging the service priorities of all services to be scheduled in descending order of priority to determine a target priority list; wherein the target priority list includes all services to be scheduled and the service priorities corresponding to the services to be scheduled; allocating the first service to be scheduled in the target priority list to the first resource block, and waking up once in the first resource block at every wake-up interval, and each wake-up lasting for the wake-up time; for the remaining services to be scheduled in the target priority list except the first service to be scheduled, checking from the idle time of the first resource block until all resource blocks are checked, and determining a global service scheduling table according to the idle time of all resource blocks; wherein the global service scheduling table is used to schedule the scheduling of all services to be scheduled in the set of services to be scheduled.
[0016] According to a service scheduling method for energy saving of electric power business provided by the present invention, after determining the global service scheduling table corresponding to all the services to be scheduled according to the data packet sending time and the service priority of all the services to be scheduled in the service set to be scheduled, it also includes: determining the duty cycle of all resource blocks; optimizing the global service scheduling table according to the duty cycle, and determining the optimized global service scheduling table.
[0017] The present invention also provides a service scheduling device for energy saving of electric power business, comprising the following modules.
[0018] The parameter acquisition module is used to obtain the power business energy-saving parameters of all the services to be scheduled in the service set to be scheduled; wherein the power business energy-saving parameters are used to represent the transmission properties of the services to be scheduled.
[0019] The time determination module is used to input the energy-saving parameters of the power business into the business traffic model to obtain the data packet sending time output by the business traffic model; wherein the business traffic model is determined based on parameter sample training, and the business traffic model is used to analyze the transmission properties of all the services to be scheduled respectively, and determine the data packet sending time corresponding to all the services to be scheduled.
[0020] The scheduling table determination module is used to determine the service global scheduling table corresponding to all the services to be scheduled according to the data packet sending time and the service priorities of all the services to be scheduled in the service set to be scheduled.
[0021] The service scheduling module is used to perform service scheduling for all the services to be scheduled in the service set according to the global service scheduling table.
[0022] The present invention also provides an electronic device, including 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, any of the above-mentioned power business energy-saving service scheduling methods is implemented.
[0023] The present invention also provides a non-transitory computer-readable storage medium on which a computer program is stored. When the computer program is executed by a processor, it implements any of the above-mentioned power business energy-saving service scheduling methods.
[0024] The present invention also provides a computer program product, including a computer program, which, when executed by a processor, implements any of the above-mentioned power business energy-saving service scheduling methods.
[0025] The present invention provides a service scheduling method, device, electronic device and medium for energy saving of electric power business, which obtains the electric power business energy saving parameters of all to-be-scheduled businesses in a to-be-scheduled business set; wherein the electric power business energy saving parameters are used to represent the transmission properties of the to-be-scheduled businesses; the electric power business energy saving parameters are input into a business traffic model to obtain the data packet sending time output by the business traffic model; wherein the business traffic model is determined based on parameter sample training, and the business traffic model is used to analyze the transmission properties of all to-be-scheduled businesses respectively, and determine the data packet sending time corresponding to all to-be-scheduled businesses; a business global scheduling table corresponding to all the to-be-scheduled businesses is determined according to the data packet sending time and the business priority of all to-be-scheduled businesses in the to-be-scheduled business set; and service scheduling is performed on all to-be-scheduled businesses in the to-be-scheduled business set according to the business global scheduling table. The technical solution of the present invention is used to solve the problem that the parameter allocation method of dynamically adjusting TWT based on demand in the prior art only allocates TWT service period for one STA device, does not take into account multiple STA devices in the actual application process, and the multi-service services of multiple STA devices cannot be managed synchronously. It realizes the analysis of the power service energy-saving parameters of all the services to be scheduled in the service set based on the service traffic model that analyzes the transmission properties of the services to be scheduled, and determines the service global scheduling table corresponding to the scheduling service according to the analyzed data packet sending time and the service priority of the services to be scheduled in the service set, and performs service scheduling for all the services to be scheduled in the service set based on the service global scheduling table. While ensuring the service quality, service scheduling is performed for all the services to be scheduled in the service set to reduce service power consumption. BRIEF DESCRIPTION OF THE DRAWINGS
[0026] In order to more clearly illustrate the technical solutions in the present invention or the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0027] Figure 1 It is a flow chart of the service scheduling method for energy saving of electric power business provided by the present invention.
[0028] Figure 2 It is a structural diagram of the business traffic model provided by the present invention.
[0029] Figure 3 It is an algorithm flow chart of the business traffic model provided by the present invention.
[0030] Figure 4 It is a schematic diagram of delayed parsing provided by the present invention.
[0031] Figure 5 This is one of the schematic diagrams of the global service scheduling table provided by the present invention.
[0032] Figure 6 This is the second schematic diagram of the global service scheduling table provided by the present invention.
[0033] Figure 7 It is a structural schematic diagram of the service dispatching device for energy saving of electric power business provided by the present invention.
[0034] Figure 8 It is a structural schematic diagram of the electronic device provided by the present invention. DETAILED DESCRIPTION
[0035] In order to make the purpose, technical solution and advantages of the present invention clearer, the technical solution of the present invention will be clearly and completely described below in conjunction with the drawings of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0036] In view of the intensive, diverse and complex characteristics of the low-voltage side of the power system, considering the typical power data acquisition business scenario, that is, one access point connecting many sensor-type power terminals, a TWT group access mechanism for multi-terminal and multi-service transmission conflict avoidance is designed to reduce the overall energy consumption of terminal nodes.
[0037] Combine the following Figure 1-Figure 6 The service scheduling method for energy saving of electric power business provided by the present invention is described. The service scheduling method for energy saving of electric power business provided by the present invention can be applicable to target wake-up time service scheduling for energy saving of multi-service access for communication on the low-voltage side of electric power. The executor of the method can be an electronic device or a service scheduling device for energy saving of electric power business arranged in the electronic device. The service scheduling device for energy saving of electric power business can be implemented by software, hardware or a combination of both. Figure 1 is a flow chart of the service scheduling method for energy saving of electric power business provided by the present invention, such as Figure 1 As shown, the method includes the following steps: step 101, step 102, step 103 and step 104.
[0038] Step 101: Obtain power service energy-saving parameters of all services to be scheduled in a service set to be scheduled.
[0039] In this step, the power business energy-saving parameter is used to represent the transmission attribute of the business to be dispatched. The business to be dispatched refers to a series of conventional power distribution and use business applications such as monitoring, analysis, metering, and fault handling provided for the low-voltage side of the power distribution and use in order to meet the needs of distribution network automation management. The business to be dispatched is usually divided into three types: control, collection, and monitoring. The control business uses the Internet of Things technology to remotely control and adjust the operating status of the power system. By connecting the smart terminal with the control center, the operation and maintenance personnel can remotely perform switch operations, voltage regulation operations, load scheduling and other tasks according to the monitoring results; the collection business collects various power parameters and status information in real time or periodically through sensors and smart devices deployed in various links of the power system. For example, smart meters can collect users' electricity consumption data; line temperature sensors can collect the temperature conditions of high-voltage transmission lines; transformer oil temperature and oil level sensors can monitor the working status of transformers in real time, etc.; monitoring services perform continuous and real-time status evaluation and fault warning based on the collected data, and integrate and process massive data through the Internet of Things platform to realize multi-dimensional online monitoring of power equipment performance indicators, operating status, environmental conditions, etc. For example, monitor whether the substation equipment is overheating, whether the grid load is balanced, whether there are abnormal fluctuations, etc. Once a problem is found, an early warning signal will be issued immediately so that the operation and maintenance personnel can respond in time.
[0040] The energy-saving parameters of power services include the number of service data packets and the size of service data packets. Assume that a service to be scheduled needs to establish a session for each service execution. A session includes wake up, send once data packets, thereby determining the number and size of the business data packets.
[0041] In this step, the to-be-dispatched service set is a to-be-dispatched service set on the low-voltage side of the power system, and the to-be-dispatched service set includes a plurality of to-be-dispatched services, which are services that need to be serviced and dispatched.
[0042] Specifically, all the services to be scheduled in the service set to be scheduled are determined, and the power service energy-saving parameters of all the services to be scheduled are obtained. For example, the number of service data packets and the size of service data packets of the services to be scheduled are obtained, which is not limited in this embodiment.
[0043] Step 102: Input the power service energy-saving parameter into the service traffic model to obtain the data packet sending time output by the service traffic model.
[0044] In this step, the service traffic model is determined based on parameter sample training, and the service traffic model is used to analyze the transmission properties of all services to be scheduled respectively, and determine the data packet sending time corresponding to all services to be scheduled.
[0045] The service traffic model is an electric power service traffic model based on a three-layer ON-OFF model. The service traffic model includes a session layer, a link layer, and a packet layer. The session layer is used to determine the service state switching, the link layer is used to determine the service service cycle, and the packet layer is used to determine the sending of data packets.
[0046] Figure 2 is a schematic diagram of the structure of the service flow model provided by the present invention, such as Figure 2 As shown, the horizontal axis represents time t. At the session layer, there are power business energy-saving parameters with ON period duration , OFF period duration ; At the link layer, there are power service energy saving parameters such as wake-up time interval , wake-up duration ; At the packet layer, there are power business energy-saving parameters and data packet sending intervals , packet sending time .in, Indicates the wake-up time interval between the first wake-up and the second wake-up. Indicates -The wakeup interval between the first wakeup and the second wakeup, Indicates the wake-up duration when the number of frequent wake-ups is 1. Indicates the number of frequent wake-ups is The wake-up duration. Figure 2 The white box in the middle indicates the session time, the gray box indicates the wake-up duration, and the black box indicates the packet sending time. At the link layer, a session consists of wake-up, at the packet layer, one wake-up is sent In order to describe the transmission properties of a scheduled service, such as traffic characteristics, the traffic characteristics are mainly expressed as throughput Size and throughput The changes in the entire business process require the pre-collection of the number of business data packets and packet size Assume that a business execution requires the establishment of a session, and a session includes wake up, send once data packets.
[0047] In a specific implementation, the power service energy-saving parameters are input into the service traffic model to obtain the data packet sending time output by the service traffic model, including: inputting the power service energy-saving parameters into the session layer of the service traffic model to obtain the state switching waiting time output by the session layer and the state switching output result of the session layer for the service state switching; wherein the session layer is used to determine the service state switching; inputting the state switching output result into the link layer of the service traffic model to obtain the service cycle waiting time output by the link layer and the service cycle output result of the link layer for the service service cycle; wherein the link layer is used to determine the service service cycle; inputting the service cycle output result into the packet layer of the service traffic model to obtain the data packet sending waiting time output by the packet layer; wherein the packet layer is used to determine the sending of the data packet; and determining the data packet sending time according to the state switching waiting time, the service cycle waiting time and the data packet sending waiting time.
[0048] Specifically, Figure 3 It is an algorithm flow chart of the service flow model provided by the present invention, such as Figure 3 As shown, the following steps are included.
[0049] Step 301: Determine whether the service ON period ends.
[0050] Specifically, at the session layer of the first layer of the business traffic model, the power business energy-saving parameters are input into the session layer of the business traffic model to determine whether the business ON period has ended. When it is determined that the business ON period has ended, step 302 is executed; when it is determined that the business ON period has not ended, the session layer obtains the state switching output result of the business state switching, and step 304 is executed.
[0051] Step 302: Determine whether the service OFF period has ended.
[0052] Specifically, when it is determined that the service ON period ends, it is determined whether the service OFF period ends. When it is determined that the service OFF period ends, it is determined to be terminated and ended. When it is determined that the service OFF period does not end, step 303 is executed.
[0053] Step 303: Wait for the state switching waiting time.
[0054] Specifically, when it is determined that the service OFF period has not ended, the state switching waiting time output by the session layer is obtained, and after the state switching waiting time, the process continues to return to step 302 to determine whether the service OFF period has ended until it is determined that the service OFF period has ended.
[0055] Step 304: Determine whether the ON period of the current service cycle ends.
[0056] Specifically, when it is determined that the service ON period has not ended, the link layer of the second layer of the service traffic model is entered, and whether the ON period of the current service cycle has ended is determined based on the state switch output result of the service state switch of the session layer. When it is determined that the ON period of the current service cycle has ended, step 305 is executed; when it is determined that the ON period of the current service cycle has not ended, the link layer outputs the service cycle result of the business service cycle, and continues to execute step 307.
[0057] Step 305: Determine whether the OFF period of the current service cycle ends.
[0058] Specifically, when it is determined that the OFF period of the current service cycle has not ended, step 306 is executed; when it is determined that the OFF period of the current service cycle has ended, the process returns to step 301 to determine whether the service ON period has ended.
[0059] Step 306: Wait for the service cycle waiting time.
[0060] Specifically, when it is determined that the OFF period of the current service cycle has not ended, the service cycle waiting time output by the link layer is obtained, and after the service cycle waiting time, step 305 is continued to be returned to determine whether the OFF period of the current service cycle has ended, until it is determined that the OFF period of the current service cycle has ended.
[0061] Step 307: Determine whether all data packets have been sent.
[0062] Specifically, when it is determined that the ON period of the current service cycle has not ended, enter the packet layer of the third layer of the business traffic model, and determine whether all data packets have been sent based on the service cycle output result of the link layer for the business service cycle. If it is determined that all data packets have not been sent, continue to step 308; if it is determined that all data packets have been sent, continue to step 310.
[0063] Step 308: Determine whether the current data packet has been sent.
[0064] Specifically, when it is determined that all data packets have not been sent, it is determined whether the current data packet has been sent. When it is determined that the current data packet has not been sent, step 309 is executed; when it is determined that the current data packet has been sent, step 310 is continued.
[0065] Step 309: Send the current data packet.
[0066] Specifically, when it is determined that the current data packet has not been completely sent, the current data packet is sent.
[0067] Step 310: Determine whether the OFF period of all data packets has ended.
[0068] Specifically, when it is determined that all data packets have been sent or when it is determined that the current data packet has been sent, it is determined whether the OFF period of all data packets has ended. When it is determined that the OFF period of all data packets has ended, it is determined to be terminated; when it is determined that the OFF period of all data packets has not ended, step 311 is executed.
[0069] Step 311: Wait for the data packet to be sent for a waiting time.
[0070] Specifically, when it is determined that the OFF period of all data packets has not ended, the data packet sending waiting time output by the packet layer is obtained, and after the data packet sending waiting time, step 310 is continued to be returned to execute to determine whether the OFF period of all data packets has ended, until it is determined that the OFF period of all data packets has ended.
[0071] Finally, the data packet sending time is determined according to the determined state switching waiting time, service cycle waiting time and data packet sending waiting time.
[0072] Step 103: Determine a global service scheduling table corresponding to all services to be scheduled according to the data packet sending time and the service priorities of all services to be scheduled in the service set to be scheduled.
[0073] In this step, the service priority is used to determine the scheduling order of the services to be scheduled, and the service priority is determined according to the transmission attributes of the services to be scheduled during execution.
[0074] In a specific implementation, the specific implementation of determining the service global scheduling table corresponding to all the services to be scheduled according to the data packet sending time and the service priority of all the services to be scheduled in the service set to be scheduled includes: determining the throughput parameters of all the services to be scheduled during the transmission of data packets according to the data packet sending time; determining the service type of the service to be scheduled according to the throughput parameters; determining the delay requirement of the service to be scheduled according to the service type and the service area to which the service to be scheduled belongs, the real-time attributes of the service and the service content; determining the target wake-up time parameters according to the delay requirement and the data packet sending time; and determining the service global scheduling table according to the target wake-up time parameters and the service priority of all the services to be scheduled in the service set to be scheduled.
[0075] Specifically, after determining the data packet sending time, determine the throughput parameters of all services to be scheduled during the transmission of data packets according to the data packet sending time; determine the service type of the service to be scheduled according to the throughput parameters; determine the delay requirement of the service to be scheduled according to the service type and the service area to which the service to be scheduled belongs, the real-time attribute of the service and the service content; determine the target wake-up time parameter according to the delay requirement and the data packet sending time; determine the global service scheduling table according to the target wake-up time parameter and the service priority of all services to be scheduled in the service set to be scheduled.
[0076] In a specific implementation, the throughput parameter includes throughput, throughput interval value and throughput average value, the throughput interval value is the throughput change between two detections, and the throughput average value is the average value of the window throughput of all time windows in the preset continuous time window; the service type includes stable service, micro burst service and macro burst service; the specific implementation method of determining the service type of the service to be scheduled according to the throughput parameter includes: when the throughput is less than or equal to a first preset threshold and the absolute value of the difference between the throughput of all windows and the average throughput value is less than or equal to a second preset threshold, determining the service type is a stable service; when the absolute value of the throughput interval value is greater than the first preset threshold or the set of throughput interval values in a preset time period is greater than the second preset threshold, the absolute value of the throughput interval value is less than or equal to the third preset threshold, and the absolute value of the difference between the throughput of all windows and the average throughput value is less than or equal to a fourth preset threshold, determining the service type is a micro burst service; when the absolute value of the throughput interval value is greater than the third preset threshold or the absolute value of the difference between the throughput of all windows and the average throughput value is greater than the fourth preset threshold, determining the service type is a macro burst service; wherein the first preset threshold is less than the second preset threshold, the second preset threshold is less than the third preset threshold, and the third preset threshold is less than the fourth preset threshold.
[0077] Specifically, a state switching switch and a timer are set up at each layer of the business traffic model, and the number of wake-up times is monitored by the number of triggering times of the state switching switch. and number of packets , record the time parameters of each layer through the timer, and preliminarily describe the macro characteristics of the business: such as the frequent wake-up times , the number of large batches of packets and shorter cumulative ON duration , which may correspond to bursty business behaviors such as web browsing; while stable businesses such as audio and video playback correspond to smaller and However, in order to further describe the throughput Q of a specific service, it is necessary to convert the pre-collected single data packet size The time when the data packet is sent Establish associations and make more accurate determinations of business types from a micro perspective.
[0078] Specifically, during the execution of the scheduled service, the throughput during the transmission of the i-th data packet is ; and determine the throughput interval between two throughput tests = ,in, represents the throughput during the transmission of the i+1th packet, represents the throughput during the transmission of the i-th packet; and determines the average throughput of K consecutive detections .
[0079] The tolerance of different service types in the power Internet of Things to delay in actual applications will vary depending on the specific service scenarios and functional requirements. By dividing the delay interval, the real-time requirements can be divided into high real-time (ExtremeReal Time, ERT) type, real-time (Real Time, RT) type and non-real-time (Non Real Time, NRT) type from high to low. Among them, ERT type services have low tolerance for delays, and service execution usually requires response delays as low as milliseconds or even microseconds, and the use of TWT energy-saving methods is not considered; therefore, the present invention only considers RT and NRT types.
[0080] Different service types in the power Internet of Things have different patterns of throughput changes. By observing the characteristics of throughput changes over time, service types are divided into three categories: stable, microburst, and macroburst. The throughput type is determined by observing the traffic characteristics over a period of time. The traffic characteristics include the throughput interval value between two consecutive detections. , the average throughput of K consecutive time windows The classification conditions of business types are shown in Table 1. Table 1 mainly shows the business types and classification conditions.
[0081] Table 1
[0082] in, Indicates i=Tj to T corresponding to The sum of , i represents the i-th data packet, j represents the j-th data packet, T represents the set of data packets, represents the first preset threshold, represents the second preset threshold, represents the third preset threshold, Indicates the fourth preset threshold. represents the throughput at time K.
[0083] Considering the tolerance of different service types in the power Internet of Things to delay and the service types in actual applications, Table 2 is used to describe the correspondence between power services and delay requirements and service types.
[0084] Table 2
[0085] The production control area is related to the stable operation and safe operation of the power grid, such as remote switch operation, load regulation, etc. The execution of these actions usually requires a response delay as low as milliseconds, which belongs to the ERT type and does not consider the use of TWT; while the management information area business involves both the capture of transient events in the power grid and the aggregation and analysis of data that is not sensitive to delays, so it includes both RT type and non-real-time NRT type. The six businesses of the management information area are represented from top to bottom as , , …, In actual business scenarios, it is necessary to first determine the real-time nature of the business, and then decide whether the business uses TWT by setting the TWT trigger switch. When executing high-real-time businesses such as switching and voltage regulation, the default state of the switch is "off"; and when it is detected that the real-time requirements of the business are not so high, set the TWT trigger switch to "on".
[0086] As shown in Table 2, the requirements and business types corresponding to each business to be dispatched in the power scenario are determined.
[0087] Table 2 includes the business area to which the business to be scheduled belongs, the business real-time attributes, business content, delay requirements, whether TWT is used, and business type. The business areas include the production control area and the management information area; the business real-time attributes include high real-time, real-time and non-real-time; the business content includes switch operation, voltage regulation operation, load scheduling, control of drones / robots, audio calls, video calls, IoT perception data collection, monitoring data feedback, and power file upload / download. Different business contents correspond to different delay requirements and different business types.
[0088] Table 3
[0089] In a specific embodiment, the target wake-up time parameters include a wake-up interval and a continuous wake-up time; determining the wake-up interval includes: obtaining a preset wake-up time, a preset delay time, and a preset delay of the service to be scheduled; determining the wake-up interval according to the preset wake-up time, the preset delay time, the preset delay, and the delay requirement; determining the continuous wake-up time includes: determining the data transmission time of the service to be scheduled; determining a protection parameter according to the service type; and determining the continuous wake-up time according to the sum of the protection parameter and the data transmission time.
[0090] In this step, the relevant parameters of the target wake-up time parameter and the corresponding descriptions are shown in Table 3.
[0091] In this step, the preset wake-up time is the actual wake-up time of the service to be scheduled, and the preset delay time is the actual delay time of the service to be scheduled.
[0092] Specifically, first of all, considering that in the power saving mode of Wi-Fi, the wireless access point (AP) indicates that there is no more cached data and commands the TWT service cycle to terminate early, that is, the device can reach Before entering the sleep state, the actual TWT wake-up time Shorter than In non-power saving mode, the device will always wait for the current SP to complete before entering the sleep state, which is also called non-early termination. . Figure 4 is a schematic diagram of delayed parsing provided by the present invention, such as Figure 4 As shown, the main analysis is on the delayed parsing with or without early termination. Figure 4 It can be seen that The actual wake-up time The actual delay time Considering the actual working conditions of the system, the actual delay is required Not greater than the delay requirement .
[0093] Further, the wake-up interval is determined by obtaining a preset wake-up time, a preset delay time, and a preset delay of the service to be scheduled; the wake-up interval is determined according to the preset wake-up time, the preset delay time, the preset delay, and the delay requirement, and the wake-up interval , considering the early termination and non-early termination situations, we can get Range: , so determine , and based on And the wake-up time intervals of the six types of services using TWT in Table 2 .
[0094] Furthermore, determining the continuous wake-up time includes: determining the data transmission time of the service to be scheduled; determining the protection parameter according to the service type; and determining the continuous wake-up time according to the sum of the protection parameter and the data transmission time.
[0095] Specifically, the traffic that changes over time and the minimum wake-up duration of the current SP are used to Update. It is related to the traffic characteristics, and in order to adapt to the random and uncertain traffic that can be reached, the traffic characteristic time is appropriately extended, and a defense parameter is added ,therefore It can be roughly expressed as: ,in, There are different calculation methods for different service types, and the total time consumed for data transmission within an SP can be expressed as the sum of the packet transmission time and the delay time: .
[0096] Further, for There are different calculation methods depending on the type of business.
[0097] When the service type is stable, the stable traffic The value can be updated based on the long-term statistical data of the traffic, which is only related to the data packet transmission time and the delay between packets, without considering the instantaneous large changes in traffic. It is the simplest of the three modes. In order to prevent packet loss, the maximum value of the sum of the data packet transmission time and delay time in N detections is selected. As the total time taken for data packet transmission, the TWT protection parameter It is also calculated based on the traffic information extracted during the detection time: .therefore, Predicted to be: .
[0098] When the service type is microburst, the microburst traffic The prediction is that the characteristics of microburst traffic are: compared with stable traffic, its throughput will show obvious jitter, surge or decline over a period of time, that is, within a sufficient number of time steps, its traffic trend is not smooth, and the current It is not enough to meet the incoming traffic, so it is necessary to increase this value as soon as possible. , which may easily lead to a waste of communication resources; if the allocated If it is not enough, it will cause packet loss, so the protection parameters should be reasonably determined. When the traffic is stable (i.e., a trough state is detected) within N detections, it can be regarded as stable traffic processing: When obvious jitter / climbing occurs within N detections, a larger protection parameter needs to be allocated: Therefore, in the stable region, Predicted to be: In the emergency area, Predicted to be: .
[0099] When the service type is macro burst, the macro burst traffic The prediction is that macroburst traffic is similar to microburst traffic, but the trough duration is shorter and smaller, and the traffic mutation is more frequent and more instantaneous (similar to pulses). In the trough stage, smaller protection parameters can be allocated: , while mutations require larger protection parameters: Therefore, in the stable region, Predicted to be: In the emergency area, Predicted to be: .
[0100] The advantage of such a setting is that the continuous wake-up time corresponding to different business types is calculated accordingly according to different business types, thereby improving the accuracy of the continuous wake-up time.
[0101] In a specific implementation, the specific implementation of determining the global service scheduling table based on the target wake-up time parameter and the service priorities of all services to be scheduled in the service set to be scheduled includes: arranging the service priorities of all services to be scheduled in descending order of priority to determine a target priority list; wherein the target priority list includes all services to be scheduled and the service priorities corresponding to the services to be scheduled; allocating the first service to be scheduled in the target priority list to the first resource block, and waking up once in the first resource block at every wake-up interval, and each wake-up lasts for the wake-up time; for the remaining services to be scheduled in the target priority list except the first service to be scheduled, checking from the idle time of the first resource block until all resource blocks are checked, and determining the global service scheduling table based on the idle time of all resource blocks; wherein the global service scheduling table is used to schedule the scheduling of all services to be scheduled in the service set to be scheduled.
[0102] In this step, the service priority determines the order of service execution, and the TWT parameter determines the wake-up interval and duration of the service. , ,... They represent six types of services: drone / robot control, audio call, video call, streaming media, web browsing, and file upload / download. Assume that the actual service demand in a power system is , , , , , The assigned priorities are 6, 5, 4, 3, 2, and 1 respectively. The priority of the subgroup is the maximum value of the priorities of the elements in the subgroup. Specifically, suppose there are 4 STAs performing , , , For the power business, the subgroup priorities are 6, 5, 2, and 3 respectively. Should be executed first. Secondly, Finally, similarly, the TWT parameter is also the maximum value among the subgroups: Assume , , , , , TWT parameter tuple They are (40,20), (40,25), (25,15), (50,5), (50,10), (50,10), then , , , The parameter tuples are (40,20), (40,25), (50,10), and (50,10).
[0103] Specifically, the service priorities of all services to be scheduled are arranged in descending order of priority to determine a target priority list; wherein the target priority list includes all services to be scheduled and the service priorities corresponding to the services to be scheduled; the first service to be scheduled in the target priority list is allocated to the first resource block, and is awakened once in the first resource block at every wake-up interval, and each awakening lasts for the wake-up time; for the remaining services to be scheduled in the target priority list except the first service to be scheduled, an inspection is started from the idle time of the first resource block until the inspection of all resource blocks is completed, and a service global scheduling table is determined according to the idle time of all resource blocks; wherein the service global scheduling table is used to schedule the scheduling of all services to be scheduled in the service set to be scheduled.
[0104] For example, let T be the shortest duration for all services of multiple STAs in the power system, the minimum time scale t=10ms, and the start time of the first subgroup service be 0. First, sort all service subgroups from high to low according to priority to generate a subgroup list in descending priority order. , the TWT parameter tuple list corresponding to the subgroup is ; Then, the subgroup Assign to The start time is 0, and every Wake up once, and the duration of each wakeup is ; Further, for the business subgroup , start with If you assign it to the idle time of the current inspection, Will lead to resource competition, then start testing the next ; Finally, extend all The schedule is optimized based on the idle time of the service, thereby determining the global schedule of the service.
[0105] The advantage of this setting is that the wake-up time and wake-up interval are determined first. It is approximately equal to the delay requirement corresponding to the service. Secondly, the minimum wake-up duration is calculated according to the service type. , dynamic allocation Two-tuple.
[0106] In a specific implementation, after determining the global service scheduling table corresponding to all the services to be scheduled according to the data packet sending time and the service priority of all the services to be scheduled in the service set to be scheduled, it also includes: determining the duty cycle of all resource blocks; optimizing the global service scheduling table according to the duty cycle, and determining the optimized global service scheduling table.
[0107] Specifically, after determining the global service scheduling table corresponding to all the services to be scheduled according to the data packet sending time and the service priority of all the services to be scheduled in the service set to be scheduled, it also includes: determining the duty cycle of all resource blocks; optimizing the global service scheduling table according to the duty cycle, and determining the optimized global service scheduling table.
[0108] For example, assume that the shortest duration for all services of multiple STAs in the power system to be completed is T, the minimum time scale t=10ms, the subgroup service start time is set to 0, and the priority and TWT parameters are based on the above assumptions. Assigned to , wake up every 4 time units, each wake-up time is 2 time units; then consider the priority 5 , found that if from The third time unit starts to wake up, then in the fifth time unit there will be The situation of seizing channel resources, thus occupying the channel ; Consider priority 3 Can it be allocated to , it is found that channel contention occurs in the third SP, and then check , it is found that channel competition still exists, so the channel is occupied ; Finally, consider priority 2 , due to the channel and cannot be allocated without conflict, and of free time can be occupied, so Also occupies the channel At this point, the global business scheduling table is initially generated. Figure 5 is one of the schematic diagrams of the global service scheduling table provided by the present invention, such as Figure 5 From a global perspective, the channel idle time is 6 time units, and the duty cycle is 25%. Indicates the Nth occupied channel.
[0109] Furthermore, suppose the data transmission power during the TWT wake-up period is , the sleep power when there is no data transmission is , the instantaneous power when awakened is When using the TWT scheduling scheme, a TWT SP time period The total power consumed by the internal circuit for: , where It indicates the instantaneous time from sleep to wake-up of the device, which can be approximated to 0. From the above formula, it can be seen that when the TWT parameters of each service are fixed, no matter how the time-frequency domain scheduling scheme is adjusted, the total power consumption of the circuit is However, increasing the channel idle time becomes the optimization goal for further optimizing the global service schedule.
[0110] Exemplarily, the benefits of increasing channel idle time are reflected in improving user experience, optimizing network resource allocation, and improving signal quality. It can reduce latency, avoid network congestion, and facilitate network monitoring and adjustment. For example, network maintenance and upgrades during idle periods can avoid affecting user experience during peak hours. In order to reduce the time that devices occupy channels when not needed, using Orthogonal Frequency-Division Multiple Access (OFDMA) technology, TWT can wake up multiple devices at the same time to communicate and share channels, thereby increasing network capacity and reducing contention and latency. This multi-device concurrent transmission improves the duty cycle of the overall network. The optimization phase of the scheduling table is to maximize Duty cycle as the target, find Occupancy The overall duty cycle is larger, and the final optimized business global scheduling table is generated. Figure 6 This is a second schematic diagram of the global service scheduling table provided by the present invention, such as Figure 6 The final global service scheduling table is based on the first 24 time units. It is found that the global channel idle time is increased to 7.5 time units, and the RU duty cycle is increased from 25% to 31.25%.
[0111] The advantage of this setting is that it generates an optimized low-energy global scheduling solution for multiple STAs devices, taking into account the dynamically obtained The scheduling table is generated and updated based on the principle of maximizing the RU duty cycle, and the effectiveness of the TWT scheduling scheme proposed in the present invention is proved by the energy consumption formula.
[0112] Step 104: Perform service scheduling for all the services to be scheduled in the service set according to the global service scheduling table.
[0113] Specifically, after the global service scheduling table is determined, service scheduling is performed on all services to be scheduled in the service set to be scheduled based on the global service scheduling table.
[0114] The advantage of such a setting is that, for all the services to be scheduled in the dynamically changing service set to be scheduled, service scheduling is performed on all the services to be scheduled in the service set based on the service global scheduling table, thereby reducing device power consumption.
[0115] The present invention provides a service scheduling method for energy saving of electric power business, which obtains the electric power business energy saving parameters of all to-be-scheduled businesses in a to-be-scheduled business set; wherein the electric power business energy saving parameters are used to represent the transmission properties of the to-be-scheduled businesses; the electric power business energy saving parameters are input into a business traffic model to obtain the data packet sending time output by the business traffic model; wherein the business traffic model is determined based on parameter sample training, and the business traffic model is used to analyze the transmission properties of all to-be-scheduled businesses respectively, and determine the data packet sending time corresponding to all to-be-scheduled businesses; a business global scheduling table corresponding to all the to-be-scheduled businesses is determined according to the data packet sending time and the business priority of all to-be-scheduled businesses in the to-be-scheduled business set; and service scheduling is performed on all to-be-scheduled businesses in the to-be-scheduled business set according to the business global scheduling table. On the basis of the above embodiments, the technical solution of the present invention is used to solve the problem that the parameter allocation method of dynamically adjusting TWT based on demand in the prior art only allocates TWT service period for one STA device, does not take into account multiple STA devices in the actual application process, and the multi-service services of multiple STA devices cannot be managed synchronously. It realizes the analysis of the power service energy-saving parameters of all the services to be scheduled in the scheduled service set based on the service traffic model that analyzes the transmission properties of the services to be scheduled, and determines the service global scheduling table corresponding to the scheduling service according to the analyzed data packet sending time and the service priority of the services to be scheduled in the service set, and performs service scheduling for all the services to be scheduled in the service set based on the service global scheduling table. While ensuring the service quality, service scheduling is performed for all the services to be scheduled in the service set to reduce service power consumption.
[0116] The following is a description of the service scheduling device for energy saving of electric power business provided by the present invention. The service scheduling device for energy saving of electric power business described below and the service scheduling method for energy saving of electric power business described above can be referred to each other.
[0117] Figure 7 This is a schematic diagram of the structure of the power business energy-saving service dispatching device provided by the present invention, referring to Figure 7 As shown, the service scheduling device 700 for energy saving of electric power business includes: a parameter acquisition module 701 , a time determination module 702 , a schedule determination module 703 and a service scheduling module 704 .
[0118] The parameter acquisition module 701 is used to acquire the power service energy-saving parameters of all the services to be scheduled in the service set to be scheduled; wherein the power service energy-saving parameters are used to represent the transmission properties of the services to be scheduled.
[0119] The time determination module 702 is used to input the energy-saving parameters of the power business into the business traffic model to obtain the data packet sending time output by the business traffic model; wherein the business traffic model is determined based on parameter sample training, and the business traffic model is used to analyze the transmission properties of all the services to be scheduled respectively, and determine the data packet sending time corresponding to all the services to be scheduled.
[0120] The scheduling table determination module 703 is used to determine the service global scheduling table corresponding to all the services to be scheduled according to the data packet sending time and the service priorities of all the services to be scheduled in the service set to be scheduled.
[0121] The service scheduling module 704 is used to perform service scheduling for all the services to be scheduled in the service set to be scheduled according to the global service scheduling table.
[0122] In an example embodiment, the traffic model includes a session layer, a link layer, and a packet layer.
[0123] In an exemplary embodiment, the time determination module 702 is specifically used to: input the power service energy-saving parameters into the session layer of the service traffic model, obtain the state switching waiting time output by the session layer and the state switching output result of the session layer for the service state switching; wherein the session layer is used to determine the service state switching; input the state switching output result into the link layer of the service traffic model, obtain the service cycle waiting time output by the link layer and the service cycle output result of the link layer for the service service cycle; wherein the link layer is used to determine the service service cycle; input the service cycle output result into the packet layer of the service traffic model, obtain the data packet sending waiting time output by the packet layer; wherein the packet layer is used to determine the sending of the data packet; determine the data packet sending time according to the state switching waiting time, the service cycle waiting time and the data packet sending waiting time.
[0124] In an exemplary embodiment, the scheduling table determination module 703 is specifically used to: determine the throughput parameters of all services to be scheduled during the transmission of data packets based on the data packet sending time; determine the service type of the service to be scheduled based on the throughput parameters; determine the delay requirement of the service to be scheduled based on the service type and the service area to which the service to be scheduled belongs, the real-time attributes of the service and the service content; determine the target wake-up time parameter based on the delay requirement and the data packet sending time; determine the global service scheduling table based on the target wake-up time parameter and the service priority of all services to be scheduled in the service set to be scheduled.
[0125] In an example embodiment, the throughput parameters include throughput, throughput interval value and throughput average value, the throughput interval value is the throughput change between two detections, and the throughput average value is the average value of the window throughput of all time windows in a preset continuous time window; the service types include stable service, micro-burst service and macro-burst service.
[0126] In an exemplary embodiment, the scheduling table determination module 703 determines the service type of the service to be scheduled according to the throughput parameter, and is specifically used to: determine the service type as a stable service when the throughput is less than or equal to a first preset threshold and the absolute value of the difference between the throughput of all windows and the average throughput is less than or equal to a second preset threshold; determine the service type as a microburst service when the absolute value of the throughput interval value is greater than the first preset threshold or the set of throughput interval values within a preset time period is greater than the second preset threshold, the absolute value of the throughput interval value is less than or equal to a third preset threshold, and the absolute value of the difference between the throughput of all windows and the average throughput is less than or equal to a fourth preset threshold; determine the service type as a macroburst service when the absolute value of the throughput interval value is greater than the third preset threshold or the absolute value of the difference between the throughput of all windows and the average throughput is greater than the fourth preset threshold; wherein the first preset threshold is less than the second preset threshold, the second preset threshold is less than the third preset threshold, and the third preset threshold is less than the fourth preset threshold.
[0127] In an example embodiment, the target wake-up time parameters include a wake-up interval and a continuous wake-up time.
[0128] In an exemplary embodiment, the scheduling table determination module 703 determines the wake-up interval, specifically for: obtaining the preset wake-up time, preset delay time and preset delay of the service to be scheduled; and determining the wake-up interval according to the preset wake-up time, preset delay time, preset delay and delay requirement.
[0129] In an exemplary embodiment, the scheduling table determination module 703 determines the continuous wake-up time, specifically for: determining the data transmission time of the scheduled service; determining the protection parameter according to the service type; determining the continuous wake-up time according to the sum of the protection parameter and the data transmission time.
[0130] In an exemplary embodiment, the scheduling table determination module 703 determines a global service scheduling table according to a target wake-up time parameter and service priorities of all services to be scheduled in a service set to be scheduled, and is specifically used to: arrange the service priorities of all services to be scheduled in descending order of priority to determine a target priority list; wherein the target priority list includes all services to be scheduled and service priorities corresponding to the services to be scheduled; allocate the first service to be scheduled in the target priority list to the first resource block, and wake up once in the first resource block at every wake-up interval, and each wake-up lasts for the wake-up time; for the remaining services to be scheduled in the target priority list except the first service to be scheduled, check from the idle time of the first resource block until all resource blocks are checked, and determine a global service scheduling table according to the idle time of all resource blocks; wherein the global service scheduling table is used to schedule the scheduling of all services to be scheduled in the service set to be scheduled.
[0131] In an exemplary embodiment, the device further includes: a scheduling table optimization module. The scheduling table optimization module is used to: determine the duty cycle of all resource blocks after determining the service global scheduling table corresponding to all the services to be scheduled according to the data packet sending time and the service priority of all the services to be scheduled in the service set to be scheduled; optimize the service global scheduling table according to the duty cycle to determine the optimized service global scheduling table.
[0132] The device of this embodiment can be used to execute the method of any embodiment in the service scheduling method side embodiment of power business energy saving. Its specific implementation process and technical effects are similar to those in the service scheduling method side embodiment of power business energy saving. For details, please refer to the detailed description in the service scheduling method side embodiment of power business energy saving, which will not be repeated here.
[0133] Figure 8 is a schematic diagram of the structure of the electronic device provided by the present invention, such as Figure 8As shown, the electronic device may include: a processor 810, a communication interface 820, a memory 830 and a communication bus 840, wherein the processor 810, the communication interface 820 and the memory 830 communicate with each other through the communication bus 840. The processor 810 may call the logic instructions in the memory 830 to execute the service scheduling method for power business energy saving, the method comprising: obtaining power business energy saving parameters of all services to be scheduled in the service set to be scheduled; wherein the power business energy saving parameters are used to represent the transmission properties of the services to be scheduled; inputting the power business energy saving parameters into the service traffic model to obtain the data packet sending time output by the service traffic model; wherein the service traffic model is determined based on parameter sample training, and the service traffic model is used to analyze the transmission properties of all services to be scheduled respectively, and determine the data packet sending time corresponding to all services to be scheduled; determine the service global scheduling table corresponding to all services to be scheduled according to the data packet sending time and the service priority of all services to be scheduled in the service set to be scheduled; and perform service scheduling for all services to be scheduled in the service set to be scheduled according to the service global scheduling table.
[0134] In addition, the logic instructions in the above-mentioned memory 830 can be implemented in the form of a software functional unit and can be stored in a computer-readable storage medium when it is sold or used as an independent product. Based on this understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art or the part of the technical solution, can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions to enable a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the methods of each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk, etc. Various media that can store program codes.
[0135] On the other hand, the present invention also provides a computer program product, which includes a computer program. The computer program can be stored on a non-transitory computer-readable storage medium. When the computer program is executed by a processor, the computer can execute the service scheduling method for energy-saving of electric power services provided by the above methods, the method including: obtaining the electric power service energy-saving parameters of all services to be scheduled in the service set to be scheduled; wherein the electric power service energy-saving parameters are used to represent the transmission properties of the services to be scheduled; inputting the electric power service energy-saving parameters into a service traffic model to obtain the data packet sending time output by the service traffic model; wherein the service traffic model is determined based on parameter sample training, and the service traffic model is used to analyze the transmission properties of all services to be scheduled respectively, and determine the data packet sending time corresponding to all services to be scheduled; determine the service global scheduling table corresponding to all services to be scheduled according to the data packet sending time and the service priority of all services to be scheduled in the service set to be scheduled; and perform service scheduling for all services to be scheduled in the service set to be scheduled according to the service global scheduling table.
[0136] On the other hand, the present invention also provides a non-transitory computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements a service scheduling method for energy saving of electric power services provided by the above-mentioned methods, the method comprising: obtaining electric power service energy saving parameters of all services to be scheduled in a set of services to be scheduled; wherein the electric power service energy saving parameters are used to represent the transmission properties of the services to be scheduled; inputting the electric power service energy saving parameters into a service traffic model to obtain a data packet sending time output by the service traffic model; wherein the service traffic model is determined based on parameter sample training, and the service traffic model is used to analyze the transmission properties of all services to be scheduled respectively, and determine the data packet sending time corresponding to all services to be scheduled; determine a global service scheduling table corresponding to all services to be scheduled according to the data packet sending time and the service priority of all services to be scheduled in the set of services to be scheduled; and perform service scheduling for all services to be scheduled in the set of services to be scheduled according to the global service scheduling table.
[0137] The device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. Ordinary technicians in this field can understand and implement it without paying creative labor.
[0138] Through the description of the above implementation methods, those skilled in the art can clearly understand that each implementation method can be implemented by means of software plus a necessary general hardware platform, and of course, can also be implemented by hardware. Based on this understanding, the above technical solution is essentially or the part that contributes to the prior art can be embodied in the form of a software product, and the computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, a disk, an optical disk, etc., including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in each embodiment or some parts of the embodiments.
[0139] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these 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.
Claims
1. A service scheduling method for energy saving of electric power business, characterized in that: include: Obtaining power service energy-saving parameters of all services to be scheduled in the service set to be scheduled; wherein the power service energy-saving parameters are used to represent the transmission attributes of the services to be scheduled; Input the power service energy-saving parameter into the service traffic model to obtain the data packet sending time output by the service traffic model; wherein the service traffic model is determined based on parameter sample training, and the service traffic model is used to analyze the transmission properties of all the services to be scheduled respectively, and determine the data packet sending time corresponding to all the services to be scheduled; Determine a global service scheduling table corresponding to all the services to be scheduled according to the data packet sending time and the service priorities of all the services to be scheduled in the service set to be scheduled; Perform service scheduling on all the services to be scheduled in the service set to be scheduled according to the service global scheduling table.
2. The method for dispatching power business energy saving services according to claim 1, characterized in that: The service flow model includes a session layer, a link layer and a packet layer; the step of inputting the power service energy-saving parameter into the service flow model to obtain the data packet sending time output by the service flow model includes: Input the power service energy-saving parameter into the session layer of the service traffic model to obtain the state switching waiting time output by the session layer and the state switching output result of the service state switching by the session layer; wherein the session layer is used to determine the service state switching; Input the state switching output result into the link layer of the service traffic model to obtain the service cycle waiting time output by the link layer and the service cycle output result of the link layer for the service service cycle; wherein the link layer is used to determine the service service cycle; Inputting the service cycle output result into the packet layer of the service traffic model to obtain the data packet sending waiting time output by the packet layer; wherein the packet layer is used to determine the sending of the data packet; The data packet sending time is determined according to the state switching waiting time, the service cycle waiting time and the data packet sending waiting time.
3. The service scheduling method for energy saving of electric power business according to claim 1, characterized in that: The determining of the service global scheduling table corresponding to all the services to be scheduled according to the data packet sending time and the service priorities of all the services to be scheduled in the service set to be scheduled comprises: Determining throughput parameters of all the services to be scheduled during the transmission of the data packets according to the data packet sending time; Determining the service type of the service to be scheduled according to the throughput parameter; Determining the delay requirement of the service to be scheduled according to the service type and the service zone to which the service to be scheduled belongs, the service real-time attribute and the service content; Determine a target wake-up time parameter according to the delay requirement and the data packet sending time; A global service scheduling table is determined according to the target wake-up time parameter and the service priorities of all the services to be scheduled in the service set to be scheduled.
4. The method for dispatching power business energy saving services according to claim 3, characterized in that: The throughput parameters include throughput, throughput interval value and throughput average value, wherein the throughput interval value is the throughput change between two detections, and the throughput average value is the average value of the window throughput of all time windows in a preset continuous time window; the service types include stable services, micro-burst services and macro-burst services; The determining the service type of the service to be scheduled according to the throughput parameter includes: When the throughput is less than or equal to a first preset threshold and the absolute value of the difference between the throughput of all windows and the average throughput is less than or equal to a second preset threshold, determining that the service type is the stable service; When the absolute value of the throughput interval value is greater than the first preset threshold or the set of the throughput interval values within the preset time period is greater than the second preset threshold, the absolute value of the throughput interval value is less than or equal to the third preset threshold, and the absolute value of the difference between all the window throughputs and the average throughput value is less than or equal to the fourth preset threshold, determine that the service type is the microburst service; When the absolute value of the throughput interval value is greater than the third preset threshold or the absolute value of the difference between all the window throughputs and the throughput average is greater than the fourth preset threshold, the service type is determined to be the macro burst service; wherein the first preset threshold is less than the second preset threshold, the second preset threshold is less than the third preset threshold, and the third preset threshold is less than the fourth preset threshold.
5. The method for dispatching power business energy saving services according to claim 3, characterized in that: The target wake-up time parameters include a wake-up interval and a continuous wake-up time; Determining the wake-up interval includes: Obtaining a preset wake-up time, a preset delay time, and a preset delay of the service to be scheduled; Determining the wake-up interval according to the preset wake-up time, the preset delay time, the preset delay and the delay requirement; Determining the continuous wake-up time includes: Determining a data transmission time for the service to be scheduled; Determining protection parameters according to the business type; The continuous awakening time is determined according to the sum of the protection parameter and the data transmission time.
6. The power business energy-saving service scheduling method according to claim 5 is characterized in that: The determining of the global service scheduling table according to the target wake-up time parameter and the service priorities of all the services to be scheduled in the service set to be scheduled includes: Arrange the service priorities of all the services to be scheduled in descending order of priority to determine a target priority list; wherein the target priority list includes all the services to be scheduled and the service priorities corresponding to the services to be scheduled; Allocate the first service to be scheduled in the target priority list to the first resource block, and wake up once every wake-up interval in the first resource block, and each wake-up lasts for the continuous wake-up time; For the remaining services to be scheduled in the target priority list except the first service to be scheduled, the inspection is started from the idle time of the first resource block until the inspection of all resource blocks is completed, and the service global scheduling table is determined according to the idle time of all resource blocks; wherein the service global scheduling table is used to schedule the scheduling of all services to be scheduled in the set of services to be scheduled.
7. The method for dispatching power business energy saving services according to claim 6, characterized in that: After determining the service global scheduling table corresponding to all the services to be scheduled according to the data packet sending time and the service priorities of all the services to be scheduled in the service set to be scheduled, the method further includes: determining a duty cycle of all the resource blocks; The service global scheduling table is optimized according to the duty cycle, and the optimized service global scheduling table is determined.
8. A service dispatching device for energy saving of electric power business, characterized in that: include: A parameter acquisition module, used to acquire power service energy-saving parameters of all services to be scheduled in the service set to be scheduled; wherein the power service energy-saving parameters are used to represent the transmission properties of the services to be scheduled; A time determination module, used for inputting the energy-saving parameters of the electric power service into a service flow model, and obtaining the data packet sending time output by the service flow model; wherein the service flow model is determined based on parameter sample training, and the service flow model is used for analyzing the transmission attributes of all the services to be scheduled respectively, and determining the data packet sending time corresponding to all the services to be scheduled; A scheduling table determination module, used to determine a global service scheduling table corresponding to all the services to be scheduled according to the data packet sending time and the service priorities of all the services to be scheduled in the service set to be scheduled; The service scheduling module is used to perform service scheduling on all the services to be scheduled in the service set according to the global service scheduling table.
9. An electronic device 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 service scheduling method for energy saving of electric power services as described in any one of claims 1 to 7 is implemented.
10. A non-transitory computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the service scheduling method for energy saving of electric power services as claimed in any one of claims 1 to 7 is implemented.