CN117765663A - Prepayment metering system, control method, device, electronic equipment and storage medium - Google Patents
Prepayment metering system, control method, device, electronic equipment and storage medium Download PDFInfo
- Publication number
- CN117765663A CN117765663A CN202410011428.XA CN202410011428A CN117765663A CN 117765663 A CN117765663 A CN 117765663A CN 202410011428 A CN202410011428 A CN 202410011428A CN 117765663 A CN117765663 A CN 117765663A
- Authority
- CN
- China
- Prior art keywords
- prepaid
- meter
- control
- communication component
- component
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Landscapes
- Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)
Abstract
本发明提供一种预付费计量系统、控制方法、装置、电子设备及存储介质,预付费计量系统包括预付费计量表、计量表管理平台以及计量表管理设备,预付费计量表包括控制组件、远程通信组件和本地通信组件;远程通信组件用于在控制组件的控制下,与计量表管理平台进行常规性通信;本地通信组件用于在控制组件的控制下,与计量表管理设备进行临时性通信,将计量表管理设备发送的合闸维持指令传输至控制组件,以使控制组件控制预付费计量表在预设时长内保持合闸状态。能够使用计量表管理设备并通过本地通信组件将合闸维持指令传输至控制组件,以使控制组件控制预付费计量表在预设时长内保持合闸状态,以电表为例,则能够缓解停电拉闸风险。
The invention provides a prepaid metering system, a control method, a device, an electronic device and a storage medium. The prepaid metering system includes a prepaid meter, a meter management platform and a meter management device. The prepaid meter includes a control component, a remote Communication component and local communication component; the remote communication component is used for regular communication with the meter management platform under the control of the control component; the local communication component is used for temporary communication with the meter management equipment under the control of the control component , transmit the closing maintenance command sent by the meter management device to the control component, so that the control component controls the prepaid meter to maintain the closing state within a preset time period. The meter management device can be used to transmit the closing maintenance command to the control component through the local communication component, so that the control component controls the prepaid meter to maintain the closing state within a preset time period. Taking the electric meter as an example, it can alleviate the power outage. gate risk.
Description
技术领域Technical field
本发明涉及计量表技术领域,具体涉及一种预付费计量系统、控制方法、装置、电子设备及存储介质。The invention relates to the technical field of meters, and in particular to a prepaid metering system, a control method, a device, an electronic device and a storage medium.
背景技术Background technique
随着我国经济和应用电子技术的发展,人民生活水平日趋提高,人工抄表方式不符合时代的发展。如今大型商场、公寓、写字楼等场所的电费、水费、气费等费用的收取多选择使用网络预付费系统。预付费模式,避免了上门催收的尴尬,实现先缴费后使用,欠费自动分闸,同时对能源的使用情况及表计状态实现实时监控,数据、费用账单的查询。With the development of our country's economy and applied electronic technology, people's living standards are improving day by day, and the manual meter reading method does not conform to the development of the times. Nowadays, large shopping malls, apartments, office buildings and other places often choose to use online prepayment systems to collect electricity, water, gas and other fees. The prepayment mode avoids the embarrassment of door-to-door collection, realizes payment first and then uses it, and automatically opens the gate for arrears. At the same time, it can realize real-time monitoring of energy usage and meter status, and query data and expense bills.
但网络预付费系统也有他的缺点,系统的正常运行受到更多的网络影响,主要影响系统使用的原因有以下几点。However, the network prepaid system also has its shortcomings. The normal operation of the system is affected by more networks. The main reasons that affect the use of the system are as follows.
一、移动运营商信号没覆盖或不稳定。1. The mobile operator signal does not have coverage or is unstable.
二、计量表中的移动流量卡欠费。2. The mobile data card in the meter is in arrears.
三、计量表中的远程通讯故障。3. Remote communication failure in the meter.
当故障发生时,无法再通过远程通信与计量表进行数据交互。恰遇预付费余额不足,此时若持续充值不上,会产生相关风险,以电表为例,则有停电拉闸的风险。When a fault occurs, data interaction with the meter via remote communication is no longer possible. If the prepaid balance is insufficient and the recharge continues, risks will arise. Taking the electricity meter as an example, there is a risk of power outage.
发明内容Contents of the invention
针对现有技术中所存在的不足,本发明提供一种预付费计量系统、控制方法、装置、电子设备及存储介质。In view of the shortcomings in the existing technology, the present invention provides a prepaid metering system, a control method, a device, an electronic device and a storage medium.
第一方面,在一个实施例中,本发明提供一种预付费计量系统,预付费计量系统包括预付费计量表、计量表管理平台以及计量表管理设备,预付费计量表包括控制组件、远程通信组件和本地通信组件;In a first aspect, in one embodiment, the present invention provides a prepaid metering system. The prepaid metering system includes a prepaid meter, a meter management platform and a meter management device. The prepaid meter includes a control component, a remote communication components and local communication components;
远程通信组件用于在控制组件的控制下,与计量表管理平台进行常规性通信;The remote communication component is used for regular communication with the meter management platform under the control of the control component;
本地通信组件用于在控制组件的控制下,与计量表管理设备进行临时性通信,将计量表管理设备发送的合闸维持指令传输至控制组件,以使控制组件控制预付费计量表在预设时长内保持合闸状态。The local communication component is used to conduct temporary communication with the meter management device under the control of the control component, and transmit the closing maintenance instruction sent by the meter management device to the control component, so that the control component controls the prepaid meter at the preset time. The switch remains closed for a certain period of time.
在一个实施例中,远程通信组件包括3G通信组件、4G通信组件和5G通信组件中的至少一种;本地通信组件包括蓝牙通信组件、WiFi通信组件、红外通信组件和USB通信组件中的至少一种。In one embodiment, the remote communication component includes at least one of a 3G communication component, a 4G communication component and a 5G communication component; the local communication component includes at least one of a Bluetooth communication component, a WiFi communication component, an infrared communication component and a USB communication component. kind.
第二方面,在一个实施例中,本发明提供一种预付费计量表的控制方法,预付费计量表的控制方法用于对上述任一种实施例中的预付费计量系统中的预付费计量表进行控制;预付费计量表的控制方法包括:In the second aspect, in one embodiment, the present invention provides a method for controlling a prepaid meter. The method for controlling a prepaid meter is used to control the prepaid meter in the prepaid metering system in any of the above embodiments. Meter control; control methods for prepaid meters include:
响应于用户的临时使用请求,获取预付费计量表对应的当前预付费余额;In response to the user's temporary usage request, obtain the current prepaid balance corresponding to the prepaid meter;
若当前预付费余额大于预设预付费余额,则通过预付费计量表中的本地通信组件向预付费计量表中的控制组件发送合闸维持指令,以使控制组件控制预付费计量表在预设时长内保持合闸状态。If the current prepaid balance is greater than the preset prepaid balance, a closing maintenance instruction is sent to the control component in the prepaid meter through the local communication component in the prepaid meter, so that the control component controls the prepaid meter to operate at the preset The switch remains closed for a certain period of time.
在一个实施例中,获取预付费计量表对应的当前预付费余额,包括:In one embodiment, obtaining the current prepaid balance corresponding to the prepaid meter includes:
通过本地通信组件向控制组件发送余额获取指令;Send balance acquisition instructions to the control component through the local communication component;
接收控制组件发送的当前预付费余额。Receives the current prepaid balance sent by the control component.
在一个实施例中,在响应于用户的临时使用请求的步骤之后,预付费计量表的控制方法还包括:In one embodiment, after the step of responding to the user's temporary usage request, the method for controlling the prepaid meter further includes:
若当前预付费余额等于或者小于预设预付费余额,则向管理员设备发送审批请求;If the current prepaid balance is equal to or less than the preset prepaid balance, an approval request is sent to the administrator device;
若接收到管理员设备发送的审批通过指令,则通过本地通信组件向控制组件发送合闸维持指令。If the approval pass instruction sent by the administrator device is received, a closing and maintenance instruction is sent to the control component through the local communication component.
在一个实施例中,若当前预付费余额大于预设预付费余额,则通过预付费计量表中的本地通信组件向预付费计量表中的控制组件发送合闸维持指令,包括:In one embodiment, if the current prepaid balance is greater than the preset prepaid balance, a closing maintenance instruction is sent to the control component in the prepaid meter through the local communication component in the prepaid meter, including:
若当前预付费余额大于预设预付费余额,且在当前月份中临时使用请求的累计申请次数等于或小于预设次数阈值,则通过本地通信组件向控制组件发送合闸维持指令。If the current prepaid balance is greater than the preset prepaid balance, and the cumulative number of applications for temporary use requests in the current month is equal to or less than the preset threshold, a closing maintenance instruction is sent to the control component through the local communication component.
在一个实施例中,若当前预付费余额大于预设预付费余额,则通过预付费计量表中的本地通信组件向预付费计量表中的控制组件发送合闸维持指令,包括:In one embodiment, if the current prepaid balance is greater than the preset prepaid balance, a closing maintenance instruction is sent to the control component in the prepaid meter through the local communication component in the prepaid meter, including:
若当前预付费余额大于预设预付费余额,且在当前月份中临时使用请求的累计申请次数大于预设次数阈值,则向管理员设备发送审批请求;If the current prepaid balance is greater than the preset prepaid balance, and the cumulative number of applications for temporary use requests in the current month is greater than the preset threshold, an approval request is sent to the administrator device;
若接收到管理员设备发送的审批通过指令,则通过本地通信组件向控制组件发送合闸维持指令。If the approval instruction sent by the administrator device is received, a closing and maintenance instruction is sent to the control component through the local communication component.
第三方面,在一个实施例中,本发明提供一种预付费计量表的控制装置,预付费计量表的控制装置用于对上述任一种实施例中的预付费计量系统中的预付费计量表进行控制;预付费计量表的控制装置包括:In a third aspect, in one embodiment, the present invention provides a control device for a prepaid meter. The control device for a prepaid meter is used to control the prepaid meter in the prepaid metering system in any of the above embodiments. The meter is controlled; the control device of the prepaid meter includes:
余额获取模块,用于响应于用户的临时使用请求,获取预付费计量表对应的当前预付费余额;The balance acquisition module is used to obtain the current prepaid balance corresponding to the prepaid meter in response to the user's temporary usage request;
合闸控制模块,若当前预付费余额大于预设预付费余额,则用于通过预付费计量表中的本地通信组件向预付费计量表中的控制组件发送合闸维持指令,以使控制组件控制预付费计量表在预设时长内保持合闸状态。The closing control module, if the current prepaid balance is greater than the preset prepaid balance, is used to send a closing maintenance instruction to the control component in the prepaid meter through the local communication component in the prepaid meter, so that the control component controls Prepaid meters remain closed for a preset period of time.
第四方面,在一个实施例中,本发明提供一种电子设备,包括存储器和处理器;存储器存储有计算机程序,处理器用于运行存储器内的计算机程序,以执行上述任一种实施例中的预付费计量表的控制方法中的步骤。In a fourth aspect, in one embodiment, the present invention provides an electronic device, including a memory and a processor; the memory stores a computer program, and the processor is used to run the computer program in the memory to execute any of the above embodiments. Steps in the control method for prepayment meters.
第五方面,在一个实施例中,本发明提供一种存储介质,存储介质存储有计算机程序,计算机程序被处理器进行加载,以执行上述任一种实施例中的预付费计量表的控制方法中的步骤。In a fifth aspect, in one embodiment, the present invention provides a storage medium that stores a computer program, and the computer program is loaded by a processor to execute the control method of a prepaid meter in any of the above embodiments. steps in.
通过上述预付费计量系统、控制方法、装置、电子设备及存储介质,在预付费计量表中已有的远程通信组件的基础上,增设本地通信组件。当出现相关异常或故障后,即使无法再通过远程通信组件与预付费计量表进行数据交互,也能够使用计量表管理设备并通过本地通信组件与预付费计量表进行数据交互。将计量表管理设备发送的合闸维持指令传输至控制组件,以使控制组件控制预付费计量表在预设时长内保持合闸状态,以电表为例,则能够缓解停电拉闸风险。Through the above-mentioned prepaid metering system, control method, device, electronic equipment and storage medium, a local communication component is added to the existing remote communication component in the prepaid meter. When a relevant exception or failure occurs, even if data interaction with the prepaid meter through the remote communication component is no longer possible, the meter management device can still be used to interact with the prepaid meter through the local communication component. The closing maintenance command sent by the meter management device is transmitted to the control component, so that the control component controls the prepaid meter to maintain the closing state within a preset time period. Taking the electric meter as an example, the risk of power outage can be mitigated.
附图说明Description of drawings
为了更清楚地说明本发明实施例中的技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the description of the embodiments will be briefly introduced below. Obviously, the drawings in the following description are only some embodiments of the present invention. For those skilled in the art, other drawings can also be obtained based on these drawings without exerting creative efforts.
图1为本发明一个实施例中预付费计量表及计量表管理设备的结构示意图;Figure 1 is a schematic structural diagram of a prepaid meter and meter management equipment in one embodiment of the present invention;
图2为本发明一个实施例中预付费计量表的控制方法的应用场景示意图;Figure 2 is a schematic diagram of an application scenario of a method for controlling a prepaid meter in one embodiment of the present invention;
图3为本发明一个实施例中预付费计量表的控制方法的流程示意图;Figure 3 is a schematic flowchart of a method for controlling a prepaid meter in one embodiment of the present invention;
图4为本发明另一个实施例中预付费计量表的控制方法的流程示意图;Figure 4 is a schematic flowchart of a control method for a prepaid meter in another embodiment of the present invention;
图5为本发明一个实施例中预付费计量表的控制装置的结构示意图;Figure 5 is a schematic structural diagram of a control device for a prepaid meter in one embodiment of the present invention;
图6为本发明一个实施例中计算机设备的结构示意图。Figure 6 is a schematic structural diagram of a computer device in an embodiment of the present invention.
具体实施方式Detailed ways
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some of the embodiments of the present invention, rather than all the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without making creative efforts fall within the scope of protection of the present invention.
在本发明的描述中,需要理解的是,术语“第一”、“第二”仅用于描述目的,而不能理解为指示或暗示相对重要性或者隐含指明所指示的技术特征的数量。由此,限定有“第一”、“第二”的特征可以明示或者隐含地包括一个或者更多个所述特征。在本申请的描述中,“多个”的含义是两个或两个以上,除非另有明确具体的限定。在本申请中,“示例性”一词用来表示“用作例子、例证或说明”。本申请中被描述为“示例性”的任何实施例不一定被解释为比其它实施例更优选或更具优势。为了使本领域任何技术人员能够实现和使用本发明,给出了以下描述。在以下描述中,为了解释的目的而列出了细节。应当明白的是,本领域普通技术人员可以认识到,在不使用这些特定细节的情况下也可以实现本发明。在其它实例中,不会对公知的结构和过程进行详细阐述,以避免不必要的细节使本发明的描述变得晦涩。因此,本发明并非旨在限于所示的实施例,而是与符合本申请所公开的原理和特征的最广范围相一致。In the description of the present invention, it should be understood that the terms "first" and "second" are only used for descriptive purposes and cannot be understood as indicating or implying relative importance or implicitly indicating the number of indicated technical features. Thus, features defined as “first” and “second” may explicitly or implicitly include one or more of the described features. In the description of this application, "plurality" means two or more than two, unless otherwise explicitly and specifically limited. In this application, the word "exemplary" is used to mean "serving as an example, illustration, or illustration." Any embodiment described herein as "exemplary" is not necessarily to be construed as preferred or advantageous over other embodiments. The following description is presented to enable any person skilled in the art to make and use the invention. In the following description, details are set forth for the purpose of explanation. It will be understood by one of ordinary skill in the art that the present invention may be practiced without these specific details. In other instances, well-known structures and processes have not been described in detail to avoid obscuring the description of the invention with unnecessary detail. Thus, the present invention is not intended to be limited to the embodiments shown but is to be accorded the widest scope consistent with the principles and features disclosed herein.
第一方面,如图1所示,在一个实施例中,本发明提供一种预付费计量系统,预付费计量系统包括预付费计量表、计量表管理平台以及计量表管理设备,预付费计量表包括控制组件、远程通信组件和本地通信组件。In the first aspect, as shown in Figure 1, in one embodiment, the present invention provides a prepaid metering system. The prepaid metering system includes a prepaid meter, a meter management platform and a meter management device. The prepaid meter Including control components, remote communication components and local communication components.
其中,控制组件主要用于完成相关程序控制,比如计费、合闸控制等,控制组件可以是MCU等。Among them, the control component is mainly used to complete related program control, such as billing, closing control, etc. The control component can be an MCU, etc.
远程通信组件用于在控制组件的控制下,与计量表管理平台进行常规性通信。The remote communication component is used for regular communication with the meter management platform under the control of the control component.
其中,远程通信组件则是实现预付费的核心通信组件,当用户需要充值预付费余额时,通过访问计量表管理平台,进行充值操作,然后计量表管理平台将充值的金额通过远程通信组件写入到预付费计量表中,进而实现预付费的目的。Among them, the remote communication component is the core communication component for realizing prepayment. When the user needs to recharge the prepaid balance, he/she accesses the meter management platform to perform the recharge operation. Then the meter management platform writes the recharged amount into the prepaid meter through the remote communication component, thereby realizing the purpose of prepayment.
本地通信组件用于在控制组件的控制下,与计量表管理设备进行临时性通信,将计量表管理设备发送的合闸维持指令传输至控制组件,以使控制组件控制预付费计量表在预设时长内保持合闸状态。The local communication component is used to conduct temporary communication with the meter management device under the control of the control component, and transmit the closing maintenance instruction sent by the meter management device to the control component, so that the control component controls the prepaid meter at the preset time. The switch remains closed for a certain period of time.
其中,本地通信组件相对于远程通信组件存在两大区别。首先是通信距离不同,一个是远程通信,主要用于实现供给侧对于预付费计量表的管理,另一个是本地通信,主要用于实现使用侧对于预付费计量表的管理。其次是使用频率不同,一个是常规性使用,主要用于实现供给侧对于预付费计量表的持续性管理,另一个则是临时性使用,主要用于实现使用侧对于预付费计量表的暂时性管理。Among them, there are two major differences between local communication components and remote communication components. First, the communication distances are different. One is remote communication, which is mainly used to realize the management of prepaid meters on the supply side, and the other is local communication, which is mainly used to realize the management of prepaid meters on the user side. Secondly, the frequency of use is different. One is regular use, mainly used to realize the continuous management of prepaid meters on the supply side, and the other is temporary use, mainly used to realize the temporary management of prepaid meters on the user side. manage.
需要注意的是,预付费计量表除了在硬件上增设本地通信组件外,还需要在软件上烧录对应的控制程序,即能够通过本地通信组件将计量表管理设备发送的合闸维持指令传输至控制组件,以使控制组件控制预付费计量表在预设时长内保持合闸状态。It should be noted that in addition to adding a local communication component to the hardware, the prepaid meter also needs to burn the corresponding control program in the software, that is, the closing and maintenance instructions sent by the meter management device can be transmitted to the local communication component through the local communication component. The control component is such that the control component controls the prepayment meter to remain closed for a preset period of time.
其中,计量表管理设备可以是用户终端,比如用户手机、用户平板等。Among them, the meter management device can be a user terminal, such as a user mobile phone, a user tablet, etc.
通过上述预付费计量表,在预付费计量表中已有的远程通信组件的基础上,增设本地通信组件。当出现相关异常或故障后,即使无法再通过远程通信组件与预付费计量表进行数据交互,也能够使用计量表管理设备并通过本地通信组件与预付费计量表进行数据交互。将计量表管理设备发送的合闸维持指令传输至控制组件,以使控制组件控制预付费计量表在预设时长内保持合闸状态,以电表为例,则能够缓解停电拉闸风险。Through the above-mentioned prepaid meter, a local communication component is added on the basis of the existing remote communication component in the prepaid meter. When a relevant exception or failure occurs, even if data interaction with the prepaid meter through the remote communication component is no longer possible, the meter management device can still be used to interact with the prepaid meter through the local communication component. The closing maintenance command sent by the meter management device is transmitted to the control component, so that the control component controls the prepaid meter to maintain the closing state within a preset time period. Taking the electric meter as an example, the risk of power outage can be mitigated.
在一个实施例中,远程通信组件包括3G通信组件、4G通信组件和5G通信组件中的至少一种;本地通信组件包括蓝牙通信组件、WiFi通信组件、红外通信组件和USB通信组件中的至少一种。In one embodiment, the remote communication component includes at least one of a 3G communication component, a 4G communication component and a 5G communication component; the local communication component includes at least one of a Bluetooth communication component, a WiFi communication component, an infrared communication component and a USB communication component. kind.
其中,本地通信组件与计量表管理设备中的通信组件需要一致,比如当本地通信组件为蓝牙通信组件时,计量表管理设备中的通信组件也包含蓝牙通信组件。Among them, the local communication component and the communication component in the meter management device need to be consistent. For example, when the local communication component is a Bluetooth communication component, the communication component in the meter management device also includes a Bluetooth communication component.
本发明实施例中的预付费计量表的控制方法应用于预付费计量表的控制装置,预付费计量表的控制装置设置于电子设备;电子设备可以是终端,例如,手机或平板电脑,电子设备还可以是一台服务器,或者多台服务器组成的服务集群。The control method of the prepaid meter in the embodiment of the present invention is applied to the control device of the prepaid meter. The control device of the prepaid meter is provided on an electronic device; the electronic device can be a terminal, such as a mobile phone or a tablet computer, an electronic device It can also be a server or a service cluster composed of multiple servers.
如图2所示,图2为本发明实施例中预付费计量表的控制方法的应用场景示意图,本发明实施例中预付费计量表的控制方法的应用场景中包括电子设备100(电子设备100中集成有预付费计量表的控制装置),电子设备100中运行预付费计量表的控制方法对应的计算机可读存储介质,以执行预付费计量表的控制方法的步骤。As shown in Figure 2, Figure 2 is a schematic diagram of an application scenario of the method for controlling a prepaid meter in an embodiment of the present invention. The application scenario of the method of controlling a prepaid meter in the embodiment of the present invention includes an electronic device 100 (electronic device 100 A computer-readable storage medium corresponding to the control method of the prepaid meter is run in the electronic device 100 to execute the steps of the control method of the prepaid meter.
可以理解的是,图2所示预付费计量表的控制方法的应用场景中的电子设备,或者电子设备中包含的装置并不构成对本发明实施例的限制,即,预付费计量表的控制方法的应用场景中包含的设备数量、设备种类,或者各个设备中包含的装置数量、装置种类不影响本发明实施例中技术方案整体实现,均可以算作本发明实施例要求保护技术方案的等效替换或衍生。It can be understood that the electronic equipment in the application scenario of the control method of the prepaid meter shown in Figure 2, or the devices included in the electronic equipment do not constitute a limitation to the embodiment of the present invention, that is, the method of controlling the prepaid meter The number and type of devices included in the application scenario, or the number and type of devices included in each device do not affect the overall implementation of the technical solutions in the embodiments of the present invention, and can be counted as equivalent to the technical solutions claimed in the embodiments of the present invention. Replacement or derivative.
本发明实施例中电子设备100可以是独立的设备,也可以是设备组成的设备网络或设备集群,例如,本发明实施例中所描述的电子设备100,其包括但不限于电脑、网络主机、单个网络设备、多个网络设备集或多个设备构成的云设备。其中,云设备由基于云计算(Cloud Computing)的大量电脑或网络设备构成。The electronic device 100 in the embodiment of the present invention may be an independent device, or may be a device network or device cluster composed of devices. For example, the electronic device 100 described in the embodiment of the present invention includes but is not limited to computers, network hosts, A single network device, a set of multiple network devices, or a cloud device composed of multiple devices. Among them, cloud equipment consists of a large number of computers or network equipment based on cloud computing (Cloud Computing).
本领域技术人员可以理解,图2中示出的应用场景,仅仅是与本发明的技术方案对应的一种应用场景,并不构成对本发明的技术方案的应用场景的限定,其他的应用场景还可以包括比图2中所示更多或更少的电子设备,或者电子设备网络连接关系,例如图2中仅示出1个电子设备,可以理解的,该预付费计量表的控制方法的场景还可以包括一个或多个其他电子设备,具体此处不作限定;该电子设备100中还可以包括存储器,用于存储预付费计量表的控制方法相关的信息。Those skilled in the art can understand that the application scenario shown in Figure 2 is only one application scenario corresponding to the technical solution of the present invention, and does not constitute a limitation on the application scenarios of the technical solution of the present invention. There are other application scenarios. It may include more or less electronic devices than those shown in Figure 2, or the network connection relationship of the electronic devices. For example, only one electronic device is shown in Figure 2. It can be understood that the control method of the prepaid meter is a scenario. It may also include one or more other electronic devices, which are not specifically limited here; the electronic device 100 may also include a memory for storing information related to the control method of the prepaid meter.
此外,本发明实施例中的预付费计量表的控制方法的应用场景中电子设备100可以设置显示装置,或者电子设备100中不设置显示装置并与外接的显示装置200通讯连接,显示装置200用于输出电子设备中预付费计量表的控制方法执行的结果。电子设备100可以访问后台数据库300(后台数据库300可以是电子设备100的本地存储器,后台数据库300还可以设置在云端),后台数据库300中保存有预付费计量表的控制方法相关的信息。In addition, in the application scenario of the method for controlling a prepaid meter in the embodiment of the present invention, the electronic device 100 can be provided with a display device, or the electronic device 100 is not provided with a display device and is connected to an external display device 200 for communication, and the display device 200 is The result of execution of the control method of the prepayment meter in the output electronic device. The electronic device 100 can access the backend database 300 (the backend database 300 can be the local storage of the electronic device 100, and the backend database 300 can also be set in the cloud). The backend database 300 stores information related to the control method of the prepaid meter.
需要说明的是,图2所示的预付费计量表的控制方法的应用场景仅仅是一个示例,本发明实施例描述的预付费计量表的控制方法的应用场景是为了更加清楚的说明本发明实施例的技术方案,并不构成对于本发明实施例提供的技术方案的限定。It should be noted that the application scenario of the control method of the prepaid meter shown in Figure 2 is only an example. The application scenario of the control method of the prepaid meter described in the embodiment of the present invention is to explain the implementation of the present invention more clearly. The technical solutions provided by the embodiments of the present invention do not constitute a limitation on the technical solutions provided by the embodiments of the present invention.
基于上述预付费计量表的控制方法的应用场景,提出了预付费计量表的控制方法的实施例。Based on the application scenarios of the above control method for prepayment meters, embodiments of the control method for prepayment meters are proposed.
第二方面,如图3所示,在一个实施例中,本发明提供一种预付费计量表的控制方法,预付费计量表的控制方法用于对上述任一种实施例中的预付费计量系统中的预付费计量表进行控制。In the second aspect, as shown in Figure 3, in one embodiment, the present invention provides a method for controlling a prepaid meter. The method of controlling a prepaid meter is used to control the prepaid meter in any of the above embodiments. Prepaid meters in the system are controlled.
其中,本实施例中的预付费计量表的控制方法的执行主体为电子设备,该电子设备可以为本地设备,也可以为云端设备。Among them, the execution subject of the control method of the prepaid meter in this embodiment is an electronic device, and the electronic device can be a local device or a cloud device.
当电子设备为本地设备时,其可以为上述实施例中提到的计量表管理设备,即可以是用户手机或者用户平板等。When the electronic device is a local device, it may be the meter management device mentioned in the above embodiment, that is, it may be a user's mobile phone or a user's tablet.
当电子设备为云端设备时,由于云端设备无法直接通过本地通信组件与预付费计量表进行数据交互,因此云端设备可通过计量表管理设备与预付费计量表进行数据交互。在该过程中,计量表管理设备作为通信桥梁,计量表管理设备通过远程通信与云端设备进行数据交互,计量表管理设备通过本地通信与预付费计量表进行数据交互。When the electronic device is a cloud device, since the cloud device cannot interact with the prepaid meter directly through the local communication component, the cloud device can interact with the prepaid meter through the meter management device. In this process, the meter management device serves as a communication bridge. The meter management device interacts with the cloud device through remote communication, and the meter management device interacts with the prepaid meter through local communication.
综上所述,无论电子设备为本地设备还是云端设备,最终都需要通过本地的计量表管理设备来完成与预付费计量表的通信,区别在于程序执行在本地还是云端。In summary, regardless of whether the electronic device is a local device or a cloud device, communication with the prepaid meter ultimately needs to be completed through a local meter management device. The difference lies in whether the program is executed locally or in the cloud.
预付费计量表的控制方法包括:Prepayment meter control methods include:
步骤201,响应于用户的临时使用请求,获取预付费计量表对应的当前预付费余额。Step 201: In response to the user's temporary usage request, obtain the current prepaid balance corresponding to the prepaid meter.
其中,当电子设备为本地设备时,则用户可直接向电子设备发送临时使用请求;当电子设备为云端设备时,则用户需要通过手机等向电子设备发送临时使用请求。Among them, when the electronic device is a local device, the user can directly send a temporary use request to the electronic device; when the electronic device is a cloud device, the user needs to send a temporary use request to the electronic device through a mobile phone, etc.
其中,当前预付费余额可通过访问计量表管理平台得到。Among them, the current prepaid balance can be obtained by accessing the meter management platform.
步骤202,若当前预付费余额大于预设预付费余额,则通过预付费计量表中的本地通信组件向预付费计量表中的控制组件发送合闸维持指令,以使控制组件控制预付费计量表在预设时长内保持合闸状态。Step 202, if the current prepaid balance is greater than the preset prepaid balance, send a closing maintenance instruction to the control component in the prepaid meter through the local communication component in the prepaid meter, so that the control component controls the prepaid meter. Remain closed for a preset period of time.
其中,以电费为例,预设预付费余额可设置为10元,预设时长可设置为72小时。若当前预付费余额大于10元,则通过预付费计量表中的本地通信组件向预付费计量表中的控制组件发送合闸维持指令,以使控制组件控制预付费计量表在72小时内保持合闸状态。Among them, taking electricity bill as an example, the preset prepaid balance can be set to 10 yuan, and the preset time can be set to 72 hours. If the current prepaid balance is greater than 10 yuan, a closing maintenance instruction is sent to the control component in the prepaid meter through the local communication component in the prepaid meter, so that the control component controls the prepaid meter to remain closed within 72 hours. gate status.
其中,由于在发送合闸维持指令后,预付费计量表会在预设时长内都保持合闸状态,在该时段内,用户可随意消耗。若允许用户在当前预付费余额已经为零或者欠费时向预付费计量表发送合闸维持指令,这会导致预付费计量表欠费过多。因此针对该情况,设置对应的预设预付费余额,只有在当前预付费余额大于预设预付费余额时才发送合闸维持指令,这能够避免欠费过多。Among them, after sending the closing maintenance command, the prepaid meter will remain closed for a preset period of time. During this period, the user can consume at will. If the user is allowed to send a closing maintenance command to the prepaid meter when the current prepaid balance is zero or in arrears, this will cause the prepaid meter to have excessive arrears. Therefore, for this situation, the corresponding prepaid balance is set, and the closing maintenance command is sent only when the current prepaid balance is greater than the preset prepaid balance, which can avoid excessive arrears.
通过上述预付费计量表的控制方法,在预付费计量表中已有的远程通信组件的基础上,增设本地通信组件。当出现相关异常或故障后,即使无法再通过远程通信组件与预付费计量表进行数据交互,也能够使用计量表管理设备并通过本地通信组件与预付费计量表进行数据交互。将计量表管理设备发送的合闸维持指令传输至控制组件,以使控制组件控制预付费计量表在预设时长内保持合闸状态,以电表为例,则能够缓解停电拉闸风险。Through the above control method of the prepaid meter, a local communication component is added on the basis of the existing remote communication component in the prepaid meter. When a relevant exception or failure occurs, even if data interaction with the prepaid meter through the remote communication component is no longer possible, the meter management device can still be used to interact with the prepaid meter through the local communication component. The closing maintenance command sent by the meter management device is transmitted to the control component, so that the control component controls the prepaid meter to maintain the closing state within a preset time period. Taking the electric meter as an example, the risk of power outage can be mitigated.
在一个实施例中,获取预付费计量表对应的当前预付费余额,包括:In one embodiment, obtaining the current prepaid balance corresponding to the prepaid meter includes:
通过本地通信组件向控制组件发送余额获取指令。Send balance acquisition instructions to the control component through the local communication component.
接收控制组件发送的当前预付费余额。Receives the current prepaid balance sent by the control component.
其中,上述实施例已经提到,可通过访问计量表管理平台来获取当前预付费余额,但由于计量表管理平台的数据来源是预付费计量表自身,而本实施例通常用于计量表管理平台和预付费计量表之间无法再通过远程通信组件进行数据交互的前提下,导致计量表管理平台中的数据存在滞后性。比如计量表管理平台和预付费计量表之间还能够通过远程通信组件进行数据交互时,获取到的预付费余额为20元。当计量表管理平台和预付费计量表之间无法再通过远程通信组件进行数据交互后,用户仍然在消耗预付费余额,当用户察觉余额较低时,其真实预付费余额可能只有10元,从而导致获取的数据和实际的数据存在偏差,进而影响处理效果。Among them, the above embodiment has mentioned that the current prepaid balance can be obtained by accessing the meter management platform. However, since the data source of the meter management platform is the prepaid meter itself, this embodiment is usually used in the meter management platform. On the premise that data interaction with prepaid meters can no longer be carried out through remote communication components, there is a lag in the data in the meter management platform. For example, when the meter management platform and the prepaid meter can interact with each other through remote communication components, the obtained prepaid balance is 20 yuan. When the meter management platform and the prepaid meter can no longer interact with data through the remote communication component, the user is still consuming the prepaid balance. When the user realizes that the balance is low, the real prepaid balance may be only 10 yuan, thus This leads to deviations between the obtained data and the actual data, which in turn affects the processing effect.
针对上述问题,本实施例基于建立本地通信的基础上,直接通过本地通信访问预付费计量表,从而获取真实的当前预付费余额。使得获取的数据和实际的数据不存在偏差,保障了处理效果。In response to the above problem, this embodiment is based on establishing local communication and directly accesses the prepaid meter through local communication, thereby obtaining the true current prepaid balance. This ensures that there is no deviation between the obtained data and the actual data, ensuring the processing effect.
在一个实施例中,在响应于用户的临时使用请求的步骤之后,预付费计量表的控制方法还包括:In one embodiment, after the step of responding to the user's temporary usage request, the method for controlling the prepaid meter further includes:
若当前预付费余额等于或者小于预设预付费余额,则向管理员设备发送审批请求。If the current prepaid balance is equal to or less than the preset prepaid balance, an approval request is sent to the administrator device.
若接收到管理员设备发送的审批通过指令,则通过本地通信组件向控制组件发送合闸维持指令。If the approval pass instruction sent by the administrator device is received, a closing and maintenance instruction is sent to the control component through the local communication component.
其中,上述实施例已经提到,只有在当前预付费余额大于预设预付费余额时才发送合闸维持指令。然而在实际情况中,用户可能未及时关注余额情况,当用户遇到特别紧急的使用需求,但当前预付费余额又等于或小于预设预付费余额时,则无法使用。针对该情况,本实施例通过审批流程,向管理员设备发送审批请求,若管理员经过审核确认用户存在紧急的使用需求,则可以返回对应的审批通过指令,从而基于审批通过指令发送合闸维持指令。Among them, as mentioned in the above embodiment, the closing and maintenance instruction is sent only when the current prepaid balance is greater than the preset prepaid balance. However, in actual situations, users may not pay attention to the balance situation in time. When the user encounters a particularly urgent need for use, but the current prepaid balance is equal to or less than the preset prepaid balance, the user cannot use it. In response to this situation, this embodiment sends an approval request to the administrator device through the approval process. If the administrator confirms after review that the user has urgent usage needs, the corresponding approval pass instruction can be returned, thereby sending the closing and maintenance instructions based on the approval pass instruction. instruction.
在一个实施例中,若当前预付费余额大于预设预付费余额,则通过预付费计量表中的本地通信组件向预付费计量表中的控制组件发送合闸维持指令,包括:In one embodiment, if the current prepaid balance is greater than the preset prepaid balance, a closing maintenance instruction is sent to the control component in the prepaid meter through the local communication component in the prepaid meter, including:
若当前预付费余额大于预设预付费余额,且在当前月份中临时使用请求的累计申请次数等于或小于预设次数阈值,则通过本地通信组件向控制组件发送合闸维持指令。If the current prepaid balance is greater than the preset prepaid balance, and the cumulative number of applications for temporary use requests in the current month is equal to or less than the preset threshold, a closing maintenance instruction is sent to the control component through the local communication component.
其中,上述实施例已经提到,在当前预付费余额大于预设预付费余额时,则能够发送合闸维持指令。但频繁的执行该操作,会浪费不必要的计算资源。针对该情况,本实施例统计一个月中临时使用请求的累积申请次数,只有在累积申请次数等于或者小于预设次数阈值时,才发送合闸维持指令,从而避免无限制的进行合闸维持操作。Among them, the above embodiment has mentioned that when the current prepaid balance is greater than the preset prepaid balance, the closing maintenance instruction can be sent. However, performing this operation frequently will waste unnecessary computing resources. In response to this situation, this embodiment counts the cumulative number of applications for temporary use requests in a month. Only when the cumulative number of applications is equal to or less than the preset threshold, the closing and maintenance instructions are sent, thereby avoiding unlimited closing and maintenance operations. .
其中,以电表为例,预设次数阈值可以设置为2次。在当前预付费余额大于预设预付费余额的前提下,在一个月中也仅允许执行2次合闸维持操作。Among them, taking an electric meter as an example, the preset times threshold can be set to 2 times. On the premise that the current prepaid balance is greater than the preset prepaid balance, only two closing and maintenance operations are allowed in a month.
在一个实施例中,若当前预付费余额大于预设预付费余额,则通过预付费计量表中的本地通信组件向预付费计量表中的控制组件发送合闸维持指令,包括:In one embodiment, if the current prepaid balance is greater than the preset prepaid balance, a closing maintenance instruction is sent to the control component in the prepaid meter through the local communication component in the prepaid meter, including:
若当前预付费余额大于预设预付费余额,且在当前月份中临时使用请求的累计申请次数大于预设次数阈值,则向管理员设备发送审批请求。If the current prepaid balance is greater than the preset prepaid balance, and the cumulative number of applications for temporary use requests in the current month is greater than the preset threshold, an approval request is sent to the administrator device.
若接收到管理员设备发送的审批通过指令,则通过本地通信组件向控制组件发送合闸维持指令。If the approval pass instruction sent by the administrator device is received, a closing and maintenance instruction is sent to the control component through the local communication component.
其中,上述实施例已经提到,在当前预付费余额大于预设预付费余额的基础上,只有在累积申请次数等于或者小于预设次数阈值时,才发送合闸维持指令。然而在实际情况中,当用户遇到特别紧急的使用需求,但在当前月份中临时使用请求的累计申请次数大于预设次数阈值时,则无法使用。针对该情况,本实施例通过审批流程,向管理员设备发送审批请求,若管理员经过审核确认用户存在紧急的使用需求,则可以返回对应的审批通过指令,从而基于审批通过指令发送合闸维持指令。Among them, the above embodiment has mentioned that on the basis that the current prepaid balance is greater than the preset prepaid balance, the closing maintenance instruction is only sent when the cumulative number of applications is equal to or less than the preset number threshold. However, in actual situations, when a user encounters a particularly urgent use need, but the cumulative number of temporary use requests in the current month is greater than the preset number threshold, it cannot be used. In response to this situation, this embodiment sends an approval request to the administrator device through the approval process. If the administrator confirms after review that the user has urgent usage needs, the corresponding approval pass instruction can be returned, thereby sending the closing and maintenance instructions based on the approval pass instruction. instruction.
如图4所示,在一个实施例中,本发明提供一种预付费计量表的控制方法,以电表为例,该方法包括:As shown in Figure 4, in one embodiment, the present invention provides a method for controlling a prepaid meter. Taking an electric meter as an example, the method includes:
当出现网络故障或者充值故障时,用户发起临时使用请求。若余额大于10元或者申请次数小于3次,则直接操作电表合闸(该过程可通过操作手机小程序中临时用电模块来实现,手机与电表蓝牙连接),在72小时后,重复前述步骤。若余额未大于10元,或者余额大于10元但申请次数未小于3次,则需要提交临时用电申请并写明原因,以使管理员进行审批。若审批通过则操作电表合闸,在72小时后,重复前述步骤。若审批未通过则继续使用余额并在余额用尽后分闸断电。When a network failure or recharge failure occurs, the user initiates a temporary usage request. If the balance is greater than 10 yuan or the number of applications is less than 3 times, directly operate the meter to close (this process can be achieved by operating the temporary electricity module in the mobile phone applet, and the mobile phone is connected to the meter via Bluetooth). After 72 hours, repeat the previous steps. . If the balance is not greater than 10 yuan, or the balance is greater than 10 yuan but the number of applications is not less than 3, you need to submit a temporary power application and state the reasons for approval by the administrator. If approved, close the meter and repeat the above steps after 72 hours. If the approval is not passed, the balance will continue to be used and the power will be cut off after the balance is exhausted.
第三方面,如图5所示,在一个实施例中,本发明提供一种预付费计量表的控制装置,预付费计量表的控制装置用于对上述任一种实施例中的预付费计量系统中的预付费计量表进行控制;预付费计量表的控制装置包括:In a third aspect, as shown in FIG5 , in one embodiment, the present invention provides a control device for a prepayment meter, the control device for the prepayment meter is used to control the prepayment meter in the prepayment metering system in any of the above embodiments; the control device for the prepayment meter includes:
余额获取模块301,用于响应于用户的临时使用请求,获取预付费计量表对应的当前预付费余额;The balance acquisition module 301 is used to obtain the current prepaid balance corresponding to the prepaid meter in response to the user's temporary usage request;
合闸控制模块302,若当前预付费余额大于预设预付费余额,则用于通过预付费计量表中的本地通信组件向预付费计量表中的控制组件发送合闸维持指令,以使控制组件控制预付费计量表在预设时长内保持合闸状态。The closing control module 302, if the current prepaid balance is greater than the preset prepaid balance, is used to send a closing maintenance instruction to the control component in the prepaid meter through the local communication component in the prepaid meter, so that the control component Control the prepaid meter to remain closed for a preset period of time.
通过上述预付费计量表的控制装置,在预付费计量表中已有的远程通信组件的基础上,增设本地通信组件。当出现相关异常或故障后,即使无法再通过远程通信组件与预付费计量表进行数据交互,也能够使用计量表管理设备并通过本地通信组件与预付费计量表进行数据交互。将计量表管理设备发送的合闸维持指令传输至控制组件,以使控制组件控制预付费计量表在预设时长内保持合闸状态,以电表为例,则能够缓解停电拉闸风险。Through the above control device of the prepaid meter, a local communication component is added to the existing remote communication component in the prepaid meter. When a relevant exception or failure occurs, even if data interaction with the prepaid meter through the remote communication component is no longer possible, the meter management device can still be used to interact with the prepaid meter through the local communication component. The closing maintenance command sent by the meter management device is transmitted to the control component, so that the control component controls the prepaid meter to maintain the closing state within a preset time period. Taking the electric meter as an example, the risk of power outage can be mitigated.
在一个实施例中,余额获取模块具体用于通过本地通信组件向控制组件发送余额获取指令;接收控制组件发送的当前预付费余额。In one embodiment, the balance acquisition module is specifically configured to send a balance acquisition instruction to the control component through the local communication component; and receive the current prepaid balance sent by the control component.
在一个实施例中,合闸控制模块具体用于在响应于用户的临时使用请求的步骤之后,若当前预付费余额等于或者小于预设预付费余额,则向管理员设备发送审批请求;若接收到管理员设备发送的审批通过指令,则通过本地通信组件向控制组件发送合闸维持指令。In one embodiment, the closing control module is specifically configured to send an approval request to the administrator device if the current prepaid balance is equal to or less than the preset prepaid balance after the step of responding to the user's temporary usage request; if receiving After the approval instruction is sent to the administrator device, the closing and maintenance instruction is sent to the control component through the local communication component.
在一个实施例中,合闸控制模块具体用于若当前预付费余额大于预设预付费余额,且在当前月份中临时使用请求的累计申请次数等于或小于预设次数阈值,则通过本地通信组件向控制组件发送合闸维持指令。In one embodiment, the closing control module is specifically configured to use the local communication component if the current prepaid balance is greater than the preset prepaid balance and the cumulative number of applications for temporary use requests in the current month is equal to or less than the preset number threshold. Send closing maintenance command to the control component.
在一个实施例中,合闸控制模块具体用于若当前预付费余额大于预设预付费余额,且在当前月份中临时使用请求的累计申请次数大于预设次数阈值,则向管理员设备发送审批请求;若接收到管理员设备发送的审批通过指令,则通过本地通信组件向控制组件发送合闸维持指令。In one embodiment, the closing control module is specifically configured to send an approval to the administrator device if the current prepaid balance is greater than the preset prepaid balance and the cumulative number of applications for temporary use requests in the current month is greater than the preset number threshold. request; if the approval instruction sent by the administrator device is received, the closing maintenance instruction is sent to the control component through the local communication component.
第四方面,在一个实施例中,本发明提供一种电子设备,如图6所示,其示出了本发明所涉及的电子设备的结构,具体来讲:In the fourth aspect, in one embodiment, the present invention provides an electronic device, as shown in Figure 6, which shows the structure of the electronic device involved in the present invention, specifically:
该电子设备可以包括一个或者一个以上处理核心的处理器401、一个或一个以上计算机可读存储介质的存储器402、电源403和输入单元404等部件。本领域技术人员可以理解,图6中示出的电子设备的结构并不构成对电子设备的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。其中:The electronic device may include components such as a processor 401 of one or more processing cores, a memory 402 of one or more computer-readable storage media, a power supply 403, and an input unit 404. Those skilled in the art can understand that the structure of the electronic device shown in Figure 6 does not constitute a limitation of the electronic device, and may include more or fewer components than shown in the figure, or combine certain components, or arrange different components. . in:
处理器401是该电子设备的控制中心,利用各种接口和线路连接整个电子设备的各个部分,通过运行或执行存储在存储器402内的软件程序和/或模块,以及调用存储在存储器402内的数据,执行电子设备的各种功能和处理数据,从而对电子设备进行整体监控。可选的,处理器401可包括一个或多个处理核心;优选的,处理器401可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和计算机程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器401中。The processor 401 is the control center of the electronic device, using various interfaces and lines to connect various parts of the entire electronic device, by running or executing software programs and/or modules stored in the memory 402, and calling software programs stored in the memory 402. Data, perform various functions of the electronic device and process the data to conduct overall monitoring of the electronic device. Optionally, the processor 401 may include one or more processing cores; preferably, the processor 401 may integrate an application processor and a modem processor, where the application processor mainly processes operating systems, user interfaces, computer programs, etc. , the modem processor mainly handles wireless communications. It can be understood that the above modem processor may not be integrated into the processor 401.
存储器402可用于存储软件程序以及模块,处理器401通过运行存储在存储器402的软件程序以及模块,从而执行各种功能应用以及数据处理。存储器402可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的计算机程序(比如声音播放功能、图像播放功能等)等;存储数据区可存储根据服务器的使用所创建的数据等。此外,存储器402可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。相应地,存储器402还可以包括存储器控制器,以提供处理器401对存储器402的访问。The memory 402 can be used to store software programs and modules. The processor 401 executes various functional applications and data processing by running the software programs and modules stored in the memory 402 . The memory 402 may mainly include a program storage area and a data storage area, where the program storage area may store an operating system, a computer program required for at least one function (such as a sound playback function, an image playback function, etc.), etc.; the storage data area may store a program based on Data created by the use of the server, etc. In addition, memory 402 may include high-speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid-state storage device. Accordingly, the memory 402 may also include a memory controller to provide the processor 401 with access to the memory 402 .
电子设备还包括给各个部件供电的电源403,优选的,电源403可以通过电源管理系统与处理器401逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。电源403还可以包括一个或一个以上的直流或交流电源、再充电系统、电源故障检测电路、电源转换器或者逆变器、电源状态指示器等任意组件。The electronic device also includes a power supply 403 that supplies power to various components. Preferably, the power supply 403 can be logically connected to the processor 401 through a power management system, so that functions such as charging, discharging, and power consumption management can be implemented through the power management system. The power supply 403 may also include one or more DC or AC power supplies, recharging systems, power failure detection circuits, power converters or inverters, power status indicators, and other arbitrary components.
该电子设备还可包括输入单元404,该输入单元404可用于接收输入的数字或字符信息,以及产生与用户设置以及功能控制有关的键盘、鼠标、操作杆、光学或者轨迹球信号输入。The electronic device may also include an input unit 404 that may be used to receive input numeric or character information and generate keyboard, mouse, joystick, optical or trackball signal inputs related to user settings and function control.
尽管未示出,电子设备还可以包括显示单元等,在此不再赘述。具体在本实施例中,当电子设备为模型训练电子设备时,电子设备中的处理器401会按照如下的指令,将一个或一个以上的计算机程序的进程对应的可执行文件加载到存储器402中,并由处理器401来运行存储在存储器402中的计算机程序,以执行如下步骤:Although not shown, the electronic device may also include a display unit and the like, which will not be described again here. Specifically, in this embodiment, when the electronic device is a model training electronic device, the processor 401 in the electronic device will load the executable files corresponding to the processes of one or more computer programs into the memory 402 according to the following instructions. , and the processor 401 runs the computer program stored in the memory 402 to perform the following steps:
响应于用户的临时使用请求,获取预付费计量表对应的当前预付费余额;In response to the user's temporary usage request, obtain the current prepaid balance corresponding to the prepaid meter;
若当前预付费余额大于预设预付费余额,则通过预付费计量表中的本地通信组件向预付费计量表中的控制组件发送合闸维持指令,以使控制组件控制预付费计量表在预设时长内保持合闸状态。If the current prepaid balance is greater than the preset prepaid balance, a closing maintenance instruction is sent to the control component in the prepaid meter through the local communication component in the prepaid meter, so that the control component controls the prepaid meter to operate at the preset The switch remains closed for a certain period of time.
通过上述电子设备,在预付费计量表中已有的远程通信组件的基础上,增设本地通信组件。当出现相关异常或故障后,即使无法再通过远程通信组件与预付费计量表进行数据交互,也能够使用计量表管理设备并通过本地通信组件与预付费计量表进行数据交互。将计量表管理设备发送的合闸维持指令传输至控制组件,以使控制组件控制预付费计量表在预设时长内保持合闸状态,以电表为例,则能够缓解停电拉闸风险。Through the above-mentioned electronic equipment, a local communication component is added to the existing remote communication component in the prepaid meter. When a relevant exception or failure occurs, even if data interaction with the prepaid meter through the remote communication component is no longer possible, the meter management device can still be used to interact with the prepaid meter through the local communication component. The closing maintenance command sent by the meter management device is transmitted to the control component, so that the control component controls the prepaid meter to maintain the closing state within a preset time period. Taking the electric meter as an example, the risk of power outage can be mitigated.
本领域普通技术人员可以理解,上述实施例的任一种方法中的全部或部分步骤可以通过计算机程序来完成,或通过计算机程序控制相关的硬件来完成,该计算机程序可以存储于一计算机可读存储介质中,并由处理器进行加载和执行。Those of ordinary skill in the art can understand that all or part of the steps in any of the methods of the above embodiments can be completed by a computer program, or by controlling relevant hardware by a computer program. The computer program can be stored in a computer-readable file. storage medium and loaded and executed by the processor.
第五方面,在一个实施例中,本发明提供一种存储介质,其中存储有多条计算机程序,该计算机程序能够被处理器进行加载,以执行如下步骤:In a fifth aspect, in one embodiment, the present invention provides a storage medium in which a plurality of computer programs are stored. The computer program can be loaded by a processor to perform the following steps:
响应于用户的临时使用请求,获取预付费计量表对应的当前预付费余额;In response to the user's temporary usage request, obtain the current prepaid balance corresponding to the prepaid meter;
若当前预付费余额大于预设预付费余额,则通过预付费计量表中的本地通信组件向预付费计量表中的控制组件发送合闸维持指令,以使控制组件控制预付费计量表在预设时长内保持合闸状态。If the current prepaid balance is greater than the preset prepaid balance, a closing maintenance instruction is sent to the control component in the prepaid meter through the local communication component in the prepaid meter, so that the control component controls the prepaid meter to operate at the preset The switch remains closed for a certain period of time.
通过上述存储介质,在预付费计量表中已有的远程通信组件的基础上,增设本地通信组件。当出现相关异常或故障后,即使无法再通过远程通信组件与预付费计量表进行数据交互,也能够使用计量表管理设备并通过本地通信组件与预付费计量表进行数据交互。将计量表管理设备发送的合闸维持指令传输至控制组件,以使控制组件控制预付费计量表在预设时长内保持合闸状态,以电表为例,则能够缓解停电拉闸风险。Through the above storage medium, a local communication component is added to the existing remote communication component in the prepaid meter. When a relevant exception or failure occurs, even if data interaction with the prepaid meter through the remote communication component is no longer possible, the meter management device can still be used to interact with the prepaid meter through the local communication component. The closing maintenance command sent by the meter management device is transmitted to the control component, so that the control component controls the prepaid meter to maintain the closing state within a preset time period. Taking the electric meter as an example, the risk of power outage can be mitigated.
本领域普通技术人员可以理解,本发明所提供的各实施例中所使用的对存储器、存储、数据库或其它介质的任何引用,均可包括非易失性和/或易失性存储器。非易失性存储器可包括只读存储器(ROM)、可编程ROM(PROM)、电可编程ROM(EPROM)、电可擦除可编程ROM(EEPROM)或闪存。易失性存储器可包括随机存取存储器(RAM)或者外部高速缓冲存储器。作为说明而非局限,RAM以多种形式可得,诸如静态RAM(SRAM)、动态RAM(DRAM)、同步DRAM(SDRAM)、双数据率SDRAM(DDRSDRAM)、增强型SDRAM(ESDRAM)、同步链路(Synchlink)、DRAM(SLDRAM)、存储器总线(Rambus)直接RAM(RDRAM)、直接存储器总线动态RAM(DRDRAM)、以及存储器总线动态RAM(RDRAM)等。Those of ordinary skill in the art will understand that any reference to memory, storage, databases or other media used in the various embodiments provided by the present invention may include non-volatile and/or volatile memory. Non-volatile memory may include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM), or flash memory. Volatile memory may include random access memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in many forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous chain Synchlink, DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM), etc.
由于该存储介质中所存储的计算机程序,可以执行本发明所提供的任一种实施例中的预付费计量表的控制方法中的步骤,因此,可以实现本发明所提供的任一种实施例中的预付费计量表的控制方法所能实现的有益效果,详见前面的实施例,在此不再赘述。Since the computer program stored in the storage medium can execute the steps in the control method of the prepaid meter in any embodiment provided by the present invention, therefore, any embodiment provided by the present invention can be implemented. The beneficial effects that can be achieved by the control method of the prepaid meter are detailed in the previous embodiments and will not be described again here.
以上各个操作的具体实施可参见前面的实施例,在此不再赘述。For the specific implementation of each of the above operations, please refer to the previous embodiments and will not be described again here.
在上述实施例中,对各个实施例的描述都各有侧重,某个实施例中没有详述的部分,可以参见上文针对其他实施例的详细描述,此处不再赘述。In the above embodiments, each embodiment is described with its own emphasis. For parts that are not described in detail in a certain embodiment, please refer to the above detailed descriptions of other embodiments and will not be described again here.
以上对本发明所提供的一种预付费计量系统、控制方法、装置、电子设备及存储介质进行了详细介绍,本文中应用了具体个例对本发明的原理及实施方式进行了阐述,以上实施例的说明只是用于帮助理解本发明的方法及其核心思想;同时,对于本领域的技术人员,依据本发明的思想,在具体实施方式及应用范围上均会有改变之处,综上所述,本说明书内容不应理解为对本发明的限制。The above is a detailed introduction to a prepaid metering system, control method, device, electronic equipment and storage medium provided by the present invention. This article uses specific examples to illustrate the principles and implementation methods of the present invention. The above embodiments The description is only used to help understand the method and its core idea of the present invention; at the same time, for those skilled in the art, there will be changes in the specific implementation and application scope based on the idea of the present invention. In summary, The content of this description should not be construed as limiting the invention.
以上实施例的各技术特征可以进行任意的组合,为使描述简洁,未对上述实施例中各个技术特征所有可能的组合都进行描述,然而,只要这些技术特征的组合不存在矛盾,都应当认为是本说明书记载的范围。The technical features of the above embodiments can be combined in any way. In order to simplify the description, all possible combinations of the technical features in the above embodiments are not described. However, as long as there is no contradiction in the combination of these technical features, they should be considered. This is the scope described in this manual.
Claims (10)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202410011428.XA CN117765663A (en) | 2024-01-03 | 2024-01-03 | Prepayment metering system, control method, device, electronic equipment and storage medium |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202410011428.XA CN117765663A (en) | 2024-01-03 | 2024-01-03 | Prepayment metering system, control method, device, electronic equipment and storage medium |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| CN117765663A true CN117765663A (en) | 2024-03-26 |
Family
ID=90318174
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN202410011428.XA Pending CN117765663A (en) | 2024-01-03 | 2024-01-03 | Prepayment metering system, control method, device, electronic equipment and storage medium |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN117765663A (en) |
Citations (8)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2002037227A2 (en) * | 2000-11-06 | 2002-05-10 | Bcn Data Systems | Asymmetrical communication in prepayment metering |
| US7215942B1 (en) * | 2001-08-09 | 2007-05-08 | Bellsouth Intellectual Property Corp. | Architecture for managing prepaid wireless communications services |
| CN102682529A (en) * | 2012-05-09 | 2012-09-19 | 重庆市电力公司电力科学研究院 | Prepayment electric energy meter and information processing system |
| CN102819900A (en) * | 2012-08-09 | 2012-12-12 | 宁夏隆基宁光仪表有限公司 | Remote management local fee control electric energy meter based on dual interface smart card |
| CN103106743A (en) * | 2013-01-21 | 2013-05-15 | 云南电网公司西双版纳供电局 | Real-time concentrated long-distance charge-control power system |
| CN110911245A (en) * | 2019-11-25 | 2020-03-24 | 广东立德电气有限公司 | Near-field control remote transmission's electric energy meter intelligence circuit breaker |
| CN112564286A (en) * | 2020-12-09 | 2021-03-26 | 广东电网有限责任公司清远供电局 | Power failure and recovery control device and method |
| CN113643477A (en) * | 2021-08-10 | 2021-11-12 | 国网江苏省电力有限公司营销服务中心 | Intelligent electric meter internet of things payment interactive terminal and method based on DCEP |
-
2024
- 2024-01-03 CN CN202410011428.XA patent/CN117765663A/en active Pending
Patent Citations (8)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2002037227A2 (en) * | 2000-11-06 | 2002-05-10 | Bcn Data Systems | Asymmetrical communication in prepayment metering |
| US7215942B1 (en) * | 2001-08-09 | 2007-05-08 | Bellsouth Intellectual Property Corp. | Architecture for managing prepaid wireless communications services |
| CN102682529A (en) * | 2012-05-09 | 2012-09-19 | 重庆市电力公司电力科学研究院 | Prepayment electric energy meter and information processing system |
| CN102819900A (en) * | 2012-08-09 | 2012-12-12 | 宁夏隆基宁光仪表有限公司 | Remote management local fee control electric energy meter based on dual interface smart card |
| CN103106743A (en) * | 2013-01-21 | 2013-05-15 | 云南电网公司西双版纳供电局 | Real-time concentrated long-distance charge-control power system |
| CN110911245A (en) * | 2019-11-25 | 2020-03-24 | 广东立德电气有限公司 | Near-field control remote transmission's electric energy meter intelligence circuit breaker |
| CN112564286A (en) * | 2020-12-09 | 2021-03-26 | 广东电网有限责任公司清远供电局 | Power failure and recovery control device and method |
| CN113643477A (en) * | 2021-08-10 | 2021-11-12 | 国网江苏省电力有限公司营销服务中心 | Intelligent electric meter internet of things payment interactive terminal and method based on DCEP |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN111754023A (en) | User load prediction control and transaction system based on edge-cloud collaboration and its implementation method | |
| CN107615343A (en) | A kind of electric energy meter system based on communication of mobile terminal | |
| CN112821397B (en) | A "source-load-storage" coordinated low-carbon economic dispatch method and device | |
| CN107533780A (en) | A kind of fee management system and method based on intelligent electric meter | |
| CN115733168A (en) | Energy storage charging and discharging management method and system, control terminal and storage medium | |
| CN106357414A (en) | The information exchange method and system used for base station power generation management | |
| CN102332120A (en) | An electric power intelligent business hall management system | |
| CN111753442A (en) | Distribution transformer exchange decision-making method and device | |
| WO2024179464A1 (en) | Power supply control method and apparatus, and computer device and storage medium | |
| CN117893359A (en) | Energy optimization method for multi-comprehensive energy system containing shared energy storage | |
| CN115375081A (en) | Shared optical storage optimal scheduling method, device, equipment and storage medium considering over-sale | |
| CN111239488A (en) | Intelligent electric meter and intelligent electric meter system | |
| CN107633431A (en) | A kind of energy storage device leasing system based on internet | |
| CN205880051U (en) | Smart electric meter based on mobile internet | |
| CN117765663A (en) | Prepayment metering system, control method, device, electronic equipment and storage medium | |
| CN113650519A (en) | Charging pile control method, device, equipment and storage medium | |
| CN111340313B (en) | Basic electricity price charging mode selection method, device, equipment and readable storage medium | |
| CN109861235B (en) | Power consumption management method, power consumption management terminal and readable storage medium | |
| CN116404683B (en) | Energy regulation method, device, terminal and medium of a flexible direct interconnection system | |
| CN111137164B (en) | Charging method and device | |
| CN114662804B (en) | Resource allocation method, device, equipment and medium for swapping station | |
| CN118643933A (en) | Load-side power resource control method, device, equipment and storage medium | |
| CN110738580A (en) | Configuration method, device and equipment for defaulting power-off and power-restoration automatic tracking work order | |
| CN117555763A (en) | Health degree assessment method, device and storage medium | |
| CN111461693B (en) | Container type data center electric quantity charging method and system |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| PB01 | Publication | ||
| PB01 | Publication | ||
| SE01 | Entry into force of request for substantive examination | ||
| SE01 | Entry into force of request for substantive examination |