CN112532708B - Meter reading control method and device, data forwarding platform, storage medium and system - Google Patents

Meter reading control method and device, data forwarding platform, storage medium and system Download PDF

Info

Publication number
CN112532708B
CN112532708B CN202011326114.7A CN202011326114A CN112532708B CN 112532708 B CN112532708 B CN 112532708B CN 202011326114 A CN202011326114 A CN 202011326114A CN 112532708 B CN112532708 B CN 112532708B
Authority
CN
China
Prior art keywords
target
concentrator
meter reading
dtu
administrative division
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
CN202011326114.7A
Other languages
Chinese (zh)
Other versions
CN112532708A (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.)
SUNTRONT TECH CO LTD
Original Assignee
SUNTRONT TECH 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 SUNTRONT TECH CO LTD filed Critical SUNTRONT TECH CO LTD
Priority to CN202011326114.7A priority Critical patent/CN112532708B/en
Publication of CN112532708A publication Critical patent/CN112532708A/en
Application granted granted Critical
Publication of CN112532708B publication Critical patent/CN112532708B/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
    • G08SIGNALLING
    • G08CTRANSMISSION SYSTEMS FOR MEASURED VALUES, CONTROL OR SIMILAR SIGNALS
    • G08C17/00Arrangements for transmitting signals characterised by the use of a wireless electrical link
    • G08C17/02Arrangements for transmitting signals characterised by the use of a wireless electrical link using a radio link
    • GPHYSICS
    • G08SIGNALLING
    • G08CTRANSMISSION SYSTEMS FOR MEASURED VALUES, CONTROL OR SIMILAR SIGNALS
    • G08C19/00Electric signal transmission systems
    • 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q2209/00Arrangements in telecontrol or telemetry systems
    • H04Q2209/60Arrangements in telecontrol or telemetry systems for transmitting utility meters data, i.e. transmission of data from the reader of the utility meter

Abstract

The application provides a meter reading control method, a meter reading control device, a data forwarding platform, a storage medium and a system, and relates to the technical field of automation. The method comprises the following steps: receiving a meter reading instruction sent by target DTU equipment, wherein the meter reading instruction comprises the following steps: the administrative division code of the target DTU equipment and the address of the target concentrator; searching the target concentrator from at least one concentrator according to the administrative division code of the target DTU equipment and the address of the target concentrator; verifying whether the target concentrator is on-line; if the target concentrator is on line, forwarding the meter reading instruction to the target concentrator so that the target concentrator executes meter reading operation based on the meter reading instruction to obtain meter reading data; receiving a meter reading execution result sent by the target concentrator, wherein the meter reading execution result comprises: the meter reading data; and sending the meter reading data to the target DTU equipment. By applying the embodiment of the application, the meter reading efficiency can be improved.

Description

Meter reading control method and device, data forwarding platform, storage medium and system
Technical Field
The application relates to the technical field of automation, in particular to a meter reading control method, a meter reading control device, a data forwarding platform, a storage medium and a meter reading control system.
Background
With the development of science and technology, various energy sources in families or industries can be metered by using meters, wherein the energy sources can comprise water, electricity, natural gas and the like. The company can read the instrument matched with the service to obtain instrument data, namely the energy consumption.
At present, a system for reading a meter to obtain meter data includes a concentrator and a server, where the concentrator obtains the meter data and sends the meter data to the server with a fixed wide area network IP through a GPRS (General Packet Radio Service) communication technology.
However, since some companies (such as small water conservancy companies) have no fixed wide area network IP or no wide area network IP, these servers cannot receive the meter data sent by the concentrator, and the meter reading efficiency is reduced.
Disclosure of Invention
An object of the present application is to provide a meter reading control method, device, data forwarding platform, storage medium and system, which can avoid the phenomenon that a server cannot receive meter data sent by a concentrator, and further improve meter reading efficiency, aiming at the deficiencies in the prior art.
In order to achieve the above purpose, the technical solutions adopted in the embodiments of the present application are as follows:
in a first aspect, an embodiment of the present application provides a meter reading control method, which is applied to a data forwarding platform in a meter reading control system, where the meter reading control system further includes: at least one DTU device, and at least one concentrator; the DTU is a data transmission unit, and each DTU device and each concentrator are respectively in communication connection with the data forwarding platform; the method comprises the following steps:
receiving a meter reading instruction sent by target DTU equipment, wherein the meter reading instruction comprises the following steps: administrative division codes of the target DTU equipment and addresses of target concentrators;
searching the target concentrator from the at least one concentrator according to an administrative division code of the target DTU equipment and the address of the target concentrator;
verifying whether the target concentrator is online;
if the target concentrator is on line, forwarding the meter reading instruction to the target concentrator so that the target concentrator executes meter reading operation based on the meter reading instruction to obtain meter reading data;
receiving a meter reading execution result sent by the target concentrator, wherein the meter reading execution result comprises: the meter reading data;
and sending the meter reading data to the target DTU equipment.
Optionally, the searching the target concentrator from the at least one concentrator according to the administrative zone code of the DTU device and the address of the target concentrator includes:
according to the administrative division code of the target DTU equipment, searching a candidate concentrator associated with the administrative division code of the target DTU equipment from the at least one concentrator;
determining the target concentrator from the candidate concentrators according to the address of the target concentrator.
Optionally, the meter reading execution result further includes: an administrative partition code for the target concentrator; before the meter reading data is sent to the target DTU equipment, the method comprises the following steps:
searching the target DTU equipment from the at least one DTU equipment according to the administrative division code of the target concentrator;
verifying whether the target DTU equipment is online;
the sending the meter reading data to the target DTU equipment comprises the following steps:
and if the target DTU is on line, forwarding the meter reading execution result to the target DTU equipment.
Optionally, before receiving a meter reading instruction sent by the target DTU device, the method further includes:
receiving a first login frame sent by each DTU device after the DTU device is online, wherein the first login frame comprises: administrative division codes of each DTU device;
verifying whether the administrative division code of each DTU device is valid;
if the administrative division code of each DTU device is valid, sending a first reading instruction to each DTU device so as to read the identification code of each DTU device from each DTU device;
receiving the identification code of each DTU device returned by each DTU device;
verifying whether the identification code of each DTU device is valid;
and if the identification code of each DTU equipment is valid, determining that each DTU equipment is successfully on-line.
Optionally, the identification code of each DTU device is an international mobile equipment identity of each DTU device.
Optionally, before receiving a meter reading instruction sent by the target DTU device, the method further includes:
receiving a second login frame sent by each concentrator after the concentrator is online, wherein the second login frame comprises: an administrative division code for each concentrator;
verifying whether the administrative division code of each concentrator is valid or not;
and if the administrative division code of each concentrator is valid, determining that each concentrator is successfully on-line.
In a second aspect, an embodiment of the present application further provides a meter reading control device, which is applied to a data forwarding platform in a meter reading control system, where the meter reading control system further includes: at least one DTU device, and at least one concentrator; the DTU is a data transmission unit, and each DTU device and each concentrator are respectively in communication connection with the data forwarding platform; the device comprises:
the first receiving module is used for receiving a meter reading instruction sent by target DTU equipment, and the meter reading instruction comprises: administrative division codes of the target DTU equipment and addresses of target concentrators;
the searching module is used for searching the target concentrator from the at least one concentrator according to the administrative division code of the target DTU equipment and the address of the target concentrator;
a verification module for verifying whether the target concentrator is online;
the forwarding module is used for forwarding the meter reading instruction to the target concentrator if the target concentrator is on line so that the target concentrator executes meter reading operation based on the meter reading instruction to obtain meter reading data;
a second receiving module, configured to receive a meter reading execution result sent by the target concentrator, where the meter reading execution result includes: the meter reading data;
and the sending module is used for sending the meter reading data to the target DTU equipment.
Optionally, the searching module is specifically configured to search, according to the administrative division code of the target DTU device, a candidate concentrator associated with the administrative division code of the target DTU device from the at least one concentrator; determining the target concentrator from the candidate concentrators according to the address of the target concentrator.
Optionally, the meter reading execution result further includes: an administrative partition code for the target concentrator;
correspondingly, the sending module is further configured to search the target DTU device from the at least one DTU device according to the administrative division code of the target concentrator; verifying whether the target DTU equipment is online; and if the target DTU is on line, forwarding the meter reading execution result to the target DTU equipment.
Optionally, the apparatus further includes a determining module, where the determining module is configured to receive a first login frame sent by each DTU device after the DTU device is online, where the first login frame includes: administrative division codes of each DTU device; verifying whether the administrative division code of each DTU device is valid; if the administrative division code of each DTU device is valid, sending a first reading instruction to each DTU device so as to read the identification code of each DTU device from each DTU device; receiving the identification code of each DTU device returned by each DTU device; verifying whether the identification code of each DTU device is valid; and if the identification code of each DTU equipment is valid, determining that each DTU equipment is successfully on-line.
Optionally, the identification code of each DTU device is an international mobile equipment identity of each DTU device.
Optionally, the determining module is further configured to receive a second login frame sent by each concentrator after the concentrator goes online, where the second login frame includes: an administrative partition code for each of the concentrators; verifying whether the administrative division code of each concentrator is valid; and if the administrative division code of each concentrator is valid, determining that each concentrator is successfully on-line.
In a third aspect, an embodiment of the present application provides a data forwarding platform, including: the data forwarding platform comprises a processor, a storage medium and a bus, wherein the storage medium stores machine readable instructions executable by the processor, when the data forwarding platform runs, the processor and the storage medium communicate through the bus, and the processor executes the machine readable instructions to execute the steps of the meter reading control method of the first aspect.
In a fourth aspect, an embodiment of the present application provides a storage medium, where a computer program is stored on the storage medium, and when the computer program is executed by a processor, the steps of the meter reading control method according to the first aspect are executed.
In a fifth aspect, an embodiment of the present application provides a meter reading control system, including: the system comprises a data forwarding platform, at least one DTU device and at least one concentrator; wherein, DTU is a data transmission unit; each DTU device and each concentrator are respectively in communication connection with the data forwarding platform; the data forwarding platform is configured to execute the meter reading control method of the first aspect.
The beneficial effect of this application is:
the embodiment of the application provides a meter reading control method, a meter reading control device, a data forwarding platform, a storage medium and a system, wherein the method comprises the following steps: receiving a meter reading instruction sent by target DTU equipment, wherein the meter reading instruction comprises the following steps: the administrative division code of the target DTU equipment and the address of the target concentrator; searching the target concentrator from at least one concentrator according to the administrative division code of the target DTU equipment and the address of the target concentrator; verifying whether the target concentrator is online; if the target concentrator is on line, the meter reading instruction is forwarded to the target concentrator, so that the target concentrator executes meter reading operation based on the meter reading instruction to obtain meter reading data; receiving a meter reading execution result sent by the target concentrator, wherein the meter reading execution result comprises: the meter reading data; and sending the meter reading data to the target DTU equipment.
By adopting the meter reading control method provided by the embodiment of the application, the DTU equipment can convert serial port data into IP data, or the IP data can be converted into the serial port data, and the DTU equipment is matched with the concentrator by using the data forwarding platform to perform the function of forwarding data. That is to say, the concentrator can communicate with the customer-side device through the data forwarding platform and the DTU device, and when the customer-side device does not have a fixed wide area network IP or a wide area network IP, the customer-side device can also receive the meter data sent by the concentrator, thereby avoiding the phenomenon that the customer-side device (server) cannot receive the meter data sent by the concentrator, and further improving the meter reading efficiency.
Drawings
To more clearly illustrate the technical solutions of the embodiments of the present application, the drawings needed in the embodiments will be briefly described below, it should be understood that the following drawings only illustrate some embodiments of the present application and therefore should not be considered as limiting the scope, and those skilled in the art can also obtain other related drawings based on the drawings without inventive efforts.
Fig. 1 is a schematic structural diagram of a meter reading control system according to an embodiment of the present application;
fig. 2 is a schematic flow chart of a meter reading control method according to an embodiment of the present application;
fig. 3 is a schematic flow chart of another meter reading control method according to an embodiment of the present application;
fig. 4 is a schematic flow chart of another meter reading control method provided in the embodiment of the present application;
fig. 5 is a schematic flow chart of another meter reading control method according to an embodiment of the present application;
fig. 6 is a schematic structural diagram of a meter reading control device provided in an embodiment of the present application;
fig. 7 is a schematic structural diagram of a data forwarding platform according to an embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some embodiments of the present application, but not all embodiments.
Thus, the following detailed description of the embodiments of the present application, as presented in the figures, is not intended to limit the scope of the claimed invention, but is merely representative of selected embodiments of the application. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments in the present application without making any creative effort belong to the protection scope of the present application.
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.
Before explaining the embodiments of the present application in detail, an application scenario of the present application will be described first. Fig. 1 is a schematic structural diagram of a meter reading control system provided in an embodiment of the present application, and as shown in fig. 1, the meter reading control system may include: the system comprises a data forwarding platform 100, at least one DTU device 102 and at least one concentrator 101, wherein each DTU device 102 and each concentrator 101 are respectively connected with the data forwarding platform 100 in a communication mode.
The DTU (Data Transfer unit) device 102 is a device that converts serial Data into IP Data or vice versa. In general, as long as the performance of the background devices (servers) of the data forwarding platform 100 is sufficient, the number of the concentrators 101 and the number of the DTU devices 102 respectively connected to both sides of the data forwarding platform 100 may not be limited. The DTU device 102 is further connected to a client side device (e.g., a desktop computer), the client side device can send a meter reading instruction to the corresponding DTU device according to an operation instruction input by a client, and the data forwarding platform 100 can be connected to the DTU devices 102 of different clients, for example, the DTU devices 102 of an electric power company and the DTU devices 102 of a water conservancy company, which are not limited in this application.
The concentrator 101 is further connected with meters, each concentrator 101 can be simultaneously connected with a plurality of meters, the meters can be different types of meters, and also can be the same type of meters, wherein the types of the meters can be electric meters, water meters, natural gas meters and the like. The data forwarding platform 100 may be connected to concentrators 101 of different customers, for example, the concentrators 101 of an electric power company and the concentrators 101 of a water conservancy company may be connected, which is not limited in this application.
It should be noted that the DTU devices 102 and the concentrators 101 of the same customer have the same identification information, such as an administrative division code, and a plurality of DTU devices 102 of the same customer can be distinguished by using address information, and similarly, a plurality of concentrators 101 of the same customer can also be distinguished by using address information.
Customer information is stored in advance on the data forwarding platform 100, the customer information may include a customer name, a region, a detailed address, a contact person, a contact phone, an agent phone, a salesman phone, and the like, and mark information related to the DTU device 102 and mark information related to the concentrator 101 are also stored in advance, the data forwarding platform 100 may search a matched concentrator 101 from a plurality of concentrators 101 according to a meter reading instruction sent by the DTU device 102, the matched concentrator 101 obtains meter reading data from a corresponding meter and actively sends the meter reading data to the data forwarding platform 100, and the data forwarding platform 100 sends the meter reading data to a customer-side device through the DTU device 102.
The meter reading control method mentioned in the present application is exemplified below with reference to the accompanying drawings. Fig. 2 is a schematic flow chart of a meter reading control method provided in an embodiment of the present application. As shown in fig. 2, the method is applied to the data forwarding platform 100 in the meter reading control system mentioned above, and the method may include:
s201, receiving a meter reading instruction sent by target DTU equipment, wherein the meter reading instruction comprises the following steps: the administrative zone code of the target DTU device, and the address of the target concentrator.
The data forwarding platform may be connected to at least one DTU device, and the DTU device may be preconfigured with DTU information, where the DTU information may include an International Mobile Equipment Identity (IMEI), an administrative partition code, a belonging customer, a vendor name, a version number, a user type, a user, a use status, and the like. The target DTU device may send the meter reading instruction sent by the client side device to the data forwarding platform through a wireless communication technology, for example, a General Packet Radio Service (GPRS) communication technology. Specifically, the target DTU device may convert information (i.e., a meter reading instruction) that a data type sent by the client device is serial data into information that the data type is IP data, and the data forwarding platform is a device with a fixed IP, so that the meter reading instruction sent by the target DTU device may be received through a GPRS communication technology. The meter reading instruction may include, in addition to the administrative division code of the target DTU device and the address of the target concentrator, time information indicating that the client side needs to acquire data generated by the meter during the period of time, and of course, may include other information, which is not limited in this application.
S202, searching the target concentrator from at least one concentrator according to the administrative division code of the target DTU equipment and the address of the target concentrator.
S203, verifying whether the target concentrator is on line.
The data forwarding platform stores a plurality of concentrator information in advance, the concentrator information can include an administrative division code of a concentrator and address information of the concentrator, the information can be stored in a memory associated with the data forwarding platform in advance, the data forwarding platform searches whether the target concentrator exists from a table storing a plurality of concentrator information according to the administrative division code of the target DTU equipment and the address of the target concentrator, when the target concentrator exists, whether a session channel for communicating with the target concentrator exists is judged, and when the target concentrator does not exist, namely when the data forwarding platform does not support communication with the target concentrator, the nonexistence result can be fed back to the client side equipment through the target DTU equipment.
And S204, if the target concentrator is on line, forwarding the meter reading instruction to the target concentrator so that the target concentrator executes meter reading operation based on the meter reading instruction to obtain meter reading data.
If the data forwarding platform is provided with a session channel communicated with the target concentrator, the meter reading instruction can be forwarded to the target concentrator through the session channel, the target concentrator can obtain meter reading data on a corresponding meter in an RS-485 bus communication mode according to the meter reading instruction, and the obtained meter reading data can be stored in a storage associated with the target concentrator. And if the data forwarding platform does not have a session channel for communicating with the target concentrator, the data forwarding platform does not send the meter reading instruction to the target concentrator.
S205, receiving a meter reading execution result sent by the target concentrator, wherein the meter reading execution result comprises: and (4) reading the meter data.
And S206, sending the meter reading data to the target DTU equipment.
The target concentrator can simultaneously collect data on a plurality of meters according to the meter reading instruction, specifically, the data on each meter, namely the meter reading data, can be acquired through the data collector connected with each meter, the target concentrator can send the meter reading data to the data forwarding platform through the mentioned session channel, and the data forwarding platform can send the meter reading data to the target DTU equipment which is the same as the administrative division code of the target concentrator.
To sum up, in the meter reading control method provided by the present application, the method may include: receiving a meter reading instruction sent by target DTU equipment, wherein the meter reading instruction comprises the following steps: the administrative division code of the target DTU equipment and the address of a target concentrator; searching the target concentrator from at least one concentrator according to the administrative division code of the target DTU equipment and the address of the target concentrator; verifying whether the target concentrator is online; if the target concentrator is on line, the meter reading instruction is forwarded to the target concentrator, so that the target concentrator executes meter reading operation based on the meter reading instruction to obtain meter reading data; receiving a meter reading execution result sent by the target concentrator, wherein the meter reading execution result comprises: the meter reading data; and sending the meter reading data to the target DTU equipment.
By adopting the meter reading control method provided by the embodiment of the application, the DTU equipment can convert serial port data into IP data, or convert the IP data into the serial port data, and the DTU equipment is matched with the concentrator by using the data forwarding platform to perform the data forwarding function. That is to say, the concentrator can communicate with the customer-side device through the data forwarding platform and the DTU device, and when the customer-side device does not have a fixed wide area network IP or a wide area network IP, the customer-side device can also receive the meter data sent by the concentrator, thereby avoiding the phenomenon that the customer-side device (server) cannot receive the meter data sent by the concentrator, and further improving the meter reading efficiency.
Fig. 3 is a schematic flow chart of another meter reading control method provided in the embodiment of the present application. As shown in fig. 3, optionally, searching the target concentrator from at least one concentrator according to the administrative division code of the DTU device and the address of the target concentrator includes:
and S301, searching a candidate concentrator associated with the administrative division code of the target DTU equipment from at least one concentrator according to the administrative division code of the target DTU equipment.
S302, determining the target concentrator from the candidate concentrators according to the address of the target concentrator.
The memory of the data forwarding platform stores concentrator information in advance, and the concentrator information may include an administrative partition code of each concentrator, address information of each concentrator, whether each concentrator has a session channel, and the like. Firstly, whether a concentrator with the same administrative division code exists or not can be searched from the memory according to the administrative division code of the target DTU equipment, the concentrator with the same administrative division code can be marked as a candidate concentrator, then the address information of the target concentrator is matched with the candidate concentrators with different address information, and if the matching is successful, the candidate concentrator with the same address information is determined as the target concentrator.
Optionally, the meter reading execution result further includes: an administrative partition code for the target concentrator; before sending the meter reading data to the target DTU equipment, the method further comprises the following steps: searching the target DTU equipment from at least one DTU equipment according to the administrative division code of the target concentrator; verifying whether the target DTU equipment is on line; sending the meter reading data to the target DTU equipment, comprising: and if the target DTU is on line, forwarding the meter reading execution result to the target DTU equipment.
Specifically, the data forwarding platform stores a plurality of pieces of DTU device information in advance, the DTU device information may include an administrative partition code of the DTU device, the administrative partition code of each DTU device may be stored in advance in a memory associated with the data forwarding platform, and the data forwarding platform searches whether a DTU device having a relevance, that is, a target DTU device exists from the memory storing the plurality of pieces of DTU device information according to the administrative partition code of the target concentrator. That is, the administrative division code of the target DTU device is the same as the administrative division code of the target concentrator. When the DTU equipment exists, whether a session channel for communicating with the target DTU equipment exists is judged, and when the target concentrator does not exist, the data forwarding platform does not support the communication with the target DTU equipment. If a session channel for communicating with the target DTU equipment exists on the data forwarding platform, the meter reading execution result, namely meter reading data, can be sent to the target DTU equipment through the session channel.
The DTU device online content and the concentrator online content can be introduced separately through two embodiments as follows.
Fig. 4 is a schematic flow chart of another meter reading control method provided in the embodiment of the present application. As shown in fig. 4, optionally, before receiving a meter reading instruction sent by a target DTU device, the method may further include:
s401, receiving a first login frame sent by each DTU device after the DTU device is on line.
S402, verifying whether the administrative division code of each DTU device is valid.
Wherein the first login frame comprises: the DTU information can be used for maintaining the DTU Equipment and comprises an International Mobile Equipment Identity (IMEI), an administrative division code, a client, a manufacturer name, a version number, a user type, a user, a use state and the like, each DTU Equipment can actively send a first login frame containing the administrative division code to the data forwarding platform, the data forwarding platform can verify whether the administrative division code of each DTU Equipment is valid according to the prestored administrative division code information, and the administrative division code information can comprise the administrative division code (which is equivalent to the administrative division code of the DTU Equipment and the administrative division code of the concentrator), the applicant, the client, an opening date, an expiration date, a use state and the like.
And S403, if the administrative division code of each DTU device is valid, sending a first reading instruction to each DTU device so as to read the identification code of each DTU device from each DTU device.
When the result of the verification is that the administrative division code of the DTU device is valid, that is, the administrative division code of the DTU device is stored in advance on the data forwarding platform and is available, the data forwarding platform may send a first read instruction to the DTU device that is successfully verified, and the DTU device that receives the first read instruction may actively send the international mobile equipment identification code (that is, the identification code of the DTU device) in the DTU information that is stored in advance to the data forwarding platform.
S404, receiving the identification code of each DTU device returned by each DTU device;
s405, verifying whether the identification code of each DTU device is valid;
s406, if the identification code of each DTU device is valid, determining that each DTU device is on line successfully.
The data forwarding platform can verify whether the received identification code of the DTU equipment is matched with the administrative division code of the DTU equipment or not according to the received identification code of the DTU equipment and the corresponding relation (namely the administrative division code information) between the administrative division code of the pre-stored DTU equipment and the identification code of the DTU equipment, and when the identification code of the DTU equipment is matched with the administrative division code of the DTU equipment, the identification code of the DTU equipment is proved to be effective, namely the data forwarding platform can determine that the DTU equipment is successfully on-line and can establish a session channel for communicating with the DTU equipment. Therefore, the situation that meter reading data are leaked when the administrative division code of the DTU equipment is maliciously modified can be avoided through the method.
Fig. 5 is a schematic flow chart of another meter reading control method according to an embodiment of the present application. As shown in fig. 5, optionally, before receiving a meter reading instruction sent by the target DTU device, the method may further include:
s501, receiving a second login frame sent by each concentrator after the concentrator is on line.
S502, verifying whether the administrative division code of each concentrator is valid.
S503, if the administrative division code of each concentrator is valid, determining that each concentrator is on-line successfully.
Wherein the second login frame comprises: the administrative division code of each concentrator is pre-stored on each concentrator which is in communication connection with the data forwarding platform, each concentrator can actively send a second login frame containing the administrative division code to the data forwarding platform, and the data forwarding platform can verify whether the administrative division code of each concentrator is valid according to the pre-stored administrative division code information. Specifically, the data forwarding platform may verify whether the administrative division code information includes the administrative division code of the concentrator according to the received administrative division code of the concentrator and the administrative division code in the administrative division code information stored in advance, and if the administrative division code information includes the administrative division code of the concentrator, the administrative division code of the concentrator is proved to be valid, that is, the data forwarding platform may determine that the concentrator is successfully on line, and may establish a session channel for communicating with the concentrator.
It should be noted that the content in the administrative division code information pre-stored on the data forwarding platform may be modified according to actual needs, for example, the administrative division code of the existing concentrator and the administrative division code of the DTU device are deleted, or a new administrative division code of the concentrator and the administrative division code of the DTU device are added.
Fig. 6 is a schematic structural diagram of a meter reading control device provided in an embodiment of the present application, and as shown in fig. 6, the device may include:
a first receiving module 601, configured to receive a meter reading instruction sent by a target DTU device, where the meter reading instruction includes: the administrative division code of the target DTU equipment and the address of the target concentrator;
a searching module 602, configured to search the target concentrator from at least one concentrator according to the administrative division code of the target DTU device and the address of the target concentrator;
a verification module 603 for verifying whether the target concentrator is online;
a forwarding module 604, configured to forward the meter reading instruction to the target concentrator if the target concentrator is online, so that the target concentrator executes a meter reading operation based on the meter reading instruction to obtain meter reading data;
a second receiving module 605, configured to receive a meter reading execution result sent by the target concentrator, where the meter reading execution result includes: the meter reading data;
a sending module 606, configured to send the meter reading data to the target DTU device.
Optionally, the searching module 602 is specifically configured to search, according to the administrative zone code of the target DTU device, a candidate concentrator having an administrative zone code associated with the target DTU device from at least one concentrator; the target concentrator is determined from the candidate concentrators based on the address of the target concentrator.
Optionally, the meter reading execution result further includes: an administrative partition code for the target concentrator;
correspondingly, the sending module 606 is further configured to search the target DTU device from the at least one DTU device according to the administrative partition code of the target concentrator; verifying whether the target DTU equipment is online; and if the target DTU is on line, forwarding the meter reading execution result to the target DTU equipment.
Optionally, the apparatus further includes a determining module, configured to receive a first login frame sent by each DTU device after the DTU device is online; verifying whether the administrative division code of each DTU device is valid; if the administrative division code of each DTU device is valid, sending a first reading instruction to each DTU device so as to read the identification code of each DTU device from each DTU device; receiving an identification code of each DTU device returned by each DTU device; verifying whether the identification code of each DTU device is valid; and if the identification code of each DTU equipment is valid, determining that each DTU equipment is successfully on-line.
Optionally, the identification code of each DTU device is an international mobile equipment identity of each DTU device.
Optionally, the determining module is further configured to receive a second login frame sent by each concentrator after the concentrator is online; verifying whether the administrative division code of each concentrator is valid; and if the administrative division code of each concentrator is valid, determining that each concentrator is on line successfully.
The above-mentioned apparatus is used for executing the method provided by the foregoing embodiment, and the implementation principle and technical effect are similar, which are not described herein again.
The above modules may be one or more integrated circuits configured to implement the above methods, such as: one or more Application Specific Integrated Circuits (ASICs), or one or more microprocessors (DSPs), or one or more Field Programmable Gate Arrays (FPGAs), among others. For another example, when one of the above modules is implemented in the form of a Processing element scheduler code, the Processing element may be a general-purpose processor, such as a Central Processing Unit (CPU) or other processor capable of calling program code. For another example, these modules may be integrated together and implemented in the form of a system-on-a-chip (SOC).
Fig. 7 is a schematic structural diagram of a data forwarding platform provided in an embodiment of the present application, and as shown in fig. 7, the data forwarding platform may include: the data forwarding platform comprises a processor 701, a storage medium 702 and a bus 703, wherein the storage medium 702 stores machine-readable instructions executable by the processor 701, when the data forwarding platform operates, the processor 701 communicates with the storage medium 702 through the bus 703, and the processor 701 executes the machine-readable instructions to execute the steps of the meter reading control method. The specific implementation and technical effects are similar, and are not described herein again.
Optionally, the present application further provides a storage medium, where a computer program is stored on the storage medium, and when the computer program is executed by the processor, the steps of the meter reading control method are executed.
In the several embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the units is only one type of logical functional division, and other divisions may be realized in practice, for example, multiple units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In another aspect, the indirect coupling or communication connection of devices or units may be electrical, mechanical or other.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, or in a form of hardware plus a software functional unit.
The integrated unit implemented in the form of a software functional unit may be stored in a computer readable storage medium. The software functional unit is stored in a storage medium and includes several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) or a processor (in english: processor) to execute some steps of the methods described in the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a portable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other media capable of storing program codes.
It is noted that, in this document, relational terms such as "first" and "second," and the like, are 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 phrases "comprising a," "8230," "8230," or "comprising" does not exclude the presence of additional like elements in a process, method, article, or apparatus that comprises the element.

Claims (9)

1. A meter reading control method is characterized in that the method is applied to a data forwarding platform in a meter reading control system, and the meter reading control system further comprises the following steps: at least one DTU device, and at least one concentrator; the DTU is a data transmission unit, and each DTU device and each concentrator are respectively in communication connection with the data forwarding platform; the method comprises the following steps:
receiving a meter reading instruction sent by target DTU equipment, wherein the meter reading instruction comprises the following steps: administrative division codes of the target DTU equipment and addresses of target concentrators;
searching the target concentrator from the at least one concentrator according to an administrative division code of the target DTU equipment and the address of the target concentrator;
verifying whether the target concentrator is online;
if the target concentrator is on line, forwarding the meter reading instruction to the target concentrator so that the target concentrator executes meter reading operation based on the meter reading instruction to obtain meter reading data;
receiving a meter reading execution result sent by the target concentrator, wherein the meter reading execution result comprises: the meter reading data;
sending the meter reading data to the target DTU equipment;
wherein, the searching the target concentrator from the at least one concentrator according to the administrative division code of the DTU device and the address of the target concentrator includes:
according to the administrative division code of the target DTU equipment, searching a candidate concentrator associated with the administrative division code of the target DTU equipment from the at least one concentrator;
determining the target concentrator from the candidate concentrators according to the address of the target concentrator.
2. The method of claim 1, wherein the meter reading execution result further comprises: an administrative partition code for the target concentrator; before the meter reading data is sent to the target DTU equipment, the method comprises the following steps:
searching the target DTU equipment from the at least one DTU equipment according to the administrative division code of the target concentrator;
verifying whether the target DTU equipment is online;
the sending the meter reading data to the target DTU equipment comprises the following steps:
and if the target DTU is on line, forwarding the meter reading execution result to the target DTU equipment.
3. The method of claim 1, wherein before receiving the meter reading instruction sent by the target DTU device, the method further comprises:
receiving a first login frame sent by each DTU device after the DTU device is online, wherein the first login frame comprises: administrative division codes of each DTU device;
verifying whether the administrative division code of each DTU device is valid;
if the administrative division code of each DTU device is valid, sending a first reading instruction to each DTU device so as to read the identification code of each DTU device from each DTU device;
receiving the identification code of each DTU device returned by each DTU device;
verifying whether the identification code of each DTU device is valid;
and if the identification code of each DTU equipment is valid, determining that each DTU equipment is successfully on-line.
4. The method of claim 3, wherein the identification code of each DTU device is an International Mobile Equipment Identity (IMEI) code of each DTU device.
5. The method according to any one of claims 1-4, wherein before receiving the meter reading instruction sent by the target DTU device, the method further comprises:
receiving a second login frame sent by each concentrator after the concentrator is online, wherein the second login frame comprises: an administrative partition code for each of the concentrators;
verifying whether the administrative division code of each concentrator is valid;
and if the administrative division code of each concentrator is valid, determining that each concentrator is successfully on-line.
6. The utility model provides a meter reading control device which characterized in that is applied to the data forwarding platform among the meter reading control system, the meter reading control system still includes: at least one DTU device, and at least one concentrator; the DTU is a data transmission unit, and each DTU device and each concentrator are respectively in communication connection with the data forwarding platform; the device comprises:
the first receiving module is used for receiving a meter reading instruction sent by target DTU equipment, and the meter reading instruction comprises: administrative division codes of the target DTU equipment and addresses of target concentrators;
the searching module is used for searching the target concentrator from the at least one concentrator according to the administrative division code of the target DTU equipment and the address of the target concentrator;
a verification module for verifying whether the target concentrator is online;
the forwarding module is used for forwarding the meter reading instruction to the target concentrator if the target concentrator is on line so that the target concentrator executes meter reading operation based on the meter reading instruction to obtain meter reading data;
a second receiving module, configured to receive a meter reading execution result sent by the target concentrator, where the meter reading execution result includes: the meter reading data;
the sending module is used for sending the meter reading data to the target DTU equipment;
the search module is specifically configured to search, according to the administrative division code of the target DTU device, a candidate concentrator associated with the administrative division code of the target DTU device from the at least one concentrator; determining the target concentrator from the candidate concentrators according to the address of the target concentrator.
7. A data forwarding platform, comprising: a processor, a storage medium and a bus, wherein the storage medium stores machine-readable instructions executable by the processor, when the data forwarding platform is operated, the processor communicates with the storage medium through the bus, and the processor executes the machine-readable instructions to execute the steps of the meter reading control method according to any one of claims 1 to 5.
8. A storage medium, characterized in that the storage medium has stored thereon a computer program which, when executed by a processor, performs the steps of the meter reading control method according to any one of claims 1 to 5.
9. A meter reading control system, comprising: the system comprises a data forwarding platform, at least one DTU device and at least one concentrator; wherein, DTU is a data transmission unit;
each DTU device and each concentrator are respectively in communication connection with the data forwarding platform;
the data forwarding platform is used for executing the meter reading control method in any one of the claims 1-5.
CN202011326114.7A 2020-11-23 2020-11-23 Meter reading control method and device, data forwarding platform, storage medium and system Active CN112532708B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011326114.7A CN112532708B (en) 2020-11-23 2020-11-23 Meter reading control method and device, data forwarding platform, storage medium and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011326114.7A CN112532708B (en) 2020-11-23 2020-11-23 Meter reading control method and device, data forwarding platform, storage medium and system

Publications (2)

Publication Number Publication Date
CN112532708A CN112532708A (en) 2021-03-19
CN112532708B true CN112532708B (en) 2022-12-27

Family

ID=74992851

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011326114.7A Active CN112532708B (en) 2020-11-23 2020-11-23 Meter reading control method and device, data forwarding platform, storage medium and system

Country Status (1)

Country Link
CN (1) CN112532708B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113259471A (en) * 2021-06-03 2021-08-13 深圳市科陆电子科技股份有限公司 Meter reading method, system, equipment and storage medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN201600774U (en) * 2010-01-12 2010-10-06 河源市雅达电子有限公司 Double-channel automatic meter reading system
CN103021155A (en) * 2012-12-31 2013-04-03 重庆川仪自动化股份有限公司 Wireless meter reading system
CN104881976A (en) * 2014-02-27 2015-09-02 感知技术无锡有限公司 Data transmission method and data transmission apparatus
CN104881982A (en) * 2015-05-06 2015-09-02 上海应时为节能科技有限公司 Intelligent meter data acquiring system having self-adaptive meter reading strategy and acquiring method of intelligent meter data acquiring system
CN109688563A (en) * 2017-10-19 2019-04-26 中兴通讯股份有限公司 A kind of meter register method, meter reading terminal, concentrator and computer readable storage medium
WO2020062193A1 (en) * 2018-09-29 2020-04-02 福建网能科技开发有限责任公司 Electric power data acquisition system based on beidou communication technology
EP3654596A1 (en) * 2018-11-15 2020-05-20 Nokia Solutions and Networks Oy Encapsulation of data packets

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102270383A (en) * 2011-08-10 2011-12-07 李蓉 Remote intelligent meter reading system
CN109302646A (en) * 2018-11-22 2019-02-01 安徽翼迈科技股份有限公司 A kind of implementation method of the water meter long-distance meter-reading system based on GPRS and system
CN111491032A (en) * 2020-04-26 2020-08-04 国网福建省电力有限公司信息通信分公司 Data transmission method and device between 5G core network and power service platform

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN201600774U (en) * 2010-01-12 2010-10-06 河源市雅达电子有限公司 Double-channel automatic meter reading system
CN103021155A (en) * 2012-12-31 2013-04-03 重庆川仪自动化股份有限公司 Wireless meter reading system
CN104881976A (en) * 2014-02-27 2015-09-02 感知技术无锡有限公司 Data transmission method and data transmission apparatus
CN104881982A (en) * 2015-05-06 2015-09-02 上海应时为节能科技有限公司 Intelligent meter data acquiring system having self-adaptive meter reading strategy and acquiring method of intelligent meter data acquiring system
CN109688563A (en) * 2017-10-19 2019-04-26 中兴通讯股份有限公司 A kind of meter register method, meter reading terminal, concentrator and computer readable storage medium
WO2020062193A1 (en) * 2018-09-29 2020-04-02 福建网能科技开发有限责任公司 Electric power data acquisition system based on beidou communication technology
EP3654596A1 (en) * 2018-11-15 2020-05-20 Nokia Solutions and Networks Oy Encapsulation of data packets

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
远程抄表系统集中器的设计与实现;王宏文等;《自动化与仪表》;20141215(第12期);75-77 *

Also Published As

Publication number Publication date
CN112532708A (en) 2021-03-19

Similar Documents

Publication Publication Date Title
CN111143673B (en) Method and system for processing information of multi-channel clients and automatically marketing
CN102958008B (en) Method, system and mobile terminals for realizing instant messaging
US20210035126A1 (en) Data processing method, system and computer device based on electronic payment behaviors
CN102118436B (en) Method and system for achieving a remote control help session on a computing device
WO2019024496A1 (en) Enterprise recommendation method and application server
CN105763581A (en) Method for pushing exhibition information, equipment and system
CN101232468A (en) Request-answering system and method
CN104092555B (en) A kind of methods, devices and systems of undated parameter value
US8190693B2 (en) Reclaiming lost internet customers
CN112532708B (en) Meter reading control method and device, data forwarding platform, storage medium and system
CN103248677A (en) Internet behavior analysis system and working method thereof
CN113890879B (en) Load balancing method and device for data access, computer equipment and medium
CN111083179B (en) Internet of things cloud platform, and equipment interaction method and device based on same
CN111756796B (en) Method and device for pushing rights and interests resource information, storage medium and terminal
CN104243565B (en) The method and apparatus for obtaining configuration data
CN109429190A (en) A kind of SMS classified display methods and device
US10044874B2 (en) Telephone number based information loading method and device
CN104601448A (en) Method and device for handling virtual card
RU2008121872A (en) NEAREST NODE FOR CONNECTIONS OF DISTRIBUTED SERVICES
CN106559556A (en) A kind of communication processing method, device
CN110796543A (en) Method and device for obtaining customized information based on relational network and electronic equipment
CN111767481A (en) Access processing method, device, equipment and storage medium
CN102521757A (en) One-key application method for commercial tenant membership card on the basis of intelligent terminal
CN107360079A (en) User management method and equipment based on Internet of Things
CN108268545A (en) A kind of method and apparatus of the establishment in the user tag library of classification

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