CN111582850B - Electric charge recharging method and device based on mobile phone bank - Google Patents

Electric charge recharging method and device based on mobile phone bank Download PDF

Info

Publication number
CN111582850B
CN111582850B CN202010342768.2A CN202010342768A CN111582850B CN 111582850 B CN111582850 B CN 111582850B CN 202010342768 A CN202010342768 A CN 202010342768A CN 111582850 B CN111582850 B CN 111582850B
Authority
CN
China
Prior art keywords
mobile phone
electric charge
recharging
phone user
data
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202010342768.2A
Other languages
Chinese (zh)
Other versions
CN111582850A (en
Inventor
朱江波
朱振勇
刘真真
马克
师鹏超
张盛素
李琦
高鹏
张自鹏
赵阳
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Bank of China Ltd
Original Assignee
Bank of China Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Bank of China Ltd filed Critical Bank of China Ltd
Priority to CN202010342768.2A priority Critical patent/CN111582850B/en
Publication of CN111582850A publication Critical patent/CN111582850A/en
Application granted granted Critical
Publication of CN111582850B publication Critical patent/CN111582850B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/08Payment architectures
    • G06Q20/10Payment architectures specially adapted for electronic funds transfer [EFT] systems; specially adapted for home banking systems
    • G06Q20/108Remote banking, e.g. home banking
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/08Payment architectures
    • G06Q20/085Payment architectures involving remote charge determination or related payment systems
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/22Payment schemes or models
    • G06Q20/28Pre-payment schemes, e.g. "pay before"
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/30Payment architectures, schemes or protocols characterised by the use of specific devices or networks
    • G06Q20/32Payment architectures, schemes or protocols characterised by the use of specific devices or networks using wireless devices
    • G06Q20/325Payment architectures, schemes or protocols characterised by the use of specific devices or networks using wireless devices using wireless networks

Landscapes

  • Business, Economics & Management (AREA)
  • Accounting & Taxation (AREA)
  • Engineering & Computer Science (AREA)
  • General Business, Economics & Management (AREA)
  • Strategic Management (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Finance (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Development Economics (AREA)
  • Economics (AREA)
  • Telephone Function (AREA)

Abstract

The invention discloses an electric charge recharging method and device based on a mobile phone bank, wherein the method comprises the following steps: collecting historical electricity utilization data of a mobile phone user; predicting the electricity charge recharging data of the mobile phone user according to the historical electricity consumption data of the mobile phone user; and calling the electric charge recharging intelligent contract on the blockchain network according to the electric charge recharging data of the mobile phone user, and executing the electric charge recharging service on the mobile phone banking application program of the mobile phone user. The invention can realize the purpose of automatically recharging the electric charge on the mobile phone banking application program, and avoid the situation that the life or work of a user is influenced by the power failure caused by the insufficient electric charge.

Description

Electric charge recharging method and device based on mobile phone bank
Technical Field
The invention relates to the field of mobile application, in particular to an electric charge recharging method and device based on a mobile phone bank.
Background
This section is intended to provide a background or context to the embodiments of the invention that are recited in the claims. The description herein is not admitted to be prior art by inclusion in this section.
With the rapid development of communication and internet, various business functions on mobile banking are continuously updated and perfected. Currently, most mobile banking can support business functions such as inquiry, transfer, remittance, payment, financial management, payment, online shopping, and the like.
The electric charge payment is a very necessary payment item in the mobile phone bank life payment items, but in the existing mobile phone bank, only manual payment is supported, and in a normal case, a user finds that the home is powered off to recall the payment. For most users, the occurrence of power failure conditions can seriously affect work or life, and the user experience is poor.
Disclosure of Invention
The embodiment of the invention provides an electric charge recharging method based on a mobile phone bank, which is used for solving the technical problem that the existing mobile phone bank only supports manual electric charge recharging and cannot automatically recharge the electric charge before the electric charge is exhausted, and comprises the following steps: collecting historical electricity utilization data of a mobile phone user; predicting the electricity charge recharging data of the mobile phone user according to the historical electricity consumption data of the mobile phone user; calling an electric charge recharging intelligent contract on a blockchain network according to the electric charge recharging data of the mobile phone user, and executing an electric charge recharging service on a mobile phone banking application program of the mobile phone user; the electric charge recharging data includes: the use duration of the residual electric quantity and the recharging amount of the electric charge; based on the electric charge recharging amount of the mobile phone user, predicting the recharging time point of the next electric charge recharging of the mobile phone user by using a regression model; for a mobile phone user allowing overdraft electric charge of a power grid system, after overdraft preset amount or overdraft preset duration of the electric charge of the mobile phone user, executing an electric charge recharging service; for a mobile phone user of which the power grid system does not allow overdrawing electric charges, executing an electric charge recharging service when the residual electric quantity of the mobile phone user is less than a preset duration or the residual electric charge recharging amount is less than a preset amount; counting the business transaction amount of each node for executing the electric charge recharging in the blockchain network, determining the credibility weight of each node based on the business transaction amount of each node for executing the electric charge recharging, and determining whether to uplink the data uploaded by the node according to the credibility weight of each node; the business transaction amount of each node for executing the recharging of the electric charge is used for representing the credibility of each node.
The embodiment of the invention also provides an electric charge recharging device based on the mobile phone bank, which is used for solving the technical problem that the existing mobile phone bank only supports manual electric charge recharging and cannot automatically recharge the electric charge before the electric charge is exhausted, and comprises the following steps: the historical electricity utilization data acquisition module is used for acquiring historical electricity utilization data of a mobile phone user; the electric charge recharging data prediction module is used for predicting the electric charge recharging data of the mobile phone user according to the historical electricity consumption data of the mobile phone user; the electric charge recharging module is used for calling an intelligent contract for recharging the electric charge on the blockchain network according to the electric charge recharging data of the mobile phone user, and executing an electric charge recharging service on a mobile phone banking application program of the mobile phone user; the electric charge recharging data includes: the use duration of the residual electric quantity and the recharging amount of the electric charge; based on the electric charge recharging amount of the mobile phone user, predicting the recharging time point of the next electric charge recharging of the mobile phone user by using a regression model; for a mobile phone user allowing overdraft electric charge of a power grid system, after overdraft preset amount or overdraft preset duration of the electric charge of the mobile phone user, executing an electric charge recharging service; for a mobile phone user of which the power grid system does not allow overdrawing electric charges, executing an electric charge recharging service when the residual electric quantity of the mobile phone user is less than a preset duration or the residual electric charge recharging amount is less than a preset amount; counting the business transaction amount of each node for executing the electric charge recharging in the blockchain network, determining the credibility weight of each node based on the business transaction amount of each node for executing the electric charge recharging, and determining whether to uplink the data uploaded by the node according to the credibility weight of each node; the business transaction amount of each node for executing the recharging of the electric charge is used for representing the credibility of each node.
The embodiment of the invention also provides computer equipment which is used for solving the technical problem that the conventional mobile phone bank only supports manual power charge recharging and cannot automatically recharge the power charge before the power charge is exhausted.
The embodiment of the invention also provides a computer readable storage medium for solving the technical problem that the existing mobile phone bank only supports manual electric charge recharging and cannot automatically recharge the electric charge before the electric charge is exhausted.
In the embodiment of the invention, the historical electricity consumption data of the mobile phone user is collected, then the electricity charge recharging data of the mobile phone user is predicted according to the historical electricity consumption data of the mobile phone user, finally the electricity charge recharging intelligent contract on the blockchain network is called according to the electricity charge recharging data of the mobile phone user, and the electricity charge recharging service is executed on the mobile phone banking application program of the mobile phone user.
According to the embodiment of the invention, the purpose of automatically recharging the electric charge on the mobile banking application program can be realized, and the condition that the life or work of a user is influenced by power failure caused by insufficient electric charge is avoided.
Drawings
In order to more clearly illustrate the embodiments of the invention or the technical solutions in the prior art, the drawings that are required in the embodiments or the description of the prior art will be briefly described, it being obvious that the drawings in the following description are only some embodiments of the invention, and that other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art. In the drawings:
fig. 1 is a flowchart of an electric charge recharging method based on a mobile phone bank according to an embodiment of the present invention;
fig. 2 is a schematic diagram of an electric charge recharging system based on a mobile phone bank according to an embodiment of the present invention;
fig. 3 is a schematic diagram of an electric charge recharging device based on a mobile phone bank according to an embodiment of the present invention.
Detailed Description
For the purpose of making the objects, technical solutions and advantages of the embodiments of the present invention more apparent, the embodiments of the present invention will be described in further detail with reference to the accompanying drawings. The exemplary embodiments of the present invention and their descriptions herein are for the purpose of explaining the present invention, but are not to be construed as limiting the invention.
In the description of the present specification, the terms "comprising," "including," "having," "containing," and the like are open-ended terms, meaning including, but not limited to. Reference to the terms "one embodiment," "a particular embodiment," "some embodiments," "for example," etc., means that a particular feature, structure, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the present application. In this specification, schematic representations of the above terms do not necessarily refer to the same embodiments or examples. Furthermore, the particular features, structures, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples. The sequence of steps involved in the embodiments is used to schematically illustrate the practice of the present application, and is not limited thereto and may be appropriately adjusted as desired.
In the embodiment of the invention, a method for recharging electric charge based on a mobile phone bank is provided, and fig. 1 is a flowchart of the method for recharging electric charge based on the mobile phone bank, as shown in fig. 1, the method may include the following steps:
s101, collecting historical electricity utilization data of a mobile phone user.
It should be noted that, the historical electricity consumption data collected in the step S101 may be historical electricity consumption data or historical electricity fee payment data, where the historical electricity consumption data refers to electricity consumption data of a mobile phone user in a historical time period; the historical electric charge payment data refers to the electric charge payment data of the mobile phone user in a historical time period.
In one embodiment, the electricity usage data collected in S101 may be a remaining electricity of an electricity meter in a mobile phone user' S home collected according to a predetermined period or a predetermined time point, and stored in a database or a blockchain network, so as to obtain the corresponding electricity usage data by accessing the database or querying the blockchain network; the electric charge payment data collected in S101 may be information such as a recharging amount, a recharging time, a recharging channel, etc. collected when the mobile phone user performs electric charge recharging or payment, and stored in a database or a blockchain network, so as to obtain corresponding electric charge payment data by accessing the database or querying the blockchain network.
In practical applications, the time point at which data is collected may be collected at a fixed period or frequency, for example, data is collected every other week or every other month; it may also be acquired at random (non-fixed cycle or frequency), for example, at random on 1, 5, 13, 19, 25, etc. days of each month. The invention is not limited in this regard.
S102, predicting the electricity charge recharging data of the mobile phone user according to the historical electricity consumption data of the mobile phone user.
It should be noted that, S102 may predict the charging data of the electric charge according to the historical electric quantity usage data of the mobile phone user, may predict the charging data of the electric charge according to the historical electric charge payment data of the mobile phone user, and may also predict the charging data of the electric charge according to the historical electric quantity usage data and the historical electric charge payment data of the mobile phone.
Alternatively, the electric charge recharging data predicted in S102 may include: the remaining power usage duration and/or the electric charge recharging amount.
In one embodiment, when predicting the remaining power usage duration, a remaining power data set of the mobile phone during a historical period of time (for example, within one month), that is, d= { x, may be collected 1 ,x 2 ,...x i ...x m -a }; wherein x is i And (3) representing the residual electric quantity information corresponding to the time point i, and predicting the current residual electric quantity using time of the mobile phone user based on a regression model of machine learning after the residual electric quantity data set is obtained.
In another embodiment, the recharging time point and the recharging amount of the next recharging of the electric charge of the mobile phone user can be predicted by using a regression model based on the recharging amount of the electric charge of the mobile phone user. Of course, the remaining power use duration and/or the electric charge recharging amount may be predicted based on the information such as the remaining power and the recharging amount.
And S103, calling an electric charge recharging intelligent contract on the blockchain network according to the electric charge recharging data of the mobile phone user, and executing an electric charge recharging service on a mobile phone banking application program of the mobile phone user.
It should be noted that, in the foregoing step S103, the smart contract for recharging electric charges refers to a procedure that is deployed in advance on the blockchain network, and is used for executing the service of recharging electric charges on the mobile banking application program of the mobile subscriber according to the recharging data of electric charges of each mobile subscriber. In one embodiment, the blockchain network may send an automatic charging request for the electric charge to the mobile phone terminal of the mobile phone user based on the intelligent contract for charging the electric charge, so that the mobile phone banking application program on the mobile phone terminal can implement automatic charging for the electric charge according to the received automatic charging request for the electric charge.
Since the currency types in the mobile phone bank accounts may be different for different users, in order to satisfy mobile phone users with more currency types, the step S103 may include the following steps: detecting whether the account currency type of the mobile phone user is consistent with the currency type of the electric charge recharging based on the mobile phone banking application program of the mobile phone user; when the account currency type of the mobile phone user is inconsistent with the currency type of the electric charge recharging, invoking a currency exchange intelligent contract on a blockchain network to execute currency exchange business on a mobile phone banking application program of the mobile phone user; and detecting whether the account balance of the mobile phone user meets the charging amount of the electric charge or not based on the mobile phone bank application program of the mobile phone user under the condition that the account currency type of the mobile phone user is consistent with the currency type of the charging amount of the electric charge.
Further, after the automatic electric charge recharging service is executed once each time, the real-time power consumption data and recharging data of the mobile phone user are uploaded to the block chain network to serve as a data base for predicting the electric charge recharging data next time.
Because each node on the blockchain network can adopt a preconfigured consensus algorithm to verify the uploaded data when the data is uploaded to the blockchain network, in the embodiment of the invention, the automatic electric charge recharging transaction amount executed by each node in the blockchain network is counted, and the credibility weight of each node is determined based on the service transaction amount executed by each node to recharge the electric charge, so that whether the data uploaded by the node is uploaded is determined according to the credibility weight of each node. That is, the traffic transaction amount of each node for performing the recharging of the electric charge is used to characterize the credibility of each node (if the node is a banking financial institution, the credit of the financial institution can be reflected to a certain extent, that is, the larger the transaction amount, the more credible the banking financial institution is).
It should be noted that the manner of performing S103 described above may be different for different application scenarios. For example, for some users of the power grid system that allow overdraft electric charges, the step S103 may be executed to implement automatic recharging of the electric charges after the electric charges of the mobile phone users are overdraft by a preset amount or overdraft by a preset duration; for some users who do not allow overdraft charges of electricity in the power grid system, the step S103 is executed to realize automatic charge of charges of electricity so as to avoid the influence of power failure on user experience when the residual electric quantity of the mobile phone user is less than the preset duration or the charge amount of the residual charges of electricity is less than the preset amount.
The blockchain network in the embodiment of the invention refers to a point-to-point network formed by a plurality of nodes; each node records information uploaded to the blockchain network based on a consensus mechanism, and optionally builds the blockchain network based on Hyperledger Fabric in embodiments of the present invention.
Fig. 2 is a schematic diagram of an electric charge recharging system based on a mobile banking, which is provided in an embodiment of the present invention, as shown in fig. 2, and includes: a mobile phone client 201, a banking server 202, an electric quantity monitoring server 203, an electric charge settlement server 204 and a blockchain network 205; the banking server 202, the power monitoring server 203, and the power fee settlement server 204 may access the blockchain network 205 through respective blockchain clients, upload data to the blockchain network through respective blockchain clients, or receive data pushed by the blockchain. The user can access the banking server 202 through the internet by using a mobile phone banking application program installed on the mobile phone client 201, and realizes electric charge recharging by using the electric charge recharging service provided by the banking server 202.
It should be noted that, in the embodiment of the present invention, the banking server 202, the electric quantity monitoring server 203 and the electric charge settlement server 204 are connected to the blockchain network 205 through respective blockchain clients, instead of using the banking server 202, the electric quantity monitoring server 203 and the electric charge settlement server 204 as an accounting node in the blockchain network, the software and hardware modification of the existing servers can be reduced.
It can be seen from the above that, in the electricity fee recharging method based on the mobile phone bank provided by the embodiment of the invention, the historical electricity consumption data of the mobile phone user is collected, the electricity fee recharging data of the mobile phone user is further predicted according to the historical electricity consumption data of the mobile phone user, and finally the electricity fee recharging intelligent contract on the blockchain network is called according to the electricity fee recharging data of the mobile phone user, so that the electricity fee recharging service is executed on the mobile phone bank application program of the mobile phone user.
According to the mobile phone bank-based electric charge recharging method provided by the embodiment of the invention, the purpose of automatically recharging the electric charge on the mobile phone bank application program can be realized, and the situation that the life or work of a user is influenced by power failure caused by insufficient electric charge is avoided.
It should be noted that, when the account balance of the mobile phone user at the mobile phone bank is insufficient, the automatic recharging of the electric charge fails, so in one embodiment, the step S103 may be implemented as follows: detecting whether the account balance of the mobile phone user meets the electric charge recharging amount or not based on a mobile phone banking application program of the mobile phone user; and when the account balance of the mobile phone user meets the electric charge recharging amount, calling an intelligent contract for recharging the electric charge on the blockchain network, and executing an electric charge recharging service on a mobile phone banking application program of the mobile phone user.
Optionally, based on the above embodiment, the electricity fee recharging method based on the mobile phone bank provided in the embodiment of the present invention may further include the following steps: and when the account balance of the mobile phone user does not meet the electric charge recharging amount, sending an electric charge recharging reminding message to the mobile phone user based on the mobile phone banking application program of the mobile phone user.
In one embodiment, when detecting whether the account balance of the mobile phone user meets the electric charge recharging amount based on the mobile phone banking application program of the mobile phone user, the method can be specifically implemented by the following steps: detecting whether the account currency type of the mobile phone user is consistent with the currency type of the electric charge recharging based on the mobile phone banking application program of the mobile phone user; when the account currency type of the mobile phone user is inconsistent with the currency type of the electric charge recharging, invoking a currency exchange intelligent contract on a blockchain network to execute currency exchange business on a mobile phone banking application program of the mobile phone user; and detecting whether the account balance of the mobile phone user meets the charging amount of the electric charge or not based on the mobile phone bank application program of the mobile phone user under the condition that the account currency type of the mobile phone user is consistent with the currency type of the charging amount of the electric charge. In this embodiment, communication is possible between the bank foreign currency service server and the electric charge recharging service server. Optionally, both the bank foreign currency service server and the electric charge recharging service server can be connected to the blockchain network, and upload respective service processing data to the blockchain network, so that the non-falsification of the foreign currency exchange service data is ensured.
In order to ensure the non-falsification of data and improve the execution efficiency of the electric charge recharging service, in the embodiment of the invention, the power consumption data and recharging data of each mobile phone user can be uploaded to a blockchain network, so that the historical power consumption data and the historical recharging data of each mobile phone user can be acquired based on the blockchain network.
In one embodiment, the method for recharging the electric charge based on the mobile phone bank provided by the embodiment of the invention can collect the historical electricity consumption data of the mobile phone user through the following steps: acquiring identification information of a mobile phone user; based on the identification information of the mobile phone user, historical electricity utilization data and historical recharging data of the mobile phone user stored on the blockchain network are searched. Alternatively, the identification information of the mobile phone user may be an ID that is set for each mobile phone user and uniquely identifies the identity information of each mobile phone user. When the related data of each mobile phone user is uploaded to the blockchain network, the ID of each mobile phone user and the data to be uploaded are packaged together for uploading.
It should be noted that before searching the historical electricity data and the historical recharging data of the mobile phone user stored on the blockchain network, the electricity data and the recharging data of the mobile phone user need to be uploaded to each node machine of the blockchain network for storage, so as to ensure the traceability and the non-tamper property of the electricity data and the recharging data.
Because the data stored on the blockchain network is disclosed for each node of the blockchain network, in order to protect the privacy of user data, in the embodiment of the invention, when the power consumption data and the recharging data of a mobile phone user are uploaded to the blockchain network, the power consumption data and the recharging data of the user are encrypted based on various encryption algorithms (such as a hash algorithm or an asymmetric encryption algorithm), and the encrypted power consumption data and the recharging data are uploaded to the blockchain network. In this way, nodes in the blockchain network that are authorized or otherwise obtain the corresponding key information are enabled to decrypt the corresponding data.
With the increasing of the business transaction amount, the data amount stored on the blockchain network is also increased, and in order to reduce the data storage space, in the embodiment of the invention, when the power consumption data or the recharging data of the mobile phone user is uploaded to the blockchain network, the power consumption data and the recharging data to be uploaded are compressed, and the compressed data is uploaded to the blockchain network. By compressing the data to be uploaded to the blockchain network, the bandwidth of the network for transmitting the data can be reduced, and the data to be uploaded can be rapidly uploaded to the blockchain network.
It should be noted that in the embodiment of the present invention, the data uploaded to the blockchain network needs to be agreed on the blockchain network to be recorded on the blockchain of each node in the blockchain network.
Based on the same inventive concept, the embodiment of the invention also provides an electric charge recharging device based on the mobile phone bank, as described in the following embodiment. Because the principle of solving the problem of the embodiment of the device is similar to that of the electric charge recharging method based on the mobile phone bank, the implementation of the embodiment of the device can be referred to the implementation of the method, and the repetition is omitted.
Fig. 3 is a schematic diagram of an electric charge recharging device based on a mobile banking, which is provided in an embodiment of the present invention, as shown in fig. 3, the device may include: the system comprises a historical electricity consumption data acquisition module 31, an electricity charge recharging data prediction module 32 and an electricity charge recharging module 33.
The historical electricity utilization data acquisition module 31 is used for acquiring historical electricity utilization data of a mobile phone user; the electric charge recharging data prediction module 32 is configured to predict electric charge recharging data of the mobile phone user according to historical electricity consumption data of the mobile phone user; and the electric charge recharging module 33 is used for calling the intelligent contract of electric charge recharging on the blockchain network according to the electric charge recharging data of the mobile phone user, and executing the electric charge recharging service on the mobile phone banking application program of the mobile phone user.
As can be seen from the above, the electric charge recharging device based on mobile phone bank provided in the embodiment of the present invention collects the historical electricity consumption data of the mobile phone user through the historical electricity consumption data collection module 31; predicting the electric charge recharging data of the mobile phone user according to the historical electric consumption data of the mobile phone user by the electric charge recharging data prediction module 32; and calling an electric charge recharging intelligent contract on the blockchain network according to the electric charge recharging data of the mobile phone user through the electric charge recharging module 33, and executing an electric charge recharging service on a mobile phone banking application program of the mobile phone user.
The electric charge recharging device based on the mobile phone bank provided by the embodiment of the invention can realize the purpose of automatically recharging the electric charge on the application program of the mobile phone bank, and avoid the condition that the life or work of a user is influenced by power failure caused by insufficient electric charge.
In one embodiment, the electric charge recharging module 33 may be specifically configured to perform the following steps: detecting whether the account balance of the mobile phone user meets the electric charge recharging amount or not based on a mobile phone banking application program of the mobile phone user; and when the account balance of the mobile phone user meets the electric charge recharging amount, calling an intelligent contract for recharging the electric charge on the blockchain network, and executing an electric charge recharging service on a mobile phone banking application program of the mobile phone user.
In an embodiment, the electric charge recharging device based on the mobile phone bank provided in the embodiment of the invention may further include: the message reminding module 34 is configured to send an electric charge recharging reminding message to the mobile phone user based on a mobile phone banking application program of the mobile phone user when the account balance of the mobile phone user does not meet the electric charge recharging amount.
In one embodiment, in the electric charge recharging device based on the mobile banking provided in the embodiment of the present invention, the electric charge recharging module 33 may further be configured to perform the following steps: detecting whether the account currency type of the mobile phone user is consistent with the currency type of the electric charge recharging based on the mobile phone banking application program of the mobile phone user; when the account currency type of the mobile phone user is inconsistent with the currency type of the electric charge recharging, invoking a currency exchange intelligent contract on a blockchain network to execute currency exchange business on a mobile phone banking application program of the mobile phone user; and detecting whether the account balance of the mobile phone user meets the charging amount of the electric charge or not based on the mobile phone bank application program of the mobile phone user under the condition that the account currency type of the mobile phone user is consistent with the currency type of the charging amount of the electric charge.
In one embodiment, the historical electricity consumption data collection module 31 may be further configured to obtain identification information of a mobile phone user; and searching historical electricity utilization data and historical recharging data of the mobile phone user stored on the blockchain network based on the identification information of the mobile phone user.
Optionally, the electric charge recharging device based on the mobile phone bank provided in the embodiment of the present invention may further include: and the blockchain data uploading module 35 is used for uploading the electricity consumption data and the recharging data of the mobile phone user to the blockchain network.
Optionally, in the electric charge recharging device based on mobile banking provided in the embodiment of the present invention, the electric charge recharging data predicted by the electric charge recharging data prediction module 32 may include: the remaining power usage duration and/or the electric charge recharging amount.
Based on the same inventive concept, the embodiment of the invention also provides a computer device, which is used for solving the technical problem that the conventional mobile phone bank only supports manual power fee charging and cannot automatically charge the power fee before the power fee is exhausted.
Based on the same inventive concept, the embodiment of the invention also provides a computer readable storage medium for solving the technical problem that the existing mobile phone bank only supports manual power charge charging and cannot automatically charge the power charge before the power charge is exhausted.
In summary, the embodiment of the invention provides a method, a device, a computer device and a computer readable storage medium for recharging electric charge based on a mobile phone bank, which predict the electric charge recharging data (the remaining electric quantity using time or the electric charge recharging amount) of a mobile phone user by using the historical electric consumption data (the historical electric quantity using data or the historical electric charge recharging data) of the mobile phone user, so as to realize automatic electric charge recharging by using a smart contract of a blockchain network before the electric quantity of the mobile phone user is exhausted. The embodiment of the invention can realize the purpose of automatically recharging the electric charge on the mobile banking application program, avoid the situation that the life or work of a user is influenced by the power failure caused by insufficient electric charge, and greatly improve the user experience.
It will be appreciated by those skilled in the art that embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems) and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
The foregoing description of the embodiments has been provided for the purpose of illustrating the general principles of the invention, and is not meant to limit the scope of the invention, but to limit the invention to the particular embodiments, and any modifications, equivalents, improvements, etc. that fall within the spirit and principles of the invention are intended to be included within the scope of the invention.

Claims (11)

1. The electric charge recharging method based on the mobile phone bank is characterized by comprising the following steps of:
collecting historical electricity utilization data of a mobile phone user;
predicting the electricity charge recharging data of the mobile phone user according to the historical electricity consumption data of the mobile phone user;
calling an electric charge recharging intelligent contract on a blockchain network according to the electric charge recharging data of the mobile phone user, and executing an electric charge recharging service on a mobile phone banking application program of the mobile phone user; the electric charge recharging data includes: the use duration of the residual electric quantity and the recharging amount of the electric charge;
based on the electric charge recharging amount of the mobile phone user, predicting the recharging time point of the next electric charge recharging of the mobile phone user by using a regression model;
for a mobile phone user allowing overdraft electric charge of a power grid system, after overdraft preset amount or overdraft preset duration of the electric charge of the mobile phone user, executing an electric charge recharging service; for a mobile phone user of which the power grid system does not allow overdrawing electric charges, executing an electric charge recharging service when the residual electric quantity of the mobile phone user is less than a preset duration or the residual electric charge recharging amount is less than a preset amount;
counting the business transaction amount of each node for executing the electric charge recharging in the blockchain network, determining the credibility weight of each node based on the business transaction amount of each node for executing the electric charge recharging, and determining whether to uplink the data uploaded by the node according to the credibility weight of each node; the business transaction amount of each node for executing the recharging of the electric charge is used for representing the credibility of each node.
2. The method of claim 1, wherein invoking the electric charge recharging smart contract on the blockchain network according to the electric charge recharging data of the mobile phone user, executing the electric charge recharging service on the mobile phone banking application of the mobile phone user, comprises:
detecting whether the account balance of the mobile phone user meets the electric charge recharging amount or not based on the mobile phone banking application program of the mobile phone user;
and when the account balance of the mobile phone user meets the electric charge recharging amount, calling an intelligent contract for recharging the electric charge on the blockchain network, and executing an electric charge recharging service on a mobile phone banking application program of the mobile phone user.
3. The method of claim 2, wherein the method further comprises:
and when the account balance of the mobile phone user does not meet the electric charge recharging amount, sending an electric charge recharging reminding message to the mobile phone user based on the mobile phone bank application program of the mobile phone user.
4. The method of claim 2, wherein detecting whether the account balance of the mobile phone user satisfies the electric charge recharging amount based on the mobile banking application of the mobile phone user comprises:
detecting whether the account currency type of the mobile phone user is consistent with the currency type of the electric charge recharging based on the mobile phone banking application program of the mobile phone user;
when the account currency type of the mobile phone user is inconsistent with the currency type of the electric charge recharging, invoking a currency exchange intelligent contract on a blockchain network to execute currency exchange business on a mobile phone banking application program of the mobile phone user;
and detecting whether the account balance of the mobile phone user meets the charging amount of the electric charge or not based on the mobile phone bank application program of the mobile phone user under the condition that the account currency type of the mobile phone user is consistent with the currency type of the charging amount of the electric charge.
5. The method of claim 1, wherein collecting historical power usage data for a user of the handset comprises:
acquiring identification information of the mobile phone user;
and searching historical electricity utilization data and historical recharging data of the mobile phone user stored on the blockchain network based on the identification information of the mobile phone user.
6. The method of claim 1, wherein the method further comprises:
and uploading the electricity consumption data and the recharging data of the mobile phone user to a blockchain network.
7. An electric charge recharging device based on mobile phone banking is characterized by comprising:
the historical electricity utilization data acquisition module is used for acquiring historical electricity utilization data of a mobile phone user;
the electric charge recharging data prediction module is used for predicting the electric charge recharging data of the mobile phone user according to the historical electricity consumption data of the mobile phone user;
the electric charge recharging module is used for calling an electric charge recharging intelligent contract on a blockchain network according to the electric charge recharging data of the mobile phone user, and executing an electric charge recharging service on a mobile phone banking application program of the mobile phone user; the electric charge recharging data includes: the use duration of the residual electric quantity and the recharging amount of the electric charge;
based on the electric charge recharging amount of the mobile phone user, predicting the recharging time point of the next electric charge recharging of the mobile phone user by using a regression model;
for a mobile phone user allowing overdraft electric charge of a power grid system, after overdraft preset amount or overdraft preset duration of the electric charge of the mobile phone user, executing an electric charge recharging service; for a mobile phone user of which the power grid system does not allow overdrawing electric charges, executing an electric charge recharging service when the residual electric quantity of the mobile phone user is less than a preset duration or the residual electric charge recharging amount is less than a preset amount;
counting the business transaction amount of each node for executing the electric charge recharging in the blockchain network, determining the credibility weight of each node based on the business transaction amount of each node for executing the electric charge recharging, and determining whether to uplink the data uploaded by the node according to the credibility weight of each node; the business transaction amount of each node for executing the recharging of the electric charge is used for representing the credibility of each node.
8. The apparatus of claim 7, wherein the apparatus further comprises:
and the message reminding module is used for sending the electric charge recharging reminding message to the mobile phone user based on the mobile phone bank application program of the mobile phone user under the condition that the account balance of the mobile phone user does not meet the electric charge recharging amount.
9. The apparatus of claim 7, wherein the apparatus further comprises:
and the block chain data uploading module is used for uploading the electricity utilization data and the recharging data of the mobile phone user to a block chain network.
10. A computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor implements the cell phone banking based electricity fee recharging method of any one of claims 1 to 6 when the computer program is executed.
11. A computer-readable storage medium storing a computer program for executing the electric charge recharging method based on a mobile banking as set forth in any one of claims 1 to 6.
CN202010342768.2A 2020-04-27 2020-04-27 Electric charge recharging method and device based on mobile phone bank Active CN111582850B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010342768.2A CN111582850B (en) 2020-04-27 2020-04-27 Electric charge recharging method and device based on mobile phone bank

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010342768.2A CN111582850B (en) 2020-04-27 2020-04-27 Electric charge recharging method and device based on mobile phone bank

Publications (2)

Publication Number Publication Date
CN111582850A CN111582850A (en) 2020-08-25
CN111582850B true CN111582850B (en) 2024-02-23

Family

ID=72112536

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010342768.2A Active CN111582850B (en) 2020-04-27 2020-04-27 Electric charge recharging method and device based on mobile phone bank

Country Status (1)

Country Link
CN (1) CN111582850B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112184193A (en) * 2020-10-26 2021-01-05 支付宝(杭州)信息技术有限公司 Payment processing method and device
CN113240411A (en) * 2021-05-31 2021-08-10 中国银行股份有限公司 Telephone charge recharging reminding method and device
CN113447820A (en) * 2021-06-29 2021-09-28 国网北京市电力公司 Electric quantity monitoring method and device, intelligent ammeter and processor
CN114023001B (en) * 2021-10-11 2022-11-15 京源中科科技股份有限公司 Intelligent water meter self-service recharging method and device, recharging machine and recharging system

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103955821A (en) * 2014-04-01 2014-07-30 华为技术有限公司 Recharging method, recharging terminal and recharging server
CN104680661A (en) * 2015-03-10 2015-06-03 南京天溯自动化控制系统有限公司 Intelligent prepaying charging method and intelligent prepaying charging device for multiple metering instruments in one household
CN106789563A (en) * 2016-12-02 2017-05-31 国网山东省电力公司武城县供电公司 Electricity consumption business prompting method and device
CN109621429A (en) * 2018-12-14 2019-04-16 北京智明星通科技股份有限公司 A kind of trivial games based on social platform supplement based reminding method, device, server with money
CN110517027A (en) * 2019-08-22 2019-11-29 华东师范大学 A kind of trustship of digital cash assets and transfer method based on intelligent contract

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103955821A (en) * 2014-04-01 2014-07-30 华为技术有限公司 Recharging method, recharging terminal and recharging server
CN104680661A (en) * 2015-03-10 2015-06-03 南京天溯自动化控制系统有限公司 Intelligent prepaying charging method and intelligent prepaying charging device for multiple metering instruments in one household
CN106789563A (en) * 2016-12-02 2017-05-31 国网山东省电力公司武城县供电公司 Electricity consumption business prompting method and device
CN109621429A (en) * 2018-12-14 2019-04-16 北京智明星通科技股份有限公司 A kind of trivial games based on social platform supplement based reminding method, device, server with money
CN110517027A (en) * 2019-08-22 2019-11-29 华东师范大学 A kind of trustship of digital cash assets and transfer method based on intelligent contract

Also Published As

Publication number Publication date
CN111582850A (en) 2020-08-25

Similar Documents

Publication Publication Date Title
CN111582850B (en) Electric charge recharging method and device based on mobile phone bank
CN107909358B (en) Energy settlement method, device and system
CN110232565B (en) Resource clearing method, device, computer equipment and storage medium
CN110147992B (en) Bill generation method and device based on blockchain and electronic equipment
CN105577602B (en) Data push method and device based on open application programming interface
CN113487427B (en) Transaction risk identification method, device and system
CN110378575B (en) Overdue event refund collection method and device and computer readable storage medium
CN112744115B (en) Information processing method, device and system of electric automobile and processor
CN107016535B (en) Regional message sharing method and device
CN109615384B (en) Method, device and server for generating timeliness check rule
CN108880934A (en) A kind of data flow statistic method and device based on block chain
CN110660466A (en) Personal health data chaining method and system of Internet of things by combining block chains
US10638336B2 (en) Method of enabling improved efficiency in a first communications network, network entity, network device, computer programs and computer program products
CN110519317B (en) Data transmission method and equipment
CN113327111A (en) Method and system for evaluating network financial transaction risk
CN115526634B (en) Intelligent cross-chain interaction method and system based on block chain and storage medium
CN116843221A (en) Accounting method, device, equipment and medium for carbon account
CN115001976B (en) Network slice intelligent ordering method, device and computer storage medium
CN108989387B (en) Method, device and equipment for controlling asynchronous request
CN115099801A (en) Payment information processing method and device based on public cloud
CN112037023B (en) Bank outlet management method and related device
CN115225982A (en) Data transmission method and device of distributed energy transaction system
Soesanto et al. Adaptive proof of work architecture design by implementing multiple mempool
CN117057807B (en) Resource processing method based on block chain architecture and related equipment
CN110852866A (en) Method, apparatus, and storage medium for managing a plurality of resources

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant