Power customer data scheduling method and device, electronic equipment and storage medium
By performing hierarchical processing and time slot scheduling of power customer data streams, the security and time slot optimization issues of power business data management in new power systems have been resolved, enabling secure communication and dynamic time slot adjustment under conditions of high timeliness and explosive data growth.
Patent Information
- Application Number
- CN202211002650.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-08-19
- Publication Date
- 2026-02-06
- Estimated Expiration
- 2042-08-19
AI Technical Summary
In new power systems, facing the explosive growth of power business data, more frequent data interaction, more dispersed locations, and higher timeliness requirements, existing technologies are unable to effectively manage and schedule power customer data, resulting in insecure communication links and insufficient idle time slots.
By classifying and processing power customer data streams, establishing or disconnecting communication connections based on data stream level information, and sorting and scheduling data time slots based on bandwidth information, the physical layer data time slots are dynamically adjusted to meet the communication needs of power customers at different levels, thereby achieving security management and time slot optimization.
It enables secure communication management under the explosive growth and high timeliness requirements of power business data, ensures the data transmission needs of power customers at different levels, and solves the problem of insufficient idle time slots in flexible Ethernet.
Smart Images

Figure CN115374158B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] Embodiments of the present application relate to the field of data processing, and in particular to a power customer data scheduling method and device, electronic equipment and storage medium. BACKGROUND
[0002] The new power system is supported by source-grid-load-storage interaction and multi-energy complementation, and has basic characteristics of safety controllability, flexibility and efficiency, intelligence, and open interaction. With the construction of the new power system, the situation of explosive growth of power business data, more frequent data interaction, more dispersed location, and higher time efficiency requirements will be faced. SUMMARY
[0003] In view of this, in order to solve the above or part of the technical problems, embodiments of the present application provide a power customer data scheduling method and device, electronic equipment and storage medium.
[0004] In a first aspect, embodiments of the present application provide a power customer data scheduling method, comprising:
[0005] Obtaining a plurality of power customer data streams sent by a plurality of power customer communication terminals at a current time and data stream level information corresponding to each power customer data stream;
[0006] Based on the data stream level information, the power customer communication terminal is processed for communication;
[0007] The power customer data stream sent by the target power customer communication terminal after communication processing is time slot scheduled.
[0008] In one possible implementation, the method further comprises:
[0009] Pre-set customer communication level information of all power customers;
[0010] Based on the customer communication level information, the data stream level information corresponding to the power customer data stream sent by the corresponding power customer communication terminal is determined.
[0011] In one possible implementation, the method further comprises:
[0012] The power customer communication terminals with the same data stream level information are connected in communication;
[0013] The power customer communication terminals with different data stream level information are disconnected in communication.
[0014] In one possible implementation, the method further comprises:
[0015] The power customer communication terminals with different data stream level information are taken as target power customer communication terminals;
[0016] obtaining bandwidth information corresponding to the power customer data stream sent by the target power customer communication terminal;
[0017] sequencing the target power customer communication terminal according to the bandwidth information from small to large to obtain a first sequencing list.
[0018] In one possible implementation, the method further comprises:
[0019] re-establishing a second sequencing list based on the customer communication level information of the power customer corresponding to the target power customer communication terminal and the sequence of the first sequencing list, wherein the second sequencing list contains the target power customer communication terminal corresponding to different customer communication level information.
[0020] In one possible implementation, the method further comprises:
[0021] obtaining bandwidth information corresponding to a plurality of power customer data streams sent by a plurality of power customer communication terminals at a current time to obtain first total bandwidth information;
[0022] obtaining bandwidth information corresponding to all physical layers of the current system respectively to obtain second total bandwidth information of all physical layers;
[0023] When the first total bandwidth information is greater than or equal to the second total bandwidth information, if the bandwidth information corresponding to the power customer data stream sent by any power customer communication terminal and the sum of the first total bandwidth information is greater than or equal to a preset condition, then the information of any power customer communication terminal and the information of other power customer communication terminals sending power customer data streams obtained thereafter are stored in a third sequencing list according to time sequence information;
[0024] allocating the power customer data stream sent by the power customer communication terminal in the second sequencing list to a first target number of time slots according to the sequence in the second sequencing list;
[0025] polling the power customer data stream sent by the power customer communication terminal in the third sequencing list to a second target number of time slots.
[0026] In one possible implementation, the method further comprises:
[0027] When the first total bandwidth information is less than the second total bandwidth information, the power customer data stream sent by the power customer communication terminal in the second sequencing list is allocated to a third target number of time slots according to the sequence in the second sequencing list;
[0028] The first target number of time slots, the second target number of time slots and the third target number of time slots are allocated to all physical layers, and power customer data streams corresponding to each time slot are stored in an overhead frame, and the overhead frame is inserted into the reserved idle time slot.
[0029] In a second aspect, an embodiment of the present application provides a power customer data scheduling device, comprising:
[0030] An acquisition module is configured to acquire a plurality of power customer data streams sent by a plurality of power customer communication terminals at a current time and data stream level information corresponding to each power customer data stream;
[0031] A processing module is configured to perform communication processing on the power customer communication terminals based on the data stream level information.
[0032] A scheduling module is configured to perform time slot scheduling on power customer data streams sent by target power customer communication terminals after communication processing.
[0033] In a possible implementation, the acquisition module is further configured to pre-set customer communication level information of all power customers, and determine data stream level information corresponding to power customer data streams sent by corresponding power customer communication terminals based on the customer communication level information.
[0034] In a possible implementation, the processing module is further configured to establish communication connections between power customer communication terminals with the same data stream level information, and disconnect communication connections between power customer communication terminals with different data stream level information.
[0035] In a possible implementation, the scheduling module is further configured to take power customer communication terminals with different data stream level information as target power customer communication terminals, acquire bandwidth information corresponding to power customer data streams sent by the target power customer communication terminals, sort the target power customer communication terminals in descending order of bandwidth information to obtain a first sorting sequence list.
[0036] In a possible implementation, the scheduling module is further configured to re-establish a second sorting sequence list based on customer communication level information of corresponding power customers of the target power customer communication terminals and the order of the first sorting sequence list, wherein the second sorting sequence list contains target power customer communication terminals corresponding to different customer communication level information.
[0037] In a possible implementation, the scheduling module is further configured to: acquire bandwidth information corresponding to a plurality of power customer data streams sent by a plurality of power customer communication terminals at a current time, to obtain first total bandwidth information; acquire bandwidth information corresponding to all physical layers of a current system, to obtain second total bandwidth information of all physical layers; when the first total bandwidth information is greater than or equal to the second total bandwidth information, if it is acquired that the sum of the bandwidth information corresponding to the power customer data stream sent by any power customer communication terminal and the first total bandwidth information is greater than or equal to a preset condition, then store, in a third sorting list, information of any power customer communication terminal and other power customer communication terminal information of the power customer data stream sent by the other power customer communication terminal acquired subsequently according to time sequence information; allocate the power customer data stream sent by the power customer communication terminal in the second sorting list to a first target number of time slots according to an order in the second sorting list; and poll allocate the power customer data stream sent by the power customer communication terminal in the third sorting list to a second target number of time slots.
[0038] In a possible implementation, the scheduling module is further configured to: when the first total bandwidth information is less than the second total bandwidth information, allocate the power customer data stream sent by the power customer communication terminal in the second sorting list to a third target number of time slots according to an order in the second sorting list; allocate the first target number of time slots, the second target number of time slots, and the third target number of time slots to all physical layers, and store the power customer data stream corresponding to each time slot in an overhead frame; and insert the overhead frame into a reserved idle time slot.
[0039] In a third aspect, an embodiment of the present application provides an electronic device, including: a processor and a memory, the processor is configured to execute a power customer data scheduling program stored in the memory, to implement the power customer data scheduling method in the first aspect.
[0040] In a fourth aspect, an embodiment of the present application provides a storage medium, including: the storage medium stores one or more programs, the one or more programs can be executed by one or more processors, to implement the power customer data scheduling method in the first aspect.
[0041] The power customer data scheduling scheme provided by the embodiment of the application comprises the following steps: obtaining a plurality of power customer data streams sent by a plurality of power customer communication terminals at a current time and data stream level information corresponding to each power customer data stream; performing communication processing on the power customer communication terminals based on the data stream level information; and performing time slot scheduling on the power customer data stream sent by a target power customer communication terminal after the communication processing. According to the scheme, in the case of explosive growth of power service data, frequent data interaction, dispersed location and high timeliness requirement, the power customer data stream is processed in a hierarchical manner, the data time slot of the corresponding physical layer can be flexibly adjusted according to the hierarchy, and different communication transmission is ensured according to the communication requirements of power customers of different levels. BRIEF DESCRIPTION OF DRAWINGS
[0042] Figure 1 The structural schematic diagram of the power customer data scheduling system provided by the embodiment of the application is shown in FIG. 1.
[0043] Figure 2 The flow schematic diagram of the power customer data scheduling method provided by the embodiment of the application is shown in FIG. 2.
[0044] Figure 3 The flow schematic diagram of another power customer data scheduling method provided by the embodiment of the application is shown in FIG. 3.
[0045] Figure 4 The schematic diagram of the time slot allocation physical layer provided by the embodiment of the application is shown in FIG. 4.
[0046] Figure 5 The structural schematic diagram of the power customer data scheduling device provided by the embodiment of the application is shown in FIG. 5.
[0047] Figure 6 The structural schematic diagram of the electronic device provided by the embodiment of the application is shown in FIG. 6. DETAILED DESCRIPTION
[0048] In order to make the purpose, technical scheme and advantages of the embodiments of the application clearer, the technical scheme of the embodiments of the application will be described clearly and completely below with reference to the drawings of the embodiments of the application. Obviously, the described embodiments are some embodiments of the application, but not all the embodiments of the application. Based on the embodiments of the application, all other embodiments obtained by those skilled in the art without creative labor fall within the protection scope of the application.
[0049] In order to make the purpose, technical scheme and advantages of the embodiments of the application clearer, the technical scheme of the embodiments of the application will be described clearly and completely below with reference to the drawings of the embodiments of the application. Obviously, the described embodiments are some embodiments of the application, but not all the embodiments of the application. Based on the embodiments of the application, all other embodiments obtained by those skilled in the art without creative labor fall within the protection scope of the application.
[0050] Figure 1 The structural schematic diagram of the power customer data scheduling system provided by the embodiment of the application is shown in FIG. 1.Figure 1 As shown, the power client data scheduling system provided by the embodiment of the present application is composed of a power client, 64B / 66B encoding and decoding, a cache, a time slot scheduling module, overhead insertion / extraction, and a physical layer, and each part is connected to each other for bidirectional communication.
[0051] C1...Cn: represents n power clients, transmits / receives raw data packets.
[0052] 64B / 66B encoding and decoding: 64B / 66B encoding and decoding encodes 64-bit 'data or control information' into a 66-bit block or decodes a 66-bit block into 64-bit 'data or control information', and each 66B data block corresponds to one time slot.
[0053] Cache: the cache module caches the 66B data block transmitted by the 64B / 66B encoding module / time slot scheduling module to the memory.
[0054] Time slot scheduling module (SDM): the 66B data block is distributed to different PHYs. According to the overhead frame information, the 66B data block of each client side corresponding cache module or PHY layer is read, and then distributed to 20m 5G time slots, and 20m 5G time slots are distributed to m PHY layers.
[0055] Overhead insertion / extraction: overhead frames need to be transmitted from the Flex Ethernet (FlexE) multiplexing side to the FlexE demultiplexing side, which functions to obtain time slot allocation information when demultiplexing and restore data flow. The overhead frame contains allocation information of each time slot and power client communication level information.
[0056] PHY1...PHYm: represents m physical layers (Physical_Layer, PHY).
[0057] Figure 2 The flowchart of the power client data scheduling method provided by the embodiment of the present application is shown in Figure 2 As shown, the method specifically includes:
[0058] S21, obtaining a plurality of power client data streams transmitted by a plurality of power client communication ends at the current time and data stream level information corresponding to each power client data stream.
[0059] In the embodiment of the present application, the power communication system complies with the power safety requirements of "business partition, network dedication, horizontal isolation, and vertical authentication", and the part of the service application of the communication bearer network in the power grid needs to achieve end-to-end network slice isolation. Therefore, the power service system can perform five-layer communication grading of SL1-SL5 according to the different communication needs of different power customers, and the five levels of data flow communication level values can be set as: SL1>SL2>SL3>SL4>SL5. Power customers of the same level can establish a communication connection, and power customers of different levels cannot establish a communication connection, for example, power customers of SL1 level can only communicate with power customers of SL1 level and cannot communicate with power customers of other levels.
[0060] Obtain a plurality of power customer data streams sent by a plurality of power customer communication terminals at the current time, and data flow level information corresponding to each power customer data stream, for example, there are n power customer data streams C1...Cn at the current time T, and the data flow level information thereof is SLC1...SLCn.
[0061] S22, perform communication processing on the power customer communication terminal based on the data flow level information.
[0062] S23, perform time slot scheduling on the power customer data stream sent by the target power customer communication terminal after communication processing.
[0063] The time slot scheduling module judges whether the levels of the two ends of the power customers of the communication connection are the same based on the data flow level information corresponding to the above-mentioned power customer data stream, and performs communication processing on the power customer communication terminal based on the judgment result, for example, if the levels of the two ends of the power customers of the communication connection are the same, the communication connection can be established; if the levels of the two ends of the power customers of the communication connection are not the same, the communication connection is disconnected.
[0064] Further, perform time slot scheduling on the power customer data stream sent by the target power customer communication terminal after communication processing, and the specific time slot scheduling method is described in detail in the corresponding embodiment. Figure 3 The corresponding embodiment is described in detail, and will not be described here.
[0065] The power customer data scheduling method provided by the embodiment of the present application comprises the following steps: obtaining a plurality of power customer data streams sent by a plurality of power customer communication terminals at a current time and data stream level information corresponding to each power customer data stream; performing communication processing on the power customer communication terminals based on the data stream level information; and performing time slot scheduling on the power customer data streams sent by the target power customer communication terminals after the communication processing. By the method, in the case of explosive growth of power service data, frequent data interaction, dispersed location, and high time efficiency requirement, the power customer data streams are processed in a hierarchical manner, the data time slots of the corresponding physical layer can be flexibly adjusted according to the hierarchy, and different communication transmission is ensured according to the communication requirements of power customers of different levels.
[0066] Figure 3 The flowchart of another power customer data scheduling method provided by the embodiment of the present application is shown in FIG. 2, which comprises the following steps: Figure 3
[0067] S31, setting customer communication level information of all power customers in advance.
[0068] In the embodiment of the present application, the power communication system complies with the requirements of power safety, i.e. business partition, network specialization, horizontal isolation, and vertical authentication. The communication bearer network needs to achieve end-to-end network slice isolation for some business applications in the power grid. Therefore, the power business system can perform five-layer communication hierarchy of SL1-SL5 according to different communication requirements of different power customers, and the data stream communication level values of the five levels can be set as SL1>SL2>SL3>SL4>SL5. Power customers of the same level can establish communication connection, and power customers of different levels cannot establish communication connection, for example, power customers of the SL1 level can only communicate with power customers of the SL1 level and cannot communicate with power customers of other levels.
[0069] S32, determining data stream level information corresponding to the power customer data streams sent by the corresponding power customer communication terminals based on the customer communication level information.
[0070] Obtaining a plurality of power customer data streams sent by a plurality of power customer communication terminals at a current time.
[0071] Further, the data stream level information corresponding to the power customer data streams sent by the corresponding power customer communication terminals can be determined based on the customer communication level information set in advance.
[0072] For example, there are n power customer data streams C1...Cn at the current time T, and the data stream level information thereof is SLC1...SLCn.
[0073] S33, establishing communication connection between the power customer communication terminals with the same data stream level information.
[0074] S34, disconnecting the communication connection of the power customer communication end with different data stream level information.
[0075] The time slot scheduling module judges whether the levels of the two power customers connected by the communication connection are the same based on the data stream level information corresponding to the power customer data stream, and performs communication processing on the power customer communication end based on the judgment result, for example, the communication connection can be established if the levels of the two power customers connected by the communication connection are the same, and the communication connection is disconnected if the levels of the two power customers connected by the communication connection are different.
[0076] S35, taking the power customer communication end with different data stream level information as a target power customer communication end.
[0077] S36, obtaining bandwidth information corresponding to the power customer data stream sent by the target power customer communication end.
[0078] S37, sorting the target power customer communication end in ascending order of bandwidth information to obtain a first sorting sequence list.
[0079] The following uniformly describes S35-S37:
[0080] The power customer communication end disconnected from the communication connection is taken as the target power customer communication end, bandwidth information corresponding to the power customer data stream sent by the target power customer communication end is obtained, the target power customer communication end is sorted in ascending order of the bandwidth information to obtain a first sorting sequence list (ST1).
[0081] S38, re-establishing a second sorting sequence list based on the customer communication level information of the power customer corresponding to the target power customer communication end and the order of the first sorting sequence list, wherein the second sorting sequence list contains the target power customer communication end corresponding to different customer communication level information.
[0082] In the embodiment of the application, the power customer communication end information with the customer communication level of SL1 is extracted in ST1, and written into the second sorting sequence list (ST2) in the order of ST1.
[0083] Correspondingly, the power customer communication terminal information of the customer communication level of SL2 is extracted in ST1 and written in ST2 according to the sequence in ST1; the power customer communication terminal information of the customer communication level of SL3 is extracted in ST1 and written in ST2 according to the sequence in ST1; the power customer communication terminal information of the customer communication level of SL4 is extracted in ST1 and written in ST2 according to the sequence in ST1; and the power customer communication terminal information of the customer communication level of SL5 is extracted in ST1 and written in ST2 according to the sequence in ST1. Thus, the second sorting sequence list is obtained, which contains the target power customer communication terminal information corresponding to different customer communication level information.
[0084] S39, obtaining the bandwidth information corresponding to the plurality of power customer data streams sent by the plurality of power customer communication terminals at the current time, to obtain the first total bandwidth information.
[0085] The bandwidth information corresponding to the plurality of power customer data streams sent by the plurality of power customer communication terminals at the current time is obtained, and the plurality of bandwidth information is added to obtain the first total bandwidth information, which is denoted as WCS=WC1+WC2+…WCn.
[0086] S310, obtaining the bandwidth information corresponding to all physical layers of the current system respectively to obtain the second total bandwidth information of all physical layers.
[0087] The bandwidth information corresponding to all physical layers of the current system respectively is obtained, and the bandwidth information of all physical layers is added to obtain the second total bandwidth information of all physical layers, which is denoted as WPS=WP1+WP2+…WPm.
[0088] S311, when the first total bandwidth information is greater than or equal to the second total bandwidth information, if the sum of the bandwidth information corresponding to the power customer data stream sent by any power customer communication terminal and the first total bandwidth information is greater than or equal to the preset condition, then the information of any power customer communication terminal and the power customer communication terminal information of other power customer data streams obtained thereafter are stored in the third sorting sequence list according to the time sequence information.
[0089] When the first total bandwidth information is greater than or equal to the second total bandwidth information, that is, WCS≥WPS, the time slot scheduling module accumulates the bandwidth according to the power customer sorting of the table ST2. When any power customer communication terminal Cn1 joins, the total bandwidth at this time is greater than or equal to the preset condition, that is, the total bandwidth≥(WP1+WP2+…WPm)*19 / 20, then Cn1 and the power customer communication terminal information of other power customer data streams obtained thereafter are stored in the third sorting sequence list (ST3) according to the time sequence information, and are deleted from ST2.
[0090] S312, distribute the power customer data streams sent by the power customer communication terminals in the second sorting list into the first target number of time slots according to the order in the second sorting list.
[0091] The read power customer data streams are distributed into the first target number of time slots according to the ST2 order, and the embodiment of the application is distributed into 19m time slots.
[0092] S313, poll-distribute the power customer data streams sent by the power customer communication terminals in the third sorting list into the second target number of time slots.
[0093] The power customer data streams sent by the power customer communication terminals in ST3 are poll-distributed into the second target number of time slots, and the embodiment of the application is distributed into m time slots, and when the time slots are insufficient, the communication transmission is queued and waited for T+1 time. Finally, the total 20m time slots are distributed to m PHY layers, as shown in Figure 4 Fig. 4 is a schematic diagram of a time slot allocation physical layer provided by an embodiment of the application.
[0094] It should be noted that the data stream output / received by the module has a gap, and the gap position is reserved for inserting / extracting a FlexE overhead block (containing time slot allocation information), power customer communication level information and alignment bytes. The time slots not carrying data are filled with Ethernet error control blocks.
[0095] S314, when the first total bandwidth information is less than the second total bandwidth information, distribute the power customer data streams sent by the power customer communication terminals in the second sorting list into the third target number of time slots according to the order in the second sorting list.
[0096] When the first total bandwidth information is less than the second total bandwidth information, that is, WCS Figure 4 Fig. 5 shows that the power customer data stream corresponding to each time slot is stored in an overhead frame, and the overhead frame is inserted into an idle time slot.
[0097] S315, distribute the first target number of time slots, the second target number of time slots and the third target number of time slots to all physical layers, and store the power customer data stream corresponding to each time slot in an overhead frame, and insert the overhead frame into the reserved idle time slot.
[0098] Finally, 20m time slots are distributed to m PHY, and the power customer data stream corresponding to each time slot is stored in an overhead frame, and the overhead frame is inserted into an idle time slot.
[0099] The power customer data scheduling method provided by the embodiment of the present application limits the establishment of communication links of different levels, realizes the security management of the communication links on the bearer network, meets the security requirements of the hierarchical power data transmission, flexibly adjusts the data time slots of the corresponding physical layer according to five types of hierarchical power customers, and guarantees different communication transmission according to the communication requirements of power customers of different levels. The idle time slots are manufactured by the time slot scheduling method, and the problem of insufficient idle time slots of the flexible Ethernet is solved.
[0100] The power customer data scheduling method provided by the embodiment of the present application obtains a plurality of power customer data streams sent by a plurality of power customer communication terminals at the current moment and the data stream level information corresponding to each power customer data stream, performs communication processing on the power customer communication terminals based on the data stream level information, and performs time slot scheduling on the power customer data streams sent by the target power customer communication terminal after the communication processing. When the power customer accesses the time slot scheduling communication system, the flexible Ethernet technology is applied, the power security hierarchical method is applied, the communication links are established for power customers of different levels, then the time slots of the carried power customer communication data are dynamically adjusted according to the communication bandwidth requirements of the power customers, the hierarchical communication transmission requirements of the power are met, and the problem of insufficient idle time slots of the flexible Ethernet is solved.
[0101] Figure 5 The structure schematic diagram of the power customer data scheduling device is shown. Figure 5 As shown in the figure, the device comprises:
[0102] The acquisition module 501 is configured to acquire a plurality of power customer data streams sent by a plurality of power customer communication terminals at the current moment and the data stream level information corresponding to each power customer data stream.
[0103] The processing module 502 is configured to perform communication processing on the power customer communication terminals based on the data stream level information.
[0104] The scheduling module 503 is configured to perform time slot scheduling on the power customer data streams sent by the target power customer communication terminal after the communication processing.
[0105] In a possible implementation, the acquisition module 501 is further configured to pre-set the customer communication level information of all power customers, and determine the data stream level information corresponding to the power customer data streams sent by the corresponding power customer communication terminals based on the customer communication level information.
[0106] In a possible implementation, the processing module 502 is further configured to establish a communication connection for the power customer communication terminals with the same data stream level information, and disconnect the communication connection for the power customer communication terminals with different data stream level information.
[0107] In a possible implementation, the scheduling module 503 is further configured to: take the power client communication terminals with different data flow level information as target power client communication terminals; acquire bandwidth information corresponding to power client data flows sent by the target power client communication terminals; and sort the target power client communication terminals in descending order of the bandwidth information to obtain a first sorting list.
[0108] In a possible implementation, the scheduling module is further configured to: based on the customer communication level information of the target power client communication terminals corresponding to the power clients and the order of the first sorting list, re-establish a second sorting list, wherein the second sorting list contains the target power client communication terminals corresponding to different customer communication level information.
[0109] In a possible implementation, the scheduling module 503 is further configured to: acquire bandwidth information corresponding to multiple power client data flows sent by multiple power client communication terminals at a current time to obtain first total bandwidth information; acquire bandwidth information corresponding to all physical layers of a current system respectively to obtain second total bandwidth information of all physical layers; when the first total bandwidth information is greater than or equal to the second total bandwidth information, if it is acquired that the sum of the bandwidth information corresponding to the power client data flows sent by any power client communication terminal and the first total bandwidth information is greater than or equal to a preset condition, then store information of the any power client communication terminal and other power client communication terminal information acquired subsequently and sending power client data flows in a third sorting list according to time sequence information; distribute the power client data flows sent by the power client communication terminals in the second sorting list to a first target number of time slots according to the order in the second sorting list; and poll distribute the power client data flows sent by the power client communication terminals in the third sorting list to a second target number of time slots.
[0110] In a possible implementation, the scheduling module 503 is further configured to: when the first total bandwidth information is less than the second total bandwidth information, distribute the power client data flows sent by the power client communication terminals in the second sorting list to a third target number of time slots according to the order in the second sorting list; distribute the first target number of time slots, the second target number of time slots and the third target number of time slots to all physical layers, and store power client data flows corresponding to each time slot in an overhead frame, and insert the overhead frame into a reserved idle time slot.
[0111] The power client data scheduling device provided by the embodiment of the present application is used to execute the power client data scheduling method provided by the above embodiment, and the implementation manner and principle are the same, and the details are referred to the related description of the above method embodiment, and will not be repeated here.
[0112] Figure 6An electronic device is shown in FIG. 1, which can include a processor 901 and a memory 902, where the processor 901 and the memory 902 can be connected by a bus or other means, Figure 6 The electronic device can include a processor 901 and a memory 902, where the processor 901 and the memory 902 can be connected by a bus or other means, Figure 6 The electronic device can include a processor 901 and a memory 902, where the processor 901 and the memory 902 can be connected by a bus or other means,
[0113] The processor 901 can be a central processing unit (CPU). The processor 901 can also be other general-purpose processors, digital signal processors (DSP), application specific integrated circuits (ASIC), field programmable gate arrays (FPGA) or other programmable logic devices, discrete gates or transistor logic components, discrete hardware components, or a combination thereof.
[0114] The memory 902 can be used to store non-transitory software programs, non-transitory computer executable programs and modules, such as program instructions / modules corresponding to the methods provided in the embodiments of the present application. The processor 901 executes various functions and data processing of the processor by running the non-transitory software programs, instructions and modules stored in the memory 902, i.e. implements the methods in the above method embodiments.
[0115] The memory 902 can include a program storage area and a data storage area, where the program storage area can store an operating system and at least one application required by a function; the data storage area can store data created by the processor 901, etc. In addition, the memory 902 can include a high-speed random access memory, and can also include a non-transitory memory, such as at least one magnetic disk storage device, a flash memory device, or other non-transitory solid-state memory device. In some embodiments, the memory 902 can optionally include a memory remotely arranged with respect to the processor 901, which can be connected to the processor 901 through a network. Examples of the above network include but are not limited to the Internet, an intranet, a local area network, a mobile communication network, and a combination thereof.
[0116] One or more modules are stored in the memory 902, which, when executed by the processor 901, perform the methods in the above method embodiments.
[0117] The above electronic device can correspond to the relevant description and effects of the above method embodiments for understanding, which will not be repeated here.
[0118] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program. The program can be stored in a computer readable storage medium. When the program is executed, the program can include the processes of the above-mentioned embodiment methods. The storage medium can be a magnetic disc, an optical disc, a read-only memory (ROM), a random access memory (RAM), a flash memory, a hard disk drive (HDD) or a solid-state drive (SSD), etc. The storage medium can also include a combination of the above-mentioned types of memories.
[0119] Although the embodiments of the present application are described in conjunction with the drawings, various modifications and changes can be made by those skilled in the art without departing from the spirit and scope of the present application, and such modifications and changes fall within the scope defined by the appended claims.
Claims
1. A power customer data scheduling method, characterized by, The method comprises the following steps: acquiring a plurality of power customer data streams sent by a plurality of power customer communication terminals at a current time and data stream level information corresponding to each power customer data stream; performing communication processing on the power customer communication terminals based on the data stream level information; performing time slot scheduling on the power customer data streams sent by the target power customer communication terminals after the communication processing; the step of acquiring the plurality of power customer data streams sent by the plurality of power customer communication terminals at the current time and the data stream level information corresponding to each power customer data stream comprises the following steps: pre-setting customer communication level information of all power customers; determining data stream level information corresponding to the power customer data streams sent by the corresponding power customer communication terminals based on the customer communication level information; the step of performing communication processing on the power customer communication terminals based on the data stream level information comprises the following steps: establishing a communication connection for the power customer communication terminals with the same data stream level information; disconnecting the communication connection for the power customer communication terminals with different data stream level information; the step of performing time slot scheduling on the power customer data streams sent by the target power customer communication terminals after the communication processing comprises the following steps: taking the power customer communication terminals with different data stream level information as target power customer communication terminals; acquiring bandwidth information corresponding to the power customer data streams sent by the target power customer communication terminals; sorting the target power customer communication terminals in descending order of the bandwidth information to obtain a first sorting sequence list; the method further comprises the following steps: re-establishing a second sorting sequence list based on the customer communication level information of the power customers corresponding to the target power customer communication terminals and the order of the first sorting sequence list, wherein the second sorting sequence list contains the target power customer communication terminals corresponding to different customer communication level information; the method further comprises the following steps: acquiring bandwidth information corresponding to the plurality of power customer data streams sent by the plurality of power customer communication terminals at the current time to obtain first total bandwidth information; acquiring bandwidth information corresponding to all physical layers of the current system to obtain second total bandwidth information of all physical layers; when the first total bandwidth information is greater than or equal to the second total bandwidth information, if the sum of the bandwidth information corresponding to the power customer data streams sent by any power customer communication terminal and the first total bandwidth information is greater than or equal to a preset condition, then storing the information of any power customer communication terminal and the information of other power customer communication terminals sending power customer data streams obtained subsequently in a third sorting sequence list in chronological order; allocating the power customer data streams sent by the power customer communication terminals in the second sorting sequence list to a first target number of time slots in the order of the second sorting sequence list; polling the power customer data streams sent by the power customer communication terminals in the third sorting sequence list and allocating them to a second target number of time slots.
2. The method of claim 1, wherein, the method further comprises the following steps: when the first total bandwidth information is less than the second total bandwidth information, allocating the power customer data streams sent by the power customer communication terminals in the second sorting sequence list to a third target number of time slots in the order of the second sorting sequence list; The first target number of time slots, the second target number of time slots and the third target number of time slots are allocated to all physical layers, and power customer data streams corresponding to each time slot are stored in an overhead frame, and the overhead frame is inserted into a reserved idle time slot.
3. A power customer data scheduling apparatus characterized by comprising: The method comprises the following steps: An acquisition module is configured to acquire a plurality of power customer data streams sent by a plurality of power customer communication terminals at a current time and data stream level information corresponding to each power customer data stream; the method comprises the following steps: pre-setting customer communication level information of all power customers; determining data stream level information corresponding to a power customer data stream sent by a corresponding power customer communication terminal based on the customer communication level information; A processing module is configured to perform communication processing on the power customer communication terminals based on the data stream level information; the method comprises the following steps: establishing a communication connection between power customer communication terminals with the same data stream level information; and disconnecting the communication connection between power customer communication terminals with different data stream level information; A scheduling module is configured to perform time slot scheduling on power customer data streams sent by target power customer communication terminals after communication processing; the method comprises the following steps: The power customer communication terminals with different data stream level information are taken as target power customer communication terminals; bandwidth information corresponding to power customer data streams sent by the target power customer communication terminals is acquired; the target power customer communication terminals are sorted in descending order of bandwidth information to obtain a first sorting list; a second sorting list is re-established based on customer communication level information of power customers corresponding to the target power customer communication terminals and the order of the first sorting list; the second sorting list contains target power customer communication terminals corresponding to different customer communication level information; bandwidth information corresponding to a plurality of power customer data streams sent by a plurality of power customer communication terminals at a current time is acquired to obtain first total bandwidth information; bandwidth information corresponding to all physical layers of a current system is acquired to obtain second total bandwidth information of all physical layers; when the first total bandwidth information is greater than or equal to the second total bandwidth information, if the sum of bandwidth information corresponding to power customer data streams sent by any power customer communication terminal and the first total bandwidth information is greater than or equal to a preset condition, then any power customer communication terminal information and other power customer communication terminal information obtained subsequently and sending power customer data streams are stored in a third sorting list in chronological order; power customer data streams sent by power customer communication terminals in the second sorting list are allocated to a first target number of time slots in the order of the second sorting list; power customer data streams sent by power customer communication terminals in the third sorting list are allocated to a second target number of time slots in a polling manner.
4. An electronic device, comprising: The method comprises the following steps: A processor is configured to execute a power customer data scheduling program stored in a memory to implement the power customer data scheduling method of any one of claims 1-2.
5. A storage medium, characterized by The storage medium stores one or more programs that can be executed by one or more processors to implement the power customer data scheduling method of any one of claims 1-2.
Citation Information
Patent Citations
Intelligent scheduling method and device for electric power communication service data flow and terminal equipment
CN110636011A
Prioritized communication session establishment in computer networks
CN113691576A