CN108777033A - A kind of shared charger baby leasing method, device, readable storage medium storing program for executing and its terminal device based on shared leased equipment - Google Patents

A kind of shared charger baby leasing method, device, readable storage medium storing program for executing and its terminal device based on shared leased equipment Download PDF

Info

Publication number
CN108777033A
CN108777033A CN201810550709.7A CN201810550709A CN108777033A CN 108777033 A CN108777033 A CN 108777033A CN 201810550709 A CN201810550709 A CN 201810550709A CN 108777033 A CN108777033 A CN 108777033A
Authority
CN
China
Prior art keywords
charger baby
shared
mobile terminal
leased equipment
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.)
Granted
Application number
CN201810550709.7A
Other languages
Chinese (zh)
Other versions
CN108777033B (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.)
Xiamen Chengxin Zhichuang Technology Service Co ltd
Original Assignee
Individual
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 Individual filed Critical Individual
Priority to CN201810550709.7A priority Critical patent/CN108777033B/en
Publication of CN108777033A publication Critical patent/CN108777033A/en
Application granted granted Critical
Publication of CN108777033B publication Critical patent/CN108777033B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07FCOIN-FREED OR LIKE APPARATUS
    • G07F17/00Coin-freed apparatus for hiring articles; Coin-freed facilities or services
    • G07F17/0042Coin-freed apparatus for hiring articles; Coin-freed facilities or services for hiring of objects
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q30/00Commerce
    • G06Q30/06Buying, selling or leasing transactions
    • G06Q30/0645Rental transactions; Leasing transactions

Landscapes

  • Business, Economics & Management (AREA)
  • Accounting & Taxation (AREA)
  • Physics & Mathematics (AREA)
  • Finance (AREA)
  • General Physics & Mathematics (AREA)
  • Development Economics (AREA)
  • Strategic Management (AREA)
  • Marketing (AREA)
  • General Business, Economics & Management (AREA)
  • Economics (AREA)
  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Charge And Discharge Circuits For Batteries Or The Like (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The invention discloses a kind of shared charger baby leasing method based on shared leased equipment, include the following steps, server obtain information of mobile terminal, the shared leased equipment information mutually bound with the information of mobile terminal and the charger baby in the shared leased equipment mutually bound with the information of mobile terminal information;Wherein, at the time of the information of mobile terminal includes the specified electric quantity of the mobile terminal, the instant electricity of the mobile terminal, the acquisition instant electricity;The shared leased equipment information includes the charge power and the first duration of the shared leased equipment number, the interior charger baby of the charger baby sum N of the shared leased equipment, the shared leased equipment;The information of charger baby in the shared leased equipment mutually bound with the information of mobile terminal includes charger baby number.

Description

A kind of shared charger baby leasing method based on shared leased equipment, readable is deposited device Storage media and its terminal device
Technical field
The present invention relates to field of computer technology more particularly to a kind of shared charger baby based on shared leased equipment to lease Method, apparatus, readable storage medium storing program for executing and its terminal device.
Background technology
With the evolution of type of cell phone, the mobile phone generally used on the market at present is touch large screen mobile phone, and The APP softwares to match with such mobile phone also gradually increase;Although facilitating the use of people's daily life, mobile phone Power consumption also aggravates therewith;But the battery capacity of current mobile phone is limited by interior of mobile phone space, increases the skill of battery capacity Art does not have breakthrough, the external battery charger baby of mobile phone to come into being;And develop swift and violent today in internet, mobile-phone payment, It is that mobile phone charges for convenience of user, occurs shared charger baby currently on the market;
Shared charger baby can be generally assemblied in shared leased equipment, application scenarios generally occur in large-scale catering shop, Market etc., but popularizing with touch large screen mobile phone, the low situation of mobile phone electricity is easy for being happened at large-scale catering In shop on the body of each user, this lending frequency that can directly result in shared charger baby increases, and that lends frequency increases representative The rising of frequency of use, and many hirers after leasing shared charger baby on one side using while charge extend charging when Between so that more need the hirer to charge that can not charge, to provide the sharing of shared charger baby, being badly in need of one kind on the market can Match the shared charger baby leasing method based on shared leased equipment lent.
Invention content
The embodiment of the present invention provides a kind of shared charger baby leasing method based on shared leased equipment, device, readable deposits Storage media and its terminal device,
As the first aspect of the embodiment of the present invention, the embodiment of the present invention provides a kind of being total to based on shared leased equipment Charger baby leasing method is enjoyed, is included the following steps,
Server obtain information of mobile terminal, the shared leased equipment information mutually bound with the information of mobile terminal and The information of charger baby in the shared leased equipment mutually bound with the information of mobile terminal;Wherein, the mobile terminal At the time of information includes the specified electric quantity of the mobile terminal, the instant electricity of the mobile terminal, the acquisition instant electricity; The shared leased equipment information includes the shared leased equipment number, the charger baby sum N of the shared leased equipment, institute State the charge power and the first duration of the interior charger baby of shared leased equipment;The institute mutually bound with the information of mobile terminal The information for stating the charger baby in shared leased equipment includes charger baby number;
The server generates the shared lease according to first duration and at the time of obtaining the instant electricity The first of equipment leases the period;Wherein, described the is subtracted at the time of the described first initial time for leasing the period is instant electricity One duration, the described first end time for leasing the period is at the time of obtaining the instant electricity;
The charger baby that the server obtains the shared leased equipment leases in the period described first and lends number n;
The server leases the charger baby for lending frequency n and the shared leased equipment in the period according to described first Total N determines that the shared leased equipment is leased described first in the period and lends ratio P;Wherein, P=n/N;
The server is according to the specified electric quantity a of the mobile terminal, the instant electricity b of the mobile terminal and altogether Enjoy leased equipment charge power d estimate the mobile terminal be charged to it is full electricity when charging duration T;
The starting that the server obtains the charger baby mutually bound with the mobile terminal uses the moment, and according to described Begin to use moment and the charging duration T, determines that the cut-off of the charger baby uses the moment;The server goes out described in judging Whether it is more than first threshold by means of ratio P, if more than the first threshold, then sends cut-off when reaching the cut-off using the moment Instruction is to charger baby corresponding with charger baby number, so that the charger baby stops being that the mobile terminal charges.
It is set as a further improvement, the server obtains the shared lease mutually bound with the information of mobile terminal Charger baby in standby gives back time information;
The server obtains the shared leased equipment mutually bound with the information of mobile terminal with the server In charger baby give back the end time that time information is first duration, obtain the shared leased equipment second rent By means of the period;
The charger baby that the server obtains the shared leased equipment leases in the period described second and lends number n1;
The server leases the charging for lending frequency n 1 and the shared leased equipment in the period according to described second Treasured sum N determines that the shared leased equipment is leased described second in the period and lends ratio P1;Wherein, P1=n1/N;
The server lends whether frequency P1 is more than second threshold described in judging, if more than the second threshold, then institute Stating server forbids the mobile terminal to lease the charger baby in the shared leased equipment again in pause duration;
The server according to the time information of giving back of first duration and the charger baby, generate it is described it is mobile eventually The period is leased in the pause at end;Wherein, the initial time that the period is leased in the pause is that the time information of giving back of the charger baby subtracts First duration, the pause is gone to lease the end time of period and give back time information for the charger baby.
As a further improvement, ranging from the 0.7~1.0 of the first threshold.
As a further improvement, ranging from the 0.7~1.0 of the first threshold.
Correspondingly, the embodiment of the present invention also provides a kind of shared charger baby renting device based on shared leased equipment, packet It includes:
The server include acquisition module, first lease period generation module, first lend ratio module, first judge Module
The shared leased equipment for obtaining mould and being used to obtain information of mobile terminal, mutually bind with the information of mobile terminal The information of information and the charger baby in the shared leased equipment mutually bound with the information of mobile terminal;Wherein, described Information of mobile terminal includes the specified electric quantity of the mobile terminal, the instant electricity of the mobile terminal, the acquisition instant electricity At the time of amount;The shared leased equipment information includes the charging of shared the leased equipment number, the shared leased equipment Precious sum N, the shared leased equipment interior charger baby charge power and the first duration;With the information of mobile terminal Mutually the information of the charger baby in the shared leased equipment of binding includes charger baby number;
Described first lease period generation module for according to first duration and obtain the instant electricity when It carves, generate the shared leased equipment first leases the period;Wherein, the described first initial time for leasing the period is immediately electric First duration is subtracted at the time of amount, the described first end time for leasing the period is at the time of obtaining the instant electricity;
The charger baby that the server obtains the shared leased equipment leases in the period described first and lends number n;
Described first lend ratio module according to described first lease in the period lend frequency n and it is described it is shared lease set Standby charger baby sum N determines that the shared leased equipment is leased described first in the period and lends ratio P;Wherein, P=n/ N;
The charging duration calculation module be used for according to the specified electric quantity a of the mobile terminal, the mobile terminal i.e. When electricity b and shared leased equipment charge power d estimate the mobile terminal be charged to it is full electricity when charging duration T;
The starting that the acquisition module is further used for obtaining the charger baby mutually bound with the mobile terminal uses the moment, And moment and the charging duration T are used according to the starting, determine that the cut-off of the charger baby uses the moment;Described first Judgment module is for judging that the ratio P that lends whether more than first threshold, if more than the first threshold, is then reaching described Cut-off is using cutoff command is sent to charger baby corresponding with the charger baby number when moment, so that the charger baby stops It charges for the mobile terminal.
As a further improvement, further comprising that second leases period generation module, second lend ratio module, second sentence Module is leased in disconnected module and pause
The acquisition module is further used for obtaining the shared leased equipment mutually bound with the information of mobile terminal In charger baby give back time information;
Described second leases period generation module for mutually being bound with the information of mobile terminal with server acquisition The shared leased equipment in charger baby give back time information be first duration end time, obtain it is described total Enjoy leased equipment second leases the period;
The charger baby that the acquisition module is further used for obtaining the shared leased equipment leases the period described second Interior lends frequency n 1;
Described second, which lends ratio module, leases in the period according to described second and lends frequency n 1 and the shared lease The charger baby sum N of equipment determines that the shared leased equipment is leased described second in the period and lends ratio P1;Wherein, P1 =n1/N;
Second judgment module is for judging the frequency P1 that lends whether more than second threshold, if more than described second Threshold value, then the server forbid the mobile terminal to be leased in the shared leased equipment again in pause duration described Charger baby;
The pause leases module for the time information of giving back according to first duration and the charger baby, generates The period is leased in the pause of the mobile terminal;Wherein, described suspend leases the initial time of period giving back for the charger baby Time information subtracts first duration, and the end time that the period is leased in the pause is that giving back for the charger baby is believed constantly Breath.
In addition, the embodiment of the present invention provides a kind of computer readable storage medium, the computer readable storage medium packet Include the computer program of storage, wherein where controlling the computer readable storage medium when the computer program is run Equipment executes the shared charger baby leasing method as described above based on shared leased equipment.
And the embodiment of the present invention provides a kind of terminal device, including processor, deposit figure reservoir and be stored in described deposit Reservoir and it is configured the computer program executed by the processor, the processor is realized such as when executing the computer program Shared charger baby leasing method based on shared leased equipment described above.
Beneficial effects of the present invention compared with prior art,
The invention is intended to lease in the period to lease frequency according to first, judge that this leases whether the period is using peak Phase controls the charging time of mobile device and shared charger baby if so, being most full of duration soon according to mobile device, convenient Shared charger baby is used by more people.
In addition to this present invention is also intended to the second rent for end time at the time of giving back charger baby according to mobile device Frequency is leased by means of the period, judges whether the shared charger baby of the shared leased equipment is lent again to same mobile device, if It is peak period that father, which leases the period, then generates to suspend duration, avoiding user from being reused in peak period, to lease frequency high The shared charger baby of leased equipment avoids the exclusive of shared resource.
Above-mentioned general introduction is merely to illustrate that the purpose of book, it is not intended to be limited in any way.Except foregoing description Schematical aspect, except embodiment and feature, by reference to attached drawing and the following detailed description, the present invention is further Aspect, embodiment and feature, which will be, to be readily apparent that.
Description of the drawings
In the accompanying drawings, unless specified otherwise herein, otherwise run through the identical reference numeral of multiple attached drawings and indicate same or analogous Component or element.What these attached drawings were not necessarily to scale.It should be understood that these attached drawings are depicted only according to the present invention Some disclosed embodiments, and should not serve to limit the scope of the present invention.
Fig. 1 is the overall flow schematic diagram of the first embodiment of the invention;
Fig. 2 is the schematic diagram of second of embodiment of the invention.
Specific implementation mode
Hereinafter, certain exemplary embodiments are simply just described.As one skilled in the art will recognize that Like that, without departing from the spirit or scope of the present invention, described embodiment can be changed by various different modes. Therefore, attached drawing and description are considered essentially illustrative rather than restrictive.
In the description of the present invention, it is to be understood that, term "center", " longitudinal direction ", " transverse direction ", " length ", " width ", " thickness ", "upper", "lower", "front", "rear", "left", "right", "vertical", "horizontal", "top", "bottom", "inner", "outside", " up time The orientation or positional relationship of the instructions such as needle ", " counterclockwise ", " axial direction ", " radial direction ", " circumferential direction " be orientation based on ... shown in the drawings or Position relationship is merely for convenience of description of the present invention and simplification of the description, and does not indicate or imply the indicated device or element must There must be specific orientation, with specific azimuth configuration and operation, therefore be not considered as limiting the invention.
In addition, term " first ", " second " are used for description purposes only, it is not understood to indicate or imply relative importance Or implicitly indicate the quantity of indicated technical characteristic.Define " first " as a result, the feature of " second " can be expressed or Implicitly include one or more this feature.In the description of the present invention, the meaning of " plurality " is two or more, Unless otherwise specifically defined.
Referring to Fig. 1, the embodiment of the present invention provides a kind of shared charger baby leasing method based on shared leased equipment, including Following steps,
S10, server obtain information of mobile terminal, the shared leased equipment information mutually bound with information of mobile terminal and The information of charger baby in the shared leased equipment mutually bound with information of mobile terminal;Wherein, information of mobile terminal includes movement At the time of the specified electric quantity of terminal, the instant electricity of mobile terminal, acquisition instant electricity;Shared leased equipment information includes shared Leased equipment number, the charger baby sum N of shared leased equipment, shared leased equipment interior charger baby charge power and First duration;The information of charger baby in the shared leased equipment mutually bound with information of mobile terminal includes charger baby number;
S20, server generate the first rent for sharing leased equipment according to the first duration and at the time of obtaining instant electricity By means of the period;Wherein, the first duration is subtracted at the time of the first initial time for leasing the period is instant electricity, first leases the period End time is at the time of obtaining instant electricity;
Illustratively.First a length of 30 minutes when leasing, and the first end time for leasing the period is 10:30, then it first rents Initial time by means of the period is 10:00;
S30, the charger baby of the shared leased equipment of server acquisition, which is leased first in the period, lends frequency n;
S40, the charger baby sum N for lending frequency n and shared leased equipment that server was leased according to first in the period are true Surely shared leased equipment, which is leased first in the period, lends ratio P;Wherein, P=n/N;
Illustratively, it is assumed that the charger baby sum of shared leased equipment is 10, is leased in the period first and leases number Be 8, then P=0.8.
S50, server is according to the specified electric quantity a of mobile terminal, the instant electricity b of mobile terminal and shared leased equipment Charge power d estimate mobile terminal be charged to it is full electricity when charging duration T;
S60, server obtain the starting of charger baby mutually bound with mobile terminal and use the moment, and when according to starting use Carve and charge duration T, determines that the cut-off of charger baby uses the moment;S70, server are judged to borrow whether ratio P is more than first Threshold value then sends cutoff command when reaching cut-off using the moment and is filled to corresponding with charger baby number if more than first threshold It is electric precious, so that charger baby stops being that mobile terminal charges.
S10~S70 of first embodiment, it is intended that leased in the period according to first and lease frequency, judge that this leases the period Whether it is using peak period, if so, being most full of duration, control mobile device and shared charger baby soon according to mobile device Charging time, convenient shared charger baby are used by more people.
Second of embodiment of the invention, further comprises on the basis of the first embodiment,
S80, what server obtained the charger baby in the shared leased equipment mutually bound with information of mobile terminal gives back the moment Information;
Server obtains giving back for the charger baby in the shared leased equipment mutually bound with information of mobile terminal with server Time information is the end time of the first duration, and obtain shared leased equipment second leases the period;
S90, the charger baby of the shared leased equipment of server acquisition, which is leased second in the period, lends frequency n 1;
The charger baby sum N for lending frequency n 1 and shared leased equipment that server is leased according to second in the period is determined Shared leased equipment, which is leased second in the period, lends ratio P1;Wherein, P1=n1/N;
S100, server judge to borrow whether frequency P1 is more than second threshold, and if more than second threshold, then server is forbidden Mobile terminal leases charger baby in shared leased equipment again in pause duration;
S110 servers give back time information according to the first duration and charger baby, and the pause for generating mobile terminal is leased Period;Wherein, the initial time that the period is leased in pause is that the time information of giving back of charger baby subtracts the first duration, when pause is leased The end time of section gives back time information for charger baby.
Preferably, ranging from the 0.7~1.0 of first threshold, the period is represented as using peak period.
Preferably, ranging from the 0.7~1.0 of first threshold, the period is represented as using peak period.
S80~S110, it is intended that second for end time at the time of giving back charger baby according to mobile device leases the period Lease frequency, judge whether the shared charger baby of the shared leased equipment is lent again to same mobile device, if father leases Period is peak period, then generates to suspend duration, avoids user from being reused in peak period and leases the high lease of frequency and set Standby shared charger baby avoids the exclusive of shared resource.
The third embodiment of the invention, also provides a kind of shared charger baby renting device based on shared leased equipment, wraps It includes:
Server includes acquisition module 10, first leases period generation module 20, first lends ratio module 30, first Judgment module 40, second lease period generation module 50, second lend ratio module 60, the second judgment module 70 and pause rent By means of module 80;
Obtain mould for obtain information of mobile terminal, the shared leased equipment information mutually bound with information of mobile terminal and The information of charger baby in the shared leased equipment mutually bound with information of mobile terminal;Wherein, information of mobile terminal includes movement At the time of the specified electric quantity of terminal, the instant electricity of mobile terminal, acquisition instant electricity;Shared leased equipment information includes shared Leased equipment number, the charger baby sum N of shared leased equipment, shared leased equipment interior charger baby charge power and First duration;The information of charger baby in the shared leased equipment mutually bound with information of mobile terminal includes charger baby number;
First leases period generation module 20 for according to the first duration and at the time of obtain instant electricity, generating shared The first of leased equipment leases the period;Wherein, when subtracting first at the time of the first initial time for leasing the period is instant electricity Long, the first end time for leasing the period is at the time of obtaining instant electricity;
The charger baby of the shared leased equipment of server acquisition, which is leased first in the period, lends frequency n;
First lends the charger baby for lending frequency n and shared leased equipment that ratio module 30 was leased according to first in the period Total N determines that shared leased equipment is leased first in the period and lends ratio P;Wherein, P=n/N;
The duration calculation module that charges be used for according to the specified electric quantity a of mobile terminal, the instant electricity b of mobile terminal and The charge power d of shared leased equipment estimates charging duration T when mobile terminal is charged to full electricity;
Acquisition module 10 is further used for obtaining the starting for the charger baby mutually bound with mobile terminal using the moment, and according to Starting determines that the cut-off of charger baby uses the moment using moment and charging duration T;First judgment module 40 is for judging to borrow Ratio P whether be more than first threshold, if more than first threshold, then reach cut-off using the moment when send cutoff command to fill Electric treasured numbers corresponding charger baby, so that charger baby stops being that mobile terminal charges.
Acquisition module 10 is further used for obtaining the charger baby in the shared leased equipment mutually bound with information of mobile terminal Give back time information;
Second leases period generation module 50 for obtaining the shared lease mutually bound with information of mobile terminal with server Charger baby in equipment gives back the end time that time information is the first duration, obtains when sharing the second of leased equipment and leasing Section;
Acquisition module 10 is further used for obtaining the charger baby of shared leased equipment and leases lending time in the period second Number n1;
Second lends the charging for lending frequency n 1 and shared leased equipment that ratio module 60 was leased according to second in the period Precious sum N determines that shared leased equipment is leased second in the period and lends ratio P1;Wherein, P1=n1/N;
Second judgment module 70 is for judging whether then taken if more than second threshold more than second threshold by means of frequency P1 Business device forbidden moves terminal leases charger baby in shared leased equipment again in pause duration;
Pause leases module 80 for giving back time information according to the first duration and charger baby, generates mobile terminal The period is leased in pause;Wherein, the initial time that the period is leased in pause is that the time information of giving back of charger baby subtracts the first duration, temporarily The end time off-hired by means of the period gives back time information for charger baby.
The third of the invention embodiment provides a kind of shared charger baby based on shared leased equipment and leases terminal device, Including processor, memory and it is stored in the memory and is configured the computer program executed by the processor, example Such as:The program of barcode scanning payment amount input.The processor realizes above-mentioned of first aspect when executing the computer program Step in the embodiment of barcode scanning payment amount input described in one.
Illustratively, the computer program can be divided into one or more modules, one or more of moulds Block is stored in the memory, and is executed by the processor, to complete the present invention.One or more of modules can be with It is the series of computation machine program instruction section that can complete specific function, the instruction segment is for describing the computer program in institute State the implementation procedure that the shared charger baby based on shared leased equipment is leased in terminal device.
The terminal device may include, but be not limited only to, processor, memory, display.Those skilled in the art can be with Understand, the shared charger baby that the schematic diagram is only based on shared leased equipment leases the example of terminal device, does not constitute May include than illustrating more or fewer portions to leasing the restriction of terminal device based on the shared charger baby of shared leased equipment Part either combines certain components or different components, such as the shared charger baby based on shared leased equipment is leased terminal and set Standby can also include input-output equipment, network access equipment, bus etc..
Alleged processor can be central processing unit (Central Processing Unit, CPU), can also be it His general processor, digital signal processor (Digital Signal Processor, DSP), application-specific integrated circuit (Application Specific Integrated Circuit, ASIC), ready-made programmable gate array (Field- Programmable Gate Array, FPGA) either other programmable logic device, discrete gate or transistor logic, Discrete hardware components etc..General processor can be microprocessor or the processor can also be any conventional processor Deng the processor is the control centre for leasing terminal device based on the shared charger baby of shared leased equipment, using each Kind interface and the entire various pieces that terminal device is leased based on the shared charger baby of shared leased equipment of connection.
The memory can be used for storing the computer program and/or module, and the processor is by running or executing Computer program in the memory and/or module are stored, and calls the data being stored in memory, based on shared The shared charger baby of leased equipment leases the various functions of terminal device.The memory can include mainly storing program area and deposit Store up data field, wherein storing program area can storage program area, the application program needed at least one function (for example broadcast by sound Playing function, text conversion function etc.) etc.;Storage data field can be stored uses created data (such as audio according to mobile phone Data, text message data etc.) etc..In addition, memory may include high-speed random access memory, can also include non-easy The property lost memory, such as hard disk, memory, plug-in type hard disk, intelligent memory card (Smart Media Card, SMC), secure digital (Secure Digital, SD) block, flash card (Flash Card), at least one disk memory, flush memory device or other Volatile solid-state part.
Wherein, if the shared charger baby based on shared leased equipment leases the module of terminal device with software function The form of unit is realized and when sold or used as an independent product, can be stored in a computer read/write memory medium In.Based on this understanding, the present invention realizes all or part of flow in above-described embodiment method, can also pass through computer Program is completed to instruct relevant hardware, and the computer program can be stored in a computer readable storage medium, The computer program is when being executed by processor, it can be achieved that the step of above-mentioned each embodiment of the method.Wherein, the computer journey Sequence includes computer program code, and the computer program code can be source code form, object identification code form, executable text Part or certain intermediate forms etc..The computer-readable medium may include:Appointing for the computer program code can be carried What entity or device, recording medium, USB flash disk, mobile hard disk, magnetic disc, CD, computer storage, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), electric carrier signal, telecommunications letter Number and software distribution medium etc..It should be noted that the content that the computer-readable medium includes can be managed according to the administration of justice Local legislation and the requirement of patent practice carry out increase and decrease appropriate, such as in certain jurisdictions, according to legislation and patent Practice, computer-readable medium do not include electric carrier signal and telecommunication signal.
It should be noted that the apparatus embodiments described above are merely exemplary, wherein described be used as separating component The unit of explanation may or may not be physically separated, and the component shown as unit can be or can also It is not physical unit, you can be located at a place, or may be distributed over multiple network units.It can be according to actual It needs that some or all of module therein is selected to achieve the purpose of the solution of this embodiment.In addition, device provided by the invention In embodiment attached drawing, the connection relation between module indicates there is communication connection between them, specifically can be implemented as one or A plurality of communication bus or signal wire.Those of ordinary skill in the art are without creative efforts, you can to understand And implement.
The above description is merely a specific embodiment, but scope of protection of the present invention is not limited thereto, any Those familiar with the art in the technical scope disclosed by the present invention, can readily occur in its various change or replacement, These should be covered by the protection scope of the present invention.Therefore, protection scope of the present invention should be with the guarantor of the claim It protects subject to range.

Claims (8)

1. a kind of shared charger baby leasing method based on shared leased equipment, which is characterized in that include the following steps,
Server obtain information of mobile terminal, the shared leased equipment information mutually bound with the information of mobile terminal and with institute State the information of the charger baby in the shared leased equipment that information of mobile terminal is mutually bound;Wherein, the information of mobile terminal The instant electricity of specified electric quantity, the mobile terminal including the mobile terminal, at the time of obtain the instant electricity;It is described Shared leased equipment information includes the charger baby sum N, described total of the shared leased equipment number, the shared leased equipment Enjoy the charge power and the first duration of the interior charger baby of leased equipment;It is mutually bound with the information of mobile terminal described total The information for enjoying the charger baby in leased equipment includes charger baby number;
The server generates the shared leased equipment according to first duration and at the time of obtaining the instant electricity First lease the period;Wherein, when subtracting described first at the time of the described first initial time for leasing the period is instant electricity Long, the described first end time for leasing the period is at the time of obtaining the instant electricity;
The charger baby that the server obtains the shared leased equipment leases in the period described first and lends frequency n;
The server leases the charger baby sum for lending frequency n and the shared leased equipment in the period according to described first N determines that the shared leased equipment is leased described first in the period and lends ratio P;Wherein, P=n/N;
The server is according to the specified electric quantity a of the mobile terminal, the instant electricity b of the mobile terminal and shared lease The charge power d of equipment estimates the charging duration T when mobile terminal is charged to full electricity;
The starting that the server obtains the charger baby mutually bound with the mobile terminal uses the moment, and is made according to the starting With moment and the charging duration T, determine that the cut-off of the charger baby uses the moment;The server lends ratio described in judging Whether value P is more than first threshold, if more than the first threshold, then sends cutoff command when reaching the cut-off using the moment To charger baby corresponding with charger baby number, so that the charger baby stops being that the mobile terminal charges.
2. according to the method described in claim 1, it is characterized in that, server acquisition is mutually tied up with the information of mobile terminal Charger baby in the fixed shared leased equipment gives back time information;
The server is obtained with the server in the shared leased equipment mutually bound with the information of mobile terminal Charger baby gives back the end time that time information is first duration, when obtaining the second of the shared leased equipment and leasing Section;
The charger baby that the server obtains the shared leased equipment leases in the period described second and lends frequency n 1;
The charger baby for lending frequency n 1 and the shared leased equipment that the server was leased according to described second in the period is total Number N determines that the shared leased equipment is leased described second in the period and lends ratio P1;Wherein, P1=n1/N;
The server lends whether frequency P1 is more than second threshold described in judging, if more than the second threshold, then clothes Business device forbids the mobile terminal to lease the charger baby in the shared leased equipment again in pause duration;
The server gives back time information according to first duration and the charger baby, generates the mobile terminal The period is leased in pause;Wherein, the pause leases the initial time of period and subtracts institute for the time information of giving back of the charger baby The first duration is stated, the pause leases the end time of period and gives back time information for the charger baby.
3. according to the method described in claim 1, it is characterized in that ranging from the 0.7~1.0 of the first threshold.
4. according to the method described in claim 2, it is characterized in that ranging from the 0.7~1.0 of the first threshold.
5. a kind of shared charger baby renting device based on shared leased equipment, which is characterized in that the server includes obtaining Module, first lease period generation module, first lend ratio module, the first judgment module
The shared leased equipment information for obtaining mould and being used to obtain information of mobile terminal, mutually bind with the information of mobile terminal And the information of the charger baby in the shared leased equipment mutually bound with the information of mobile terminal;Wherein, the movement End message includes the specified electric quantity of the mobile terminal, the instant electricity of the mobile terminal, the acquisition instant electricity Moment;The shared leased equipment information includes that the shared leased equipment number, the charger baby of the shared leased equipment are total Number N, the shared leased equipment interior charger baby charge power and the first duration;It is mutually tied up with the information of mobile terminal The information of charger baby in the fixed shared leased equipment includes charger baby number;
Described first leases period generation module for according to first duration and at the time of obtain the instant electricity, raw The period is leased at the first of the shared leased equipment;Wherein, the described first initial time for leasing the period is instant electricity Moment subtracts first duration, and the described first end time for leasing the period is at the time of obtaining the instant electricity;
The charger baby that the server obtains the shared leased equipment leases in the period described first and lends frequency n;
Described first, which lends ratio module, leases in the period according to described first and lends frequency n and the shared leased equipment Charger baby sum N determines that the shared leased equipment is leased described first in the period and lends ratio P;Wherein, P=n/N;
The charging duration calculation module is used for the instant electricity according to the specified electric quantity a of the mobile terminal, the mobile terminal The amount b and charge power d of shared leased equipment estimates the charging duration T when mobile terminal is charged to full electricity;
The starting that the acquisition module is further used for obtaining the charger baby mutually bound with the mobile terminal uses moment, and root Moment and the charging duration T are used according to the starting, determines that the cut-off of the charger baby uses the moment;Described first judges Module described lends whether ratio P more than first threshold is then reaching the cut-off if more than the first threshold for judging Using cutoff command extremely charger baby corresponding with charger baby number is sent when the moment, so that the charger baby stops being institute State mobile terminal charging.
6. device according to claim 5, which is characterized in that
Further comprise second lease period generation module, second lend ratio module, the second judgment module and pause lease Module
The acquisition module is further used for obtaining in the shared leased equipment mutually bound with the information of mobile terminal Charger baby gives back time information;
Described second leases period generation module for obtaining the institute mutually bound with the information of mobile terminal with the server That states the charger baby in shared leased equipment gives back the end time that time information is first duration, obtains the shared rent The second of equipment of renting leases the period;
The charger baby that the acquisition module is further used for obtaining the shared leased equipment is leased described second in the period Lend frequency n 1;
Described second, which lends ratio module, leases in the period according to described second and lends frequency n 1 and the shared leased equipment Charger baby sum N determine that the shared leased equipment is leased described second in the period and lend ratio P1;Wherein, P1= n1/N;
Second judgment module is for judging the frequency P1 that lends whether more than second threshold, if more than second threshold It is worth, then the server forbids the mobile terminal to lease described fill in the shared leased equipment again in pause duration It is electric precious;
The pause leases module for the time information of giving back according to first duration and the charger baby, described in generation The period is leased in the pause of mobile terminal;Wherein, the pause leases the initial time of period and gives back the moment for the charger baby Information subtracts first duration, and the pause leases the end time of period and gives back time information for the charger baby.
7. a kind of computer readable storage medium, which is characterized in that the computer readable storage medium includes the calculating of storage Machine program, wherein equipment where controlling the computer readable storage medium when the computer program is run is executed as weighed Profit requires the shared charger baby leasing method based on shared leased equipment described in 1 to 4 any one.
8. a kind of terminal device, which is characterized in that including processor, deposit figure reservoir and be stored in the memory and be configured The computer program executed by the processor, the processor realize such as Claims 1-4 when executing the computer program Shared charger baby leasing method of any one of them based on shared leased equipment.
CN201810550709.7A 2018-05-31 2018-05-31 Shared charger treasure leasing method based on shared leasing equipment and terminal equipment thereof Active CN108777033B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810550709.7A CN108777033B (en) 2018-05-31 2018-05-31 Shared charger treasure leasing method based on shared leasing equipment and terminal equipment thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810550709.7A CN108777033B (en) 2018-05-31 2018-05-31 Shared charger treasure leasing method based on shared leasing equipment and terminal equipment thereof

Publications (2)

Publication Number Publication Date
CN108777033A true CN108777033A (en) 2018-11-09
CN108777033B CN108777033B (en) 2021-03-23

Family

ID=64028258

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810550709.7A Active CN108777033B (en) 2018-05-31 2018-05-31 Shared charger treasure leasing method based on shared leasing equipment and terminal equipment thereof

Country Status (1)

Country Link
CN (1) CN108777033B (en)

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109859005A (en) * 2019-01-14 2019-06-07 浙江五号科技有限公司 A kind of shared charger baby system
CN109871921A (en) * 2019-01-14 2019-06-11 成都智慧全域信息技术有限公司 A kind of calculation method of rental formula electronic equipment
CN111063119A (en) * 2019-11-20 2020-04-24 深圳来电科技有限公司 Number setting method and server for mobile power supply leasing equipment
CN111476631A (en) * 2020-03-31 2020-07-31 深圳街电科技有限公司 Mobile power supply discharging method, server, leasing equipment and mobile power supply
CN111737663A (en) * 2020-05-20 2020-10-02 广州市格利网络技术有限公司 Use control method and device of borrowing equipment
CN112150712A (en) * 2019-06-26 2020-12-29 苏州长鼎兴智能科技有限公司 Charger sharing system
CN112886077A (en) * 2021-01-14 2021-06-01 苏州极闪控电信息技术有限公司 Shared street electricity management method based on big data
CN112907840A (en) * 2021-02-01 2021-06-04 北京三快在线科技有限公司 Pop-up control method and device for shared charge pal and electronic equipment
CN112910043A (en) * 2021-02-06 2021-06-04 苏州极闪控电信息技术有限公司 Operation method of shared power bank
CN112909365A (en) * 2019-12-03 2021-06-04 广州极飞科技股份有限公司 Battery control method and device
CN114820035A (en) * 2022-03-31 2022-07-29 广东以诺通讯有限公司 Method and device for charging rental charger, intelligent terminal and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090234757A1 (en) * 2008-03-13 2009-09-17 Ben Tarbell Renewable energy system monitor
US20130254084A1 (en) * 2011-12-29 2013-09-26 E. Keith Darrow System and method for effective interest rate calculation
CN107103702A (en) * 2017-05-10 2017-08-29 深圳市租电智能科技有限公司 A kind of cloud rents charger system and its control method
CN107274575A (en) * 2017-06-24 2017-10-20 重庆壹元电科技有限公司 Portable power source gives back management method, Cloud Server and management system
CN107464361A (en) * 2017-07-07 2017-12-12 深圳街电科技有限公司 Portable power source leasing method and equipment

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090234757A1 (en) * 2008-03-13 2009-09-17 Ben Tarbell Renewable energy system monitor
US20130254084A1 (en) * 2011-12-29 2013-09-26 E. Keith Darrow System and method for effective interest rate calculation
CN107103702A (en) * 2017-05-10 2017-08-29 深圳市租电智能科技有限公司 A kind of cloud rents charger system and its control method
CN107274575A (en) * 2017-06-24 2017-10-20 重庆壹元电科技有限公司 Portable power source gives back management method, Cloud Server and management system
CN107464361A (en) * 2017-07-07 2017-12-12 深圳街电科技有限公司 Portable power source leasing method and equipment

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
琚洁华: "移动式充电宝电池管理***设计", 《时代汽车》 *

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109871921A (en) * 2019-01-14 2019-06-11 成都智慧全域信息技术有限公司 A kind of calculation method of rental formula electronic equipment
CN109859005A (en) * 2019-01-14 2019-06-07 浙江五号科技有限公司 A kind of shared charger baby system
CN112150712A (en) * 2019-06-26 2020-12-29 苏州长鼎兴智能科技有限公司 Charger sharing system
CN111063119A (en) * 2019-11-20 2020-04-24 深圳来电科技有限公司 Number setting method and server for mobile power supply leasing equipment
CN112909365A (en) * 2019-12-03 2021-06-04 广州极飞科技股份有限公司 Battery control method and device
CN112909365B (en) * 2019-12-03 2024-02-13 广州极飞科技股份有限公司 Battery control method and device
CN111476631A (en) * 2020-03-31 2020-07-31 深圳街电科技有限公司 Mobile power supply discharging method, server, leasing equipment and mobile power supply
CN111476631B (en) * 2020-03-31 2023-08-29 深圳街电科技有限公司 Mobile power supply discharging method, server, leasing equipment and mobile power supply
CN111737663A (en) * 2020-05-20 2020-10-02 广州市格利网络技术有限公司 Use control method and device of borrowing equipment
CN112886077A (en) * 2021-01-14 2021-06-01 苏州极闪控电信息技术有限公司 Shared street electricity management method based on big data
CN112907840A (en) * 2021-02-01 2021-06-04 北京三快在线科技有限公司 Pop-up control method and device for shared charge pal and electronic equipment
CN112910043A (en) * 2021-02-06 2021-06-04 苏州极闪控电信息技术有限公司 Operation method of shared power bank
CN114820035A (en) * 2022-03-31 2022-07-29 广东以诺通讯有限公司 Method and device for charging rental charger, intelligent terminal and storage medium

Also Published As

Publication number Publication date
CN108777033B (en) 2021-03-23

Similar Documents

Publication Publication Date Title
CN108777033A (en) A kind of shared charger baby leasing method, device, readable storage medium storing program for executing and its terminal device based on shared leased equipment
EP2503827B1 (en) Method and device for selecting access point name
CN105896657B (en) A kind of method and mobile terminal of mobile terminal charging
CN106465237B (en) Wireless communications method, processor and wireless terminal
CN104484378A (en) Method, device and terminal for pushing notification messages
CN107979693A (en) A kind of information processing method and device, terminal and readable storage medium storing program for executing
CN108629660A (en) A kind of shared charger baby based on mobile terminal electricity leases configuration method, device and its system
CN105811508B (en) A kind of method and mobile terminal of mobile terminal charging
CN104750790B (en) A kind of software recommendation method and device
CN104426188A (en) Wireless charging method, wireless charging system, wireless charging device and wearable device
CN105848117A (en) Recharging method and recharging device
CN103905652A (en) Power supply management method and electronic device
CN101901157B (en) Management software self-starting installation method and system
CN107046304B (en) Wireless charging method, related device and system
CN107508969A (en) A kind of information processing method, device, computer installation and computer-readable recording medium
CN113256892A (en) New energy automobile shared charger preferential leasing method and system and memory
CN109818759B (en) Data display-based traffic sharing method and device and computer equipment
CN108876550A (en) A kind of leasing method based on shared charger baby, device and its system
CN105430698B (en) Access network switch method and device
CN106410297A (en) Charging method and electronic device
CN106454531B (en) Multimedia resource loading method and device
CN107392342A (en) Terminal, casing leasing system and casing reservation charging method
CN108021639A (en) Information-pushing method, device, server and storage medium
CN114142110A (en) Battery control method, device, electronic equipment and storage medium
CN112435402A (en) Charging and billing device

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
TA01 Transfer of patent application right

Effective date of registration: 20210309

Address after: 350400 No. 20 station C, No. 31, Taiwan Pioneer Park, Jin Jing two road, Pingtan comprehensive experimentation area, Fuzhou, Fujian.

Applicant after: PINGTAN CHENGXIN ZHICHUANG TECHNOLOGY Co.,Ltd.

Address before: 251600 No.98, zhoujiaji village, Huairen Town, Shanghe County, Jinan City, Shandong Province

Applicant before: Zhou Zhenzhen

Applicant before: Zhang Shuwei

Applicant before: Zou Yanjie

TA01 Transfer of patent application right
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right

Effective date of registration: 20231212

Address after: Unit 703, No. 199-1 Fengqi Road, Software Park Phase III, Xiamen City, Fujian Province, 361000

Patentee after: XIAMEN CHENGXIN ZHICHUANG TECHNOLOGY SERVICE CO.,LTD.

Address before: 350400 No. 20 station C, No. 31, Taiwan Pioneer Park, Jin Jing two road, Pingtan comprehensive experimentation area, Fuzhou, Fujian.

Patentee before: PINGTAN CHENGXIN ZHICHUANG TECHNOLOGY Co.,Ltd.

TR01 Transfer of patent right