CN115022382B - Metering information interaction platform and method based on asynchronous queue - Google Patents

Metering information interaction platform and method based on asynchronous queue Download PDF

Info

Publication number
CN115022382B
CN115022382B CN202210953619.9A CN202210953619A CN115022382B CN 115022382 B CN115022382 B CN 115022382B CN 202210953619 A CN202210953619 A CN 202210953619A CN 115022382 B CN115022382 B CN 115022382B
Authority
CN
China
Prior art keywords
metering
management system
asynchronous queue
service bus
management
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202210953619.9A
Other languages
Chinese (zh)
Other versions
CN115022382A (en
Inventor
张永旺
化振谦
欧振国
邓珊
马键
危阜胜
彭策
彭强
刘海斌
黄博伟
舒晔
李志诚
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Power Grid Co Ltd
Measurement Center of Guangdong Power Grid Co Ltd
Original Assignee
Guangdong Power Grid Co Ltd
Measurement Center of Guangdong Power Grid Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Power Grid Co Ltd, Measurement Center of Guangdong Power Grid Co Ltd filed Critical Guangdong Power Grid Co Ltd
Priority to CN202210953619.9A priority Critical patent/CN115022382B/en
Publication of CN115022382A publication Critical patent/CN115022382A/en
Application granted granted Critical
Publication of CN115022382B publication Critical patent/CN115022382B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/54Interprogram communication
    • G06F9/546Message passing systems or structures, e.g. queues
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q9/00Arrangements in telecontrol or telemetry systems for selectively calling a substation from a main station, in which substation desired apparatus is selected for applying a control signal thereto or for obtaining measured values therefrom
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2209/00Indexing scheme relating to G06F9/00
    • G06F2209/54Indexing scheme relating to G06F9/54
    • G06F2209/548Queue
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y04INFORMATION OR COMMUNICATION TECHNOLOGIES HAVING AN IMPACT ON OTHER TECHNOLOGY AREAS
    • Y04SSYSTEMS INTEGRATING TECHNOLOGIES RELATED TO POWER NETWORK OPERATION, COMMUNICATION OR INFORMATION TECHNOLOGIES FOR IMPROVING THE ELECTRICAL POWER GENERATION, TRANSMISSION, DISTRIBUTION, MANAGEMENT OR USAGE, i.e. SMART GRIDS
    • Y04S10/00Systems supporting electrical power generation, transmission or distribution
    • Y04S10/50Systems or methods supporting the power network operation or management, involving a certain degree of interaction with the load-side end user applications

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • Signal Processing (AREA)
  • Medical Informatics (AREA)
  • Health & Medical Sciences (AREA)
  • General Health & Medical Sciences (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computing Systems (AREA)
  • Selective Calling Equipment (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention discloses a metering information interaction platform and method based on an asynchronous queue. The invention designs a metering information interaction platform based on an asynchronous queue, a metering transfer cabinet management system of a lower mechanism is in communication connection with a metering packet management system of an upper mechanism through a metering service bus, when the current network is in an online state, a first metering table management message is written in the asynchronous queue through the metering service bus by using the metering transfer cabinet management system, the first metering table management message is read in the asynchronous queue through the metering service bus by using the metering packet management system, when the current network is in the online state, the metering packet management message is written in the asynchronous queue through the metering service bus by using the metering packet management system, and the metering packet management message is read in the asynchronous queue through the metering service bus by using the metering transfer cabinet management system.

Description

Metering information interaction platform and method based on asynchronous queue
Technical Field
The invention relates to the technical field of power systems, in particular to a metering information interaction platform and method based on an asynchronous queue.
Background
At present, the primary power supply station of domestic power supply enterprises has large storehouses, is distributed and has small stock, and asset management personnel mainly store scattered standby meters in the storehouses. When emergency repair is carried out, power distribution repair personnel need to apply for the asset management personnel to get the meter, and the emergency repair efficiency is seriously influenced.
In order to improve the storage management level of a power supply enterprise on various meters such as a single-phase electric energy meter, a three-item electric energy meter and an electric energy mutual inductor, the power supply enterprise gradually applies a metering turnover cabinet to perform centralized management on meter use business. However, the problems of interface calling overtime and data transmission failure easily occur in the network between the metering turnover cabinet and the metering packet management system, which still limits the emergency repair efficiency to a certain extent and is difficult to improve the load capacity and disaster recovery capacity of the whole power system.
Disclosure of Invention
In order to overcome the defects of the prior art, the invention provides a metering information interaction platform and a metering information interaction method based on an asynchronous queue, which can ensure the information interaction of a metering turnover cabinet, improve the emergency repair efficiency and are beneficial to improving the load capacity and disaster tolerance capacity of the whole power system.
In order to solve the above technical problems, in a first aspect, an embodiment of the present invention provides a metering information interaction platform based on asynchronous queues, including at least one metering turnaround cabinet management system of a lower-layer mechanism, a metering packet management system of an upper-layer mechanism, and a metering service bus for connecting the lower-layer mechanism and the upper-layer mechanism; the metering turnover cabinet management system is in communication connection with the metering packet management system through the metering service bus;
the metering turnover cabinet management system is used for writing a first metering table management message into an asynchronous queue through the metering service bus when the current network is in an online state;
the metering packet management system is used for reading the first metering table management message in the asynchronous queue through the metering service bus;
the metering packet management system is also used for writing a metering packet management message into the asynchronous queue through the metering service bus when the current network is in an online state;
the metering turnover cabinet management system is further used for reading the metering packet management message in the asynchronous queue through the metering service bus.
Furthermore, the metering information interaction platform based on the asynchronous queue further comprises an intelligent warehousing control system of the lower-layer mechanism; the intelligent warehousing control system is in communication connection with the metering packet management system through the metering service bus;
the intelligent warehousing control system is used for writing warehousing management information into the asynchronous queue through the metering service bus when the current network is in an online state;
the metering packet management system is used for reading the warehousing management message in the asynchronous queue through the metering service bus;
the intelligent warehousing control system is further used for reading the metering packet management message in the asynchronous queue through the metering service bus.
Further, the metering information interaction platform based on the asynchronous queue further comprises a marketing management system of the upper-layer organization; the marketing management system is in communication connection with the metering turnover cabinet management system through the metering service bus;
the marketing management system is used for writing marketing management information into the asynchronous queue through the metering service bus when the current network is in an online state;
the metering turnover cabinet management system is used for reading the marketing management message in the asynchronous queue through the metering service bus;
the marketing management system is further configured to read the first meter management message in the asynchronous queue through the metering service bus.
Furthermore, the metering information interaction platform based on the asynchronous queue further comprises a metering production management system of the upper mechanism; and the metering production management system is in communication connection with the marketing management system.
Furthermore, the metering turnover cabinet management system is further configured to dispatch meters to the user according to meter getting instructions input by the user when the current network is in an offline state, and generate second meter management messages according to meter use information reissued by the user when the current network is restored to an online state, so that the second meter management messages are written into the asynchronous queue through the metering service bus.
Further, when the current network is in an online state, writing a first meter management message in the asynchronous queue through the meter service bus, specifically:
when the current network is in an online state, judging whether the current network is blocked, if so, caching the first metering table management message, and writing the first metering table management message into the asynchronous queue through the metering service bus when the network is recovered to be smooth.
Further, when the current network is in an online state, writing a first meter management message in the asynchronous queue through the meter service bus, specifically:
when a preset number of first metering table management messages are acquired, priority is set for each first metering table management message, and all the first metering table management messages are written in the asynchronous queue in sequence through the metering service bus according to the sequence from high priority to low priority.
In a second aspect, an embodiment of the present invention provides a metering information interaction method based on an asynchronous queue, which is applicable to a metering information interaction platform based on an asynchronous queue, where the metering information interaction platform based on an asynchronous queue includes at least one metering turnaround cabinet management system of a lower mechanism, a metering packet management system of an upper mechanism, and a metering service bus for connecting the lower mechanism and the upper mechanism; the metering turnover cabinet management system is in communication connection with the metering packet management system through the metering service bus;
the metering information interaction method based on the asynchronous queue comprises the following steps:
writing a first metering table management message into an asynchronous queue through the metering service bus when a current network is in an online state through the metering turnover cabinet management system;
reading, by the metering packet management system, the first meter management message in the asynchronous queue via the metering service bus;
writing a metering packet management message in the asynchronous queue through the metering service bus when the current network is in an online state through the metering packet management system;
reading, by the metering turnaround cabinet management system, the metering packet management message in the asynchronous queue through the metering service bus.
Furthermore, the metering information interaction platform based on the asynchronous queue further comprises an intelligent warehousing control system of the lower-layer mechanism; the intelligent warehousing control system is in communication connection with the metering package management system through the metering service bus;
the metering information interaction method based on the asynchronous queue further comprises the following steps:
through the intelligent warehousing control system, when the current network is in an online state, writing warehousing management information into the asynchronous queue through the metering service bus;
reading, by the metering packet management system, the warehousing management message in the asynchronous queue through the metering service bus;
and reading the metering packet management message in the asynchronous queue through the metering service bus by the intelligent warehousing control system.
Further, the metering information interaction platform based on the asynchronous queue also comprises a marketing management system of the upper-layer organization; the marketing management system is in communication connection with the metering turnover cabinet management system through the metering service bus;
the metering information interaction method based on the asynchronous queue further comprises the following steps:
writing, by the marketing management system, marketing management messages in the asynchronous queue through the metering service bus when a current network is online;
reading, by the metering turnaround cabinet management system, the marketing management messages in the asynchronous queue through the metering service bus;
reading, by the marketing management system, the first meter management message in the asynchronous queue through the meter service bus.
The embodiment of the invention has the following beneficial effects:
the metering information interaction platform based on the asynchronous queue is designed, a metering turnover cabinet management system of a lower mechanism is in communication connection with a metering packet management system of an upper mechanism through a metering service bus, when the current network is in an online state, a first metering table management message is written in the asynchronous queue through the metering service bus by using the metering turnover cabinet management system, the first metering table management message is read in the asynchronous queue through the metering service bus by using the metering packet management system, when the current network is in the online state, the metering packet management message is written in the asynchronous queue through the metering service bus by using the metering turnover cabinet management system, and the metering packet management message is read in the asynchronous queue through the metering service bus by using the metering turnover cabinet management system, so that the information interaction between the metering turnover cabinet management system and the metering packet management system is realized. Compared with the prior art, the embodiment of the invention stores the first metering table management messages generated by the plurality of metering turnover cabinet management systems and the metering packet management messages generated by the metering packet management systems in the asynchronous queue for multi-system information interaction by applying the asynchronous queue technology in the metering information interaction platform, greatly shortens the information interaction time of the metering turnover cabinet management system due to the high response rate of the asynchronous queue technology, and can also receive the metering packet management messages when the network is in an offline state, thereby ensuring the information interaction of the metering turnover cabinet, improving the emergency repair efficiency and being beneficial to improving the load capacity and disaster tolerance capacity of the whole power system.
Drawings
Fig. 1 is a schematic structural diagram of an asynchronous queue-based metering information interaction platform according to a first embodiment of the present invention;
fig. 2 is a schematic structural diagram of an asynchronous queue-based metering information interaction platform according to an example in a first embodiment of the present invention;
fig. 3 is a flowchart illustrating a metering information interaction method based on an asynchronous queue according to a second embodiment of the present invention.
Detailed Description
The technical solutions in the present invention will be described clearly and completely with reference to the accompanying drawings, and it is obvious that the described embodiments are only some embodiments of the present invention, not all embodiments. All other embodiments, which can be obtained by a person skilled in the art without making any creative effort based on the embodiments in the present invention, belong to the protection scope of the present invention.
It should be noted that, the step numbers in the text are only for convenience of explanation of the specific embodiments, and do not serve to limit the execution sequence of the steps. The method provided by the embodiment can be executed by the relevant terminal device, and the server is taken as an example for explanation below.
As shown in fig. 1, a first embodiment provides an asynchronous queue-based metering information interaction platform, which includes at least one metering turnaround cabinet management system 11 of a lower mechanism 1, a metering packet management system 21 of an upper mechanism 2, and a metering service bus 3 for connecting the lower mechanism 1 and the upper mechanism 2; the metering turnover cabinet management system 11 is in communication connection with the metering packet management system 21 through a metering service bus 3; the metering turnover cabinet management system 11 is used for writing a first metering table management message into the asynchronous queue through the metering service bus 3 when the current network is in an online state; a metering packet management system 21 for reading a first metering table management message in the asynchronous queue through the metering service bus 3; the metering packet management system 21 is further configured to write a metering packet management message into the asynchronous queue through the metering service bus 3 when the current network is in an online state; and the metering turnover cabinet management system 11 is also used for reading the metering packet management message in the asynchronous queue through the metering service bus 3.
As an example, a power supply station is selected as the lower-layer mechanism 1, a plurality of metering turnover cabinet management systems 11 are configured in each power supply station to realize informatization and intelligent management of the operation flow of the power supply station, and each metering turnover cabinet management system 11 can be connected with at least one Micro Control Unit (MCU) through a serial port; a provincial center is selected as an upper mechanism 2, a metering package management System 21 (WMS) is configured in the provincial center, each metering turnover cabinet management System 11 of a power supply station is in communication connection with the metering package management System 21 through a metering service bus 3, and a metering information interaction platform based on an asynchronous queue as shown in fig. 2 is designed to realize information interaction between the metering turnover cabinet management System 11 and the metering package management System 21.
Applying a metering information interaction platform based on an asynchronous queue, when a current network is in an online state, a metering turnover cabinet management system 11 responds to meter management requests such as meter warehousing requests, meter ex-warehousing requests and the like initiated by users to generate first metering table management messages, and writes the first metering table management messages into the asynchronous queue through a metering service bus 3, so that a metering package management system 21 can read the first metering table management messages in the asynchronous queue through the metering service bus 3; when the current network is in an on-line state, the metering packet management system 21 responds to metering packet management requests such as a meter maintenance request, a meter purchase request, a meter maintenance request and the like initiated by a user to generate metering packet management messages, and writes the metering packet management messages into an asynchronous queue through the metering service bus 3, so that the metering turnaround cabinet management system 11 can read the metering packet management messages in the asynchronous queue through the metering service bus 3.
The first meter management message comprises meter pickup data, monitoring records, access control opening data, access control closing data and the like; the metering package management message comprises a metering equipment first-aid repair task, a metering equipment purchasing task, a metering equipment maintenance task and the like.
It can be understood that the high-speed asynchronous queue system can be built based on third-party open source components such as kafka, redis, zookeeper and the like, does not process messages, only stores messages, is an asynchronous inter-service communication mode, and is suitable for distributed and micro-service architectures. Messages are stored on queues until they are processed and deleted, which can be used to separate heavyweight processing, buffering or batching jobs, and to alleviate peak workloads. A high-speed asynchronous queuing system typically includes a message Producer (Producer), a message processing center (Broker), and a message Consumer (Consumer). Wherein, the message producer is responsible for generating and sending messages to the message processing center; the message processing center is responsible for message storage, acknowledgement, retry, etc., and typically includes a plurality of queues (queues); the message consumer is responsible for acquiring the message from the message processing center and carrying out corresponding processing.
The response time of the high-speed asynchronous queue system is fast, compared with a real-time interaction method, the waiting time of the measurement turnover cabinet management system 11 can be shortened, the interaction efficiency and the storage efficiency of mass data during concurrency are improved, offline handling is achieved, the data processing pressure of the master station server is greatly relieved, and consumption caused by purchasing hardware resources is reduced.
The high-speed asynchronous queue system can store elements in the order in which they are pushed into a List (List), meeting the "first-in first-out" requirement, and these elements can be either text data or binary data. After the producer inserts the message into the head of the queue, the consumer reads the messages in the queue in turn.
Due to the adoption of the asynchronous queue technology, the production of the metering turnover cabinet management system 11 and the consumption of the metering packet management system 21 are not required to be carried out simultaneously, the metering packet management system 21 can select different scheduling strategies, and processes the first message in the queue according to idle time, busy time and normal time, so that the effects of peak clipping and valley filling of services are achieved, the stability of the performance of the metering packet management system 21 is ensured, and the condition that a server is down due to frequent calling at the same time is avoided.
In the embodiment, by applying an asynchronous queue technology in a metering information interaction platform, first metering table management messages generated by a plurality of metering transfer cabinet management systems 11 and metering packet management messages generated by a metering packet management system 21 are stored in an asynchronous queue for multi-system information interaction, so that the high response rate of the asynchronous queue technology is benefited, the information interaction time of the metering transfer cabinet management system 11 is greatly shortened, and the metering packet management messages can be received when a network is in an offline state, thereby ensuring the information interaction of the metering transfer cabinets, improving the emergency repair efficiency, and being beneficial to improving the load capacity and disaster tolerance capacity of the whole power system.
In a preferred embodiment, the metering information interaction platform based on the asynchronous queue further comprises an intelligent warehousing control system 12 of the lower-layer mechanism 1; the intelligent warehousing control system 12 is in communication connection with the metering package management system 21 through a metering service bus 3; the intelligent warehousing control system 12 is used for writing warehousing management messages into the asynchronous queue through the metering service bus 3 when the current network is in an online state; a metering package management system 21, which is used for reading the warehousing management information in the asynchronous queue through the metering service bus 3; the intelligent storage control system 12 is also used for reading the metering packet management message in the asynchronous queue through the metering service bus 3.
As an example, as shown in fig. 2, a local office is selected as a lower-level organization, an intelligent warehousing Control System 12 is configured in the local office, the intelligent warehousing Control System 12 (a ward Control System, WCS) is a basis for implementing informatization of metering packages, and can implement integration of various intelligent storage devices, perform unified scheduling and management on each device, coordinate the Warehouse entry and exit task requirements, and achieve real-time monitoring of the devices and real-time tracking of task execution conditions by collecting device layer feedback in real time.
By applying a metering information interaction platform based on an asynchronous queue, when a current network is in an online state, the intelligent warehousing control system 12 responds to a meter scheduling request and other warehousing management requests initiated by a user to generate warehousing management messages, and writes the warehousing management messages into the asynchronous queue through the metering service bus 3, so that the metering package management system 21 can read the warehousing management messages in the asynchronous queue through the metering service bus 3; when the current network is in an online state, the metering packet management system 21 responds to metering packet management requests such as a meter maintenance request, a meter purchase request, a meter maintenance request and the like initiated by a user to generate metering packet management messages, and writes the metering packet management messages into an asynchronous queue through the metering service bus 3, so that the smart storage control system 12 can read the metering packet management messages in the asynchronous queue through the metering service bus 3.
In this embodiment, by additionally providing the smart warehouse control system 12 in the lower mechanism 1, seamless docking with the metering package management system 21 in the provincial center can be realized, and effective integrated interaction with the metering package smart storage devices (radio frequency door, code scanning gun, etc.) in each city bureau can be realized, so that the metering package management system becomes an organic whole for full-life cycle management and control of the metering assets in the whole province, and supports the city bureau to smoothly complete intelligent transformation of the metering package.
In the preferred embodiment, the metering information interaction platform based on the asynchronous queue further comprises a marketing management system 22 of an upper-level organization 2; the marketing management system 22 is in communication connection with the metering turnover cabinet management system 11 through the metering service bus 3; a marketing management system 22 for writing marketing management messages in the asynchronous queue through the metering service bus 3 when the current network is on-line; a metering turnaround cabinet management system 11, which is used for reading the marketing management message in the asynchronous queue through the metering service bus 3; and the marketing management system 22 is also used for reading the first metering table management message in the asynchronous queue through the metering service bus 3.
As an example, as shown in fig. 2, a marketing management system 22 is configured in the provincial center, and the marketing management system 22 can realize intelligent management of sales items, customer information, and sales contract management information of the power supply enterprise.
By applying the metering information interaction platform based on the asynchronous queue, when the current network is in an online state, the marketing management system 22 responds to the marketing management requests such as a project management request initiated by a user to generate marketing management messages, and writes the marketing management messages into the asynchronous queue through the metering service bus 3, so that the metering turnover cabinet management system 11 can read the marketing management messages in the asynchronous queue through the metering service bus 3; when the current network is in an online state, the metering turnover cabinet management system 11 responds to meter management requests such as meter warehousing requests, meter ex-warehousing requests and the like initiated by users to generate first meter management messages, and writes the first meter management messages into the asynchronous queue through the metering service bus 3, so that the marketing management system 22 can read the first meter management messages in the asynchronous queue through the metering service bus 3.
This embodiment can realize measurement turnover cabinet management system 11 and marketing management system 22's information interaction through add marketing management system 22 in upper mechanism 2, guarantees that measurement turnover cabinet management system 11 carries out strapping table integrated management according to power supply enterprise's marketing management demand.
In the preferred embodiment, the asynchronous queue-based metering information interaction platform further comprises a metering production management system 23 of the upper mechanism 2; the metering production management system 23 is in communication with the marketing management system 22.
In this embodiment, the metering and production management system 23 is additionally arranged in the upper mechanism 2, so that the metering and production management system 23 directly performs information interaction with the marketing management system 22, thereby realizing global regulation and control of the marketing management system 22 by the metering and production management system 23.
In a preferred embodiment, the metering turnaround cabinet management system 11 is further configured to dispatch the meter to the user according to a meter getting instruction input by the user when the current network is in an offline state, and generate a second meter management message according to the meter usage information reissued by the user when the current network is restored to an online state, so as to write the second meter management message into the asynchronous queue through the metering service bus 3.
It can be understood that, based on asynchronous queue technique, to the function that 11 new increase measurement turnover cabinet off-line of measurement turnover cabinet took the strapping table of measurement turnover cabinet, can make the user get the strapping table earlier and upload strapping table service information again when emergency repair, the automatic mend list of completion data has effectively improved emergency repair efficiency, the power supply institute salvageed the risk that the strapping table was untimely, the work order overtime led to the customer complaint that has significantly reduced.
In a preferred embodiment, when the current network is in an online state, writing a first meter management message in the asynchronous queue through the meter service bus 3, specifically: when the current network is in an online state, judging whether the current network is blocked, if so, caching the first metering table management message, and writing the first metering table management message into the asynchronous queue through the metering service bus 3 when the network is recovered to be smooth.
As an example, when the current network is in an online state, the measurement turnover cabinet management system 11 determines whether the current network is blocked according to a comparison result of network quality parameters such as available bandwidth or delay of the current network and a preset threshold, if so, first caches a first measurement table management message, continuously monitors the network quality until the network is unblocked, and then writes the first measurement table management message into an asynchronous queue through the measurement service bus 3.
In a preferred embodiment, when the current network is in an online state, writing a first meter management message in the asynchronous queue through the meter service bus 3, specifically: when a preset number of first metering table management messages are obtained, priority levels are set for each first metering table management message respectively, and all the first metering table management messages are written into the asynchronous queue through the metering service bus 3 in sequence from high to low according to the priority levels.
As an example, the producer, i.e. the meter turnaround cabinet management system 11 sets a priority for each first meter management message of a batch, and sequentially writes all the first meter management messages in an asynchronous queue through the meter service bus 3 in order of priority from high to low.
It is understood that the metering turnaround cabinet management system 11 may also write all the first meter management messages in sequence in the asynchronous queue directly through the metering service bus 3, and the consumer reads all the first meter management messages according to the priority order.
Compared with a conventional metering information interaction system, the asynchronous queue-based metering information interaction platform is applied, and the performance indexes are improved as follows:
(1) The metering turnover cabinet is not stopped in a long time range of 24 hours continuously, and the daily stable operation time is increased by 50% compared with the technical premise;
(2) The processing time of the single service of the metering turnover cabinet is reduced from 3 minutes to 1 minute, and the processing time is reduced by 66%;
(3) The success rate of the metering package management system 21 and the marketing management system 22 for issuing tasks to the metering turnover cabinet is increased from 73.52% to 99%;
(4) The success rate of message sending on the metering turnover cabinet system is improved from 40.98% to 99%;
(5) The accuracy of the data used by the metering package is improved from 81.98% to 99%;
(6) The function of the off-line pre-picking metering equipment is used for 195.5 ten thousand times 15 months after the on-line operation, so that 51 ten thousand times of field picking work is served, and the risks of customer complaints caused by untimely rush-repair meters and overtime work orders of the primary office are greatly reduced.
The metering information interaction platform based on the asynchronous queue provided by this embodiment can utilize the distributed attribute of the asynchronous queue technology to implement cluster deployment and flexible expansion of the metering service bus 3, increase the continuous normal operation time of the power system, improve the load capacity, disaster tolerance capacity and information interaction stability of the whole power system, and also can expand the cluster during large-scale information concurrency, thereby solving the problem of downtime of the main station possibly caused by too large concurrency. In addition, the staff can stably complete the business of the measurement turnover cabinet, and can continue subsequent operation when the network fluctuates, and when the network is online, the measurement turnover cabinet management system 11 can normally acquire a work order and complete data synchronization; when the network is in an off-line state or a business peak, part of non-emergency messages can be delayed for processing, the prior work order operation and temporary operation measurement turnover cabinet are preferentially completed, and the meter is taken out, so that the stability of the electric power system is greatly improved, the stable and efficient operation of the electric power system is ensured, the problems of network fluctuation, equipment off-line and the like in management are effectively solved, and the working efficiency of primary personnel in a local city and system operation and maintenance personnel is obviously improved.
Based on the same inventive concept as the first embodiment, the second embodiment provides a metering information interaction method based on an asynchronous queue as shown in fig. 3, which is applicable to a metering information interaction platform based on an asynchronous queue, and the metering information interaction platform based on an asynchronous queue comprises at least one metering turnover cabinet management system 11 of a lower mechanism 1, a metering packet management system 21 of an upper mechanism 2, and a metering service bus 3 for connecting the lower mechanism 1 and the upper mechanism 2; the metering turnover cabinet management system 11 is in communication connection with the metering packet management system 21 through a metering service bus 3; the metering information interaction method based on the asynchronous queue comprises the following steps of S1-S4:
s1, writing a first metering table management message in an asynchronous queue through a metering service bus 3 when a current network is in an online state through a metering turnover cabinet management system 11;
s2, reading a first metering table management message in the asynchronous queue through a metering packet management system 21 and a metering service bus 3;
s3, writing a metering packet management message into the asynchronous queue through the metering service bus 3 when the current network is in an online state through the metering packet management system 21;
and S4, reading the metering packet management message in the asynchronous queue through the metering service bus 3 by the metering turnover cabinet management system 11.
In a preferred embodiment, the asynchronous queue-based metering information interaction platform further comprises a smart warehousing control system 12 of the lower-layer organization 1; the intelligent warehousing control system 12 is in communication connection with the metering package management system 21 through a metering service bus 3; the metering information interaction method based on the asynchronous queue further comprises the following steps:
through the intelligent warehousing control system 12, when the current network is in an online state, the warehousing management information is written in the asynchronous queue through the metering service bus 3;
reading warehouse management information in the asynchronous queue through the metering service bus 3 by the metering packet management system 21;
the metering package management messages are read in asynchronous queues via the metering service bus 3 by the smart warehouse control system 12.
In a preferred embodiment, the asynchronous queue-based metering information interaction platform further comprises a marketing management system 22 of the upper-level organization 2; the marketing management system 22 is in communication connection with the metering turnover cabinet management system 11 through the metering service bus 3; the metering information interaction method based on the asynchronous queue further comprises the following steps:
writing, by the marketing management system 22, marketing management messages in the asynchronous queue via the metering service bus 3 when the current network is online;
reading marketing management messages in an asynchronous queue through a metering service bus 3 by a metering transfer cabinet management system 11;
the first meter management message is read in an asynchronous queue through the meter service bus 3 by the marketing management system 22.
In the preferred embodiment, the asynchronous queue-based metering information interaction platform further comprises a metering production management system 23 of the upper mechanism 2; the metering production management system 23 is communicatively connected to the marketing management system 22.
In a preferred embodiment, the asynchronous queue-based metering information interaction method further includes:
through measurement turnover cabinet management system 11, when current network is in the off-line state, according to the strapping table of user's input and receive the instruction, distribute the strapping table to the user to when current network resumes the on-line state, according to the strapping table user information that the user supplyed, generate second strapping table management message, with write in second strapping table management message in asynchronous queue through measurement service bus 3.
In a preferred embodiment, when the current network is in an online state, writing a first meter management message in the asynchronous queue through the meter service bus 3, specifically: when the current network is in an online state, judging whether the current network is blocked, if so, caching the first metering table management message, and writing the first metering table management message into the asynchronous queue through the metering service bus 3 when the network is recovered to be smooth.
In a preferred embodiment, when the current network is in an online state, writing a first meter management message in the asynchronous queue through the meter service bus 3, specifically: when a preset number of first metering table management messages are obtained, priority levels are set for each first metering table management message respectively, and all the first metering table management messages are written into the asynchronous queue through the metering service bus 3 in sequence from high to low according to the priority levels.
In summary, the embodiment of the present invention has the following advantages:
by designing a metering information interaction platform based on an asynchronous queue, a metering transfer cabinet management system 11 of a lower mechanism 1 is in communication connection with a metering packet management system 21 of an upper mechanism 2 through a metering service bus 3, when a current network is in an online state, a first metering table management message is written into the asynchronous queue through the metering service bus 3 by using the metering transfer cabinet management system 11, the first metering table management message is read into the asynchronous queue through the metering service bus 3 by using the metering packet management system 21, when the current network is in the online state, the metering packet management message is written into the asynchronous queue through the metering service bus 3 by using the metering packet management system 21, and the metering packet management message is read into the asynchronous queue through the metering service bus 3 by using the metering transfer cabinet management system 11, so that information interaction between the metering transfer cabinet management system 11 and the metering packet management system 21 is realized. According to the embodiment of the invention, the asynchronous queue technology is applied in the metering information interaction platform, the first metering table management messages generated by the metering turnover cabinet management systems 11 and the metering packet management messages generated by the metering packet management system 21 are stored in the asynchronous queue for information interaction among multiple systems, the high response rate of the asynchronous queue technology is benefited, the information interaction time of the metering turnover cabinet management system 11 is greatly shortened, and the metering packet management messages can be received when the network is in an offline state, so that the information interaction of the metering turnover cabinet can be ensured, the emergency repair efficiency is improved, and the load capacity and the disaster tolerance capacity of the whole power system are favorably improved.
While the foregoing is directed to the preferred embodiment of the present invention, it will be understood by those skilled in the art that various changes and modifications may be made without departing from the spirit and scope of the invention.
It will be understood by those skilled in the art that all or part of the processes of the above embodiments may be implemented by hardware related to instructions of a computer program, and the computer program may be stored in a computer readable storage medium, and when executed, may include the processes of the above embodiments. The storage medium may be a magnetic disk, an optical disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), or the like.

Claims (8)

1. A metering information interaction platform based on an asynchronous queue is characterized by comprising at least one metering turnover cabinet management system of a lower-layer mechanism, a metering package management system of an upper-layer mechanism, and a metering service bus for connecting the lower-layer mechanism and the upper-layer mechanism; the metering turnover cabinet management system is in communication connection with the metering packet management system through the metering service bus;
the metering turnover cabinet management system is used for writing a first metering table management message into the asynchronous queue through the metering service bus when the current network is in an online state;
when the current network is in an online state, writing a first metering table management message in an asynchronous queue through the metering service bus, specifically:
when a preset number of first metering table management messages are obtained, setting a priority for each first metering table management message, and sequentially writing all the first metering table management messages in the asynchronous queue through the metering service bus according to the sequence from high priority to low priority;
the metering packet management system is used for reading the first metering table management message in the asynchronous queue through the metering service bus;
the metering packet management system is also used for writing a metering packet management message into the asynchronous queue through the metering service bus when the current network is in an online state;
the metering turnover cabinet management system is also used for reading the metering packet management message in the asynchronous queue through the metering service bus;
the metering turnover cabinet management system is also used for dispatching the meters to the users according to meter receiving instructions input by the users when the current network is in an off-line state, and generating second meter management messages according to meter use information reissued by the users when the current network is restored to an on-line state so as to pass through the metering service bus, and the second meter management messages are written into the asynchronous queue.
2. The asynchronous queue based metering information interaction platform as recited in claim 1, further comprising a smart warehouse control system of the underlying organization; the intelligent warehousing control system is in communication connection with the metering package management system through the metering service bus;
the intelligent warehousing control system is used for writing warehousing management information into the asynchronous queue through the metering service bus when the current network is in an online state;
the metering packet management system is used for reading the warehousing management message in the asynchronous queue through the metering service bus;
the intelligent warehousing control system is further used for reading the metering packet management message in the asynchronous queue through the metering service bus.
3. The asynchronous queue based metering information interaction platform of claim 1, further comprising a marketing management system of the upper-level organization; the marketing management system is in communication connection with the metering turnover cabinet management system through the metering service bus;
the marketing management system is used for writing marketing management information into the asynchronous queue through the metering service bus when the current network is in an online state;
the metering turnover cabinet management system is used for reading the marketing management message in the asynchronous queue through the metering service bus;
the marketing management system is further used for reading the first metering table management message in the asynchronous queue through the metering service bus.
4. The asynchronous queue based metering information interaction platform of claim 3, further comprising a metering production management system of the upper-level organization; and the metering production management system is in communication connection with the marketing management system.
5. The asynchronous queue based metering information interaction platform as claimed in claim 1, wherein when the current network is in an online state, a first metering table management message is written in the asynchronous queue through the metering service bus, specifically:
when the current network is in an online state, judging whether the current network is blocked, if so, caching the first metering table management message, and writing the first metering table management message into the asynchronous queue through the metering service bus when the network is recovered to be smooth.
6. The metering information interaction method based on the asynchronous queue is characterized by being applicable to a metering information interaction platform based on the asynchronous queue, wherein the metering information interaction platform based on the asynchronous queue comprises at least one metering turnover cabinet management system of a lower mechanism, a metering packet management system of an upper mechanism and a metering service bus for connecting the lower mechanism and the upper mechanism; the metering turnover cabinet management system is in communication connection with the metering packet management system through the metering service bus;
the metering information interaction method based on the asynchronous queue comprises the following steps:
writing a first metering table management message into an asynchronous queue through the metering service bus when a current network is in an online state through the metering turnover cabinet management system;
when the current network is in an online state, writing a first metering table management message in an asynchronous queue through the metering service bus, specifically:
when a preset number of first metering table management messages are acquired, setting priority for each first metering table management message, and writing all the first metering table management messages in the asynchronous queue in sequence through the metering service bus according to the sequence from high priority to low priority;
reading, by the metering packet management system, the first meter management message in the asynchronous queue via the metering service bus;
writing a metering packet management message into the asynchronous queue through the metering service bus when the current network is in an online state through the metering packet management system;
reading, by the metering turnaround cabinet management system, the metering packet management message in the asynchronous queue through the metering service bus;
through measurement turnover cabinet management system when current network is in the off-line state, gets the instruction according to the strapping table of user input, to the user distribution strapping table to when current network resumes on-line state, according to the strapping table user information that the user supplyed, generate second strapping table management message, with pass through the metering service bus is in write in the asynchronous queue second strapping table management message.
7. The asynchronous queue-based metering information interaction method as recited in claim 6, wherein the asynchronous queue-based metering information interaction platform further comprises a smart warehouse control system of the lower-level organization; the intelligent warehousing control system is in communication connection with the metering packet management system through the metering service bus;
the metering information interaction method based on the asynchronous queue further comprises the following steps:
through the intelligent warehousing control system, when the current network is in an online state, a warehousing management message is written into the asynchronous queue through the metering service bus;
reading, by the metering package management system, the warehousing management message in the asynchronous queue through the metering service bus;
and reading the metering packet management message in the asynchronous queue through the metering service bus by the intelligent warehousing control system.
8. The asynchronous queue based metering information interaction method as recited in claim 6, wherein the asynchronous queue based metering information interaction platform further comprises a marketing management system of the upper-level organization; the marketing management system is in communication connection with the metering turnover cabinet management system through the metering service bus;
the metering information interaction method based on the asynchronous queue further comprises the following steps:
writing, by the marketing management system, marketing management messages in the asynchronous queue through the metering service bus when a current network is online;
reading, by the metering turnaround cabinet management system, the marketing management message in the asynchronous queue through the metering service bus;
reading, by the marketing management system, the first meter management message in the asynchronous queue through the meter service bus.
CN202210953619.9A 2022-08-10 2022-08-10 Metering information interaction platform and method based on asynchronous queue Active CN115022382B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210953619.9A CN115022382B (en) 2022-08-10 2022-08-10 Metering information interaction platform and method based on asynchronous queue

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210953619.9A CN115022382B (en) 2022-08-10 2022-08-10 Metering information interaction platform and method based on asynchronous queue

Publications (2)

Publication Number Publication Date
CN115022382A CN115022382A (en) 2022-09-06
CN115022382B true CN115022382B (en) 2023-01-20

Family

ID=83066169

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210953619.9A Active CN115022382B (en) 2022-08-10 2022-08-10 Metering information interaction platform and method based on asynchronous queue

Country Status (1)

Country Link
CN (1) CN115022382B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110046848A (en) * 2019-04-01 2019-07-23 国网宁夏电力有限公司电力科学研究院 A kind of all switch cabinet videos of metering and data monitoring method
CN113837610A (en) * 2021-09-24 2021-12-24 广东电网有限责任公司 Warehouse management method and system based on informatization means
CN114139975A (en) * 2021-12-03 2022-03-04 广东电网有限责任公司 Life cycle data processing method, device, equipment and medium for metering materials

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8174405B2 (en) * 2006-08-28 2012-05-08 Emeter Corporation Message-bus-based advanced meter information system with applications for cleaning, estimating and validating meter data
US9071565B2 (en) * 2012-11-05 2015-06-30 Qualcomm Incorporated Optimizing offline message (network history) delivery for users accessing an application from a single device
US20160043982A1 (en) * 2014-08-11 2016-02-11 Facebook, Inc. Techniques for a sequential message reader for message syncing
CN112887196B (en) * 2021-01-20 2023-03-24 远景智能国际私人投资有限公司 Message sending method, system, device, equipment and readable storage medium

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110046848A (en) * 2019-04-01 2019-07-23 国网宁夏电力有限公司电力科学研究院 A kind of all switch cabinet videos of metering and data monitoring method
CN113837610A (en) * 2021-09-24 2021-12-24 广东电网有限责任公司 Warehouse management method and system based on informatization means
CN114139975A (en) * 2021-12-03 2022-03-04 广东电网有限责任公司 Life cycle data processing method, device, equipment and medium for metering materials

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
基于C++的计量周转柜系统设计应用;田瑞 等;《宁夏电力》;20180530;全文 *
智能化仓储及输送系统的研究与应用;沈阳 等;《中国电力企业管理》;20171030;第1-2页 *
计量资产全生命周期的计量急救包管理系统;刘海斌 等;《信息技术》;20220530;第1-3节 *

Also Published As

Publication number Publication date
CN115022382A (en) 2022-09-06

Similar Documents

Publication Publication Date Title
CN100594498C (en) Mass data real time processing structure and real time need-based processing platform used for the structure
CN109636135B (en) Sharing-based digital supply chain management system
CN101017546A (en) Method and device for categorical data batch processing
CN111338791A (en) Method, device and equipment for scheduling cluster queue resources and storage medium
US20190347593A1 (en) Method for improving semiconductor back-end factories
CN111275415A (en) Resource channel switching method, device, equipment and storage medium
CN106845746A (en) A kind of cloud Workflow Management System for supporting extensive example intensive applications
CN111724046B (en) Electricity purchase management system
CN112668740A (en) Management platform of wisdom shipyard
US10210284B2 (en) Method and system for managing data in a manufacturing execution system
CN114137927A (en) Production and manufacturing management system based on real-time production process data
CN114118921A (en) System and method for realizing material allocation and allocation integration based on ERP system
CN115022382B (en) Metering information interaction platform and method based on asynchronous queue
CN117035636A (en) Workflow sub-process dynamic generation method, device, equipment and storage medium
Zheng et al. Comparative study on push and pull production system based on Anylogic
CN115879866A (en) Commodity material warehouse-out control method and device, equipment, medium and product thereof
CN114237858A (en) Task scheduling method and system based on multi-cluster network
CN111160816B (en) Method and apparatus for moving inventory items
Huang et al. Research on key technologies of electricity trading platform of next generation
CN113222304A (en) Inventory scheduling method and device
Pullins The NETL modern grid initiative: What will the US modern grid cost?
CN108228578A (en) Financial data service system
CN113792051B (en) Data processing method, system, equipment and storage medium based on multi-mode lock
CN115759710A (en) Distribution network material allocation method, device, equipment and storage medium
CN116805233B (en) Asset inventory control method, device, equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant