CN-115880836-B - Shared power utilization method and device
Abstract
The embodiment of the application provides a sharing power consumption method and a sharing power consumption device, wherein the method comprises the steps of receiving a power consumption request sent by a client through scanning a bar code on a sharing power supply box, wherein the power consumption request comprises a sharing power supply box number corresponding to the sharing power supply box; the method comprises the steps of controlling the shared power box to open a box door according to the serial number of the shared power box, receiving an energizing request sent by a client, and controlling the shared power box to energize according to the energizing request. The embodiment of the application realizes the function of code scanning and electricity utilization, provides shared electricity utilization service integrating code scanning and electricity utilization for temporary electricity utilization users, establishes an efficient online and offline collaborative operation and maintenance mechanism, provides support for comprehensively constructing a new shared electricity utilization pattern, improves the power supply management flow of temporary electricity utilization and short-time electricity utilization, and brings extremely simple and extremely fast new electricity utilization experience for users.
Inventors
- ZHANG JING
- CHEN YAN
- LI JUN
- YUAN BAO
- ZHANG WEN
- OUYANG HONG
- ZHOU CHUN
- MA JIAQI
Assignees
- 北京中电普华信息技术有限公司
Dates
- Publication Date
- 20260505
- Application Date
- 20221208
Claims (9)
- 1. A method of sharing electricity, the method comprising: receiving an electricity consumption request sent by a client through scanning a bar code on a shared power box, wherein the electricity consumption request comprises a shared power box number corresponding to the shared power box; Controlling the shared power supply box to open a box door according to the shared power supply box number, wherein the shared power supply box is in a power-off state when the box door is opened; receiving a power-on request sent by the client; judging whether the balance of the current account corresponding to the power utilization request is larger than a first preset threshold value or not, if so, controlling the power on of the shared power box according to the power on request; calculating electricity cost in real time according to the electricity consumption; Calculating a predicted account balance according to the electricity consumption expense and the current account balance corresponding to the electricity consumption request; Judging whether the predicted account balance is larger than a second preset threshold value or not, wherein the second preset threshold value is smaller than the first preset threshold value; if the predicted account balance is not greater than the second preset threshold, recharging reminding information is sent to the client; If the predicted account balance is greater than the second preset threshold, executing the step of calculating electricity cost according to the electricity consumption in real time; Judging whether the predicted account balance is larger than a third preset threshold value or not, wherein the third preset threshold value is smaller than the second preset threshold value; if the predicted account balance is not greater than the third preset threshold, controlling the shared power box to be powered off; If the predicted account balance is greater than the third preset threshold, executing the step of calculating electricity cost in real time according to the electricity consumption; And generating electricity consumption monitoring information and sending the electricity consumption monitoring information to the client, wherein the electricity consumption monitoring information comprises current electricity consumption, current electricity consumption cost and account information.
- 2. The method of claim 1, wherein prior to the receiving the power request sent by the client by scanning the bar code on the shared power box, the method further comprises: receiving a registration request sent by the client, wherein the registration request comprises personal information of a user to be registered; and registering the account corresponding to the registration request according to the registration request.
- 3. The method of claim 1, wherein after said controlling the shared power box to be powered on in accordance with the power-on request, the method further comprises: Receiving an electricity utilization ending request sent by the client; Controlling the power-off of the shared power box according to the power-up ending request; Generating an electricity bill according to the current electric quantity of the shared power box; and sending the electricity consumption account to the client.
- 4. A method according to claim 3, wherein after said generating a power bill from the current power of the shared power box, the method further comprises: according to the electricity bill, settling accounts corresponding to the end user request; Judging whether the account balance of the account corresponding to the end user request is greater than 0; If yes, paying the corresponding account of the ending user request according to the account balance.
- 5. A shared power use apparatus, the apparatus comprising: The receiving module is used for receiving an electricity utilization request sent by a client through scanning a bar code on a shared power box, wherein the electricity utilization request comprises a shared power box number corresponding to the shared power box; The control module is used for controlling the shared power supply box to open the box door according to the shared power supply box number, and the shared power supply box is in a power-off state when the box door is opened; the receiving module is further used for receiving an electrifying request sent by the client; the control module is also used for controlling the power on of the shared power box according to the power on request; the judging module is used for judging whether the balance of the current account corresponding to the power utilization request is larger than a first preset threshold value or not, if so, controlling the power on of the shared power box according to the power on request; calculating electricity cost in real time according to the electricity consumption; Calculating a predicted account balance according to the electricity consumption expense and the current account balance corresponding to the electricity consumption request; The judging module is further configured to judge whether the predicted account balance is greater than a second preset threshold, where the second preset threshold is smaller than the first preset threshold; if the predicted account balance is not greater than the second preset threshold, recharging reminding information is sent to the client; If the predicted account balance is greater than the second preset threshold, executing the step of calculating electricity cost according to the electricity consumption in real time; The judging module is further configured to judge whether the predicted account balance is greater than a third preset threshold, where the third preset threshold is smaller than the second preset threshold; if the predicted account balance is not greater than the third preset threshold, controlling the shared power box to be powered off; If the predicted account balance is greater than the third preset threshold, executing the step of calculating electricity cost in real time according to the electricity consumption; the generation module is used for generating electricity consumption monitoring information and sending the electricity consumption monitoring information to the client, wherein the electricity consumption monitoring information comprises current electricity consumption, current electricity consumption cost and account information.
- 6. The apparatus of claim 5, further comprising a transmission module, The receiving module is further used for receiving an electricity utilization ending request sent by the client; the control module is also used for controlling the power failure of the shared power box according to the power utilization ending request; the generation module is also used for generating an electricity bill according to the current electric quantity of the shared power box; The sending module is used for sending the electricity consumption account list to the client.
- 7. The apparatus of claim 6, further comprising a settlement module and a refund module, The settlement module is used for settling accounts corresponding to the end user requests according to the electricity bill; the judging module is further used for judging whether the account balance of the account corresponding to the end user request is greater than 0; And the refund module is used for refunding the account corresponding to the end user request according to the account balance if the account balance of the account corresponding to the end user request is greater than 0.
- 8. A server for a server, which comprises a server and a server, characterized by comprising the following steps: A memory for storing a computer program; A processor for implementing the method according to any one of claims 1 to 4 when executing the computer program.
- 9. A computer readable storage medium, characterized in that the computer readable storage medium has stored thereon a computer program which, when run on a computer, causes the computer to perform the method according to any of claims 1 to 4.
Description
Shared power utilization method and device Technical Field The present application relates to the field of power electronics technologies, and in particular, to a method and an apparatus for sharing power. Background In recent years, a series of policies are put out in the country to encourage the development of shared economy, support and encourage conditional industries and regions to try first, fully exert demonstration leading effects and promote the development of shared economy. Under the support of national policy, the public transportation industries such as sharing bicycles, sharing automobiles and the like can obtain better economic benefits. At present, a power supply company does not have a unified and complete power supply management flow for temporary and short-term power consumption in public places, and cannot meter electric quantity, pay electric charge and guarantee safe power consumption. For example, in seasonal and temporary short-time electricity utilization application scenes such as night city land spreading, rural irrigation, mobile vendors, town squares, village and town marts, residents can use electricity temporarily through an electrician wire, firstly, the generated electricity consumption can not be measured, only line loss can be usually counted, secondly, the generated electricity fee has no standard payment channel, thirdly, the electricity consumption safety can not be ensured, and safety accidents can be possibly generated. The traditional public electricity service modes are free or manual settlement modes, free mobile phone charging service modes are already available in some public places, resident electricity selling modes are also available in some places with dense people flow, and legal metering basis is not available in all electricity selling modes. Disclosure of Invention In view of the above, the present application provides a method and an apparatus for sharing power consumption, which realize the function of scanning code and power consumption, provide a service for sharing power consumption with integrated scanning code and power consumption for temporary power consumption users, and perfect a power supply management flow for temporary power consumption and short-term power consumption, and the specific technical scheme is as follows: In a first aspect, the present application provides a method for sharing electricity, the method comprising: receiving an electricity consumption request sent by a client through scanning a bar code on a shared power box, wherein the electricity consumption request comprises a shared power box number corresponding to the shared power box; controlling the shared power supply box to open a box door according to the shared power supply box number; receiving a power-on request sent by the client; and controlling the power on of the shared power box according to the power on request. In one possible implementation, before the receiving client requests power by scanning for a bar code on a shared power box, the method further includes: receiving a registration request sent by the client, wherein the registration request comprises personal information of a user to be registered; and registering the account corresponding to the registration request according to the registration request. In one possible implementation, before the controlling the power on of the shared power box according to the power on request, the method further includes: judging whether the balance of the current account corresponding to the electricity consumption request is larger than a first preset threshold value or not; if yes, the step of controlling the power on of the shared power box according to the power on request is executed. In one possible implementation, after the controlling the power-on of the shared power box according to the power-on request, the method further includes: Receiving an electricity utilization ending request sent by the client; Controlling the power-off of the shared power box according to the power-up ending request; Generating an electricity bill according to the current electric quantity of the shared power box; and sending the electricity consumption account to the client. In one possible implementation, after the generating the electricity bill according to the current power of the shared power box, the method further includes: according to the electricity bill, settling accounts corresponding to the end user request; Judging whether the account balance of the account corresponding to the end user request is greater than 0; If yes, paying the corresponding account of the ending user request according to the account balance. In a second aspect, the present application also provides a shared electricity device, the device comprising: The receiving module is used for receiving an electricity utilization request sent by a client through scanning a bar code on a shared power box, wherein the electricity utilization request comprises