CN110047268B - Meter reading method and device - Google Patents
Meter reading method and device Download PDFInfo
- Publication number
- CN110047268B CN110047268B CN201910336550.3A CN201910336550A CN110047268B CN 110047268 B CN110047268 B CN 110047268B CN 201910336550 A CN201910336550 A CN 201910336550A CN 110047268 B CN110047268 B CN 110047268B
- Authority
- CN
- China
- Prior art keywords
- reading
- module
- meter reading
- routing
- meter
- 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
Links
Images
Classifications
-
- G—PHYSICS
- G08—SIGNALLING
- G08C—TRANSMISSION SYSTEMS FOR MEASURED VALUES, CONTROL OR SIMILAR SIGNALS
- G08C19/00—Electric signal transmission systems
Landscapes
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Arrangements For Transmission Of Measured Signals (AREA)
Abstract
The embodiment of the invention relates to the technical field of meter reading, and provides a meter reading method and a meter reading device, wherein the meter reading device comprises: the meter reading device comprises a routing module, a meter reading application module and a routing abstraction module for transmitting an electric signal between the routing module and the meter reading application module; the route abstraction module is used for data interaction between the routing module and the meter reading application module so that the meter reading application module can read the meter through the routing module, wherein the routing module is one of route active, route passive or concurrent routing. Compared with the prior art, the embodiment of the invention can improve the universality of the concentrator.
Description
Technical Field
The invention relates to the technical field of meter reading, in particular to a meter reading method and device.
Background
The carrier meter reading can be divided into three routing modes of route active, route passive and concurrent routing, for the fact that great difference exists between different routing modes, different meter reading logics need to be set in the concentrator aiming at different routing modes, one concentrator can only realize one routing mode, and the universality of the concentrator is poor.
Disclosure of Invention
The embodiment of the invention aims to provide a meter reading method and a meter reading device, so as to solve the problem that the universality of a concentrator is not strong because the existing concentrator can only realize one routing mode.
In order to solve the above problems, the embodiment adopts the following technical solutions:
in a first aspect, an embodiment of the present invention provides a meter reading apparatus, which is applied to a processor of a concentrator, and includes a routing module, a meter reading application module, and a routing abstraction module that transfers an electrical signal between the routing module and the meter reading application module; the route abstraction module is used for data interaction between the routing module and the meter reading application module so that the meter reading application module can read the meter through the routing module, wherein the routing module is one of route active, route passive or concurrent routing.
In a second aspect, an embodiment of the present invention provides a meter reading method applied to a processor of a concentrator, where the method includes: an electric signal interaction path between a routing module and a meter reading application module is established through a routing abstraction module so that the meter reading application module can read the meter through the routing module, wherein the routing module is one of route active, route passive or concurrent routing.
Compared with the prior art, the meter reading method and the meter reading device provided by the embodiment of the invention have the advantages that the route abstraction module is arranged for realizing data interaction between the route module and the meter reading application module, so that the meter reading application module can be used for reading the meter through the route module, the route module can be one of route active, route passive and concurrent routes, and the route abstraction module is arranged, so that one concentrator can be switched among three different meter reading modes of the route active, the route passive and the concurrent routes, and the universality of the concentrator is improved.
In order to make the aforementioned and other objects, features and advantages of the present invention comprehensible, preferred embodiments accompanied with figures are described in detail below.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed to be used in the embodiments will be briefly described below, it should be understood that the following drawings only illustrate some embodiments of the present invention and therefore should not be considered as limiting the scope, and for those skilled in the art, other related drawings can be obtained according to the drawings without inventive efforts.
Fig. 1 is a block diagram of a concentrator according to an embodiment of the present invention;
fig. 2 is a data interaction diagram of a meter reading device provided in an embodiment of the present invention.
Icon: 100-a concentrator; 101-a processor; 102-a memory; 103-a bus; 104-a communication interface; 105-a display screen; 200-a meter reading device; 210-a routing module; 220-meter reading application module; 230-route abstraction module.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. The components of embodiments of the present invention generally described and illustrated in the figures herein may be arranged and designed in a wide variety of different configurations. Thus, the following detailed description of the embodiments of the present invention, presented in the figures, is not intended to limit the scope of the invention, as claimed, but is merely representative of selected embodiments of the invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments of the present invention without making any creative effort, shall fall within the protection scope of the present invention.
It should be noted that: like reference numbers and letters refer to like items in the following figures, and thus, once an item is defined in one figure, it need not be further defined and explained in subsequent figures. Meanwhile, in the description of the present invention, the terms "first", "second", and the like are used only for distinguishing the description, and are not to be construed as indicating or implying relative importance.
It is noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
In the description of the present application, it is also to be noted that, unless otherwise explicitly specified or limited, the terms "disposed" and "connected" are to be interpreted broadly, e.g., as being either fixedly connected, detachably connected, or integrally connected; can be mechanically or electrically connected; they may be connected directly or indirectly through intervening media, or they may be interconnected between two elements. The specific meaning of the above terms in the present application can be understood in a specific case by those of ordinary skill in the art.
Some embodiments of the present application will be described in detail below with reference to the accompanying drawings. The embodiments described below and the features of the embodiments can be combined with each other without conflict.
The meter reading device 200 provided by the embodiment of the invention is applied to the concentrator 100, and particularly applied to the processor 101 of the concentrator 100, and the concentrator 100 is in communication connection with one electric energy meter or a plurality of electric energy meters and is used for acquiring power data of the electric energy meter or the plurality of electric energy meters in communication connection with the concentrator 100.
Referring to fig. 1, fig. 1 is a block diagram of a concentrator according to an embodiment of the present invention, in which the concentrator 100 includes a processor 101, a memory 102, a bus 103, a communication interface 104, and a display screen 105. The processor 101, the memory 102, the communication interface 104 and the display screen 105 are connected by a bus 103, and the processor 101 is configured to execute executable modules, such as computer programs.
The processor 101 may be an integrated circuit chip having signal processing capabilities. In implementation, the steps of the meter reading method may be implemented by integrated logic circuits of hardware or instructions in the form of software in the processor 101. The Processor 101 may be a general-purpose Processor 101, and includes a Central Processing Unit (CPU), a Network Processor (NP), and the like; the device can also be a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field-Programmable Gate Array (FPGA), or other Programmable logic device, discrete Gate or transistor logic device, or discrete hardware component.
The Memory 102 may be, but is not limited to, a Random Access Memory (RAM), a Read Only Memory (ROM), a Programmable Read Only Memory (PROM), an Erasable Read Only Memory (EPROM), an electrically Erasable Read Only Memory (EEPROM), and the like.
The bus 103 may be an ISA (Industry Standard architecture) bus, a PCI (peripheral component interconnect) bus, an EISA (extended Industry Standard architecture) bus, or the like. Only one bi-directional arrow is shown in fig. 1, but this does not indicate only one bus 103 or one type of bus 103.
The communication interface 104 may be used for communicating signaling or data with other node devices. The concentrator 100 is communicatively connected to other external devices (e.g., a power meter) via at least one communication interface 104 (which may be wired or wireless). The memory 102 is used to store a program, such as a meter reading device 200. The meter reading device 200 comprises at least one software function module which may be stored in the memory 102 in the form of software or firmware or may be fixed in an Operating System (OS) of the concentrator 100. After receiving the execution instruction, the processor 101 executes the program to implement the meter reading method.
The display screen 105 is used to display an image, which may be the result of some processing by the processor 101. The display screen 105 may be a touch display screen, a display screen without interactive functionality, or the like.
It should be understood that the configuration shown in fig. 1 is merely a schematic illustration of the structural application of concentrator 100, and that concentrator 100 may include more or fewer components than shown in fig. 1, or have a different configuration than shown in fig. 1. The components shown in fig. 1 may be implemented in hardware, software, or a combination thereof.
Based on the above-mentioned concentrator 100, a possible implementation manner of a meter reading device 200 is given below, where the meter reading device 200 is implemented by using the device structure of the concentrator 100 in the above-mentioned embodiment, and may also be implemented by a processor of the concentrator 100, and please refer to fig. 2, where fig. 2 is a data interaction diagram of the meter reading device provided in the embodiment of the present invention. The meter reading device 200 includes a routing module 210, a meter reading application module 220, and a routing abstraction module 230. The routing abstraction module 230 is disposed between the routing module 210 and the meter reading application module 220, and is used for transmitting electrical signals between the routing module 210 and the meter reading application module 220. Specifically, the route abstraction module 230 is configured to receive the electrical signal transmitted by the meter reading application module 220, send the electrical signal to the meter reading application module 220, receive the electrical signal transmitted by the routing module 210, and send the electrical signal to the routing module 210.
For convenience of description, the upper modules of the routing module 210 are a routing abstraction module 230 and a meter reading application module 220, and the upper modules of the routing abstraction module 230 are the meter reading application module 220.
In the embodiment of the present invention, the routing module 210 is communicatively connected to a communication module of the electric energy meter, and is configured to collect electric power data of the electric energy meter under the control of the meter reading application module 220. The power data may be, but is not limited to, electricity usage, user balance, historical payment records, and the like. Specifically, the routing module 210 can be divided into three types, i.e., active routing, passive routing, and concurrent routing.
The routing initiative is that the routing module 210 actively reports the meter number information of the electric energy meter in communication connection with the concentrator 100, or the routing module 210 actively reports the meter number information of the electric energy meter with better signal in communication connection with the concentrator 100. For example, there are 5 electric energy meters capable of being in communication connection with the concentrator 100, which are the electric energy meter 1, the electric energy meter 2, the electric energy meter 3, the electric energy meter 4 and the electric energy meter 5, respectively, and because the communication modules of the electric energy meter 3 and the electric energy meter 5 are in failure, the electric energy meters in communication connection with the concentrator 100 at present are the electric energy meter 1, the electric energy meter 2 and the electric energy meter 4. The router actively reports the electric energy meter 1, the electric energy meter 2 and the electric energy meter 4 which are in communication connection with the concentrator 100, so that the superior module collects electric power data of the electric energy meter according to reported meter number information and feeds the collected electric power data back to the superior module.
The passive routing module is the routing module 210 that receives the power data acquisition instruction from the upper module, acquires power data corresponding to the electric energy meter according to the acquisition instruction, and feeds back the acquired power data to the upper module. For example, the router passively receives a collection instruction for collecting the power consumption of the electric energy meter 2 from the upper module, and the router passively collects the power consumption in the electric power data of the electric energy meter 2 according to the collection instruction and feeds the collected power consumption of the electric energy meter 2 back to the upper module.
In the concurrent routing, the routing module 210 receives a plurality of power data acquisition instructions from the upper module at the same time, acquires power data of a plurality of different electric energy meters according to the plurality of acquisition instructions, and feeds back the plurality of acquired power data to the upper module. For example, the concurrent routing receives a collection instruction for collecting the electricity consumption of the electricity meter 1, a collection instruction for collecting the electricity consumption of the electricity meter 2 and a collection instruction for collecting the electricity consumption of the electricity meter 3 from the upper module. The routing module 210 collects the power consumption in the power data of the electric energy meter 1 according to the collection instruction for collecting the power consumption of the electric energy meter 1; the routing module 210 collects the power consumption in the power data of the electric energy meter 2 according to the collection instruction for collecting the power consumption of the electric energy meter 2; the routing module 210 collects the power consumption in the power data of the electric energy meter 3 according to the collection instruction for collecting the power consumption of the electric energy meter 3. The routing module 210 feeds back the collected power consumption of the electric energy meter 1, the collected power consumption of the electric energy meter 2 and the collected power consumption of the electric energy meter 3 to the upper-level module.
It should be noted that, in other embodiments of the present invention, the concurrent routing may also be a method for concurrently collecting power data of a plurality of electric energy meters in a route active manner, and the embodiments of the present invention are not limited herein.
In the embodiment of the present invention, the routing abstraction module 230 is disposed between the routing module 210 and the meter reading application module 220, and is configured to interact data between the routing module 210 and the meter reading application module 220, so that the meter reading application module 220 performs meter reading through the routing module 210. Specifically, the route abstraction module 230 is configured to receive the electrical signal transmitted by the meter reading application module 220, send the electrical signal to the meter reading application module 220, receive the electrical signal transmitted by the routing module 210, and send the electrical signal to the routing module 210.
The routing abstraction module 230 is applied to data interaction between the routing abstraction module 230 and the meter reading application module 220, and the routing abstraction module 230 provides a meter reading stopping interface, a meter reading starting interface, a meter reading restarting interface, a meter reading requesting interface and a data reading reporting interface for the meter reading application module 220. Specifically, the meter reading stopping interface is used for providing a meter reading stopping period operation function to the meter reading application module 220 for calling; the starting meter reading interface is used for providing a starting period meter reading operation function to be called by the meter reading application module 220; the restart meter reading interface is used for providing a restart period meter reading operation function to be called by the meter reading application module 220; the request reading interface is used for sending a request for reading data by meter reading to the meter reading application module 220; the reporting and reading data interface is used for reporting the reading data to the meter reading application module 220. The meter reading application 220 performs tasks periodically to collect different power data. It can be understood that when the meter reading application module 220 calls the meter reading operation function in the route abstraction module 230 in the stop period, it is equivalent to issue an operation instruction for stopping meter reading to the route abstraction module 230; when the meter reading application module 220 calls a meter reading operation function in the routing abstraction module 230 in a starting period, it is equivalent to issue an operation instruction for starting meter reading to the routing abstraction module 230; when the meter reading application module 220 calls a restart period meter reading operation function in the route abstraction module 230, it is equivalent to issue an operation instruction for restarting meter reading to the route abstraction module 230.
When the routing module 210 is the routing initiative, the routing abstraction module 230 is configured to send a first request reading instruction to the meter reading application module 220 through the request reading interface when receiving the first request reading instruction actively sent by the routing initiative, so that the meter reading application module 220 returns a first meter reading data frame according to the first request reading instruction, and sends the first meter reading data frame to the routing initiative; and is further configured to receive the first reading data and send the first reading data to the meter reading application module 220 through the reporting reading data interface when the route actively reports the first reading data.
The first request reading instruction may be a request reading instruction actively sent to the route abstraction module 230 by the route, and further, the first request reading instruction may further include meter number information of the electric energy meter communicatively connected to the concentrator 100, for example, the first request reading instruction may specifically include a request reading instruction of the electric energy meter 1, a request meter reading instruction of the electric energy meter 2, and a request meter reading instruction of the electric energy meter 4. The first meter reading data frame may represent an operation instruction of which electric power data of which electric energy meter is specifically collected, which is given by the meter reading application module 220. For example, the first meter reading data frame may be an operation instruction for collecting the power consumption of the electric energy meter 2. The first reading data can be collected electric power data of the electric energy meter. For example, the first transcription data may be 200 degrees of power usage.
The meter reading application module 220 firstly sends an operation instruction for starting/restarting meter reading to the routing abstraction module 230, the routing abstraction module 230 receives the operation instruction for starting/restarting meter reading and sends the operation instruction to the routing initiative to start meter reading, when the route abstraction module 230 receives a first request reading instruction actively sent by a route, the first request reading instruction is sent to the meter reading application module 220, the meter reading application module 220 makes a selection or judgment according to the first request reading instruction to obtain a first meter reading data frame (for example, one of a plurality of electric energy meters in communication connection is selected to read electric power data), and sends the first meter reading data frame to the route abstraction module 230, and the route abstraction module 230 sends the first meter reading data frame to the route initiative, so that the route initiatively acquires the electric power data of the corresponding electric energy meter to obtain the first reading data. The route actively sends the first reading data to the route abstraction module 230, and the route abstraction module 230 sends the first reading data to the meter reading application module 220. After receiving the first reading data, the meter reading application module 220 sends an operation instruction for stopping meter reading to the route abstraction module 230, so that the route abstraction module 230 sends the operation instruction for stopping meter reading to the route initiative, so as to stop the meter reading action.
It should be noted that, when the routing abstraction module 230 performs data transmission, a routing protocol should be followed to implement data interaction between the routing initiative and the meter reading application module 220, and the routing abstraction module 230 provides a corresponding interface to perform data interaction with the routing initiative. When the electric power data of the plurality of electric energy meters are acquired according to the route active mode, the electric power data of each electric energy meter are acquired according to the mode, and after the electric power data of one electric energy meter are acquired, the electric power data of the next electric energy meter are acquired.
When the routing module 210 is a route passive, the route abstraction module 230 is configured to actively send a second request reading instruction to the meter reading application module 220 through the request reading interface, so that the meter reading application module 220 returns a second meter reading data frame according to the second request reading instruction, and sends the second meter reading data frame to the route passive; and is further configured to receive the second copied and read data and send the second copied and read data to the meter reading application module 220 through the reported copied and read data interface when the route passively reports the second copied and read data.
In this embodiment of the present invention, the second request reading instruction may be a request reading instruction that is actively sent to the meter reading application module 220 by the routing abstraction module 230, and the second meter reading data frame may represent an operation instruction that the meter reading application module 220 actively gives which electric power data of which electric energy meter is specifically acquired. For example, the second meter reading data frame may be an operation instruction for collecting the power consumption of the electric energy meter 2. The second reading data can be collected electric power data of the electric energy meter. For example, the second transcription data may be 200 degrees of power usage.
The meter reading application module 220 firstly sends an operation instruction for starting/restarting meter reading to the route abstraction module 230, the route abstraction module 230 receives the operation instruction for starting/restarting meter reading and sends a suspended route to the route passive to start meter reading, it should be noted that the reason for sending the suspended route to the route passive by the route abstraction module 230 is to suspend the meter reading action that the route passive may be performing, to begin the next meter reading action, the route abstraction module 230 actively sends a second request reading instruction to the meter reading application module 220, when the meter reading application module 220 receives the second reading request command, a second meter reading data frame is generated, and sends the second meter reading data frame to the route abstraction module 230, and the route abstraction module 230 sends the second meter reading data frame to the route passive, so that the route passively acquires the power data of the corresponding electric energy meter to obtain second reading data. The route passively sends the second copied data to the route abstraction module 230, and the route abstraction module 230 sends the second copied data to the meter reading application module 220. After receiving the second reading data, the meter reading application module 220 sends an operation instruction for stopping meter reading to the routing abstraction module 230 to stop the meter reading action.
It should be noted that, when the routing abstraction module 230 performs data transmission, a routing protocol should be followed to implement data interaction between the routing passive module and the meter reading application module 220, and the routing abstraction module 230 provides a corresponding interface to perform data interaction with the routing passive module. When the electric power data of the plurality of electric energy meters are acquired according to the routing passive mode, the electric power data of each electric energy meter are acquired according to the mode, and after the electric power data of one electric energy meter are acquired, the electric power data of the next electric energy meter are acquired.
When the routing module 210 is a concurrent route, the route abstraction module 230 is configured to actively send a plurality of third request reading instructions to the meter reading application module 220 through the request reading interface, so that the meter reading application module 220 returns a plurality of third meter reading data frames according to the plurality of third request reading instructions, and sends the plurality of third meter reading data frames to the concurrent route; and is further configured to receive the third copied data and send the third copied data to the meter reading application module 220 through the reporting and reading data interface when the multiple third copied data are reported by the concurrent route.
In the embodiment of the present invention, the third request reading instruction may be a request reading instruction actively sent to the meter reading application module 220 by the routing abstraction module 230, and the third meter reading data frame may represent an operation instruction for the meter reading application module 220 to actively give which electric power data of which electric energy meters are specifically collected. For example, the third meter reading data frame may be an operation instruction for collecting power consumption of the electric energy meters 2, 3, and 4. The third reading data can be collected electric power data of the electric energy meter. For example, the third transcription data may be the used amount of 200 degrees, the used amount of 350 degrees, and the used amount of 274 degrees.
The meter reading application module 220 firstly sends a meter reading starting/restarting operation instruction to the routing abstraction module 230, the routing abstraction module 230 receives the meter reading starting/restarting operation instruction and sends a pause route to a concurrent route to start meter reading, it should be noted that the sending of the pause route to the concurrent route by the routing abstraction module 230 is for pausing a possibly ongoing meter reading action of the concurrent route to start a subsequent meter reading action, the routing abstraction module 230 actively sends a plurality of third meter reading request instructions to the meter reading application module 220, when the meter reading application module 220 receives the plurality of third meter reading request instructions, a plurality of third meter reading data frames are generated, wherein the third meter reading request instructions and the third meter reading data frames are in one-to-one correspondence, the meter reading application module 220 sends the plurality of third meter reading data frames to the routing abstraction module 230, the routing module 230 sends the plurality of third meter reading data frames to the concurrent route, and acquiring the power data of the corresponding electric energy meter by the concurrent route to obtain a plurality of third reading data. The concurrent routing sends the third copied and read data to the routing abstraction module 230, and then the routing abstraction module 230 sends the third copied and read data to the meter reading application module 220. After receiving the third reading data, the meter reading application module 220 sends an operation instruction for stopping meter reading to the routing abstraction module 230 to stop the meter reading operation.
It should be noted that, when the routing abstraction module 230 performs data transmission, a routing protocol should be followed to implement data interaction between the concurrent routing and the meter reading application module 220, and the routing abstraction module 230 provides a corresponding interface to perform data interaction with the concurrent routing. When the electric power data of the electric energy meters are acquired according to the concurrent routing mode, the electric power data of each electric energy meter are processed according to the mode, and the electric power data of the electric energy meters can be acquired simultaneously.
A possible implementation manner of a meter reading method is given below, where an execution subject of the method may be the concentrator 100, and the meter reading method includes: an electrical signal interaction path between the routing module 210 and the meter reading application module 220 is established through the routing abstraction module 230 so that the meter reading application module 220 performs meter reading through the routing module 210, wherein the routing module 210 is one of route active, route passive or concurrent route.
In the embodiment of the present invention, the meter reading method further includes: providing a meter reading stopping interface for the routing abstract module to provide a meter reading stopping period operation function for calling the meter reading application module; providing a meter reading starting interface for the routing abstract module to provide a meter reading starting period operation function for calling the meter reading application module; providing a restarting meter reading interface for the routing abstract module to provide a restarting period meter reading operation function for calling the meter reading application module; providing a reading request interface for the route abstraction module to send a reading request to the meter reading application module; and providing a reporting reading data interface for the route abstract module so as to report the reading data to the meter reading application module.
In the embodiment of the present invention, when the routing module is the route active, the meter reading method further includes: when a first request reading instruction sent by the route initiative is received, the first request reading instruction is sent to the meter reading application module through a request reading interface of the route abstraction module, so that the meter reading application module returns a first meter reading data frame according to the first request reading instruction, and the first meter reading data frame is sent to the route initiative through the route abstraction module; when the route actively reports the first reading data, the route abstraction module receives the first reading data and sends the first reading data to the meter reading application module through the reporting reading data interface.
In this embodiment of the present invention, when the routing module is passive, the meter reading method further includes: actively sending a second reading request instruction to the meter reading application module through a reading request interface of the routing abstraction module so that the meter reading application module returns a second meter reading data frame according to the second reading request instruction, and sending the second meter reading data frame to the routing passive module through the routing abstraction module; and when the route passively reports the second reading data, the route abstraction module receives the second reading data and sends the second reading data to the meter reading application module through the reporting reading data interface.
In this embodiment of the present invention, when the routing module is a concurrent routing, the meter reading method further includes: actively sending a plurality of third reading request instructions to the meter reading application module through a reading request interface of the routing abstraction module, so that the meter reading application module returns a plurality of third meter reading data frames according to the plurality of third reading request instructions, and sending the plurality of third meter reading data frames to a concurrent route through the routing abstraction module; and when the concurrent route reports a plurality of third reading data, the route abstraction module receives the plurality of third reading data and sends the plurality of third reading data to the meter reading application module through the reporting reading data interface.
It can be clearly understood by those skilled in the art that, for convenience and brevity of description, the specific working process of the meter reading method described above may refer to the corresponding process in the foregoing meter reading device embodiment, and is not described herein again.
In summary, the embodiment of the present invention provides a meter reading method and device, where the meter reading device is configured with a route abstraction module for implementing data interaction between a routing module and a meter reading application module, so that the meter reading application module performs meter reading through the routing module, the routing module may be one of route active, route passive, and concurrent routing, and the route abstraction module is configured to enable a concentrator to switch among three different meter reading modes, namely route active, route passive, and concurrent routing, so as to improve the universality of the concentrator; the upper meter reading application module does not need to pay attention to the difference of the routing module, and only needs to concentrate on the meter reading service to realize, so that the meter reading efficiency is improved; the method is characterized in that a uniform data transmission interface is provided for a meter reading application module by setting a meter reading stopping interface, a meter reading starting interface, a meter reading restarting interface, a meter reading requesting interface and a data reading reporting interface.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. The apparatus embodiments described above are merely illustrative, and for example, the flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of apparatus, methods and computer program products according to various embodiments of the present application. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
In addition, functional modules in the embodiments of the present application may be integrated together to form an independent part, or each module may exist separately, or two or more modules may be integrated to form an independent part.
The functions, if implemented in the form of software functional modules and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present application or portions thereof that substantially contribute to the prior art may be embodied in the form of a software product stored in a storage medium and including instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
The above description is only a preferred embodiment of the present application and is not intended to limit the present application, and various modifications and changes may be made by those skilled in the art. Any modification, equivalent replacement, improvement and the like made within the spirit and principle of the present application shall be included in the protection scope of the present application.
It will be evident to those skilled in the art that the present application is not limited to the details of the foregoing illustrative embodiments, and that the present application may be embodied in other specific forms without departing from the spirit or essential attributes thereof. The present embodiments are therefore to be considered in all respects as illustrative and not restrictive, the scope of the application being indicated by the appended claims rather than by the foregoing description, and all changes which come within the meaning and range of equivalency of the claims are therefore intended to be embraced therein. Any reference sign in a claim should not be construed as limiting the claim concerned.
Although the present invention is disclosed above, the present invention is not limited thereto. Various changes and modifications may be effected therein by one skilled in the art without departing from the spirit and scope of the invention as defined in the appended claims.
Claims (10)
1. A meter reading device is characterized by being applied to a processor of a concentrator, and comprising a routing module, a meter reading application module and a routing abstraction module for transmitting electric signals between the routing module and the meter reading application module; the routing module comprises a routing active route, a routing passive route and a concurrent route;
when the routing module is the routing initiative, the routing abstraction module is used for receiving a first reading request instruction and first reading data which are sent by the routing initiative, and sending the first reading request instruction and the first reading data to the meter reading application module, so that the meter reading application module returns a first meter reading data frame according to the first reading request instruction, and sends the first meter reading data frame to the routing initiative;
when the routing template is the routing passive, the routing abstraction module is used for actively sending a second reading request instruction to the meter reading application module, so that the meter reading application module returns a second meter reading data frame according to the second reading request instruction and sends the second meter reading data frame to the routing passive; the router is also used for receiving second reading data and sending the second reading data to the meter reading application module when the router passively reports the second reading data;
when the routing module is the concurrent routing, the routing abstraction module is used for actively sending a plurality of third reading request instructions to the meter reading application module in parallel, so that the meter reading application module returns a plurality of third meter reading data frames according to the plurality of third reading request instructions and sends the plurality of third meter reading data frames to the concurrent routing; and the device is further configured to receive the third reading data and send the third reading data to the meter reading application module when the concurrent route reports the third reading data.
2. The apparatus of claim 1, wherein the routing abstraction module includes a stop meter reading interface, a start meter reading interface, a restart meter reading interface, a request reading interface, and a report reading data interface; the meter reading stopping interface is used for providing a meter reading stopping period operation function to the meter reading application module for calling;
the meter reading starting interface is used for providing a meter reading operation function of a starting period to be called by the meter reading application module;
the restarting meter reading interface is used for providing a restarting period meter reading operation function to be called by the meter reading application module;
the request reading interface is used for sending a request for reading data by reading meter to the meter reading application module;
the reporting reading data interface is used for reporting the reading data to the meter reading application module.
3. The apparatus of claim 2, wherein when the routing module is the route active, the route abstraction module is configured to send a first request reading instruction to the meter reading application module through the request reading interface when receiving the first request reading instruction sent by the route active; and the router is also used for receiving the first reading data and sending the first reading data to the meter reading application module through the reporting reading data interface when the router actively reports the first reading data.
4. The apparatus of claim 2, wherein when the routing module is passive for the route, the route abstraction module is configured to actively send a second request reading instruction to the meter reading application module through the request reading interface; and the router is also used for receiving second reading data and sending the second reading data to the meter reading application module through the reporting reading data interface when the router passively reports the second reading data.
5. The apparatus of claim 2, wherein when the routing module is the concurrent route, the route abstraction module is configured to actively send a plurality of third request reading instructions to the meter reading application module concurrently through the request reading interface; and the device is further configured to receive the third reading data and send the third reading data to the meter reading application module through the reporting reading data interface when the concurrent route reports the third reading data.
6. A meter reading method is applied to a processor of a concentrator, the concentrator further comprises a routing module, the routing module comprises route active routes, route passive routes and concurrent routes, and the method comprises the following steps:
when the routing module is the routing initiative, receiving a first request reading instruction and first reading data which are sent by the routing initiative through a routing abstraction module, and sending the first request reading instruction and the first reading data to a meter reading application module, so that the meter reading application module returns a first meter reading data frame according to the first request reading instruction, and sends the first meter reading data frame to the routing initiative;
when the routing module is the routing passive module, actively sending a second reading request instruction to the meter reading application module through the routing abstract module so that the meter reading application module returns a second meter reading data frame according to the second reading request instruction and sends the second meter reading data frame to the routing passive module; the route abstraction module also receives second reading data and sends the second reading data to the meter reading application module when the route passively reports the second reading data;
when the routing module is the concurrent routing, actively sending a plurality of third reading request instructions to the meter reading application module through the routing abstraction module, so that the meter reading application module returns a plurality of third meter reading data frames according to the plurality of third reading request instructions and sends the plurality of third meter reading data frames to the concurrent routing; and the route abstraction module is also used for receiving the third reading data and sending the third reading data to the meter reading application module when the concurrent route reports the third reading data.
7. The method of claim 6, wherein the method further comprises:
providing a meter reading stopping interface for the routing abstract module to provide a meter reading stopping period operation function for calling the meter reading application module;
providing a meter reading starting interface for the routing abstract module to provide a meter reading starting period operation function for calling the meter reading application module;
providing a restarting meter reading interface for the routing abstract module to provide a restarting period meter reading operation function for calling the meter reading application module;
providing a reading request interface for the route abstraction module to send a reading request to the meter reading application module;
and providing a reporting reading data interface for the routing abstract module so as to report the reading data to the meter reading application module.
8. The method of claim 7, wherein when the routing module is active for the route, the method further comprises:
when a first request reading instruction actively sent by the route is received, the first request reading instruction is sent to the meter reading application module through the request reading interface of the route abstraction module;
when the route actively reports the first reading data, the route abstraction module receives the first reading data and sends the first reading data to the meter reading application module through the reporting reading data interface.
9. The method of claim 7, wherein when the routing module is passive for the route, the method further comprises:
actively sending a second reading request instruction to the meter reading application module through the reading request interface of the routing abstraction module;
and when the route passively reports second reading data, the route abstraction module receives the second reading data and sends the second reading data to the meter reading application module through the reporting reading data interface.
10. The method of claim 7, wherein when the routing module is the concurrent route, the method further comprises:
actively sending a plurality of third request reading instructions to the meter reading application module through the request reading interface of the routing abstraction module;
when the concurrent route reports a plurality of third reading data, the route abstraction module receives the plurality of third reading data and sends the plurality of third reading data to the meter reading application module through the reporting reading data interface.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910336550.3A CN110047268B (en) | 2019-04-25 | 2019-04-25 | Meter reading method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910336550.3A CN110047268B (en) | 2019-04-25 | 2019-04-25 | Meter reading method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110047268A CN110047268A (en) | 2019-07-23 |
CN110047268B true CN110047268B (en) | 2020-08-25 |
Family
ID=67279097
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910336550.3A Active CN110047268B (en) | 2019-04-25 | 2019-04-25 | Meter reading method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110047268B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20230379391A1 (en) | 2022-05-19 | 2023-11-23 | Oracle International Corporation | Systems and methods for header processing in a server computing environment |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR101739545B1 (en) * | 2016-04-07 | 2017-05-24 | 한전케이디엔주식회사 | Remote meter reading system for load balancing and low voltage remote metering method of using this method |
CN106875661A (en) * | 2017-01-13 | 2017-06-20 | 成都中科慧源科技有限公司 | A kind of table tool communication means of multi-operation mode |
CN107134124A (en) * | 2017-05-03 | 2017-09-05 | 杭州西力智能科技股份有限公司 | Bandwidth carrier communication module carrier chip meter reading interface is managed collectively control method |
CN107579758A (en) * | 2017-09-11 | 2018-01-12 | 贵州电网有限责任公司电力科学研究院 | A kind of two-way alternate communication method based on G3 PLC |
CN108257375A (en) * | 2017-12-29 | 2018-07-06 | 南昌市科陆智能电网科技有限公司 | A kind of power grid meter register method and system |
CN108880619A (en) * | 2018-07-26 | 2018-11-23 | 航天亮丽电气有限责任公司 | A kind of automatic meter reading method using bandwidth carrier communication module |
CN109147303A (en) * | 2017-06-19 | 2019-01-04 | 中兴通讯股份有限公司 | Power recorder system and ammeter's reading meter method |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US9143197B2 (en) * | 2011-10-18 | 2015-09-22 | Texas Instruments Incorporated | Joining process for G3 networks |
-
2019
- 2019-04-25 CN CN201910336550.3A patent/CN110047268B/en active Active
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR101739545B1 (en) * | 2016-04-07 | 2017-05-24 | 한전케이디엔주식회사 | Remote meter reading system for load balancing and low voltage remote metering method of using this method |
CN106875661A (en) * | 2017-01-13 | 2017-06-20 | 成都中科慧源科技有限公司 | A kind of table tool communication means of multi-operation mode |
CN107134124A (en) * | 2017-05-03 | 2017-09-05 | 杭州西力智能科技股份有限公司 | Bandwidth carrier communication module carrier chip meter reading interface is managed collectively control method |
CN109147303A (en) * | 2017-06-19 | 2019-01-04 | 中兴通讯股份有限公司 | Power recorder system and ammeter's reading meter method |
CN107579758A (en) * | 2017-09-11 | 2018-01-12 | 贵州电网有限责任公司电力科学研究院 | A kind of two-way alternate communication method based on G3 PLC |
CN108257375A (en) * | 2017-12-29 | 2018-07-06 | 南昌市科陆智能电网科技有限公司 | A kind of power grid meter register method and system |
CN108880619A (en) * | 2018-07-26 | 2018-11-23 | 航天亮丽电气有限责任公司 | A kind of automatic meter reading method using bandwidth carrier communication module |
Also Published As
Publication number | Publication date |
---|---|
CN110047268A (en) | 2019-07-23 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110312279B (en) | Network data monitoring method and device | |
CN110213068B (en) | Message middleware monitoring method and related equipment | |
US20210037097A1 (en) | Cloud data storage location monitoring | |
CN111181801B (en) | Node cluster testing method and device, electronic equipment and storage medium | |
CN107800554B (en) | Data acquisition method, device and system | |
CN112311617A (en) | Configured data monitoring and alarming method and system | |
CN111459782B (en) | Method and device for monitoring service system, cloud platform system and server | |
JP6481514B2 (en) | Communication apparatus and communication system | |
CN114422412B (en) | Equipment detection method and device and communication equipment | |
CN105897471A (en) | Out-of-band management system and out-of-band management method | |
CN103298013A (en) | Service restoration method and device | |
CN110532322A (en) | O&M exchange method, system, computer readable storage medium and equipment | |
CN114090366A (en) | Method, device and system for monitoring data | |
CN110047268B (en) | Meter reading method and device | |
CN110046187A (en) | Data processing system, method and device | |
JP2017062619A (en) | Storage battery system, storage battery monitoring system, and storage battery information collection method | |
JP2012150665A (en) | Terminal station device | |
CN107885169A (en) | A kind of collection method of field data, device and system | |
EP2908277A1 (en) | Device, method and non-transitory computer readable storage medium for performing instant message communication | |
CN109257185A (en) | A kind of network equipment, service card, logic device and notification information transmission method | |
CN104317717A (en) | Embedded software testing method on basis of dimension conversion | |
CN108429741A (en) | A kind of method and system for realizing NCSI agreements | |
CN103546331A (en) | Method, device and system for acquiring monitoring information | |
CN112859660B (en) | Equipment synchronization control method, device, terminal and system | |
CN103870499A (en) | Method and device for hidden danger information processing of power transmission network |
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 |