CN107566449B - Mobile power supply leasing method and system, mobile terminal, server and leasing terminal - Google Patents

Mobile power supply leasing method and system, mobile terminal, server and leasing terminal Download PDF

Info

Publication number
CN107566449B
CN107566449B CN201710641031.9A CN201710641031A CN107566449B CN 107566449 B CN107566449 B CN 107566449B CN 201710641031 A CN201710641031 A CN 201710641031A CN 107566449 B CN107566449 B CN 107566449B
Authority
CN
China
Prior art keywords
terminal
lease
leasing
mobile terminal
information
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
CN201710641031.9A
Other languages
Chinese (zh)
Other versions
CN107566449A (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.)
Beijing Sankuai Online Technology Co Ltd
Original Assignee
Beijing Sankuai Online Technology Co 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 Beijing Sankuai Online Technology Co Ltd filed Critical Beijing Sankuai Online Technology Co Ltd
Priority to CN201710641031.9A priority Critical patent/CN107566449B/en
Publication of CN107566449A publication Critical patent/CN107566449A/en
Application granted granted Critical
Publication of CN107566449B publication Critical patent/CN107566449B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The invention provides a mobile power supply leasing method, a system, a mobile terminal, a server and a leasing terminal, wherein the system comprises: the mobile terminal, the server and the leasing terminal are characterized in that the mobile terminal firstly sends a leasing request to the server, the server selects effective leasing certificates from a first leasing certificate base to send to the mobile terminal when the mobile terminal is determined to have the leasing right according to the leasing request, the mobile terminal forwards the leasing certificates to the leasing terminal, the leasing terminal matches a received leasing certificate with a second leasing certificate base, and a mobile power supply is provided under the condition that matching is successful. The mobile terminal is used as an intermediate carrier for interaction of the leasing terminal and the server, interconnection of the mobile terminal, the leasing terminal and the server is achieved, and the problem that the leasing success rate of the mobile power supply is reduced due to the fact that the leasing terminal cannot interact with the server under the condition that a network environment is poor is solved.

Description

Mobile power supply leasing method and system, mobile terminal, server and leasing terminal
Technical Field
The embodiment of the invention relates to the technical field of communication, in particular to a mobile power supply leasing method, a mobile power supply leasing system, a mobile terminal, a server and a leasing terminal.
Background
With the development of computer communication technology, mobile terminals such as mobile phones and portable computers are widely used by people, but with the diversification of application functions of the mobile terminals, the charging requirements of users on the mobile terminals are increased, and for the requirements, shared mobile power supply renting equipment appears on the market to meet the requirement that the users can charge the mobile terminals at any time.
The current shared mobile power supply leasing equipment comprises three parts: the mobile equipment logs in a background by scanning the two-dimensional code of the renting terminal, sends verification information to the mobile terminal after the cloud server verifies the renting permission of the user, sends the verification information to the renting terminal, uploads the verification information to the server for verification after receiving the verification information, and provides a mobile power supply for the user after the verification information is verified to be valid.
However, at present, the renting terminal needs to interact with the server through the network module, the operation cost is increased when the network module is arranged at the renting terminal, and the renting terminal cannot interact with the server under the condition of poor network environment, so that the lending success rate of the mobile power supply is reduced.
Disclosure of Invention
The invention provides a mobile power supply leasing method, a mobile power supply leasing system, a mobile terminal, a server and a leasing terminal, which are used for partially or completely solving the problems in the prior art.
According to a first aspect of the present invention, there is provided a mobile power supply leasing method, including:
the mobile terminal sends a lease request to the server;
the server receives the lease request sent by the mobile terminal;
when the mobile terminal is determined to have the lease right, the server selects effective lease certificates from a first lease certificate library of the server and sends the effective lease certificates to the mobile terminal;
the mobile terminal receives the lease certificate sent by the server;
the mobile terminal provides the lease voucher to a lease terminal;
the renting terminal receives the renting voucher sent by the mobile terminal;
the renting terminal matches the received renting voucher with a second renting voucher library of the renting terminal;
and under the condition that the matching is successful, the renting terminal provides a mobile power supply.
According to a second aspect of the present invention, there is provided a mobile power supply leasing method, including:
the mobile terminal sends a lease request to the server;
the mobile terminal receives a lease certificate sent by the server;
and the mobile terminal provides the lease voucher to a lease terminal.
According to a third aspect of the present invention, there is provided a mobile power supply leasing method, including:
the server receives a lease request sent by the mobile terminal;
and when the mobile terminal is determined to have the lease right, the server selects an effective lease voucher from a first lease voucher library of the server and sends the effective lease voucher to the mobile terminal.
According to a fourth aspect of the present invention, there is provided a mobile power supply leasing method, applied to a leasing terminal, the method including:
a renting terminal receives the renting voucher provided by the mobile terminal;
the leasing terminal matches the received leasing voucher with a second leasing voucher library of the leasing terminal;
and in the case of successful matching, the renting terminal provides a mobile power supply.
According to a fifth aspect of the present invention, there is provided a portable power source leasing system, the system including:
a mobile terminal, a server and a lending terminal,
the mobile terminal includes:
the first transmission module is used for sending a lease request to the server;
the first receiving module is used for receiving the lease voucher sent by the server;
the second transmission module is used for providing the lease voucher to a lease terminal;
the server includes:
the third transmission module is used for receiving a lease request sent by the mobile terminal;
the certificate processing module is used for receiving a lease request from the third transmission module and selecting an effective lease certificate from a first lease certificate library of the server when the mobile terminal is determined to have lease rights;
the fourth transmission module is used for sending the lease voucher provided by the voucher processing module to the mobile terminal;
the lending terminal comprises:
a fifth transmission module, configured to transmit the lease voucher to the mobile terminal;
the matching module is used for matching the received lease voucher with a second lease voucher library of the lease terminal;
and the mobile power supply output module is used for providing a mobile power supply under the condition of successful matching.
According to a sixth aspect of the present invention, there is provided a mobile terminal comprising:
the first transmission module is used for sending a lease request to the server;
the first receiving module is used for receiving the lease voucher sent by the server;
and the second transmission module is used for providing the lease voucher to a lease terminal.
According to a seventh aspect of the present invention, there is provided a server comprising:
the third transmission module is used for receiving a lease request sent by the mobile terminal;
the certificate processing module is used for receiving a lease request from the third transmission module and selecting an effective lease certificate from a first lease certificate library of the server when the mobile terminal is determined to have lease rights;
and the fourth transmission module is used for sending the lease voucher provided by the voucher processing module to the mobile terminal.
According to an eighth aspect of the present invention, there is provided a lending terminal including:
a fifth transmission module, configured to receive the lease voucher sent by the mobile terminal;
the matching module is used for matching the received lease voucher with a second lease voucher library of the lease terminal;
and the mobile power supply output module is used for providing a mobile power supply under the condition of successful matching.
According to a ninth aspect of the present invention, there is provided an electronic apparatus comprising:
the mobile power supply leasing method is characterized by comprising a processor, a memory and a computer program which is stored on the memory and can run on the processor, wherein the processor executes the program to realize the mobile power supply leasing method on the mobile terminal side.
According to a tenth aspect of the present invention, there is provided a readable storage medium characterized in that instructions in the storage medium, when executed by a processor of an electronic device, enable the electronic device to execute the aforementioned mobile terminal-side mobile power source leasing method.
According to an eleventh aspect of the present invention, there is provided an electronic apparatus comprising:
the system comprises a processor, a memory and a computer program which is stored on the memory and can run on the processor, and is characterized in that the processor realizes the server-side mobile power supply leasing method when executing the program.
According to a twelfth aspect of the present invention, there is provided a readable storage medium, wherein when instructions in the storage medium are executed by a processor of an electronic device, the electronic device is enabled to execute the aforementioned server-side mobile power source leasing method.
According to a thirteenth aspect of the present invention, there is provided an electronic apparatus comprising:
the portable power source leasing method comprises a processor, a memory and a computer program which is stored in the memory and can run on the processor, and is characterized in that the processor executes the program to realize the portable power source leasing method on the leasing terminal side.
According to a fourteenth aspect of the present invention, there is provided a readable storage medium characterized in that instructions in the storage medium, when executed by a processor of an electronic device, enable the electronic device to execute the aforementioned rental method of a mobile power supply on a rental terminal side.
The embodiment of the invention provides a mobile power supply leasing method, a system, a mobile terminal, a server and a leasing terminal, wherein the system comprises the following components: the mobile terminal, the server and the leasing terminal are characterized in that the mobile terminal firstly sends a leasing request to the server, the server selects effective leasing certificates from a first leasing certificate base to send to the mobile terminal when the mobile terminal is determined to have the leasing right according to the leasing request, the mobile terminal forwards the leasing certificates to the leasing terminal, the leasing terminal matches a received leasing certificate with a second leasing certificate base, and a mobile power supply is provided under the condition that matching is successful. The mobile terminal is used as an intermediate carrier for interaction between the leasing terminal and the server, so that the interconnection among the mobile terminal, the leasing terminal and the server is achieved, and the problem that the leasing success rate of the mobile power supply is reduced due to the fact that the leasing terminal and the server cannot interact under the condition of poor network environment is solved.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings required to be used in the description of the embodiments of the present invention will be briefly introduced below, and it is obvious that the drawings in the description below are only some embodiments of the present invention, and it is obvious for those skilled in the art that other drawings can be obtained according to the drawings without inventive labor.
Fig. 1 is a schematic structural diagram of a mobile power leasing system according to an embodiment of the present invention;
fig. 2 is a flowchart illustrating specific steps of a method for leasing a mobile power source according to a system architecture of the present invention;
fig. 3 is a flowchart illustrating specific steps of another method for leasing a mobile power supply according to a system architecture of the present invention;
fig. 4 is a flowchart illustrating specific steps of a method for updating a rental voucher library in a system architecture according to an embodiment of the present invention;
fig. 5 is a schematic diagram of a return process of a mobile power supply according to an embodiment of the present invention;
fig. 6 and 7 are examples of the lending application lending interface according to the embodiment of the present invention;
fig. 8 is a flowchart illustrating steps of a method for leasing a mobile power source at a mobile terminal according to an embodiment of the present invention;
fig. 9 is a flowchart illustrating specific steps of a method for leasing a mobile power source at a mobile terminal according to an embodiment of the present invention;
fig. 10 is a flowchart illustrating steps of a method for leasing a mobile power supply on a server side according to an embodiment of the present invention;
fig. 11 is a flowchart illustrating specific steps of a method for leasing a mobile power supply on a server side according to an embodiment of the present invention;
fig. 12 is a flowchart illustrating steps of a method for leasing a portable power source at a leasing terminal according to an embodiment of the present invention;
fig. 13 is a flowchart illustrating specific steps of a method for leasing a portable power source at a leasing terminal according to an embodiment of the present invention;
fig. 14 is a detailed structural diagram of a rental system of a portable power source according to an embodiment of the present invention;
fig. 15 is a detailed structural diagram of a mobile terminal side according to an embodiment of the present invention;
fig. 16 is a specific structural diagram of a server side according to an embodiment of the present invention;
fig. 17 is a specific structural diagram of a rental terminal side according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
In an embodiment of the present invention, a method for leasing a portable power source provided in an embodiment of the present invention is applied to a system for leasing a portable power source, and with reference to fig. 1, the system includes: the system comprises a mobile terminal 10, a server 20 and a plurality of leasing terminals 30, wherein the mobile terminal 10 can be a smart phone, a computer, a multimedia player, an electronic reader, a wearable device and the like; the server 20 may be a cloud server, which is a simple, efficient, safe, reliable, and flexible computing service with processing capability, and its management mode is simpler and more efficient than that of a physical server. The leasing terminal 30 may be a mobile power supply leasing device integrating a plurality of mobile power supplies, and the leasing terminal 30 may provide one mobile power supply to the user in case of verifying that the leasing voucher is valid by purchasing the leasing voucher to the server 20 through the mobile terminal 10 in the presence of a wireless network and transmitting the leasing voucher to the leasing terminal 30.
Example one
The mobile power source leasing method is described in the embodiment of the application from a system architecture level.
Referring to fig. 2, a flow chart of steps of a mobile power source leasing system level method is shown, including:
step 101, the mobile terminal sends a lease request to a server.
At present, a lease terminal is usually provided with a network module, such as a WIFI (Wireless Fidelity, Wireless local area network based on IEEE 802.11 protocol family standard) module, a wired network module, or a mobile network module, and firstly, the operation cost of a merchant is increased by the network module. In addition, the rental terminal of the portable power source is generally disposed in a public indoor environment such as: in places such as supermarkets, shopping malls, railway stations and the like, because wireless network erection of some indoor places is imperfect, signal blind areas often exist in the environments, interaction with a server cannot be completed due to poor network environments at leasing terminals arranged in the signal blind areas, and finally mobile power supplies cannot be lent out, so that user experience is poor.
Therefore, in the embodiment of the present invention, for the current mobile terminal, a short-range Communication module such as a bluetooth module or a Near Field Communication (NFC) module is usually provided as a first Communication module of the mobile terminal, and in addition, an original network module may be removed from the rented terminal, a short-range Communication module interacting with the mobile terminal is correspondingly added as a second Communication module of the rented terminal, and the interconnection between the mobile terminal and the rented terminal is achieved through the interaction between the first Communication module and the second Communication module, so that the mobile terminal can be an intermediate carrier for the interaction between the rented terminal and the server, the mobile terminal interacts with the server in an environment with better wireless network signals to obtain rented credentials, and then the user carries the mobile terminal to the vicinity of the rented terminal (possibly, the wireless network signals are not good), at this time, the mobile terminal interacts with the rented terminal by using the short-range wireless Communication module, the mobile power supply is lent by virtue of the leasing voucher, in addition, the successful lending information is stored in the mobile terminal, and when the mobile terminal is shifted in an environment with better wireless network signals, the successful lending information is forwarded to the server, so that the purpose of leasing the mobile power supply under the condition of poorer wireless network environment is achieved.
In this step, when the user needs to lease the mobile power supply, first, for the current position of the mobile terminal, under the condition that the wireless network signal of the current position is determined to be good, a request for acquiring the lease voucher is made to the server, and the mobile terminal can generate a lease request for acquiring the lease voucher and send the lease request to the server.
Further, the lease request includes identity information of the mobile terminal, and the identity information of the mobile terminal included in the lease request has content capable of determining the identity information of the mobile terminal, for example, when the mobile terminal is a mobile phone, the identity information includes a mobile phone number, and through the mobile phone number, account information, such as an account name, an account balance and the like, corresponding to the mobile power lease application for the mobile phone number can be found in the server.
Of course, the identity information of the mobile terminal may be other information, for example, after the user authorizes an account of some application a to the rented application, the identity information of the mobile terminal may be account information of the application a, and the like. The embodiments of the present application are not limited thereto.
And 102, the server receives the lease request sent by the mobile terminal.
In the embodiment of the invention, the server can store account information of all users for the mobile power supply lease application, and when the server receives a lease request sent by the mobile terminal, the server searches the account information, such as an account name, an account balance and the like, of the mobile power supply lease application corresponding to the mobile phone number in the server according to the identity information of the mobile terminal included in the lease request.
And 103, when the mobile terminal is determined to have the lease right, the server selects an effective lease voucher from a first lease voucher library of the server and sends the effective lease voucher to the mobile terminal.
In the embodiment of the invention, the user leasing authority is verified through a preset rule according to the mobile terminal identity information included in the leasing request.
Specifically, the preset rule may include determining whether an account balance of the portable power source leasing application corresponding to the identity information is greater than a preset value.
If the number of the lease authority of the mobile terminal is larger than the number of the lease authority of the mobile terminal, the effective lease voucher can be selected from the first lease voucher library stored in the server and sent to the mobile terminal.
Specifically, the lease credential may be a secret key, and the secret key may specifically include two parts, where the first part is identity information of the mobile terminal, such as: a cell phone number. The second part is a section of ciphertext encrypted according to a preset encryption rule, the ciphertext is unique and can be decrypted by the leasing terminal through the same rule, the packaging mode of the key can be a text mode or a file mode, and the leasing certificate can be used as a 'blank strip' or a 'receipt' in an off-line state so that a user can lease the mobile power supply to the leasing terminal in the off-line state according to the leasing certificate. Or, the lease voucher can also be a two-dimensional code picture for the lease terminal to scan and verify according to the scanning result.
Optionally, the valid lease voucher is an unused lease voucher in the first lease voucher repository.
Furthermore, a first lease voucher library can be stored in the database of the server, and since the lease terminal sets a corresponding second lease voucher library for the lease terminal when leaving the factory, after the setting is completed, the operator can upload the second lease voucher library to the server as the first lease voucher library stored in the database of the server, the lease vouchers stored in the first lease voucher library and the second lease voucher library are the same, and after the server sends out a lease voucher, the server can add a used tag to the lease voucher in the first lease voucher library.
It should be noted that, when the mobile power supply returns, the server may delete the used tag added to the corresponding lease voucher when receiving the successful return information, or, when the inventory of the lease voucher in the first lease voucher library is not enough to meet the daily operation or the inventory needs to be updated, the server may receive the update package of the lease voucher library for updating, and send the update package to the lease terminal through the mobile terminal, so that the lease terminal performs corresponding updating.
If the account balance is less than the preset value, information for reminding the user of carrying out account recharging can be displayed in the mobile power supply leasing application interface, and if the balance is insufficient, the user needs to recharge.
It should be noted that, for the shared lease application of the present invention, the user is required to recharge the deposit after registering the account, so as to ensure that the merchant of the shared lease application achieves the purpose of making a profit, therefore, the preset rule may further include determining whether the mobile power lease application corresponding to the identity information is recharged with the deposit, if so, the next lease process may be performed, if not, information prompting the user to recharge the deposit may be displayed in the mobile power lease application interface, such as "recharge deposit without recharging, please recharge", and a recharge button is provided in the interface, and after the user clicks the recharge button, the recharge process may be performed.
And step 104, the mobile terminal receives the lease voucher sent by the server.
In the embodiment of the invention, when the mobile terminal receives the lease certificate returned by the server, the mobile terminal can judge whether the first communication module of the mobile terminal is started or not, if not, the mobile terminal reminds the user to start or inquires whether the user grants the use authority of the first communication module or not, and if the user selects yes, the mobile terminal can call the interface function of the first communication module to automatically start the first wireless communication module.
Furthermore, the lease voucher is set with an effective time, the user needs to complete lease within the effective time, and the lease voucher is invalidated after being out of date, the effective time is determined according to the system time of the mobile terminal, the mobile terminal starts timing after receiving the lease voucher, and if the effective time is reached, the mobile power supply lease application deletes the lease voucher.
Step 105, the mobile terminal provides the lease voucher to a lease terminal.
Specifically, the mobile terminal can provide the lease voucher to the lease terminal through the first communication module of the mobile terminal, and because in the application scenario of the present invention, the user is required to lease the mobile power supply after approaching the lease terminal (the distance between the user and the lease terminal is required to be within a range of 1 meter, which is also a preferred use range of the bluetooth module), the mobile terminal can send the secret key through the first communication module with a higher security level, so as to avoid that the secret key is intercepted by a third party due to the use of conventional cellular mobile communication, so that the secret key is reused by the third party, which causes property loss of the user and the merchant.
Before step 105, the mobile terminal needs to perform scanning of nearby rented terminals through the first communication module, and after a rented terminal is determined, the mobile terminal is in communication connection with the rented terminal, so that the mobile terminal can perform information interaction with the rented terminal.
And 106, the lending terminal receives the lending certificate sent by the mobile terminal.
In the embodiment of the present invention, the lease terminal may also be equipped with a second communication module corresponding to the mobile terminal, and is configured to receive a lease voucher sent by the mobile terminal.
In steps 105 and 106, the first communication module and the second communication module may be short-range wireless communication modules, such as a bluetooth module, an NFC communication module, an Ultra Wideband (UWB) module, a Wifi module, a Zigbee (Zigbee is a low power consumption local area network protocol based on the ieee802.15.4 standard, according to the international standard, the Zigbee technology is a short-range, low power consumption wireless communication technology), and the like. The NFC communication module IS a short-range high-frequency radio technology, and at present, NFC short-range wireless communication has passed ISO/IEC IS 18092 international standard, ECMA-340 standard, and ETSI TS 102190 standard. NFC adopts two active and passive reading modes, and an android system is a mobile terminal system widely applied in the current market, and gives a user a relatively open permission. At present, mobile payment services are developed vigorously, an NFC module is usually built in a mobile terminal applying an android system, so as to support the mobile terminal to perform processing of services requiring security guarantee, such as mobile phone payment, bank card recharging, and the like.
Of course, the first communication module and the second communication module in this embodiment may also be other modules having a short-range wireless communication function, and this application does not limit this. The system may also be other systems, such as an IOS system (apple system), and the like, and the embodiments of the present invention are not limited thereto.
And step 107, the leasing terminal matches the received leasing voucher with a second leasing voucher library of the leasing terminal.
And step 108, under the condition that the matching is successful, the renting terminal provides a mobile power supply.
In the embodiment of the present invention, in step 107 and step 108, a second lease voucher repository is set for the lease terminal at the time of factory shipment, and after the setting is completed, the operator further uploads the second lease voucher repository to the server as the first lease voucher repository stored in the server database, so that the contents in the second lease voucher repository and the first lease voucher repository are the same.
And after the leasing terminal receives the leasing certificate sent by the mobile terminal, matching the leasing certificate with the leasing certificate stored in the second leasing certificate library, and if the matching is successful, determining that the mobile power supply can be leased.
In summary, the embodiment of the invention provides a mobile power supply leasing method, which includes that a mobile terminal sends a leasing request to a server, the server selects an effective lease certificate from a first lease certificate base to send to the mobile terminal when the mobile terminal is determined to have a lease right according to the leasing request, the mobile terminal forwards the lease certificate to the leasing terminal, and the leasing terminal matches a received lease certificate with a second lease certificate base and provides a mobile power supply under the condition that matching is successful. The mobile terminal is used as an intermediate carrier for interaction between the leasing terminal and the server, so that the interconnection among the mobile terminal, the leasing terminal and the server is achieved, and the problem that the leasing success rate of the mobile power supply is reduced due to the fact that the leasing terminal and the server cannot interact under the condition of poor network environment is solved.
Example two
The preferred method for leasing a mobile power supply is described in the embodiments of the present application from the level of the system architecture.
Referring to fig. 3, a flowchart illustrating specific steps of a renting method for a mobile power supply is shown.
Step 201, the mobile terminal sends a lease request to the server.
In step 202, the server receives a lease request sent by the mobile terminal.
Step 203, when the mobile terminal is determined to have the lease right, the server selects an effective lease voucher from the first lease voucher library of the server and sends the effective lease voucher to the mobile terminal.
Optionally, step 203 may further include: sub-step 2031.
In substep 2031, the server sends a recharging instruction to the mobile terminal for the identity information of the mobile terminal included in the lease request if the balance corresponding to the identity information is less than a preset threshold, and selects an effective lease voucher from the first lease voucher library of the server and sends the valid lease voucher to the mobile terminal if the balance corresponding to the identity information is greater than or equal to the preset threshold.
In the embodiment of the invention, the user authority is verified through a preset rule according to the mobile terminal identity information included in the lease request.
Specifically, the preset rule may include that whether the account balance of the mobile power supply lease application corresponding to the identity information is greater than or equal to a preset value is judged, and if the account balance is greater than or equal to the preset value, an effective lease voucher is selected from a first lease voucher library of the server and sent to the mobile terminal. If the account balance is less than the preset value, information for reminding the user of account recharging can be displayed in the mobile power supply leasing application interface, and if the balance is insufficient, the user needs to recharge the account.
In embodiments of the present invention, the lease credential returned by the server may take a variety of forms. For example, the lease voucher may be electronic ticket information, which may be understood as an encrypted secret key, the server selects an effective electronic ticket information from its lease voucher library and returns the effective electronic ticket information to the mobile terminal, and the mobile terminal may send the electronic ticket information to the lease terminal through a subsequent short-distance communication module. For example, the lease voucher can also be graphical coding information, such as a two-dimensional code, a bar code and the like, the server can select effective graphical coding information from a lease voucher library and return the effective graphical coding information to the mobile terminal, then the mobile terminal can display corresponding graphics in an interface according to the graphical coding information, a user can control the interface of the mobile terminal to scan an area provided by a scanning module of the lease terminal, and the lease terminal scans the graphical coding information.
And step 204, the mobile terminal receives the lease voucher sent by the server.
In step 205, the mobile terminal determines a rented terminal whose distance from the mobile terminal is less than or equal to a preset distance.
In the embodiment of the present invention, the mobile terminal may match, for example, according to the longitude and latitude of the current location of the mobile terminal, the rented terminals whose distance from the mobile terminal is less than the preset distance, for example, match all the rented terminals within 100 meters from the mobile terminal. In this way, rentable terminals within a suitable range can be provided for the user to select.
Further, the mobile terminal can acquire the longitude and latitude data of the position of the renting terminal through the server, and according to the data, the longitude and latitude of the renting terminal, of which the distance from the current mobile terminal is smaller than the preset distance, are calculated. In addition, when the mobile power supply leasing application is downloaded and installed, the mobile terminal can acquire the longitude and latitude data of the position of the leasing terminal through a leasing terminal data packet included in the mobile power supply leasing application installation file, so that the longitude and latitude calculation is carried out on the leasing terminal of which the distance from the current mobile terminal is smaller than the preset distance.
For example, referring to fig. 4, in a map interface of a portable power source leasing application of a mobile terminal, a user can match four leasing terminals that meet requirements, namely, a leasing terminal a, a leasing terminal b, a leasing terminal c and a leasing terminal d, by inputting the leasing terminals for searching, wherein the leasing terminal c is the leasing terminal closest to the user.
In addition, under the condition that the current wireless network state is poor, the mobile terminal can also search nearby rented terminals through the included first communication module, and the searched rented terminals are displayed in an interface of the mobile power supply renting application.
Optionally, step 205 may further include: substep 2051, substep 2052, substep 2053.
In sub-step 2051, the mobile terminal sends the current location information of the mobile terminal to the server.
In this step, the mobile terminal may determine current location information of a location where the mobile terminal is currently located through a self-contained positioning module. For example, the Positioning module may be a Global Positioning module (GPS), a beidou Positioning module, and the position information may be latitude and longitude, etc.
And when the mobile terminal finishes positioning and the wireless network signal of the current position of the mobile terminal is determined to be good, the mobile terminal sends the current position information of the mobile terminal to the server.
In sub-step 2052, the server determines, according to the location information of each rented terminal and the current location information of the mobile terminal, the rented terminal whose distance from the mobile terminal is less than or equal to a preset distance.
In the embodiment of the present invention, when each rental terminal leaves the factory, the installation location of the rental terminal is reported to the server, for example: in the positioning module of the mobile power supply leasing application, the server can judge the distance between the mobile terminal and each leasing terminal according to the factory installation position of the leasing terminal and the current position information of the mobile terminal, and determine the leasing terminal of which the distance from the mobile terminal is smaller than or equal to the preset distance. For example: and setting the preset distance to be 1 kilometer, and obtaining information of all the rented terminals within a range of 10 kilometers from the user by the server through calculation so that the user can select the rented terminals to be rented according to the information.
And a substep 2053, the server sends the information of the rented terminal, the distance between which and the mobile terminal is less than or equal to the preset distance, to the mobile terminal.
And step 206, the mobile terminal displays the rented terminal with the distance smaller than or equal to the preset distance from the mobile terminal in the interface of the mobile power supply renting application.
In the embodiment of the present invention, referring to fig. 4, the mobile terminal may display, in the interface of the mobile power supply lease application, a lease terminal whose distance from the mobile terminal is less than a preset distance in a map interface manner.
Or, when the wireless network signal of the current position of the mobile terminal is poor, the rented terminal can be displayed in a form of displaying the ID (identification tag) of the rented terminal through a list.
And step 207, the mobile terminal receives a selection operation for the rented terminal displayed in the mobile power supply renting application interface, and determines the rented terminal for receiving the rented certificate.
In this step, the user may perform a selecting operation on the lease terminal displayed in the interface of the portable power source lease application shown in fig. 4 to establish a connection with the communication module between the selected lease terminals, or perform a selecting operation on the lease terminals displayed in the list to establish a connection with the communication module between the selected lease terminals.
Further, after the user selects a lease terminal, the portable power source lease application enters a lease terminal detail interface shown in fig. 6 to display detailed information of the selected lease terminal, for example, referring to fig. 6, after the user selects a lease terminal c, the lease terminal c is displayed to include 5 portable power sources on the lease terminal detail interface, wherein the portable power source 1, the portable power source 3 and the portable power source 5 are lent, fifty percent of the residual electric quantity of the un-lent portable power source 2 and eighty percent of the residual electric quantity of the un-lent portable power source 4 are displayed, and after the user knows the lease terminal details, the user can perform specific portable power source selection operation according to the requirements.
It should be noted that, if a user needs to lease a mobile power supply, the user needs to be close to a lease terminal corresponding to the mobile power supply to reach a distance range in which the short-range communication modules can be interconnected, and if the user selects one lease terminal but the distance between the user and the lease terminal is greater than the distance range, a prompt message can be displayed in a mobile power supply lease application interface of the mobile terminal at this time, and the prompt message is used for prompting the user to be close to the selected lease terminal.
The mobile terminal provides the lease voucher to the lease terminal, step 208.
Optionally, step 208 may also include sub-step 2081, and/or sub-step 2082.
Substep 2081, the lending voucher comprises electronic bill information, the mobile terminal comprises a short-range wireless communication module, and the mobile terminal provides the electronic bill information to the lending terminal through the short-range wireless communication module of the mobile terminal.
In this step, when the lease voucher is electronic ticket information, the electronic ticket information may be a secret key, and the secret key may specifically include two parts, where the first part is identity information of the mobile terminal, such as: a cell phone number. The second part is a section of ciphertext encrypted according to a preset encryption rule, the ciphertext is unique and can be decrypted by the leasing terminal through the same rule, the packaging mode of the secret key can be a text mode or a file mode, and the electronic bill information can be used as a 'blank strip' or 'receipt' in an off-line state so that a user can lease the mobile power supply to the leasing terminal in the off-line state according to the electronic bill information.
Further, the mobile terminal includes a short-range wireless communication module, and the description of the short-range wireless communication module may refer to step 106 in the first embodiment, which is not described herein again.
Substep 2082, the lease voucher comprises graphic coding information, the mobile terminal comprises a display module, and the mobile terminal displays the graphic coding information to the lease terminal through the display module of the mobile terminal.
In this step, the rental voucher includes graphical encoded information, which may be encrypted graphical encoded information. For example, a two-dimensional code or other encrypted graphic coding information is stored in the second lease certificate base of the lease terminal, and the lease terminal can determine whether to lease the mobile power supply by matching the information obtained by scanning the graphic coding information with the information in the second lease certificate base of the lease terminal.
Further, the graphics coding information may be set to an effective time, and if the effective time is exceeded, the graphics coding information may not be used, which is specifically implemented as follows: when the server selects effective graphic coding information from the first lease voucher library, a time information stamp corresponding to the current time is added to the graphic coding information, when the lease terminal scans the graphic coding information to obtain the time stamp, whether the difference between the time corresponding to the time stamp and the system time of the current lease terminal exceeds the preset effective time or not is judged, and if the difference exceeds the preset effective time, the mobile power supply cannot be lent.
When the lease voucher is the graphic coding information, the first communication module of the mobile terminal can be a display module, and the display module is connected with a display screen of the mobile terminal, so that the mobile terminal displays the graphic coding information through the display screen, and a scanning module of the lease terminal can scan the graphic coding information.
Step 209, the mobile terminal deletes the lease voucher sent by the server.
In the embodiment of the invention, after the lease is successful, the mobile power supply lease application of the mobile terminal deletes the lease voucher from the memory, so that the situation that the user repeatedly uses the same lease voucher to lease the mobile power supply free of charge is avoided.
When the lease voucher is the electronic bill information, the text or the file corresponding to the electronic bill information can be deleted in the mobile terminal.
When the lease certificate is the graphic coding information, the picture file corresponding to the graphic coding information can be deleted in the mobile terminal.
In step 210, the lending terminal receives the lending certificate provided by the mobile terminal.
Optionally, step 210 may further include substeps 2101 and 2102.
In substep 2101, the rental voucher includes electronic ticket information, the rental terminal includes a short-range wireless communication module, and the rental terminal receives the electronic ticket information sent by the mobile terminal through the short-range wireless communication module of the rental terminal.
In this embodiment of the present invention, if the lease voucher includes electronic ticket information and the lease terminal includes a short-range wireless communication module, the detailed description that the lease terminal receives the electronic ticket information sent by the mobile terminal through the short-range wireless communication module of the lease terminal may refer to the description of step 106 in the first embodiment, which is not described herein again.
And a substep 2102, wherein the lease voucher comprises graphic coding information, a lease terminal comprises a scanning module, and the lease terminal scans the graphic coding information provided by the mobile terminal through the scanning module of the lease terminal.
In the embodiment of the invention, if the lease voucher comprises the graphic coding information and the lease terminal comprises the scanning module, the lease terminal can scan the graphic coding information through the scanning module according to the graphic coding information provided by the display screen of the mobile terminal to obtain the information corresponding to the graphic coding information. For example, the scanning module may be a camera installed in the rental terminal, and the camera can scan graphical coding information such as a two-dimensional code.
And step 211, the leasing terminal matches the received leasing voucher with a second leasing voucher library of the leasing terminal.
And 212, in the case of successful matching, providing the mobile power supply by the renting terminal.
In the step, when the lease voucher graph coding information is stored, the first lease voucher library of the server and the second lease voucher library of the lease terminal both store preset graph coding information, the graph coding information obtained by scanning the graph coding information displayed by the mobile terminal through the lease terminal is matched with the graph coding information in the second lease voucher library of the lease terminal, and if the matching is successful, the mobile power supply can be lent.
When the electronic bill information of the lease certificate is obtained, the first lease certificate base of the server and the second lease certificate base of the lease terminal store preset electronic bill information, the electronic bill information obtained by the lease terminal through the short-range wireless communication module is matched with the electronic bill information in the second lease certificate base of the lease terminal, and if the matching is successful, the mobile power supply can be lent.
Optionally, step 212 may further include: substep 2121, substep 2122.
In case the matching is successful, the leasing terminal monitors the electric quantity value of each un-borrowed mobile power supply, sub-step 2121.
In the step, the leasing terminal can monitor the electric quantity values of all un-lent mobile power supplies in real time and can send the electric quantity value information to the mobile terminal so that the mobile terminal can display the electric quantity information in an interface of a mobile power supply leasing application and provide the electric quantity information of the leasable mobile power supplies for users.
And a sub-step 2122 of providing the mobile power supply with the electric quantity value reaching the qualified value in the un-borrowed mobile power supply by the lending terminal.
In this step, preferably, the lending terminal may provide a power supply that reaches a value above a qualified value among the undelended portable power supplies, and further may provide a portable power supply that has a maximum electric quantity value among the portable power supplies that reach the value above the qualified value. It should be noted that, the lease terminal may also receive a selection instruction of the user for a specific mobile power supply according to the needs of the user in fig. 6, so as to lend the mobile power supply selected by the user.
In practical applications, the qualified value may be set according to actual requirements, for example, the qualified value is 80% of the full charge full value.
After step 2122, the renting terminal may further monitor whether the provided mobile power is taken away by the user, and if the mobile power is not taken away within the preset time, the renting terminal withdraws the mobile power, so that the security of the renting terminal may be improved.
In step 213, the lending terminal sends the first successful lending information to the mobile terminal.
And after successful lease, the lease terminal sends the first successful lease information to the mobile terminal, and the user is informed of successful lease.
Step 214, when the mobile terminal receives the first successful lease information, the mobile terminal records the current first time information.
In this step, after the mobile terminal receives the first successful lease information, the mobile power lease application of the mobile terminal considers that the lease is successful, and at this time, the current first time information T1 is recorded for charging when the mobile power returns.
In step 215, the mobile terminal generates second successful lease information including the first time information.
And step 216, the mobile terminal sends the second successful lease information to the server.
Further, referring to fig. 5, a schematic diagram of a return process of a mobile power supply provided by an embodiment of the present invention is shown, which specifically includes the following steps:
a1, the mobile terminal receives or generates a return instruction for a rented terminal.
Specifically, in this step, a rented terminal whose distance from the mobile terminal is less than or equal to a preset distance is determined through the mobile terminal. And then the mobile terminal displays the rented terminals with the distance smaller than or equal to the preset distance from the mobile terminal in an interface or a list of the rented application of the mobile power supply.
Further, the mobile terminal receives a selection operation for a rented terminal displayed in the interface of the portable power source renting application, and the user may perform a selection operation on the rented terminal displayed in the interface or the list of the portable power source renting application to select a rented terminal that the user wishes to go to return the portable power source, and generate a return instruction, for example, the detailed description herein may refer to steps 201 to 202.
And A2, the mobile terminal communicates with the renting terminal through the short-distance communication module according to the return instruction so as to prompt the user to return the mobile terminal.
In this step, according to the return instruction. The mobile terminal establishes connection with the communication module between the selected lease terminals, for example, bluetooth connection, so that the mobile terminal establishes communication connection with the lease terminal returning the mobile power supply to perform data interaction, and at the moment, the mobile power supply lease application of the mobile terminal reminds a user to insert the mobile power supply into a slot position of the lease terminal to return.
For example, if the rental terminal and the mobile terminal are connected and communicated through the bluetooth module, the rental terminal continuously broadcasts to the outside, and the mobile terminal can be connected and communicated with the rental terminal according to the selection of the user after searching the broadcast of the rental terminal. In practical application, after the mobile terminal is connected with the renting terminal, an interconnection result instruction is reported to the server. If the mobile terminal is successfully connected with the renting terminal, the interconnection result instruction is a connection success instruction, and the server sends a return instruction to the mobile terminal at the moment.
In addition, the mobile terminal can also inquire the address of the renting terminal through the server through a wireless network and display the address on an interface of the mobile power supply renting application, so that a user can select the displayed renting terminal and determine the returned renting terminal.
And A3, when the slot position of the lease terminal is inserted into a mobile power supply, the lease terminal sends successful return information to the mobile terminal.
In the embodiment of the invention, the mobile power supplies of the lease terminals are respectively arranged on the corresponding slot positions, the slot positions can be solenoid valve charging sockets, when the mobile power supplies are inserted into the corresponding slot positions, the solenoid valves of the slot positions work, the mobile power supplies are fixed through magnetic force to finish returning, and at the moment, the lease terminals record returning time information t 4.
A4, the mobile terminal receives the successful return information sent by the renting terminal.
In this step, after receiving the successful return information sent by the leasing terminal, the mobile terminal displays the successful return information on an interface of the mobile power supply leasing application to prompt the user that the return is successful.
A5, the lending terminal sends the successful return information to the server.
A6, the server receives the successful return information sent by the lease terminal.
Therefore, according to the lending time information t3 in the above step 222 and the returning time information t4 in the step A3, the server can calculate the time taken for lending the mobile power supply and returning the mobile power supply according to t3 and t4 and perform billing according to the time. When the vacant slot position of the renting terminal is recorded to be inserted into the mobile power supply, the mobile power supply can be considered to be returned, and the server receives the successful return information and backups and saves the information to serve as the certificate of the renting.
It should be noted that, in practical applications, a user may also directly insert a mobile power supply into a socket of a certain lease terminal for returning, at this time, the lease terminal may upload the identity information of the mobile power supply to the server, and the server determines that the mobile power supply is returned according to the pre-recorded correspondence relationship between the identity information of the mobile power supply leased by the ID of the user, and then synchronizes data to the lease terminal. The server can also send successful returning information to the mobile terminal corresponding to the user ID to inform the user that the returning is successful.
In the step, before sending the second successful lease information to the server, the mobile terminal judges whether the wireless network signal of the current position is available or not, if the wireless network signal is available, the second successful lease information including the first time information is sent to the server, if the wireless network signal is unavailable, the user is prompted to go to the position with good network signals on an interface of the mobile power supply lease application, in addition, in order to optimize user experience, the user can not be prompted to go to the position with good network signals, but when the user goes to the position with good network signals, the second successful lease information is automatically sent to the server through the mobile power supply lease application of the mobile terminal for synchronization.
In the embodiment of the invention, when the wireless network signal is not good, the user needs to spend time walking to a place with good wireless network signal to send the second successful lease information, and the server may not accurately borrow time at the moment of receiving the second successful lease information, so the server takes the first time information recorded when the mobile terminal is borrowed and included by the second successful lease information as the starting point of the charging duration, and can calculate the charging duration more accurately.
And step 217, the server receives the second successful lease information sent by the mobile terminal.
In this step, the server receives the second successful lease information and then backs up the information to be used as a certificate for the lease.
And step 218, when the slot position of the renting terminal is inserted into the mobile power supply, the renting terminal records the current second time information.
In the embodiment of the invention, the mobile power supplies of the lease terminals are respectively arranged on the corresponding slot positions, the slot positions can be solenoid valve charging sockets, when the mobile power supplies are inserted into the corresponding slot positions, the solenoid valves of the slot positions work, the mobile power supplies are fixed through magnetic force, return is completed, and at the moment, the lease terminals record the second time information T2.
Therefore, the first and second successful lease information includes first time information, which may be the time T1 recorded when the server receives the lease request after receiving the lease request in step 214, so that the server can calculate the time taken for borrowing and returning the mobile power supply according to T1 and T2 and perform charging according to the time. When the vacant slot position of the rented terminal records that the mobile power supply is inserted, the mobile power supply can be considered to be returned.
Further, before the slot of the rented terminal is inserted into the mobile power supply, the mobile terminal may further perform the operations of steps 205 to 207.
Specifically, a renting terminal, the distance between which and the mobile terminal is less than or equal to a preset distance, is determined through the mobile terminal. And then the mobile terminal displays the rented terminal with the distance smaller than or equal to the preset distance from the mobile terminal in an interface or a list of the mobile power supply renting application.
Further, the mobile terminal receives a selection operation for a lease terminal displayed in the mobile power supply lease application interface, and a user can perform a selection operation on the interface of the mobile power supply lease application or the lease terminal displayed in the list to select a lease terminal which the user wishes to go to return the mobile power supply, and establish a connection, such as a bluetooth connection, of a communication module between the mobile terminal and the selected lease terminal, so that the mobile terminal and the lease terminal returning the mobile power supply establish a communication connection to perform data interaction, and at this time, the mobile power supply lease application of the mobile terminal reminds the user to insert the mobile power supply into a slot of the lease terminal for returning.
In step 219, the lending terminal generates successful return information including the second time information.
And step 220, the renting terminal sends the successful return information to the mobile terminal.
In the embodiment of the invention, because the renting terminal and the server cannot be directly interacted, the renting terminal needs to send the successful return information to the sub-mobile terminal first, and then the mobile terminal forwards the information to the server.
Step 221, the mobile terminal receives the successful return information.
In step 222, the mobile terminal sends the successful return information to the server.
In step 223, the server receives the successful return information sent by the mobile terminal.
In this step, the server receives the successful return information and then performs backup storage on the information to serve as a certificate for this lease.
Step 224, the server calculates the lease duration according to the first time information and the second time information.
In the step, the server extracts first time information T1 and second time information T2 according to the received second successful lease information and successful return information, calculates lease time T2-T1 used for lending and returning the mobile power supply according to T1 and T2, and charges according to the lease time.
And step 225, the server generates fee deduction information according to the lease duration.
For example, assume that the rental period T2-T1 is 10 hours, and the amount spent for this rental is obtained by multiplying the rental amount by 1 dollar per hour.
In step 226, the server sends the deduction information to the mobile terminal.
And 227, the mobile terminal receives the fee deduction information sent by the server.
In this step, the mobile terminal may display the fee deduction information in the mobile power lease application to prompt the user to perform a fee payment operation. For example, "this lease consumes 10 Yuan, please select the payment method"
And step 228, according to the fee deduction information, the mobile terminal performs fee deduction operation.
In this step, the user can carry out fee deduction operation according to a preset payment mode or a selected payment mode.
Referring to fig. 7, the embodiment of the present invention further includes a method for updating a rental voucher library, which specifically includes the following steps:
step a1, the server obtains the lease voucher library update package.
In the embodiment of the present invention, when the inventory of the rental certificates in the first rental certificate repository is not enough to meet daily operations or the inventory needs to be updated, the server may receive the rental certificate repository update package for updating, for example, by a maintainer uploading the rental certificate repository update package to the server, or the server downloading the rental certificate repository update package from a background operation server.
Step a2, the server updates the first lease voucher repository of the server according to the lease voucher repository update package.
In the step, after receiving the lease voucher library update package, the server decompresses the lease voucher library update package, and replaces the file in the original first lease voucher library with the decompressed file, thereby completing the update.
Step A3, the server sends the lease voucher library update package to the mobile terminal.
Step A4, the mobile terminal receives the lease voucher library updating package sent by the server.
Step A5, the mobile terminal sends the lease voucher library updating package to the lease terminal.
In the embodiment of the invention, if the server needs to complete the updating of the lease voucher library of the server and the lease terminal, a user who is leasing the mobile power supply can be selected, and the server sends the lease voucher library updating package and the lease voucher to the user together, so that when the user approaches the lease terminal, the mobile power supply lease application of the mobile terminal calls a lending port of the communication module at a background, and sends the lease voucher library updating package to the lease terminal for updating.
And step A6, the lease terminal receives the lease voucher library updating package sent by the mobile terminal.
And step A7, updating the second lease voucher library of the lease terminal by the lease terminal according to the lease voucher library update package.
In the step, after receiving the lease voucher library update package, the lease voucher library update package is decompressed, and the decompressed file replaces the file in the original second lease voucher library to complete the update.
In summary, the embodiment of the present invention provides a method for leasing a mobile power supply, including that a mobile terminal sends a lease request to a server, the server selects an effective lease voucher from a first lease voucher library to send to the mobile terminal when determining that the mobile terminal has a lease right according to the lease request, the mobile terminal forwards the lease voucher to the lease terminal, the lease terminal matches a received lease voucher with a second lease voucher library, and the mobile power supply is provided when the matching is successful. The mobile terminal is used as an intermediate carrier for interaction between the leasing terminal and the server, so that the interconnection among the mobile terminal, the leasing terminal and the server is achieved, and the problem that the leasing success rate of the mobile power supply is reduced due to the fact that the leasing terminal and the server cannot interact under the condition of poor network environment is solved.
EXAMPLE III
The mobile power supply leasing method is described in the embodiment of the application from the mobile terminal side.
Referring to fig. 8, a flowchart of a mobile power renting method applied to a mobile terminal is shown, which is described in detail as follows.
Step 301, the mobile terminal sends a lease request to the server.
Step 302, the mobile terminal receives the lease voucher sent by the server.
Step 303, the mobile terminal provides the lease voucher to a lease terminal.
In the embodiment of the present invention, the steps 301 to 303 may specifically refer to the description in the first embodiment, and are not described herein again.
In summary, the embodiment of the invention provides a mobile power supply leasing method, which includes that a mobile terminal sends a leasing request to a server, the server selects an effective lease certificate from a first lease certificate base to send to the mobile terminal when the mobile terminal is determined to have a lease right according to the leasing request, the mobile terminal forwards the lease certificate to the leasing terminal, and the leasing terminal matches a received lease certificate with a second lease certificate base and provides a mobile power supply under the condition that matching is successful. The mobile terminal is used as an intermediate carrier for interaction of the leasing terminal and the server, interconnection of the mobile terminal, the leasing terminal and the server is achieved, and the problem that the leasing success rate of the mobile power supply is reduced due to the fact that the leasing terminal cannot interact with the server under the condition that a network environment is poor is solved.
Example four
The preferred method for leasing the mobile power supply is described in the embodiment of the application from the mobile terminal side.
Referring to fig. 9, a specific flowchart of a mobile power renting method applied to a mobile terminal is shown, which is described in detail as follows.
Step 401, the mobile terminal sends a lease request to the server.
Step 402, the mobile terminal receives the lease voucher sent by the server.
In step 403, the mobile terminal determines a rented terminal whose distance from the mobile terminal is less than or equal to a preset distance.
And step 404, the mobile terminal displays the rented terminal, the distance between which and the mobile terminal is less than or equal to a preset distance, in an interface of the mobile power supply renting application.
Step 405, the mobile terminal receives a selection operation for the rented terminal displayed in the mobile power supply renting application interface, and determines the rented terminal for receiving the rented certificate.
Step 406, the mobile terminal provides the lease voucher to a lease terminal.
Optionally, step 406 further includes sub-steps 4061 and 4062.
Sub-step 4061, the lease voucher includes electronic ticket information, the mobile terminal includes a short-range wireless communication module, and the mobile terminal provides the electronic ticket information to the lease terminal through the short-range wireless communication module of the mobile terminal.
Substep 4062, the lease voucher includes graphical code information, the mobile terminal includes a display module, and the mobile terminal displays the graphical code information to the lease terminal through the display module of the mobile terminal.
Step 407, the mobile terminal deletes the lease voucher sent by the server.
Step 408, when the mobile terminal receives the first successful lease information, the mobile terminal records the current first time information.
Step 409, the mobile terminal generates second successful lease information including the first time information.
Step 410, the mobile terminal sends the second successful lease information to the server.
Step 411, the mobile terminal receives the successful return information.
Step 412, the mobile terminal sends the successful return information to the server.
Step 413, the mobile terminal receives the deduction information sent by the server.
And 414, according to the fee deduction information, the mobile terminal carries out fee deduction operation.
In step 415, the mobile terminal receives the lease voucher library update package sent by the server.
And step 416, the mobile terminal sends the lease voucher library updating packet to the lease terminal.
In the embodiment of the present invention, the description of the second embodiment may be specifically referred to in the steps 401 to 416, and details are not repeated here.
In summary, the embodiment of the invention provides a mobile power supply leasing method, which includes that a mobile terminal sends a leasing request to a server, the server selects an effective lease certificate from a first lease certificate base to send to the mobile terminal when the mobile terminal is determined to have a lease right according to the leasing request, the mobile terminal forwards the lease certificate to the leasing terminal, and the leasing terminal matches a received lease certificate with a second lease certificate base and provides a mobile power supply under the condition that matching is successful. The mobile terminal is used as an intermediate carrier for interaction of the leasing terminal and the server, interconnection of the mobile terminal, the leasing terminal and the server is achieved, and the problem that the leasing success rate of the mobile power supply is reduced due to the fact that the leasing terminal cannot interact with the server under the condition that a network environment is poor is solved.
EXAMPLE five
The mobile power supply leasing method is described from the server side.
Referring to fig. 10, a flow chart of a mobile power renting method applied to a server is shown, which is as follows.
Step 501, the server receives a lease request sent by the mobile terminal.
Step 502, when it is determined that the mobile terminal has the lease right, the server selects an effective lease voucher from a first lease voucher library of the server and sends the effective lease voucher to the mobile terminal.
In the embodiment of the present invention, the steps 501 to 502 may specifically refer to the description in the first embodiment, and are not described herein again.
In summary, the embodiment of the invention provides a mobile power supply leasing method, which includes that a mobile terminal sends a leasing request to a server, the server selects an effective lease certificate from a first lease certificate base to send to the mobile terminal when the mobile terminal is determined to have a lease right according to the leasing request, the mobile terminal forwards the lease certificate to the leasing terminal, and the leasing terminal matches a received lease certificate with a second lease certificate base and provides a mobile power supply under the condition that matching is successful. The mobile terminal is used as an intermediate carrier for interaction of the leasing terminal and the server, interconnection of the mobile terminal, the leasing terminal and the server is achieved, and the problem that the leasing success rate of the mobile power supply is reduced due to the fact that the leasing terminal cannot interact with the server under the condition that a network environment is poor is solved.
EXAMPLE six
The preferred mobile power supply leasing method is described in the embodiment of the application from the server side.
Referring to fig. 11, a specific flowchart of a mobile power renting method applied to a server is shown, which is described in detail as follows.
Step 601, the server receives a lease request sent by the mobile terminal.
Step 602, when it is determined that the mobile terminal has the lease right, the server selects an effective lease voucher from the first lease voucher library of the server and sends the effective lease voucher to the mobile terminal.
Step 603, the server receives the second successful lease information sent by the mobile terminal.
Step 604, the server receives the successful return information sent by the mobile terminal.
Step 605, the server calculates a lease duration according to the first time information and the second time information.
Step 606, the server generates fee deduction information according to the lease duration.
Step 607, the server sends the deduction information to the mobile terminal.
At step 608, the server obtains the lease voucher library update package.
Step 609, according to the lease voucher library updating package, the server updates the first lease voucher library of the server.
Step 610, the server sends the lease voucher library update package to the mobile terminal.
In the embodiment of the present invention, the description of the second embodiment may be specifically referred to in the steps 601 to 610, and details are not repeated here.
In summary, the embodiment of the present invention provides a method for leasing a mobile power supply, including that a mobile terminal sends a lease request to a server, the server selects an effective lease voucher from a first lease voucher library to send to the mobile terminal when determining that the mobile terminal has a lease right according to the lease request, the mobile terminal forwards the lease voucher to the lease terminal, the lease terminal matches a received lease voucher with a second lease voucher library, and the mobile power supply is provided when the matching is successful. The mobile terminal is used as an intermediate carrier for interaction between the leasing terminal and the server, so that the interconnection among the mobile terminal, the leasing terminal and the server is achieved, and the problem that the leasing success rate of the mobile power supply is reduced due to the fact that the leasing terminal and the server cannot interact under the condition of poor network environment is solved.
EXAMPLE seven
The mobile power supply leasing method is described from a leasing terminal side.
Referring to fig. 12, a flowchart of a mobile power supply leasing method applied to a leasing terminal is shown, which is described in detail as follows.
Step 701, the renting terminal receives the renting voucher provided by the mobile terminal.
Step 702 the lending terminal matches the received lending certificate with a second lending certificate base of the lending terminal.
And 703, under the condition that the matching is successful, providing a mobile power supply by the renting terminal.
In the embodiment of the present invention, the steps 701 to 703 may specifically refer to the description in the first embodiment, and are not described herein again.
In summary, the embodiment of the invention provides a mobile power supply leasing method, which includes that a mobile terminal sends a leasing request to a server, the server selects an effective lease certificate from a first lease certificate base to send to the mobile terminal when the mobile terminal is determined to have a lease right according to the leasing request, the mobile terminal forwards the lease certificate to the leasing terminal, and the leasing terminal matches a received lease certificate with a second lease certificate base and provides a mobile power supply under the condition that matching is successful. The mobile terminal is used as an intermediate carrier for interaction between the leasing terminal and the server, so that the interconnection among the mobile terminal, the leasing terminal and the server is achieved, and the problem that the leasing success rate of the mobile power supply is reduced due to the fact that the leasing terminal and the server cannot interact under the condition of poor network environment is solved.
Example eight
The preferred mobile power supply leasing method is described in the embodiment of the application from a leasing terminal side.
Referring to fig. 13, a specific flowchart of a mobile power renting method applied to a renting terminal is shown, which is described in detail as follows.
Step 801, a lending terminal receives the lending certificate provided by the mobile terminal.
Optionally, step 801 further includes sub-step 8011 and sub-step 8012.
Sub-step 8011, the rental voucher comprises electronic ticket information, the rental terminal comprises a short-range wireless communication module, and the rental terminal receives the electronic ticket information sent by the mobile terminal through the short-range wireless communication module of the rental terminal.
Sub-step 8012, the lease voucher includes graphic coding information, the lease terminal includes a scanning module, and the lease terminal scans the graphic coding information provided by the mobile terminal through the scanning module of the lease terminal.
And step 802, the lending terminal matches the received lending certificate with a second lending certificate base of the lending terminal.
And step 803, under the condition that the matching is successful, the renting terminal provides a mobile power supply.
Step 804, the lending terminal sends the first successful lending information to the mobile terminal.
Step 805, when the slot of the lease terminal is inserted into the mobile power supply, the lease terminal records the current second time information.
In step 806, the lending terminal generates successful return information including the second time information.
In step 807, the lending terminal sends the successful return information to the mobile terminal.
Step 808, the lease terminal receives the lease voucher library update package sent by the mobile terminal.
And step 809, updating the second lease voucher library of the lease terminal by the lease terminal according to the lease voucher library updating packet.
In the embodiment of the present invention, the descriptions in the second embodiment may be specifically referred to in steps 801 to 809, and details are not repeated here.
In summary, the embodiment of the invention provides a mobile power supply leasing method, which includes that a mobile terminal sends a leasing request to a server, the server selects an effective lease certificate from a first lease certificate base to send to the mobile terminal when the mobile terminal is determined to have a lease right according to the leasing request, the mobile terminal forwards the lease certificate to the leasing terminal, and the leasing terminal matches a received lease certificate with a second lease certificate base and provides a mobile power supply under the condition that matching is successful. The mobile terminal is used as an intermediate carrier for interaction between the leasing terminal and the server, so that the interconnection among the mobile terminal, the leasing terminal and the server is achieved, and the problem that the leasing success rate of the mobile power supply is reduced due to the fact that the leasing terminal and the server cannot interact under the condition of poor network environment is solved.
Example nine
Referring to fig. 14, a detailed block diagram of a portable power source leasing system is shown, as follows.
A mobile terminal, a server and a lending terminal,
the mobile terminal includes:
a first transmission module 901, configured to send a lease request to a server;
a first receiving module 902, configured to receive a lease credential sent by the server;
a second transmission module 903, configured to send the lease voucher to a lease terminal;
the server includes:
a third transmission module 1001, configured to receive a lease request sent by a mobile terminal;
the voucher processing module 1002 is configured to receive a lease request from the third transmission module, and select an effective lease voucher from the first lease voucher library of the server when it is determined that the mobile terminal has a lease right;
a fourth transmission module 1003, configured to send the lease credential provided by the credential processing module to the mobile terminal;
the lending terminal comprises:
a fifth transmission module 1101, configured to receive the lease credential sent by the mobile terminal;
a matching module 1102, configured to match the received lease token with a second lease token library of the lease terminal;
and a mobile power supply output module 1103, configured to provide a mobile power supply if matching is successful.
In summary, an embodiment of the present invention provides a system for renting a mobile power supply, including: the mobile terminal, the server and the leasing terminal are characterized in that the mobile terminal sends a leasing request to the server, the server selects effective leasing certificates from a first leasing certificate base to send to the mobile terminal when determining that the mobile terminal has the leasing right according to the leasing request, the mobile terminal forwards the leasing certificates to the leasing terminal, the leasing terminal matches the received leasing certificates with a second leasing certificate base, and a mobile power supply is provided under the condition that matching is successful. The mobile terminal is used as an intermediate carrier for interaction of the leasing terminal and the server, interconnection of the mobile terminal, the leasing terminal and the server is achieved, and the problem that the leasing success rate of the mobile power supply is reduced due to the fact that the leasing terminal cannot interact with the server under the condition that a network environment is poor is solved.
Example ten
Referring to fig. 15, a detailed block diagram of a mobile terminal is shown, as follows.
A first transmission module 1201, configured to send a lease request to a server.
A first receiving module 1202, configured to receive the lease token sent by the server.
A second transmission module 1203, configured to send the lease credential to a lease terminal.
Optionally, the second transmission module 1203 further includes:
and the electronic bill sending submodule is used for providing the electronic bill information to the lending terminal through the short-range wireless communication module of the mobile terminal.
And the graphic coding information display submodule is used for displaying the graphic coding information to the lending terminal through a display module of the mobile terminal.
Optionally, a mobile terminal further includes:
and the determining module is used for determining the rented terminal of which the distance to the mobile terminal is less than or equal to the preset distance.
The display module is used for displaying the rented terminal, the distance between which is less than or equal to the preset distance, with the mobile terminal in an interface of the rented application of the mobile power supply;
and the operation receiving module is used for receiving the selection operation of the renting terminal displayed in the mobile power supply renting application interface and determining the rented renting terminal.
The first recording module is used for recording the current first time information.
And the first generation module is used for generating second successful lease information comprising the first time information.
And the fee deducting module is used for carrying out fee deducting operation according to the fee deducting information.
And the deleting module is used for deleting the lease voucher sent by the server.
Optionally, the first transmission module 1201 is further configured to send the second successful lease information to the server.
Optionally, the first transmission module 1201 is further configured to receive the lease credential library update package sent by the server.
Optionally, the second transmission module 1203 is further configured to send the lease credential library update package to the lease terminal.
Optionally, the first transmission module 1201 is further configured to receive the successful return information.
Optionally, the first transmission module 1201 is further configured to send the successful return information to the server.
Optionally, the first transmission module 1201 is further configured to receive the fee deduction information sent by the server.
In summary, the embodiment of the present invention provides a mobile terminal, where a mobile terminal sends a lease request to a server, the server selects an effective lease voucher from a first lease voucher library to send to the mobile terminal when determining that the mobile terminal has a lease right according to the lease request, the mobile terminal forwards the lease voucher to the lease terminal, and the lease terminal matches a received lease voucher with a second lease voucher library and provides a mobile power supply when matching is successful. The mobile terminal is used as an intermediate carrier for interaction between the leasing terminal and the server, so that the interconnection among the mobile terminal, the leasing terminal and the server is achieved, and the problem that the leasing success rate of the mobile power supply is reduced due to the fact that the leasing terminal and the server cannot interact under the condition of poor network environment is solved.
EXAMPLE eleven
Referring to fig. 16, a specific block diagram of a server is shown, as follows.
A third transmission module 1301, configured to receive a lease request sent by a mobile terminal;
the voucher processing module 1302 is configured to receive a lease request from the third transmission module, and select an effective lease voucher from the first lease voucher library of the server when it is determined that the mobile terminal has a lease right;
a fourth transmission module 1303, configured to send the lease token provided by the credential processing module to the mobile terminal.
Optionally, the server further includes:
and the charging module is used for calculating lease duration according to the first time information and the second time information.
And the fee deduction information generating module is used for generating fee deduction information according to the lease duration.
Optionally, the fourth transmission module 1303 is further configured to send the fee deduction information to the mobile terminal.
And the updating packet acquiring module is used for acquiring the updating packet of the lease voucher library.
And the first updating module is used for updating the first lease voucher library of the server according to the lease voucher library updating package.
Optionally, the fourth transmission module 1303 is further configured to send the lease voucher library update package to the mobile terminal.
Optionally, the third transmission module 1301 is further configured to receive second successful lease information sent by the mobile terminal.
Optionally, the third transmission module 1301 is further configured to receive successful return information sent by the mobile terminal.
In summary, the embodiment of the present invention provides a server, where a mobile terminal sends a lease request to the server, the server selects an effective lease voucher from a first lease voucher library to send to the mobile terminal when determining that the mobile terminal has a lease right according to the lease request, the mobile terminal forwards the lease voucher to the lease terminal, and the lease terminal matches a received lease voucher with a second lease voucher library and provides a mobile power supply when matching is successful. The mobile terminal is used as an intermediate carrier for interaction of the leasing terminal and the server, interconnection of the mobile terminal, the leasing terminal and the server is achieved, and the problem that the leasing success rate of the mobile power supply is reduced due to the fact that the leasing terminal cannot interact with the server under the condition that a network environment is poor is solved.
EXAMPLE twelve
Referring to fig. 17, there is shown a detailed block diagram of a rental terminal, as follows.
A fifth transmission module 1401, configured to receive the lease credential provided by the mobile terminal;
optionally, the fifth transmission module 1401 further includes:
and the electronic bill receiving submodule is used for receiving the electronic bill information sent by the mobile terminal through the short-range wireless communication module of the leasing terminal.
And the image coding information scanning sub-module is used for scanning the image coding information provided by the mobile terminal through the scanning module of the renting terminal.
A matching module 1402, configured to match the received lease voucher with a second lease voucher library of the lease terminal;
and a mobile power output module 1403, configured to provide a mobile power source in case of successful matching.
Optionally, the renting terminal further includes:
optionally, the fifth transmission module 1401 is further configured to receive the lease voucher library update package sent by the mobile terminal.
And the second updating module updates the second lease voucher library of the lease terminal according to the lease voucher library updating package.
Optionally, the fifth transmission module 1401 is further configured to send the first successful lease information to the mobile terminal.
A second generating module for generating successful return information including the second time information.
Optionally, the fifth transmission module 1401 is further configured to send the successful return information to the mobile terminal.
In summary, the embodiment of the present invention provides a lease terminal, where a mobile terminal first sends a lease request to a server, the server selects an effective lease voucher from a first lease voucher library to send to the mobile terminal when determining that the mobile terminal has a lease right according to the lease request, the mobile terminal forwards the lease voucher to the lease terminal, and the lease terminal matches a received lease voucher with a second lease voucher library and provides a mobile power supply if matching is successful. The mobile terminal is used as an intermediate carrier for interaction of the leasing terminal and the server, interconnection of the mobile terminal, the leasing terminal and the server is achieved, and the problem that the leasing success rate of the mobile power supply is reduced due to the fact that the leasing terminal cannot interact with the server under the condition that a network environment is poor is solved.
An embodiment of the present invention further provides an electronic device, including: a processor, a memory and a computer program stored on the memory and operable on the processor, characterized in that the processor implements the mobile power supply leasing method of the foregoing embodiment on the mobile terminal side or the server side or the leasing terminal side when executing the program.
An embodiment of the present invention further provides a readable storage medium, and when instructions in the storage medium are executed by a processor of an electronic device, the electronic device is enabled to execute the mobile power renting method on the mobile terminal side or the server side or the renting terminal side in the foregoing embodiments.
For the device embodiment, since it is basically similar to the method embodiment, the description is simple, and for the relevant points, refer to the partial description of the method embodiment.
The algorithms and displays presented herein are not inherently related to any particular computer, virtual machine, or other apparatus. Various general purpose systems may also be used with the teachings herein. The required structure for constructing such a system will be apparent from the description above. Moreover, the present invention is not directed to any particular programming language. It is appreciated that a variety of programming languages may be used to implement the teachings of the present invention as described herein, and any descriptions of specific languages are provided above to disclose the best mode of the invention.
In the description provided herein, numerous specific details are set forth. It is understood, however, that embodiments of the invention may be practiced without these specific details. In some instances, well-known methods, structures and techniques have not been shown in detail in order not to obscure an understanding of this description.
Similarly, it should be appreciated that in the foregoing description of exemplary embodiments of the invention, various features of the invention are sometimes grouped together in a single embodiment, figure, or description thereof for the purpose of streamlining the disclosure and aiding in the understanding of one or more of the various inventive aspects. However, the disclosed method should not be interpreted as reflecting an intention that: that the invention as claimed requires more features than are expressly recited in each claim. Rather, as the following claims reflect, inventive aspects lie in less than all features of a single foregoing disclosed embodiment. Thus, the claims following the detailed description are hereby expressly incorporated into this detailed description, with each claim standing on its own as a separate embodiment of this invention.
Those skilled in the art will appreciate that the modules in the device in an embodiment may be adaptively changed and disposed in one or more devices different from the embodiment. The modules or units or components of the embodiments may be combined into one module or unit or component, and furthermore they may be divided into a plurality of sub-modules or sub-units or sub-components. All of the features disclosed in this specification (including any accompanying claims, abstract and drawings), and all of the processes or elements of any method or apparatus so disclosed, may be combined in any combination, except combinations where at least some of such features and/or processes or elements are mutually exclusive. Each feature disclosed in this specification (including any accompanying claims, abstract and drawings) may be replaced by alternative features serving the same, equivalent or similar purpose, unless expressly stated otherwise.
Various component embodiments of the invention may be implemented in hardware, or in software modules running on one or more processors, or in a combination thereof. It will be appreciated by those skilled in the art that a microprocessor or Digital Signal Processor (DSP) may be used in practice to implement some or all of the functions of some or all of the components in a payment information processing apparatus according to embodiments of the present invention. The present invention may also be embodied as an apparatus or device program for carrying out a portion or all of the methods described herein. Such programs implementing the present invention may be stored on computer-readable media or may be in the form of one or more signals. Such a signal may be downloaded from an internet website, or provided on a carrier signal, or provided in any other form.
It should be noted that the above-mentioned embodiments illustrate rather than limit the invention, and that those skilled in the art will be able to design alternative embodiments without departing from the scope of the appended claims. In the claims, any reference signs placed between parentheses shall not be construed as limiting the claim. The word "comprising" does not exclude the presence of elements or steps not listed in a claim. The word "a" or "an" preceding an element does not exclude the presence of a plurality of such elements. The invention can be implemented by means of hardware comprising several distinct elements, and by means of a suitably programmed computer. In the unit claims enumerating several means, several of these means may be embodied by one and the same item of hardware. The usage of the words first, second and third, etcetera do not indicate any ordering. These words may be interpreted as names.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described systems, apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
The above description is intended to be illustrative of the preferred embodiment of the present invention and should not be taken as limiting the invention, but rather, the intention is to cover all modifications, equivalents, and alternatives falling within the spirit and scope of the invention.
The above description is only for the specific embodiments of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present invention, and all the changes or substitutions should be covered within the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims (33)

1. A mobile power supply leasing method is characterized by comprising the following steps:
the mobile terminal sends a lease request to the server;
the server receives the lease request sent by the mobile terminal;
when the mobile terminal is determined to have the lease right, the server selects an effective lease voucher from a first lease voucher library of the server and sends the effective lease voucher to the mobile terminal;
the mobile terminal receives the lease voucher sent by the server;
the method comprises the steps that under the condition that the wireless network environment of the mobile terminal is poor, interaction of a lease voucher and successful lease information is carried out through a first near field communication module arranged in the mobile terminal and a second near field communication module arranged in a first lease terminal, and the mobile terminal adds lease time information for the successful lease information; the mobile terminal and a second near field communication module arranged in a second leasing terminal perform interaction of successful returning information, the successful returning information comprises returning time information, the mobile terminal sends the successful leasing information and the successful returning information to a server, the server calculates time for leasing out a mobile power supply and returning the mobile power supply according to the successful leasing information and the successful returning information and performs charging according to the time, wherein the server is a background server for leasing applications of the mobile power supply running on the first leasing terminal, the second leasing terminal and the mobile terminal;
the first lease terminal matches the received lease certificate with a second lease certificate base of the first lease terminal to determine whether one mobile power supply in a plurality of mobile power supplies integrated by the first lease terminal is lent, wherein the second lease certificate base is set by the first lease terminal when leaving a factory, and the lease certificate stored in the second lease certificate base is the same as the lease certificate stored in the first lease certificate base;
and in the case of successful matching, the first leasing terminal provides a mobile power supply.
2. The method of claim 1, further comprising, prior to the step of the mobile terminal sending the lease voucher to a lease terminal:
the mobile terminal determines a renting terminal, the distance between which and the mobile terminal is less than or equal to a preset distance;
the mobile terminal displays the rented terminal, the distance between which is less than or equal to the preset distance, and the mobile terminal in an interface of the rented application of the mobile power supply;
and the mobile terminal receives the selection operation of the renting terminal displayed in the mobile power supply renting application interface and determines the renting terminal for receiving the renting voucher.
3. The method according to claim 2, wherein the step of the mobile terminal determining the leased terminal whose distance from the mobile terminal is less than or equal to the preset distance comprises:
the mobile terminal sends the current position information of the mobile terminal to the server;
the server determines the rented terminals with the distance to the mobile terminal being smaller than or equal to a preset distance according to the position information of each rented terminal and the current position information of the mobile terminal;
and the server sends the information of the rented terminal, the distance between which and the mobile terminal is less than or equal to the preset distance, to the mobile terminal.
4. A method according to any one of claims 1 to 3, wherein the valid lease credential is an unused lease credential in the first lease credential repository.
5. A mobile power supply leasing method is characterized by comprising the following steps:
the mobile terminal sends a lease request to the server;
the mobile terminal receives a lease certificate sent by the server;
the method comprises the steps that under the condition that the wireless network environment of the mobile terminal is poor, interaction of a lease voucher and successful lease information is carried out through a first near field communication module arranged in the mobile terminal and a second near field communication module arranged in a first lease terminal, and the mobile terminal adds lease time information for the successful lease information; the mobile terminal and a second near field communication module arranged in a second leasing terminal perform interaction of successful returning information, the successful returning information comprises returning time information, the mobile terminal sends the successful leasing information and the successful returning information to a server, the server calculates time for leasing out a mobile power supply and returning the mobile power supply according to the successful leasing information and the successful returning information and performs charging according to the time, wherein the server is a background server for leasing applications of the mobile power supply running on the first leasing terminal, the second leasing terminal and the mobile terminal;
the mobile terminal provides the lease voucher to a lease terminal;
the first leasing terminal matches the received leasing certificate with a second leasing certificate base of the first leasing terminal, and determines whether one mobile power supply in a plurality of mobile power supplies integrated by the first leasing terminal is lent or not, wherein the second leasing certificate base is set by the first leasing terminal when the first leasing terminal leaves a factory, and the leasing certificate stored in the second leasing certificate base is the same as the leasing certificate stored in the first leasing certificate base of the server;
and in the case of successful matching, the first leasing terminal provides a mobile power supply.
6. The method of claim 5, wherein the rental voucher includes electronic ticket information, wherein the mobile terminal includes a short-range wireless communication module, and wherein the step of providing the rental voucher to the rental terminal by the mobile terminal comprises:
and the mobile terminal provides the electronic bill information to the lending terminal through a short-range wireless communication module of the mobile terminal.
7. The method of claim 5, wherein the rental certificate includes graphically encoded information, wherein the mobile terminal includes a presentation module, and wherein the step of providing the rental certificate to the rental terminal by the mobile terminal comprises:
and the mobile terminal displays the graphic coding information to the lending terminal through a display module of the mobile terminal.
8. The method of any one of claims 5 to 7, further comprising:
and the mobile terminal sends the current position information of the mobile terminal to the server.
9. The method of any one of claims 5 to 7, further comprising:
the mobile terminal receives a lease voucher library updating packet sent by the server;
and the mobile terminal sends the lease voucher library updating package to the lease terminal.
10. The method of any one of claims 5 to 7, further comprising:
when the mobile terminal receives first successful lease information, the mobile terminal records current first time information;
the mobile terminal generates second successful lease information comprising the first time information;
and the mobile terminal sends the second successful lease information to the server.
11. The method of any one of claims 5 to 7, further comprising:
the mobile terminal receives successful return information;
and the mobile terminal sends the successful return information to the server.
12. The method according to any one of claims 5 to 7, further comprising, after the step of the mobile terminal providing the lease voucher to a lease terminal:
and the mobile terminal deletes the lease certificate sent by the server.
13. A mobile power supply leasing method is characterized by comprising the following steps:
the server receives a lease request sent by the mobile terminal;
when the mobile terminal is determined to have the lease right, the server selects an effective lease voucher from a first lease voucher library of the server and sends the effective lease voucher to the mobile terminal;
the method comprises the steps that the mobile terminal carries out information interaction with a second near field communication module arranged in a first lending terminal through a first near field communication module arranged in the mobile terminal under the condition that the wireless network environment is poor, and the mobile terminal adds lending time information for successful lending information; the mobile terminal and a second near field communication module arranged in a second leasing terminal carry out interaction of successful returning information, the successful returning information comprises returning time information, the mobile terminal sends the successful leasing information and the successful returning information to a server, the server calculates time for leasing a mobile power supply and returning the mobile power supply according to the successful leasing information and the successful returning information and carries out charging according to the time, wherein the server is a background server for leasing applications of the mobile power supply running on the first leasing terminal, the second leasing terminal and the mobile terminal;
the first leasing terminal matches the received leasing certificate with a second leasing certificate base of the first leasing terminal, and determines whether one mobile power supply in a plurality of mobile power supplies integrated by the first leasing terminal is lent or not, wherein the second leasing certificate base is set by the first leasing terminal when the first leasing terminal leaves a factory, and the leasing certificate stored in the second leasing certificate base is the same as the leasing certificate stored in the first leasing certificate base of the server;
and in the case of successful matching, the first leasing terminal provides a mobile power supply.
14. The method of claim 13, further comprising:
the server acquires an update package of the lease voucher library;
according to the lease voucher library updating package, the server updates a first lease voucher library of the server;
and the server sends the lease voucher library updating package to the mobile terminal.
15. The method of claim 13 or 14, further comprising:
the server determines the rented terminals with the distance to the mobile terminal being smaller than or equal to a preset distance according to the position information of each rented terminal and the current position information of the mobile terminal;
and the server sends the information of the rented terminal, of which the distance to the mobile terminal is smaller than or equal to a preset distance, to the mobile terminal.
16. The method of claim 13 or 14, further comprising:
the server receives second successful lease information sent by the mobile terminal;
and the server receives the successful return information sent by the mobile terminal.
17. A mobile power supply leasing method is characterized by comprising the following steps:
the first lending terminal receives a lending certificate provided by the mobile terminal;
the first leasing terminal matches the received leasing certificate with a second leasing certificate base of the first leasing terminal to determine whether one mobile power supply in a plurality of mobile power supplies integrated by the first leasing terminal is lent, wherein the second leasing certificate base is set by the first leasing terminal when the first leasing terminal leaves a factory, and the leasing certificate stored in the second leasing certificate base is the same as the leasing certificate stored in the first leasing certificate base of the server;
under the condition that matching is successful, the first leasing terminal provides a mobile power supply;
the mobile terminal performs information interaction with a second near field communication module arranged in the first leasing terminal through a first near field communication module arranged in the mobile terminal under the condition of poor wireless network environment, and the mobile terminal adds lending time information for successful lending information; the mobile terminal and a second short-distance communication module arranged in a second leasing terminal carry out interaction of successful returning information, the successful returning information comprises returning time information, the mobile terminal sends the successful leasing information and the successful returning information to a server, the server calculates time for leasing out a mobile power supply and returning the mobile power supply according to the successful leasing information and the successful returning information and carries out charging according to the time, wherein the server is a background server for leasing applications of the mobile power supply running on the first leasing terminal, the second leasing terminal and the mobile terminal.
18. The method of claim 17, wherein the rental certificate includes electronic ticket information, the first rental terminal includes a short-range wireless communication module, and the step of receiving the rental certificate sent by the mobile terminal by the first rental terminal includes:
and the first lending terminal receives the electronic bill information sent by the mobile terminal through a short-range wireless communication module of the first lending terminal.
19. The method of claim 17, wherein the voucher includes graphical encoded information, the first rental terminal includes a scanning module, and the step of receiving the voucher sent by the mobile terminal by the first rental terminal comprises:
and the first lending terminal scans the graphic coding information provided by the mobile terminal through a scanning module of the first lending terminal.
20. The method of any one of claims 17 to 19, further comprising:
the first lending terminal receives the lending voucher library updating package sent by the mobile terminal;
and according to the lease voucher library updating package, the first lease terminal updates a second lease voucher library of the lease terminal.
21. The method according to any one of claims 17 to 19, further comprising, after the step of providing a mobile power source by the lending terminal:
and the first lending terminal sends the first successful lending information to the mobile terminal.
22. The method of any one of claims 17 to 19, further comprising:
when the slot position of the lease terminal is inserted into the mobile power supply, the second lease terminal records the current second time information;
the second lending terminal generates successful return information including the second time information;
and the second lending terminal sends the successful returning information to the mobile terminal.
23. The method of any one of claims 17 to 19, further comprising:
when the slot position of the second leasing terminal is inserted into a mobile power supply, the second leasing terminal sends successful return information to the mobile terminal;
and the second lending terminal sends the successful return information to the server.
24. A portable power source leasing system, the system comprising:
a mobile terminal, a server and a first lending terminal,
the mobile terminal includes:
the first transmission module is used for sending a lease request to the server;
the first receiving module is used for receiving the lease voucher sent by the server;
the second transmission module is used for providing the lease voucher to a lease terminal;
the server includes:
a third transmission module, configured to receive a lease request sent by the mobile terminal;
the voucher processing module is used for receiving a lease request from the third transmission module and selecting an effective lease voucher from a first lease voucher library of the server when the mobile terminal is determined to have lease right;
the fourth transmission module is used for sending the lease voucher provided by the voucher processing module to the mobile terminal;
the first lending terminal includes:
a fifth transmission module, configured to transmit the lease token from the mobile terminal;
the matching module is used for matching the received lease certificate with a second lease certificate base of the first lease terminal and determining whether one mobile power supply in a plurality of mobile power supplies integrated by the first lease terminal is lent, wherein the second lease certificate base is set by the first lease terminal when leaving a factory, and the lease certificate stored in the second lease certificate base is the same as the lease certificate stored in the first lease certificate base of the server;
the mobile power supply output module is used for providing a mobile power supply under the condition of successful matching;
the method comprises the steps that when the wireless network environment of the mobile terminal is poor, interaction between a lease voucher and successful lease information is carried out through a first near field communication module arranged in the mobile terminal and a second near field communication module arranged in a first lease terminal, and the mobile terminal adds lease time information for the successful lease information; the mobile terminal and a second near field communication module arranged in a second leasing terminal carry out interaction of successful returning information, the successful returning information comprises returning time information, the mobile terminal sends the successful leasing information and the successful returning information to a server, the server calculates time for leasing out the mobile power supply and returning the mobile power supply according to the successful leasing information and the successful returning information and carries out charging according to the time, and the server is a background server for leasing applications of the mobile power supply running on the first leasing terminal, the second leasing terminal and the mobile terminal.
25. A mobile terminal, characterized in that the mobile terminal comprises:
the first transmission module is used for sending a lease request to the server;
the first receiving module is used for receiving the lease voucher sent by the server;
the second transmission module is used for providing the lease voucher to a lease terminal;
the mobile terminal performs interaction of a lease certificate and successful lease information through a first near field communication module arranged in the mobile terminal and a second near field communication module arranged in a first lease terminal under the condition of poor wireless network environment, and the mobile terminal adds lease time information for the successful lease information; the mobile terminal and a second short-distance communication module arranged in a second leasing terminal carry out interaction of successful returning information, the successful returning information comprises returning time information, the mobile terminal sends the successful leasing information and the successful returning information to a server, the server calculates time for leasing out a mobile power supply and returning the mobile power supply according to the successful leasing information and the successful returning information and carries out charging according to the time, wherein the server is a background server for leasing applications of the mobile power supply running on the first leasing terminal, the second leasing terminal and the mobile terminal.
26. A server, characterized in that the server comprises:
the third transmission module is used for receiving a lease request sent by the mobile terminal;
the certificate processing module is used for receiving a lease request from the third transmission module and selecting an effective lease certificate from a first lease certificate library of the server when the mobile terminal is determined to have lease rights;
the fourth transmission module is used for sending the lease voucher provided by the voucher processing module to the mobile terminal;
the mobile terminal performs interaction of a lease certificate and successful lease information through a first near field communication module arranged in the mobile terminal and a second near field communication module arranged in a first lease terminal under the condition of poor wireless network environment, and the mobile terminal adds lease time information for the successful lease information; the mobile terminal and a second short-distance communication module arranged in a second leasing terminal carry out interaction of successful returning information, the successful returning information comprises returning time information, the mobile terminal sends the successful leasing information and the successful returning information to a server, the server calculates time for leasing out a mobile power supply and returning the mobile power supply according to the successful leasing information and the successful returning information and carries out charging according to the time, wherein the server is a background server for leasing applications of the mobile power supply running on the first leasing terminal, the second leasing terminal and the mobile terminal.
27. A lending terminal, characterized in that the lending terminal comprises:
the fifth transmission module is used for receiving the lease voucher sent by the mobile terminal;
the matching module is used for matching the received lease voucher with a second lease voucher library of a lease terminal, wherein the second lease voucher library is set by the lease terminal when the lease terminal leaves a factory, and the lease voucher stored in the second lease voucher library is the same as the lease voucher stored in the first lease voucher library of the server;
the mobile power supply output module is used for providing a mobile power supply under the condition of successful matching;
the mobile terminal performs interaction of a lease certificate and successful lease information through a first near field communication module arranged in the mobile terminal and a second near field communication module arranged in a first lease terminal under the condition of poor wireless network environment, and the mobile terminal adds lease time information for the successful lease information; the mobile terminal and a second short-distance communication module arranged in a second leasing terminal carry out interaction of successful returning information, the successful returning information comprises returning time information, the mobile terminal sends the successful leasing information and the successful returning information to a server, the server calculates time for leasing out a mobile power supply and returning the mobile power supply according to the successful leasing information and the successful returning information and carries out charging according to the time, wherein the server is a background server for leasing applications of the mobile power supply running on the first leasing terminal, the second leasing terminal and the mobile terminal.
28. An electronic device, comprising:
a processor, a memory, and a computer program stored on the memory and executable on the processor, wherein the processor when executing the program implements the mobile power supply leasing method of any one of claims 5-12.
29. A readable storage medium, wherein instructions in the storage medium, when executed by a processor of an electronic device, enable the electronic device to perform the mobile power source leasing method of any one of method claims 5-12.
30. An electronic device, comprising:
a processor, a memory, and a computer program stored on the memory and executable on the processor, wherein the processor when executing the program implements the mobile power supply leasing method of any one of claims 13-16.
31. A readable storage medium, wherein instructions in the storage medium, when executed by a processor of an electronic device, enable the electronic device to perform the mobile power source leasing method of any one of method claims 13-16.
32. An electronic device, comprising:
a processor, a memory, and a computer program stored on the memory and executable on the processor, wherein the processor when executing the program implements the mobile power supply leasing method of any one of claims 17-23.
33. A readable storage medium, wherein instructions in the storage medium, when executed by a processor of an electronic device, enable the electronic device to perform the mobile power source leasing method of any one of method claims 17-23.
CN201710641031.9A 2017-07-31 2017-07-31 Mobile power supply leasing method and system, mobile terminal, server and leasing terminal Active CN107566449B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710641031.9A CN107566449B (en) 2017-07-31 2017-07-31 Mobile power supply leasing method and system, mobile terminal, server and leasing terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710641031.9A CN107566449B (en) 2017-07-31 2017-07-31 Mobile power supply leasing method and system, mobile terminal, server and leasing terminal

Publications (2)

Publication Number Publication Date
CN107566449A CN107566449A (en) 2018-01-09
CN107566449B true CN107566449B (en) 2022-08-19

Family

ID=60973708

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710641031.9A Active CN107566449B (en) 2017-07-31 2017-07-31 Mobile power supply leasing method and system, mobile terminal, server and leasing terminal

Country Status (1)

Country Link
CN (1) CN107566449B (en)

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109243084A (en) * 2018-09-26 2019-01-18 厦门交保通达信息科技有限公司 A kind of leasing system and its business model based on U-shaped pillow
CN110033854B (en) * 2019-04-24 2023-06-02 佳木斯大学 Self-service receiving and returning device and method for electrocardiograph detector
CN110189476A (en) * 2019-04-30 2019-08-30 杭州友电科技有限公司 A kind of rental method of shared device, Compliance control equipment and mobile terminal
CN110136351A (en) * 2019-05-16 2019-08-16 Oppo广东移动通信有限公司 Article Sharing Management method and Related product
US20200380533A1 (en) * 2019-05-30 2020-12-03 Carrier Corporation Driver verification for ride hailing service
CN110428555B (en) * 2019-07-01 2021-04-09 创新先进技术有限公司 Sharing charging equipment returning method and device
CN111737663A (en) * 2020-05-20 2020-10-02 广州市格利网络技术有限公司 Use control method and device of borrowing equipment
CN112102567A (en) * 2020-09-23 2020-12-18 深圳街电科技有限公司 Leasing method of mobile power supply, mobile terminal and leasing equipment

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102402771A (en) * 2011-10-31 2012-04-04 北京亿阳汇智通科技股份有限公司 Secure portable distribution method and device for electronic certificate
CN105575000A (en) * 2015-10-29 2016-05-11 盐城市惠众新能源科技有限公司 System and method for supplying power to electromotive vehicle
CN105894346A (en) * 2015-02-14 2016-08-24 深圳来电科技有限公司 Mobile power pack borrowing method and system
CN105931485A (en) * 2016-04-15 2016-09-07 重庆金瓯科技发展有限责任公司 Appointment service system for shared parking stalls
CN205722174U (en) * 2015-10-29 2016-11-23 盐城市惠众新能源科技有限公司 The system powered to electric power car
CN106372993A (en) * 2016-08-31 2017-02-01 长城汽车股份有限公司 Vehicle lease method, system, mobile terminal and server
CN106447328A (en) * 2016-10-20 2017-02-22 严珂 Electronic payment method, bus electronic payment system, and metro electronic payment system
CN106886865A (en) * 2015-12-15 2017-06-23 深圳市银信网银科技有限公司 A kind of processing method and processing device, system for storing voucher
CN106888230A (en) * 2015-12-15 2017-06-23 深圳市银信网银科技有限公司 A kind of processing method and processing device of data interaction

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102402771A (en) * 2011-10-31 2012-04-04 北京亿阳汇智通科技股份有限公司 Secure portable distribution method and device for electronic certificate
CN105894346A (en) * 2015-02-14 2016-08-24 深圳来电科技有限公司 Mobile power pack borrowing method and system
CN105575000A (en) * 2015-10-29 2016-05-11 盐城市惠众新能源科技有限公司 System and method for supplying power to electromotive vehicle
CN205722174U (en) * 2015-10-29 2016-11-23 盐城市惠众新能源科技有限公司 The system powered to electric power car
CN106886865A (en) * 2015-12-15 2017-06-23 深圳市银信网银科技有限公司 A kind of processing method and processing device, system for storing voucher
CN106888230A (en) * 2015-12-15 2017-06-23 深圳市银信网银科技有限公司 A kind of processing method and processing device of data interaction
CN105931485A (en) * 2016-04-15 2016-09-07 重庆金瓯科技发展有限责任公司 Appointment service system for shared parking stalls
CN106372993A (en) * 2016-08-31 2017-02-01 长城汽车股份有限公司 Vehicle lease method, system, mobile terminal and server
CN106447328A (en) * 2016-10-20 2017-02-22 严珂 Electronic payment method, bus electronic payment system, and metro electronic payment system

Also Published As

Publication number Publication date
CN107566449A (en) 2018-01-09

Similar Documents

Publication Publication Date Title
CN107566449B (en) Mobile power supply leasing method and system, mobile terminal, server and leasing terminal
US10719827B2 (en) Transaction system and method performed by using peripheral device
CN112118227B (en) Card binding method and terminal
CN103548401B (en) Use the service enhancement of near-field communication
CN105575000B (en) The system and method powered to electric power vehicle
US11062288B2 (en) Securing contactless payment
US10911955B2 (en) Method for acquiring access rights to conditional access content
EP3063723A1 (en) Mobile device-facilitated guaranty provisioning
CN109547535A (en) Apparatus bound methods, devices and systems
WO2020220706A1 (en) Method for renting shared device, and shared control device and mobile terminal
US20150288207A1 (en) System and Method for Smart Charging a Mobile Device
CN106684937A (en) Charging control method, device and system based on mobile charging device
KR20120076634A (en) Cost-per-mission system using location based service and cost-per-mission method using the same
CN105915629A (en) Meter charging method, terminal and intelligent meter
US11783371B2 (en) Methods, devices, and systems for home based electric vehicle (EV) charging
CN103548392A (en) Method and apparatus for providing network access to a connecting apparatus
CN106169137B (en) Resource transfer method, device and system
KR20150142080A (en) Method for Providing Personalized Coupons in Offline Store
KR20180001119A (en) System, server and method for providing communication service of tourist
Chaumette et al. Architecture and comparison of two different user-centric NFC-enabled event ticketing approaches
KR101553830B1 (en) Method for Providing Personalized Mobile Game Items in Offline Store
KR101789780B1 (en) Method for Processing Ordering to Store
KR101468879B1 (en) Method for providing usim application service by application and an usim application server therefor
AU2015101271A4 (en) A hotel management system adapted for interfacing with authorised mobile communication devices
KR20170033288A (en) Method for Managing Distribution Service

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