Method and device for recharging electric meter, storage medium and processor

文档序号:1599788 发布日期:2020-01-07 浏览:27次 中文

阅读说明:本技术 一种电表的充值方法、装置、存储介质及处理器 (Method and device for recharging electric meter, storage medium and processor ) 是由 潘嘉明 刘华生 刘立峰 郑戴 陈栋梁 陈彬 张东胜 于 2018-06-29 设计创作,主要内容包括:本申请公开了一种电表的充值方法及装置,首先服务器接收充值信息,并生成对应的充值指令,然后判断智能电表是否在线,若在线,将所述充值指令发送给所述智能电表,若离线,将所述充值指令发送至用户终端,用户终端通过近场通信将所述充值指令发送给智能电表,智能电表根据接收到的充值指令完成电表充值。所述电表的充值方法及装置,通过网络就可以完成购电,采用网络在线下发充值指令、或用户终端与智能电表的近场通信实现智能电表对充值指令的接收执行,整个过程方便快捷,且避免了智能电表网络信号不好时对正常充值的影响,能够大大提升用户体验。(The application discloses a method and a device for recharging an electric meter, firstly, a server receives recharging information, generates a corresponding recharging instruction, then judges whether an intelligent electric meter is on line or not, sends the recharging instruction to the intelligent electric meter if the intelligent electric meter is on line, sends the recharging instruction to a user terminal if the intelligent electric meter is off line, sends the recharging instruction to the intelligent electric meter through near field communication, and the intelligent electric meter completes electric meter recharging according to the received recharging instruction. According to the method and the device for recharging the electric meter, electricity purchasing can be completed through a network, the intelligent electric meter receives and executes the recharging instruction by adopting online network issuing of the recharging instruction or near field communication between the user terminal and the intelligent electric meter, the whole process is convenient and rapid, the influence on normal recharging when the network signal of the intelligent electric meter is poor is avoided, and the user experience can be greatly improved.)

1. A method for recharging an electric meter, comprising:

the server receives the recharging information and generates a corresponding recharging instruction;

judging whether the intelligent electric meter is on line or not, wherein the intelligent electric meter has a network communication function and a near field communication function;

if the intelligent electric meter is online, the server sends the recharging instruction to the intelligent electric meter so that the intelligent electric meter finishes recharging according to the recharging instruction;

and if the intelligent electric meter is offline, the server sends the recharging instruction to a user terminal, so that the user terminal sends the recharging instruction to the intelligent electric meter through a near field communication technology.

2. The method of charging an electricity meter of claim 1, further comprising:

and the server receives recharging success indication information sent by the intelligent electric meter after recharging is successful or recharging failure information sent by the intelligent electric meter after recharging is failed.

3. The method of charging an electricity meter of claim 1, further comprising:

the server receives electric quantity information sent by the intelligent electric meter;

and the server generates payment notification information according to the electric quantity information and sends the payment notification information to the user terminal.

4. A method for recharging an electric meter, comprising:

the intelligent electric meter receives a recharging instruction issued by a server through a network or a recharging instruction sent by a user terminal through a near field communication technology;

the intelligent ammeter executes the received recharging instruction;

and the intelligent electric meter sends recharging success indication information or recharging failure indication information to the server according to the execution result of the recharging instruction.

5. The method of claim 4, wherein before the smart meter executes the received recharging instruction, the method further comprises:

the intelligent ammeter judges whether the received recharging instruction is an executed recharging instruction or not;

if not, entering a step that the intelligent electric meter executes the received recharging instruction;

and if so, the intelligent electric meter does not execute the recharging instruction any more.

6. The method of claim 5, wherein the recharging instruction carries a unique ID number, and the smart meter determines whether the received recharging instruction has been executed, including:

and the intelligent electric meter judges whether the recharging instruction is an executed recharging instruction or not according to the unique ID number in the received recharging instruction.

7. A charging device for an electric meter, comprising:

the instruction generating module is used for receiving the recharging information and generating a corresponding recharging instruction;

the online judging module is used for judging whether the intelligent electric meter is online or not, and the intelligent electric meter has a network communication function and a near field communication function;

the first sending module is used for sending the recharging instruction to the intelligent electric meter when the intelligent electric meter is on line so that the intelligent electric meter finishes recharging according to the recharging instruction;

and the second sending module is used for sending the recharging instruction to a user terminal when the intelligent electric meter is offline, so that the user terminal sends the recharging instruction to the intelligent electric meter through a near field communication technology.

8. A charging device for an electric meter, comprising:

the instruction receiving module is used for receiving a recharging instruction issued by the server through a network or receiving a recharging instruction sent by the user terminal through a near field communication technology;

the instruction execution module is used for executing the received recharging instruction;

and the information return module is used for sending recharging success indication information or recharging failure indication information to the server according to the execution result of the recharging instruction.

9. A storage medium, characterized in that it comprises a stored program, wherein said program executes the method of recharging an electricity meter according to any one of claims 1 to 6.

10. A processor, characterized in that the processor is configured to run a program, wherein the program is configured to execute the method for recharging an electric meter according to any one of claims 1 to 6 when running.

Technical Field

The invention relates to an intelligent management domain, in particular to a method and a device for recharging an electric meter, a storage medium and a processor.

Background

In the electronic and information age, "electricity" is used as an energy source for all electronic equipment and electric control machines, and has irreplaceable important roles in life. Purchasing electricity also becomes an essential content in daily activities. Therefore, how to provide a more convenient and faster electricity purchasing recharging way for the majority of users also becomes a problem which is concerned by the industry and is urgently needed to be solved.

At present, electricity consumption of residential users is realized in a mainstream electricity purchasing mode that electricity is purchased at an electricity selling site, the electricity selling site writes information of purchase amount and purchase electric quantity into a user electricity card, and then a user inserts the electricity card into an electricity meter corresponding to the user at home and writes the purchased electric quantity into the electricity meter for activating use. However, this method requires the user to go back and forth between the electricity purchasing site and the electricity meter, the process is time-consuming and labor-consuming, and there is no way for the user to purchase electricity at all.

Disclosure of Invention

In view of the above, the present invention provides a method and an apparatus for recharging an electric meter, a storage medium, and a processor, so as to provide a convenient, fast, time-saving and labor-saving method for purchasing electricity.

In order to achieve the purpose, the invention provides the following technical scheme:

a recharging method of an electric meter comprises the following steps:

the server receives the recharging information and generates a corresponding recharging instruction;

judging whether the intelligent electric meter is on line or not, wherein the intelligent electric meter has a network communication function and a near field communication function;

if the intelligent electric meter is online, the server sends the recharging instruction to the intelligent electric meter so that the intelligent electric meter finishes recharging according to the recharging instruction;

and if the intelligent electric meter is offline, the server sends the recharging instruction to a user terminal, so that the user terminal sends the recharging instruction to the intelligent electric meter through a near field communication technology.

Optionally, the method for recharging an electricity meter further includes:

and the server receives recharging success indication information sent by the intelligent electric meter after recharging is successful or recharging failure information sent by the intelligent electric meter after recharging is failed.

Optionally, the method for recharging an electricity meter further includes:

the server receives electric quantity information sent by the intelligent electric meter;

and the server generates payment notification information according to the electric quantity information and sends the payment notification information to the user terminal.

A recharging method of an electric meter comprises the following steps:

the intelligent electric meter receives a recharging instruction issued by a server through a network or a recharging instruction sent by a user terminal through a near field communication technology;

the intelligent ammeter executes the received recharging instruction;

and the intelligent electric meter sends recharging success indication information or recharging failure indication information to the server according to the execution result of the recharging instruction.

Optionally, before the smart meter executes the received recharging instruction, the method further includes:

the intelligent ammeter judges whether the received recharging instruction is an executed recharging instruction or not;

if not, entering a step that the intelligent electric meter executes the received recharging instruction;

and if so, the intelligent electric meter does not execute the recharging instruction any more.

Optionally, if the recharging instruction carries a unique ID number, the smart electric meter determines whether the received recharging instruction has been executed, including:

and the intelligent electric meter judges whether the recharging instruction is an executed recharging instruction or not according to the unique ID number in the received recharging instruction.

A charging device for an electric meter, comprising:

the instruction generating module is used for receiving the recharging information and generating a corresponding recharging instruction;

the online judging module is used for judging whether the intelligent electric meter is online or not, and the intelligent electric meter has a network communication function and a near field communication function;

the first sending module is used for sending the recharging instruction to the intelligent electric meter when the intelligent electric meter is on line so that the intelligent electric meter finishes recharging according to the recharging instruction;

and the second sending module is used for sending the recharging instruction to a user terminal when the intelligent electric meter is offline, so that the user terminal sends the recharging instruction to the intelligent electric meter through a near field communication technology.

A charging device for an electric meter, comprising:

the instruction receiving module is used for receiving a recharging instruction issued by the server through a network or receiving a recharging instruction sent by the user terminal through a near field communication technology;

the instruction execution module is used for executing the received recharging instruction;

and the information return module is used for sending recharging success indication information or recharging failure indication information to the server according to the execution result of the recharging instruction.

A storage medium comprising a stored program, wherein the program performs any one of the above methods of recharging an electric meter.

A processor, said processor is used for running program, wherein, said program runs and executes any above mentioned method for charging electric meter.

According to the technical scheme, compared with the prior art, the embodiment of the invention discloses a method and a device for recharging an electric meter. According to the method and the device for recharging the electric meter, electricity purchasing can be completed through a network, the intelligent electric meter receives and executes the recharging instruction by adopting online network issuing of the recharging instruction or near field communication between the user terminal and the intelligent electric meter, the whole process is convenient and rapid, the influence on normal recharging when the network signal of the intelligent electric meter is poor is avoided, and the user experience can be greatly 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 described below, it is obvious that the drawings in the following description are only embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the provided drawings without creative efforts.

Fig. 1 is a flowchart of a method for recharging an electric meter according to an embodiment of the present invention;

FIG. 2 is a flow chart of another method for recharging an electric meter according to an embodiment of the present invention;

FIG. 3 is a flow chart of a recharging method for an electric meter according to an embodiment of the present invention;

fig. 4 is a flowchart of another method for recharging an electric meter according to an embodiment of the present invention;

fig. 5 is a schematic structural diagram of a recharging device of an electric meter according to an embodiment of the present invention;

fig. 6 is a schematic structural diagram of a recharging device of another electric meter disclosed by the embodiment of the invention;

fig. 7 is a schematic structural diagram of a recharging device of an electric meter according to another embodiment of the present invention;

fig. 8 is a schematic structural diagram of a recharging device of another electric meter according to an embodiment of the present invention.

Detailed Description

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 only a part of the embodiments of the present invention, and not all of the 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 invention.

Fig. 1 is a flowchart of a method for recharging an electric meter according to an embodiment of the present invention, where the method is applied to a server side, and referring to fig. 1, the method for recharging an electric meter may include:

step 101: the server receives the recharging information and generates a corresponding recharging instruction.

The recharging information may be related information of purchasing electricity by the user through the network, and is not limited to information including recharging amount, purchasing electric quantity, unit price of electric quantity, ID of electric meter, and the like.

The recharging instruction can be instruction information for instructing the intelligent electric meter to write the purchase electric quantity or the recharging amount into the intelligent electric meter, and after the purchase electric quantity is written into the intelligent electric meter, a user can normally use the electric quantity. Each different recharging instruction can have a unique ID number to identify different recharging instructions and conveniently record life cycle information of the recharging instruction, such as sending time, execution condition information and the like. The ID number of the recharging instruction can be generated according to a certain rule according to the information such as the ID of the electric meter, the generation time and the like in the recharging information.

Step 102: and judging whether the intelligent electric meter is on-line or not, if so, entering a step 103, and if not, entering a step 104.

The intelligent electric meter has a network communication function and a near field communication function. Specifically, the smart meter may have a wired network interface or a wireless network module, such as a wifi module or a GPRS module. The smart meter may be, but is not limited to, a communication module with a near field communication function, such as bluetooth or NFC.

And judging whether the intelligent electric meter is on line, specifically judging whether the intelligent electric meter is on line in a network. One implementation mode can be that a server sends a message to the intelligent electric meter, and if a response message returned by the intelligent electric meter is received, the server is in an online state; and if the response message of the intelligent electric meter is not received within a certain time, determining that the intelligent electric meter is in an off-line state.

Step 103: and the server sends the recharging instruction to the intelligent electric meter so that the intelligent electric meter finishes recharging according to the recharging instruction.

And under the condition that the intelligent electric meter network is on line, the server can directly send the recharging instruction to the intelligent electric meter through the network, and the intelligent electric meter directly executes and finishes the recharging process after receiving the recharging instruction. Specifically, the server may send a recharging instruction to the smart meter through a wired network or a wireless network.

Step 104: and the server sends the recharging instruction to a user terminal so that the user terminal sends the recharging instruction to the intelligent electric meter through a near field communication technology.

And under the condition that the network of the intelligent electric meter is offline, the server cannot send the recharging instruction to the intelligent electric meter through the network, and can only transmit the recharging instruction to the intelligent electric meter through other channels. In the embodiment, the server sends the recharging instruction to the user terminal when the intelligent electric meter is offline, and the recharging instruction is transmitted to the intelligent electric meter through the user terminal, so that the intelligent electric meter can obtain the recharging instruction from the user terminal in time under the offline condition, and the recharging operation is completed. The user terminal can receive the recharging instruction sent by the server through the network, and the recharging instruction is transmitted to the intelligent electric meter through near field communication technologies such as Bluetooth and NFC.

In the embodiment, the electricity purchasing can be completed through the network by the recharging method of the electric meter, the recharging instruction is sent online by the network or the receiving and execution of the recharging instruction by the intelligent electric meter are realized by the near field communication between the user terminal and the intelligent electric meter, the whole process is convenient and quick, the influence on normal recharging when the network signal of the intelligent electric meter is poor is avoided, and the user experience can be greatly improved.

On the basis of the above embodiment disclosed by the present invention, fig. 2 discloses another flow chart of a recharging method for an electric meter, where the method is applied to a server side, and as shown in fig. 2, the recharging method for an electric meter may include:

step 201: and the server receives the electric quantity information sent by the intelligent electric meter.

The intelligent electric meter can send the electric quantity information to the server periodically when the remaining available electric quantity is smaller than the minimum threshold value or the electric quantity is over-supported.

Step 202: and generating payment notification information according to the electric quantity information, and sending the payment notification information to a user terminal.

The server judges and analyzes the electric quantity information after receiving the electric quantity information sent by the intelligent electric meter, and if the condition of sending the payment notice is met, the server can generate the payment notice according to the electric quantity information and send the payment notice to the user terminal so as to remind the user of timely payment. The condition for sending the payment notification may be that the balance is lower than a preset threshold, or the electric quantity is exceeded, and the like.

Step 203: the server receives the recharging information and generates a corresponding recharging instruction.

Step 204: and judging whether the intelligent electric meter is on-line or not, if so, entering a step 205, and if not, entering a step 206.

Step 205: and sending the recharging instruction to the intelligent electric meter so that the intelligent electric meter finishes recharging according to the recharging instruction.

Step 206: and sending the recharging instruction to a user terminal so that the user terminal sends the recharging instruction to the intelligent electric meter through a near field communication technology.

Step 207: and receiving recharging success indication information sent by the intelligent electric meter after recharging is successful or recharging failure information sent by the intelligent electric meter after recharging is failed.

Wherein, the recharge failure information may include failure reason information.

If the recharging instruction is successfully executed, namely the recharging is successful, the server can record the related information for record, and if the recharging instruction is failed to be executed, the server can determine whether the recharging instruction needs to be issued again according to the failure reason information or send corresponding prompt information to the user, such as the fault of the intelligent electric meter equipment.

In the embodiment, the recharging method of the electric meter generates the payment notice to remind the user of purchasing electricity in time when the electric quantity of the electric meter meets a certain condition, so that inconvenience caused by sudden power failure of the user in the electricity utilization process is avoided. Meanwhile, the recharging success or failure message sent by the intelligent electric meter can be received, so that corresponding operation can be conveniently and timely performed, and the use experience of the user can be integrally improved.

Fig. 3 is a flowchart of a recharging method for an electric meter according to an embodiment of the present invention, where the method is applied to an intelligent electric meter, and as shown in fig. 3, the recharging method may include:

step 301: the intelligent electric meter receives a recharging instruction issued by the server through a network or a recharging instruction sent by the user terminal through a near field communication technology.

Under the condition that the network of the intelligent electric meter is on line, the intelligent electric meter can receive a recharging instruction issued by a server through the network, wherein the network can be a wired network or a wireless network. Under the condition that the intelligent electric meter network is offline, the server can send the recharging instruction to the user terminal, and the intelligent electric meter can receive the recharging instruction sent by the user terminal through the near field communication technology.

Step 302: and the intelligent electric meter executes the received recharging instruction.

And after receiving the recharging instruction, the intelligent electric meter executes the recharging instruction to complete the recharging operation so as to provide continuous power supply service for the user.

Step 303: and the intelligent electric meter sends recharging success indication information or recharging failure indication information to the server according to the execution result of the recharging instruction.

Wherein, the recharge failure information may include failure reason information.

If the recharging instruction is successfully executed, namely the recharging is successful, the intelligent electric meter sends recharging success indicating information to the server, the server can record related information records, if the recharging instruction is failed to be executed, the intelligent electric meter sends recharging failure indicating information to the server, and the server can determine whether the recharging instruction needs to be issued again according to failure reason information or send corresponding prompting information to a user, such as the equipment failure of the intelligent electric meter.

In the embodiment, the electricity purchasing can be completed through the network by the electricity meter recharging method, the recharging instruction is issued online through the network or the near field communication between the user terminal and the intelligent electricity meter is adopted to realize the receiving and execution of the recharging instruction by the intelligent electricity meter, the whole process is convenient and rapid, the influence on normal recharging when the network signal of the intelligent electricity meter is poor is avoided, and the user experience can be greatly improved.

Fig. 4 is a flowchart of another recharging method for an electric meter according to an embodiment of the present invention, where the method is applied to an intelligent electric meter, and as shown in fig. 4, the method may include:

step 401: the intelligent electric meter receives a recharging instruction issued by the server through a network or a recharging instruction sent by the user terminal through a near field communication technology.

Step 402: the smart meter determines whether the received recharging instruction is an executed recharging instruction, and if not, the process goes to step 403.

Specifically, if the recharging instruction carries a unique ID number, the smart electric meter may determine whether the received recharging instruction has been executed, and the determining may include: and the intelligent electric meter judges whether the recharging instruction is an executed recharging instruction or not according to the unique ID number in the received recharging instruction. For example, after a certain recharging instruction is successfully executed, a recharging success mark is added to the unique ID number in the recharging instruction and is stored to the local, when a new recharging instruction is subsequently executed, the unique ID number in the new recharging instruction is firstly compared with the unique ID number with the recharging success mark, if the unique ID number in the new recharging instruction is the same as the unique ID number with the recharging success mark, it is determined that the new recharging instruction has been executed, and if all the unique ID numbers with the recharging success marks are different from the unique ID numbers in the new recharging instruction, it is determined that the new recharging instruction has not been executed.

The unique ID number may be a unique ID number of the recharge instruction, and the unique ID number of the recharge instruction may be generated according to a certain rule according to the information such as the ID of the electric meter, the generation time, and the like in the recharge information.

And if the intelligent electric meter executes the received recharging instruction, the recharging instruction is not executed any more, and repeated recharging is avoided. For example, the recharging instruction includes a unique ID number 20180101, and a recharging success ID list locally stored by the smart meter includes a unique ID number 20180101, which indicates that the smart meter has executed a recharging instruction with a unique ID number of 20180101 and has succeeded in recharging, in which case the received recharging instruction is not executed any more.

Step 403: and the intelligent electric meter executes the received recharging instruction.

Step 404: and the intelligent electric meter sends recharging success indication information or recharging failure indication information to the server according to the execution result of the recharging instruction.

In this embodiment, after receiving the recharging instruction, it is first determined whether the recharging instruction has been executed before, and if the recharging instruction has been executed, the recharging instruction is not repeatedly executed, so that the occurrence of repeated recharging is avoided.

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.

The method is described in detail in the embodiments disclosed above, and the method of the present invention can be implemented by various types of apparatuses, so that the present invention also discloses an apparatus, and the following detailed description will be given of specific embodiments.

Fig. 5 is a schematic structural diagram of a recharging device for an electric meter according to an embodiment of the present invention, the recharging device is applied to a server side, and referring to fig. 1, the recharging device 50 for an electric meter may include:

the instruction generating module 501 is configured to receive the recharging information and generate a corresponding recharging instruction.

The recharging information may be related information of purchasing electricity by the user through the network, and is not limited to information including recharging amount, purchasing electric quantity, unit price of electric quantity, ID of electric meter, and the like.

The recharging instruction can be instruction information for instructing the intelligent electric meter to write the purchase electric quantity or the recharging amount into the intelligent electric meter, and after the purchase electric quantity is written into the intelligent electric meter, a user can normally use the electric quantity. Each different recharging instruction can have a unique ID number to identify different recharging instructions and conveniently record life cycle information of the recharging instruction, such as sending time, execution condition information and the like. The ID number of the recharging instruction can be generated according to a certain rule according to the information such as the ID of the electric meter, the generation time and the like in the recharging information.

And the online judging module 502 is used for judging whether the smart meter is online.

The intelligent electric meter has a network communication function and a near field communication function. Specifically, the smart meter may have a wired network interface or a wireless network module, such as a wifi module or a GPRS module. The smart meter may be, but is not limited to, a communication module with a near field communication function, such as bluetooth or NFC.

And judging whether the intelligent electric meter is on line, specifically judging whether the intelligent electric meter is on line in a network. One implementation mode can be that a server sends a message to the intelligent electric meter, and if a response message returned by the intelligent electric meter is received, the server is in an online state; and if the response message of the intelligent electric meter is not received within a certain time, determining that the intelligent electric meter is in an off-line state.

A first sending module 503, configured to send the recharge instruction to the smart meter when the smart meter is online, so that the smart meter completes recharging according to the recharge instruction.

And under the condition that the intelligent electric meter network is on line, the server can directly send the recharging instruction to the intelligent electric meter through the network, and the intelligent electric meter directly executes and finishes the recharging process after receiving the recharging instruction. Specifically, the server may send a recharging instruction to the smart meter through a wired network or a wireless network.

A second sending module 504, configured to send the recharge instruction to a user terminal when the smart meter is offline, so that the user terminal sends the recharge instruction to the smart meter through a near field communication technology.

And under the condition that the network of the intelligent electric meter is offline, the server cannot send the recharging instruction to the intelligent electric meter through the network, and can only transmit the recharging instruction to the intelligent electric meter through other channels. In the embodiment, the server sends the recharging instruction to the user terminal when the intelligent electric meter is offline, and the recharging instruction is transmitted to the intelligent electric meter through the user terminal, so that the intelligent electric meter can obtain the recharging instruction from the user terminal in time under the offline condition, and the recharging operation is completed. The user terminal can receive the recharging instruction sent by the server through the network, and the recharging instruction is transmitted to the intelligent electric meter through near field communication technologies such as Bluetooth and NFC.

In the embodiment, the electricity purchasing can be completed by the recharging device of the electric meter through the network, the intelligent electric meter receives and executes the recharging instruction by adopting the online network issuing of the recharging instruction or the near field communication between the user terminal and the intelligent electric meter, the whole process is convenient and fast, the influence on normal recharging when the network signal of the intelligent electric meter is poor is avoided, and the user experience can be greatly improved.

On the basis of the above embodiment disclosed by the present invention, fig. 6 discloses a schematic structural diagram of another recharging device for an electric meter, which is applied to a server side, as shown in fig. 6, the recharging device 60 for an electric meter may include:

the electric quantity receiving module 601 is configured to receive electric quantity information sent by the smart electric meter.

The intelligent electric meter can send the electric quantity information to the server periodically when the remaining available electric quantity is smaller than the minimum threshold value or the electric quantity is over-supported.

And the message notification module 602 is configured to generate payment notification information according to the electric quantity information, and send the payment notification information to a user terminal.

The server judges and analyzes the electric quantity information after receiving the electric quantity information sent by the intelligent electric meter, and if the condition of sending the payment notice is met, the server can generate the payment notice according to the electric quantity information and send the payment notice to the user terminal so as to remind the user of timely payment. The condition for sending the payment notification may be that the balance is lower than a preset threshold, or the electric quantity is exceeded, and the like.

The instruction generating module 501 is configured to receive the recharging information and generate a corresponding recharging instruction.

And the online judging module 502 is used for judging whether the smart meter is online.

The intelligent electric meter has a network communication function and a near field communication function.

A first sending module 503, configured to send the recharge instruction to the smart meter when the smart meter is online, so that the smart meter completes recharging according to the recharge instruction.

A second sending module 504, configured to send the recharge instruction to a user terminal when the smart meter is offline, so that the user terminal sends the recharge instruction to the smart meter through a near field communication technology.

The feedback receiving module 603 is configured to receive recharging success indication information sent by the smart meter after recharging succeeds or recharging failure information sent after recharging fails.

Wherein, the recharge failure information may include failure reason information.

If the recharging instruction is successfully executed, namely the recharging is successful, the server can record the related information for record, and if the recharging instruction is failed to be executed, the server can determine whether the recharging instruction needs to be issued again according to the failure reason information or send corresponding prompt information to the user, such as the fault of the intelligent electric meter equipment.

In this embodiment, the recharging device of the ammeter generates a payment notice to remind the user of purchasing electricity in time when the electric quantity of the ammeter meets a certain condition, so that inconvenience caused by sudden power failure of the user in the electricity utilization process is avoided. Meanwhile, the recharging success or failure message sent by the intelligent electric meter can be received, so that corresponding operation can be conveniently and timely performed, and the use experience of the user can be integrally improved.

Fig. 7 is a schematic structural diagram of a recharging device for an electric meter according to another embodiment of the present invention, where the recharging device is applied to an intelligent electric meter, and as shown in fig. 7, the recharging device 70 for an electric meter may include:

the instruction receiving module 701 is configured to receive a recharge instruction issued by the server through the network, or receive a recharge instruction sent by the user terminal through the near field communication technology.

Under the condition that the network of the intelligent electric meter is on line, the intelligent electric meter can receive a recharging instruction issued by a server through the network, wherein the network can be a wired network or a wireless network. Under the condition that the intelligent electric meter network is offline, the server can send the recharging instruction to the user terminal, and the intelligent electric meter can receive the recharging instruction sent by the user terminal through the near field communication technology.

The instruction executing module 702 is configured to execute the received recharging instruction.

And after receiving the recharging instruction, the intelligent electric meter executes the recharging instruction to complete the recharging operation so as to provide continuous power supply service for the user.

An information returning module 703, configured to send recharging success indication information or recharging failure indication information to the server according to the execution result of the recharging instruction.

Wherein, the recharge failure information may include failure reason information.

If the recharging instruction is successfully executed, namely the recharging is successful, the intelligent electric meter sends recharging success indicating information to the server, the server can record related information records, if the recharging instruction is failed to be executed, the intelligent electric meter sends recharging failure indicating information to the server, and the server can determine whether the recharging instruction needs to be issued again according to failure reason information or send corresponding prompting information to a user, such as the equipment failure of the intelligent electric meter.

In the embodiment, the electricity purchasing can be completed by the recharging device of the electric meter through the network, the intelligent electric meter receives and executes the recharging instruction by adopting the online network issuing of the recharging instruction or the near field communication between the user terminal and the intelligent electric meter, the whole process is convenient and fast, the influence on normal recharging when the network signal of the intelligent electric meter is poor is avoided, and the user experience can be greatly improved.

Fig. 8 is a schematic structural diagram of a recharging device for an electric meter according to another embodiment of the present invention, which is applied to an intelligent electric meter, and referring to fig. 8, the recharging device 80 for an electric meter may include:

the instruction receiving module 701 is configured to receive a recharge instruction issued by the server through the network, or receive a recharge instruction sent by the user terminal through the near field communication technology.

The execution judging module 801 is configured to judge whether the received recharge instruction is an executed recharge instruction.

Specifically, if the recharging instruction carries a unique ID number, the execution determining module 801 may be specifically configured to: and judging whether the recharging instruction is an executed recharging instruction or not according to the unique ID number in the received recharging instruction. For example, after a certain recharging instruction is successfully executed, a recharging success mark is added to the unique ID number in the recharging instruction and is stored to the local, when a new recharging instruction is subsequently executed, the unique ID number in the new recharging instruction is firstly compared with the unique ID number with the recharging success mark, if the unique ID number in the new recharging instruction is the same as the unique ID number with the recharging success mark, it is determined that the new recharging instruction has been executed, and if all the unique ID numbers with the recharging success marks are different from the unique ID numbers in the new recharging instruction, it is determined that the new recharging instruction has not been executed.

The unique ID number may be a unique ID number of the recharge instruction, and the ID number of the recharge instruction may be generated according to a certain rule according to the information such as the electric meter ID and the generation time in the recharge information.

And if the intelligent electric meter executes the received recharging instruction, the recharging instruction is not executed any more, and repeated recharging is avoided. For example, the recharging instruction includes a unique ID number 20180101, and a recharging success ID list locally stored by the smart meter includes a unique ID number 20180101, which indicates that the smart meter has executed a recharging instruction with a unique ID number of 20180101 and has succeeded in recharging, in which case the received recharging instruction is not executed any more.

The instruction executing module 702 is configured to execute the received recharging instruction.

An information returning module 703, configured to send recharging success indication information or recharging failure indication information to the server according to the execution result of the recharging instruction.

When the execution judging module 801 judges that the received recharging instruction is not executed by the smart meter, the recharging instruction is directly executed.

In this embodiment, after receiving the recharging instruction, it is first determined whether the recharging instruction has been executed before, and if the recharging instruction has been executed, the recharging instruction is not repeatedly executed, so that the occurrence of repeated recharging is avoided.

The intelligent reply device in any of the above embodiments includes a processor and a memory, the instruction generation module, the online determination module, the first sending module, the second sending module, the electric quantity receiving module, the instruction execution module, and the like in the above embodiments are all stored in the memory as program modules, and the processor executes the program modules stored in the memory to implement corresponding functions.

The processor comprises a kernel, and the kernel calls the corresponding program module from the memory. The kernel can be provided with one or more, and the processing of the return visit data is realized by adjusting the kernel parameters.

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.

An embodiment of the present invention provides a storage medium, on which a program is stored, where the program, when executed by a processor, implements the recharging method for an electric meter described in the above embodiments.

The embodiment of the invention provides a processor, which is used for running a program, wherein the recharging method of an electric meter in the embodiment is executed when the program runs.

Further, the present embodiment provides an electronic device, which includes a processor and a memory. The memory is used for storing executable instructions of the processor, and the processor is configured to execute the recharging method of the electric meter in the embodiment by executing the executable instructions.

The embodiments in the present description are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other. The device disclosed by the embodiment corresponds to the method disclosed by the embodiment, so that the description is simple, and the relevant points can be referred to the method part for description.

It is further 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 steps of a method or algorithm described in connection with the embodiments disclosed herein may be embodied directly in hardware, in a software module executed by a processor, or in a combination of the two. A software module may reside in Random Access Memory (RAM), memory, Read Only Memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.

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.

18页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:一种共享雨伞装置

网友询问留言

已有0条留言

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

精彩留言,会给你点赞!