CN109903469A - Method is given back in shared device borrow, sharing means unlocking shuts method and terminal - Google Patents
Method is given back in shared device borrow, sharing means unlocking shuts method and terminal Download PDFInfo
- Publication number
- CN109903469A CN109903469A CN201910043575.4A CN201910043575A CN109903469A CN 109903469 A CN109903469 A CN 109903469A CN 201910043575 A CN201910043575 A CN 201910043575A CN 109903469 A CN109903469 A CN 109903469A
- Authority
- CN
- China
- Prior art keywords
- sharing means
- lock
- background server
- information
- shared device
- 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
- Selective Calling Equipment (AREA)
Abstract
The present invention provides that method is given back in a kind of borrow of shared device, sharing means unlocking shuts method and terminal.Wherein shared device borrowing method includes the borrow instruction for receiving mobile terminal transmission;Judge whether user has borrow qualification according to instruction is borrowed;If user have borrow qualification, background server determine in sharing means borrow shared device, and control sharing means to can borrow shared device it is corresponding borrow lock unlock;Otherwise background server returns to the user to mobile terminal and disqualification borrows instruction.The present invention is by will carry out data interaction by background server between mobile terminal and shared device, avoid the problem that between mobile terminal and shared device carry out directly interact existing for unstable situation and can not multi-user use simultaneously, it is convenient to provide for plant maintenance, while reducing maintenance cost.
Description
Technical field
The present invention relates to shared electronic fields, and in particular to a kind of shared device borrowing method, shared device give back method,
Sharing means method for unlocking and sharing means shut method, and are stored with the meter that achievable shared device borrowed and gave back method
The memory of calculation machine program, memory and the end for being stored with achievable sharing means unlocking and the computer program for shutting method
End.
Background technique
With shared device more and more commonization, shared device is also increasingly used by more people, specific relatively common
Shared device have shared bicycle, shared mobile power source, shared umbrella etc., wherein shared bicycle is one during user borrows also
To one relationship, i.e., a shared bicycle can only be carried out with a user one-to-one by means of also process simultaneously, and share mobile electricity
Source and shared umbrella are one-to-many relationships during user borrows also, i.e. (shared mobile power source is borrowed also to be set a sharing means
Standby or shared umbrella borrows also equipment) it can carry out borrowing also process between multiple users.
And existing one-to-many borrowing goes back shared device when carrying out borrowing also process with user, often directly passes through bluetooth
Connection, bluetooth connection stability is poor, the case where being easy to happen connection failure during the connection process, and connection speed is slower.
It only relies on bluetooth and realizes that mobile client upload issues instruction and data transmission, if occurring the feelings such as disconnecting during borrowing also
Condition can be interrupted by means of also process, at the same this kind of connection type can not multi-user use simultaneously, it is necessary to connect one by one, reduce user
Usage experience.
Summary of the invention
In view of the foregoing deficiencies of prior art, the purpose of the present invention is to provide a kind of shared device borrowing method,
Shared device gives back method, shared device method for unlocking and shared device and shuts method and terminal, for solving in the prior art
One-to-many also shared device is borrowed directly to pass through unstability existing for bluetooth connection and multi-user while can not use
Problem.
In order to achieve the above objects and other related objects, the present invention provides a kind of shared device borrowing method, comprising:
Receive the borrow instruction of mobile terminal transmission;
Judge whether user has borrow qualification according to instruction is borrowed;
If the user, which has, borrows qualification, the background server, which determines, borrows shared device in sharing means,
And it controls the sharing means and borrows shared device is corresponding lock is borrowed to unlock to described;Otherwise the background server
The user, which is returned, to the mobile terminal disqualification borrows instruction.
Preferably, the background server controls the sharing means and borrows lock by means of shared device is corresponding to described
Carrying out unlocking step includes:
Unlocking instruction is sent to the sharing means;
If receiving the unlocking information that the sharing means return, the background server is being unlocked described
Information is sent to the mobile terminal;
If receiving the unlocking failure information that the sharing means return, the background server is being unlocked described
Information is sent to the mobile terminal;
If receiving in the lock that the sharing means are sent without shared device information, the background server is by the lock
Interior no shared device information is sent to the mobile terminal;
If receiving the unlocking successful information that the sharing means are sent, the background server is unlocked described successfully
Information is sent to the mobile terminal.
Preferably, described after can borrowing shared device is corresponding lock is borrowed to unlock described in controlling when the background server
Background server is set as the corresponding User Status of the mobile terminal to have borrowed state.
It preferably, further include flow of the people data in the preset range for periodically receive the sharing means exploration, and to institute
Flow of the people data are stated to be analyzed.
It preferably, further include the switch state data for periodically receiving all locks in the sharing means.
Preferably, the background server and the sharing means and the mobile terminal pass through GPRS respectively and carry out data
Transmission.
In order to achieve the above objects and other related objects, the present invention also provides a kind of shared devices to give back method, comprising:
Receive mobile terminal transmission gives back instruction;
Lock can be given back according to described give back in the determining sharing means of instruction, and gives back lock information hair for described
Give the mobile terminal;
After the completion of the shared device is given back, the background server controls the sharing means and gives back lock to described
Button is shut;
When the sharing means to it is described give back lock and shut successfully after, the background server receives described shared
What device was sent gives back completion instruction;
Tally order is sent to the mobile terminal;
If receiving the clearing that the mobile terminal returns completes instruction, the background server is by the mobile terminal
Corresponding user is changed to normal condition;Otherwise the corresponding user of the mobile terminal is in the background server still in having borrowed
State.
Preferably, the background server controls the sharing means and carries out shutting step packet to the lock of giving back
It includes:
Instruction is shut to sharing means transmission;
When the unlocking information for receiving the sharing means transmission, then the background server is being unlocked described
Information feeds back to the mobile terminal;
When receive that the sharing means send shuts failure information, then the background server is being shut described
Failure information feeds back to the mobile terminal;
If receiving the unlocking that the sharing means are sent blocks information, the unlocking is blocked letter by the background service
Breath feeds back to the mobile terminal;
If receive the sharing means transmission shuts successful information, the background server shuts success to described
Information feeds back to the mobile terminal.
In order to achieve the above objects and other related objects, the present invention also provides a kind of shared device method for unlocking, comprising:
Receive the unlocking instruction that the background server is sent;
It can borrow whether lock is unlocking according to unlocking instruction judgement, if described borrow lock unlocking, institute
It states sharing means and sends information of unlocking to the background server, otherwise the sharing means judgement can borrow whether lock be locked
?;
If when the keyed by means of lock, can borrow lock is interior whether to have shared device described in the sharing means judgement,
Otherwise the sharing means, which send to unlock to the background server, blocks information;
If described borrow has shared device in lock, the sharing means unlock to the corresponding lock, simultaneously
Start the unlocking timing means in the sharing means, and judges whether the sharing means are opened according to the unlocking timing means
Lock is super;Otherwise the sharing means are sent to the background server without shared device information;
The time-out if sharing means are unlocked sends to unlock to the background server and blocks information;Otherwise described total
Enjoy device judgement described in can borrow lock whether keyed;
If described borrow latches non-keyed, the sharing means send unlocking successful information to the background server;
Otherwise the sharing means, which are repeated in, judges whether the sharing means unlock according to the unlocking timing means and time-out and sentences
It is disconnected described can borrow lock whether keyed, time-out or described lock is borrowed to open until the sharing means are unlocked.
In order to achieve the above objects and other related objects, the present invention also provides a kind of shared devices to shut method, comprising:
Receive the background server transmission shuts instruction;
Instruct judgement that can give back whether lock is shutting according to described shut, if the lock of giving back is being shut,
Then the sharing means are shutting information to background server transmission, and otherwise the sharing means judgement can give back lock
Whether keyed;
Whether if described give back lock non-keyed, can give back in lock described in the sharing means judgement has shared set
Standby, otherwise the sharing means shut to background server transmission and block information;
If described give back in lock has shared device, the sharing means shut the lock of giving back,
Start the timing means that shuts in the sharing means simultaneously, and judges that the sharing means are according to the timing means that shuts
It is no to shut time-out;Otherwise the sharing means are sent to the background server without shared device information;
If the sharing means shut time-out, unlock to the lock of giving back, and can return described in judgement again
Whether overtime also latch again uncaging time, if it is described give back lock again uncaging time time-out, the sharing means to
The background server, which sends to unlock, blocks information, gives back lock if described uncaging time has not timed out again, described shared
Device shuts failure information to background server transmission;It is had not timed out if the sharing means are shut, the sharing means
Rejudge it is described can give back lock whether keyed;
If lock keyed can be given back described in rejudging, rejudge whether described can give back in lock has shared set
It is standby;Otherwise repeatedly timing means is shut according to judges whether the sharing means shut time-out operations to the sharing means;
There is equipment if reappearing and being given back in lock described in judgement, the sharing means send to the background server and close
Lock successful information;Otherwise the sharing means again unlock to the lock of giving back, and can give back lock described in judgement
Again whether uncaging time is overtime, if described give back lock uncaging time time-out again, the sharing means are to after described
Platform server send unlock blocks information, if it is described give back lock again uncaging time have not timed out, the sharing means to
The background server transmission shuts failure information.
In order to achieve the above objects and other related objects, the present invention also provides a kind of terminals, comprising: processor and first
Memory and second memory,
The first memory is for storing computer program, and the processor is for executing the first memory storage
Computer program so that the terminal is executed as the shared device borrowing method and shared device give back method;
For storing computer program, the processor is also used to execute the second memory and deposits the second memory
The computer program of storage, so that the terminal executes such as the sharing means method for unlocking and the sharing means and shuts method.
As described above, a kind of shared device borrowing method of the present invention, shared device gives back method, shared device is opened
Locking method and shared device shut method and terminal, have the advantages that
Data interaction will be carried out by background server between mobile terminal and shared device, and avoid mobile terminal and shared
The directly existing unstable situation of interaction is carried out between equipment and can not multi-user the problem of using simultaneously;Realize background service
Device remotely monitors the state of shared device;The intelligence degree of shared device is also added simultaneously, is realized Internet of Things, is
It is convenient that plant maintenance provides, and reduces maintenance cost.
Detailed description of the invention
Attached drawing is used to provide further understanding of the present invention, and constitutes part of specification, with reality of the invention
It applies example and is used together to explain the present invention, be not construed as limiting the invention.In the accompanying drawings:
Fig. 1 shows the flow diagram of one shared device borrowing method of the embodiment of the present invention;
Fig. 2 shows the flow diagrams that two shared device of the embodiment of the present invention gives back method;
The process that Fig. 3 shows three shared device method for unlocking of the embodiment of the present invention is intended to;
Fig. 4 shows the flow chart that four shared device of the embodiment of the present invention shuts method;
Fig. 5 shows five terminal structure schematic diagram of the embodiment of the present invention.
Specific embodiment
Hereinafter, embodiments of the present invention will be described in detail with reference to the accompanying drawings and examples, how to apply to the present invention whereby
Technological means solves technical problem, and the realization process for reaching technical effect can fully understand and implement.It needs to illustrate
As long as not constituting conflict, each feature in each embodiment and each embodiment in the present invention can be combined with each other,
It is within the scope of the present invention to be formed by technical solution.
Embodiment one
To solve the above-mentioned problems in the prior art, the embodiment of the invention provides a kind of shared device borrow sides
Method.
Fig. 1 shows the flow diagram of one shared device borrowing method of the embodiment of the present invention;With reference to Fig. 1, the present invention is real
A shared device borrowing method is applied to include the following steps.In order to further illustrate the borrowing method of shared device, below with shared
It is illustrated for umbrella.
Step S101 receives the borrow instruction of mobile terminal transmission.
When user send need to borrow in sharing means one shared umbrella when, user pass through mobile terminal radio function
It is sent to background server and borrows instruction.Preferably, user is generated by the code presupposition in mobile scanning terminal sharing means
Corresponding borrow instruction borrows location information and user information of the instruction comprising corresponding sharing means.Background server connects
After receiving borrow instruction, the position of sharing means is judged by borrowing instruction, and judge that the umbrella in sharing means is borrowed also
Situation.
Step S102 judges whether user has borrow qualification according to instruction is borrowed.
User can enter corresponding webpage when borrowing also shared umbrella or APP carries out registration and logs in, and borrow also mistake to facilitate
The management of journey.After the complete corresponding webpage of user's registration or APP, user is there are three types of the storage states of background server: when with
When family has borrowed shared umbrella and has been in use state, user is in when having borrowed state;After user has given back shared umbrella
But when not closing the account, user is in and does not settle accounts state;After user has settled accounts expense, user is in normal condition.Work as user
In when having borrowed state and not settled accounts state, user does not have borrow qualification, and when user is in normal condition, user, which has, to be borrowed
Use qualification.The user information comprising user, background server into the borrow instruction that background server is sent by mobile terminal
Judge whether user has borrow qualification according to the user information borrowed in instruction.
Step S103, if user, which has, borrows qualification, background server, which determines, can borrow shared device in sharing means, and
To that can borrow, shared device is corresponding to borrow lock to unlock to control sharing means;Otherwise background server is returned to mobile terminal
The user disqualification borrows instruction.
If background server, which judges that user has, borrows qualification, background server is according to sharing means in borrow instruction
Information judges the shared device that can be borrowed in sharing means, determines that this can borrow shared device at random afterwards, and control sharing means
It unlocks to shared device can be borrowed corresponding by means of lock, while background server sets the corresponding User Status of mobile terminal
It is set to the state of borrow.Detailed process is as follows to lock can be borrowed to unlock for specific background server control sharing means:
Background server sends unlocking instruction to sharing means;After sharing means receive unlocking instruction, according to default side
Formula is to that can borrow lock to unlock, to realize the borrow process of user.In sharing means to the process that lock can be borrowed to unlock
In, there may be different situations, sharing means can send different information to background server at this time.If specific backstage takes
Business device receives the unlocking information of sharing means return, then background server will unlock information be sent to it is mobile eventually
End;If background server receive sharing means return unlocking failure information, background server will unlock information hair
Give mobile terminal;If background server is received without facility information in the lock of sharing means transmission, background server will be locked
Interior no facility information is sent to mobile terminal;If background server receives the unlocking successful information of sharing means transmission, after
Unlocking successful information is sent to mobile terminal by platform server.
It should be noted that background server and sharing means are carried out data transmission by GPRS.
Step S104, background server periodically receive flow of the people data in the preset range of sharing means exploration, and right
Flow of the people data are analyzed, using the data reference being arranged as subsequent shared device.Receive the default model of sharing means exploration
The period for enclosing interior flow of the people data determines as the case may be.
Step S105, background server periodically receive the switch state data of all locks in sharing means.Specifically
The switch state data for receiving all locks in sharing means are also determined as the case may be.
Using the present embodiment shared device borrowing method, will between mobile terminal and sharing means by background server into
Row data interaction is avoided carrying out directly interacting existing unstable situation between mobile terminal and sharing means and can not be mostly used
The problem of family uses simultaneously;Realize that background server remotely monitors the state of shared device;It also adds simultaneously shared
The intelligence degree of equipment realizes Internet of Things, and it is convenient to provide for plant maintenance, reduces maintenance cost.
Embodiment two
To solve the above-mentioned problems in the prior art, the embodiment of the invention provides a kind of shared device sides of giving back
Method.
Fig. 2 shows the flow diagrams that two shared device of the embodiment of the present invention gives back method;With reference to Fig. 2, the present invention is real
The shared device method of giving back is applied to include the following steps.In order to further illustrate the method for giving back of shared device, below with shared
It is illustrated for umbrella.
Step S201, receive mobile terminal transmission gives back instruction.
Specifically, user passes through default in mobile scanning terminal sharing means when user needs to give back shared umbrella
Code, and instruction is given back to background server transmission, the position in instruction including sharing means and user information are given back, backstage takes
Business device is received to instruction is given back.Preferably, code presupposition is two dimensional code.
Step S202 can give back lock according to giving back to instruct in determining sharing means, and can give back lock information and send
To mobile terminal.
Background server determines the lock that can be carried out umbrella in corresponding sharing means and give back according to giving back instruction, and can be into
Determine that one is that can give back lock, and can give back lock information and be sent to corresponding movement eventually in the lock that row umbrella is given back at random
End, in order to which user can give back shared umbrella according to that can give back lock information.
Step S203, after the completion of shared device is given back, background server control sharing means are shut.
After the shared umbrella used is returned to by user can give back in lock, background server controls sharing means and carries out
It shuts.Further, in order to ensure after shared umbrella is given back background server can control in time sharing means and shut,
After setting background server will can give back the preset time after lock information is sent to mobile terminal, background server control is shared
Device is shut.Specific background server control sharing means shut
Background server shuts instruction to sharing means transmission;It is sent when background server receives sharing means
Unlocking information, then the background server information that will unlock feeds back to mobile terminal;When background server receives sharing means
What is sent shuts failure information, then background server will shut failure information and feed back to mobile terminal;If background server
Information is blocked in the unlocking for receiving sharing means transmission, then unlocking is blocked information and feeds back to mobile terminal by background service;After if
Platform server receive sharing means transmission shut successful information, then background server feeds back to movement to successful information is shut
Terminal.
Step S204, after sharing means are shut successfully, background server receive sharing means transmission give back completion
Instruction.
Step S205 sends tally order to mobile terminal.
Step S206, if instruction is completed in the clearing for receiving mobile terminal return, background server is by mobile terminal pair
The user answered is changed to normal condition;Otherwise the corresponding user of mobile terminal is in background server still in having borrowed state.
Give back method using the present embodiment shared device, will between mobile terminal and sharing means by background server into
Row data interaction is avoided carrying out directly interacting existing unstable situation between mobile terminal and sharing means and can not be mostly used
The problem of family uses simultaneously;Realize that background server remotely monitors the state of shared device;It also adds simultaneously shared
The intelligence degree of equipment realizes Internet of Things, and it is convenient to provide for plant maintenance, reduces maintenance cost.
Embodiment three
To solve the above-mentioned problems in the prior art, the embodiment of the invention provides a kind of sharing means unlocking sides
Method.
Fig. 3 shows the flow diagram of three sharing means method for unlocking of the embodiment of the present invention;With reference to Fig. 3, the present invention is real
A sharing means method for unlocking is applied to include the following steps.In order to further illustrate the method for unlocking of sharing means, below with shared
It is illustrated for umbrella.
Step S301, sharing means receive the unlocking instruction of background server transmission, and unlocking instruction includes that can borrow lock
Information.
Step S302 can borrow whether lock is unlocking according to unlocking instruction judgement, if lock can be borrowed to unlock, altogether
It enjoys device and sends information of unlocking to background server, otherwise go to step S303.
Specifically, sharing means borrow lock information to judge that correspondence can borrow whether lock is being opened according in unlocking instruction
Lock, then sharing means send information of unlocking to background server, otherwise go to step S303.
Step S303, sharing means judgement can borrow lock, and whether if keyed goes to step can borrow lock keyed
S304, otherwise sharing means, which send to unlock to background server, blocks information.
Step S304, sharing means judgement can borrow in lock whether have shared umbrella, if can borrow in lock has equipment, altogether
Device is enjoyed to that lock can be borrowed to unlock, starts the unlocking timing means in sharing means, and judge according to unlocking timing means
Whether sharing means unlock time-out;Otherwise sharing means are sent to background server without shared device information.
Step S305, the time-out if sharing means are unlocked send to unlock to background server and block information;Otherwise dress is shared
Set judgement can borrow lock whether keyed;
Step S306, if lock can be borrowed to open, sharing means send unlocking successful information to background server;Otherwise altogether
Enjoy device be repeated according to unlocking timing means judge sharing means whether unlock time-out and judgement can borrow lock whether keyed,
Until sharing means are unlocked overtime or lock can be borrowed to open.
Using the present embodiment sharing means method for unlocking, will between mobile terminal and sharing means by background server into
Row data interaction is avoided carrying out directly interacting existing unstable situation between mobile terminal and sharing means and can not be mostly used
The problem of family uses simultaneously;Realize that background server remotely monitors the state of shared device;It also adds simultaneously shared
The intelligence degree of equipment realizes Internet of Things, and it is convenient to provide for plant maintenance, reduces maintenance cost.
Example IV
To solve the above-mentioned problems in the prior art, the embodiment of the invention provides a kind of sharing means unlocking sides
Method.
Fig. 4 shows the flow diagram that four sharing means of the embodiment of the present invention shut method;With reference to Fig. 4, the present invention is real
A sharing means method for unlocking is applied to include the following steps.In order to further illustrate the method that shuts of sharing means, below with shared
It is illustrated for umbrella.
Step S401, receive background server transmission shuts instruction;
Step S402 can give back whether lock is shutting according to instruction judgement is shut, shut if lock can be given back,
Then sharing means to background server transmission shutting information, otherwise sharing means judgement can give back lock whether keyed;
Step S403, if can give back lock non-keyed, sharing means judgement can give back in lock whether have shared device,
Otherwise sharing means shut to background server transmission and block information;
Step S404, if can give back in lock has shared device, sharing means are shut to that can give back lock, simultaneously
Timing means is shut in starting sharing means, and judges whether sharing means shut time-out according to timing means is shut;Otherwise
Sharing means are sent to background server without shared device information;
Step S405 unlocks to can give back lock again if sharing means shut time-out, and judges that lock can be given back
Whether uncaging time is overtime again for button, if lock uncaging time time-out again can be given back, sharing means are sent out to background server
Unlocking is sent to block information, uncaging time has not timed out again if lock can be given back, and sharing means are shut to background server transmission
Failure information;Had not timed out if sharing means are shut, sharing means rejudge can give back lock whether keyed;
Step S406, if lock keyed can be given back by rejudging, rejudging can give back in lock whether have shared set
It is standby;Otherwise sharing means repeat to judge whether sharing means shut time-out operations according to shutting timing means;
Step S407, if reappearing judgement and can giving back in lock has equipment, sharing means are shut to background server transmission
Successful information;Otherwise sharing means are unlocked to can give back lock again, and judge that lock can be given back that uncaging time is again
No time-out, if lock uncaging time time-out again can be given back, sharing means, which send to unlock to background server, blocks information, if
Lock can be given back, and uncaging time has not timed out again, then sharing means shut failure information to background server transmission.
Shut method using the present embodiment sharing means, will between mobile terminal and sharing means by background server into
Row data interaction is avoided carrying out directly interacting existing unstable situation between mobile terminal and sharing means and can not be mostly used
The problem of family uses simultaneously;Realize that background server remotely monitors the state of shared device;It also adds simultaneously shared
The intelligence degree of equipment realizes Internet of Things, and it is convenient to provide for plant maintenance, reduces maintenance cost.
Embodiment five
To solve the above-mentioned technical problems in the prior art, the embodiment of the invention also provides a kind of terminals.
Fig. 5 shows five terminal structure schematic diagram of the embodiment of the present invention, and referring to Fig. 5, the present embodiment terminal includes processor,
And the first memory and second memory being connected to the processor respectively;First memory is for storing computer journey
Sequence, processor are used to execute the computer program of first memory storage, so that terminal can be realized in embodiment one altogether when executing
Enjoy all steps that shared device in equipment borrowing method and realization embodiment two is given back in method.
Second memory is used to execute the computer journey of second memory storage for storing computer program, processor
Sequence, so that terminal can realize sharing means method for unlocking in embodiment three and realize that sharing means are shut in example IV when executing
All steps in method.
It should be noted that memory may include random access memory (Random Access Memory, abbreviation
RAM), it is also possible to further include nonvolatile memory (non-volatile memory), for example, at least a magnetic disk storage.
Similarly processor is also possible to general processor, including central processing unit (Central Processing Unit, abbreviation CPU),
Network processing unit (Network Processor, abbreviation NP) etc.;It can also be digital signal processor (Digital Signal
Processing, abbreviation DSP), specific integrated circuit (Application Specific Integrated Circuit, referred to as
ASIC), field programmable gate array (Field Programmable Gate Array, abbreviation FPGA) or other are programmable
Logical device, discrete gate or transistor logic, discrete hardware components.
While it is disclosed that embodiment content as above but described only to facilitate understanding the present invention and adopting
Embodiment is not intended to limit the invention.Any those skilled in the art to which this invention pertains are not departing from this
Under the premise of the disclosed spirit and scope of invention, any modification and change can be made in the implementing form and in details,
But protection scope of the present invention still should be subject to the scope of the claims as defined in the appended claims.
Claims (11)
1. a kind of shared device borrowing method, comprising:
Receive the borrow instruction of mobile terminal transmission;
Judge whether user has borrow qualification according to instruction is borrowed;
If the user, which has, borrows qualification, the background server, which determines, borrows shared device in sharing means, and controls
It makes the sharing means and borrows shared device is corresponding lock is borrowed to unlock to described;Otherwise the background server is to institute
It states mobile terminal and returns to the user and disqualification borrow instruction.
2. shared device borrowing method according to claim 1, which is characterized in that the background server control is described total
It enjoys device and borrows shared device is corresponding lock is borrowed to carry out unlocking step and include: to described
Unlocking instruction is sent to the sharing means;
If receiving the unlocking information that the sharing means return, the background server is by the information of unlocking
It is sent to the mobile terminal;
If receiving the unlocking failure information that the sharing means return, the background server is by the information of unlocking
It is sent to the mobile terminal;
If receiving in the lock that the sharing means are sent without shared device information, the background server is by nothing in the lock
Shared device information is sent to the mobile terminal;
If receiving the unlocking successful information that the sharing means are sent, the background server is by the unlocking successful information
It is sent to the mobile terminal.
3. shared device borrowing method according to claim 1, which is characterized in that described in background server control
After can borrowing shared device is corresponding lock is borrowed to unlock, the background server sets the corresponding User Status of the mobile terminal
It is set to the state of borrow.
4. shared device borrowing method according to claim 1, which is characterized in that further include periodically receiving described share
Flow of the people data in the preset range of device exploration, and the flow of the people data are analyzed.
5. shared device borrowing method according to claim 1, which is characterized in that further include periodically receiving described share
The switch state data of all locks on device.
6. shared device borrowing method according to claim 1, which is characterized in that the background server is shared with described
Device and the mobile terminal are carried out data transmission by GPRS respectively.
7. a kind of shared device gives back method, comprising:
Receive mobile terminal transmission gives back instruction;
Lock can be given back according to described give back in the determining sharing means of instruction, and the lock information of giving back is sent to
The mobile terminal;
After the completion of the shared device is given back, the background server control the sharing means to it is described give back latch into
Row is shut;
When the sharing means to it is described give back lock and shut successfully after, the background server receives the sharing means
What is sent gives back completion instruction;
Tally order is sent to the mobile terminal;
If receiving the clearing that the mobile terminal returns completes instruction, the background server is corresponding by the mobile terminal
User be changed to normal condition;Otherwise the corresponding user of the mobile terminal is in the background server still in having borrowed shape
State.
8. data according to claim 7 give back method, which is characterized in that the background server controls the shared dress
Set to it is described give back lock and carry out shutting step include:
Instruction is shut to sharing means transmission;
When the unlocking information for receiving the sharing means and sending, then the background server is by the information of unlocking
Feed back to the mobile terminal;
When receive that the sharing means send shuts failure information, then the background server is shutting failure for described
Information feeds back to the mobile terminal;
If receiving the unlocking that the sharing means are sent blocks information, it is anti-that the unlocking is blocked information by the background service
It feeds the mobile terminal;
If receive the sharing means transmission shuts successful information, the background server shuts successful information to described
Feed back to the mobile terminal.
9. a kind of sharing means method for unlocking, comprising:
Receive the unlocking instruction that the background server is sent;
It can borrow whether lock is unlocking according to unlocking instruction judgement, it is described total if described borrow lock unlocking
Device is enjoyed to unlock information to background server transmission, otherwise the sharing means judgement can borrow lock whether keyed;
If when the keyed by means of lock, can borrow lock is interior whether to have shared device described in the sharing means judgement, otherwise
The sharing means, which send to unlock to the background server, blocks information;
If described borrow has shared device in lock, the sharing means unlock to the corresponding lock, start simultaneously
Unlocking timing means in the sharing means, and judge whether the sharing means unlock according to the unlocking timing means
It is super;Otherwise the sharing means are sent to the background server without shared device information;
The time-out if sharing means are unlocked sends to unlock to the background server and blocks information;Otherwise the shared dress
Set judgement described in can borrow lock whether keyed;
If described borrow latches non-keyed, the sharing means send unlocking successful information to the background server;Otherwise
The sharing means be repeated according to the unlocking timing means judge the sharing means whether unlock time-out and judge institute
State can borrow lock whether keyed, until the sharing means unlock time-out or it is described borrow lock open.
10. a kind of sharing means shut method, comprising:
Receive the background server transmission shuts instruction;
Instruct judgement that can give back whether lock is shutting according to described shut, if the lock of giving back is being shut, institute
It states sharing means and is shutting information to background server transmission, otherwise whether the sharing means judgement can give back lock
Keyed;
If described give back lock non-keyed, can give back in lock whether have shared device described in the sharing means judgement,
Otherwise the sharing means shut to background server transmission and block information;
If described give back in lock has shared device, the sharing means shut the lock of giving back, simultaneously
Start the timing means that shuts in the sharing means, and judges whether the sharing means close according to the timing means that shuts
Lock time-out;Otherwise the sharing means are sent to the background server without shared device information;
If the sharing means shut time-out, unlock again to the lock of giving back, and lock can be given back described in judgement
Whether uncaging time is overtime again for button, if described give back lock uncaging time time-out again, the sharing means are to described
Background server send unlock blocks information, if it is described give back lock again uncaging time have not timed out, the sharing means
Failure information is shut to background server transmission;It is had not timed out if the sharing means are shut, the sharing means are again
Can be given back described in judgement lock whether keyed;
If rejudge it is described can give back lock keyed, rejudging described can give back in lock whether have shared device;It is no
Then repeatedly timing means is shut according to judges whether the sharing means shut time-out operations to the sharing means;
There is equipment if reappearing and being given back in lock described in judgement, the sharing means are shut into background server transmission
Function information;Otherwise the sharing means again unlock to the lock of giving back, and can give back lock again described in judgement
Whether uncaging time is overtime, if described give back latches again uncaging time time-out, the sharing means take to the backstage
Business device, which sends to unlock, blocks information, gives back lock if described uncaging time has not timed out again, the sharing means are to described
Background server transmission shuts failure information.
11. a kind of terminal characterized by comprising processor and first memory and second memory,
The first memory is for storing computer program, and the processor is by executing based on the first memory storage
Calculation machine program, so that the terminal executes the shared device borrowing method and as right is wanted as described in any one of claims 1 to 6
Shared device described in asking any one of 7 to 8 gives back method;
The second memory is also used to execute the second memory storage for storing computer program, the processor
Computer program, so that the terminal executes sharing means method for unlocking as claimed in claim 9 and as claimed in claim 10
Sharing means shut method.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910043575.4A CN109903469A (en) | 2019-01-17 | 2019-01-17 | Method is given back in shared device borrow, sharing means unlocking shuts method and terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910043575.4A CN109903469A (en) | 2019-01-17 | 2019-01-17 | Method is given back in shared device borrow, sharing means unlocking shuts method and terminal |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109903469A true CN109903469A (en) | 2019-06-18 |
Family
ID=66943882
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910043575.4A Pending CN109903469A (en) | 2019-01-17 | 2019-01-17 | Method is given back in shared device borrow, sharing means unlocking shuts method and terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109903469A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN116978150A (en) * | 2023-09-25 | 2023-10-31 | 杭州行至云起科技有限公司 | Intelligent lock control method, device and system |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105913579A (en) * | 2016-05-13 | 2016-08-31 | 成都易泊时代信息技术有限公司 | Intelligent express cabinet preventing false closing |
CN106251495A (en) * | 2016-08-08 | 2016-12-21 | 滁州学院 | The management system of a kind of portable city public bicycle and dispatching method |
CN107154116A (en) * | 2017-05-19 | 2017-09-12 | 杭州排山信息科技有限公司 | Bicycle leasing system and its control method and device |
CN107358750A (en) * | 2017-07-12 | 2017-11-17 | 深圳伞多多科技有限公司 | The method and device of shared en-toutcas |
WO2018026587A1 (en) * | 2016-08-02 | 2018-02-08 | Wal-Mart Stores, Inc. | Vehicle service kiosk system |
CN107742369A (en) * | 2017-10-13 | 2018-02-27 | 东峡大通(北京)管理咨询有限公司 | For sharing the method, apparatus, system and storage medium of vehicle anti-theft |
CN207851923U (en) * | 2017-12-20 | 2018-09-11 | 广州市森锐科技股份有限公司 | A kind of smart lock and system for sharing bicycle |
AU2018101370A4 (en) * | 2018-09-18 | 2018-10-18 | Powerbus Pty Ltd | Power Bank Sharing and Rental System and Method |
-
2019
- 2019-01-17 CN CN201910043575.4A patent/CN109903469A/en active Pending
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105913579A (en) * | 2016-05-13 | 2016-08-31 | 成都易泊时代信息技术有限公司 | Intelligent express cabinet preventing false closing |
WO2018026587A1 (en) * | 2016-08-02 | 2018-02-08 | Wal-Mart Stores, Inc. | Vehicle service kiosk system |
CN106251495A (en) * | 2016-08-08 | 2016-12-21 | 滁州学院 | The management system of a kind of portable city public bicycle and dispatching method |
CN107154116A (en) * | 2017-05-19 | 2017-09-12 | 杭州排山信息科技有限公司 | Bicycle leasing system and its control method and device |
CN107358750A (en) * | 2017-07-12 | 2017-11-17 | 深圳伞多多科技有限公司 | The method and device of shared en-toutcas |
CN107742369A (en) * | 2017-10-13 | 2018-02-27 | 东峡大通(北京)管理咨询有限公司 | For sharing the method, apparatus, system and storage medium of vehicle anti-theft |
CN207851923U (en) * | 2017-12-20 | 2018-09-11 | 广州市森锐科技股份有限公司 | A kind of smart lock and system for sharing bicycle |
AU2018101370A4 (en) * | 2018-09-18 | 2018-10-18 | Powerbus Pty Ltd | Power Bank Sharing and Rental System and Method |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN116978150A (en) * | 2023-09-25 | 2023-10-31 | 杭州行至云起科技有限公司 | Intelligent lock control method, device and system |
CN116978150B (en) * | 2023-09-25 | 2024-01-05 | 杭州行至云起科技有限公司 | Intelligent lock control method, device and system |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104484925B (en) | Intelligent lock control system | |
CN110084592A (en) | Block chain interoperability | |
CN103150120A (en) | Method and device for unlocking display screen locking and terminal | |
CN106462179A (en) | Portable computing device access | |
CN106599018A (en) | Inventory operation method and system | |
CN109673000A (en) | The update method and system of bluetooth key, storage medium and vehicle Cloud Server | |
WO2013170292A1 (en) | Mobile device powered lock | |
CN107862770A (en) | The article-storage device space lease system quickly to open the door can be realized and realize the method quickly opened the door | |
CN105378804A (en) | Secure electronic lock | |
CN109918187A (en) | Method for scheduling task, device, equipment and storage medium | |
CN109903469A (en) | Method is given back in shared device borrow, sharing means unlocking shuts method and terminal | |
Qutub et al. | How to solve deadlock situations within the plan-merging paradigm for multi-robot cooperation | |
CN107391278A (en) | A kind of front and back end communication means based on shared drive | |
CN107393168A (en) | Portable power source rent method and server | |
CN108713199A (en) | Right management method, system, mobile terminal, shared charging equipment and server | |
CN206063761U (en) | The acquisition device of game operation and control interface | |
CN108550208A (en) | Method for managing user right, server and the readable medium of intelligent door lock | |
CN107358745A (en) | Rent method, system and bicycle server | |
CN106533700A (en) | Implementation method and apparatus of interface function | |
CN208569774U (en) | One kind can lease charging equipment and lending system | |
JP6024743B2 (en) | Information processing apparatus, information processing method, and computer program | |
CN108648354A (en) | One kind can lease charging equipment and lending system | |
CN110956752A (en) | Automatic lease system of treasured charges | |
CN103699394B (en) | Method for automatically generating software system interaction framework based on multi-party communication protocol | |
US11947714B2 (en) | System and method for authorizing appliance access |
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: 20190618 |