Intelligent ammeter control method and device

文档序号:1648780 发布日期:2019-12-24 浏览:18次 中文

阅读说明:本技术 一种智能电表控制方法及装置 (Intelligent ammeter control method and device ) 是由 郑戴 潘嘉明 唐利君 刘立峰 陈彬 张东胜 于 2018-06-15 设计创作,主要内容包括:本申请提供了一种智能电表控制方法及装置,获取当前监控参数对应的监控信息,并判断该监控信息是否满足预设条件;若监控信息满足预设条件,则继续判断当前时刻是否处于不断电时间段内;若当前时刻处于不断电时间段内,则继续获取当前监控对象对应的监控信息;若当前时刻不在不断电时间段内,则向智能电表发送跳闸指令,智能电表根据跳闸指令跳闸。该方法既能满足监控信息满足预设条件时自动跳闸断电,同时避免了在用电必需时间段内停电导致用户生活不方便的现象发生,提高了用户体验。(The application provides a method and a device for controlling an intelligent ammeter, which are used for acquiring monitoring information corresponding to current monitoring parameters and judging whether the monitoring information meets preset conditions or not; if the monitoring information meets the preset condition, continuously judging whether the current time is in the uninterruptible power time period; if the current time is in the uninterrupted power time period, continuously acquiring the monitoring information corresponding to the current monitored object; and if the current moment is not within the uninterrupted power time period, sending a tripping instruction to the intelligent ammeter, and tripping the intelligent ammeter according to the tripping instruction. The method can meet the requirement that the monitoring information meets the preset condition and automatically trips to cut off the power supply, meanwhile, the phenomenon that the power supply is cut off in a time period necessary for power utilization to cause inconvenience in life of a user is avoided, and user experience is improved.)

1. A control method of a smart meter is characterized by comprising the following steps:

acquiring monitoring information corresponding to current monitoring parameters, and judging whether the monitoring information meets preset conditions or not;

when the monitoring information meets a preset condition, judging whether the current time is in a power-off time period;

when the current time is in the uninterrupted power time period, continuously acquiring the monitoring information corresponding to the current monitored object;

and when the current moment is not in the uninterruptible power time period, sending a tripping instruction to the intelligent electric meter so as to trip the intelligent electric meter.

2. The method of claim 1, wherein the current monitoring parameter is power usage and the monitoring information is current remaining power;

the acquiring of the monitoring information corresponding to the current monitoring parameter and the judging whether the monitoring information meets the preset condition include:

acquiring power utilization information uploaded by an intelligent ammeter;

calculating to obtain the current residual electric quantity according to the electricity utilization information;

and when the current residual capacity is less than or equal to zero, determining that the monitoring information meets a preset condition.

3. The method of claim 2, wherein if the power consumption information includes a current power consumption amount and a current total power amount, calculating a current remaining power amount according to the power consumption information includes:

calculating the difference value between the current total electric quantity and the current electricity consumption quantity to obtain the current residual electric quantity;

if the electricity utilization information comprises current electricity consumption, current total electricity and allowable overdraft electricity, calculating current remaining electricity according to the electricity utilization information comprises:

calculating a difference value between the current total electric quantity and the current electricity consumption quantity;

and calculating the sum of the difference value and the allowable overdraft electric quantity to obtain the current remaining electric quantity.

4. The method of claim 1, further comprising:

and when the current residual electric quantity is larger than zero and smaller than a preset electric quantity threshold value, pushing recharging reminding information.

5. The method of claim 1, further comprising:

storing the tripping and closing state information of the intelligent ammeter according to the tripping response information returned by the intelligent ammeter;

when an electric quantity recharging command is received and the intelligent electric meter is in a tripping state currently, a closing instruction is sent to enable the intelligent electric meter to be closed;

and updating the tripping and closing state information corresponding to the intelligent electric meter after receiving the closing response information returned by the intelligent electric meter.

6. The method according to claim 1, wherein the current monitoring parameter is a rent of a room corresponding to the smart meter, and the monitoring information is a current remaining rent;

the acquiring of the monitoring information corresponding to the current monitoring parameter and the judging whether the monitoring information meets the preset condition include:

acquiring rent information of a current monitored room, wherein the rent information comprises house rent, current rent, lease-starting time and lease-arriving time;

calculating the rent unit price of the current monitoring room according to the house rent, the lease-starting time and the lease-arriving time;

calculating to obtain the current residual rent according to the current rent and the rent unit price;

judging whether the current residual rent is less than or equal to a first rent threshold value;

when the current residual rent is less than or equal to a first rent threshold value, determining that the monitoring information meets a preset condition;

and when the current residual rent is larger than the first rent threshold value, determining that the monitoring information does not meet a preset condition.

7. The method of claim 6, wherein the determining whether the current time is within a power-off period comprises:

calculating the residual time of the rent period according to the first rent threshold and the rent information;

judging whether the current moment is within the residual time of the lease period;

when the current time is in the residual time of the lease period, determining that the current time is in the uninterrupted power time period;

and when the current time is not in the residual time of the lease term, determining that the current time is not in the uninterrupted power time period.

8. The method of claim 6, further comprising: and when the current residual rent is larger than zero and smaller than a second rent threshold value, sending lease reminding information.

9. The method of claim 6, further comprising:

storing the tripping and closing state information of the intelligent ammeter according to the tripping and closing response information returned by the intelligent ammeter;

when a command of paying a rent by a user is received and the intelligent electric meter is in a tripping state, a closing instruction is sent to the intelligent electric meter;

and updating the tripping and closing state information corresponding to the intelligent electric meter after receiving the closing response information returned by the intelligent electric meter.

10. A control device of a smart meter is characterized by comprising:

the first acquisition module is used for acquiring monitoring information corresponding to the current monitoring parameters;

the first judgment module is used for judging whether the monitoring information meets a preset condition or not;

the second judging module is used for judging whether the current moment is in a non-power-off time period or not when the monitoring information meets the preset condition;

the second acquisition module is used for continuously acquiring the monitoring information corresponding to the current monitored object when the current time is in the uninterrupted power time period;

and the tripping control module is used for sending a tripping instruction to the intelligent ammeter when the current moment is not in the uninterruptible power time period so as to trip the intelligent ammeter.

Technical Field

The invention belongs to the technical field of intelligent electric meters, and particularly relates to a method and a device for controlling an intelligent electric meter.

Background

The intelligent electric meter is different from the traditional electric meter and an IC card electric meter, can be networked and remotely read, is the most key function of the intelligent electric meter, and is used for uploading the electricity consumption measured by the intelligent electric meter to a server through a collector. The server judges whether the current state meets the condition of tripping and power-off according to the pre-stored information and the information uploaded by the intelligent ammeter, and if yes, the server immediately informs the intelligent ammeter of tripping and power-off. This causes inconvenience to the user.

Disclosure of Invention

In view of the above, the present invention provides a method and a device for controlling a smart meter, so as to solve the inconvenience of the user's life caused by immediate tripping when meeting the tripping power-off condition in the conventional technology. The specific technical scheme is as follows:

in a first aspect, the present application provides a method for controlling a smart meter, including:

acquiring monitoring information corresponding to current monitoring parameters, and judging whether the monitoring information meets preset conditions or not;

when the monitoring information meets a preset condition, judging whether the current time is in a power-off time period;

when the current time is in the uninterrupted power time period, continuously acquiring the monitoring information corresponding to the current monitored object;

and when the current moment is not in the uninterruptible power time period, sending a tripping instruction to the intelligent electric meter so as to trip the intelligent electric meter.

Optionally, the current monitoring parameter is power consumption, and the monitoring information is current remaining power;

the acquiring of the monitoring information corresponding to the current monitoring parameter and the judging whether the monitoring information meets the preset condition include:

acquiring power utilization information uploaded by an intelligent ammeter;

calculating to obtain the current residual electric quantity according to the electricity utilization information;

and when the current residual capacity is less than or equal to zero, determining that the monitoring information meets a preset condition.

Optionally, if the power consumption information includes current power consumption and current total power consumption, calculating the current remaining power according to the power consumption information includes:

calculating the difference value between the current total electric quantity and the current electricity consumption quantity to obtain the current residual electric quantity;

if the electricity utilization information comprises current electricity consumption, current total electricity and allowable overdraft electricity, calculating current remaining electricity according to the electricity utilization information comprises:

calculating a difference value between the current total electric quantity and the current electricity consumption quantity;

and calculating the sum of the difference value and the allowable overdraft electric quantity to obtain the current remaining electric quantity.

Optionally, the method further comprises:

and when the current residual electric quantity is larger than zero and smaller than a preset electric quantity threshold value, pushing recharging reminding information.

Optionally, the method further comprises:

storing the tripping and closing state information of the intelligent ammeter according to the tripping response information returned by the intelligent ammeter;

when an electric quantity recharging command is received and the intelligent electric meter is in a tripping state currently, a closing instruction is sent to enable the intelligent electric meter to be closed;

and updating the tripping and closing state information corresponding to the intelligent electric meter after receiving the closing response information returned by the intelligent electric meter.

Optionally, the current monitoring parameter is a rent of a room corresponding to the smart meter, and the monitoring information is a current remaining rent;

the acquiring of the monitoring information corresponding to the current monitoring parameter and the judging whether the monitoring information meets the preset condition include:

acquiring rent information of a current monitored room, wherein the rent information comprises house rent, current rent, lease-starting time and lease-arriving time;

calculating the rent unit price of the current monitoring room according to the house rent, the lease-starting time and the lease-arriving time;

calculating to obtain the current residual rent according to the current rent and the rent unit price;

judging whether the current residual rent is less than or equal to a first rent threshold value;

when the current residual rent is less than or equal to a first rent threshold value, determining that the monitoring information meets a preset condition;

and when the current residual rent is larger than the first rent threshold value, determining that the monitoring information does not meet a preset condition.

Optionally, the determining whether the current time is within the uninterruptible power period includes:

calculating the residual time of the rent period according to the first rent threshold and the rent information;

judging whether the current moment is within the residual time of the lease period;

when the current time is in the residual time of the lease period, determining that the current time is in the uninterrupted power time period;

and when the current time is not in the residual time of the lease term, determining that the current time is not in the uninterrupted power time period.

Optionally, the method further comprises: and when the current residual rent is larger than zero and smaller than a second rent threshold value, sending lease reminding information.

Optionally, the method further comprises:

storing the tripping and closing state information of the intelligent ammeter according to the tripping and closing response information returned by the intelligent ammeter;

when a command of paying a rent by a user is received and the intelligent electric meter is in a tripping state, a closing instruction is sent to the intelligent electric meter;

and updating the tripping and closing state information corresponding to the intelligent electric meter after receiving the closing response information returned by the intelligent electric meter.

In a second aspect, the present application further provides a control device for a smart meter, including:

the first acquisition module is used for acquiring monitoring information corresponding to the current monitoring parameters;

the first judgment module is used for judging whether the monitoring information meets a preset condition or not;

the second judging module is used for judging whether the current moment is in a non-power-off time period or not when the monitoring information meets the preset condition;

the second acquisition module is used for continuously acquiring the monitoring information corresponding to the current monitored object when the current time is in the uninterrupted power time period;

and the tripping control module is used for sending a tripping instruction to the intelligent ammeter when the current moment is not in the uninterruptible power time period so as to trip the intelligent ammeter.

The method for controlling the smart meter, provided by the embodiment, includes acquiring monitoring information corresponding to a current monitoring parameter, and judging whether the monitoring information meets a preset condition; if the monitoring information meets the preset condition, continuously judging whether the current time is in the uninterruptible power time period; if the current time is in the uninterrupted power time period, continuously acquiring the monitoring information corresponding to the current monitored object; and if the current moment is not within the uninterrupted power time period, sending a tripping instruction to the intelligent ammeter, and tripping the intelligent ammeter according to the tripping instruction. Therefore, when the monitoring information meets the preset condition, the method does not control the intelligent ammeter to immediately trip and cut off power, but continuously judges whether the current time is in the uninterrupted power time period, and immediately controls the intelligent ammeter to trip and cut off power if the current time is in the uninterrupted power time period; if not, the intelligent electric meter is not controlled to trip, and the monitoring information is continuously acquired. The method can meet the requirement that the monitoring information meets the preset condition and automatically trips to cut off the power supply, meanwhile, the phenomenon that the power supply is cut off in a time period necessary for power utilization to cause inconvenience in life of a user is avoided, and user experience is improved.

Drawings

In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to these drawings without creative efforts.

Fig. 1 is a schematic structural diagram of a smart meter control system according to an embodiment of the present application;

fig. 2 is a schematic flowchart of a control method of a smart meter according to an embodiment of the present application;

FIG. 3 is a schematic flow chart of another intelligent electric meter control method according to the embodiment of the application;

fig. 4 is a schematic flowchart of a control method of a smart meter according to another embodiment of the present application;

fig. 5 is a block diagram of a smart meter control device according to an embodiment of the present application;

fig. 6 is a block diagram of another intelligent electric meter control device according to an embodiment of the present application.

Detailed Description

In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all, embodiments of the present invention. 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 invention.

Referring to fig. 1, a schematic structural diagram of a smart meter control system according to an embodiment of the present application is shown, where the system includes a smart meter 1, a server 2, and a client 3.

The smart electric meter 1 is used for measuring the electricity consumption of the current house, wireless or wired communication can be carried out between the smart electric meter 1 and the server 2, and the smart electric meter 1 uploads the measured electricity consumption to the server 2.

The server 2 stores basic information such as an electricity meter number, position information of the electricity meter, status information of the electricity meter, and the like. The server 2 may control a trip/close state of the smart meter 1.

Wireless communication is available between the server 2 and the client 3, and the server 2 can send some information to the client so that the user can know the information in time.

Referring to fig. 2, a flowchart of a method for controlling a smart meter according to an embodiment of the present application is shown, where the method is applied to a server of the system shown in fig. 1, and as shown in fig. 2, the method may include the following steps:

s110, the server acquires the monitoring information corresponding to the current monitoring parameters.

In different application scenarios, the corresponding monitoring parameters are different, for example, in one application scenario, whether the electricity consumption fee of the user in the prepayment mode is overdue or not is monitored, and the corresponding monitoring parameter is the electricity consumption; and in another application scenario, monitoring whether the house rent of the user is owed, wherein the corresponding monitoring parameter is the house rent.

The monitoring parameters are different, and the corresponding monitoring information is also different, for example, if the monitoring parameters are power consumption, the monitoring information at least includes the current remaining power; and if the monitoring parameter is house rent, the monitoring information at least comprises the current residual rent.

S120, judging whether the monitoring information meets a preset condition; if the preset condition is satisfied, executing S130; if the preset condition is not satisfied, the process returns to the step of executing S110.

The preset conditions corresponding to different monitoring parameters may be different or the same.

For example, if the monitoring parameter is the power consumption, the preset condition may be whether the current remaining power consumption meets a preset value, and the preset value may be set by the user according to the actual demand.

For example, the current remaining power consumption is equal to a difference obtained by subtracting the current power consumption from the sum of the current total power and the allowable overdraft power, and the preset value may be 0; alternatively, the preset condition is whether the current used amount is within a range of the current total amount of electricity, that is, whether a difference between the current total amount of electricity and the current used amount of electricity is less than or equal to 0.

If the monitoring parameter is a house rent, the corresponding preset condition may be whether the current remaining rent is less than or equal to a rent threshold, and the rent threshold may be set by the user according to actual requirements.

S130, judging whether the current moment is in a power-off time period; if the time is not within the uninterrupted power supply time period, executing S140; if the time is within the power-off time period, the process returns to the step S110.

And when the monitoring information meets the preset condition, continuously judging whether the current time is in a preset uninterrupted power time period, if so, not issuing a tripping instruction to the intelligent ammeter, and returning to the step of acquiring the monitoring information of the current monitoring parameter.

The uninterruptible power supply time period can be set according to requirements, for example, in an application scene of monitoring power consumption, the uninterruptible power supply time period can be set to be a necessary power consumption time period, for example, 18: 00-08: 00; of course, other time ranges may be set.

And S140, the server sends a tripping instruction to the intelligent electric meter so as to trip the intelligent electric meter.

And if the current moment is not in the uninterruptible power time period, a tripping instruction is sent downwards, and after the intelligent ammeter receives the tripping instruction, the intelligent ammeter executes the tripping instruction to trip and cut off the power.

According to the control method of the intelligent ammeter, the monitoring information corresponding to the current monitoring parameters is obtained, when the monitoring information meets the preset conditions, the intelligent ammeter is not controlled to be immediately tripped and powered off, and whether the current time is within a power-off time period or not is continuously judged; if the current time is not within the uninterruptible time period, immediately controlling the intelligent ammeter to trip and power off; and if the current moment is in the uninterrupted power time period, the intelligent ammeter is not controlled to trip, and monitoring information is continuously acquired. The method can meet the requirement that the monitoring information meets the preset condition and automatically trips to cut off the power supply, meanwhile, the phenomenon that the power supply is cut off in a time period necessary for power utilization to cause inconvenience in life of a user is avoided, and user experience is improved.

Referring to fig. 3, a schematic flow chart of another method for controlling an intelligent electric meter according to an embodiment of the present application is shown, and this embodiment takes a monitoring parameter as an example of an electric quantity. As shown in fig. 3, the method may include the steps of:

and S210, reading the allowed overdraft electric quantity and the current total electric quantity corresponding to the current intelligent electric meter.

The allowable overdraw power amount may be determined by a unit for charging the electricity fee, for example, 30kW · h. The current total electric quantity is the accumulated used electric quantity obtained by subtracting the accumulated used electric quantity of the expiration statistical date from the recharging electric quantity of the user at the current period. For example, the user charges 200kW · h at this period, the statistical cumulative power consumption is 150kW · h, and the current total power is 50kW · h.

And S220, acquiring the current electricity consumption corresponding to the current intelligent electric meter.

The current electricity consumption is the electricity consumption measured by the intelligent electric meter in the current statistical period.

And S230, calculating a difference value between the current total electricity quantity and the current electricity consumption quantity, and obtaining the current residual electricity quantity according to the difference value and the allowable overdraft electricity quantity.

In the application scenario, the current remaining power amount is the current total power amount-the current power consumption amount + the allowable overdraft power amount. For example, when the current total power amount is 50kW · h, the allowable overdrawn power amount is 30kW · h, and the current power consumption amount is 10kW · h, the current remaining power amount is calculated to be 50-10+30, 70kW · h.

In another application scenario, the overdrawing amount is not allowed, and then the current remaining amount is the current total amount-the current used amount.

S240, judging whether the current residual capacity is less than or equal to 0; if less than or equal to 0, go to S250; if greater than 0, go to S270;

for example, if the current remaining capacity obtained in the above example is 70kW · h greater than 0, S270 is executed.

S250, judging whether the current time is in a power-off time period; if the time is not within the uninterrupted power supply time period, executing S260; and if the current total power consumption is within the uninterrupted power time period, updating the current total power consumption to be the difference value between the current total power consumption and the current power consumption, and returning to execute S220.

For example, if the power outage time period is 18:00 to 08:00 and the current time is 00:00, the current total power amount is updated to the difference between the current total power amount and the current power consumption amount, for example, the current total power amount is updated to 50-10 to 40kW · h.

And S260, sending a tripping instruction to the intelligent electric meter.

And if the sum of the electric quantity calculated in the step S230 is less than or equal to 0 and the current moment is not in the uninterrupted power time period, the server sends a tripping instruction to the intelligent electric meter, and the intelligent electric meter executes the tripping instruction.

S270, judging whether the current residual electric quantity is smaller than or equal to a preset electric quantity threshold value; if the current power is less than or equal to the preset power threshold, executing S280; and if the current total electricity quantity is larger than the preset electricity quantity threshold value, updating the current total electricity quantity into a difference value between the current total electricity quantity and the current electricity consumption quantity, and returning to execute S220.

The preset electric quantity threshold value can be set according to requirements, for example, can be uniformly set to 30kW · h or other numerical values.

Judging whether the current residual electric quantity obtained by calculation in the step S230 is smaller than a preset electric quantity threshold value, if so, indicating that the residual electric quantity in the account of the user is low, and reminding the user to recharge; if the current total electric quantity is larger than the preset electric quantity threshold value, the fact that the residual electric quantity of the user account is not lowered to the warning value is indicated, the current total electric quantity is updated to be a difference value between the current total electric quantity and the current electric quantity, and the current electric quantity is returned to be continuously obtained

And S280, sending recharging reminding information.

The server sends recharging information to the client used by the user, or sends a short message for reminding recharging to the mobile phone used by the user so as to remind the user of timely recharging.

According to the intelligent electric meter control method provided by the embodiment, the electricity utilization information of a user is obtained, and then the current residual electric quantity of the user is obtained through calculation according to the electricity utilization information; judging whether the current residual electric quantity is less than or equal to 0, if the sum of the electric quantities is less than or equal to 0 and the current time is in the uninterrupted power time period, not controlling the intelligent electric meter to trip and power off, and continuously monitoring the electric quantity corresponding to the intelligent electric meter; and if the current residual capacity is less than or equal to 0 and the current time is not in the uninterrupted power time period, controlling the intelligent ammeter to trip and cut off the power. The method can meet the requirement of tripping and powering off after the user charges the electric quantity and allows the overdraft electric quantity to be used up, and simultaneously, the inconvenience brought to the daily life of the user by the tripping and powering off in the time period when the user needs to use the electric quantity is avoided, so that the user experience is improved.

Referring to fig. 4, a schematic flow chart of another method for controlling an intelligent electric meter according to an embodiment of the present application is shown, and the embodiment takes a monitoring parameter as a house rent for example. As shown in fig. 4, the method may include the steps of:

and S310, reading rent information of a room corresponding to the current intelligent electric meter.

In an application scenario of the present application, the room is in a long rental mode, for example, a long rental can refer to a mode in which the rental period exceeds a preset number of days, such as monthly rental or longer.

In another application scenario of the present application, the room may be in a short rental mode, for example, a day rental or shorter time, such as a clockwork.

In the two application scenes, the rent information comprises house rent, current rent, rent starting time and rent arriving time.

The house rent is a house rent of a current monitored room for a preset period, such as a monthly rent and a daily rent.

The current rent is the rent amount corresponding to the current period, and the current residual rent is the rent left after the current rent deducts the rent unit price of the current period.

In addition, the server also stores information of the intelligent electric meter, such as the number of the intelligent electric meter, the state information of the electric meter and the like, and also stores information of a room corresponding to the intelligent electric meter, such as room information, tenant information, lease-starting time, lease-arriving time and other specified data.

And S320, calculating the rent unit price according to the house rent, the lease-starting time and the lease-arriving time.

The rent unit price refers to the rent amount in unit time, and the unit time corresponding to different application scenes may be different, for example, in a monthly rent or longer scene, the unit time may be one day or one month; in a day rental or shorter time scenario, the unit time may be one hour.

The rent unit price can be calculated according to the rent and the rent period, for example, for the long rent mode, the homeowner and the tenant negotiate to determine the amount of the house rent per month, the rent unit price is the daily rent amount, which is the rent amount of one day, and the daily rent amount is the monthly rent amount/the day of the month.

For the short lease mode, the rent unit price is the lease duration of the lease house/lease, for example, if the lease is 3 days, the rent unit price is the rent per day, and the rent amount is 3 days; if the rental period is 4 hours, the rental price is 4 hours per hour, i.e., 4 hours per rental/4.

And S330, calculating to obtain the current residual rent according to the current rent and the rent unit price. When each rent deduction period comes, whether the current time is in the range of the start rent time and the end rent time is judged, and if the current time is in the range, the corresponding rent unit price is subtracted from the current rent. If the current period is not within the date range, the current flow ends.

If the current date is the first day of the month, the current rent is the rent which is left over the last month, and if the current date is the Nth day of the month, the current rent is the rent amount obtained by subtracting the rent amount of N-1 days from the rent which is left over the last month.

In one embodiment of the present application, the house renting mode is long renting, and the rent of the current day is deducted and the current remaining rent is calculated every day. The current residual rent is equal to the current rent-daily rent amount.

And for the short rent mode, determining the period of deducting rent according to the rent, and if the rent is several hours, deducting the corresponding rent every hour and calculating the current residual rent. The current residual rent is the current rent-rent per hour unit price.

S340, judging whether the current residual rent is less than or equal to a first rent threshold value; if the first rent threshold value is less than or equal to the first rent threshold value, executing S350; if the first rent threshold is greater than the first rent threshold, S370 is performed.

After the current residual rent calculated in S330, it is determined whether the current residual rent is less than or equal to the first rent threshold, and if the current residual rent is less than or equal to the first rent threshold, it is continuously determined whether the current time is within the uninterruptible power period.

The first rent threshold value can be set by the user according to the actual requirement of the user.

S350, judging whether the current moment is in the uninterruptible power time period, if so, updating the current rent to the current residual rent and returning to execute S330; if the power supply is not in the uninterrupted power supply time period, S360 is executed.

And if the current time is in the uninterruptible power period, updating the current rent to the current residual rent and returning to execute S330, and executing S360 when the current time is not in the uninterruptible power period.

The uninterruptible power supply time period may be set according to the remaining rental time, for example, if the remaining rental time is 2 days calculated according to the first rental threshold, the uninterruptible power supply time period is 2 days from the current time. As another example, if the remaining rental period is 2 hours, the uninterruptible power supply period may be 2 hours from the present time.

And S360, sending a tripping instruction to the intelligent electric meter.

And if the current residual rent is less than or equal to 0 and the current time is not in the uninterrupted power time period, sending a tripping instruction to the intelligent electric meter.

Optionally, after the intelligent electric meter is controlled to be switched on and off, the switching-on and switching-off state information of the intelligent electric meter is stored, so that the intelligent electric meter can be controlled according to the switching-on and switching-off state information of the intelligent electric meter in the following. .

And when a command of paying the rent by the user is received and the intelligent electric meter is in a tripping state, sending a closing instruction to the intelligent electric meter. And when the intelligent electric meter is controlled to be switched on and switching-on response information returned by the intelligent electric meter is received, updating the switching-on and switching-off state information of the intelligent electric meter.

S370, judging whether the current residual rent is lower than or equal to a second rent threshold value; if the second rent threshold value is lower than or equal to the second rent threshold value, executing S380; and if the rent is higher than the second rent threshold value, updating the current rent to the current residual rent, and returning to execute S330.

The second rent threshold may be set according to actual demand, for example, may be set as a daily rent amount, which may be calculated as an average number of days per month.

The second rent threshold may be set according to the actual demand of the user, and the second rent threshold may be greater than, equal to, or smaller than the first rent threshold.

And S380, sending the lease reminding information.

The server pushes the lease reminding information to the client of the user, or sends a short message for reminding lease payment to a mobile phone used by the user, and the like, which is not limited in the application.

According to the intelligent electric meter control method provided by the embodiment, rent information of a user is obtained, rent is deducted according to a preset rent deduction period, and the current residual rent is obtained through calculation. Then, tripping/closing of the intelligent electric meter is controlled according to the amount of the current residual rent, so that tenants are effectively urged to pay rent as soon as possible, and contradictions between the tenants and a house owner are avoided; meanwhile, the phenomenon that the tenant lives are inconvenient due to tripping in the period of needing power at night is avoided, and user experience is improved.

Corresponding to the embodiment of the control method of the intelligent electric meter, the application also provides a corresponding embodiment of a control device of the intelligent electric meter.

Referring to fig. 5, a block diagram of a smart meter control apparatus according to an embodiment of the present application is shown, where the apparatus is applied to a computing device, and as shown in fig. 5, the apparatus may include: the trip control module comprises a first acquisition module 110, a first judgment module 120, a second judgment module 130, a second acquisition module 140 and a trip control module 150;

the first obtaining module 110 is configured to obtain monitoring information corresponding to a current monitoring parameter.

In an embodiment of the present application, the current monitoring parameter is power consumption, and the corresponding monitoring information is current remaining power.

In an application scenario, a user is allowed to overdraw electricity, and at this time, the current remaining electricity is the current total electricity-the current electricity consumption + the allowed overdraw electricity.

In another application scenario, the user is not allowed to overdraw the electricity, and at this time, the current remaining electricity is the current total electricity-the current electricity consumption.

In another embodiment, the current monitoring parameter is a rent of a room corresponding to the smart meter, and the monitoring information is a current remaining rent of the room.

And calculating to obtain rent unit price according to the house rent, the rent starting time and the rent reaching time, and then calculating to obtain the current residual rent according to the current rent and the rent unit price.

For the long rent mode, the rent of the current day is deducted every day, and the current residual rent is equal to the current rent-daily rent amount.

For the short rental mode, for example, the current rental is deducted every hour, and the current remaining rental is the current rental-the per-hour rental unit price.

The first determining module 120 is configured to determine whether the monitoring information meets a preset condition.

If the monitoring information is the current remaining power, the first judgment module is specifically configured to: judging whether the current residual electric quantity is less than or equal to zero, and if the current residual electric quantity is less than or equal to zero, determining that the current monitoring information meets a preset condition; and if the current monitoring information is larger than zero, determining that the current monitoring information does not meet the preset condition.

If the monitoring information is the current residual rent, the first judgment module is specifically configured to: judging whether the current residual rent is less than or equal to a first rent threshold value, and if the current residual rent is less than or equal to the first rent threshold value, determining that the monitoring information meets a preset condition; and if the monitoring information is larger than the first rent threshold value, determining that the monitoring information does not meet the preset condition.

And the second judging module 130 is configured to judge whether the current time is within the uninterruptible power period when the monitoring information meets the preset condition.

And for the application scene with the monitoring information as the current residual electric quantity, when the monitoring information meets the preset condition, continuously judging whether the current moment is in the uninterrupted power time period. The uninterrupted power time period in the application scene can be set by a user according to the actual requirement, for example, the uninterrupted power time period is set as a power consumption necessary time period, for example, 18: 00-08: 00; of course, other time ranges may be set.

For an application scenario in which the monitoring information is the current remaining rent, the uninterruptible power supply time period may be set according to the remaining lease time, for example, if the remaining lease time is 2 days calculated according to the first lease threshold, the uninterruptible power supply time period is 2 days from the current time. As another example, if the remaining rental period is 2 hours, the uninterruptible power supply period may be 2 hours from the present time.

If the current time is in the uninterruptible time period, the intelligent ammeter is not controlled to trip; and if the current moment is not in the uninterruptible power time period, controlling the intelligent ammeter to trip.

The second obtaining module 140 is configured to, when the current time is within the uninterruptible power period, continuously obtain monitoring information corresponding to the current monitored object.

And the trip control module 150 is used for sending a trip instruction to the smart meter when the current time is not in the uninterruptible power time period so as to trip the smart meter.

The control device of the smart meter provided by the embodiment acquires the monitoring information corresponding to the current monitoring parameter, and when the monitoring information meets the preset condition, the control device does not control the smart meter to immediately trip and power off, but continuously judges whether the current time is within the uninterrupted power time period; if the current time is not within the uninterruptible time period, immediately controlling the intelligent ammeter to trip and power off; and if the current moment is in the uninterrupted power time period, the intelligent ammeter is not controlled to trip, and monitoring information is continuously acquired. The method can meet the requirement that the monitoring information meets the preset condition and automatically trips to cut off the power supply, meanwhile, the phenomenon that the power supply is cut off in a time period necessary for power utilization to cause inconvenience in life of a user is avoided, and user experience is improved.

Referring to fig. 6, a block diagram of another control device of a smart meter according to an embodiment of the present application is shown, where the control device further includes, on the basis of the embodiment shown in fig. 5:

and the reminding module 210 is configured to send the recharge reminding information when the monitoring information meets the reminding condition.

In the scene of monitoring the power consumption, the reminding module 210 is configured to push the recharge reminding information when the current remaining power is greater than 0 and less than the preset power threshold.

In the scene of monitoring the house rents, the reminding module 210 is configured to send rental reminding information when the current remaining rental is greater than 0 and less than the second rental threshold.

Optionally, the present embodiment may further include a storage module 220, a closing control module 230, and an updating module 240;

and the storage module 220 is configured to store the tripping and closing state information of the smart meter according to the tripping response information returned by the smart meter.

The closing control module 230 is configured to send a closing instruction to close the smart meter when the recharging instruction is received and the smart meter is currently in a trip state;

under the scene of monitoring the electricity consumption, when an electricity recharging command is received and the intelligent electric meter is in a tripping state, a closing command is sent.

Under the scene of monitoring house rent, when a command of paying the rent by a user is received and the intelligent electric meter is in a tripping state, a closing command is sent.

And the updating module 240 is configured to update the tripping and closing state information corresponding to the intelligent electric meter after receiving the closing response information returned by the intelligent electric meter.

The intelligent electric meter control device provided by the embodiment reminds the user to recharge when the monitoring information meets the reminding condition, avoids the phenomenon of power failure caused by non-timely recharging, and improves the user experience. In addition, after the intelligent electric meter is controlled to trip/close, the tripping and closing state information of the intelligent electric meter is stored, so that corresponding control can be conveniently carried out according to the current state of the intelligent electric meter.

The application also provides a computing device, which comprises a processor and a memory, wherein the memory stores program instructions, and the processor runs the program instructions to realize the control method of any one of the intelligent electric meters.

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 processor comprises a kernel, the kernel fetches corresponding programs from the memory, and the kernel can be set to one or more than one.

The application also provides a storage medium executable by the computing device, wherein the storage medium stores a program, and the program realizes the control method of the intelligent ammeter when being executed by the computing device.

The application also provides a processor, and the processor is used for running the program, wherein the program is run by the processor to execute the control method of the intelligent electric meter.

While, for purposes of simplicity of explanation, the foregoing method embodiments have been described as a series of acts or combination of acts, it will be appreciated by those skilled in the art that the present invention is not limited by the illustrated ordering of acts, as some steps may occur in other orders or concurrently with other steps in accordance with the invention. Further, those skilled in the art should also appreciate that the embodiments described in the specification are preferred embodiments and that the acts and modules referred to are not necessarily required by the invention.

It should be noted that, in the present specification, the embodiments are all described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments may be referred to each other. For the device-like embodiment, since it is basically similar to the method embodiment, the description is simple, and for the relevant points, reference may be made to the partial description of the method embodiment.

The steps in the method of the embodiments of the present application may be sequentially adjusted, combined, and deleted according to actual needs.

The modules and sub-modules in the device and the terminal in the embodiments of the application can be combined, divided and deleted according to actual needs.

In the several embodiments provided in the present application, it should be understood that the disclosed terminal, apparatus and method may be implemented in other manners. For example, the above-described terminal embodiments are merely illustrative, and for example, the division of a module or a sub-module is only one logical division, and there may be other divisions when the terminal is actually implemented, for example, a plurality of sub-modules or modules may be combined or integrated into another module, or some features may be omitted or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or modules, and may be in an electrical, mechanical or other form.

The modules or sub-modules described as separate parts may or may not be physically separate, and parts that are modules or sub-modules may or may not be physical modules or sub-modules, may be located in one place, or may be distributed over a plurality of network modules or sub-modules. Some or all of the modules or sub-modules can be selected according to actual needs to achieve the purpose of the solution of the present embodiment.

In addition, each functional module or sub-module in the embodiments of the present application may be integrated into one processing module, or each module or sub-module may exist alone physically, or two or more modules or sub-modules may be integrated into one module. The integrated modules or sub-modules may be implemented in the form of hardware, or may be implemented in the form of software functional modules or sub-modules.

Finally, it should also be noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.

The previous description of the disclosed embodiments is provided to enable any person skilled in the art to make or use the present invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the invention. Thus, the present invention is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

The foregoing is only a preferred embodiment of the present invention, and it should be noted that, for those skilled in the art, various modifications and decorations can be made without departing from the principle of the present invention, and these modifications and decorations should also be regarded as the protection scope of the present invention.

17页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:基于STM32的太阳能便携式示波器

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!

技术分类