CN111063183B - Bluetooth-based electric energy meter statistical method and device and storage medium - Google Patents

Bluetooth-based electric energy meter statistical method and device and storage medium Download PDF

Info

Publication number
CN111063183B
CN111063183B CN201911363304.3A CN201911363304A CN111063183B CN 111063183 B CN111063183 B CN 111063183B CN 201911363304 A CN201911363304 A CN 201911363304A CN 111063183 B CN111063183 B CN 111063183B
Authority
CN
China
Prior art keywords
electric energy
energy meter
information
bluetooth
connectable
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
CN201911363304.3A
Other languages
Chinese (zh)
Other versions
CN111063183A (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.)
Ningbo Sanxing Electric Co Ltd
Original Assignee
Ningbo Sanxing Electric 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 Ningbo Sanxing Electric Co Ltd filed Critical Ningbo Sanxing Electric Co Ltd
Priority to CN201911363304.3A priority Critical patent/CN111063183B/en
Publication of CN111063183A publication Critical patent/CN111063183A/en
Application granted granted Critical
Publication of CN111063183B publication Critical patent/CN111063183B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • 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
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/80Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Signal Processing (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The application provides an electric energy meter statistical method, an electric energy meter statistical device and a storage medium based on Bluetooth, which are applied to the field of electronic instruments, wherein the electric energy meter statistical method based on Bluetooth comprises the following steps: sending a search message to a preset range in a Bluetooth mode; receiving feedback messages sent by other connectable electric energy meters in a preset range according to the search messages, wherein the feedback messages comprise addresses of the connectable electric energy meters; and reading and storing the information of the electric energy meter which can be connected with the electric energy meter according to the address of the electric energy meter which can be connected with the electric energy meter. The Bluetooth electric energy meters in one region can communicate with each other to mutually acquire the information of the peripheral electric energy meters, so that the statistics of the information of the electric energy meters in the region is completed, and the statistical efficiency and the statistical accuracy are improved.

Description

Bluetooth-based electric energy meter statistical method and device and storage medium
Technical Field
The embodiment of the application relates to the field of power systems, in particular to an electric energy meter statistical method and device based on Bluetooth and a storage medium.
Background
In an electric power system, it is often necessary to count information of electric energy meters within a certain management range, for example, to know how many electric energy meters are within the management range. In order to facilitate statistics, many places have started to use the electric energy meter with the bluetooth function, so that other devices can read the electric energy meter information through the bluetooth function.
At present, the Bluetooth electric energy meter only has a cluster mode, namely only supports the searched function. In order to acquire the information of the Bluetooth electric energy meter in the periphery of an area, a Bluetooth palm machine can be used only by manpower to move around for searching, and a large amount of time can be wasted in the interaction process; in addition, due to the fact that the manual movement is limited in a certain range, certain electric meter information is easy to omit, and therefore statistics of the Bluetooth electric energy meter information in the whole area is difficult to complete completely.
Disclosure of Invention
In order to solve the problems in the prior art, the application provides an electric energy meter statistical method and device based on Bluetooth and a storage medium.
In order to achieve the purpose, the technical scheme adopted by the application is as follows:
the first aspect of the present application provides a statistical method for an electric energy meter based on bluetooth, which is applied to an electric energy meter with bluetooth function, the method includes:
sending a search message to a preset range in a Bluetooth mode;
receiving feedback messages sent by other connectable electric energy meters in the preset range according to the search messages, wherein the feedback messages comprise addresses of the connectable electric energy meters;
and reading and storing the electric energy meter information of the connectable electric energy meter according to the address of the connectable electric energy meter.
Optionally, the method further comprises:
receiving a reading request sent by a terminal in a Bluetooth mode;
sending electric energy meter statistical information to the terminal according to the reading request, wherein the electric energy meter statistical information comprises: the electric energy meter information of the electric energy meter and the electric energy meter information of each connectable electric energy meter.
Optionally, the electric energy meter information includes: identification, safety information, verification information and final communication time of the electric energy meter;
the reading and storing the electric energy meter information of the connectable electric energy meter according to the address of the connectable electric energy meter comprises:
reading the electric energy meter information of the connectable electric energy meter according to the address of the connectable electric energy meter;
determining whether historical electric energy meter information contains the verification information or not according to the verification information;
if the historical electric energy meter information does not contain the verification information of the connectable electric energy meter, storing the electric energy meter information of the connectable electric energy meter; alternatively, the first and second electrodes may be,
and if the historical electric energy meter information contains the verification information of the connectable electric energy meter, updating the last communication time corresponding to the connectable electric energy meter in the historical electric energy meter information.
Optionally, the method further comprises:
and if the historical electric energy meter information does not contain the verification information of the connectable electric energy meter, sending the electric energy meter information of the electric energy meter to the connectable electric energy meter.
Optionally, the sending the search packet to the preset range in the bluetooth mode includes:
and sending the search message to a preset range through a Bluetooth mode according to a preset period.
Optionally, after reading and storing the electric energy meter information of the connectable electric energy meter according to the address of the connectable electric energy meter, the method further includes:
and deleting the electric energy meter information of which the distance between the last communication time and the current time exceeds the preset duration according to the last communication time.
This application second aspect provides a bluetooth based electric energy meter statistics device, the device includes: a transmitting unit, a receiving unit, and a storage unit, wherein,
the sending unit is used for sending a search message to a preset range in a Bluetooth mode;
the receiving unit is configured to receive a feedback message sent by other connectable electric energy meters within the preset range according to the search message, where the feedback message includes an address of the connectable electric energy meter;
and the storage unit is used for reading and storing the electric energy meter information of the connectable electric energy meter according to the address of the connectable electric energy meter.
Optionally, the receiving unit is further configured to receive a reading request sent by the terminal in a bluetooth mode;
the sending unit is further configured to send electric energy meter statistical information to the terminal according to the reading request, where the electric energy meter statistical information includes: the electric energy meter information of the electric energy meter and the electric energy meter information of each connectable electric energy meter.
Optionally, the electric energy meter information includes: identification, safety information, verification information and final communication time of the electric energy meter; the device further comprises: a reading unit and a verification unit; wherein the content of the first and second substances,
the reading unit is used for reading the electric energy meter information of the connectable electric energy meter according to the address of the connectable electric energy meter;
the verification unit is used for determining whether historical electric energy meter information contains the verification information or not according to the verification information; if the historical electric energy meter information does not contain the verification information of the connectable electric energy meter, storing the electric energy meter information of the connectable electric energy meter; or if the historical electric energy meter information contains the verification information of the connectable electric energy meter, updating the last communication time corresponding to the connectable electric energy meter in the historical electric energy meter information.
Optionally, the sending unit is further configured to send the electric energy meter information of the electric energy meter to the connectable electric energy meter if the historical electric energy meter information does not include the verification information of the connectable electric energy meter.
Optionally, the sending unit is specifically configured to send the search packet to a preset range in a bluetooth mode according to a preset period.
Optionally, the apparatus further comprises: a deletion unit; wherein the content of the first and second substances,
and the deleting unit is used for deleting the electric energy meter information of which the distance between the last communication time and the current time exceeds the preset duration according to the last communication time.
The third aspect of the present application provides an electric energy meter statistical apparatus based on bluetooth, including: a processor, a storage medium and a bus, wherein the storage medium stores machine-readable instructions executable by the processor, when the apparatus is operated, the processor communicates with the storage medium through the bus, and the processor executes the machine-readable instructions to perform the method provided by the first aspect.
A fourth aspect of the present application provides a storage medium having stored thereon a computer program which, when executed by a processor, performs the method as provided in the first aspect.
The utility model provides an electric energy meter statistical method based on bluetooth through increasing the bluetooth mode in the electric energy meter, makes the bluetooth electric energy meter not only possess the cluster mode, can also initiatively search for other bluetooth equipment. Firstly, the Bluetooth electric energy meter sends a search message to a preset range by utilizing a Bluetooth mode; then, the Bluetooth electric energy meter receives feedback messages sent by other connectable Bluetooth electric energy meters in a preset range according to the search messages; and finally, the Bluetooth electric energy meter reads and stores the electric energy meter information which can be connected with the Bluetooth electric energy meter according to the address which can be connected with the Bluetooth electric energy meter in the received feedback message. The method and the device have the advantages that the peripheral electric energy meter information can be acquired through Bluetooth communication among the Bluetooth electric energy meters in one region, so that when the electric energy meter information needs to be counted by an electric power system, the electric energy meter information in a certain region can be acquired only by connecting one electric energy meter, and the counting efficiency and the counting accuracy are improved.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are required to be used in the embodiments will be briefly described below, it should be understood that the following drawings only illustrate some embodiments of the present application and therefore should not be considered as limiting the scope, and for those skilled in the art, other related drawings can be obtained from the drawings without inventive effort.
Fig. 1 is a schematic structural diagram of a bluetooth-based electric energy meter statistical system according to an embodiment of the present application;
fig. 2 is a schematic flowchart of a bluetooth-based electric energy meter statistical method according to an embodiment of the present application;
fig. 3 is a schematic flowchart of a bluetooth-based electric energy meter statistical method according to another embodiment of the present application;
fig. 4 is a schematic flowchart of a bluetooth-based electric energy meter statistical method according to another embodiment of the present application;
fig. 5 is a schematic structural diagram of a bluetooth-based electric energy meter statistics apparatus according to an embodiment of the present application;
fig. 6 is a schematic structural diagram of a bluetooth-based electric energy meter statistics apparatus according to another embodiment of the present application;
fig. 7 is a schematic structural diagram of a bluetooth-based electric energy meter statistical apparatus according to another embodiment of the present application.
Detailed Description
The embodiment of the application provides an electric energy meter statistical method and device based on Bluetooth and a storage medium, aiming at the problems of low efficiency and low precision in the mode of manually using a Bluetooth palm computer to move everywhere to acquire all Bluetooth electric energy meter information in a certain area in the prior art.
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 only a part of the embodiments of the present application, and not all the embodiments. The components of the embodiments of the present application, generally described and illustrated in the figures herein, can be arranged and designed in a wide variety of different configurations.
Thus, the following detailed description of the embodiments of the present application, presented in the accompanying drawings, is not intended to limit the scope of the claimed application, but is merely representative of selected embodiments of the application. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within 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.
Fig. 1 is a schematic structural diagram of a bluetooth-based electric energy meter statistical system according to an embodiment of the present application, and as shown in fig. 1, the system includes: the terminal and a plurality of electric energy meters 01 (3 electric energy meters are taken as an example in fig. 1), the electric energy meters 01 can communicate with each other through bluetooth, and information of other electric energy meters can be actively acquired.
Fig. 2 is a schematic flowchart of a bluetooth-based electric energy meter statistical method according to an embodiment of the present application, where an execution subject of the method may be any one of the electric energy meters in fig. 1, as shown in fig. 2, the method includes:
s201, sending a search message to a preset range through a Bluetooth mode.
In this embodiment, before the bluetooth electric energy meter sends the search message to the preset range through the bluetooth mode, the bluetooth electric energy meter may first connect to the surrounding bluetooth devices one by one through the bluetooth mode, and after the connection is successful, the bluetooth electric energy meter may first send the communication protocol message to the bluetooth devices that are successfully connected, and if the bluetooth devices respond to the communication protocol message, that is, a response message is returned for the communication protocol message, it is determined that the bluetooth devices that are successfully connected are the bluetooth electric energy meter. On the contrary, if no response message is returned, the bluetooth device which is successfully connected is judged not to be the bluetooth electric energy meter, and then the connection with the bluetooth device is disconnected and the next bluetooth device is connected. It will be appreciated that this ensures that eventually all connected bluetooth devices are bluetooth power meters.
Specifically, after the connected bluetooth device is ensured to be the bluetooth electric energy meter, the bluetooth electric energy meter sends a search message, also called a request message, to a preset range by using the bluetooth module, and the request message is used to transmit a request message for acquiring information of the peripheral bluetooth electric energy meter.
It should be noted that, in the embodiment of the present application, a manual mode is further added, the bluetooth meter searching step is started in a form of a liquid crystal display and a key, in addition, electric energy meter information may be manually added from a bluetooth device list, a certain bluetooth device is manually selected for adding, and if the bluetooth device is a bluetooth electric energy meter, subsequent information and data updating are performed according to an active mode flow; if the Bluetooth equipment is not the Bluetooth electric energy meter, the addition fails. Correspondingly, the Bluetooth table searching process can also be stopped through the key, and the Bluetooth searching function can be immediately ended by using the stop key regardless of the active table searching mode or the manual table searching mode.
S202, receiving feedback messages sent by other connectable electric energy meters in a preset range according to the search messages, wherein the feedback messages comprise addresses of the connectable electric energy meters.
The bluetooth electric energy meter sending the search message receives feedback information of other electric energy meters in a bluetooth connection state with the bluetooth electric energy meter, and the feedback information contains address information of other bluetooth electric energy meters.
It should be noted that the address information of the bluetooth electric energy meter represents the identity information of the bluetooth electric energy meter, and has uniqueness.
And S203, reading and storing the electric energy meter information which can be connected with the electric energy meter according to the address of the electric energy meter.
It should be noted that, after the address information of the connectable electric energy meter is successfully extracted from the return message, the electric energy meter information of the connectable electric energy meter is further read according to the address information of the connectable electric energy meter.
In this embodiment, by adding the bluetooth mode to the electric energy meter, the bluetooth electric energy meter not only has the cluster mode, but also can actively search for other bluetooth devices. Firstly, the Bluetooth electric energy meter sends a search message to a preset range by utilizing a Bluetooth mode; then, the Bluetooth electric energy meter receives feedback messages sent by other connectable Bluetooth electric energy meters in a preset range according to the search messages; and finally, the Bluetooth electric energy meter reads and stores the electric energy meter information which can be connected with the Bluetooth electric energy meter according to the address which can be connected with the Bluetooth electric energy meter in the received feedback message. The method and the device have the advantages that the peripheral electric energy meter information can be acquired through Bluetooth communication among the Bluetooth electric energy meters in one region, so that when the electric energy meter information needs to be counted by an electric power system, the electric energy meter information in a certain region can be acquired only by connecting one electric energy meter, and the counting efficiency and the counting accuracy are improved.
Optionally, the electric energy meter information connectable to the electric energy meter is identification, safety information, verification information, last communication time, and the like of the electric energy meter. Specifically, the identifier of the electric energy meter may be address information or number information of the electric energy meter; the security information may be esam information; the verification information may be the database MD5, and the embodiment of the present application is not particularly limited.
Fig. 3 is a schematic flowchart of a bluetooth-based electric energy meter statistical method according to an embodiment of the present application, as shown in fig. 3, in some embodiments of the present application, the method further includes:
s301, receiving a reading request sent by the terminal in a Bluetooth mode.
It should be noted that, after the above steps S201-S203 are performed for several cycles, the database in each bluetooth electric energy meter includes information of all bluetooth electric energy meters within a certain communication range around the bluetooth electric energy meter.
Further, when the information of the bluetooth electric energy meter needs to be checked, the bluetooth electric energy meter receives a reading request sent by a checking device such as a terminal, specifically, a bluetooth palm or a mobile phone, and the bluetooth electric energy meter receiving the reading request can be any bluetooth electric energy meter within a certain range.
And S302, sending the statistical information of the electric energy meter to the terminal according to the reading request.
It should be noted that the statistical information of the electric energy meter includes: the information of the electric energy meter and the information of the electric energy meters which can be connected with the electric energy meters. Specifically, the electric energy meter statistical information may be a database file of all bluetooth electric energy meters within a certain range, and may be recorded and transmitted in a form manner, for example.
Furthermore, after the terminal receives the electric energy meter statistical information sent by any one Bluetooth electric energy meter in a certain area, the database file can be directly displayed on the terminal screen in a form mode.
The database file of the electric energy meter may specifically be the identifier, the security information, the verification information, the last communication time, and the like of the electric energy meter, and includes, for example: the bluetooth name, the electric energy meter address, the electric energy meter serial number, esam information, the last communication time, the database MD5, and the like.
It should be noted that the database MD5 in the information is a hash value of the database file of the self electric energy meter calculated by using the MD5 algorithm. Specifically, in the database synchronization link, whether the electric energy meter data needs to be transmitted or not can be determined by comparing whether the values of the two electric energy meter databases MD5 are the same or not.
In some embodiments of the present application, the implementation process of step S203 may include: and reading the information of the electric energy meter which can be connected with the electric energy meter according to the address of the electric energy meter which can be connected with the electric energy meter. And determining whether the historical electric energy meter information contains the verification information or not according to the verification information.
Optionally, the determining whether the historical electric energy meter information contains the verification information includes: and if the historical electric energy meter information does not contain the verification information of the connectable electric energy meter, storing the electric energy meter information of the connectable electric energy meter. Or, in another embodiment, if the historical electric energy meter information includes verification information of the connectable electric energy meter, the last communication time corresponding to the connectable electric energy meter is updated in the historical electric energy meter information.
Further, in some embodiments of the present application, if the historical electric energy meter information does not include the verification information of the connectable electric energy meter, the electric energy meter information of the electric energy meter is sent to the connectable electric energy meter.
Alternatively, in the database synchronization step, the following steps may be performed: acquiring all the electric energy meter information stored in any electric energy meter (electric meter 1) in a certain range, and then extracting the value of a database MD5 in all the electric energy meter information stored in the electric meter 1; then, matching with the database MD5 values in all the electric energy meter information stored in the electric energy meter (electric meter 2), and if the corresponding database MD5 values in all the electric energy meter information stored in the two electric energy meters are completely matched, the database synchronization is successful; if the values of the corresponding databases MD5 in all the stored electric energy meter information of the two are not completely matched, all the electric energy meter information stored in the electric meter 1 is firstly sent to the electric meter 2, and then all the electric energy meter information stored in the electric meter 2 is read and stored in the database of the electric meter 1. Finally, updating and comparing the values of the databases MD5, and if the corresponding values of the databases MD5 in all the electric energy meter information stored in the electric meter 1 and the electric meter 2 are completely consistent, the databases are synchronously finished; if the difference is not, resynchronization is performed, and the number of resynchronization times per day is specifically set according to the actual situation, which is not specifically limited in the embodiments of the present application.
It can be understood that, when the electric energy meter information synchronization is carried out between the Bluetooth electric energy meters, not only one electric energy meter transfers the electric energy meter information to the other electric energy meter, but also the other electric energy meter can actively send the electric energy meter information of the database to the one electric energy meter.
In some embodiments of the present application, the implementation process of step S201 may specifically include: and sending the search message to a preset range through a Bluetooth mode according to a preset period. The information of the electric energy meter is collected once after a period of time, so that the change of the electric energy meter in the coverage area can be updated in time.
As shown in fig. 4, in some embodiments of the present application, after step S203, the method further comprises step S204. The following were used:
and S204, deleting the electric energy meter information of which the distance between the last communication time and the current time exceeds the preset time according to the last communication time.
It should be noted that, in the electric energy meter information deleting step, the last communication time of each electric energy meter in the surrounding communication range is already stored in each electric energy meter database, and if it is found that the last communication time of any one of the electric energy meters exceeds a certain preset time, the electric energy meter information of the electric energy meter of which the last communication time exceeds the preset time in the database is actively deleted, so that the storage space can be saved.
The utility model provides an electric energy meter statistical method based on bluetooth through increase the bluetooth mode in the electric energy meter, makes the bluetooth electric energy meter not only possess and crowd the machine mode, still possesses the host computer mode. Firstly, the Bluetooth electric energy meter sends a search message to a preset range by utilizing a Bluetooth mode; then, the Bluetooth electric energy meter receives feedback messages sent by other connectable Bluetooth electric energy meters in a preset range according to the search messages; and finally, the Bluetooth electric energy meter reads and stores the electric energy meter information which can be connected with the Bluetooth electric energy meter according to the address which can be connected with the Bluetooth electric energy meter in the received feedback message. The method and the device realize complete statistics of the information of the Bluetooth electric energy meters in one region, and improve the statistical efficiency and the statistical accuracy.
The embodiment of the application provides an electric energy meter statistical device based on Bluetooth, which is used for executing the electric energy meter statistical method based on Bluetooth. Fig. 5 is a schematic structural diagram of an electric energy meter statistics apparatus based on bluetooth according to an embodiment of the present application, and as shown in fig. 5, the electric energy meter statistics apparatus based on bluetooth includes: a transmitting unit 101, a receiving unit 102, and a storing unit 103, wherein,
the sending unit 101 is configured to send a search packet to a preset range in a bluetooth mode.
The receiving unit 102 is configured to receive a feedback message sent by other connectable electric energy meters within a preset range according to the search message, where the feedback message includes an address of the connectable electric energy meter.
The storage unit 103 is used for reading and storing the electric energy meter information of the connectable electric energy meter according to the address of the connectable electric energy meter.
Optionally, the receiving unit 102 is further configured to receive a reading request sent by the terminal in the bluetooth mode.
The sending unit 101 is further configured to send, according to the reading request, electric energy meter statistical information to the terminal, where the electric energy meter statistical information includes: the information of the electric energy meter and the information of the electric energy meters which can be connected with the electric energy meters.
Fig. 6 is a schematic structural diagram of a bluetooth-based electric energy meter statistics apparatus according to another embodiment of the present application, as shown in fig. 6, based on fig. 5, the electric energy meter statistics apparatus further includes: a read unit 104 and a verification unit 105.
Specifically, the reading unit 104 is configured to read the electric energy meter information of the connectable electric energy meter according to the address of the connectable electric energy meter.
The checking unit 105 is used for determining whether the historical electric energy meter information contains the checking information or not according to the checking information; if the historical electric energy meter information does not contain the verification information of the connectable electric energy meter, storing the electric energy meter information of the connectable electric energy meter; or if the historical electric energy meter information contains the verification information of the connectable electric energy meter, updating the last communication time corresponding to the connectable electric energy meter in the historical electric energy meter information.
In some embodiments of the present application, the sending unit 101 is further configured to send the electric energy meter information of the electric energy meter to the connectable electric energy meter if the historical electric energy meter information does not include the verification information of the connectable electric energy meter.
In some embodiments of the present application, the sending unit 101 is further configured to send the search packet to a preset range through a bluetooth mode according to a preset period.
In some embodiments of the present application, the bluetooth-based electric energy meter statistics apparatus further comprises: and a deleting unit 106. Wherein the content of the first and second substances,
and the deleting unit 106 is configured to delete the electric energy meter information of which the last communication time exceeds the preset time length from the current time according to the last communication time.
Fig. 7 is a schematic structural diagram of a bluetooth-based electric energy meter statistical apparatus according to an embodiment of the present application, which corresponds to a bluetooth-based electric energy meter statistical method; the electric energy meter statistical device can comprise: a processor 310, a storage medium 320 and a bus 330, wherein the storage medium 320 stores machine-readable instructions executable by the processor 310, and when the electronic device is operated, the processor 310 communicates with the storage medium 320 via the bus 330, and the processor 310 executes the machine-readable instructions to perform the steps of the above-mentioned method embodiments. The specific implementation and technical effects are similar, and are not described herein again.
The embodiment of the application provides a storage medium, wherein a computer program is stored on the storage medium, and the computer program is executed by a processor to execute the method.
The above description is only a preferred embodiment of the present application and is not intended to limit the present application, and various modifications and changes may be made by those skilled in the art. Any modification, equivalent replacement, improvement and the like made within the spirit and principle of the present application shall be included in the protection scope of the present application.

Claims (10)

1. A Bluetooth-based electric energy meter statistical method is applied to an electric energy meter with a Bluetooth function, and the method comprises the following steps:
sending a search message to a preset range in a Bluetooth mode;
receiving feedback messages sent by other connectable electric energy meters in the preset range according to the search messages, wherein the feedback messages comprise addresses of the connectable electric energy meters;
reading and storing the electric energy meter information of the connectable electric energy meter according to the address of the connectable electric energy meter;
the electric energy meter not only has a slave mode, but also has a host mode, and can actively search other Bluetooth devices;
the other connectable electric energy meters are other connectable Bluetooth electric energy meters.
2. The method of claim 1, further comprising:
receiving a reading request sent by a terminal in a Bluetooth mode;
sending electric energy meter statistical information to the terminal according to the reading request, wherein the electric energy meter statistical information comprises: the electric energy meter information of the electric energy meter and the electric energy meter information of each connectable electric energy meter.
3. The method of claim 1 or 2, wherein the power meter information comprises: identification, safety information, verification information and final communication time of the electric energy meter;
the reading and storing the electric energy meter information of the connectable electric energy meter according to the address of the connectable electric energy meter comprises:
reading the electric energy meter information of the connectable electric energy meter according to the address of the connectable electric energy meter;
determining whether historical electric energy meter information contains the verification information or not according to the verification information;
if the historical electric energy meter information does not contain the verification information of the connectable electric energy meter, storing the electric energy meter information of the connectable electric energy meter; alternatively, the first and second electrodes may be,
and if the historical electric energy meter information contains the verification information of the connectable electric energy meter, updating the last communication time corresponding to the connectable electric energy meter in the historical electric energy meter information.
4. The method of claim 3, further comprising:
and if the historical electric energy meter information does not contain the verification information of the connectable electric energy meter, sending the electric energy meter information of the electric energy meter to the connectable electric energy meter.
5. The method according to claim 1, wherein the sending the search packet to the predetermined range via the bluetooth mode comprises:
and sending the search message to a preset range through a Bluetooth mode according to a preset period.
6. The method according to claim 3, wherein after reading and storing the electric energy meter information of the connectable electric energy meter according to the address of the connectable electric energy meter, the method further comprises:
and deleting the electric energy meter information of which the distance between the last communication time and the current time exceeds the preset duration according to the last communication time.
7. An electric energy meter statistical device based on Bluetooth, the device comprising: a transmitting unit, a receiving unit, and a storage unit, wherein,
the sending unit is used for sending a search message to a preset range in a Bluetooth mode;
the receiving unit is configured to receive a feedback message sent by other connectable electric energy meters within the preset range according to the search message, where the feedback message includes an address of the connectable electric energy meter;
the storage unit is used for reading and storing the electric energy meter information of the connectable electric energy meter according to the address of the connectable electric energy meter;
the electric energy meter not only has a slave mode, but also has a host mode, and can actively search other Bluetooth devices;
the other connectable electric energy meters are other connectable Bluetooth electric energy meters.
8. The apparatus of claim 7,
the receiving unit is also used for receiving a reading request sent by the terminal in a Bluetooth mode;
the sending unit is further configured to send electric energy meter statistical information to the terminal according to the reading request, where the electric energy meter statistical information includes: the electric energy meter information of the electric energy meter and the electric energy meter information of each connectable electric energy meter.
9. The utility model provides an electric energy meter statistics device based on bluetooth which characterized in that includes: a processor, a storage medium and a bus, the storage medium storing machine-readable instructions executable by the processor, the processor and the storage medium communicating over the bus when the apparatus is operating, the processor executing the machine-readable instructions to perform the steps of the method of any one of claims 1-6.
10. A storage medium, having stored thereon a computer program which, when being executed by a processor, carries out the steps of the method according to any one of claims 1 to 6.
CN201911363304.3A 2019-12-25 2019-12-25 Bluetooth-based electric energy meter statistical method and device and storage medium Active CN111063183B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911363304.3A CN111063183B (en) 2019-12-25 2019-12-25 Bluetooth-based electric energy meter statistical method and device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911363304.3A CN111063183B (en) 2019-12-25 2019-12-25 Bluetooth-based electric energy meter statistical method and device and storage medium

Publications (2)

Publication Number Publication Date
CN111063183A CN111063183A (en) 2020-04-24
CN111063183B true CN111063183B (en) 2021-03-19

Family

ID=70303770

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911363304.3A Active CN111063183B (en) 2019-12-25 2019-12-25 Bluetooth-based electric energy meter statistical method and device and storage medium

Country Status (1)

Country Link
CN (1) CN111063183B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112737766B (en) * 2020-12-25 2022-08-19 国网浙江省电力有限公司营销服务中心 Bluetooth communication dynamic key pairing method suitable for installation type electric energy meter
CN115420944B (en) * 2022-08-30 2023-09-22 江苏盛德电子仪表有限公司 But intelligent ammeter of electric quantity analysis and inquiry based on bluetooth communication
CN116847286A (en) * 2023-08-15 2023-10-03 宁波东海集团有限公司 Water meter reading method, system, intelligent terminal and storage medium

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1273659A (en) * 1998-06-29 2000-11-15 通用电气公司 Electronic electricity meter
JP2004094530A (en) * 2002-08-30 2004-03-25 Osaka Gas Co Ltd Meter-reading system and repeater system
CN101252755A (en) * 2008-03-29 2008-08-27 青岛海信移动通信技术股份有限公司 Mobile communication terminal and monitoring method thereof
CN202563670U (en) * 2012-05-11 2012-11-28 四川优的科技有限公司 Power control system based on Bluetooth module
CN104121985A (en) * 2013-04-29 2014-10-29 艾默生电气(美国)控股公司(智利)有限公司 Selective decimation and analysis of oversampled data
KR20140126156A (en) * 2013-04-22 2014-10-30 (주)인프라칩 System and method for automatic scan Safety Taxi identifier for the taxi safe return
CN204242391U (en) * 2014-09-18 2015-04-01 哈尔滨恒誉名翔科技有限公司 Intelligent mobile phone Bluetooth turns infrared writing-down device for meters
CN105262512A (en) * 2015-09-17 2016-01-20 小米科技有限责任公司 Method and device for host switching
CN105321220A (en) * 2014-06-23 2016-02-10 无锡和晶科技股份有限公司 Small-range bluetooth terminal counter and counting method thereof
CN107563529A (en) * 2017-09-29 2018-01-09 国网辽宁省电力有限公司沈阳供电公司 A kind of electric power geography information operating system based on GPS and inertial positioning

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7299007B2 (en) * 2001-02-01 2007-11-20 Ack Venture Holdings, Llc Mobile computing and communication
US20060079230A1 (en) * 2004-10-13 2006-04-13 Russell Thomas C System and methods for redundant networks
CA2841017C (en) * 2006-03-27 2016-12-20 The Nielsen Company (Us), Llc Methods and systems to meter media content presented on a wireless communication device
CN101825890A (en) * 2010-03-25 2010-09-08 刘文祥 Object network
CN103152166B (en) * 2013-03-19 2015-08-26 成都秦川科技发展有限公司 Remote-control intelligent water meter information security management module
CN104182840B (en) * 2014-08-26 2018-03-09 国网浙江省电力有限公司 Power marketing measures mobile application system and its method of work
CN106100904B (en) * 2016-08-09 2019-06-18 深圳中兴网信科技有限公司 Equipment connection method connects system with equipment
CN106603308A (en) * 2017-01-03 2017-04-26 国网浙江省电力公司宁波供电公司 Method and system for household meter dynamic registration and stage area identification

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1273659A (en) * 1998-06-29 2000-11-15 通用电气公司 Electronic electricity meter
JP2004094530A (en) * 2002-08-30 2004-03-25 Osaka Gas Co Ltd Meter-reading system and repeater system
CN101252755A (en) * 2008-03-29 2008-08-27 青岛海信移动通信技术股份有限公司 Mobile communication terminal and monitoring method thereof
CN202563670U (en) * 2012-05-11 2012-11-28 四川优的科技有限公司 Power control system based on Bluetooth module
KR20140126156A (en) * 2013-04-22 2014-10-30 (주)인프라칩 System and method for automatic scan Safety Taxi identifier for the taxi safe return
CN104121985A (en) * 2013-04-29 2014-10-29 艾默生电气(美国)控股公司(智利)有限公司 Selective decimation and analysis of oversampled data
CN105321220A (en) * 2014-06-23 2016-02-10 无锡和晶科技股份有限公司 Small-range bluetooth terminal counter and counting method thereof
CN204242391U (en) * 2014-09-18 2015-04-01 哈尔滨恒誉名翔科技有限公司 Intelligent mobile phone Bluetooth turns infrared writing-down device for meters
CN105262512A (en) * 2015-09-17 2016-01-20 小米科技有限责任公司 Method and device for host switching
CN107563529A (en) * 2017-09-29 2018-01-09 国网辽宁省电力有限公司沈阳供电公司 A kind of electric power geography information operating system based on GPS and inertial positioning

Also Published As

Publication number Publication date
CN111063183A (en) 2020-04-24

Similar Documents

Publication Publication Date Title
CN111063183B (en) Bluetooth-based electric energy meter statistical method and device and storage medium
CN108810116B (en) Message processing method and related product
CN111143371A (en) Data query method, device, equipment, system and medium
CN105577879B (en) A kind of book management method and mobile terminal
US20190342738A1 (en) Method and Device for Sharing File Between Different Terminals
CN110516471A (en) Product promotion method and relevant device based on information security
CN105187444A (en) Key information burning method and device
CN112445874A (en) Node information checking method, device, equipment and storage medium
CN114328566A (en) Relationship graph updating method, device, medium, equipment and generating method
CN112566078A (en) Device connection method and apparatus, storage medium, and electronic apparatus
CN111507434A (en) Information acquisition method and device, electronic equipment and computer readable storage medium
CN102083058A (en) Smart card, card writing system and method and self-help account opening server
CN112738019B (en) Method and device for displaying device information, storage medium and electronic device
CN112035720A (en) Event reminding triggering method and device, storage medium and electronic equipment
CN101873580B (en) Download method of business application and business application management platform system
CN107872493B (en) Information processing method, terminal and server
CN102413488B (en) Information interacting method in automatic drive test system and equipment
CN104735643A (en) Information processing method and data server
CN112685064B (en) Processing method and device for equipment identification, storage medium and electronic device
CN110769399B (en) Internet of things equipment connection networking method, internet of things equipment system and information access and transmission method
CN114827967A (en) Software updating method, Bluetooth device and storage medium
CN106713581A (en) Communication number identification method, terminal and system
CN114143308A (en) File uploading information processing method and device, computer equipment and storage medium
CN105072596A (en) Privacy protection method for mobile terminal
CN108255533B (en) System configuration changing method and device

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