Marketing and distribution fusion carrier sharing method, medium and terminal
Through the integration of the carrier sharing method, centralized management of archives, unified dispatch of carrier resources, and providing a rental system, the problem of duplicate construction and utilization efficiency in the existing technology is solved, and cost reduction and efficiency improvement are achieved.
Patent Information
- Application Number
- CN202411769389.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-04
- Publication Date
- 2025-04-18
AI Technical Summary
In the prior art, marketing and power distribution each independently deploy carrier communication systems, resulting in duplicate resource construction, high investment costs, complex maintenance and management, low data utilization efficiency and power grid operation efficiency.
The integrated carrier sharing method of operation and distribution is adopted, and the carrier resources are uniformly dispatched through centralized management of marketing and distribution files, priority is set, meter reading and execution and waiting containers are designed, and a carrier resource operand rental system is provided to ensure the reasonable allocation and use of resources.
It reduces the operating costs of marketing and distribution, improves the utilization efficiency of power grid data and the operating efficiency of power grid, and ensures the orderly operation of marketing and distribution business.
Smart Images

Figure CN119854805A_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the field of carrier communication technology, and in particular to a method, medium and terminal for sharing a carrier wave. Background Art
[0002] In the traditional power system, marketing and distribution are two important components of power grid operation, each with different responsibilities and functions. The marketing department is responsible for power sales, customer relationship management, electricity bill settlement and other businesses, while the distribution department is responsible for power transmission, distribution and maintenance to ensure the stable operation of the power system. In the existing technology, marketing and distribution each independently deploy carrier communication systems, resulting in duplicate construction of resources and greatly increased investment costs. Multiple independent carrier communication systems also increase the complexity of maintenance and management. In the new converged terminal, distribution and marketing share the same carrier system, but the ownership of the carrier operable resources is not clear, and the priority of distribution and marketing is not clearly defined. During operation, it is easy for one party to use up all the carrier resources, while the other party is blocked and waiting to use the carrier operable resources, resulting in delayed response or even failure of one party's business, and low data utilization efficiency and power grid operation efficiency.
[0003] The patent with announcement number CN113852192B provides a data interaction system and method supporting multiple protocols and multiple master stations, including the terminal side, the distribution transformer side, and the master station side; the terminal side includes a collector, a power consumption monitoring terminal, and an energy collection unit; the terminal side also includes distribution equipment, marketing equipment, and user equipment; the distribution equipment includes a reactive power compensation device, a phase-changing switch, a total protection device for the substation area, and a branch leakage protection device. This patent includes marketing equipment and distribution equipment, both of which are independently operated equipment, with high investment and operation and maintenance costs, and low data utilization efficiency and grid operation efficiency, which have the same disadvantages as the prior art.
[0004] Therefore, how to reduce the operating costs of marketing and distribution and improve the utilization efficiency of power grid data and the operating efficiency of the power grid is an urgent problem to be solved by people in this technical field. Summary of the invention
[0005] In view of the shortcomings of the prior art, the purpose of the present invention is to provide a marketing and distribution integrated carrier sharing method to solve the problems in the prior art of high marketing and distribution costs, low grid data utilization efficiency and low grid operation efficiency; in addition, the present invention also provides a marketing and distribution integrated carrier sharing medium and terminal.
[0006] In order to solve the above technical problems, the present invention adopts the following technical solutions:
[0007] In a first aspect, the present invention provides a method for sharing a carrier convergence, comprising the following steps:
[0008] S10. Centrally manage marketing and distribution files and perform conflict detection when files are stored;
[0009] S20, unified scheduling of carrier resources, uniform scheduling of collection addresses, setting priorities for different carrier tasks, designing meter reading execution containers and meter reading waiting containers, and distinguishing downlink terminals with group network failures;
[0010] S30. Provide a carrier resource operand leasing system. When one party's carrier operand resources are used up, if the other party's remaining carrier operands are greater than a set threshold, the system leases operand resources from the other party. When the task is completed and the resources are released, the leased carrier operand resources are returned first.
[0011] Furthermore, the specific steps of step S10 are as follows:
[0012] S101, the service APP initiates a concurrent meter reading request to the carrier management APP, where the request includes the address information of the device that needs to be read;
[0013] S102 Carrier Management APP first determines whether the meter reading address exists in the added files. If not, a new collection device address file needs to be added;
[0014] S103. When adding a file, the carrier management APP determines whether the device address to be added to the file is repeated with the set of device addresses of the added file. If so, the carrier management APP rejects the request to add the file and returns an error message; if not, the file is saved to the corresponding marketing file center or distribution file center according to the device address attribution information;
[0015] S104. Return the addition success information, and the business APP initiates a meter reading request.
[0016] Furthermore, the specific steps of step S20 are as follows:
[0017] S201, the business APP requests the carrier management APP to send a concurrent meter reading request. When there are multiple address meter reading tasks, the carrier management APP uses a meter reading address container to store all pending meter reading tasks;
[0018] S202, dividing the meter reading address container into a meter reading execution container and a meter reading waiting container according to the networking status, transferring the meter reading task of the address where the networking fails to be completed to the meter reading waiting container, and executing the meter reading task of the meter reading waiting container after all the meter reading tasks in the meter reading execution container are completed;
[0019] S203, in the meter reading address container, each meter reading address is represented as a queue of meter reading tasks for this address, and the meter reading tasks for this address are sorted according to priority, with the queue head being the task with the highest priority. When the service APP requests concurrent meter reading from the carrier management APP, the carrier management APP will add the requested task to the corresponding meter reading address task queue according to the address and priority of the requested task;
[0020] S204. After adding successfully, the success status is returned, and the business APP continues to add meter reading requests.
[0021] Furthermore, the specific steps of step S30 are as follows:
[0022] S301, the operable number of carrier resources are evenly divided into the marketing party and the distribution party, and the two parties set the lease threshold for the carriers. Before the carrier management APP executes the carrier task, it is determined whether the number of operable tasks of the carrier module has reached the upper limit;
[0023] S302. When one party's carrier operable number resources are used up, if the other party's remaining carrier operable number is greater than the lease threshold, the operator leases the operator resources from the other party. When the carrier meter reading is completed, the carrier operand resources are released, and the carrier operand resources of the other party are returned first. If the other party's carrier operand resources are less than the set threshold, wait until the meter reading task being executed is completed, release the carrier module operable number, and if the carrier module operable number has not reached the upper limit at this time, the carrier management APP allocates resources and executes the meter reading task.
[0024] Furthermore, in step S102, the information added to the device address file includes device address attribution information, device address information, collector address information and collection protocol type.
[0025] Furthermore, the carrier management APP contains a meter reading execution thread, which first periodically traverses the meter reading execution container. If the meter reading execution container is empty, the meter reading waiting container is read. In a meter reading cycle, the head tasks are read one by one from all meter reading address queues of the meter reading address container, and re-sorted according to priority, and dispatched to the carrier resource operable number leasing system to execute the carrier task. When the task data is reported, if the reported data is no response from the node, the address is moved from the meter reading execution container to the meter reading waiting container.
[0026] In a second aspect, the present invention further provides a computer-readable storage medium, wherein the storage medium stores a computer program, and the computer program implements the above method when executed by a processor.
[0027] In a third aspect, the present invention further provides an electronic terminal, comprising: a processor and a memory; the memory is used to store a computer program, and the processor is used to execute the computer program stored in the memory, so that the terminal executes the method as described above.
[0028] Compared with the prior art, the method, medium and terminal for sharing carriers provided by the present invention have at least the following beneficial effects:
[0029] In the prior art, marketing and distribution each independently deploy carrier communication systems, resulting in duplicate construction of resources and greatly increased investment costs. Multiple independent carrier communication systems also increase the complexity of maintenance and management, and the utilization efficiency of data and the operation efficiency of the power grid are both low. The present invention has a simple process and convenient operation. It centrally manages marketing and distribution archives, performs conflict detection when archives are put into the warehouse, and ensures the uniqueness of each archive; carrier resources are uniformly scheduled, and priorities are set for different carrier tasks to ensure that important tasks are executed first, solving the problem of carrier meter reading congestion; marketing and distribution parties can rent operand resources from each other, and when the task is completed and the resources are released, the rented carrier operand resources are returned first, ensuring the orderly operation of marketing and distribution services. The entire method reduces the operating costs of marketing and distribution, and improves the utilization efficiency of power grid data and the operation efficiency of the power grid. BRIEF DESCRIPTION OF THE DRAWINGS
[0030] In order to more clearly illustrate the scheme of the present invention, a brief introduction is given below to the figures required for use in the description of the embodiments. Obviously, the figures described below are some embodiments of the present invention. For ordinary technicians in this field, other figures can be obtained based on these figures without paying any creative work.
[0031] Figure 1 A flowchart of a method for sharing a carrier with integrated operation provided by an embodiment of the present invention;
[0032] Figure 2 A schematic diagram of a management process of a distribution and fusion file of a distribution and fusion carrier sharing method provided in an embodiment of the present invention;
[0033] Figure 3 A schematic diagram of a carrier scheduling process of a method for sharing a carrier with a fusion carrier provided in an embodiment of the present invention;
[0034] Figure 4 A schematic diagram of an operable data leasing process for a method for operating and deploying converged carrier sharing provided in an embodiment of the present invention. DETAILED DESCRIPTION
[0035] In order to facilitate the understanding of the present invention, the present invention will be described more fully below with reference to the relevant drawings. The preferred embodiments of the present invention are given in the drawings. However, the present invention can be implemented in many different forms and is not limited to the embodiments described herein. On the contrary, the purpose of providing these embodiments is to make the understanding of the disclosure of the present invention more thorough and comprehensive.
[0036] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those commonly understood by those skilled in the art of the present invention. The terms used in the specification of the present invention herein are only for the purpose of describing specific embodiments and are not intended to limit the present invention.
[0037] The present invention provides a marketing and distribution fusion carrier sharing method, which is applied to the marketing and distribution carrier meter reading task process. The marketing and distribution fusion carrier sharing method includes the following steps:
[0038] S10. Centrally manage marketing and distribution archives, and perform conflict detection when the archives are entered into the database; S20. Unified scheduling of carrier resources, uniform scheduling of collection addresses, setting priorities for different carrier tasks, designing meter reading execution containers and meter reading waiting containers, and distinguishing downlink terminals with group network failures; S30. Providing a carrier resource operability number leasing system. When one party's carrier operability number resources are used up, if the other party's remaining carrier operability number is greater than the set threshold, the operator resources are leased from the other party. When the task is completed and the resources are released, the leased carrier operability number resources are returned first.
[0039] The present invention has a simple process and convenient operation, reduces the operating costs of marketing and power distribution, and improves the utilization efficiency of power grid data and the operating efficiency of the power grid.
[0040] In order to enable those skilled in the art to better understand the solutions of the present invention, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the accompanying drawings.
[0041] The present invention provides a marketing and distribution fusion carrier sharing method, which is applied to the marketing and distribution carrier meter reading task process, combined with Figures 1 to 4 In this embodiment, the method for sharing the integrated carrier includes the following steps:
[0042] S10. Centrally manage marketing and distribution files, perform conflict detection when files are entered into the database, and ensure the uniqueness of each file.
[0043] Specifically, the archive information is divided into marketing archives and power distribution archives. Each archive information contains an attribution mark to clarify whether it belongs to marketing or power distribution. The types of equipment used to collect archive data, such as electricity meters, sensors, smart terminals, etc., are recorded, and the communication protocols used by the collection equipment, such as 64507, Modbus, etc., are recorded to ensure the standardization and compatibility of data transmission. When the archive is stored, conflict detection is performed to ensure that the same device is not entered repeatedly.
[0044] Furthermore, in this embodiment, the specific steps of step S10 are as follows:
[0045] S101, the service APP initiates a concurrent meter reading request to the carrier management APP, where the request includes the address information of the device that needs to be read;
[0046] S102, the carrier management APP first determines whether the meter reading address exists in the added files. If not, it is necessary to add a new collection device address file. The information of the added device address file should include the device address attribution information (clearly indicating whether the device address belongs to marketing or distribution), device address information, collector address information and collection protocol type;
[0047] S103. When adding a file, the carrier management APP determines whether the device address to be added to the file is repeated with the set of device addresses that have been added to the file. If the device address to be added to the file is repeated with an address in the set of device addresses that have been added to the file, the carrier management APP will reject the request to add the file and return an error message; if the device address to be added to the file is not repeated with all addresses in the set of device addresses that have been added to the file, the file will be saved to the corresponding marketing file center or distribution file center according to the device address attribution information;
[0048] S104. Return the addition success information, and the business APP initiates a meter reading request.
[0049] S20. Carrier resources are uniformly scheduled, collection addresses are evenly scheduled, priorities are set for different carrier tasks, meter reading execution containers and meter reading waiting containers are designed, downlink terminals with group network failures are distinguished, and carrier meter reading congestion is solved.
[0050] Specifically, all addresses to be read are evenly scheduled to ensure that the meter reading tasks of each address are evenly distributed, and to avoid a certain address being idle or continuously used for a long time. In this way, the meter reading efficiency and service quality can be effectively improved, and the overall performance and stability of the system can be ensured. Set priorities for different types of carrier tasks, such as emergency tasks, routine tasks, low-priority tasks, etc. According to the priority of the task, high-priority tasks are executed first to ensure the timely completion of important tasks. Monitor the execution efficiency of tasks, record the execution time and success rate of tasks, and for devices that fail to network, transfer their tasks to the meter reading waiting container, and try again after other tasks are completed. For devices that have failed to network multiple times, automatically trigger the retry operation to ensure the final completion of the task.
[0051] Furthermore, in this embodiment, the specific steps of step S20 are as follows:
[0052] S201, the business APP requests the carrier management APP to issue a concurrent meter reading. When there are multiple address meter reading tasks, including addresses that have not been successfully networked, since the carrier module has an upper limit on the number of operands, if the unnetworked address occupies the number of carrier module operands, the subsequent carrier tasks will be in a congested state until the unnetworked address releases the carrier operands. Considering the congestion scenario, the present invention intelligently schedules the carrier meter reading tasks according to the priority and networking status to ensure that as many meter reading tasks as possible are executed and high-priority tasks are responded to in a timely manner. The carrier management APP uses a meter reading address container to store all pending meter reading tasks;
[0053] S202, dividing the meter reading address container into a meter reading execution container and a meter reading waiting container according to the networking status, transferring the meter reading task of the address where the networking fails to be completed to the meter reading waiting container, and executing the meter reading task of the meter reading waiting container after all the meter reading tasks in the meter reading execution container are completed, so as to ensure that as many meter reading tasks as possible are executed;
[0054] S203, in the meter reading address container, each meter reading address is represented as a queue of meter reading tasks for this address, and the meter reading tasks for this address are sorted according to priority, with the queue head being the task with the highest priority. When the service APP requests concurrent meter reading from the carrier management APP, the carrier management APP will add the requested task to the corresponding meter reading address task queue according to the address and priority of the requested task;
[0055] S204. After adding successfully, the success status is returned, and the business APP continues to add meter reading requests.
[0056] Furthermore, in this embodiment, the carrier management APP contains a meter reading execution thread, which first periodically traverses the meter reading execution container. If the meter reading execution container is empty, the meter reading waiting container is read. In a meter reading cycle, the head tasks are read one by one from all meter reading address queues in the meter reading container, and re-sorted according to priority, and dispatched to the carrier operable number leasing system to execute the carrier task. When the task data is reported, if the reported data is that there is no response from the node, the address is moved from the meter reading execution container to the meter reading waiting container.
[0057] S30. A single carrier module has a maximum upper limit on operable tasks. To ensure a reasonable allocation of resources, the number of operable resources is divided in half between marketing and distribution. Both parties use their own carrier operands independently. However, in extreme cases, one party's carrier operands may be exhausted, while the other party still has a large number of unused carrier operands. Therefore, a carrier resource operand leasing system is provided. When one party's carrier operand resources are used up, if the other party's remaining carrier operands are greater than the set threshold, the operator resources are leased from the other party. When the task is completed and the resources are released, the leased carrier operand resources are returned first to ensure the orderly operation of the marketing and distribution business.
[0058] Furthermore, in this embodiment, the specific steps of step S30 are as follows:
[0059] S301. Considering that the carrier module has an upper limit on the number of carrier operations, if the maximum number of operations of the carrier module is exceeded, continuing to operate the carrier module will return failure. In addition, considering the ownership of the carrier resources of marketing and distribution, the carrier operable number resources are evenly divided between the marketing party and the distribution party, and each party occupies half of the carrier operand resources. The two carriers set a leasing threshold. When the carrier operand resources of the party are greater than the leasing threshold, and the remaining carrier operands of the other party are zero, the carrier operands can be leased. Before the carrier management APP executes the carrier task, it determines whether the number of operable tasks of the carrier module has reached the upper limit;
[0060] S302. When one party's carrier operable number resources are used up, if the other party's remaining carrier operable number is greater than the lease threshold, the operator leases the operator resources from the other party. When the carrier meter reading is completed, the carrier operand resources are released, and the carrier operand resources of the other party are returned first. If the other party's carrier operand resources are less than the set threshold, wait until the meter reading task being executed is completed, release the carrier module operable number, and if the carrier module operable number has not reached the upper limit at this time, the carrier management APP allocates resources and executes the meter reading task.
[0061] An embodiment of the present invention further provides a computer-readable storage medium on which a computer program is stored. When the computer program is executed by a processor, any method in the embodiment is implemented.
[0062] An embodiment of the present invention further provides an electronic terminal, comprising: a processor and a memory; the memory is used to store a computer program, and the processor is used to execute the computer program stored in the memory, so that the terminal executes any one of the methods in this embodiment.
[0063] The computer-readable storage medium in this embodiment can be understood by ordinary technicians in this field: all or part of the steps of implementing the above-mentioned method embodiments can be completed by hardware related to the computer program. The aforementioned computer program can be stored in a computer-readable storage medium. When the program is executed, the steps of the above-mentioned method embodiments are executed; and the aforementioned storage medium includes: ROM, RAM, magnetic disk or optical disk and other media that can store program codes.
[0064] The electronic terminal provided in this embodiment includes a processor, a memory, a transceiver and a communication interface. The memory and the communication interface are connected to the processor and the transceiver and complete communication with each other. The memory is used to store computer programs, the communication interface is used to communicate, and the processor and the transceiver are used to run computer programs so that the electronic terminal executes each step of the above method.
[0065] The marketing and distribution integrated carrier sharing method, medium and terminal described in the above embodiments are compared with the prior art, in which marketing and distribution each independently deploy carrier communication systems, resulting in duplicate construction of resources and greatly increased investment costs. Multiple independent carrier communication systems also increase the complexity of maintenance and management, and the utilization efficiency of data and the operation efficiency of the power grid are both low. The present invention has a simple process and convenient operation. It centrally manages marketing and distribution archives, performs conflict detection when archives are put into the library, and ensures the uniqueness of each archive; carrier resources are uniformly scheduled, and priorities are set for different carrier tasks to ensure that important tasks are executed first and solve the problem of carrier meter reading congestion; marketing and distribution parties can rent operand resources from each other, and when the task is completed and the resources are released, the rented carrier operand resources are returned first to ensure the orderly operation of marketing and distribution services. The entire method reduces the operating costs of marketing and distribution, and improves the utilization efficiency of power grid data and the operation efficiency of the power grid.
[0066] Obviously, the embodiments described above are only preferred embodiments of the present invention, rather than all embodiments. The preferred embodiments of the present invention are shown in the accompanying drawings, but they do not limit the patent scope of the present invention. The present invention can be implemented in many different forms. On the contrary, the purpose of providing these embodiments is to make the understanding of the disclosure of the present invention more thorough and comprehensive. Although the present invention has been described in detail with reference to the aforementioned embodiments, for those skilled in the art, it is still possible to modify the technical solutions recorded in the aforementioned specific embodiments, or to perform equivalent replacements for some of the technical features therein. Any equivalent structure made using the contents of the specification and drawings of the present invention, directly or indirectly used in other related technical fields, is also within the scope of patent protection of the present invention.
Claims
1. A method for sharing carriers for business integration, characterized in that: The following steps are involved: S10. Centrally manage marketing and distribution files and perform conflict detection when files are stored; S20, unified scheduling of carrier resources, uniform scheduling of collection addresses, setting priorities for different carrier tasks, designing meter reading execution containers and meter reading waiting containers, and distinguishing downlink terminals with group network failures; S30. Provide a carrier resource operand leasing system. When one party's carrier operand resources are used up, if the other party's remaining carrier operands are greater than a set threshold, the system leases operand resources from the other party. When the task is completed and the resources are released, the leased carrier operand resources are returned first.
2. A method for sharing carriers for integrated operations according to claim 1, characterized in that: The specific steps of step S10 are as follows: S101, the service APP initiates a concurrent meter reading request to the carrier management APP, where the request includes the address information of the device that needs to be read; S102 Carrier Management APP first determines whether the meter reading address exists in the added files. If not, a new collection device address file needs to be added; S103. When adding a file, the carrier management APP determines whether the device address to be added to the file is repeated with the set of device addresses of the added file. If so, the carrier management APP rejects the request to add the file and returns an error message; if not, the file is saved to the corresponding marketing file center or distribution file center according to the device address attribution information; S104. Return the addition success information, and the business APP initiates a meter reading request.
3. A method for sharing carriers for business integration according to claim 1, characterized in that: The specific steps of step S20 are as follows: S201, the business APP requests the carrier management APP to send a concurrent meter reading request. When there are multiple address meter reading tasks, the carrier management APP uses a meter reading address container to store all pending meter reading tasks; S202, dividing the meter reading address container into a meter reading execution container and a meter reading waiting container according to the networking status, transferring the meter reading task of the address where the networking fails to be completed to the meter reading waiting container, and executing the meter reading task of the meter reading waiting container after all the meter reading tasks in the meter reading execution container are completed; S203, in the meter reading address container, each meter reading address is represented as a queue of meter reading tasks for this address, and the meter reading tasks for this address are sorted according to priority, with the queue head being the task with the highest priority. When the service APP requests concurrent meter reading from the carrier management APP, the carrier management APP will add the requested task to the corresponding meter reading address task queue according to the address and priority of the requested task; S204. After adding successfully, the success status is returned, and the business APP continues to add meter reading requests.
4. The method for sharing carriers for integrated operation and deployment according to claim 1, characterized in that: The specific steps of step S30 are as follows: S301, the operable number of carrier resources are evenly divided into the marketing party and the distribution party, and the two parties set the lease threshold for the carriers. Before the carrier management APP executes the carrier task, it is determined whether the number of operable tasks of the carrier module has reached the upper limit; S302. When one party's carrier operable number resources are used up, if the other party's remaining carrier operable number is greater than the lease threshold, the operator leases the operator resources from the other party. When the carrier meter reading is completed, the carrier operand resources are released, and the carrier operand resources of the other party are returned first. If the other party's carrier operand resources are less than the set threshold, wait until the meter reading task being executed is completed, release the carrier module operable number, and if the carrier module operable number has not reached the upper limit at this time, the carrier management APP allocates resources and executes the meter reading task.
5. A method for sharing carriers for business integration according to claim 2, characterized in that: In the step S102, the information added to the device address file includes device address attribution information, device address information, collector address information and collection protocol type.
6. A method for sharing carriers for business integration according to claim 3, characterized in that: The carrier management APP contains a meter reading execution thread. The thread first periodically traverses the meter reading execution container. If the meter reading execution container is empty, the meter reading waiting container is read. In a meter reading cycle, the head tasks are read one by one from all meter reading address queues in the meter reading address container, and re-sorted according to priority, and dispatched to the carrier resource operable number leasing system to execute the carrier task. When the task data is reported, if the reported data is no response from the node, the address is moved from the meter reading execution container to the meter reading waiting container.
7. A computer-readable storage medium, characterized in that: The storage medium stores a computer program, and when the computer program is executed by a processor, the method according to any one of claims 1 to 6 is implemented.
8. An electronic terminal, characterized in that: include: Processor and memory; The memory is used to store a computer program, and the processor is used to execute the computer program stored in the memory, so that the terminal executes the method according to any one of claims 1 to 8.
Citation Information
Patent Citations
A data interaction system and method supporting multiple protocols and multiple master stations
CN113852192B