4G collector meter search and reading method, device, computer equipment and storage medium

By using the preset meter reading file queue and broadcast information to judge the electric energy meter in the 4G collector, real-time meter search and meter reading of the electric energy meter is realized, which solves the problem of difficulty in real-time updating of electric energy meter change information under the traditional 485 communication method. Improved the efficiency and accuracy of table search.

CN118214965BActive Publication Date: 2024-10-11ZHEJIANG CHINT INSTR & METER
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410628169.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Priority Date
2023-08-24
Filing Date
2024-05-21
Publication Date
2024-10-11
Estimated Expiration
2044-05-21

AI Technical Summary

Technical Problem

Under the 485 communication mode in traditional 4G collectors, the meter search business and the meter collection and reading business are performed in a time-sharing manner. As a result, when the energy meter equipment changes, the collector cannot obtain the change information in real time and needs to wait until the next time the meter search is started to update. Energy meter files can easily cause missing copies.

Method used

The first communication method is connected to the system platform, and the second communication method is connected to the electric energy meter. The first type of electric energy meter is read based on the preset meter reading file queue. At the same time, the broadcast information of the second type of electric energy meter is searched, and the judgment is made. Initiate a connection request to bind the target electric energy meter to achieve simultaneous meter reading and meter search services, improving real-time performance and efficiency.

Benefits of technology

It realizes full real-time meter search and immediate acquisition, improves the efficiency and accuracy of meter search, avoids the problem of inconsistency between system energy meter files and actual on-site energy meter files, and promptly corrects redundancy and errors in system entry.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118214965B_ABST
    Figure CN118214965B_ABST
Patent Text Reader

Abstract

The present invention relates to the field of intelligent meter technology, and discloses a 4G collector meter search and meter reading method, device, computer equipment and storage medium. The 4G collector meter search and meter reading method includes: reading a first type of electric energy meter based on a preset meter reading file queue, and searching for broadcast information of a second type of electric energy meter at the same time; when receiving broadcast information sent by a second type of electric energy meter through a second communication method, judging whether the second type of electric energy meter is a target meter search electric energy meter; if the second type of electric energy meter is a target meter search electric energy meter, initiating a connection request for the second type of electric energy meter and binding it; establishing a target electric energy meter file based on the bound second type of electric energy meter, and adding the target electric energy meter file to the meter reading file queue. By implementing the present invention, it is possible to realize simultaneous meter reading and meter search services, as well as full real-time meter search and immediate meter collection of electric energy meters, and avoid the problem of missed reading due to the collector being unable to obtain change information in real time.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of intelligent meters, and in particular to a 4G collector meter search and reading method, device, computer equipment and storage medium. Background Art

[0002] In the traditional 4G collector solution, the local communication technology for downlink energy meter collection generally adopts 485 communication. It is necessary to connect all energy meters with the 485 communication port of the 4G collector with wires. There must be no faults such as wrong connection of AB items, short circuit, open circuit, etc., otherwise it will cause 485 communication failure.

[0003] When 485 communication is normal, the collector starts to search the meter address bit by bit according to the wildcard until each address is searched, and the centralized collection of meter data can be started only after the meter search is completed and the file is established. Because the meter search service and the collection and reading service are carried out in time under the 485 communication mode, when the meter equipment changes, the collector cannot obtain the change information in real time, and needs to wait until the next meter search is started to update the meter file, which is easy to cause missed reading. Summary of the invention

[0004] In view of this, the present invention provides a 4G collector meter search and meter reading method, device, computer equipment and storage medium to solve the problem that the meter search service and the meter collection and meter reading service are carried out in time under the 485 communication mode. Therefore, when the electric energy meter equipment changes, the collector cannot obtain the change information in real time, and needs to wait until the next time the meter search is started to update the electric energy meter file, which easily causes the problem of missing meter reading.

[0005] In a first aspect, the present invention provides a 4G collector meter search and reading method, the method is applied to the collector, the collector is connected to the system platform through a first communication mode, the collector is connected to the electric energy meter through a second communication mode, the method includes:

[0006] Based on a preset meter reading file queue, a first type of electric energy meter is read, and at the same time, broadcast information of a second type of electric energy meter is searched, wherein the first type of electric energy meter is an electric energy meter in the meter reading file queue, and the second type of electric energy meter is an electric energy meter not in the meter reading file queue; based on the received broadcast information sent by the second type of electric energy meter through the second communication method, it is determined whether the second type of electric energy meter is a target meter search electric energy meter; if the second type of electric energy meter is a target meter search electric energy meter, a connection request is initiated to the second type of electric energy meter and the electric energy meter is bound; based on the bound second type of electric energy meter, a target electric energy meter file is established, and the target electric energy meter file is added to the meter reading file queue.

[0007] The 4G collector meter search and meter reading method provided in this embodiment, firstly, reads the first type of electric energy meter based on the preset meter reading file queue, and searches the broadcast information of the second type of electric energy meter at the same time, so as to realize the simultaneous meter reading service and meter search service, and can realize full real-time meter search and instant meter collection of the electric energy meter, and the meter search efficiency and real-time performance are much higher than the meter search method according to the meter address wildcard in the case of 485 wired communication; secondly, based on the received broadcast information sent by the second type of electric energy meter through the second communication method, it is judged whether the second type of electric energy meter is the target meter search electric energy meter, the collector can obtain the specific broadcast name of the electric energy meter, and only the device with the specific broadcast name can be connected by the collector, and the Bluetooth electric energy meter with the Bluetooth signal strength below the specified threshold is filtered to avoid the problem of unstable connection of the Bluetooth electric energy meter with the strength weaker than the threshold, so as to further improve the meter search efficiency and accuracy; thereafter, if the second type of electric energy meter is the target meter search electric energy meter, a connection request is initiated to the second type of electric energy meter and binding is performed, so as to realize one-to-many binding and improve the meter search efficiency. Finally, the target electric energy meter file is established based on the second type of electric energy meter after binding, and the target electric energy meter file is added to the meter reading file queue. Based on the scanning of the electric energy meter Bluetooth broadcast, all electric energy meters that meet the requirements within the Bluetooth communication radius can be quickly found and the meter reading file queue can be updated. If a new electric energy meter device that meets the requirements is found, the meter reading file queue will be updated in real time. The meter reading file queue in the collector is uploaded to the system platform regularly, and the system platform completes the proofreading and confirmation of the meter reading file queue, thereby realizing that the collection device side actively completes the table search and file establishment and actively reports the electric energy meter file to the system. Compared with the original method of sending the electric energy meter file to the collection device through the system, and the collection device reads the meter according to the electric energy meter file sent by the system, the method of actively reporting the meter reading file queue can avoid the problem of inconsistency between the system electric energy meter file and the actual electric energy meter file on site, and can also quickly correct the redundancy and error problems of the electric energy meter file entered into the system.

[0008] In an optional embodiment, the second communication mode is Bluetooth, and the determination of whether the second type of electric energy meter is a target search electric energy meter based on the received broadcast information sent by the second type of electric energy meter via the second communication mode includes: when receiving the broadcast information sent by the second type of electric energy meter via Bluetooth, obtaining the Bluetooth signal strength of the second type of electric energy meter; determining whether the Bluetooth signal strength is higher than a preset threshold; if the Bluetooth signal strength is higher than the preset threshold, parsing the broadcast information to obtain the broadcast name and current binding status of the second type of electric energy meter; determining whether the broadcast name is a preset name; if the broadcast name is a preset name, determining whether the current binding status is an unbound status; if the current binding status is an unbound status, determining that the second type of electric energy meter is the target search electric energy meter.

[0009] The 4G collector meter search and reading method provided in this embodiment determines whether the second type of electric energy meter is the target meter search based on the received broadcast information sent by the second type of electric energy meter through the second communication method. The collector can obtain the specific broadcast name of the electric energy meter. Only devices with specific broadcast names can be connected by the collector. Bluetooth meters with Bluetooth signal strength below the specified threshold are filtered to avoid the problem of unstable connection of Bluetooth electric energy meters with strength weaker than the threshold, thereby further improving the efficiency and accuracy of meter search.

[0010] In an optional embodiment, if the second type of electric energy meter is a target search electric energy meter, a connection request is initiated to the second type of electric energy meter and the electric energy meter is bound, including: if the second type of electric energy meter is a target search electric energy meter, the broadcast information is parsed to obtain the MAC address, and a Bluetooth protocol connection request is initiated to the MAC address; when a pass signal in response to the Bluetooth protocol connection request is received, application layer data is interacted with the second type of electric energy meter to bind the second type of electric energy meter.

[0011] The 4G collector meter search and meter reading method provided in this embodiment, if the second type of electric energy meter is the target meter search, the broadcast information is parsed to obtain the MAC address, and a Bluetooth protocol connection request is initiated to the MAC address; when a pass signal in response to the Bluetooth protocol connection request is received, application layer data is interacted with the second type of electric energy meter, and the second type of electric energy meter is bound to achieve one-to-many binding, thereby improving the meter search efficiency.

[0012] In an optional implementation, the first communication mode is 4G, and the target electric energy meter file is established based on the bound second type electric energy meter, and the target electric energy meter file is added to the meter reading file queue, including: obtaining the table address of the target meter-search electric energy meter; establishing the target electric energy meter file of the target meter-search electric energy meter in the collector based on the table address; and adding the target electric energy meter file to the meter reading file queue.

[0013] The 4G collector meter search and meter reading method provided in this embodiment, by obtaining the meter address of the target meter search electric energy meter, is helpful for effective management, monitoring and maintenance of the electric energy meter, and provides a reliable data basis for electricity consumption metering and statistical analysis. Based on the scanning of the electric energy meter Bluetooth broadcast, it can quickly find all the electric energy meters that meet the requirements within the Bluetooth communication radius and complete the update of the meter reading file queue. If a new electric energy meter device that meets the requirements is found, the meter reading file queue will be updated in real time. The meter reading file queue in the collector is regularly uploaded to the system platform through the 4G communication method, and the system platform completes the proofreading and confirmation of the meter reading file queue, thereby realizing that the collection device side actively completes the table search and file establishment and actively reports the electric energy meter file to the system. Compared with the original method of sending the electric energy meter file to the collection device through the system, and the collection device reads the meter according to the electric energy meter file sent by the system, the method of actively reporting the meter reading file queue can avoid the problem of inconsistency between the system electric energy meter file and the actual electric energy meter file on site, and can also quickly correct the redundancy and error problems of the electric energy meter file entered into the system.

[0014] In an optional implementation, the collector is also connected to the electric energy meter via a third communication mode, the third communication mode is 485 communication, and the meter reading of the first type of electric energy meter based on a preset meter reading file queue includes: based on the meter reading file queue, obtaining the meter reading type of the current target meter reading electric energy meter; if the target meter reading electric energy meter is a 485 meter reading electric energy meter, reading the target meter reading electric energy meter through a 485 circuit.

[0015] In an optional implementation, the meter reading of the first type of electric energy meter based on a preset meter reading file queue includes: if the target meter reading electric energy meter is a Bluetooth meter reading electric energy meter, obtaining the electric energy meter file of the Bluetooth meter reading electric energy meter; based on the electric energy meter file, initiating a Bluetooth protocol connection request to the Bluetooth meter reading electric energy meter; when a pass signal in response to the Bluetooth protocol connection request is received, reading the Bluetooth meter reading electric energy meter to obtain meter reading data; updating the electric energy meter file based on the meter reading data, and sending the updated electric energy meter file to the system platform via 4G.

[0016] The 4G collector meter search and reading method provided in this embodiment is equipped with a 485 communication circuit and a Bluetooth communication circuit at the same time, which supports Bluetooth meter search and meter reading as well as traditional 485 meter search and meter reading. It can realize meter reading of 485 collectors and Bluetooth collectors at the same time, thereby improving the efficiency of meter search and meter reading.

[0017] In an optional embodiment, the meter reading of the first type of electric energy meter based on a preset meter reading file queue includes: when the number of failed signals received in response to the Bluetooth protocol connection request reaches a preset number, the failed signal indicates that the connection request is failed, the electric energy meter file is updated based on the failed signal, and the updated electric energy meter file is sent to the system platform via 4G.

[0018] The 4G collector meter search and reading method provided in this embodiment sends the updated electricity meter file to the system platform via 4G, thereby avoiding the problem of inconsistency between the system electricity meter file and the actual electricity meter file on site, and can also quickly correct the redundancy and error problems of the system input electricity meter file.

[0019] In a second aspect, the present invention provides a 4G collector meter search and meter reading device, the device comprising: a meter reading and meter search module, which is used to read a first type of electric energy meter based on a preset meter reading file queue, and search for broadcast information of a second type of electric energy meter at the same time, the first type of electric energy meter is an electric energy meter in the meter reading file queue, and the second type of electric energy meter is an electric energy meter not in the meter reading file queue; a target meter search electric energy meter judgment module, which is used to judge whether the second type of electric energy meter is a target meter search electric energy meter based on the received broadcast information sent by the second type of electric energy meter through the second communication method; a target meter search electric energy meter binding module, which is used to initiate a connection request to the second type of electric energy meter and bind it if the second type of electric energy meter is the target meter search electric energy meter; a target meter search electric energy meter adding module, which is used to establish a target electric energy meter file based on the bound second type of electric energy meter, and add the target electric energy meter file to the meter reading file queue.

[0020] In a third aspect, the present invention provides a computer device, including: a memory and a processor, the memory and the processor are communicatively connected to each other, the memory stores computer instructions, and the processor executes the 4G collector meter search and reading method of the first aspect or any corresponding embodiment thereof by executing the computer instructions.

[0021] In a fourth aspect, the present invention provides a computer-readable storage medium having computer instructions stored thereon, the computer instructions being used to enable a computer to execute the 4G collector meter search and reading method of the first aspect or any corresponding embodiment thereof. BRIEF DESCRIPTION OF THE DRAWINGS

[0022] In order to more clearly illustrate the specific implementation methods of the present invention or the technical solutions in the prior art, the drawings required for use in the specific implementation methods or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some implementation methods of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0023] Figure 1 is a framework diagram of a collection solution according to an embodiment of the present invention;

[0024] Figure 2 is a hardware functional block diagram of a collector according to an embodiment of the present invention;

[0025] Figure 3 is another hardware functional block diagram of a collector according to an embodiment of the present invention;

[0026] Figure 4 It is a flow chart of a 4G collector meter search and reading method according to an embodiment of the present invention;

[0027] Figure 5 is a flow chart of a method for implementing a 4G collector to search and read meters according to an embodiment of the present invention;

[0028] Figure 6 It is a flow chart of another 4G collector meter search and reading method according to an embodiment of the present invention;

[0029] Figure 7 is a flow chart of a collector table search method according to an embodiment of the present invention;

[0030] Figure 8 It is a flow chart of another 4G collector meter search and reading method according to an embodiment of the present invention;

[0031] Fig. 9 It is a flow chart of another 4G collector meter search and reading method according to an embodiment of the present invention;

[0032] Fig.10 It is a structural block diagram of a 4G collector meter search and meter reading device according to an embodiment of the present invention;

[0033] Fig.11 It is a schematic diagram of the hardware structure of a computer device according to an embodiment of the present invention. DETAILED DESCRIPTION

[0034] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of the present invention.

[0035] Electricity meter reading refers to the process of recording and collecting the readings of the energy meter to obtain the amount of electricity consumption. It is currently a common method to search and read the energy meter through the 485 circuit. The process of searching and reading the meter through the 485 circuit includes: first, connecting an RS-485 communication module to the energy meter to support the 485 communication protocol; then, connecting a host device (such as a computer or a data collector) to the communication module of the energy meter through the 485 bus; the host device sends a query command to the energy meter, and the energy meter transmits the energy data to the host device through 485 communication; after receiving the energy data, the host device identifies and analyzes it, and then records and stores the energy consumption data. Searching and reading the meter through the 485 circuit requires laying a 485 communication line, which increases the difficulty and cost of installation. Due to the limited communication distance of 485, if the distance between the energy meter and the host device is far, additional signal amplification equipment is required. For large-scale energy meter searching and reading, there may be problems such as 485 bus communication conflicts and error accumulation. Since the meter search service and meter reading service are carried out in time under the 485 communication mode, when the electric energy meter equipment changes, the collector cannot obtain the change information in real time and needs to wait until the next meter search is started to update the electric energy meter file, which may easily cause missed readings.

[0036] The 4G collector meter search and meter reading method provided in this embodiment, firstly, reads the first type of electric energy meter based on the preset meter reading file queue, and searches the broadcast information of the second type of electric energy meter at the same time, so as to realize the simultaneous meter reading service and meter search service, and can realize full real-time meter search and immediate installation and acquisition of the electric energy meter, and the meter search efficiency and real-time performance are much higher than the meter search method according to the meter address wildcard in the case of 485 wired communication; secondly, based on the received broadcast information sent by the second type of electric energy meter through the second communication method, it is judged whether the second type of electric energy meter is the target meter search electric energy meter, the collector can obtain the specific broadcast name of the electric energy meter, and only the device with the specific broadcast name can be connected by the collector, and the Bluetooth electric energy meter with the Bluetooth signal strength below the specified threshold is filtered to avoid the problem of unstable connection of the Bluetooth electric energy meter with the strength weaker than the threshold, so as to further improve the meter search efficiency and accuracy; thereafter, if the second type of electric energy meter is the target meter search electric energy meter, a connection request is initiated to the second type of electric energy meter and binding is performed, so as to realize one-to-many binding and improve the meter search efficiency. Finally, the target electric energy meter file is established based on the second type of electric energy meter after binding, and the target electric energy meter file is added to the meter reading file queue. Based on the scanning of the electric energy meter Bluetooth broadcast, all electric energy meters that meet the requirements within the Bluetooth communication radius can be quickly found and the meter reading file queue can be updated. If a new electric energy meter device that meets the requirements is found, the meter reading file queue will be updated in real time. The meter reading file queue in the collector is uploaded to the system platform regularly, and the system platform completes the proofreading and confirmation of the meter reading file queue, thereby realizing that the collection device side actively completes the table search and file establishment and actively reports the electric energy meter file to the system. Compared with the original method of sending the electric energy meter file to the collection device through the system, and the collection device reads the meter according to the electric energy meter file sent by the system, the method of actively reporting the meter reading file queue can avoid the problem of inconsistency between the system electric energy meter file and the actual electric energy meter file on site, and can also quickly correct the redundancy and error problems of the electric energy meter file entered into the system.

[0037] According to an embodiment of the present invention, an embodiment of a 4G collector meter search and meter reading method is provided. It should be noted that the steps shown in the flowchart of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and although a logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in an order different from that shown here.

[0038] In this embodiment, a 4G collector meter search and reading method is provided, and the method is applied to the collector, the collector is connected to the system platform through a first communication mode, and the collector is connected to the electric energy meter through a second communication mode. Figure 1 is a framework diagram of a collection solution according to an embodiment of the present invention, such as Figure 1As shown, the first communication mode is 4G, the second communication mode is Bluetooth, and the third communication mode is 485 communication. The collector is connected to the system platform through 4G communication, and the collector is connected to the electric energy meter through Bluetooth and 485 communication. The collector's Bluetooth supports multi-slave function, supports mobile phone APP (or applet), Bluetooth handheld and other Bluetooth devices connection, so that Bluetooth OTA upgrade, parameter setting, local contactless debugging, local data reading and other functions can be realized. Furthermore, Figure 2 The present invention is a hardware functional block diagram of a collector according to an embodiment of the present invention, wherein the collector includes a power supply circuit, a 4G communication circuit, a Bluetooth communication circuit and a microprocessor circuit, wherein the power supply circuit is used to power the 4G communication circuit, the Bluetooth communication circuit and the microprocessor circuit of the collector, the 4G communication circuit is used to communicate and connect with the system platform, the Bluetooth communication circuit communicates and connects with the Bluetooth meter through Bluetooth communication, the microprocessor circuit communicates and connects with the 485 circuit, and the 485 circuit communicates and connects with the 485 meter. The microprocessor circuit communicates and connects with the Bluetooth communication circuit and the 4G communication circuit respectively through the UART protocol. UART is the abbreviation of Universal Asynchronous Receiver / Transmitter. It is a serial communication protocol used to transmit data between computer systems and peripheral devices. UART is a byte-oriented communication protocol that transmits data in a serial manner, which is different from parallel communication. The working principle of UART is to packetize data and send it byte by byte in a serial manner. At the transmitting end, UART combines the data bit, stop bit and parity bit into one byte and sends the data to the receiving end through the transmission line. At the receiving end, UART reads the data bits, stop bits, and parity bits from the transmission line and restores them to the original data. UART communication is asynchronous, that is, the clocks of the sender and receiver are not synchronized. The sender sends data at fixed time intervals according to the preset baud rate (i.e., transmission rate). The receiver receives and parses the data based on the baud rate of the sender and its own clock. Figure 3 This is another hardware functional block diagram of a collector according to an embodiment of the present invention. The collector includes a power supply circuit, a 4G communication circuit and a Bluetooth communication circuit. The power supply circuit is used to supply power to the 4G communication circuit, the Bluetooth communication circuit and the 485 circuit of the collector. The 4G communication circuit is used to communicate with the Bluetooth communication circuit, the system platform and the 485 circuit. The Bluetooth communication circuit communicates with the Bluetooth meter via Bluetooth communication, and the 485 circuit communicates with the 485 meter. Figure 3In the given collector hardware function block diagram, the microprocessor circuit is omitted, and the 4G communication circuit is used to concurrently perform the function of the microprocessor circuit in the collector, which can also achieve the effect of searching and reading meters. Furthermore, the 4G communication circuit here can also be changed to a 3G communication circuit or a 5G communication circuit. The 4G communication circuit is configured to match the communication mode of the system platform, as a preferred embodiment, but not the only one.

[0039] Figure 4 4G collector meter search and meter reading method according to an embodiment of the present invention, such as Figure 4 As shown, the process includes the following steps:

[0040] Step S401, reading a first type of electric energy meter based on a preset meter reading file queue, and searching for broadcast information of a second type of electric energy meter at the same time, wherein the first type of electric energy meter is an electric energy meter in the meter reading file queue, and the second type of electric energy meter is an electric energy meter not in the meter reading file queue.

[0041] Specifically, Figure 5 As shown, Figure 5 It is a flow chart of a method for implementing meter search and meter reading by a 4G collector according to an embodiment of the present invention. After the collector is powered on, it communicates with the system platform through 4G, obtains a preset meter reading file queue, and reads the first type of electric energy meter based on the preset meter reading file queue. The first type of electric energy meter is the electric energy meter in the meter reading file queue. The collector checks whether there is an electric energy meter file for the current first type of electric energy meter. If there is an electric energy meter file, the file is read, an electric energy meter connection is initiated, and a communication connection is established with the current first type of electric energy meter. If the connection is normal, the electric energy meter data of the current first type of electric energy meter is read and reported to the electric energy meter file in real time. The collector simultaneously searches for broadcast information of the second type of electric energy meter. The second type of electric energy meter is an electric energy meter that is not in the meter reading file queue.

[0042] Step S402: based on the received broadcast information sent by the second type of electric energy meter through the second communication method, it is determined whether the second type of electric energy meter is a target meter search electric energy meter.

[0043] Specifically, the second type of electric energy meter periodically sends the broadcast information through the second communication method, such as Figure 5As shown, when the collector starts the meter search service, the collector scans the broadcast information, and determines whether the second type of electric energy meter is the target meter search based on the received broadcast information sent by the second type of electric energy meter through the second communication method. The collector determines whether the second type of electric energy meter is the target meter search based on the strength of the Bluetooth signal and the information of the second type of electric energy meter contained in the broadcast information. The collector actively scans the surrounding broadcast information to obtain the Bluetooth broadcast information frame of the surrounding electric energy meters. By parsing the Bluetooth broadcast information frame of the electric energy meter, the collector can obtain the specific broadcast name of the electric energy meter, and only devices with specific broadcast names can be connected and bound by the collector.

[0044] Step S403: if the second type electric energy meter is the target meter search electric energy meter, a connection request is initiated to the second type electric energy meter and binding is performed.

[0045] Specifically, the collector initiates a Bluetooth connection request to the second type of electric energy meter to bind the electric energy meter. The process of binding the electric energy meter requires that after the Bluetooth connection is completed, the collector and the electric energy meter start application layer data interaction to determine the binding of the device.

[0046] Step S404: establishing a target electric energy meter file based on the bound second type electric energy meter, and adding the target electric energy meter file to a meter reading file queue.

[0047] Specifically, the collector obtains the meter address of the second type of electric energy meter, establishes a target electric energy meter file in the collector, adds the second type of electric energy meter to the collector to determine the binding of the device, and the electric energy meter file in the collector is uploaded to the system platform via 4G communication at regular intervals, and the system platform completes the proofreading and confirmation of the electric energy meter file. The collector connects to each Bluetooth electric energy meter in the file one by one based on the Bluetooth GATT connection function, reads various electric energy data of the electric energy meter, uploads it to the system platform in real time via 4G communication, and then disconnects the Bluetooth connection of the current electric energy meter.

[0048] The 4G collector meter search and meter reading method provided in this embodiment, firstly, reads the first type of electric energy meter based on the preset meter reading file queue, and searches the broadcast information of the second type of electric energy meter at the same time, so as to realize the simultaneous meter reading service and meter search service, and can realize full real-time meter search and immediate installation and acquisition of the electric energy meter, and the meter search efficiency and real-time performance are much higher than the meter search method according to the meter address wildcard in the case of 485 wired communication; secondly, based on the received broadcast information sent by the second type of electric energy meter through the second communication method, it is judged whether the second type of electric energy meter is the target meter search electric energy meter, the collector can obtain the specific broadcast name of the electric energy meter, and only the device with the specific broadcast name can be connected by the collector, and the Bluetooth electric energy meter with the Bluetooth signal strength below the specified threshold is filtered to avoid the problem of unstable connection of the Bluetooth electric energy meter with the strength weaker than the threshold, so as to further improve the meter search efficiency and accuracy; thereafter, if the second type of electric energy meter is the target meter search electric energy meter, a connection request is initiated to the second type of electric energy meter and binding is performed, so as to realize one-to-many binding and improve the meter search efficiency. Finally, the target electric energy meter file is established based on the second type of electric energy meter after binding, and the target electric energy meter file is added to the meter reading file queue. Based on the scanning of the electric energy meter Bluetooth broadcast, all electric energy meters that meet the requirements within the Bluetooth communication radius can be quickly found and the meter reading file queue can be updated. If a new electric energy meter device that meets the requirements is found, the meter reading file queue will be updated in real time. The meter reading file queue in the collector is uploaded to the system platform regularly, and the system platform completes the proofreading and confirmation of the meter reading file queue, thereby realizing that the collection device side actively completes the table search and file establishment and actively reports the electric energy meter file to the system. Compared with the original method of sending the electric energy meter file to the collection device through the system, and the collection device reads the meter according to the electric energy meter file sent by the system, the method of actively reporting the meter reading file queue can avoid the problem of inconsistency between the system electric energy meter file and the actual electric energy meter file on site, and can also quickly correct the redundancy and error problems of the electric energy meter file entered into the system.

[0049] In this embodiment, a 4G collector meter search and meter reading method is provided. Figure 6 4G collector meter search and meter reading method according to an embodiment of the present invention, such as Figure 6 As shown, the process includes the following steps:

[0050] Step S601, based on the preset meter reading file queue, read the first type of electric energy meter, and search for the broadcast information of the second type of electric energy meter at the same time, the first type of electric energy meter is the electric energy meter in the meter reading file queue, and the second type of electric energy meter is the electric energy meter not in the meter reading file queue. Figure 4 Step S401 of the illustrated embodiment will not be described in detail here.

[0051] Step S602: based on the received broadcast information sent by the second type of electric energy meter through the second communication method, it is determined whether the second type of electric energy meter is a target meter search electric energy meter.

[0052] Specifically, the second communication mode is Bluetooth, and the above step S602 includes:

[0053] Step S6021: when receiving the broadcast information sent by the second type of electric energy meter via Bluetooth, obtaining the Bluetooth signal strength of the second type of electric energy meter.

[0054] Specifically, Figure 7 is a flow chart of a collector table search method according to an embodiment of the present invention. Figure 7 As shown, the Bluetooth energy meter will periodically broadcast the information of the energy meter to the outside, and the Bluetooth of the collector will actively scan the surrounding Bluetooth broadcast signals in real time.

[0055] Step S6022, determining whether the Bluetooth signal strength is higher than a preset threshold.

[0056] Specifically, the preset threshold is the Bluetooth signal strength at which the second type of electric energy meter can be stably connected to the collector, thereby avoiding the problem of unstable connection of the Bluetooth electric energy meter.

[0057] Step S6023: If the Bluetooth signal strength is higher than the preset threshold, the broadcast information is parsed to obtain the broadcast name and current binding status of the second type of electric energy meter.

[0058] Specifically, the broadcast information includes a specific broadcast name, a MAC address of the electric energy meter Bluetooth, and whether the electric energy meter is currently bound.

[0059] Step S6024, determining whether the broadcast name is a preset name.

[0060] Specifically, only devices with specific broadcast names can be connected by the collector.

[0061] Step S6025: If the broadcast name is a preset name, determine whether the current binding state is an unbound state.

[0062] Specifically, if the current binding state is the binding state, the current second type electric energy meter is ignored.

[0063] Step S6026: if the current binding state is an unbound state, determine that the second type of electric energy meter is the target search electric energy meter.

[0064] Specifically, the target electric energy meter to be searched is an electric energy meter that needs to be read by the collector.

[0065] Step S603: If the second type of electric energy meter is the target meter search electric energy meter, a connection request is initiated to the second type of electric energy meter and binding is performed. Figure 4 Step S403 of the illustrated embodiment will not be described in detail here.

[0066] Step S604: Create a target electric energy meter file based on the bound second type electric energy meter, and add the target electric energy meter file to the meter reading file queue. Figure 4 Step S404 of the illustrated embodiment will not be described in detail here.

[0067] The 4G collector meter search and reading method provided in this embodiment determines whether the second type of electric energy meter is the target meter search based on the received broadcast information sent by the second type of electric energy meter through the second communication method. The collector can obtain the specific broadcast name of the electric energy meter. Only devices with specific broadcast names can be connected by the collector. Bluetooth meters with Bluetooth signal strength below the specified threshold are filtered to avoid the problem of unstable connection of Bluetooth electric energy meters with strength weaker than the threshold, thereby further improving the efficiency and accuracy of meter search.

[0068] In this embodiment, a 4G collector meter search and meter reading method is provided. Figure 8 4G collector meter search and meter reading method according to an embodiment of the present invention, such as Figure 8 As shown, the process includes the following steps:

[0069] Step S801, based on a preset meter reading file queue, read the first type of electric energy meter, and search for broadcast information of the second type of electric energy meter at the same time, the first type of electric energy meter is the electric energy meter in the meter reading file queue, and the second type of electric energy meter is the electric energy meter not in the meter reading file queue. Figure 4 Step S401 of the illustrated embodiment will not be described in detail here.

[0070] Step S802: Based on the received broadcast information sent by the second type of electric energy meter through the second communication method, determine whether the second type of electric energy meter is a target meter search electric energy meter. Figure 4 Step S402 of the illustrated embodiment will not be described in detail here.

[0071] Step S803: If the second type electric energy meter is the target meter search electric energy meter, a connection request is initiated to the second type electric energy meter and binding is performed.

[0072] Specifically, the above step S803 includes:

[0073] Step S8031: If the second type of electric energy meter is a target search electric energy meter, the broadcast information is parsed to obtain a MAC address, and a Bluetooth protocol connection request is initiated to the MAC address.

[0074] Specifically, the Bluetooth MAC address is the address that a Bluetooth device uses to uniquely identify itself. The MAC address is a string of 12 hexadecimal digits (0-9 and AF), usually expressed in the form of 6 double bytes, with colons or dashes between the bytes. The length of the Bluetooth MAC address is 48 bits. The first 24 bits of the Bluetooth MAC address represent the manufacturer code of the Bluetooth device, which is assigned by the IEEE; the last 24 bits are the unique identifier of the device, which is assigned by the device manufacturer. A Bluetooth device can be uniquely identified by the MAC address, which helps Bluetooth devices communicate and identify each other. The Bluetooth MAC address is used for communication between Bluetooth devices, including connection establishment, data transmission, etc. When a Bluetooth device initiates a connection, it will find the device to connect by scanning the MAC addresses of surrounding Bluetooth devices. After the Bluetooth connection is established, the MAC address will be used to uniquely identify each other between devices for data transmission. The specific specifications and allocation methods of the Bluetooth MAC address are controlled by the IEEE to ensure that each Bluetooth device has a unique identifier.

[0075] Step S8032: when a pass signal in response to the Bluetooth protocol connection request is received, application layer data interaction is performed with the second type of electric energy meter to bind the second type of electric energy meter.

[0076] Specifically, Figure 7 As shown, the collector and the energy meter form a star network, in which the collector is the central node and the energy meter is a common node. The collector's Bluetooth scan can discover the broadcast signals of all Bluetooth meters within the Bluetooth communication radius. The collector can manage one Bluetooth energy meter or multiple Bluetooth energy meters. The collector obtains and parses the specific broadcast name, Bluetooth MAC address, and meter binding status in each energy meter broadcast information frame one by one, and then initiates GATT connection requests for the Bluetooth meters that meet the specific broadcast name, have Bluetooth signal strength above the specified threshold, and are unbound one by one. After the connection is established, the application layer data interaction with the energy meter is realized, and the binding of all energy meters that meet the requirements is completed. After the connection request is established, the collector Bluetooth can obtain the service list, characteristic value list, and characteristic descriptor of the meter Bluetooth, parse the data and add it to the device information. At the same time, the client characteristic descriptor (CCCD) is configured as notification or indication enable, and the characteristic value data is allowed to be read and written. The collector can read the data of the energy meter through the Bluetooth interface.

[0077] Step S804: Create a target electric energy meter file based on the bound second type electric energy meter, and add the target electric energy meter file to the meter reading file queue. Figure 4 Step S404 of the illustrated embodiment will not be described in detail here.

[0078] The 4G collector meter search and meter reading method provided in this embodiment, if the second type of electric energy meter is the target meter search, the broadcast information is parsed to obtain the MAC address, and a Bluetooth protocol connection request is initiated to the MAC address; when a pass signal in response to the Bluetooth protocol connection request is received, application layer data is interacted with the second type of electric energy meter, and the second type of electric energy meter is bound to achieve one-to-many binding, thereby improving the meter search efficiency.

[0079] In this embodiment, a 4G collector meter search and meter reading method is provided. Fig. 9 4G collector meter search and meter reading method according to an embodiment of the present invention, such as Fig. 9 As shown, the process includes the following steps:

[0080] Step S901, based on the preset meter reading file queue, read the first type of electric energy meter, and search for the broadcast information of the second type of electric energy meter at the same time, the first type of electric energy meter is the electric energy meter in the meter reading file queue, and the second type of electric energy meter is the electric energy meter not in the meter reading file queue. Figure 4 Step S401 of the illustrated embodiment will not be described in detail here.

[0081] Step S902: Based on the received broadcast information sent by the second type of electric energy meter through the second communication method, determine whether the second type of electric energy meter is a target meter search electric energy meter. Figure 3 Step S302 of the illustrated embodiment will not be described in detail here.

[0082] Step S903: If the second type of electric energy meter is the target meter search electric energy meter, a connection request is initiated to the second type of electric energy meter and binding is performed. Figure 3 Step S303 of the illustrated embodiment will not be described in detail here.

[0083] Step S904: establishing a target electric energy meter file based on the bound second type electric energy meter, and adding the target electric energy meter file to a meter reading file queue.

[0084] Specifically, the above step S904 includes:

[0085] Step S9041, obtaining the table address of the target meter search electric energy meter.

[0086] Specifically, the meter address of the energy meter refers to the specific location or address information that identifies the energy meter. The meter address is usually represented by a unique identification number, which can include information such as building number, floor, room number, etc., to facilitate the management and monitoring of the energy meter. The meter address of the energy meter corresponds to the MAC address one by one.

[0087] Step S9042: establishing a target electric energy meter file of the target search electric energy meter in the collector based on the meter address.

[0088] Specifically, the collector obtains the meter address of the electric energy meter, creates a Bluetooth meter file in the collector, and the electric energy meter has been added to the collector to determine the binding of the device.

[0089] Step S9043, adding the target electric energy meter file to the meter reading file queue.

[0090] Specifically, the first type of electric energy meter is read based on a preset meter reading file queue, and the collector periodically uploads the electric energy meter file to the system platform for confirmation.

[0091] The 4G collector meter search and meter reading method provided in this embodiment, by obtaining the meter address of the target meter search electric energy meter, is helpful for effective management, monitoring and maintenance of the electric energy meter, and provides a reliable data basis for electricity consumption metering and statistical analysis. Based on the scanning of the electric energy meter Bluetooth broadcast, it can quickly find all the electric energy meters that meet the requirements within the Bluetooth communication radius and complete the update of the meter reading file queue. If a new electric energy meter device that meets the requirements is found, the meter reading file queue will be updated in real time. The meter reading file queue in the collector is regularly uploaded to the system platform through the 4G communication method, and the system platform completes the proofreading and confirmation of the meter reading file queue, thereby realizing that the collection device side actively completes the table search and file establishment and actively reports the electric energy meter file to the system. Compared with the original method of sending the electric energy meter file to the collection device through the system, and the collection device reads the meter according to the electric energy meter file sent by the system, the method of actively reporting the meter reading file queue can avoid the problem of inconsistency between the system electric energy meter file and the actual electric energy meter file on site, and can also quickly correct the redundancy and error problems of the electric energy meter file entered into the system.

[0092] In an optional manner of some embodiments, when the number of rejection signals received in response to the Bluetooth protocol connection request reaches a preset number, the rejection signal indicates that the connection request is rejected, and the electric energy meter file is updated based on the rejection signal, and the updated electric energy meter file is sent to the system platform via 4G.

[0093] The 4G collector meter search and reading method provided in this embodiment sends the updated electricity meter file to the system platform via 4G, thereby avoiding the problem of inconsistency between the system electricity meter file and the actual electricity meter file on site, and can also quickly correct the redundancy and error problems of the system input electricity meter file.

[0094] In an optional manner of some embodiments, the collector is further connected to the electric energy meter through a third communication mode, the third communication mode is 485 communication, and the meter reading of the first type of electric energy meter based on a preset meter reading file queue includes:

[0095] Based on the meter reading archive queue, obtaining the meter reading type of the current target meter reading electric energy meter;

[0096] If the target meter-reading electric energy meter is a 485 meter-reading electric energy meter, the target meter-reading electric energy meter is read through a 485 circuit.

[0097] If the target meter-reading electric energy meter is a Bluetooth meter-reading electric energy meter, obtaining the electric energy meter file of the Bluetooth meter-reading electric energy meter;

[0098] Based on the electric energy meter file, initiating a Bluetooth protocol connection request to the Bluetooth meter reading electric energy meter;

[0099] When a pass signal in response to the Bluetooth protocol connection request is received, reading the Bluetooth meter reading electric energy meter to obtain meter reading data;

[0100] The electric energy meter file is updated based on the meter reading data, and the updated electric energy meter file is sent to the system platform via 4G.

[0101] The 4G collector meter search and reading method provided in this embodiment is equipped with a 485 communication circuit and a Bluetooth communication circuit at the same time, which supports Bluetooth meter search and meter reading as well as traditional 485 meter search and meter reading. It can realize meter reading of 485 collectors and Bluetooth collectors at the same time, thereby improving the efficiency of meter search and meter reading.

[0102] In this embodiment, a 4G collector meter search and meter reading device is also provided, which is used to implement the above embodiments and preferred implementations, and the descriptions that have been made will not be repeated. As used below, the term "module" can be a combination of software and / or hardware that implements a predetermined function. Although the device described in the following embodiments is preferably implemented in software, the implementation of hardware, or a combination of software and hardware, is also possible and conceivable.

[0103] This embodiment provides a 4G collector meter search and meter reading device, such as Fig.10 As shown, including:

[0104] The meter reading and searching module 1001 is used to read the first type of electric energy meter based on the preset meter reading file queue, and search for the broadcast information of the second type of electric energy meter at the same time, the first type of electric energy meter is the electric energy meter in the meter reading file queue, and the second type of electric energy meter is the electric energy meter not in the meter reading file queue;

[0105] A target search electric energy meter determination module 1002 is used to determine whether the second type of electric energy meter is a target search electric energy meter based on the received broadcast information sent by the second type of electric energy meter through the second communication method;

[0106] The target search electric energy meter binding module 1003 is used to initiate a connection request to the second type of electric energy meter and perform binding if the second type of electric energy meter is the target search electric energy meter;

[0107] The target search electric energy meter adding module 1004 is used to establish a target electric energy meter file based on the bound second type electric energy meter, and add the target electric energy meter file to the meter reading file queue.

[0108] The 4G collector meter search and meter reading device provided in this embodiment, firstly, reads the first type of electric energy meter based on the preset meter reading file queue, and searches the broadcast information of the second type of electric energy meter at the same time, so as to realize the simultaneous meter reading service and meter search service, and can realize full real-time meter search and immediate installation and acquisition of the electric energy meter, and the meter search efficiency and real-time performance are much higher than the meter search method according to the meter address wildcard in the case of 485 wired communication; secondly, based on the received broadcast information sent by the second type of electric energy meter through the second communication method, it is judged whether the second type of electric energy meter is the target meter search electric energy meter, the collector can obtain the specific broadcast name of the electric energy meter, and only the device with the specific broadcast name can be connected by the collector, and the Bluetooth electric energy meter with the Bluetooth signal strength below the specified threshold is filtered to avoid the problem of unstable connection of the Bluetooth electric energy meter with the strength weaker than the threshold, so as to further improve the meter search efficiency and accuracy; thereafter, if the second type of electric energy meter is the target meter search electric energy meter, a connection request is initiated to the second type of electric energy meter and binding is performed, so as to realize one-to-many binding and improve the meter search efficiency. Finally, the target electric energy meter file is established based on the second type of electric energy meter after binding, and the target electric energy meter file is added to the meter reading file queue. Based on the scanning of the electric energy meter Bluetooth broadcast, all electric energy meters that meet the requirements within the Bluetooth communication radius can be quickly found and the meter reading file queue can be updated. If a new electric energy meter device that meets the requirements is found, the meter reading file queue will be updated in real time. The meter reading file queue in the collector is uploaded to the system platform regularly, and the system platform completes the proofreading and confirmation of the meter reading file queue, thereby realizing that the collection device side actively completes the table search and file establishment and actively reports the electric energy meter file to the system. Compared with the original method of sending the electric energy meter file to the collection device through the system, and the collection device reads the meter according to the electric energy meter file sent by the system, the method of actively reporting the meter reading file queue can avoid the problem of inconsistency between the system electric energy meter file and the actual electric energy meter file on site, and can also quickly correct the redundancy and error problems of the electric energy meter file entered into the system.

[0109] In some optional implementations, the target search electric energy meter determination module 1002 includes:

[0110] The Bluetooth signal strength acquiring unit is used to acquire the Bluetooth signal strength of the second type of electric energy meter when receiving the broadcast information sent by the second type of electric energy meter via Bluetooth.

[0111] The Bluetooth signal strength determination unit is used to determine whether the Bluetooth signal strength is higher than a preset threshold.

[0112] The first broadcast information parsing unit is used to parse the broadcast information if the Bluetooth signal strength is higher than the preset threshold value to obtain the broadcast name and current binding status of the second type of electric energy meter.

[0113] The broadcast name determination unit is used to determine whether the broadcast name is a preset name.

[0114] The current binding state judgment unit is used to judge whether the current binding state is an unbound state if the broadcast name is a preset name.

[0115] The target search electric energy meter determination unit is used for determining that the second type electric energy meter is the target search electric energy meter if the current binding state is an unbound state.

[0116] The 4G collector meter search and meter reading device provided in this embodiment determines whether the second type of electric energy meter is the target meter search based on the broadcast information received from the second type of electric energy meter through the second communication method. The collector can obtain the specific broadcast name of the electric energy meter. Only devices with specific broadcast names can be connected by the collector, and Bluetooth meters with Bluetooth signal strength below a specified threshold are filtered to avoid unstable connection problems of Bluetooth electric energy meters with strength weaker than the threshold, thereby further improving the efficiency and accuracy of meter search.

[0117] In some optional implementations, the target search electric energy meter binding module 1003 includes:

[0118] The second broadcast information parsing unit is used to parse the broadcast information if the second type of electric energy meter is a target search electric energy meter, obtain a MAC address, and initiate a Bluetooth protocol connection request to the MAC address.

[0119] The application layer data interaction unit is used to interact with the second type of electric energy meter and bind the second type of electric energy meter when receiving a pass signal in response to the Bluetooth protocol connection request.

[0120] The 4G collector meter search and meter reading device provided in this embodiment, if the second type of electric energy meter is the target meter search, parses the broadcast information to obtain the MAC address, and initiates a Bluetooth protocol connection request to the MAC address; when a pass signal in response to the Bluetooth protocol connection request is received, application layer data interaction is performed with the second type of electric energy meter, the second type of electric energy meter is bound, one-to-many binding is achieved, and the meter search efficiency is improved.

[0121] In some optional implementations, the target search electric energy meter adding module 1004 includes:

[0122] The meter address acquisition unit is used to acquire the meter address of the target meter search electric energy meter.

[0123] The target electric energy meter file establishing unit is used to establish the target electric energy meter file of the target search electric energy meter in the collector based on the meter address.

[0124] The meter reading file queue updating unit is used to add the target electric energy meter file to the meter reading file queue.

[0125] The 4G collector meter search and meter reading device provided in this embodiment, by obtaining the meter address of the target meter search electric energy meter, is helpful for effective management, monitoring and maintenance of the electric energy meter, and provides a reliable data basis for electricity consumption metering and statistical analysis. Based on the scanning of the electric energy meter Bluetooth broadcast, it can quickly find all the electric energy meters that meet the requirements within the Bluetooth communication radius and complete the update of the meter reading file queue. If a new electric energy meter device that meets the requirements is found, the meter reading file queue will be updated in real time. The meter reading file queue in the collector is regularly uploaded to the system platform through the 4G communication method, and the system platform completes the proofreading and confirmation of the meter reading file queue, thereby realizing that the collection device side actively completes the table search and file establishment and actively reports the electric energy meter file to the system. Compared with the original method of sending the electric energy meter file to the collection device through the system, and the collection device reads the meter according to the electric energy meter file sent by the system, the method of actively reporting the meter reading file queue can avoid the problem of inconsistency between the system electric energy meter file and the actual electric energy meter file on site, and can also quickly correct the redundancy and error problems of the electric energy meter file entered into the system.

[0126] In some optional embodiments, the meter reading and searching module 1001 includes:

[0127] The meter reading type acquisition unit is used to acquire the meter reading type of the current target meter reading electric energy meter based on the meter reading file queue.

[0128] The 485 meter reading unit is used to read the target meter reading electric energy meter through the 485 circuit if the target meter reading electric energy meter is a 485 meter reading electric energy meter.

[0129] In some optional embodiments, the meter reading and searching module 1001 includes:

[0130] The electric energy meter file acquisition unit is used to acquire the electric energy meter file of the Bluetooth meter reading electric energy meter if the target meter reading electric energy meter is a Bluetooth meter reading electric energy meter.

[0131] A Bluetooth protocol connection request initiating unit is used to initiate a Bluetooth protocol connection request to the Bluetooth meter reading electric energy meter based on the electric energy meter file.

[0132] The Bluetooth meter reading unit is used to read the Bluetooth meter reading electric energy meter to obtain meter reading data when receiving a pass signal in response to the Bluetooth protocol connection request.

[0133] The first electric energy meter file updating unit is used to update the electric energy meter file based on the meter reading data, and send the updated electric energy meter file to the system platform via 4G.

[0134] The 4G collector meter search and meter reading device provided in this embodiment is equipped with a 485 communication circuit and a Bluetooth communication circuit at the same time, which supports Bluetooth meter search and meter reading as well as traditional 485 meter search and meter reading. It can realize meter reading of 485 collectors and Bluetooth collectors at the same time, thereby improving the efficiency of meter search and meter reading.

[0135] In some optional embodiments, the meter reading and searching module 1001 includes:

[0136] The second electric energy meter file updating unit is used to update the electric energy meter file based on the failure signal when the number of failure signals received in response to the Bluetooth protocol connection request reaches a preset number, the failure signal indicating that the connection request is not passed, and send the updated electric energy meter file to the system platform via 4G.

[0137] The 4G collector meter search and meter reading device provided in this embodiment can avoid the problem of inconsistency between the system electricity meter file and the actual electricity meter file on site by sending the updated electricity meter file to the system platform through 4G, and can also quickly correct the redundancy and error problems of the system input electricity meter file.

[0138] The further functional description of each of the above modules and units is the same as that of the above corresponding embodiments and will not be repeated here.

[0139] The 4G collector meter search and meter reading device in this embodiment is presented in the form of a functional unit, where the unit refers to an ASIC (Application Specific Integrated Circuit) circuit, a processor and memory that executes one or more software or fixed programs, and / or other devices that can provide the above functions.

[0140] The embodiment of the present invention also provides a computer device having the above Fig.10 The 4G collector meter search and reading device shown.

[0141] See also Fig.11 , Fig.11 is a schematic diagram of the structure of a computer device provided by an optional embodiment of the present invention, such as Fig.11As shown, the computer device includes: one or more processors 10, a memory 20, and interfaces for connecting various components, including high-speed interfaces and low-speed interfaces. Various components are connected to each other using different buses for communication, and can be installed on a common mainboard or installed in other ways as needed. The processor can process the instructions executed in the computer device, including instructions stored in or on the memory to display the graphical information of the GUI on an external input / output device (such as, a display device coupled to the interface). In some optional embodiments, if necessary, multiple processors and / or multiple buses can be used together with multiple memories and multiple memories. Similarly, multiple computer devices can be connected, and each device provides some necessary operations (for example, as a server array, a group of blade servers, or a multi-processor system). Fig.11 A processor 10 is taken as an example.

[0142] The processor 10 may be a central processing unit, a network processor or a combination thereof. The processor 10 may further include a hardware chip. The hardware chip may be a dedicated integrated circuit, a programmable logic device or a combination thereof. The programmable logic device may be a complex programmable logic device, a field programmable gate array, a general purpose array logic or any combination thereof.

[0143] The memory 20 stores instructions executable by at least one processor 10, so that the at least one processor 10 executes the method shown in the above embodiment.

[0144] The memory 20 may include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application required for at least one function; the data storage area may store data created according to the use of the computer device, etc. In addition, the memory 20 may include a high-speed random access memory, and may also include a non-transient memory, such as at least one disk storage device, a flash memory device, or other non-transient solid-state storage device. In some optional embodiments, the memory 20 may optionally include a memory remotely arranged relative to the processor 10, and these remote memories may be connected to the computer device via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.

[0145] The memory 20 may include a volatile memory, such as a random access memory; the memory may also include a non-volatile memory, such as a flash memory, a hard disk or a solid state drive; the memory 20 may also include a combination of the above types of memory.

[0146] The computer device further comprises a communication interface 30 for the computer device to communicate with other devices or a communication network.

[0147] The embodiment of the present invention also provides a computer-readable storage medium. The method according to the embodiment of the present invention can be implemented in hardware, firmware, or can be implemented as a computer code that can be recorded in a storage medium, or can be implemented by downloading through a network and first stored in a remote storage medium or a non-temporary machine-readable storage medium and will be stored in a local storage medium, so that the method described herein can be stored in such software processing on a storage medium using a general-purpose computer, a dedicated processor, or programmable or dedicated hardware. Among them, the storage medium can be a magnetic disk, an optical disk, a read-only storage memory, a random access memory, a flash memory, a hard disk or a solid-state hard disk, etc.; further, the storage medium can also include a combination of the above types of memories. It can be understood that a computer, a processor, a microprocessor controller or programmable hardware includes a storage component that can store or receive software or computer code. When the software or computer code is accessed and executed by a computer, a processor or hardware, the method shown in the above embodiment is implemented.

[0148] Although the embodiments of the present invention have been described in conjunction with the accompanying drawings, those skilled in the art may make various modifications and variations without departing from the spirit and scope of the present invention, and such modifications and variations are all within the scope defined by the appended claims.

Claims

1. A 4G collector meter search and meter reading method, characterized in that: The method is applied to a collector, the collector is connected to a system platform via a first communication mode, the first communication mode is 4G, 3G or 5G, the collector is connected to an electric energy meter via a second communication mode, and the method includes: Based on a preset meter reading file queue, a first type of electric energy meter is read, and at the same time, broadcast information of a second type of electric energy meter is searched, wherein the first type of electric energy meter is an electric energy meter in the meter reading file queue, and the second type of electric energy meter is an electric energy meter not in the meter reading file queue; Based on the received broadcast information sent by the second type of electric energy meter through the second communication method, determining whether the second type of electric energy meter is a target search electric energy meter; If the second type of electric energy meter is the target search electric energy meter, a connection request is initiated to the second type of electric energy meter and binding is performed; Establish a target electric energy meter file based on the bound second type electric energy meter, and add the target electric energy meter file to the meter reading file queue; Wherein, the second communication mode is Bluetooth; The determining whether the second type of electric energy meter is a target search electric energy meter based on the received broadcast information sent by the second type of electric energy meter through the second communication method includes: When receiving the broadcast information sent by the second type of electric energy meter via Bluetooth, obtaining the Bluetooth signal strength of the second type of electric energy meter; Determine whether the Bluetooth signal strength is higher than a preset threshold; If the Bluetooth signal strength is higher than the preset threshold, the broadcast information is parsed to obtain the broadcast name and current binding status of the second type of electric energy meter; Determining whether the broadcast name is a preset name; If the broadcast name is a preset name, determining whether the current binding state is an unbound state; If the current binding state is an unbound state, determining that the second type of electric energy meter is the target search electric energy meter; If the second type of electric energy meter is a target search electric energy meter, initiating a connection request to the second type of electric energy meter and binding the second type of electric energy meter includes: If the second type of electric energy meter is a target search electric energy meter, the broadcast information is parsed to obtain a MAC address, and a Bluetooth protocol connection request is initiated to the MAC address; When a pass signal in response to the Bluetooth protocol connection request is received, application layer data interaction is performed with the second type of electric energy meter to bind the second type of electric energy meter.

2. The method according to claim 1, characterized in that The step of establishing a target electric energy meter file based on the bound second type electric energy meter and adding the target electric energy meter file to a meter reading file queue includes: Obtaining the meter address of the target meter-searching electric energy meter; Based on the table address, a target electric energy meter file of the target search electric energy meter is established in the collector; The target electric energy meter file is added to the meter reading file queue.

3. The method according to claim 1, characterized in that The collector is also connected to the electric energy meter through a third communication mode, and the third communication mode is 485 communication. The meter reading of the first type of electric energy meter based on the preset meter reading file queue includes: Based on the meter reading archive queue, obtaining the meter reading type of the current target meter reading electric energy meter; If the target meter-reading electric energy meter is a 485 meter-reading electric energy meter, the target meter-reading electric energy meter is read through a 485 circuit.

4. The method according to claim 3, characterized in that The method of reading the first type of electric energy meter based on the preset meter reading file queue includes: If the target meter-reading electric energy meter is a Bluetooth meter-reading electric energy meter, obtaining the electric energy meter file of the Bluetooth meter-reading electric energy meter; Based on the electric energy meter file, initiating a Bluetooth protocol connection request to the Bluetooth meter reading electric energy meter; When a pass signal in response to the Bluetooth protocol connection request is received, reading the Bluetooth meter reading electric energy meter to obtain meter reading data; The electric energy meter file is updated based on the meter reading data, and the updated electric energy meter file is sent to the system platform via 4G.

5. The method according to claim 4, characterized in that The method of reading the first type of electric energy meter based on the preset meter reading file queue includes: When the number of rejection signals received in response to the Bluetooth protocol connection request reaches a preset number, the rejection signal indicates that the connection request is rejected, and the electric energy meter file is updated based on the rejection signal, and the updated electric energy meter file is sent to the system platform via 4G.

6. A 4G collector meter search and meter reading device, characterized in that: The device comprises: The meter reading and searching module is used to read the first type of electric energy meter based on the preset meter reading file queue, and search for the broadcast information of the second type of electric energy meter at the same time, the first type of electric energy meter is the electric energy meter in the meter reading file queue, and the second type of electric energy meter is the electric energy meter not in the meter reading file queue; a target search electric energy meter determination module, configured to determine whether the second type of electric energy meter is a target search electric energy meter when receiving the broadcast information sent by the second type of electric energy meter through the second communication method; a target search electric energy meter binding module, configured to initiate a connection request to and bind the second type of electric energy meter if the second type of electric energy meter is the target search electric energy meter; A target search electric energy meter adding module is used to establish a target electric energy meter file based on the bound second type electric energy meter, and add the target electric energy meter file to the meter reading file queue; Wherein, the second communication mode is Bluetooth; The target search electric energy meter judgment module is specifically used for: When receiving the broadcast information sent by the second type of electric energy meter via Bluetooth, obtaining the Bluetooth signal strength of the second type of electric energy meter; Determine whether the Bluetooth signal strength is higher than a preset threshold; If the Bluetooth signal strength is higher than the preset threshold, the broadcast information is parsed to obtain the broadcast name and current binding status of the second type of electric energy meter; Determining whether the broadcast name is a preset name; If the broadcast name is a preset name, determining whether the current binding state is an unbound state; If the current binding state is an unbound state, determining that the second type of electric energy meter is the target search electric energy meter; The target search electric energy meter binding module is specifically used for: If the second type of electric energy meter is a target search electric energy meter, the broadcast information is parsed to obtain a MAC address, and a Bluetooth protocol connection request is initiated to the MAC address; When a pass signal in response to the Bluetooth protocol connection request is received, application layer data interaction is performed with the second type of electric energy meter to bind the second type of electric energy meter.

7. A computer device, characterized in that: include: A memory and a processor, wherein the memory and the processor are communicatively connected to each other, the memory stores computer instructions, and the processor executes the 4G collector meter search and reading method according to any one of claims 1 to 5 by executing the computer instructions.

8. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a computer to execute the 4G collector meter search and reading method according to any one of claims 1 to 5.