CN113884754A - Electric quantity acquisition method and device - Google Patents

Electric quantity acquisition method and device Download PDF

Info

Publication number
CN113884754A
CN113884754A CN202111481312.5A CN202111481312A CN113884754A CN 113884754 A CN113884754 A CN 113884754A CN 202111481312 A CN202111481312 A CN 202111481312A CN 113884754 A CN113884754 A CN 113884754A
Authority
CN
China
Prior art keywords
sub
data
uploading
meter
path
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.)
Pending
Application number
CN202111481312.5A
Other languages
Chinese (zh)
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.)
Yunding Network Technology Beijing Co Ltd
Original Assignee
Yunding Network Technology Beijing 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 Yunding Network Technology Beijing Co Ltd filed Critical Yunding Network Technology Beijing Co Ltd
Priority to CN202111481312.5A priority Critical patent/CN113884754A/en
Publication of CN113884754A publication Critical patent/CN113884754A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R22/00Arrangements for measuring time integral of electric power or current, e.g. electricity meters
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R11/00Electromechanical arrangements for measuring time integral of electric power or current, e.g. of consumption
    • G01R11/56Special tariff meters

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Power Engineering (AREA)
  • Remote Monitoring And Control Of Power-Distribution Networks (AREA)

Abstract

The embodiment of the application discloses electric quantity acquisition method and device, which are applied to a total electric meter, wherein a plurality of data transmission paths are formed between the total electric meter and a plurality of sub-meters, and the plurality of sub-meters are distributed in a plurality of spaces to be measured, and a specific implementation mode of the method comprises the following steps: receiving data uploaded by each sub-table through a plurality of data transmission paths, wherein the data at least comprises the jumping times of the data transmission paths; determining the shortest uploading path according to the data; informing each sub-meter to upload the electric quantity of the sub-meter by the shortest uploading path; and obtaining the electric quantity of a plurality of spaces to be measured according to the electric quantity of the total electric meter and the electric quantity of each sub-meter. This embodiment has avoided complicated wiring and networking requirement, has realized more convenient electric quantity management.

Description

Electric quantity acquisition method and device
Technical Field
The embodiment of the application relates to the field of intelligent equipment, in particular to an electric quantity acquisition method and device.
Background
With the rise of intelligent area management, smart meters have been applied to some apartments in order to facilitate billing management for apartment tenants. Through smart electric meter, can more conveniently measure electric quantity and charges of electricity. However, current smart meters are rail or wall-mounted meters, which require wiring of house resources. The customer needs to change the line, which results in high labor cost and material cost for modification.
Disclosure of Invention
The embodiment of the application provides an electric quantity acquisition method and device.
In a first aspect, an embodiment of the present application provides an electric quantity collection method. The method is applied to a total electric meter, a plurality of data transmission paths are formed between the total electric meter and a plurality of sub-meters, wherein the plurality of sub-meters are distributed in a plurality of spaces to be measured, and the method comprises the following steps: receiving data uploaded by each sub-table through a plurality of data transmission paths, wherein the data at least comprises the jumping times of the data transmission paths; determining the shortest uploading path according to the data; informing each sub-meter to upload the electric quantity of the sub-meter by the shortest uploading path; and obtaining the electric quantity of a plurality of spaces to be measured according to the electric quantity of the total electric meter and the electric quantity of each sub-meter.
In some embodiments, receiving data uploaded by each sub-table via a plurality of data transmission paths comprises: receiving data uploaded for the first time by each sub-table through a plurality of data transmission paths; determining whether new data is uploaded within a preset time period; if yes, comparing the first uploaded data with the new data; if not, the method further comprises: and issuing a locking path instruction to each sub-table, and informing each sub-table to upload data according to the shortest uploading path, wherein the jumping times of the shortest uploading path are minimum.
In some embodiments, the method further comprises: and determining the shortest uploading path according to the comparison result of the first uploaded data and the new data.
In some embodiments, determining the shortest upload path according to the comparison result of the first upload data and the new data includes: when the jumping times of the first uploading is larger than the new jumping times, updating the shortest uploading path to a data transmission path corresponding to the new jumping times; and when the jumping times of the first uploading is smaller than the new jumping times, abandoning the new jumping times and keeping the shortest uploading path unchanged.
In some embodiments, the data further includes an upload time, and determining the shortest upload path according to a comparison result of the first uploaded data and the new data includes: and when the jumping times of the first uploading are equal to the new jumping times, comparing the uploading time of the first uploading with the new uploading time, and when the new uploading time is less than the uploading time of the first uploading, updating the shortest uploading path into a data transmission path corresponding to the new uploading time.
In some embodiments, the method further comprises: and when any one of the plurality of data transmission paths breaks or recovers the connection, re-determining and updating the shortest uploading path.
In some embodiments, the method comprises: and when the shortest uploading path is disconnected, informing each sub-table to stop uploading data, and re-determining a new shortest uploading path.
In some embodiments, the method further comprises: and calculating the electricity charge according to the electric quantity of the spaces to be measured.
In some embodiments, calculating the electricity fee from the amounts of electricity in the plurality of spaces to be metered includes: determining the shared electric charge of each space to be measured according to the electric quantity of the total electric meter; determining the socket electricity charge of each space to be measured according to the sub-meter electricity quantity; and calculating the electric charge of each space to be measured according to the electric charge of the shared share and the electric charge of the socket.
In some embodiments, the method further comprises: and communicating with the terminal, receiving the power rate balance from the terminal, and determining whether to power off according to the power rate balance.
In a second aspect, this embodiment provides an electric quantity collection device, and the device is applied to the total ammeter, all is formed with many data transmission paths between total ammeter and a plurality of sub-tables, and a plurality of sub-tables distribute in a plurality of spaces of waiting to measure, and the device includes: the receiving module is used for receiving data uploaded by each sub-table through a plurality of data transmission paths, and the data at least comprises the jumping times of the data transmission paths; the determining module is used for determining the shortest uploading path according to the data; the notification module is used for notifying each sub-meter of uploading the electric quantity of the sub-meter by the shortest uploading path; and the calculation module is used for obtaining the electric quantity of the spaces to be measured according to the electric quantity of the total electric meter and the electric quantity of each sub-meter.
In a third aspect, the present embodiment provides a computer-readable medium, on which a computer program is stored, where the program, when executed by a processor, implements the power collection method in the embodiments of the present application.
In a fourth aspect, this embodiment provides a processor, where the processor is configured to execute a program, where the program executes to implement the power collection method in this embodiment.
In a fifth aspect, the present embodiment provides a smart meter, including: one or more processors; a storage device having one or more programs stored thereon; the one or more programs, when executed by the one or more processors, cause the one or more processors to implement the power harvesting methods of the embodiments of the present application.
The embodiment of the application provides a method and a device for collecting electric quantity, which are applied to a total electric meter, wherein a plurality of data transmission paths are formed between the total electric meter and a plurality of sub-meters, and the plurality of sub-meters are distributed in a plurality of spaces to be measured, and a specific implementation mode of the method comprises the following steps: receiving data uploaded by each sub-table through a plurality of data transmission paths, wherein the data at least comprises the jumping times of the data transmission paths; determining the shortest uploading path according to the data; informing each sub-meter to upload the electric quantity of the sub-meter by the shortest uploading path; and obtaining the electric quantity of a plurality of spaces to be measured according to the electric quantity of the total electric meter and the electric quantity of each sub-meter. This embodiment has avoided complicated wiring and networking requirement, has realized more convenient electric quantity management.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below. It is obvious that the drawings in the following description are only some examples or embodiments of the present application, and that for a person skilled in the art, other drawings can be obtained from the provided drawings without inventive effort, and that the present application can also be applied to other similar scenarios from the provided drawings. Unless otherwise apparent from the context, or otherwise indicated, like reference numbers in the figures refer to the same structure or operation.
Fig. 1 is a flowchart of a power collection method according to an embodiment of the present application.
FIG. 2 is a schematic diagram of a total table and sub-table connection according to an embodiment of the present application.
Fig. 3 is a flowchart of a power collection method according to an embodiment of the present application.
Fig. 4 is a flowchart of a power collection method according to an embodiment of the present application.
Fig. 5 is a flowchart of a power collection method according to an embodiment of the present application.
Fig. 6 is a flowchart of a power collection method according to an embodiment of the present application.
Fig. 7 is a flowchart of a power collection method according to an embodiment of the present application.
Fig. 8 is a schematic structural diagram of a power collection device according to an embodiment of the present application.
FIG. 9 is a schematic block diagram of an electronic device suitable for use in implementing some embodiments of the present application.
Detailed Description
The present application will be described in further detail with reference to the following drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the relevant invention and not restrictive of the invention. The described embodiments are only some embodiments of the present application and not all embodiments. 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, for convenience of description, only the portions related to the related invention are shown in the drawings. The embodiments and features of the embodiments in the present application may be combined with each other without conflict.
It should be understood that "system", "apparatus", "unit" and/or "module" as used herein is a method for distinguishing different components, elements, parts or assemblies at different levels. However, other words may be substituted by other expressions if they accomplish the same purpose.
As used in this application and the appended claims, the terms "a," "an," "the," and/or "the" are not intended to be inclusive in the singular, but rather are intended to be inclusive in the plural unless the context clearly dictates otherwise. In general, the terms "comprises" and "comprising" merely indicate that steps and elements are included which are explicitly identified, that the steps and elements do not form an exclusive list, and that a method or apparatus may include other steps or elements. An element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in the process, method, article, or apparatus that comprises the element.
In the description of the embodiments herein, "/" means "or" unless otherwise specified, for example, a/B may mean a or B; "and/or" herein is merely an association describing an associated object, and means that there may be three relationships, e.g., a and/or B, which may mean: a exists alone, A and B exist simultaneously, and B exists alone. In addition, in the description of the embodiments of the present application, "a plurality" means two or more than two.
In the following, the terms "first", "second" are used for descriptive purposes only and are not to be understood as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of that feature.
Flow charts are used herein to illustrate operations performed by systems according to embodiments of the present application. It should be understood that the preceding or following operations are not necessarily performed in the exact order in which they are performed. Rather, the various steps may be processed in reverse order or simultaneously. Meanwhile, other operations may be added to the processes, or a certain step or several steps of operations may be removed from the processes.
In the related art, in order to facilitate management of electricity charges of tenants, charging equipment such as intelligent electric meters and the like are applied to some apartments, so that the electricity charges can be more conveniently measured. In the smart electric meter, the electric meter adopted in the related art is in a guide rail type or wall-mounted type smart electric meter, and a cloud service management and control scheme can be adopted. The premise for implementing the scheme needs to be modified for the electric wires of the house source, such as an A electric meter for measuring the electric quantity of the room 1 and a B electric meter for recording the electric quantity of the room 2. Then, the electric quantity of each electric meter is uploaded to a server, and data processing is carried out in the background.
However, the related art has a requirement on wiring of a house source, and if one house source is used, the original wiring such as one electric wire simultaneously supplies power to 2 rooms, the scheme cannot distinguish measurement, and cannot be implemented, and a customer needs to change the wiring, so that the labor cost and the material cost for modification are high. In addition, the related technology has requirements on networking, and electric quantity calculation must be carried out in a cloud service mode; if the network cannot be connected, the power utilization information such as the shared area cannot be calculated, and therefore more power is consumed by the tenant.
In order to solve the problems in the related art, embodiments of the present application provide an electric quantity collection method and apparatus, which solve the problem of metering the electricity consumption for renting. The current socket of customer can is directly changed to this application, and the power consumption in each room of power consumption measurement through each socket adopts the measurement of communal mode to power consumption such as light. And no requirement is made on the original wiring condition of a client. Meanwhile, the optimal path uploading selection is carried out through the socket ammeter, so that the information uploading system is more stable and reliable. In addition, a local shared computing scheme is adopted, and no requirement is imposed on network service.
The following detailed description of embodiments of the present application refers to the accompanying drawings.
Referring to fig. 1, a flow chart 100 of a power harvesting method according to an embodiment of the present application is shown. The method is applied to a total electric meter, a plurality of data transmission paths are formed between the total electric meter and a plurality of sub-meters, and the plurality of sub-meters are distributed in a plurality of spaces to be measured. The number of the sub-tables can be determined as required, for example, three, and is not limited herein.
In this embodiment, the execution main body of the method may be an intelligent electric meter for collecting electricity consumption, or an intelligent water meter (correspondingly, for collecting water consumption), or an intelligent gas meter (correspondingly, for collecting gas consumption), which is not limited in this application.
The technical scheme of the application takes collected electric quantity as an example, and can be applied to accurately measuring the shared electric quantity of a plurality of spaces to be measured, takes an apartment as an example, a total electric meter can measure the electric quantity of a whole house source, a sub-meter can be a socket type sub-meter, each socket type sub-meter can measure the electric quantity of each socket, and 1 or a plurality of socket type sub-meters can be set as one room through configuration. The user can be with ordinary domestic socket change for socket formula submeter, when to equipment power supply, can measure corresponding electric quantity, socket formula submeter directly changes the interior seat in the room when using, need not to change the original wiring of house source again.
The socket-type sub-meters can be connected with the general electric meter in various ways, for example, the general electric meter is directly connected with the socket-type sub-meters in a wireless mode, or the general electric meter is indirectly connected with the socket-type sub-meters in a data relay mode through other sub-meters, so that the system is more stable.
The method comprises the following steps.
Step 101, receiving data uploaded by each sub-table through a plurality of data transmission paths, wherein the data at least comprises the jumping times of the data transmission paths.
In the embodiment of the application, a plurality of data transmission paths are formed between the sub-meter and the general meter, wherein the sub-meter can be directly connected to the general meter or can be connected to the general meter through other sub-meters. Fig. 2 is a schematic diagram of a connection relationship between the general table and the socket sub-table, and the path between the socket sub-table 1 and the general table includes: a. d + b, d + e + c and f + c, the jumping times are respectively 1, 2, 3 and 2. Before each sub-meter uploads the electric quantity reading of the sub-meter to the general meter, the general meter can firstly know the jumping times of each sub-meter.
Therefore, in order to ensure the stability of the system, the individual socket-type sub-tables can act as relays to transmit data to each other through the wireless mesh.
And 102, determining the shortest uploading path according to the data.
In this embodiment, in order not to confuse the system due to the large networking amount, an optimal path needs to be found and locked. Continuing with fig. 2 by way of example.
For example, one: in general, the socket-type sub-meter selects a path directly connected to the general meter to upload the collected electricity readings, but if some paths are disconnected, the collected electricity readings need to be re-planned. If the wireless communication paths a and b cannot be connected with the general table for some reasons, and other paths are normal, the socket sub-table 1 and the socket sub-table 2 broadcast the reading and the reading time information thereof and upload the reading and the reading time information to the general table through other sub-tables. For the socket sub-table 1, the data can be transmitted to the general table through d, e and c, and can also be transmitted to the general table through f and c. When the general table repeatedly receives the information of the socket sub table 1, the f path and the c path can be determined as the shortest uploading path through comparison. Likewise, for the socket type sub table 2, the number of hops of the paths e, c is the smallest, and thus the shortest upload path can be determined.
Example 2: if the wireless communication path a cannot be connected for some reasons, and if other paths are normal, the socket-type sub table 1 broadcasts currently acquired readings and reading time information, and the readings or the reading time information can be uploaded through the d path and the b path, the d path, the e path and the c path, and the f path and the c path.
And 103, informing each sub-meter to upload the electric quantity of the sub-meter by the shortest uploading path.
In this embodiment, after the summary table determines the shortest upload path corresponding to each sub-table, each sub-table is notified, information is subsequently uploaded according to the f and c paths, and other paths do not need to be uploaded.
And 104, obtaining the electric quantity of a plurality of spaces to be measured according to the electric quantity of the total electric meter and the electric quantity of each sub-meter.
In this embodiment, after the summary table receives the electricity reading information of each sub-table, the difference is made to obtain the electricity consumption of each socket sub-table within a certain time. And combining the total power consumption to obtain the socket power consumption and the shared power consumption of each space to be measured. It is understood that the space to be measured may be each room source of the same building, each room of the same room source, or other separately measurable space, which is not limited herein.
For example, for a house source of a two-room and one-hall, the total electric quantity of the whole set of house source is measured by the total electric meter, and the electric quantity in a certain time period is A; 3 socket type sub-meters are arranged in the room 1, and the electric quantity in corresponding time periods is B1, B2 and B3; in the room 2, 2 socket-type sub-meters are provided, and the electric quantities in the corresponding time periods are C1 and C2. If the shared ratio is set to 1:1, the shared electric quantity of each room is G = (A-B1-B2-B3-C1-C2)/2, the electric quantity of the room 1 = G + B1+ B2+ B3, and the electric quantity of the room 2 = G + C1+ C2.
In summary, the electric quantity collection method described in the embodiments of the present application is applied to a total electric meter, a plurality of data transmission paths are formed between the total electric meter and a plurality of sub-meters, and the plurality of sub-meters are distributed in a plurality of spaces to be measured. Receiving data uploaded by each sub-table through a plurality of data transmission paths, wherein the data at least comprises the jumping times of the data transmission paths; determining the shortest uploading path according to the data; informing each sub-meter to upload the electric quantity of the sub-meter by the shortest uploading path; the electric quantity of a plurality of spaces to be measured is obtained according to the electric quantity of the total electric meter and the electric quantity of each sub-meter, the electric quantity measurement problem of various wiring conditions can be solved, the wiring and networking of apartments are not required, the implementation is more convenient, and the cost is lower. And the system is more stable through planning the optimal path.
With further reference to fig. 3, a flow 300 of another embodiment of a power harvesting method is shown. Compared with the embodiment shown in fig. 2, the present embodiment describes the specific steps of steps 101 and 102 in detail.
In this embodiment, the power collection method includes the following steps.
Step 301, receiving data uploaded by each sub-table through a plurality of data transmission paths, where the data at least includes the number of hops of the data transmission paths.
Wherein, step 301 includes steps 3011, 3012, and 3013.
Step 3011, receive the data that each sub-table uploads for the first time through multiple data transmission paths.
In this embodiment, when the total table selects the path, first data uploaded by each sub-table is recorded, where the data includes, but is not limited to, at least one of a number of hops, an upload time, a receiving path, an electricity meter reading, and an electricity meter reading time.
Step 3012, determine whether there is new data to upload in a predetermined time period.
Step 3013, compare the first uploaded data with the new data, if any.
In this embodiment, the power collection method includes the following steps.
Step 302, determining the shortest uploading path according to the data.
Wherein step 301 comprises step 3021.
Step 3021, determining the shortest upload path according to the comparison result between the first upload data and the new upload data.
Specifically, if new data is uploaded, the two times of skipping are compared, and the shortest uploading path is determined according to the comparison result of the two times of skipping. The comparative scheme will be detailed in the following examples.
And if no new data is uploaded within a preset time period, issuing a locking path instruction to each sub-table, and informing each sub-table to upload data according to the shortest uploading path, wherein the jumping times of the shortest uploading path are minimum.
Specifically, if no new data is uploaded within a preset time period, if the time period is half an hour, the master table issues a path locking instruction to notify each sub-table to upload according to the optimal path, and the sub-tables are not uploaded through other paths.
And step 303, informing each sub-meter to upload the electric quantity of the sub-meter by the shortest uploading path.
And 304, obtaining the electric quantity of a plurality of spaces to be measured according to the electric quantity of the total electric meter and the electric quantity of each sub-meter.
The steps 303 and 304 are the same as the steps 103 and 104, and are not described herein again.
According to the scheme of the embodiment, repeated uploading of data and system confusion can be avoided by judging whether the data are uploaded for the first time.
With further reference to fig. 4, there is shown the specific steps of step 2021 on the basis of the embodiment shown in fig. 3.
Step 40211, when the jumping times of the first upload are greater than the new jumping times, updating the shortest upload path to the data transmission path corresponding to the new jumping times.
Specifically, in the present embodiment, the update record is updated to be the latest if the number of new jumps is smaller.
Step 40212, when the jumping times of the first upload are less than the new jumping times, abandoning the new jumping times and keeping the shortest upload path unchanged.
Specifically, in this embodiment, if the new hop count is larger, the process of discarding and continuing to wait for the next upload is omitted.
Step 40213, when the jumping times of the first upload are equal to the new jumping times, comparing the uploading time of the first upload with the new uploading time, and when the new uploading time is less than the uploading time of the first upload, updating the shortest uploading path to the data transmission path corresponding to the new uploading time.
Specifically, in this embodiment, the data further includes an upload time, and if the new jump times are the same, the upload time is continuously compared. If the uploading time is less than the recorded uploading time, updating the record to be the latest; otherwise, the waiting is continued.
For example, if the wireless communication path a cannot be connected for some reason, the other paths are normal. The socket sub-table 1 broadcasts its reading and reading time information. It can pass through d, b path, d, e, c path, f, c path. If the time spent on the d path and the b path is shorter, the d path and the b path are finally selected, and the general table broadcasts to the sub-table.
Therefore, in the embodiment, the shortest transmission path is determined according to the comparison result of the new and old hop times, and the uploading time is compared again under the condition that the hop times are the same so as to perform the optimal path uploading selection, so that the information uploading system is more stable and reliable.
With further reference to fig. 5, a flow 500 of yet another embodiment of a power harvesting method is illustrated. The method comprises the following steps:
step 501, receiving data uploaded by each sub-table through a plurality of data transmission paths, where the data at least includes the number of hops of the data transmission paths.
Step 502, determining the shortest uploading path according to the data.
And step 503, informing each sub-meter to upload the sub-meter electric quantity in the shortest uploading path.
And step 504, obtaining the electric quantity of a plurality of spaces to be measured according to the electric quantity of the total electric meter and the electric quantity of each sub-meter.
The steps 501-504 are similar to the steps 101-104, and are not described herein again.
And 505, when any one of the plurality of data transmission paths is interrupted or the connection is recovered, re-determining and updating the shortest uploading path.
This embodiment specifically includes two cases: 1. if the previously disconnected communication path a is restored, the socket-type sub-table 1 can directly upload data to the general table without uploading data through other sub-tables. 2. For example, in example 2 of the embodiment corresponding to fig. 1 and 2, if the sub-table 1 cannot be successfully connected to the general table through the d path, the new upload path is determined again, and finally updated to the f and c paths.
In addition, if the communication between the socket type sub-table and the general table is recovered, the device does not broadcast any more and does not upload through other sub-tables.
And step 506, when the shortest uploading path is disconnected, informing each sub-table to stop uploading data, and re-determining a new shortest uploading path.
Specifically, if the originally specified path cannot be uploaded, for example, the total table does not receive the reading of the corresponding socket type sub table after a certain time, each sub table is notified to stop uploading data, that is, each socket type sub table is notified that the path is no longer limited, and path screening is performed again.
Under the scheme, if each data transmission path changes or the data uploading abnormality occurs in the previously determined shortest path, the shortest path is determined again, the path for uploading data each time can be ensured to be the shortest path, and the real-time performance and the effectiveness of the system are guaranteed.
Fig. 6 shows a flow chart 600 of a power collection method, and the detailed steps of step 104 are described on the basis of the embodiment shown in fig. 1.
Step 601, receiving data uploaded by each sub-table through a plurality of data transmission paths, wherein the data at least comprises the jumping times of the data transmission paths.
Step 602, determining the shortest uploading path according to the data.
Step 603, each sub-meter is informed to upload the sub-meter electric quantity in the shortest uploading path.
The steps 601-603 are similar to the steps 101-103, and are not described herein again.
And step 604, obtaining the electric quantity of a plurality of spaces to be measured according to the electric quantity of the total electric meter and the electric quantity of each sub-meter. The method specifically comprises the following steps.
Step 6041, calculating the electricity charge according to the electric quantity of the plurality of spaces to be measured.
Specifically, the steps include: determining the shared electric charge of each space to be measured according to the electric quantity of the total electric meter; determining the socket electricity charge of each space to be measured according to the sub-meter electricity quantity; and calculating the electric charge of each space to be measured according to the electric charge of the shared share and the electric charge of the socket.
For example, for a two-room and one-hall house source, the total electric meter measures the total electric quantity of one set of house source, and the electric quantity in a certain time period is A; 3 socket-type submeters are arranged in the room 1, and the electric quantity in corresponding time periods is B1, B2 and B3; there are 2 socket-type sub-tables in the room 2, and the corresponding time periods have electric quantities of C1 and C2. If the share ratio is set to 1:1, the share of each room is G = (a-B1-B2-B3-C1-C2)/2, the electricity quantity of room 1 = G + B1+ B2+ B3, and the electricity quantity of room 2 = G + C1+ C2. The average price of the electricity charges is D, the electricity charges of the room 1 are (G + B1+ B2+ B3) × D, and the electricity charges of the room 2 are (G + C1+ C2) × D.
In this embodiment, the electricity meter may manage the tenant's electricity usage according to a fee auto-power-off, power-on scheme. The summary table can be connected with the handheld terminal of the tenant through the communication module, and the tenant can renew the fee through the handheld terminal. The intellectualization of electric quantity and electric charge management is realized.
Fig. 7 shows a flow chart 700 of a power harvesting method, comprising the steps of:
step 701, receiving data uploaded by each sub-table through a plurality of data transmission paths, where the data at least includes the number of hops of the data transmission paths.
Step 702, determining the shortest uploading path according to the data.
And step 703, informing each sub-meter to upload the electric quantity of the sub-meter by the shortest uploading path.
And step 704, obtaining the electric quantity of a plurality of spaces to be measured according to the electric quantity of the total electric meter and the electric quantity of each sub-meter.
The steps 701-704 are similar to the steps 101-104, and are not described herein again.
Step 705, communicating with the terminal and receiving the power rate balance from the terminal, and determining whether to power off according to the power rate balance.
Specifically, the handheld terminal is connected with the summary table through wireless communication to perform data interaction. The sub-table communication modules of the sub-tables and the general table of each socket type can be connected with each other and exchange data through wireless communication. The user can use the mobile phone to connect the general electric meter by Bluetooth to recharge the corresponding room. The ammeter can also be according to the expense, and each room power consumption is managed and controlled to auto-power-off, circular telegram, realizes the precontrol function of total table to the charges of electricity.
For example, according to the embodiment shown in fig. 6, the general table may calculate the electricity fee of each space to be metered according to the socket electricity and the shared electricity of each space to be metered. When the electricity provided by the residual electricity fee of a certain room (the space to be measured) exceeds the currently collected electricity consumption of the room, namely the room is owed, the handheld terminal can send a power-off instruction to the general table, so that the general table controls all socket sub-tables of the owed room to trip in batch, and other rooms which are not owed are normally powered. The renters or users of the arrearage room can pay and recharge through the terminal, the terminal informs the user of the general table of the paid fee through data interaction with the general table, and the general table can control the closing and power supply of the room.
It will be appreciated that in general, the summary table only controls the outage of the arrearage room, and not the entire house source. In some embodiments, the summary table may also power down the entire source when the entire source is not rented or is in an arrears state for a long period of time.
With further reference to fig. 8, as an implementation of the methods shown in some of the above figures, the present application provides an embodiment of a power harvesting device 800, which corresponds to the embodiment of the method shown in fig. 1.
As shown in fig. 8, the power collection device 800 of the present embodiment includes the following modules, where a plurality of data transmission paths are formed between the total power meter and a plurality of sub-meters, and the plurality of sub-meters are distributed in a plurality of spaces to be measured.
A receiving module 801, configured to receive data uploaded by each sub-table through multiple data transmission paths, where the data at least includes the hop times of the data transmission paths;
a determining module 802, configured to determine a shortest upload path according to data;
a notification module 803, configured to notify each sub-meter of uploading the sub-meter electric quantity in the shortest uploading path;
and the calculating module 804 is used for obtaining the electric quantity of the spaces to be measured according to the electric quantity of the total electric meter and the electric quantity of each sub-meter.
In this embodiment, the detailed processing of the modules 801 and 804 and the technical effects thereof can refer to the related descriptions of the embodiments of steps 101 to 104 in the embodiment corresponding to fig. 1, and are not repeated herein.
In some optional implementations of this embodiment, the receiving module 801 is configured to: receiving data uploaded for the first time by each sub-table through a plurality of data transmission paths; determining whether new data is uploaded within a preset time period; if yes, comparing the first uploaded data with the new data; if not, the notification module 803 is configured to: and issuing a locking path instruction to each sub-table, and informing each sub-table to upload data according to the shortest uploading path, wherein the jumping times of the shortest uploading path are minimum.
In some optional implementations of this embodiment, the determining module 802 is configured to: and determining the shortest uploading path according to the comparison result of the first uploaded data and the new data.
In some optional implementations of this embodiment, the determining module 802 is further configured to: when the jumping times of the first uploading is larger than the new jumping times, updating the shortest uploading path to a data transmission path corresponding to the new jumping times; when the jumping times of the first uploading is smaller than the new jumping times, the new jumping times are abandoned, and the shortest uploading path is kept unchanged; and when the jumping times of the first uploading are equal to the new jumping times, comparing the uploading time of the first uploading with the new uploading time, and when the new uploading time is less than the uploading time of the first uploading, updating the shortest uploading path into a data transmission path corresponding to the new uploading time. Wherein the data further comprises an upload time.
In some optional implementations of this embodiment, the apparatus further includes an updating module, configured to re-determine and update the shortest upload path when any one of the plurality of data transmission paths is interrupted or the connection is restored.
In some optional implementation manners of this embodiment, the apparatus further includes a re-determination module, configured to notify each sub-table to stop uploading data when the shortest uploading path is disconnected, and re-determine a new shortest uploading path.
In some optional implementation manners of the embodiment, the device further includes an electric charge calculation module, configured to calculate an electric charge according to the electric quantities of the plurality of spaces to be measured.
In some optional implementations of this embodiment, the electric charge calculation module is further configured to: determining the shared electric charge of each space to be measured according to the electric quantity of the total electric meter; determining the socket electricity charge of each space to be measured according to the sub-meter electricity quantity; and calculating the electric charge of each space to be measured according to the electric charge of the shared share and the electric charge of the socket.
In some optional implementation manners of this embodiment, the apparatus further includes a communication module, configured to communicate with the terminal and receive the power balance from the terminal, and determine whether to power off according to the power balance.
It should be noted that the apparatus 800 may be a chip, a component, or a module, and may include a processor and a memory, where the module 801 and 808 and the like are all stored in the memory as a program unit, and the processor executes the program unit stored in the memory to implement corresponding functions.
The processor may include a kernel, which calls the corresponding program unit from the memory. The kernel can be set to be one or more, network quality judgment and communication judgment before networking are carried out by adjusting kernel parameters, communication duration of each communication time point is planned, whether communication is carried out at the current time point is comprehensively judged, communication success rate and real-time performance are guaranteed, user data can be interacted timely, the situation that networking cannot be carried out for a long time is avoided, meanwhile, power consumption of a large amount of equipment which tries to be networked continuously under the condition that network quality is poor is reduced, and balance of communication efficiency and power consumption is achieved.
The memory may include volatile memory in a computer readable medium, Random Access Memory (RAM) and/or nonvolatile memory such as Read Only Memory (ROM) or flash memory (flash RAM), and the memory includes at least one memory chip.
The electric quantity collection device that this application embodiment provided is applied to total ammeter, all is formed with many data transmission route between total ammeter and a plurality of submeters, and a plurality of submeters distribute in a plurality of spaces of waiting to measure. Receiving data uploaded by each sub-table through a plurality of data transmission paths, wherein the data at least comprises the jumping times of the data transmission paths; determining the shortest uploading path according to the data; informing each sub-meter to upload the electric quantity of the sub-meter by the shortest uploading path; the electric quantity of a plurality of spaces to be measured is obtained according to the electric quantity of the total electric meter and the electric quantity of each sub-meter, the electric quantity measurement problem of various wiring conditions can be solved, the wiring and networking of apartments are not required, the implementation is more convenient, and the cost is lower. And the system is more stable through planning the optimal path.
Referring now to FIG. 9, shown is a schematic diagram of an electronic device 900 suitable for use in implementing some embodiments of the present application. Specifically, the electronic device 900 may be a smart meter, a smart water meter, a smart gas meter, or the like. The device shown is only an example and should not bring any limitation to the function and scope of the application of the embodiments.
As shown in fig. 9, electronic device 900 may include a processor 901, a memory 902, a communication interface 903, an input unit 904, an output unit 905, and a communication bus 906. Wherein the processor 901 and the memory 902 are connected to each other by a communication bus 906. A communication interface 903, an input unit 904 and an output unit 905 are also connected to the communication bus 906.
The communication interface 903 may be an interface of a communication module, such as an interface of a GSM module.
In the embodiment of the present application, the processor 901 may be a Central Processing Unit (CPU), an application-specific integrated circuit (ASIC), a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), an off-the-shelf programmable gate array (FPGA) or other programmable logic devices.
In one possible implementation, the memory 902 may include a program storage area and a data storage area, where the program storage area may store an operating system, an application program required by at least one function (such as any function suitable for power harvesting), and the like; the storage data area may store data created during use of the computer, such as user data, user access data, audio data, and the like.
Further, the memory 902 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device or other volatile solid state storage device.
The processor 901 may call a program stored in the memory 902.
The memory 902 is used for storing one or more programs, the programs may include program codes, the program codes include computer operation instructions, in this embodiment, at least the programs for realizing the following functions are stored in the memory 902: when the network is disconnected, the communication quality and the communication guiding duration of each communication time point in a communication period are obtained; determining an available communication time length in a communication cycle based on the power consumption of the Internet of things equipment; performing communication arbitration according to the communication quality, the guide communication time length and the available communication time length to obtain an arbitration result; and determining whether to network according to the judgment result.
The application may further include an input unit 905, and the input unit 905 may include at least one of a touch sensing unit that senses a touch event on the touch display panel, a keyboard, a mouse, a camera, a sound pickup, and the like.
The output unit 904 may include: at least one of a display, a speaker, a vibration mechanism, a light, and the like. The display may comprise a display panel, such as a touch display panel or the like. In one possible case, the Display panel may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like. The vibration mechanism may displace the electronic device 900 during operation, and in one possible implementation, the vibration mechanism includes a motor and an eccentric vibrator, and the motor drives the eccentric vibrator to rotate so as to generate vibration. The brightness and/or color of the lamp can be adjusted, in a possible implementation manner, different information can be embodied through at least one of the on-off, brightness and color of the lamp, for example, the alarm information can be embodied through red light emitted by the lamp.
Of course, the structure of the electronic device 900 shown in fig. 9 does not constitute a limitation of the electronic device in the embodiment of the present application, and in practical applications, the electronic device may include more or less components than those shown in fig. 9, or some components may be combined.
The present application provides a computer readable medium, on which a computer program is stored, where the program is executed by a processor to implement the communication method for collecting electric quantity described in the above method embodiments.
The embodiment of the application provides a processor, and the processor is used for running a program, wherein when the program runs, the method for acquiring electric quantity described in the above method embodiments is implemented.
The present application also provides a computer program product, which when executed on a data processing device, causes the data processing device to implement the communication method for power collection described in the above method embodiments.
In addition, the electronic device, the processor, the computer-readable medium, or the computer program product provided in the foregoing embodiments of the present application may be all used for executing the corresponding method provided above, and therefore, the beneficial effects achieved by the electronic device, the processor, the computer-readable medium, or the computer program product may refer to the beneficial effects in the corresponding method provided above, and are not described herein again.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
In a typical configuration, a computing device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
The memory may include forms of volatile memory in a computer readable medium, Random Access Memory (RAM) and/or non-volatile memory, such as Read Only Memory (ROM) or flash memory (flash RAM). The memory is an example of a computer-readable medium.
Computer-readable media, which include both non-transitory and non-transitory, removable and non-removable media, may implement the information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), Static Random Access Memory (SRAM), Dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), Read Only Memory (ROM), Electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), Digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices, or any other non-transmission medium that can be used to store information that can be accessed by a computing device. As defined herein, a computer readable medium does not include a transitory computer readable medium such as a modulated data signal and a carrier wave.
As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The above description is only for the purpose of illustrating the preferred embodiments of the present application and the technical principles applied, and is not intended to limit the present application. Various modifications and changes may occur to those skilled in the art. The scope of the invention according to the present application is not limited to the specific combinations of the above-described features, and may also cover other embodiments in which the above-described features or their equivalents are arbitrarily combined without departing from the spirit of the invention. For example, the above features may be replaced with (but not limited to) features having similar functions disclosed in the present application.

Claims (14)

1. An electric quantity collection method is applied to a total electric meter, a plurality of data transmission paths are formed between the total electric meter and a plurality of sub-meters, and the plurality of sub-meters are distributed in a plurality of spaces to be measured, and the method comprises the following steps:
receiving data uploaded by each sub-table through the plurality of data transmission paths, wherein the data at least comprises the jumping times of the data transmission paths;
determining the shortest uploading path according to the data;
informing each sub-meter to upload the sub-meter electric quantity by the shortest uploading path;
and obtaining the electric quantity of the plurality of spaces to be measured according to the electric quantity of the total electric meter and the electric quantity of each sub-meter.
2. The method of claim 1, wherein receiving data uploaded by each sub-table via the plurality of data transmission paths comprises:
receiving data uploaded for the first time by each sub-table through the plurality of data transmission paths;
determining whether new data is uploaded within a preset time period;
if yes, comparing the first uploaded data with the new data;
and if not, issuing a locking path instruction to each sub-table, and informing each sub-table to upload the data according to the shortest uploading path, wherein the jumping frequency of the shortest uploading path is minimum.
3. The method of claim 2, wherein determining the shortest upload path from the data comprises:
and determining the shortest uploading path according to the comparison result of the first uploaded data and the new data.
4. The method of claim 3, wherein determining the shortest upload path according to the comparison of the first upload data and the new upload data comprises:
when the jumping times of the first uploading is larger than the new jumping times, updating the shortest uploading path to a data transmission path corresponding to the new jumping times; and
and when the jumping times of the first uploading is less than the new jumping times, abandoning the new jumping times and keeping the shortest uploading path unchanged.
5. The method of claim 3, wherein the data further comprises an upload time, and wherein determining the shortest upload path based on the comparison of the first uploaded data and the new data comprises:
and when the jumping times of the first uploading are equal to the new jumping times, comparing the uploading time of the first uploading with the new uploading time, and when the new uploading time is less than the uploading time of the first uploading, updating the shortest uploading path into the data transmission path corresponding to the new uploading time.
6. The method according to any one of claims 1 to 5, further comprising:
and when any one of the plurality of data transmission paths is interrupted or the connection is recovered, re-determining and updating the shortest uploading path.
7. The method according to any one of claims 1 to 5, characterized in that it comprises:
and when the shortest uploading path is disconnected, informing each sub-table to stop uploading data, and re-determining a new shortest uploading path.
8. The method according to any one of claims 1 to 5, further comprising:
and calculating the electric charge according to the electric quantity of the plurality of spaces to be measured.
9. The method of claim 8, wherein calculating an electricity fee from the amounts of electricity in the plurality of spaces to be metered comprises:
determining the shared electric charge of each space to be measured according to the electric quantity of the total electric meter;
determining the socket electricity charge of each space to be measured according to the sub-meter electricity quantity;
and calculating the electric charge of each space to be measured according to the electric charge of the shared share and the electric charge of the socket.
10. The method according to any one of claims 1 to 5, further comprising:
and communicating with a terminal, receiving the electricity charge balance from the terminal, and determining whether to power off according to the electricity charge balance.
11. The utility model provides an electric quantity collection system, its characterized in that, the device is applied to total ammeter, all be formed with many data transmission route between total ammeter and a plurality of sub-tables, a plurality of sub-tables distribute in a plurality of spaces of waiting to measure, the device includes:
the receiving module is used for receiving data uploaded by each sub-table through the plurality of data transmission paths, and the data at least comprises the jumping times of the data transmission paths;
the determining module is used for determining the shortest uploading path according to the data;
the notification module is used for notifying each sub-meter of uploading the electric quantity of the sub-meter by the shortest uploading path;
and the calculation module is used for obtaining the electric quantity of the spaces to be measured according to the electric quantity of the total electric meter and the electric quantity of each sub-meter.
12. A computer-readable medium, on which a computer program is stored, wherein the program, when executed by a processor, implements the method of any one of claims 1 to 10.
13. A processor for running a program, wherein the program when run implements the method of any one of claims 1 to 10.
14. A smart meter comprising:
one or more processors;
a storage device having one or more programs stored thereon;
the one or more programs, when executed by the one or more processors, cause the one or more processors to implement the method of any of claims 1-10.
CN202111481312.5A 2021-12-07 2021-12-07 Electric quantity acquisition method and device Pending CN113884754A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111481312.5A CN113884754A (en) 2021-12-07 2021-12-07 Electric quantity acquisition method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111481312.5A CN113884754A (en) 2021-12-07 2021-12-07 Electric quantity acquisition method and device

Publications (1)

Publication Number Publication Date
CN113884754A true CN113884754A (en) 2022-01-04

Family

ID=79015793

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111481312.5A Pending CN113884754A (en) 2021-12-07 2021-12-07 Electric quantity acquisition method and device

Country Status (1)

Country Link
CN (1) CN113884754A (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4525789A (en) * 1982-07-16 1985-06-25 At&T Bell Laboratories Programmable network tester with data formatter
CN202353321U (en) * 2011-12-03 2012-07-25 山东电力集团公司淄博供电公司 Intelligent comprehensive electricity-distributing metering meter box
CN103402234A (en) * 2013-07-30 2013-11-20 济南大学 Data aggregation method of wireless sensor network
CN105957319A (en) * 2016-04-27 2016-09-21 深圳三富通讯有限公司 Micropower wireless meter reading method
CN108288174A (en) * 2017-12-29 2018-07-17 杭州仕邦电力科技有限公司 A kind of electric energy safe management system and method based on cloud platform
CN109309606A (en) * 2017-07-26 2019-02-05 九阳股份有限公司 A kind of means of communication of household appliance network
CN212031591U (en) * 2019-12-23 2020-11-27 周兆祺 Intelligent distribution device for public lighting electric quantity of residential district

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4525789A (en) * 1982-07-16 1985-06-25 At&T Bell Laboratories Programmable network tester with data formatter
CN202353321U (en) * 2011-12-03 2012-07-25 山东电力集团公司淄博供电公司 Intelligent comprehensive electricity-distributing metering meter box
CN103402234A (en) * 2013-07-30 2013-11-20 济南大学 Data aggregation method of wireless sensor network
CN105957319A (en) * 2016-04-27 2016-09-21 深圳三富通讯有限公司 Micropower wireless meter reading method
CN109309606A (en) * 2017-07-26 2019-02-05 九阳股份有限公司 A kind of means of communication of household appliance network
CN108288174A (en) * 2017-12-29 2018-07-17 杭州仕邦电力科技有限公司 A kind of electric energy safe management system and method based on cloud platform
CN212031591U (en) * 2019-12-23 2020-11-27 周兆祺 Intelligent distribution device for public lighting electric quantity of residential district

Similar Documents

Publication Publication Date Title
AU2017364328B2 (en) Method and apparatus for facilitating the operation of an on-site energy storage system to co-optimize battery dispatch
JP5271387B2 (en) Energy management apparatus for electrical equipment and energy management method for electrical equipment
JP5197808B2 (en) Energy management apparatus and energy management method
US20150316945A1 (en) Configurable web-based metering of building energy using wireless sensors
US20130041852A1 (en) Customizable dynamic resource regulating devices and methods
US20160011616A1 (en) Power management
JP2007020314A (en) Power demand prediction system
JP2013097673A (en) Electricity charge trial calculation system and electricity charge trial calculation program
JP2011243202A (en) Device and method for energy management
CN110829590A (en) Intelligent monitoring system, method, platform and storage medium for transformer area line loss
EP3979021A1 (en) Scheduling system, scheduling method, and carrier means
JP5481447B2 (en) Energy management system, energy management method, energy management system repeater
US20160132975A1 (en) Identifying high usage periods
CN110836990A (en) Electric quantity charging system, method and related device
JP2020061800A (en) Charging method and control device
CN113255996A (en) Tagged electricity charge balance management method, device, equipment and storage medium
CN113884754A (en) Electric quantity acquisition method and device
KR101092501B1 (en) Real-time energy information portal system
WO2015016947A1 (en) System and method for representing power system information
JP4729796B2 (en) Energy management apparatus, energy management method, energy management program, and computer-readable recording medium recording the energy management program
CN109166245B (en) Method and device for calculating electric charge amount based on stepped electricity price
JP2014204376A (en) Management system and scheduling method therefor
CN110582787B (en) Computer system and method for updating aggregate configuration and controlling data aggregation
KR20220005358A (en) System, management server and method for v1g service of drive-through store
JP2016214013A (en) DR information system, terminal device, information processing method and control program

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20220104