Distribution method of electric power collection task, electronic equipment and storage medium
By obtaining the concentrator list of the power system and determining the target concentrator, and generating the power acquisition task based on its communication method and factory information, the problem of low allocation efficiency of the power acquisition task is solved and efficient power data acquisition is achieved.
Patent Information
- Application Number
- CN202411603222.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-11
- Publication Date
- 2025-02-28
AI Technical Summary
In the prior art, the allocation efficiency of power acquisition tasks is low, resulting in unsatisfactory power acquisition results.
By obtaining the concentrator list of the power system, the target concentrator is determined, and a specific power acquisition task is generated based on its communication method and factory information, and finally the power acquisition task is allocated to the target concentrator based on the task type.
The allocation efficiency of power acquisition tasks is improved, the reasonable allocation of power acquisition tasks is achieved, and the operation efficiency of the power system and the accuracy of power data acquisition are improved.
Smart Images

Figure CN119539388A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of power systems, and in particular to a method for allocating power collection tasks, electronic equipment and a storage medium. Background Art
[0002] With the rapid development of the power system, the number of users continues to increase, and the work of allocating power collection tasks is becoming increasingly arduous. In the related technology, concentrators are used to collect the voltage and current usage of users. However, due to the continuous increase of users, the installation of concentrators, load cutover and other businesses, and the uneven technical level of power supply station employees in allocating power collection tasks, the effect of using concentrators to collect power from the user end is not ideal, which leads to low allocation efficiency in the power collection tasks in the related technology.
[0003] To address the above-mentioned problems, no effective solution has been proposed yet. Summary of the invention
[0004] The embodiments of the present invention provide a method for allocating power collection tasks, an electronic device and a storage medium, so as to at least solve the technical problem of low allocation efficiency in power collection tasks in the related art.
[0005] According to one aspect of an embodiment of the present invention, a method for allocating power collection tasks is provided, comprising: in response to receiving a task allocation instruction for a power collection task, obtaining a concentrator list of the power system, wherein the concentrator list includes logical addresses, communication modes and allocation quantities of multiple concentrators; determining a target concentrator based on the logical address in the concentrator list, wherein the target concentrator is a concentrator to which a task is currently to be allocated among the multiple concentrators; generating a power collection task for the target concentrator based on the communication mode of the target concentrator and factory information of the target concentrator in the concentrator list; and allocating the power collection task to the target concentrator based on the task type of the power collection task.
[0006] Furthermore, a power collection task for the target concentrator is generated based on the communication mode of the target concentrator and the factory information of the target concentrator in the concentrator list, including: in response to the factory information being preset factory information, generating a power collection task with a task type of narrowband carrier type based on the preset factory information, wherein the allocation method of the power collection task of the narrowband carrier type is a batch allocation method; in response to the factory information being non-preset factory information, generating a power collection task with a task type corresponding to the communication mode.
[0007] Furthermore, generating a power collection task of a type corresponding to the communication mode includes: in response to the communication mode being a broadband carrier communication mode, generating a power collection task of a broadband carrier type, wherein the allocation method of the power collection task of the broadband carrier type is a unified allocation method; in response to the communication mode being a narrowband carrier communication mode or a wireless communication mode, generating a power collection task of a narrowband carrier type, wherein the allocation method of the power collection task of the narrowband carrier type is a batch allocation method.
[0008] Furthermore, a power collection task is allocated to a target concentrator based on the task type of the power collection task, including: in response to the task type being a broadband carrier type, allocating the power collection tasks of multiple clients in the client cluster to the target concentrator based on a unified allocation method; in response to the task type being a narrowband carrier type, allocating the power collection tasks of multiple clients to the target concentrator based on a batch allocation method.
[0009] Furthermore, power collection tasks of multiple clients are allocated to a target concentrator based on a batch allocation method, including: obtaining client information of the multiple clients; batching the multiple clients based on the client information to obtain multiple batches, wherein the clients included in different batches contribute differently to the stability of the power system; and allocating power collection tasks of multiple clients to the target concentrator based on the multiple batches.
[0010] Furthermore, power collection tasks of multiple clients are allocated to a target concentrator based on multiple batches, including: determining a first client corresponding to a first batch among multiple batches, wherein the first batch is any one of the multiple batches; allocating the power collection task of the first client to the target concentrator to obtain a task allocation result, wherein the task allocation result is used to indicate whether the power collection task is allocated to the first client; in response to the task allocation result being that the power collection task is allocated to the first client, power collection tasks of second clients corresponding to other batches among the multiple batches except the first batch are allocated to the target concentrator.
[0011] Furthermore, based on the task type of the power collection task, the power collection task is allocated to the target concentrator, and the method also includes: obtaining the collection rate of the target concentrator, wherein the collection rate is used to indicate the ratio of the power data successfully collected by the target concentrator within the coverage area of the target concentrator within a preset time period; and adjusting the power collection task based on the collection rate.
[0012] According to another aspect of an embodiment of the present invention, there is further provided an electronic device, comprising: a memory storing an executable program; and a processor for running the program, wherein the above-mentioned method for allocating power collection tasks is executed when the program is running.
[0013] According to another aspect of an embodiment of the present invention, a computer-readable storage medium is provided, including a stored executable program, wherein when the executable program runs, the device where the storage medium is located is controlled to execute the above-mentioned method for allocating power collection tasks.
[0014] According to another aspect of an embodiment of the present invention, a computer program product is provided, including a computer program, and when the computer program is executed by a processor, the computer program implements the above-mentioned method for allocating power collection tasks.
[0015] In an embodiment of the present invention, first, in response to receiving a task assignment instruction for a power collection task, a list of concentrators of the power system is obtained; then, the target concentrator is determined based on the logical address in the concentrator list; then, the power collection task of the target concentrator is generated based on the communication mode of the target concentrator and the factory information of the target concentrator in the concentrator list; finally, the power collection task is assigned to the target concentrator based on the task type of the power collection task. It is easy to notice that the present application clarifies the logical addresses, communication modes and allocation quantities of multiple concentrators by acquiring the concentrator list of the power system, and determines the concentrator of the current task to be assigned as the target concentrator based on the logical address, generates a specific power collection task for the target concentrator based on the communication mode and factory information of the target concentrator in the concentrator list, and finally assigns the power collection task to the target concentrator based on the task type. In this process, the present application adopts a method of matching the current state and internal information of the concentrator with the power collection task, so as to achieve the purpose of reasonable allocation of the power collection task, thereby achieving the technical effect of improving the allocation method of the power collection task, and thus solving the technical problem of low allocation efficiency in the power collection task in the related technology. BRIEF DESCRIPTION OF THE DRAWINGS
[0016] The drawings described herein are used to provide a further understanding of the present invention and constitute a part of this application. The exemplary embodiments of the present invention and their descriptions are used to explain the present invention and do not constitute an improper limitation of the present invention. In the drawings:
[0017] Figure 1 is a flow chart of a method for allocating power collection tasks according to an embodiment of the present invention;
[0018] Figure 2 is a logic flow chart of a method for allocating power collection tasks according to an embodiment of the present invention;
[0019] Figure 3 is a schematic diagram of a device for allocating power collection tasks according to an embodiment of the present invention. DETAILED DESCRIPTION
[0020] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only 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 should fall within the scope of protection of the present invention.
[0021] It should be noted that the terms "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0022] According to an embodiment of the present invention, an embodiment of a method for allocating power collection tasks is provided. It should be noted that the steps shown in the flowchart of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and although a logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in an order different from that shown here.
[0023] Figure 1 is a flow chart of a method for allocating power collection tasks according to an embodiment of the present invention. Figure 1 As shown, the method comprises the following steps:
[0024] Step S102, in response to receiving a task allocation instruction of a power collection task, obtaining a concentrator list of the power system, wherein the concentrator list includes logical addresses, communication modes and allocation quantities of multiple concentrators.
[0025] The power collection task in the above steps is used to describe the collection of real-time operation data of the power system through monitoring equipment such as concentrators in the power system, so that the power company can monitor, maintain and manage the power grid. The types of power collection tasks include but are not limited to regular power collection tasks, event-triggered power collection tasks and special power collection tasks. The specific power collection tasks need to be determined according to the actual needs of the power system and are not limited here. The role of power collection tasks includes but is not limited to power consumption data analysis, fault detection and prevention, and improving the operating efficiency of the power system.
[0026] The task assignment instruction in the above steps is used to describe the command issued from the power system or data management platform to instruct the concentrator and other monitoring equipment to perform data collection tasks. The task assignment instruction may include but is not limited to task type information, the scope of collected data, collection time and collection conditions, etc. The specific content of the task assignment instruction needs to be determined according to the actual situation and is not limited here. The types of task assignment instructions may include but are not limited to scheduled task assignment instructions, event-triggered task assignment instructions, simple task assignment instructions and complex task assignment instructions, etc. The specific task assignment instructions need to be determined according to the actual situation and are not limited here. The role of the task assignment instruction may include but is not limited to ensuring the timeliness and accuracy of power data, for power system operation status monitoring, fault diagnosis, electricity bill settlement, etc.
[0027] The concentrator in the above steps is used to describe the equipment responsible for measuring the operating data of the electric energy meter or other equipment in the power system and processing the operating data. The types of concentrators may include but are not limited to basic concentrators, intelligent concentrators, etc. The specific concentrator should be determined according to the needs of the power system and is not limited here. The role of the concentrator may include but is not limited to improving data collection efficiency, reducing data transmission costs, facilitating data management and troubleshooting, etc.
[0028] The concentrator list in the above steps is used to describe a list of all concentrators that need to participate in the data collection task in a specific task or area. The concentrator list may include but is not limited to information such as the logical addresses, communication methods, and allocation quantities of multiple concentrators. The specific content in the concentrator list needs to be determined according to actual conditions and is not limited here. The role of the concentrator list may include but is not limited to facilitating power system managers to understand and manage the equipment involved in data collection, ensuring the smooth execution of data collection tasks and the complete collection of data, etc.
[0029] The logical address in the above steps is used to describe the unique identifier of the concentrator in the network. The logical address can be used to identify and locate a specific concentrator. The types of logical addresses may include but are not limited to digital numbers, IP addresses (Internet Protocol, abbreviated as IP), Mac addresses (Media Access Control, abbreviated as MAC) and other identifiers. The specific logical address needs to be determined based on the actual situation of the power system and is not limited here.
[0030] The communication method in the above steps is used to describe the technology and protocol used when the concentrator transmits data to other devices. The types of communication methods may include but are not limited to wired communication methods and wireless communication methods. The specific communication method needs to be determined according to actual conditions and is not limited here. The role of the communication method includes but is not limited to affecting the speed, stability and security of data transmission.
[0031] The allocated quantity in the above steps is used to describe the scale of the data collection task assigned to the concentrator, that is, the number of electric energy meters or other devices that need to be collected. The allocated quantity can be determined based on the power system demand and the processing capacity of the concentrator. There is no limitation here. The role of the allocated quantity may include but is not limited to reasonable planning of the concentrator load and ensuring the efficiency of data collection.
[0032] The power system in the above steps is used to describe the power system composed of power stations, transmission networks, substations and distribution networks. Power stations can be coal-fired power generation, hydropower generation, nuclear power generation, wind power generation, etc.; electric energy is transmitted to the distribution network through the transmission network, and the distribution network distributes the electric energy to end users. The power system is an important part of the infrastructure of modern society, which can ensure the stable supply of electricity and support the power needs of industry, commerce and residents.
[0033] In an optional embodiment, to ensure the efficiency of power data collection, when the task allocation instruction of the power collection task is issued, the system will respond quickly and automatically obtain the concentrator list of the power system. The concentrator list not only contains the logical addresses of multiple concentrators, but also records in detail the communication methods and allocation quantities of multiple concentrators. This process greatly improves the efficiency and accuracy of data collection by responding to the corresponding task instructions and automatically obtaining the concentrator list, reduces the errors that may be caused by manual intervention, and also provides a solid foundation for subsequent data analysis and task allocation.
[0034] Step S104, determining a target concentrator based on the logical address in the concentrator list, wherein the target concentrator is a concentrator to which a task is currently to be assigned among the multiple concentrators.
[0035] The target concentrator in the above steps is used to describe the concentrator selected from multiple concentrators for receiving or executing a specified task. The role of the target concentrator may include but is not limited to receiving assigned tasks, executing specified tasks, etc.
[0036] In an optional embodiment, when the power system needs to assign tasks such as data collection, equipment control or software update to a concentrator, it is necessary to determine the target concentrator from multiple concentrators. At this time, the target concentrator can be determined based on the logical address in the concentrator list. The logical address, as a unique identifier of the concentrator in the network, can quickly and accurately identify and determine the target concentrator of the current task to be assigned, ensuring that the task instruction can be accurately sent to the target concentrator. The above method not only improves the efficiency of task allocation, but also ensures the safety and accuracy of operation, while making large-scale equipment management and task scheduling more convenient and reliable.
[0037] Step S106: generating a power collection task for the target concentrator based on the communication mode of the target concentrator in the concentrator list and the factory information of the target concentrator.
[0038] The factory information in the above steps is used to describe a series of equipment characteristics and technical parameters recorded and provided by the manufacturer when the concentrator leaves the factory. The factory information can be used to help the power system determine the communication capability and data collection capability of the concentrator. The types of factory information may include but are not limited to the model and version of the equipment, communication parameters, manufacturer, collection frequency and collection data type, etc. The specific factory information needs to be determined based on the actual parameters of the concentrator and is not limited here.
[0039] In an optional embodiment, first, by analyzing the communication mode of the target concentrator, the most suitable communication protocol is intelligently matched to ensure efficient and stable data transmission; then, the factory information of the concentrator is obtained, including model, manufacturer, hardware version and other information. According to the factory information, the system can accurately identify the characteristics and functions of the concentrator, thereby generating a matching collection task. The above process reduces data loss or collection failure caused by mismatched communication modes or misunderstanding of device characteristics by matching the power collection task with the communication mode and factory information of the target concentrator. At the same time, customized task design helps to optimize the operation of the power network. By real-time monitoring and analysis of power usage, potential problems in the power grid can be discovered and solved in a timely manner, providing strong guarantees for the stable operation of the power system.
[0040] Step S108: allocating the power collection task to the target concentrator based on the task type of the power collection task.
[0041] The task type in the above steps is used to describe the way to classify power collection tasks according to the needs, goals and application scenarios of power collection tasks. Task types may include but are not limited to periodic power data collection tasks, event-triggered power data collection tasks, demand response power data collection tasks and status detection power data collection tasks. The specific task type needs to be determined based on factors such as collection strategy and power data type, and is not limited here.
[0042] In an optional embodiment, in order to efficiently complete the power collection task, the power collection task can be classified based on different power collection requirements, and then the power collection task can be assigned to the target concentrator according to the task type corresponding to the different power collection tasks. The above-mentioned task allocation mechanism based on task type effectively improves the efficiency and accuracy of power data collection. At the same time, by optimizing the allocation of power collection tasks, it reduces the maintenance cost of the power grid, makes resource utilization more reasonable, and thus improves the operational efficiency and economic benefits of the entire power system.
[0043] In an embodiment of the present invention, first, in response to receiving a task assignment instruction for a power collection task, a list of concentrators of the power system is obtained; then, the target concentrator is determined based on the logical address in the concentrator list; then, the power collection task of the target concentrator is generated based on the communication mode of the target concentrator and the factory information of the target concentrator in the concentrator list; finally, the power collection task is assigned to the target concentrator based on the task type of the power collection task. It is easy to notice that the present application clarifies the logical addresses, communication modes and allocation quantities of multiple concentrators by acquiring the concentrator list of the power system, and determines the concentrator of the current task to be assigned as the target concentrator based on the logical address, generates a specific power collection task for the target concentrator based on the communication mode and factory information of the target concentrator in the concentrator list, and finally assigns the power collection task to the target concentrator based on the task type. In this process, the present application adopts a method of matching the current state and internal information of the concentrator with the power collection task, so as to achieve the purpose of reasonable allocation of the power collection task, thereby achieving the technical effect of improving the allocation method of the power collection task, and thus solving the technical problem of low allocation efficiency in the power collection task in the related technology.
[0044] Optionally, a power collection task for the target concentrator is generated based on the communication mode of the target concentrator and the factory information of the target concentrator in the concentrator list, including: in response to the factory information being preset factory information, generating a power collection task with a task type of narrowband carrier type based on the preset factory information, wherein the allocation method of the power collection task of the narrowband carrier type is a batch allocation method; in response to the factory information being non-preset factory information, generating a power collection task with a task type corresponding to the communication mode.
[0045] The above-mentioned preset factory information is used to describe the factory parameters of the concentrator that are pre-set during the production stage and meet specific standards. The types of preset factory information may include but are not limited to the model information, software version and communication protocol of the concentrator. The specific preset factory information needs to be determined based on the actual needs of the power system and the relevant parameters of the concentrator. No limitation is made here. The preset factory information can be used to quickly identify and classify concentrators, so that the system can generate corresponding power collection tasks according to the characteristics of the concentrator.
[0046] The above-mentioned narrowband carrier type is a type used to describe the power data transmission method in the power system. The narrowband carrier type power collection task can use the power line as the communication medium, and realize data transmission or collection by superimposing high-frequency communication signals on the low-frequency power line. The narrowband carrier type power collection task can ensure the stability of data collection in scenarios with complex power line environment and much signal interference.
[0047] The above allocation method is used to describe the process and strategy of allocating power collection tasks to specific concentrators. The types of allocation methods may include but are not limited to batch allocation, unified allocation and priority allocation. The specific allocation method needs to be determined according to the task requirements and is not limited here. The role of the allocation method may include but is not limited to optimizing the use of network resources, improving collection efficiency and enhancing system flexibility.
[0048] The above-mentioned batch allocation method is used to describe that when allocating power collection tasks, the power collection tasks are allocated to the target concentrators in batches according to a specific strategy. The types of batch allocation methods may include but are not limited to batch allocation by time, batch allocation by region, and batch allocation by load. The specific batch allocation method needs to be determined according to the actual situation and is not limited here.
[0049] In an optional embodiment, different types of power collection tasks are automatically generated according to the factory information of different concentrators. When the factory information of the concentrator matches the preset factory information, the system will automatically create a narrowband carrier type power collection task and allocate the power collection task in batches; conversely, if the factory information of the concentrator is different from the preset factory information, the system will generate a corresponding power collection task according to the communication method of the concentrator. The above process makes the execution of the power collection task more orderly and avoids excessive concentration of resources. At the same time, this dynamic adaptation mechanism ensures the wide applicability and efficient execution of the power collection task. Regardless of the type of concentrator, accurate data collection can be achieved, thereby improving the intelligence level and operational efficiency of the entire power management system.
[0050] Optionally, generating a power collection task of a type corresponding to the communication mode includes: in response to the communication mode being a broadband carrier communication mode, generating a power collection task of a broadband carrier type, wherein the allocation method of the power collection task of the broadband carrier type is a unified allocation method; in response to the communication mode being a narrowband carrier communication mode or a wireless communication mode, generating a power collection task of a narrowband carrier type, wherein the allocation method of the power collection task of the narrowband carrier type is a batch allocation method.
[0051] The above-mentioned broadband carrier communication method is used to describe a communication method that uses power lines as communication media to transmit data by modulating carrier signals. The functions of the broadband carrier communication method may include but are not limited to remote data acquisition, reducing data transmission delays and improving communication efficiency.
[0052] The above-mentioned broadband carrier type is a type of power data transmission method used to describe the power system. The broadband carrier type power collection task can use the power line as a communication medium and transmit data by modulating the carrier signal. The broadband carrier type power collection task can include but is not limited to data collection, remote control and smart grid applications.
[0053] The above-mentioned unified allocation method is used to describe that when allocating power collection tasks, all power collection tasks or communication resources are uniformly managed and allocated by a central node or system. The unified allocation method is suitable for scenarios that require frequent and large-scale data interactions. The role of the unified allocation method can include but is not limited to avoiding communication conflicts and improving the overall efficiency of the communication system.
[0054] The above-mentioned narrowband carrier communication method is used to describe a communication method that uses power lines as communication media and realizes data transmission by superimposing high-frequency communication signals on low-frequency power lines. The functions of the narrowband carrier communication method can include but are not limited to remote meter reading, environmental monitoring, etc.
[0055] The above-mentioned wireless communication method is used to describe the communication method that uses electromagnetic waves to transmit data in the air. The types of wireless communication methods may include but are not limited to cellular networks, short-range wireless technologies, etc. The functions of wireless communication methods may include but are not limited to providing a flexible network architecture, supporting long-distance communications, etc.
[0056] In an optional embodiment, corresponding power collection tasks are generated based on different communication modes of task types. When the communication mode is a broadband carrier communication mode, the system will generate a broadband carrier type power collection task and adopt a unified distribution method, which means that all collection devices will receive task instructions at the same time, thereby realizing the rapid and synchronous collection of large-scale power data, greatly improving the efficiency and real-time performance of power data collection; and when the communication mode is a narrowband carrier communication mode or a wireless communication mode, the narrowband carrier type power collection task is generated and distributed in batches, that is, the equipment receives the task instructions in batches. The above process uses different power collection task distribution methods based on different communication modes, effectively avoiding congestion in the communication channel, and improving the stability and success rate of power data transmission. In particular, when processing power information of a large number of distributed devices, it can ensure that each device has sufficient time and resources to complete data reporting, thereby ensuring the efficient operation of the entire power collection system.
[0057] Optionally, a power collection task is allocated to a target concentrator based on the task type of the power collection task, including: in response to the task type being a broadband carrier type, allocating power collection tasks for multiple clients in a client cluster to the target concentrator based on a unified allocation method; in response to the task type being a narrowband carrier type, allocating power collection tasks for multiple clients to the target concentrator based on a batch allocation method.
[0058] The above-mentioned client cluster is used to describe a specific group of power equipment in the power system and is connected to one or more concentrators. The client cluster may include but is not limited to smart meters, sensors and circuit breakers. The specific client cluster needs to be determined according to actual conditions and is not limited here. The role of the client cluster includes but is not limited to collecting and sending power data.
[0059] The above-mentioned client is used to describe a single device in a client cluster. The types of clients may include but are not limited to smart meters, user ammeters, user voltmeters, sensors and circuit breakers. The specific client needs to be determined according to actual needs and is not limited here. The functions of the client may include but are not limited to transmitting power data, measuring and recording power data, etc.
[0060] In an optional embodiment, different allocation methods are used to allocate power collection tasks to the target concentrator based on different task types. When the task type is a broadband carrier, a unified allocation method is used to allocate power collection tasks of multiple clients in the client cluster to the target concentrator, making full use of the high speed and large capacity advantages of the broadband carrier, thereby improving the speed and efficiency of data collection; on the contrary, when the task type is a narrowband carrier, in view of its transmission rate and bandwidth limitations, a batch allocation method is used to allocate power collection tasks to the target concentrator, that is, through reasonable planning, the client is divided into batches for data transmission, which not only avoids network congestion, but also ensures that the data of different clients can be accurately collected, thereby ensuring data integrity while also improving the stability and reliability of the narrowband carrier network. The above-mentioned flexible allocation strategy based on the design of task type differences not only optimizes the power data collection process, but also effectively improves the resource utilization efficiency of the power network, and provides strong support for the intelligent and efficient management of the power system.
[0061] Optionally, power collection tasks for multiple clients are allocated to a target concentrator based on a batch allocation method, including: obtaining client information of the multiple clients; batching the multiple clients based on the client information to obtain multiple batches, wherein the clients included in different batches contribute differently to the stability of the power system; and allocating power collection tasks for multiple clients to the target concentrator based on the multiple batches.
[0062] The above-mentioned client information is used to describe the data related to each client in the power system. The client information may include but is not limited to the user's power usage history, power demand pattern, geographic location, power equipment type and equipment operating status, etc. The specific client information needs to be determined according to actual needs and is not limited here. The role of client information may include but is not limited to helping understand customers' power usage habits, predicting power demand, and evaluating power equipment.
[0063] The above-mentioned multiple batches are used to describe the power collection task, dividing all clients into different batches according to certain standards or strategies. The number of batches and the division criteria need to be determined according to actual needs and are not limited here. The role of multiple batches can include but is not limited to achieving orderly management of power collection tasks, optimizing resource allocation, etc.
[0064] The above stability contribution is used to describe the degree of positive or negative impact of the client on the stability of the power system.
[0065] In an optional embodiment, first, the client information of all clients is obtained so that the system can fully understand the characteristics of different clients and their impact on the stability of the power system; then, based on the client information, the system divides multiple clients into batches, and the division of each batch comprehensively considers power balance, geographical distribution, and optimization of grid load, ensuring that clients in different batches have complementary power usage patterns, thereby reducing the negative impact on grid stability; finally, these batched power collection tasks are assigned to the target concentrator. The above process can not only collect power data efficiently, but also carry out targeted power dispatch and management according to batch characteristics, thereby improving the overall efficiency and stability of the power system. This batch method not only avoids large-scale power data collection, but also promotes the rational allocation and utilization of power resources through refined management.
[0066] Optionally, power collection tasks for multiple clients are assigned to a target concentrator based on multiple batches, including: determining a first client corresponding to a first batch among multiple batches, wherein the first batch is any one of the multiple batches; assigning the power collection task of the first client to the target concentrator to obtain a task assignment result, wherein the task assignment result is used to indicate whether the power collection task is assigned to the first client; in response to the task assignment result being that the power collection task is assigned to the first client, assigning power collection tasks for second clients corresponding to batches other than the first batch among the multiple batches to the target concentrator.
[0067] The first batch mentioned above is used to describe a collection of the first batch of power collection tasks randomly selected from multiple batches.
[0068] The above-mentioned first client is used to describe a specific client in the first batch, that is, a device that needs to collect power data. The types of the first client may include but are not limited to smart meters, user ammeters, user voltmeters, sensors and circuit breakers. The specific first client needs to be determined according to actual conditions and is not limited here. The role of the first client may include but is not limited to executing power collection tasks, transmitting power data, etc.
[0069] The above-mentioned task allocation result is used to describe the confirmation status of whether the system has successfully allocated the corresponding power collection task to the first client after allocating the power collection task to the target concentrator. The types of task allocation results may include but are not limited to task allocation success and task allocation failure. The specific task allocation result needs to be determined according to the actual situation and is not limited here. The role of the task allocation result may include but is not limited to feedback on the status of the task operation, serving as a mark for subsequent tasks, etc.
[0070] The above-mentioned second client is used to describe a specific client in batches other than the first batch, that is, a device that needs to collect power data. The types of the second client may include but are not limited to smart meters, user ammeters, user voltmeters, sensors and circuit breakers, etc. The specific second client needs to be determined according to actual conditions and is not limited here. The role of the first client may include but is not limited to executing power collection tasks, transmitting power data, etc.
[0071] In an optional embodiment, first, the system determines the first client in the first batch and assigns its power collection task to the target concentrator. If the task is successfully assigned, the system will continue to move forward and automatically assign the power collection tasks of the clients in subsequent batches to the target concentrator. This mechanism effectively avoids the common "one-size-fits-all" problem in traditional task allocation through batch processing, that is, allocating a large number of tasks at one time regardless of the current state of the concentrator may lead to inefficiency or data loss. On the contrary, by dynamically allocating tasks by batch, the system can better schedule tasks according to the actual processing capacity of the concentrator, ensuring the continuity, accuracy and timeliness of power data collection, thereby improving the management and operation efficiency of the entire power system.
[0072] Optionally, a power collection task is allocated to a target concentrator based on a task type of the power collection task, and the method further includes: obtaining a collection rate of the target concentrator, wherein the collection rate is used to indicate a ratio of the power data successfully collected by the target concentrator within a preset time period within a coverage area of the target concentrator; and adjusting the power collection task based on the collection rate.
[0073] The above-mentioned collection rate is used to describe the ratio of the amount of power data successfully collected by the target concentrator to the total amount of power data that should be collected within a preset time period. The types of collection rates may include but are not limited to real-time collection rates, periodic collection rates, etc. The specific collection rate needs to be determined according to actual needs and is not limited here. The collection rate can be used as an indicator to measure concentrator performance and data collection efficiency.
[0074] The above-mentioned preset time period is used to describe the time window for calculating the collection rate. The preset time period may include but is not limited to a fixed time length, that is, every five minutes, every ten minutes, every twenty minutes and every hour, etc., or it may be a dynamically adjusted preset time period. The above preset time period is only an example. The specific preset time period needs to be determined based on actual needs and system performance, and is not limited here. The role of the preset time period may include but is not limited to the calculation of the collection rate, evaluating the performance of the concentrator, etc.
[0075] In an optional embodiment, first, the system obtains the collection rate of the target concentrator, which reflects the proportion of the target concentrator that successfully collects power data within its coverage area within a preset time period. Therefore, by monitoring the collection rate of the concentrator, the system can evaluate the working status and efficiency of each concentrator in real time; then, based on the analysis of the collection rate, the system can adjust the allocation strategy of power collection tasks, for example, assigning more tasks to concentrators with high collection rates or adjusting the frequency and time of collection tasks to improve the success rate and efficiency of overall data collection. This dynamic adjustment mechanism can effectively avoid waste of resources, ensure the timeliness and efficiency of power data collection, and thus improve the operating efficiency and management level of the power system.
[0076] In an optional embodiment, Figure 2 is a logic flow chart of a method for allocating power collection tasks according to an embodiment of the present invention. Figure 2 As shown, the method flow is as follows:
[0077] First, the method for allocating power collection tasks is started. Step one, obtain a list of concentrators; step two, locate the target concentrator; step three, determine whether the factory information of the target concentrator is the preset factory information. If so, choose to use a batch allocation method to allocate power collection tasks of multiple clients to the target concentrator, and the task allocation method ends. If not, the task allocation method continues; step four, determine whether the communication mode of the target concentrator is a broadband carrier communication mode. If not, it means that the communication mode is a narrowband carrier communication mode or a wireless communication mode. Then choose to use a batch allocation method to allocate power collection tasks of multiple clients to the target concentrator, and the task allocation method ends. If so, the task allocation method continues; step five, choose to use a unified allocation method to allocate power collection tasks of multiple clients to the target concentrator, and the task allocation method ends.
[0078] The multiple determination conditions in the above-mentioned power collection task allocation method are only examples, and the actual determination conditions can be adjusted according to actual conditions and are not limited here.
[0079] According to another aspect of an embodiment of the present invention, a device for allocating power collection tasks is also provided. The device can execute the method for allocating power collection tasks provided in the above embodiment. The specific implementation method and preferred application scenario are the same as the above embodiment and will not be repeated here.
[0080] Figure 3 is a schematic diagram of a distribution device for power collection tasks according to an embodiment of the present invention, such as Figure 3As shown, the device includes: an acquisition module 302, which is used to obtain a concentrator list of the power system in response to receiving a task assignment instruction of a power collection task, wherein the concentrator list includes logical addresses, communication methods and assigned quantities of multiple concentrators; a determination module 304, which is used to determine a target concentrator based on the logical address in the concentrator list, wherein the target concentrator is a concentrator to which a task is currently to be assigned among the multiple concentrators; a generation module 306, which generates a power collection task for the target concentrator based on the communication method of the target concentrator in the concentrator list and the factory information of the target concentrator; and an allocation module 308, which allocates the power collection task to the target concentrator based on the task type of the power collection task.
[0081] Optionally, the generation module includes: a first generation unit, in response to the factory information being preset factory information, generating a power collection task whose task type is a narrowband carrier type based on the preset factory information, wherein the allocation method of the power collection task of the narrowband carrier type is a batch allocation method; a second generation unit, in response to the factory information being non-preset factory information, generating a power collection task whose task type is a type corresponding to the communication method.
[0082] Optionally, the second generating unit includes: a first generating subunit, which generates a power collection task of a broadband carrier type in response to the communication mode being a broadband carrier communication mode, wherein the allocation method of the power collection task of the broadband carrier type is a unified allocation method; and a second generating subunit, which generates a power collection task of a narrowband carrier type in response to the communication mode being a narrowband carrier communication mode or a wireless communication mode, wherein the allocation method of the power collection task of the narrowband carrier type is a batch allocation method.
[0083] Optionally, the allocation module includes a first allocation unit, which allocates power collection tasks of multiple clients in the client cluster to the target concentrator based on a unified allocation method in response to the task type being a broadband carrier type; and a second allocation unit, which allocates power collection tasks of multiple clients to the target concentrator based on a batch allocation method in response to the task type being a narrowband carrier type.
[0084] Optionally, the second allocation unit includes an acquisition subunit for acquiring client information of multiple clients; a batching subunit for batching the multiple clients based on the client information to obtain multiple batches, wherein the clients included in different batches contribute differently to the stability of the power system; and an allocation subunit for allocating power collection tasks of multiple clients to a target concentrator based on the multiple batches.
[0085] Optionally, the allocation subunit includes determining a first client corresponding to a first batch among multiple batches, wherein the first batch is any one of the multiple batches; allocating a power collection task of the first client to a target concentrator to obtain a task allocation result, wherein the task allocation result is used to indicate whether the power collection task is allocated to the first client; in response to the task allocation result being that the power collection task is allocated to the first client, allocating to the target concentrator power collection tasks of second clients corresponding to other batches among the multiple batches except the first batch.
[0086] Optionally, the allocation module also includes obtaining a collection rate of the target concentrator, wherein the collection rate is used to indicate a ratio of the power data successfully collected by the target concentrator within a coverage area of the target concentrator within a preset time period; and adjusting the power collection task based on the collection rate.
[0087] According to another aspect of an embodiment of the present invention, there is further provided an electronic device, comprising: a memory storing an executable program; and a processor for running the program, wherein the method in each embodiment of the present invention is executed when the program is running.
[0088] According to another aspect of an embodiment of the present invention, a computer-readable storage medium is provided. The computer-readable storage medium includes a stored program. When the program is executed, a processor of a device is controlled to execute the methods of various embodiments of the present invention.
[0089] The computer storage medium in the above steps can be a medium used to store certain discontinuous physical quantities in a computer memory, and the computer storage medium mainly includes semiconductors, magnetic cores, magnetic drums, magnetic tapes, laser disks, etc. The stored program included in the computer-readable storage medium can be a set of instructions that can be recognized and executed by a computer, running on an electronic computer, and is an information tool that meets certain needs of people.
[0090] According to another aspect of an embodiment of the present invention, a computer program product is provided, including a computer program. When the computer program is executed by a processor, the method in each embodiment of the present invention is implemented.
[0091] In the above embodiments of the present invention, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.
[0092] In the several embodiments provided in this application, it should be understood that the disclosed technical content can be implemented in other ways. Among them, the device embodiments described above are only schematic. For example, the division of the units can be a logical function division. There may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of units or modules, which can be electrical or other forms.
[0093] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple units. Some or all of the units may be selected according to actual needs to achieve the purpose of the present embodiment.
[0094] In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.
[0095] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, or all or 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 for 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 method described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), mobile hard disk, magnetic disk or optical disk and other media that can store program codes.
[0096] The above is only a preferred embodiment of the present invention. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principle of the present invention. These improvements and modifications should also be regarded as the scope of protection of the present invention.
Claims
1. A method for allocating power collection tasks, characterized in that: include: In response to receiving a task allocation instruction of a power collection task, obtaining a concentrator list of the power system, wherein the concentrator list includes logical addresses, communication modes and allocation quantities of multiple concentrators; Determine a target concentrator based on the logical address in the concentrator list, wherein the target concentrator is a concentrator to which a task is currently to be assigned among the multiple concentrators; Generate the power collection task of the target concentrator based on the communication mode of the target concentrator in the concentrator list and the factory information of the target concentrator; The power collection task is allocated to the target concentrator based on the task type of the power collection task.
2. The method for allocating power collection tasks according to claim 1, characterized in that: Generating a power collection task for the target concentrator based on the communication mode of the target concentrator in the concentrator list and the factory information of the target concentrator includes: In response to the factory information being preset factory information, generating the power collection task whose task type is a narrowband carrier type based on the preset factory information, wherein the allocation method of the power collection task of the narrowband carrier type is a batch allocation method; In response to the factory information not being the preset factory information, generating the power collection task whose task type is a type corresponding to the communication mode.
3. The method for allocating power collection tasks according to claim 2, characterized in that: Generating the power collection task whose task type is a type corresponding to the communication mode includes: In response to the communication mode being a broadband carrier communication mode, generating the power collection task whose task type is a broadband carrier type, wherein the allocation mode of the power collection task of the broadband carrier type is a unified allocation mode; In response to the communication mode being a narrowband carrier communication mode or a wireless communication mode, the power collection task of the narrowband carrier type is generated, wherein the power collection task of the narrowband carrier type is allocated in batches.
4. The method for allocating power collection tasks according to any one of claims 1 to 3, characterized in that: Allocating the power collection task to the target concentrator based on the task type of the power collection task includes: In response to the task type being a broadband carrier type, allocating the power collection tasks of multiple clients in a client cluster to the target concentrator based on a unified allocation method; In response to the task type being a narrowband carrier type, the power collection tasks of the plurality of clients are allocated to the target concentrator based on a batch allocation manner.
5. The method for allocating power collection tasks according to claim 4, characterized in that: Allocating the power collection tasks of the plurality of clients to the target concentrator based on the batch allocation method includes: Obtaining client information of the multiple clients; Dividing the plurality of clients into batches based on the client information to obtain a plurality of batches, wherein clients included in different batches contribute differently to the stability of the power system; The power collection tasks of the plurality of clients are allocated to the target concentrator based on the plurality of batches.
6. The method for allocating power collection tasks according to claim 5, characterized in that: Allocating the power collection tasks of the plurality of clients to the target concentrator based on the plurality of batches includes: Determine a first client corresponding to a first batch of the multiple batches, wherein the first batch is any batch of the multiple batches; Allocating the power collection task of the first client to the target concentrator to obtain a task allocation result, wherein the task allocation result is used to indicate whether the power collection task is allocated to the first client; In response to the task allocation result that the power collection task is allocated to the first client, the power collection task of the second client corresponding to other batches of the multiple batches except the first batch is allocated to the target concentrator.
7. The method for allocating power collection tasks according to claim 1, characterized in that: Allocating the power collection task to the target concentrator based on the task type of the power collection task, the method further comprising: Acquire a collection rate of the target concentrator, wherein the collection rate is used to indicate a collection ratio of power data within a coverage area of the target concentrator that the target concentrator successfully collects within a preset time period; The power collection task is adjusted based on the collection rate.
8. An electronic device, characterized in that: include: A memory storing an executable program; A processor, configured to run the program, wherein the program executes the method according to any one of claims 1 to 7 when running.
9. A computer-readable storage medium, characterized in that: The computer-readable storage medium includes a stored executable program, wherein when the executable program is executed, the device where the storage medium is located is controlled to execute the method according to any one of claims 1 to 7.
10. A computer program product, characterized in that The invention comprises a computer program which, when executed by a processor, implements the method according to any one of claims 1 to 7.
Citation Information
Cited By
Sample data collection method and device based on algorithm analysis task and electronic equipment
CN121214116A
Sample data collection method and device based on algorithm analysis task and electronic equipment
CN121214116B