CN109886786A - Space rent method, device, computer equipment and storage medium - Google Patents
Space rent method, device, computer equipment and storage medium Download PDFInfo
- Publication number
- CN109886786A CN109886786A CN201910121958.9A CN201910121958A CN109886786A CN 109886786 A CN109886786 A CN 109886786A CN 201910121958 A CN201910121958 A CN 201910121958A CN 109886786 A CN109886786 A CN 109886786A
- Authority
- CN
- China
- Prior art keywords
- idle space
- space
- request
- unlocking pin
- idle
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Landscapes
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
This application involves a kind of space rent method, system, computer equipment and storage mediums.It is requested the described method includes: obtaining terminal by the lease of scanning idle space code triggering, carries user identifier and idle space mark in the lease request;Search order corresponding with the user identifier and idle space mark;When finding corresponding order, obtains the idle space and identify corresponding unlocking pin;The unlocking pin is sent to the idle space, the unlocking pin is for being unlocked the coded lock of the idle space.This method, user can be easy the problem of losing, the lease service for the offer idle space that businessman also can be convenient, and this mode for combining hardware smart lock with user terminal application without having to worry about key, also can reduce the lease input cost of businessman.
Description
Technical field
This application involves field of computer technology, more particularly to a kind of space rent method, device, computer equipment and
Storage medium.
Background technique
With the development of computer technology, resource, which maximally utilizes, also becomes the focus that people discuss warmly.It is idle when existing
Redundant space when, in order to maximally utilize, people can by oneself leave unused space hire out, for other people use.Such as
People can hire out in extra room.
In the prior art, when leasing space, firstly, will receive the limitation of owner's work hours.Secondly, will receive
This Lease way can not be extended on more products and be used, be difficult reality by the limitation of shelf space and place space
Now line down-off is directed on line and is carried on the business.Moreover, presently, all there are secondary taxis in place etc. in each big city
The implementation of relevant item, but place is limited and the mode of self-operations is in the majority.There is still a need for independently transport by most owner and businessman
Battalion, not there are the solution of over all Integration, the small businessmans for resulting in the need for doing small-scale storage operation are also difficult voluntarily
It builds and independently runs, not only the higher also operation way of hiring cost also more limits to.
Summary of the invention
Based on this, it is necessary in view of the above technical problems, provide one kind and can reduce businessman and carry out lease investment to space
Cost, and space rent method, device, computer equipment and the storage medium of operation way can be expanded.
A kind of space rent method, which comprises
It obtains terminal to request by the lease of scanning idle space code triggering, carries user identifier in the lease request
It is identified with idle space;
Search order corresponding with the user identifier and idle space mark;
When finding corresponding order, obtains the idle space and identify corresponding unlocking pin;
The unlocking pin is sent to the idle space, the unlocking pin is used for the password to the idle space
Lock is unlocked.
The above method in one of the embodiments, further include:
When not finding corresponding order, Xiang Suoshu terminal sends premium notice;
Obtain the request that the terminal is paid the fees according to the premium notice;
After paying the fees successfully, obtains the idle space and identify corresponding unlocking pin.
In one of the embodiments, after described pay the fees successfully after, further includes:
Corresponding payment data and corresponding user identifier are stored to database after paying the fees successfully;
It is described the unlocking pin is sent to the idle space after, further includes:
The coded lock is detected every preset time, the coded lock is restored.
It is described when finding corresponding order in one of the embodiments, it obtains the idle space mark and corresponds to
Unlocking pin, comprising:
When finding corresponding order, the use duration for including in the corresponding order is obtained;
When according to it is described detect the corresponding order when in use using duration between in section when, then obtain described idle
The corresponding unlocking pin of space identification.
In one of the embodiments, after the unlocking pin is sent to the idle space, further includes:
Obtain the use duration for including in the corresponding order;
When detecting that residue reaches preset time using the time according to the use duration, then to the user identifier pair
The user answered sends prompt information.
In one of the embodiments, after the unlocking pin is sent to the idle space, further includes:
Receive the end lease request that terminal is sent;
Get the use duration for including in the corresponding order;
When detect the time using the idle space be more than it is described using duration when, then send and pay the fees to the terminal
Request;
After the terminal requests successfully payment according to the payment, then obtains the idle space and identify corresponding unlock
Password;
The unlocking pin is sent to the idle space to be unlocked.
The idle space is corresponding with the corresponding order of multiple user identifiers in one of the embodiments,;By the spare time
Multiple subspaces are divided between emptying;It obtains terminal and passes through the lease request of scanning idle space code triggering, comprising: obtain at least
One terminal is requested by the lease to the subspace of scanning idle space code triggering.
In one of the embodiments, after the unlocking pin is sent to the idle space, further includes: obtain
Acquisition request using user to the article for being placed on the subspace;
When the acquisition request is reserve requests, the corresponding warehouse in the subspace Xiang Suoshu sends distribution instruction, described to match
Instruction is sent to dispense corresponding article to the subspace for the corresponding warehouse in the subspace;
When the acquisition request is to timely respond to request, correspondence is provided using user to described according to the acquisition request
Article.
In one of the embodiments, the method also includes:
The request of withdrawing deposit of management account is received, carries administrator's mark in the request of withdrawing deposit;
Obtain idle space mark corresponding with administrator mark;
It obtains the idle space and identifies the corresponding order amount of money;
The order amount of money is withdrawn deposit into default account corresponding with administrator mark according to the request of withdrawing deposit.
A kind of space leasing system, described device include:
Leasing module is requested for obtaining terminal by the lease of scanning idle space code triggering, in the lease request
Carry user identifier and idle space mark;
Order module, for searching order corresponding with the user identifier and idle space mark;
Unlocked state identifies corresponding unlocking pin for when finding corresponding order, obtaining the idle space;
The unlocking pin is sent to the idle space, the unlocking pin is for solving the coded lock of the idle space
Lock.
A kind of computer equipment can be run on a memory and on a processor including memory, processor and storage
Computer program, the processor perform the steps of when executing the computer program
It obtains terminal to request by the lease of scanning idle space code triggering, carries user identifier in the lease request
It is identified with idle space;
Search order corresponding with the user identifier and idle space mark;
When finding corresponding order, obtains the idle space and identify corresponding unlocking pin;
The unlocking pin is sent to the idle space, the unlocking pin is used for the password to the idle space
Lock is unlocked.
A kind of computer readable storage medium, is stored thereon with computer program, and the computer program is held by processor
It is performed the steps of when row
It obtains terminal to request by the lease of scanning idle space code triggering, carries user identifier in the lease request
It is identified with idle space;
Search order corresponding with the user identifier and idle space mark;
When finding corresponding order, obtains the idle space and identify corresponding unlocking pin;
The unlocking pin is sent to the idle space, the unlocking pin is used for the password to the idle space
Lock is unlocked.
Above-mentioned space rent method, device, computer equipment and storage medium, user can be by terminals to idle space
Space code be scanned, so as to idle space initiate lease request.Server is in the lease for getting terminal initiation
It, can be according to the user identifier and idle space identifier lookup carried in lease request to corresponding order, to search after request
To the corresponding unlocking pin of idle space, so as to realize that the coded lock to idle space is unlocked, user be can be used
The idle space.In this way, user can be easy the problem of losing without having to worry about key, the offer idle space that businessman also can be convenient
Lease service, and this mode for combining hardware smart lock with user terminal application also can reduce the lease of businessman
Input cost.
Detailed description of the invention
Fig. 1 is the applied environment figure of space rent method in one embodiment;
Fig. 2 is the flow diagram of space rent method in one embodiment;
Fig. 3 is the flow diagram of paying process in one embodiment;
Fig. 4 is the flow diagram in one embodiment after step 108;
Fig. 5 is the flow diagram of process of withdrawing deposit in one embodiment;
Fig. 6 is the structural block diagram of space leasing system in one embodiment;
Fig. 7 is the internal structure chart of computer equipment in one embodiment.
Specific embodiment
It is with reference to the accompanying drawings and embodiments, right in order to which the objects, technical solutions and advantages of the application are more clearly understood
The application is further elaborated.It should be appreciated that specific embodiment described herein is only used to explain the application, not
For limiting the application.
Space rent method provided by the present application, can be applied in application environment as shown in Figure 1.Wherein, terminal 110
It is communicated with server 120 by network by network.The smart lock 130 of server 120 and idle space by network into
Row communication.Wherein, terminal 110 can be, but not limited to be various personal computers, laptop, smart phone, tablet computer
With portable wearable device, server 120 can use the server set of the either multiple server compositions of independent server
Group realizes.
In one embodiment, as shown in Fig. 2, providing a kind of space rent method, it is applied in Fig. 1 in this way
It is illustrated for server, comprising the following steps:
Step 202, it obtains terminal to request by the lease of scanning idle space code triggering, carries user in lease request
Mark and idle space mark.
Step 204, order corresponding with user identifier and idle space mark is searched.
Step 206, it when finding corresponding order, obtains idle space and identifies corresponding unlocking pin.
Step 208, unlocking pin is sent to idle space, unlocking pin is for solving the coded lock of idle space
Lock.
Idle space code can be two dimensional code, bar code or other can be used for identified label.Idle space code with
Idle space corresponds, i.e., each idle space has corresponding code.Terminal can be used to scan idle space code for user,
Specifically, the small routine of wechat can be used to be scanned idle space code for user.So as to trigger the rent to idle space
Request of renting is sent to server.User identifier and idle space mark are carried in lease request.User identifier refers to user
When using terminal scans idle space code, used social activity account or the corresponding mark of communicating number.Idle space mark
Knowledge refers to that idle space code identifies correspondingly.Server receive terminal transmission lease request after, can find with
User identifier and idle space identify corresponding order.One user identifier can be corresponding with multiple orders, therefore in order to realize
It is accurate to search, it can search simultaneously and the corresponding order of user identifier and idle space mark.Since user can be to same
A idle space is repeatedly leased, then the corresponding order identified with user identifier and idle space found can also have
It is multiple, therefore, the time that terminal sends lease request can be further got, and search is sent out in user in the order found
Order can be used in the time point for sending lease to request.
After finding corresponding order, unlocking pin corresponding with idle space mark can be got.Idle space
Encryption and manner of decryption can be AES128 mode, lock body is linked by the encryption and decryption mode of AES128, confirmation lock body is
After certification lock, certification lock body and idle space mark can be bound, the binding of the smart lock of idle space can be completed.
In this way, unlocking pin can be sent to corresponding idle space, then after getting corresponding unlocking pin by server
It can be realized and the coded lock of idle space is unlocked.
User can be scanned by space code of the terminal to idle space, so as to initiate to lease to idle space
Request.Server according to the user identifier carried in lease request and can leave unused after getting the lease request that terminal is initiated
Space identification finds corresponding order, so that the corresponding unlocking pin of idle space is found, so as to realize to idle
The coded lock in space is unlocked, and the idle space can be used in user.In this way, user can be easy to lose without having to worry about key
Problem, the lease service for the offer idle space that businessman also can be convenient, and it is this by hardware smart lock and user terminal application
The mode combined also can reduce the lease input cost of businessman.
In one embodiment, as shown in figure 3, the above method further include:
Step 302, when not finding corresponding order, premium notice is sent to terminal.
Step 304, the request that terminal is paid the fees according to premium notice is obtained.
Step 306, it after paying the fees successfully, obtains idle space and identifies corresponding unlocking pin.
It is available to identify corresponding unlocking pin to idle space when server finds corresponding order.Work as clothes
When being engaged in device lookup less than corresponding order, server can then be requested according to user by the lease that terminal be initiated, and be sent out to terminal
Send premium notice.After terminal pay the fees successfully according to premium notice, even if being equivalent to user pays an order, then
Server is then available to identify corresponding unlocking pin to idle space.In this case, user is not in advance to idle
Initiate lease in space.
Such as in an application scenarios, user is that temporary needs leases idle space, then user can sweep
It retouches the lease that idle space code is initiated to idle space to request, in this case, user does not in advance carry out idle space
Lease, therefore user can not be found in server and lease the corresponding order that can be used of this idle space.So use
Family needs first to pay correlative charges, can successfully initiate the rental operations to this idle space.When monitoring server to user
After using terminal is paid successfully, that is, corresponding order is produced, then the server then available unlock to the idle space
Password is unlocked so as to the coded lock to idle space, and the idle space can be used in user.Then user is this time to the spare time
Rental operations between emptying also are successfully executed.
In one embodiment, after step 306, further includes: corresponding payment data and correspondence after paying the fees successfully
User identifier store to database.After step 108, further includes: coded lock is detected every preset time, it will be close
Code lock reduction.
After user is successfully paid the fees by terminal, server corresponding payment data and corresponding use after can paying the fees successfully
Family mark is stored to database.Such as the mark of idle space corresponding to data of paying the fees, user identifier and lease idle space
Period or lease idle space duration.In this way, server can find idle sky according to the relevant information of payment
Between unlocking pin.
Server can detect coded lock every preset time, and coded lock is restored, and being restored to user can be with hand
The dynamic state for closing coded lock.That is, when server passes through the coded lock of transmission unlocking pin to idle space
When being unlocked, coded lock is got stuck for some time, and user can not carry out door-closing operation, this can also prevent from servicing
The case where device opens decoding lock, but user does not realize, lock is caused to be locked again.Therefore server can be every one section
Time just examines whether the lock of coded lock has normally restored, and user can close the door manually.Preset time can be set
It is set to 10s.
In one embodiment, step 106, comprising: when finding corresponding order, obtain in the corresponding order
The use duration for including;When according to section between using duration to detect corresponding order when in use, then idle space is obtained
Identify corresponding unlocking pin.
When server finds corresponding order, the available use duration for including into order.Such as in order
Defined use duration is 10 points to 13 points of July 1 in 2018, then this order is then merely able to use within the time period.Make
It can also be a period with duration, for example the use of duration be 3 hours.When server is corresponding according to using duration to detect
Order when in use between in section when, then available idle space identifies corresponding unlocking pin to solve to idle space
Lock.
In one embodiment, after unlocking pin is sent to idle space, further includes: obtain in corresponding order
The use duration for including;When according to using duration to detect that residue uses the time to reach preset time, then to user identifier pair
The user answered sends prompt information.
In the present embodiment, whether server can reach default using the time according to the use duration detection got is remaining
Time, if prompt information can be sent to the corresponding user of user identifier by having reached then server.Preset time can be by skill
Art personnel carry out customized setting, for example set preset time to 15 minutes, then when server detects that order residue can
When the time used only has 15 minutes, then server can send prompt information to user, and user is prompted to use the time
It will expire.
In one embodiment, as shown in figure 4, after step 108, further includes:
Step 402, the end lease request that terminal is sent is received.
Step 404, the use duration for including in corresponding order is got.
Step 406, when detecting using the time of idle space is more than using duration, then payment is sent to terminal and asked
It asks.
Step 408, after terminal requests successfully payment according to payment, then it is close to obtain the corresponding unlock of idle space mark
Code;
Step 410, unlocking pin idle space is sent to be unlocked.
User can at any time ask the end lease of idle space by terminal initiation after successfully leasing idle space
It asks.Server can get the use duration for including in corresponding order after receiving the end lease request of terminal transmission.
When detecting using the time of idle space is more than using duration, server can send payment request to terminal.For example, ordering
A length of 3 hours when in list to the use of idle space, and the time for detecting that user actually uses idle space is 4 hours, then
User needs the time more to use to pay the fees.Server can send payment request to terminal, and terminal can be according to receiving
Payment request carry out payment operation.After paying the fees successfully, the available idle space of server identifies corresponding unlocking pin,
To be unlocked to idle space.
For example, what the two dimensional code that user A can scan idle space was left opens when user A leaves idle space
Lock operation, server judge whether order expires or be delayed, may thereby determine that and carry out exempting from expense or subsequent collection to user A
Take, after completing charge, the available lock body that would sit idle for space to unlocking pin of server is opened, and completes the operation of entire order
Process.
In one embodiment, idle space is corresponding with the corresponding order of multiple user identifiers;It would sit idle for space to be divided into
Multiple subspaces;It obtains terminal and passes through the lease request of scanning idle space code triggering, comprising: obtain at least one terminal and pass through
The lease to subspace for scanning the triggering of idle space code is requested.
One idle space can be divided into multiple subspaces, i.e. an idle space can be divided into multiple areas
Domain leases to multiple users, then the same idle space can be corresponding with the corresponding order of multiple user identifiers.The same user
Multiple subspaces in the same idle space can be leased.In the scanning idle space code triggering of user's using terminal to idle sky
Between lease request when, there may be the idle spaces for having multiple users to scan using different terminals the same idle space
Code triggers the lease to sub-spaces each in idle space and requests.In this way, it may be implemented to rent an idle space
It rents to multiple users, user can also lease the sub-fraction region in idle space according to actual needs.The master of idle space
People may be implemented to would sit idle for space to lease to multiple users, reach high yield, user can also lease idle space according to demand
In partial region, reduce hiring cost.
In one embodiment, after unlocking pin is sent to idle space, further includes: obtain using user to putting
Set the acquisition request in the article of subspace;It is corresponding to subspace according to reserve requests when acquisition request is reserve requests
Warehouse sends distribution instruction, and distribution instruction dispenses corresponding article to subspace for the corresponding warehouse in subspace;When acquisition is asked
When asking to timely respond to request, according to acquisition request to using user to provide corresponding article.
The user for leasing idle space is known as tenant.One or more tenants to idle space lease at
After function, tenant can put one or more counters in the idle space of lease.Tenant is renting idle sky
Between after, space opening can be would sit idle for, freely entered and left for others using user.It can be in each sub-spaces of idle space
One or more counters are put, acquisition request can be triggered to the article put in counter using user, arrival can be obtained
The article placed in cabinet.User can trigger reserve requests or timely respond to request in acquisition request of the triggering to article.When
Acquisition request is when timely responding to request, then can be according to acquisition request directly to using user to provide corresponding article.Such as
Counter can be unmanned counter, and user can voluntarily buy lift-on-lift-off article, and counter can then be supplied to corresponding using user
Article.When the acquisition request of user's triggering is reserve requests, the article for illustrating that user knows to obtain needs to adjust goods, can not
It gets in time.After user triggers reserve requests, dispatching can be sent to the corresponding warehouse in subspace according to reserve requests
Instruction, warehouse can transport corresponding article to subspace after receiving distribution instruction.
For example, user triggers the acquisition request to a certain fruit, and acquisition request is reserve requests, then can be according to water
The reserve requests of fruit initiate distribution instruction to the corresponding warehouse in subspace, and warehouse can be fruit shop, then fruit shop is receiving
After distribution instruction, the fruit of user needs can be transported to the subspace.Further, the corresponding warehouse in subspace can have
It is multiple, when sending dispatching request to corresponding warehouse according to reserve requests, can be sent out to the nearest warehouse of subspace distance
Request is sent in delivery.The freshness that can guarantee the speed of dispatching and the article of dispatching in this way, also can be improved dispatching efficiency,
And it can reduce distribution cost.
In one embodiment, as shown in figure 5, the above method further include:
Step 502, the request of withdrawing deposit for receiving management account withdraws deposit and carries administrator's mark in requesting.
Step 504, idle space mark corresponding with administrator's mark is obtained.
Step 506, it obtains idle space and identifies the corresponding order amount of money.
Step 508, the order amount of money is withdrawn deposit into default account corresponding with administrator's mark according to request is withdrawn deposit.
Management account is to issue the account used by a user of idle space lease, i.e. idle space belongs to account executive
Corresponding user.After idle space leases a period of time by other users, there are corresponding incomes for account executive.Because of pipe
Remaining sum in account can be carried out operation of withdrawing deposit by reason account.Specifically, account executive can trigger request of withdrawing deposit, in request of withdrawing deposit
Administrator's mark is carried, the amount of money numerical value in need withdrawn deposit can also be carried.Server is receiving withdrawing deposit for management account
After request, idle space mark corresponding with administrator mark can be got.Idle sky corresponding with each administrator mark
Between can have it is multiple, therefore it is available identify the corresponding order amount of money to each idle space, and withdraw deposit.Server can also be with
The revenue amount of the corresponding each idle space of administrator is summarized in advance, it, can be with then administrator is when withdrawing deposit
The amount of money of direct sets itself of withdrawing deposit.When withdrawing deposit, it can withdraw deposit into the corresponding default account of administrator.Default account
It can be the application account of user, such as wechat account, be also possible to the bank card account etc. of user.Server can also record
The information such as the amount of money, time, Bank Account Number, and send reminding short message simultaneously and give financial role personnel, financial staff completes out money stream
Cheng Hou records tracking mode into system, and system is sent completely drawing automatically and reminds.
Space rent method in the present embodiment, the general-purpose capability that wechat small routine can be used carry out idle space lease
Development process, improve the convenience that user uses, while trade company's management backstage and consumer can be used into foreground Dou Ji
At under the general-purpose capability of wechat small routine, allow manager can mobile anywhere or anytime office, be more better than the end APP and PC
The tool for holding exploitation is supported without installation without PC computer.Further, smart lock can be used in idle space, can with it is small
Together, the regulatory requirement and rapid construction for efficiently solving the space taxi of middle-size and small-size trade company need the software seamless combination of program
It asks, constructs without direct current, improve applicable scene and applicable range, while the smart lock of low-power consumption can reduce maintenance
Time promotes input-output ratio.
In one embodiment, as shown in fig. 6, providing a kind of space leasing system, comprising:
Acquisition request module 602 passes through the lease request of scanning idle space code triggering, the lease for obtaining terminal
User identifier and idle space mark are carried in request.
Order searching module 604, for searching order corresponding with the user identifier and idle space mark.
Unlocked state 606, it is close for when finding corresponding order, obtaining the corresponding unlock of the idle space mark
Code;The unlocking pin is sent to the idle space, the unlocking pin is for being locked into the password of the idle space
Row unlock.
In one embodiment, above-mentioned apparatus further includes payment module, for corresponding payment data after paying the fees successfully
It stores with corresponding user identifier to database.Above-mentioned apparatus further includes detection module, is used for every preset time to described close
Code lock is detected, and the coded lock is restored.
In one embodiment, above-mentioned unlocked state is also used to when finding corresponding order, is obtained described corresponding
The use duration for including in order;When according to it is described detect the corresponding order when in use using duration between in section when,
It then obtains the idle space and identifies corresponding unlocking pin.
In one embodiment, above-mentioned apparatus further includes cue module, includes for obtaining in the corresponding order
Use duration;When detecting that residue reaches preset time using the time according to the use duration, then to the user identifier
Corresponding user sends prompt information.
In one embodiment, above-mentioned unlocked state is also used to receive the end lease request of terminal transmission;Get institute
State the use duration for including in corresponding order;The time of the idle space is used to use duration more than described when detecting
When, then payment request is sent to the terminal;After the terminal requests successfully payment according to the payment, then the spare time is obtained
Set the corresponding unlocking pin of space identification;The unlocking pin is sent to the idle space to be unlocked.
In one embodiment, idle space is corresponding with the corresponding order of multiple user identifiers;It would sit idle for space to be divided into
Multiple subspaces.Above-mentioned acquisition request module 602 is also used to obtain at least one terminal and passes through scanning idle space code triggering
Lease request to subspace.
In one embodiment, above-mentioned apparatus further includes that article obtains module, for obtaining using user to being placed on son
The acquisition request of the article in space;When acquisition request is reserve requests, sent out according to reserve requests to the corresponding warehouse in subspace
Distribution instruction is sent, distribution instruction dispenses corresponding article to subspace for the corresponding warehouse in subspace;Be when acquisition request and
When respond request when, according to acquisition request to using user to provide corresponding article.
In one embodiment, above-mentioned apparatus further includes module of withdrawing deposit, described for receiving the request of withdrawing deposit of management account
It withdraws deposit and carries administrator's mark in requesting;Obtain idle space mark corresponding with administrator mark;Obtain the spare time
Set the corresponding order amount of money of space identification;The order amount of money is withdrawn deposit to the administrator according to the request of withdrawing deposit and is identified
In corresponding default account.
In one embodiment, a kind of computer equipment is provided, which can be server, internal junction
Composition can be as shown in Figure 7.The computer equipment include by system bus connect processor, memory, network interface and
Database.Wherein, the processor of the computer equipment is for providing calculating and control ability.The memory packet of the computer equipment
Include non-volatile memory medium, built-in storage.The non-volatile memory medium is stored with operating system, computer program and data
Library.The built-in storage provides environment for the operation of operating system and computer program in non-volatile memory medium.The calculating
The database of machine equipment leases data for memory space.The network interface of the computer equipment is used to pass through with external terminal
Network connection communication.To realize a kind of space rent method when the computer program is executed by processor.
It will be understood by those skilled in the art that structure shown in Fig. 7, only part relevant to application scheme is tied
The block diagram of structure does not constitute the restriction for the computer equipment being applied thereon to application scheme, specific computer equipment
It may include perhaps combining certain components or with different component layouts than more or fewer components as shown in the figure.
In one embodiment, a kind of computer equipment is provided, including memory, processor and storage are on a memory
And the computer program that can be run on a processor, processor performs the steps of acquisition terminal when executing computer program logical
The lease request of idle space code triggering is over-scanned, carries user identifier and idle space mark in lease request;Search with
User identifier and idle space identify corresponding order;When finding corresponding order, it is corresponding to obtain idle space mark
Unlocking pin;Unlocking pin is sent to idle space, unlocking pin is for being unlocked the coded lock of idle space.
In one embodiment, processor execute computer program when also perform the steps of ought not find it is corresponding
When order, premium notice is sent to terminal;Obtain the request that terminal is paid the fees according to premium notice;After paying the fees successfully, obtain
Idle space identifies corresponding unlocking pin.
In one embodiment, after after paying the fees successfully, processor also performs the steps of when executing computer program
Corresponding payment data and corresponding user identifier are stored to database after paying the fees successfully.It is idle unlocking pin to be sent to
After space, further includes: detected every preset time to coded lock, coded lock is restored.
In one embodiment, it when finding corresponding order, obtains idle space and identifies corresponding unlocking pin, packet
It includes: when finding corresponding order, obtaining the use duration for including in corresponding order;When according to using duration to detect pair
The order answered when in use between in section when, then obtain idle space and identify corresponding unlocking pin.
In one embodiment, after unlocking pin is sent to idle space, when processor executes computer program
Also perform the steps of the use duration for obtaining and including in corresponding order;When according to using duration to detect remaining use
Between when reaching preset time, then send prompt information to the corresponding user of user identifier.
In one embodiment, after unlocking pin is sent to idle space, when processor executes computer program
It also performs the steps of and receives the end lease request that terminal is sent;Get the use duration for including in corresponding order;When
Detect using the time of idle space to be more than then to send payment request to terminal when using duration;When terminal is asked according to payment
After function of hoping for success payment, then obtains idle space and identify corresponding unlocking pin;Unlocking pin is sent to idle space to solve
Lock.
In one embodiment, idle space is corresponding with the corresponding order of multiple user identifiers;It would sit idle for space to be divided into
Multiple subspaces.It obtains terminal and passes through the lease request of scanning idle space code triggering, comprising: obtain at least one terminal and pass through
The lease to subspace for scanning the triggering of idle space code is requested.
In one embodiment, after unlocking pin is sent to idle space, when processor executes computer program
Also perform the steps of the acquisition request obtained using user to the article for being placed on subspace;When acquisition request is pre- invites
When asking, distribution instruction is sent to the corresponding warehouse in subspace according to reserve requests, distribution instruction is used for the corresponding warehouse in subspace
Corresponding article is dispensed to subspace;When acquisition request is to timely respond to request, according to acquisition request to using user to provide
Corresponding article.
In one embodiment, it is also performed the steps of when processor executes computer program and receives mentioning for management account
It now requests, administrator's mark is carried in request of withdrawing deposit;Obtain idle space mark corresponding with administrator's mark;It obtains idle
The corresponding order amount of money of space identification;The order amount of money is withdrawn deposit to default account corresponding with administrator's mark according to request is withdrawn deposit
In.
In one embodiment, a kind of computer readable storage medium is provided, computer program is stored thereon with, is calculated
Machine program performs the steps of when being executed by processor obtains terminal by the lease request of scanning idle space code triggering, rents
It rents and carries user identifier and idle space mark in requesting;Search order corresponding with user identifier and idle space mark;
When finding corresponding order, obtains idle space and identify corresponding unlocking pin;Unlocking pin is sent to idle space,
Unlocking pin is for being unlocked the coded lock of idle space.
In one embodiment, correspondence ought not found by also performing the steps of when computer program is executed by processor
Order when, to terminal send premium notice;Obtain the request that terminal is paid the fees according to premium notice;After paying the fees successfully, obtain
Idle space is taken to identify corresponding unlocking pin.
In one embodiment, after after paying the fees successfully, following step is also realized when computer program is executed by processor
Rapid: corresponding payment data and corresponding user identifier are stored to database after paying the fees successfully.It is sent to by unlocking pin
After idle space, further includes: detected every preset time to coded lock, coded lock is restored.
In one embodiment, it when finding corresponding order, obtains idle space and identifies corresponding unlocking pin, packet
It includes: when finding corresponding order, obtaining the use duration for including in corresponding order;When according to using duration to detect pair
The order answered when in use between in section when, then obtain idle space and identify corresponding unlocking pin.
In one embodiment, after unlocking pin is sent to idle space, computer program is executed by processor
When also perform the steps of the use duration for obtaining and including in corresponding order;When according to using duration to detect remaining use
When time reaches preset time, then prompt information is sent to the corresponding user of user identifier.
In one embodiment, after unlocking pin is sent to idle space, computer program is executed by processor
When also perform the steps of receive terminal send end lease request;Get the use duration for including in corresponding order;
When detecting using the time of idle space is more than using duration, then payment request is sent to terminal;When terminal is according to payment
After requesting successfully payment, then obtains idle space and identify corresponding unlocking pin;Unlocking pin is sent to idle space to carry out
Unlock.
In one embodiment, idle space is corresponding with the corresponding order of multiple user identifiers;It would sit idle for space to be divided into
Multiple subspaces.It obtains terminal and passes through the lease request of scanning idle space code triggering, comprising: obtain at least one terminal and pass through
The lease to subspace for scanning the triggering of idle space code is requested.
In one embodiment, after unlocking pin is sent to idle space, computer program is executed by processor
When also perform the steps of and obtain acquisition request using user to the article for being placed on subspace;When acquisition request is reservation
When request, distribution instruction is sent to the corresponding warehouse in subspace according to reserve requests, distribution instruction is used for the corresponding storehouse in subspace
Library dispenses corresponding article to subspace;When acquisition request is to timely respond to request, according to acquisition request to using user to mention
For corresponding article.
In one embodiment, it is also performed the steps of when computer program is executed by processor and receives management account
It withdraws deposit request, administrator's mark is carried in request of withdrawing deposit;Obtain idle space mark corresponding with administrator's mark;It obtains not busy
Set the corresponding order amount of money of space identification;The order amount of money is withdrawn deposit to default account corresponding with administrator's mark according to request is withdrawn deposit
In family.
Those of ordinary skill in the art will appreciate that realizing all or part of the process in above-described embodiment method, being can be with
Relevant hardware is instructed to complete by computer program, the computer program can be stored in a non-volatile computer
In read/write memory medium, the computer program is when being executed, it may include such as the process of the embodiment of above-mentioned each method.Wherein,
To any reference of memory, storage, database or other media used in each embodiment provided herein,
Including non-volatile and/or volatile memory.Nonvolatile memory may include read-only memory (ROM), programming ROM
(PROM), electrically programmable ROM (EPROM), electrically erasable ROM (EEPROM) or flash memory.Volatile memory may include
Random access memory (RAM) or external cache.By way of illustration and not limitation, RAM is available in many forms,
Such as static state RAM (SRAM), dynamic ram (DRAM), synchronous dram (SDRAM), double data rate sdram (DDRSDRAM), enhancing
Type SDRAM (ESDRAM), synchronization link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM
(RDRAM), direct memory bus dynamic ram (DRDRAM) and memory bus dynamic ram (RDRAM) etc..
Each technical characteristic of above embodiments can be combined arbitrarily, for simplicity of description, not to above-described embodiment
In each technical characteristic it is all possible combination be all described, as long as however, the combination of these technical characteristics be not present lance
Shield all should be considered as described in this specification.
The several embodiments of the application above described embodiment only expresses, the description thereof is more specific and detailed, but simultaneously
It cannot therefore be construed as limiting the scope of the patent.It should be pointed out that coming for those of ordinary skill in the art
It says, without departing from the concept of this application, various modifications and improvements can be made, these belong to the protection of the application
Range.Therefore, the scope of protection shall be subject to the appended claims for the application patent.
Claims (10)
1. a kind of space rent method, which comprises
It obtains terminal to request by the lease of scanning idle space code triggering, carries user identifier and spare time in the lease request
Set space identification;
Search order corresponding with the user identifier and idle space mark;
When finding corresponding order, obtains the idle space and identify corresponding unlocking pin;
The unlocking pin is sent to the idle space, the unlocking pin is for being locked into the password of the idle space
Row unlock.
2. the method according to claim 1, wherein the method also includes:
When not finding corresponding order, Xiang Suoshu terminal sends premium notice;
Obtain the request that the terminal is paid the fees according to the premium notice;
After paying the fees successfully, obtains the idle space and identify corresponding unlocking pin.
After after described pay the fees successfully, further includes:
Corresponding payment data and corresponding user identifier are stored to database after paying the fees successfully;
It is described the unlocking pin is sent to the idle space after, further includes:
The coded lock is detected every preset time, the coded lock is restored.
3. obtaining the spare time the method according to claim 1, wherein described when finding corresponding order
Set the corresponding unlocking pin of space identification, comprising:
When finding corresponding order, the use duration for including in the corresponding order is obtained;
When according to it is described detect the corresponding order when in use using duration between in section when, then obtain the idle space
Identify corresponding unlocking pin.
4. the method according to claim 1, wherein by the unlocking pin be sent to the idle space it
Afterwards, further includes:
Obtain the use duration for including in the corresponding order;
It is when detecting that residue reaches preset time using the time according to the use duration, then corresponding to the user identifier
User sends prompt information.
5. the method according to claim 1, wherein by the unlocking pin be sent to the idle space it
Afterwards, further includes:
Receive the end lease request that terminal is sent;
Get the use duration for including in the corresponding order;
When detect the time using the idle space be more than it is described using duration when, then send payment to the terminal and ask
It asks;
After the terminal requests successfully payment according to the payment, then it is close to obtain the corresponding unlock of the idle space mark
Code;
The unlocking pin is sent to the idle space to be unlocked.
6. the method according to claim 1, wherein to be corresponding with multiple user identifiers corresponding for the idle space
Order;The idle space is divided into multiple subspaces;Terminal is obtained to request by the lease of scanning idle space code triggering,
Include:
At least one terminal is obtained to request by the lease to the subspace of scanning idle space code triggering.
After the unlocking pin is sent to the idle space, further includes: obtain using user to being placed on the son
The acquisition request of the article in space;
When the acquisition request is reserve requests, dispatching is sent to the corresponding warehouse in the subspace according to the reserve requests
Instruction, the distribution instruction dispense corresponding article to the subspace for the corresponding warehouse in the subspace;
When the acquisition request is to timely respond to request, corresponding object is provided using user to described according to the acquisition request
Product.
7. the method according to claim 1, wherein the method also includes:
The request of withdrawing deposit of management account is received, carries administrator's mark in the request of withdrawing deposit;
Obtain idle space mark corresponding with administrator mark;
It obtains the idle space and identifies the corresponding order amount of money;
The order amount of money is withdrawn deposit into default account corresponding with administrator mark according to the request of withdrawing deposit.
8. a kind of space leasing system, which is characterized in that described device includes:
Leasing module is requested by the lease of scanning idle space code triggering for obtaining terminal, is carried in the lease request
There are user identifier and idle space mark;
Order module, for searching order corresponding with the user identifier and idle space mark;
Unlocked state identifies corresponding unlocking pin for when finding corresponding order, obtaining the idle space;By institute
It states unlocking pin and is sent to the idle space, the unlocking pin is for being unlocked the coded lock of the idle space.
9. a kind of computer equipment including memory, processor and stores the meter that can be run on a memory and on a processor
Calculation machine program, which is characterized in that the processor realizes any one of claims 1 to 7 institute when executing the computer program
The step of stating method.
10. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the computer program
The step of method described in any one of claims 1 to 7 is realized when being executed by processor.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910121958.9A CN109886786A (en) | 2019-02-18 | 2019-02-18 | Space rent method, device, computer equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910121958.9A CN109886786A (en) | 2019-02-18 | 2019-02-18 | Space rent method, device, computer equipment and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109886786A true CN109886786A (en) | 2019-06-14 |
Family
ID=66928369
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910121958.9A Pending CN109886786A (en) | 2019-02-18 | 2019-02-18 | Space rent method, device, computer equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109886786A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110706082A (en) * | 2019-10-28 | 2020-01-17 | 倪嘉楠 | Method and system for sharing commodity display position |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104574598A (en) * | 2014-12-29 | 2015-04-29 | 张泽 | Centralized control method and system for intelligent door lock |
CN105069886A (en) * | 2015-08-21 | 2015-11-18 | 李良杰 | Intelligent parking place managing system |
CN106384434A (en) * | 2016-10-08 | 2017-02-08 | 河南财政税务高等专科学校 | Distribution method for self-service selling in hotel |
CN106530454A (en) * | 2016-10-10 | 2017-03-22 | 俞毅 | House-renting management system capable of opening locks based on Bluetooth or two-dimensional codes and method thereof |
CN107146130A (en) * | 2017-04-21 | 2017-09-08 | 无锡房查查网络科技有限公司 | A kind of house lease method and system |
CN107292705A (en) * | 2017-06-02 | 2017-10-24 | 王韧 | A kind of shared house lease system and its Quick Response Code intelligent door lock |
-
2019
- 2019-02-18 CN CN201910121958.9A patent/CN109886786A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104574598A (en) * | 2014-12-29 | 2015-04-29 | 张泽 | Centralized control method and system for intelligent door lock |
CN105069886A (en) * | 2015-08-21 | 2015-11-18 | 李良杰 | Intelligent parking place managing system |
CN106384434A (en) * | 2016-10-08 | 2017-02-08 | 河南财政税务高等专科学校 | Distribution method for self-service selling in hotel |
CN106530454A (en) * | 2016-10-10 | 2017-03-22 | 俞毅 | House-renting management system capable of opening locks based on Bluetooth or two-dimensional codes and method thereof |
CN107146130A (en) * | 2017-04-21 | 2017-09-08 | 无锡房查查网络科技有限公司 | A kind of house lease method and system |
CN107292705A (en) * | 2017-06-02 | 2017-10-24 | 王韧 | A kind of shared house lease system and its Quick Response Code intelligent door lock |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110706082A (en) * | 2019-10-28 | 2020-01-17 | 倪嘉楠 | Method and system for sharing commodity display position |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104464104A (en) | Public bicycle ordering, renting and returning system and realizing method thereof | |
US20110071929A1 (en) | Systems and methods for managing building services | |
CN108416906A (en) | Method of payment, device, computer equipment and the storage medium of Self-help vending machine | |
CN106101080A (en) | Page access control method and device | |
CN108734837A (en) | A kind of rental house access control management method being managed with mobile terminal | |
CN108022148A (en) | System is supported in a kind of robot lease | |
CN110263957A (en) | Service procedure monitoring method, device, computer equipment and storage medium | |
CN103218699B (en) | Precursor chemicals flow to monitoring and managing method and system | |
CN106529914A (en) | Automatic-urge charge method and device | |
CN109886786A (en) | Space rent method, device, computer equipment and storage medium | |
CN109147219A (en) | Intelligent storehouse system, electronic equipment and computer-readable medium | |
CN107944950A (en) | The method and apparatus of order data processing, computer equipment, readable storage medium storing program for executing | |
US20190370757A1 (en) | Method, server for maintenance sites management, and computer readable storage medium | |
CN110619722A (en) | Shared storage cabinet and management and use method thereof | |
CN110992016B (en) | Information processing method, information processing apparatus, electronic device, and computer storage medium | |
CN113034150B (en) | Refund method for unmanned retail terminal | |
CN114202148A (en) | Management method and system of digital intelligent property and computer storage medium | |
CN114819232A (en) | Guest room management method | |
CN109785046B (en) | Method, device, computer equipment and storage medium for processing renting application | |
CN112200396A (en) | Resource transfer and allocation method and device | |
TWI769029B (en) | Sharing object return system and method | |
CN114442884B (en) | Intelligent cabinet-based commodity transaction processing method, business system and intelligent cabinet | |
CN107730745A (en) | Shared displaying selling system | |
CN210983610U (en) | Intelligent storage cabinet system for dry cleaning | |
CN109118299A (en) | Vehicle timesharing rent method and electronic equipment |
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 | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20190614 |